diff --git a/README.zh.md b/README.zh.md index d750d0402e..1bb17045aa 100644 --- a/README.zh.md +++ b/README.zh.md @@ -1,4 +1,4 @@ -# 微语 - 对话即服务 +# 微语 - 重复工作自动化 企业级多租户团队协作工具,免费开源8件套:企业IM、在线客服、企业知识库/帮助文档、客户之声、工单系统、AI对话、工作流、项目管理。 diff --git a/deploy/server/agenticflow/assets/index-DiykRm3b.js b/deploy/server/agenticflow/assets/index-DF04Jwm4.js similarity index 99% rename from deploy/server/agenticflow/assets/index-DiykRm3b.js rename to deploy/server/agenticflow/assets/index-DF04Jwm4.js index 5da8401718..a174de48a0 100644 --- a/deploy/server/agenticflow/assets/index-DiykRm3b.js +++ b/deploy/server/agenticflow/assets/index-DF04Jwm4.js @@ -79,7 +79,7 @@ var xEe;function bn(){return xEe.apply(null,arguments)}function aze(e){xEe=e}fun [`+o+"] ";for(a in arguments[0])li(arguments[0],a)&&(i+=a+": "+arguments[0][a]+", ");i=i.slice(0,-2)}else i=arguments[o];r.push(i)}REe(e+` Arguments: `+Array.prototype.slice.call(r).join("")+` `+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var pne={};function OEe(e,t){bn.deprecationHandler!=null&&bn.deprecationHandler(e,t),pne[e]||(REe(t),pne[e]=!0)}bn.suppressDeprecationWarnings=!1;bn.deprecationHandler=null;function mf(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function lze(e){var t,n;for(n in e)li(e,n)&&(t=e[n],mf(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function w7(e,t){var n=Ym({},e),r;for(r in t)li(t,r)&&(Ev(e[r])&&Ev(t[r])?(n[r]={},Ym(n[r],e[r]),Ym(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)li(e,r)&&!li(t,r)&&Ev(e[r])&&(n[r]=Ym({},n[r]));return n}function $W(e){e!=null&&this.set(e)}var x7;Object.keys?x7=Object.keys:x7=function(e){var t,n=[];for(t in e)li(e,t)&&n.push(t);return n};var cze={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function uze(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return mf(r)?r.call(t,n):r}function nf(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var FW=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,HR=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,b4={},_b={};function Zn(e,t,n,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),e&&(_b[e]=i),t&&(_b[t[0]]=function(){return nf(i.apply(this,arguments),t[1],t[2])}),n&&(_b[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function dze(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function fze(e){var t=e.match(FW),n,r;for(n=0,r=t.length;n=0&&HR.test(e);)e=e.replace(HR,r),HR.lastIndex=0,n-=1;return e}var pze={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function mze(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(FW).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var hze="Invalid date";function gze(){return this._invalidDate}var vze="%d",_ze=/\d{1,2}/;function yze(e){return this._ordinal.replace("%d",e)}var bze={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Sze(e,t,n,r){var i=this._relativeTime[n];return mf(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Eze(e,t){var n=this._relativeTime[e>0?"future":"past"];return mf(n)?n(t):n.replace(/%s/i,t)}var mne={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ru(e){return typeof e=="string"?mne[e]||mne[e.toLowerCase()]:void 0}function BW(e){var t={},n,r;for(r in e)li(e,r)&&(n=ru(r),n&&(t[n]=e[r]));return t}var Cze={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function wze(e){var t=[],n;for(n in e)li(e,n)&&t.push({unit:n,priority:Cze[n]});return t.sort(function(r,i){return r.priority-i.priority}),t}var NEe=/\d/,lc=/\d\d/,MEe=/\d{3}/,UW=/\d{4}/,F2=/[+-]?\d{6}/,Ki=/\d\d?/,AEe=/\d\d\d\d?/,PEe=/\d\d\d\d\d\d?/,B2=/\d{1,3}/,jW=/\d{1,4}/,U2=/[+-]?\d{1,6}/,J0=/\d+/,j2=/[+-]?\d+/,xze=/Z|[+-]\d\d:?\d\d/gi,H2=/Z|[+-]\d\d(?::?\d\d)?/gi,Tze=/[+-]?\d+(\.\d{1,3})?/,gx=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,eS=/^[1-9]\d?/,HW=/^([1-9]\d|\d)/,DM;DM={};function kn(e,t,n){DM[e]=mf(t)?t:function(r,i){return r&&n?n:t}}function Rze(e,t){return li(DM,e)?DM[e](t._strict,t._locale):new RegExp(Oze(e))}function Oze(e){return rp(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,i,o){return n||r||i||o}))}function rp(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function kc(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Vr(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=kc(t)),n}var T7={};function Ni(e,t){var n,r=t,i;for(typeof e=="string"&&(e=[e]),bp(t)&&(r=function(o,a){a[t]=Vr(o)}),i=e.length,n=0;n68?1900:2e3)};var DEe=tS("FullYear",!0);function Aze(){return z2(this.year())}function tS(e,t){return function(n){return n!=null?(kEe(this,e,n),bn.updateOffset(this,t),this):H1(this,e)}}function H1(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function kEe(e,t,n){var r,i,o,a,s;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}o=n,a=e.month(),s=e.date(),s=s===29&&a===1&&!z2(o)?28:s,i?r.setUTCFullYear(o,a,s):r.setFullYear(o,a,s)}}function Pze(e){return e=ru(e),mf(this[e])?this[e]():this}function Dze(e,t){if(typeof e=="object"){e=BW(e);var n=wze(e),r,i=n.length;for(r=0;r=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function z1(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function kM(e,t,n){var r=7+t-n,i=(7+z1(e,0,r).getUTCDay()-t)%7;return-i+r-1}function jEe(e,t,n,r,i){var o=(7+n-r)%7,a=kM(e,r,i),s=1+7*(t-1)+o+a,l,c;return s<=0?(l=e-1,c=UC(l)+s):s>UC(e)?(l=e+1,c=s-UC(e)):(l=e,c=s),{year:l,dayOfYear:c}}function V1(e,t,n){var r=kM(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,o,a;return i<1?(a=e.year()-1,o=i+ip(a,t,n)):i>ip(e.year(),t,n)?(o=i-ip(e.year(),t,n),a=e.year()+1):(a=e.year(),o=i),{week:o,year:a}}function ip(e,t,n){var r=kM(e,t,n),i=kM(e+1,t,n);return(UC(e)-r+i)/7}Zn("w",["ww",2],"wo","week");Zn("W",["WW",2],"Wo","isoWeek");kn("w",Ki,eS);kn("ww",Ki,lc);kn("W",Ki,eS);kn("WW",Ki,lc);vx(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=Vr(e)});function Yze(e){return V1(e,this._week.dow,this._week.doy).week}var qze={dow:0,doy:6};function Kze(){return this._week.dow}function Qze(){return this._week.doy}function Xze(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Zze(e){var t=V1(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}Zn("d",0,"do","day");Zn("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});Zn("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});Zn("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});Zn("e",0,0,"weekday");Zn("E",0,0,"isoWeekday");kn("d",Ki);kn("e",Ki);kn("E",Ki);kn("dd",function(e,t){return t.weekdaysMinRegex(e)});kn("ddd",function(e,t){return t.weekdaysShortRegex(e)});kn("dddd",function(e,t){return t.weekdaysRegex(e)});vx(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);i!=null?t.d=i:Mr(n).invalidWeekday=e});vx(["d","e","E"],function(e,t,n,r){t[r]=Vr(e)});function Jze(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function eVe(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function VW(e,t){return e.slice(t,7).concat(e.slice(0,t))}var tVe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),HEe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),nVe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),rVe=gx,iVe=gx,oVe=gx;function aVe(e,t){var n=ed(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?VW(n,this._week.dow):e?n[e.day()]:n}function sVe(e){return e===!0?VW(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function lVe(e){return e===!0?VW(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function cVe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=pf([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?t==="dddd"?(i=Bo.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=Bo.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=Bo.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=Bo.call(this._weekdaysParse,a),i!==-1||(i=Bo.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=Bo.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=Bo.call(this._shortWeekdaysParse,a),i!==-1||(i=Bo.call(this._weekdaysParse,a),i!==-1)?i:(i=Bo.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=Bo.call(this._minWeekdaysParse,a),i!==-1||(i=Bo.call(this._weekdaysParse,a),i!==-1)?i:(i=Bo.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function uVe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return cVe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=pf([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function dVe(e){if(!this.isValid())return e!=null?this:NaN;var t=H1(this,"Day");return e!=null?(e=Jze(e,this.localeData()),this.add(e-t,"d")):t}function fVe(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function pVe(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=eVe(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function mVe(e){return this._weekdaysParseExact?(li(this,"_weekdaysRegex")||GW.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(li(this,"_weekdaysRegex")||(this._weekdaysRegex=rVe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function hVe(e){return this._weekdaysParseExact?(li(this,"_weekdaysRegex")||GW.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(li(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=iVe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function gVe(e){return this._weekdaysParseExact?(li(this,"_weekdaysRegex")||GW.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(li(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=oVe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function GW(){function e(u,d){return d.length-u.length}var t=[],n=[],r=[],i=[],o,a,s,l,c;for(o=0;o<7;o++)a=pf([2e3,1]).day(o),s=rp(this.weekdaysMin(a,"")),l=rp(this.weekdaysShort(a,"")),c=rp(this.weekdays(a,"")),t.push(s),n.push(l),r.push(c),i.push(s),i.push(l),i.push(c);t.sort(e),n.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function WW(){return this.hours()%12||12}function vVe(){return this.hours()||24}Zn("H",["HH",2],0,"hour");Zn("h",["hh",2],0,WW);Zn("k",["kk",2],0,vVe);Zn("hmm",0,0,function(){return""+WW.apply(this)+nf(this.minutes(),2)});Zn("hmmss",0,0,function(){return""+WW.apply(this)+nf(this.minutes(),2)+nf(this.seconds(),2)});Zn("Hmm",0,0,function(){return""+this.hours()+nf(this.minutes(),2)});Zn("Hmmss",0,0,function(){return""+this.hours()+nf(this.minutes(),2)+nf(this.seconds(),2)});function zEe(e,t){Zn(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}zEe("a",!0);zEe("A",!1);function VEe(e,t){return t._meridiemParse}kn("a",VEe);kn("A",VEe);kn("H",Ki,HW);kn("h",Ki,eS);kn("k",Ki,eS);kn("HH",Ki,lc);kn("hh",Ki,lc);kn("kk",Ki,lc);kn("hmm",AEe);kn("hmmss",PEe);kn("Hmm",AEe);kn("Hmmss",PEe);Ni(["H","HH"],ha);Ni(["k","kk"],function(e,t,n){var r=Vr(e);t[ha]=r===24?0:r});Ni(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});Ni(["h","hh"],function(e,t,n){t[ha]=Vr(e),Mr(n).bigHour=!0});Ni("hmm",function(e,t,n){var r=e.length-2;t[ha]=Vr(e.substr(0,r)),t[Lu]=Vr(e.substr(r)),Mr(n).bigHour=!0});Ni("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ha]=Vr(e.substr(0,r)),t[Lu]=Vr(e.substr(r,2)),t[Zf]=Vr(e.substr(i)),Mr(n).bigHour=!0});Ni("Hmm",function(e,t,n){var r=e.length-2;t[ha]=Vr(e.substr(0,r)),t[Lu]=Vr(e.substr(r))});Ni("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ha]=Vr(e.substr(0,r)),t[Lu]=Vr(e.substr(r,2)),t[Zf]=Vr(e.substr(i))});function _Ve(e){return(e+"").toLowerCase().charAt(0)==="p"}var yVe=/[ap]\.?m?\.?/i,bVe=tS("Hours",!0);function SVe(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var GEe={calendar:cze,longDateFormat:pze,invalidDate:hze,ordinal:vze,dayOfMonthOrdinalParse:_ze,relativeTime:bze,months:Lze,monthsShort:LEe,week:qze,weekdays:tVe,weekdaysMin:nVe,weekdaysShort:HEe,meridiemParse:yVe},to={},yE={},G1;function EVe(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(i=V2(o.slice(0,n).join("-")),i)return i;if(r&&r.length>=n&&EVe(o,r)>=n-1)break;n--}t++}return G1}function wVe(e){return!!(e&&e.match("^[^/\\\\]*$"))}function V2(e){var t=null,n;if(to[e]===void 0&&typeof module<"u"&&module&&module.exports&&wVe(e))try{t=G1._abbr,n=require,n("./locale/"+e),mh(t)}catch{to[e]=null}return to[e]}function mh(e,t){var n;return e&&(el(t)?n=Ap(e):n=YW(e,t),n?G1=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),G1._abbr}function YW(e,t){if(t!==null){var n,r=GEe;if(t.abbr=e,to[e]!=null)OEe("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=to[e]._config;else if(t.parentLocale!=null)if(to[t.parentLocale]!=null)r=to[t.parentLocale]._config;else if(n=V2(t.parentLocale),n!=null)r=n._config;else return yE[t.parentLocale]||(yE[t.parentLocale]=[]),yE[t.parentLocale].push({name:e,config:t}),null;return to[e]=new $W(w7(r,t)),yE[e]&&yE[e].forEach(function(i){YW(i.name,i.config)}),mh(e),to[e]}else return delete to[e],null}function xVe(e,t){if(t!=null){var n,r,i=GEe;to[e]!=null&&to[e].parentLocale!=null?to[e].set(w7(to[e]._config,t)):(r=V2(e),r!=null&&(i=r._config),t=w7(i,t),r==null&&(t.abbr=e),n=new $W(t),n.parentLocale=to[e],to[e]=n),mh(e)}else to[e]!=null&&(to[e].parentLocale!=null?(to[e]=to[e].parentLocale,e===mh()&&mh(e)):to[e]!=null&&delete to[e]);return to[e]}function Ap(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return G1;if(!ed(e)){if(t=V2(e),t)return t;e=[e]}return CVe(e)}function TVe(){return x7(to)}function qW(e){var t,n=e._a;return n&&Mr(e).overflow===-2&&(t=n[Xf]<0||n[Xf]>11?Xf:n[Ud]<1||n[Ud]>zW(n[ms],n[Xf])?Ud:n[ha]<0||n[ha]>24||n[ha]===24&&(n[Lu]!==0||n[Zf]!==0||n[ev]!==0)?ha:n[Lu]<0||n[Lu]>59?Lu:n[Zf]<0||n[Zf]>59?Zf:n[ev]<0||n[ev]>999?ev:-1,Mr(e)._overflowDayOfYear&&(tUd)&&(t=Ud),Mr(e)._overflowWeeks&&t===-1&&(t=Nze),Mr(e)._overflowWeekday&&t===-1&&(t=Mze),Mr(e).overflow=t),e}var RVe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,OVe=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,IVe=/Z|[+-]\d\d(?::?\d\d)?/,zR=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],S4=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],NVe=/^\/?Date\((-?\d+)/i,MVe=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,AVe={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function WEe(e){var t,n,r=e._i,i=RVe.exec(r)||OVe.exec(r),o,a,s,l,c=zR.length,u=S4.length;if(i){for(Mr(e).iso=!0,t=0,n=c;tUC(a)||e._dayOfYear===0)&&(Mr(e)._overflowDayOfYear=!0),n=z1(a,0,e._dayOfYear),e._a[Xf]=n.getUTCMonth(),e._a[Ud]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[ha]===24&&e._a[Lu]===0&&e._a[Zf]===0&&e._a[ev]===0&&(e._nextDay=!0,e._a[ha]=0),e._d=(e._useUTC?z1:Wze).apply(null,r),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ha]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==o&&(Mr(e).weekdayMismatch=!0)}}function UVe(e){var t,n,r,i,o,a,s,l,c;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(o=1,a=4,n=By(t.GG,e._a[ms],V1(qi(),1,4).year),r=By(t.W,1),i=By(t.E,1),(i<1||i>7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,c=V1(qi(),o,a),n=By(t.gg,e._a[ms],c.year),r=By(t.w,c.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),r<1||r>ip(n,o,a)?Mr(e)._overflowWeeks=!0:l!=null?Mr(e)._overflowWeekday=!0:(s=jEe(n,r,i,o,a),e._a[ms]=s.year,e._dayOfYear=s.dayOfYear)}bn.ISO_8601=function(){};bn.RFC_2822=function(){};function QW(e){if(e._f===bn.ISO_8601){WEe(e);return}if(e._f===bn.RFC_2822){YEe(e);return}e._a=[],Mr(e).empty=!0;var t=""+e._i,n,r,i,o,a,s=t.length,l=0,c,u;for(i=IEe(e._f,e._locale).match(FW)||[],u=i.length,n=0;n0&&Mr(e).unusedInput.push(a),t=t.slice(t.indexOf(r)+r.length),l+=r.length),_b[o]?(r?Mr(e).empty=!1:Mr(e).unusedTokens.push(o),Ize(o,r,e)):e._strict&&!r&&Mr(e).unusedTokens.push(o);Mr(e).charsLeftOver=s-l,t.length>0&&Mr(e).unusedInput.push(t),e._a[ha]<=12&&Mr(e).bigHour===!0&&e._a[ha]>0&&(Mr(e).bigHour=void 0),Mr(e).parsedDateParts=e._a.slice(0),Mr(e).meridiem=e._meridiem,e._a[ha]=jVe(e._locale,e._a[ha],e._meridiem),c=Mr(e).era,c!==null&&(e._a[ms]=e._locale.erasConvertYear(c,e._a[ms])),KW(e),qW(e)}function jVe(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function HVe(e){var t,n,r,i,o,a,s=!1,l=e._f.length;if(l===0){Mr(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;ithis?this:e:$2()});function QEe(e,t){var n,r;if(t.length===1&&ed(t[0])&&(t=t[0]),!t.length)return qi();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function cGe(){if(!el(this._isDSTShifted))return this._isDSTShifted;var e={},t;return LW(e,this),e=qEe(e),e._a?(t=e._isUTC?pf(e._a):qi(e._a),this._isDSTShifted=this.isValid()&&eGe(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function uGe(){return this.isValid()?!this._isUTC:!1}function dGe(){return this.isValid()?this._isUTC:!1}function ZEe(){return this.isValid()?this._isUTC&&this._offset===0:!1}var fGe=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,pGe=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function fd(e,t){var n=e,r=null,i,o,a;return zI(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:bp(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=fGe.exec(e))?(i=r[1]==="-"?-1:1,n={y:0,d:Vr(r[Ud])*i,h:Vr(r[ha])*i,m:Vr(r[Lu])*i,s:Vr(r[Zf])*i,ms:Vr(R7(r[ev]*1e3))*i}):(r=pGe.exec(e))?(i=r[1]==="-"?-1:1,n={y:wg(r[2],i),M:wg(r[3],i),w:wg(r[4],i),d:wg(r[5],i),h:wg(r[6],i),m:wg(r[7],i),s:wg(r[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=mGe(qi(n.from),qi(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),o=new G2(n),zI(e)&&li(e,"_locale")&&(o._locale=e._locale),zI(e)&&li(e,"_isValid")&&(o._isValid=e._isValid),o}fd.fn=G2.prototype;fd.invalid=JVe;function wg(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function gne(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function mGe(e,t){var n;return e.isValid()&&t.isValid()?(t=ZW(t,e),e.isBefore(t)?n=gne(e,t):(n=gne(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function JEe(e,t){return function(n,r){var i,o;return r!==null&&!isNaN(+r)&&(OEe(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),i=fd(n,r),eCe(this,i,e),this}}function eCe(e,t,n,r){var i=t._milliseconds,o=R7(t._days),a=R7(t._months);e.isValid()&&(r=r??!0,a&&FEe(e,H1(e,"Month")+a*n),o&&kEe(e,"Date",H1(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&bn.updateOffset(e,o||a))}var hGe=JEe(1,"add"),gGe=JEe(-1,"subtract");function tCe(e){return typeof e=="string"||e instanceof String}function vGe(e){return td(e)||mx(e)||tCe(e)||bp(e)||yGe(e)||_Ge(e)||e===null||e===void 0}function _Ge(e){var t=Ev(e)&&!DW(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,o,a=r.length;for(i=0;in.valueOf():n.valueOf()9999?HI(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):mf(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",HI(n,"Z")):HI(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function PGe(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,i,o;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]',this.format(n+r+i+o)}function DGe(e){e||(e=this.isUtc()?bn.defaultFormatUtc:bn.defaultFormat);var t=HI(this,e);return this.localeData().postformat(t)}function kGe(e,t){return this.isValid()&&(td(e)&&e.isValid()||qi(e).isValid())?fd({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function LGe(e){return this.from(qi(),e)}function $Ge(e,t){return this.isValid()&&(td(e)&&e.isValid()||qi(e).isValid())?fd({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function FGe(e){return this.to(qi(),e)}function nCe(e){var t;return e===void 0?this._locale._abbr:(t=Ap(e),t!=null&&(this._locale=t),this)}var rCe=nu("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function iCe(){return this._locale}var LM=1e3,yb=60*LM,$M=60*yb,oCe=(365*400+97)*24*$M;function bb(e,t){return(e%t+t)%t}function aCe(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-oCe:new Date(e,t,n).valueOf()}function sCe(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-oCe:Date.UTC(e,t,n)}function BGe(e){var t,n;if(e=ru(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?sCe:aCe,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=bb(t+(this._isUTC?0:this.utcOffset()*yb),$M);break;case"minute":t=this._d.valueOf(),t-=bb(t,yb);break;case"second":t=this._d.valueOf(),t-=bb(t,LM);break}return this._d.setTime(t),bn.updateOffset(this,!0),this}function UGe(e){var t,n;if(e=ru(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?sCe:aCe,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=$M-bb(t+(this._isUTC?0:this.utcOffset()*yb),$M)-1;break;case"minute":t=this._d.valueOf(),t+=yb-bb(t,yb)-1;break;case"second":t=this._d.valueOf(),t+=LM-bb(t,LM)-1;break}return this._d.setTime(t),bn.updateOffset(this,!0),this}function jGe(){return this._d.valueOf()-(this._offset||0)*6e4}function HGe(){return Math.floor(this.valueOf()/1e3)}function zGe(){return new Date(this.valueOf())}function VGe(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function GGe(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function WGe(){return this.isValid()?this.toISOString():null}function YGe(){return kW(this)}function qGe(){return Ym({},Mr(this))}function KGe(){return Mr(this).overflow}function QGe(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Zn("N",0,0,"eraAbbr");Zn("NN",0,0,"eraAbbr");Zn("NNN",0,0,"eraAbbr");Zn("NNNN",0,0,"eraName");Zn("NNNNN",0,0,"eraNarrow");Zn("y",["y",1],"yo","eraYear");Zn("y",["yy",2],0,"eraYear");Zn("y",["yyy",3],0,"eraYear");Zn("y",["yyyy",4],0,"eraYear");kn("N",JW);kn("NN",JW);kn("NNN",JW);kn("NNNN",sWe);kn("NNNNN",lWe);Ni(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?Mr(n).era=i:Mr(n).invalidEra=e});kn("y",J0);kn("yy",J0);kn("yyy",J0);kn("yyyy",J0);kn("yo",cWe);Ni(["y","yy","yyy","yyyy"],ms);Ni(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[ms]=n._locale.eraYearOrdinalParse(e,i):t[ms]=parseInt(e,10)});function XGe(e,t){var n,r,i,o=this._eras||Ap("en")._eras;for(n=0,r=o.length;n=0)return o[r]}function JGe(e,t){var n=e.since<=e.until?1:-1;return t===void 0?bn(e.since).year():bn(e.since).year()+(t-e.offset)*n}function eWe(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;eo&&(t=o),gWe.call(this,e,t,n,r,i))}function gWe(e,t,n,r,i){var o=jEe(e,t,n,r,i),a=z1(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}Zn("Q",0,"Qo","quarter");kn("Q",NEe);Ni("Q",function(e,t){t[Xf]=(Vr(e)-1)*3});function vWe(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}Zn("D",["DD",2],"Do","date");kn("D",Ki,eS);kn("DD",Ki,lc);kn("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});Ni(["D","DD"],Ud);Ni("Do",function(e,t){t[Ud]=Vr(e.match(Ki)[0])});var cCe=tS("Date",!0);Zn("DDD",["DDDD",3],"DDDo","dayOfYear");kn("DDD",B2);kn("DDDD",MEe);Ni(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Vr(e)});function _We(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}Zn("m",["mm",2],0,"minute");kn("m",Ki,HW);kn("mm",Ki,lc);Ni(["m","mm"],Lu);var yWe=tS("Minutes",!1);Zn("s",["ss",2],0,"second");kn("s",Ki,HW);kn("ss",Ki,lc);Ni(["s","ss"],Zf);var bWe=tS("Seconds",!1);Zn("S",0,0,function(){return~~(this.millisecond()/100)});Zn(0,["SS",2],0,function(){return~~(this.millisecond()/10)});Zn(0,["SSS",3],0,"millisecond");Zn(0,["SSSS",4],0,function(){return this.millisecond()*10});Zn(0,["SSSSS",5],0,function(){return this.millisecond()*100});Zn(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});Zn(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});Zn(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});Zn(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});kn("S",B2,NEe);kn("SS",B2,lc);kn("SSS",B2,MEe);var qm,uCe;for(qm="SSSS";qm.length<=9;qm+="S")kn(qm,J0);function SWe(e,t){t[ev]=Vr(("0."+e)*1e3)}for(qm="S";qm.length<=9;qm+="S")Ni(qm,SWe);uCe=tS("Milliseconds",!1);Zn("z",0,0,"zoneAbbr");Zn("zz",0,0,"zoneName");function EWe(){return this._isUTC?"UTC":""}function CWe(){return this._isUTC?"Coordinated Universal Time":""}var fn=hx.prototype;fn.add=hGe;fn.calendar=EGe;fn.clone=CGe;fn.diff=NGe;fn.endOf=UGe;fn.format=DGe;fn.from=kGe;fn.fromNow=LGe;fn.to=$Ge;fn.toNow=FGe;fn.get=Pze;fn.invalidAt=KGe;fn.isAfter=wGe;fn.isBefore=xGe;fn.isBetween=TGe;fn.isSame=RGe;fn.isSameOrAfter=OGe;fn.isSameOrBefore=IGe;fn.isValid=YGe;fn.lang=rCe;fn.locale=nCe;fn.localeData=iCe;fn.max=YVe;fn.min=WVe;fn.parsingFlags=qGe;fn.set=Dze;fn.startOf=BGe;fn.subtract=gGe;fn.toArray=VGe;fn.toObject=GGe;fn.toDate=zGe;fn.toISOString=AGe;fn.inspect=PGe;typeof Symbol<"u"&&Symbol.for!=null&&(fn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});fn.toJSON=WGe;fn.toString=MGe;fn.unix=HGe;fn.valueOf=jGe;fn.creationData=QGe;fn.eraName=eWe;fn.eraNarrow=tWe;fn.eraAbbr=nWe;fn.eraYear=rWe;fn.year=DEe;fn.isLeapYear=Aze;fn.weekYear=uWe;fn.isoWeekYear=dWe;fn.quarter=fn.quarters=vWe;fn.month=BEe;fn.daysInMonth=zze;fn.week=fn.weeks=Xze;fn.isoWeek=fn.isoWeeks=Zze;fn.weeksInYear=mWe;fn.weeksInWeekYear=hWe;fn.isoWeeksInYear=fWe;fn.isoWeeksInISOWeekYear=pWe;fn.date=cCe;fn.day=fn.days=dVe;fn.weekday=fVe;fn.isoWeekday=pVe;fn.dayOfYear=_We;fn.hour=fn.hours=bVe;fn.minute=fn.minutes=yWe;fn.second=fn.seconds=bWe;fn.millisecond=fn.milliseconds=uCe;fn.utcOffset=nGe;fn.utc=iGe;fn.local=oGe;fn.parseZone=aGe;fn.hasAlignedHourOffset=sGe;fn.isDST=lGe;fn.isLocal=uGe;fn.isUtcOffset=dGe;fn.isUtc=ZEe;fn.isUTC=ZEe;fn.zoneAbbr=EWe;fn.zoneName=CWe;fn.dates=nu("dates accessor is deprecated. Use date instead.",cCe);fn.months=nu("months accessor is deprecated. Use month instead",BEe);fn.years=nu("years accessor is deprecated. Use year instead",DEe);fn.zone=nu("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",rGe);fn.isDSTShifted=nu("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",cGe);function wWe(e){return qi(e*1e3)}function xWe(){return qi.apply(null,arguments).parseZone()}function dCe(e){return e}var ci=$W.prototype;ci.calendar=uze;ci.longDateFormat=mze;ci.invalidDate=gze;ci.ordinal=yze;ci.preparse=dCe;ci.postformat=dCe;ci.relativeTime=Sze;ci.pastFuture=Eze;ci.set=lze;ci.eras=XGe;ci.erasParse=ZGe;ci.erasConvertYear=JGe;ci.erasAbbrRegex=oWe;ci.erasNameRegex=iWe;ci.erasNarrowRegex=aWe;ci.months=Bze;ci.monthsShort=Uze;ci.monthsParse=Hze;ci.monthsRegex=Gze;ci.monthsShortRegex=Vze;ci.week=Yze;ci.firstDayOfYear=Qze;ci.firstDayOfWeek=Kze;ci.weekdays=aVe;ci.weekdaysMin=lVe;ci.weekdaysShort=sVe;ci.weekdaysParse=uVe;ci.weekdaysRegex=mVe;ci.weekdaysShortRegex=hVe;ci.weekdaysMinRegex=gVe;ci.isPM=_Ve;ci.meridiem=SVe;function FM(e,t,n,r){var i=Ap(),o=pf().set(r,t);return i[n](o,e)}function fCe(e,t,n){if(bp(e)&&(t=e,e=void 0),e=e||"",t!=null)return FM(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=FM(e,r,n,"month");return i}function tY(e,t,n,r){typeof e=="boolean"?(bp(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,bp(t)&&(n=t,t=void 0),t=t||"");var i=Ap(),o=e?i._week.dow:0,a,s=[];if(n!=null)return FM(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=FM(t,(a+o)%7,r,"day");return s}function TWe(e,t){return fCe(e,t,"months")}function RWe(e,t){return fCe(e,t,"monthsShort")}function OWe(e,t,n){return tY(e,t,n,"weekdays")}function IWe(e,t,n){return tY(e,t,n,"weekdaysShort")}function NWe(e,t,n){return tY(e,t,n,"weekdaysMin")}mh("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=Vr(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});bn.lang=nu("moment.lang is deprecated. Use moment.locale instead.",mh);bn.langData=nu("moment.langData is deprecated. Use moment.localeData instead.",Ap);var Of=Math.abs;function MWe(){var e=this._data;return this._milliseconds=Of(this._milliseconds),this._days=Of(this._days),this._months=Of(this._months),e.milliseconds=Of(e.milliseconds),e.seconds=Of(e.seconds),e.minutes=Of(e.minutes),e.hours=Of(e.hours),e.months=Of(e.months),e.years=Of(e.years),this}function pCe(e,t,n,r){var i=fd(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function AWe(e,t){return pCe(this,e,t,1)}function PWe(e,t){return pCe(this,e,t,-1)}function vne(e){return e<0?Math.floor(e):Math.ceil(e)}function DWe(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,o,a,s,l;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=vne(I7(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,i=kc(e/1e3),r.seconds=i%60,o=kc(i/60),r.minutes=o%60,a=kc(o/60),r.hours=a%24,t+=kc(a/24),l=kc(mCe(t)),n+=l,t-=vne(I7(l)),s=kc(n/12),n%=12,r.days=t,r.months=n,r.years=s,this}function mCe(e){return e*4800/146097}function I7(e){return e*146097/4800}function kWe(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=ru(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+mCe(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(I7(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Pp(e){return function(){return this.as(e)}}var hCe=Pp("ms"),LWe=Pp("s"),$We=Pp("m"),FWe=Pp("h"),BWe=Pp("d"),UWe=Pp("w"),jWe=Pp("M"),HWe=Pp("Q"),zWe=Pp("y"),VWe=hCe;function GWe(){return fd(this)}function WWe(e){return e=ru(e),this.isValid()?this[e+"s"]():NaN}function T_(e){return function(){return this.isValid()?this._data[e]:NaN}}var YWe=T_("milliseconds"),qWe=T_("seconds"),KWe=T_("minutes"),QWe=T_("hours"),XWe=T_("days"),ZWe=T_("months"),JWe=T_("years");function eYe(){return kc(this.days()/7)}var Hf=Math.round,nb={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function tYe(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function nYe(e,t,n,r){var i=fd(e).abs(),o=Hf(i.as("s")),a=Hf(i.as("m")),s=Hf(i.as("h")),l=Hf(i.as("d")),c=Hf(i.as("M")),u=Hf(i.as("w")),d=Hf(i.as("y")),f=o<=n.ss&&["s",o]||o0,f[4]=r,tYe.apply(null,f)}function rYe(e){return e===void 0?Hf:typeof e=="function"?(Hf=e,!0):!1}function iYe(e,t){return nb[e]===void 0?!1:t===void 0?nb[e]:(nb[e]=t,e==="s"&&(nb.ss=t-1),!0)}function oYe(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=nb,i,o;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},nb,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),o=nYe(this,!n,r,i),n&&(o=i.pastFuture(+this,o)),i.postformat(o)}var E4=Math.abs;function uy(e){return(e>0)-(e<0)||+e}function Y2(){if(!this.isValid())return this.localeData().invalidDate();var e=E4(this._milliseconds)/1e3,t=E4(this._days),n=E4(this._months),r,i,o,a,s=this.asSeconds(),l,c,u,d;return s?(r=kc(e/60),i=kc(r/60),e%=60,r%=60,o=kc(n/12),n%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=s<0?"-":"",c=uy(this._months)!==uy(s)?"-":"",u=uy(this._days)!==uy(s)?"-":"",d=uy(this._milliseconds)!==uy(s)?"-":"",l+"P"+(o?c+o+"Y":"")+(n?c+n+"M":"")+(t?u+t+"D":"")+(i||r||e?"T":"")+(i?d+i+"H":"")+(r?d+r+"M":"")+(e?d+a+"S":"")):"P0D"}var ti=G2.prototype;ti.isValid=ZVe;ti.abs=MWe;ti.add=AWe;ti.subtract=PWe;ti.as=kWe;ti.asMilliseconds=hCe;ti.asSeconds=LWe;ti.asMinutes=$We;ti.asHours=FWe;ti.asDays=BWe;ti.asWeeks=UWe;ti.asMonths=jWe;ti.asQuarters=HWe;ti.asYears=zWe;ti.valueOf=VWe;ti._bubble=DWe;ti.clone=GWe;ti.get=WWe;ti.milliseconds=YWe;ti.seconds=qWe;ti.minutes=KWe;ti.hours=QWe;ti.days=XWe;ti.weeks=eYe;ti.months=ZWe;ti.years=JWe;ti.humanize=oYe;ti.toISOString=Y2;ti.toString=Y2;ti.toJSON=Y2;ti.locale=nCe;ti.localeData=iCe;ti.toIsoString=nu("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Y2);ti.lang=rCe;Zn("X",0,0,"unix");Zn("x",0,0,"valueOf");kn("x",j2);kn("X",Tze);Ni("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});Ni("x",function(e,t,n){n._d=new Date(Vr(e))});//! moment.js -bn.version="2.30.1";aze(qi);bn.fn=fn;bn.min=qVe;bn.max=KVe;bn.now=QVe;bn.utc=pf;bn.unix=wWe;bn.months=TWe;bn.isDate=mx;bn.locale=mh;bn.invalid=$2;bn.duration=fd;bn.isMoment=td;bn.weekdays=OWe;bn.parseZone=xWe;bn.localeData=Ap;bn.isDuration=zI;bn.monthsShort=RWe;bn.weekdaysMin=NWe;bn.defineLocale=YW;bn.updateLocale=xVe;bn.locales=TVe;bn.weekdaysShort=IWe;bn.normalizeUnits=ru;bn.relativeTimeRounding=rYe;bn.relativeTimeThreshold=iYe;bn.calendarFormat=SGe;bn.prototype=fn;bn.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};let VR;const aYe=new Uint8Array(16);function sYe(){if(!VR&&(VR=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!VR))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return VR(aYe)}const Fa=[];for(let e=0;e<256;++e)Fa.push((e+256).toString(16).slice(1));function lYe(e,t=0){return Fa[e[t+0]]+Fa[e[t+1]]+Fa[e[t+2]]+Fa[e[t+3]]+"-"+Fa[e[t+4]]+Fa[e[t+5]]+"-"+Fa[e[t+6]]+Fa[e[t+7]]+"-"+Fa[e[t+8]]+Fa[e[t+9]]+"-"+Fa[e[t+10]]+Fa[e[t+11]]+Fa[e[t+12]]+Fa[e[t+13]]+Fa[e[t+14]]+Fa[e[t+15]]}const cYe=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),_ne={randomUUID:cYe};function gCe(e,t,n){if(_ne.randomUUID&&!t&&!e)return _ne.randomUUID();e=e||{};const r=e.random||(e.rng||sYe)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,lYe(r)}const uYe="1.1.7";function dYe(){return uYe}function fYe(){const e=localStorage.getItem(OI);(e===null||e==="true")&&new Audio(lUe).play()}function pYe(){return bn().format("YYYY-MM-DD HH:mm:ss")}function q2(){return gCe().replaceAll(/-/g,"")}function dy(e){return e.endsWith("/")?e.slice(0,-1):e}function yne(e,t){return e.length>t?e.slice(0,t-3)+"...":e}function mYe(e){if(mUe===e||hUe===e||gUe===e||vUe===e||_Ue===e)return!0}function hYe(e){return e===B1||e===U1}function gYe(e){return e===B1||e===U1}function vYe(e){return e.startsWith(xUe)}function vCe(){console.log("%cWelcome to Bytedesk","font-family:Arial; color:#3370ff ; font-size:18px; font-weight:bold;","GitHub:https://github.com/bytedesk/bytedesk")}const Dp=_l()(eu(yl(tu(e=>({orgTree:[],currentOrg:{uid:"",name:"",logo:"",description:""},setCurrentOrg(t){e({currentOrg:t})},deleteOrg:()=>e({currentOrg:{uid:"",name:"",logo:"",description:""}})})),{name:j5e}))),$u=_l()(eu(yl(tu((e,t)=>({threads:[],queuingThreads:[],currentThread:{uid:"",user:{uid:"",nickname:"",avatar:""},topic:"",content:"",type:"",unreadCount:0,extra:"",updatedAt:""},currentQueuingThread:{uid:"",user:{uid:"",nickname:"",avatar:""}},threadResult:{data:{content:[],last:!0}},showQueueButton:!1,showQueueList:!1,showRightPanel:!1,loading:!1,error:null,searchText:"",pagination:{pageNumber:0,pageSize:100,total:0},filters:{},addThread(n){var i,o;if(n.status===Kee)return t().addQueuingThread(n),0;if(t().threads.some(a=>a.topic===n.topic))if(((i=t().currentThread)==null?void 0:i.topic)===""||((o=t().currentThread)==null?void 0:o.topic)!==n.topic){for(let a=0;aa.topic!==n.topic)]}),n.unreadCount}else{const a=t().threads.map(s=>s.topic===n.topic?(n.top=s.top,n.mute=s.mute,n.unread=s.unread,n.agent=s.agent,n):s);return e({threads:a}),0}else return n.unreadCount=1,e({threads:[n,...t().threads]}),n.unreadCount},addThreadWithMessage(n,r){var s,l;if(r.type===pUe)return t().addQueuingThread(n),0;const i=t().threads.some(c=>c.topic===n.topic),o=!hYe(r.type);if(gYe(r.type)&&(n.status=Qee),i)if(((s=t().currentThread)==null?void 0:s.topic)===""||((l=t().currentThread)==null?void 0:l.topic)!==n.topic){for(let c=0;cc.topic!==n.topic)]}),n.unreadCount}else{const c=t().threads.map(u=>u.topic===n.topic?(n.top=u.top,n.mute=u.mute,n.unread=u.unread,n.agent=u.agent,n):u);return e({threads:c}),0}else return o&&(n.unreadCount=1),e({threads:[n,...t().threads]}),n.unreadCount},addQueuingThread(n){t().queuingThreads.some(i=>i.topic===n.topic)||e({queuingThreads:[n,...t().queuingThreads]})},updateThreadContent(n,r){let i=null;const o=t().threads.map(a=>a.topic===n?(i={...a,unreadCount:a.unreadCount+1,content:r},i):a);return e({threads:o}),i},updateThreadStatus(n,r){let i=null;const o=t().threads.map(a=>a.topic===n?(i={...a,status:r},i):a);return e({threads:o}),i},removeThread(n){e({threads:[...t().threads.filter(r=>(r==null?void 0:r.uid)!==(n==null?void 0:n.uid))]})},closeThread(n){const r=t().threads.map(i=>i.topic===n?{...i,state:Qee}:i);e({threads:r})},addThreads(n){for(let r=0;ra.topic===i.topic))e({threads:[...t().threads,i]});else{const a=t().threads.map(s=>s.topic===i.topic?{...i,unreadCount:s.unreadCount}:s);e({threads:a})}}},setThreads(n){e(r=>{r.threads=n})},setQueuingThreads(n){e(r=>{r.queuingThreads=n})},setCurrentThread(n){e(o=>{o.showQueueList=!1});const r={...n,unreadCount:0},i=t().threads.map(o=>o.topic===r.topic?r:o);e(o=>{o.currentThread=r,o.threads=i})},setCurrentQueuingThread(n){e(r=>{r.currentQueuingThread=n})},setThreadResult(n){e(r=>{r.threadResult=n})},getUnreadCount(){return t().threads.reduce((n,r)=>{var i;return r.unreadCount>0&&r.topic!==((i=t().currentThread)==null?void 0:i.topic)?n+r.unreadCount:n},0)},setShowQueueButton(n){e(r=>{r.showQueueButton=n})},setShowQueueList(n){e(r=>{r.showQueueList=n,r.showRightPanel=!1})},setShowRightPanel(n){e(r=>{r.showRightPanel=n})},resetThreads(){e(n=>{n.threads=[],n.queuingThreads=[],n.currentThread={uid:"",user:{uid:"",nickname:"",avatar:""},topic:"",content:"",type:"",unreadCount:0,extra:"",updatedAt:""},n.currentQueuingThread={uid:"",user:{uid:"",nickname:"",avatar:""}},n.threadResult={data:{content:[],last:!0}},n.showQueueButton=!1,n.showQueueList=!1,n.showRightPanel=!1})},setLoading:n=>e({loading:n}),setError:n=>e({error:n}),setSearchText:n=>e({searchText:n}),setFilter:(n,r)=>e(i=>{i.filters[n]=r}),clearFilters:()=>e({filters:{}}),refreshThreads:async()=>{const{currentOrg:n}=Dp.getState();if(n!=null&&n.uid){const{threadService:r}=await oze(async()=>{const{threadService:i}=await import("./threadService-rW2HPiZ8.js");return{threadService:i}},[]);await r.loadThreads(n.uid)}},setPagination:n=>e({pagination:n})})),{name:Y5e}))),kp=_l()(eu(yl(tu((e,t)=>({messageList:[],addMessage(n){if(t().messageList.some(i=>i.uid===n.uid)){if(n.type===F1){const o=t().messageList.findIndex(a=>a.type===F1&&a.uid===n.uid);if(o!==-1){const a=[...t().messageList];a[o].content+=n.content,e({messageList:a});return}}const i=t().messageList.findIndex(o=>o.uid===n.uid);if(i!==-1){const o=[...t().messageList];o[i]=n,e({messageList:o})}}else{const i=t().messageList[t().messageList.length-1];if(i&&n.type===Uj&&i.type===Uj){const o=t().messageList.findIndex(s=>s.uid===i.uid),a=[...t().messageList];a[o]=n,e({messageList:a})}else e({messageList:[...t().messageList,n]})}t().sortMessageList()},addMessageList(n){const r=[];for(let o=0;ol.uid===a.uid)||r.unshift(a)}const i=[...r,...t().messageList].sort((o,a)=>{const s=bn(o.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf(),l=bn(a.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf();return s-l});console.log("sortedMessageList",i),e({messageList:i})},updateMessageStatus(n,r){const i=t().messageList.findIndex(o=>o.uid===n);if(i!==-1){const o=[...t().messageList];o[i].status=r,e({messageList:o})}},updateMessage(n){const r=t().messageList.findIndex(i=>i.uid===n.uid);if(r!==-1){const i=[...t().messageList];i[r].content=n.content,e({messageList:i})}else console.log("找不到该消息")},deleteMessage(n){const r=t().messageList.findIndex(i=>i.uid===n);if(r!==-1){const i=[...t().messageList];i.splice(r,1),e({messageList:i})}},recallMessage(n){const r=t().messageList.findIndex(i=>i.uid===n);if(r!==-1){const i=[...t().messageList];i[r].type=Kbe,i[r].content="该消息已被撤回",e({messageList:i})}},sortMessageList(){const n=t().messageList.sort((r,i)=>{const o=bn(r.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf(),a=bn(i.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf();return o-a});e({messageList:n})},resetMessageList(){e({messageList:[]})}})),{name:z5e}))),Yo=_l()(eu(yl(tu((e,t)=>({userInfo:{uid:"",nickname:"",avatar:""},deviceUid:"",setUserInfo:n=>{e({userInfo:n})},setDeviceUid(n){e({deviceUid:n})},resetUserInfo(){e({userInfo:{uid:t().userInfo.uid,nickname:"",avatar:""}})}})),{name:G5e}))),R_=_l()(eu(yl(tu((e,t)=>({agentResult:{data:{content:[]}},agentInfo:{uid:"",orgUid:""},insertAgent(n){e(r=>{r.agentResult.data.content.unshift(n)})},updateAgent(n){e(r=>{const i=r.agentResult.data.content,o=i.findIndex(a=>a.uid===n.uid);o!==-1?i[o]=n:console.warn(`Agent with uid ${n.uid} not found.`)})},deleteAgent(n){e(r=>{const i=r.agentResult.data.content,o=i.findIndex(a=>a.uid===n.uid);o!==-1?i.splice(o,1):console.warn(`Agent with uid ${n.uid} not found.`)})},setAgentResult:n=>{e({agentResult:n})},setAgentInfo(n){e({agentInfo:n})},deleteAgentInfo(n){const r=t().agentResult.data.content,i=r.findIndex(o=>o.uid===n);i!==-1?e({agentResult:{...t().agentResult,data:{content:[...r.slice(0,i),...r.slice(i+1)]}}}):console.warn("Agent not found in cache:",n),t().agentInfo.uid===n&&e({agentInfo:{uid:"",orgUid:""}})},resetAgentInfo(){e({agentResult:{data:{content:[]}},agentInfo:{uid:"",orgUid:""}})}})),{name:K5e})));var _Ce={exports:{}};/*! +bn.version="2.30.1";aze(qi);bn.fn=fn;bn.min=qVe;bn.max=KVe;bn.now=QVe;bn.utc=pf;bn.unix=wWe;bn.months=TWe;bn.isDate=mx;bn.locale=mh;bn.invalid=$2;bn.duration=fd;bn.isMoment=td;bn.weekdays=OWe;bn.parseZone=xWe;bn.localeData=Ap;bn.isDuration=zI;bn.monthsShort=RWe;bn.weekdaysMin=NWe;bn.defineLocale=YW;bn.updateLocale=xVe;bn.locales=TVe;bn.weekdaysShort=IWe;bn.normalizeUnits=ru;bn.relativeTimeRounding=rYe;bn.relativeTimeThreshold=iYe;bn.calendarFormat=SGe;bn.prototype=fn;bn.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};let VR;const aYe=new Uint8Array(16);function sYe(){if(!VR&&(VR=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!VR))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return VR(aYe)}const Fa=[];for(let e=0;e<256;++e)Fa.push((e+256).toString(16).slice(1));function lYe(e,t=0){return Fa[e[t+0]]+Fa[e[t+1]]+Fa[e[t+2]]+Fa[e[t+3]]+"-"+Fa[e[t+4]]+Fa[e[t+5]]+"-"+Fa[e[t+6]]+Fa[e[t+7]]+"-"+Fa[e[t+8]]+Fa[e[t+9]]+"-"+Fa[e[t+10]]+Fa[e[t+11]]+Fa[e[t+12]]+Fa[e[t+13]]+Fa[e[t+14]]+Fa[e[t+15]]}const cYe=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),_ne={randomUUID:cYe};function gCe(e,t,n){if(_ne.randomUUID&&!t&&!e)return _ne.randomUUID();e=e||{};const r=e.random||(e.rng||sYe)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,lYe(r)}const uYe="1.1.8";function dYe(){return uYe}function fYe(){const e=localStorage.getItem(OI);(e===null||e==="true")&&new Audio(lUe).play()}function pYe(){return bn().format("YYYY-MM-DD HH:mm:ss")}function q2(){return gCe().replaceAll(/-/g,"")}function dy(e){return e.endsWith("/")?e.slice(0,-1):e}function yne(e,t){return e.length>t?e.slice(0,t-3)+"...":e}function mYe(e){if(mUe===e||hUe===e||gUe===e||vUe===e||_Ue===e)return!0}function hYe(e){return e===B1||e===U1}function gYe(e){return e===B1||e===U1}function vYe(e){return e.startsWith(xUe)}function vCe(){console.log("%cWelcome to Bytedesk","font-family:Arial; color:#3370ff ; font-size:18px; font-weight:bold;","GitHub:https://github.com/bytedesk/bytedesk")}const Dp=_l()(eu(yl(tu(e=>({orgTree:[],currentOrg:{uid:"",name:"",logo:"",description:""},setCurrentOrg(t){e({currentOrg:t})},deleteOrg:()=>e({currentOrg:{uid:"",name:"",logo:"",description:""}})})),{name:j5e}))),$u=_l()(eu(yl(tu((e,t)=>({threads:[],queuingThreads:[],currentThread:{uid:"",user:{uid:"",nickname:"",avatar:""},topic:"",content:"",type:"",unreadCount:0,extra:"",updatedAt:""},currentQueuingThread:{uid:"",user:{uid:"",nickname:"",avatar:""}},threadResult:{data:{content:[],last:!0}},showQueueButton:!1,showQueueList:!1,showRightPanel:!1,loading:!1,error:null,searchText:"",pagination:{pageNumber:0,pageSize:100,total:0},filters:{},addThread(n){var i,o;if(n.status===Kee)return t().addQueuingThread(n),0;if(t().threads.some(a=>a.topic===n.topic))if(((i=t().currentThread)==null?void 0:i.topic)===""||((o=t().currentThread)==null?void 0:o.topic)!==n.topic){for(let a=0;aa.topic!==n.topic)]}),n.unreadCount}else{const a=t().threads.map(s=>s.topic===n.topic?(n.top=s.top,n.mute=s.mute,n.unread=s.unread,n.agent=s.agent,n):s);return e({threads:a}),0}else return n.unreadCount=1,e({threads:[n,...t().threads]}),n.unreadCount},addThreadWithMessage(n,r){var s,l;if(r.type===pUe)return t().addQueuingThread(n),0;const i=t().threads.some(c=>c.topic===n.topic),o=!hYe(r.type);if(gYe(r.type)&&(n.status=Qee),i)if(((s=t().currentThread)==null?void 0:s.topic)===""||((l=t().currentThread)==null?void 0:l.topic)!==n.topic){for(let c=0;cc.topic!==n.topic)]}),n.unreadCount}else{const c=t().threads.map(u=>u.topic===n.topic?(n.top=u.top,n.mute=u.mute,n.unread=u.unread,n.agent=u.agent,n):u);return e({threads:c}),0}else return o&&(n.unreadCount=1),e({threads:[n,...t().threads]}),n.unreadCount},addQueuingThread(n){t().queuingThreads.some(i=>i.topic===n.topic)||e({queuingThreads:[n,...t().queuingThreads]})},updateThreadContent(n,r){let i=null;const o=t().threads.map(a=>a.topic===n?(i={...a,unreadCount:a.unreadCount+1,content:r},i):a);return e({threads:o}),i},updateThreadStatus(n,r){let i=null;const o=t().threads.map(a=>a.topic===n?(i={...a,status:r},i):a);return e({threads:o}),i},removeThread(n){e({threads:[...t().threads.filter(r=>(r==null?void 0:r.uid)!==(n==null?void 0:n.uid))]})},closeThread(n){const r=t().threads.map(i=>i.topic===n?{...i,state:Qee}:i);e({threads:r})},addThreads(n){for(let r=0;ra.topic===i.topic))e({threads:[...t().threads,i]});else{const a=t().threads.map(s=>s.topic===i.topic?{...i,unreadCount:s.unreadCount}:s);e({threads:a})}}},setThreads(n){e(r=>{r.threads=n})},setQueuingThreads(n){e(r=>{r.queuingThreads=n})},setCurrentThread(n){e(o=>{o.showQueueList=!1});const r={...n,unreadCount:0},i=t().threads.map(o=>o.topic===r.topic?r:o);e(o=>{o.currentThread=r,o.threads=i})},setCurrentQueuingThread(n){e(r=>{r.currentQueuingThread=n})},setThreadResult(n){e(r=>{r.threadResult=n})},getUnreadCount(){return t().threads.reduce((n,r)=>{var i;return r.unreadCount>0&&r.topic!==((i=t().currentThread)==null?void 0:i.topic)?n+r.unreadCount:n},0)},setShowQueueButton(n){e(r=>{r.showQueueButton=n})},setShowQueueList(n){e(r=>{r.showQueueList=n,r.showRightPanel=!1})},setShowRightPanel(n){e(r=>{r.showRightPanel=n})},resetThreads(){e(n=>{n.threads=[],n.queuingThreads=[],n.currentThread={uid:"",user:{uid:"",nickname:"",avatar:""},topic:"",content:"",type:"",unreadCount:0,extra:"",updatedAt:""},n.currentQueuingThread={uid:"",user:{uid:"",nickname:"",avatar:""}},n.threadResult={data:{content:[],last:!0}},n.showQueueButton=!1,n.showQueueList=!1,n.showRightPanel=!1})},setLoading:n=>e({loading:n}),setError:n=>e({error:n}),setSearchText:n=>e({searchText:n}),setFilter:(n,r)=>e(i=>{i.filters[n]=r}),clearFilters:()=>e({filters:{}}),refreshThreads:async()=>{const{currentOrg:n}=Dp.getState();if(n!=null&&n.uid){const{threadService:r}=await oze(async()=>{const{threadService:i}=await import("./threadService-BxuaN9GQ.js");return{threadService:i}},[]);await r.loadThreads(n.uid)}},setPagination:n=>e({pagination:n})})),{name:Y5e}))),kp=_l()(eu(yl(tu((e,t)=>({messageList:[],addMessage(n){if(t().messageList.some(i=>i.uid===n.uid)){if(n.type===F1){const o=t().messageList.findIndex(a=>a.type===F1&&a.uid===n.uid);if(o!==-1){const a=[...t().messageList];a[o].content+=n.content,e({messageList:a});return}}const i=t().messageList.findIndex(o=>o.uid===n.uid);if(i!==-1){const o=[...t().messageList];o[i]=n,e({messageList:o})}}else{const i=t().messageList[t().messageList.length-1];if(i&&n.type===Uj&&i.type===Uj){const o=t().messageList.findIndex(s=>s.uid===i.uid),a=[...t().messageList];a[o]=n,e({messageList:a})}else e({messageList:[...t().messageList,n]})}t().sortMessageList()},addMessageList(n){const r=[];for(let o=0;ol.uid===a.uid)||r.unshift(a)}const i=[...r,...t().messageList].sort((o,a)=>{const s=bn(o.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf(),l=bn(a.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf();return s-l});console.log("sortedMessageList",i),e({messageList:i})},updateMessageStatus(n,r){const i=t().messageList.findIndex(o=>o.uid===n);if(i!==-1){const o=[...t().messageList];o[i].status=r,e({messageList:o})}},updateMessage(n){const r=t().messageList.findIndex(i=>i.uid===n.uid);if(r!==-1){const i=[...t().messageList];i[r].content=n.content,e({messageList:i})}else console.log("找不到该消息")},deleteMessage(n){const r=t().messageList.findIndex(i=>i.uid===n);if(r!==-1){const i=[...t().messageList];i.splice(r,1),e({messageList:i})}},recallMessage(n){const r=t().messageList.findIndex(i=>i.uid===n);if(r!==-1){const i=[...t().messageList];i[r].type=Kbe,i[r].content="该消息已被撤回",e({messageList:i})}},sortMessageList(){const n=t().messageList.sort((r,i)=>{const o=bn(r.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf(),a=bn(i.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf();return o-a});e({messageList:n})},resetMessageList(){e({messageList:[]})}})),{name:z5e}))),Yo=_l()(eu(yl(tu((e,t)=>({userInfo:{uid:"",nickname:"",avatar:""},deviceUid:"",setUserInfo:n=>{e({userInfo:n})},setDeviceUid(n){e({deviceUid:n})},resetUserInfo(){e({userInfo:{uid:t().userInfo.uid,nickname:"",avatar:""}})}})),{name:G5e}))),R_=_l()(eu(yl(tu((e,t)=>({agentResult:{data:{content:[]}},agentInfo:{uid:"",orgUid:""},insertAgent(n){e(r=>{r.agentResult.data.content.unshift(n)})},updateAgent(n){e(r=>{const i=r.agentResult.data.content,o=i.findIndex(a=>a.uid===n.uid);o!==-1?i[o]=n:console.warn(`Agent with uid ${n.uid} not found.`)})},deleteAgent(n){e(r=>{const i=r.agentResult.data.content,o=i.findIndex(a=>a.uid===n.uid);o!==-1?i.splice(o,1):console.warn(`Agent with uid ${n.uid} not found.`)})},setAgentResult:n=>{e({agentResult:n})},setAgentInfo(n){e({agentInfo:n})},deleteAgentInfo(n){const r=t().agentResult.data.content,i=r.findIndex(o=>o.uid===n);i!==-1?e({agentResult:{...t().agentResult,data:{content:[...r.slice(0,i),...r.slice(i+1)]}}}):console.warn("Agent not found in cache:",n),t().agentInfo.uid===n&&e({agentInfo:{uid:"",orgUid:""}})},resetAgentInfo(){e({agentResult:{data:{content:[]}},agentInfo:{uid:"",orgUid:""}})}})),{name:K5e})));var _Ce={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames @@ -1146,7 +1146,7 @@ a=extmap-allow-mixed`)!==-1){const o=i.sdp.split(` isIOS:${this.isIOS} isWebRTCSupported:${this.isWebRTCSupported()} isBrowserSupported:${this.isBrowserSupported()} - isUnifiedPlanSupported:${this.isUnifiedPlanSupported()}`}constructor(){this.isIOS=typeof navigator<"u"?["iPad","iPhone","iPod"].includes(navigator.platform):!1,this.supportedBrowsers=["firefox","chrome","safari"],this.minFirefoxVersion=59,this.minChromeVersion=72,this.minSafariVersion=605}},OSn=e=>!e||/^[A-Za-z0-9]+(?:[ _-][A-Za-z0-9]+)*$/.test(e),PFe=()=>Math.random().toString(36).slice(2),e_e={iceServers:[{urls:"stun:stun.l.google.com:19302"},{urls:["turn:eu-0.turn.peerjs.com:3478","turn:us-0.turn.peerjs.com:3478"],username:"peerjs",credential:"peerjsp"}],sdpSemantics:"unified-plan"};class ISn extends AFe{noop(){}blobToArrayBuffer(t,n){const r=new FileReader;return r.onload=function(i){i.target&&n(i.target.result)},r.readAsArrayBuffer(t),r}binaryStringToArrayBuffer(t){const n=new Uint8Array(t.length);for(let r=0;r=3&&this._print(3,...t)}warn(...t){this._logLevel>=2&&this._print(2,...t)}error(...t){this._logLevel>=1&&this._print(1,...t)}setLogFunction(t){this._print=t}_print(t,...n){const r=[NSn,...n];for(const i in r)r[i]instanceof Error&&(r[i]="("+r[i].name+") "+r[i].message);t>=3?console.log(...r):t>=2?console.warn("WARNING",...r):t>=1&&console.error("ERROR",...r)}constructor(){this._logLevel=0}}var zn=new MSn,rJ={},ASn=Object.prototype.hasOwnProperty,js="~";function Yw(){}Object.create&&(Yw.prototype=Object.create(null),new Yw().__proto__||(js=!1));function PSn(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function DFe(e,t,n,r,i){if(typeof n!="function")throw new TypeError("The listener must be a function");var o=new PSn(n,r||e,i),a=js?js+t:t;return e._events[a]?e._events[a].fn?e._events[a]=[e._events[a],o]:e._events[a].push(o):(e._events[a]=o,e._eventsCount++),e}function qN(e,t){--e._eventsCount===0?e._events=new Yw:delete e._events[t]}function Ss(){this._events=new Yw,this._eventsCount=0}Ss.prototype.eventNames=function(){var t=[],n,r;if(this._eventsCount===0)return t;for(r in n=this._events)ASn.call(n,r)&&t.push(js?r.slice(1):r);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(n)):t};Ss.prototype.listeners=function(t){var n=js?js+t:t,r=this._events[n];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);itf);iy(oy,"PeerErrorType",()=>wo);iy(oy,"BaseConnectionErrorType",()=>qw);iy(oy,"DataConnectionErrorType",()=>Kw);iy(oy,"SerializationType",()=>z0);iy(oy,"SocketEventType",()=>qd);iy(oy,"ServerMessageType",()=>Ia);var tf;(function(e){e.Data="data",e.Media="media"})(tf||(tf={}));var wo;(function(e){e.BrowserIncompatible="browser-incompatible",e.Disconnected="disconnected",e.InvalidID="invalid-id",e.InvalidKey="invalid-key",e.Network="network",e.PeerUnavailable="peer-unavailable",e.SslUnavailable="ssl-unavailable",e.ServerError="server-error",e.SocketError="socket-error",e.SocketClosed="socket-closed",e.UnavailableID="unavailable-id",e.WebRTC="webrtc"})(wo||(wo={}));var qw;(function(e){e.NegotiationFailed="negotiation-failed",e.ConnectionClosed="connection-closed"})(qw||(qw={}));var Kw;(function(e){e.NotOpenYet="not-open-yet",e.MessageToBig="message-too-big"})(Kw||(Kw={}));var z0;(function(e){e.Binary="binary",e.BinaryUTF8="binary-utf8",e.JSON="json",e.None="raw"})(z0||(z0={}));var qd;(function(e){e.Message="message",e.Disconnected="disconnected",e.Error="error",e.Close="close"})(qd||(qd={}));var Ia;(function(e){e.Heartbeat="HEARTBEAT",e.Candidate="CANDIDATE",e.Offer="OFFER",e.Answer="ANSWER",e.Open="OPEN",e.Error="ERROR",e.IdTaken="ID-TAKEN",e.InvalidKey="INVALID-KEY",e.Leave="LEAVE",e.Expire="EXPIRE"})(Ia||(Ia={}));var iJ={};iJ=JSON.parse('{"name":"peerjs","version":"1.5.4","keywords":["peerjs","webrtc","p2p","rtc"],"description":"PeerJS client","homepage":"https://peerjs.com","bugs":{"url":"https://github.com/peers/peerjs/issues"},"repository":{"type":"git","url":"https://github.com/peers/peerjs"},"license":"MIT","contributors":["Michelle Bu ","afrokick ","ericz ","Jairo ","Jonas Gloning <34194370+jonasgloning@users.noreply.github.com>","Jairo Caro-Accino Viciana ","Carlos Caballero ","hc ","Muhammad Asif ","PrashoonB ","Harsh Bardhan Mishra <47351025+HarshCasper@users.noreply.github.com>","akotynski ","lmb ","Jairooo ","Moritz Stückler ","Simon ","Denis Lukov ","Philipp Hancke ","Hans Oksendahl ","Jess ","khankuan ","DUODVK ","XiZhao ","Matthias Lohr ","=frank tree <=frnktrb@googlemail.com>","Andre Eckardt ","Chris Cowan ","Alex Chuev ","alxnull ","Yemel Jardi ","Ben Parnell ","Benny Lichtner ","fresheneesz ","bob.barstead@exaptive.com ","chandika ","emersion ","Christopher Van ","eddieherm ","Eduardo Pinho ","Evandro Zanatta ","Gardner Bickford ","Gian Luca ","PatrickJS ","jonnyf ","Hizkia Felix ","Hristo Oskov ","Isaac Madwed ","Ilya Konanykhin ","jasonbarry ","Jonathan Burke ","Josh Hamit ","Jordan Austin ","Joel Wetzell ","xizhao ","Alberto Torres ","Jonathan Mayol ","Jefferson Felix ","Rolf Erik Lekang ","Kevin Mai-Husan Chia ","Pepijn de Vos ","JooYoung ","Tobias Speicher ","Steve Blaurock ","Kyrylo Shegeda ","Diwank Singh Tomer ","Sören Balko ","Arpit Solanki ","Yuki Ito ","Artur Zayats "],"funding":{"type":"opencollective","url":"https://opencollective.com/peer"},"collective":{"type":"opencollective","url":"https://opencollective.com/peer"},"files":["dist/*"],"sideEffects":["lib/global.ts","lib/supports.ts"],"main":"dist/bundler.cjs","module":"dist/bundler.mjs","browser-minified":"dist/peerjs.min.js","browser-unminified":"dist/peerjs.js","browser-minified-msgpack":"dist/serializer.msgpack.mjs","types":"dist/types.d.ts","engines":{"node":">= 14"},"targets":{"types":{"source":"lib/exports.ts"},"main":{"source":"lib/exports.ts","sourceMap":{"inlineSources":true}},"module":{"source":"lib/exports.ts","includeNodeModules":["eventemitter3"],"sourceMap":{"inlineSources":true}},"browser-minified":{"context":"browser","outputFormat":"global","optimize":true,"engines":{"browsers":"chrome >= 83, edge >= 83, firefox >= 80, safari >= 15"},"source":"lib/global.ts"},"browser-unminified":{"context":"browser","outputFormat":"global","optimize":false,"engines":{"browsers":"chrome >= 83, edge >= 83, firefox >= 80, safari >= 15"},"source":"lib/global.ts"},"browser-minified-msgpack":{"context":"browser","outputFormat":"esmodule","isLibrary":true,"optimize":true,"engines":{"browsers":"chrome >= 83, edge >= 83, firefox >= 102, safari >= 15"},"source":"lib/dataconnection/StreamConnection/MsgPack.ts"}},"scripts":{"contributors":"git-authors-cli --print=false && prettier --write package.json && git add package.json package-lock.json && git commit -m \\"chore(contributors): update and sort contributors list\\"","check":"tsc --noEmit && tsc -p e2e/tsconfig.json --noEmit","watch":"parcel watch","build":"rm -rf dist && parcel build","prepublishOnly":"npm run build","test":"jest","test:watch":"jest --watch","coverage":"jest --coverage --collectCoverageFrom=\\"./lib/**\\"","format":"prettier --write .","format:check":"prettier --check .","semantic-release":"semantic-release","e2e":"wdio run e2e/wdio.local.conf.ts","e2e:bstack":"wdio run e2e/wdio.bstack.conf.ts"},"devDependencies":{"@parcel/config-default":"^2.9.3","@parcel/packager-ts":"^2.9.3","@parcel/transformer-typescript-tsc":"^2.9.3","@parcel/transformer-typescript-types":"^2.9.3","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@swc/core":"^1.3.27","@swc/jest":"^0.2.24","@types/jasmine":"^4.3.4","@wdio/browserstack-service":"^8.11.2","@wdio/cli":"^8.11.2","@wdio/globals":"^8.11.2","@wdio/jasmine-framework":"^8.11.2","@wdio/local-runner":"^8.11.2","@wdio/spec-reporter":"^8.11.2","@wdio/types":"^8.10.4","http-server":"^14.1.1","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","mock-socket":"^9.0.0","parcel":"^2.9.3","prettier":"^3.0.0","semantic-release":"^21.0.0","ts-node":"^10.9.1","typescript":"^5.0.0","wdio-geckodriver-service":"^5.0.1"},"dependencies":{"@msgpack/msgpack":"^2.8.0","eventemitter3":"^4.0.7","peerjs-js-binarypack":"^2.1.0","webrtc-adapter":"^9.0.0"},"alias":{"process":false,"buffer":false}}');class DSn extends rJ.EventEmitter{constructor(t,n,r,i,o,a=5e3){super(),this.pingInterval=a,this._disconnected=!0,this._messagesQueue=[];const s=t?"wss://":"ws://";this._baseUrl=s+n+":"+r+i+"peerjs?key="+o}start(t,n){this._id=t;const r=`${this._baseUrl}&id=${t}&token=${n}`;this._socket||!this._disconnected||(this._socket=new WebSocket(r+"&version="+iJ.version),this._disconnected=!1,this._socket.onmessage=i=>{let o;try{o=JSON.parse(i.data),zn.log("Server message received:",o)}catch{zn.log("Invalid server message",i.data);return}this.emit(qd.Message,o)},this._socket.onclose=i=>{this._disconnected||(zn.log("Socket closed.",i),this._cleanup(),this._disconnected=!0,this.emit(qd.Disconnected))},this._socket.onopen=()=>{this._disconnected||(this._sendQueuedMessages(),zn.log("Socket open"),this._scheduleHeartbeat())})}_scheduleHeartbeat(){this._wsPingTimer=setTimeout(()=>{this._sendHeartbeat()},this.pingInterval)}_sendHeartbeat(){if(!this._wsOpen()){zn.log("Cannot send heartbeat, because socket closed");return}const t=JSON.stringify({type:Ia.Heartbeat});this._socket.send(t),this._scheduleHeartbeat()}_wsOpen(){return!!this._socket&&this._socket.readyState===1}_sendQueuedMessages(){const t=[...this._messagesQueue];this._messagesQueue=[];for(const n of t)this.send(n)}send(t){if(this._disconnected)return;if(!this._id){this._messagesQueue.push(t);return}if(!t.type){this.emit(qd.Error,"Invalid message");return}if(!this._wsOpen())return;const n=JSON.stringify(t);this._socket.send(n)}close(){this._disconnected||(this._cleanup(),this._disconnected=!0)}_cleanup(){this._socket&&(this._socket.onopen=this._socket.onmessage=this._socket.onclose=null,this._socket.close(),this._socket=void 0),clearTimeout(this._wsPingTimer)}}class kFe{constructor(t){this.connection=t}startConnection(t){const n=this._startPeerConnection();if(this.connection.peerConnection=n,this.connection.type===tf.Media&&t._stream&&this._addTracksToConnection(t._stream,n),t.originator){const r=this.connection,i={ordered:!!t.reliable},o=n.createDataChannel(r.label,i);r._initializeDataChannel(o),this._makeOffer()}else this.handleSDP("OFFER",t.sdp)}_startPeerConnection(){zn.log("Creating RTCPeerConnection.");const t=new RTCPeerConnection(this.connection.provider.options.config);return this._setupListeners(t),t}_setupListeners(t){const n=this.connection.peer,r=this.connection.connectionId,i=this.connection.type,o=this.connection.provider;zn.log("Listening for ICE candidates."),t.onicecandidate=a=>{!a.candidate||!a.candidate.candidate||(zn.log(`Received ICE candidates for ${n}:`,a.candidate),o.socket.send({type:Ia.Candidate,payload:{candidate:a.candidate,type:i,connectionId:r},dst:n}))},t.oniceconnectionstatechange=()=>{switch(t.iceConnectionState){case"failed":zn.log("iceConnectionState is failed, closing connections to "+n),this.connection.emitError(qw.NegotiationFailed,"Negotiation of connection to "+n+" failed."),this.connection.close();break;case"closed":zn.log("iceConnectionState is closed, closing connections to "+n),this.connection.emitError(qw.ConnectionClosed,"Connection to "+n+" closed."),this.connection.close();break;case"disconnected":zn.log("iceConnectionState changed to disconnected on the connection with "+n);break;case"completed":t.onicecandidate=()=>{};break}this.connection.emit("iceStateChanged",t.iceConnectionState)},zn.log("Listening for data channel"),t.ondatachannel=a=>{zn.log("Received data channel");const s=a.channel;o.getConnection(n,r)._initializeDataChannel(s)},zn.log("Listening for remote stream"),t.ontrack=a=>{zn.log("Received remote stream");const s=a.streams[0],l=o.getConnection(n,r);if(l.type===tf.Media){const c=l;this._addStreamToMediaConnection(s,c)}}}cleanup(){zn.log("Cleaning up PeerConnection to "+this.connection.peer);const t=this.connection.peerConnection;if(!t)return;this.connection.peerConnection=null,t.onicecandidate=t.oniceconnectionstatechange=t.ondatachannel=t.ontrack=()=>{};const n=t.signalingState!=="closed";let r=!1;const i=this.connection.dataChannel;i&&(r=!!i.readyState&&i.readyState!=="closed"),(n||r)&&t.close()}async _makeOffer(){const t=this.connection.peerConnection,n=this.connection.provider;try{const r=await t.createOffer(this.connection.options.constraints);zn.log("Created offer."),this.connection.options.sdpTransform&&typeof this.connection.options.sdpTransform=="function"&&(r.sdp=this.connection.options.sdpTransform(r.sdp)||r.sdp);try{await t.setLocalDescription(r),zn.log("Set localDescription:",r,`for:${this.connection.peer}`);let i={sdp:r,type:this.connection.type,connectionId:this.connection.connectionId,metadata:this.connection.metadata};if(this.connection.type===tf.Data){const o=this.connection;i={...i,label:o.label,reliable:o.reliable,serialization:o.serialization}}n.socket.send({type:Ia.Offer,payload:i,dst:this.connection.peer})}catch(i){i!="OperationError: Failed to set local offer sdp: Called in wrong state: kHaveRemoteOffer"&&(n.emitError(wo.WebRTC,i),zn.log("Failed to setLocalDescription, ",i))}}catch(r){n.emitError(wo.WebRTC,r),zn.log("Failed to createOffer, ",r)}}async _makeAnswer(){const t=this.connection.peerConnection,n=this.connection.provider;try{const r=await t.createAnswer();zn.log("Created answer."),this.connection.options.sdpTransform&&typeof this.connection.options.sdpTransform=="function"&&(r.sdp=this.connection.options.sdpTransform(r.sdp)||r.sdp);try{await t.setLocalDescription(r),zn.log("Set localDescription:",r,`for:${this.connection.peer}`),n.socket.send({type:Ia.Answer,payload:{sdp:r,type:this.connection.type,connectionId:this.connection.connectionId},dst:this.connection.peer})}catch(i){n.emitError(wo.WebRTC,i),zn.log("Failed to setLocalDescription, ",i)}}catch(r){n.emitError(wo.WebRTC,r),zn.log("Failed to create answer, ",r)}}async handleSDP(t,n){n=new RTCSessionDescription(n);const r=this.connection.peerConnection,i=this.connection.provider;zn.log("Setting remote description",n);const o=this;try{await r.setRemoteDescription(n),zn.log(`Set remoteDescription:${t} for:${this.connection.peer}`),t==="OFFER"&&await o._makeAnswer()}catch(a){i.emitError(wo.WebRTC,a),zn.log("Failed to setRemoteDescription, ",a)}}async handleCandidate(t){zn.log("handleCandidate:",t);try{await this.connection.peerConnection.addIceCandidate(t),zn.log(`Added ICE candidate for:${this.connection.peer}`)}catch(n){this.connection.provider.emitError(wo.WebRTC,n),zn.log("Failed to handleCandidate, ",n)}}_addTracksToConnection(t,n){if(zn.log(`add tracks from stream ${t.id} to peer connection`),!n.addTrack)return zn.error("Your browser does't support RTCPeerConnection#addTrack. Ignored.");t.getTracks().forEach(r=>{n.addTrack(r,t)})}_addStreamToMediaConnection(t,n){zn.log(`add stream ${t.id} to media connection ${n.connectionId}`),n.addStream(t)}}class LFe extends rJ.EventEmitter{emitError(t,n){zn.error("Error:",n),this.emit("error",new kSn(`${t}`,n))}}class kSn extends Error{constructor(t,n){typeof n=="string"?super(n):(super(),Object.assign(this,n)),this.type=t}}class $Fe extends LFe{get open(){return this._open}constructor(t,n,r){super(),this.peer=t,this.provider=n,this.options=r,this._open=!1,this.metadata=r.metadata}}var mG;const m1=class m1 extends $Fe{get type(){return tf.Media}get localStream(){return this._localStream}get remoteStream(){return this._remoteStream}constructor(t,n,r){super(t,n,r),this._localStream=this.options._stream,this.connectionId=this.options.connectionId||m1.ID_PREFIX+il.randomToken(),this._negotiator=new kFe(this),this._localStream&&this._negotiator.startConnection({_stream:this._localStream,originator:!0})}_initializeDataChannel(t){this.dataChannel=t,this.dataChannel.onopen=()=>{zn.log(`DC#${this.connectionId} dc connection success`),this.emit("willCloseOnRemote")},this.dataChannel.onclose=()=>{zn.log(`DC#${this.connectionId} dc closed for:`,this.peer),this.close()}}addStream(t){zn.log("Receiving stream",t),this._remoteStream=t,super.emit("stream",t)}handleMessage(t){const n=t.type,r=t.payload;switch(t.type){case Ia.Answer:this._negotiator.handleSDP(n,r.sdp),this._open=!0;break;case Ia.Candidate:this._negotiator.handleCandidate(r.candidate);break;default:zn.warn(`Unrecognized message type:${n} from peer:${this.peer}`);break}}answer(t,n={}){if(this._localStream){zn.warn("Local stream already exists on this MediaConnection. Are you answering a call twice?");return}this._localStream=t,n&&n.sdpTransform&&(this.options.sdpTransform=n.sdpTransform),this._negotiator.startConnection({...this.options._payload,_stream:t});const r=this.provider._getMessages(this.connectionId);for(const i of r)this.handleMessage(i);this._open=!0}close(){this._negotiator&&(this._negotiator.cleanup(),this._negotiator=null),this._localStream=null,this._remoteStream=null,this.provider&&(this.provider._removeConnection(this),this.provider=null),this.options&&this.options._stream&&(this.options._stream=null),this.open&&(this._open=!1,super.emit("close"))}};mG=new WeakMap,$n(m1,mG,m1.ID_PREFIX="mc_");let UP=m1;class LSn{constructor(t){this._options=t}_buildRequest(t){const n=this._options.secure?"https":"http",{host:r,port:i,path:o,key:a}=this._options,s=new URL(`${n}://${r}:${i}${o}${a}/${t}`);return s.searchParams.set("ts",`${Date.now()}${Math.random()}`),s.searchParams.set("version",iJ.version),fetch(s.href,{referrerPolicy:this._options.referrerPolicy})}async retrieveId(){try{const t=await this._buildRequest("id");if(t.status!==200)throw new Error(`Error. Status:${t.status}`);return t.text()}catch(t){zn.error("Error retrieving ID",t);let n="";throw this._options.path==="/"&&this._options.host!==il.CLOUD_HOST&&(n=" If you passed in a `path` to your self-hosted PeerServer, you'll also need to pass in that same path when creating a new Peer."),new Error("Could not get an ID from the server."+n)}}async listAllPeers(){try{const t=await this._buildRequest("peers");if(t.status!==200){if(t.status===401){let n="";throw this._options.host===il.CLOUD_HOST?n="It looks like you're using the cloud server. You can email team@peerjs.com to enable peer listing for your API key.":n="You need to enable `allow_discovery` on your self-hosted PeerServer to use this feature.",new Error("It doesn't look like you have permission to list peers IDs. "+n)}throw new Error(`Error. Status:${t.status}`)}return t.json()}catch(t){throw zn.error("Error retrieving list peers",t),new Error("Could not get list peers from the server."+t)}}}var hG,gG;const Yg=class Yg extends $Fe{get type(){return tf.Data}constructor(t,n,r){super(t,n,r),this.connectionId=this.options.connectionId||Yg.ID_PREFIX+PFe(),this.label=this.options.label||this.connectionId,this.reliable=!!this.options.reliable,this._negotiator=new kFe(this),this._negotiator.startConnection(this.options._payload||{originator:!0,reliable:this.reliable})}_initializeDataChannel(t){this.dataChannel=t,this.dataChannel.onopen=()=>{zn.log(`DC#${this.connectionId} dc connection success`),this._open=!0,this.emit("open")},this.dataChannel.onmessage=n=>{zn.log(`DC#${this.connectionId} dc onmessage:`,n.data)},this.dataChannel.onclose=()=>{zn.log(`DC#${this.connectionId} dc closed for:`,this.peer),this.close()}}close(t){if(t!=null&&t.flush){this.send({__peerData:{type:"close"}});return}this._negotiator&&(this._negotiator.cleanup(),this._negotiator=null),this.provider&&(this.provider._removeConnection(this),this.provider=null),this.dataChannel&&(this.dataChannel.onopen=null,this.dataChannel.onmessage=null,this.dataChannel.onclose=null,this.dataChannel=null),this.open&&(this._open=!1,super.emit("close"))}send(t,n=!1){if(!this.open){this.emitError(Kw.NotOpenYet,"Connection is not open. You should listen for the `open` event before sending messages.");return}return this._send(t,n)}async handleMessage(t){const n=t.payload;switch(t.type){case Ia.Answer:await this._negotiator.handleSDP(t.type,n.sdp);break;case Ia.Candidate:await this._negotiator.handleCandidate(n.candidate);break;default:zn.warn("Unrecognized message type:",t.type,"from peer:",this.peer);break}}};hG=new WeakMap,gG=new WeakMap,$n(Yg,hG,Yg.ID_PREFIX="dc_"),$n(Yg,gG,Yg.MAX_BUFFERED_AMOUNT=8388608);let jP=Yg;class oJ extends jP{get bufferSize(){return this._bufferSize}_initializeDataChannel(t){super._initializeDataChannel(t),this.dataChannel.binaryType="arraybuffer",this.dataChannel.addEventListener("message",n=>this._handleDataMessage(n))}_bufferedSend(t){(this._buffering||!this._trySend(t))&&(this._buffer.push(t),this._bufferSize=this._buffer.length)}_trySend(t){if(!this.open)return!1;if(this.dataChannel.bufferedAmount>jP.MAX_BUFFERED_AMOUNT)return this._buffering=!0,setTimeout(()=>{this._buffering=!1,this._tryBuffer()},50),!1;try{this.dataChannel.send(t)}catch(n){return zn.error(`DC#:${this.connectionId} Error when sending:`,n),this._buffering=!0,this.close(),!1}return!0}_tryBuffer(){if(!this.open||this._buffer.length===0)return;const t=this._buffer[0];this._trySend(t)&&(this._buffer.shift(),this._bufferSize=this._buffer.length,this._tryBuffer())}close(t){if(t!=null&&t.flush){this.send({__peerData:{type:"close"}});return}this._buffer=[],this._bufferSize=0,super.close()}constructor(...t){super(...t),this._buffer=[],this._bufferSize=0,this._buffering=!1}}class xU extends oJ{close(t){super.close(t),this._chunkedData={}}constructor(t,n,r){super(t,n,r),this.chunker=new AFe,this.serialization=z0.Binary,this._chunkedData={}}_handleDataMessage({data:t}){const n=X4e(t),r=n.__peerData;if(r){if(r.type==="close"){this.close();return}this._handleChunk(n);return}this.emit("data",n)}_handleChunk(t){const n=t.__peerData,r=this._chunkedData[n]||{data:[],count:0,total:t.total};if(r.data[t.n]=new Uint8Array(t.data),r.count++,this._chunkedData[n]=r,r.total===r.count){delete this._chunkedData[n];const i=RSn(r.data);this._handleDataMessage({data:i})}}_send(t,n){const r=Z4e(t);if(r instanceof Promise)return this._send_blob(r);if(!n&&r.byteLength>this.chunker.chunkedMTU){this._sendChunks(r);return}this._bufferedSend(r)}async _send_blob(t){const n=await t;if(n.byteLength>this.chunker.chunkedMTU){this._sendChunks(n);return}this._bufferedSend(n)}_sendChunks(t){const n=this.chunker.chunk(t);zn.log(`DC#${this.connectionId} Try to send ${n.length} chunks...`);for(const r of n)this.send(r,!0)}}class $Sn extends oJ{_handleDataMessage({data:t}){super.emit("data",t)}_send(t,n){this._bufferedSend(t)}constructor(...t){super(...t),this.serialization=z0.None}}class FSn extends oJ{_handleDataMessage({data:t}){const n=this.parse(this.decoder.decode(t)),r=n.__peerData;if(r&&r.type==="close"){this.close();return}this.emit("data",n)}_send(t,n){const r=this.encoder.encode(this.stringify(t));if(r.byteLength>=il.chunkedMTU){this.emitError(Kw.MessageToBig,"Message too big for JSON channel");return}this._bufferedSend(r)}constructor(...t){super(...t),this.serialization=z0.JSON,this.encoder=new TextEncoder,this.decoder=new TextDecoder,this.stringify=JSON.stringify,this.parse=JSON.parse}}var vG;const h1=class h1 extends LFe{get id(){return this._id}get options(){return this._options}get open(){return this._open}get socket(){return this._socket}get connections(){const t=Object.create(null);for(const[n,r]of this._connections)t[n]=r;return t}get destroyed(){return this._destroyed}get disconnected(){return this._disconnected}constructor(t,n){super(),this._serializers={raw:$Sn,json:FSn,binary:xU,"binary-utf8":xU,default:xU},this._id=null,this._lastServerId=null,this._destroyed=!1,this._disconnected=!1,this._open=!1,this._connections=new Map,this._lostMessages=new Map;let r;if(t&&t.constructor==Object?n=t:t&&(r=t.toString()),n={debug:0,host:il.CLOUD_HOST,port:il.CLOUD_PORT,path:"/",key:h1.DEFAULT_KEY,token:il.randomToken(),config:il.defaultConfig,referrerPolicy:"strict-origin-when-cross-origin",serializers:{},...n},this._options=n,this._serializers={...this._serializers,...this.options.serializers},this._options.host==="/"&&(this._options.host=window.location.hostname),this._options.path&&(this._options.path[0]!=="/"&&(this._options.path="/"+this._options.path),this._options.path[this._options.path.length-1]!=="/"&&(this._options.path+="/")),this._options.secure===void 0&&this._options.host!==il.CLOUD_HOST?this._options.secure=il.isSecure():this._options.host==il.CLOUD_HOST&&(this._options.secure=!0),this._options.logFunction&&zn.setLogFunction(this._options.logFunction),zn.logLevel=this._options.debug||0,this._api=new LSn(n),this._socket=this._createServerConnection(),!il.supports.audioVideo&&!il.supports.data){this._delayedAbort(wo.BrowserIncompatible,"The current browser does not support WebRTC");return}if(r&&!il.validateId(r)){this._delayedAbort(wo.InvalidID,`ID "${r}" is invalid`);return}r?this._initialize(r):this._api.retrieveId().then(i=>this._initialize(i)).catch(i=>this._abort(wo.ServerError,i))}_createServerConnection(){const t=new DSn(this._options.secure,this._options.host,this._options.port,this._options.path,this._options.key,this._options.pingInterval);return t.on(qd.Message,n=>{this._handleMessage(n)}),t.on(qd.Error,n=>{this._abort(wo.SocketError,n)}),t.on(qd.Disconnected,()=>{this.disconnected||(this.emitError(wo.Network,"Lost connection to server."),this.disconnect())}),t.on(qd.Close,()=>{this.disconnected||this._abort(wo.SocketClosed,"Underlying socket is already closed.")}),t}_initialize(t){this._id=t,this.socket.start(t,this._options.token)}_handleMessage(t){const n=t.type,r=t.payload,i=t.src;switch(n){case Ia.Open:this._lastServerId=this.id,this._open=!0,this.emit("open",this.id);break;case Ia.Error:this._abort(wo.ServerError,r.msg);break;case Ia.IdTaken:this._abort(wo.UnavailableID,`ID "${this.id}" is taken`);break;case Ia.InvalidKey:this._abort(wo.InvalidKey,`API KEY "${this._options.key}" is invalid`);break;case Ia.Leave:zn.log(`Received leave message from ${i}`),this._cleanupPeer(i),this._connections.delete(i);break;case Ia.Expire:this.emitError(wo.PeerUnavailable,`Could not connect to peer ${i}`);break;case Ia.Offer:{const o=r.connectionId;let a=this.getConnection(i,o);if(a&&(a.close(),zn.warn(`Offer received for existing Connection ID:${o}`)),r.type===tf.Media){const l=new UP(i,this,{connectionId:o,_payload:r,metadata:r.metadata});a=l,this._addConnection(i,a),this.emit("call",l)}else if(r.type===tf.Data){const l=new this._serializers[r.serialization](i,this,{connectionId:o,_payload:r,metadata:r.metadata,label:r.label,serialization:r.serialization,reliable:r.reliable});a=l,this._addConnection(i,a),this.emit("connection",l)}else{zn.warn(`Received malformed connection type:${r.type}`);return}const s=this._getMessages(o);for(const l of s)a.handleMessage(l);break}default:{if(!r){zn.warn(`You received a malformed message from ${i} of type ${n}`);return}const o=r.connectionId,a=this.getConnection(i,o);a&&a.peerConnection?a.handleMessage(t):o?this._storeMessage(o,t):zn.warn("You received an unrecognized message:",t);break}}}_storeMessage(t,n){this._lostMessages.has(t)||this._lostMessages.set(t,[]),this._lostMessages.get(t).push(n)}_getMessages(t){const n=this._lostMessages.get(t);return n?(this._lostMessages.delete(t),n):[]}connect(t,n={}){if(n={serialization:"default",...n},this.disconnected){zn.warn("You cannot connect to a new Peer because you called .disconnect() on this Peer and ended your connection with the server. You can create a new Peer to reconnect, or call reconnect on this peer if you believe its ID to still be available."),this.emitError(wo.Disconnected,"Cannot connect to new Peer after disconnecting from server.");return}const r=new this._serializers[n.serialization](t,this,n);return this._addConnection(t,r),r}call(t,n,r={}){if(this.disconnected){zn.warn("You cannot connect to a new Peer because you called .disconnect() on this Peer and ended your connection with the server. You can create a new Peer to reconnect."),this.emitError(wo.Disconnected,"Cannot connect to new Peer after disconnecting from server.");return}if(!n){zn.error("To call a peer, you must provide a stream from your browser's `getUserMedia`.");return}const i=new UP(t,this,{...r,_stream:n});return this._addConnection(t,i),i}_addConnection(t,n){zn.log(`add connection ${n.type}:${n.connectionId} to peerId:${t}`),this._connections.has(t)||this._connections.set(t,[]),this._connections.get(t).push(n)}_removeConnection(t){const n=this._connections.get(t.peer);if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1)}this._lostMessages.delete(t.connectionId)}getConnection(t,n){const r=this._connections.get(t);if(!r)return null;for(const i of r)if(i.connectionId===n)return i;return null}_delayedAbort(t,n){setTimeout(()=>{this._abort(t,n)},0)}_abort(t,n){zn.error("Aborting!"),this.emitError(t,n),this._lastServerId?this.disconnect():this.destroy()}destroy(){this.destroyed||(zn.log(`Destroy peer with ID:${this.id}`),this.disconnect(),this._cleanup(),this._destroyed=!0,this.emit("close"))}_cleanup(){for(const t of this._connections.keys())this._cleanupPeer(t),this._connections.delete(t);this.socket.removeAllListeners()}_cleanupPeer(t){const n=this._connections.get(t);if(n)for(const r of n)r.close()}disconnect(){if(this.disconnected)return;const t=this.id;zn.log(`Disconnect peer with ID:${t}`),this._disconnected=!0,this._open=!1,this.socket.close(),this._lastServerId=t,this._id=null,this.emit("disconnected",t)}reconnect(){if(this.disconnected&&!this.destroyed)zn.log(`Attempting reconnection to server with ID ${this._lastServerId}`),this._disconnected=!1,this._initialize(this._lastServerId);else{if(this.destroyed)throw new Error("This peer cannot reconnect to the server. It has already been destroyed.");if(!this.disconnected&&!this.open)zn.error("In a hurry? We're still trying to make the initial connection!");else throw new Error(`Peer ${this.id} cannot reconnect because it is not disconnected from the server!`)}}listAllPeers(t=n=>{}){this._api.listAllPeers().then(n=>t(n)).catch(n=>this._abort(wo.ServerError,n))}};vG=new WeakMap,$n(h1,vG,h1.DEFAULT_KEY="peerjs");let lG=h1,BSn="127.0.0.1",USn=9e3,jSn="/";function HSn(){console.log("usePeer");const e=Yo(a=>a.userInfo);let t=null,n=null;const r=a=>{n=t.connect(a),n.on("open",()=>{console.log("Connected to peer with ID:",a),n.send("hi!")})},i=a=>{n?(console.log("sending message:",a),n.send(a)):console.error("no connection to send message")},o=a=>{navigator.mediaDevices.getUserMedia({audio:!0,video:!0}).then(s=>{t.call(a,s).on("stream",c=>{})}).catch(s=>{console.error("Failed to get local stream",s)})};return m.useEffect(()=>{const a=new lG(e.uid,{host:BSn,port:USn,path:jSn});console.log("Starting self peer with ID:",e.uid),a.on("open",function(){console.log("self peer opened!")}),a.on("connection",s=>{s.on("data",l=>{console.log("connection data:",l)}),s.on("open",()=>{s.send("connection data open!")})}),a.on("call",s=>{navigator.mediaDevices.getUserMedia({audio:!0,video:!0}).then(l=>{s.answer(l),s.on("stream",c=>{})}).catch(l=>{console.error("Failed to get local stream",l)})})},[e]),{peer:t,connectOtherPeer:r,sendMessage:i,callOtherPeer:o}}const zSn=()=>{const e=mr(),[t,n]=m.useState("/chat"),r=uc(),{isLoggedIn:i,mode:o}=m.useContext(Da),{footerStyle:a}=Wh(),[s,l]=m.useState(!1),c=$u(p=>p.threads);m.useEffect(()=>{const p=c.some(h=>h.unreadCount>0);l(p)},[c]);const u=[{path:"/anonymous/home",name:e.formatMessage({id:"menu.dashboard.chat"}),icon:M.jsx(ZC,{}),component:M.jsx(tG,{})}],[d,f]=m.useState(u);return P2e(),A2e(),hSn(),HSn(),mQ(),m.useEffect(()=>{f(u)},[o]),m.useEffect(()=>(i&&r("/chat"),()=>{console.log("un - useEffect")}),[i]),M.jsxs(FAe,{collapsed:!0,collapsedButtonRender:!1,layout:"side",style:{height:"100vh"},route:{routes:d},location:{pathname:t},menu:{type:"group",collapsedShowTitle:!0},avatarProps:null,actionsRender:p=>p.isMobile?[]:[M.jsx(o_t,{onClick:I0t},"QuestionCircleFilled")],menuHeaderRender:()=>M.jsx(M2e,{}),menuFooterRender:p=>{p!=null&&p.collapsed},onMenuHeaderClick:p=>{console.log("onMenuHeaderClick",p)},menuItemRender:(p,h)=>M.jsx(M.Fragment,{children:M.jsxs("a",{onClick:()=>{n(p.path),r(p.path)},children:[s&&M.jsxs(M.Fragment,{children:[p.path==="/anonymous/home"&&M.jsx(nl,{size:"small",dot:s,offset:[-5,5],children:h}),p.path!=="/anonymous/home"&&h]}),!s&&M.jsx(M.Fragment,{children:h})]})}),children:[M.jsx(FL,{children:M.jsx(vk,{})}),M.jsx(BL,{style:a,children:M.jsx(N2e,{})}),M.jsx("audio",{id:"audioPlay",src:"soundUrl",hidden:!0})]})},{Sider:VSn,Content:GSn}=_i,WSn=()=>{const{leftSiderStyle:e,leftSiderWidth:t,headerStyle:n,contentStyle:r}=Wh();return M.jsx(M.Fragment,{children:M.jsxs(_i,{children:[M.jsx(VSn,{style:e,width:t}),M.jsxs(_i,{children:[M.jsx(IA,{style:n,children:"setting"}),M.jsx(GSn,{style:r,children:"setting"})]})]})})};function YSn({children:e}){const{isLoggedIn:t}=m.useContext(Da),n=vS();return t?e:M.jsx(yEt,{to:"/auth/login",replace:!0,state:{from:n}})}const n_e=[{path:"/",element:M.jsx(M.Fragment,{children:M.jsx(YSn,{children:M.jsx(Y0n,{})})}),children:[{path:"/",element:M.jsx(eV,{})},{path:"/formbuilder",element:M.jsx(eV,{})},{path:"/flowbuilder",element:M.jsx(Yke,{})},{path:"/form-view/:formId",element:M.jsx(zQ,{})},{path:"/ticketbuilder",element:M.jsx(K4e,{})},{path:"/setting",element:M.jsx(T2e,{}),children:[{path:"/setting",element:M.jsx(Wve,{})},{path:"/setting/profile",element:M.jsx(Wve,{})},{path:"/setting/agentProfile",element:M.jsx(fSn,{})},{path:"/setting/memberProfile",element:M.jsx(iSn,{})},{path:"/setting/basic",element:M.jsx(J0n,{})},{path:"/setting/certification",element:M.jsx(uSn,{})},{path:"/setting/qrcode",element:M.jsx(eSn,{})},{path:"/setting/shortcut",element:M.jsx(tSn,{})}]}]},{path:"/auth",element:M.jsx(q0n,{}),children:[{path:"/auth",element:M.jsx(zz,{isModel:!1})},{path:"/auth/login",element:M.jsx(zz,{isModel:!1})},{path:"/auth/register",element:M.jsx(kWt,{})},{path:"/auth/server",element:M.jsx(VPe,{})}]},{path:"/anonymous",element:M.jsx(zSn,{}),children:[{path:"/anonymous",element:M.jsx(tG,{})},{path:"/anonymous/home",element:M.jsx(tG,{})},{path:"/anonymous/setting",element:M.jsx(WSn,{})}]},{path:"*",element:M.jsx(nSn,{})}];let cG;Aa?cG=REt(n_e,{future:{v7_normalizeFormMethod:!0,v7_relativeSplatPath:!0,v7_partialHydration:!0,v7_fetcherPersist:!0,v7_skipActionErrorRevalidation:!0}}):cG=TEt(n_e,{basename:"/agenticflow",future:{v7_normalizeFormMethod:!0,v7_relativeSplatPath:!0,v7_partialHydration:!0,v7_fetcherPersist:!0,v7_skipActionErrorRevalidation:!0}});const qSn=cG;var KSn=typeof Element<"u",QSn=typeof Map=="function",XSn=typeof Set=="function",ZSn=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function KN(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!KN(e[r],t[r]))return!1;return!0}var o;if(QSn&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!KN(r.value[1],t.get(r.value[0])))return!1;return!0}if(XSn&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(ZSn&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(KSn&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!KN(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var JSn=function(t,n){try{return KN(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const eEn=yi(JSn);var tEn=function(e,t,n,r,i,o,a,s){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],u=0;l=new Error(t.replace(/%s/g,function(){return c[u++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},nEn=tEn;const r_e=yi(nEn);var rEn=function(t,n,r,i){var o=r?r.call(i,t,n):void 0;if(o!==void 0)return!!o;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var a=Object.keys(t),s=Object.keys(n);if(a.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),c=0;c(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(FFe||{}),TU={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},i_e=Object.values(FFe),aJ={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},oEn=Object.entries(aJ).reduce((e,[t,n])=>(e[n]=t,e),{}),ju="data-rh",Pb={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Db=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},aEn=e=>{let t=Db(e,"title");const n=Db(e,Pb.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=Db(e,Pb.DEFAULT_TITLE);return t||r||void 0},sEn=e=>Db(e,Pb.ON_CHANGE_CLIENT_STATE)||(()=>{}),RU=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),lEn=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let o=0;oconsole&&typeof console.warn=="function"&&console.warn(e),tC=(e,t,n)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&cEn(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,o)=>{const a={};o.filter(l=>{let c;const u=Object.keys(l);for(let f=0;fi.push(l));const s=Object.keys(a);for(let l=0;l{if(Array.isArray(e)&&e.length){for(let n=0;n({baseTag:lEn(["href"],e),bodyAttributes:RU("bodyAttributes",e),defer:Db(e,Pb.DEFER),encode:Db(e,Pb.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:RU("htmlAttributes",e),linkTags:tC("link",["rel","href"],e),metaTags:tC("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:tC("noscript",["innerHTML"],e),onChangeClientState:sEn(e),scriptTags:tC("script",["src","innerHTML"],e),styleTags:tC("style",["cssText"],e),title:aEn(e),titleAttributes:RU("titleAttributes",e),prioritizeSeoTags:uEn(e,Pb.PRIORITIZE_SEO_TAGS)}),BFe=e=>Array.isArray(e)?e.join(""):e,fEn=(e,t)=>{const n=Object.keys(e);for(let r=0;rArray.isArray(e)?e.reduce((n,r)=>(fEn(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},o_e=(e,t)=>({...e,[t]:void 0}),pEn=["noscript","script","style"],uG=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),UFe=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),mEn=(e,t,n,r)=>{const i=UFe(n),o=BFe(t);return i?`<${e} ${ju}="true" ${i}>${uG(o,r)}`:`<${e} ${ju}="true">${uG(o,r)}`},hEn=(e,t,n=!0)=>t.reduce((r,i)=>{const o=i,a=Object.keys(o).filter(c=>!(c==="innerHTML"||c==="cssText")).reduce((c,u)=>{const d=typeof o[u]>"u"?u:`${u}="${uG(o[u],n)}"`;return c?`${c} ${d}`:d},""),s=o.innerHTML||o.cssText||"",l=pEn.indexOf(e)===-1;return`${r}<${e} ${ju}="true" ${a}${l?"/>":`>${s}`}`},""),jFe=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=aJ[r];return n[i||r]=e[r],n},t),gEn=(e,t,n)=>{const r={key:t,[ju]:!0},i=jFe(n,r);return[de.createElement("title",i,t)]},QN=(e,t)=>t.map((n,r)=>{const i={key:r,[ju]:!0};return Object.keys(n).forEach(o=>{const s=aJ[o]||o;if(s==="innerHTML"||s==="cssText"){const l=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:l}}else i[s]=n[o]}),de.createElement(e,i)}),Rc=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>gEn(e,t.title,t.titleAttributes),toString:()=>mEn(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>jFe(t),toString:()=>UFe(t)};default:return{toComponent:()=>QN(e,t),toString:()=>hEn(e,t,n)}}},vEn=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=OU(e,TU.meta),o=OU(t,TU.link),a=OU(n,TU.script);return{priorityMethods:{toComponent:()=>[...QN("meta",i.priority),...QN("link",o.priority),...QN("script",a.priority)],toString:()=>`${Rc("meta",i.priority,r)} ${Rc("link",o.priority,r)} ${Rc("script",a.priority,r)}`},metaTags:i.default,linkTags:o.default,scriptTags:a.default}},_En=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:o,styleTags:a,title:s="",titleAttributes:l,prioritizeSeoTags:c}=e;let{linkTags:u,metaTags:d,scriptTags:f}=e,p={toComponent:()=>{},toString:()=>""};return c&&({priorityMethods:p,linkTags:u,metaTags:d,scriptTags:f}=vEn(e)),{priority:p,base:Rc("base",t,r),bodyAttributes:Rc("bodyAttributes",n,r),htmlAttributes:Rc("htmlAttributes",i,r),link:Rc("link",u,r),meta:Rc("meta",d,r),noscript:Rc("noscript",o,r),script:Rc("script",f,r),style:Rc("style",a,r),title:Rc("title",{title:s,titleAttributes:l},r)}},dG=_En,mI=[],HFe=!!(typeof window<"u"&&window.document&&window.document.createElement),fG=class{constructor(e,t){ni(this,"instances",[]);ni(this,"canUseDOM",HFe);ni(this,"context");ni(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?mI:this.instances,add:e=>{(this.canUseDOM?mI:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?mI:this.instances).indexOf(e);(this.canUseDOM?mI:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=dG({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},yEn={},zFe=de.createContext(yEn),hv,VFe=(hv=class extends m.Component{constructor(n){super(n);ni(this,"helmetData");this.helmetData=new fG(this.props.context||{},hv.canUseDOM)}render(){return de.createElement(zFe.Provider,{value:this.helmetData.value},this.props.children)}},ni(hv,"canUseDOM",HFe),hv),$y=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${ju}]`),i=[].slice.call(r),o=[];let a;return t&&t.length&&t.forEach(s=>{const l=document.createElement(e);for(const c in s)if(Object.prototype.hasOwnProperty.call(s,c))if(c==="innerHTML")l.innerHTML=s.innerHTML;else if(c==="cssText")l.styleSheet?l.styleSheet.cssText=s.cssText:l.appendChild(document.createTextNode(s.cssText));else{const u=c,d=typeof s[u]>"u"?"":s[u];l.setAttribute(c,d)}l.setAttribute(ju,"true"),i.some((c,u)=>(a=u,l.isEqualNode(c)))?i.splice(a,1):o.push(l)}),i.forEach(s=>{var l;return(l=s.parentNode)==null?void 0:l.removeChild(s)}),o.forEach(s=>n.appendChild(s)),{oldTags:i,newTags:o}},pG=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(ju),i=r?r.split(","):[],o=[...i],a=Object.keys(t);for(const s of a){const l=t[s]||"";n.getAttribute(s)!==l&&n.setAttribute(s,l),i.indexOf(s)===-1&&i.push(s);const c=o.indexOf(s);c!==-1&&o.splice(c,1)}for(let s=o.length-1;s>=0;s-=1)n.removeAttribute(o[s]);i.length===o.length?n.removeAttribute(ju):n.getAttribute(ju)!==a.join(",")&&n.setAttribute(ju,a.join(","))},bEn=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=BFe(e)),pG("title",t)},a_e=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:o,metaTags:a,noscriptTags:s,onChangeClientState:l,scriptTags:c,styleTags:u,title:d,titleAttributes:f}=e;pG("body",r),pG("html",i),bEn(d,f);const p={baseTag:$y("base",n),linkTags:$y("link",o),metaTags:$y("meta",a),noscriptTags:$y("noscript",s),scriptTags:$y("script",c),styleTags:$y("style",u)},h={},g={};Object.keys(p).forEach(v=>{const{newTags:y,oldTags:_}=p[v];y.length&&(h[v]=y),_.length&&(g[v]=p[v].oldTags)}),t&&t(),l(e,h,g)},nC=null,SEn=e=>{nC&&cancelAnimationFrame(nC),e.defer?nC=requestAnimationFrame(()=>{a_e(e,()=>{nC=null})}):(a_e(e),nC=null)},EEn=SEn,s_e=class extends m.Component{constructor(){super(...arguments);ni(this,"rendered",!1)}shouldComponentUpdate(t){return!iEn(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=dEn(t.get().map(o=>{const a={...o.props};return delete a.context,a}));VFe.canUseDOM?EEn(i):dG&&(r=dG(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},IU,CEn=(IU=class extends m.Component{shouldComponentUpdate(e){return!eEn(o_e(this.props,"helmetData"),o_e(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return r_e(i_e.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${i_e.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),r_e(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`} ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return de.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...o}=r.props,a=Object.keys(o).reduce((l,c)=>(l[oEn[c]||c]=o[c],l),{});let{type:s}=r;switch(typeof s=="symbol"?s=s.toString():this.warnOnInvalidChildren(r,i),s){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,a,i);break;default:t=this.mapObjectTypeChildren(r,t,a,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof fG)){const i=r;r=new fG(i.context,!0),delete n.helmetData}return r?de.createElement(s_e,{...n,context:r.value}):de.createElement(zFe.Consumer,null,i=>de.createElement(s_e,{...n,context:i}))}},ni(IU,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),IU);const wEn={i18_file_assistant:"文件助手",slogan:"对话即服务","menu.dashboard.chat":"消息","menu.dashboard.contact":"通讯录","menu.dashboard.queue":"排队","menu.dashboard.ticket":"工单","menu.dashboard.leavemsg":"留言","menu.dashboard.visitor":"访客","menu.dashboard.monitor":"监控","menu.dashboard.plugins":"插件","menu.dashboard.mine":"我的","chat.toolbar.emoji":"表情","chat.toolbar.image":"图片","chat.toolbar.file":"文件","chat.toolbar.audio":"录音","chat.toolbar.webrtc":"视频","chat.toolbar.history":"历史消息","chat.toolbar.block":"拉黑","chat.toolbar.screenshot":"截图","chat.toolbar.invite.rate":"邀请评价","chat.toolbar.autoreply":"自动回复","chat.toolbar.autoreply.on":"自动回复(已开启)","chat.navbar.transfer":"转接","chat.navbar.ticket":"工单","chat.navbar.crm":"Crm","chat.navbar.close":"结束","chat.navbar.category":"分类","chat.navbar.ai":"AI","chat.navbar.queue":"排队","chat.right.ai":"Copilot","chat.right.quickreply":"快捷回复","chat.right.ticket":"工单","chat.right.userinfo":"用户信息","chat.right.llm":"大模型","chat.right.docview":"文档预览","chat.right.group":"群详情","chat.right.member":"联系人","chat.ai.summary":"会话小结","chat.ai.switch":"切换AI","chat.thread.nomore":"没有更多了","chat.message.loadmore":"加载更多","dashboard.footbar.logout":"退出",SERVICE:"客服机器人(对外)",MARKETING:"营销机器人(对外)",KNOWLEDGEBASE:"知识库机器人(内部)",QA:"问答机器人(直接调用大模型)",AGENT_ASSISTANT:"客服助手(内部)",loading:"加载中",create:"创建",creating:"创建中...","create.success":"创建成功","create.fail":"创建失败",update:"更新",updating:"更新中...","update.success":"更新成功","update.fail":"更新失败",save:"保存",saving:"正在保存...",email:"邮箱","email.verified":"邮箱(已验证)","email.unverified":"邮箱(待验证)",mobile:"手机号","mobile.verified":"手机号(已验证)","mobile.unverified":"手机号(待验证)",captcha:"验证码",logging:"登录中...","login.success":"登录成功","login.error":"登录失败,请稍后重试",registering:"注册中...","register.success":"注册成功","register.error":"注册失败","username.change.tip":"登录用户名(修改用户名之后,需要重新登录)",createKb:"创建知识库",createDept:"创建部门",upload:"上传",import:"导入",export:"导出","download.template":"下载模板",open:"打开",copy:"复制","copy.success":"复制成功",ok:"确定",cancel:"取消",bind:"绑定",edit:"编辑",editing:"修改中...","edit.success":"修改成功","edit.fail":"修改失败",delete:"删除",deleting:"删除中...",deleteTip:"删除提示",deleteAffirm:"确定要删除","delete.success":"删除成功","delete.fail":"删除失败","process.success":"处理成功","process.fail":"处理失败",preview:"预览",close:"关闭",closing:"关闭中...",closeTip:"关闭提示",closeASure:"确定要关闭","close.success":"关闭成功",choose:"选择","leavemsg.enabled":"留言启用",transfer:"转接","transfer.success":"转接成功","transfer.fail":"转接失败","transfer.reason":"转接原因",refresh:"刷新",noAgent:"暂无客服在线"},xEn={"menu.anonymous.title":"Anonymous Mode","menu.anonymous.home":"Messages","menu.anonymous.contact":"Contacts","menu.anonymous.robot":"Robot","menu.anonymous.setting":"Settings","menu.anonymous.status":"Anonymous Status","menu.anonymous.status.tip":"Anonymous mode only supports communication between online devices in the same LAN","menu.anonymous.login.tip":"Login to access offline messages and more features","menu.anonymous.login":"Login","menu.anonymous.current.users":"Current Users","menu.dashboard.chat":"聊天","menu.dashboard.contact":"联系人","menu.dashboard.ai":"AI助手","menu.dashboard.note":"笔记","menu.dashboard.kbase":"知识库","menu.dashboard.mine":"设置","menu.dashboard.queue":"排队","menu.dashboard.leavemsg":"留言","menu.dashboard.visitor":"访客","menu.dashboard.monitor":"监控","menu.dashboard.plugins":"插件","menu.settings":"设置","menu.settings.logout":"登出","menu.agent.status":"客服状态","menu.agent.status.available":"在线","menu.agent.status.rest":"小休","menu.agent.status.offline":"离线","menu.language":"语言","menu.mode":"模式","menu.mode.team":"团队模式","menu.mode.personal":"个人模式","menu.mode.agent":"客服模式","menu.agent.offline.warning":"请在离线前结束所有正在進行中的会话","menu.mode.personal.coming":"即将推出...","menu.dashboard.form":"表单","menu.dashboard.formbuilder":"表单构建器","menu.dashboard.flow":"流程","menu.dashboard.flowbuilder":"流程构建器","menu.dashboard.ticket":"工单","menu.dashboard.ticketbuilder":"工单构建器"},TEn={"pages.login.title":"登录","pages.login.subtitle":"欢迎使用微语客服系统","pages.login.accountLogin.tab":"账户密码登录","pages.login.accountLogin.errorMessage":"错误的用户名和密码","pages.login.failure":"登录失败,请检查用户名密码!","pages.login.failureCode":"验证错误","pages.login.success":"登录成功!","pages.login.username.placeholder":"请输入用户名","pages.login.username.required":"用户名是必填项!","pages.login.password.placeholder":"请输入密码","pages.login.repassword.placeholder":"确认密码","pages.login.password.required":"密码是必填项!","pages.login.repassword.required":"确认密码是必填项!","pages.login.phoneLogin.tab":"手机号登录","pages.login.phoneLogin.errorMessage":"验证码错误","pages.login.phoneNumber.placeholder":"请输入手机号!","pages.login.phoneNumber.required":"手机号是必填项!","pages.login.phoneNumber.invalid":"不合法的手机号!","pages.login.captcha.placeholder":"请输入验证码!","pages.login.captcha.required":"验证码是必填项!","pages.login.phoneLogin.getVerificationCode":"获取验证码","pages.login.anonymousLogin":"匿名登录","pages.getCaptchaSecondText":"秒后重新获取","pages.login.scanLogin.tab":"扫码登录","pages.login.rememberMe":"自动登录","pages.login.forgotPassword":"忘记密码","pages.login.submit":"登录","pages.login.loginWith":"其他登录方式 :","pages.login.register":"注册账号","pages.login.registerAccount":"注册账户","pages.login.auto.register":"未注册手机号会自动注册","pages.welcome.link":"欢迎使用","pages.robot.new":"新建","pages.robot.chat":"聊天","pages.robot.edit":"编辑","pages.robot.delete":"删除","pages.robot.upload":"上传","pages.robot.tab.basic":"基本信息","pages.robot.tab.kb":"知识库","pages.robot.tab.channel":"渠道对接","pages.robot.tab.statistic":"数据统计","pages.robot.tab.advanced":"高级设置","pages.robot.tab.flow":"流程设计","pages.robot.tab.avatar":"头像","pages.robot.tab.title":"标题","pages.robot.tab.welcomeTip":"欢迎语","pages.robot.tab.description":"简介","pages.robot.tab.preview":"实时预览","pages.robot.tab.website":"官网","pages.robot.tab.helpdesk":"帮助文档","pages.robot.tab.icp":"京ICP备案 17041763号-1","pages.robot.tab.police":"粤公安备案 44030502008688号","pages.robot.kb.file":"文件","pages.robot.kb.text":"文本","pages.robot.kb.qa":"问答","pages.robot.kb.web":"网站","pages.robot.file.title":"文件名","pages.robot.file.type":"文件类型","pages.robot.file.size":"文件大小","pages.robot.file.action":"操作","pages.robot.file.delete":"删除","pages.robot.file.save":"保存","pages.robot.file.cancel":"取消","pages.robot.file.uploading":"上传中...","pages.robot.file.name_invalid":"文件名不能包含 _ ","pages.robot.file.parse":"解析文件内容","pages.setting":"设置","pages.logout":"退出登录","pages.footer.website":"微语官网","pages.footer.helpcenter":"帮助文档","pages.login.remember":"记住密码","pages.agent.tab.basic":"基本信息","pages.agent.robot":"机器人","pages.agent.service.settings":"服务设置","pages.agent.service.settings.topTip":"顶部提示","pages.agent.service.settings.welcomeTip":"欢迎语","pages.agent.service.settings.leavemsgTip":"离线留言提示","pages.agent.service.settings.autoCloseMin":"自动关闭分钟","pages.agent.service.settings.showLogo":"显示Logo","pages.agent.service.settings.maxThreadCount":"最大线程数","pages.advanced.faq":"常见问题","pages.advanced.quickButton":"快捷按钮","pages.advanced.faqGuess":"智能推荐","pages.advanced.faqHot":"热门问题","pages.advanced.faqShortcut":"快捷回复","pages.advanced.rate":"满意度评价","pages.advanced.autoreply":"自动回复","pages.advanced.leaveMsg":"留言设置","pages.advanced.survey":"调查问卷","pages.advanced.history":"历史记录","pages.advanced.inputAssociation":"输入联想","pages.advanced.antiHarassment":"验证码设置","pages.advanced.captcha":"验证码设置","pages.advanced.showPreForm":"显示预览","pages.advanced.showHistory":"显示历史","pages.advanced.showInputAssociation":"显示输入联想","pages.advanced.showCaptcha":"显示验证码","pages.login.country.placeholder":"选择国家/地区","pages.login.country.china":"中国大陆","pages.login.country.hongkong":"中国香港","pages.login.country.taiwan":"中国台湾","pages.login.country.macao":"中国澳门","pages.login.country.japan":"日本","pages.login.country.korea":"韩国","pages.login.country.usa":"美国","pages.login.country.canada":"加拿大","pages.login.country.uk":"英国","pages.login.country.germany":"德国","pages.login.country.france":"法国","pages.login.country.australia":"澳大利亚","pages.login.country.singapore":"新加坡","pages.login.country.malaysia":"马来西亚","pages.login.country.thailand":"泰国","pages.login.country.vietnam":"越南","pages.login.country.philippines":"菲律宾","pages.login.country.indonesia":"印度尼西亚","pages.login.country.italy":"意大利","pages.login.country.spain":"西班牙","pages.login.country.russia":"俄罗斯","pages.login.country.newzealand":"新西兰","pages.anonymous.title":"匿名模式","pages.anonymous.home":"首页","pages.anonymous.contact":"联系人","pages.anonymous.robot":"机器人","pages.anonymous.setting":"设置","pages.anonymous.welcome":"欢迎使用匿名模式","pages.anonymous.description":"您可以在此模式下匿名使用系统功能","block.title":"拉黑设置","block.type":"拉黑类型","block.user":"拉黑用户","block.ip":"拉黑IP","block.permanent":"永久封禁","block.until":"封禁至","block.until.required":"请选择封禁结束时间","pages.register.title":"注册","pages.register.subtitle":"创建您的账号","pages.register.username":"用户名","pages.register.password":"密码","pages.register.confirm":"确认密码","pages.register.email":"邮箱","pages.register.mobile":"手机号","pages.register.code":"验证码","pages.register.agreement":"我已阅读并同意","pages.register.agreement.terms":"服务条款","pages.register.submit":"注册","pages.register.login":"使用已有账号登录","pages.404.title":"404","pages.404.subtitle":"抱歉,您访问的页面不存在","pages.404.description":"您可以尝试以下操作:","pages.404.actions.back":"返回上一页","pages.404.actions.home":"返回首页","pages.403.title":"403","pages.403.subtitle":"抱歉,您没有访问该页面的权限","pages.403.description":"请联系管理员获取权限","pages.403.actions.back":"返回上一页","pages.500.title":"500","pages.500.subtitle":"抱歉,服务器出错了","pages.500.description":"请稍后再试或联系技术支持","pages.500.actions.back":"返回上一页","pages.500.actions.home":"返回首页","pages.welcome.title":"欢迎","pages.welcome.description":"微语客服系统是一个开源的客服系统","pages.welcome.getting-started":"开始使用","pages.welcome.view-docs":"查看文档"},REn={"app.title":"微语","app.logout":"登出","app.copyright.produced":"微语出品","app.preview.down.block":"下载此页面到本地项目","app.welcome.link.fetch-blocks":"获取全部区块","app.welcome.link.block-list":"基于 block 开发,快速构建标准页面","navBar.lang":"语言","layout.user.link.help":"帮助","layout.user.link.privacy":"隐私","layout.user.link.terms":"条款","theme.light":"浅色","theme.dark":"深色","theme.system":"自动","setting.lang":"Languages","setting.theme":"主题","app.name":"微语客服","app.description":"新一代智能客服系统","app.welcome":"欢迎使用微语客服系统","app.copyright":"© 2024 微语客服. 保留所有权利.","app.version":"版本","app.action.back":"返回","app.action.confirm":"确认","app.action.cancel":"取消","app.action.save":"保存","app.action.edit":"编辑","app.action.delete":"删除","app.action.refresh":"刷新","app.action.search":"搜索","app.action.more":"更多","app.action.settings":"设置","app.action.help":"帮助","app.tip.loading":"加载中...","app.tip.success":"操作成功","app.tip.error":"操作失败","app.tip.warning":"警告","app.tip.info":"提示","app.tip.confirm":"确认要执行此操作吗?","app.tip.nodata":"暂无数据","app.tip.network.error":"网络连接失败","app.tip.server.error":"服务器错误","app.status.online":"在线","app.status.offline":"离线","app.status.busy":"忙碌","app.status.away":"离开","app.status.invisible":"隐身","app.status.disabled":"已禁用","app.status.expired":"已过期","app.time.today":"今天","app.time.yesterday":"昨天","app.time.tomorrow":"明天","app.time.just":"刚刚","app.time.minutes":"{count} 分钟前","app.time.hours":"{count} 小时前","app.time.days":"{count} 天前","app.file.upload":"上传文件","app.file.download":"下载文件","app.file.preview":"预览文件","app.file.size.limit":"文件大小不能超过 {size}","app.file.type.unsupported":"不支持的文件类型","app.file.upload.success":"上传成功","app.file.upload.failed":"上传失败","app.file.download.success":"下载成功","app.file.download.failed":"下载失败","app.layout.sidebar.collapse":"收起侧边栏","app.layout.sidebar.expand":"展开侧边栏","app.layout.header.profile":"个人中心","app.layout.header.logout":"退出登录","app.layout.footer.copyright":"版权所有","app.layout.footer.terms":"服务条款","app.layout.footer.privacy":"隐私政策"},OEn={"auth.login.title":"登录","auth.login.subtitle":"欢迎使用微语客服系统","auth.login.username":"用户名","auth.login.username.required":"请输入用户名","auth.login.password":"密码","auth.login.password.required":"请输入密码","auth.login.remember":"记住密码","auth.login.forgot":"忘记密码?","auth.login.submit":"登录","auth.login.other":"其他登录方式","auth.login.register":"注册账号","auth.login.success":"登录成功","auth.login.failed":"登录失败","auth.register.title":"注册","auth.register.subtitle":"创建新账号","auth.register.username":"用户名","auth.register.username.required":"请输入用户名","auth.register.email":"邮箱","auth.register.email.required":"请输入邮箱","auth.register.password":"密码","auth.register.password.required":"请输入密码","auth.register.confirm":"确认密码","auth.register.confirm.required":"请确认密码","auth.register.submit":"注册","auth.register.login":"已有账号?登录","auth.register.success":"注册成功","auth.register.failed":"注册失败","auth.forgot.title":"忘记密码","auth.forgot.subtitle":"重置密码","auth.forgot.email":"邮箱","auth.forgot.email.required":"请输入邮箱","auth.forgot.submit":"提交","auth.forgot.back":"返回登录","auth.forgot.success":"重置密码邮件已发送","auth.forgot.failed":"重置密码失败","auth.reset.title":"重置密码","auth.reset.subtitle":"设置新密码","auth.reset.password":"新密码","auth.reset.password.required":"请输入新密码","auth.reset.confirm":"确认密码","auth.reset.confirm.required":"请确认新密码","auth.reset.submit":"提交","auth.reset.success":"密码重置成功","auth.reset.failed":"密码重置失败","auth.verify.code":"验证码","auth.verify.code.required":"请输入验证码","auth.verify.code.send":"发送验证码","auth.verify.code.resend":"重新发送","auth.verify.code.success":"验证码发送成功","auth.verify.code.failed":"验证码发送失败","auth.password.strength.weak":"密码强度:弱","auth.password.strength.medium":"密码强度:中","auth.password.strength.strong":"密码强度:强","auth.agreement.text":"我已阅读并同意","auth.agreement.terms":"服务条款","auth.agreement.privacy":"隐私政策","server.button.back":"返回","server.button.save":"保存","server.button.reset":"重置","server.button.help":"帮助","server.save.success":"保存成功","server.reset.success":"重置成功,已恢复默认云服务器","server.custom.enable":"启用自定义服务器","server.api.url.label":"API服务器地址 (例如: http://127.0.0.1:9003 或 https://api.bytedesk.com)","server.api.url.placeholder":"http://127.0.0.1:9003","server.websocket.url.label":"WebSocket服务器地址 (例如: ws://127.0.0.1:9885/websocket 或 wss://api.bytedesk.com/websocket)","server.websocket.url.placeholder":"ws://127.0.0.1:9885/websocket","server.input.error":"请输入正确的服务器地址"},IEn={"chat.title":"会话","chat.empty":"暂无会话","chat.loading":"加载中...","chat.load.error":"加载失败","chat.load.more":"加载更多","chat.no.more":"没有更多了","chat.refresh":"刷新","chat.status.connecting":"连接中...","chat.status.connected":"已连接","chat.status.disconnected":"连接断开","chat.status.reconnecting":"重新连接中...","chat.network.error":"网络连接失败,请检查网络","chat.thread.closing":"结束会话中...","chat.thread.close.success":"结束会话成功","chat.thread.close.failed":"结束会话失败","chat.thread.close.confirm.title":"确定要结束会话?","chat.rate.invite.confirm.title":"确认要邀请评价?","chat.message.send.failed":"发送失败","chat.message.resend":"重新发送","chat.message.recall":"撤回消息","chat.message.copy.success":"复制成功","chat.copy.success":"复制成功","chat.menu.copy":"复制","chat.menu.translate":"翻译","chat.menu.recall":"撤回","chat.menu.enlarge":"放大阅读","chat.menu.quickreply.add":"添加快捷回复...","chat.menu.browser.open":"浏览器打开","chat.menu.forward":"转发...","chat.menu.collect":"收藏","chat.menu.quote":"引用","chat.input.placeholder":"请输入内容, Ctrl+V 粘贴截图/图片","chat.translation.placeholder":"请输入翻译内容...","chat.input.send":"发送","chat.input.sending":"发送中...","chat.toolbar.emoji":"表情","chat.toolbar.image":"图片","chat.toolbar.file":"文件","chat.toolbar.screenshot":"截图","chat.toolbar.autoreply":"自动回复","chat.toolbar.audio":"录音","chat.toolbar.webrtc":"视频会话","chat.toolbar.history":"历史","chat.toolbar.block":"拉黑","chat.toolbar.invite.rate":"邀请评价","chat.navbar.transfer":"转接","chat.navbar.close":"结束","chat.navbar.note":"笔记","chat.navbar.kbase":"知识库","chat.right.quickreply":"快捷回复","chat.right.userinfo":"访客信息","chat.right.ai":"AI助手","chat.right.ticket":"工单","chat.right.llm":"大模型","chat.right.group":"群组信息","chat.right.member":"成员信息","chat.right.docview":"文档查看","chat.upload.size.limit":"文件大小不能超过 {size}","chat.upload.type.unsupported":"不支持的文件类型","chat.upload.failed":"上传失败","chat.upload.success":"上传成功","chat.upload.progress":"上传中 {progress}%","chat.webrtc.calling":"呼叫中...","chat.webrtc.incoming":"来电...","chat.webrtc.connected":"通话中...","chat.webrtc.ended":"通话结束","chat.webrtc.rejected":"对方拒绝","chat.webrtc.busy":"对方忙","chat.webrtc.failed":"通话失败","chat.webrtc.accept":"接受","chat.webrtc.reject":"拒绝","chat.webrtc.hangup":"挂断","chat.group.notice":"群公告","chat.group.members":"群成员","chat.group.admins":"管理员","chat.group.robots":"机器人","chat.group.qrcode":"二维码","chat.group.uid.error":"群组ID错误"},NEn={"common.confirm":"确认","common.cancel":"取消","common.submit":"提交","common.reset":"重置","common.save":"保存","common.delete":"删除","common.edit":"编辑","common.add":"添加","common.search":"搜索","common.back":"返回","common.next":"下一步","common.previous":"上一步","common.more":"更多","common.loading":"加载中...","common.success":"操作成功","common.failed":"操作失败","common.error":"错误","common.warning":"警告","common.info":"提示","common.yes":"是","common.no":"否","common.ok":"确定","common.create":"创建","common.status.online":"在线","common.status.offline":"离线","common.status.busy":"忙碌","common.status.away":"离开","common.status.invisible":"隐身","common.operation.success":"操作成功","common.operation.failed":"操作失败","common.operation.confirm":"确认要执行此操作吗?","common.operation.processing":"处理中...","common.operation.completed":"处理完成","common.operation.error":"处理出错","common.form.required":"此项为必填项","common.form.optional":"选填","common.form.invalid":"输入无效","common.form.validate.error":"表单验证失败","common.form.validate.success":"表单验证通过"},MEn={"customer.list.title":"客户列表","customer.list.empty":"暂无客户","customer.list.loading":"加载中...","customer.list.load.error":"加载失败","customer.list.load.more":"加载更多","customer.list.no.more":"没有更多了","customer.list.refresh":"刷新","customer.info.basic":"基本信息","customer.info.name":"姓名","customer.info.nickname":"昵称","customer.info.gender":"性别","customer.info.age":"年龄","customer.info.birthday":"生日","customer.info.mobile":"手机号","customer.info.email":"邮箱","customer.info.address":"地址","customer.info.company":"公司","customer.info.position":"职位","customer.info.remark":"备注","customer.info.tags":"标签","customer.info.source":"来源","customer.info.created":"创建时间","customer.info.updated":"更新时间","customer.status.online":"在线","customer.status.offline":"离线","customer.status.away":"离开","customer.status.busy":"忙碌","customer.status.blocked":"已拉黑","customer.action.edit":"编辑","customer.action.delete":"删除","customer.action.block":"拉黑","customer.action.unblock":"取消拉黑","customer.action.transfer":"转移","customer.action.merge":"合并","customer.action.export":"导出","customer.form.name":"姓名","customer.form.name.required":"请输入姓名","customer.form.nickname":"昵称","customer.form.gender":"性别","customer.form.age":"年龄","customer.form.birthday":"生日","customer.form.mobile":"手机号","customer.form.email":"邮箱","customer.form.address":"地址","customer.form.company":"公司","customer.form.position":"职位","customer.form.remark":"备注","customer.form.tags":"标签","customer.form.source":"来源","customer.create.success":"客户创建成功","customer.create.failed":"客户创建失败","customer.update.success":"客户更新成功","customer.update.failed":"客户更新失败","customer.delete.success":"客户删除成功","customer.delete.failed":"客户删除失败","customer.block.success":"客户拉黑成功","customer.block.failed":"客户拉黑失败","customer.unblock.success":"取消拉黑成功","customer.unblock.failed":"取消拉黑失败","customer.transfer.success":"客户转移成功","customer.transfer.failed":"客户转移失败","customer.merge.success":"客户合并成功","customer.merge.failed":"客户合并失败","customer.export.success":"客户导出成功","customer.export.failed":"客户导出失败","black.title":"拉黑设置","black.type":"拉黑类型","black.type.required":"请选择至少一种拉黑类型","black.user":"拉黑用户","black.ip":"拉黑IP","black.permanent":"永久拉黑","black.until":"拉黑截至","black.until.required":"请选择拉黑截至时间","black.reason":"拉黑原因","black.reason.required":"请输入拉黑原因","black.reason.placeholder":"请输入拉黑原因","black.success":"拉黑成功"},AEn={"dashboard.error.message":"获取数据失败","dashboard.init.organization":"初始化组织","dashboard.init.profile":"初始化个人信息","dashboard.init.workgroups":"初始化工作组","dashboard.init.agent":"初始化客服信息","dashboard.transfer.accept":"{nickname} 已接受转接","dashboard.transfer.reject":"{nickname} 已拒绝转接","dashboard.transfer.success":"转接请求已发送,等待对方响应"},PEn={"i18n.lang.en-US":"English","i18n.lang.zh-CN":"简体中文","i18n.lang.zh-TW":"繁体中文","i18n.queue.tip":"排队队列","i18n.queue.message.template":"当前排队人数:{0},大约等待时间:{1} 分钟","i18n.queue.empty":"暂无排队用户","i18n.queue.accept":"接入","i18n.system.notification":"系统通知","i18n.old.password.wrong":"旧密码错误","i18n.change.password":"修改密码","i18n.auth.captcha.send.success":"验证码发送成功","i18n.auth.captcha.error":"验证码错误","i18n.auth.captcha.expired":"验证码过期","i18n.auth.captcha.already.send":"验证码已经发送,请等待","i18n.auth.captcha.validate.failed":"验证码验证失败","i18n.faq":"常见问题","i18n.rate":"评价","i18n.input.placeholder":"请输入内容","i18n.loading":"加载中...","i18n.load.more":"加载更多","i18n.load.nomore":"没有更多了","i18n.typing":"正在输入...","i18n.robot":"[机器人]","i18n.agent":"[一对一]","i18n.workgroup":"[技能组]","i18n.group":"[群聊]","i18n.rate.invite":"邀请评价","i18n.ticket":"[工单]","i18n.notice":"通知","i18n.notice.title":"标题","i18n.notice.content":"内容","i18n.notice.ip":"IP","i18n.notice.ipLocation":"IP地址","i18n.notice.parse.file.success":"解析文件成功","i18n.notice.parse.file.error":"解析文件失败","i18n.DEPT.ALL":"全部","i18n.DEPT.ADMIN":"管理员","i18n.DEPT.HR":"人事部","i18n.DEPT.ORG":"行政部","i18n.DEPT.IT":"技术部","i18n.DEPT.MONEY":"财务部","i18n.DEPT.MARKETING":"市场部","i18n.DEPT.SALES":"销售部","i18n.DEPT.CS":"客服部","i18n.new.message":"新消息","i18n.file.assistant":"文件助手","i18n.clipboard.assistant":"剪切板助手","i18n.thread.content.image":"图片","i18n.thread.content.file":"文件","i18n.top.tip":"默认置顶语","i18n.top.make":"置顶","i18n.top.cancel":"取消置顶","i18n.unread.make":"设置未读","i18n.unread.cancel":"取消未读","i18n.star.make":"星标","i18n.star.cancel":"取消星标","i18n.disturb.make":"免打扰","i18n.disturb.cancel":"取消免打扰","i18n.transfer":"转接","i18n.hide":"隐藏","i18n.network.disconnected":"网络已断开","i18n.message.pulling":"消息拉取中...","i18n.leavemsg.tip":"无客服在线,请留言","i18n.welcome.tip":"您好,有什么可以帮您的?","i18n.reenter.tip":"继续会话","i18n.under.development":"开发中...","i18n.user.description":"默认用户描述","i18n.robot.nickname":"默认机器人","i18n.robot.description":"默认机器人描述","i18n.robot.noreply":"未找到相应答案","i18n.robot.agent.assistant.nickname":"默认机器人助手","i18n.llm.prompt":"你是一个聪明、对人类有帮助的人工智能,你可以对人类提出的问题给出有用、详细、礼貌的回答","i18n.agent.nickname":"默认客服","i18n.agent.description":"默认客服描述","i18n.workgroup.nickname":"默认技能组","i18n.workgroup.description":"默认技能组描述","i18n.contact":"询问联系方式","i18n.thanks":"感谢","i18n.welcome":"问候","i18n.bye":"告别","i18n.tip.title":"提示","i18n.tip.network.disconnected":"网络已断开","i18n.tip.network.connected":"网络已连接","i18n.kb.name":"默认知识库","i18n.kb.platform.name":"平台知识库","i18n.kb.helpcenter.name":"帮助文档知识库","i18n.kb.llm.name":"大模型知识库","i18n.kb.keyword.name":"关键词知识库","i18n.kb.faq.name":"常见问题知识库","i18n.kb.autoreply.name":"自动回复知识库","i18n.kb.quickreply.name":"快捷回复知识库","i18n.kb.taboo.name":"敏感词知识库","i18n.kb.description":"知识库默认描述","i18n.agent.nicknameKb":"默认客服知识库","i18n.contact.title":"方便的话请您提供一下您的联系电话","i18n.contact.content":"方便的话请您提供一下您的联系电话,我电话给您沟通一下,这样更加直观","i18n.thanks.title":"感谢光临","i18n.thanks.content":"感谢光临,欢迎再来","i18n.welcome.title":"您好","i18n.welcome.content":"您好,有什么可以帮您的","i18n.bye.title":"您的满意一直是我们的目标","i18n.bye.content":"您的满意一直是我们的目标,如果有任何疑问欢迎您随时联系","i18n.vip.api":"VIP接口,暂无权限,请联系:weiyuai.cn","i18n.faq.category.demo.1":"常见问题分类Demo1","i18n.faq.category.demo.2":"常见问题分类Demo2","i18n.faq.demo.title.1":"常见问题文字Demo1","i18n.faq.demo.content.1":"常见问题文字Demo1","i18n.faq.demo.title.2":"常见问题图片Demo2","i18n.faq.demo.content.2":"https://www.weiyuai.cn/logo.png","i18n.quick.button.demo.title.1":"快捷按钮文字Demo1","i18n.quick.button.demo.content.1":"快捷按钮文字Demo1","i18n.quick.button.demo.title.2":"快捷按钮链接Demo2","i18n.quick.button.demo.content.2":"https://www.weiyuai.cn","i18n.preview.title":"预览","i18n.cancel":"取消","i18n.confirm":"确定","i18n.send":"发送","i18n.transferToAgent":"转人工服务","i18n.auto.closed":"会话自动关闭","i18n.agent.closed":"客服关闭会话","i18n.online.chat":"在线客服","i18n.JOB":"工作","i18n.LANGUAGE":"语言","i18n.TOOL":"工具","i18n.WRITING":"写作","i18n.RAG":"知识库问答","i18n.module.ai":"AI","i18n.module.void":"空白","i18n.module.service":"客服","i18n.module.ticket":"工单","i18n.black.user.already.exists":"用户已拉黑","i18n.ticket.category.technical_support":"技术支持","i18n.ticket.category.service_request":"服务请求","i18n.ticket.category.consultation":"咨询","i18n.ticket.category.complaint_suggestion":"投诉建议","i18n.ticket.category.operation_maintenance":"运维","i18n.ticket.category.other":"其他","i18n.vip.component":"VIP组件, 联系我们了解更多详情","i18n.vip.contactUs":"联系我们","i18n.vip.contactUrl":"https://www.weiyuai.cn/contact.html","i18n.ticket.process.name":"工单流程","i18n.thread.process.name":"会话流程"},DEn={"message.type.text":"文本消息","message.type.image":"图片消息","message.type.file":"文件消息","message.type.voice":"语音消息","message.type.video":"视频消息","message.type.location":"位置消息","message.type.link":"链接消息","message.type.card":"卡片消息","message.type.system":"系统消息","message.type.notification":"通知消息","message.type.custom":"自定义消息","message.status.sending":"发送中","message.status.sent":"已发送","message.status.delivered":"已送达","message.status.read":"已读","message.status.failed":"发送失败","message.status.recalled":"已撤回","message.status.deleted":"已删除","message.action.send":"发送","message.action.recall":"撤回","message.action.delete":"删除","message.action.resend":"重新发送","message.action.forward":"转发","message.action.quote":"引用","message.action.copy":"复制","message.action.translate":"翻译","message.action.download":"下载","message.action.preview":"预览","message.tip.sending":"消息发送中...","message.tip.sent":"消息已发送","message.tip.delivered":"消息已送达","message.tip.read":"消息已读","message.tip.failed":"消息发送失败","message.tip.recalled":"消息已撤回","message.tip.deleted":"消息已删除","message.tip.copy.success":"复制成功","message.tip.download.start":"开始下载...","message.tip.download.success":"下载成功","message.tip.download.failed":"下载失败","message.input.placeholder":"请输入消息","message.input.send.button":"发送","message.input.emoji.button":"表情","message.input.image.button":"图片","message.input.file.button":"文件","message.input.voice.button":"语音","message.input.video.button":"视频","message.input.location.button":"位置","message.list.load.more":"加载更多","message.list.loading":"加载中...","message.list.no.more":"没有更多消息","message.list.empty":"暂无消息","message.list.search.placeholder":"搜索消息","message.list.search.no.result":"未找到相关消息","message.time.just":"刚刚","message.time.minutes":"{count}分钟前","message.time.hours":"{count}小时前","message.time.days":"{count}天前","message.time.weeks":"{count}周前","message.time.months":"{count}个月前","message.time.years":"{count}年前","message.file.size.limit":"文件大小不能超过 {size}","message.file.type.unsupported":"不支持的文件类型","message.file.uploading":"上传中...","message.file.download":"下载文件","message.file.preview":"预览文件","message.image.loading":"图片加载中","message.image.load.error":"图片加载失败","message.image.save":"保存图片","message.image.save.success":"图片保存成功","message.image.save.failed":"图片保存失败","quickreply.search.placeholder":"搜索","quickreply.button.send":"发送","quickreply.button.copy":"复制","quickreply.button.create.category":"创建分类","quickreply.button.create.reply":"创建快捷回复","quickreply.copy.success":"{content} 已复制到剪贴板","category.form.edit.title":"编辑分类","category.form.create.title":"创建分类","category.form.name":"分类名称","category.form.name.required":"请输入分类名称!","category.form.name.placeholder":"输入分类名称","category.create.failed":"创建分类失败","quickreply.drawer.title":"快捷回复","quickreply.form.category":"分类","quickreply.form.category.required":"请选择分类","quickreply.form.category.placeholder":"选择分类","quickreply.form.type":"类型","quickreply.form.type.required":"请选择类型","quickreply.form.type.placeholder":"选择类型","quickreply.form.title":"标题","quickreply.form.title.required":"请输入标题","quickreply.form.content":"内容","quickreply.type.text":"文本","quickreply.type.image":"图片","quickreply.type.video":"视频","quickreply.type.audio":"音频","quickreply.type.file":"文件","quickreply.upload.text":"点击或拖拽文件上传","quickreply.upload.success":"{filename} 上传成功","quickreply.upload.error":"{filename} 上传失败","quickreply.upload.uploading":"{filename} 上传中","quickreply.form.validate.error":"请检查表单"},kEn={"profile.update.success":"个人信息更新成功","profile.form.avatar":"头像","profile.form.upload":"上传","profile.form.username":"用户名","profile.form.nickname":"昵称","profile.form.description":"描述","profile.button.change.password":"修改密码","profile.button.change.email":"修改邮箱","profile.button.change.mobile":"修改手机号","profile.email.verified":"邮箱已验证","profile.email.unverified":"邮箱未验证","profile.mobile.verified":"手机已验证","profile.mobile.unverified":"手机未验证","profile.email.change.title":"修改邮箱","profile.email.placeholder":"请输入邮箱地址","profile.email.required":"请输入邮箱地址!","profile.email.format.invalid":"邮箱格式不正确","profile.email.length.limit":"邮箱不得超过50字符","profile.email.verification.code.placeholder":"请输入验证码","profile.email.verification.code.countdown":"秒后重新获取","profile.email.verification.code.get":"获取验证码","profile.email.verification.code.required":"请输入验证码!","profile.email.not.changed":"邮箱未更改!","profile.email.change.success":"邮箱修改成功!","profile.email.format.error":"邮箱格式错误","profile.mobile.change.title":"修改手机号","profile.mobile.placeholder":"请输入手机号","profile.mobile.required":"请输入手机号!","profile.mobile.format.invalid":"手机号格式错误!","profile.mobile.verification.code.placeholder":"请输入验证码","profile.mobile.verification.code.countdown":"秒后重新获取","profile.mobile.verification.code.get":"获取验证码","profile.mobile.verification.code.required":"请输入验证码!","profile.mobile.not.changed":"手机号未更改!","profile.mobile.change.success":"手机号修改成功!","profile.mobile.format.error":"手机号格式错误","profile.password.change.title":"修改密码","profile.password.old":"原密码","profile.password.old.empty":"手机号直接登录用户,可以留空","profile.password.new":"新密码","profile.password.confirm":"确认密码","profile.password.length.error":"密码最小长度不能小于6","profile.password.mismatch":"两次输入密码不一致","profile.password.change.success":"密码修改成功!"},LEn={"setting.menu.title":"设置","setting.menu.profile":"个人信息","setting.menu.basic":"基本设置","setting.menu.agent":"客服设置","setting.menu.model":"大模型","setting.menu.certification":"实名认证","setting.menu.qrcode":"二维码","setting.menu.shortcut":"快捷键","setting.menu.click":"菜单点击","setting.save.success":"设置保存成功","setting.save.error":"设置保存失败","setting.load.error":"设置加载失败","setting.header.profile":"个人信息","setting.header.basic":"基本设置","setting.header.agent":"客服设置","setting.header.model":"大模型设置","setting.basic.sound.on":"已开启消息提示音","setting.basic.sound.off":"已关闭消息提示音","setting.basic.notification.on":"已开启网络状态通知","setting.basic.notification.off":"已关闭网络状态通知","setting.basic.connection.status":"长链接状态:","setting.basic.connection.connected":"✅连接正常","setting.basic.connection.disconnected":"❌连接断开","setting.basic.startup":"开机启动:","setting.basic.startup.on":"开机启动","setting.basic.startup.off":"不开机启动","setting.basic.theme":"颜色主题:","setting.basic.language":"语言设置:","setting.basic.mode":"模式设置:","setting.basic.mode.team":"团队模式","setting.basic.mode.agent":"客服模式","setting.basic.mode.personal":"个人模式"},$En={"thread.error.message":"获取数据失败","thread.feature.unavailable":"TODO: 该功能暂未开放","thread.menu.top":"置顶","thread.menu.untop":"取消置顶","thread.menu.read":"标记已读","thread.menu.unread":"标记未读","thread.menu.mute":"静音","thread.menu.unmute":"取消静音","thread.menu.transfer":"转接","thread.menu.block":"拉黑","thread.menu.ticket":"创建工单","thread.menu.crm":"查看CRM","thread.menu.summary":"会话总结","thread.status.robot":"[机器人]","thread.status.agent":"[一对一]","thread.status.workgroup":"[工作组]","thread.search.placeholder":"搜索会话...","thread.menu.filter":"会话过滤","thread.menu.groupThread":"群聊会话","thread.menu.robotThread":"机器人会话","thread.menu.workgroupThread":"工作组会话","thread.menu.agentThread":"一对一会话","thread.menu.ticketThread":"工单会话","thread.menu.memberThread":"成员会话","thread.menu.deviceThread":"设备会话","thread.menu.systemThread":"系统会话","thread.dropdown.create.group":"创建群聊","thread.dropdown.create.ai":"创建AI对话","thread.agent.status.online":"😀 - 在线接待","thread.agent.status.offline":"🔻 - 客服下线","thread.agent.status.busy":"🏃‍♀️ - 客服忙碌","thread.refresh.pull":"↓ 下拉刷新","thread.refresh.release":"↑ 松开刷新","thread.list.no.more":"没有更多了","thread.coming.soon":"即将上线,敬请期待","thread.set.success":"设置成功","thread.set.error":"设置失败","thread.menu.star":"星标","thread.menu.star.1":"星标1","thread.menu.star.2":"星标2","thread.menu.star.3":"星标3","thread.menu.star.4":"星标4","thread.menu.hide":"隐藏","thread.status.text":"{status}","thread.status.online":"😀接待","thread.status.offline":"🔻下线","thread.status.busy":"🏃‍♀️忙碌","thread.status.loading":"加载中...","thread.status.empty":"暂无会话","thread.status.error":"加载会话失败","thread.status.queue":"排队({count})","thread.status.network.offline":"网络已断开","thread.status.network.online":"网络已连接","thread.status.message.pulling":"消息拉取中...","thread.status.message.empty":"暂无消息","thread.status.message.error":"加载消息失败","thread.status.message.end":"没有更多消息","thread.status.message.typing":"正在输入...","thread.status.message.transfer":"转接中...","thread.status.message.transferred":"已转接","thread.status.message.closed":"会话已关闭","thread.menu.star.cancel":"取消星标","thread.loading.more":"加载更多..."},FEn={"ticket.create.title":"创建工单","ticket.edit.title":"编辑工单","ticket.form.uid":"编号","ticket.form.title":"标题","ticket.form.title.required":"请输入工单标题","ticket.form.title.placeholder":"请输入工单标题","ticket.form.description":"描述","ticket.form.description.required":"请输入工单描述","ticket.form.description.placeholder":"请输入工单描述","ticket.form.status":"状态","ticket.form.status.required":"请选择工单状态","ticket.form.priority":"优先级","ticket.form.priority.required":"请选择优先级","ticket.form.category":"分类","ticket.form.category.required":"请选择工单分类","ticket.form.category.placeholder":"请选择工单分类","ticket.form.user":"客户","ticket.form.user.placeholder":"请选择客户","ticket.form.assignee":"处理人","ticket.form.assignee.placeholder":"请选择处理人","ticket.form.reporter":"报告人","ticket.form.reporter.placeholder":"请选择报告人","ticket.form.workgroup":"技能组","ticket.form.workgroup.required":"请选择技能组","ticket.form.workgroup.placeholder":"请选择技能组","ticket.workgroup.load.error":"加载技能组失败","ticket.status.all":"全部状态","ticket.status.new":"新建","ticket.status.assigned":"已分配","ticket.status.in_progress":"处理中","ticket.status.pending":"待处理","ticket.status.on_hold":"挂起","ticket.status.reopened":"重新打开","ticket.status.resolved":"已解决","ticket.status.closed":"已关闭","ticket.status.cancelled":"已取消","ticket.priority.all":"全部优先级","ticket.priority.lowest":"最低","ticket.priority.low":"低","ticket.priority.medium":"中","ticket.priority.high":"高","ticket.priority.urgent":"紧急","ticket.priority.critical":"严重","ticket.create.success":"工单创建成功","ticket.create.failed":"工单创建失败","ticket.update.success":"工单更新成功","ticket.update.failed":"工单更新失败","ticket.submit.error":"工单提交失败","ticket.delete.success":"工单删除成功","ticket.delete.error":"工单删除失败","ticket.load.error":"工单数据加载失败","ticket.list.title":"工单列表","ticket.list.empty":"暂无工单","ticket.list.search.placeholder":"搜索工单","ticket.list.filter.all":"全部工单","ticket.list.filter.my":"我的工单","ticket.list.filter.unassigned":"未分配","ticket.list.create":"创建工单","ticket.list.total":"工单总数","ticket.action.edit":"编辑","ticket.action.delete":"删除","ticket.action.assign":"分配","ticket.action.close":"关闭","ticket.action.reopen":"重新打开","ticket.delete.confirm":"确定要删除此工单吗?","ticket.category.load.error":"加载工单分类失败","ticket.conversation.title":"工单对话","ticket.conversation.empty":"请选择工单查看对话","ticket.conversation.input.placeholder":"请输入消息...","ticket.details.title":"工单详情","ticket.details.empty":"请选择工单查看详情","ticket.messages.load.error":"加载工单消息失败","ticket.message.send.error":"发送消息失败","ticket.form.thread":"关联会话","ticket.form.thread.placeholder":"选择关联会话","ticket.form.thread.none":"不关联","ticket.form.createdAt":"创建时间","ticket.form.updatedAt":"更新时间","ticket.type.agent":"指定客服","ticket.type.workgroup":"技能组","ticket.assignee":"处理人","ticket.reporter":"报告人","ticket.type":"类型","ticket.category":"分类","ticket.steps.title":"流转过程","ticket.form.upload.button":"上传附件","ticket.upload.success":"文件上传成功","ticket.upload.failed":"文件上传失败","ticket.current.filters":"当前筛选","ticket.filter.by.status":"按状态筛选","ticket.filter.by.priority":"按优先级筛选","ticket.filter.by.assignment":"按分配筛选","ticket.filter.by.time":"按时间筛选","ticket.filter.status_all":"全部状态","ticket.filter.status_new":"新建","ticket.filter.status_assigned":"已分配","ticket.filter.status_in_progress":"处理中","ticket.filter.status_pending":"待处理","ticket.filter.status_on_hold":"挂起","ticket.filter.status_reopened":"重新打开","ticket.filter.status_resolved":"已解决","ticket.filter.status_closed":"已关闭","ticket.filter.status_cancelled":"已取消","ticket.filter.priority_all":"全部优先级","ticket.filter.priority_lowest":"最低","ticket.filter.priority_low":"低","ticket.filter.priority_medium":"中","ticket.filter.priority_high":"高","ticket.filter.priority_urgent":"紧急","ticket.filter.priority_critical":"严重","ticket.filter.assignment_all":"全部","ticket.filter.assignment_my_tickets":"我的工单","ticket.filter.assignment_unassigned":"未分配","ticket.filter.assignment_my_workgroup":"我的技能组","ticket.filter.assignment_my_created":"我创建的","ticket.filter.assignment_my_assigned":"待我处理","ticket.filter.time_all":"全部时间","ticket.filter.time_today":"今天","ticket.filter.time_yesterday":"昨天","ticket.filter.time_this_week":"本周","ticket.filter.time_last_week":"上周","ticket.filter.time_this_month":"本月","ticket.filter.time_last_month":"上月","ticket.content.title":"工单","ticket.content.number":"编号","ticket.delete.title":"删除工单","ticket.delete.content":"确定要删除此工单吗?","ticket.delete.failed":"工单删除失败","ticket.loading":"加载工单...","ticket.empty":"暂无工单","ticket.palette.startEvent":"开始事件","ticket.palette.task":"任务","ticket.palette.gateway":"网关","ticket.palette.dataObject":"数据对象","ticket.create.error":"创建流程图失败","ticket.save.success":"流程图保存成功","ticket.autosave.success":"自动保存成功","ticket.autosave.error":"自动保存失败","ticket.select.process":"选择流程","ticket.properties.title":"属性","ticket.properties.noSelection":"未选择元素","ticket.properties.id":"ID","ticket.properties.name":"名称","ticket.properties.type":"类型","ticket.properties.documentation":"文档","ticket.properties.assignee":"处理人","ticket.properties.priority":"优先级","ticket.fetch.processes.error":"加载流程失败","ticket.no.process":"没有流程,请先创建一个流程","ticket.fetch.processes.empty":"没有流程,请先创建一个流程","ticket.create.loading":"创建流程...","ticket.fetch.processes.loading":"加载流程...","ticket.delete":"删除","ticket.save.error":"保存流程失败","ticket.deploy":"部署","ticket.undeploy":"取消部署","ticket.deploy.loading":"部署流程...","ticket.undeploy.loading":"取消部署流程...","ticket.deploy.success":"流程部署成功","ticket.undeploy.success":"流程取消部署成功","ticket.deploy.error":"部署流程失败","ticket.undeploy.error":"取消部署流程失败","ticket.undeploy.confirm.title":"取消部署确认","ticket.undeploy.confirm.content":"确定要取消部署此流程吗?"},BEn={"contact.list.new":"新朋友","contact.list.device":"内网设备","contact.list.group":"群聊","contact.list.channel":"频道","contact.list.company":"企业联系人","contact.list.friend":"联系人","contact.search.placeholder":"搜索联系人...","contact.manager.button":"通讯录管理","contact.manager.coming":"敬请期待","member.detail.nickname":"昵称","member.detail.jobno":"工号","member.detail.seatno":"座位号","member.detail.telephone":"电话","member.detail.loading":"加载中...","member.detail.chat.button":"开始聊天"},UEn={"group.create.title":"发起群聊","group.create.contacts":"好友","group.create.members":"群成员","group.create.members.min":"至少选择2名成员","group.create.creating":"创建群组中...","group.create.org.empty":"未选择组织","group.create.success":"创建群组成功","group.create.failed":"创建群组失败","group.create.loading":"加载成员中...","group.create.error":"加载成员失败"},jEn={"robot.create.title":"创建机器人","robot.create.available":"可选机器人","robot.create.selected":"已选机器人","robot.create.success":"创建机器人成功","robot.create.failed":"创建机器人失败","robot.create.loading":"创建机器人中...","robot.create.error":"加载机器人失败","robot.create.empty":"暂无可用机器人","robot.create.min":"请至少选择一个机器人"},HEn={"autoreply.title":"自动回复","autoreply.enable.label":"是否启用自动回复","autoreply.type.label":"自动回复类型","autoreply.type.fixed":"固定回复","autoreply.type.keyword":"关键字匹配","autoreply.type.llm":"大模型回复","autoreply.fixed.add":"添加固定回复内容","autoreply.fixed.select":"选择固定回复内容","autoreply.fixed.type":"固定回复类型","autoreply.fixed.content":"固定回复内容","autoreply.content.text":"文本","autoreply.content.image":"图片","autoreply.content.video":"视频","autoreply.content.audio":"音频","autoreply.content.file":"文件","autoreply.save.loading":"正在保存,请稍后...","autoreply.save.success":"保存成功","autoreply.save.error":"保存失败","autoreply.keyword.add":"添加关键词知识库","autoreply.keyword.select":"选择关键词知识库","autoreply.llm.add":"添加大模型知识库","autoreply.llm.select":"选择大模型知识库"},zEn={"upload.modal.title":"上传文件","upload.drag.text":"点击或拖拽文件至此处上传","upload.drag.hint":"支持单个或批量上传","upload.drag.hint.size":"支持单个或批量上传,文件大小不超过10MB","upload.drag.hint.withtype":"支持单个或批量上传 {acceptTypes} 格式的文件","upload.drag.hint.withtype.size":"支持单个或批量上传 {acceptTypes} 格式的文件,文件大小不超过10MB","upload.uploading":"{filename} 上传中...","upload.success":"{filename} 上传成功","upload.failed":"{filename} 上传失败","upload.delete.confirm":"确定要删除此文件吗?","upload.preview.image":"图片预览","upload.preview.file":"文件预览","upload.button.ok":"确定","upload.button.cancel":"取消","upload.maxCount":"最多只能上传 {maxCount} 个文件","upload.maxSize":"文件大小不能超过 {maxSize}MB"},VEn={"flow.title":"流程构建器","flow.new":"新流程","flow.copy":"复制","flow.run":"运行","flow.start":"开始","flow.logic":"逻辑","flow.action":"动作","flow.json":"流程JSON","flow.import":"导入","flow.export":"导出","flow.startChat":"模拟对话","flow.closeChat":"关闭对话","flow.container":"容器组件","flow.form":"表单组件","flow.parentNode":"父节点","flow.textField":"文本框","flow.numberField":"数字框","flow.datePicker":"日期选择","flow.select":"下拉选择","flow.checkbox":"多选框组","flow.radio":"单选按钮","flow.properties":"属性设置","flow.nodeName":"节点名称","flow.nodeDesc":"节点描述","flow.componentType":"组件类型","flow.labelName":"标签名称","flow.options":"选项","flow.preview":"预览","flow.submit":"提交","app.language":"语言","leftPanel.container":"容器组件","leftPanel.form":"表单组件","leftPanel.parentNode":"父节点","leftPanel.textField":"文本框","leftPanel.numberField":"数字框","leftPanel.datePicker":"日期选择","leftPanel.select":"下拉选择","leftPanel.checkbox":"多选框组","leftPanel.radio":"单选按钮","propertyPanel.settings":"属性设置","propertyPanel.nodeId":"节点ID","propertyPanel.nodeType":"节点类型","propertyPanel.nodeName":"节点名称","propertyPanel.nodeDesc":"节点描述","propertyPanel.componentType":"组件类型","propertyPanel.labelName":"标签名称","propertyPanel.options":"选项","propertyPanel.placeholder.name":"请输入节点名称","propertyPanel.placeholder.desc":"请输入节点描述","propertyPanel.placeholder.label":"请输入标签名称","propertyPanel.placeholder.options":"按回车添加选项","nodes.textField.label":"文本框","nodes.numberField.label":"数字框","nodes.datePicker.label":"日期","nodes.select.label":"下拉选择","nodes.checkbox.label":"多选框组","nodes.radio.label":"单选按钮","nodes.unknown":"未知组件","formBuilder.title":"表单构建器","formBuilder.preview":"预览","formBuilder.settings":"设置","formBuilder.addField":"添加字段","formBuilder.delete":"删除","formBuilder.moveUp":"上移","formBuilder.moveDown":"下移","formBuilder.fieldTypes":{text:"文本框",number:"数字框",date:"日期选择",select:"下拉选择",radio:"单选按钮",checkbox:"复选框",textarea:"多行文本"},"formBuilder.placeholder":{formName:"请输入表单名称",fieldName:"请输入字段名称",fieldLabel:"请输入字段标签",options:"按回车添加选项"},"formBuilder.validation":{required:"必填",optional:"选填",unique:"唯一",min:"最小值",max:"最大值"},"formBuilder.import":"导入","formBuilder.export":"导出","formBuilder.import.success":"导入成功","formBuilder.import.error":"导入失败,请检查文件格式","formBuilder.export.success":"导出成功","formBuilder.export.error":"导出失败","formBuilder.export.filename":"表单配置.json","formBuilder.dragStart":"开始拖拽组件","formBuilder.dragEnd":"结束拖拽组件","formBuilder.dropSuccess":"组件添加成功","formBuilder.dropError":"组件添加失败","formBuilder.canvas.empty":"拖拽表单字段到这里","formBuilder.field.delete":"删除","formBuilder.field.moveUp":"上移","formBuilder.field.moveDown":"下移","formBuilder.field.placeholder":{text:"请输入文本",number:"请输入数字",date:"请选择日期",select:"请选择一个选项",radio:"请选择一项",checkbox:"请选择"},"flow.moveUp":"上移","flow.moveDown":"下移","flow.delete":"删除","flow.option.1":"选项1","flow.option.2":"选项2","flow.option.3":"选项3","flow.controls.title":"流程控制","flow.minimap.title":"流程概览","flow.canvas.label":"流程构建画布","flow.background.label":"流程背景","flow.controls.label":"流程控制","flow.minimap.label":"流程概览","flow.container.label":"流程构建器容器","flow.dragover.hint":"放置此处添加组件","flow.drop.hint":"组件已添加","flow.parentNode.default":"父节点","component.panel.title":"表单组件","component.input.title":"单行文本","component.textarea.title":"多行文本","component.select.title":"下拉选择","component.radio.title":"单选框组","component.checkbox.title":"多选框组","component.datePicker.title":"日期选择","component.timePicker.title":"时间选择","component.switch.title":"开关","component.upload.title":"上传","propertyPanel.save":"保存","propertyPanel.reset":"重置","theme.light":"浅色","theme.dark":"深色","theme.system":"跟随系统","dashboard.settings":"设置","flow.startNode":"开始节点","form.submit":"提交","form.submitting":"提交中...","form.submitSuccess":"提交成功","form.submitError":"提交失败","form.required":"必填项","preview.title":"表单预览","preview.minimize":"最小化","preview.close":"关闭","preview.submit":"提交","preview.submitting":"提交中...","preview.submitSuccess":"提交成功","preview.submitError":"提交失败","preview.required":"必填","preview.placeholder.text":"请输入文本","preview.placeholder.number":"请输入数字","preview.placeholder.date":"请选择日期","preview.placeholder.select":"请选择","preview.placeholder.radio":"请选择一项","preview.placeholder.checkbox":"请选择","formBuilder.header.title":"表单构建器","formBuilder.header.import":"导入","formBuilder.header.export":"导出","formBuilder.header.preview":"预览","ticket.title":"工单流程构建器","ticket.create":"创建流程","ticket.save":"保存流程","ticket.import":"导入","ticket.export":"导出","ticket.import.success":"导入成功","ticket.import.error":"导入失败","ticket.export.success":"导出成功","ticket.export.error":"导出失败","ticket.create.modal.title":"创建新流程","ticket.create.name":"流程名称","ticket.create.key":"流程Key","ticket.create.type":"流程类型","ticket.create.description":"流程描述","ticket.create.submit":"创建","ticket.create.cancel":"取消","ticket.type.default":"默认流程","ticket.type.approval":"审批流程","ticket.type.service":"服务流程","ticket.type.ticket":"工单流程"},GEn={"welcome.modal.title":"未发现所在组织","welcome.modal.description":"您需要创建或加入已有组织","welcome.modal.join":"加入已有组织(即将上线)","welcome.modal.create":"创建组织","welcome.modal.input.placeholder":"请输入组织名称","welcome.message.org.required":"请创建或加入组织","welcome.message.create.success":"创建组织成功","welcome.message.create.failed":"创建组织失败","welcome.message.verify.email":"请先验证邮箱","welcome.message.verify.mobile":"请先验证手机号","welcome.message.org.name.required":"请输入组织名称","welcome.message.org.creating":"创建组织中,请稍后...","welcome.verify.modal.title":"账号验证提示","welcome.verify.modal.description":"您的邮箱和手机号尚未验证,为保障账号安全,建议您尽快完成验证。","welcome.verify.now":"立即验证","welcome.verify.later":"稍后验证"},WEn={...REn,...OEn,...IEn,...NEn,...MEn,...AEn,...PEn,...xEn,...DEn,...TEn,...kEn,...LEn,...$En,...FEn,...wEn,...BEn,...UEn,...jEn,...HEn,...zEn,...VEn,...GEn},YEn={i18_file_assistant:"檔案助手",slogan:"对话即服务","menu.dashboard.chat":"消息","menu.dashboard.contact":"通讯录","menu.dashboard.queue":"排队","menu.dashboard.ticket":"工单","menu.dashboard.leavemsg":"留言","menu.dashboard.visitor":"访客","menu.dashboard.monitor":"监控","menu.dashboard.plugins":"插件","menu.dashboard.mine":"我的","chat.toolbar.emoji":"表情","chat.toolbar.image":"图片","chat.toolbar.file":"文件","chat.toolbar.audio":"录音","chat.toolbar.webrtc":"视频","chat.toolbar.history":"历史消息","chat.toolbar.block":"拉黑","chat.toolbar.screenshot":"截图","chat.toolbar.invite.rate":"邀请评价","chat.toolbar.autoreply":"自动回复","chat.toolbar.autoreply.on":"自动回复(已开启)","chat.navbar.transfer":"转接","chat.navbar.ticket":"工单","chat.navbar.crm":"Crm","chat.navbar.close":"结束","chat.navbar.category":"分类","chat.navbar.ai":"AI","chat.navbar.queue":"排队","chat.right.ai":"Copilot","chat.right.quickreply":"快捷回复","chat.right.ticket":"工单","chat.right.userinfo":"用户信息","chat.right.llm":"大模型","chat.right.docview":"文档预览","chat.right.group":"群详情","chat.right.member":"联系人","chat.ai.summary":"会话小结","chat.ai.switch":"切换AI","chat.thread.nomore":"没有更多了","chat.message.loadmore":"加载更多","dashboard.footbar.logout":"退出",SERVICE:"客服機器人",MARKETING:"營銷機器人",KNOWLEDGEBASE:"知識庫機器人(内部)",QA:"問答機器人(直接调用大模型)",AGENT_ASSISTANT:"客服助手(内部)",loading:"載入中",create:"新增",creating:"新增中...","create.success":"新增成功","create.fail":"新增失敗",update:"更新",updating:"更新中...","update.success":"更新成功","update.fail":"更新失敗",save:"儲存",saving:"正在儲存...",email:"電子郵件","email.verified":"電子郵件(已驗證)","email.unverified":"電子郵件(待驗證)",mobile:"手機號碼","mobile.verified":"手機號碼(已驗證)","mobile.unverified":"手機號碼(待驗證)",captcha:"验证码",logging:"登录中...","login.success":"登录成功","login.error":"登录失败,请稍后重试",registering:"注册中...","register.success":"注册成功","register.error":"注册失败","username.change.tip":"登入用戶名(修改用戶名之後,需要重新登入)",createKb:"创建知识库",createDept:"创建部门",upload:"上传",import:"匯入",export:"匯出","download.template":"下载模板",open:"開啟",copy:"複製","copy.success":"複製成功",ok:"確定",cancel:"取消",bind:"綁定",edit:"編輯",editing:"編輯中...","edit.success":"編輯成功","edit.fail":"編輯失敗",delete:"刪除",deleting:"删除中...",deleteTip:"刪除提示",deleteAffirm:"確定要刪除","delete.success":"刪除成功","delete.fail":"删除失败","process.success":"处理成功","process.fail":"处理失败",preview:"預覽",close:"關閉",closing:"關閉中...",closeTip:"關閉提示",closeASure:"確定要關閉","close.success":"關閉成功",choose:"選擇","leavemsg.enabled":"留言啟用",transfer:"转接","transfer.success":"转接成功","transfer.fail":"转接失败","transfer.reason":"转接原因",refresh:"刷新",noAgent:"无客服在线"},qEn={"menu.anonymous.title":"匿名模式","menu.anonymous.home":"訊息","menu.anonymous.contact":"聯絡人","menu.anonymous.robot":"機器人","menu.anonymous.setting":"設定","menu.anonymous.status":"匿名狀態","menu.anonymous.status.tip":"匿名模式僅支援同一區域網內的在線設備之間的通訊","menu.anonymous.login.tip":"登入以訪問離線訊息和更多功能","menu.anonymous.login":"登入","menu.anonymous.current.users":"當前用戶","menu.dashboard.chat":"聊天","menu.dashboard.contact":"聯絡人","menu.dashboard.ai":"AI助手","menu.dashboard.note":"筆記","menu.dashboard.kbase":"知識庫","menu.dashboard.mine":"設定","menu.dashboard.queue":"排隊","menu.dashboard.leavemsg":"留言","menu.dashboard.visitor":"訪客","menu.dashboard.monitor":"監控","menu.dashboard.plugins":"插件","menu.settings":"設定","menu.settings.logout":"登出","menu.agent.status":"客服狀態","menu.agent.status.available":"可用","menu.agent.status.rest":"休息","menu.agent.status.offline":"離線","menu.language":"語言","menu.mode":"模式","menu.mode.team":"團隊模式","menu.mode.agent":"一對一模式","menu.mode.personal":"個人模式","menu.agent.offline.warning":"請在離線前結束所有正在進行中的會話","menu.mode.personal.coming":"即將推出...","menu.dashboard.form":"表單","menu.dashboard.formbuilder":"表單構建器","menu.dashboard.flow":"流程","menu.dashboard.flowbuilder":"流程構建器","menu.dashboard.ticket":"工單","menu.dashboard.ticketbuilder":"工單構建器"},KEn={"pages.login.title":"登錄","pages.login.subtitle":"歡迎使用微語客服系統","pages.layouts.userLayout.title":"對話即服務","pages.login.accountLogin.tab":"帳戶密碼登錄","pages.login.accountLogin.errorMessage":"錯誤的用戶名和密碼","pages.login.failure":"登錄失敗,請檢查用戶名密碼!","pages.login.failureCode":"驗證碼錯誤","pages.login.success":"登錄成功!","pages.login.username.placeholder":"請輸入用戶名","pages.login.username.required":"用戶名是必填項!","pages.login.password.placeholder":"請輸入密碼","pages.login.repassword.placeholder":"確認密碼","pages.login.password.required":"密碼是必填項!","pages.login.repassword.required":"確認密碼是必填項!","pages.login.phoneLogin.tab":"手機號登錄","pages.login.phoneLogin.errorMessage":"驗證碼錯誤","pages.login.phoneNumber.placeholder":"請輸入手機號!","pages.login.phoneNumber.required":"手機號是必填項!","pages.login.phoneNumber.invalid":"不合法的手機號!","pages.login.captcha.placeholder":"請輸入驗證碼!","pages.login.captcha.required":"驗證碼是必填項!","pages.login.phoneLogin.getVerificationCode":"獲取驗證碼","pages.login.anonymousLogin":"匿名登錄","pages.getCaptchaSecondText":"秒後重新獲取","pages.login.scanLogin.tab":"掃碼登錄","pages.login.rememberMe":"自動登錄","pages.login.forgot":"忘記密碼","pages.login.submit":"登錄","pages.login.loginWith":"其他登錄方式 :","pages.login.register":"註冊賬號","pages.login.registerAccount":" 註冊帳戶","pages.login.auto.register":"未註冊手機號會自動註冊","pages.welcome.link":"歡迎使用","pages.welcome.title":"歡迎","pages.welcome.description":"微語客服系統是一個開源的客服系統","pages.welcome.getting-started":"開始使用","pages.welcome.view-docs":"查看文檔","pages.robot.new":"新建","pages.robot.chat":"聊天","pages.robot.edit":"编辑","pages.robot.delete":"刪除","pages.robot.upload":"上傳","pages.robot.tab.basic":"基本信息","pages.robot.tab.kb":"知識庫","pages.robot.tab.channel":"渠道對接","pages.robot.tab.statistic":"數據統計","pages.robot.tab.advanced":"高級設置","pages.robot.tab.flow":"流程設計","pages.robot.tab.avatar":"頭像","pages.robot.tab.title":"標題","pages.robot.tab.welcomeTip":"歡迎語","pages.robot.tab.description":"簡介","pages.robot.tab.preview":"實時預覽","pages.robot.tab.website":"官網","pages.robot.tab.helpdesk":"幫助文檔","pages.robot.tab.icp":"京ICP備案 17041763號-1","pages.robot.tab.police":"粵公安備案 44030502008688號","pages.robot.kb.file":"文件","pages.robot.kb.text":"文本","pages.robot.kb.qa":"問答","pages.robot.kb.web":"網站","pages.robot.file.title":"文件名","pages.robot.file.type":"文件類型","pages.robot.file.size":"文件大小","pages.robot.file.action":"操作","pages.robot.file.delete":"刪除","pages.robot.file.save":"保存","pages.robot.file.cancel":"取消","pages.robot.file.uploading":"上傳中...","pages.robot.file.name_invalid":"文件名不能包含 _ ","pages.robot.file.parse":"解析文件內容","pages.setting":"設置","pages.logout":"退出登錄","pages.footer.website":"微語官網","pages.footer.helpcenter":"帮助文档","pages.login.remember":"記住密碼","pages.agent.tab.basic":"基本信息","pages.agent.robot":"機器人","pages.agent.service.settings":"服务设置","pages.agent.service.settings.topTip":"顶部提示","pages.agent.service.settings.welcomeTip":"欢迎语","pages.agent.service.settings.leavemsgTip":"离线留言提示","pages.agent.service.settings.autoCloseMin":"自动关闭分钟","pages.agent.service.settings.showLogo":"显示Logo","pages.agent.service.settings.maxThreadCount":"最大线程数","pages.advanced.faq":"常見問題","pages.advanced.quickButton":"快捷按鈕","pages.advanced.faqGuess":"智能推薦","pages.advanced.faqHot":"熱門問題","pages.advanced.faqShortcut":"快捷回覆","pages.advanced.rate":"滿意度評價","pages.advanced.autoreply":"自動回覆","pages.advanced.leaveMsg":"留言設置","pages.advanced.survey":"調查問卷","pages.advanced.history":"歷史記錄","pages.advanced.inputAssociation":"輸入聯想","pages.advanced.antiHarassment":"驗證碼設置","pages.advanced.captcha":"驗證碼設置","pages.advanced.showPreForm":"顯示預覽","pages.advanced.showHistory":"顯示歷史","pages.advanced.showInputAssociation":"顯示輸入聯想","pages.advanced.showCaptcha":"顯示驗證碼","pages.login.country.placeholder":"選擇國家/地區","pages.login.country.china":"中國大陸","pages.login.country.hongkong":"中國香港","pages.login.country.taiwan":"中國台灣","pages.login.country.macao":"中國澳門","pages.login.country.japan":"日本","pages.login.country.korea":"韓國","pages.login.country.usa":"美國","pages.login.country.canada":"加拿大","pages.login.country.uk":"英國","pages.login.country.germany":"德國","pages.login.country.france":"法國","pages.login.country.australia":"澳大利亞","pages.login.country.singapore":"新加坡","pages.login.country.malaysia":"馬來西亞","pages.login.country.thailand":"泰國","pages.login.country.vietnam":"越南","pages.login.country.philippines":"菲律賓","pages.login.country.indonesia":"印度尼西亞","pages.login.country.italy":"意大利","pages.login.country.spain":"西班牙","pages.login.country.russia":"俄羅斯","pages.login.country.newzealand":"新西蘭","block.title":"拉黑設置","block.type":"拉黑類型","block.user":"拉黑用戶","block.ip":"拉黑IP","block.permanent":"永久封禁","block.until":"封禁至","block.until.required":"請選擇封禁結束時間","pages.register.title":"註冊","pages.register.subtitle":"創建您的賬號","pages.register.username":"用戶名","pages.register.password":"密碼","pages.register.confirm":"確認密碼","pages.register.email":"郵箱","pages.register.mobile":"手機號","pages.register.code":"驗證碼","pages.register.agreement":"我已閱讀並同意","pages.register.agreement.terms":"服務條款","pages.register.submit":"註冊","pages.register.login":"使用已有賬號登錄","pages.404.title":"404","pages.404.subtitle":"抱歉,您訪問的頁面不存在","pages.404.description":"您可以嘗試以下操作:","pages.404.actions.back":"返回上一頁","pages.404.actions.home":"返回首頁","pages.403.title":"403","pages.403.subtitle":"抱歉,您沒有訪問該頁面的權限","pages.403.description":"請聯繫管理員獲取權限","pages.403.actions.back":"返回上一頁","pages.500.title":"500","pages.500.subtitle":"抱歉,服務器出錯了","pages.500.description":"請稍後再試或聯繫技術支持","pages.500.actions.back":"返回上一頁","pages.500.actions.home":"返回首頁"},QEn={"app.title":"微語","app.logout":"登出","app.copyright.produced":"微語出品","app.preview.down.block":"下載此頁面到本地項目","app.welcome.link.fetch-blocks":"獲取全部區塊","app.welcome.link.block-list":"基於 block 開發,快速構建標準頁面","navBar.lang":"語言","layout.user.link.help":"幫助","layout.user.link.privacy":"隱私","layout.user.link.terms":"條款","theme.light":"淺色","theme.dark":"深色","theme.system":"自動","setting.lang":"Languages","setting.theme":"主題","app.name":"微語客服","app.description":"新一代智能客服系統","app.welcome":"歡迎使用微語客服系統","app.copyright":"© 2024 微語客服. 保留所有權利.","app.version":"版本","app.action.back":"返回","app.action.confirm":"確認","app.action.cancel":"取消","app.action.save":"保存","app.action.edit":"編輯","app.action.delete":"刪除","app.action.refresh":"刷新","app.action.search":"搜索","app.action.more":"更多","app.action.settings":"設置","app.action.help":"幫助","app.tip.loading":"加載中...","app.tip.success":"操作成功","app.tip.error":"操作失敗","app.tip.warning":"警告","app.tip.info":"提示","app.tip.confirm":"確認要執行此操作嗎?","app.tip.nodata":"暫無數據","app.tip.network.error":"網絡連接失敗","app.tip.server.error":"服務器錯誤","app.status.online":"在線","app.status.offline":"離線","app.status.busy":"忙碌","app.status.away":"離開","app.status.invisible":"隱身","app.status.disabled":"已禁用","app.status.expired":"已過期","app.time.today":"今天","app.time.yesterday":"昨天","app.time.tomorrow":"明天","app.time.just":"剛剛","app.time.minutes":"{count} 分鐘前","app.time.hours":"{count} 小時前","app.time.days":"{count} 天前","app.file.upload":"上傳文件","app.file.download":"下載文件","app.file.preview":"預覽文件","app.file.size.limit":"文件大小不能超過 {size}","app.file.type.unsupported":"不支持的文件類型","app.file.upload.success":"上傳成功","app.file.upload.failed":"上傳失敗","app.file.download.success":"下載成功","app.file.download.failed":"下載失敗","app.layout.sidebar.collapse":"收起側邊欄","app.layout.sidebar.expand":"展開側邊欄","app.layout.header.profile":"個人中心","app.layout.header.logout":"退出登錄","app.layout.footer.copyright":"版權所有","app.layout.footer.terms":"服務條款","app.layout.footer.privacy":"隱私政策"},XEn={"auth.login.title":"登錄","auth.login.subtitle":"歡迎使用微語客服系統","auth.login.username":"用戶名","auth.login.username.required":"請輸入用戶名","auth.login.password":"密碼","auth.login.password.required":"請輸入密碼","auth.login.remember":"記住密碼","auth.login.forgot":"忘記密碼?","auth.login.submit":"登錄","auth.login.other":"其他登錄方式","auth.login.register":"註冊賬號","auth.login.success":"登錄成功","auth.login.failed":"登錄失敗","auth.register.title":"註冊","auth.register.subtitle":"創建新賬號","auth.register.username":"用戶名","auth.register.username.required":"請輸入用戶名","auth.register.email":"郵箱","auth.register.email.required":"請輸入郵箱","auth.register.password":"密碼","auth.register.password.required":"請輸入密碼","auth.register.confirm":"確認密碼","auth.register.confirm.required":"請確認密碼","auth.register.submit":"註冊","auth.register.login":"已有賬號?登錄","auth.register.success":"註冊成功","auth.register.failed":"註冊失敗","auth.forgot.title":"忘記密碼","auth.forgot.subtitle":"重置密碼","auth.forgot.email":"郵箱","auth.forgot.email.required":"請輸入郵箱","auth.forgot.submit":"提交","auth.forgot.back":"返回登錄","auth.forgot.success":"重置密碼郵件已發送","auth.forgot.failed":"重置密碼失敗","auth.reset.title":"重置密碼","auth.reset.subtitle":"設置新密碼","auth.reset.password":"新密碼","auth.reset.password.required":"請輸入新密碼","auth.reset.confirm":"確認密碼","auth.reset.confirm.required":"請確認新密碼","auth.reset.submit":"提交","auth.reset.success":"密碼重置成功","auth.reset.failed":"密碼重置失敗","auth.verify.code":"驗證碼","auth.verify.code.required":"請輸入驗證碼","auth.verify.code.send":"發送驗證碼","auth.verify.code.resend":"重新發送","auth.verify.code.success":"驗證碼發送成功","auth.verify.code.failed":"驗證碼發送失敗","auth.password.strength.weak":"密碼強度:弱","auth.password.strength.medium":"密碼強度:中","auth.password.strength.strong":"密碼強度:強","auth.agreement.text":"我已閱讀並同意","auth.agreement.terms":"服務條款","auth.agreement.privacy":"隱私政策","server.button.back":"返回","server.button.save":"保存","server.button.reset":"重置","server.button.help":"幫助","server.save.success":"保存成功","server.reset.success":"重置成功,已恢復默認雲服務器","server.custom.enable":"啟用自定義服務器","server.api.url.label":"API服務器地址 (例如: http://127.0.0.1:9003 或 https://api.bytedesk.com)","server.api.url.placeholder":"http://127.0.0.1:9003","server.websocket.url.label":"WebSocket服務器地址 (例如: ws://127.0.0.1:9885/websocket 或 wss://api.bytedesk.com/websocket)","server.websocket.url.placeholder":"ws://127.0.0.1:9885/websocket","server.input.error":"請輸入正確的服務器地址"},ZEn={"chat.title":"會話","chat.empty":"暫無會話","chat.loading":"加載中...","chat.load.error":"加載失敗","chat.load.more":"加載更多","chat.no.more":"沒有更多了","chat.refresh":"刷新","chat.status.connecting":"連接中...","chat.status.connected":"已連接","chat.status.disconnected":"連接斷開","chat.status.reconnecting":"重新連接中...","chat.network.error":"網絡連接失敗,請檢查網絡","chat.thread.closing":"結束會話中...","chat.thread.close.success":"結束會話成功","chat.thread.close.failed":"結束會話失敗","chat.thread.close.confirm.title":"確定要結束會話?","chat.rate.invite.confirm.title":"確認要邀請評價?","chat.message.send.failed":"發送失敗","chat.message.resend":"重新發送","chat.message.recall":"撤回消息","chat.message.copy.success":"複製成功","chat.copy.success":"複製成功","chat.menu.copy":"複製","chat.menu.translate":"翻譯","chat.menu.recall":"撤回","chat.menu.enlarge":"放大閱讀","chat.menu.quickreply.add":"添加快捷回復...","chat.menu.browser.open":"瀏覽器打開","chat.menu.forward":"轉發...","chat.menu.collect":"收藏","chat.menu.quote":"引用","chat.input.placeholder":"請輸入內容, Ctrl+V 粘貼截圖/圖片","chat.translation.placeholder":"請輸入翻譯內容...","chat.input.send":"發送","chat.input.sending":"發送中...","chat.toolbar.emoji":"表情","chat.toolbar.image":"圖片","chat.toolbar.file":"文件","chat.toolbar.screenshot":"截圖","chat.toolbar.autoreply":"自動回復","chat.toolbar.audio":"錄音","chat.toolbar.webrtc":"視頻會話","chat.upload.size.limit":"文件大小不能超過 {size}","chat.upload.type.unsupported":"不支持的文件類型","chat.upload.failed":"上傳失敗","chat.upload.success":"上傳成功","chat.upload.progress":"上傳中 {progress}%","chat.webrtc.calling":"呼叫中...","chat.webrtc.incoming":"來電...","chat.webrtc.connected":"通話中...","chat.webrtc.ended":"通話結束","chat.webrtc.rejected":"對方拒絕","chat.webrtc.busy":"對方忙","chat.webrtc.failed":"通話失敗","chat.webrtc.accept":"接受","chat.webrtc.reject":"拒絕","chat.webrtc.hangup":"掛斷","chat.navbar.transfer":"轉接","chat.navbar.close":"結束","chat.navbar.note":"筆記","chat.navbar.kbase":"知識庫","chat.right.quickreply":"快捷回覆","chat.right.userinfo":"訪客信息","chat.right.ai":"AI助手","chat.right.ticket":"工單","chat.right.llm":"大模型","chat.right.docview":"文檔查看","chat.right.group":"群組信息","chat.right.member":"成員信息","chat.group.notice":"群公告","chat.group.members":"群成員","chat.group.admins":"管理員","chat.group.robots":"機器人","chat.group.qrcode":"二維碼","chat.group.uid.error":"群組ID錯誤"},JEn={"common.yes":"是","common.no":"否","common.ok":"確定","common.cancel":"取消","common.confirm":"確認","common.save":"保存","common.delete":"刪除","common.edit":"編輯","common.create":"創建","common.loading":"加載中...","common.success":"成功","common.error":"錯誤","common.warning":"警告","common.info":"信息","common.back":"返回","common.submit":"提交","common.reset":"重置","common.add":"添加","common.search":"搜索","common.next":"下一步","common.previous":"上一步","common.more":"更多","common.failed":"操作失敗","common.status.online":"在線","common.status.offline":"離線","common.status.busy":"忙碌","common.status.away":"離開","common.status.invisible":"隱身","common.operation.success":"操作成功","common.operation.failed":"操作失敗","common.operation.confirm":"確認要執行此操作嗎?","common.operation.processing":"處理中...","common.operation.completed":"處理完成","common.operation.error":"處理出錯","common.form.required":"此項為必填項","common.form.optional":"選填","common.form.invalid":"輸入無效","common.form.validate.error":"表單驗證失敗","common.form.validate.success":"表單驗證通過"},eCn={"customer.list.title":"客戶列表","customer.list.empty":"暫無客戶","customer.list.loading":"加載中...","customer.list.load.error":"加載失敗","customer.list.load.more":"加載更多","customer.list.no.more":"沒有更多了","customer.list.refresh":"刷新","customer.info.basic":"基本信息","customer.info.name":"姓名","customer.info.nickname":"暱稱","customer.info.gender":"性別","customer.info.age":"年齡","customer.info.birthday":"生日","customer.info.mobile":"手機號","customer.info.email":"郵箱","customer.info.address":"地址","customer.info.company":"公司","customer.info.position":"職位","customer.info.remark":"備註","customer.info.tags":"標籤","customer.info.source":"來源","customer.info.created":"創建時間","customer.info.updated":"更新時間","customer.status.online":"在線","customer.status.offline":"離線","customer.status.away":"離開","customer.status.busy":"忙碌","customer.status.blocked":"已拉黑","customer.action.edit":"編輯","customer.action.delete":"刪除","customer.action.block":"拉黑","customer.action.unblock":"取消拉黑","customer.action.transfer":"轉移","customer.action.merge":"合併","customer.action.export":"導出","customer.form.name":"姓名","customer.form.name.required":"請輸入姓名","customer.form.nickname":"暱稱","customer.form.gender":"性別","customer.form.age":"年齡","customer.form.birthday":"生日","customer.form.mobile":"手機號","customer.form.email":"郵箱","customer.form.address":"地址","customer.form.company":"公司","customer.form.position":"職位","customer.form.remark":"備註","customer.form.tags":"標籤","customer.form.source":"來源","customer.create.success":"客戶創建成功","customer.create.failed":"客戶創建失敗","customer.update.success":"客戶更新成功","customer.update.failed":"客戶更新失敗","customer.delete.success":"客戶刪除成功","customer.delete.failed":"客戶刪除失敗","customer.block.success":"客戶拉黑成功","customer.block.failed":"客戶拉黑失敗","customer.unblock.success":"取消拉黑成功","customer.unblock.failed":"取消拉黑失敗","customer.transfer.success":"客戶轉移成功","customer.transfer.failed":"客戶轉移失敗","customer.merge.success":"客戶合併成功","customer.merge.failed":"客戶合併失敗","customer.export.success":"客戶導出成功","customer.export.failed":"客戶導出失敗","black.title":"拉黑設置","black.type":"拉黑類型","black.type.required":"請選擇至少一種拉黑類型","black.user":"拉黑用戶","black.ip":"拉黑IP","black.permanent":"永久拉黑","black.until":"拉黑截至","black.until.required":"請選擇拉黑截至時間","black.reason":"拉黑原因","black.reason.required":"請輸入拉黑原因","black.reason.placeholder":"請輸入拉黑原因","black.success":"拉黑成功"},tCn={"dashboard.menu.overview":"總覽","dashboard.menu.workbench":"工作台","dashboard.menu.monitor":"監控台","dashboard.menu.workplace":"工作區","dashboard.menu.message":"消息中心","dashboard.menu.settings":"系統設置","dashboard.overview.title":"總覽","dashboard.overview.total.conversations":"總會話數","dashboard.overview.total.customers":"總客戶數","dashboard.overview.total.tickets":"總工單數","dashboard.overview.total.agents":"總客服數","dashboard.overview.online.agents":"在線客服","dashboard.overview.waiting.customers":"排隊訪客","dashboard.overview.avg.response.time":"平均響應時間","dashboard.overview.avg.handle.time":"平均處理時間","dashboard.stats.title":"數據統計","dashboard.stats.realtime":"實時數據","dashboard.stats.today":"今日統計","dashboard.stats.yesterday":"昨日統計","dashboard.stats.week":"本週統計","dashboard.stats.month":"本月統計","dashboard.stats.custom":"自定義時段","dashboard.workbench.online":"在線狀態","dashboard.workbench.offline":"離線狀態","dashboard.workbench.busy":"忙碌狀態","dashboard.workbench.away":"離開狀態","dashboard.workbench.auto.distribution":"自動分配","dashboard.workbench.manual.distribution":"手動分配","dashboard.workbench.max.session":"最大會話數","dashboard.workbench.current.session":"當前會話數","dashboard.monitor.system":"系統監控","dashboard.monitor.performance":"性能監控","dashboard.monitor.network":"網絡監控","dashboard.monitor.server":"服務器狀態","dashboard.monitor.database":"數據庫狀態","dashboard.monitor.cache":"緩存狀態","dashboard.monitor.queue":"隊列狀態","dashboard.workplace.quick.start":"快速開始","dashboard.workplace.recent":"最近訪問","dashboard.workplace.todo":"待辦事項","dashboard.workplace.announcement":"系統公告","dashboard.workplace.calendar":"工作日曆","dashboard.workplace.links":"常用鏈接","dashboard.message.all":"全部消息","dashboard.message.unread":"未讀消息","dashboard.message.system":"系統消息","dashboard.message.business":"業務消息","dashboard.message.operation":"運營消息","dashboard.monitor.title":"實時監控","dashboard.monitor.online.status":"在線狀態","dashboard.monitor.conversation.status":"會話狀態","dashboard.monitor.queue.status":"排隊狀態","dashboard.monitor.system.status":"系統狀態","dashboard.monitor.refresh":"刷新","dashboard.monitor.auto.refresh":"自動刷新","dashboard.analysis.title":"數據分析","dashboard.analysis.conversation.trend":"會話趨勢","dashboard.analysis.customer.trend":"客戶趨勢","dashboard.analysis.ticket.trend":"工單趨勢","dashboard.analysis.satisfaction.trend":"滿意度趨勢","dashboard.analysis.time.range":"時間範圍","dashboard.analysis.export":"導出數據","dashboard.workplace.title":"工作台","dashboard.workplace.my.conversations":"我的會話","dashboard.workplace.my.tickets":"我的工單","dashboard.workplace.my.tasks":"我的任務","dashboard.workplace.my.performance":"我的績效","dashboard.workplace.quick.actions":"快捷操作","dashboard.workplace.announcements":"公告通知","dashboard.report.title":"統計報表","dashboard.report.conversation":"會話報表","dashboard.report.customer":"客戶報表","dashboard.report.ticket":"工單報表","dashboard.report.agent":"客服報表","dashboard.report.satisfaction":"滿意度報表","dashboard.report.export":"導出報表","dashboard.chart.today":"今日","dashboard.chart.yesterday":"昨日","dashboard.chart.last7days":"最近7天","dashboard.chart.last30days":"最近30天","dashboard.chart.thisMonth":"本月","dashboard.chart.lastMonth":"上月","dashboard.chart.custom":"自定義","dashboard.chart.loading":"加載中...","dashboard.chart.no.data":"暫無數據","dashboard.tip.refresh.success":"刷新成功","dashboard.tip.refresh.failed":"刷新失敗","dashboard.tip.export.success":"導出成功","dashboard.tip.export.failed":"導出失敗","dashboard.tip.data.loading":"數據加載中...","dashboard.tip.data.load.failed":"數據加載失敗"},nCn={"i18n.lang.en-US":"English","i18n.lang.zh-CN":"简体中文","i18n.lang.zh-TW":"繁體中文","i18n.queue.tip":"排隊隊列","i18n.queue.message.template":"當前排隊人數:{0},大約等待時間:{1} 分鐘","i18n.queue.empty":"隊列為空","i18n.queue.accept":"接入","i18n.system.notification":"系統通知","i18n.system.notification.tip":"系統通知","i18n.old.password.wrong":"舊密碼錯誤","i18n.change.password":"修改密碼","i18n.auth.captcha.send.success":"驗證碼發送成功","i18n.auth.captcha.error":"驗證碼錯誤","i18n.auth.captcha.expired":"驗證碼過期","i18n.auth.captcha.already.send":"驗證碼已發送,請等待","i18n.auth.captcha.validate.failed":"驗證碼驗證失敗","i18n.faq":"常見問題","i18n.rate":"評價","i18n.input.placeholder":"請輸入內容","i18n.loading":"加载中...","i18n.load.more":"加载更多","i18n.load.nomore":"没有更多了","i18n.typing":"正在輸入...","i18n.robot":"[机器人]","i18n.agent":"[一对一]","i18n.workgroup":"[技能组]","i18n.group":"[群聊]","i18n.rate.invite":"邀請評價","i18n.ticket":"[工單]","i18n.notice":"通知","i18n.notice.title":"通知標題","i18n.notice.content":"通知內容","i18n.notice.ip":"IP","i18n.notice.ipLocation":"IP地址","i18n.notice.parse.file.success":"解析文件成功","i18n.notice.parse.file.error":"解析文件失败","i18n.DEPT.ALL":"全部","i18n.DEPT.ADMIN":"管理員","i18n.DEPT.HR":"人事部","i18n.DEPT.ORG":"行政部","i18n.DEPT.IT":"技術部","i18n.DEPT.MONEY":"財務部","i18n.DEPT.MARKETING":"市場部","i18n.DEPT.SALES":"銷售部","i18n.DEPT.CS":"客服部","i18n.new.message":"新消息","i18n.file.assistant":"文件助手","i18n.clipboard.assistant":"剪切板助手","i18n.thread.content.image":"圖片","i18n.thread.content.file":"文件","i18n.top.tip":"默認置顶語","i18n.top.make":"置頂","i18n.top.cancel":"取消置頂","i18n.unread.make":"设置未读","i18n.unread.cancel":"取消未读","i18n.star.make":"星标","i18n.star.cancel":"取消星标","i18n.disturb.make":"免打扰","i18n.disturb.cancel":"取消免打扰","i18n.transfer":"转接","i18n.hide":"隐藏","i18n.network.disconnected":"网络已断开","i18n.message.pulling":"消息拉取中...","i18n.leavemsg.tip":"無客服在線,請留言","i18n.welcome.tip":"您好,有什麼可以幫您的?","i18n.reenter.tip":"继续会话","i18n.under.development":"開發中...","i18n.user.description":"默認用戶描述","i18n.robot.nickname":"默認機器人","i18n.robot.description":"默認機器人描述","i18n.robot.noreply":"未找到相应答案","i18n.robot.agent.assistant.nickname":"默认机器人助手","i18n.llm.prompt":"你是一個聰明、對人類有幫助的人工智能,你可以對人類提出的問題給出有用、詳細、禮貌的回答","i18n.agent.nickname":"默認客服","i18n.agent.description":"默認客服描述","i18n.workgroup.nickname":"預設技能組","i18n.workgroup.description":"預設技能組描述","i18n.contact":"詢問聯繫方式","i18n.thanks":"感謝","i18n.welcome":"問候","i18n.bye":"告別","i18n.tip.title":"提示","i18n.tip.network.disconnected":"网络已断开","i18n.tip.network.connected":"网络已连接","i18n.kb.name":"默认知识库","i18n.kb.platform.name":"平台知识库","i18n.kb.helpcenter.name":"帮助文档知识库","i18n.kb.llm.name":"大模型知识库","i18n.kb.keyword.name":"关键词知识库","i18n.kb.faq.name":"常见问题知识库","i18n.kb.autoreply.name":"自动回复知识库","i18n.kb.quickreply.name":"快捷回复知识库","i18n.kb.taboo.name":"敏感词知识库","i18n.kb.description":"知识库默认描述","i18n.agent.nicknameKb":"默认客服知识库","i18n.contact.title":"方便的話請您提供一下您的聯繫電話","i18n.contact.content":"方便的話請您提供一下您的聯繫電話,我電話給您溝通一下,這樣更加直觀","i18n.thanks.title":"感謝光臨","i18n.thanks.content":"感謝光臨,歡迎再來","i18n.welcome.title":"您好","i18n.welcome.content":"您好,有什麼可以幫您的","i18n.bye.title":"您的滿意一直是我們的目標","i18n.bye.content":"您的滿意一直是我們的目標,如果有任何疑問歡迎您隨時聯繫","i18n.vip.api":"VIP API","i18n.faq.category.demo.1":"常見問題分類Demo1","i18n.faq.category.demo.2":"常見問題分類Demo2","i18n.faq.demo.title.1":"常見問題文字Demo1","i18n.faq.demo.content.1":"常見問題文字Demo1","i18n.faq.demo.title.2":"常見問題圖片Demo2","i18n.faq.demo.content.2":"https://www.weiyuai.cn/logo.png","i18n.quick.button.demo.title.1":"快捷按鈕文字Demo1","i18n.quick.button.demo.content.1":"快捷按鈕文字Demo1","i18n.quick.button.demo.title.2":"快捷按鈕連結Demo2","i18n.quick.button.demo.content.2":"https://www.weiyuai.cn","i18n.preview.title":"預覽","i18n.cancel":"取消","i18n.confirm":"確定","i18n.send":"發送","i18n.transferToAgent":"轉人工服務","i18n.auto.closed":"會話自動關閉","i18n.agent.closed":"客服關閉會話","i18n.online.chat":"在線客服","i18n.JOB":"工作","i18n.LANGUAGE":"語言","i18n.TOOL":"工具","i18n.WRITING":"寫作","i18n.RAG":"知識庫問答","i18n.module.ai":"AI","i18n.module.void":"空白","i18n.module.service":"客服","i18n.module.ticket":"工單","i18n.black.user.already.exists":"用戶已拉黑","i18n.ticket.category.technical_support":"技術支持","i18n.ticket.category.service_request":"服務請求","i18n.ticket.category.consultation":"咨詢","i18n.ticket.category.complaint_suggestion":"投訴建議","i18n.ticket.category.operation_maintenance":"運維","i18n.ticket.category.other":"其他","i18n.vip.component":"VIP組件, 聯繫我們了解更多詳情","i18n.vip.contactUs":"聯繫我們","i18n.vip.contactUrl":"https://www.weiyuai.cn/contact.html","i18n.ticket.process.name":"工单流程","i18n.thread.process.name":"會話流程"},rCn={"message.type.text":"文本消息","message.type.image":"圖片消息","message.type.file":"文件消息","message.type.voice":"語音消息","message.type.video":"視頻消息","message.type.location":"位置消息","message.type.link":"鏈接消息","message.type.card":"卡片消息","message.type.system":"系統消息","message.type.notification":"通知消息","message.type.custom":"自定義消息","message.status.sending":"發送中","message.status.sent":"已發送","message.status.delivered":"已送達","message.status.read":"已讀","message.status.failed":"發送失敗","message.status.recalled":"已撤回","message.status.deleted":"已刪除","quickreply.search.placeholder":"搜索","quickreply.button.send":"發送","quickreply.button.copy":"複製","quickreply.button.create.category":"創建分類","quickreply.button.create.reply":"創建快捷回復","quickreply.copy.success":"{content} 已複製到剪貼板","category.form.edit.title":"編輯分類","category.form.create.title":"創建分類","category.form.name":"分類名稱","category.form.name.required":"請輸入分類名稱!","category.form.name.placeholder":"輸入分類名稱","category.create.failed":"創建分類失敗","quickreply.drawer.title":"{isEdit, select, true {編輯快捷回復} other {新建快捷回復}}","quickreply.form.category":"分類","quickreply.form.category.required":"請選擇分類","quickreply.form.category.placeholder":"選擇分類","quickreply.form.type":"類型","quickreply.form.type.required":"請選擇類型","quickreply.form.type.placeholder":"選擇類型","quickreply.form.title":"標題","quickreply.form.title.required":"請輸入標題","quickreply.form.content":"內容","quickreply.type.text":"文本","quickreply.type.image":"圖片","quickreply.type.video":"視頻","quickreply.type.audio":"音頻","quickreply.type.file":"文件","quickreply.upload.text":"點擊或拖拽文件上傳","quickreply.upload.success":"{filename} 上傳成功","quickreply.upload.error":"{filename} 上傳失敗","quickreply.upload.uploading":"{filename} 上傳中","quickreply.form.validate.error":"請檢查表單","message.action.send":"發送","message.action.recall":"撤回","message.action.delete":"刪除","message.action.resend":"重新發送","message.action.forward":"轉發","message.action.quote":"引用","message.action.copy":"複製","message.action.translate":"翻譯","message.action.download":"下載","message.action.preview":"預覽","message.tip.sending":"消息發送中...","message.tip.sent":"消息已發送","message.tip.delivered":"消息已送達","message.tip.read":"消息已讀","message.tip.failed":"消息發送失敗","message.tip.recalled":"消息已撤回","message.tip.deleted":"消息已刪除","message.tip.copy.success":"複製成功","message.tip.download.start":"開始下載...","message.tip.download.success":"下載成功","message.tip.download.failed":"下載失敗","message.input.placeholder":"請輸入消息","message.input.send.button":"發送","message.input.emoji.button":"表情","message.input.image.button":"圖片","message.input.file.button":"文件","message.input.voice.button":"語音","message.input.video.button":"視頻","message.input.location.button":"位置","message.list.load.more":"加載更多","message.list.loading":"加載中...","message.list.no.more":"沒有更多消息","message.list.empty":"暫無消息","message.list.search.placeholder":"搜索消息","message.list.search.no.result":"未找到相關消息","message.time.just":"剛剛","message.time.minutes":"{count}分鐘前","message.time.hours":"{count}小時前","message.time.days":"{count}天前","message.time.weeks":"{count}周前","message.time.months":"{count}個月前","message.time.years":"{count}年前","message.file.size.limit":"文件大小不能超過 {size}","message.file.type.unsupported":"不支持的文件類型","message.file.uploading":"上傳中...","message.file.download":"下載文件","message.file.preview":"預覽文件","message.image.loading":"圖片加載中","message.image.load.error":"圖片加載失敗","message.image.save":"保存圖片","message.image.save.success":"圖片保存成功","message.image.save.failed":"圖片保存失敗"},iCn={"profile.update.success":"個人信息更新成功","profile.form.avatar":"頭像","profile.form.upload":"上傳","profile.form.username":"用戶名","profile.form.nickname":"暱稱","profile.form.description":"描述","profile.button.change.password":"修改密碼","profile.button.change.email":"修改郵箱","profile.button.change.mobile":"修改手機號","profile.email.verified":"郵箱已驗證","profile.email.unverified":"郵箱未驗證","profile.mobile.verified":"手機已驗證","profile.mobile.unverified":"手機未驗證","profile.email.change.title":"修改郵箱","profile.email.placeholder":"請輸入郵箱地址","profile.email.required":"請輸入郵箱地址!","profile.email.format.invalid":"郵箱格式不正確","profile.email.length.limit":"郵箱不得超過50字符","profile.email.verification.code.placeholder":"請輸入驗證碼","profile.email.verification.code.countdown":"秒後重新獲取","profile.email.verification.code.get":"獲取驗證碼","profile.email.verification.code.required":"請輸入驗證碼!","profile.email.not.changed":"郵箱未更改!","profile.email.change.success":"郵箱修改成功!","profile.email.format.error":"郵箱格式錯誤","profile.mobile.change.title":"修改手機號","profile.mobile.placeholder":"請輸入手機號","profile.mobile.required":"請輸入手機號!","profile.mobile.format.invalid":"手機號格式錯誤!","profile.mobile.verification.code.placeholder":"請輸入驗證碼","profile.mobile.verification.code.countdown":"秒後重新獲取","profile.mobile.verification.code.get":"獲取驗證碼","profile.mobile.verification.code.required":"請輸入驗證碼!","profile.mobile.not.changed":"手機號未更改!","profile.mobile.change.success":"手機號修改成功!","profile.mobile.format.error":"手機號格式錯誤","profile.password.change.title":"修改密碼","profile.password.old":"原密碼","profile.password.old.empty":"手機號直接登錄用戶,可以留空","profile.password.new":"新密碼","profile.password.confirm":"確認密碼","profile.password.length.error":"密碼最小長度不能小於6","profile.password.mismatch":"兩次輸入密碼不一致","profile.password.change.success":"密碼修改成功!"},oCn={"setting.menu.title":"設置","setting.menu.profile":"個人信息","setting.menu.basic":"基本設置","setting.menu.agent":"客服設置","setting.menu.model":"大模型","setting.menu.certification":"實名認證","setting.menu.qrcode":"二維碼","setting.menu.shortcut":"快捷鍵","setting.menu.click":"菜單點擊","setting.save.success":"設置保存成功","setting.save.error":"設置保存失敗","setting.load.error":"設置加載失敗","setting.header.profile":"個人信息","setting.header.basic":"基本設置","setting.header.agent":"客服設置","setting.header.model":"大模型設置","setting.basic.sound.on":"已開啟消息提示音","setting.basic.sound.off":"已關閉消息提示音","setting.basic.notification.on":"已開啟網絡狀態通知","setting.basic.notification.off":"已關閉網絡狀態通知","setting.basic.connection.status":"長鏈接狀態:","setting.basic.connection.connected":"✅連接正常","setting.basic.connection.disconnected":"❌連接斷開","setting.basic.startup":"開機啟動:","setting.basic.startup.on":"開機啟動","setting.basic.startup.off":"不開機啟動","setting.basic.theme":"顏色主題:","setting.basic.language":"語言設置:","setting.basic.mode":"模式設置:","setting.basic.mode.team":"團隊模式","setting.basic.mode.agent":"客服模式","setting.basic.mode.personal":"個人模式"},aCn={"thread.error.message":"獲取數據失敗","thread.feature.unavailable":"TODO: 該功能暫未開放","thread.menu.top":"置頂","thread.menu.untop":"取消置頂","thread.menu.read":"標記已讀","thread.menu.unread":"標記未讀","thread.menu.mute":"靜音","thread.menu.unmute":"取消靜音","thread.menu.transfer":"轉接","thread.menu.block":"拉黑","thread.menu.ticket":"創建工單","thread.menu.crm":"查看CRM","thread.menu.summary":"會話總結","thread.menu.filter":"會話過濾","thread.menu.groupThread":"群聊會話","thread.menu.robotThread":"機器人會話","thread.menu.workgroupThread":"工作組會話","thread.menu.agentThread":"一對一會話","thread.menu.ticketThread":"工單會話","thread.menu.memberThread":"成員會話","thread.menu.deviceThread":"設備會話","thread.menu.systemThread":"系統會話","thread.status.robot":"[機器人]","thread.status.agent":"[一對一]","thread.status.workgroup":"[工作組]","thread.search.placeholder":"搜索會話...","thread.dropdown.create.group":"創建群聊","thread.dropdown.create.ai":"創建AI對話","thread.agent.status.online":"😀 - 在線接待","thread.agent.status.offline":"🔻 - 客服下線","thread.agent.status.busy":"🏃‍♀️ - 客服忙碌","thread.refresh.pull":"↓ 下拉刷新","thread.refresh.release":"↑ 鬆開刷新","thread.list.no.more":"沒有更多了","thread.coming.soon":"即將上線,敬請期待","thread.set.success":"設置成功","thread.set.error":"設置失敗","thread.menu.star":"星標","thread.menu.star.1":"星標1","thread.menu.star.2":"星標2","thread.menu.star.3":"星標3","thread.menu.star.4":"星標4","thread.menu.hide":"隱藏","thread.status.text":"{status}","thread.status.online":"😀接待","thread.status.offline":"🔻下線","thread.status.busy":"🏃‍♀️忙碌","thread.status.loading":"加載中...","thread.status.empty":"暫無會話","thread.status.error":"加載會話失敗","thread.status.queue":"排隊({count})","thread.status.network.offline":"網絡已斷開","thread.status.network.online":"網絡已連接","thread.status.message.pulling":"消息拉取中...","thread.status.message.empty":"暫無消息","thread.status.message.error":"加載消息失敗","thread.status.message.end":"沒有更多消息","thread.status.message.typing":"正在輸入...","thread.status.message.transfer":"轉接中...","thread.status.message.transferred":"已轉接","thread.status.message.closed":"會話已關閉","thread.menu.star.cancel":"取消星標","thread.loading.more":"加載更多..."},sCn={"ticket.create.title":"創建工單","ticket.edit.title":"編輯工單","ticket.form.uid":"編號","ticket.form.title":"標題","ticket.form.title.required":"請輸入工單標題","ticket.form.title.placeholder":"請輸入工單標題","ticket.form.description":"描述","ticket.form.description.required":"請輸入工單描述","ticket.form.description.placeholder":"請輸入工單描述","ticket.form.status":"狀態","ticket.form.status.required":"請選擇工單狀態","ticket.form.priority":"優先級","ticket.form.priority.required":"請選擇優先級","ticket.form.category":"分類","ticket.form.category.required":"請選擇工單分類","ticket.form.category.placeholder":"請選擇工單分類","ticket.form.user":"客戶","ticket.form.user.placeholder":"請選擇客戶","ticket.form.assignee":"處理人","ticket.form.assignee.placeholder":"請選擇處理人","ticket.form.reporter":"報告人","ticket.form.reporter.placeholder":"請選擇報告人","ticket.form.workgroup":"技能組","ticket.form.workgroup.required":"請選擇技能組","ticket.form.workgroup.placeholder":"請選擇技能組","ticket.workgroup.load.error":"加載技能組失敗","ticket.status.all":"全部狀態","ticket.status.new":"新建","ticket.status.assigned":"已分配","ticket.status.in_progress":"處理中","ticket.status.pending":"待處理","ticket.status.on_hold":"掛起","ticket.status.reopened":"重新打開","ticket.status.resolved":"已解決","ticket.status.closed":"已關閉","ticket.status.cancelled":"已取消","ticket.priority.all":"全部優先級","ticket.priority.lowest":"最低","ticket.priority.low":"低","ticket.priority.medium":"中","ticket.priority.high":"高","ticket.priority.urgent":"緊急","ticket.priority.critical":"嚴重","ticket.create.success":"工單創建成功","ticket.create.failed":"工單創建失敗","ticket.update.success":"工單更新成功","ticket.update.failed":"工單更新失敗","ticket.submit.error":"工單提交失敗","ticket.delete.success":"工單刪除成功","ticket.delete.error":"工單刪除失敗","ticket.load.error":"工單數據加載失敗","ticket.messages.load.error":"工單消息加載失敗","ticket.message.send.error":"消息發送失敗","ticket.category.load.error":"分類加載失敗","ticket.list.title":"工單列表","ticket.list.empty":"暫無工單","ticket.list.search.placeholder":"搜索工單","ticket.list.create":"創建工單","ticket.list.total":"工單總數","ticket.action.edit":"編輯","ticket.action.delete":"刪除","ticket.action.assign":"分配","ticket.action.close":"關閉","ticket.action.reopen":"重新打開","ticket.delete.confirm":"確定要刪除此工單嗎?","ticket.conversation.title":"工單對話","ticket.conversation.empty":"請選擇工單查看對話","ticket.conversation.input.placeholder":"請輸入消息...","ticket.details.title":"工單詳情","ticket.details.empty":"請選擇工單查看詳情","ticket.category.technical_support":"技術支持","ticket.category.service_request":"服務請求","ticket.category.consultation":"咨詢","ticket.category.complaint_suggestion":"投訴建議","ticket.category.operation_maintenance":"運維","ticket.category.other":"其他","ticket.form.thread":"關聯會話","ticket.form.thread.placeholder":"選擇關聯會話","ticket.form.thread.none":"不關聯","ticket.form.createdAt":"創建時間","ticket.form.updatedAt":"更新時間","ticket.type.agent":"指定客服","ticket.type.workgroup":"技能組","ticket.assignee":"處理人","ticket.reporter":"報告人","ticket.type":"類型","ticket.category":"分類","ticket.steps.title":"轉移過程","ticket.filter.by.status":"按狀態篩選","ticket.filter.by.priority":"按優先級篩選","ticket.filter.by.assignment":"按分配篩選","ticket.filter.by.time":"按時間篩選","ticket.filter.status_all":"全部狀態","ticket.filter.status_new":"新建","ticket.filter.status_assigned":"已分配","ticket.filter.status_in_progress":"處理中","ticket.filter.status_pending":"待處理","ticket.filter.status_on_hold":"掛起","ticket.filter.status_reopened":"重新打開","ticket.filter.status_resolved":"已解決","ticket.filter.status_closed":"已關閉","ticket.filter.status_cancelled":"已取消","ticket.filter.priority_all":"全部優先級","ticket.filter.priority_lowest":"最低","ticket.filter.priority_low":"低","ticket.filter.priority_medium":"中","ticket.filter.priority_high":"高","ticket.filter.priority_urgent":"緊急","ticket.filter.priority_critical":"嚴重","ticket.filter.assignment_all":"全部","ticket.filter.assignment_my_tickets":"我的工單","ticket.filter.assignment_unassigned":"未分配","ticket.filter.assignment_my_workgroup":"我的技能組","ticket.filter.assignment_my_created":"我創建的","ticket.filter.assignment_my_assigned":"待我處理","ticket.filter.time_all":"全部時間","ticket.filter.time_today":"今天","ticket.filter.time_yesterday":"昨天","ticket.filter.time_this_week":"本週","ticket.filter.time_last_week":"上週","ticket.filter.time_this_month":"本月","ticket.filter.time_last_month":"上月","ticket.content.title":"工單","ticket.content.number":"編號","ticket.delete.title":"刪除工單","ticket.delete.content":"確定要刪除此工單嗎?","ticket.delete.failed":"工單刪除失敗","ticket.loading":"加載工單...","ticket.empty":"暫無工單","ticket.palette.startEvent":"開始事件","ticket.palette.task":"任務","ticket.palette.gateway":"網關","ticket.palette.dataObject":"數據對象","ticket.create.error":"創建流程圖失敗","ticket.save.success":"流程圖保存成功","ticket.autosave.success":"自動保存成功","ticket.autosave.error":"自動保存失敗","ticket.select.process":"選擇流程","ticket.properties.title":"屬性","ticket.properties.noSelection":"未選擇元素","ticket.properties.id":"ID","ticket.properties.name":"名稱","ticket.properties.type":"類型","ticket.properties.documentation":"文檔","ticket.properties.assignee":"處理人","ticket.properties.priority":"優先級","ticket.fetch.processes.error":"加載流程失敗","ticket.no.process":"沒有流程,請先創建一個流程","ticket.fetch.processes.empty":"沒有流程,請先創建一個流程","ticket.create.loading":"創建流程...","ticket.fetch.processes.loading":"加載流程...","ticket.delete":"刪除","ticket.save.error":"保存流程失敗","ticket.deploy":"部署","ticket.undeploy":"取消部署","ticket.deploy.loading":"部署流程...","ticket.undeploy.loading":"取消部署流程...","ticket.deploy.success":"流程部署成功","ticket.undeploy.success":"流程取消部署成功","ticket.deploy.error":"部署流程失敗","ticket.undeploy.error":"取消部署流程失敗","ticket.undeploy.confirm.title":"取消部署確認","ticket.undeploy.confirm.content":"確定要取消部署此流程嗎?"},lCn={"contact.list.new":"新朋友","contact.list.device":"內網設備","contact.list.group":"群聊","contact.list.channel":"頻道","contact.list.company":"企業聯繫人","contact.list.friend":"聯繫人","contact.search.placeholder":"搜索聯繫人...","contact.manager.button":"通訊錄管理","contact.manager.coming":"敬請期待","member.detail.nickname":"暱稱","member.detail.jobno":"工號","member.detail.seatno":"座位號","member.detail.telephone":"電話","member.detail.loading":"加載中...","member.detail.chat.button":"開始聊天"},cCn={"group.create.title":"發起群聊","group.create.contacts":"好友","group.create.members":"群成員","group.create.members.min":"至少選擇2名成員","group.create.creating":"創建群組中...","group.create.org.empty":"未選擇組織","group.create.success":"創建群組成功","group.create.failed":"創建群組失敗","group.create.loading":"加載成員中...","group.create.error":"加載成員失敗"},uCn={"robot.list.add":"添加智能體","robot.list.loading":"加載中","robot.list.delete.confirm":"刪除【{name}】?","robot.list.deleting":"刪除中","robot.list.delete.success":"刪除成功","robot.list.update.success":"更新成功","robot.list.create.success":"創建成功","robot.list.chat":"對話","robot.list.edit":"編輯","robot.list.delete":"刪除"},dCn={"autoreply.title":"自动回复","autoreply.enable.label":"是否启用自动回复","autoreply.type.label":"自动回复类型","autoreply.type.fixed":"固定回复","autoreply.type.keyword":"关键字匹配","autoreply.type.llm":"大模型回复","autoreply.fixed.add":"添加固定回复内容","autoreply.fixed.select":"选择固定回复内容","autoreply.fixed.type":"固定回复类型","autoreply.fixed.content":"固定回复内容","autoreply.content.text":"文本","autoreply.content.image":"图片","autoreply.content.video":"视频","autoreply.content.audio":"音频","autoreply.content.file":"文件","autoreply.save.loading":"正在保存,请稍后...","autoreply.save.success":"保存成功","autoreply.save.error":"保存失败","autoreply.keyword.add":"添加关键词知识库","autoreply.keyword.select":"选择关键词知识库","autoreply.llm.add":"添加大模型知识库","autoreply.llm.select":"选择大模型知识库"},fCn={"upload.modal.title":"上傳文件","upload.drag.text":"點擊或拖拽文件至此處上傳","upload.drag.hint":"支持單個或批量上傳","upload.drag.hint.size":"支持单个或批量上传,文件大小不超过10MB","upload.drag.hint.withtype":"支持单个或批量上传 {acceptTypes} 格式的文件","upload.drag.hint.withtype.size":"支持单个或批量上传 {acceptTypes} 格式的文件,文件大小不超过10MB","upload.uploading":"{filename} 上傳中...","upload.success":"{filename} 上傳成功","upload.failed":"{filename} 上傳失敗","upload.delete.confirm":"確定要刪除此文件嗎?","upload.preview.image":"圖片預覽","upload.preview.file":"文件預覽","upload.button.ok":"確定","upload.button.cancel":"取消","upload.maxCount":"最多只能上傳 {maxCount} 個文件","upload.maxSize":"文件大小不能超過 {maxSize}MB"},pCn={"flow.title":"流程構建器","flow.new":"新流程","flow.copy":"複製","flow.run":"運行","flow.start":"開始","flow.logic":"邏輯","flow.action":"動作","flow.import":"導入","flow.export":"導出","flow.startChat":"模擬對話","flow.closeChat":"關閉對話","flow.json":"流程JSON","flow.container":"容器組件","flow.form":"表單組件","flow.parentNode":"父節點","flow.textField":"文本框","flow.numberField":"數字框","flow.datePicker":"日期選擇","flow.select":"下拉選擇","flow.checkbox":"多選框組","flow.radio":"單選按鈕","flow.properties":"屬性設置","flow.nodeName":"節點名稱","flow.nodeDesc":"節點描述","flow.componentType":"組件類型","flow.labelName":"標籤名稱","flow.options":"選項","flow.preview":"預覽","flow.submit":"提交","app.language":"語言","leftPanel.container":"容器組件","leftPanel.form":"表單組件","leftPanel.parentNode":"父節點","leftPanel.textField":"文本框","leftPanel.numberField":"數字框","leftPanel.datePicker":"日期選擇","leftPanel.select":"下拉選擇","leftPanel.checkbox":"多選框組","leftPanel.radio":"單選按鈕","propertyPanel.settings":"屬性設置","propertyPanel.nodeId":"節點ID","propertyPanel.nodeType":"節點類型","propertyPanel.nodeName":"節點名稱","propertyPanel.nodeDesc":"節點描述","propertyPanel.componentType":"組件類型","propertyPanel.labelName":"標籤名稱","propertyPanel.options":"選項","propertyPanel.placeholder.name":"請輸入節點名稱","propertyPanel.placeholder.desc":"請輸入節點描述","propertyPanel.placeholder.label":"請輸入標籤名稱","propertyPanel.placeholder.options":"按回車添加選項","nodes.textField.label":"文本框","nodes.numberField.label":"數字框","nodes.datePicker.label":"日期","nodes.select.label":"下拉選擇","nodes.checkbox.label":"多選框組","nodes.radio.label":"單選按鈕","nodes.unknown":"未知組件","formBuilder.title":"表單構建器","formBuilder.preview":"預覽","formBuilder.settings":"設置","formBuilder.addField":"添加欄位","formBuilder.delete":"刪除","formBuilder.moveUp":"上移","formBuilder.moveDown":"下移","formBuilder.fieldTypes":{text:"文本框",number:"數字框",date:"日期選擇",select:"下拉選擇",radio:"單選按鈕",checkbox:"複選框",textarea:"多行文本"},"formBuilder.placeholder":{formName:"請輸入表單名稱",fieldName:"請輸入欄位名稱",fieldLabel:"請輸入欄位標籤",options:"按回車添加選項"},"formBuilder.validation":{required:"必填",optional:"選填",unique:"唯一",min:"最小值",max:"最大值"},"formBuilder.import":"導入","formBuilder.export":"導出","formBuilder.import.success":"導入成功","formBuilder.import.error":"導入失敗,請檢查文件格式","formBuilder.export.success":"導出成功","formBuilder.export.error":"導出失敗","formBuilder.export.filename":"表單配置.json","formBuilder.canvas.empty":"拖拽表單欄位到這裡","formBuilder.field.delete":"刪除","formBuilder.field.moveUp":"上移","formBuilder.field.moveDown":"下移","formBuilder.field.placeholder":{text:"請輸入文本",number:"請輸入數字",date:"請選擇日期",select:"請選擇一個選項",radio:"請選擇一項",checkbox:"請選擇"},"flow.moveUp":"上移","flow.moveDown":"下移","flow.delete":"刪除","flow.option.1":"選項1","flow.option.2":"選項2","flow.option.3":"選項3","flow.controls.title":"流程控制","flow.minimap.title":"流程概覽","flow.canvas.label":"流程構建畫布","flow.background.label":"流程背景","flow.controls.label":"流程控制","flow.minimap.label":"流程概覽","flow.container.label":"流程構建器容器","flow.dragover.hint":"放置此處添加組件","flow.drop.hint":"組件已添加","flow.parentNode.default":"父節點","component.panel.title":"表單組件","component.input.title":"單行文本","component.textarea.title":"多行文本","component.select.title":"下拉選擇","component.radio.title":"單選框組","component.checkbox.title":"多選框組","component.datePicker.title":"日期選擇","component.timePicker.title":"時間選擇","component.switch.title":"開關","component.upload.title":"上傳","propertyPanel.save":"保存","propertyPanel.reset":"重置","theme.light":"淺色","theme.dark":"深色","theme.system":"跟隨系統","dashboard.settings":"設置","flow.startNode":"開始節點","form.submit":"提交","form.submitting":"提交中...","form.submitSuccess":"提交成功","form.submitError":"提交失敗","form.required":"必填項","preview.title":"表單預覽","preview.minimize":"最小化","preview.close":"關閉","preview.submit":"提交","preview.submitting":"提交中...","preview.submitSuccess":"提交成功","preview.submitError":"提交失敗","preview.required":"必填","preview.placeholder.text":"請輸入文本","preview.placeholder.number":"請輸入數字","preview.placeholder.date":"請選擇日期","preview.placeholder.select":"請選擇","preview.placeholder.radio":"請選擇一項","preview.placeholder.checkbox":"請選擇","formBuilder.header.title":"表單構建器","formBuilder.header.import":"導入","formBuilder.header.export":"導出","formBuilder.header.preview":"預覽","formBuilder.dragStart":"開始拖拽組件","formBuilder.dragEnd":"結束拖拽組件","formBuilder.dropSuccess":"組件添加成功","formBuilder.dropError":"組件添加失敗","ticket.title":"工單構建器","ticket.create":"創建工單","ticket.save":"保存工單","ticket.import":"導入","ticket.export":"導出","ticket.import.success":"導入成功","ticket.import.error":"導入失敗","ticket.export.success":"導出成功","ticket.export.error":"導出失敗","ticket.create.modal.title":"創建新流程","ticket.create.name":"流程名稱","ticket.create.key":"流程Key","ticket.create.type":"流程類型","ticket.create.description":"流程描述","ticket.create.submit":"創建","ticket.create.cancel":"取消","ticket.type.default":"默認流程","ticket.type.approval":"審批流程","ticket.type.service":"服務流程","ticket.type.ticket":"工單流程"},mCn={"welcome.modal.title":"未發現所在組織","welcome.modal.description":"您需要創建或加入已有組織","welcome.modal.join":"加入已有組織(即將上線)","welcome.modal.create":"創建組織","welcome.modal.input.placeholder":"請輸入組織名稱","welcome.message.org.required":"請創建或加入組織","welcome.message.create.success":"創建組織成功","welcome.message.create.failed":"創建組織失敗","welcome.message.verify.email":"請先驗證郵箱","welcome.message.verify.mobile":"請先驗證手機號","welcome.message.org.name.required":"請輸入組織名稱","welcome.message.org.creating":"創建組織中,請稍後...","welcome.verify.modal.title":"賬號驗證提示","welcome.verify.modal.description":"您的郵箱和手機號尚未驗證,為保障賬號安全,建議您儘快完成驗證。","welcome.verify.now":"立即驗證","welcome.verify.later":"稍後驗證"},hCn={...QEn,...XEn,...ZEn,...JEn,...eCn,...tCn,...nCn,...qEn,...rCn,...KEn,...iCn,...oCn,...aCn,...sCn,...YEn,...lCn,...cCn,...uCn,...dCn,...fCn,...pCn,...mCn},gCn={"app.title":"Bytedesk","app.logout":"Logout","app.copyright.produced":"Produced by Bytedesk.com","app.preview.down.block":"Download this page to your local project","app.welcome.link.fetch-blocks":"Get all block","app.welcome.link.block-list":"Quickly build standard, pages based on `block` development","footbar.network.normal":"Network Normal","footbar.network.disconnected":"Network Disconnected","footbar.anonymous.tip":"Anonymous mode, only supports communication between online devices in the same LAN","footbar.login.tip":"After login, supports offline messages and more features","footbar.login.skip":"Skip Login","footbar.anonymous.status":"Anonymous","footbar.login":"Login","footbar.logout":"Logout","footbar.logout.title":"Logout","footbar.logout.confirm":"Are you sure to logout?","footbar.serving.count":"Current serving count","footbar.serving.text":"Current serving: 0"},vCn={"common.yes":"Yes","common.no":"No","common.ok":"OK","common.cancel":"Cancel","common.confirm":"Confirm","common.save":"Save","common.delete":"Delete","common.edit":"Edit","common.create":"Create","common.loading":"Loading...","common.success":"Success","common.error":"Error","common.warning":"Warning","common.info":"Info","common.back":"Back","navBar.lang":"Languages","layout.user.link.help":"Help","layout.user.link.privacy":"Privacy","layout.user.link.terms":"Terms","theme.light":"Light","theme.dark":"Dark","theme.system":"System"},_Cn={"chat.copy.success":"Copy successful","chat.network.error":"Network connection failed, please check network","chat.thread.closing":"Ending conversation...","chat.thread.close.success":"Conversation ended successfully","chat.thread.close.confirm.title":"Are you sure to end the conversation?","chat.rate.invite.confirm.title":"Confirm to invite rating?","chat.menu.copy":"Copy","chat.menu.translate":"Translate","chat.menu.recall":"Recall","chat.menu.enlarge":"Enlarge","chat.menu.quickreply.add":"Add Quick Reply...","chat.menu.browser.open":"Open in Browser","chat.menu.forward":"Forward...","chat.menu.collect":"Collect","chat.menu.quote":"Quote","chat.translation.placeholder":"Please enter translation content...","chat.input.placeholder":"Please enter content, Ctrl+V to paste screenshot/image","chat.toolbar.emoji":"Emoji","chat.toolbar.image":"Image","chat.toolbar.file":"File","chat.toolbar.screenshot":"Screenshot","chat.toolbar.autoreply":"Auto Reply","chat.toolbar.audio":"Audio","chat.toolbar.webrtc":"Video Call","chat.toolbar.history":"History","chat.toolbar.block":"Block","chat.toolbar.invite.rate":"Invite Rating","chat.navbar.transfer":"Transfer","chat.navbar.close":"End","chat.navbar.note":"Notebase","chat.navbar.kbase":"Knowledge Base","chat.right.quickreply":"Quick Reply","chat.right.userinfo":"User Info","chat.right.ai":"Copilot","chat.right.ticket":"Ticket","chat.right.llm":"LLM","chat.right.group":"Group Info","chat.right.member":"Member Info","chat.right.docview":"Doc View","chat.group.notice":"Notice","chat.group.members":"Members","chat.group.admins":"Admins","chat.group.robots":"Robots","chat.group.qrcode":"QR Code","chat.group.uid.error":"Group ID error"},yCn={"dashboard.error.message":"Failed to get data","dashboard.init.organization":"Initializing organization","dashboard.init.profile":"Initializing profile","dashboard.init.workgroups":"Initializing workgroups","dashboard.init.agent":"Initializing agent profile","dashboard.transfer.accept":"{nickname} has accepted the transfer","dashboard.transfer.reject":"{nickname} has rejected the transfer","dashboard.transfer.success":"Transfer request sent successfully, waiting for response"},bCn={"menu.anonymous.title":"Anonymous Mode","menu.anonymous.home":"Messages","menu.anonymous.contact":"Contacts","menu.anonymous.robot":"Robot","menu.anonymous.setting":"Settings","menu.anonymous.status":"Anonymous Status","menu.anonymous.status.tip":"Anonymous mode only supports communication between online devices in the same LAN","menu.anonymous.login.tip":"Login to access offline messages and more features","menu.anonymous.login":"Login","menu.anonymous.current.users":"Current Users","menu.dashboard.chat":"Chat","menu.dashboard.contact":"Contact","menu.dashboard.ai":"AI Assistant","menu.dashboard.note":"Notebase","menu.dashboard.kbase":"Knowledge Base","menu.dashboard.mine":"Settings","menu.dashboard.queue":"Queue","menu.dashboard.leavemsg":"Messages","menu.dashboard.visitor":"Visitors","menu.dashboard.monitor":"Monitor","menu.dashboard.plugins":"Plugins","menu.settings":"Settings","menu.settings.logout":"Logout","menu.agent.status":"Agent Status","menu.agent.status.available":"Available","menu.agent.status.rest":"Rest","menu.agent.status.offline":"Offline","menu.language":"Language","menu.mode":"Mode","menu.mode.team":"Team Mode","menu.mode.agent":"Agent Mode","menu.mode.personal":"Personal Mode","menu.agent.offline.warning":"Please end all ongoing conversations before going offline","menu.mode.personal.coming":"Coming soon...","menu.dashboard.form":"Form","menu.dashboard.formbuilder":"Form Builder","menu.dashboard.flow":"Flow","menu.dashboard.flowbuilder":"Flow Builder","menu.dashboard.ticket":"Ticket","menu.dashboard.ticketbuilder":"Ticket Builder"},SCn={"profile.update.success":"Profile updated successfully","profile.form.avatar":"Avatar","profile.form.upload":"Upload","profile.form.username":"Username","profile.form.nickname":"Nickname","profile.form.description":"Description","profile.button.change.password":"Change Password","profile.button.change.email":"Change Email","profile.button.change.mobile":"Change Mobile","profile.email.verified":"Email Verified","profile.email.unverified":"Email Unverified","profile.mobile.verified":"Mobile Verified","profile.mobile.unverified":"Mobile Unverified","profile.email.change.title":"Change Email","profile.email.placeholder":"Enter email address","profile.email.required":"Please enter email address!","profile.email.format.invalid":"Invalid email format","profile.email.length.limit":"Email cannot exceed 50 characters","profile.email.verification.code.placeholder":"Enter verification code","profile.email.verification.code.countdown":"seconds","profile.email.verification.code.get":"Get Code","profile.email.verification.code.required":"Please enter verification code!","profile.email.not.changed":"Email is not changed!","profile.email.change.success":"Email changed successfully!","profile.email.format.error":"Invalid email format","profile.mobile.change.title":"Change Mobile","profile.mobile.placeholder":"Enter mobile number","profile.mobile.required":"Please enter mobile number!","profile.mobile.format.invalid":"Invalid mobile format","profile.mobile.verification.code.placeholder":"Enter verification code","profile.mobile.verification.code.countdown":"seconds","profile.mobile.verification.code.get":"Get Code","profile.mobile.verification.code.required":"Please enter verification code!","profile.mobile.not.changed":"Mobile number is not changed!","profile.mobile.change.success":"Mobile number changed successfully!","profile.mobile.format.error":"Invalid mobile format","profile.password.change.title":"Change Password","profile.password.old":"Old Password","profile.password.old.empty":"Old password can be empty for phone login users","profile.password.new":"New Password","profile.password.confirm":"Confirm Password","profile.password.length.error":"Password must be at least 6 characters","profile.password.mismatch":"The two passwords do not match","profile.password.change.success":"Password changed successfully!"},ECn={"setting.menu.title":"Settings","setting.menu.profile":"Profile","setting.menu.basic":"Basic Settings","setting.menu.agent":"Agent Settings","setting.menu.model":"AI Model","setting.menu.certification":"Certification","setting.menu.qrcode":"QR Code","setting.menu.shortcut":"Shortcuts","setting.menu.click":"Menu clicked","setting.save.success":"Settings saved successfully","setting.save.error":"Failed to save settings","setting.load.error":"Failed to load settings","setting.header.profile":"Personal Profile","setting.header.basic":"Basic Settings","setting.header.agent":"Agent Settings","setting.header.model":"AI Model Settings","setting.basic.sound.on":"Message Sound On","setting.basic.sound.off":"Message Sound Off","setting.basic.notification.on":"Network Status Notification On","setting.basic.notification.off":"Network Status Notification Off","setting.basic.connection.status":"Connection Status:","setting.basic.connection.connected":"✅Connected","setting.basic.connection.disconnected":"❌Disconnected","setting.basic.startup":"Start on Boot:","setting.basic.startup.on":"Enable","setting.basic.startup.off":"Disable","setting.basic.theme":"Theme:","setting.basic.language":"Language:","setting.basic.mode":"Mode:","setting.basic.mode.team":"Team Mode","setting.basic.mode.agent":"Agent Mode","setting.basic.mode.personal":"Personal Mode"},CCn={"ticket.create.title":"Create Ticket","ticket.edit.title":"Edit Ticket","ticket.form.uid":"UID","ticket.form.title":"Title","ticket.form.title.required":"Please enter ticket title","ticket.form.title.placeholder":"Enter ticket title","ticket.form.description":"Description","ticket.form.description.required":"Please enter ticket description","ticket.form.description.placeholder":"Enter ticket description","ticket.form.status":"Status","ticket.form.status.required":"Please select ticket status","ticket.form.priority":"Priority","ticket.form.priority.required":"Please select priority","ticket.form.category":"Category","ticket.form.category.required":"Please select category","ticket.form.category.placeholder":"Select category","ticket.form.user":"Customer","ticket.form.user.placeholder":"Select customer","ticket.form.assignee":"Assignee","ticket.form.assignee.placeholder":"Select assignee","ticket.form.reporter":"Reporter","ticket.form.reporter.placeholder":"Select reporter","ticket.form.workgroup":"Workgroup","ticket.form.workgroup.required":"Please select workgroup","ticket.form.workgroup.placeholder":"Select workgroup","ticket.form.thread":"Related Conversation","ticket.form.thread.placeholder":"Select related conversation","ticket.form.thread.none":"No Association","ticket.create.success":"Ticket created successfully","ticket.create.failed":"Failed to create ticket","ticket.update.success":"Ticket updated successfully","ticket.update.failed":"Failed to update ticket","ticket.submit.error":"Failed to submit ticket","ticket.delete.success":"Ticket deleted successfully","ticket.delete.error":"Failed to delete ticket","ticket.load.error":"Failed to load tickets","ticket.messages.load.error":"Failed to load ticket messages","ticket.message.send.error":"Failed to send message","ticket.workgroup.load.error":"Failed to load workgroups","ticket.category.load.error":"Failed to load categories","ticket.list.title":"Tickets","ticket.list.empty":"No tickets found","ticket.list.search.placeholder":"Search tickets","ticket.list.create":"Create Ticket","ticket.list.total":"Total","ticket.action.edit":"Edit","ticket.action.delete":"Delete","ticket.action.assign":"Assign","ticket.action.close":"Close","ticket.action.reopen":"Reopen","ticket.delete.confirm":"Are you sure to delete this ticket?","ticket.conversation.title":"Conversation","ticket.conversation.empty":"Select a ticket to view conversation","ticket.conversation.input.placeholder":"Type your message...","ticket.details.title":"Ticket Details","ticket.details.empty":"Select a ticket to view details","ticket.form.createdAt":"Created At","ticket.form.updatedAt":"Updated At","ticket.type.agent":"Agent","ticket.type.workgroup":"Workgroup","ticket.type":"Type","ticket.assignee":"Assignee","ticket.reporter":"Reporter","ticket.category":"Category","ticket.steps.title":"Processing Steps","ticket.form.upload.button":"Upload Attachments","ticket.upload.success":"File uploaded successfully","ticket.upload.failed":"File upload failed","ticket.current.filters":"Current Filters","ticket.filter.by.status":"Filter by Status","ticket.filter.by.priority":"Filter by Priority","ticket.filter.by.assignment":"Filter by Assignment","ticket.filter.by.time":"Filter by Time","ticket.filter.status_all":"All Status","ticket.filter.status_new":"New","ticket.filter.status_assigned":"Assigned","ticket.filter.status_in_progress":"In Progress","ticket.filter.status_pending":"Pending","ticket.filter.status_on_hold":"On Hold","ticket.filter.status_reopened":"Reopened","ticket.filter.status_resolved":"Resolved","ticket.filter.status_closed":"Closed","ticket.filter.status_cancelled":"Cancelled","ticket.filter.priority_all":"All Priority","ticket.filter.priority_lowest":"Lowest","ticket.filter.priority_low":"Low","ticket.filter.priority_medium":"Medium","ticket.filter.priority_high":"High","ticket.filter.priority_urgent":"Urgent","ticket.filter.priority_critical":"Critical","ticket.filter.assignment_all":"All","ticket.filter.assignment_my_tickets":"My Tickets","ticket.filter.assignment_unassigned":"Unassigned","ticket.filter.assignment_my_workgroup":"My Workgroup","ticket.filter.assignment_my_created":"Created by Me","ticket.filter.assignment_my_assigned":"Assigned to Me","ticket.filter.time_all":"All Time","ticket.filter.time_today":"Today","ticket.filter.time_yesterday":"Yesterday","ticket.filter.time_this_week":"This Week","ticket.filter.time_last_week":"Last Week","ticket.filter.time_this_month":"This Month","ticket.filter.time_last_month":"Last Month","ticket.content.title":"Ticket","ticket.content.number":"No.","ticket.delete.title":"Delete Ticket","ticket.delete.content":"Are you sure you want to delete this ticket?","ticket.delete.failed":"Failed to delete ticket","ticket.loading":"Loading tickets...","ticket.empty":"No tickets found","ticket.palette.startEvent":"Start Event","ticket.palette.task":"Task","ticket.palette.gateway":"Gateway","ticket.palette.dataObject":"Data Object","ticket.select.process":"Select Process","ticket.import.no.file":"No file selected","ticket.import.read.error":"Failed to read file","ticket.import.error":"Failed to import diagram: {error}","ticket.save.success":"BPMN saved successfully","ticket.autosave.success":"Auto-saved successfully","ticket.autosave.error":"Failed to auto-save","ticket.properties.title":"Properties","ticket.properties.noSelection":"No element selected","ticket.properties.id":"ID","ticket.properties.name":"Name","ticket.properties.type":"Type","ticket.properties.documentation":"Documentation","ticket.properties.assignee":"Assignee","ticket.properties.priority":"Priority","ticket.fetch.processes.error":"Failed to fetch processes","ticket.no.process":"No processes found, please create a process first","ticket.save.error":"Failed to save process","ticket.create.loading":"Creating process...","ticket.fetch.processes.loading":"Loading processes...","ticket.fetch.processes.empty":"No processes found","ticket.fetch.processes.success":"Processes fetched successfully","ticket.delete":"Delete","ticket.deploy":"Deploy","ticket.undeploy":"Undeploy","ticket.deploy.loading":"Deploying process...","ticket.undeploy.loading":"Undeploying process...","ticket.deploy.success":"Process deployed successfully","ticket.undeploy.success":"Process undeployed successfully","ticket.deploy.error":"Failed to deploy process","ticket.undeploy.error":"Failed to undeploy process","ticket.undeploy.confirm.title":"Confirm Undeploy","ticket.undeploy.confirm.content":"Are you sure you want to undeploy this process?"},wCn={i18_file_assistant:"File Assistant",slogan:"Chat As A Service","menu.dashboard.chat":"Chat","menu.dashboard.contact":"Contact","menu.dashboard.queue":"Queue","menu.dashboard.ticket":"Ticket","menu.dashboard.leavemsg":"Leave Msg","menu.dashboard.visitor":"Visitor","menu.dashboard.monitor":"Monitor","menu.dashboard.plugins":"Plugins","menu.dashboard.mine":"Mine","chat.toolbar.emoji":"Emoji","chat.toolbar.image":"Image","chat.toolbar.file":"File","chat.toolbar.audio":"Audio","chat.toolbar.webrtc":"Webrtc","chat.toolbar.history":"History","chat.toolbar.block":"Block","chat.toolbar.screenshot":"Screenshot","chat.toolbar.invite.rate":"InviteRate","chat.toolbar.autoreply":"AutoReply","chat.toolbar.autoreply.on":"AutoReply(On)","chat.navbar.transfer":"Transfer","chat.navbar.ticket":"Ticket","chat.navbar.crm":"Crm","chat.navbar.close":"Close","chat.navbar.category":"Category","chat.navbar.ai":"AI","chat.navbar.queue":"Queue","chat.right.ai":"Copilot","chat.right.quickreply":"QuickReply","chat.right.ticket":"Ticket","chat.right.userinfo":"UserInfo","chat.right.llm":"Llm","chat.right.docview":"DocView","chat.right.group":"Group","chat.right.member":"Member","chat.ai.summary":"Thread Summary","chat.ai.switch":"Switch","chat.thread.nomore":"No More","chat.message.loadmore":"Load More","dashboard.footbar.logout":"Logout",SERVICE:"Customer Service Robot",MARKETING:"Marketing Robot",KNOWLEDGEBASE:"Knowledgebase Robot",QA:"QA Robot",AGENT_ASSISTANT:"Agent Asistant",loading:"Loading",create:"Create",creating:"Creating","create.success":"Create success","create.fail":"Create fail",update:"Update",updating:"Updating","update.success":"Update success","update.fail":"Update fail",save:"Save",saving:"Saving",email:"Email","email.verified":"Email Verified","email.unverified":"Email Unverified",mobile:"Mobile","mobile.verified":"Mobile Verified","mobile.unverified":"Mobile Unverified",captcha:"Captcha",logging:"Logging","login.success":"Login Success","login.error":"Login Failed",registering:"Registering","register.success":"Register Success","register.error":"Register Failed","username.change.tip":"Username(should re login after changed)",createKb:"Create Knowledge Base",createDept:"Create Department",upload:"Upload",import:"Import",export:"Export","download.template":"Download Template",open:"Open",copy:"Copy","copy.success":"Copy success",ok:"OK",cancel:"Cancel",bind:"Bind",edit:"Edit",editing:"Editing","edit.success":"Edit success","edit.fail":"Edit fail",delete:"Delete",deleting:"Deleting",deleteTip:"Delete Tip",deleteAffirm:"Are u sure to delete","delete.success":"Delete success","delete.fail":"Delete fail","process.success":"Process success","process.fail":"Process fail",preview:"Preview",close:"Close",closing:"Closing",closeTip:"Close Tip",closeASure:"Are u sure to close","close.success":"Close success",choose:"Choose","leavemsg.enabled":"Leave Message Enabled",transfer:"Transfer","transfer.success":"Transfer success","transfer.fail":"Transfer fail","transfer.reason":"Transfer Reason",refresh:"Refresh",noAgent:"No Agent Available"},xCn={"pages.login.title":"Bytedesk","pages.layouts.userLayout.title":"Chat As A Service","pages.login.accountLogin.tab":"Account Login","pages.login.accountLogin.errorMessage":"Incorrect username/password(admin/ant.design)","pages.login.failure":"Login failed, please try again!","pages.login.success":"Login successful!","pages.login.username.placeholder":"Email","pages.login.username.required":"Please input your username!","pages.login.password.placeholder":"Password","pages.login.repassword.placeholder":"RePassword","pages.login.password.required":"Please input your password!","pages.login.repassword.required":"Please input your password!","pages.login.phoneLogin.tab":"Phone Login","pages.login.phoneLogin.errorMessage":"Verification Code Error","pages.login.phoneNumber.placeholder":"Phone Number","pages.login.phoneNumber.required":"Please input your phone number!","pages.login.phoneNumber.invalid":"Phone number is invalid!","pages.login.captcha.placeholder":"Verification Code","pages.login.captcha.required":"Please input verification code!","pages.login.phoneLogin.getVerificationCode":"Get Code","pages.login.anonymousLogin":"Anonymous Login","pages.getCaptchaSecondText":"sec(s)","pages.login.scanLogin.tab":"Scan Login","pages.login.rememberMe":"Remember me","pages.login.forgotPassword":"Forgot Password ?","pages.login.submit":"Login","pages.login.loginWith":"Login with :","pages.login.register":"Register","pages.login.registerAccount":"Register Account","pages.login.auto.register":"Unregisterd Mobile will auto register","pages.welcome.link":"Welcome","pages.robot.new":"New","pages.robot.chat":"Chat","pages.robot.edit":"Edit","pages.robot.delete":"Delete","pages.robot.upload":"Upload","pages.robot.tab.basic":"Basic","pages.robot.tab.kb":"Knowledge Base","pages.robot.tab.channel":"Channel","pages.robot.tab.statistic":"Statistic","pages.robot.tab.advanced":"Advanced","pages.robot.tab.flow":"Flow","pages.robot.tab.avatar":"Avatar","pages.robot.tab.title":"Title","pages.robot.tab.welcomeTip":"welcomeTip","pages.robot.tab.description":"Description","pages.robot.tab.preview":"Preview","pages.robot.tab.website":"Website","pages.robot.tab.helpdesk":"Helpdesk","pages.robot.tab.icp":"ICP 17041763-1","pages.robot.tab.police":"44030502008688","pages.robot.kb.file":"File","pages.robot.kb.text":"Text","pages.robot.kb.qa":"Q&A","pages.robot.kb.web":"Website","pages.robot.file.title":"Title","pages.robot.file.content":"Content","pages.robot.file.type":"Type","pages.robot.file.size":"Size","pages.robot.file.action":"Action","pages.robot.file.delete":"Delete","pages.robot.file.save":"Save","pages.robot.file.cancel":"Cancel","pages.robot.file.uploading":"Uploading...","pages.robot.file.name_invalid":"File name should not contain _","pages.robot.file.parse":"Parse File Content","pages.setting":"Settings","pages.logout":"Logout","pages.footer.website":"Bytedesk","pages.footer.helpcenter":"help","pages.login.remember":"remember me","pages.agent.tab.basic":"Basic","pages.agent.robot":"Robot","pages.agent.service.settings":"Service Settings","pages.agent.service.settings.topTip":"Top Tip","pages.agent.service.settings.welcomeTip":"Welcome Tip","pages.agent.service.settings.leavemsgTip":"Leavemsg Tip","pages.agent.service.settings.autoCloseMin":"Auto Close Min","pages.agent.service.settings.showLogo":"Show Logo","pages.agent.service.settings.maxThreadCount":"Max Thread Count","pages.advanced.faq":"FAQ","pages.advanced.quickButton":"Quick Buttons","pages.advanced.faqGuess":"Smart Suggestions","pages.advanced.faqHot":"Hot Questions","pages.advanced.faqShortcut":"Quick Replies","pages.advanced.rate":"Satisfaction Rating","pages.advanced.autoreply":"Auto Reply","pages.advanced.leaveMsg":"Leave Message","pages.advanced.survey":"Survey","pages.advanced.history":"History","pages.advanced.inputAssociation":"Input Association","pages.advanced.antiHarassment":"Captcha Settings","pages.advanced.captcha":"Captcha Settings","pages.advanced.showPreForm":"Show PreForm","pages.advanced.showHistory":"Show History","pages.advanced.showInputAssociation":"Show Input Association","pages.advanced.showCaptcha":"Show Captcha","pages.login.country.placeholder":"Select Country/Region","pages.login.country.china":"China","pages.login.country.hongkong":"Hong Kong","pages.login.country.taiwan":"Taiwan","pages.login.country.macao":"Macao","pages.login.country.japan":"Japan","pages.login.country.korea":"Korea","pages.login.country.usa":"United States","pages.login.country.canada":"Canada","pages.login.country.uk":"United Kingdom","pages.login.country.germany":"Germany","pages.login.country.france":"France","pages.login.country.australia":"Australia","pages.login.country.singapore":"Singapore","pages.login.country.malaysia":"Malaysia","pages.login.country.thailand":"Thailand","pages.login.country.vietnam":"Vietnam","pages.login.country.philippines":"Philippines","pages.login.country.indonesia":"Indonesia","pages.login.country.italy":"Italy","pages.login.country.spain":"Spain","pages.login.country.russia":"Russia","pages.login.country.newzealand":"New Zealand","pages.anonymous.title":"Anonymous Mode","pages.anonymous.home":"Home","pages.anonymous.contact":"Contacts","pages.anonymous.robot":"Robot","pages.anonymous.setting":"Settings","pages.anonymous.welcome":"Welcome to Anonymous Mode","pages.anonymous.description":"You can use system features anonymously in this mode","block.title":"Block Settings","block.type":"Block Type","block.user":"Block User","block.ip":"Block IP","block.permanent":"Permanent Block","block.until":"Block Until","block.until.required":"Please select block end time"},TCn={"i18n.lang.en-US":"English","i18n.lang.zh-CN":"简体中文","i18n.lang.zh-TW":"繁體中文","i18n.queue.tip":"Queue","i18n.queue.message.template":"Current Queuing: {0} people, Wait {1} minutes","i18n.queue.empty":"Queue empty","i18n.queue.accept":"accept","i18n.system.notification":"System Notification","i18n.old.password.wrong":"Old password is incorrect","i18n.change.password":"Change Password","i18n.auth.captcha.send.success":"Captcha Send success","i18n.auth.captcha.error":"Captcha Error","i18n.auth.captcha.expired":"Captcha Expired","i18n.auth.captcha.already.send":"Captcha Already Send","i18n.auth.captcha.validate.failed":"Captcha Validate Failed","i18n.faq":"Faq","i18n.rate":"Rate","i18n.input.placeholder":"Please input","i18n.loading":"Loading","i18n.load.more":"Load more","i18n.load.nomore":"No more","i18n.typing":"Typing","i18n.robot":"Robot","i18n.agent":"Agent","i18n.workgroup":"WorkGroup","i18n.group":"Group","i18n.rate.invite":"Rate Invite","i18n.ticket":"Ticket","i18n.notice":"Notice","i18n.notice.title":"Notice","i18n.notice.content":"Notice Content","i18n.notice.ip":"IP Address","i18n.notice.ipLocation":"IP Location","i18n.notice.parse.file.success":"Parse file success","i18n.notice.parse.file.error":"Parse file error","i18n.DEPT.ALL":"All","i18n.DEPT.ADMIN":"Admin","i18n.DEPT.HR":"HR","i18n.DEPT.ORG":"Org","i18n.DEPT.IT":"IT","i18n.DEPT.MONEY":"Money","i18n.DEPT.MARKETING":"Marketing","i18n.DEPT.SALES":"Sales","i18n.DEPT.CS":"CustomerService","i18n.new.message":"New Message","i18n.file.assistant":"file assistant","i18n.clipboard.assistant":"clipboard assistant","i18n.thread.content.image":"image","i18n.thread.content.file":"file","i18n.top.tip":"Top Tip","i18n.top.make":"Make Top","i18n.top.cancel":"Cancel Top","i18n.unread.make":"Mark as unread","i18n.unread.cancel":"Mark as read","i18n.star.make":"Make Star","i18n.star.cancel":"Cancel Star","i18n.disturb.make":"Make Disturb","i18n.disturb.cancel":"Cancel Disturb","i18n.transfer":"Transfer","i18n.hide":"Hide","i18n.network.disconnected":"Network disconnected","i18n.message.pulling":"Message pulling","i18n.leavemsg.tip":"Leave a message","i18n.welcome.tip":"What can i help you?","i18n.reenter.tip":"continue chat","i18n.under.development":"Under development","i18n.user.description":"User Description","i18n.robot.nickname":"DefaultRobot","i18n.robot.description":"Default Robot Description","i18n.robot.noreply":"Answer Not Found","i18n.robot.agent.assistant.nickname":"DefaultRobotAgent","i18n.llm.prompt":"You are a smart and helpful artificial intelligence, capable of providing useful, detailed, and polite answers to human questions.","i18n.agent.nickname":"DefaultAgent","i18n.agent.description":"Default Agent Description","i18n.workgroup.nickname":"DefaultWorkgroup","i18n.workgroup.description":"Default Workgroup Description","i18n.contact":"Ask Contact","i18n.thanks":"Thanks","i18n.welcome":"Welcome","i18n.bye":"Bye","i18n.tip.title":"Tip","i18n.tip.network.disconnected":"Network disconnected","i18n.tip.network.connected":"Network connected","i18n.kb.name":"KbName","i18n.kb.platform.name":"Platform KbName","i18n.kb.helpcenter.name":"Helpdoc KbName","i18n.kb.llm.name":"Llm KbName","i18n.kb.keyword.name":"Keyword KbName","i18n.kb.faq.name":"Faq KbName","i18n.kb.autoreply.name":"AutoReply KbName","i18n.kb.quickreply.name":"QuickReply KbName","i18n.kb.taboo.name":"Taboo KbName","i18n.kb.description":"KbDescription","i18n.agent.nicknameKb":"DefaultAgentKbName","i18n.contact.title":"If it's convenient, please provide your contact number so that I can communicate with you via phone for a more intuitive conversation.","i18n.contact.content":"If it's convenient, please provide your contact number so that I can communicate with you via phone for a more intuitive conversation.","i18n.thanks.title":"Thank you for visiting, we look forward to seeing you again.","i18n.thanks.content":"Thank you for visiting, we look forward to seeing you again.","i18n.welcome.title":"Hello, how can I assist you?","i18n.welcome.content":"Hello, how can I assist you?","i18n.bye.title":"Your satisfaction is always our goal. If you have any questions, please feel free to contact us.","i18n.bye.content":"Your satisfaction is always our goal. If you have any questions, please feel free to contact us.","i18n.vip.api":"VIP API","i18n.faq.category.demo.1":"CategoryDemo1","i18n.faq.category.demo.2":"CategoryDemo2","i18n.faq.demo.title.1":"FaqTitleText1","i18n.faq.demo.content.1":"FaqContentText1","i18n.faq.demo.title.2":"FaqTitleImage2","i18n.faq.demo.content.2":"https://www.weiyuai.cn/logo.png","i18n.quick.button.demo.title.1":"QuickButtonTitleText1","i18n.quick.button.demo.content.1":"QuickButtonContentText1","i18n.quick.button.demo.title.2":"QuickButtonTitleUrl2","i18n.quick.button.demo.content.2":"https://www.weiyuai.cn","i18n.preview.title":"Preview","i18n.cancel":"Cancel","i18n.confirm":"Confirm","i18n.send":"Send","i18n.transferToAgent":"Transfer to Agent","i18n.auto.closed":"Auto closed","i18n.agent.closed":"Agent closed","i18n.online.chat":"Online Chat","i18n.JOB":"Job","i18n.LANGUAGE":"Language","i18n.TOOL":"Tool","i18n.WRITING":"Writing","i18n.RAG":"RAG","i18n.module.ai":"AI","i18n.module.void":"Void","i18n.module.service":"Service","i18n.module.ticket":"Ticket","i18n.black.user.already.exists":"User already blocked","i18n.ticket.category.technical_support":"Technical Support","i18n.ticket.category.service_request":"Service Request","i18n.ticket.category.consultation":"Consultation","i18n.ticket.category.complaint_suggestion":"Complaint Suggestion","i18n.ticket.category.operation_maintenance":"Operation Maintenance","i18n.ticket.category.other":"Other","i18n.vip.component":"VIP Component, Contact us for more details","i18n.vip.contactUs":"Contact us","i18n.vip.contactUrl":"https://www.bytedesk.com","i18n.ticket.process.name":"Ticket Process","i18n.thread.process.name":"Thread Process"},RCn={"login.privacy.required":"Please read and agree to the privacy agreement","login.privacy.agreement":"Agree to Privacy Agreement","login.switch.server":"Switch Server","login.success":"Login successful","login.failed":"Login failed","login.anonymous":"Anonymous Login","login.other.methods":"Other login methods","login.remember":"Remember me","login.forgot":"Forgot password?","login.register":"Register account","server.button.back":"Back","server.button.save":"Save","server.button.reset":"Reset","server.button.help":"Help","server.save.success":"Save successfully","server.reset.success":"Reset successfully, restored to default cloud server","server.custom.enable":"Enable Custom Server","server.api.url.label":"API Server URL (e.g. http://127.0.0.1:9003 or https://api.bytedesk.com)","server.api.url.placeholder":"http://127.0.0.1:9003","server.websocket.url.label":"WebSocket Server URL (e.g. ws://127.0.0.1:9885/websocket or wss://api.bytedesk.com/websocket)","server.websocket.url.placeholder":"ws://127.0.0.1:9885/websocket","server.input.error":"Please enter correct server address"},OCn={"thread.error.message":"Failed to get data","thread.feature.unavailable":"TODO: This feature is not available yet","thread.menu.top":"Pin to Top","thread.menu.untop":"Unpin","thread.menu.read":"Mark as Read","thread.menu.unread":"Mark as Unread","thread.menu.mute":"Mute","thread.menu.unmute":"Unmute","thread.menu.transfer":"Transfer","thread.menu.block":"Block","thread.menu.ticket":"Create Ticket","thread.menu.crm":"View in CRM","thread.menu.summary":"Summary","thread.status.robot":"[Robot]","thread.status.agent":"[1-on-1]","thread.status.workgroup":"[Group]","thread.search.placeholder":"Search conversations...","thread.menu.filter":"Filter Threads","thread.menu.groupThread":"Group Thread","thread.menu.robotThread":"Robot Thread","thread.menu.workgroupThread":"Workgroup Thread","thread.menu.agentThread":"Agent Thread","thread.menu.ticketThread":"Ticket Thread","thread.menu.memberThread":"Member Thread","thread.menu.deviceThread":"Device Thread","thread.menu.systemThread":"System Thread","thread.status.loading":"Loading...","thread.status.empty":"No conversations","thread.status.error":"Failed to load conversations","thread.status.queue":"Queue ({count})","thread.status.network.offline":"Network disconnected","thread.status.network.online":"Network connected","thread.status.message.pulling":"Pulling messages...","thread.status.message.empty":"No messages","thread.status.message.error":"Failed to load messages","thread.status.message.end":"No more messages","thread.status.message.typing":"Typing...","thread.status.message.transfer":"Transferring...","thread.status.message.transferred":"Transferred","thread.status.message.closed":"Conversation closed","thread.dropdown.create.group":"Create Group Chat","thread.dropdown.create.ai":"Create AI Chat","thread.agent.status.online":"Online","thread.agent.status.offline":"Offline","thread.agent.status.busy":"Busy","thread.refresh.pull":"↓ Pull to refresh","thread.refresh.release":"↑ Release to refresh","thread.list.no.more":"No more data","thread.set.success":"Set successfully","thread.set.error":"Set failed","thread.menu.star":"Star","thread.menu.star.1":"Star Level 1","thread.menu.star.2":"Star Level 2","thread.menu.star.3":"Star Level 3","thread.menu.star.4":"Star Level 4","thread.menu.hide":"Hide","thread.status.text":"{status}","thread.status.online":"Online","thread.status.offline":"Offline","thread.status.busy":"🏃‍♀️Busy","thread.coming.soon":"Coming soon...","thread.menu.star.cancel":"Remove Star","thread.loading.more":"Loading more..."},ICn={"message.status.read":"Read","message.status.delivered":"Delivered","message.status.sending":"Sending","message.status.sent":"Sent","message.status.failed":"Failed to send","message.status.retry":"Retry","quickreply.search.placeholder":"Search","quickreply.button.send":"Send","quickreply.button.copy":"Copy","quickreply.button.create.category":"Create Category","quickreply.button.create.reply":"Create Quick Reply","quickreply.copy.success":"{content} copied to clipboard","category.form.edit.title":"Edit Category","category.form.create.title":"Create Category","category.form.name":"Category Name","category.form.name.required":"Please enter category name!","category.form.name.placeholder":"Enter category name","category.create.failed":"Failed to create category","quickreply.drawer.title":"{isEdit, select, true {Edit Quick Reply} other {New Quick Reply}}","quickreply.form.category":"Category","quickreply.form.category.required":"Please select a category","quickreply.form.category.placeholder":"Select a category","quickreply.form.type":"Type","quickreply.form.type.required":"Please select a type","quickreply.form.type.placeholder":"Select a type","quickreply.form.title":"Title","quickreply.form.title.required":"Please enter a title","quickreply.form.content":"Content","quickreply.type.text":"Text","quickreply.type.image":"Image","quickreply.type.video":"Video","quickreply.type.audio":"Audio","quickreply.type.file":"File","quickreply.upload.text":"Click or drag file to upload","quickreply.upload.success":"{filename} uploaded successfully","quickreply.upload.error":"{filename} upload failed","quickreply.upload.uploading":"{filename} uploading","quickreply.form.validate.error":"Please check the form"},NCn={"customer.info.basic":"Basic Info","customer.info.browser":"Browser Info","customer.info.os":"OS Info","customer.info.device":"Device Info","customer.info.browse.record":"Browse Record","customer.info.tag":"Tag Info","customer.info.load.error":"Failed to load visitor info","customer.info.add.crm":"Add to CRM","customer.info.add.tag":"Add Tag","customer.basic.nickname":"Nickname","customer.basic.location":"IP Location","customer.basic.note":"Note","customer.basic.client":"Client","customer.basic.status":"Status","customer.basic.empty":"N/A","black.title":"Block Settings","black.type":"Block Type","black.type.required":"Please select at least one block type","black.user":"Block User","black.ip":"Block IP","black.permanent":"Permanent Block","black.until":"Block Until","black.until.required":"Please select block end time","black.reason":"Block Reason","black.reason.required":"Please enter block reason","black.reason.placeholder":"Enter reason for blocking","black.success":"Block successfully"},MCn={"contact.list.new":"New Friends","contact.list.device":"LAN Devices","contact.list.group":"Groups","contact.list.channel":"Channels","contact.list.company":"Company Contacts","contact.list.friend":"Contacts","contact.search.placeholder":"Search contacts...","contact.manager.button":"Contact Manager","contact.manager.coming":"Coming soon...","member.detail.nickname":"Nickname","member.detail.jobno":"Job No.","member.detail.seatno":"Seat No.","member.detail.telephone":"Telephone","member.detail.loading":"Loading...","member.detail.chat.button":"Start Chat"},ACn={"autoreply.title":"Auto Reply","autoreply.enable.label":"Enable Auto Reply","autoreply.type.label":"Auto Reply Type","autoreply.type.fixed":"Fixed Reply","autoreply.type.keyword":"Keyword Match","autoreply.type.llm":"AI Model Reply","autoreply.fixed.add":"Add Fixed Reply","autoreply.fixed.select":"Select Fixed Reply","autoreply.fixed.type":"Fixed Reply Type","autoreply.fixed.content":"Fixed Reply Content","autoreply.content.text":"Text","autoreply.content.image":"Image","autoreply.content.video":"Video","autoreply.content.audio":"Audio","autoreply.content.file":"File","autoreply.save.loading":"Saving...","autoreply.save.success":"Saved successfully","autoreply.save.error":"Failed to save","autoreply.keyword.add":"Add Keyword Knowledge Base","autoreply.keyword.select":"Select Keyword Knowledge Base","autoreply.llm.add":"Add AI Model Knowledge Base","autoreply.llm.select":"Select AI Model Knowledge Base"},PCn={"queue.accepting":"Accepting...","queue.accept.success":"Accepted successfully","queue.accept.failed":"Failed to accept","queue.accept":"Accept","queue.empty":"No queuing visitors","queue.loading":"Loading queue...","queue.error":"Failed to load queue","queue.count":"{count} visitors queuing","queue.wait.time":"Estimated wait time: {minutes} minutes"},DCn={"group.create.title":"Create Group Chat","group.create.contacts":"Contacts","group.create.members":"Members","group.create.members.min":"Please select at least 2 members","group.create.creating":"Creating group...","group.create.org.empty":"No organization selected","group.create.success":"Group created successfully","group.create.failed":"Failed to create group","group.create.loading":"Loading members...","group.create.error":"Failed to load members"},kCn={"upload.modal.title":"Upload Files","upload.drag.text":"Click or drag files here to upload","upload.drag.hint":"Support for single or bulk upload","upload.drag.hint.size":"支持单个或批量上传,文件大小不超过10MB","upload.drag.hint.withtype":"支持单个或批量上传 {acceptTypes} 格式的文件","upload.drag.hint.withtype.size":"支持单个或批量上传 {acceptTypes} 格式的文件,文件大小不超过10MB","upload.uploading":"{filename} uploading...","upload.success":"{filename} uploaded successfully","upload.failed":"{filename} upload failed","upload.delete.confirm":"Are you sure to delete this file?","upload.preview.image":"Image Preview","upload.preview.file":"File Preview","upload.button.ok":"OK","upload.button.cancel":"Cancel","upload.maxCount":"Cannot upload more than {maxCount} files","upload.maxSize":"File size cannot exceed {maxSize}MB"},LCn={"flow.title":"Flow Builder","flow.new":"New Flow","flow.copy":"Copy","flow.run":"Run","flow.start":"Start","flow.logic":"Logic","flow.json":"Flow JSON","flow.action":"Action","flow.import":"Import","flow.export":"Export","flow.startChat":"Start Chat","flow.closeChat":"Close Chat","flow.container":"Container Components","flow.form":"Form Components","flow.parentNode":"Parent Node","flow.textField":"Text Field","flow.numberField":"Number Field","flow.datePicker":"Date Picker","flow.select":"Select","flow.checkbox":"Checkbox Group","flow.radio":"Radio Group","flow.properties":"Properties","flow.nodeName":"Node Name","flow.nodeDesc":"Node Description","flow.componentType":"Component Type","flow.labelName":"Label Name","flow.options":"Options","flow.preview":"Preview","flow.submit":"Submit","app.language":"Language","leftPanel.container":"Container Components","leftPanel.form":"Form Components","leftPanel.parentNode":"Parent Node","leftPanel.textField":"Text Field","leftPanel.numberField":"Number Field","leftPanel.datePicker":"Date Picker","leftPanel.select":"Select","leftPanel.checkbox":"Checkbox Group","leftPanel.radio":"Radio Group","propertyPanel.settings":"Properties","propertyPanel.nodeId":"Node ID","propertyPanel.nodeType":"Node Type","propertyPanel.nodeName":"Node Name","propertyPanel.nodeDesc":"Node Description","propertyPanel.componentType":"Component Type","propertyPanel.labelName":"Label Name","propertyPanel.options":"Options","propertyPanel.placeholder.name":"Please input node name","propertyPanel.placeholder.desc":"Please input node description","propertyPanel.placeholder.label":"Please input label name","propertyPanel.placeholder.options":"Press enter to add option","nodes.textField.label":"Text Field","nodes.numberField.label":"Number Field","nodes.datePicker.label":"Date","nodes.select.label":"Select","nodes.checkbox.label":"Checkbox Group","nodes.radio.label":"Radio Group","nodes.unknown":"Unknown Component","formBuilder.title":"Form Builder","formBuilder.preview":"Preview","formBuilder.settings":"Settings","formBuilder.addField":"Add Field","formBuilder.delete":"Delete","formBuilder.moveUp":"Move Up","formBuilder.moveDown":"Move Down","formBuilder.fieldTypes":{text:"Text Field",number:"Number Field",date:"Date Picker",select:"Select",radio:"Radio",checkbox:"Checkbox",textarea:"Text Area"},"formBuilder.placeholder":{formName:"Please input form name",fieldName:"Please input field name",fieldLabel:"Please input field label",options:"Press enter to add option"},"formBuilder.validation":{required:"Required",optional:"Optional",unique:"Unique",min:"Min",max:"Max"},"formBuilder.import":"Import","formBuilder.export":"Export","formBuilder.import.success":"Import successful","formBuilder.import.error":"Import failed, please check file format","formBuilder.export.success":"Export successful","formBuilder.export.error":"Export failed","formBuilder.export.filename":"form-config.json","formBuilder.dragStart":"Start dragging component","formBuilder.dragEnd":"End dragging component","formBuilder.dropSuccess":"Component added successfully","formBuilder.dropError":"Failed to add component","formBuilder.canvas.empty":"Drag and drop form fields here","formBuilder.field":{delete:"Delete",moveUp:"Move Up",moveDown:"Move Down",placeholder:{text:"Please input text",number:"Please input number",date:"Please select date",select:"Please select an option",radio:"Please select one",checkbox:"Please select"}},"flow.moveUp":"Move Up","flow.moveDown":"Move Down","flow.delete":"Delete","flow.option.1":"Option 1","flow.option.2":"Option 2","flow.option.3":"Option 3","flow.controls.title":"Flow Controls","flow.minimap.title":"Flow Overview","flow.canvas.label":"Flow Builder Canvas","flow.background.label":"Flow Background","flow.controls.label":"Flow Controls","flow.minimap.label":"Flow Overview","flow.container.label":"Flow Builder Container","flow.dragover.hint":"Drop here to add component","flow.drop.hint":"Component added","flow.parentNode.default":"Parent Node","component.panel.title":"Form Components","component.input.title":"Text Input","component.textarea.title":"Text Area","component.select.title":"Select","component.radio.title":"Radio Group","component.checkbox.title":"Checkbox Group","component.datePicker.title":"Date Picker","component.timePicker.title":"Time Picker","component.switch.title":"Switch","component.upload.title":"Upload","propertyPanel.save":"Save","propertyPanel.reset":"Reset","theme.light":"Light","theme.dark":"Dark","theme.system":"System","dashboard.settings":"Settings","flow.startNode":"Start Node","form.submit":"Submit","form.submitting":"Submitting...","form.submitSuccess":"Submit Success","form.submitError":"Submit Failed","form.required":"Required","preview.title":"Form Preview","preview.minimize":"Minimize","preview.close":"Close","preview.submit":"Submit","preview.submitting":"Submitting...","preview.submitSuccess":"Submit Success","preview.submitError":"Submit Failed","preview.required":"Required","preview.placeholder.text":"Please input text","preview.placeholder.number":"Please input number","preview.placeholder.date":"Please select date","preview.placeholder.select":"Please select","preview.placeholder.radio":"Please select one","preview.placeholder.checkbox":"Please select","formBuilder.header.title":"Form Builder","formBuilder.header.import":"Import","formBuilder.header.export":"Export","formBuilder.header.preview":"Preview","ticket.title":"Ticket Builder","ticket.create":"Create Ticket Flow","ticket.save":"Save Ticket Flow","ticket.import":"Import","ticket.export":"Export","ticket.import.success":"Import successful","ticket.import.error":"Import failed","ticket.export.success":"Export successful","ticket.export.error":"Export failed","ticket.create.error":"Failed to create diagram","ticket.create.modal.title":"Create New Process","ticket.create.name":"Process Name","ticket.create.key":"Process Key","ticket.create.type":"Process Type","ticket.create.description":"Description","ticket.create.submit":"Create","ticket.create.cancel":"Cancel","ticket.type.default":"Default Process","ticket.type.approval":"Approval Process","ticket.type.service":"Service Process","ticket.type.ticket":"Ticket Process"},$Cn={"welcome.modal.title":"No Organization Found","welcome.modal.description":"You need to create or join an organization","welcome.modal.join":"Join Organization (Coming Soon)","welcome.modal.create":"Create Organization","welcome.modal.input.placeholder":"Please enter organization name","welcome.message.org.required":"Please create or join an organization","welcome.message.create.success":"Organization created successfully","welcome.message.create.failed":"Failed to create organization","welcome.message.verify.email":"Please verify your email first","welcome.message.verify.mobile":"Please verify your mobile number first","welcome.message.org.name.required":"Please enter organization name","welcome.message.org.creating":"Creating organization, please wait...","welcome.verify.modal.title":"Account Verification","welcome.verify.modal.description":"Your email and mobile number have not been verified. For account security, we recommend completing verification as soon as possible.","welcome.verify.now":"Verify Now","welcome.verify.later":"Verify Later"},FCn={...gCn,...vCn,..._Cn,...yCn,...bCn,...SCn,...ECn,...CCn,...wCn,...xCn,...TCn,...RCn,...OCn,...ICn,...NCn,...MCn,...ACn,...PCn,...DCn,...kCn,...LCn,...$Cn},BCn={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},GFe={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},$o={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},xs={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},Im={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"};class Zt{static getFirstMatch(t,n){const r=n.match(t);return r&&r.length>0&&r[1]||""}static getSecondMatch(t,n){const r=n.match(t);return r&&r.length>1&&r[2]||""}static matchAndReturnConst(t,n,r){if(t.test(n))return r}static getWindowsVersionName(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}static getMacOSVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),n[0]===10)switch(n[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}static getAndroidVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),!(n[0]===1&&n[1]<5)){if(n[0]===1&&n[1]<6)return"Cupcake";if(n[0]===1&&n[1]>=6)return"Donut";if(n[0]===2&&n[1]<2)return"Eclair";if(n[0]===2&&n[1]===2)return"Froyo";if(n[0]===2&&n[1]>2)return"Gingerbread";if(n[0]===3)return"Honeycomb";if(n[0]===4&&n[1]<1)return"Ice Cream Sandwich";if(n[0]===4&&n[1]<4)return"Jelly Bean";if(n[0]===4&&n[1]>=4)return"KitKat";if(n[0]===5)return"Lollipop";if(n[0]===6)return"Marshmallow";if(n[0]===7)return"Nougat";if(n[0]===8)return"Oreo";if(n[0]===9)return"Pie"}}static getVersionPrecision(t){return t.split(".").length}static compareVersions(t,n,r=!1){const i=Zt.getVersionPrecision(t),o=Zt.getVersionPrecision(n);let a=Math.max(i,o),s=0;const l=Zt.map([t,n],c=>{const u=a-Zt.getVersionPrecision(c),d=c+new Array(u+1).join(".0");return Zt.map(d.split("."),f=>new Array(20-f.length).join("0")+f).reverse()});for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(l[0][a]>l[1][a])return 1;if(l[0][a]===l[1][a]){if(a===s)return 0;a-=1}else if(l[0][a]{r[l]=a[l]})}return t}static getBrowserAlias(t){return BCn[t]}static getBrowserTypeByAlias(t){return GFe[t]||""}}const Ai=/version\/(\d+(\.?_?\d+)+)/i,UCn=[{test:[/googlebot/i],describe(e){const t={name:"Googlebot"},n=Zt.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/opera/i],describe(e){const t={name:"Opera"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe(e){const t={name:"Opera"},n=Zt.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe(e){const t={name:"Samsung Internet for Android"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe(e){const t={name:"NAVER Whale Browser"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe(e){const t={name:"MZ Browser"},n=Zt.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/focus/i],describe(e){const t={name:"Focus"},n=Zt.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/swing/i],describe(e){const t={name:"Swing"},n=Zt.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/coast/i],describe(e){const t={name:"Opera Coast"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe(e){const t={name:"Opera Touch"},n=Zt.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe(e){const t={name:"Yandex Browser"},n=Zt.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe(e){const t={name:"UC Browser"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe(e){const t={name:"Maxthon"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe(e){const t={name:"Epiphany"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe(e){const t={name:"Puffin"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe(e){const t={name:"Sleipnir"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe(e){const t={name:"K-Meleon"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe(e){const t={name:"WeChat"},n=Zt.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe(e){const t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=Zt.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe(e){const t={name:"Internet Explorer"},n=Zt.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe(e){const t={name:"Microsoft Edge"},n=Zt.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe(e){const t={name:"Microsoft Edge"},n=Zt.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe(e){const t={name:"Vivaldi"},n=Zt.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe(e){const t={name:"SeaMonkey"},n=Zt.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe(e){const t={name:"Sailfish"},n=Zt.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe(e){const t={name:"Amazon Silk"},n=Zt.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe(e){const t={name:"PhantomJS"},n=Zt.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe(e){const t={name:"SlimerJS"},n=Zt.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t={name:"BlackBerry"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe(e){const t={name:"WebOS Browser"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe(e){const t={name:"Bada"},n=Zt.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe(e){const t={name:"Tizen"},n=Zt.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe(e){const t={name:"QupZilla"},n=Zt.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe(e){const t={name:"Firefox"},n=Zt.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe(e){const t={name:"Electron"},n=Zt.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe(e){const t={name:"Miui"},n=Zt.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe(e){const t={name:"Chromium"},n=Zt.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe(e){const t={name:"Chrome"},n=Zt.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe(e){const t={name:"Google Search"},n=Zt.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t={name:"Android Browser"},n=Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe(e){const t={name:"PlayStation 4"},n=Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe(e){const t={name:"Safari"},n=Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/.*/i],describe(e){const t=/^(.*)\/(.*) /,n=/^(.*)\/(.*)[ \t]\((.*)/,i=e.search("\\(")!==-1?n:t;return{name:Zt.getFirstMatch(i,e),version:Zt.getSecondMatch(i,e)}}}],jCn=[{test:[/Roku\/DVP/],describe(e){const t=Zt.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:xs.Roku,version:t}}},{test:[/windows phone/i],describe(e){const t=Zt.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:xs.WindowsPhone,version:t}}},{test:[/windows /i],describe(e){const t=Zt.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=Zt.getWindowsVersionName(t);return{name:xs.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(e){const t={name:xs.iOS},n=Zt.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe(e){const t=Zt.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=Zt.getMacOSVersionName(t),r={name:xs.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe(e){const t=Zt.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:xs.iOS,version:t}}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t=Zt.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=Zt.getAndroidVersionName(t),r={name:xs.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe(e){const t=Zt.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:xs.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t=Zt.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||Zt.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||Zt.getFirstMatch(/\bbb(\d+)/i,e);return{name:xs.BlackBerry,version:t}}},{test:[/bada/i],describe(e){const t=Zt.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:xs.Bada,version:t}}},{test:[/tizen/i],describe(e){const t=Zt.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:xs.Tizen,version:t}}},{test:[/linux/i],describe(){return{name:xs.Linux}}},{test:[/CrOS/],describe(){return{name:xs.ChromeOS}}},{test:[/PlayStation 4/],describe(e){const t=Zt.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:xs.PlayStation4,version:t}}}],HCn=[{test:[/googlebot/i],describe(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe(e){const t=Zt.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:$o.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe(){return{type:$o.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe(){return{type:$o.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(){return{type:$o.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe(){return{type:$o.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe(){return{type:$o.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe(){return{type:$o.tablet}}},{test(e){const t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe(e){const t=Zt.getFirstMatch(/(ipod|iphone)/i,e);return{type:$o.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe(){return{type:$o.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe(){return{type:$o.mobile}}},{test(e){return e.getBrowserName(!0)==="blackberry"},describe(){return{type:$o.mobile,vendor:"BlackBerry"}}},{test(e){return e.getBrowserName(!0)==="bada"},describe(){return{type:$o.mobile}}},{test(e){return e.getBrowserName()==="windows phone"},describe(){return{type:$o.mobile,vendor:"Microsoft"}}},{test(e){const t=Number(String(e.getOSVersion()).split(".")[0]);return e.getOSName(!0)==="android"&&t>=3},describe(){return{type:$o.tablet}}},{test(e){return e.getOSName(!0)==="android"},describe(){return{type:$o.mobile}}},{test(e){return e.getOSName(!0)==="macos"},describe(){return{type:$o.desktop,vendor:"Apple"}}},{test(e){return e.getOSName(!0)==="windows"},describe(){return{type:$o.desktop}}},{test(e){return e.getOSName(!0)==="linux"},describe(){return{type:$o.desktop}}},{test(e){return e.getOSName(!0)==="playstation 4"},describe(){return{type:$o.tv}}},{test(e){return e.getOSName(!0)==="roku"},describe(){return{type:$o.tv}}}],zCn=[{test(e){return e.getBrowserName(!0)==="microsoft edge"},describe(e){if(/\sedg\//i.test(e))return{name:Im.Blink};const n=Zt.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:Im.EdgeHTML,version:n}}},{test:[/trident/i],describe(e){const t={name:Im.Trident},n=Zt.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){return e.test(/presto/i)},describe(e){const t={name:Im.Presto},n=Zt.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe(e){const t={name:Im.Gecko},n=Zt.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe(){return{name:Im.Blink}}},{test:[/(apple)?webkit/i],describe(e){const t={name:Im.WebKit},n=Zt.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];class l_e{constructor(t,n=!1){if(t==null||t==="")throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},n!==!0&&this.parse()}getUA(){return this._ua}test(t){return t.test(this._ua)}parseBrowser(){this.parsedResult.browser={};const t=Zt.find(UCn,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser}getBrowser(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}getBrowserName(t){return t?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}getBrowserVersion(){return this.getBrowser().version}getOS(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}parseOS(){this.parsedResult.os={};const t=Zt.find(jCn,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os}getOSName(t){const{name:n}=this.getOS();return t?String(n).toLowerCase()||"":n||""}getOSVersion(){return this.getOS().version}getPlatform(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}getPlatformType(t=!1){const{type:n}=this.getPlatform();return t?String(n).toLowerCase()||"":n||""}parsePlatform(){this.parsedResult.platform={};const t=Zt.find(HCn,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform}getEngine(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}getEngineName(t){return t?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}parseEngine(){this.parsedResult.engine={};const t=Zt.find(zCn,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine}parse(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}getResult(){return Zt.assign({},this.parsedResult)}satisfies(t){const n={};let r=0;const i={};let o=0;if(Object.keys(t).forEach(s=>{const l=t[s];typeof l=="string"?(i[s]=l,o+=1):typeof l=="object"&&(n[s]=l,r+=1)}),r>0){const s=Object.keys(n),l=Zt.find(s,u=>this.isOS(u));if(l){const u=this.satisfies(n[l]);if(u!==void 0)return u}const c=Zt.find(s,u=>this.isPlatform(u));if(c){const u=this.satisfies(n[c]);if(u!==void 0)return u}}if(o>0){const s=Object.keys(i),l=Zt.find(s,c=>this.isBrowser(c,!0));if(l!==void 0)return this.compareVersion(i[l])}}isBrowser(t,n=!1){const r=this.getBrowserName().toLowerCase();let i=t.toLowerCase();const o=Zt.getBrowserTypeByAlias(i);return n&&o&&(i=o.toLowerCase()),i===r}compareVersion(t){let n=[0],r=t,i=!1;const o=this.getBrowserVersion();if(typeof o=="string")return t[0]===">"||t[0]==="<"?(r=t.substr(1),t[1]==="="?(i=!0,r=t.substr(2)):n=[],t[0]===">"?n.push(1):n.push(-1)):t[0]==="="?r=t.substr(1):t[0]==="~"&&(i=!0,r=t.substr(1)),n.indexOf(Zt.compareVersions(o,r,i))>-1}isOS(t){return this.getOSName(!0)===String(t).toLowerCase()}isPlatform(t){return this.getPlatformType(!0)===String(t).toLowerCase()}isEngine(t){return this.getEngineName(!0)===String(t).toLowerCase()}is(t,n=!1){return this.isBrowser(t,n)||this.isOS(t)||this.isPlatform(t)}some(t=[]){return t.some(n=>this.is(n))}}/*! + isUnifiedPlanSupported:${this.isUnifiedPlanSupported()}`}constructor(){this.isIOS=typeof navigator<"u"?["iPad","iPhone","iPod"].includes(navigator.platform):!1,this.supportedBrowsers=["firefox","chrome","safari"],this.minFirefoxVersion=59,this.minChromeVersion=72,this.minSafariVersion=605}},OSn=e=>!e||/^[A-Za-z0-9]+(?:[ _-][A-Za-z0-9]+)*$/.test(e),PFe=()=>Math.random().toString(36).slice(2),e_e={iceServers:[{urls:"stun:stun.l.google.com:19302"},{urls:["turn:eu-0.turn.peerjs.com:3478","turn:us-0.turn.peerjs.com:3478"],username:"peerjs",credential:"peerjsp"}],sdpSemantics:"unified-plan"};class ISn extends AFe{noop(){}blobToArrayBuffer(t,n){const r=new FileReader;return r.onload=function(i){i.target&&n(i.target.result)},r.readAsArrayBuffer(t),r}binaryStringToArrayBuffer(t){const n=new Uint8Array(t.length);for(let r=0;r=3&&this._print(3,...t)}warn(...t){this._logLevel>=2&&this._print(2,...t)}error(...t){this._logLevel>=1&&this._print(1,...t)}setLogFunction(t){this._print=t}_print(t,...n){const r=[NSn,...n];for(const i in r)r[i]instanceof Error&&(r[i]="("+r[i].name+") "+r[i].message);t>=3?console.log(...r):t>=2?console.warn("WARNING",...r):t>=1&&console.error("ERROR",...r)}constructor(){this._logLevel=0}}var zn=new MSn,rJ={},ASn=Object.prototype.hasOwnProperty,js="~";function Yw(){}Object.create&&(Yw.prototype=Object.create(null),new Yw().__proto__||(js=!1));function PSn(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function DFe(e,t,n,r,i){if(typeof n!="function")throw new TypeError("The listener must be a function");var o=new PSn(n,r||e,i),a=js?js+t:t;return e._events[a]?e._events[a].fn?e._events[a]=[e._events[a],o]:e._events[a].push(o):(e._events[a]=o,e._eventsCount++),e}function qN(e,t){--e._eventsCount===0?e._events=new Yw:delete e._events[t]}function Ss(){this._events=new Yw,this._eventsCount=0}Ss.prototype.eventNames=function(){var t=[],n,r;if(this._eventsCount===0)return t;for(r in n=this._events)ASn.call(n,r)&&t.push(js?r.slice(1):r);return Object.getOwnPropertySymbols?t.concat(Object.getOwnPropertySymbols(n)):t};Ss.prototype.listeners=function(t){var n=js?js+t:t,r=this._events[n];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,a=new Array(o);itf);iy(oy,"PeerErrorType",()=>wo);iy(oy,"BaseConnectionErrorType",()=>qw);iy(oy,"DataConnectionErrorType",()=>Kw);iy(oy,"SerializationType",()=>z0);iy(oy,"SocketEventType",()=>qd);iy(oy,"ServerMessageType",()=>Ia);var tf;(function(e){e.Data="data",e.Media="media"})(tf||(tf={}));var wo;(function(e){e.BrowserIncompatible="browser-incompatible",e.Disconnected="disconnected",e.InvalidID="invalid-id",e.InvalidKey="invalid-key",e.Network="network",e.PeerUnavailable="peer-unavailable",e.SslUnavailable="ssl-unavailable",e.ServerError="server-error",e.SocketError="socket-error",e.SocketClosed="socket-closed",e.UnavailableID="unavailable-id",e.WebRTC="webrtc"})(wo||(wo={}));var qw;(function(e){e.NegotiationFailed="negotiation-failed",e.ConnectionClosed="connection-closed"})(qw||(qw={}));var Kw;(function(e){e.NotOpenYet="not-open-yet",e.MessageToBig="message-too-big"})(Kw||(Kw={}));var z0;(function(e){e.Binary="binary",e.BinaryUTF8="binary-utf8",e.JSON="json",e.None="raw"})(z0||(z0={}));var qd;(function(e){e.Message="message",e.Disconnected="disconnected",e.Error="error",e.Close="close"})(qd||(qd={}));var Ia;(function(e){e.Heartbeat="HEARTBEAT",e.Candidate="CANDIDATE",e.Offer="OFFER",e.Answer="ANSWER",e.Open="OPEN",e.Error="ERROR",e.IdTaken="ID-TAKEN",e.InvalidKey="INVALID-KEY",e.Leave="LEAVE",e.Expire="EXPIRE"})(Ia||(Ia={}));var iJ={};iJ=JSON.parse('{"name":"peerjs","version":"1.5.4","keywords":["peerjs","webrtc","p2p","rtc"],"description":"PeerJS client","homepage":"https://peerjs.com","bugs":{"url":"https://github.com/peers/peerjs/issues"},"repository":{"type":"git","url":"https://github.com/peers/peerjs"},"license":"MIT","contributors":["Michelle Bu ","afrokick ","ericz ","Jairo ","Jonas Gloning <34194370+jonasgloning@users.noreply.github.com>","Jairo Caro-Accino Viciana ","Carlos Caballero ","hc ","Muhammad Asif ","PrashoonB ","Harsh Bardhan Mishra <47351025+HarshCasper@users.noreply.github.com>","akotynski ","lmb ","Jairooo ","Moritz Stückler ","Simon ","Denis Lukov ","Philipp Hancke ","Hans Oksendahl ","Jess ","khankuan ","DUODVK ","XiZhao ","Matthias Lohr ","=frank tree <=frnktrb@googlemail.com>","Andre Eckardt ","Chris Cowan ","Alex Chuev ","alxnull ","Yemel Jardi ","Ben Parnell ","Benny Lichtner ","fresheneesz ","bob.barstead@exaptive.com ","chandika ","emersion ","Christopher Van ","eddieherm ","Eduardo Pinho ","Evandro Zanatta ","Gardner Bickford ","Gian Luca ","PatrickJS ","jonnyf ","Hizkia Felix ","Hristo Oskov ","Isaac Madwed ","Ilya Konanykhin ","jasonbarry ","Jonathan Burke ","Josh Hamit ","Jordan Austin ","Joel Wetzell ","xizhao ","Alberto Torres ","Jonathan Mayol ","Jefferson Felix ","Rolf Erik Lekang ","Kevin Mai-Husan Chia ","Pepijn de Vos ","JooYoung ","Tobias Speicher ","Steve Blaurock ","Kyrylo Shegeda ","Diwank Singh Tomer ","Sören Balko ","Arpit Solanki ","Yuki Ito ","Artur Zayats "],"funding":{"type":"opencollective","url":"https://opencollective.com/peer"},"collective":{"type":"opencollective","url":"https://opencollective.com/peer"},"files":["dist/*"],"sideEffects":["lib/global.ts","lib/supports.ts"],"main":"dist/bundler.cjs","module":"dist/bundler.mjs","browser-minified":"dist/peerjs.min.js","browser-unminified":"dist/peerjs.js","browser-minified-msgpack":"dist/serializer.msgpack.mjs","types":"dist/types.d.ts","engines":{"node":">= 14"},"targets":{"types":{"source":"lib/exports.ts"},"main":{"source":"lib/exports.ts","sourceMap":{"inlineSources":true}},"module":{"source":"lib/exports.ts","includeNodeModules":["eventemitter3"],"sourceMap":{"inlineSources":true}},"browser-minified":{"context":"browser","outputFormat":"global","optimize":true,"engines":{"browsers":"chrome >= 83, edge >= 83, firefox >= 80, safari >= 15"},"source":"lib/global.ts"},"browser-unminified":{"context":"browser","outputFormat":"global","optimize":false,"engines":{"browsers":"chrome >= 83, edge >= 83, firefox >= 80, safari >= 15"},"source":"lib/global.ts"},"browser-minified-msgpack":{"context":"browser","outputFormat":"esmodule","isLibrary":true,"optimize":true,"engines":{"browsers":"chrome >= 83, edge >= 83, firefox >= 102, safari >= 15"},"source":"lib/dataconnection/StreamConnection/MsgPack.ts"}},"scripts":{"contributors":"git-authors-cli --print=false && prettier --write package.json && git add package.json package-lock.json && git commit -m \\"chore(contributors): update and sort contributors list\\"","check":"tsc --noEmit && tsc -p e2e/tsconfig.json --noEmit","watch":"parcel watch","build":"rm -rf dist && parcel build","prepublishOnly":"npm run build","test":"jest","test:watch":"jest --watch","coverage":"jest --coverage --collectCoverageFrom=\\"./lib/**\\"","format":"prettier --write .","format:check":"prettier --check .","semantic-release":"semantic-release","e2e":"wdio run e2e/wdio.local.conf.ts","e2e:bstack":"wdio run e2e/wdio.bstack.conf.ts"},"devDependencies":{"@parcel/config-default":"^2.9.3","@parcel/packager-ts":"^2.9.3","@parcel/transformer-typescript-tsc":"^2.9.3","@parcel/transformer-typescript-types":"^2.9.3","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@swc/core":"^1.3.27","@swc/jest":"^0.2.24","@types/jasmine":"^4.3.4","@wdio/browserstack-service":"^8.11.2","@wdio/cli":"^8.11.2","@wdio/globals":"^8.11.2","@wdio/jasmine-framework":"^8.11.2","@wdio/local-runner":"^8.11.2","@wdio/spec-reporter":"^8.11.2","@wdio/types":"^8.10.4","http-server":"^14.1.1","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","mock-socket":"^9.0.0","parcel":"^2.9.3","prettier":"^3.0.0","semantic-release":"^21.0.0","ts-node":"^10.9.1","typescript":"^5.0.0","wdio-geckodriver-service":"^5.0.1"},"dependencies":{"@msgpack/msgpack":"^2.8.0","eventemitter3":"^4.0.7","peerjs-js-binarypack":"^2.1.0","webrtc-adapter":"^9.0.0"},"alias":{"process":false,"buffer":false}}');class DSn extends rJ.EventEmitter{constructor(t,n,r,i,o,a=5e3){super(),this.pingInterval=a,this._disconnected=!0,this._messagesQueue=[];const s=t?"wss://":"ws://";this._baseUrl=s+n+":"+r+i+"peerjs?key="+o}start(t,n){this._id=t;const r=`${this._baseUrl}&id=${t}&token=${n}`;this._socket||!this._disconnected||(this._socket=new WebSocket(r+"&version="+iJ.version),this._disconnected=!1,this._socket.onmessage=i=>{let o;try{o=JSON.parse(i.data),zn.log("Server message received:",o)}catch{zn.log("Invalid server message",i.data);return}this.emit(qd.Message,o)},this._socket.onclose=i=>{this._disconnected||(zn.log("Socket closed.",i),this._cleanup(),this._disconnected=!0,this.emit(qd.Disconnected))},this._socket.onopen=()=>{this._disconnected||(this._sendQueuedMessages(),zn.log("Socket open"),this._scheduleHeartbeat())})}_scheduleHeartbeat(){this._wsPingTimer=setTimeout(()=>{this._sendHeartbeat()},this.pingInterval)}_sendHeartbeat(){if(!this._wsOpen()){zn.log("Cannot send heartbeat, because socket closed");return}const t=JSON.stringify({type:Ia.Heartbeat});this._socket.send(t),this._scheduleHeartbeat()}_wsOpen(){return!!this._socket&&this._socket.readyState===1}_sendQueuedMessages(){const t=[...this._messagesQueue];this._messagesQueue=[];for(const n of t)this.send(n)}send(t){if(this._disconnected)return;if(!this._id){this._messagesQueue.push(t);return}if(!t.type){this.emit(qd.Error,"Invalid message");return}if(!this._wsOpen())return;const n=JSON.stringify(t);this._socket.send(n)}close(){this._disconnected||(this._cleanup(),this._disconnected=!0)}_cleanup(){this._socket&&(this._socket.onopen=this._socket.onmessage=this._socket.onclose=null,this._socket.close(),this._socket=void 0),clearTimeout(this._wsPingTimer)}}class kFe{constructor(t){this.connection=t}startConnection(t){const n=this._startPeerConnection();if(this.connection.peerConnection=n,this.connection.type===tf.Media&&t._stream&&this._addTracksToConnection(t._stream,n),t.originator){const r=this.connection,i={ordered:!!t.reliable},o=n.createDataChannel(r.label,i);r._initializeDataChannel(o),this._makeOffer()}else this.handleSDP("OFFER",t.sdp)}_startPeerConnection(){zn.log("Creating RTCPeerConnection.");const t=new RTCPeerConnection(this.connection.provider.options.config);return this._setupListeners(t),t}_setupListeners(t){const n=this.connection.peer,r=this.connection.connectionId,i=this.connection.type,o=this.connection.provider;zn.log("Listening for ICE candidates."),t.onicecandidate=a=>{!a.candidate||!a.candidate.candidate||(zn.log(`Received ICE candidates for ${n}:`,a.candidate),o.socket.send({type:Ia.Candidate,payload:{candidate:a.candidate,type:i,connectionId:r},dst:n}))},t.oniceconnectionstatechange=()=>{switch(t.iceConnectionState){case"failed":zn.log("iceConnectionState is failed, closing connections to "+n),this.connection.emitError(qw.NegotiationFailed,"Negotiation of connection to "+n+" failed."),this.connection.close();break;case"closed":zn.log("iceConnectionState is closed, closing connections to "+n),this.connection.emitError(qw.ConnectionClosed,"Connection to "+n+" closed."),this.connection.close();break;case"disconnected":zn.log("iceConnectionState changed to disconnected on the connection with "+n);break;case"completed":t.onicecandidate=()=>{};break}this.connection.emit("iceStateChanged",t.iceConnectionState)},zn.log("Listening for data channel"),t.ondatachannel=a=>{zn.log("Received data channel");const s=a.channel;o.getConnection(n,r)._initializeDataChannel(s)},zn.log("Listening for remote stream"),t.ontrack=a=>{zn.log("Received remote stream");const s=a.streams[0],l=o.getConnection(n,r);if(l.type===tf.Media){const c=l;this._addStreamToMediaConnection(s,c)}}}cleanup(){zn.log("Cleaning up PeerConnection to "+this.connection.peer);const t=this.connection.peerConnection;if(!t)return;this.connection.peerConnection=null,t.onicecandidate=t.oniceconnectionstatechange=t.ondatachannel=t.ontrack=()=>{};const n=t.signalingState!=="closed";let r=!1;const i=this.connection.dataChannel;i&&(r=!!i.readyState&&i.readyState!=="closed"),(n||r)&&t.close()}async _makeOffer(){const t=this.connection.peerConnection,n=this.connection.provider;try{const r=await t.createOffer(this.connection.options.constraints);zn.log("Created offer."),this.connection.options.sdpTransform&&typeof this.connection.options.sdpTransform=="function"&&(r.sdp=this.connection.options.sdpTransform(r.sdp)||r.sdp);try{await t.setLocalDescription(r),zn.log("Set localDescription:",r,`for:${this.connection.peer}`);let i={sdp:r,type:this.connection.type,connectionId:this.connection.connectionId,metadata:this.connection.metadata};if(this.connection.type===tf.Data){const o=this.connection;i={...i,label:o.label,reliable:o.reliable,serialization:o.serialization}}n.socket.send({type:Ia.Offer,payload:i,dst:this.connection.peer})}catch(i){i!="OperationError: Failed to set local offer sdp: Called in wrong state: kHaveRemoteOffer"&&(n.emitError(wo.WebRTC,i),zn.log("Failed to setLocalDescription, ",i))}}catch(r){n.emitError(wo.WebRTC,r),zn.log("Failed to createOffer, ",r)}}async _makeAnswer(){const t=this.connection.peerConnection,n=this.connection.provider;try{const r=await t.createAnswer();zn.log("Created answer."),this.connection.options.sdpTransform&&typeof this.connection.options.sdpTransform=="function"&&(r.sdp=this.connection.options.sdpTransform(r.sdp)||r.sdp);try{await t.setLocalDescription(r),zn.log("Set localDescription:",r,`for:${this.connection.peer}`),n.socket.send({type:Ia.Answer,payload:{sdp:r,type:this.connection.type,connectionId:this.connection.connectionId},dst:this.connection.peer})}catch(i){n.emitError(wo.WebRTC,i),zn.log("Failed to setLocalDescription, ",i)}}catch(r){n.emitError(wo.WebRTC,r),zn.log("Failed to create answer, ",r)}}async handleSDP(t,n){n=new RTCSessionDescription(n);const r=this.connection.peerConnection,i=this.connection.provider;zn.log("Setting remote description",n);const o=this;try{await r.setRemoteDescription(n),zn.log(`Set remoteDescription:${t} for:${this.connection.peer}`),t==="OFFER"&&await o._makeAnswer()}catch(a){i.emitError(wo.WebRTC,a),zn.log("Failed to setRemoteDescription, ",a)}}async handleCandidate(t){zn.log("handleCandidate:",t);try{await this.connection.peerConnection.addIceCandidate(t),zn.log(`Added ICE candidate for:${this.connection.peer}`)}catch(n){this.connection.provider.emitError(wo.WebRTC,n),zn.log("Failed to handleCandidate, ",n)}}_addTracksToConnection(t,n){if(zn.log(`add tracks from stream ${t.id} to peer connection`),!n.addTrack)return zn.error("Your browser does't support RTCPeerConnection#addTrack. Ignored.");t.getTracks().forEach(r=>{n.addTrack(r,t)})}_addStreamToMediaConnection(t,n){zn.log(`add stream ${t.id} to media connection ${n.connectionId}`),n.addStream(t)}}class LFe extends rJ.EventEmitter{emitError(t,n){zn.error("Error:",n),this.emit("error",new kSn(`${t}`,n))}}class kSn extends Error{constructor(t,n){typeof n=="string"?super(n):(super(),Object.assign(this,n)),this.type=t}}class $Fe extends LFe{get open(){return this._open}constructor(t,n,r){super(),this.peer=t,this.provider=n,this.options=r,this._open=!1,this.metadata=r.metadata}}var mG;const m1=class m1 extends $Fe{get type(){return tf.Media}get localStream(){return this._localStream}get remoteStream(){return this._remoteStream}constructor(t,n,r){super(t,n,r),this._localStream=this.options._stream,this.connectionId=this.options.connectionId||m1.ID_PREFIX+il.randomToken(),this._negotiator=new kFe(this),this._localStream&&this._negotiator.startConnection({_stream:this._localStream,originator:!0})}_initializeDataChannel(t){this.dataChannel=t,this.dataChannel.onopen=()=>{zn.log(`DC#${this.connectionId} dc connection success`),this.emit("willCloseOnRemote")},this.dataChannel.onclose=()=>{zn.log(`DC#${this.connectionId} dc closed for:`,this.peer),this.close()}}addStream(t){zn.log("Receiving stream",t),this._remoteStream=t,super.emit("stream",t)}handleMessage(t){const n=t.type,r=t.payload;switch(t.type){case Ia.Answer:this._negotiator.handleSDP(n,r.sdp),this._open=!0;break;case Ia.Candidate:this._negotiator.handleCandidate(r.candidate);break;default:zn.warn(`Unrecognized message type:${n} from peer:${this.peer}`);break}}answer(t,n={}){if(this._localStream){zn.warn("Local stream already exists on this MediaConnection. Are you answering a call twice?");return}this._localStream=t,n&&n.sdpTransform&&(this.options.sdpTransform=n.sdpTransform),this._negotiator.startConnection({...this.options._payload,_stream:t});const r=this.provider._getMessages(this.connectionId);for(const i of r)this.handleMessage(i);this._open=!0}close(){this._negotiator&&(this._negotiator.cleanup(),this._negotiator=null),this._localStream=null,this._remoteStream=null,this.provider&&(this.provider._removeConnection(this),this.provider=null),this.options&&this.options._stream&&(this.options._stream=null),this.open&&(this._open=!1,super.emit("close"))}};mG=new WeakMap,$n(m1,mG,m1.ID_PREFIX="mc_");let UP=m1;class LSn{constructor(t){this._options=t}_buildRequest(t){const n=this._options.secure?"https":"http",{host:r,port:i,path:o,key:a}=this._options,s=new URL(`${n}://${r}:${i}${o}${a}/${t}`);return s.searchParams.set("ts",`${Date.now()}${Math.random()}`),s.searchParams.set("version",iJ.version),fetch(s.href,{referrerPolicy:this._options.referrerPolicy})}async retrieveId(){try{const t=await this._buildRequest("id");if(t.status!==200)throw new Error(`Error. Status:${t.status}`);return t.text()}catch(t){zn.error("Error retrieving ID",t);let n="";throw this._options.path==="/"&&this._options.host!==il.CLOUD_HOST&&(n=" If you passed in a `path` to your self-hosted PeerServer, you'll also need to pass in that same path when creating a new Peer."),new Error("Could not get an ID from the server."+n)}}async listAllPeers(){try{const t=await this._buildRequest("peers");if(t.status!==200){if(t.status===401){let n="";throw this._options.host===il.CLOUD_HOST?n="It looks like you're using the cloud server. You can email team@peerjs.com to enable peer listing for your API key.":n="You need to enable `allow_discovery` on your self-hosted PeerServer to use this feature.",new Error("It doesn't look like you have permission to list peers IDs. "+n)}throw new Error(`Error. Status:${t.status}`)}return t.json()}catch(t){throw zn.error("Error retrieving list peers",t),new Error("Could not get list peers from the server."+t)}}}var hG,gG;const Yg=class Yg extends $Fe{get type(){return tf.Data}constructor(t,n,r){super(t,n,r),this.connectionId=this.options.connectionId||Yg.ID_PREFIX+PFe(),this.label=this.options.label||this.connectionId,this.reliable=!!this.options.reliable,this._negotiator=new kFe(this),this._negotiator.startConnection(this.options._payload||{originator:!0,reliable:this.reliable})}_initializeDataChannel(t){this.dataChannel=t,this.dataChannel.onopen=()=>{zn.log(`DC#${this.connectionId} dc connection success`),this._open=!0,this.emit("open")},this.dataChannel.onmessage=n=>{zn.log(`DC#${this.connectionId} dc onmessage:`,n.data)},this.dataChannel.onclose=()=>{zn.log(`DC#${this.connectionId} dc closed for:`,this.peer),this.close()}}close(t){if(t!=null&&t.flush){this.send({__peerData:{type:"close"}});return}this._negotiator&&(this._negotiator.cleanup(),this._negotiator=null),this.provider&&(this.provider._removeConnection(this),this.provider=null),this.dataChannel&&(this.dataChannel.onopen=null,this.dataChannel.onmessage=null,this.dataChannel.onclose=null,this.dataChannel=null),this.open&&(this._open=!1,super.emit("close"))}send(t,n=!1){if(!this.open){this.emitError(Kw.NotOpenYet,"Connection is not open. You should listen for the `open` event before sending messages.");return}return this._send(t,n)}async handleMessage(t){const n=t.payload;switch(t.type){case Ia.Answer:await this._negotiator.handleSDP(t.type,n.sdp);break;case Ia.Candidate:await this._negotiator.handleCandidate(n.candidate);break;default:zn.warn("Unrecognized message type:",t.type,"from peer:",this.peer);break}}};hG=new WeakMap,gG=new WeakMap,$n(Yg,hG,Yg.ID_PREFIX="dc_"),$n(Yg,gG,Yg.MAX_BUFFERED_AMOUNT=8388608);let jP=Yg;class oJ extends jP{get bufferSize(){return this._bufferSize}_initializeDataChannel(t){super._initializeDataChannel(t),this.dataChannel.binaryType="arraybuffer",this.dataChannel.addEventListener("message",n=>this._handleDataMessage(n))}_bufferedSend(t){(this._buffering||!this._trySend(t))&&(this._buffer.push(t),this._bufferSize=this._buffer.length)}_trySend(t){if(!this.open)return!1;if(this.dataChannel.bufferedAmount>jP.MAX_BUFFERED_AMOUNT)return this._buffering=!0,setTimeout(()=>{this._buffering=!1,this._tryBuffer()},50),!1;try{this.dataChannel.send(t)}catch(n){return zn.error(`DC#:${this.connectionId} Error when sending:`,n),this._buffering=!0,this.close(),!1}return!0}_tryBuffer(){if(!this.open||this._buffer.length===0)return;const t=this._buffer[0];this._trySend(t)&&(this._buffer.shift(),this._bufferSize=this._buffer.length,this._tryBuffer())}close(t){if(t!=null&&t.flush){this.send({__peerData:{type:"close"}});return}this._buffer=[],this._bufferSize=0,super.close()}constructor(...t){super(...t),this._buffer=[],this._bufferSize=0,this._buffering=!1}}class xU extends oJ{close(t){super.close(t),this._chunkedData={}}constructor(t,n,r){super(t,n,r),this.chunker=new AFe,this.serialization=z0.Binary,this._chunkedData={}}_handleDataMessage({data:t}){const n=X4e(t),r=n.__peerData;if(r){if(r.type==="close"){this.close();return}this._handleChunk(n);return}this.emit("data",n)}_handleChunk(t){const n=t.__peerData,r=this._chunkedData[n]||{data:[],count:0,total:t.total};if(r.data[t.n]=new Uint8Array(t.data),r.count++,this._chunkedData[n]=r,r.total===r.count){delete this._chunkedData[n];const i=RSn(r.data);this._handleDataMessage({data:i})}}_send(t,n){const r=Z4e(t);if(r instanceof Promise)return this._send_blob(r);if(!n&&r.byteLength>this.chunker.chunkedMTU){this._sendChunks(r);return}this._bufferedSend(r)}async _send_blob(t){const n=await t;if(n.byteLength>this.chunker.chunkedMTU){this._sendChunks(n);return}this._bufferedSend(n)}_sendChunks(t){const n=this.chunker.chunk(t);zn.log(`DC#${this.connectionId} Try to send ${n.length} chunks...`);for(const r of n)this.send(r,!0)}}class $Sn extends oJ{_handleDataMessage({data:t}){super.emit("data",t)}_send(t,n){this._bufferedSend(t)}constructor(...t){super(...t),this.serialization=z0.None}}class FSn extends oJ{_handleDataMessage({data:t}){const n=this.parse(this.decoder.decode(t)),r=n.__peerData;if(r&&r.type==="close"){this.close();return}this.emit("data",n)}_send(t,n){const r=this.encoder.encode(this.stringify(t));if(r.byteLength>=il.chunkedMTU){this.emitError(Kw.MessageToBig,"Message too big for JSON channel");return}this._bufferedSend(r)}constructor(...t){super(...t),this.serialization=z0.JSON,this.encoder=new TextEncoder,this.decoder=new TextDecoder,this.stringify=JSON.stringify,this.parse=JSON.parse}}var vG;const h1=class h1 extends LFe{get id(){return this._id}get options(){return this._options}get open(){return this._open}get socket(){return this._socket}get connections(){const t=Object.create(null);for(const[n,r]of this._connections)t[n]=r;return t}get destroyed(){return this._destroyed}get disconnected(){return this._disconnected}constructor(t,n){super(),this._serializers={raw:$Sn,json:FSn,binary:xU,"binary-utf8":xU,default:xU},this._id=null,this._lastServerId=null,this._destroyed=!1,this._disconnected=!1,this._open=!1,this._connections=new Map,this._lostMessages=new Map;let r;if(t&&t.constructor==Object?n=t:t&&(r=t.toString()),n={debug:0,host:il.CLOUD_HOST,port:il.CLOUD_PORT,path:"/",key:h1.DEFAULT_KEY,token:il.randomToken(),config:il.defaultConfig,referrerPolicy:"strict-origin-when-cross-origin",serializers:{},...n},this._options=n,this._serializers={...this._serializers,...this.options.serializers},this._options.host==="/"&&(this._options.host=window.location.hostname),this._options.path&&(this._options.path[0]!=="/"&&(this._options.path="/"+this._options.path),this._options.path[this._options.path.length-1]!=="/"&&(this._options.path+="/")),this._options.secure===void 0&&this._options.host!==il.CLOUD_HOST?this._options.secure=il.isSecure():this._options.host==il.CLOUD_HOST&&(this._options.secure=!0),this._options.logFunction&&zn.setLogFunction(this._options.logFunction),zn.logLevel=this._options.debug||0,this._api=new LSn(n),this._socket=this._createServerConnection(),!il.supports.audioVideo&&!il.supports.data){this._delayedAbort(wo.BrowserIncompatible,"The current browser does not support WebRTC");return}if(r&&!il.validateId(r)){this._delayedAbort(wo.InvalidID,`ID "${r}" is invalid`);return}r?this._initialize(r):this._api.retrieveId().then(i=>this._initialize(i)).catch(i=>this._abort(wo.ServerError,i))}_createServerConnection(){const t=new DSn(this._options.secure,this._options.host,this._options.port,this._options.path,this._options.key,this._options.pingInterval);return t.on(qd.Message,n=>{this._handleMessage(n)}),t.on(qd.Error,n=>{this._abort(wo.SocketError,n)}),t.on(qd.Disconnected,()=>{this.disconnected||(this.emitError(wo.Network,"Lost connection to server."),this.disconnect())}),t.on(qd.Close,()=>{this.disconnected||this._abort(wo.SocketClosed,"Underlying socket is already closed.")}),t}_initialize(t){this._id=t,this.socket.start(t,this._options.token)}_handleMessage(t){const n=t.type,r=t.payload,i=t.src;switch(n){case Ia.Open:this._lastServerId=this.id,this._open=!0,this.emit("open",this.id);break;case Ia.Error:this._abort(wo.ServerError,r.msg);break;case Ia.IdTaken:this._abort(wo.UnavailableID,`ID "${this.id}" is taken`);break;case Ia.InvalidKey:this._abort(wo.InvalidKey,`API KEY "${this._options.key}" is invalid`);break;case Ia.Leave:zn.log(`Received leave message from ${i}`),this._cleanupPeer(i),this._connections.delete(i);break;case Ia.Expire:this.emitError(wo.PeerUnavailable,`Could not connect to peer ${i}`);break;case Ia.Offer:{const o=r.connectionId;let a=this.getConnection(i,o);if(a&&(a.close(),zn.warn(`Offer received for existing Connection ID:${o}`)),r.type===tf.Media){const l=new UP(i,this,{connectionId:o,_payload:r,metadata:r.metadata});a=l,this._addConnection(i,a),this.emit("call",l)}else if(r.type===tf.Data){const l=new this._serializers[r.serialization](i,this,{connectionId:o,_payload:r,metadata:r.metadata,label:r.label,serialization:r.serialization,reliable:r.reliable});a=l,this._addConnection(i,a),this.emit("connection",l)}else{zn.warn(`Received malformed connection type:${r.type}`);return}const s=this._getMessages(o);for(const l of s)a.handleMessage(l);break}default:{if(!r){zn.warn(`You received a malformed message from ${i} of type ${n}`);return}const o=r.connectionId,a=this.getConnection(i,o);a&&a.peerConnection?a.handleMessage(t):o?this._storeMessage(o,t):zn.warn("You received an unrecognized message:",t);break}}}_storeMessage(t,n){this._lostMessages.has(t)||this._lostMessages.set(t,[]),this._lostMessages.get(t).push(n)}_getMessages(t){const n=this._lostMessages.get(t);return n?(this._lostMessages.delete(t),n):[]}connect(t,n={}){if(n={serialization:"default",...n},this.disconnected){zn.warn("You cannot connect to a new Peer because you called .disconnect() on this Peer and ended your connection with the server. You can create a new Peer to reconnect, or call reconnect on this peer if you believe its ID to still be available."),this.emitError(wo.Disconnected,"Cannot connect to new Peer after disconnecting from server.");return}const r=new this._serializers[n.serialization](t,this,n);return this._addConnection(t,r),r}call(t,n,r={}){if(this.disconnected){zn.warn("You cannot connect to a new Peer because you called .disconnect() on this Peer and ended your connection with the server. You can create a new Peer to reconnect."),this.emitError(wo.Disconnected,"Cannot connect to new Peer after disconnecting from server.");return}if(!n){zn.error("To call a peer, you must provide a stream from your browser's `getUserMedia`.");return}const i=new UP(t,this,{...r,_stream:n});return this._addConnection(t,i),i}_addConnection(t,n){zn.log(`add connection ${n.type}:${n.connectionId} to peerId:${t}`),this._connections.has(t)||this._connections.set(t,[]),this._connections.get(t).push(n)}_removeConnection(t){const n=this._connections.get(t.peer);if(n){const r=n.indexOf(t);r!==-1&&n.splice(r,1)}this._lostMessages.delete(t.connectionId)}getConnection(t,n){const r=this._connections.get(t);if(!r)return null;for(const i of r)if(i.connectionId===n)return i;return null}_delayedAbort(t,n){setTimeout(()=>{this._abort(t,n)},0)}_abort(t,n){zn.error("Aborting!"),this.emitError(t,n),this._lastServerId?this.disconnect():this.destroy()}destroy(){this.destroyed||(zn.log(`Destroy peer with ID:${this.id}`),this.disconnect(),this._cleanup(),this._destroyed=!0,this.emit("close"))}_cleanup(){for(const t of this._connections.keys())this._cleanupPeer(t),this._connections.delete(t);this.socket.removeAllListeners()}_cleanupPeer(t){const n=this._connections.get(t);if(n)for(const r of n)r.close()}disconnect(){if(this.disconnected)return;const t=this.id;zn.log(`Disconnect peer with ID:${t}`),this._disconnected=!0,this._open=!1,this.socket.close(),this._lastServerId=t,this._id=null,this.emit("disconnected",t)}reconnect(){if(this.disconnected&&!this.destroyed)zn.log(`Attempting reconnection to server with ID ${this._lastServerId}`),this._disconnected=!1,this._initialize(this._lastServerId);else{if(this.destroyed)throw new Error("This peer cannot reconnect to the server. It has already been destroyed.");if(!this.disconnected&&!this.open)zn.error("In a hurry? We're still trying to make the initial connection!");else throw new Error(`Peer ${this.id} cannot reconnect because it is not disconnected from the server!`)}}listAllPeers(t=n=>{}){this._api.listAllPeers().then(n=>t(n)).catch(n=>this._abort(wo.ServerError,n))}};vG=new WeakMap,$n(h1,vG,h1.DEFAULT_KEY="peerjs");let lG=h1,BSn="127.0.0.1",USn=9e3,jSn="/";function HSn(){console.log("usePeer");const e=Yo(a=>a.userInfo);let t=null,n=null;const r=a=>{n=t.connect(a),n.on("open",()=>{console.log("Connected to peer with ID:",a),n.send("hi!")})},i=a=>{n?(console.log("sending message:",a),n.send(a)):console.error("no connection to send message")},o=a=>{navigator.mediaDevices.getUserMedia({audio:!0,video:!0}).then(s=>{t.call(a,s).on("stream",c=>{})}).catch(s=>{console.error("Failed to get local stream",s)})};return m.useEffect(()=>{const a=new lG(e.uid,{host:BSn,port:USn,path:jSn});console.log("Starting self peer with ID:",e.uid),a.on("open",function(){console.log("self peer opened!")}),a.on("connection",s=>{s.on("data",l=>{console.log("connection data:",l)}),s.on("open",()=>{s.send("connection data open!")})}),a.on("call",s=>{navigator.mediaDevices.getUserMedia({audio:!0,video:!0}).then(l=>{s.answer(l),s.on("stream",c=>{})}).catch(l=>{console.error("Failed to get local stream",l)})})},[e]),{peer:t,connectOtherPeer:r,sendMessage:i,callOtherPeer:o}}const zSn=()=>{const e=mr(),[t,n]=m.useState("/chat"),r=uc(),{isLoggedIn:i,mode:o}=m.useContext(Da),{footerStyle:a}=Wh(),[s,l]=m.useState(!1),c=$u(p=>p.threads);m.useEffect(()=>{const p=c.some(h=>h.unreadCount>0);l(p)},[c]);const u=[{path:"/anonymous/home",name:e.formatMessage({id:"menu.dashboard.chat"}),icon:M.jsx(ZC,{}),component:M.jsx(tG,{})}],[d,f]=m.useState(u);return P2e(),A2e(),hSn(),HSn(),mQ(),m.useEffect(()=>{f(u)},[o]),m.useEffect(()=>(i&&r("/chat"),()=>{console.log("un - useEffect")}),[i]),M.jsxs(FAe,{collapsed:!0,collapsedButtonRender:!1,layout:"side",style:{height:"100vh"},route:{routes:d},location:{pathname:t},menu:{type:"group",collapsedShowTitle:!0},avatarProps:null,actionsRender:p=>p.isMobile?[]:[M.jsx(o_t,{onClick:I0t},"QuestionCircleFilled")],menuHeaderRender:()=>M.jsx(M2e,{}),menuFooterRender:p=>{p!=null&&p.collapsed},onMenuHeaderClick:p=>{console.log("onMenuHeaderClick",p)},menuItemRender:(p,h)=>M.jsx(M.Fragment,{children:M.jsxs("a",{onClick:()=>{n(p.path),r(p.path)},children:[s&&M.jsxs(M.Fragment,{children:[p.path==="/anonymous/home"&&M.jsx(nl,{size:"small",dot:s,offset:[-5,5],children:h}),p.path!=="/anonymous/home"&&h]}),!s&&M.jsx(M.Fragment,{children:h})]})}),children:[M.jsx(FL,{children:M.jsx(vk,{})}),M.jsx(BL,{style:a,children:M.jsx(N2e,{})}),M.jsx("audio",{id:"audioPlay",src:"soundUrl",hidden:!0})]})},{Sider:VSn,Content:GSn}=_i,WSn=()=>{const{leftSiderStyle:e,leftSiderWidth:t,headerStyle:n,contentStyle:r}=Wh();return M.jsx(M.Fragment,{children:M.jsxs(_i,{children:[M.jsx(VSn,{style:e,width:t}),M.jsxs(_i,{children:[M.jsx(IA,{style:n,children:"setting"}),M.jsx(GSn,{style:r,children:"setting"})]})]})})};function YSn({children:e}){const{isLoggedIn:t}=m.useContext(Da),n=vS();return t?e:M.jsx(yEt,{to:"/auth/login",replace:!0,state:{from:n}})}const n_e=[{path:"/",element:M.jsx(M.Fragment,{children:M.jsx(YSn,{children:M.jsx(Y0n,{})})}),children:[{path:"/",element:M.jsx(eV,{})},{path:"/formbuilder",element:M.jsx(eV,{})},{path:"/flowbuilder",element:M.jsx(Yke,{})},{path:"/form-view/:formId",element:M.jsx(zQ,{})},{path:"/ticketbuilder",element:M.jsx(K4e,{})},{path:"/setting",element:M.jsx(T2e,{}),children:[{path:"/setting",element:M.jsx(Wve,{})},{path:"/setting/profile",element:M.jsx(Wve,{})},{path:"/setting/agentProfile",element:M.jsx(fSn,{})},{path:"/setting/memberProfile",element:M.jsx(iSn,{})},{path:"/setting/basic",element:M.jsx(J0n,{})},{path:"/setting/certification",element:M.jsx(uSn,{})},{path:"/setting/qrcode",element:M.jsx(eSn,{})},{path:"/setting/shortcut",element:M.jsx(tSn,{})}]}]},{path:"/auth",element:M.jsx(q0n,{}),children:[{path:"/auth",element:M.jsx(zz,{isModel:!1})},{path:"/auth/login",element:M.jsx(zz,{isModel:!1})},{path:"/auth/register",element:M.jsx(kWt,{})},{path:"/auth/server",element:M.jsx(VPe,{})}]},{path:"/anonymous",element:M.jsx(zSn,{}),children:[{path:"/anonymous",element:M.jsx(tG,{})},{path:"/anonymous/home",element:M.jsx(tG,{})},{path:"/anonymous/setting",element:M.jsx(WSn,{})}]},{path:"*",element:M.jsx(nSn,{})}];let cG;Aa?cG=REt(n_e,{future:{v7_normalizeFormMethod:!0,v7_relativeSplatPath:!0,v7_partialHydration:!0,v7_fetcherPersist:!0,v7_skipActionErrorRevalidation:!0}}):cG=TEt(n_e,{basename:"/agenticflow",future:{v7_normalizeFormMethod:!0,v7_relativeSplatPath:!0,v7_partialHydration:!0,v7_fetcherPersist:!0,v7_skipActionErrorRevalidation:!0}});const qSn=cG;var KSn=typeof Element<"u",QSn=typeof Map=="function",XSn=typeof Set=="function",ZSn=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function KN(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,i;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!KN(e[r],t[r]))return!1;return!0}var o;if(QSn&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;for(o=e.entries();!(r=o.next()).done;)if(!KN(r.value[1],t.get(r.value[0])))return!1;return!0}if(XSn&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(o=e.entries();!(r=o.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(ZSn&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,i[r]))return!1;if(KSn&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((i[r]==="_owner"||i[r]==="__v"||i[r]==="__o")&&e.$$typeof)&&!KN(e[i[r]],t[i[r]]))return!1;return!0}return e!==e&&t!==t}var JSn=function(t,n){try{return KN(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const eEn=yi(JSn);var tEn=function(e,t,n,r,i,o,a,s){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],u=0;l=new Error(t.replace(/%s/g,function(){return c[u++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},nEn=tEn;const r_e=yi(nEn);var rEn=function(t,n,r,i){var o=r?r.call(i,t,n):void 0;if(o!==void 0)return!!o;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var a=Object.keys(t),s=Object.keys(n);if(a.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),c=0;c(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(FFe||{}),TU={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},i_e=Object.values(FFe),aJ={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},oEn=Object.entries(aJ).reduce((e,[t,n])=>(e[n]=t,e),{}),ju="data-rh",Pb={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Db=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},aEn=e=>{let t=Db(e,"title");const n=Db(e,Pb.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=Db(e,Pb.DEFAULT_TITLE);return t||r||void 0},sEn=e=>Db(e,Pb.ON_CHANGE_CLIENT_STATE)||(()=>{}),RU=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),lEn=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const i=Object.keys(r);for(let o=0;oconsole&&typeof console.warn=="function"&&console.warn(e),tC=(e,t,n)=>{const r={};return n.filter(i=>Array.isArray(i[e])?!0:(typeof i[e]<"u"&&cEn(`Helmet: ${e} should be of type "Array". Instead found type "${typeof i[e]}"`),!1)).map(i=>i[e]).reverse().reduce((i,o)=>{const a={};o.filter(l=>{let c;const u=Object.keys(l);for(let f=0;fi.push(l));const s=Object.keys(a);for(let l=0;l{if(Array.isArray(e)&&e.length){for(let n=0;n({baseTag:lEn(["href"],e),bodyAttributes:RU("bodyAttributes",e),defer:Db(e,Pb.DEFER),encode:Db(e,Pb.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:RU("htmlAttributes",e),linkTags:tC("link",["rel","href"],e),metaTags:tC("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:tC("noscript",["innerHTML"],e),onChangeClientState:sEn(e),scriptTags:tC("script",["src","innerHTML"],e),styleTags:tC("style",["cssText"],e),title:aEn(e),titleAttributes:RU("titleAttributes",e),prioritizeSeoTags:uEn(e,Pb.PRIORITIZE_SEO_TAGS)}),BFe=e=>Array.isArray(e)?e.join(""):e,fEn=(e,t)=>{const n=Object.keys(e);for(let r=0;rArray.isArray(e)?e.reduce((n,r)=>(fEn(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},o_e=(e,t)=>({...e,[t]:void 0}),pEn=["noscript","script","style"],uG=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"),UFe=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),mEn=(e,t,n,r)=>{const i=UFe(n),o=BFe(t);return i?`<${e} ${ju}="true" ${i}>${uG(o,r)}`:`<${e} ${ju}="true">${uG(o,r)}`},hEn=(e,t,n=!0)=>t.reduce((r,i)=>{const o=i,a=Object.keys(o).filter(c=>!(c==="innerHTML"||c==="cssText")).reduce((c,u)=>{const d=typeof o[u]>"u"?u:`${u}="${uG(o[u],n)}"`;return c?`${c} ${d}`:d},""),s=o.innerHTML||o.cssText||"",l=pEn.indexOf(e)===-1;return`${r}<${e} ${ju}="true" ${a}${l?"/>":`>${s}`}`},""),jFe=(e,t={})=>Object.keys(e).reduce((n,r)=>{const i=aJ[r];return n[i||r]=e[r],n},t),gEn=(e,t,n)=>{const r={key:t,[ju]:!0},i=jFe(n,r);return[de.createElement("title",i,t)]},QN=(e,t)=>t.map((n,r)=>{const i={key:r,[ju]:!0};return Object.keys(n).forEach(o=>{const s=aJ[o]||o;if(s==="innerHTML"||s==="cssText"){const l=n.innerHTML||n.cssText;i.dangerouslySetInnerHTML={__html:l}}else i[s]=n[o]}),de.createElement(e,i)}),Rc=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>gEn(e,t.title,t.titleAttributes),toString:()=>mEn(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>jFe(t),toString:()=>UFe(t)};default:return{toComponent:()=>QN(e,t),toString:()=>hEn(e,t,n)}}},vEn=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const i=OU(e,TU.meta),o=OU(t,TU.link),a=OU(n,TU.script);return{priorityMethods:{toComponent:()=>[...QN("meta",i.priority),...QN("link",o.priority),...QN("script",a.priority)],toString:()=>`${Rc("meta",i.priority,r)} ${Rc("link",o.priority,r)} ${Rc("script",a.priority,r)}`},metaTags:i.default,linkTags:o.default,scriptTags:a.default}},_En=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:o,styleTags:a,title:s="",titleAttributes:l,prioritizeSeoTags:c}=e;let{linkTags:u,metaTags:d,scriptTags:f}=e,p={toComponent:()=>{},toString:()=>""};return c&&({priorityMethods:p,linkTags:u,metaTags:d,scriptTags:f}=vEn(e)),{priority:p,base:Rc("base",t,r),bodyAttributes:Rc("bodyAttributes",n,r),htmlAttributes:Rc("htmlAttributes",i,r),link:Rc("link",u,r),meta:Rc("meta",d,r),noscript:Rc("noscript",o,r),script:Rc("script",f,r),style:Rc("style",a,r),title:Rc("title",{title:s,titleAttributes:l},r)}},dG=_En,mI=[],HFe=!!(typeof window<"u"&&window.document&&window.document.createElement),fG=class{constructor(e,t){ni(this,"instances",[]);ni(this,"canUseDOM",HFe);ni(this,"context");ni(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?mI:this.instances,add:e=>{(this.canUseDOM?mI:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?mI:this.instances).indexOf(e);(this.canUseDOM?mI:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=dG({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},yEn={},zFe=de.createContext(yEn),hv,VFe=(hv=class extends m.Component{constructor(n){super(n);ni(this,"helmetData");this.helmetData=new fG(this.props.context||{},hv.canUseDOM)}render(){return de.createElement(zFe.Provider,{value:this.helmetData.value},this.props.children)}},ni(hv,"canUseDOM",HFe),hv),$y=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${ju}]`),i=[].slice.call(r),o=[];let a;return t&&t.length&&t.forEach(s=>{const l=document.createElement(e);for(const c in s)if(Object.prototype.hasOwnProperty.call(s,c))if(c==="innerHTML")l.innerHTML=s.innerHTML;else if(c==="cssText")l.styleSheet?l.styleSheet.cssText=s.cssText:l.appendChild(document.createTextNode(s.cssText));else{const u=c,d=typeof s[u]>"u"?"":s[u];l.setAttribute(c,d)}l.setAttribute(ju,"true"),i.some((c,u)=>(a=u,l.isEqualNode(c)))?i.splice(a,1):o.push(l)}),i.forEach(s=>{var l;return(l=s.parentNode)==null?void 0:l.removeChild(s)}),o.forEach(s=>n.appendChild(s)),{oldTags:i,newTags:o}},pG=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(ju),i=r?r.split(","):[],o=[...i],a=Object.keys(t);for(const s of a){const l=t[s]||"";n.getAttribute(s)!==l&&n.setAttribute(s,l),i.indexOf(s)===-1&&i.push(s);const c=o.indexOf(s);c!==-1&&o.splice(c,1)}for(let s=o.length-1;s>=0;s-=1)n.removeAttribute(o[s]);i.length===o.length?n.removeAttribute(ju):n.getAttribute(ju)!==a.join(",")&&n.setAttribute(ju,a.join(","))},bEn=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=BFe(e)),pG("title",t)},a_e=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:o,metaTags:a,noscriptTags:s,onChangeClientState:l,scriptTags:c,styleTags:u,title:d,titleAttributes:f}=e;pG("body",r),pG("html",i),bEn(d,f);const p={baseTag:$y("base",n),linkTags:$y("link",o),metaTags:$y("meta",a),noscriptTags:$y("noscript",s),scriptTags:$y("script",c),styleTags:$y("style",u)},h={},g={};Object.keys(p).forEach(v=>{const{newTags:y,oldTags:_}=p[v];y.length&&(h[v]=y),_.length&&(g[v]=p[v].oldTags)}),t&&t(),l(e,h,g)},nC=null,SEn=e=>{nC&&cancelAnimationFrame(nC),e.defer?nC=requestAnimationFrame(()=>{a_e(e,()=>{nC=null})}):(a_e(e),nC=null)},EEn=SEn,s_e=class extends m.Component{constructor(){super(...arguments);ni(this,"rendered",!1)}shouldComponentUpdate(t){return!iEn(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const i=dEn(t.get().map(o=>{const a={...o.props};return delete a.context,a}));VFe.canUseDOM?EEn(i):dG&&(r=dG(i)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},IU,CEn=(IU=class extends m.Component{shouldComponentUpdate(e){return!eEn(o_e(this.props,"helmetData"),o_e(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return r_e(i_e.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${i_e.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),r_e(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`} ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return de.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:i,...o}=r.props,a=Object.keys(o).reduce((l,c)=>(l[oEn[c]||c]=o[c],l),{});let{type:s}=r;switch(typeof s=="symbol"?s=s.toString():this.warnOnInvalidChildren(r,i),s){case"Symbol(react.fragment)":t=this.mapChildrenToProps(i,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,a,i);break;default:t=this.mapObjectTypeChildren(r,t,a,i);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof fG)){const i=r;r=new fG(i.context,!0),delete n.helmetData}return r?de.createElement(s_e,{...n,context:r.value}):de.createElement(zFe.Consumer,null,i=>de.createElement(s_e,{...n,context:i}))}},ni(IU,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),IU);const wEn={i18_file_assistant:"文件助手",slogan:"对话即服务","menu.dashboard.chat":"消息","menu.dashboard.contact":"通讯录","menu.dashboard.queue":"排队","menu.dashboard.ticket":"工单","menu.dashboard.leavemsg":"留言","menu.dashboard.visitor":"访客","menu.dashboard.monitor":"监控","menu.dashboard.plugins":"插件","menu.dashboard.mine":"我的","chat.toolbar.emoji":"表情","chat.toolbar.image":"图片","chat.toolbar.file":"文件","chat.toolbar.audio":"录音","chat.toolbar.webrtc":"视频","chat.toolbar.history":"历史消息","chat.toolbar.block":"拉黑","chat.toolbar.screenshot":"截图","chat.toolbar.invite.rate":"邀请评价","chat.toolbar.autoreply":"自动回复","chat.toolbar.autoreply.on":"自动回复(已开启)","chat.navbar.transfer":"转接","chat.navbar.ticket":"工单","chat.navbar.crm":"Crm","chat.navbar.close":"结束","chat.navbar.category":"分类","chat.navbar.ai":"AI","chat.navbar.queue":"排队","chat.right.ai":"Copilot","chat.right.quickreply":"快捷回复","chat.right.ticket":"工单","chat.right.userinfo":"用户信息","chat.right.llm":"大模型","chat.right.docview":"文档预览","chat.right.group":"群详情","chat.right.member":"联系人","chat.ai.summary":"会话小结","chat.ai.switch":"切换AI","chat.thread.nomore":"没有更多了","chat.message.loadmore":"加载更多","dashboard.footbar.logout":"退出",SERVICE:"客服机器人(对外)",MARKETING:"营销机器人(对外)",KNOWLEDGEBASE:"知识库机器人(内部)",QA:"问答机器人(直接调用大模型)",AGENT_ASSISTANT:"客服助手(内部)",loading:"加载中",create:"创建",creating:"创建中...","create.success":"创建成功","create.fail":"创建失败",update:"更新",updating:"更新中...","update.success":"更新成功","update.fail":"更新失败",save:"保存",saving:"正在保存...",email:"邮箱","email.verified":"邮箱(已验证)","email.unverified":"邮箱(待验证)",mobile:"手机号","mobile.verified":"手机号(已验证)","mobile.unverified":"手机号(待验证)",captcha:"验证码",logging:"登录中...","login.success":"登录成功","login.error":"登录失败,请稍后重试",registering:"注册中...","register.success":"注册成功","register.error":"注册失败","username.change.tip":"登录用户名(修改用户名之后,需要重新登录)",createKb:"创建知识库",createDept:"创建部门",upload:"上传",import:"导入",export:"导出","download.template":"下载模板",open:"打开",copy:"复制","copy.success":"复制成功",ok:"确定",cancel:"取消",bind:"绑定",edit:"编辑",editing:"修改中...","edit.success":"修改成功","edit.fail":"修改失败",delete:"删除",deleting:"删除中...",deleteTip:"删除提示",deleteAffirm:"确定要删除","delete.success":"删除成功","delete.fail":"删除失败","process.success":"处理成功","process.fail":"处理失败",preview:"预览",close:"关闭",closing:"关闭中...",closeTip:"关闭提示",closeASure:"确定要关闭","close.success":"关闭成功",choose:"选择","leavemsg.enabled":"留言启用",transfer:"转接","transfer.success":"转接成功","transfer.fail":"转接失败","transfer.reason":"转接原因",refresh:"刷新",noAgent:"暂无客服在线"},xEn={"menu.anonymous.title":"Anonymous Mode","menu.anonymous.home":"Messages","menu.anonymous.contact":"Contacts","menu.anonymous.robot":"Robot","menu.anonymous.setting":"Settings","menu.anonymous.status":"Anonymous Status","menu.anonymous.status.tip":"Anonymous mode only supports communication between online devices in the same LAN","menu.anonymous.login.tip":"Login to access offline messages and more features","menu.anonymous.login":"Login","menu.anonymous.current.users":"Current Users","menu.dashboard.chat":"聊天","menu.dashboard.contact":"联系人","menu.dashboard.ai":"AI助手","menu.dashboard.note":"笔记","menu.dashboard.kbase":"知识库","menu.dashboard.mine":"设置","menu.dashboard.queue":"排队","menu.dashboard.leavemsg":"留言","menu.dashboard.visitor":"访客","menu.dashboard.monitor":"监控","menu.dashboard.plugins":"插件","menu.settings":"设置","menu.settings.logout":"登出","menu.agent.status":"客服状态","menu.agent.status.available":"在线","menu.agent.status.rest":"小休","menu.agent.status.offline":"离线","menu.language":"语言","menu.mode":"模式","menu.mode.team":"团队模式","menu.mode.personal":"个人模式","menu.mode.agent":"客服模式","menu.agent.offline.warning":"请在离线前结束所有正在進行中的会话","menu.mode.personal.coming":"即将推出...","menu.dashboard.form":"表单","menu.dashboard.formbuilder":"表单构建器","menu.dashboard.flow":"流程","menu.dashboard.flowbuilder":"流程构建器","menu.dashboard.ticket":"工单","menu.dashboard.ticketbuilder":"工单构建器"},TEn={"pages.login.title":"登录","pages.login.subtitle":"欢迎使用微语客服系统","pages.login.accountLogin.tab":"账户密码登录","pages.login.accountLogin.errorMessage":"错误的用户名和密码","pages.login.failure":"登录失败,请检查用户名密码!","pages.login.failureCode":"验证错误","pages.login.success":"登录成功!","pages.login.username.placeholder":"请输入用户名","pages.login.username.required":"用户名是必填项!","pages.login.password.placeholder":"请输入密码","pages.login.repassword.placeholder":"确认密码","pages.login.password.required":"密码是必填项!","pages.login.repassword.required":"确认密码是必填项!","pages.login.phoneLogin.tab":"手机号登录","pages.login.phoneLogin.errorMessage":"验证码错误","pages.login.phoneNumber.placeholder":"请输入手机号!","pages.login.phoneNumber.required":"手机号是必填项!","pages.login.phoneNumber.invalid":"不合法的手机号!","pages.login.captcha.placeholder":"请输入验证码!","pages.login.captcha.required":"验证码是必填项!","pages.login.phoneLogin.getVerificationCode":"获取验证码","pages.login.anonymousLogin":"匿名登录","pages.getCaptchaSecondText":"秒后重新获取","pages.login.scanLogin.tab":"扫码登录","pages.login.rememberMe":"自动登录","pages.login.forgotPassword":"忘记密码","pages.login.submit":"登录","pages.login.loginWith":"其他登录方式 :","pages.login.register":"注册账号","pages.login.registerAccount":"注册账户","pages.login.auto.register":"未注册手机号会自动注册","pages.welcome.link":"欢迎使用","pages.robot.new":"新建","pages.robot.chat":"聊天","pages.robot.edit":"编辑","pages.robot.delete":"删除","pages.robot.upload":"上传","pages.robot.tab.basic":"基本信息","pages.robot.tab.kb":"知识库","pages.robot.tab.channel":"渠道对接","pages.robot.tab.statistic":"数据统计","pages.robot.tab.advanced":"高级设置","pages.robot.tab.flow":"流程设计","pages.robot.tab.avatar":"头像","pages.robot.tab.title":"标题","pages.robot.tab.welcomeTip":"欢迎语","pages.robot.tab.description":"简介","pages.robot.tab.preview":"实时预览","pages.robot.tab.website":"官网","pages.robot.tab.helpdesk":"帮助文档","pages.robot.tab.icp":"京ICP备案 17041763号-1","pages.robot.tab.police":"粤公安备案 44030502008688号","pages.robot.kb.file":"文件","pages.robot.kb.text":"文本","pages.robot.kb.qa":"问答","pages.robot.kb.web":"网站","pages.robot.file.title":"文件名","pages.robot.file.type":"文件类型","pages.robot.file.size":"文件大小","pages.robot.file.action":"操作","pages.robot.file.delete":"删除","pages.robot.file.save":"保存","pages.robot.file.cancel":"取消","pages.robot.file.uploading":"上传中...","pages.robot.file.name_invalid":"文件名不能包含 _ ","pages.robot.file.parse":"解析文件内容","pages.setting":"设置","pages.logout":"退出登录","pages.footer.website":"微语官网","pages.footer.helpcenter":"帮助文档","pages.login.remember":"记住密码","pages.agent.tab.basic":"基本信息","pages.agent.robot":"机器人","pages.agent.service.settings":"服务设置","pages.agent.service.settings.topTip":"顶部提示","pages.agent.service.settings.welcomeTip":"欢迎语","pages.agent.service.settings.leavemsgTip":"离线留言提示","pages.agent.service.settings.autoCloseMin":"自动关闭分钟","pages.agent.service.settings.showLogo":"显示Logo","pages.agent.service.settings.maxThreadCount":"最大线程数","pages.advanced.faq":"常见问题","pages.advanced.quickButton":"快捷按钮","pages.advanced.faqGuess":"智能推荐","pages.advanced.faqHot":"热门问题","pages.advanced.faqShortcut":"快捷回复","pages.advanced.rate":"满意度评价","pages.advanced.autoreply":"自动回复","pages.advanced.leaveMsg":"留言设置","pages.advanced.survey":"调查问卷","pages.advanced.history":"历史记录","pages.advanced.inputAssociation":"输入联想","pages.advanced.antiHarassment":"验证码设置","pages.advanced.captcha":"验证码设置","pages.advanced.showPreForm":"显示预览","pages.advanced.showHistory":"显示历史","pages.advanced.showInputAssociation":"显示输入联想","pages.advanced.showCaptcha":"显示验证码","pages.login.country.placeholder":"选择国家/地区","pages.login.country.china":"中国大陆","pages.login.country.hongkong":"中国香港","pages.login.country.taiwan":"中国台湾","pages.login.country.macao":"中国澳门","pages.login.country.japan":"日本","pages.login.country.korea":"韩国","pages.login.country.usa":"美国","pages.login.country.canada":"加拿大","pages.login.country.uk":"英国","pages.login.country.germany":"德国","pages.login.country.france":"法国","pages.login.country.australia":"澳大利亚","pages.login.country.singapore":"新加坡","pages.login.country.malaysia":"马来西亚","pages.login.country.thailand":"泰国","pages.login.country.vietnam":"越南","pages.login.country.philippines":"菲律宾","pages.login.country.indonesia":"印度尼西亚","pages.login.country.italy":"意大利","pages.login.country.spain":"西班牙","pages.login.country.russia":"俄罗斯","pages.login.country.newzealand":"新西兰","pages.anonymous.title":"匿名模式","pages.anonymous.home":"首页","pages.anonymous.contact":"联系人","pages.anonymous.robot":"机器人","pages.anonymous.setting":"设置","pages.anonymous.welcome":"欢迎使用匿名模式","pages.anonymous.description":"您可以在此模式下匿名使用系统功能","block.title":"拉黑设置","block.type":"拉黑类型","block.user":"拉黑用户","block.ip":"拉黑IP","block.permanent":"永久封禁","block.until":"封禁至","block.until.required":"请选择封禁结束时间","pages.register.title":"注册","pages.register.subtitle":"创建您的账号","pages.register.username":"用户名","pages.register.password":"密码","pages.register.confirm":"确认密码","pages.register.email":"邮箱","pages.register.mobile":"手机号","pages.register.code":"验证码","pages.register.agreement":"我已阅读并同意","pages.register.agreement.terms":"服务条款","pages.register.submit":"注册","pages.register.login":"使用已有账号登录","pages.404.title":"404","pages.404.subtitle":"抱歉,您访问的页面不存在","pages.404.description":"您可以尝试以下操作:","pages.404.actions.back":"返回上一页","pages.404.actions.home":"返回首页","pages.403.title":"403","pages.403.subtitle":"抱歉,您没有访问该页面的权限","pages.403.description":"请联系管理员获取权限","pages.403.actions.back":"返回上一页","pages.500.title":"500","pages.500.subtitle":"抱歉,服务器出错了","pages.500.description":"请稍后再试或联系技术支持","pages.500.actions.back":"返回上一页","pages.500.actions.home":"返回首页","pages.welcome.title":"欢迎","pages.welcome.description":"微语客服系统是一个开源的客服系统","pages.welcome.getting-started":"开始使用","pages.welcome.view-docs":"查看文档"},REn={"app.title":"微语","app.logout":"登出","app.copyright.produced":"微语出品","app.preview.down.block":"下载此页面到本地项目","app.welcome.link.fetch-blocks":"获取全部区块","app.welcome.link.block-list":"基于 block 开发,快速构建标准页面","navBar.lang":"语言","layout.user.link.help":"帮助","layout.user.link.privacy":"隐私","layout.user.link.terms":"条款","theme.light":"浅色","theme.dark":"深色","theme.system":"自动","setting.lang":"Languages","setting.theme":"主题","app.name":"微语客服","app.description":"新一代智能客服系统","app.welcome":"欢迎使用微语客服系统","app.copyright":"© 2024 微语客服. 保留所有权利.","app.version":"版本","app.action.back":"返回","app.action.confirm":"确认","app.action.cancel":"取消","app.action.save":"保存","app.action.edit":"编辑","app.action.delete":"删除","app.action.refresh":"刷新","app.action.search":"搜索","app.action.more":"更多","app.action.settings":"设置","app.action.help":"帮助","app.tip.loading":"加载中...","app.tip.success":"操作成功","app.tip.error":"操作失败","app.tip.warning":"警告","app.tip.info":"提示","app.tip.confirm":"确认要执行此操作吗?","app.tip.nodata":"暂无数据","app.tip.network.error":"网络连接失败","app.tip.server.error":"服务器错误","app.status.online":"在线","app.status.offline":"离线","app.status.busy":"忙碌","app.status.away":"离开","app.status.invisible":"隐身","app.status.disabled":"已禁用","app.status.expired":"已过期","app.time.today":"今天","app.time.yesterday":"昨天","app.time.tomorrow":"明天","app.time.just":"刚刚","app.time.minutes":"{count} 分钟前","app.time.hours":"{count} 小时前","app.time.days":"{count} 天前","app.file.upload":"上传文件","app.file.download":"下载文件","app.file.preview":"预览文件","app.file.size.limit":"文件大小不能超过 {size}","app.file.type.unsupported":"不支持的文件类型","app.file.upload.success":"上传成功","app.file.upload.failed":"上传失败","app.file.download.success":"下载成功","app.file.download.failed":"下载失败","app.layout.sidebar.collapse":"收起侧边栏","app.layout.sidebar.expand":"展开侧边栏","app.layout.header.profile":"个人中心","app.layout.header.logout":"退出登录","app.layout.footer.copyright":"版权所有","app.layout.footer.terms":"服务条款","app.layout.footer.privacy":"隐私政策"},OEn={"auth.login.title":"登录","auth.login.subtitle":"欢迎使用微语客服系统","auth.login.username":"用户名","auth.login.username.required":"请输入用户名","auth.login.password":"密码","auth.login.password.required":"请输入密码","auth.login.remember":"记住密码","auth.login.forgot":"忘记密码?","auth.login.submit":"登录","auth.login.other":"其他登录方式","auth.login.register":"注册账号","auth.login.success":"登录成功","auth.login.failed":"登录失败","auth.register.title":"注册","auth.register.subtitle":"创建新账号","auth.register.username":"用户名","auth.register.username.required":"请输入用户名","auth.register.email":"邮箱","auth.register.email.required":"请输入邮箱","auth.register.password":"密码","auth.register.password.required":"请输入密码","auth.register.confirm":"确认密码","auth.register.confirm.required":"请确认密码","auth.register.submit":"注册","auth.register.login":"已有账号?登录","auth.register.success":"注册成功","auth.register.failed":"注册失败","auth.forgot.title":"忘记密码","auth.forgot.subtitle":"重置密码","auth.forgot.email":"邮箱","auth.forgot.email.required":"请输入邮箱","auth.forgot.submit":"提交","auth.forgot.back":"返回登录","auth.forgot.success":"重置密码邮件已发送","auth.forgot.failed":"重置密码失败","auth.reset.title":"重置密码","auth.reset.subtitle":"设置新密码","auth.reset.password":"新密码","auth.reset.password.required":"请输入新密码","auth.reset.confirm":"确认密码","auth.reset.confirm.required":"请确认新密码","auth.reset.submit":"提交","auth.reset.success":"密码重置成功","auth.reset.failed":"密码重置失败","auth.verify.code":"验证码","auth.verify.code.required":"请输入验证码","auth.verify.code.send":"发送验证码","auth.verify.code.resend":"重新发送","auth.verify.code.success":"验证码发送成功","auth.verify.code.failed":"验证码发送失败","auth.password.strength.weak":"密码强度:弱","auth.password.strength.medium":"密码强度:中","auth.password.strength.strong":"密码强度:强","auth.agreement.text":"我已阅读并同意","auth.agreement.terms":"服务条款","auth.agreement.privacy":"隐私政策","server.button.back":"返回","server.button.save":"保存","server.button.reset":"重置","server.button.help":"帮助","server.save.success":"保存成功","server.reset.success":"重置成功,已恢复默认云服务器","server.custom.enable":"启用自定义服务器","server.api.url.label":"API服务器地址 (例如: http://127.0.0.1:9003 或 https://api.bytedesk.com)","server.api.url.placeholder":"http://127.0.0.1:9003","server.websocket.url.label":"WebSocket服务器地址 (例如: ws://127.0.0.1:9885/websocket 或 wss://api.bytedesk.com/websocket)","server.websocket.url.placeholder":"ws://127.0.0.1:9885/websocket","server.input.error":"请输入正确的服务器地址"},IEn={"chat.title":"会话","chat.empty":"暂无会话","chat.loading":"加载中...","chat.load.error":"加载失败","chat.load.more":"加载更多","chat.no.more":"没有更多了","chat.refresh":"刷新","chat.status.connecting":"连接中...","chat.status.connected":"已连接","chat.status.disconnected":"连接断开","chat.status.reconnecting":"重新连接中...","chat.network.error":"网络连接失败,请检查网络","chat.thread.closing":"结束会话中...","chat.thread.close.success":"结束会话成功","chat.thread.close.failed":"结束会话失败","chat.thread.close.confirm.title":"确定要结束会话?","chat.rate.invite.confirm.title":"确认要邀请评价?","chat.message.send.failed":"发送失败","chat.message.resend":"重新发送","chat.message.recall":"撤回消息","chat.message.copy.success":"复制成功","chat.copy.success":"复制成功","chat.menu.copy":"复制","chat.menu.translate":"翻译","chat.menu.recall":"撤回","chat.menu.enlarge":"放大阅读","chat.menu.quickreply.add":"添加快捷回复...","chat.menu.browser.open":"浏览器打开","chat.menu.forward":"转发...","chat.menu.collect":"收藏","chat.menu.quote":"引用","chat.input.placeholder":"请输入内容, Ctrl+V 粘贴截图/图片","chat.translation.placeholder":"请输入翻译内容...","chat.input.send":"发送","chat.input.sending":"发送中...","chat.toolbar.emoji":"表情","chat.toolbar.image":"图片","chat.toolbar.file":"文件","chat.toolbar.screenshot":"截图","chat.toolbar.autoreply":"自动回复","chat.toolbar.audio":"录音","chat.toolbar.webrtc":"视频会话","chat.toolbar.history":"历史","chat.toolbar.block":"拉黑","chat.toolbar.invite.rate":"邀请评价","chat.navbar.transfer":"转接","chat.navbar.close":"结束","chat.navbar.note":"笔记","chat.navbar.kbase":"知识库","chat.right.quickreply":"快捷回复","chat.right.userinfo":"访客信息","chat.right.ai":"AI助手","chat.right.ticket":"工单","chat.right.llm":"大模型","chat.right.group":"群组信息","chat.right.member":"成员信息","chat.right.docview":"文档查看","chat.upload.size.limit":"文件大小不能超过 {size}","chat.upload.type.unsupported":"不支持的文件类型","chat.upload.failed":"上传失败","chat.upload.success":"上传成功","chat.upload.progress":"上传中 {progress}%","chat.webrtc.calling":"呼叫中...","chat.webrtc.incoming":"来电...","chat.webrtc.connected":"通话中...","chat.webrtc.ended":"通话结束","chat.webrtc.rejected":"对方拒绝","chat.webrtc.busy":"对方忙","chat.webrtc.failed":"通话失败","chat.webrtc.accept":"接受","chat.webrtc.reject":"拒绝","chat.webrtc.hangup":"挂断","chat.group.notice":"群公告","chat.group.members":"群成员","chat.group.admins":"管理员","chat.group.robots":"机器人","chat.group.qrcode":"二维码","chat.group.uid.error":"群组ID错误"},NEn={"common.confirm":"确认","common.cancel":"取消","common.submit":"提交","common.reset":"重置","common.save":"保存","common.delete":"删除","common.edit":"编辑","common.add":"添加","common.search":"搜索","common.back":"返回","common.next":"下一步","common.previous":"上一步","common.more":"更多","common.loading":"加载中...","common.success":"操作成功","common.failed":"操作失败","common.error":"错误","common.warning":"警告","common.info":"提示","common.yes":"是","common.no":"否","common.ok":"确定","common.create":"创建","common.status.online":"在线","common.status.offline":"离线","common.status.busy":"忙碌","common.status.away":"离开","common.status.invisible":"隐身","common.operation.success":"操作成功","common.operation.failed":"操作失败","common.operation.confirm":"确认要执行此操作吗?","common.operation.processing":"处理中...","common.operation.completed":"处理完成","common.operation.error":"处理出错","common.form.required":"此项为必填项","common.form.optional":"选填","common.form.invalid":"输入无效","common.form.validate.error":"表单验证失败","common.form.validate.success":"表单验证通过"},MEn={"customer.list.title":"客户列表","customer.list.empty":"暂无客户","customer.list.loading":"加载中...","customer.list.load.error":"加载失败","customer.list.load.more":"加载更多","customer.list.no.more":"没有更多了","customer.list.refresh":"刷新","customer.info.basic":"基本信息","customer.info.name":"姓名","customer.info.nickname":"昵称","customer.info.gender":"性别","customer.info.age":"年龄","customer.info.birthday":"生日","customer.info.mobile":"手机号","customer.info.email":"邮箱","customer.info.address":"地址","customer.info.company":"公司","customer.info.position":"职位","customer.info.remark":"备注","customer.info.tags":"标签","customer.info.source":"来源","customer.info.created":"创建时间","customer.info.updated":"更新时间","customer.status.online":"在线","customer.status.offline":"离线","customer.status.away":"离开","customer.status.busy":"忙碌","customer.status.blocked":"已拉黑","customer.action.edit":"编辑","customer.action.delete":"删除","customer.action.block":"拉黑","customer.action.unblock":"取消拉黑","customer.action.transfer":"转移","customer.action.merge":"合并","customer.action.export":"导出","customer.form.name":"姓名","customer.form.name.required":"请输入姓名","customer.form.nickname":"昵称","customer.form.gender":"性别","customer.form.age":"年龄","customer.form.birthday":"生日","customer.form.mobile":"手机号","customer.form.email":"邮箱","customer.form.address":"地址","customer.form.company":"公司","customer.form.position":"职位","customer.form.remark":"备注","customer.form.tags":"标签","customer.form.source":"来源","customer.create.success":"客户创建成功","customer.create.failed":"客户创建失败","customer.update.success":"客户更新成功","customer.update.failed":"客户更新失败","customer.delete.success":"客户删除成功","customer.delete.failed":"客户删除失败","customer.block.success":"客户拉黑成功","customer.block.failed":"客户拉黑失败","customer.unblock.success":"取消拉黑成功","customer.unblock.failed":"取消拉黑失败","customer.transfer.success":"客户转移成功","customer.transfer.failed":"客户转移失败","customer.merge.success":"客户合并成功","customer.merge.failed":"客户合并失败","customer.export.success":"客户导出成功","customer.export.failed":"客户导出失败","black.title":"拉黑设置","black.type":"拉黑类型","black.type.required":"请选择至少一种拉黑类型","black.user":"拉黑用户","black.ip":"拉黑IP","black.permanent":"永久拉黑","black.until":"拉黑截至","black.until.required":"请选择拉黑截至时间","black.reason":"拉黑原因","black.reason.required":"请输入拉黑原因","black.reason.placeholder":"请输入拉黑原因","black.success":"拉黑成功"},AEn={"dashboard.error.message":"获取数据失败","dashboard.init.organization":"初始化组织","dashboard.init.profile":"初始化个人信息","dashboard.init.workgroups":"初始化工作组","dashboard.init.agent":"初始化客服信息","dashboard.transfer.accept":"{nickname} 已接受转接","dashboard.transfer.reject":"{nickname} 已拒绝转接","dashboard.transfer.success":"转接请求已发送,等待对方响应"},PEn={"i18n.lang.en-US":"English","i18n.lang.zh-CN":"简体中文","i18n.lang.zh-TW":"繁体中文","i18n.queue.tip":"排队队列","i18n.queue.message.template":"当前排队人数:{0},大约等待时间:{1} 分钟","i18n.queue.empty":"暂无排队用户","i18n.queue.accept":"接入","i18n.system.notification":"系统通知","i18n.old.password.wrong":"旧密码错误","i18n.change.password":"修改密码","i18n.auth.captcha.send.success":"验证码发送成功","i18n.auth.captcha.error":"验证码错误","i18n.auth.captcha.expired":"验证码过期","i18n.auth.captcha.already.send":"验证码已经发送,请等待","i18n.auth.captcha.validate.failed":"验证码验证失败","i18n.faq":"常见问题","i18n.rate":"评价","i18n.input.placeholder":"请输入内容","i18n.loading":"加载中...","i18n.load.more":"加载更多","i18n.load.nomore":"没有更多了","i18n.typing":"正在输入...","i18n.robot":"[机器人]","i18n.agent":"[一对一]","i18n.workgroup":"[技能组]","i18n.group":"[群聊]","i18n.rate.invite":"邀请评价","i18n.ticket":"[工单]","i18n.notice":"通知","i18n.notice.title":"标题","i18n.notice.content":"内容","i18n.notice.ip":"IP","i18n.notice.ipLocation":"IP地址","i18n.notice.parse.file.success":"解析文件成功","i18n.notice.parse.file.error":"解析文件失败","i18n.DEPT.ALL":"全部","i18n.DEPT.ADMIN":"管理员","i18n.DEPT.HR":"人事部","i18n.DEPT.ORG":"行政部","i18n.DEPT.IT":"技术部","i18n.DEPT.MONEY":"财务部","i18n.DEPT.MARKETING":"市场部","i18n.DEPT.SALES":"销售部","i18n.DEPT.CS":"客服部","i18n.new.message":"新消息","i18n.file.assistant":"文件助手","i18n.clipboard.assistant":"剪切板助手","i18n.thread.content.image":"图片","i18n.thread.content.file":"文件","i18n.top.tip":"默认置顶语","i18n.top.make":"置顶","i18n.top.cancel":"取消置顶","i18n.unread.make":"设置未读","i18n.unread.cancel":"取消未读","i18n.star.make":"星标","i18n.star.cancel":"取消星标","i18n.disturb.make":"免打扰","i18n.disturb.cancel":"取消免打扰","i18n.transfer":"转接","i18n.hide":"隐藏","i18n.network.disconnected":"网络已断开","i18n.message.pulling":"消息拉取中...","i18n.leavemsg.tip":"无客服在线,请留言","i18n.welcome.tip":"您好,有什么可以帮您的?","i18n.reenter.tip":"继续会话","i18n.under.development":"开发中...","i18n.user.description":"默认用户描述","i18n.robot.nickname":"默认机器人","i18n.robot.description":"默认机器人描述","i18n.robot.noreply":"未找到相应答案","i18n.robot.agent.assistant.nickname":"默认机器人助手","i18n.llm.prompt":"你是一个聪明、对人类有帮助的人工智能,你可以对人类提出的问题给出有用、详细、礼貌的回答","i18n.agent.nickname":"默认客服","i18n.agent.description":"默认客服描述","i18n.workgroup.nickname":"默认技能组","i18n.workgroup.description":"默认技能组描述","i18n.contact":"询问联系方式","i18n.thanks":"感谢","i18n.welcome":"问候","i18n.bye":"告别","i18n.tip.title":"提示","i18n.tip.network.disconnected":"网络已断开","i18n.tip.network.connected":"网络已连接","i18n.kb.name":"默认知识库","i18n.kb.platform.name":"平台知识库","i18n.kb.helpcenter.name":"帮助文档知识库","i18n.kb.llm.name":"大模型知识库","i18n.kb.keyword.name":"关键词知识库","i18n.kb.faq.name":"常见问题知识库","i18n.kb.autoreply.name":"自动回复知识库","i18n.kb.quickreply.name":"快捷回复知识库","i18n.kb.taboo.name":"敏感词知识库","i18n.kb.description":"知识库默认描述","i18n.agent.nicknameKb":"默认客服知识库","i18n.contact.title":"方便的话请您提供一下您的联系电话","i18n.contact.content":"方便的话请您提供一下您的联系电话,我电话给您沟通一下,这样更加直观","i18n.thanks.title":"感谢光临","i18n.thanks.content":"感谢光临,欢迎再来","i18n.welcome.title":"您好","i18n.welcome.content":"您好,有什么可以帮您的","i18n.bye.title":"您的满意一直是我们的目标","i18n.bye.content":"您的满意一直是我们的目标,如果有任何疑问欢迎您随时联系","i18n.vip.api":"VIP接口,暂无权限,请联系:weiyuai.cn","i18n.faq.category.demo.1":"常见问题分类Demo1","i18n.faq.category.demo.2":"常见问题分类Demo2","i18n.faq.demo.title.1":"常见问题文字Demo1","i18n.faq.demo.content.1":"常见问题文字Demo1","i18n.faq.demo.title.2":"常见问题图片Demo2","i18n.faq.demo.content.2":"https://www.weiyuai.cn/logo.png","i18n.quick.button.demo.title.1":"快捷按钮文字Demo1","i18n.quick.button.demo.content.1":"快捷按钮文字Demo1","i18n.quick.button.demo.title.2":"快捷按钮链接Demo2","i18n.quick.button.demo.content.2":"https://www.weiyuai.cn","i18n.preview.title":"预览","i18n.cancel":"取消","i18n.confirm":"确定","i18n.send":"发送","i18n.transferToAgent":"转人工服务","i18n.auto.closed":"会话自动关闭","i18n.agent.closed":"客服关闭会话","i18n.online.chat":"在线客服","i18n.JOB":"工作","i18n.LANGUAGE":"语言","i18n.TOOL":"工具","i18n.WRITING":"写作","i18n.RAG":"知识库问答","i18n.module.ai":"AI","i18n.module.void":"空白","i18n.module.service":"客服","i18n.module.ticket":"工单","i18n.black.user.already.exists":"用户已拉黑","i18n.ticket.category.technical_support":"技术支持","i18n.ticket.category.service_request":"服务请求","i18n.ticket.category.consultation":"咨询","i18n.ticket.category.complaint_suggestion":"投诉建议","i18n.ticket.category.operation_maintenance":"运维","i18n.ticket.category.other":"其他","i18n.vip.component":"VIP组件, 联系我们了解更多详情","i18n.vip.contactUs":"联系我们","i18n.vip.contactUrl":"https://www.weiyuai.cn/contact.html","i18n.ticket.process.name":"工单流程","i18n.thread.process.name":"会话流程"},DEn={"message.type.text":"文本消息","message.type.image":"图片消息","message.type.file":"文件消息","message.type.voice":"语音消息","message.type.video":"视频消息","message.type.location":"位置消息","message.type.link":"链接消息","message.type.card":"卡片消息","message.type.system":"系统消息","message.type.notification":"通知消息","message.type.custom":"自定义消息","message.status.sending":"发送中","message.status.sent":"已发送","message.status.delivered":"已送达","message.status.read":"已读","message.status.failed":"发送失败","message.status.recalled":"已撤回","message.status.deleted":"已删除","message.action.send":"发送","message.action.recall":"撤回","message.action.delete":"删除","message.action.resend":"重新发送","message.action.forward":"转发","message.action.quote":"引用","message.action.copy":"复制","message.action.translate":"翻译","message.action.download":"下载","message.action.preview":"预览","message.tip.sending":"消息发送中...","message.tip.sent":"消息已发送","message.tip.delivered":"消息已送达","message.tip.read":"消息已读","message.tip.failed":"消息发送失败","message.tip.recalled":"消息已撤回","message.tip.deleted":"消息已删除","message.tip.copy.success":"复制成功","message.tip.download.start":"开始下载...","message.tip.download.success":"下载成功","message.tip.download.failed":"下载失败","message.input.placeholder":"请输入消息","message.input.send.button":"发送","message.input.emoji.button":"表情","message.input.image.button":"图片","message.input.file.button":"文件","message.input.voice.button":"语音","message.input.video.button":"视频","message.input.location.button":"位置","message.list.load.more":"加载更多","message.list.loading":"加载中...","message.list.no.more":"没有更多消息","message.list.empty":"暂无消息","message.list.search.placeholder":"搜索消息","message.list.search.no.result":"未找到相关消息","message.time.just":"刚刚","message.time.minutes":"{count}分钟前","message.time.hours":"{count}小时前","message.time.days":"{count}天前","message.time.weeks":"{count}周前","message.time.months":"{count}个月前","message.time.years":"{count}年前","message.file.size.limit":"文件大小不能超过 {size}","message.file.type.unsupported":"不支持的文件类型","message.file.uploading":"上传中...","message.file.download":"下载文件","message.file.preview":"预览文件","message.image.loading":"图片加载中","message.image.load.error":"图片加载失败","message.image.save":"保存图片","message.image.save.success":"图片保存成功","message.image.save.failed":"图片保存失败","quickreply.search.placeholder":"搜索","quickreply.button.send":"发送","quickreply.button.copy":"复制","quickreply.button.create.category":"创建分类","quickreply.button.create.reply":"创建快捷回复","quickreply.copy.success":"{content} 已复制到剪贴板","category.form.edit.title":"编辑分类","category.form.create.title":"创建分类","category.form.name":"分类名称","category.form.name.required":"请输入分类名称!","category.form.name.placeholder":"输入分类名称","category.create.failed":"创建分类失败","quickreply.drawer.title":"快捷回复","quickreply.form.category":"分类","quickreply.form.category.required":"请选择分类","quickreply.form.category.placeholder":"选择分类","quickreply.form.type":"类型","quickreply.form.type.required":"请选择类型","quickreply.form.type.placeholder":"选择类型","quickreply.form.title":"标题","quickreply.form.title.required":"请输入标题","quickreply.form.content":"内容","quickreply.type.text":"文本","quickreply.type.image":"图片","quickreply.type.video":"视频","quickreply.type.audio":"音频","quickreply.type.file":"文件","quickreply.upload.text":"点击或拖拽文件上传","quickreply.upload.success":"{filename} 上传成功","quickreply.upload.error":"{filename} 上传失败","quickreply.upload.uploading":"{filename} 上传中","quickreply.form.validate.error":"请检查表单"},kEn={"profile.update.success":"个人信息更新成功","profile.form.avatar":"头像","profile.form.upload":"上传","profile.form.username":"用户名","profile.form.nickname":"昵称","profile.form.description":"描述","profile.button.change.password":"修改密码","profile.button.change.email":"修改邮箱","profile.button.change.mobile":"修改手机号","profile.email.verified":"邮箱已验证","profile.email.unverified":"邮箱未验证","profile.mobile.verified":"手机已验证","profile.mobile.unverified":"手机未验证","profile.email.change.title":"修改邮箱","profile.email.placeholder":"请输入邮箱地址","profile.email.required":"请输入邮箱地址!","profile.email.format.invalid":"邮箱格式不正确","profile.email.length.limit":"邮箱不得超过50字符","profile.email.verification.code.placeholder":"请输入验证码","profile.email.verification.code.countdown":"秒后重新获取","profile.email.verification.code.get":"获取验证码","profile.email.verification.code.required":"请输入验证码!","profile.email.not.changed":"邮箱未更改!","profile.email.change.success":"邮箱修改成功!","profile.email.format.error":"邮箱格式错误","profile.mobile.change.title":"修改手机号","profile.mobile.placeholder":"请输入手机号","profile.mobile.required":"请输入手机号!","profile.mobile.format.invalid":"手机号格式错误!","profile.mobile.verification.code.placeholder":"请输入验证码","profile.mobile.verification.code.countdown":"秒后重新获取","profile.mobile.verification.code.get":"获取验证码","profile.mobile.verification.code.required":"请输入验证码!","profile.mobile.not.changed":"手机号未更改!","profile.mobile.change.success":"手机号修改成功!","profile.mobile.format.error":"手机号格式错误","profile.password.change.title":"修改密码","profile.password.old":"原密码","profile.password.old.empty":"手机号直接登录用户,可以留空","profile.password.new":"新密码","profile.password.confirm":"确认密码","profile.password.length.error":"密码最小长度不能小于6","profile.password.mismatch":"两次输入密码不一致","profile.password.change.success":"密码修改成功!"},LEn={"setting.menu.title":"设置","setting.menu.profile":"个人信息","setting.menu.basic":"基本设置","setting.menu.agent":"客服设置","setting.menu.model":"大模型","setting.menu.certification":"实名认证","setting.menu.qrcode":"二维码","setting.menu.shortcut":"快捷键","setting.menu.click":"菜单点击","setting.save.success":"设置保存成功","setting.save.error":"设置保存失败","setting.load.error":"设置加载失败","setting.header.profile":"个人信息","setting.header.basic":"基本设置","setting.header.agent":"客服设置","setting.header.model":"大模型设置","setting.basic.sound.on":"已开启消息提示音","setting.basic.sound.off":"已关闭消息提示音","setting.basic.notification.on":"已开启网络状态通知","setting.basic.notification.off":"已关闭网络状态通知","setting.basic.connection.status":"长链接状态:","setting.basic.connection.connected":"✅连接正常","setting.basic.connection.disconnected":"❌连接断开","setting.basic.startup":"开机启动:","setting.basic.startup.on":"开机启动","setting.basic.startup.off":"不开机启动","setting.basic.theme":"颜色主题:","setting.basic.language":"语言设置:","setting.basic.mode":"模式设置:","setting.basic.mode.team":"团队模式","setting.basic.mode.agent":"客服模式","setting.basic.mode.personal":"个人模式"},$En={"thread.error.message":"获取数据失败","thread.feature.unavailable":"TODO: 该功能暂未开放","thread.menu.top":"置顶","thread.menu.untop":"取消置顶","thread.menu.read":"标记已读","thread.menu.unread":"标记未读","thread.menu.mute":"静音","thread.menu.unmute":"取消静音","thread.menu.transfer":"转接","thread.menu.block":"拉黑","thread.menu.ticket":"创建工单","thread.menu.crm":"查看CRM","thread.menu.summary":"会话总结","thread.status.robot":"[机器人]","thread.status.agent":"[一对一]","thread.status.workgroup":"[工作组]","thread.search.placeholder":"搜索会话...","thread.menu.filter":"会话过滤","thread.menu.groupThread":"群聊会话","thread.menu.robotThread":"机器人会话","thread.menu.workgroupThread":"工作组会话","thread.menu.agentThread":"一对一会话","thread.menu.ticketThread":"工单会话","thread.menu.memberThread":"成员会话","thread.menu.deviceThread":"设备会话","thread.menu.systemThread":"系统会话","thread.dropdown.create.group":"创建群聊","thread.dropdown.create.ai":"创建AI对话","thread.agent.status.online":"😀 - 在线接待","thread.agent.status.offline":"🔻 - 客服下线","thread.agent.status.busy":"🏃‍♀️ - 客服忙碌","thread.refresh.pull":"↓ 下拉刷新","thread.refresh.release":"↑ 松开刷新","thread.list.no.more":"没有更多了","thread.coming.soon":"即将上线,敬请期待","thread.set.success":"设置成功","thread.set.error":"设置失败","thread.menu.star":"星标","thread.menu.star.1":"星标1","thread.menu.star.2":"星标2","thread.menu.star.3":"星标3","thread.menu.star.4":"星标4","thread.menu.hide":"隐藏","thread.status.text":"{status}","thread.status.online":"😀接待","thread.status.offline":"🔻下线","thread.status.busy":"🏃‍♀️忙碌","thread.status.loading":"加载中...","thread.status.empty":"暂无会话","thread.status.error":"加载会话失败","thread.status.queue":"排队({count})","thread.status.network.offline":"网络已断开","thread.status.network.online":"网络已连接","thread.status.message.pulling":"消息拉取中...","thread.status.message.empty":"暂无消息","thread.status.message.error":"加载消息失败","thread.status.message.end":"没有更多消息","thread.status.message.typing":"正在输入...","thread.status.message.transfer":"转接中...","thread.status.message.transferred":"已转接","thread.status.message.closed":"会话已关闭","thread.menu.star.cancel":"取消星标","thread.loading.more":"加载更多..."},FEn={"ticket.create.title":"创建工单","ticket.edit.title":"编辑工单","ticket.form.uid":"编号","ticket.form.title":"标题","ticket.form.title.required":"请输入工单标题","ticket.form.title.placeholder":"请输入工单标题","ticket.form.description":"描述","ticket.form.description.required":"请输入工单描述","ticket.form.description.placeholder":"请输入工单描述","ticket.form.status":"状态","ticket.form.status.required":"请选择工单状态","ticket.form.priority":"优先级","ticket.form.priority.required":"请选择优先级","ticket.form.category":"分类","ticket.form.category.required":"请选择工单分类","ticket.form.category.placeholder":"请选择工单分类","ticket.form.user":"客户","ticket.form.user.placeholder":"请选择客户","ticket.form.assignee":"处理人","ticket.form.assignee.placeholder":"请选择处理人","ticket.form.reporter":"报告人","ticket.form.reporter.placeholder":"请选择报告人","ticket.form.workgroup":"技能组","ticket.form.workgroup.required":"请选择技能组","ticket.form.workgroup.placeholder":"请选择技能组","ticket.workgroup.load.error":"加载技能组失败","ticket.status.all":"全部状态","ticket.status.new":"新建","ticket.status.assigned":"已分配","ticket.status.in_progress":"处理中","ticket.status.pending":"待处理","ticket.status.on_hold":"挂起","ticket.status.reopened":"重新打开","ticket.status.resolved":"已解决","ticket.status.closed":"已关闭","ticket.status.cancelled":"已取消","ticket.priority.all":"全部优先级","ticket.priority.lowest":"最低","ticket.priority.low":"低","ticket.priority.medium":"中","ticket.priority.high":"高","ticket.priority.urgent":"紧急","ticket.priority.critical":"严重","ticket.create.success":"工单创建成功","ticket.create.failed":"工单创建失败","ticket.update.success":"工单更新成功","ticket.update.failed":"工单更新失败","ticket.submit.error":"工单提交失败","ticket.delete.success":"工单删除成功","ticket.delete.error":"工单删除失败","ticket.load.error":"工单数据加载失败","ticket.list.title":"工单列表","ticket.list.empty":"暂无工单","ticket.list.search.placeholder":"搜索工单","ticket.list.filter.all":"全部工单","ticket.list.filter.my":"我的工单","ticket.list.filter.unassigned":"未分配","ticket.list.create":"创建工单","ticket.list.total":"工单总数","ticket.action.edit":"编辑","ticket.action.delete":"删除","ticket.action.assign":"分配","ticket.action.close":"关闭","ticket.action.reopen":"重新打开","ticket.delete.confirm":"确定要删除此工单吗?","ticket.category.load.error":"加载工单分类失败","ticket.conversation.title":"工单对话","ticket.conversation.empty":"请选择工单查看对话","ticket.conversation.input.placeholder":"请输入消息...","ticket.details.title":"工单详情","ticket.details.empty":"请选择工单查看详情","ticket.messages.load.error":"加载工单消息失败","ticket.message.send.error":"发送消息失败","ticket.form.thread":"关联会话","ticket.form.thread.placeholder":"选择关联会话","ticket.form.thread.none":"不关联","ticket.form.createdAt":"创建时间","ticket.form.updatedAt":"更新时间","ticket.type.agent":"指定客服","ticket.type.workgroup":"技能组","ticket.assignee":"处理人","ticket.reporter":"报告人","ticket.type":"类型","ticket.category":"分类","ticket.steps.title":"流转过程","ticket.form.upload.button":"上传附件","ticket.upload.success":"文件上传成功","ticket.upload.failed":"文件上传失败","ticket.current.filters":"当前筛选","ticket.filter.by.status":"按状态筛选","ticket.filter.by.priority":"按优先级筛选","ticket.filter.by.assignment":"按分配筛选","ticket.filter.by.time":"按时间筛选","ticket.filter.status_all":"全部状态","ticket.filter.status_new":"新建","ticket.filter.status_assigned":"已分配","ticket.filter.status_in_progress":"处理中","ticket.filter.status_pending":"待处理","ticket.filter.status_on_hold":"挂起","ticket.filter.status_reopened":"重新打开","ticket.filter.status_resolved":"已解决","ticket.filter.status_closed":"已关闭","ticket.filter.status_cancelled":"已取消","ticket.filter.priority_all":"全部优先级","ticket.filter.priority_lowest":"最低","ticket.filter.priority_low":"低","ticket.filter.priority_medium":"中","ticket.filter.priority_high":"高","ticket.filter.priority_urgent":"紧急","ticket.filter.priority_critical":"严重","ticket.filter.assignment_all":"全部","ticket.filter.assignment_my_tickets":"我的工单","ticket.filter.assignment_unassigned":"未分配","ticket.filter.assignment_my_workgroup":"我的技能组","ticket.filter.assignment_my_created":"我创建的","ticket.filter.assignment_my_assigned":"待我处理","ticket.filter.time_all":"全部时间","ticket.filter.time_today":"今天","ticket.filter.time_yesterday":"昨天","ticket.filter.time_this_week":"本周","ticket.filter.time_last_week":"上周","ticket.filter.time_this_month":"本月","ticket.filter.time_last_month":"上月","ticket.content.title":"工单","ticket.content.number":"编号","ticket.delete.title":"删除工单","ticket.delete.content":"确定要删除此工单吗?","ticket.delete.failed":"工单删除失败","ticket.loading":"加载工单...","ticket.empty":"暂无工单","ticket.palette.startEvent":"开始事件","ticket.palette.task":"任务","ticket.palette.gateway":"网关","ticket.palette.dataObject":"数据对象","ticket.create.error":"创建流程图失败","ticket.save.success":"流程图保存成功","ticket.autosave.success":"自动保存成功","ticket.autosave.error":"自动保存失败","ticket.select.process":"选择流程","ticket.properties.title":"属性","ticket.properties.noSelection":"未选择元素","ticket.properties.id":"ID","ticket.properties.name":"名称","ticket.properties.type":"类型","ticket.properties.documentation":"文档","ticket.properties.assignee":"处理人","ticket.properties.priority":"优先级","ticket.fetch.processes.error":"加载流程失败","ticket.no.process":"没有流程,请先创建一个流程","ticket.fetch.processes.empty":"没有流程,请先创建一个流程","ticket.create.loading":"创建流程...","ticket.fetch.processes.loading":"加载流程...","ticket.delete":"删除","ticket.save.error":"保存流程失败","ticket.deploy":"部署","ticket.undeploy":"取消部署","ticket.deploy.loading":"部署流程...","ticket.undeploy.loading":"取消部署流程...","ticket.deploy.success":"流程部署成功","ticket.undeploy.success":"流程取消部署成功","ticket.deploy.error":"部署流程失败","ticket.undeploy.error":"取消部署流程失败","ticket.undeploy.confirm.title":"取消部署确认","ticket.undeploy.confirm.content":"确定要取消部署此流程吗?"},BEn={"contact.list.new":"新朋友","contact.list.device":"内网设备","contact.list.group":"群聊","contact.list.channel":"频道","contact.list.company":"企业联系人","contact.list.friend":"联系人","contact.search.placeholder":"搜索联系人...","contact.manager.button":"通讯录管理","contact.manager.coming":"敬请期待","member.detail.nickname":"昵称","member.detail.jobno":"工号","member.detail.seatno":"座位号","member.detail.telephone":"电话","member.detail.loading":"加载中...","member.detail.chat.button":"开始聊天"},UEn={"group.create.title":"发起群聊","group.create.contacts":"好友","group.create.members":"群成员","group.create.members.min":"至少选择2名成员","group.create.creating":"创建群组中...","group.create.org.empty":"未选择组织","group.create.success":"创建群组成功","group.create.failed":"创建群组失败","group.create.loading":"加载成员中...","group.create.error":"加载成员失败"},jEn={"robot.create.title":"创建机器人","robot.create.available":"可选机器人","robot.create.selected":"已选机器人","robot.create.success":"创建机器人成功","robot.create.failed":"创建机器人失败","robot.create.loading":"创建机器人中...","robot.create.error":"加载机器人失败","robot.create.empty":"暂无可用机器人","robot.create.min":"请至少选择一个机器人"},HEn={"autoreply.title":"自动回复","autoreply.enable.label":"是否启用自动回复","autoreply.type.label":"自动回复类型","autoreply.type.fixed":"固定回复","autoreply.type.keyword":"关键字匹配","autoreply.type.llm":"大模型回复","autoreply.fixed.add":"添加固定回复内容","autoreply.fixed.select":"选择固定回复内容","autoreply.fixed.type":"固定回复类型","autoreply.fixed.content":"固定回复内容","autoreply.content.text":"文本","autoreply.content.image":"图片","autoreply.content.video":"视频","autoreply.content.audio":"音频","autoreply.content.file":"文件","autoreply.save.loading":"正在保存,请稍后...","autoreply.save.success":"保存成功","autoreply.save.error":"保存失败","autoreply.keyword.add":"添加关键词知识库","autoreply.keyword.select":"选择关键词知识库","autoreply.llm.add":"添加大模型知识库","autoreply.llm.select":"选择大模型知识库"},zEn={"upload.modal.title":"上传文件","upload.drag.text":"点击或拖拽文件至此处上传","upload.drag.hint":"支持单个或批量上传","upload.drag.hint.size":"支持单个或批量上传,文件大小不超过10MB","upload.drag.hint.withtype":"支持单个或批量上传 {acceptTypes} 格式的文件","upload.drag.hint.withtype.size":"支持单个或批量上传 {acceptTypes} 格式的文件,文件大小不超过10MB","upload.uploading":"{filename} 上传中...","upload.success":"{filename} 上传成功","upload.failed":"{filename} 上传失败","upload.delete.confirm":"确定要删除此文件吗?","upload.preview.image":"图片预览","upload.preview.file":"文件预览","upload.button.ok":"确定","upload.button.cancel":"取消","upload.maxCount":"最多只能上传 {maxCount} 个文件","upload.maxSize":"文件大小不能超过 {maxSize}MB"},VEn={"flow.title":"流程构建器","flow.new":"新流程","flow.copy":"复制","flow.run":"运行","flow.start":"开始","flow.logic":"逻辑","flow.action":"动作","flow.json":"流程JSON","flow.import":"导入","flow.export":"导出","flow.startChat":"模拟对话","flow.closeChat":"关闭对话","flow.container":"容器组件","flow.form":"表单组件","flow.parentNode":"父节点","flow.textField":"文本框","flow.numberField":"数字框","flow.datePicker":"日期选择","flow.select":"下拉选择","flow.checkbox":"多选框组","flow.radio":"单选按钮","flow.properties":"属性设置","flow.nodeName":"节点名称","flow.nodeDesc":"节点描述","flow.componentType":"组件类型","flow.labelName":"标签名称","flow.options":"选项","flow.preview":"预览","flow.submit":"提交","app.language":"语言","leftPanel.container":"容器组件","leftPanel.form":"表单组件","leftPanel.parentNode":"父节点","leftPanel.textField":"文本框","leftPanel.numberField":"数字框","leftPanel.datePicker":"日期选择","leftPanel.select":"下拉选择","leftPanel.checkbox":"多选框组","leftPanel.radio":"单选按钮","propertyPanel.settings":"属性设置","propertyPanel.nodeId":"节点ID","propertyPanel.nodeType":"节点类型","propertyPanel.nodeName":"节点名称","propertyPanel.nodeDesc":"节点描述","propertyPanel.componentType":"组件类型","propertyPanel.labelName":"标签名称","propertyPanel.options":"选项","propertyPanel.placeholder.name":"请输入节点名称","propertyPanel.placeholder.desc":"请输入节点描述","propertyPanel.placeholder.label":"请输入标签名称","propertyPanel.placeholder.options":"按回车添加选项","nodes.textField.label":"文本框","nodes.numberField.label":"数字框","nodes.datePicker.label":"日期","nodes.select.label":"下拉选择","nodes.checkbox.label":"多选框组","nodes.radio.label":"单选按钮","nodes.unknown":"未知组件","formBuilder.title":"表单构建器","formBuilder.preview":"预览","formBuilder.settings":"设置","formBuilder.addField":"添加字段","formBuilder.delete":"删除","formBuilder.moveUp":"上移","formBuilder.moveDown":"下移","formBuilder.fieldTypes":{text:"文本框",number:"数字框",date:"日期选择",select:"下拉选择",radio:"单选按钮",checkbox:"复选框",textarea:"多行文本"},"formBuilder.placeholder":{formName:"请输入表单名称",fieldName:"请输入字段名称",fieldLabel:"请输入字段标签",options:"按回车添加选项"},"formBuilder.validation":{required:"必填",optional:"选填",unique:"唯一",min:"最小值",max:"最大值"},"formBuilder.import":"导入","formBuilder.export":"导出","formBuilder.import.success":"导入成功","formBuilder.import.error":"导入失败,请检查文件格式","formBuilder.export.success":"导出成功","formBuilder.export.error":"导出失败","formBuilder.export.filename":"表单配置.json","formBuilder.dragStart":"开始拖拽组件","formBuilder.dragEnd":"结束拖拽组件","formBuilder.dropSuccess":"组件添加成功","formBuilder.dropError":"组件添加失败","formBuilder.canvas.empty":"拖拽表单字段到这里","formBuilder.field.delete":"删除","formBuilder.field.moveUp":"上移","formBuilder.field.moveDown":"下移","formBuilder.field.placeholder":{text:"请输入文本",number:"请输入数字",date:"请选择日期",select:"请选择一个选项",radio:"请选择一项",checkbox:"请选择"},"flow.moveUp":"上移","flow.moveDown":"下移","flow.delete":"删除","flow.option.1":"选项1","flow.option.2":"选项2","flow.option.3":"选项3","flow.controls.title":"流程控制","flow.minimap.title":"流程概览","flow.canvas.label":"流程构建画布","flow.background.label":"流程背景","flow.controls.label":"流程控制","flow.minimap.label":"流程概览","flow.container.label":"流程构建器容器","flow.dragover.hint":"放置此处添加组件","flow.drop.hint":"组件已添加","flow.parentNode.default":"父节点","component.panel.title":"表单组件","component.input.title":"单行文本","component.textarea.title":"多行文本","component.select.title":"下拉选择","component.radio.title":"单选框组","component.checkbox.title":"多选框组","component.datePicker.title":"日期选择","component.timePicker.title":"时间选择","component.switch.title":"开关","component.upload.title":"上传","propertyPanel.save":"保存","propertyPanel.reset":"重置","theme.light":"浅色","theme.dark":"深色","theme.system":"跟随系统","dashboard.settings":"设置","flow.startNode":"开始节点","form.submit":"提交","form.submitting":"提交中...","form.submitSuccess":"提交成功","form.submitError":"提交失败","form.required":"必填项","preview.title":"表单预览","preview.minimize":"最小化","preview.close":"关闭","preview.submit":"提交","preview.submitting":"提交中...","preview.submitSuccess":"提交成功","preview.submitError":"提交失败","preview.required":"必填","preview.placeholder.text":"请输入文本","preview.placeholder.number":"请输入数字","preview.placeholder.date":"请选择日期","preview.placeholder.select":"请选择","preview.placeholder.radio":"请选择一项","preview.placeholder.checkbox":"请选择","formBuilder.header.title":"表单构建器","formBuilder.header.import":"导入","formBuilder.header.export":"导出","formBuilder.header.preview":"预览","ticket.title":"工单流程构建器","ticket.create":"创建流程","ticket.save":"保存流程","ticket.import":"导入","ticket.export":"导出","ticket.import.success":"导入成功","ticket.import.error":"导入失败","ticket.export.success":"导出成功","ticket.export.error":"导出失败","ticket.create.modal.title":"创建新流程","ticket.create.name":"流程名称","ticket.create.key":"流程Key","ticket.create.type":"流程类型","ticket.create.description":"流程描述","ticket.create.submit":"创建","ticket.create.cancel":"取消","ticket.type.default":"默认流程","ticket.type.approval":"审批流程","ticket.type.service":"服务流程","ticket.type.ticket":"工单流程"},GEn={"welcome.modal.title":"未发现所在组织","welcome.modal.description":"您需要创建或加入已有组织","welcome.modal.join":"加入已有组织(即将上线)","welcome.modal.create":"创建组织","welcome.modal.input.placeholder":"请输入组织名称","welcome.message.org.required":"请创建或加入组织","welcome.message.create.success":"创建组织成功","welcome.message.create.failed":"创建组织失败","welcome.message.verify.email":"请先验证邮箱","welcome.message.verify.mobile":"请先验证手机号","welcome.message.org.name.required":"请输入组织名称","welcome.message.org.creating":"创建组织中,请稍后...","welcome.verify.modal.title":"账号验证提示","welcome.verify.modal.description":"您的邮箱和手机号尚未验证,为保障账号安全,建议您尽快完成验证。","welcome.verify.now":"立即验证","welcome.verify.later":"稍后验证"},WEn={...REn,...OEn,...IEn,...NEn,...MEn,...AEn,...PEn,...xEn,...DEn,...TEn,...kEn,...LEn,...$En,...FEn,...wEn,...BEn,...UEn,...jEn,...HEn,...zEn,...VEn,...GEn},YEn={i18_file_assistant:"檔案助手",slogan:"对话即服务","menu.dashboard.chat":"消息","menu.dashboard.contact":"通讯录","menu.dashboard.queue":"排队","menu.dashboard.ticket":"工单","menu.dashboard.leavemsg":"留言","menu.dashboard.visitor":"访客","menu.dashboard.monitor":"监控","menu.dashboard.plugins":"插件","menu.dashboard.mine":"我的","chat.toolbar.emoji":"表情","chat.toolbar.image":"图片","chat.toolbar.file":"文件","chat.toolbar.audio":"录音","chat.toolbar.webrtc":"视频","chat.toolbar.history":"历史消息","chat.toolbar.block":"拉黑","chat.toolbar.screenshot":"截图","chat.toolbar.invite.rate":"邀请评价","chat.toolbar.autoreply":"自动回复","chat.toolbar.autoreply.on":"自动回复(已开启)","chat.navbar.transfer":"转接","chat.navbar.ticket":"工单","chat.navbar.crm":"Crm","chat.navbar.close":"结束","chat.navbar.category":"分类","chat.navbar.ai":"AI","chat.navbar.queue":"排队","chat.right.ai":"Copilot","chat.right.quickreply":"快捷回复","chat.right.ticket":"工单","chat.right.userinfo":"用户信息","chat.right.llm":"大模型","chat.right.docview":"文档预览","chat.right.group":"群详情","chat.right.member":"联系人","chat.ai.summary":"会话小结","chat.ai.switch":"切换AI","chat.thread.nomore":"没有更多了","chat.message.loadmore":"加载更多","dashboard.footbar.logout":"退出",SERVICE:"客服機器人",MARKETING:"營銷機器人",KNOWLEDGEBASE:"知識庫機器人(内部)",QA:"問答機器人(直接调用大模型)",AGENT_ASSISTANT:"客服助手(内部)",loading:"載入中",create:"新增",creating:"新增中...","create.success":"新增成功","create.fail":"新增失敗",update:"更新",updating:"更新中...","update.success":"更新成功","update.fail":"更新失敗",save:"儲存",saving:"正在儲存...",email:"電子郵件","email.verified":"電子郵件(已驗證)","email.unverified":"電子郵件(待驗證)",mobile:"手機號碼","mobile.verified":"手機號碼(已驗證)","mobile.unverified":"手機號碼(待驗證)",captcha:"验证码",logging:"登录中...","login.success":"登录成功","login.error":"登录失败,请稍后重试",registering:"注册中...","register.success":"注册成功","register.error":"注册失败","username.change.tip":"登入用戶名(修改用戶名之後,需要重新登入)",createKb:"创建知识库",createDept:"创建部门",upload:"上传",import:"匯入",export:"匯出","download.template":"下载模板",open:"開啟",copy:"複製","copy.success":"複製成功",ok:"確定",cancel:"取消",bind:"綁定",edit:"編輯",editing:"編輯中...","edit.success":"編輯成功","edit.fail":"編輯失敗",delete:"刪除",deleting:"删除中...",deleteTip:"刪除提示",deleteAffirm:"確定要刪除","delete.success":"刪除成功","delete.fail":"删除失败","process.success":"处理成功","process.fail":"处理失败",preview:"預覽",close:"關閉",closing:"關閉中...",closeTip:"關閉提示",closeASure:"確定要關閉","close.success":"關閉成功",choose:"選擇","leavemsg.enabled":"留言啟用",transfer:"转接","transfer.success":"转接成功","transfer.fail":"转接失败","transfer.reason":"转接原因",refresh:"刷新",noAgent:"无客服在线"},qEn={"menu.anonymous.title":"匿名模式","menu.anonymous.home":"訊息","menu.anonymous.contact":"聯絡人","menu.anonymous.robot":"機器人","menu.anonymous.setting":"設定","menu.anonymous.status":"匿名狀態","menu.anonymous.status.tip":"匿名模式僅支援同一區域網內的在線設備之間的通訊","menu.anonymous.login.tip":"登入以訪問離線訊息和更多功能","menu.anonymous.login":"登入","menu.anonymous.current.users":"當前用戶","menu.dashboard.chat":"聊天","menu.dashboard.contact":"聯絡人","menu.dashboard.ai":"AI助手","menu.dashboard.note":"筆記","menu.dashboard.kbase":"知識庫","menu.dashboard.mine":"設定","menu.dashboard.queue":"排隊","menu.dashboard.leavemsg":"留言","menu.dashboard.visitor":"訪客","menu.dashboard.monitor":"監控","menu.dashboard.plugins":"插件","menu.settings":"設定","menu.settings.logout":"登出","menu.agent.status":"客服狀態","menu.agent.status.available":"可用","menu.agent.status.rest":"休息","menu.agent.status.offline":"離線","menu.language":"語言","menu.mode":"模式","menu.mode.team":"團隊模式","menu.mode.agent":"一對一模式","menu.mode.personal":"個人模式","menu.agent.offline.warning":"請在離線前結束所有正在進行中的會話","menu.mode.personal.coming":"即將推出...","menu.dashboard.form":"表單","menu.dashboard.formbuilder":"表單構建器","menu.dashboard.flow":"流程","menu.dashboard.flowbuilder":"流程構建器","menu.dashboard.ticket":"工單","menu.dashboard.ticketbuilder":"工單構建器"},KEn={"pages.login.title":"登錄","pages.login.subtitle":"歡迎使用微語客服系統","pages.layouts.userLayout.title":"對話即服務","pages.login.accountLogin.tab":"帳戶密碼登錄","pages.login.accountLogin.errorMessage":"錯誤的用戶名和密碼","pages.login.failure":"登錄失敗,請檢查用戶名密碼!","pages.login.failureCode":"驗證碼錯誤","pages.login.success":"登錄成功!","pages.login.username.placeholder":"請輸入用戶名","pages.login.username.required":"用戶名是必填項!","pages.login.password.placeholder":"請輸入密碼","pages.login.repassword.placeholder":"確認密碼","pages.login.password.required":"密碼是必填項!","pages.login.repassword.required":"確認密碼是必填項!","pages.login.phoneLogin.tab":"手機號登錄","pages.login.phoneLogin.errorMessage":"驗證碼錯誤","pages.login.phoneNumber.placeholder":"請輸入手機號!","pages.login.phoneNumber.required":"手機號是必填項!","pages.login.phoneNumber.invalid":"不合法的手機號!","pages.login.captcha.placeholder":"請輸入驗證碼!","pages.login.captcha.required":"驗證碼是必填項!","pages.login.phoneLogin.getVerificationCode":"獲取驗證碼","pages.login.anonymousLogin":"匿名登錄","pages.getCaptchaSecondText":"秒後重新獲取","pages.login.scanLogin.tab":"掃碼登錄","pages.login.rememberMe":"自動登錄","pages.login.forgot":"忘記密碼","pages.login.submit":"登錄","pages.login.loginWith":"其他登錄方式 :","pages.login.register":"註冊賬號","pages.login.registerAccount":" 註冊帳戶","pages.login.auto.register":"未註冊手機號會自動註冊","pages.welcome.link":"歡迎使用","pages.welcome.title":"歡迎","pages.welcome.description":"微語客服系統是一個開源的客服系統","pages.welcome.getting-started":"開始使用","pages.welcome.view-docs":"查看文檔","pages.robot.new":"新建","pages.robot.chat":"聊天","pages.robot.edit":"编辑","pages.robot.delete":"刪除","pages.robot.upload":"上傳","pages.robot.tab.basic":"基本信息","pages.robot.tab.kb":"知識庫","pages.robot.tab.channel":"渠道對接","pages.robot.tab.statistic":"數據統計","pages.robot.tab.advanced":"高級設置","pages.robot.tab.flow":"流程設計","pages.robot.tab.avatar":"頭像","pages.robot.tab.title":"標題","pages.robot.tab.welcomeTip":"歡迎語","pages.robot.tab.description":"簡介","pages.robot.tab.preview":"實時預覽","pages.robot.tab.website":"官網","pages.robot.tab.helpdesk":"幫助文檔","pages.robot.tab.icp":"京ICP備案 17041763號-1","pages.robot.tab.police":"粵公安備案 44030502008688號","pages.robot.kb.file":"文件","pages.robot.kb.text":"文本","pages.robot.kb.qa":"問答","pages.robot.kb.web":"網站","pages.robot.file.title":"文件名","pages.robot.file.type":"文件類型","pages.robot.file.size":"文件大小","pages.robot.file.action":"操作","pages.robot.file.delete":"刪除","pages.robot.file.save":"保存","pages.robot.file.cancel":"取消","pages.robot.file.uploading":"上傳中...","pages.robot.file.name_invalid":"文件名不能包含 _ ","pages.robot.file.parse":"解析文件內容","pages.setting":"設置","pages.logout":"退出登錄","pages.footer.website":"微語官網","pages.footer.helpcenter":"帮助文档","pages.login.remember":"記住密碼","pages.agent.tab.basic":"基本信息","pages.agent.robot":"機器人","pages.agent.service.settings":"服务设置","pages.agent.service.settings.topTip":"顶部提示","pages.agent.service.settings.welcomeTip":"欢迎语","pages.agent.service.settings.leavemsgTip":"离线留言提示","pages.agent.service.settings.autoCloseMin":"自动关闭分钟","pages.agent.service.settings.showLogo":"显示Logo","pages.agent.service.settings.maxThreadCount":"最大线程数","pages.advanced.faq":"常見問題","pages.advanced.quickButton":"快捷按鈕","pages.advanced.faqGuess":"智能推薦","pages.advanced.faqHot":"熱門問題","pages.advanced.faqShortcut":"快捷回覆","pages.advanced.rate":"滿意度評價","pages.advanced.autoreply":"自動回覆","pages.advanced.leaveMsg":"留言設置","pages.advanced.survey":"調查問卷","pages.advanced.history":"歷史記錄","pages.advanced.inputAssociation":"輸入聯想","pages.advanced.antiHarassment":"驗證碼設置","pages.advanced.captcha":"驗證碼設置","pages.advanced.showPreForm":"顯示預覽","pages.advanced.showHistory":"顯示歷史","pages.advanced.showInputAssociation":"顯示輸入聯想","pages.advanced.showCaptcha":"顯示驗證碼","pages.login.country.placeholder":"選擇國家/地區","pages.login.country.china":"中國大陸","pages.login.country.hongkong":"中國香港","pages.login.country.taiwan":"中國台灣","pages.login.country.macao":"中國澳門","pages.login.country.japan":"日本","pages.login.country.korea":"韓國","pages.login.country.usa":"美國","pages.login.country.canada":"加拿大","pages.login.country.uk":"英國","pages.login.country.germany":"德國","pages.login.country.france":"法國","pages.login.country.australia":"澳大利亞","pages.login.country.singapore":"新加坡","pages.login.country.malaysia":"馬來西亞","pages.login.country.thailand":"泰國","pages.login.country.vietnam":"越南","pages.login.country.philippines":"菲律賓","pages.login.country.indonesia":"印度尼西亞","pages.login.country.italy":"意大利","pages.login.country.spain":"西班牙","pages.login.country.russia":"俄羅斯","pages.login.country.newzealand":"新西蘭","block.title":"拉黑設置","block.type":"拉黑類型","block.user":"拉黑用戶","block.ip":"拉黑IP","block.permanent":"永久封禁","block.until":"封禁至","block.until.required":"請選擇封禁結束時間","pages.register.title":"註冊","pages.register.subtitle":"創建您的賬號","pages.register.username":"用戶名","pages.register.password":"密碼","pages.register.confirm":"確認密碼","pages.register.email":"郵箱","pages.register.mobile":"手機號","pages.register.code":"驗證碼","pages.register.agreement":"我已閱讀並同意","pages.register.agreement.terms":"服務條款","pages.register.submit":"註冊","pages.register.login":"使用已有賬號登錄","pages.404.title":"404","pages.404.subtitle":"抱歉,您訪問的頁面不存在","pages.404.description":"您可以嘗試以下操作:","pages.404.actions.back":"返回上一頁","pages.404.actions.home":"返回首頁","pages.403.title":"403","pages.403.subtitle":"抱歉,您沒有訪問該頁面的權限","pages.403.description":"請聯繫管理員獲取權限","pages.403.actions.back":"返回上一頁","pages.500.title":"500","pages.500.subtitle":"抱歉,服務器出錯了","pages.500.description":"請稍後再試或聯繫技術支持","pages.500.actions.back":"返回上一頁","pages.500.actions.home":"返回首頁"},QEn={"app.title":"微語","app.logout":"登出","app.copyright.produced":"微語出品","app.preview.down.block":"下載此頁面到本地項目","app.welcome.link.fetch-blocks":"獲取全部區塊","app.welcome.link.block-list":"基於 block 開發,快速構建標準頁面","navBar.lang":"語言","layout.user.link.help":"幫助","layout.user.link.privacy":"隱私","layout.user.link.terms":"條款","theme.light":"淺色","theme.dark":"深色","theme.system":"自動","setting.lang":"Languages","setting.theme":"主題","app.name":"微語客服","app.description":"新一代智能客服系統","app.welcome":"歡迎使用微語客服系統","app.copyright":"© 2024 微語客服. 保留所有權利.","app.version":"版本","app.action.back":"返回","app.action.confirm":"確認","app.action.cancel":"取消","app.action.save":"保存","app.action.edit":"編輯","app.action.delete":"刪除","app.action.refresh":"刷新","app.action.search":"搜索","app.action.more":"更多","app.action.settings":"設置","app.action.help":"幫助","app.tip.loading":"加載中...","app.tip.success":"操作成功","app.tip.error":"操作失敗","app.tip.warning":"警告","app.tip.info":"提示","app.tip.confirm":"確認要執行此操作嗎?","app.tip.nodata":"暫無數據","app.tip.network.error":"網絡連接失敗","app.tip.server.error":"服務器錯誤","app.status.online":"在線","app.status.offline":"離線","app.status.busy":"忙碌","app.status.away":"離開","app.status.invisible":"隱身","app.status.disabled":"已禁用","app.status.expired":"已過期","app.time.today":"今天","app.time.yesterday":"昨天","app.time.tomorrow":"明天","app.time.just":"剛剛","app.time.minutes":"{count} 分鐘前","app.time.hours":"{count} 小時前","app.time.days":"{count} 天前","app.file.upload":"上傳文件","app.file.download":"下載文件","app.file.preview":"預覽文件","app.file.size.limit":"文件大小不能超過 {size}","app.file.type.unsupported":"不支持的文件類型","app.file.upload.success":"上傳成功","app.file.upload.failed":"上傳失敗","app.file.download.success":"下載成功","app.file.download.failed":"下載失敗","app.layout.sidebar.collapse":"收起側邊欄","app.layout.sidebar.expand":"展開側邊欄","app.layout.header.profile":"個人中心","app.layout.header.logout":"退出登錄","app.layout.footer.copyright":"版權所有","app.layout.footer.terms":"服務條款","app.layout.footer.privacy":"隱私政策"},XEn={"auth.login.title":"登錄","auth.login.subtitle":"歡迎使用微語客服系統","auth.login.username":"用戶名","auth.login.username.required":"請輸入用戶名","auth.login.password":"密碼","auth.login.password.required":"請輸入密碼","auth.login.remember":"記住密碼","auth.login.forgot":"忘記密碼?","auth.login.submit":"登錄","auth.login.other":"其他登錄方式","auth.login.register":"註冊賬號","auth.login.success":"登錄成功","auth.login.failed":"登錄失敗","auth.register.title":"註冊","auth.register.subtitle":"創建新賬號","auth.register.username":"用戶名","auth.register.username.required":"請輸入用戶名","auth.register.email":"郵箱","auth.register.email.required":"請輸入郵箱","auth.register.password":"密碼","auth.register.password.required":"請輸入密碼","auth.register.confirm":"確認密碼","auth.register.confirm.required":"請確認密碼","auth.register.submit":"註冊","auth.register.login":"已有賬號?登錄","auth.register.success":"註冊成功","auth.register.failed":"註冊失敗","auth.forgot.title":"忘記密碼","auth.forgot.subtitle":"重置密碼","auth.forgot.email":"郵箱","auth.forgot.email.required":"請輸入郵箱","auth.forgot.submit":"提交","auth.forgot.back":"返回登錄","auth.forgot.success":"重置密碼郵件已發送","auth.forgot.failed":"重置密碼失敗","auth.reset.title":"重置密碼","auth.reset.subtitle":"設置新密碼","auth.reset.password":"新密碼","auth.reset.password.required":"請輸入新密碼","auth.reset.confirm":"確認密碼","auth.reset.confirm.required":"請確認新密碼","auth.reset.submit":"提交","auth.reset.success":"密碼重置成功","auth.reset.failed":"密碼重置失敗","auth.verify.code":"驗證碼","auth.verify.code.required":"請輸入驗證碼","auth.verify.code.send":"發送驗證碼","auth.verify.code.resend":"重新發送","auth.verify.code.success":"驗證碼發送成功","auth.verify.code.failed":"驗證碼發送失敗","auth.password.strength.weak":"密碼強度:弱","auth.password.strength.medium":"密碼強度:中","auth.password.strength.strong":"密碼強度:強","auth.agreement.text":"我已閱讀並同意","auth.agreement.terms":"服務條款","auth.agreement.privacy":"隱私政策","server.button.back":"返回","server.button.save":"保存","server.button.reset":"重置","server.button.help":"幫助","server.save.success":"保存成功","server.reset.success":"重置成功,已恢復默認雲服務器","server.custom.enable":"啟用自定義服務器","server.api.url.label":"API服務器地址 (例如: http://127.0.0.1:9003 或 https://api.bytedesk.com)","server.api.url.placeholder":"http://127.0.0.1:9003","server.websocket.url.label":"WebSocket服務器地址 (例如: ws://127.0.0.1:9885/websocket 或 wss://api.bytedesk.com/websocket)","server.websocket.url.placeholder":"ws://127.0.0.1:9885/websocket","server.input.error":"請輸入正確的服務器地址"},ZEn={"chat.title":"會話","chat.empty":"暫無會話","chat.loading":"加載中...","chat.load.error":"加載失敗","chat.load.more":"加載更多","chat.no.more":"沒有更多了","chat.refresh":"刷新","chat.status.connecting":"連接中...","chat.status.connected":"已連接","chat.status.disconnected":"連接斷開","chat.status.reconnecting":"重新連接中...","chat.network.error":"網絡連接失敗,請檢查網絡","chat.thread.closing":"結束會話中...","chat.thread.close.success":"結束會話成功","chat.thread.close.failed":"結束會話失敗","chat.thread.close.confirm.title":"確定要結束會話?","chat.rate.invite.confirm.title":"確認要邀請評價?","chat.message.send.failed":"發送失敗","chat.message.resend":"重新發送","chat.message.recall":"撤回消息","chat.message.copy.success":"複製成功","chat.copy.success":"複製成功","chat.menu.copy":"複製","chat.menu.translate":"翻譯","chat.menu.recall":"撤回","chat.menu.enlarge":"放大閱讀","chat.menu.quickreply.add":"添加快捷回復...","chat.menu.browser.open":"瀏覽器打開","chat.menu.forward":"轉發...","chat.menu.collect":"收藏","chat.menu.quote":"引用","chat.input.placeholder":"請輸入內容, Ctrl+V 粘貼截圖/圖片","chat.translation.placeholder":"請輸入翻譯內容...","chat.input.send":"發送","chat.input.sending":"發送中...","chat.toolbar.emoji":"表情","chat.toolbar.image":"圖片","chat.toolbar.file":"文件","chat.toolbar.screenshot":"截圖","chat.toolbar.autoreply":"自動回復","chat.toolbar.audio":"錄音","chat.toolbar.webrtc":"視頻會話","chat.upload.size.limit":"文件大小不能超過 {size}","chat.upload.type.unsupported":"不支持的文件類型","chat.upload.failed":"上傳失敗","chat.upload.success":"上傳成功","chat.upload.progress":"上傳中 {progress}%","chat.webrtc.calling":"呼叫中...","chat.webrtc.incoming":"來電...","chat.webrtc.connected":"通話中...","chat.webrtc.ended":"通話結束","chat.webrtc.rejected":"對方拒絕","chat.webrtc.busy":"對方忙","chat.webrtc.failed":"通話失敗","chat.webrtc.accept":"接受","chat.webrtc.reject":"拒絕","chat.webrtc.hangup":"掛斷","chat.navbar.transfer":"轉接","chat.navbar.close":"結束","chat.navbar.note":"筆記","chat.navbar.kbase":"知識庫","chat.right.quickreply":"快捷回覆","chat.right.userinfo":"訪客信息","chat.right.ai":"AI助手","chat.right.ticket":"工單","chat.right.llm":"大模型","chat.right.docview":"文檔查看","chat.right.group":"群組信息","chat.right.member":"成員信息","chat.group.notice":"群公告","chat.group.members":"群成員","chat.group.admins":"管理員","chat.group.robots":"機器人","chat.group.qrcode":"二維碼","chat.group.uid.error":"群組ID錯誤"},JEn={"common.yes":"是","common.no":"否","common.ok":"確定","common.cancel":"取消","common.confirm":"確認","common.save":"保存","common.delete":"刪除","common.edit":"編輯","common.create":"創建","common.loading":"加載中...","common.success":"成功","common.error":"錯誤","common.warning":"警告","common.info":"信息","common.back":"返回","common.submit":"提交","common.reset":"重置","common.add":"添加","common.search":"搜索","common.next":"下一步","common.previous":"上一步","common.more":"更多","common.failed":"操作失敗","common.status.online":"在線","common.status.offline":"離線","common.status.busy":"忙碌","common.status.away":"離開","common.status.invisible":"隱身","common.operation.success":"操作成功","common.operation.failed":"操作失敗","common.operation.confirm":"確認要執行此操作嗎?","common.operation.processing":"處理中...","common.operation.completed":"處理完成","common.operation.error":"處理出錯","common.form.required":"此項為必填項","common.form.optional":"選填","common.form.invalid":"輸入無效","common.form.validate.error":"表單驗證失敗","common.form.validate.success":"表單驗證通過"},eCn={"customer.list.title":"客戶列表","customer.list.empty":"暫無客戶","customer.list.loading":"加載中...","customer.list.load.error":"加載失敗","customer.list.load.more":"加載更多","customer.list.no.more":"沒有更多了","customer.list.refresh":"刷新","customer.info.basic":"基本信息","customer.info.name":"姓名","customer.info.nickname":"暱稱","customer.info.gender":"性別","customer.info.age":"年齡","customer.info.birthday":"生日","customer.info.mobile":"手機號","customer.info.email":"郵箱","customer.info.address":"地址","customer.info.company":"公司","customer.info.position":"職位","customer.info.remark":"備註","customer.info.tags":"標籤","customer.info.source":"來源","customer.info.created":"創建時間","customer.info.updated":"更新時間","customer.status.online":"在線","customer.status.offline":"離線","customer.status.away":"離開","customer.status.busy":"忙碌","customer.status.blocked":"已拉黑","customer.action.edit":"編輯","customer.action.delete":"刪除","customer.action.block":"拉黑","customer.action.unblock":"取消拉黑","customer.action.transfer":"轉移","customer.action.merge":"合併","customer.action.export":"導出","customer.form.name":"姓名","customer.form.name.required":"請輸入姓名","customer.form.nickname":"暱稱","customer.form.gender":"性別","customer.form.age":"年齡","customer.form.birthday":"生日","customer.form.mobile":"手機號","customer.form.email":"郵箱","customer.form.address":"地址","customer.form.company":"公司","customer.form.position":"職位","customer.form.remark":"備註","customer.form.tags":"標籤","customer.form.source":"來源","customer.create.success":"客戶創建成功","customer.create.failed":"客戶創建失敗","customer.update.success":"客戶更新成功","customer.update.failed":"客戶更新失敗","customer.delete.success":"客戶刪除成功","customer.delete.failed":"客戶刪除失敗","customer.block.success":"客戶拉黑成功","customer.block.failed":"客戶拉黑失敗","customer.unblock.success":"取消拉黑成功","customer.unblock.failed":"取消拉黑失敗","customer.transfer.success":"客戶轉移成功","customer.transfer.failed":"客戶轉移失敗","customer.merge.success":"客戶合併成功","customer.merge.failed":"客戶合併失敗","customer.export.success":"客戶導出成功","customer.export.failed":"客戶導出失敗","black.title":"拉黑設置","black.type":"拉黑類型","black.type.required":"請選擇至少一種拉黑類型","black.user":"拉黑用戶","black.ip":"拉黑IP","black.permanent":"永久拉黑","black.until":"拉黑截至","black.until.required":"請選擇拉黑截至時間","black.reason":"拉黑原因","black.reason.required":"請輸入拉黑原因","black.reason.placeholder":"請輸入拉黑原因","black.success":"拉黑成功"},tCn={"dashboard.menu.overview":"總覽","dashboard.menu.workbench":"工作台","dashboard.menu.monitor":"監控台","dashboard.menu.workplace":"工作區","dashboard.menu.message":"消息中心","dashboard.menu.settings":"系統設置","dashboard.overview.title":"總覽","dashboard.overview.total.conversations":"總會話數","dashboard.overview.total.customers":"總客戶數","dashboard.overview.total.tickets":"總工單數","dashboard.overview.total.agents":"總客服數","dashboard.overview.online.agents":"在線客服","dashboard.overview.waiting.customers":"排隊訪客","dashboard.overview.avg.response.time":"平均響應時間","dashboard.overview.avg.handle.time":"平均處理時間","dashboard.stats.title":"數據統計","dashboard.stats.realtime":"實時數據","dashboard.stats.today":"今日統計","dashboard.stats.yesterday":"昨日統計","dashboard.stats.week":"本週統計","dashboard.stats.month":"本月統計","dashboard.stats.custom":"自定義時段","dashboard.workbench.online":"在線狀態","dashboard.workbench.offline":"離線狀態","dashboard.workbench.busy":"忙碌狀態","dashboard.workbench.away":"離開狀態","dashboard.workbench.auto.distribution":"自動分配","dashboard.workbench.manual.distribution":"手動分配","dashboard.workbench.max.session":"最大會話數","dashboard.workbench.current.session":"當前會話數","dashboard.monitor.system":"系統監控","dashboard.monitor.performance":"性能監控","dashboard.monitor.network":"網絡監控","dashboard.monitor.server":"服務器狀態","dashboard.monitor.database":"數據庫狀態","dashboard.monitor.cache":"緩存狀態","dashboard.monitor.queue":"隊列狀態","dashboard.workplace.quick.start":"快速開始","dashboard.workplace.recent":"最近訪問","dashboard.workplace.todo":"待辦事項","dashboard.workplace.announcement":"系統公告","dashboard.workplace.calendar":"工作日曆","dashboard.workplace.links":"常用鏈接","dashboard.message.all":"全部消息","dashboard.message.unread":"未讀消息","dashboard.message.system":"系統消息","dashboard.message.business":"業務消息","dashboard.message.operation":"運營消息","dashboard.monitor.title":"實時監控","dashboard.monitor.online.status":"在線狀態","dashboard.monitor.conversation.status":"會話狀態","dashboard.monitor.queue.status":"排隊狀態","dashboard.monitor.system.status":"系統狀態","dashboard.monitor.refresh":"刷新","dashboard.monitor.auto.refresh":"自動刷新","dashboard.analysis.title":"數據分析","dashboard.analysis.conversation.trend":"會話趨勢","dashboard.analysis.customer.trend":"客戶趨勢","dashboard.analysis.ticket.trend":"工單趨勢","dashboard.analysis.satisfaction.trend":"滿意度趨勢","dashboard.analysis.time.range":"時間範圍","dashboard.analysis.export":"導出數據","dashboard.workplace.title":"工作台","dashboard.workplace.my.conversations":"我的會話","dashboard.workplace.my.tickets":"我的工單","dashboard.workplace.my.tasks":"我的任務","dashboard.workplace.my.performance":"我的績效","dashboard.workplace.quick.actions":"快捷操作","dashboard.workplace.announcements":"公告通知","dashboard.report.title":"統計報表","dashboard.report.conversation":"會話報表","dashboard.report.customer":"客戶報表","dashboard.report.ticket":"工單報表","dashboard.report.agent":"客服報表","dashboard.report.satisfaction":"滿意度報表","dashboard.report.export":"導出報表","dashboard.chart.today":"今日","dashboard.chart.yesterday":"昨日","dashboard.chart.last7days":"最近7天","dashboard.chart.last30days":"最近30天","dashboard.chart.thisMonth":"本月","dashboard.chart.lastMonth":"上月","dashboard.chart.custom":"自定義","dashboard.chart.loading":"加載中...","dashboard.chart.no.data":"暫無數據","dashboard.tip.refresh.success":"刷新成功","dashboard.tip.refresh.failed":"刷新失敗","dashboard.tip.export.success":"導出成功","dashboard.tip.export.failed":"導出失敗","dashboard.tip.data.loading":"數據加載中...","dashboard.tip.data.load.failed":"數據加載失敗"},nCn={"i18n.lang.en-US":"English","i18n.lang.zh-CN":"简体中文","i18n.lang.zh-TW":"繁體中文","i18n.queue.tip":"排隊隊列","i18n.queue.message.template":"當前排隊人數:{0},大約等待時間:{1} 分鐘","i18n.queue.empty":"隊列為空","i18n.queue.accept":"接入","i18n.system.notification":"系統通知","i18n.system.notification.tip":"系統通知","i18n.old.password.wrong":"舊密碼錯誤","i18n.change.password":"修改密碼","i18n.auth.captcha.send.success":"驗證碼發送成功","i18n.auth.captcha.error":"驗證碼錯誤","i18n.auth.captcha.expired":"驗證碼過期","i18n.auth.captcha.already.send":"驗證碼已發送,請等待","i18n.auth.captcha.validate.failed":"驗證碼驗證失敗","i18n.faq":"常見問題","i18n.rate":"評價","i18n.input.placeholder":"請輸入內容","i18n.loading":"加载中...","i18n.load.more":"加载更多","i18n.load.nomore":"没有更多了","i18n.typing":"正在輸入...","i18n.robot":"[机器人]","i18n.agent":"[一对一]","i18n.workgroup":"[技能组]","i18n.group":"[群聊]","i18n.rate.invite":"邀請評價","i18n.ticket":"[工單]","i18n.notice":"通知","i18n.notice.title":"通知標題","i18n.notice.content":"通知內容","i18n.notice.ip":"IP","i18n.notice.ipLocation":"IP地址","i18n.notice.parse.file.success":"解析文件成功","i18n.notice.parse.file.error":"解析文件失败","i18n.DEPT.ALL":"全部","i18n.DEPT.ADMIN":"管理員","i18n.DEPT.HR":"人事部","i18n.DEPT.ORG":"行政部","i18n.DEPT.IT":"技術部","i18n.DEPT.MONEY":"財務部","i18n.DEPT.MARKETING":"市場部","i18n.DEPT.SALES":"銷售部","i18n.DEPT.CS":"客服部","i18n.new.message":"新消息","i18n.file.assistant":"文件助手","i18n.clipboard.assistant":"剪切板助手","i18n.thread.content.image":"圖片","i18n.thread.content.file":"文件","i18n.top.tip":"默認置顶語","i18n.top.make":"置頂","i18n.top.cancel":"取消置頂","i18n.unread.make":"设置未读","i18n.unread.cancel":"取消未读","i18n.star.make":"星标","i18n.star.cancel":"取消星标","i18n.disturb.make":"免打扰","i18n.disturb.cancel":"取消免打扰","i18n.transfer":"转接","i18n.hide":"隐藏","i18n.network.disconnected":"网络已断开","i18n.message.pulling":"消息拉取中...","i18n.leavemsg.tip":"無客服在線,請留言","i18n.welcome.tip":"您好,有什麼可以幫您的?","i18n.reenter.tip":"继续会话","i18n.under.development":"開發中...","i18n.user.description":"默認用戶描述","i18n.robot.nickname":"默認機器人","i18n.robot.description":"默認機器人描述","i18n.robot.noreply":"未找到相应答案","i18n.robot.agent.assistant.nickname":"默认机器人助手","i18n.llm.prompt":"你是一個聰明、對人類有幫助的人工智能,你可以對人類提出的問題給出有用、詳細、禮貌的回答","i18n.agent.nickname":"默認客服","i18n.agent.description":"默認客服描述","i18n.workgroup.nickname":"預設技能組","i18n.workgroup.description":"預設技能組描述","i18n.contact":"詢問聯繫方式","i18n.thanks":"感謝","i18n.welcome":"問候","i18n.bye":"告別","i18n.tip.title":"提示","i18n.tip.network.disconnected":"网络已断开","i18n.tip.network.connected":"网络已连接","i18n.kb.name":"默认知识库","i18n.kb.platform.name":"平台知识库","i18n.kb.helpcenter.name":"帮助文档知识库","i18n.kb.llm.name":"大模型知识库","i18n.kb.keyword.name":"关键词知识库","i18n.kb.faq.name":"常见问题知识库","i18n.kb.autoreply.name":"自动回复知识库","i18n.kb.quickreply.name":"快捷回复知识库","i18n.kb.taboo.name":"敏感词知识库","i18n.kb.description":"知识库默认描述","i18n.agent.nicknameKb":"默认客服知识库","i18n.contact.title":"方便的話請您提供一下您的聯繫電話","i18n.contact.content":"方便的話請您提供一下您的聯繫電話,我電話給您溝通一下,這樣更加直觀","i18n.thanks.title":"感謝光臨","i18n.thanks.content":"感謝光臨,歡迎再來","i18n.welcome.title":"您好","i18n.welcome.content":"您好,有什麼可以幫您的","i18n.bye.title":"您的滿意一直是我們的目標","i18n.bye.content":"您的滿意一直是我們的目標,如果有任何疑問歡迎您隨時聯繫","i18n.vip.api":"VIP API","i18n.faq.category.demo.1":"常見問題分類Demo1","i18n.faq.category.demo.2":"常見問題分類Demo2","i18n.faq.demo.title.1":"常見問題文字Demo1","i18n.faq.demo.content.1":"常見問題文字Demo1","i18n.faq.demo.title.2":"常見問題圖片Demo2","i18n.faq.demo.content.2":"https://www.weiyuai.cn/logo.png","i18n.quick.button.demo.title.1":"快捷按鈕文字Demo1","i18n.quick.button.demo.content.1":"快捷按鈕文字Demo1","i18n.quick.button.demo.title.2":"快捷按鈕連結Demo2","i18n.quick.button.demo.content.2":"https://www.weiyuai.cn","i18n.preview.title":"預覽","i18n.cancel":"取消","i18n.confirm":"確定","i18n.send":"發送","i18n.transferToAgent":"轉人工服務","i18n.auto.closed":"會話自動關閉","i18n.agent.closed":"客服關閉會話","i18n.online.chat":"在線客服","i18n.JOB":"工作","i18n.LANGUAGE":"語言","i18n.TOOL":"工具","i18n.WRITING":"寫作","i18n.RAG":"知識庫問答","i18n.module.ai":"AI","i18n.module.void":"空白","i18n.module.service":"客服","i18n.module.ticket":"工單","i18n.black.user.already.exists":"用戶已拉黑","i18n.ticket.category.technical_support":"技術支持","i18n.ticket.category.service_request":"服務請求","i18n.ticket.category.consultation":"咨詢","i18n.ticket.category.complaint_suggestion":"投訴建議","i18n.ticket.category.operation_maintenance":"運維","i18n.ticket.category.other":"其他","i18n.vip.component":"VIP組件, 聯繫我們了解更多詳情","i18n.vip.contactUs":"聯繫我們","i18n.vip.contactUrl":"https://www.weiyuai.cn/contact.html","i18n.ticket.process.name":"工单流程","i18n.thread.process.name":"會話流程"},rCn={"message.type.text":"文本消息","message.type.image":"圖片消息","message.type.file":"文件消息","message.type.voice":"語音消息","message.type.video":"視頻消息","message.type.location":"位置消息","message.type.link":"鏈接消息","message.type.card":"卡片消息","message.type.system":"系統消息","message.type.notification":"通知消息","message.type.custom":"自定義消息","message.status.sending":"發送中","message.status.sent":"已發送","message.status.delivered":"已送達","message.status.read":"已讀","message.status.failed":"發送失敗","message.status.recalled":"已撤回","message.status.deleted":"已刪除","quickreply.search.placeholder":"搜索","quickreply.button.send":"發送","quickreply.button.copy":"複製","quickreply.button.create.category":"創建分類","quickreply.button.create.reply":"創建快捷回復","quickreply.copy.success":"{content} 已複製到剪貼板","category.form.edit.title":"編輯分類","category.form.create.title":"創建分類","category.form.name":"分類名稱","category.form.name.required":"請輸入分類名稱!","category.form.name.placeholder":"輸入分類名稱","category.create.failed":"創建分類失敗","quickreply.drawer.title":"{isEdit, select, true {編輯快捷回復} other {新建快捷回復}}","quickreply.form.category":"分類","quickreply.form.category.required":"請選擇分類","quickreply.form.category.placeholder":"選擇分類","quickreply.form.type":"類型","quickreply.form.type.required":"請選擇類型","quickreply.form.type.placeholder":"選擇類型","quickreply.form.title":"標題","quickreply.form.title.required":"請輸入標題","quickreply.form.content":"內容","quickreply.type.text":"文本","quickreply.type.image":"圖片","quickreply.type.video":"視頻","quickreply.type.audio":"音頻","quickreply.type.file":"文件","quickreply.upload.text":"點擊或拖拽文件上傳","quickreply.upload.success":"{filename} 上傳成功","quickreply.upload.error":"{filename} 上傳失敗","quickreply.upload.uploading":"{filename} 上傳中","quickreply.form.validate.error":"請檢查表單","message.action.send":"發送","message.action.recall":"撤回","message.action.delete":"刪除","message.action.resend":"重新發送","message.action.forward":"轉發","message.action.quote":"引用","message.action.copy":"複製","message.action.translate":"翻譯","message.action.download":"下載","message.action.preview":"預覽","message.tip.sending":"消息發送中...","message.tip.sent":"消息已發送","message.tip.delivered":"消息已送達","message.tip.read":"消息已讀","message.tip.failed":"消息發送失敗","message.tip.recalled":"消息已撤回","message.tip.deleted":"消息已刪除","message.tip.copy.success":"複製成功","message.tip.download.start":"開始下載...","message.tip.download.success":"下載成功","message.tip.download.failed":"下載失敗","message.input.placeholder":"請輸入消息","message.input.send.button":"發送","message.input.emoji.button":"表情","message.input.image.button":"圖片","message.input.file.button":"文件","message.input.voice.button":"語音","message.input.video.button":"視頻","message.input.location.button":"位置","message.list.load.more":"加載更多","message.list.loading":"加載中...","message.list.no.more":"沒有更多消息","message.list.empty":"暫無消息","message.list.search.placeholder":"搜索消息","message.list.search.no.result":"未找到相關消息","message.time.just":"剛剛","message.time.minutes":"{count}分鐘前","message.time.hours":"{count}小時前","message.time.days":"{count}天前","message.time.weeks":"{count}周前","message.time.months":"{count}個月前","message.time.years":"{count}年前","message.file.size.limit":"文件大小不能超過 {size}","message.file.type.unsupported":"不支持的文件類型","message.file.uploading":"上傳中...","message.file.download":"下載文件","message.file.preview":"預覽文件","message.image.loading":"圖片加載中","message.image.load.error":"圖片加載失敗","message.image.save":"保存圖片","message.image.save.success":"圖片保存成功","message.image.save.failed":"圖片保存失敗"},iCn={"profile.update.success":"個人信息更新成功","profile.form.avatar":"頭像","profile.form.upload":"上傳","profile.form.username":"用戶名","profile.form.nickname":"暱稱","profile.form.description":"描述","profile.button.change.password":"修改密碼","profile.button.change.email":"修改郵箱","profile.button.change.mobile":"修改手機號","profile.email.verified":"郵箱已驗證","profile.email.unverified":"郵箱未驗證","profile.mobile.verified":"手機已驗證","profile.mobile.unverified":"手機未驗證","profile.email.change.title":"修改郵箱","profile.email.placeholder":"請輸入郵箱地址","profile.email.required":"請輸入郵箱地址!","profile.email.format.invalid":"郵箱格式不正確","profile.email.length.limit":"郵箱不得超過50字符","profile.email.verification.code.placeholder":"請輸入驗證碼","profile.email.verification.code.countdown":"秒後重新獲取","profile.email.verification.code.get":"獲取驗證碼","profile.email.verification.code.required":"請輸入驗證碼!","profile.email.not.changed":"郵箱未更改!","profile.email.change.success":"郵箱修改成功!","profile.email.format.error":"郵箱格式錯誤","profile.mobile.change.title":"修改手機號","profile.mobile.placeholder":"請輸入手機號","profile.mobile.required":"請輸入手機號!","profile.mobile.format.invalid":"手機號格式錯誤!","profile.mobile.verification.code.placeholder":"請輸入驗證碼","profile.mobile.verification.code.countdown":"秒後重新獲取","profile.mobile.verification.code.get":"獲取驗證碼","profile.mobile.verification.code.required":"請輸入驗證碼!","profile.mobile.not.changed":"手機號未更改!","profile.mobile.change.success":"手機號修改成功!","profile.mobile.format.error":"手機號格式錯誤","profile.password.change.title":"修改密碼","profile.password.old":"原密碼","profile.password.old.empty":"手機號直接登錄用戶,可以留空","profile.password.new":"新密碼","profile.password.confirm":"確認密碼","profile.password.length.error":"密碼最小長度不能小於6","profile.password.mismatch":"兩次輸入密碼不一致","profile.password.change.success":"密碼修改成功!"},oCn={"setting.menu.title":"設置","setting.menu.profile":"個人信息","setting.menu.basic":"基本設置","setting.menu.agent":"客服設置","setting.menu.model":"大模型","setting.menu.certification":"實名認證","setting.menu.qrcode":"二維碼","setting.menu.shortcut":"快捷鍵","setting.menu.click":"菜單點擊","setting.save.success":"設置保存成功","setting.save.error":"設置保存失敗","setting.load.error":"設置加載失敗","setting.header.profile":"個人信息","setting.header.basic":"基本設置","setting.header.agent":"客服設置","setting.header.model":"大模型設置","setting.basic.sound.on":"已開啟消息提示音","setting.basic.sound.off":"已關閉消息提示音","setting.basic.notification.on":"已開啟網絡狀態通知","setting.basic.notification.off":"已關閉網絡狀態通知","setting.basic.connection.status":"長鏈接狀態:","setting.basic.connection.connected":"✅連接正常","setting.basic.connection.disconnected":"❌連接斷開","setting.basic.startup":"開機啟動:","setting.basic.startup.on":"開機啟動","setting.basic.startup.off":"不開機啟動","setting.basic.theme":"顏色主題:","setting.basic.language":"語言設置:","setting.basic.mode":"模式設置:","setting.basic.mode.team":"團隊模式","setting.basic.mode.agent":"客服模式","setting.basic.mode.personal":"個人模式"},aCn={"thread.error.message":"獲取數據失敗","thread.feature.unavailable":"TODO: 該功能暫未開放","thread.menu.top":"置頂","thread.menu.untop":"取消置頂","thread.menu.read":"標記已讀","thread.menu.unread":"標記未讀","thread.menu.mute":"靜音","thread.menu.unmute":"取消靜音","thread.menu.transfer":"轉接","thread.menu.block":"拉黑","thread.menu.ticket":"創建工單","thread.menu.crm":"查看CRM","thread.menu.summary":"會話總結","thread.menu.filter":"會話過濾","thread.menu.groupThread":"群聊會話","thread.menu.robotThread":"機器人會話","thread.menu.workgroupThread":"工作組會話","thread.menu.agentThread":"一對一會話","thread.menu.ticketThread":"工單會話","thread.menu.memberThread":"成員會話","thread.menu.deviceThread":"設備會話","thread.menu.systemThread":"系統會話","thread.status.robot":"[機器人]","thread.status.agent":"[一對一]","thread.status.workgroup":"[工作組]","thread.search.placeholder":"搜索會話...","thread.dropdown.create.group":"創建群聊","thread.dropdown.create.ai":"創建AI對話","thread.agent.status.online":"😀 - 在線接待","thread.agent.status.offline":"🔻 - 客服下線","thread.agent.status.busy":"🏃‍♀️ - 客服忙碌","thread.refresh.pull":"↓ 下拉刷新","thread.refresh.release":"↑ 鬆開刷新","thread.list.no.more":"沒有更多了","thread.coming.soon":"即將上線,敬請期待","thread.set.success":"設置成功","thread.set.error":"設置失敗","thread.menu.star":"星標","thread.menu.star.1":"星標1","thread.menu.star.2":"星標2","thread.menu.star.3":"星標3","thread.menu.star.4":"星標4","thread.menu.hide":"隱藏","thread.status.text":"{status}","thread.status.online":"😀接待","thread.status.offline":"🔻下線","thread.status.busy":"🏃‍♀️忙碌","thread.status.loading":"加載中...","thread.status.empty":"暫無會話","thread.status.error":"加載會話失敗","thread.status.queue":"排隊({count})","thread.status.network.offline":"網絡已斷開","thread.status.network.online":"網絡已連接","thread.status.message.pulling":"消息拉取中...","thread.status.message.empty":"暫無消息","thread.status.message.error":"加載消息失敗","thread.status.message.end":"沒有更多消息","thread.status.message.typing":"正在輸入...","thread.status.message.transfer":"轉接中...","thread.status.message.transferred":"已轉接","thread.status.message.closed":"會話已關閉","thread.menu.star.cancel":"取消星標","thread.loading.more":"加載更多..."},sCn={"ticket.create.title":"創建工單","ticket.edit.title":"編輯工單","ticket.form.uid":"編號","ticket.form.title":"標題","ticket.form.title.required":"請輸入工單標題","ticket.form.title.placeholder":"請輸入工單標題","ticket.form.description":"描述","ticket.form.description.required":"請輸入工單描述","ticket.form.description.placeholder":"請輸入工單描述","ticket.form.status":"狀態","ticket.form.status.required":"請選擇工單狀態","ticket.form.priority":"優先級","ticket.form.priority.required":"請選擇優先級","ticket.form.category":"分類","ticket.form.category.required":"請選擇工單分類","ticket.form.category.placeholder":"請選擇工單分類","ticket.form.user":"客戶","ticket.form.user.placeholder":"請選擇客戶","ticket.form.assignee":"處理人","ticket.form.assignee.placeholder":"請選擇處理人","ticket.form.reporter":"報告人","ticket.form.reporter.placeholder":"請選擇報告人","ticket.form.workgroup":"技能組","ticket.form.workgroup.required":"請選擇技能組","ticket.form.workgroup.placeholder":"請選擇技能組","ticket.workgroup.load.error":"加載技能組失敗","ticket.status.all":"全部狀態","ticket.status.new":"新建","ticket.status.assigned":"已分配","ticket.status.in_progress":"處理中","ticket.status.pending":"待處理","ticket.status.on_hold":"掛起","ticket.status.reopened":"重新打開","ticket.status.resolved":"已解決","ticket.status.closed":"已關閉","ticket.status.cancelled":"已取消","ticket.priority.all":"全部優先級","ticket.priority.lowest":"最低","ticket.priority.low":"低","ticket.priority.medium":"中","ticket.priority.high":"高","ticket.priority.urgent":"緊急","ticket.priority.critical":"嚴重","ticket.create.success":"工單創建成功","ticket.create.failed":"工單創建失敗","ticket.update.success":"工單更新成功","ticket.update.failed":"工單更新失敗","ticket.submit.error":"工單提交失敗","ticket.delete.success":"工單刪除成功","ticket.delete.error":"工單刪除失敗","ticket.load.error":"工單數據加載失敗","ticket.messages.load.error":"工單消息加載失敗","ticket.message.send.error":"消息發送失敗","ticket.category.load.error":"分類加載失敗","ticket.list.title":"工單列表","ticket.list.empty":"暫無工單","ticket.list.search.placeholder":"搜索工單","ticket.list.create":"創建工單","ticket.list.total":"工單總數","ticket.action.edit":"編輯","ticket.action.delete":"刪除","ticket.action.assign":"分配","ticket.action.close":"關閉","ticket.action.reopen":"重新打開","ticket.delete.confirm":"確定要刪除此工單嗎?","ticket.conversation.title":"工單對話","ticket.conversation.empty":"請選擇工單查看對話","ticket.conversation.input.placeholder":"請輸入消息...","ticket.details.title":"工單詳情","ticket.details.empty":"請選擇工單查看詳情","ticket.category.technical_support":"技術支持","ticket.category.service_request":"服務請求","ticket.category.consultation":"咨詢","ticket.category.complaint_suggestion":"投訴建議","ticket.category.operation_maintenance":"運維","ticket.category.other":"其他","ticket.form.thread":"關聯會話","ticket.form.thread.placeholder":"選擇關聯會話","ticket.form.thread.none":"不關聯","ticket.form.createdAt":"創建時間","ticket.form.updatedAt":"更新時間","ticket.type.agent":"指定客服","ticket.type.workgroup":"技能組","ticket.assignee":"處理人","ticket.reporter":"報告人","ticket.type":"類型","ticket.category":"分類","ticket.steps.title":"轉移過程","ticket.filter.by.status":"按狀態篩選","ticket.filter.by.priority":"按優先級篩選","ticket.filter.by.assignment":"按分配篩選","ticket.filter.by.time":"按時間篩選","ticket.filter.status_all":"全部狀態","ticket.filter.status_new":"新建","ticket.filter.status_assigned":"已分配","ticket.filter.status_in_progress":"處理中","ticket.filter.status_pending":"待處理","ticket.filter.status_on_hold":"掛起","ticket.filter.status_reopened":"重新打開","ticket.filter.status_resolved":"已解決","ticket.filter.status_closed":"已關閉","ticket.filter.status_cancelled":"已取消","ticket.filter.priority_all":"全部優先級","ticket.filter.priority_lowest":"最低","ticket.filter.priority_low":"低","ticket.filter.priority_medium":"中","ticket.filter.priority_high":"高","ticket.filter.priority_urgent":"緊急","ticket.filter.priority_critical":"嚴重","ticket.filter.assignment_all":"全部","ticket.filter.assignment_my_tickets":"我的工單","ticket.filter.assignment_unassigned":"未分配","ticket.filter.assignment_my_workgroup":"我的技能組","ticket.filter.assignment_my_created":"我創建的","ticket.filter.assignment_my_assigned":"待我處理","ticket.filter.time_all":"全部時間","ticket.filter.time_today":"今天","ticket.filter.time_yesterday":"昨天","ticket.filter.time_this_week":"本週","ticket.filter.time_last_week":"上週","ticket.filter.time_this_month":"本月","ticket.filter.time_last_month":"上月","ticket.content.title":"工單","ticket.content.number":"編號","ticket.delete.title":"刪除工單","ticket.delete.content":"確定要刪除此工單嗎?","ticket.delete.failed":"工單刪除失敗","ticket.loading":"加載工單...","ticket.empty":"暫無工單","ticket.palette.startEvent":"開始事件","ticket.palette.task":"任務","ticket.palette.gateway":"網關","ticket.palette.dataObject":"數據對象","ticket.create.error":"創建流程圖失敗","ticket.save.success":"流程圖保存成功","ticket.autosave.success":"自動保存成功","ticket.autosave.error":"自動保存失敗","ticket.select.process":"選擇流程","ticket.properties.title":"屬性","ticket.properties.noSelection":"未選擇元素","ticket.properties.id":"ID","ticket.properties.name":"名稱","ticket.properties.type":"類型","ticket.properties.documentation":"文檔","ticket.properties.assignee":"處理人","ticket.properties.priority":"優先級","ticket.fetch.processes.error":"加載流程失敗","ticket.no.process":"沒有流程,請先創建一個流程","ticket.fetch.processes.empty":"沒有流程,請先創建一個流程","ticket.create.loading":"創建流程...","ticket.fetch.processes.loading":"加載流程...","ticket.delete":"刪除","ticket.save.error":"保存流程失敗","ticket.deploy":"部署","ticket.undeploy":"取消部署","ticket.deploy.loading":"部署流程...","ticket.undeploy.loading":"取消部署流程...","ticket.deploy.success":"流程部署成功","ticket.undeploy.success":"流程取消部署成功","ticket.deploy.error":"部署流程失敗","ticket.undeploy.error":"取消部署流程失敗","ticket.undeploy.confirm.title":"取消部署確認","ticket.undeploy.confirm.content":"確定要取消部署此流程嗎?"},lCn={"contact.list.new":"新朋友","contact.list.device":"內網設備","contact.list.group":"群聊","contact.list.channel":"頻道","contact.list.company":"企業聯繫人","contact.list.friend":"聯繫人","contact.search.placeholder":"搜索聯繫人...","contact.manager.button":"通訊錄管理","contact.manager.coming":"敬請期待","member.detail.nickname":"暱稱","member.detail.jobno":"工號","member.detail.seatno":"座位號","member.detail.telephone":"電話","member.detail.loading":"加載中...","member.detail.chat.button":"開始聊天"},cCn={"group.create.title":"發起群聊","group.create.contacts":"好友","group.create.members":"群成員","group.create.members.min":"至少選擇2名成員","group.create.creating":"創建群組中...","group.create.org.empty":"未選擇組織","group.create.success":"創建群組成功","group.create.failed":"創建群組失敗","group.create.loading":"加載成員中...","group.create.error":"加載成員失敗"},uCn={"robot.list.add":"添加智能體","robot.list.loading":"加載中","robot.list.delete.confirm":"刪除【{name}】?","robot.list.deleting":"刪除中","robot.list.delete.success":"刪除成功","robot.list.update.success":"更新成功","robot.list.create.success":"創建成功","robot.list.chat":"對話","robot.list.edit":"編輯","robot.list.delete":"刪除"},dCn={"autoreply.title":"自动回复","autoreply.enable.label":"是否启用自动回复","autoreply.type.label":"自动回复类型","autoreply.type.fixed":"固定回复","autoreply.type.keyword":"关键字匹配","autoreply.type.llm":"大模型回复","autoreply.fixed.add":"添加固定回复内容","autoreply.fixed.select":"选择固定回复内容","autoreply.fixed.type":"固定回复类型","autoreply.fixed.content":"固定回复内容","autoreply.content.text":"文本","autoreply.content.image":"图片","autoreply.content.video":"视频","autoreply.content.audio":"音频","autoreply.content.file":"文件","autoreply.save.loading":"正在保存,请稍后...","autoreply.save.success":"保存成功","autoreply.save.error":"保存失败","autoreply.keyword.add":"添加关键词知识库","autoreply.keyword.select":"选择关键词知识库","autoreply.llm.add":"添加大模型知识库","autoreply.llm.select":"选择大模型知识库"},fCn={"upload.modal.title":"上傳文件","upload.drag.text":"點擊或拖拽文件至此處上傳","upload.drag.hint":"支持單個或批量上傳","upload.drag.hint.size":"支持单个或批量上传,文件大小不超过10MB","upload.drag.hint.withtype":"支持单个或批量上传 {acceptTypes} 格式的文件","upload.drag.hint.withtype.size":"支持单个或批量上传 {acceptTypes} 格式的文件,文件大小不超过10MB","upload.uploading":"{filename} 上傳中...","upload.success":"{filename} 上傳成功","upload.failed":"{filename} 上傳失敗","upload.delete.confirm":"確定要刪除此文件嗎?","upload.preview.image":"圖片預覽","upload.preview.file":"文件預覽","upload.button.ok":"確定","upload.button.cancel":"取消","upload.maxCount":"最多只能上傳 {maxCount} 個文件","upload.maxSize":"文件大小不能超過 {maxSize}MB"},pCn={"flow.title":"流程構建器","flow.new":"新流程","flow.copy":"複製","flow.run":"運行","flow.start":"開始","flow.logic":"邏輯","flow.action":"動作","flow.import":"導入","flow.export":"導出","flow.startChat":"模擬對話","flow.closeChat":"關閉對話","flow.json":"流程JSON","flow.container":"容器組件","flow.form":"表單組件","flow.parentNode":"父節點","flow.textField":"文本框","flow.numberField":"數字框","flow.datePicker":"日期選擇","flow.select":"下拉選擇","flow.checkbox":"多選框組","flow.radio":"單選按鈕","flow.properties":"屬性設置","flow.nodeName":"節點名稱","flow.nodeDesc":"節點描述","flow.componentType":"組件類型","flow.labelName":"標籤名稱","flow.options":"選項","flow.preview":"預覽","flow.submit":"提交","app.language":"語言","leftPanel.container":"容器組件","leftPanel.form":"表單組件","leftPanel.parentNode":"父節點","leftPanel.textField":"文本框","leftPanel.numberField":"數字框","leftPanel.datePicker":"日期選擇","leftPanel.select":"下拉選擇","leftPanel.checkbox":"多選框組","leftPanel.radio":"單選按鈕","propertyPanel.settings":"屬性設置","propertyPanel.nodeId":"節點ID","propertyPanel.nodeType":"節點類型","propertyPanel.nodeName":"節點名稱","propertyPanel.nodeDesc":"節點描述","propertyPanel.componentType":"組件類型","propertyPanel.labelName":"標籤名稱","propertyPanel.options":"選項","propertyPanel.placeholder.name":"請輸入節點名稱","propertyPanel.placeholder.desc":"請輸入節點描述","propertyPanel.placeholder.label":"請輸入標籤名稱","propertyPanel.placeholder.options":"按回車添加選項","nodes.textField.label":"文本框","nodes.numberField.label":"數字框","nodes.datePicker.label":"日期","nodes.select.label":"下拉選擇","nodes.checkbox.label":"多選框組","nodes.radio.label":"單選按鈕","nodes.unknown":"未知組件","formBuilder.title":"表單構建器","formBuilder.preview":"預覽","formBuilder.settings":"設置","formBuilder.addField":"添加欄位","formBuilder.delete":"刪除","formBuilder.moveUp":"上移","formBuilder.moveDown":"下移","formBuilder.fieldTypes":{text:"文本框",number:"數字框",date:"日期選擇",select:"下拉選擇",radio:"單選按鈕",checkbox:"複選框",textarea:"多行文本"},"formBuilder.placeholder":{formName:"請輸入表單名稱",fieldName:"請輸入欄位名稱",fieldLabel:"請輸入欄位標籤",options:"按回車添加選項"},"formBuilder.validation":{required:"必填",optional:"選填",unique:"唯一",min:"最小值",max:"最大值"},"formBuilder.import":"導入","formBuilder.export":"導出","formBuilder.import.success":"導入成功","formBuilder.import.error":"導入失敗,請檢查文件格式","formBuilder.export.success":"導出成功","formBuilder.export.error":"導出失敗","formBuilder.export.filename":"表單配置.json","formBuilder.canvas.empty":"拖拽表單欄位到這裡","formBuilder.field.delete":"刪除","formBuilder.field.moveUp":"上移","formBuilder.field.moveDown":"下移","formBuilder.field.placeholder":{text:"請輸入文本",number:"請輸入數字",date:"請選擇日期",select:"請選擇一個選項",radio:"請選擇一項",checkbox:"請選擇"},"flow.moveUp":"上移","flow.moveDown":"下移","flow.delete":"刪除","flow.option.1":"選項1","flow.option.2":"選項2","flow.option.3":"選項3","flow.controls.title":"流程控制","flow.minimap.title":"流程概覽","flow.canvas.label":"流程構建畫布","flow.background.label":"流程背景","flow.controls.label":"流程控制","flow.minimap.label":"流程概覽","flow.container.label":"流程構建器容器","flow.dragover.hint":"放置此處添加組件","flow.drop.hint":"組件已添加","flow.parentNode.default":"父節點","component.panel.title":"表單組件","component.input.title":"單行文本","component.textarea.title":"多行文本","component.select.title":"下拉選擇","component.radio.title":"單選框組","component.checkbox.title":"多選框組","component.datePicker.title":"日期選擇","component.timePicker.title":"時間選擇","component.switch.title":"開關","component.upload.title":"上傳","propertyPanel.save":"保存","propertyPanel.reset":"重置","theme.light":"淺色","theme.dark":"深色","theme.system":"跟隨系統","dashboard.settings":"設置","flow.startNode":"開始節點","form.submit":"提交","form.submitting":"提交中...","form.submitSuccess":"提交成功","form.submitError":"提交失敗","form.required":"必填項","preview.title":"表單預覽","preview.minimize":"最小化","preview.close":"關閉","preview.submit":"提交","preview.submitting":"提交中...","preview.submitSuccess":"提交成功","preview.submitError":"提交失敗","preview.required":"必填","preview.placeholder.text":"請輸入文本","preview.placeholder.number":"請輸入數字","preview.placeholder.date":"請選擇日期","preview.placeholder.select":"請選擇","preview.placeholder.radio":"請選擇一項","preview.placeholder.checkbox":"請選擇","formBuilder.header.title":"表單構建器","formBuilder.header.import":"導入","formBuilder.header.export":"導出","formBuilder.header.preview":"預覽","formBuilder.dragStart":"開始拖拽組件","formBuilder.dragEnd":"結束拖拽組件","formBuilder.dropSuccess":"組件添加成功","formBuilder.dropError":"組件添加失敗","ticket.title":"工單構建器","ticket.create":"創建工單","ticket.save":"保存工單","ticket.import":"導入","ticket.export":"導出","ticket.import.success":"導入成功","ticket.import.error":"導入失敗","ticket.export.success":"導出成功","ticket.export.error":"導出失敗","ticket.create.modal.title":"創建新流程","ticket.create.name":"流程名稱","ticket.create.key":"流程Key","ticket.create.type":"流程類型","ticket.create.description":"流程描述","ticket.create.submit":"創建","ticket.create.cancel":"取消","ticket.type.default":"默認流程","ticket.type.approval":"審批流程","ticket.type.service":"服務流程","ticket.type.ticket":"工單流程"},mCn={"welcome.modal.title":"未發現所在組織","welcome.modal.description":"您需要創建或加入已有組織","welcome.modal.join":"加入已有組織(即將上線)","welcome.modal.create":"創建組織","welcome.modal.input.placeholder":"請輸入組織名稱","welcome.message.org.required":"請創建或加入組織","welcome.message.create.success":"創建組織成功","welcome.message.create.failed":"創建組織失敗","welcome.message.verify.email":"請先驗證郵箱","welcome.message.verify.mobile":"請先驗證手機號","welcome.message.org.name.required":"請輸入組織名稱","welcome.message.org.creating":"創建組織中,請稍後...","welcome.verify.modal.title":"賬號驗證提示","welcome.verify.modal.description":"您的郵箱和手機號尚未驗證,為保障賬號安全,建議您儘快完成驗證。","welcome.verify.now":"立即驗證","welcome.verify.later":"稍後驗證"},hCn={...QEn,...XEn,...ZEn,...JEn,...eCn,...tCn,...nCn,...qEn,...rCn,...KEn,...iCn,...oCn,...aCn,...sCn,...YEn,...lCn,...cCn,...uCn,...dCn,...fCn,...pCn,...mCn},gCn={"app.title":"Bytedesk","app.logout":"Logout","app.copyright.produced":"Produced by Bytedesk.com","app.preview.down.block":"Download this page to your local project","app.welcome.link.fetch-blocks":"Get all block","app.welcome.link.block-list":"Quickly build standard, pages based on `block` development","footbar.network.normal":"Network Normal","footbar.network.disconnected":"Network Disconnected","footbar.anonymous.tip":"Anonymous mode, only supports communication between online devices in the same LAN","footbar.login.tip":"After login, supports offline messages and more features","footbar.login.skip":"Skip Login","footbar.anonymous.status":"Anonymous","footbar.login":"Login","footbar.logout":"Logout","footbar.logout.title":"Logout","footbar.logout.confirm":"Are you sure to logout?","footbar.serving.count":"Current serving count","footbar.serving.text":"Current serving: 0"},vCn={"common.yes":"Yes","common.no":"No","common.ok":"OK","common.cancel":"Cancel","common.confirm":"Confirm","common.save":"Save","common.delete":"Delete","common.edit":"Edit","common.create":"Create","common.loading":"Loading...","common.success":"Success","common.error":"Error","common.warning":"Warning","common.info":"Info","common.back":"Back","navBar.lang":"Languages","layout.user.link.help":"Help","layout.user.link.privacy":"Privacy","layout.user.link.terms":"Terms","theme.light":"Light","theme.dark":"Dark","theme.system":"System"},_Cn={"chat.copy.success":"Copy successful","chat.network.error":"Network connection failed, please check network","chat.thread.closing":"Ending conversation...","chat.thread.close.success":"Conversation ended successfully","chat.thread.close.confirm.title":"Are you sure to end the conversation?","chat.rate.invite.confirm.title":"Confirm to invite rating?","chat.menu.copy":"Copy","chat.menu.translate":"Translate","chat.menu.recall":"Recall","chat.menu.enlarge":"Enlarge","chat.menu.quickreply.add":"Add Quick Reply...","chat.menu.browser.open":"Open in Browser","chat.menu.forward":"Forward...","chat.menu.collect":"Collect","chat.menu.quote":"Quote","chat.translation.placeholder":"Please enter translation content...","chat.input.placeholder":"Please enter content, Ctrl+V to paste screenshot/image","chat.toolbar.emoji":"Emoji","chat.toolbar.image":"Image","chat.toolbar.file":"File","chat.toolbar.screenshot":"Screenshot","chat.toolbar.autoreply":"Auto Reply","chat.toolbar.audio":"Audio","chat.toolbar.webrtc":"Video Call","chat.toolbar.history":"History","chat.toolbar.block":"Block","chat.toolbar.invite.rate":"Invite Rating","chat.navbar.transfer":"Transfer","chat.navbar.close":"End","chat.navbar.note":"Notebase","chat.navbar.kbase":"Knowledge Base","chat.right.quickreply":"Quick Reply","chat.right.userinfo":"User Info","chat.right.ai":"Copilot","chat.right.ticket":"Ticket","chat.right.llm":"LLM","chat.right.group":"Group Info","chat.right.member":"Member Info","chat.right.docview":"Doc View","chat.group.notice":"Notice","chat.group.members":"Members","chat.group.admins":"Admins","chat.group.robots":"Robots","chat.group.qrcode":"QR Code","chat.group.uid.error":"Group ID error"},yCn={"dashboard.error.message":"Failed to get data","dashboard.init.organization":"Initializing organization","dashboard.init.profile":"Initializing profile","dashboard.init.workgroups":"Initializing workgroups","dashboard.init.agent":"Initializing agent profile","dashboard.transfer.accept":"{nickname} has accepted the transfer","dashboard.transfer.reject":"{nickname} has rejected the transfer","dashboard.transfer.success":"Transfer request sent successfully, waiting for response"},bCn={"menu.anonymous.title":"Anonymous Mode","menu.anonymous.home":"Messages","menu.anonymous.contact":"Contacts","menu.anonymous.robot":"Robot","menu.anonymous.setting":"Settings","menu.anonymous.status":"Anonymous Status","menu.anonymous.status.tip":"Anonymous mode only supports communication between online devices in the same LAN","menu.anonymous.login.tip":"Login to access offline messages and more features","menu.anonymous.login":"Login","menu.anonymous.current.users":"Current Users","menu.dashboard.chat":"Chat","menu.dashboard.contact":"Contact","menu.dashboard.ai":"AI Assistant","menu.dashboard.note":"Notebase","menu.dashboard.kbase":"Knowledge Base","menu.dashboard.mine":"Settings","menu.dashboard.queue":"Queue","menu.dashboard.leavemsg":"Messages","menu.dashboard.visitor":"Visitors","menu.dashboard.monitor":"Monitor","menu.dashboard.plugins":"Plugins","menu.settings":"Settings","menu.settings.logout":"Logout","menu.agent.status":"Agent Status","menu.agent.status.available":"Available","menu.agent.status.rest":"Rest","menu.agent.status.offline":"Offline","menu.language":"Language","menu.mode":"Mode","menu.mode.team":"Team Mode","menu.mode.agent":"Agent Mode","menu.mode.personal":"Personal Mode","menu.agent.offline.warning":"Please end all ongoing conversations before going offline","menu.mode.personal.coming":"Coming soon...","menu.dashboard.form":"Form","menu.dashboard.formbuilder":"Form Builder","menu.dashboard.flow":"Flow","menu.dashboard.flowbuilder":"Flow Builder","menu.dashboard.ticket":"Ticket","menu.dashboard.ticketbuilder":"Ticket Builder"},SCn={"profile.update.success":"Profile updated successfully","profile.form.avatar":"Avatar","profile.form.upload":"Upload","profile.form.username":"Username","profile.form.nickname":"Nickname","profile.form.description":"Description","profile.button.change.password":"Change Password","profile.button.change.email":"Change Email","profile.button.change.mobile":"Change Mobile","profile.email.verified":"Email Verified","profile.email.unverified":"Email Unverified","profile.mobile.verified":"Mobile Verified","profile.mobile.unverified":"Mobile Unverified","profile.email.change.title":"Change Email","profile.email.placeholder":"Enter email address","profile.email.required":"Please enter email address!","profile.email.format.invalid":"Invalid email format","profile.email.length.limit":"Email cannot exceed 50 characters","profile.email.verification.code.placeholder":"Enter verification code","profile.email.verification.code.countdown":"seconds","profile.email.verification.code.get":"Get Code","profile.email.verification.code.required":"Please enter verification code!","profile.email.not.changed":"Email is not changed!","profile.email.change.success":"Email changed successfully!","profile.email.format.error":"Invalid email format","profile.mobile.change.title":"Change Mobile","profile.mobile.placeholder":"Enter mobile number","profile.mobile.required":"Please enter mobile number!","profile.mobile.format.invalid":"Invalid mobile format","profile.mobile.verification.code.placeholder":"Enter verification code","profile.mobile.verification.code.countdown":"seconds","profile.mobile.verification.code.get":"Get Code","profile.mobile.verification.code.required":"Please enter verification code!","profile.mobile.not.changed":"Mobile number is not changed!","profile.mobile.change.success":"Mobile number changed successfully!","profile.mobile.format.error":"Invalid mobile format","profile.password.change.title":"Change Password","profile.password.old":"Old Password","profile.password.old.empty":"Old password can be empty for phone login users","profile.password.new":"New Password","profile.password.confirm":"Confirm Password","profile.password.length.error":"Password must be at least 6 characters","profile.password.mismatch":"The two passwords do not match","profile.password.change.success":"Password changed successfully!"},ECn={"setting.menu.title":"Settings","setting.menu.profile":"Profile","setting.menu.basic":"Basic Settings","setting.menu.agent":"Agent Settings","setting.menu.model":"AI Model","setting.menu.certification":"Certification","setting.menu.qrcode":"QR Code","setting.menu.shortcut":"Shortcuts","setting.menu.click":"Menu clicked","setting.save.success":"Settings saved successfully","setting.save.error":"Failed to save settings","setting.load.error":"Failed to load settings","setting.header.profile":"Personal Profile","setting.header.basic":"Basic Settings","setting.header.agent":"Agent Settings","setting.header.model":"AI Model Settings","setting.basic.sound.on":"Message Sound On","setting.basic.sound.off":"Message Sound Off","setting.basic.notification.on":"Network Status Notification On","setting.basic.notification.off":"Network Status Notification Off","setting.basic.connection.status":"Connection Status:","setting.basic.connection.connected":"✅Connected","setting.basic.connection.disconnected":"❌Disconnected","setting.basic.startup":"Start on Boot:","setting.basic.startup.on":"Enable","setting.basic.startup.off":"Disable","setting.basic.theme":"Theme:","setting.basic.language":"Language:","setting.basic.mode":"Mode:","setting.basic.mode.team":"Team Mode","setting.basic.mode.agent":"Agent Mode","setting.basic.mode.personal":"Personal Mode"},CCn={"ticket.create.title":"Create Ticket","ticket.edit.title":"Edit Ticket","ticket.form.uid":"UID","ticket.form.title":"Title","ticket.form.title.required":"Please enter ticket title","ticket.form.title.placeholder":"Enter ticket title","ticket.form.description":"Description","ticket.form.description.required":"Please enter ticket description","ticket.form.description.placeholder":"Enter ticket description","ticket.form.status":"Status","ticket.form.status.required":"Please select ticket status","ticket.form.priority":"Priority","ticket.form.priority.required":"Please select priority","ticket.form.category":"Category","ticket.form.category.required":"Please select category","ticket.form.category.placeholder":"Select category","ticket.form.user":"Customer","ticket.form.user.placeholder":"Select customer","ticket.form.assignee":"Assignee","ticket.form.assignee.placeholder":"Select assignee","ticket.form.reporter":"Reporter","ticket.form.reporter.placeholder":"Select reporter","ticket.form.workgroup":"Workgroup","ticket.form.workgroup.required":"Please select workgroup","ticket.form.workgroup.placeholder":"Select workgroup","ticket.form.thread":"Related Conversation","ticket.form.thread.placeholder":"Select related conversation","ticket.form.thread.none":"No Association","ticket.create.success":"Ticket created successfully","ticket.create.failed":"Failed to create ticket","ticket.update.success":"Ticket updated successfully","ticket.update.failed":"Failed to update ticket","ticket.submit.error":"Failed to submit ticket","ticket.delete.success":"Ticket deleted successfully","ticket.delete.error":"Failed to delete ticket","ticket.load.error":"Failed to load tickets","ticket.messages.load.error":"Failed to load ticket messages","ticket.message.send.error":"Failed to send message","ticket.workgroup.load.error":"Failed to load workgroups","ticket.category.load.error":"Failed to load categories","ticket.list.title":"Tickets","ticket.list.empty":"No tickets found","ticket.list.search.placeholder":"Search tickets","ticket.list.create":"Create Ticket","ticket.list.total":"Total","ticket.action.edit":"Edit","ticket.action.delete":"Delete","ticket.action.assign":"Assign","ticket.action.close":"Close","ticket.action.reopen":"Reopen","ticket.delete.confirm":"Are you sure to delete this ticket?","ticket.conversation.title":"Conversation","ticket.conversation.empty":"Select a ticket to view conversation","ticket.conversation.input.placeholder":"Type your message...","ticket.details.title":"Ticket Details","ticket.details.empty":"Select a ticket to view details","ticket.form.createdAt":"Created At","ticket.form.updatedAt":"Updated At","ticket.type.agent":"Agent","ticket.type.workgroup":"Workgroup","ticket.type":"Type","ticket.assignee":"Assignee","ticket.reporter":"Reporter","ticket.category":"Category","ticket.steps.title":"Processing Steps","ticket.form.upload.button":"Upload Attachments","ticket.upload.success":"File uploaded successfully","ticket.upload.failed":"File upload failed","ticket.current.filters":"Current Filters","ticket.filter.by.status":"Filter by Status","ticket.filter.by.priority":"Filter by Priority","ticket.filter.by.assignment":"Filter by Assignment","ticket.filter.by.time":"Filter by Time","ticket.filter.status_all":"All Status","ticket.filter.status_new":"New","ticket.filter.status_assigned":"Assigned","ticket.filter.status_in_progress":"In Progress","ticket.filter.status_pending":"Pending","ticket.filter.status_on_hold":"On Hold","ticket.filter.status_reopened":"Reopened","ticket.filter.status_resolved":"Resolved","ticket.filter.status_closed":"Closed","ticket.filter.status_cancelled":"Cancelled","ticket.filter.priority_all":"All Priority","ticket.filter.priority_lowest":"Lowest","ticket.filter.priority_low":"Low","ticket.filter.priority_medium":"Medium","ticket.filter.priority_high":"High","ticket.filter.priority_urgent":"Urgent","ticket.filter.priority_critical":"Critical","ticket.filter.assignment_all":"All","ticket.filter.assignment_my_tickets":"My Tickets","ticket.filter.assignment_unassigned":"Unassigned","ticket.filter.assignment_my_workgroup":"My Workgroup","ticket.filter.assignment_my_created":"Created by Me","ticket.filter.assignment_my_assigned":"Assigned to Me","ticket.filter.time_all":"All Time","ticket.filter.time_today":"Today","ticket.filter.time_yesterday":"Yesterday","ticket.filter.time_this_week":"This Week","ticket.filter.time_last_week":"Last Week","ticket.filter.time_this_month":"This Month","ticket.filter.time_last_month":"Last Month","ticket.content.title":"Ticket","ticket.content.number":"No.","ticket.delete.title":"Delete Ticket","ticket.delete.content":"Are you sure you want to delete this ticket?","ticket.delete.failed":"Failed to delete ticket","ticket.loading":"Loading tickets...","ticket.empty":"No tickets found","ticket.palette.startEvent":"Start Event","ticket.palette.task":"Task","ticket.palette.gateway":"Gateway","ticket.palette.dataObject":"Data Object","ticket.select.process":"Select Process","ticket.import.no.file":"No file selected","ticket.import.read.error":"Failed to read file","ticket.import.error":"Failed to import diagram: {error}","ticket.save.success":"BPMN saved successfully","ticket.autosave.success":"Auto-saved successfully","ticket.autosave.error":"Failed to auto-save","ticket.properties.title":"Properties","ticket.properties.noSelection":"No element selected","ticket.properties.id":"ID","ticket.properties.name":"Name","ticket.properties.type":"Type","ticket.properties.documentation":"Documentation","ticket.properties.assignee":"Assignee","ticket.properties.priority":"Priority","ticket.fetch.processes.error":"Failed to fetch processes","ticket.no.process":"No processes found, please create a process first","ticket.save.error":"Failed to save process","ticket.create.loading":"Creating process...","ticket.fetch.processes.loading":"Loading processes...","ticket.fetch.processes.empty":"No processes found","ticket.fetch.processes.success":"Processes fetched successfully","ticket.delete":"Delete","ticket.deploy":"Deploy","ticket.undeploy":"Undeploy","ticket.deploy.loading":"Deploying process...","ticket.undeploy.loading":"Undeploying process...","ticket.deploy.success":"Process deployed successfully","ticket.undeploy.success":"Process undeployed successfully","ticket.deploy.error":"Failed to deploy process","ticket.undeploy.error":"Failed to undeploy process","ticket.undeploy.confirm.title":"Confirm Undeploy","ticket.undeploy.confirm.content":"Are you sure you want to undeploy this process?"},wCn={i18_file_assistant:"File Assistant",slogan:"Chat As A Service","menu.dashboard.chat":"Chat","menu.dashboard.contact":"Contact","menu.dashboard.queue":"Queue","menu.dashboard.ticket":"Ticket","menu.dashboard.leavemsg":"Leave Msg","menu.dashboard.visitor":"Visitor","menu.dashboard.monitor":"Monitor","menu.dashboard.plugins":"Plugins","menu.dashboard.mine":"Mine","chat.toolbar.emoji":"Emoji","chat.toolbar.image":"Image","chat.toolbar.file":"File","chat.toolbar.audio":"Audio","chat.toolbar.webrtc":"Webrtc","chat.toolbar.history":"History","chat.toolbar.block":"Block","chat.toolbar.screenshot":"Screenshot","chat.toolbar.invite.rate":"InviteRate","chat.toolbar.autoreply":"AutoReply","chat.toolbar.autoreply.on":"AutoReply(On)","chat.navbar.transfer":"Transfer","chat.navbar.ticket":"Ticket","chat.navbar.crm":"Crm","chat.navbar.close":"Close","chat.navbar.category":"Category","chat.navbar.ai":"AI","chat.navbar.queue":"Queue","chat.right.ai":"Copilot","chat.right.quickreply":"QuickReply","chat.right.ticket":"Ticket","chat.right.userinfo":"UserInfo","chat.right.llm":"Llm","chat.right.docview":"DocView","chat.right.group":"Group","chat.right.member":"Member","chat.ai.summary":"Thread Summary","chat.ai.switch":"Switch","chat.thread.nomore":"No More","chat.message.loadmore":"Load More","dashboard.footbar.logout":"Logout",SERVICE:"Customer Service Robot",MARKETING:"Marketing Robot",KNOWLEDGEBASE:"Knowledgebase Robot",QA:"QA Robot",AGENT_ASSISTANT:"Agent Asistant",loading:"Loading",create:"Create",creating:"Creating","create.success":"Create success","create.fail":"Create fail",update:"Update",updating:"Updating","update.success":"Update success","update.fail":"Update fail",save:"Save",saving:"Saving",email:"Email","email.verified":"Email Verified","email.unverified":"Email Unverified",mobile:"Mobile","mobile.verified":"Mobile Verified","mobile.unverified":"Mobile Unverified",captcha:"Captcha",logging:"Logging","login.success":"Login Success","login.error":"Login Failed",registering:"Registering","register.success":"Register Success","register.error":"Register Failed","username.change.tip":"Username(should re login after changed)",createKb:"Create Knowledge Base",createDept:"Create Department",upload:"Upload",import:"Import",export:"Export","download.template":"Download Template",open:"Open",copy:"Copy","copy.success":"Copy success",ok:"OK",cancel:"Cancel",bind:"Bind",edit:"Edit",editing:"Editing","edit.success":"Edit success","edit.fail":"Edit fail",delete:"Delete",deleting:"Deleting",deleteTip:"Delete Tip",deleteAffirm:"Are u sure to delete","delete.success":"Delete success","delete.fail":"Delete fail","process.success":"Process success","process.fail":"Process fail",preview:"Preview",close:"Close",closing:"Closing",closeTip:"Close Tip",closeASure:"Are u sure to close","close.success":"Close success",choose:"Choose","leavemsg.enabled":"Leave Message Enabled",transfer:"Transfer","transfer.success":"Transfer success","transfer.fail":"Transfer fail","transfer.reason":"Transfer Reason",refresh:"Refresh",noAgent:"No Agent Available"},xCn={"pages.login.title":"Bytedesk","pages.layouts.userLayout.title":"Chat As A Service","pages.login.accountLogin.tab":"Account Login","pages.login.accountLogin.errorMessage":"Incorrect username/password(admin/ant.design)","pages.login.failure":"Login failed, please try again!","pages.login.success":"Login successful!","pages.login.username.placeholder":"Email","pages.login.username.required":"Please input your username!","pages.login.password.placeholder":"Password","pages.login.repassword.placeholder":"RePassword","pages.login.password.required":"Please input your password!","pages.login.repassword.required":"Please input your password!","pages.login.phoneLogin.tab":"Phone Login","pages.login.phoneLogin.errorMessage":"Verification Code Error","pages.login.phoneNumber.placeholder":"Phone Number","pages.login.phoneNumber.required":"Please input your phone number!","pages.login.phoneNumber.invalid":"Phone number is invalid!","pages.login.captcha.placeholder":"Verification Code","pages.login.captcha.required":"Please input verification code!","pages.login.phoneLogin.getVerificationCode":"Get Code","pages.login.anonymousLogin":"Anonymous Login","pages.getCaptchaSecondText":"sec(s)","pages.login.scanLogin.tab":"Scan Login","pages.login.rememberMe":"Remember me","pages.login.forgotPassword":"Forgot Password ?","pages.login.submit":"Login","pages.login.loginWith":"Login with :","pages.login.register":"Register","pages.login.registerAccount":"Register Account","pages.login.auto.register":"Unregisterd Mobile will auto register","pages.welcome.link":"Welcome","pages.robot.new":"New","pages.robot.chat":"Chat","pages.robot.edit":"Edit","pages.robot.delete":"Delete","pages.robot.upload":"Upload","pages.robot.tab.basic":"Basic","pages.robot.tab.kb":"Knowledge Base","pages.robot.tab.channel":"Channel","pages.robot.tab.statistic":"Statistic","pages.robot.tab.advanced":"Advanced","pages.robot.tab.flow":"Flow","pages.robot.tab.avatar":"Avatar","pages.robot.tab.title":"Title","pages.robot.tab.welcomeTip":"welcomeTip","pages.robot.tab.description":"Description","pages.robot.tab.preview":"Preview","pages.robot.tab.website":"Website","pages.robot.tab.helpdesk":"Helpdesk","pages.robot.tab.icp":"ICP 17041763-1","pages.robot.tab.police":"44030502008688","pages.robot.kb.file":"File","pages.robot.kb.text":"Text","pages.robot.kb.qa":"Q&A","pages.robot.kb.web":"Website","pages.robot.file.title":"Title","pages.robot.file.content":"Content","pages.robot.file.type":"Type","pages.robot.file.size":"Size","pages.robot.file.action":"Action","pages.robot.file.delete":"Delete","pages.robot.file.save":"Save","pages.robot.file.cancel":"Cancel","pages.robot.file.uploading":"Uploading...","pages.robot.file.name_invalid":"File name should not contain _","pages.robot.file.parse":"Parse File Content","pages.setting":"Settings","pages.logout":"Logout","pages.footer.website":"Bytedesk","pages.footer.helpcenter":"help","pages.login.remember":"remember me","pages.agent.tab.basic":"Basic","pages.agent.robot":"Robot","pages.agent.service.settings":"Service Settings","pages.agent.service.settings.topTip":"Top Tip","pages.agent.service.settings.welcomeTip":"Welcome Tip","pages.agent.service.settings.leavemsgTip":"Leavemsg Tip","pages.agent.service.settings.autoCloseMin":"Auto Close Min","pages.agent.service.settings.showLogo":"Show Logo","pages.agent.service.settings.maxThreadCount":"Max Thread Count","pages.advanced.faq":"FAQ","pages.advanced.quickButton":"Quick Buttons","pages.advanced.faqGuess":"Smart Suggestions","pages.advanced.faqHot":"Hot Questions","pages.advanced.faqShortcut":"Quick Replies","pages.advanced.rate":"Satisfaction Rating","pages.advanced.autoreply":"Auto Reply","pages.advanced.leaveMsg":"Leave Message","pages.advanced.survey":"Survey","pages.advanced.history":"History","pages.advanced.inputAssociation":"Input Association","pages.advanced.antiHarassment":"Captcha Settings","pages.advanced.captcha":"Captcha Settings","pages.advanced.showPreForm":"Show PreForm","pages.advanced.showHistory":"Show History","pages.advanced.showInputAssociation":"Show Input Association","pages.advanced.showCaptcha":"Show Captcha","pages.login.country.placeholder":"Select Country/Region","pages.login.country.china":"China","pages.login.country.hongkong":"Hong Kong","pages.login.country.taiwan":"Taiwan","pages.login.country.macao":"Macao","pages.login.country.japan":"Japan","pages.login.country.korea":"Korea","pages.login.country.usa":"United States","pages.login.country.canada":"Canada","pages.login.country.uk":"United Kingdom","pages.login.country.germany":"Germany","pages.login.country.france":"France","pages.login.country.australia":"Australia","pages.login.country.singapore":"Singapore","pages.login.country.malaysia":"Malaysia","pages.login.country.thailand":"Thailand","pages.login.country.vietnam":"Vietnam","pages.login.country.philippines":"Philippines","pages.login.country.indonesia":"Indonesia","pages.login.country.italy":"Italy","pages.login.country.spain":"Spain","pages.login.country.russia":"Russia","pages.login.country.newzealand":"New Zealand","pages.anonymous.title":"Anonymous Mode","pages.anonymous.home":"Home","pages.anonymous.contact":"Contacts","pages.anonymous.robot":"Robot","pages.anonymous.setting":"Settings","pages.anonymous.welcome":"Welcome to Anonymous Mode","pages.anonymous.description":"You can use system features anonymously in this mode","block.title":"Block Settings","block.type":"Block Type","block.user":"Block User","block.ip":"Block IP","block.permanent":"Permanent Block","block.until":"Block Until","block.until.required":"Please select block end time"},TCn={"i18n.lang.en-US":"English","i18n.lang.zh-CN":"简体中文","i18n.lang.zh-TW":"繁體中文","i18n.queue.tip":"Queue","i18n.queue.message.template":"Current Queuing: {0} people, Wait {1} minutes","i18n.queue.empty":"Queue empty","i18n.queue.accept":"accept","i18n.system.notification":"System Notification","i18n.old.password.wrong":"Old password is incorrect","i18n.change.password":"Change Password","i18n.auth.captcha.send.success":"Captcha Send success","i18n.auth.captcha.error":"Captcha Error","i18n.auth.captcha.expired":"Captcha Expired","i18n.auth.captcha.already.send":"Captcha Already Send","i18n.auth.captcha.validate.failed":"Captcha Validate Failed","i18n.faq":"Faq","i18n.rate":"Rate","i18n.input.placeholder":"Please input","i18n.loading":"Loading","i18n.load.more":"Load more","i18n.load.nomore":"No more","i18n.typing":"Typing","i18n.robot":"Robot","i18n.agent":"Agent","i18n.workgroup":"WorkGroup","i18n.group":"Group","i18n.rate.invite":"Rate Invite","i18n.ticket":"Ticket","i18n.notice":"Notice","i18n.notice.title":"Notice","i18n.notice.content":"Notice Content","i18n.notice.ip":"IP Address","i18n.notice.ipLocation":"IP Location","i18n.notice.parse.file.success":"Parse file success","i18n.notice.parse.file.error":"Parse file error","i18n.DEPT.ALL":"All","i18n.DEPT.ADMIN":"Admin","i18n.DEPT.HR":"HR","i18n.DEPT.ORG":"Org","i18n.DEPT.IT":"IT","i18n.DEPT.MONEY":"Money","i18n.DEPT.MARKETING":"Marketing","i18n.DEPT.SALES":"Sales","i18n.DEPT.CS":"CustomerService","i18n.new.message":"New Message","i18n.file.assistant":"file assistant","i18n.clipboard.assistant":"clipboard assistant","i18n.thread.content.image":"image","i18n.thread.content.file":"file","i18n.top.tip":"Top Tip","i18n.top.make":"Make Top","i18n.top.cancel":"Cancel Top","i18n.unread.make":"Mark as unread","i18n.unread.cancel":"Mark as read","i18n.star.make":"Make Star","i18n.star.cancel":"Cancel Star","i18n.disturb.make":"Make Disturb","i18n.disturb.cancel":"Cancel Disturb","i18n.transfer":"Transfer","i18n.hide":"Hide","i18n.network.disconnected":"Network disconnected","i18n.message.pulling":"Message pulling","i18n.leavemsg.tip":"Leave a message","i18n.welcome.tip":"What can i help you?","i18n.reenter.tip":"continue chat","i18n.under.development":"Under development","i18n.user.description":"User Description","i18n.robot.nickname":"DefaultRobot","i18n.robot.description":"Default Robot Description","i18n.robot.noreply":"Answer Not Found","i18n.robot.agent.assistant.nickname":"DefaultRobotAgent","i18n.llm.prompt":"You are a smart and helpful artificial intelligence, capable of providing useful, detailed, and polite answers to human questions.","i18n.agent.nickname":"DefaultAgent","i18n.agent.description":"Default Agent Description","i18n.workgroup.nickname":"DefaultWorkgroup","i18n.workgroup.description":"Default Workgroup Description","i18n.contact":"Ask Contact","i18n.thanks":"Thanks","i18n.welcome":"Welcome","i18n.bye":"Bye","i18n.tip.title":"Tip","i18n.tip.network.disconnected":"Network disconnected","i18n.tip.network.connected":"Network connected","i18n.kb.name":"KbName","i18n.kb.platform.name":"Platform KbName","i18n.kb.helpcenter.name":"Helpdoc KbName","i18n.kb.llm.name":"Llm KbName","i18n.kb.keyword.name":"Keyword KbName","i18n.kb.faq.name":"Faq KbName","i18n.kb.autoreply.name":"AutoReply KbName","i18n.kb.quickreply.name":"QuickReply KbName","i18n.kb.taboo.name":"Taboo KbName","i18n.kb.description":"KbDescription","i18n.agent.nicknameKb":"DefaultAgentKbName","i18n.contact.title":"If it's convenient, please provide your contact number so that I can communicate with you via phone for a more intuitive conversation.","i18n.contact.content":"If it's convenient, please provide your contact number so that I can communicate with you via phone for a more intuitive conversation.","i18n.thanks.title":"Thank you for visiting, we look forward to seeing you again.","i18n.thanks.content":"Thank you for visiting, we look forward to seeing you again.","i18n.welcome.title":"Hello, how can I assist you?","i18n.welcome.content":"Hello, how can I assist you?","i18n.bye.title":"Your satisfaction is always our goal. If you have any questions, please feel free to contact us.","i18n.bye.content":"Your satisfaction is always our goal. If you have any questions, please feel free to contact us.","i18n.vip.api":"VIP API","i18n.faq.category.demo.1":"CategoryDemo1","i18n.faq.category.demo.2":"CategoryDemo2","i18n.faq.demo.title.1":"FaqTitleText1","i18n.faq.demo.content.1":"FaqContentText1","i18n.faq.demo.title.2":"FaqTitleImage2","i18n.faq.demo.content.2":"https://www.weiyuai.cn/logo.png","i18n.quick.button.demo.title.1":"QuickButtonTitleText1","i18n.quick.button.demo.content.1":"QuickButtonContentText1","i18n.quick.button.demo.title.2":"QuickButtonTitleUrl2","i18n.quick.button.demo.content.2":"https://www.weiyuai.cn","i18n.preview.title":"Preview","i18n.cancel":"Cancel","i18n.confirm":"Confirm","i18n.send":"Send","i18n.transferToAgent":"Transfer to Agent","i18n.auto.closed":"Auto closed","i18n.agent.closed":"Agent closed","i18n.online.chat":"Online Chat","i18n.JOB":"Job","i18n.LANGUAGE":"Language","i18n.TOOL":"Tool","i18n.WRITING":"Writing","i18n.RAG":"RAG","i18n.module.ai":"AI","i18n.module.void":"Void","i18n.module.service":"Service","i18n.module.ticket":"Ticket","i18n.black.user.already.exists":"User already blocked","i18n.ticket.category.technical_support":"Technical Support","i18n.ticket.category.service_request":"Service Request","i18n.ticket.category.consultation":"Consultation","i18n.ticket.category.complaint_suggestion":"Complaint Suggestion","i18n.ticket.category.operation_maintenance":"Operation Maintenance","i18n.ticket.category.other":"Other","i18n.vip.component":"VIP Component, Contact us for more details","i18n.vip.contactUs":"Contact us","i18n.vip.contactUrl":"https://www.bytedesk.com","i18n.ticket.process.name":"Ticket Process","i18n.thread.process.name":"Thread Process"},RCn={"login.privacy.required":"Please read and agree to the privacy agreement","login.privacy.agreement":"Agree to Privacy Agreement","login.switch.server":"Switch Server","login.success":"Login successful","login.failed":"Login failed","login.anonymous":"Anonymous Login","login.other.methods":"Other login methods","login.remember":"Remember me","login.forgot":"Forgot password?","login.register":"Register account","server.button.back":"Back","server.button.save":"Save","server.button.reset":"Reset","server.button.help":"Help","server.save.success":"Save successfully","server.reset.success":"Reset successfully, restored to default cloud server","server.custom.enable":"Enable Custom Server","server.api.url.label":"API Server URL (e.g. http://127.0.0.1:9003 or https://api.bytedesk.com)","server.api.url.placeholder":"http://127.0.0.1:9003","server.websocket.url.label":"WebSocket Server URL (e.g. ws://127.0.0.1:9885/websocket or wss://api.bytedesk.com/websocket)","server.websocket.url.placeholder":"ws://127.0.0.1:9885/websocket","server.input.error":"Please enter correct server address"},OCn={"thread.error.message":"Failed to get data","thread.feature.unavailable":"TODO: This feature is not available yet","thread.menu.top":"Pin to Top","thread.menu.untop":"Unpin","thread.menu.read":"Mark as Read","thread.menu.unread":"Mark as Unread","thread.menu.mute":"Mute","thread.menu.unmute":"Unmute","thread.menu.transfer":"Transfer","thread.menu.block":"Block","thread.menu.ticket":"Create Ticket","thread.menu.crm":"View in CRM","thread.menu.summary":"Summary","thread.status.robot":"[Robot]","thread.status.agent":"[1-on-1]","thread.status.workgroup":"[Group]","thread.search.placeholder":"Search conversations...","thread.menu.filter":"Filter Threads","thread.menu.groupThread":"Group Thread","thread.menu.robotThread":"Robot Thread","thread.menu.workgroupThread":"Workgroup Thread","thread.menu.agentThread":"Agent Thread","thread.menu.ticketThread":"Ticket Thread","thread.menu.memberThread":"Member Thread","thread.menu.deviceThread":"Device Thread","thread.menu.systemThread":"System Thread","thread.status.loading":"Loading...","thread.status.empty":"No conversations","thread.status.error":"Failed to load conversations","thread.status.queue":"Queue ({count})","thread.status.network.offline":"Network disconnected","thread.status.network.online":"Network connected","thread.status.message.pulling":"Pulling messages...","thread.status.message.empty":"No messages","thread.status.message.error":"Failed to load messages","thread.status.message.end":"No more messages","thread.status.message.typing":"Typing...","thread.status.message.transfer":"Transferring...","thread.status.message.transferred":"Transferred","thread.status.message.closed":"Conversation closed","thread.dropdown.create.group":"Create Group Chat","thread.dropdown.create.ai":"Create AI Chat","thread.agent.status.online":"Online","thread.agent.status.offline":"Offline","thread.agent.status.busy":"Busy","thread.refresh.pull":"↓ Pull to refresh","thread.refresh.release":"↑ Release to refresh","thread.list.no.more":"No more data","thread.set.success":"Set successfully","thread.set.error":"Set failed","thread.menu.star":"Star","thread.menu.star.1":"Star Level 1","thread.menu.star.2":"Star Level 2","thread.menu.star.3":"Star Level 3","thread.menu.star.4":"Star Level 4","thread.menu.hide":"Hide","thread.status.text":"{status}","thread.status.online":"Online","thread.status.offline":"Offline","thread.status.busy":"🏃‍♀️Busy","thread.coming.soon":"Coming soon...","thread.menu.star.cancel":"Remove Star","thread.loading.more":"Loading more..."},ICn={"message.status.read":"Read","message.status.delivered":"Delivered","message.status.sending":"Sending","message.status.sent":"Sent","message.status.failed":"Failed to send","message.status.retry":"Retry","quickreply.search.placeholder":"Search","quickreply.button.send":"Send","quickreply.button.copy":"Copy","quickreply.button.create.category":"Create Category","quickreply.button.create.reply":"Create Quick Reply","quickreply.copy.success":"{content} copied to clipboard","category.form.edit.title":"Edit Category","category.form.create.title":"Create Category","category.form.name":"Category Name","category.form.name.required":"Please enter category name!","category.form.name.placeholder":"Enter category name","category.create.failed":"Failed to create category","quickreply.drawer.title":"{isEdit, select, true {Edit Quick Reply} other {New Quick Reply}}","quickreply.form.category":"Category","quickreply.form.category.required":"Please select a category","quickreply.form.category.placeholder":"Select a category","quickreply.form.type":"Type","quickreply.form.type.required":"Please select a type","quickreply.form.type.placeholder":"Select a type","quickreply.form.title":"Title","quickreply.form.title.required":"Please enter a title","quickreply.form.content":"Content","quickreply.type.text":"Text","quickreply.type.image":"Image","quickreply.type.video":"Video","quickreply.type.audio":"Audio","quickreply.type.file":"File","quickreply.upload.text":"Click or drag file to upload","quickreply.upload.success":"{filename} uploaded successfully","quickreply.upload.error":"{filename} upload failed","quickreply.upload.uploading":"{filename} uploading","quickreply.form.validate.error":"Please check the form"},NCn={"customer.info.basic":"Basic Info","customer.info.browser":"Browser Info","customer.info.os":"OS Info","customer.info.device":"Device Info","customer.info.browse.record":"Browse Record","customer.info.tag":"Tag Info","customer.info.load.error":"Failed to load visitor info","customer.info.add.crm":"Add to CRM","customer.info.add.tag":"Add Tag","customer.basic.nickname":"Nickname","customer.basic.location":"IP Location","customer.basic.note":"Note","customer.basic.client":"Client","customer.basic.status":"Status","customer.basic.empty":"N/A","black.title":"Block Settings","black.type":"Block Type","black.type.required":"Please select at least one block type","black.user":"Block User","black.ip":"Block IP","black.permanent":"Permanent Block","black.until":"Block Until","black.until.required":"Please select block end time","black.reason":"Block Reason","black.reason.required":"Please enter block reason","black.reason.placeholder":"Enter reason for blocking","black.success":"Block successfully"},MCn={"contact.list.new":"New Friends","contact.list.device":"LAN Devices","contact.list.group":"Groups","contact.list.channel":"Channels","contact.list.company":"Company Contacts","contact.list.friend":"Contacts","contact.search.placeholder":"Search contacts...","contact.manager.button":"Contact Manager","contact.manager.coming":"Coming soon...","member.detail.nickname":"Nickname","member.detail.jobno":"Job No.","member.detail.seatno":"Seat No.","member.detail.telephone":"Telephone","member.detail.loading":"Loading...","member.detail.chat.button":"Start Chat"},ACn={"autoreply.title":"Auto Reply","autoreply.enable.label":"Enable Auto Reply","autoreply.type.label":"Auto Reply Type","autoreply.type.fixed":"Fixed Reply","autoreply.type.keyword":"Keyword Match","autoreply.type.llm":"AI Model Reply","autoreply.fixed.add":"Add Fixed Reply","autoreply.fixed.select":"Select Fixed Reply","autoreply.fixed.type":"Fixed Reply Type","autoreply.fixed.content":"Fixed Reply Content","autoreply.content.text":"Text","autoreply.content.image":"Image","autoreply.content.video":"Video","autoreply.content.audio":"Audio","autoreply.content.file":"File","autoreply.save.loading":"Saving...","autoreply.save.success":"Saved successfully","autoreply.save.error":"Failed to save","autoreply.keyword.add":"Add Keyword Knowledge Base","autoreply.keyword.select":"Select Keyword Knowledge Base","autoreply.llm.add":"Add AI Model Knowledge Base","autoreply.llm.select":"Select AI Model Knowledge Base"},PCn={"queue.accepting":"Accepting...","queue.accept.success":"Accepted successfully","queue.accept.failed":"Failed to accept","queue.accept":"Accept","queue.empty":"No queuing visitors","queue.loading":"Loading queue...","queue.error":"Failed to load queue","queue.count":"{count} visitors queuing","queue.wait.time":"Estimated wait time: {minutes} minutes"},DCn={"group.create.title":"Create Group Chat","group.create.contacts":"Contacts","group.create.members":"Members","group.create.members.min":"Please select at least 2 members","group.create.creating":"Creating group...","group.create.org.empty":"No organization selected","group.create.success":"Group created successfully","group.create.failed":"Failed to create group","group.create.loading":"Loading members...","group.create.error":"Failed to load members"},kCn={"upload.modal.title":"Upload Files","upload.drag.text":"Click or drag files here to upload","upload.drag.hint":"Support for single or bulk upload","upload.drag.hint.size":"Support for single or bulk upload, file size should not exceed 10MB","upload.drag.hint.withtype":"Support for single or bulk upload of {acceptTypes} format files","upload.drag.hint.withtype.size":"Support for single or bulk upload of {acceptTypes} format files, file size should not exceed 10MB","upload.uploading":"{filename} uploading...","upload.success":"{filename} uploaded successfully","upload.failed":"{filename} upload failed","upload.delete.confirm":"Are you sure to delete this file?","upload.preview.image":"Image Preview","upload.preview.file":"File Preview","upload.button.ok":"OK","upload.button.cancel":"Cancel","upload.maxCount":"Cannot upload more than {maxCount} files","upload.maxSize":"File size cannot exceed {maxSize}MB"},LCn={"flow.title":"Flow Builder","flow.new":"New Flow","flow.copy":"Copy","flow.run":"Run","flow.start":"Start","flow.logic":"Logic","flow.json":"Flow JSON","flow.action":"Action","flow.import":"Import","flow.export":"Export","flow.startChat":"Start Chat","flow.closeChat":"Close Chat","flow.container":"Container Components","flow.form":"Form Components","flow.parentNode":"Parent Node","flow.textField":"Text Field","flow.numberField":"Number Field","flow.datePicker":"Date Picker","flow.select":"Select","flow.checkbox":"Checkbox Group","flow.radio":"Radio Group","flow.properties":"Properties","flow.nodeName":"Node Name","flow.nodeDesc":"Node Description","flow.componentType":"Component Type","flow.labelName":"Label Name","flow.options":"Options","flow.preview":"Preview","flow.submit":"Submit","app.language":"Language","leftPanel.container":"Container Components","leftPanel.form":"Form Components","leftPanel.parentNode":"Parent Node","leftPanel.textField":"Text Field","leftPanel.numberField":"Number Field","leftPanel.datePicker":"Date Picker","leftPanel.select":"Select","leftPanel.checkbox":"Checkbox Group","leftPanel.radio":"Radio Group","propertyPanel.settings":"Properties","propertyPanel.nodeId":"Node ID","propertyPanel.nodeType":"Node Type","propertyPanel.nodeName":"Node Name","propertyPanel.nodeDesc":"Node Description","propertyPanel.componentType":"Component Type","propertyPanel.labelName":"Label Name","propertyPanel.options":"Options","propertyPanel.placeholder.name":"Please input node name","propertyPanel.placeholder.desc":"Please input node description","propertyPanel.placeholder.label":"Please input label name","propertyPanel.placeholder.options":"Press enter to add option","nodes.textField.label":"Text Field","nodes.numberField.label":"Number Field","nodes.datePicker.label":"Date","nodes.select.label":"Select","nodes.checkbox.label":"Checkbox Group","nodes.radio.label":"Radio Group","nodes.unknown":"Unknown Component","formBuilder.title":"Form Builder","formBuilder.preview":"Preview","formBuilder.settings":"Settings","formBuilder.addField":"Add Field","formBuilder.delete":"Delete","formBuilder.moveUp":"Move Up","formBuilder.moveDown":"Move Down","formBuilder.fieldTypes":{text:"Text Field",number:"Number Field",date:"Date Picker",select:"Select",radio:"Radio",checkbox:"Checkbox",textarea:"Text Area"},"formBuilder.placeholder":{formName:"Please input form name",fieldName:"Please input field name",fieldLabel:"Please input field label",options:"Press enter to add option"},"formBuilder.validation":{required:"Required",optional:"Optional",unique:"Unique",min:"Min",max:"Max"},"formBuilder.import":"Import","formBuilder.export":"Export","formBuilder.import.success":"Import successful","formBuilder.import.error":"Import failed, please check file format","formBuilder.export.success":"Export successful","formBuilder.export.error":"Export failed","formBuilder.export.filename":"form-config.json","formBuilder.dragStart":"Start dragging component","formBuilder.dragEnd":"End dragging component","formBuilder.dropSuccess":"Component added successfully","formBuilder.dropError":"Failed to add component","formBuilder.canvas.empty":"Drag and drop form fields here","formBuilder.field":{delete:"Delete",moveUp:"Move Up",moveDown:"Move Down",placeholder:{text:"Please input text",number:"Please input number",date:"Please select date",select:"Please select an option",radio:"Please select one",checkbox:"Please select"}},"flow.moveUp":"Move Up","flow.moveDown":"Move Down","flow.delete":"Delete","flow.option.1":"Option 1","flow.option.2":"Option 2","flow.option.3":"Option 3","flow.controls.title":"Flow Controls","flow.minimap.title":"Flow Overview","flow.canvas.label":"Flow Builder Canvas","flow.background.label":"Flow Background","flow.controls.label":"Flow Controls","flow.minimap.label":"Flow Overview","flow.container.label":"Flow Builder Container","flow.dragover.hint":"Drop here to add component","flow.drop.hint":"Component added","flow.parentNode.default":"Parent Node","component.panel.title":"Form Components","component.input.title":"Text Input","component.textarea.title":"Text Area","component.select.title":"Select","component.radio.title":"Radio Group","component.checkbox.title":"Checkbox Group","component.datePicker.title":"Date Picker","component.timePicker.title":"Time Picker","component.switch.title":"Switch","component.upload.title":"Upload","propertyPanel.save":"Save","propertyPanel.reset":"Reset","theme.light":"Light","theme.dark":"Dark","theme.system":"System","dashboard.settings":"Settings","flow.startNode":"Start Node","form.submit":"Submit","form.submitting":"Submitting...","form.submitSuccess":"Submit Success","form.submitError":"Submit Failed","form.required":"Required","preview.title":"Form Preview","preview.minimize":"Minimize","preview.close":"Close","preview.submit":"Submit","preview.submitting":"Submitting...","preview.submitSuccess":"Submit Success","preview.submitError":"Submit Failed","preview.required":"Required","preview.placeholder.text":"Please input text","preview.placeholder.number":"Please input number","preview.placeholder.date":"Please select date","preview.placeholder.select":"Please select","preview.placeholder.radio":"Please select one","preview.placeholder.checkbox":"Please select","formBuilder.header.title":"Form Builder","formBuilder.header.import":"Import","formBuilder.header.export":"Export","formBuilder.header.preview":"Preview","ticket.title":"Ticket Builder","ticket.create":"Create Ticket Flow","ticket.save":"Save Ticket Flow","ticket.import":"Import","ticket.export":"Export","ticket.import.success":"Import successful","ticket.import.error":"Import failed","ticket.export.success":"Export successful","ticket.export.error":"Export failed","ticket.create.error":"Failed to create diagram","ticket.create.modal.title":"Create New Process","ticket.create.name":"Process Name","ticket.create.key":"Process Key","ticket.create.type":"Process Type","ticket.create.description":"Description","ticket.create.submit":"Create","ticket.create.cancel":"Cancel","ticket.type.default":"Default Process","ticket.type.approval":"Approval Process","ticket.type.service":"Service Process","ticket.type.ticket":"Ticket Process"},$Cn={"welcome.modal.title":"No Organization Found","welcome.modal.description":"You need to create or join an organization","welcome.modal.join":"Join Organization (Coming Soon)","welcome.modal.create":"Create Organization","welcome.modal.input.placeholder":"Please enter organization name","welcome.message.org.required":"Please create or join an organization","welcome.message.create.success":"Organization created successfully","welcome.message.create.failed":"Failed to create organization","welcome.message.verify.email":"Please verify your email first","welcome.message.verify.mobile":"Please verify your mobile number first","welcome.message.org.name.required":"Please enter organization name","welcome.message.org.creating":"Creating organization, please wait...","welcome.verify.modal.title":"Account Verification","welcome.verify.modal.description":"Your email and mobile number have not been verified. For account security, we recommend completing verification as soon as possible.","welcome.verify.now":"Verify Now","welcome.verify.later":"Verify Later"},FCn={...gCn,...vCn,..._Cn,...yCn,...bCn,...SCn,...ECn,...CCn,...wCn,...xCn,...TCn,...RCn,...OCn,...ICn,...NCn,...MCn,...ACn,...PCn,...DCn,...kCn,...LCn,...$Cn},BCn={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},GFe={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},$o={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},xs={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},Im={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"};class Zt{static getFirstMatch(t,n){const r=n.match(t);return r&&r.length>0&&r[1]||""}static getSecondMatch(t,n){const r=n.match(t);return r&&r.length>1&&r[2]||""}static matchAndReturnConst(t,n,r){if(t.test(n))return r}static getWindowsVersionName(t){switch(t){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}static getMacOSVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),n[0]===10)switch(n[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}}static getAndroidVersionName(t){const n=t.split(".").splice(0,2).map(r=>parseInt(r,10)||0);if(n.push(0),!(n[0]===1&&n[1]<5)){if(n[0]===1&&n[1]<6)return"Cupcake";if(n[0]===1&&n[1]>=6)return"Donut";if(n[0]===2&&n[1]<2)return"Eclair";if(n[0]===2&&n[1]===2)return"Froyo";if(n[0]===2&&n[1]>2)return"Gingerbread";if(n[0]===3)return"Honeycomb";if(n[0]===4&&n[1]<1)return"Ice Cream Sandwich";if(n[0]===4&&n[1]<4)return"Jelly Bean";if(n[0]===4&&n[1]>=4)return"KitKat";if(n[0]===5)return"Lollipop";if(n[0]===6)return"Marshmallow";if(n[0]===7)return"Nougat";if(n[0]===8)return"Oreo";if(n[0]===9)return"Pie"}}static getVersionPrecision(t){return t.split(".").length}static compareVersions(t,n,r=!1){const i=Zt.getVersionPrecision(t),o=Zt.getVersionPrecision(n);let a=Math.max(i,o),s=0;const l=Zt.map([t,n],c=>{const u=a-Zt.getVersionPrecision(c),d=c+new Array(u+1).join(".0");return Zt.map(d.split("."),f=>new Array(20-f.length).join("0")+f).reverse()});for(r&&(s=a-Math.min(i,o)),a-=1;a>=s;){if(l[0][a]>l[1][a])return 1;if(l[0][a]===l[1][a]){if(a===s)return 0;a-=1}else if(l[0][a]{r[l]=a[l]})}return t}static getBrowserAlias(t){return BCn[t]}static getBrowserTypeByAlias(t){return GFe[t]||""}}const Ai=/version\/(\d+(\.?_?\d+)+)/i,UCn=[{test:[/googlebot/i],describe(e){const t={name:"Googlebot"},n=Zt.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/opera/i],describe(e){const t={name:"Opera"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opr\/|opios/i],describe(e){const t={name:"Opera"},n=Zt.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/SamsungBrowser/i],describe(e){const t={name:"Samsung Internet for Android"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Whale/i],describe(e){const t={name:"NAVER Whale Browser"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MZBrowser/i],describe(e){const t={name:"MZ Browser"},n=Zt.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/focus/i],describe(e){const t={name:"Focus"},n=Zt.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/swing/i],describe(e){const t={name:"Swing"},n=Zt.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/coast/i],describe(e){const t={name:"Opera Coast"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe(e){const t={name:"Opera Touch"},n=Zt.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/yabrowser/i],describe(e){const t={name:"Yandex Browser"},n=Zt.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/ucbrowser/i],describe(e){const t={name:"UC Browser"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/Maxthon|mxios/i],describe(e){const t={name:"Maxthon"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/epiphany/i],describe(e){const t={name:"Epiphany"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/puffin/i],describe(e){const t={name:"Puffin"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sleipnir/i],describe(e){const t={name:"Sleipnir"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/k-meleon/i],describe(e){const t={name:"K-Meleon"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/micromessenger/i],describe(e){const t={name:"WeChat"},n=Zt.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/qqbrowser/i],describe(e){const t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},n=Zt.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/msie|trident/i],describe(e){const t={name:"Internet Explorer"},n=Zt.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/\sedg\//i],describe(e){const t={name:"Microsoft Edge"},n=Zt.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/edg([ea]|ios)/i],describe(e){const t={name:"Microsoft Edge"},n=Zt.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/vivaldi/i],describe(e){const t={name:"Vivaldi"},n=Zt.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/seamonkey/i],describe(e){const t={name:"SeaMonkey"},n=Zt.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/sailfish/i],describe(e){const t={name:"Sailfish"},n=Zt.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return n&&(t.version=n),t}},{test:[/silk/i],describe(e){const t={name:"Amazon Silk"},n=Zt.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/phantom/i],describe(e){const t={name:"PhantomJS"},n=Zt.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/slimerjs/i],describe(e){const t={name:"SlimerJS"},n=Zt.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t={name:"BlackBerry"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(web|hpw)[o0]s/i],describe(e){const t={name:"WebOS Browser"},n=Zt.getFirstMatch(Ai,e)||Zt.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/bada/i],describe(e){const t={name:"Bada"},n=Zt.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/tizen/i],describe(e){const t={name:"Tizen"},n=Zt.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/qupzilla/i],describe(e){const t={name:"QupZilla"},n=Zt.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/firefox|iceweasel|fxios/i],describe(e){const t={name:"Firefox"},n=Zt.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/electron/i],describe(e){const t={name:"Electron"},n=Zt.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/MiuiBrowser/i],describe(e){const t={name:"Miui"},n=Zt.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/chromium/i],describe(e){const t={name:"Chromium"},n=Zt.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/chrome|crios|crmo/i],describe(e){const t={name:"Chrome"},n=Zt.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/GSA/i],describe(e){const t={name:"Google Search"},n=Zt.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t={name:"Android Browser"},n=Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/playstation 4/i],describe(e){const t={name:"PlayStation 4"},n=Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/safari|applewebkit/i],describe(e){const t={name:"Safari"},n=Zt.getFirstMatch(Ai,e);return n&&(t.version=n),t}},{test:[/.*/i],describe(e){const t=/^(.*)\/(.*) /,n=/^(.*)\/(.*)[ \t]\((.*)/,i=e.search("\\(")!==-1?n:t;return{name:Zt.getFirstMatch(i,e),version:Zt.getSecondMatch(i,e)}}}],jCn=[{test:[/Roku\/DVP/],describe(e){const t=Zt.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:xs.Roku,version:t}}},{test:[/windows phone/i],describe(e){const t=Zt.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:xs.WindowsPhone,version:t}}},{test:[/windows /i],describe(e){const t=Zt.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),n=Zt.getWindowsVersionName(t);return{name:xs.Windows,version:t,versionName:n}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(e){const t={name:xs.iOS},n=Zt.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return n&&(t.version=n),t}},{test:[/macintosh/i],describe(e){const t=Zt.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),n=Zt.getMacOSVersionName(t),r={name:xs.MacOS,version:t};return n&&(r.versionName=n),r}},{test:[/(ipod|iphone|ipad)/i],describe(e){const t=Zt.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:xs.iOS,version:t}}},{test(e){const t=!e.test(/like android/i),n=e.test(/android/i);return t&&n},describe(e){const t=Zt.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),n=Zt.getAndroidVersionName(t),r={name:xs.Android,version:t};return n&&(r.versionName=n),r}},{test:[/(web|hpw)[o0]s/i],describe(e){const t=Zt.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),n={name:xs.WebOS};return t&&t.length&&(n.version=t),n}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe(e){const t=Zt.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||Zt.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||Zt.getFirstMatch(/\bbb(\d+)/i,e);return{name:xs.BlackBerry,version:t}}},{test:[/bada/i],describe(e){const t=Zt.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:xs.Bada,version:t}}},{test:[/tizen/i],describe(e){const t=Zt.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:xs.Tizen,version:t}}},{test:[/linux/i],describe(){return{name:xs.Linux}}},{test:[/CrOS/],describe(){return{name:xs.ChromeOS}}},{test:[/PlayStation 4/],describe(e){const t=Zt.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:xs.PlayStation4,version:t}}}],HCn=[{test:[/googlebot/i],describe(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe(e){const t=Zt.getFirstMatch(/(can-l01)/i,e)&&"Nova",n={type:$o.mobile,vendor:"Huawei"};return t&&(n.model=t),n}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe(){return{type:$o.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe(){return{type:$o.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe(){return{type:$o.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe(){return{type:$o.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe(){return{type:$o.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe(){return{type:$o.tablet}}},{test(e){const t=e.test(/ipod|iphone/i),n=e.test(/like (ipod|iphone)/i);return t&&!n},describe(e){const t=Zt.getFirstMatch(/(ipod|iphone)/i,e);return{type:$o.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe(){return{type:$o.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe(){return{type:$o.mobile}}},{test(e){return e.getBrowserName(!0)==="blackberry"},describe(){return{type:$o.mobile,vendor:"BlackBerry"}}},{test(e){return e.getBrowserName(!0)==="bada"},describe(){return{type:$o.mobile}}},{test(e){return e.getBrowserName()==="windows phone"},describe(){return{type:$o.mobile,vendor:"Microsoft"}}},{test(e){const t=Number(String(e.getOSVersion()).split(".")[0]);return e.getOSName(!0)==="android"&&t>=3},describe(){return{type:$o.tablet}}},{test(e){return e.getOSName(!0)==="android"},describe(){return{type:$o.mobile}}},{test(e){return e.getOSName(!0)==="macos"},describe(){return{type:$o.desktop,vendor:"Apple"}}},{test(e){return e.getOSName(!0)==="windows"},describe(){return{type:$o.desktop}}},{test(e){return e.getOSName(!0)==="linux"},describe(){return{type:$o.desktop}}},{test(e){return e.getOSName(!0)==="playstation 4"},describe(){return{type:$o.tv}}},{test(e){return e.getOSName(!0)==="roku"},describe(){return{type:$o.tv}}}],zCn=[{test(e){return e.getBrowserName(!0)==="microsoft edge"},describe(e){if(/\sedg\//i.test(e))return{name:Im.Blink};const n=Zt.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:Im.EdgeHTML,version:n}}},{test:[/trident/i],describe(e){const t={name:Im.Trident},n=Zt.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){return e.test(/presto/i)},describe(e){const t={name:Im.Presto},n=Zt.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test(e){const t=e.test(/gecko/i),n=e.test(/like gecko/i);return t&&!n},describe(e){const t={name:Im.Gecko},n=Zt.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}},{test:[/(apple)?webkit\/537\.36/i],describe(){return{name:Im.Blink}}},{test:[/(apple)?webkit/i],describe(e){const t={name:Im.WebKit},n=Zt.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return n&&(t.version=n),t}}];class l_e{constructor(t,n=!1){if(t==null||t==="")throw new Error("UserAgent parameter can't be empty");this._ua=t,this.parsedResult={},n!==!0&&this.parse()}getUA(){return this._ua}test(t){return t.test(this._ua)}parseBrowser(){this.parsedResult.browser={};const t=Zt.find(UCn,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser}getBrowser(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()}getBrowserName(t){return t?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""}getBrowserVersion(){return this.getBrowser().version}getOS(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()}parseOS(){this.parsedResult.os={};const t=Zt.find(jCn,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os}getOSName(t){const{name:n}=this.getOS();return t?String(n).toLowerCase()||"":n||""}getOSVersion(){return this.getOS().version}getPlatform(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()}getPlatformType(t=!1){const{type:n}=this.getPlatform();return t?String(n).toLowerCase()||"":n||""}parsePlatform(){this.parsedResult.platform={};const t=Zt.find(HCn,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform}getEngine(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()}getEngineName(t){return t?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""}parseEngine(){this.parsedResult.engine={};const t=Zt.find(zCn,n=>{if(typeof n.test=="function")return n.test(this);if(n.test instanceof Array)return n.test.some(r=>this.test(r));throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine}parse(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this}getResult(){return Zt.assign({},this.parsedResult)}satisfies(t){const n={};let r=0;const i={};let o=0;if(Object.keys(t).forEach(s=>{const l=t[s];typeof l=="string"?(i[s]=l,o+=1):typeof l=="object"&&(n[s]=l,r+=1)}),r>0){const s=Object.keys(n),l=Zt.find(s,u=>this.isOS(u));if(l){const u=this.satisfies(n[l]);if(u!==void 0)return u}const c=Zt.find(s,u=>this.isPlatform(u));if(c){const u=this.satisfies(n[c]);if(u!==void 0)return u}}if(o>0){const s=Object.keys(i),l=Zt.find(s,c=>this.isBrowser(c,!0));if(l!==void 0)return this.compareVersion(i[l])}}isBrowser(t,n=!1){const r=this.getBrowserName().toLowerCase();let i=t.toLowerCase();const o=Zt.getBrowserTypeByAlias(i);return n&&o&&(i=o.toLowerCase()),i===r}compareVersion(t){let n=[0],r=t,i=!1;const o=this.getBrowserVersion();if(typeof o=="string")return t[0]===">"||t[0]==="<"?(r=t.substr(1),t[1]==="="?(i=!0,r=t.substr(2)):n=[],t[0]===">"?n.push(1):n.push(-1)):t[0]==="="?r=t.substr(1):t[0]==="~"&&(i=!0,r=t.substr(1)),n.indexOf(Zt.compareVersions(o,r,i))>-1}isOS(t){return this.getOSName(!0)===String(t).toLowerCase()}isPlatform(t){return this.getPlatformType(!0)===String(t).toLowerCase()}isEngine(t){return this.getEngineName(!0)===String(t).toLowerCase()}is(t,n=!1){return this.isBrowser(t,n)||this.isOS(t)||this.isPlatform(t)}some(t=[]){return t.some(n=>this.is(n))}}/*! * Bowser - a browser detector * https://github.com/lancedikson/bowser * MIT License | (c) Dustin Diaz 2012-2015 diff --git a/deploy/server/notebase/assets/threadService-BuSENpl7.js b/deploy/server/agenticflow/assets/threadService-BxuaN9GQ.js similarity index 94% rename from deploy/server/notebase/assets/threadService-BuSENpl7.js rename to deploy/server/agenticflow/assets/threadService-BxuaN9GQ.js index efb82825fa..31fd66bf11 100644 --- a/deploy/server/notebase/assets/threadService-BuSENpl7.js +++ b/deploy/server/agenticflow/assets/threadService-BxuaN9GQ.js @@ -1 +1 @@ -import{r as T,u as n,a as h}from"./index-OntvGoV0.js";async function y(t){return T("/api/v1/thread/query",{method:"GET",params:{...t}})}const b={async loadThreads(t,s=3){const{setLoading:o,setError:d,setThreads:i,searchText:c,pagination:a,setPagination:l}=n.getState(),p=h.getState().currentOrg,g=async u=>{try{o(!0),d(null);const r={orgUid:p.uid,pageNumber:a.pageNumber,pageSize:a.pageSize};c&&(r.searchText=c);const e=await y(r);if(console.log("queryThreads response",r,e.data),e.data.code===200){if(l({...a,total:e.data.data.totalElements,pageNumber:e.data.data.last?a.pageNumber:a.pageNumber+1}),a.pageNumber===0)i(e.data.data.content);else{const{threads:S}=n.getState();i([...S,...e.data.data.content])}const{setThreadResult:m}=n.getState();m(e.data)}else throw new Error(e.data.message)}catch(r){if(usetTimeout(e,1e3)),g(u+1);d(r instanceof Error?r.message:"Failed to load threads")}finally{o(!1)}};return g(1)},async resetAndLoad(){const{setPagination:t}=n.getState(),s=h.getState().currentOrg;return t({pageNumber:0,pageSize:100,total:0}),this.loadThreads(s.uid)},async loadThreadsWithFilters(t){const{setFilter:s}=n.getState();return Object.entries(t).forEach(([o,d])=>{s(o,d)}),this.resetAndLoad()}};export{b as threadService}; +import{r as T,u as n,a as h}from"./index-DF04Jwm4.js";async function y(t){return T("/api/v1/thread/query",{method:"GET",params:{...t}})}const b={async loadThreads(t,s=3){const{setLoading:o,setError:d,setThreads:i,searchText:c,pagination:a,setPagination:l}=n.getState(),p=h.getState().currentOrg,g=async u=>{try{o(!0),d(null);const r={orgUid:p.uid,pageNumber:a.pageNumber,pageSize:a.pageSize};c&&(r.searchText=c);const e=await y(r);if(console.log("queryThreads response",r,e.data),e.data.code===200){if(l({...a,total:e.data.data.totalElements,pageNumber:e.data.data.last?a.pageNumber:a.pageNumber+1}),a.pageNumber===0)i(e.data.data.content);else{const{threads:S}=n.getState();i([...S,...e.data.data.content])}const{setThreadResult:m}=n.getState();m(e.data)}else throw new Error(e.data.message)}catch(r){if(usetTimeout(e,1e3)),g(u+1);d(r instanceof Error?r.message:"Failed to load threads")}finally{o(!1)}};return g(1)},async resetAndLoad(){const{setPagination:t}=n.getState(),s=h.getState().currentOrg;return t({pageNumber:0,pageSize:100,total:0}),this.loadThreads(s.uid)},async loadThreadsWithFilters(t){const{setFilter:s}=n.getState();return Object.entries(t).forEach(([o,d])=>{s(o,d)}),this.resetAndLoad()}};export{b as threadService}; diff --git a/deploy/server/agenticflow/index.html b/deploy/server/agenticflow/index.html index 701005a5f3..a6affb16e2 100644 --- a/deploy/server/agenticflow/index.html +++ b/deploy/server/agenticflow/index.html @@ -21,7 +21,7 @@ - + diff --git a/deploy/server/kanban/assets/index-Dw2rq9Z2.js b/deploy/server/kanban/assets/index-DQ8UfXR1.js similarity index 99% rename from deploy/server/kanban/assets/index-Dw2rq9Z2.js rename to deploy/server/kanban/assets/index-DQ8UfXR1.js index 85ac81e518..4ea6c3e779 100644 --- a/deploy/server/kanban/assets/index-Dw2rq9Z2.js +++ b/deploy/server/kanban/assets/index-DQ8UfXR1.js @@ -79,7 +79,7 @@ var see;function yn(){return see.apply(null,arguments)}function nwe(e){see=e}fun [`+i+"] ";for(a in arguments[0])Ir(arguments[0],a)&&(o+=a+": "+arguments[0][a]+", ");o=o.slice(0,-2)}else o=arguments[i];r.push(o)}cee(e+` Arguments: `+Array.prototype.slice.call(r).join("")+` `+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var f9={};function uee(e,t){yn.deprecationHandler!=null&&yn.deprecationHandler(e,t),f9[e]||(cee(t),f9[e]=!0)}yn.suppressDeprecationWarnings=!1;yn.deprecationHandler=null;function Zc(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function owe(e){var t,n;for(n in e)Ir(e,n)&&(t=e[n],Zc(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function d3(e,t){var n=Yd({},e),r;for(r in t)Ir(t,r)&&(Vh(e[r])&&Vh(t[r])?(n[r]={},Yd(n[r],e[r]),Yd(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)Ir(e,r)&&!Ir(t,r)&&Vh(e[r])&&(n[r]=Yd({},n[r]));return n}function j5(e){e!=null&&this.set(e)}var f3;Object.keys?f3=Object.keys:f3=function(e){var t,n=[];for(t in e)Ir(e,t)&&n.push(t);return n};var iwe={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function awe(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Zc(r)?r.call(t,n):r}function Vc(e,t,n){var r=""+Math.abs(e),o=t-r.length,i=e>=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var F5=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,PC=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,hT={},Jm={};function Wn(e,t,n,r){var o=r;typeof r=="string"&&(o=function(){return this[r]()}),e&&(Jm[e]=o),t&&(Jm[t[0]]=function(){return Vc(o.apply(this,arguments),t[1],t[2])}),n&&(Jm[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function swe(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function lwe(e){var t=e.match(F5),n,r;for(n=0,r=t.length;n=0&&PC.test(e);)e=e.replace(PC,r),PC.lastIndex=0,n-=1;return e}var cwe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function uwe(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(F5).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var dwe="Invalid date";function fwe(){return this._invalidDate}var hwe="%d",pwe=/\d{1,2}/;function mwe(e){return this._ordinal.replace("%d",e)}var gwe={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function vwe(e,t,n,r){var o=this._relativeTime[n];return Zc(o)?o(e,t,n,r):o.replace(/%d/i,e)}function ywe(e,t){var n=this._relativeTime[e>0?"future":"past"];return Zc(n)?n(t):n.replace(/%s/i,t)}var h9={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function dl(e){return typeof e=="string"?h9[e]||h9[e.toLowerCase()]:void 0}function L5(e){var t={},n,r;for(r in e)Ir(e,r)&&(n=dl(r),n&&(t[n]=e[r]));return t}var bwe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Swe(e){var t=[],n;for(n in e)Ir(e,n)&&t.push({unit:n,priority:bwe[n]});return t.sort(function(r,o){return r.priority-o.priority}),t}var fee=/\d/,ks=/\d\d/,hee=/\d{3}/,B5=/\d{4}/,z_=/[+-]?\d{6}/,vo=/\d\d?/,pee=/\d\d\d\d?/,mee=/\d\d\d\d\d\d?/,H_=/\d{1,3}/,z5=/\d{1,4}/,U_=/[+-]?\d{1,6}/,bv=/\d+/,W_=/[+-]?\d+/,Cwe=/Z|[+-]\d\d:?\d\d/gi,V_=/Z|[+-]\d\d(?::?\d\d)?/gi,wwe=/[+-]?\d+(\.\d{1,3})?/,k1=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Sv=/^[1-9]\d?/,H5=/^([1-9]\d|\d)/,h2;h2={};function On(e,t,n){h2[e]=Zc(t)?t:function(r,o){return r&&n?n:t}}function xwe(e,t){return Ir(h2,e)?h2[e](t._strict,t._locale):new RegExp(Ewe(e))}function Ewe(e){return ju(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,o,i){return n||r||o||i}))}function ju(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Xs(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function gr(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=Xs(t)),n}var h3={};function Qr(e,t){var n,r=t,o;for(typeof e=="string"&&(e=[e]),Yu(t)&&(r=function(i,a){a[t]=gr(i)}),o=e.length,n=0;n68?1900:2e3)};var gee=Cv("FullYear",!0);function Owe(){return K_(this.year())}function Cv(e,t){return function(n){return n!=null?(vee(this,e,n),yn.updateOffset(this,t),this):Pb(this,e)}}function Pb(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function vee(e,t,n){var r,o,i,a,s;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,o=e._isUTC,t){case"Milliseconds":return void(o?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(o?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(o?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(o?r.setUTCHours(n):r.setHours(n));case"Date":return void(o?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,a=e.month(),s=e.date(),s=s===29&&a===1&&!K_(i)?28:s,o?r.setUTCFullYear(i,a,s):r.setFullYear(i,a,s)}}function Mwe(e){return e=dl(e),Zc(this[e])?this[e]():this}function Twe(e,t){if(typeof e=="object"){e=L5(e);var n=Swe(e),r,o=n.length;for(r=0;r=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function Ob(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function p2(e,t,n){var r=7+t-n,o=(7+Ob(e,0,r).getUTCDay()-t)%7;return-o+r-1}function xee(e,t,n,r,o){var i=(7+n-r)%7,a=p2(e,r,o),s=1+7*(t-1)+i+a,l,c;return s<=0?(l=e-1,c=ky(l)+s):s>ky(e)?(l=e+1,c=s-ky(e)):(l=e,c=s),{year:l,dayOfYear:c}}function Mb(e,t,n){var r=p2(e.year(),t,n),o=Math.floor((e.dayOfYear()-r-1)/7)+1,i,a;return o<1?(a=e.year()-1,i=o+Fu(a,t,n)):o>Fu(e.year(),t,n)?(i=o-Fu(e.year(),t,n),a=e.year()+1):(a=e.year(),i=o),{week:i,year:a}}function Fu(e,t,n){var r=p2(e,t,n),o=p2(e+1,t,n);return(ky(e)-r+o)/7}Wn("w",["ww",2],"wo","week");Wn("W",["WW",2],"Wo","isoWeek");On("w",vo,Sv);On("ww",vo,ks);On("W",vo,Sv);On("WW",vo,ks);N1(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=gr(e)});function Uwe(e){return Mb(e,this._week.dow,this._week.doy).week}var Wwe={dow:0,doy:6};function Vwe(){return this._week.dow}function Kwe(){return this._week.doy}function qwe(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Gwe(e){var t=Mb(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}Wn("d",0,"do","day");Wn("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});Wn("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});Wn("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});Wn("e",0,0,"weekday");Wn("E",0,0,"isoWeekday");On("d",vo);On("e",vo);On("E",vo);On("dd",function(e,t){return t.weekdaysMinRegex(e)});On("ddd",function(e,t){return t.weekdaysShortRegex(e)});On("dddd",function(e,t){return t.weekdaysRegex(e)});N1(["dd","ddd","dddd"],function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);o!=null?t.d=o:sr(n).invalidWeekday=e});N1(["d","e","E"],function(e,t,n,r){t[r]=gr(e)});function Ywe(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Xwe(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function W5(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Qwe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Eee="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Jwe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Zwe=k1,exe=k1,txe=k1;function nxe(e,t){var n=Ql(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?W5(n,this._week.dow):e?n[e.day()]:n}function rxe(e){return e===!0?W5(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function oxe(e){return e===!0?W5(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function ixe(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=Jc([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?t==="dddd"?(o=Xo.call(this._weekdaysParse,a),o!==-1?o:null):t==="ddd"?(o=Xo.call(this._shortWeekdaysParse,a),o!==-1?o:null):(o=Xo.call(this._minWeekdaysParse,a),o!==-1?o:null):t==="dddd"?(o=Xo.call(this._weekdaysParse,a),o!==-1||(o=Xo.call(this._shortWeekdaysParse,a),o!==-1)?o:(o=Xo.call(this._minWeekdaysParse,a),o!==-1?o:null)):t==="ddd"?(o=Xo.call(this._shortWeekdaysParse,a),o!==-1||(o=Xo.call(this._weekdaysParse,a),o!==-1)?o:(o=Xo.call(this._minWeekdaysParse,a),o!==-1?o:null)):(o=Xo.call(this._minWeekdaysParse,a),o!==-1||(o=Xo.call(this._weekdaysParse,a),o!==-1)?o:(o=Xo.call(this._shortWeekdaysParse,a),o!==-1?o:null))}function axe(e,t,n){var r,o,i;if(this._weekdaysParseExact)return ixe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=Jc([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function sxe(e){if(!this.isValid())return e!=null?this:NaN;var t=Pb(this,"Day");return e!=null?(e=Ywe(e,this.localeData()),this.add(e-t,"d")):t}function lxe(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function cxe(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Xwe(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function uxe(e){return this._weekdaysParseExact?(Ir(this,"_weekdaysRegex")||V5.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(Ir(this,"_weekdaysRegex")||(this._weekdaysRegex=Zwe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function dxe(e){return this._weekdaysParseExact?(Ir(this,"_weekdaysRegex")||V5.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(Ir(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=exe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function fxe(e){return this._weekdaysParseExact?(Ir(this,"_weekdaysRegex")||V5.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(Ir(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=txe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function V5(){function e(u,f){return f.length-u.length}var t=[],n=[],r=[],o=[],i,a,s,l,c;for(i=0;i<7;i++)a=Jc([2e3,1]).day(i),s=ju(this.weekdaysMin(a,"")),l=ju(this.weekdaysShort(a,"")),c=ju(this.weekdays(a,"")),t.push(s),n.push(l),r.push(c),o.push(s),o.push(l),o.push(c);t.sort(e),n.sort(e),r.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function K5(){return this.hours()%12||12}function hxe(){return this.hours()||24}Wn("H",["HH",2],0,"hour");Wn("h",["hh",2],0,K5);Wn("k",["kk",2],0,hxe);Wn("hmm",0,0,function(){return""+K5.apply(this)+Vc(this.minutes(),2)});Wn("hmmss",0,0,function(){return""+K5.apply(this)+Vc(this.minutes(),2)+Vc(this.seconds(),2)});Wn("Hmm",0,0,function(){return""+this.hours()+Vc(this.minutes(),2)});Wn("Hmmss",0,0,function(){return""+this.hours()+Vc(this.minutes(),2)+Vc(this.seconds(),2)});function _ee(e,t){Wn(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}_ee("a",!0);_ee("A",!1);function $ee(e,t){return t._meridiemParse}On("a",$ee);On("A",$ee);On("H",vo,H5);On("h",vo,Sv);On("k",vo,Sv);On("HH",vo,ks);On("hh",vo,ks);On("kk",vo,ks);On("hmm",pee);On("hmmss",mee);On("Hmm",pee);On("Hmmss",mee);Qr(["H","HH"],gi);Qr(["k","kk"],function(e,t,n){var r=gr(e);t[gi]=r===24?0:r});Qr(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});Qr(["h","hh"],function(e,t,n){t[gi]=gr(e),sr(n).bigHour=!0});Qr("hmm",function(e,t,n){var r=e.length-2;t[gi]=gr(e.substr(0,r)),t[Al]=gr(e.substr(r)),sr(n).bigHour=!0});Qr("hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[gi]=gr(e.substr(0,r)),t[Al]=gr(e.substr(r,2)),t[Nu]=gr(e.substr(o)),sr(n).bigHour=!0});Qr("Hmm",function(e,t,n){var r=e.length-2;t[gi]=gr(e.substr(0,r)),t[Al]=gr(e.substr(r))});Qr("Hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[gi]=gr(e.substr(0,r)),t[Al]=gr(e.substr(r,2)),t[Nu]=gr(e.substr(o))});function pxe(e){return(e+"").toLowerCase().charAt(0)==="p"}var mxe=/[ap]\.?m?\.?/i,gxe=Cv("Hours",!0);function vxe(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var Pee={calendar:iwe,longDateFormat:cwe,invalidDate:dwe,ordinal:hwe,dayOfMonthOrdinalParse:pwe,relativeTime:gwe,months:Iwe,monthsShort:yee,week:Wwe,weekdays:Qwe,weekdaysMin:Jwe,weekdaysShort:Eee,meridiemParse:mxe},Co={},M0={},Tb;function yxe(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(o=q_(i.slice(0,n).join("-")),o)return o;if(r&&r.length>=n&&yxe(i,r)>=n-1)break;n--}t++}return Tb}function Sxe(e){return!!(e&&e.match("^[^/\\\\]*$"))}function q_(e){var t=null,n;if(Co[e]===void 0&&typeof module<"u"&&module&&module.exports&&Sxe(e))try{t=Tb._abbr,n=require,n("./locale/"+e),hf(t)}catch{Co[e]=null}return Co[e]}function hf(e,t){var n;return e&&(Na(t)?n=sd(e):n=q5(e,t),n?Tb=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Tb._abbr}function q5(e,t){if(t!==null){var n,r=Pee;if(t.abbr=e,Co[e]!=null)uee("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Co[e]._config;else if(t.parentLocale!=null)if(Co[t.parentLocale]!=null)r=Co[t.parentLocale]._config;else if(n=q_(t.parentLocale),n!=null)r=n._config;else return M0[t.parentLocale]||(M0[t.parentLocale]=[]),M0[t.parentLocale].push({name:e,config:t}),null;return Co[e]=new j5(d3(r,t)),M0[e]&&M0[e].forEach(function(o){q5(o.name,o.config)}),hf(e),Co[e]}else return delete Co[e],null}function Cxe(e,t){if(t!=null){var n,r,o=Pee;Co[e]!=null&&Co[e].parentLocale!=null?Co[e].set(d3(Co[e]._config,t)):(r=q_(e),r!=null&&(o=r._config),t=d3(o,t),r==null&&(t.abbr=e),n=new j5(t),n.parentLocale=Co[e],Co[e]=n),hf(e)}else Co[e]!=null&&(Co[e].parentLocale!=null?(Co[e]=Co[e].parentLocale,e===hf()&&hf(e)):Co[e]!=null&&delete Co[e]);return Co[e]}function sd(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Tb;if(!Ql(e)){if(t=q_(e),t)return t;e=[e]}return bxe(e)}function wxe(){return f3(Co)}function G5(e){var t,n=e._a;return n&&sr(e).overflow===-2&&(t=n[ku]<0||n[ku]>11?ku:n[Rc]<1||n[Rc]>U5(n[na],n[ku])?Rc:n[gi]<0||n[gi]>24||n[gi]===24&&(n[Al]!==0||n[Nu]!==0||n[$h]!==0)?gi:n[Al]<0||n[Al]>59?Al:n[Nu]<0||n[Nu]>59?Nu:n[$h]<0||n[$h]>999?$h:-1,sr(e)._overflowDayOfYear&&(tRc)&&(t=Rc),sr(e)._overflowWeeks&&t===-1&&(t=$we),sr(e)._overflowWeekday&&t===-1&&(t=Pwe),sr(e).overflow=t),e}var xxe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Exe=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_xe=/Z|[+-]\d\d(?::?\d\d)?/,OC=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],pT=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],$xe=/^\/?Date\((-?\d+)/i,Pxe=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Oxe={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Oee(e){var t,n,r=e._i,o=xxe.exec(r)||Exe.exec(r),i,a,s,l,c=OC.length,u=pT.length;if(o){for(sr(e).iso=!0,t=0,n=c;tky(a)||e._dayOfYear===0)&&(sr(e)._overflowDayOfYear=!0),n=Ob(a,0,e._dayOfYear),e._a[ku]=n.getUTCMonth(),e._a[Rc]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=o[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[gi]===24&&e._a[Al]===0&&e._a[Nu]===0&&e._a[$h]===0&&(e._nextDay=!0,e._a[gi]=0),e._d=(e._useUTC?Ob:Hwe).apply(null,r),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[gi]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(sr(e).weekdayMismatch=!0)}}function Dxe(e){var t,n,r,o,i,a,s,l,c;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,a=4,n=Em(t.GG,e._a[na],Mb(go(),1,4).year),r=Em(t.W,1),o=Em(t.E,1),(o<1||o>7)&&(l=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=Mb(go(),i,a),n=Em(t.gg,e._a[na],c.year),r=Em(t.w,c.week),t.d!=null?(o=t.d,(o<0||o>6)&&(l=!0)):t.e!=null?(o=t.e+i,(t.e<0||t.e>6)&&(l=!0)):o=i),r<1||r>Fu(n,i,a)?sr(e)._overflowWeeks=!0:l!=null?sr(e)._overflowWeekday=!0:(s=xee(n,r,o,i,a),e._a[na]=s.year,e._dayOfYear=s.dayOfYear)}yn.ISO_8601=function(){};yn.RFC_2822=function(){};function X5(e){if(e._f===yn.ISO_8601){Oee(e);return}if(e._f===yn.RFC_2822){Mee(e);return}e._a=[],sr(e).empty=!0;var t=""+e._i,n,r,o,i,a,s=t.length,l=0,c,u;for(o=dee(e._f,e._locale).match(F5)||[],u=o.length,n=0;n0&&sr(e).unusedInput.push(a),t=t.slice(t.indexOf(r)+r.length),l+=r.length),Jm[i]?(r?sr(e).empty=!1:sr(e).unusedTokens.push(i),_we(i,r,e)):e._strict&&!r&&sr(e).unusedTokens.push(i);sr(e).charsLeftOver=s-l,t.length>0&&sr(e).unusedInput.push(t),e._a[gi]<=12&&sr(e).bigHour===!0&&e._a[gi]>0&&(sr(e).bigHour=void 0),sr(e).parsedDateParts=e._a.slice(0),sr(e).meridiem=e._meridiem,e._a[gi]=jxe(e._locale,e._a[gi],e._meridiem),c=sr(e).era,c!==null&&(e._a[na]=e._locale.erasConvertYear(c,e._a[na])),Y5(e),G5(e)}function jxe(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function Fxe(e){var t,n,r,o,i,a,s=!1,l=e._f.length;if(l===0){sr(e).invalidFormat=!0,e._d=new Date(NaN);return}for(o=0;othis?this:e:B_()});function Iee(e,t){var n,r;if(t.length===1&&Ql(t[0])&&(t=t[0]),!t.length)return go();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function i2e(){if(!Na(this._isDSTShifted))return this._isDSTShifted;var e={},t;return D5(e,this),e=Tee(e),e._a?(t=e._isUTC?Jc(e._a):go(e._a),this._isDSTShifted=this.isValid()&&Xxe(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function a2e(){return this.isValid()?!this._isUTC:!1}function s2e(){return this.isValid()?this._isUTC:!1}function Nee(){return this.isValid()?this._isUTC&&this._offset===0:!1}var l2e=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,c2e=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function dc(e,t){var n=e,r=null,o,i,a;return Ww(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:Yu(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=l2e.exec(e))?(o=r[1]==="-"?-1:1,n={y:0,d:gr(r[Rc])*o,h:gr(r[gi])*o,m:gr(r[Al])*o,s:gr(r[Nu])*o,ms:gr(p3(r[$h]*1e3))*o}):(r=c2e.exec(e))?(o=r[1]==="-"?-1:1,n={y:nh(r[2],o),M:nh(r[3],o),w:nh(r[4],o),d:nh(r[5],o),h:nh(r[6],o),m:nh(r[7],o),s:nh(r[8],o)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=u2e(go(n.from),go(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),i=new G_(n),Ww(e)&&Ir(e,"_locale")&&(i._locale=e._locale),Ww(e)&&Ir(e,"_isValid")&&(i._isValid=e._isValid),i}dc.fn=G_.prototype;dc.invalid=Yxe;function nh(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function m9(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function u2e(e,t){var n;return e.isValid()&&t.isValid()?(t=J5(t,e),e.isBefore(t)?n=m9(e,t):(n=m9(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Aee(e,t){return function(n,r){var o,i;return r!==null&&!isNaN(+r)&&(uee(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),o=dc(n,r),Dee(this,o,e),this}}function Dee(e,t,n,r){var o=t._milliseconds,i=p3(t._days),a=p3(t._months);e.isValid()&&(r=r??!0,a&&See(e,Pb(e,"Month")+a*n),i&&vee(e,"Date",Pb(e,"Date")+i*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&yn.updateOffset(e,i||a))}var d2e=Aee(1,"add"),f2e=Aee(-1,"subtract");function jee(e){return typeof e=="string"||e instanceof String}function h2e(e){return Jl(e)||R1(e)||jee(e)||Yu(e)||m2e(e)||p2e(e)||e===null||e===void 0}function p2e(e){var t=Vh(e)&&!N5(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o,i,a=r.length;for(o=0;on.valueOf():n.valueOf()9999?Uw(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Zc(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Uw(n,"Z")):Uw(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function M2e(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,o,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(n+r+o+i)}function T2e(e){e||(e=this.isUtc()?yn.defaultFormatUtc:yn.defaultFormat);var t=Uw(this,e);return this.localeData().postformat(t)}function R2e(e,t){return this.isValid()&&(Jl(e)&&e.isValid()||go(e).isValid())?dc({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function I2e(e){return this.from(go(),e)}function k2e(e,t){return this.isValid()&&(Jl(e)&&e.isValid()||go(e).isValid())?dc({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function N2e(e){return this.to(go(),e)}function Fee(e){var t;return e===void 0?this._locale._abbr:(t=sd(e),t!=null&&(this._locale=t),this)}var Lee=ul("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Bee(){return this._locale}var m2=1e3,Zm=60*m2,g2=60*Zm,zee=(365*400+97)*24*g2;function eg(e,t){return(e%t+t)%t}function Hee(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-zee:new Date(e,t,n).valueOf()}function Uee(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-zee:Date.UTC(e,t,n)}function A2e(e){var t,n;if(e=dl(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Uee:Hee,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=eg(t+(this._isUTC?0:this.utcOffset()*Zm),g2);break;case"minute":t=this._d.valueOf(),t-=eg(t,Zm);break;case"second":t=this._d.valueOf(),t-=eg(t,m2);break}return this._d.setTime(t),yn.updateOffset(this,!0),this}function D2e(e){var t,n;if(e=dl(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Uee:Hee,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=g2-eg(t+(this._isUTC?0:this.utcOffset()*Zm),g2)-1;break;case"minute":t=this._d.valueOf(),t+=Zm-eg(t,Zm)-1;break;case"second":t=this._d.valueOf(),t+=m2-eg(t,m2)-1;break}return this._d.setTime(t),yn.updateOffset(this,!0),this}function j2e(){return this._d.valueOf()-(this._offset||0)*6e4}function F2e(){return Math.floor(this.valueOf()/1e3)}function L2e(){return new Date(this.valueOf())}function B2e(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function z2e(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function H2e(){return this.isValid()?this.toISOString():null}function U2e(){return A5(this)}function W2e(){return Yd({},sr(this))}function V2e(){return sr(this).overflow}function K2e(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Wn("N",0,0,"eraAbbr");Wn("NN",0,0,"eraAbbr");Wn("NNN",0,0,"eraAbbr");Wn("NNNN",0,0,"eraName");Wn("NNNNN",0,0,"eraNarrow");Wn("y",["y",1],"yo","eraYear");Wn("y",["yy",2],0,"eraYear");Wn("y",["yyy",3],0,"eraYear");Wn("y",["yyyy",4],0,"eraYear");On("N",Z5);On("NN",Z5);On("NNN",Z5);On("NNNN",rEe);On("NNNNN",oEe);Qr(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?sr(n).era=o:sr(n).invalidEra=e});On("y",bv);On("yy",bv);On("yyy",bv);On("yyyy",bv);On("yo",iEe);Qr(["y","yy","yyy","yyyy"],na);Qr(["yo"],function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[na]=n._locale.eraYearOrdinalParse(e,o):t[na]=parseInt(e,10)});function q2e(e,t){var n,r,o,i=this._eras||sd("en")._eras;for(n=0,r=i.length;n=0)return i[r]}function Y2e(e,t){var n=e.since<=e.until?1:-1;return t===void 0?yn(e.since).year():yn(e.since).year()+(t-e.offset)*n}function X2e(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ei&&(t=i),fEe.call(this,e,t,n,r,o))}function fEe(e,t,n,r,o){var i=xee(e,t,n,r,o),a=Ob(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}Wn("Q",0,"Qo","quarter");On("Q",fee);Qr("Q",function(e,t){t[ku]=(gr(e)-1)*3});function hEe(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}Wn("D",["DD",2],"Do","date");On("D",vo,Sv);On("DD",vo,ks);On("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});Qr(["D","DD"],Rc);Qr("Do",function(e,t){t[Rc]=gr(e.match(vo)[0])});var Vee=Cv("Date",!0);Wn("DDD",["DDDD",3],"DDDo","dayOfYear");On("DDD",H_);On("DDDD",hee);Qr(["DDD","DDDD"],function(e,t,n){n._dayOfYear=gr(e)});function pEe(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}Wn("m",["mm",2],0,"minute");On("m",vo,H5);On("mm",vo,ks);Qr(["m","mm"],Al);var mEe=Cv("Minutes",!1);Wn("s",["ss",2],0,"second");On("s",vo,H5);On("ss",vo,ks);Qr(["s","ss"],Nu);var gEe=Cv("Seconds",!1);Wn("S",0,0,function(){return~~(this.millisecond()/100)});Wn(0,["SS",2],0,function(){return~~(this.millisecond()/10)});Wn(0,["SSS",3],0,"millisecond");Wn(0,["SSSS",4],0,function(){return this.millisecond()*10});Wn(0,["SSSSS",5],0,function(){return this.millisecond()*100});Wn(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});Wn(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});Wn(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});Wn(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});On("S",H_,fee);On("SS",H_,ks);On("SSS",H_,hee);var Xd,Kee;for(Xd="SSSS";Xd.length<=9;Xd+="S")On(Xd,bv);function vEe(e,t){t[$h]=gr(("0."+e)*1e3)}for(Xd="S";Xd.length<=9;Xd+="S")Qr(Xd,vEe);Kee=Cv("Milliseconds",!1);Wn("z",0,0,"zoneAbbr");Wn("zz",0,0,"zoneName");function yEe(){return this._isUTC?"UTC":""}function bEe(){return this._isUTC?"Coordinated Universal Time":""}var an=I1.prototype;an.add=d2e;an.calendar=y2e;an.clone=b2e;an.diff=$2e;an.endOf=D2e;an.format=T2e;an.from=R2e;an.fromNow=I2e;an.to=k2e;an.toNow=N2e;an.get=Mwe;an.invalidAt=V2e;an.isAfter=S2e;an.isBefore=C2e;an.isBetween=w2e;an.isSame=x2e;an.isSameOrAfter=E2e;an.isSameOrBefore=_2e;an.isValid=U2e;an.lang=Lee;an.locale=Fee;an.localeData=Bee;an.max=Uxe;an.min=Hxe;an.parsingFlags=W2e;an.set=Twe;an.startOf=A2e;an.subtract=f2e;an.toArray=B2e;an.toObject=z2e;an.toDate=L2e;an.toISOString=O2e;an.inspect=M2e;typeof Symbol<"u"&&Symbol.for!=null&&(an[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});an.toJSON=H2e;an.toString=P2e;an.unix=F2e;an.valueOf=j2e;an.creationData=K2e;an.eraName=X2e;an.eraNarrow=Q2e;an.eraAbbr=J2e;an.eraYear=Z2e;an.year=gee;an.isLeapYear=Owe;an.weekYear=aEe;an.isoWeekYear=sEe;an.quarter=an.quarters=hEe;an.month=Cee;an.daysInMonth=Lwe;an.week=an.weeks=qwe;an.isoWeek=an.isoWeeks=Gwe;an.weeksInYear=uEe;an.weeksInWeekYear=dEe;an.isoWeeksInYear=lEe;an.isoWeeksInISOWeekYear=cEe;an.date=Vee;an.day=an.days=sxe;an.weekday=lxe;an.isoWeekday=cxe;an.dayOfYear=pEe;an.hour=an.hours=gxe;an.minute=an.minutes=mEe;an.second=an.seconds=gEe;an.millisecond=an.milliseconds=Kee;an.utcOffset=Jxe;an.utc=e2e;an.local=t2e;an.parseZone=n2e;an.hasAlignedHourOffset=r2e;an.isDST=o2e;an.isLocal=a2e;an.isUtcOffset=s2e;an.isUtc=Nee;an.isUTC=Nee;an.zoneAbbr=yEe;an.zoneName=bEe;an.dates=ul("dates accessor is deprecated. Use date instead.",Vee);an.months=ul("months accessor is deprecated. Use month instead",Cee);an.years=ul("years accessor is deprecated. Use year instead",gee);an.zone=ul("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Zxe);an.isDSTShifted=ul("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",i2e);function SEe(e){return go(e*1e3)}function CEe(){return go.apply(null,arguments).parseZone()}function qee(e){return e}var Nr=j5.prototype;Nr.calendar=awe;Nr.longDateFormat=uwe;Nr.invalidDate=fwe;Nr.ordinal=mwe;Nr.preparse=qee;Nr.postformat=qee;Nr.relativeTime=vwe;Nr.pastFuture=ywe;Nr.set=owe;Nr.eras=q2e;Nr.erasParse=G2e;Nr.erasConvertYear=Y2e;Nr.erasAbbrRegex=tEe;Nr.erasNameRegex=eEe;Nr.erasNarrowRegex=nEe;Nr.months=Awe;Nr.monthsShort=Dwe;Nr.monthsParse=Fwe;Nr.monthsRegex=zwe;Nr.monthsShortRegex=Bwe;Nr.week=Uwe;Nr.firstDayOfYear=Kwe;Nr.firstDayOfWeek=Vwe;Nr.weekdays=nxe;Nr.weekdaysMin=oxe;Nr.weekdaysShort=rxe;Nr.weekdaysParse=axe;Nr.weekdaysRegex=uxe;Nr.weekdaysShortRegex=dxe;Nr.weekdaysMinRegex=fxe;Nr.isPM=pxe;Nr.meridiem=vxe;function v2(e,t,n,r){var o=sd(),i=Jc().set(r,t);return o[n](i,e)}function Gee(e,t,n){if(Yu(e)&&(t=e,e=void 0),e=e||"",t!=null)return v2(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=v2(e,r,n,"month");return o}function tA(e,t,n,r){typeof e=="boolean"?(Yu(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,Yu(t)&&(n=t,t=void 0),t=t||"");var o=sd(),i=e?o._week.dow:0,a,s=[];if(n!=null)return v2(t,(n+i)%7,r,"day");for(a=0;a<7;a++)s[a]=v2(t,(a+i)%7,r,"day");return s}function wEe(e,t){return Gee(e,t,"months")}function xEe(e,t){return Gee(e,t,"monthsShort")}function EEe(e,t,n){return tA(e,t,n,"weekdays")}function _Ee(e,t,n){return tA(e,t,n,"weekdaysShort")}function $Ee(e,t,n){return tA(e,t,n,"weekdaysMin")}hf("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=gr(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});yn.lang=ul("moment.lang is deprecated. Use moment.locale instead.",hf);yn.langData=ul("moment.langData is deprecated. Use moment.localeData instead.",sd);var fu=Math.abs;function PEe(){var e=this._data;return this._milliseconds=fu(this._milliseconds),this._days=fu(this._days),this._months=fu(this._months),e.milliseconds=fu(e.milliseconds),e.seconds=fu(e.seconds),e.minutes=fu(e.minutes),e.hours=fu(e.hours),e.months=fu(e.months),e.years=fu(e.years),this}function Yee(e,t,n,r){var o=dc(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function OEe(e,t){return Yee(this,e,t,1)}function MEe(e,t){return Yee(this,e,t,-1)}function g9(e){return e<0?Math.floor(e):Math.ceil(e)}function TEe(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,o,i,a,s,l;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=g9(g3(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,o=Xs(e/1e3),r.seconds=o%60,i=Xs(o/60),r.minutes=i%60,a=Xs(i/60),r.hours=a%24,t+=Xs(a/24),l=Xs(Xee(t)),n+=l,t-=g9(g3(l)),s=Xs(n/12),n%=12,r.days=t,r.months=n,r.years=s,this}function Xee(e){return e*4800/146097}function g3(e){return e*146097/4800}function REe(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=dl(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+Xee(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(g3(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function ld(e){return function(){return this.as(e)}}var Qee=ld("ms"),IEe=ld("s"),kEe=ld("m"),NEe=ld("h"),AEe=ld("d"),DEe=ld("w"),jEe=ld("M"),FEe=ld("Q"),LEe=ld("y"),BEe=Qee;function zEe(){return dc(this)}function HEe(e){return e=dl(e),this.isValid()?this[e+"s"]():NaN}function Np(e){return function(){return this.isValid()?this._data[e]:NaN}}var UEe=Np("milliseconds"),WEe=Np("seconds"),VEe=Np("minutes"),KEe=Np("hours"),qEe=Np("days"),GEe=Np("months"),YEe=Np("years");function XEe(){return Xs(this.days()/7)}var Eu=Math.round,Bm={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function QEe(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function JEe(e,t,n,r){var o=dc(e).abs(),i=Eu(o.as("s")),a=Eu(o.as("m")),s=Eu(o.as("h")),l=Eu(o.as("d")),c=Eu(o.as("M")),u=Eu(o.as("w")),f=Eu(o.as("y")),h=i<=n.ss&&["s",i]||i0,h[4]=r,QEe.apply(null,h)}function ZEe(e){return e===void 0?Eu:typeof e=="function"?(Eu=e,!0):!1}function e_e(e,t){return Bm[e]===void 0?!1:t===void 0?Bm[e]:(Bm[e]=t,e==="s"&&(Bm.ss=t-1),!0)}function t_e(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Bm,o,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},Bm,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),o=this.localeData(),i=JEe(this,!n,r,o),n&&(i=o.pastFuture(+this,i)),o.postformat(i)}var mT=Math.abs;function rm(e){return(e>0)-(e<0)||+e}function X_(){if(!this.isValid())return this.localeData().invalidDate();var e=mT(this._milliseconds)/1e3,t=mT(this._days),n=mT(this._months),r,o,i,a,s=this.asSeconds(),l,c,u,f;return s?(r=Xs(e/60),o=Xs(r/60),e%=60,r%=60,i=Xs(n/12),n%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=s<0?"-":"",c=rm(this._months)!==rm(s)?"-":"",u=rm(this._days)!==rm(s)?"-":"",f=rm(this._milliseconds)!==rm(s)?"-":"",l+"P"+(i?c+i+"Y":"")+(n?c+n+"M":"")+(t?u+t+"D":"")+(o||r||e?"T":"")+(o?f+o+"H":"")+(r?f+r+"M":"")+(e?f+a+"S":"")):"P0D"}var _r=G_.prototype;_r.isValid=Gxe;_r.abs=PEe;_r.add=OEe;_r.subtract=MEe;_r.as=REe;_r.asMilliseconds=Qee;_r.asSeconds=IEe;_r.asMinutes=kEe;_r.asHours=NEe;_r.asDays=AEe;_r.asWeeks=DEe;_r.asMonths=jEe;_r.asQuarters=FEe;_r.asYears=LEe;_r.valueOf=BEe;_r._bubble=TEe;_r.clone=zEe;_r.get=HEe;_r.milliseconds=UEe;_r.seconds=WEe;_r.minutes=VEe;_r.hours=KEe;_r.days=qEe;_r.weeks=XEe;_r.months=GEe;_r.years=YEe;_r.humanize=t_e;_r.toISOString=X_;_r.toString=X_;_r.toJSON=X_;_r.locale=Fee;_r.localeData=Bee;_r.toIsoString=ul("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",X_);_r.lang=Lee;Wn("X",0,0,"unix");Wn("x",0,0,"valueOf");On("x",W_);On("X",wwe);Qr("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});Qr("x",function(e,t,n){n._d=new Date(gr(e))});//! moment.js -yn.version="2.30.1";nwe(go);yn.fn=an;yn.min=Wxe;yn.max=Vxe;yn.now=Kxe;yn.utc=Jc;yn.unix=SEe;yn.months=wEe;yn.isDate=R1;yn.locale=hf;yn.invalid=B_;yn.duration=dc;yn.isMoment=Jl;yn.weekdays=EEe;yn.parseZone=CEe;yn.localeData=sd;yn.isDuration=Ww;yn.monthsShort=xEe;yn.weekdaysMin=$Ee;yn.defineLocale=q5;yn.updateLocale=Cxe;yn.locales=wxe;yn.weekdaysShort=_Ee;yn.normalizeUnits=dl;yn.relativeTimeRounding=ZEe;yn.relativeTimeThreshold=e_e;yn.calendarFormat=v2e;yn.prototype=an;yn.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};let MC;const n_e=new Uint8Array(16);function r_e(){if(!MC&&(MC=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!MC))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return MC(n_e)}const Ni=[];for(let e=0;e<256;++e)Ni.push((e+256).toString(16).slice(1));function o_e(e,t=0){return Ni[e[t+0]]+Ni[e[t+1]]+Ni[e[t+2]]+Ni[e[t+3]]+"-"+Ni[e[t+4]]+Ni[e[t+5]]+"-"+Ni[e[t+6]]+Ni[e[t+7]]+"-"+Ni[e[t+8]]+Ni[e[t+9]]+"-"+Ni[e[t+10]]+Ni[e[t+11]]+Ni[e[t+12]]+Ni[e[t+13]]+Ni[e[t+14]]+Ni[e[t+15]]}const i_e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),v9={randomUUID:i_e};function a_e(e,t,n){if(v9.randomUUID&&!t&&!e)return v9.randomUUID();e=e||{};const r=e.random||(e.rng||r_e)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,o_e(r)}const s_e="1.1.7";function l_e(){return s_e}function c_e(){const e=localStorage.getItem(Mw);(e===null||e==="true")&&new Audio(iye).play()}function u_e(){return yn().format("YYYY-MM-DD HH:mm:ss")}function Q_(){return a_e().replaceAll(/-/g,"")}function om(e){return e.endsWith("/")?e.slice(0,-1):e}function y9(e,t){return e.length>t?e.slice(0,t-3)+"...":e}function d_e(e){if(dye===e||fye===e||hye===e||pye===e||mye===e)return!0}function f_e(e){return e===Eb||e===_b}function h_e(e){return e===Eb||e===_b}function p_e(e){return e.startsWith(wye)}function Jee(){console.log("%cWelcome to Bytedesk","font-family:Arial; color:#3370ff ; font-size:18px; font-weight:bold;","GitHub:https://github.com/bytedesk/bytedesk")}const cd=Is()(sc(lc(cc(e=>({orgTree:[],currentOrg:{uid:"",name:"",logo:"",description:""},setCurrentOrg(t){e({currentOrg:t})},deleteOrg:()=>e({currentOrg:{uid:"",name:"",logo:"",description:""}})})),{name:L0e}))),Dl=Is()(sc(lc(cc((e,t)=>({threads:[],queuingThreads:[],currentThread:{uid:"",user:{uid:"",nickname:"",avatar:""},topic:"",content:"",type:"",unreadCount:0,extra:"",updatedAt:""},currentQueuingThread:{uid:"",user:{uid:"",nickname:"",avatar:""}},threadResult:{data:{content:[],last:!0}},showQueueButton:!1,showQueueList:!1,showRightPanel:!1,loading:!1,error:null,searchText:"",pagination:{pageNumber:0,pageSize:100,total:0},filters:{},addThread(n){var o,i;if(n.status===G7)return t().addQueuingThread(n),0;if(t().threads.some(a=>a.topic===n.topic))if(((o=t().currentThread)==null?void 0:o.topic)===""||((i=t().currentThread)==null?void 0:i.topic)!==n.topic){for(let a=0;aa.topic!==n.topic)]}),n.unreadCount}else{const a=t().threads.map(s=>s.topic===n.topic?(n.top=s.top,n.mute=s.mute,n.unread=s.unread,n.agent=s.agent,n):s);return e({threads:a}),0}else return n.unreadCount=1,e({threads:[n,...t().threads]}),n.unreadCount},addThreadWithMessage(n,r){var s,l;if(r.type===uye)return t().addQueuingThread(n),0;const o=t().threads.some(c=>c.topic===n.topic),i=!f_e(r.type);if(h_e(r.type)&&(n.status=Y7),o)if(((s=t().currentThread)==null?void 0:s.topic)===""||((l=t().currentThread)==null?void 0:l.topic)!==n.topic){for(let c=0;cc.topic!==n.topic)]}),n.unreadCount}else{const c=t().threads.map(u=>u.topic===n.topic?(n.top=u.top,n.mute=u.mute,n.unread=u.unread,n.agent=u.agent,n):u);return e({threads:c}),0}else return i&&(n.unreadCount=1),e({threads:[n,...t().threads]}),n.unreadCount},addQueuingThread(n){t().queuingThreads.some(o=>o.topic===n.topic)||e({queuingThreads:[n,...t().queuingThreads]})},updateThreadContent(n,r){let o=null;const i=t().threads.map(a=>a.topic===n?(o={...a,unreadCount:a.unreadCount+1,content:r},o):a);return e({threads:i}),o},updateThreadStatus(n,r){let o=null;const i=t().threads.map(a=>a.topic===n?(o={...a,status:r},o):a);return e({threads:i}),o},removeThread(n){e({threads:[...t().threads.filter(r=>(r==null?void 0:r.uid)!==(n==null?void 0:n.uid))]})},closeThread(n){const r=t().threads.map(o=>o.topic===n?{...o,state:Y7}:o);e({threads:r})},addThreads(n){for(let r=0;ra.topic===o.topic))e({threads:[...t().threads,o]});else{const a=t().threads.map(s=>s.topic===o.topic?{...o,unreadCount:s.unreadCount}:s);e({threads:a})}}},setThreads(n){e(r=>{r.threads=n})},setQueuingThreads(n){e(r=>{r.queuingThreads=n})},setCurrentThread(n){e(i=>{i.showQueueList=!1});const r={...n,unreadCount:0},o=t().threads.map(i=>i.topic===r.topic?r:i);e(i=>{i.currentThread=r,i.threads=o})},setCurrentQueuingThread(n){e(r=>{r.currentQueuingThread=n})},setThreadResult(n){e(r=>{r.threadResult=n})},getUnreadCount(){return t().threads.reduce((n,r)=>{var o;return r.unreadCount>0&&r.topic!==((o=t().currentThread)==null?void 0:o.topic)?n+r.unreadCount:n},0)},setShowQueueButton(n){e(r=>{r.showQueueButton=n})},setShowQueueList(n){e(r=>{r.showQueueList=n,r.showRightPanel=!1})},setShowRightPanel(n){e(r=>{r.showRightPanel=n})},resetThreads(){e(n=>{n.threads=[],n.queuingThreads=[],n.currentThread={uid:"",user:{uid:"",nickname:"",avatar:""},topic:"",content:"",type:"",unreadCount:0,extra:"",updatedAt:""},n.currentQueuingThread={uid:"",user:{uid:"",nickname:"",avatar:""}},n.threadResult={data:{content:[],last:!0}},n.showQueueButton=!1,n.showQueueList=!1,n.showRightPanel=!1})},setLoading:n=>e({loading:n}),setError:n=>e({error:n}),setSearchText:n=>e({searchText:n}),setFilter:(n,r)=>e(o=>{o.filters[n]=r}),clearFilters:()=>e({filters:{}}),refreshThreads:async()=>{const{currentOrg:n}=cd.getState();if(n!=null&&n.uid){const{threadService:r}=await twe(async()=>{const{threadService:o}=await import("./threadService-BG8FNaMt.js");return{threadService:o}},[]);await r.loadThreads(n.uid)}},setPagination:n=>e({pagination:n})})),{name:V0e}))),ud=Is()(sc(lc(cc((e,t)=>({messageList:[],addMessage(n){if(t().messageList.some(o=>o.uid===n.uid)){if(n.type===xb){const i=t().messageList.findIndex(a=>a.type===xb&&a.uid===n.uid);if(i!==-1){const a=[...t().messageList];a[i].content+=n.content,e({messageList:a});return}}const o=t().messageList.findIndex(i=>i.uid===n.uid);if(o!==-1){const i=[...t().messageList];i[o]=n,e({messageList:i})}}else{const o=t().messageList[t().messageList.length-1];if(o&&n.type===Pk&&o.type===Pk){const i=t().messageList.findIndex(s=>s.uid===o.uid),a=[...t().messageList];a[i]=n,e({messageList:a})}else e({messageList:[...t().messageList,n]})}t().sortMessageList()},addMessageList(n){const r=[];for(let i=0;il.uid===a.uid)||r.unshift(a)}const o=[...r,...t().messageList].sort((i,a)=>{const s=yn(i.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf(),l=yn(a.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf();return s-l});console.log("sortedMessageList",o),e({messageList:o})},updateMessageStatus(n,r){const o=t().messageList.findIndex(i=>i.uid===n);if(o!==-1){const i=[...t().messageList];i[o].status=r,e({messageList:i})}},updateMessage(n){const r=t().messageList.findIndex(o=>o.uid===n.uid);if(r!==-1){const o=[...t().messageList];o[r].content=n.content,e({messageList:o})}else console.log("找不到该消息")},deleteMessage(n){const r=t().messageList.findIndex(o=>o.uid===n);if(r!==-1){const o=[...t().messageList];o.splice(r,1),e({messageList:o})}},recallMessage(n){const r=t().messageList.findIndex(o=>o.uid===n);if(r!==-1){const o=[...t().messageList];o[r].type=TQ,o[r].content="该消息已被撤回",e({messageList:o})}},sortMessageList(){const n=t().messageList.sort((r,o)=>{const i=yn(r.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf(),a=yn(o.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf();return i-a});e({messageList:n})},resetMessageList(){e({messageList:[]})}})),{name:z0e}))),bi=Is()(sc(lc(cc((e,t)=>({userInfo:{uid:"",nickname:"",avatar:""},deviceUid:"",setUserInfo:n=>{e({userInfo:n})},setDeviceUid(n){e({deviceUid:n})},resetUserInfo(){e({userInfo:{uid:t().userInfo.uid,nickname:"",avatar:""}})}})),{name:U0e}))),Ap=Is()(sc(lc(cc((e,t)=>({agentResult:{data:{content:[]}},agentInfo:{uid:"",orgUid:""},insertAgent(n){e(r=>{r.agentResult.data.content.unshift(n)})},updateAgent(n){e(r=>{const o=r.agentResult.data.content,i=o.findIndex(a=>a.uid===n.uid);i!==-1?o[i]=n:console.warn(`Agent with uid ${n.uid} not found.`)})},deleteAgent(n){e(r=>{const o=r.agentResult.data.content,i=o.findIndex(a=>a.uid===n.uid);i!==-1?o.splice(i,1):console.warn(`Agent with uid ${n.uid} not found.`)})},setAgentResult:n=>{e({agentResult:n})},setAgentInfo(n){e({agentInfo:n})},deleteAgentInfo(n){const r=t().agentResult.data.content,o=r.findIndex(i=>i.uid===n);o!==-1?e({agentResult:{...t().agentResult,data:{content:[...r.slice(0,o),...r.slice(o+1)]}}}):console.warn("Agent not found in cache:",n),t().agentInfo.uid===n&&e({agentInfo:{uid:"",orgUid:""}})},resetAgentInfo(){e({agentResult:{data:{content:[]}},agentInfo:{uid:"",orgUid:""}})}})),{name:q0e})));var Zee={exports:{}};/*! +yn.version="2.30.1";nwe(go);yn.fn=an;yn.min=Wxe;yn.max=Vxe;yn.now=Kxe;yn.utc=Jc;yn.unix=SEe;yn.months=wEe;yn.isDate=R1;yn.locale=hf;yn.invalid=B_;yn.duration=dc;yn.isMoment=Jl;yn.weekdays=EEe;yn.parseZone=CEe;yn.localeData=sd;yn.isDuration=Ww;yn.monthsShort=xEe;yn.weekdaysMin=$Ee;yn.defineLocale=q5;yn.updateLocale=Cxe;yn.locales=wxe;yn.weekdaysShort=_Ee;yn.normalizeUnits=dl;yn.relativeTimeRounding=ZEe;yn.relativeTimeThreshold=e_e;yn.calendarFormat=v2e;yn.prototype=an;yn.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};let MC;const n_e=new Uint8Array(16);function r_e(){if(!MC&&(MC=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!MC))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return MC(n_e)}const Ni=[];for(let e=0;e<256;++e)Ni.push((e+256).toString(16).slice(1));function o_e(e,t=0){return Ni[e[t+0]]+Ni[e[t+1]]+Ni[e[t+2]]+Ni[e[t+3]]+"-"+Ni[e[t+4]]+Ni[e[t+5]]+"-"+Ni[e[t+6]]+Ni[e[t+7]]+"-"+Ni[e[t+8]]+Ni[e[t+9]]+"-"+Ni[e[t+10]]+Ni[e[t+11]]+Ni[e[t+12]]+Ni[e[t+13]]+Ni[e[t+14]]+Ni[e[t+15]]}const i_e=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),v9={randomUUID:i_e};function a_e(e,t,n){if(v9.randomUUID&&!t&&!e)return v9.randomUUID();e=e||{};const r=e.random||(e.rng||r_e)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,o_e(r)}const s_e="1.1.8";function l_e(){return s_e}function c_e(){const e=localStorage.getItem(Mw);(e===null||e==="true")&&new Audio(iye).play()}function u_e(){return yn().format("YYYY-MM-DD HH:mm:ss")}function Q_(){return a_e().replaceAll(/-/g,"")}function om(e){return e.endsWith("/")?e.slice(0,-1):e}function y9(e,t){return e.length>t?e.slice(0,t-3)+"...":e}function d_e(e){if(dye===e||fye===e||hye===e||pye===e||mye===e)return!0}function f_e(e){return e===Eb||e===_b}function h_e(e){return e===Eb||e===_b}function p_e(e){return e.startsWith(wye)}function Jee(){console.log("%cWelcome to Bytedesk","font-family:Arial; color:#3370ff ; font-size:18px; font-weight:bold;","GitHub:https://github.com/bytedesk/bytedesk")}const cd=Is()(sc(lc(cc(e=>({orgTree:[],currentOrg:{uid:"",name:"",logo:"",description:""},setCurrentOrg(t){e({currentOrg:t})},deleteOrg:()=>e({currentOrg:{uid:"",name:"",logo:"",description:""}})})),{name:L0e}))),Dl=Is()(sc(lc(cc((e,t)=>({threads:[],queuingThreads:[],currentThread:{uid:"",user:{uid:"",nickname:"",avatar:""},topic:"",content:"",type:"",unreadCount:0,extra:"",updatedAt:""},currentQueuingThread:{uid:"",user:{uid:"",nickname:"",avatar:""}},threadResult:{data:{content:[],last:!0}},showQueueButton:!1,showQueueList:!1,showRightPanel:!1,loading:!1,error:null,searchText:"",pagination:{pageNumber:0,pageSize:100,total:0},filters:{},addThread(n){var o,i;if(n.status===G7)return t().addQueuingThread(n),0;if(t().threads.some(a=>a.topic===n.topic))if(((o=t().currentThread)==null?void 0:o.topic)===""||((i=t().currentThread)==null?void 0:i.topic)!==n.topic){for(let a=0;aa.topic!==n.topic)]}),n.unreadCount}else{const a=t().threads.map(s=>s.topic===n.topic?(n.top=s.top,n.mute=s.mute,n.unread=s.unread,n.agent=s.agent,n):s);return e({threads:a}),0}else return n.unreadCount=1,e({threads:[n,...t().threads]}),n.unreadCount},addThreadWithMessage(n,r){var s,l;if(r.type===uye)return t().addQueuingThread(n),0;const o=t().threads.some(c=>c.topic===n.topic),i=!f_e(r.type);if(h_e(r.type)&&(n.status=Y7),o)if(((s=t().currentThread)==null?void 0:s.topic)===""||((l=t().currentThread)==null?void 0:l.topic)!==n.topic){for(let c=0;cc.topic!==n.topic)]}),n.unreadCount}else{const c=t().threads.map(u=>u.topic===n.topic?(n.top=u.top,n.mute=u.mute,n.unread=u.unread,n.agent=u.agent,n):u);return e({threads:c}),0}else return i&&(n.unreadCount=1),e({threads:[n,...t().threads]}),n.unreadCount},addQueuingThread(n){t().queuingThreads.some(o=>o.topic===n.topic)||e({queuingThreads:[n,...t().queuingThreads]})},updateThreadContent(n,r){let o=null;const i=t().threads.map(a=>a.topic===n?(o={...a,unreadCount:a.unreadCount+1,content:r},o):a);return e({threads:i}),o},updateThreadStatus(n,r){let o=null;const i=t().threads.map(a=>a.topic===n?(o={...a,status:r},o):a);return e({threads:i}),o},removeThread(n){e({threads:[...t().threads.filter(r=>(r==null?void 0:r.uid)!==(n==null?void 0:n.uid))]})},closeThread(n){const r=t().threads.map(o=>o.topic===n?{...o,state:Y7}:o);e({threads:r})},addThreads(n){for(let r=0;ra.topic===o.topic))e({threads:[...t().threads,o]});else{const a=t().threads.map(s=>s.topic===o.topic?{...o,unreadCount:s.unreadCount}:s);e({threads:a})}}},setThreads(n){e(r=>{r.threads=n})},setQueuingThreads(n){e(r=>{r.queuingThreads=n})},setCurrentThread(n){e(i=>{i.showQueueList=!1});const r={...n,unreadCount:0},o=t().threads.map(i=>i.topic===r.topic?r:i);e(i=>{i.currentThread=r,i.threads=o})},setCurrentQueuingThread(n){e(r=>{r.currentQueuingThread=n})},setThreadResult(n){e(r=>{r.threadResult=n})},getUnreadCount(){return t().threads.reduce((n,r)=>{var o;return r.unreadCount>0&&r.topic!==((o=t().currentThread)==null?void 0:o.topic)?n+r.unreadCount:n},0)},setShowQueueButton(n){e(r=>{r.showQueueButton=n})},setShowQueueList(n){e(r=>{r.showQueueList=n,r.showRightPanel=!1})},setShowRightPanel(n){e(r=>{r.showRightPanel=n})},resetThreads(){e(n=>{n.threads=[],n.queuingThreads=[],n.currentThread={uid:"",user:{uid:"",nickname:"",avatar:""},topic:"",content:"",type:"",unreadCount:0,extra:"",updatedAt:""},n.currentQueuingThread={uid:"",user:{uid:"",nickname:"",avatar:""}},n.threadResult={data:{content:[],last:!0}},n.showQueueButton=!1,n.showQueueList=!1,n.showRightPanel=!1})},setLoading:n=>e({loading:n}),setError:n=>e({error:n}),setSearchText:n=>e({searchText:n}),setFilter:(n,r)=>e(o=>{o.filters[n]=r}),clearFilters:()=>e({filters:{}}),refreshThreads:async()=>{const{currentOrg:n}=cd.getState();if(n!=null&&n.uid){const{threadService:r}=await twe(async()=>{const{threadService:o}=await import("./threadService-BDPbciCA.js");return{threadService:o}},[]);await r.loadThreads(n.uid)}},setPagination:n=>e({pagination:n})})),{name:V0e}))),ud=Is()(sc(lc(cc((e,t)=>({messageList:[],addMessage(n){if(t().messageList.some(o=>o.uid===n.uid)){if(n.type===xb){const i=t().messageList.findIndex(a=>a.type===xb&&a.uid===n.uid);if(i!==-1){const a=[...t().messageList];a[i].content+=n.content,e({messageList:a});return}}const o=t().messageList.findIndex(i=>i.uid===n.uid);if(o!==-1){const i=[...t().messageList];i[o]=n,e({messageList:i})}}else{const o=t().messageList[t().messageList.length-1];if(o&&n.type===Pk&&o.type===Pk){const i=t().messageList.findIndex(s=>s.uid===o.uid),a=[...t().messageList];a[i]=n,e({messageList:a})}else e({messageList:[...t().messageList,n]})}t().sortMessageList()},addMessageList(n){const r=[];for(let i=0;il.uid===a.uid)||r.unshift(a)}const o=[...r,...t().messageList].sort((i,a)=>{const s=yn(i.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf(),l=yn(a.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf();return s-l});console.log("sortedMessageList",o),e({messageList:o})},updateMessageStatus(n,r){const o=t().messageList.findIndex(i=>i.uid===n);if(o!==-1){const i=[...t().messageList];i[o].status=r,e({messageList:i})}},updateMessage(n){const r=t().messageList.findIndex(o=>o.uid===n.uid);if(r!==-1){const o=[...t().messageList];o[r].content=n.content,e({messageList:o})}else console.log("找不到该消息")},deleteMessage(n){const r=t().messageList.findIndex(o=>o.uid===n);if(r!==-1){const o=[...t().messageList];o.splice(r,1),e({messageList:o})}},recallMessage(n){const r=t().messageList.findIndex(o=>o.uid===n);if(r!==-1){const o=[...t().messageList];o[r].type=TQ,o[r].content="该消息已被撤回",e({messageList:o})}},sortMessageList(){const n=t().messageList.sort((r,o)=>{const i=yn(r.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf(),a=yn(o.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf();return i-a});e({messageList:n})},resetMessageList(){e({messageList:[]})}})),{name:z0e}))),bi=Is()(sc(lc(cc((e,t)=>({userInfo:{uid:"",nickname:"",avatar:""},deviceUid:"",setUserInfo:n=>{e({userInfo:n})},setDeviceUid(n){e({deviceUid:n})},resetUserInfo(){e({userInfo:{uid:t().userInfo.uid,nickname:"",avatar:""}})}})),{name:U0e}))),Ap=Is()(sc(lc(cc((e,t)=>({agentResult:{data:{content:[]}},agentInfo:{uid:"",orgUid:""},insertAgent(n){e(r=>{r.agentResult.data.content.unshift(n)})},updateAgent(n){e(r=>{const o=r.agentResult.data.content,i=o.findIndex(a=>a.uid===n.uid);i!==-1?o[i]=n:console.warn(`Agent with uid ${n.uid} not found.`)})},deleteAgent(n){e(r=>{const o=r.agentResult.data.content,i=o.findIndex(a=>a.uid===n.uid);i!==-1?o.splice(i,1):console.warn(`Agent with uid ${n.uid} not found.`)})},setAgentResult:n=>{e({agentResult:n})},setAgentInfo(n){e({agentInfo:n})},deleteAgentInfo(n){const r=t().agentResult.data.content,o=r.findIndex(i=>i.uid===n);o!==-1?e({agentResult:{...t().agentResult,data:{content:[...r.slice(0,o),...r.slice(o+1)]}}}):console.warn("Agent not found in cache:",n),t().agentInfo.uid===n&&e({agentInfo:{uid:"",orgUid:""}})},resetAgentInfo(){e({agentResult:{data:{content:[]}},agentInfo:{uid:"",orgUid:""}})}})),{name:q0e})));var Zee={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames diff --git a/deploy/server/agenticflow/assets/threadService-rW2HPiZ8.js b/deploy/server/kanban/assets/threadService-BDPbciCA.js similarity index 94% rename from deploy/server/agenticflow/assets/threadService-rW2HPiZ8.js rename to deploy/server/kanban/assets/threadService-BDPbciCA.js index 53e74685c1..1cd0a469d5 100644 --- a/deploy/server/agenticflow/assets/threadService-rW2HPiZ8.js +++ b/deploy/server/kanban/assets/threadService-BDPbciCA.js @@ -1 +1 @@ -import{r as T,u as n,a as h}from"./index-DiykRm3b.js";async function y(t){return T("/api/v1/thread/query",{method:"GET",params:{...t}})}const b={async loadThreads(t,s=3){const{setLoading:o,setError:d,setThreads:i,searchText:c,pagination:a,setPagination:l}=n.getState(),p=h.getState().currentOrg,g=async u=>{try{o(!0),d(null);const r={orgUid:p.uid,pageNumber:a.pageNumber,pageSize:a.pageSize};c&&(r.searchText=c);const e=await y(r);if(console.log("queryThreads response",r,e.data),e.data.code===200){if(l({...a,total:e.data.data.totalElements,pageNumber:e.data.data.last?a.pageNumber:a.pageNumber+1}),a.pageNumber===0)i(e.data.data.content);else{const{threads:S}=n.getState();i([...S,...e.data.data.content])}const{setThreadResult:m}=n.getState();m(e.data)}else throw new Error(e.data.message)}catch(r){if(usetTimeout(e,1e3)),g(u+1);d(r instanceof Error?r.message:"Failed to load threads")}finally{o(!1)}};return g(1)},async resetAndLoad(){const{setPagination:t}=n.getState(),s=h.getState().currentOrg;return t({pageNumber:0,pageSize:100,total:0}),this.loadThreads(s.uid)},async loadThreadsWithFilters(t){const{setFilter:s}=n.getState();return Object.entries(t).forEach(([o,d])=>{s(o,d)}),this.resetAndLoad()}};export{b as threadService}; +import{r as T,u as n,a as h}from"./index-DQ8UfXR1.js";async function y(t){return T("/api/v1/thread/query",{method:"GET",params:{...t}})}const b={async loadThreads(t,s=3){const{setLoading:o,setError:d,setThreads:i,searchText:c,pagination:a,setPagination:l}=n.getState(),p=h.getState().currentOrg,g=async u=>{try{o(!0),d(null);const r={orgUid:p.uid,pageNumber:a.pageNumber,pageSize:a.pageSize};c&&(r.searchText=c);const e=await y(r);if(console.log("queryThreads response",r,e.data),e.data.code===200){if(l({...a,total:e.data.data.totalElements,pageNumber:e.data.data.last?a.pageNumber:a.pageNumber+1}),a.pageNumber===0)i(e.data.data.content);else{const{threads:S}=n.getState();i([...S,...e.data.data.content])}const{setThreadResult:m}=n.getState();m(e.data)}else throw new Error(e.data.message)}catch(r){if(usetTimeout(e,1e3)),g(u+1);d(r instanceof Error?r.message:"Failed to load threads")}finally{o(!1)}};return g(1)},async resetAndLoad(){const{setPagination:t}=n.getState(),s=h.getState().currentOrg;return t({pageNumber:0,pageSize:100,total:0}),this.loadThreads(s.uid)},async loadThreadsWithFilters(t){const{setFilter:s}=n.getState();return Object.entries(t).forEach(([o,d])=>{s(o,d)}),this.resetAndLoad()}};export{b as threadService}; diff --git a/deploy/server/kanban/index.html b/deploy/server/kanban/index.html index 87c722cec2..cc3489e7b2 100644 --- a/deploy/server/kanban/index.html +++ b/deploy/server/kanban/index.html @@ -21,7 +21,7 @@ - + diff --git a/deploy/server/notebase/assets/arc-CNrau5-m.js b/deploy/server/notebase/assets/arc-CEKBcz1C.js similarity index 98% rename from deploy/server/notebase/assets/arc-CNrau5-m.js rename to deploy/server/notebase/assets/arc-CEKBcz1C.js index 38a9c663a0..a96f144a0c 100644 --- a/deploy/server/notebase/assets/arc-CNrau5-m.js +++ b/deploy/server/notebase/assets/arc-CEKBcz1C.js @@ -1 +1 @@ -import{w as ln,c as z}from"./path-CbwjOpE9.js";import{a9 as an,aa as G,ab as O,ac as rn,ad as g,O as on,ae as K,af as _,ag as un,ah as t,ai as sn,aj as tn,ak as fn}from"./mermaid.core-C-ExL7Zv.js";function cn(l){return l.innerRadius}function gn(l){return l.outerRadius}function yn(l){return l.startAngle}function mn(l){return l.endAngle}function pn(l){return l&&l.padAngle}function dn(l,h,D,j,v,A,B,a){var E=D-l,i=j-h,n=B-v,m=a-A,r=m*E-n*i;if(!(r*ru*u+F*F&&(S=w,k=d),{cx:S,cy:k,x01:-n,y01:-m,x11:S*(v/T-1),y11:k*(v/T-1)}}function vn(){var l=cn,h=gn,D=z(0),j=null,v=yn,A=mn,B=pn,a=null,E=ln(i);function i(){var n,m,r=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-rn,c=A.apply(this,arguments)-rn,C=un(c-f),o=c>f;if(a||(a=n=E()),sg))a.moveTo(0,0);else if(C>on-g)a.moveTo(s*G(f),s*O(f)),a.arc(0,0,s,f,c,!o),r>g&&(a.moveTo(r*G(c),r*O(c)),a.arc(0,0,r,c,f,o));else{var p=f,y=c,R=f,T=c,P=C,I=C,S=B.apply(this,arguments)/2,k=S>g&&(j?+j.apply(this,arguments):K(r*r+s*s)),w=_(un(s-r)/2,+D.apply(this,arguments)),d=w,x=w,e,u;if(k>g){var F=sn(k/r*O(S)),L=sn(k/s*O(S));(P-=F*2)>g?(F*=o?1:-1,R+=F,T-=F):(P=0,R=T=(f+c)/2),(I-=L*2)>g?(L*=o?1:-1,p+=L,y-=L):(I=0,p=y=(f+c)/2)}var H=s*G(p),J=s*O(p),M=r*G(T),N=r*O(T);if(w>g){var Q=s*G(y),U=s*O(y),W=r*G(R),X=r*O(R),q;if(Cg?x>g?(e=V(W,X,H,J,s,x,o),u=V(Q,U,M,N,s,x,o),a.moveTo(e.cx+e.x01,e.cy+e.y01),xg)||!(P>g)?a.lineTo(M,N):d>g?(e=V(M,N,Q,U,r,-d,o),u=V(H,J,W,X,r,-d,o),a.lineTo(e.cx+e.x01,e.cy+e.y01),du*u+F*F&&(S=w,k=d),{cx:S,cy:k,x01:-n,y01:-m,x11:S*(v/T-1),y11:k*(v/T-1)}}function vn(){var l=cn,h=gn,D=z(0),j=null,v=yn,A=mn,B=pn,a=null,E=ln(i);function i(){var n,m,r=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-rn,c=A.apply(this,arguments)-rn,C=un(c-f),o=c>f;if(a||(a=n=E()),sg))a.moveTo(0,0);else if(C>on-g)a.moveTo(s*G(f),s*O(f)),a.arc(0,0,s,f,c,!o),r>g&&(a.moveTo(r*G(c),r*O(c)),a.arc(0,0,r,c,f,o));else{var p=f,y=c,R=f,T=c,P=C,I=C,S=B.apply(this,arguments)/2,k=S>g&&(j?+j.apply(this,arguments):K(r*r+s*s)),w=_(un(s-r)/2,+D.apply(this,arguments)),d=w,x=w,e,u;if(k>g){var F=sn(k/r*O(S)),L=sn(k/s*O(S));(P-=F*2)>g?(F*=o?1:-1,R+=F,T-=F):(P=0,R=T=(f+c)/2),(I-=L*2)>g?(L*=o?1:-1,p+=L,y-=L):(I=0,p=y=(f+c)/2)}var H=s*G(p),J=s*O(p),M=r*G(T),N=r*O(T);if(w>g){var Q=s*G(y),U=s*O(y),W=r*G(R),X=r*O(R),q;if(Cg?x>g?(e=V(W,X,H,J,s,x,o),u=V(Q,U,M,N,s,x,o),a.moveTo(e.cx+e.x01,e.cy+e.y01),xg)||!(P>g)?a.lineTo(M,N):d>g?(e=V(M,N,Q,U,r,-d,o),u=V(H,J,W,X,r,-d,o),a.lineTo(e.cx+e.x01,e.cy+e.y01),d"u"&&(w.yylloc={});var J=w.yylloc;t.push(J);var me=w.options&&w.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(){var P;return P=u.pop()||w.lex()||C,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=s.symbols_[P]||P),P}for(var I,M,z,Q,W={},X,B,ae,G;;){if(M=i[i.length-1],this.defaultActions[M]?z=this.defaultActions[M]:((I===null||typeof I>"u")&&(I=_e()),z=m[M]&&m[M][I]),typeof z>"u"||!z.length||!z[0]){var $="";G=[];for(X in m[M])this.terminals_[X]&&X>F&&G.push("'"+this.terminals_[X]+"'");w.showPosition?$="Parse error on line "+(R+1)+`: +import{c as he,V as se,h as H,i as ye,l as S,C as Ee,z as we,j as De,o as ve}from"./mermaid.core-BAvrjf3l.js";import{c as Ne}from"./clone-nOFmi_ju.js";import{i as ke,c as Ie,b as Oe,d as Te,a as ge,p as ze}from"./edges-e0da2a9e-CZlmjOgF.js";import{G as Ce}from"./graph-heRzvxcs.js";import"./index-D31-yJHm.js";import{o as Ae}from"./ordinal-Cboi1Yqb.js";import{c as Re}from"./channel-BteF1w-T.js";import{s as Be}from"./Tableau10-B-NsZVaP.js";import"./createText-2e5e7dd3-Cn1HPiN2.js";import"./line-F7vHXKX5.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";import"./init-Gi6I4Gst.js";var le,oe,ee=function(){var e=function(D,o,s,i){for(s=s||{},i=D.length;i--;s[D[i]]=o);return s},a=[1,7],d=[1,13],c=[1,14],n=[1,15],g=[1,19],l=[1,16],f=[1,17],b=[1,18],p=[8,30],x=[8,21,28,29,30,31,32,40,44,47],y=[1,23],T=[1,24],v=[8,15,16,21,28,29,30,31,32,40,44,47],N=[8,15,16,21,27,28,29,30,31,32,40,44,47],E=[1,49],L={trace:function(){},yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:function(o,s,i,u,h,t,m){var r=t.length-1;switch(h){case 4:u.getLogger().debug("Rule: separator (NL) ");break;case 5:u.getLogger().debug("Rule: separator (Space) ");break;case 6:u.getLogger().debug("Rule: separator (EOF) ");break;case 7:u.getLogger().debug("Rule: hierarchy: ",t[r-1]),u.setHierarchy(t[r-1]);break;case 8:u.getLogger().debug("Stop NL ");break;case 9:u.getLogger().debug("Stop EOF ");break;case 10:u.getLogger().debug("Stop NL2 ");break;case 11:u.getLogger().debug("Stop EOF2 ");break;case 12:u.getLogger().debug("Rule: statement: ",t[r]),typeof t[r].length=="number"?this.$=t[r]:this.$=[t[r]];break;case 13:u.getLogger().debug("Rule: statement #2: ",t[r-1]),this.$=[t[r-1]].concat(t[r]);break;case 14:u.getLogger().debug("Rule: link: ",t[r],o),this.$={edgeTypeStr:t[r],label:""};break;case 15:u.getLogger().debug("Rule: LABEL link: ",t[r-3],t[r-1],t[r]),this.$={edgeTypeStr:t[r],label:t[r-1]};break;case 18:const R=parseInt(t[r]),Y=u.generateId();this.$={id:Y,type:"space",label:"",width:R,children:[]};break;case 23:u.getLogger().debug("Rule: (nodeStatement link node) ",t[r-2],t[r-1],t[r]," typestr: ",t[r-1].edgeTypeStr);const F=u.edgeStrToEdgeData(t[r-1].edgeTypeStr);this.$=[{id:t[r-2].id,label:t[r-2].label,type:t[r-2].type,directions:t[r-2].directions},{id:t[r-2].id+"-"+t[r].id,start:t[r-2].id,end:t[r].id,label:t[r-1].label,type:"edge",directions:t[r].directions,arrowTypeEnd:F,arrowTypeStart:"arrow_open"},{id:t[r].id,label:t[r].label,type:u.typeStr2Type(t[r].typeStr),directions:t[r].directions}];break;case 24:u.getLogger().debug("Rule: nodeStatement (abc88 node size) ",t[r-1],t[r]),this.$={id:t[r-1].id,label:t[r-1].label,type:u.typeStr2Type(t[r-1].typeStr),directions:t[r-1].directions,widthInColumns:parseInt(t[r],10)};break;case 25:u.getLogger().debug("Rule: nodeStatement (node) ",t[r]),this.$={id:t[r].id,label:t[r].label,type:u.typeStr2Type(t[r].typeStr),directions:t[r].directions,widthInColumns:1};break;case 26:u.getLogger().debug("APA123",this?this:"na"),u.getLogger().debug("COLUMNS: ",t[r]),this.$={type:"column-setting",columns:t[r]==="auto"?-1:parseInt(t[r])};break;case 27:u.getLogger().debug("Rule: id-block statement : ",t[r-2],t[r-1]),u.generateId(),this.$={...t[r-2],type:"composite",children:t[r-1]};break;case 28:u.getLogger().debug("Rule: blockStatement : ",t[r-2],t[r-1],t[r]);const C=u.generateId();this.$={id:C,type:"composite",label:"",children:t[r-1]};break;case 29:u.getLogger().debug("Rule: node (NODE_ID separator): ",t[r]),this.$={id:t[r]};break;case 30:u.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",t[r-1],t[r]),this.$={id:t[r-1],label:t[r].label,typeStr:t[r].typeStr,directions:t[r].directions};break;case 31:u.getLogger().debug("Rule: dirList: ",t[r]),this.$=[t[r]];break;case 32:u.getLogger().debug("Rule: dirList: ",t[r-1],t[r]),this.$=[t[r-1]].concat(t[r]);break;case 33:u.getLogger().debug("Rule: nodeShapeNLabel: ",t[r-2],t[r-1],t[r]),this.$={typeStr:t[r-2]+t[r],label:t[r-1]};break;case 34:u.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",t[r-3],t[r-2]," #3:",t[r-1],t[r]),this.$={typeStr:t[r-3]+t[r],label:t[r-2],directions:t[r-1]};break;case 35:case 36:this.$={type:"classDef",id:t[r-1].trim(),css:t[r].trim()};break;case 37:this.$={type:"applyClass",id:t[r-1].trim(),styleClass:t[r].trim()};break;case 38:this.$={type:"applyStyles",id:t[r-1].trim(),stylesStr:t[r].trim()};break}},table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:d,29:c,31:n,32:g,40:l,44:f,47:b},{8:[1,20]},e(p,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:a,28:d,29:c,31:n,32:g,40:l,44:f,47:b}),e(x,[2,16],{14:22,15:y,16:T}),e(x,[2,17]),e(x,[2,18]),e(x,[2,19]),e(x,[2,20]),e(x,[2,21]),e(x,[2,22]),e(v,[2,25],{27:[1,25]}),e(x,[2,26]),{19:26,26:12,32:g},{11:27,13:4,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:d,29:c,31:n,32:g,40:l,44:f,47:b},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(N,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(p,[2,13]),{26:35,32:g},{32:[2,14]},{17:[1,36]},e(v,[2,24]),{11:37,13:4,14:22,15:y,16:T,19:5,20:6,21:a,22:8,23:9,24:10,25:11,26:12,28:d,29:c,31:n,32:g,40:l,44:f,47:b},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(N,[2,30]),{18:[1,43]},{18:[1,44]},e(v,[2,23]),{18:[1,45]},{30:[1,46]},e(x,[2,28]),e(x,[2,35]),e(x,[2,36]),e(x,[2,37]),e(x,[2,38]),{37:[1,47]},{34:48,35:E},{15:[1,50]},e(x,[2,27]),e(N,[2,33]),{39:[1,51]},{34:52,35:E,39:[2,31]},{32:[2,15]},e(N,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:function(o,s){if(s.recoverable)this.trace(o);else{var i=new Error(o);throw i.hash=s,i}},parse:function(o){var s=this,i=[0],u=[],h=[null],t=[],m=this.table,r="",R=0,Y=0,F=2,C=1,Le=t.slice.call(arguments,1),w=Object.create(this.lexer),K={yy:{}};for(var Z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Z)&&(K.yy[Z]=this.yy[Z]);w.setInput(o,K.yy),K.yy.lexer=w,K.yy.parser=this,typeof w.yylloc>"u"&&(w.yylloc={});var J=w.yylloc;t.push(J);var me=w.options&&w.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function _e(){var P;return P=u.pop()||w.lex()||C,typeof P!="number"&&(P instanceof Array&&(u=P,P=u.pop()),P=s.symbols_[P]||P),P}for(var I,M,z,Q,W={},X,B,ae,G;;){if(M=i[i.length-1],this.defaultActions[M]?z=this.defaultActions[M]:((I===null||typeof I>"u")&&(I=_e()),z=m[M]&&m[M][I]),typeof z>"u"||!z.length||!z[0]){var $="";G=[];for(X in m[M])this.terminals_[X]&&X>F&&G.push("'"+this.terminals_[X]+"'");w.showPosition?$="Parse error on line "+(R+1)+`: `+w.showPosition()+` Expecting `+G.join(", ")+", got '"+(this.terminals_[I]||I)+"'":$="Parse error on line "+(R+1)+": Unexpected "+(I==C?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError($,{text:w.match,token:this.terminals_[I]||I,line:w.yylineno,loc:J,expected:G})}if(z[0]instanceof Array&&z.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+I);switch(z[0]){case 1:i.push(I),h.push(w.yytext),t.push(w.yylloc),i.push(z[1]),I=null,Y=w.yyleng,r=w.yytext,R=w.yylineno,J=w.yylloc;break;case 2:if(B=this.productions_[z[1]][1],W.$=h[h.length-B],W._$={first_line:t[t.length-(B||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(B||1)].first_column,last_column:t[t.length-1].last_column},me&&(W._$.range=[t[t.length-(B||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(W,[r,Y,R,K.yy,z[1],h,t].concat(Le)),typeof Q<"u")return Q;B&&(i=i.slice(0,-1*B*2),h=h.slice(0,-1*B),t=t.slice(0,-1*B)),i.push(this.productions_[z[1]][0]),h.push(W.$),t.push(W._$),ae=m[i[i.length-2]][i[i.length-1]],i.push(ae);break;case 3:return!0}}return!0}},A=function(){var D={EOF:1,parseError:function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},setInput:function(o,s){return this.yy=s||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var s=o.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},unput:function(o){var s=o.length,i=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var h=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===u.length?this.yylloc.first_column:0)+u[u.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[h[0],h[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),s=new Array(o.length+1).join("-");return o+this.upcomingInput()+` diff --git a/deploy/server/notebase/assets/c4Diagram-3d4e48cf-MV_UNAFD.js b/deploy/server/notebase/assets/c4Diagram-3d4e48cf-Cp7_t9ml.js similarity index 99% rename from deploy/server/notebase/assets/c4Diagram-3d4e48cf-MV_UNAFD.js rename to deploy/server/notebase/assets/c4Diagram-3d4e48cf-Cp7_t9ml.js index 87534eb859..5cc1ddeed0 100644 --- a/deploy/server/notebase/assets/c4Diagram-3d4e48cf-MV_UNAFD.js +++ b/deploy/server/notebase/assets/c4Diagram-3d4e48cf-Cp7_t9ml.js @@ -1,4 +1,4 @@ -import{s as we,g as Oe,a as Te,b as Re,c as Dt,d as ue,e as De,f as wt,h as Nt,l as le,i as Se,w as Pe,j as Kt,k as oe,m as Me}from"./mermaid.core-C-ExL7Zv.js";import{d as Le,g as Ne}from"./svgDrawCommon-08f97a94-YKaWqPJz.js";import"./index-OntvGoV0.js";var Yt=function(){var e=function(bt,_,x,m){for(x=x||{},m=bt.length;m--;x[bt[m]]=_);return x},t=[1,24],a=[1,25],o=[1,26],l=[1,27],i=[1,28],s=[1,63],r=[1,64],n=[1,65],h=[1,66],f=[1,67],d=[1,68],p=[1,69],E=[1,29],O=[1,30],R=[1,31],S=[1,32],L=[1,33],Y=[1,34],Q=[1,35],H=[1,36],q=[1,37],G=[1,38],K=[1,39],J=[1,40],Z=[1,41],$=[1,42],tt=[1,43],et=[1,44],it=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],lt=[1,51],ot=[1,52],ct=[1,53],ht=[1,54],ut=[1,55],dt=[1,56],ft=[1,57],pt=[1,58],yt=[1,59],gt=[1,60],At=[14,42],Vt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ot=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],v=[1,82],k=[1,83],A=[1,84],C=[1,85],w=[12,14,42],ne=[12,14,33,42],Pt=[12,14,33,42,76,77,79,80],mt=[12,33],zt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Xt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:function(_,x,m,g,T,u,Tt){var y=u.length-1;switch(T){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(u[y-3]);break;case 19:g.setTitle(u[y].substring(6)),this.$=u[y].substring(6);break;case 20:g.setAccDescription(u[y].substring(15)),this.$=u[y].substring(15);break;case 21:this.$=u[y].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=u[y].trim(),g.setAccDescription(this.$);break;case 28:case 29:u[y].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 30:g.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 31:u[y].splice(2,0,"CONTAINER"),g.addContainerBoundary(...u[y]),this.$=u[y];break;case 32:g.addDeploymentNode("node",...u[y]),this.$=u[y];break;case 33:g.addDeploymentNode("nodeL",...u[y]),this.$=u[y];break;case 34:g.addDeploymentNode("nodeR",...u[y]),this.$=u[y];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...u[y]),this.$=u[y];break;case 40:g.addPersonOrSystem("external_person",...u[y]),this.$=u[y];break;case 41:g.addPersonOrSystem("system",...u[y]),this.$=u[y];break;case 42:g.addPersonOrSystem("system_db",...u[y]),this.$=u[y];break;case 43:g.addPersonOrSystem("system_queue",...u[y]),this.$=u[y];break;case 44:g.addPersonOrSystem("external_system",...u[y]),this.$=u[y];break;case 45:g.addPersonOrSystem("external_system_db",...u[y]),this.$=u[y];break;case 46:g.addPersonOrSystem("external_system_queue",...u[y]),this.$=u[y];break;case 47:g.addContainer("container",...u[y]),this.$=u[y];break;case 48:g.addContainer("container_db",...u[y]),this.$=u[y];break;case 49:g.addContainer("container_queue",...u[y]),this.$=u[y];break;case 50:g.addContainer("external_container",...u[y]),this.$=u[y];break;case 51:g.addContainer("external_container_db",...u[y]),this.$=u[y];break;case 52:g.addContainer("external_container_queue",...u[y]),this.$=u[y];break;case 53:g.addComponent("component",...u[y]),this.$=u[y];break;case 54:g.addComponent("component_db",...u[y]),this.$=u[y];break;case 55:g.addComponent("component_queue",...u[y]),this.$=u[y];break;case 56:g.addComponent("external_component",...u[y]),this.$=u[y];break;case 57:g.addComponent("external_component_db",...u[y]),this.$=u[y];break;case 58:g.addComponent("external_component_queue",...u[y]),this.$=u[y];break;case 60:g.addRel("rel",...u[y]),this.$=u[y];break;case 61:g.addRel("birel",...u[y]),this.$=u[y];break;case 62:g.addRel("rel_u",...u[y]),this.$=u[y];break;case 63:g.addRel("rel_d",...u[y]),this.$=u[y];break;case 64:g.addRel("rel_l",...u[y]),this.$=u[y];break;case 65:g.addRel("rel_r",...u[y]),this.$=u[y];break;case 66:g.addRel("rel_b",...u[y]),this.$=u[y];break;case 67:u[y].splice(0,1),g.addRel("rel",...u[y]),this.$=u[y];break;case 68:g.updateElStyle("update_el_style",...u[y]),this.$=u[y];break;case 69:g.updateRelStyle("update_rel_style",...u[y]),this.$=u[y];break;case 70:g.updateLayoutConfig("update_layout_config",...u[y]),this.$=u[y];break;case 71:this.$=[u[y]];break;case 72:u[y].unshift(u[y-1]),this.$=u[y];break;case 73:case 75:this.$=u[y].trim();break;case 74:let Et={};Et[u[y-1].trim()]=u[y].trim(),this.$=Et;break;case 76:this.$="";break}},table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{13:70,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{13:71,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{13:72,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{13:73,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{14:[1,74]},e(At,[2,13],{43:23,29:49,30:61,32:62,20:75,34:s,36:r,37:n,38:h,39:f,40:d,41:p,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt}),e(At,[2,14]),e(Vt,[2,16],{12:[1,76]}),e(At,[2,36],{12:[1,77]}),e(Ot,[2,19]),e(Ot,[2,20]),{25:[1,78]},{27:[1,79]},e(Ot,[2,23]),{35:80,75:81,76:v,77:k,79:A,80:C},{35:86,75:81,76:v,77:k,79:A,80:C},{35:87,75:81,76:v,77:k,79:A,80:C},{35:88,75:81,76:v,77:k,79:A,80:C},{35:89,75:81,76:v,77:k,79:A,80:C},{35:90,75:81,76:v,77:k,79:A,80:C},{35:91,75:81,76:v,77:k,79:A,80:C},{35:92,75:81,76:v,77:k,79:A,80:C},{35:93,75:81,76:v,77:k,79:A,80:C},{35:94,75:81,76:v,77:k,79:A,80:C},{35:95,75:81,76:v,77:k,79:A,80:C},{35:96,75:81,76:v,77:k,79:A,80:C},{35:97,75:81,76:v,77:k,79:A,80:C},{35:98,75:81,76:v,77:k,79:A,80:C},{35:99,75:81,76:v,77:k,79:A,80:C},{35:100,75:81,76:v,77:k,79:A,80:C},{35:101,75:81,76:v,77:k,79:A,80:C},{35:102,75:81,76:v,77:k,79:A,80:C},{35:103,75:81,76:v,77:k,79:A,80:C},{35:104,75:81,76:v,77:k,79:A,80:C},e(w,[2,59]),{35:105,75:81,76:v,77:k,79:A,80:C},{35:106,75:81,76:v,77:k,79:A,80:C},{35:107,75:81,76:v,77:k,79:A,80:C},{35:108,75:81,76:v,77:k,79:A,80:C},{35:109,75:81,76:v,77:k,79:A,80:C},{35:110,75:81,76:v,77:k,79:A,80:C},{35:111,75:81,76:v,77:k,79:A,80:C},{35:112,75:81,76:v,77:k,79:A,80:C},{35:113,75:81,76:v,77:k,79:A,80:C},{35:114,75:81,76:v,77:k,79:A,80:C},{35:115,75:81,76:v,77:k,79:A,80:C},{20:116,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{12:[1,118],33:[1,117]},{35:119,75:81,76:v,77:k,79:A,80:C},{35:120,75:81,76:v,77:k,79:A,80:C},{35:121,75:81,76:v,77:k,79:A,80:C},{35:122,75:81,76:v,77:k,79:A,80:C},{35:123,75:81,76:v,77:k,79:A,80:C},{35:124,75:81,76:v,77:k,79:A,80:C},{35:125,75:81,76:v,77:k,79:A,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(At,[2,15]),e(Vt,[2,17],{21:22,19:130,22:t,23:a,24:o,26:l,28:i}),e(At,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:a,24:o,26:l,28:i,34:s,36:r,37:n,38:h,39:f,40:d,41:p,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt}),e(Ot,[2,21]),e(Ot,[2,22]),e(w,[2,39]),e(ne,[2,71],{75:81,35:132,76:v,77:k,79:A,80:C}),e(Pt,[2,73]),{78:[1,133]},e(Pt,[2,75]),e(Pt,[2,76]),e(w,[2,40]),e(w,[2,41]),e(w,[2,42]),e(w,[2,43]),e(w,[2,44]),e(w,[2,45]),e(w,[2,46]),e(w,[2,47]),e(w,[2,48]),e(w,[2,49]),e(w,[2,50]),e(w,[2,51]),e(w,[2,52]),e(w,[2,53]),e(w,[2,54]),e(w,[2,55]),e(w,[2,56]),e(w,[2,57]),e(w,[2,58]),e(w,[2,60]),e(w,[2,61]),e(w,[2,62]),e(w,[2,63]),e(w,[2,64]),e(w,[2,65]),e(w,[2,66]),e(w,[2,67]),e(w,[2,68]),e(w,[2,69]),e(w,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(mt,[2,28]),e(mt,[2,29]),e(mt,[2,30]),e(mt,[2,31]),e(mt,[2,32]),e(mt,[2,33]),e(mt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Vt,[2,18]),e(At,[2,38]),e(ne,[2,72]),e(Pt,[2,74]),e(w,[2,24]),e(w,[2,35]),e(zt,[2,25]),e(zt,[2,26],{12:[1,138]}),e(zt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:function(_,x){if(x.recoverable)this.trace(_);else{var m=new Error(_);throw m.hash=x,m}},parse:function(_){var x=this,m=[0],g=[],T=[null],u=[],Tt=this.table,y="",Et=0,se=0,ve=2,ae=1,ke=u.slice.call(arguments,1),D=Object.create(this.lexer),vt={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(vt.yy[Qt]=this.yy[Qt]);D.setInput(_,vt.yy),vt.yy.lexer=D,vt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Ht=D.yylloc;u.push(Ht);var Ae=D.options&&D.options.ranges;typeof vt.yy.parseError=="function"?this.parseError=vt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ce(){var X;return X=g.pop()||D.lex()||ae,typeof X!="number"&&(X instanceof Array&&(g=X,X=g.pop()),X=x.symbols_[X]||X),X}for(var M,kt,N,qt,Ct={},Mt,z,re,Lt;;){if(kt=m[m.length-1],this.defaultActions[kt]?N=this.defaultActions[kt]:((M===null||typeof M>"u")&&(M=Ce()),N=Tt[kt]&&Tt[kt][M]),typeof N>"u"||!N.length||!N[0]){var Gt="";Lt=[];for(Mt in Tt[kt])this.terminals_[Mt]&&Mt>ve&&Lt.push("'"+this.terminals_[Mt]+"'");D.showPosition?Gt="Parse error on line "+(Et+1)+`: +import{s as we,g as Oe,a as Te,b as Re,c as Dt,d as ue,e as De,f as wt,h as Nt,l as le,i as Se,w as Pe,j as Kt,k as oe,m as Me}from"./mermaid.core-BAvrjf3l.js";import{d as Le,g as Ne}from"./svgDrawCommon-08f97a94-DgTDkXBR.js";import"./index-D31-yJHm.js";var Yt=function(){var e=function(bt,_,x,m){for(x=x||{},m=bt.length;m--;x[bt[m]]=_);return x},t=[1,24],a=[1,25],o=[1,26],l=[1,27],i=[1,28],s=[1,63],r=[1,64],n=[1,65],h=[1,66],f=[1,67],d=[1,68],p=[1,69],E=[1,29],O=[1,30],R=[1,31],S=[1,32],L=[1,33],Y=[1,34],Q=[1,35],H=[1,36],q=[1,37],G=[1,38],K=[1,39],J=[1,40],Z=[1,41],$=[1,42],tt=[1,43],et=[1,44],it=[1,45],nt=[1,46],st=[1,47],at=[1,48],rt=[1,50],lt=[1,51],ot=[1,52],ct=[1,53],ht=[1,54],ut=[1,55],dt=[1,56],ft=[1,57],pt=[1,58],yt=[1,59],gt=[1,60],At=[14,42],Vt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ot=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],v=[1,82],k=[1,83],A=[1,84],C=[1,85],w=[12,14,42],ne=[12,14,33,42],Pt=[12,14,33,42,76,77,79,80],mt=[12,33],zt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Xt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:function(_,x,m,g,T,u,Tt){var y=u.length-1;switch(T){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(u[y-3]);break;case 19:g.setTitle(u[y].substring(6)),this.$=u[y].substring(6);break;case 20:g.setAccDescription(u[y].substring(15)),this.$=u[y].substring(15);break;case 21:this.$=u[y].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=u[y].trim(),g.setAccDescription(this.$);break;case 28:case 29:u[y].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 30:g.addPersonOrSystemBoundary(...u[y]),this.$=u[y];break;case 31:u[y].splice(2,0,"CONTAINER"),g.addContainerBoundary(...u[y]),this.$=u[y];break;case 32:g.addDeploymentNode("node",...u[y]),this.$=u[y];break;case 33:g.addDeploymentNode("nodeL",...u[y]),this.$=u[y];break;case 34:g.addDeploymentNode("nodeR",...u[y]),this.$=u[y];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...u[y]),this.$=u[y];break;case 40:g.addPersonOrSystem("external_person",...u[y]),this.$=u[y];break;case 41:g.addPersonOrSystem("system",...u[y]),this.$=u[y];break;case 42:g.addPersonOrSystem("system_db",...u[y]),this.$=u[y];break;case 43:g.addPersonOrSystem("system_queue",...u[y]),this.$=u[y];break;case 44:g.addPersonOrSystem("external_system",...u[y]),this.$=u[y];break;case 45:g.addPersonOrSystem("external_system_db",...u[y]),this.$=u[y];break;case 46:g.addPersonOrSystem("external_system_queue",...u[y]),this.$=u[y];break;case 47:g.addContainer("container",...u[y]),this.$=u[y];break;case 48:g.addContainer("container_db",...u[y]),this.$=u[y];break;case 49:g.addContainer("container_queue",...u[y]),this.$=u[y];break;case 50:g.addContainer("external_container",...u[y]),this.$=u[y];break;case 51:g.addContainer("external_container_db",...u[y]),this.$=u[y];break;case 52:g.addContainer("external_container_queue",...u[y]),this.$=u[y];break;case 53:g.addComponent("component",...u[y]),this.$=u[y];break;case 54:g.addComponent("component_db",...u[y]),this.$=u[y];break;case 55:g.addComponent("component_queue",...u[y]),this.$=u[y];break;case 56:g.addComponent("external_component",...u[y]),this.$=u[y];break;case 57:g.addComponent("external_component_db",...u[y]),this.$=u[y];break;case 58:g.addComponent("external_component_queue",...u[y]),this.$=u[y];break;case 60:g.addRel("rel",...u[y]),this.$=u[y];break;case 61:g.addRel("birel",...u[y]),this.$=u[y];break;case 62:g.addRel("rel_u",...u[y]),this.$=u[y];break;case 63:g.addRel("rel_d",...u[y]),this.$=u[y];break;case 64:g.addRel("rel_l",...u[y]),this.$=u[y];break;case 65:g.addRel("rel_r",...u[y]),this.$=u[y];break;case 66:g.addRel("rel_b",...u[y]),this.$=u[y];break;case 67:u[y].splice(0,1),g.addRel("rel",...u[y]),this.$=u[y];break;case 68:g.updateElStyle("update_el_style",...u[y]),this.$=u[y];break;case 69:g.updateRelStyle("update_rel_style",...u[y]),this.$=u[y];break;case 70:g.updateLayoutConfig("update_layout_config",...u[y]),this.$=u[y];break;case 71:this.$=[u[y]];break;case 72:u[y].unshift(u[y-1]),this.$=u[y];break;case 73:case 75:this.$=u[y].trim();break;case 74:let Et={};Et[u[y-1].trim()]=u[y].trim(),this.$=Et;break;case 76:this.$="";break}},table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{13:70,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{13:71,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{13:72,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{13:73,19:20,20:21,21:22,22:t,23:a,24:o,26:l,28:i,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{14:[1,74]},e(At,[2,13],{43:23,29:49,30:61,32:62,20:75,34:s,36:r,37:n,38:h,39:f,40:d,41:p,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt}),e(At,[2,14]),e(Vt,[2,16],{12:[1,76]}),e(At,[2,36],{12:[1,77]}),e(Ot,[2,19]),e(Ot,[2,20]),{25:[1,78]},{27:[1,79]},e(Ot,[2,23]),{35:80,75:81,76:v,77:k,79:A,80:C},{35:86,75:81,76:v,77:k,79:A,80:C},{35:87,75:81,76:v,77:k,79:A,80:C},{35:88,75:81,76:v,77:k,79:A,80:C},{35:89,75:81,76:v,77:k,79:A,80:C},{35:90,75:81,76:v,77:k,79:A,80:C},{35:91,75:81,76:v,77:k,79:A,80:C},{35:92,75:81,76:v,77:k,79:A,80:C},{35:93,75:81,76:v,77:k,79:A,80:C},{35:94,75:81,76:v,77:k,79:A,80:C},{35:95,75:81,76:v,77:k,79:A,80:C},{35:96,75:81,76:v,77:k,79:A,80:C},{35:97,75:81,76:v,77:k,79:A,80:C},{35:98,75:81,76:v,77:k,79:A,80:C},{35:99,75:81,76:v,77:k,79:A,80:C},{35:100,75:81,76:v,77:k,79:A,80:C},{35:101,75:81,76:v,77:k,79:A,80:C},{35:102,75:81,76:v,77:k,79:A,80:C},{35:103,75:81,76:v,77:k,79:A,80:C},{35:104,75:81,76:v,77:k,79:A,80:C},e(w,[2,59]),{35:105,75:81,76:v,77:k,79:A,80:C},{35:106,75:81,76:v,77:k,79:A,80:C},{35:107,75:81,76:v,77:k,79:A,80:C},{35:108,75:81,76:v,77:k,79:A,80:C},{35:109,75:81,76:v,77:k,79:A,80:C},{35:110,75:81,76:v,77:k,79:A,80:C},{35:111,75:81,76:v,77:k,79:A,80:C},{35:112,75:81,76:v,77:k,79:A,80:C},{35:113,75:81,76:v,77:k,79:A,80:C},{35:114,75:81,76:v,77:k,79:A,80:C},{35:115,75:81,76:v,77:k,79:A,80:C},{20:116,29:49,30:61,32:62,34:s,36:r,37:n,38:h,39:f,40:d,41:p,43:23,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt},{12:[1,118],33:[1,117]},{35:119,75:81,76:v,77:k,79:A,80:C},{35:120,75:81,76:v,77:k,79:A,80:C},{35:121,75:81,76:v,77:k,79:A,80:C},{35:122,75:81,76:v,77:k,79:A,80:C},{35:123,75:81,76:v,77:k,79:A,80:C},{35:124,75:81,76:v,77:k,79:A,80:C},{35:125,75:81,76:v,77:k,79:A,80:C},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(At,[2,15]),e(Vt,[2,17],{21:22,19:130,22:t,23:a,24:o,26:l,28:i}),e(At,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:a,24:o,26:l,28:i,34:s,36:r,37:n,38:h,39:f,40:d,41:p,44:E,45:O,46:R,47:S,48:L,49:Y,50:Q,51:H,52:q,53:G,54:K,55:J,56:Z,57:$,58:tt,59:et,60:it,61:nt,62:st,63:at,64:rt,65:lt,66:ot,67:ct,68:ht,69:ut,70:dt,71:ft,72:pt,73:yt,74:gt}),e(Ot,[2,21]),e(Ot,[2,22]),e(w,[2,39]),e(ne,[2,71],{75:81,35:132,76:v,77:k,79:A,80:C}),e(Pt,[2,73]),{78:[1,133]},e(Pt,[2,75]),e(Pt,[2,76]),e(w,[2,40]),e(w,[2,41]),e(w,[2,42]),e(w,[2,43]),e(w,[2,44]),e(w,[2,45]),e(w,[2,46]),e(w,[2,47]),e(w,[2,48]),e(w,[2,49]),e(w,[2,50]),e(w,[2,51]),e(w,[2,52]),e(w,[2,53]),e(w,[2,54]),e(w,[2,55]),e(w,[2,56]),e(w,[2,57]),e(w,[2,58]),e(w,[2,60]),e(w,[2,61]),e(w,[2,62]),e(w,[2,63]),e(w,[2,64]),e(w,[2,65]),e(w,[2,66]),e(w,[2,67]),e(w,[2,68]),e(w,[2,69]),e(w,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(mt,[2,28]),e(mt,[2,29]),e(mt,[2,30]),e(mt,[2,31]),e(mt,[2,32]),e(mt,[2,33]),e(mt,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Vt,[2,18]),e(At,[2,38]),e(ne,[2,72]),e(Pt,[2,74]),e(w,[2,24]),e(w,[2,35]),e(zt,[2,25]),e(zt,[2,26],{12:[1,138]}),e(zt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:function(_,x){if(x.recoverable)this.trace(_);else{var m=new Error(_);throw m.hash=x,m}},parse:function(_){var x=this,m=[0],g=[],T=[null],u=[],Tt=this.table,y="",Et=0,se=0,ve=2,ae=1,ke=u.slice.call(arguments,1),D=Object.create(this.lexer),vt={yy:{}};for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Qt)&&(vt.yy[Qt]=this.yy[Qt]);D.setInput(_,vt.yy),vt.yy.lexer=D,vt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Ht=D.yylloc;u.push(Ht);var Ae=D.options&&D.options.ranges;typeof vt.yy.parseError=="function"?this.parseError=vt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ce(){var X;return X=g.pop()||D.lex()||ae,typeof X!="number"&&(X instanceof Array&&(g=X,X=g.pop()),X=x.symbols_[X]||X),X}for(var M,kt,N,qt,Ct={},Mt,z,re,Lt;;){if(kt=m[m.length-1],this.defaultActions[kt]?N=this.defaultActions[kt]:((M===null||typeof M>"u")&&(M=Ce()),N=Tt[kt]&&Tt[kt][M]),typeof N>"u"||!N.length||!N[0]){var Gt="";Lt=[];for(Mt in Tt[kt])this.terminals_[Mt]&&Mt>ve&&Lt.push("'"+this.terminals_[Mt]+"'");D.showPosition?Gt="Parse error on line "+(Et+1)+`: `+D.showPosition()+` Expecting `+Lt.join(", ")+", got '"+(this.terminals_[M]||M)+"'":Gt="Parse error on line "+(Et+1)+": Unexpected "+(M==ae?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(Gt,{text:D.match,token:this.terminals_[M]||M,line:D.yylineno,loc:Ht,expected:Lt})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+kt+", token: "+M);switch(N[0]){case 1:m.push(M),T.push(D.yytext),u.push(D.yylloc),m.push(N[1]),M=null,se=D.yyleng,y=D.yytext,Et=D.yylineno,Ht=D.yylloc;break;case 2:if(z=this.productions_[N[1]][1],Ct.$=T[T.length-z],Ct._$={first_line:u[u.length-(z||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(z||1)].first_column,last_column:u[u.length-1].last_column},Ae&&(Ct._$.range=[u[u.length-(z||1)].range[0],u[u.length-1].range[1]]),qt=this.performAction.apply(Ct,[y,se,Et,vt.yy,N[1],T,u].concat(ke)),typeof qt<"u")return qt;z&&(m=m.slice(0,-1*z*2),T=T.slice(0,-1*z),u=u.slice(0,-1*z)),m.push(this.productions_[N[1]][0]),T.push(Ct.$),u.push(Ct._$),re=Tt[m[m.length-2]][m[m.length-1]],m.push(re);break;case 3:return!0}}return!0}},Ee=function(){var bt={EOF:1,parseError:function(x,m){if(this.yy.parser)this.yy.parser.parseError(x,m);else throw new Error(x)},setInput:function(_,x){return this.yy=x||this.yy||{},this._input=_,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var _=this._input[0];this.yytext+=_,this.yyleng++,this.offset++,this.match+=_,this.matched+=_;var x=_.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),_},unput:function(_){var x=_.length,m=_.split(/(?:\r\n?|\n)/g);this._input=_+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),m.length-1&&(this.yylineno-=m.length-1);var T=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:m?(m.length===g.length?this.yylloc.first_column:0)+g[g.length-m.length].length-m[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[T[0],T[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(_){this.unput(this.match.slice(_))},pastInput:function(){var _=this.matched.substr(0,this.matched.length-this.match.length);return(_.length>20?"...":"")+_.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var _=this.match;return _.length<20&&(_+=this._input.substr(0,20-_.length)),(_.substr(0,20)+(_.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var _=this.pastInput(),x=new Array(_.length+1).join("-");return _+this.upcomingInput()+` diff --git a/deploy/server/notebase/assets/channel-BteF1w-T.js b/deploy/server/notebase/assets/channel-BteF1w-T.js new file mode 100644 index 0000000000..97a2b24bdf --- /dev/null +++ b/deploy/server/notebase/assets/channel-BteF1w-T.js @@ -0,0 +1 @@ +import{al as o,am as n}from"./mermaid.core-BAvrjf3l.js";const l=(a,r)=>o.lang.round(n.parse(a)[r]);export{l as c}; diff --git a/deploy/server/notebase/assets/channel-UELr_Bsf.js b/deploy/server/notebase/assets/channel-UELr_Bsf.js deleted file mode 100644 index 6c0e11912a..0000000000 --- a/deploy/server/notebase/assets/channel-UELr_Bsf.js +++ /dev/null @@ -1 +0,0 @@ -import{al as o,am as n}from"./mermaid.core-C-ExL7Zv.js";const l=(a,r)=>o.lang.round(n.parse(a)[r]);export{l as c}; diff --git a/deploy/server/notebase/assets/classDiagram-70f12bd4-R4G6o41k.js b/deploy/server/notebase/assets/classDiagram-70f12bd4-BdmI0nDR.js similarity index 97% rename from deploy/server/notebase/assets/classDiagram-70f12bd4-R4G6o41k.js rename to deploy/server/notebase/assets/classDiagram-70f12bd4-BdmI0nDR.js index 389ae4a71e..d29d9ca206 100644 --- a/deploy/server/notebase/assets/classDiagram-70f12bd4-R4G6o41k.js +++ b/deploy/server/notebase/assets/classDiagram-70f12bd4-BdmI0nDR.js @@ -1,2 +1,2 @@ -import{p as A,d as S,s as G}from"./styles-9a916d00-gDWYG3Zg.js";import{c as v,l as y,h as B,i as W,D as $,y as M,E as I}from"./mermaid.core-C-ExL7Zv.js";import{G as O}from"./graph-1GVnZ2QQ.js";import{l as P}from"./layout-BoOjEFWe.js";import"./index-OntvGoV0.js";import{l as X}from"./line-CZuLgQF7.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";let H=0;const Y=function(i,a,t,o,p){const g=function(e){switch(e){case p.db.relationType.AGGREGATION:return"aggregation";case p.db.relationType.EXTENSION:return"extension";case p.db.relationType.COMPOSITION:return"composition";case p.db.relationType.DEPENDENCY:return"dependency";case p.db.relationType.LOLLIPOP:return"lollipop"}};a.points=a.points.filter(e=>!Number.isNaN(e.y));const s=a.points,c=X().x(function(e){return e.x}).y(function(e){return e.y}).curve($),n=i.append("path").attr("d",c(s)).attr("id","edge"+H).attr("class","relation");let r="";o.arrowMarkerAbsolute&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),t.relation.lineType==1&&n.attr("class","relation dashed-line"),t.relation.lineType==10&&n.attr("class","relation dotted-line"),t.relation.type1!=="none"&&n.attr("marker-start","url("+r+"#"+g(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&n.attr("marker-end","url("+r+"#"+g(t.relation.type2)+"End)");let f,h;const x=a.points.length;let b=M.calcLabelPosition(a.points);f=b.x,h=b.y;let u,m,w,k;if(x%2!==0&&x>1){let e=M.calcCardinalityPosition(t.relation.type1!=="none",a.points,a.points[0]),d=M.calcCardinalityPosition(t.relation.type2!=="none",a.points,a.points[x-1]);y.debug("cardinality_1_point "+JSON.stringify(e)),y.debug("cardinality_2_point "+JSON.stringify(d)),u=e.x,m=e.y,w=d.x,k=d.y}if(t.title!==void 0){const e=i.append("g").attr("class","classLabel"),d=e.append("text").attr("class","label").attr("x",f).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=d;const l=d.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",l.x-o.padding/2).attr("y",l.y-o.padding/2).attr("width",l.width+o.padding).attr("height",l.height+o.padding)}y.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",u).attr("y",m).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",w).attr("y",k).attr("fill","black").attr("font-size","6").text(t.relationTitle2),H++},J=function(i,a,t,o){y.debug("Rendering class ",a,t);const p=a.id,g={id:p,label:a.id,width:0,height:0},s=i.append("g").attr("id",o.db.lookUpDomId(p)).attr("class","classGroup");let c;a.link?c=s.append("svg:a").attr("xlink:href",a.link).attr("target",a.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let n=!0;a.annotations.forEach(function(d){const l=c.append("tspan").text("«"+d+"»");n||l.attr("dy",t.textHeight),n=!1});let r=C(a);const f=c.append("tspan").text(r).attr("class","title");n||f.attr("dy",t.textHeight);const h=c.node().getBBox().height;let x,b,u;if(a.members.length>0){x=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin/2).attr("y2",t.padding+h+t.dividerMargin/2);const d=s.append("text").attr("x",t.padding).attr("y",h+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.members.forEach(function(l){_(d,l,n,t),n=!1}),b=d.node().getBBox()}if(a.methods.length>0){u=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin+b.height).attr("y2",t.padding+h+t.dividerMargin+b.height);const d=s.append("text").attr("x",t.padding).attr("y",h+2*t.dividerMargin+b.height+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.methods.forEach(function(l){_(d,l,n,t),n=!1})}const m=s.node().getBBox();var w=" ";a.cssClasses.length>0&&(w=w+a.cssClasses.join(" "));const e=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*t.padding).attr("height",m.height+t.padding+.5*t.dividerMargin).attr("class",w).node().getBBox().width;return c.node().childNodes.forEach(function(d){d.setAttribute("x",(e-d.getBBox().width)/2)}),a.tooltip&&c.insert("title").text(a.tooltip),x&&x.attr("x2",e),u&&u.attr("x2",e),g.width=e,g.height=m.height+t.padding+.5*t.dividerMargin,g},C=function(i){let a=i.id;return i.type&&(a+="<"+I(i.type)+">"),a},Z=function(i,a,t,o){y.debug("Rendering note ",a,t);const p=a.id,g={id:p,text:a.text,width:0,height:0},s=i.append("g").attr("id",p).attr("class","classGroup");let c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const n=JSON.parse(`"${a.text}"`).split(` +import{p as A,d as S,s as G}from"./styles-9a916d00-BdJRCaQs.js";import{c as v,l as y,h as B,i as W,D as $,y as M,E as I}from"./mermaid.core-BAvrjf3l.js";import{G as O}from"./graph-heRzvxcs.js";import{l as P}from"./layout-BLe2lUnK.js";import"./index-D31-yJHm.js";import{l as X}from"./line-F7vHXKX5.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";let H=0;const Y=function(i,a,t,o,p){const g=function(e){switch(e){case p.db.relationType.AGGREGATION:return"aggregation";case p.db.relationType.EXTENSION:return"extension";case p.db.relationType.COMPOSITION:return"composition";case p.db.relationType.DEPENDENCY:return"dependency";case p.db.relationType.LOLLIPOP:return"lollipop"}};a.points=a.points.filter(e=>!Number.isNaN(e.y));const s=a.points,c=X().x(function(e){return e.x}).y(function(e){return e.y}).curve($),n=i.append("path").attr("d",c(s)).attr("id","edge"+H).attr("class","relation");let r="";o.arrowMarkerAbsolute&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),t.relation.lineType==1&&n.attr("class","relation dashed-line"),t.relation.lineType==10&&n.attr("class","relation dotted-line"),t.relation.type1!=="none"&&n.attr("marker-start","url("+r+"#"+g(t.relation.type1)+"Start)"),t.relation.type2!=="none"&&n.attr("marker-end","url("+r+"#"+g(t.relation.type2)+"End)");let f,h;const x=a.points.length;let b=M.calcLabelPosition(a.points);f=b.x,h=b.y;let u,m,w,k;if(x%2!==0&&x>1){let e=M.calcCardinalityPosition(t.relation.type1!=="none",a.points,a.points[0]),d=M.calcCardinalityPosition(t.relation.type2!=="none",a.points,a.points[x-1]);y.debug("cardinality_1_point "+JSON.stringify(e)),y.debug("cardinality_2_point "+JSON.stringify(d)),u=e.x,m=e.y,w=d.x,k=d.y}if(t.title!==void 0){const e=i.append("g").attr("class","classLabel"),d=e.append("text").attr("class","label").attr("x",f).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(t.title);window.label=d;const l=d.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",l.x-o.padding/2).attr("y",l.y-o.padding/2).attr("width",l.width+o.padding).attr("height",l.height+o.padding)}y.info("Rendering relation "+JSON.stringify(t)),t.relationTitle1!==void 0&&t.relationTitle1!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",u).attr("y",m).attr("fill","black").attr("font-size","6").text(t.relationTitle1),t.relationTitle2!==void 0&&t.relationTitle2!=="none"&&i.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",w).attr("y",k).attr("fill","black").attr("font-size","6").text(t.relationTitle2),H++},J=function(i,a,t,o){y.debug("Rendering class ",a,t);const p=a.id,g={id:p,label:a.id,width:0,height:0},s=i.append("g").attr("id",o.db.lookUpDomId(p)).attr("class","classGroup");let c;a.link?c=s.append("svg:a").attr("xlink:href",a.link).attr("target",a.linkTarget).append("text").attr("y",t.textHeight+t.padding).attr("x",0):c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);let n=!0;a.annotations.forEach(function(d){const l=c.append("tspan").text("«"+d+"»");n||l.attr("dy",t.textHeight),n=!1});let r=C(a);const f=c.append("tspan").text(r).attr("class","title");n||f.attr("dy",t.textHeight);const h=c.node().getBBox().height;let x,b,u;if(a.members.length>0){x=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin/2).attr("y2",t.padding+h+t.dividerMargin/2);const d=s.append("text").attr("x",t.padding).attr("y",h+t.dividerMargin+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.members.forEach(function(l){_(d,l,n,t),n=!1}),b=d.node().getBBox()}if(a.methods.length>0){u=s.append("line").attr("x1",0).attr("y1",t.padding+h+t.dividerMargin+b.height).attr("y2",t.padding+h+t.dividerMargin+b.height);const d=s.append("text").attr("x",t.padding).attr("y",h+2*t.dividerMargin+b.height+t.textHeight).attr("fill","white").attr("class","classText");n=!0,a.methods.forEach(function(l){_(d,l,n,t),n=!1})}const m=s.node().getBBox();var w=" ";a.cssClasses.length>0&&(w=w+a.cssClasses.join(" "));const e=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",m.width+2*t.padding).attr("height",m.height+t.padding+.5*t.dividerMargin).attr("class",w).node().getBBox().width;return c.node().childNodes.forEach(function(d){d.setAttribute("x",(e-d.getBBox().width)/2)}),a.tooltip&&c.insert("title").text(a.tooltip),x&&x.attr("x2",e),u&&u.attr("x2",e),g.width=e,g.height=m.height+t.padding+.5*t.dividerMargin,g},C=function(i){let a=i.id;return i.type&&(a+="<"+I(i.type)+">"),a},Z=function(i,a,t,o){y.debug("Rendering note ",a,t);const p=a.id,g={id:p,text:a.text,width:0,height:0},s=i.append("g").attr("id",p).attr("class","classGroup");let c=s.append("text").attr("y",t.textHeight+t.padding).attr("x",0);const n=JSON.parse(`"${a.text}"`).split(` `);n.forEach(function(x){y.debug(`Adding line: ${x}`),c.append("tspan").text(x).attr("class","title").attr("dy",t.textHeight)});const r=s.node().getBBox(),h=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",r.width+2*t.padding).attr("height",r.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin).node().getBBox().width;return c.node().childNodes.forEach(function(x){x.setAttribute("x",(h-x.getBBox().width)/2)}),g.width=h,g.height=r.height+n.length*t.textHeight+t.padding+.5*t.dividerMargin,g},_=function(i,a,t,o){const{displayText:p,cssStyle:g}=a.getDisplayDetails(),s=i.append("tspan").attr("x",o.padding).text(p);g!==""&&s.attr("style",a.cssStyle),t||s.attr("dy",o.textHeight)},N={getClassTitleString:C,drawClass:J,drawEdge:Y,drawNote:Z};let T={};const L=20,E=function(i){const a=Object.entries(T).find(t=>t[1].label===i);if(a)return a[0]},R=function(i){i.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),i.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),i.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),i.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},F=function(i,a,t,o){const p=v().class;T={},y.info("Rendering diagram "+i);const g=v().securityLevel;let s;g==="sandbox"&&(s=B("#i"+a));const c=g==="sandbox"?B(s.nodes()[0].contentDocument.body):B("body"),n=c.select(`[id='${a}']`);R(n);const r=new O({multigraph:!0});r.setGraph({isMultiGraph:!0}),r.setDefaultEdgeLabel(function(){return{}});const f=o.db.getClasses(),h=Object.keys(f);for(const e of h){const d=f[e],l=N.drawClass(n,d,p,o);T[l.id]=l,r.setNode(l.id,l),y.info("Org height: "+l.height)}o.db.getRelations().forEach(function(e){y.info("tjoho"+E(e.id1)+E(e.id2)+JSON.stringify(e)),r.setEdge(E(e.id1),E(e.id2),{relation:e},e.title||"DEFAULT")}),o.db.getNotes().forEach(function(e){y.debug(`Adding note: ${JSON.stringify(e)}`);const d=N.drawNote(n,e,p,o);T[d.id]=d,r.setNode(d.id,d),e.class&&e.class in f&&r.setEdge(e.id,E(e.class),{relation:{id1:e.id,id2:e.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")}),P(r),r.nodes().forEach(function(e){e!==void 0&&r.node(e)!==void 0&&(y.debug("Node "+e+": "+JSON.stringify(r.node(e))),c.select("#"+(o.db.lookUpDomId(e)||e)).attr("transform","translate("+(r.node(e).x-r.node(e).width/2)+","+(r.node(e).y-r.node(e).height/2)+" )"))}),r.edges().forEach(function(e){e!==void 0&&r.edge(e)!==void 0&&(y.debug("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(r.edge(e))),N.drawEdge(n,r.edge(e),r.edge(e).relation,p,o))});const u=n.node().getBBox(),m=u.width+L*2,w=u.height+L*2;W(n,w,m,p.useMaxWidth);const k=`${u.x-L} ${u.y-L} ${m} ${w}`;y.debug(`viewBox ${k}`),n.attr("viewBox",k)},U={draw:F},et={parser:A,db:S,renderer:U,styles:G,init:i=>{i.class||(i.class={}),i.class.arrowMarkerAbsolute=i.arrowMarkerAbsolute,S.clear()}};export{et as diagram}; diff --git a/deploy/server/notebase/assets/classDiagram-v2-f2320105-BTmE5ZJB.js b/deploy/server/notebase/assets/classDiagram-v2-f2320105-BVq0RdVw.js similarity index 92% rename from deploy/server/notebase/assets/classDiagram-v2-f2320105-BTmE5ZJB.js rename to deploy/server/notebase/assets/classDiagram-v2-f2320105-BVq0RdVw.js index 0ad5e83af7..3e6d505273 100644 --- a/deploy/server/notebase/assets/classDiagram-v2-f2320105-BTmE5ZJB.js +++ b/deploy/server/notebase/assets/classDiagram-v2-f2320105-BVq0RdVw.js @@ -1,2 +1,2 @@ -import{p as M,d as _,s as R}from"./styles-9a916d00-gDWYG3Zg.js";import{l as d,c,h as w,y as B,t as G,o as D,q as E,n as C,j as A}from"./mermaid.core-C-ExL7Zv.js";import{G as q}from"./graph-1GVnZ2QQ.js";import{r as z}from"./index-3862675e-BWNp9fcM.js";import"./index-OntvGoV0.js";import"./layout-BoOjEFWe.js";import"./clone-EOKkErtd.js";import"./edges-e0da2a9e-Db8forlG.js";import"./createText-2e5e7dd3-CkLmKZf8.js";import"./line-CZuLgQF7.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";const S=s=>A.sanitizeText(s,c());let k={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const P=function(s,t,y,a){const e=Object.keys(s);d.info("keys:",e),d.info(s),e.forEach(function(i){var o,r;const l=s[i],p={shape:"rect",id:l.id,domId:l.domId,labelText:S(l.id),labelStyle:"",style:"fill: none; stroke: black",padding:((o=c().flowchart)==null?void 0:o.padding)??((r=c().class)==null?void 0:r.padding)};t.setNode(l.id,p),$(l.classes,t,y,a,l.id),d.info("setNode",p)})},$=function(s,t,y,a,e){const i=Object.keys(s);d.info("keys:",i),d.info(s),i.filter(o=>s[o].parent==e).forEach(function(o){var r,l;const n=s[o],p=n.cssClasses.join(" "),f=D(n.styles),h=n.label??n.id,u=0,b={labelStyle:f.labelStyle,shape:"class_box",labelText:S(h),classData:n,rx:u,ry:u,class:p,style:f.style,id:n.id,domId:n.domId,tooltip:a.db.getTooltip(n.id,e)||"",haveCallback:n.haveCallback,link:n.link,width:n.type==="group"?500:void 0,type:n.type,padding:((r=c().flowchart)==null?void 0:r.padding)??((l=c().class)==null?void 0:l.padding)};t.setNode(n.id,b),e&&t.setParent(n.id,e),d.info("setNode",b)})},F=function(s,t,y,a){d.info(s),s.forEach(function(e,i){var o,r;const l=e,n="",p={labelStyle:"",style:""},f=l.text,h=0,m={labelStyle:p.labelStyle,shape:"note",labelText:S(f),noteData:l,rx:h,ry:h,class:n,style:p.style,id:l.id,domId:l.id,tooltip:"",type:"note",padding:((o=c().flowchart)==null?void 0:o.padding)??((r=c().class)==null?void 0:r.padding)};if(t.setNode(l.id,m),d.info("setNode",m),!l.class||!(l.class in a))return;const b=y+i,x={id:`edgeNote${b}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:E(k.curve,C)};t.setEdge(l.id,l.class,x,b)})},H=function(s,t){const y=c().flowchart;let a=0;s.forEach(function(e){var i;a++;const o={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:`id_${e.id1}_${e.id2}_${a}`,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:N(e.relation.type1),arrowTypeEnd:N(e.relation.type2),style:"fill:none",labelStyle:"",curve:E(y==null?void 0:y.curve,C)};if(d.info(o,e),e.style!==void 0){const r=D(e.style);o.style=r.style,o.labelStyle=r.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(o.arrowheadStyle="fill: #333"):(o.arrowheadStyle="fill: #333",o.labelpos="c",((i=c().flowchart)==null?void 0:i.htmlLabels)??c().htmlLabels?(o.labelType="html",o.label=''+e.text+""):(o.labelType="text",o.label=e.text.replace(A.lineBreakRegex,` +import{p as M,d as _,s as R}from"./styles-9a916d00-BdJRCaQs.js";import{l as d,c,h as w,y as B,t as G,o as D,q as E,n as C,j as A}from"./mermaid.core-BAvrjf3l.js";import{G as q}from"./graph-heRzvxcs.js";import{r as z}from"./index-3862675e-m4ra-w5r.js";import"./index-D31-yJHm.js";import"./layout-BLe2lUnK.js";import"./clone-nOFmi_ju.js";import"./edges-e0da2a9e-CZlmjOgF.js";import"./createText-2e5e7dd3-Cn1HPiN2.js";import"./line-F7vHXKX5.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";const S=s=>A.sanitizeText(s,c());let k={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const P=function(s,t,y,a){const e=Object.keys(s);d.info("keys:",e),d.info(s),e.forEach(function(i){var o,r;const l=s[i],p={shape:"rect",id:l.id,domId:l.domId,labelText:S(l.id),labelStyle:"",style:"fill: none; stroke: black",padding:((o=c().flowchart)==null?void 0:o.padding)??((r=c().class)==null?void 0:r.padding)};t.setNode(l.id,p),$(l.classes,t,y,a,l.id),d.info("setNode",p)})},$=function(s,t,y,a,e){const i=Object.keys(s);d.info("keys:",i),d.info(s),i.filter(o=>s[o].parent==e).forEach(function(o){var r,l;const n=s[o],p=n.cssClasses.join(" "),f=D(n.styles),h=n.label??n.id,u=0,b={labelStyle:f.labelStyle,shape:"class_box",labelText:S(h),classData:n,rx:u,ry:u,class:p,style:f.style,id:n.id,domId:n.domId,tooltip:a.db.getTooltip(n.id,e)||"",haveCallback:n.haveCallback,link:n.link,width:n.type==="group"?500:void 0,type:n.type,padding:((r=c().flowchart)==null?void 0:r.padding)??((l=c().class)==null?void 0:l.padding)};t.setNode(n.id,b),e&&t.setParent(n.id,e),d.info("setNode",b)})},F=function(s,t,y,a){d.info(s),s.forEach(function(e,i){var o,r;const l=e,n="",p={labelStyle:"",style:""},f=l.text,h=0,m={labelStyle:p.labelStyle,shape:"note",labelText:S(f),noteData:l,rx:h,ry:h,class:n,style:p.style,id:l.id,domId:l.id,tooltip:"",type:"note",padding:((o=c().flowchart)==null?void 0:o.padding)??((r=c().class)==null?void 0:r.padding)};if(t.setNode(l.id,m),d.info("setNode",m),!l.class||!(l.class in a))return;const b=y+i,x={id:`edgeNote${b}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:E(k.curve,C)};t.setEdge(l.id,l.class,x,b)})},H=function(s,t){const y=c().flowchart;let a=0;s.forEach(function(e){var i;a++;const o={classes:"relation",pattern:e.relation.lineType==1?"dashed":"solid",id:`id_${e.id1}_${e.id2}_${a}`,arrowhead:e.type==="arrow_open"?"none":"normal",startLabelRight:e.relationTitle1==="none"?"":e.relationTitle1,endLabelLeft:e.relationTitle2==="none"?"":e.relationTitle2,arrowTypeStart:N(e.relation.type1),arrowTypeEnd:N(e.relation.type2),style:"fill:none",labelStyle:"",curve:E(y==null?void 0:y.curve,C)};if(d.info(o,e),e.style!==void 0){const r=D(e.style);o.style=r.style,o.labelStyle=r.labelStyle}e.text=e.title,e.text===void 0?e.style!==void 0&&(o.arrowheadStyle="fill: #333"):(o.arrowheadStyle="fill: #333",o.labelpos="c",((i=c().flowchart)==null?void 0:i.htmlLabels)??c().htmlLabels?(o.labelType="html",o.label=''+e.text+""):(o.labelType="text",o.label=e.text.replace(A.lineBreakRegex,` `),e.style===void 0&&(o.style=o.style||"stroke: #333; stroke-width: 1.5px;fill:none"),o.labelStyle=o.labelStyle.replace("color:","fill:"))),t.setEdge(e.id1,e.id2,o,a)})},V=function(s){k={...k,...s}},W=async function(s,t,y,a){d.info("Drawing class - ",t);const e=c().flowchart??c().class,i=c().securityLevel;d.info("config:",e);const o=(e==null?void 0:e.nodeSpacing)??50,r=(e==null?void 0:e.rankSpacing)??50,l=new q({multigraph:!0,compound:!0}).setGraph({rankdir:a.db.getDirection(),nodesep:o,ranksep:r,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),n=a.db.getNamespaces(),p=a.db.getClasses(),f=a.db.getRelations(),h=a.db.getNotes();d.info(f),P(n,l,t,a),$(p,l,t,a),H(f,l),F(h,l,f.length+1,p);let u;i==="sandbox"&&(u=w("#i"+t));const m=i==="sandbox"?w(u.nodes()[0].contentDocument.body):w("body"),b=m.select(`[id="${t}"]`),x=m.select("#"+t+" g");if(await z(x,l,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",t),B.insertTitle(b,"classTitleText",(e==null?void 0:e.titleTopMargin)??5,a.db.getDiagramTitle()),G(l,b,e==null?void 0:e.diagramPadding,e==null?void 0:e.useMaxWidth),!(e!=null&&e.htmlLabels)){const T=i==="sandbox"?u.nodes()[0].contentDocument:document,I=T.querySelectorAll('[id="'+t+'"] .edgeLabel .label');for(const g of I){const L=g.getBBox(),v=T.createElementNS("http://www.w3.org/2000/svg","rect");v.setAttribute("rx",0),v.setAttribute("ry",0),v.setAttribute("width",L.width),v.setAttribute("height",L.height),g.insertBefore(v,g.firstChild)}}};function N(s){let t;switch(s){case 0:t="aggregation";break;case 1:t="extension";break;case 2:t="composition";break;case 3:t="dependency";break;case 4:t="lollipop";break;default:t="none"}return t}const J={setConf:V,draw:W},se={parser:M,db:_,renderer:J,styles:R,init:s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,_.clear()}};export{se as diagram}; diff --git a/deploy/server/notebase/assets/clone-EOKkErtd.js b/deploy/server/notebase/assets/clone-EOKkErtd.js deleted file mode 100644 index b4dc4852ea..0000000000 --- a/deploy/server/notebase/assets/clone-EOKkErtd.js +++ /dev/null @@ -1 +0,0 @@ -import{c as r}from"./graph-1GVnZ2QQ.js";var e=4;function a(o){return r(o,e)}export{a as c}; diff --git a/deploy/server/notebase/assets/clone-nOFmi_ju.js b/deploy/server/notebase/assets/clone-nOFmi_ju.js new file mode 100644 index 0000000000..333401e20a --- /dev/null +++ b/deploy/server/notebase/assets/clone-nOFmi_ju.js @@ -0,0 +1 @@ +import{c as r}from"./graph-heRzvxcs.js";var e=4;function a(o){return r(o,e)}export{a as c}; diff --git a/deploy/server/notebase/assets/createText-2e5e7dd3-CkLmKZf8.js b/deploy/server/notebase/assets/createText-2e5e7dd3-Cn1HPiN2.js similarity index 96% rename from deploy/server/notebase/assets/createText-2e5e7dd3-CkLmKZf8.js rename to deploy/server/notebase/assets/createText-2e5e7dd3-Cn1HPiN2.js index fad96fcda6..4d021a6160 100644 --- a/deploy/server/notebase/assets/createText-2e5e7dd3-CkLmKZf8.js +++ b/deploy/server/notebase/assets/createText-2e5e7dd3-Cn1HPiN2.js @@ -1,4 +1,4 @@ -import{l as b,as as T,at as W}from"./mermaid.core-C-ExL7Zv.js";import{a5 as x}from"./index-OntvGoV0.js";function E(n){const t=n.replace(/\n{2,}/g,` +import{l as b,as as T,at as W}from"./mermaid.core-BAvrjf3l.js";import{a5 as x}from"./index-D31-yJHm.js";function E(n){const t=n.replace(/\n{2,}/g,` `);return W(t)}function w(n){const t=E(n),{children:e}=x(t),o=[[]];let i=0;function s(r,a="normal"){r.type==="text"?r.value.split(` `).forEach((l,p)=>{p!==0&&(i++,o.push([])),l.split(" ").forEach(f=>{f&&o[i].push({content:f,type:a})})}):(r.type==="strong"||r.type==="emphasis")&&r.children.forEach(c=>{s(c,r.type)})}return e.forEach(r=>{r.type==="paragraph"&&r.children.forEach(a=>{s(a)})}),o}function S(n){const{children:t}=x(n);function e(o){return o.type==="text"?o.value.replace(/\n/g,"
"):o.type==="strong"?`${o.children.map(e).join("")}`:o.type==="emphasis"?`${o.children.map(e).join("")}`:o.type==="paragraph"?`

${o.children.map(e).join("")}

`:`Unsupported markdown: ${o.type}`}return t.map(e).join("")}function j(n){return Intl.Segmenter?[...new Intl.Segmenter().segment(n)].map(t=>t.segment):[...n]}function v(n,t){const e=j(t.content);return g(n,[],e,t.type)}function g(n,t,e,o){if(e.length===0)return[{content:t.join(""),type:o},{content:"",type:o}];const[i,...s]=e,r=[...t,i];return n([{content:r.join(""),type:o}])?g(n,r,s,o):(t.length===0&&i&&(t.push(i),e.shift()),[{content:t.join(""),type:o},{content:e.join(""),type:o}])}function L(n,t){if(n.some(({content:e})=>e.includes(` `)))throw new Error("splitLineToFitWidth does not support newlines in the line");return h(n,t)}function h(n,t,e=[],o=[]){if(n.length===0)return o.length>0&&e.push(o),e.length>0?e:[];let i="";n[0].content===" "&&(i=" ",n.shift());const s=n.shift()??{content:" ",type:"normal"},r=[...o];if(i!==""&&r.push({content:i,type:"normal"}),r.push(s),t(r))return h(n,t,e,r);if(o.length>0)e.push(o),n.unshift(s);else if(s.content){const[a,c]=v(t,s);e.push([a]),c.content&&n.unshift(c)}return h(n,t,e)}function $(n,t){t&&n.attr("style",t)}function k(n,t,e,o,i=!1){const s=n.append("foreignObject"),r=s.append("xhtml:div"),a=t.label,c=t.isNode?"nodeLabel":"edgeLabel";r.html(` diff --git a/starter/src/main/resources/static/notebase/assets/edges-e0da2a9e-Z33Rjibo.js b/deploy/server/notebase/assets/edges-e0da2a9e-CZlmjOgF.js similarity index 99% rename from starter/src/main/resources/static/notebase/assets/edges-e0da2a9e-Z33Rjibo.js rename to deploy/server/notebase/assets/edges-e0da2a9e-CZlmjOgF.js index 7616ddd8b3..abfc816a04 100644 --- a/starter/src/main/resources/static/notebase/assets/edges-e0da2a9e-Z33Rjibo.js +++ b/deploy/server/notebase/assets/edges-e0da2a9e-CZlmjOgF.js @@ -1,4 +1,4 @@ -import{p as H,c as b,d as q,as as Q,h as E,l as g,y as j,D as lt}from"./mermaid.core-FIymlv9x.js";import{a as st}from"./createText-2e5e7dd3-DizPWu1a.js";import{l as ct}from"./line-SEOZUXIE.js";const ht=(e,t,a,i)=>{t.forEach(l=>{wt[l](e,a,i)})},ot=(e,t,a)=>{g.trace("Making markers for ",a),e.append("defs").append("marker").attr("id",a+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},yt=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-compositionStart").attr("class","marker composition "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},pt=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},ft=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},xt=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),e.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopEnd").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},dt=(e,t,a)=>{e.append("marker").attr("id",a+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",a+"_"+t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},gt=(e,t,a)=>{e.append("marker").attr("id",a+"_"+t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",a+"_"+t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},ut=(e,t,a)=>{e.append("marker").attr("id",a+"_"+t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),e.append("marker").attr("id",a+"_"+t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},bt=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},wt={extension:ot,composition:yt,aggregation:pt,dependency:ft,lollipop:xt,point:dt,circle:gt,cross:ut,barb:bt},hr=ht;function mt(e,t){t&&e.attr("style",t)}function kt(e){const t=E(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),a=t.append("xhtml:div"),i=e.label,l=e.isNode?"nodeLabel":"edgeLabel";return a.html('"+i+""),mt(a,e.labelStyle),a.style("display","inline-block"),a.style("white-space","nowrap"),a.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}const vt=(e,t,a,i)=>{let l=e||"";if(typeof l=="object"&&(l=l[0]),H(b().flowchart.htmlLabels)){l=l.replace(/\\n|\n/g,"
"),g.debug("vertexText"+l);const r={isNode:i,label:Q(l).replace(/fa[blrs]?:fa-[\w-]+/g,n=>``),labelStyle:t.replace("fill:","color:")};return kt(r)}else{const r=document.createElementNS("http://www.w3.org/2000/svg","text");r.setAttribute("style",t.replace("color:","fill:"));let s=[];typeof l=="string"?s=l.split(/\\n|\n|/gi):Array.isArray(l)?s=l:s=[];for(const n of s){const c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),a?c.setAttribute("class","title-row"):c.setAttribute("class","row"),c.textContent=n.trim(),r.appendChild(c)}return r}},R=vt,M=async(e,t,a,i)=>{let l;const r=t.useHtmlLabels||H(b().flowchart.htmlLabels);a?l=a:l="node default";const s=e.insert("g").attr("class",l).attr("id",t.domId||t.id),n=s.insert("g").attr("class","label").attr("style",t.labelStyle);let c;t.labelText===void 0?c="":c=typeof t.labelText=="string"?t.labelText:t.labelText[0];const o=n.node();let h;t.labelType==="markdown"?h=st(n,q(Q(c),b()),{useHtmlLabels:r,width:t.width||b().flowchart.wrappingWidth,classes:"markdown-node-label"}):h=o.appendChild(R(q(Q(c),b()),t.labelStyle,!1,i));let y=h.getBBox();const f=t.padding/2;if(H(b().flowchart.htmlLabels)){const p=h.children[0],d=E(h),k=p.getElementsByTagName("img");if(k){const x=c.replace(/]*>/g,"").trim()==="";await Promise.all([...k].map(u=>new Promise(S=>{function B(){if(u.style.display="flex",u.style.flexDirection="column",x){const C=b().fontSize?b().fontSize:window.getComputedStyle(document.body).fontSize,D=parseInt(C,10)*5+"px";u.style.minWidth=D,u.style.maxWidth=D}else u.style.width="100%";S(u)}setTimeout(()=>{u.complete&&B()}),u.addEventListener("error",B),u.addEventListener("load",B)})))}y=p.getBoundingClientRect(),d.attr("width",y.width),d.attr("height",y.height)}return r?n.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"):n.attr("transform","translate(0, "+-y.height/2+")"),t.centerLabel&&n.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:s,bbox:y,halfPadding:f,label:n}},m=(e,t)=>{const a=t.node().getBBox();e.width=a.width,e.height=a.height};function I(e,t,a,i){return e.insert("polygon",":first-child").attr("points",i.map(function(l){return l.x+","+l.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+a/2+")")}function Lt(e,t){return e.intersect(t)}function it(e,t,a,i){var l=e.x,r=e.y,s=l-i.x,n=r-i.y,c=Math.sqrt(t*t*n*n+a*a*s*s),o=Math.abs(t*a*s/c);i.x0}function Tt(e,t,a){var i=e.x,l=e.y,r=[],s=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(d){s=Math.min(s,d.x),n=Math.min(n,d.y)}):(s=Math.min(s,t.x),n=Math.min(n,t.y));for(var c=i-e.width/2-s,o=l-e.height/2-n,h=0;h1&&r.sort(function(d,k){var x=d.x-a.x,u=d.y-a.y,S=Math.sqrt(x*x+u*u),B=k.x-a.x,C=k.y-a.y,X=Math.sqrt(B*B+C*C);return S{var a=e.x,i=e.y,l=t.x-a,r=t.y-i,s=e.width/2,n=e.height/2,c,o;return Math.abs(r)*s>Math.abs(l)*n?(r<0&&(n=-n),c=r===0?0:n*l/r,o=n):(l<0&&(s=-s),c=s,o=l===0?0:s*r/l),{x:a+c,y:i+o}},Et=Bt,w={node:Lt,circle:St,ellipse:it,polygon:Tt,rect:Et},Ct=async(e,t)=>{t.useHtmlLabels||b().flowchart.htmlLabels||(t.centerLabel=!0);const{shapeSvg:i,bbox:l,halfPadding:r}=await M(e,t,"node "+t.classes,!0);g.info("Classes = ",t.classes);const s=i.insert("rect",":first-child");return s.attr("rx",t.rx).attr("ry",t.ry).attr("x",-l.width/2-r).attr("y",-l.height/2-r).attr("width",l.width+t.padding).attr("height",l.height+t.padding),m(t,s),t.intersect=function(n){return w.rect(t,n)},i},$t=Ct,_t=e=>{const t=new Set;for(const a of e)switch(a){case"x":t.add("right"),t.add("left");break;case"y":t.add("up"),t.add("down");break;default:t.add(a);break}return t},Rt=(e,t,a)=>{const i=_t(e),l=2,r=t.height+2*a.padding,s=r/l,n=t.width+2*s+a.padding,c=a.padding/2;return i.has("right")&&i.has("left")&&i.has("up")&&i.has("down")?[{x:0,y:0},{x:s,y:0},{x:n/2,y:2*c},{x:n-s,y:0},{x:n,y:0},{x:n,y:-r/3},{x:n+2*c,y:-r/2},{x:n,y:-2*r/3},{x:n,y:-r},{x:n-s,y:-r},{x:n/2,y:-r-2*c},{x:s,y:-r},{x:0,y:-r},{x:0,y:-2*r/3},{x:-2*c,y:-r/2},{x:0,y:-r/3}]:i.has("right")&&i.has("left")&&i.has("up")?[{x:s,y:0},{x:n-s,y:0},{x:n,y:-r/2},{x:n-s,y:-r},{x:s,y:-r},{x:0,y:-r/2}]:i.has("right")&&i.has("left")&&i.has("down")?[{x:0,y:0},{x:s,y:-r},{x:n-s,y:-r},{x:n,y:0}]:i.has("right")&&i.has("up")&&i.has("down")?[{x:0,y:0},{x:n,y:-s},{x:n,y:-r+s},{x:0,y:-r}]:i.has("left")&&i.has("up")&&i.has("down")?[{x:n,y:0},{x:0,y:-s},{x:0,y:-r+s},{x:n,y:-r}]:i.has("right")&&i.has("left")?[{x:s,y:0},{x:s,y:-c},{x:n-s,y:-c},{x:n-s,y:0},{x:n,y:-r/2},{x:n-s,y:-r},{x:n-s,y:-r+c},{x:s,y:-r+c},{x:s,y:-r},{x:0,y:-r/2}]:i.has("up")&&i.has("down")?[{x:n/2,y:0},{x:0,y:-c},{x:s,y:-c},{x:s,y:-r+c},{x:0,y:-r+c},{x:n/2,y:-r},{x:n,y:-r+c},{x:n-s,y:-r+c},{x:n-s,y:-c},{x:n,y:-c}]:i.has("right")&&i.has("up")?[{x:0,y:0},{x:n,y:-s},{x:0,y:-r}]:i.has("right")&&i.has("down")?[{x:0,y:0},{x:n,y:0},{x:0,y:-r}]:i.has("left")&&i.has("up")?[{x:n,y:0},{x:0,y:-s},{x:n,y:-r}]:i.has("left")&&i.has("down")?[{x:n,y:0},{x:0,y:0},{x:n,y:-r}]:i.has("right")?[{x:s,y:-c},{x:s,y:-c},{x:n-s,y:-c},{x:n-s,y:0},{x:n,y:-r/2},{x:n-s,y:-r},{x:n-s,y:-r+c},{x:s,y:-r+c},{x:s,y:-r+c}]:i.has("left")?[{x:s,y:0},{x:s,y:-c},{x:n-s,y:-c},{x:n-s,y:-r+c},{x:s,y:-r+c},{x:s,y:-r},{x:0,y:-r/2}]:i.has("up")?[{x:s,y:-c},{x:s,y:-r+c},{x:0,y:-r+c},{x:n/2,y:-r},{x:n,y:-r+c},{x:n-s,y:-r+c},{x:n-s,y:-c}]:i.has("down")?[{x:n/2,y:0},{x:0,y:-c},{x:s,y:-c},{x:s,y:-r+c},{x:n-s,y:-r+c},{x:n-s,y:-c},{x:n,y:-c}]:[{x:0,y:0}]},K=e=>e?" "+e:"",_=(e,t)=>`node default${K(e.classes)} ${K(e.class)}`,P=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=l+r,n=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}];g.info("Question main (Circle)");const c=I(a,s,s,n);return c.attr("style",t.style),m(t,c),t.intersect=function(o){return g.warn("Intersect called"),w.polygon(t,n,o)},a},Ht=(e,t)=>{const a=e.insert("g").attr("class","node default").attr("id",t.domId||t.id),i=28,l=[{x:0,y:i/2},{x:i/2,y:0},{x:0,y:-i/2},{x:-i/2,y:0}];return a.insert("polygon",":first-child").attr("points",l.map(function(s){return s.x+","+s.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(s){return w.circle(t,14,s)},a},It=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=4,r=i.height+t.padding,s=r/l,n=i.width+2*s+t.padding,c=[{x:s,y:0},{x:n-s,y:0},{x:n,y:-r/2},{x:n-s,y:-r},{x:s,y:-r},{x:0,y:-r/2}],o=I(a,n,r,c);return o.attr("style",t.style),m(t,o),t.intersect=function(h){return w.polygon(t,c,h)},a},Nt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,void 0,!0),l=2,r=i.height+2*t.padding,s=r/l,n=i.width+2*s+t.padding,c=Rt(t.directions,i,t),o=I(a,n,r,c);return o.attr("style",t.style),m(t,o),t.intersect=function(h){return w.polygon(t,c,h)},a},Ot=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:-r/2,y:0},{x:l,y:0},{x:l,y:-r},{x:-r/2,y:-r},{x:0,y:-r/2}];return I(a,l,r,s).attr("style",t.style),t.width=l+r,t.height=r,t.intersect=function(c){return w.polygon(t,s,c)},a},Wt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:-2*r/6,y:0},{x:l-r/6,y:0},{x:l+2*r/6,y:-r},{x:r/6,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},Xt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:2*r/6,y:0},{x:l+r/6,y:0},{x:l-2*r/6,y:-r},{x:-r/6,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},Yt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:-2*r/6,y:0},{x:l+2*r/6,y:0},{x:l-r/6,y:-r},{x:r/6,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},Dt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:r/6,y:0},{x:l-r/6,y:0},{x:l+2*r/6,y:-r},{x:-2*r/6,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},At=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:0,y:0},{x:l+r/2,y:0},{x:l,y:-r/2},{x:l+r/2,y:-r},{x:0,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},jt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=l/2,s=r/(2.5+l/50),n=i.height+s+t.padding,c="M 0,"+s+" a "+r+","+s+" 0,0,0 "+l+" 0 a "+r+","+s+" 0,0,0 "+-l+" 0 l 0,"+n+" a "+r+","+s+" 0,0,0 "+l+" 0 l 0,"+-n,o=a.attr("label-offset-y",s).insert("path",":first-child").attr("style",t.style).attr("d",c).attr("transform","translate("+-l/2+","+-(n/2+s)+")");return m(t,o),t.intersect=function(h){const y=w.rect(t,h),f=y.x-t.x;if(r!=0&&(Math.abs(f)t.height/2-s)){let p=s*s*(1-f*f/(r*r));p!=0&&(p=Math.sqrt(p)),p=s-p,h.y-t.y>0&&(p=-p),y.y+=p}return y},a},Ut=async(e,t)=>{const{shapeSvg:a,bbox:i,halfPadding:l}=await M(e,t,"node "+t.classes+" "+t.class,!0),r=a.insert("rect",":first-child"),s=t.positioned?t.width:i.width+t.padding,n=t.positioned?t.height:i.height+t.padding,c=t.positioned?-s/2:-i.width/2-l,o=t.positioned?-n/2:-i.height/2-l;if(r.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",c).attr("y",o).attr("width",s).attr("height",n),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(V(r,t.props.borders,s,n),h.delete("borders")),h.forEach(y=>{g.warn(`Unknown node property ${y}`)})}return m(t,r),t.intersect=function(h){return w.rect(t,h)},a},zt=async(e,t)=>{const{shapeSvg:a,bbox:i,halfPadding:l}=await M(e,t,"node "+t.classes,!0),r=a.insert("rect",":first-child"),s=t.positioned?t.width:i.width+t.padding,n=t.positioned?t.height:i.height+t.padding,c=t.positioned?-s/2:-i.width/2-l,o=t.positioned?-n/2:-i.height/2-l;if(r.attr("class","basic cluster composite label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",c).attr("y",o).attr("width",s).attr("height",n),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(V(r,t.props.borders,s,n),h.delete("borders")),h.forEach(y=>{g.warn(`Unknown node property ${y}`)})}return m(t,r),t.intersect=function(h){return w.rect(t,h)},a},Zt=async(e,t)=>{const{shapeSvg:a}=await M(e,t,"label",!0);g.trace("Classes = ",t.class);const i=a.insert("rect",":first-child"),l=0,r=0;if(i.attr("width",l).attr("height",r),a.attr("class","label edgeLabel"),t.props){const s=new Set(Object.keys(t.props));t.props.borders&&(V(i,t.props.borders,l,r),s.delete("borders")),s.forEach(n=>{g.warn(`Unknown node property ${n}`)})}return m(t,i),t.intersect=function(s){return w.rect(t,s)},a};function V(e,t,a,i){const l=[],r=n=>{l.push(n,0)},s=n=>{l.push(0,n)};t.includes("t")?(g.debug("add top border"),r(a)):s(a),t.includes("r")?(g.debug("add right border"),r(i)):s(i),t.includes("b")?(g.debug("add bottom border"),r(a)):s(a),t.includes("l")?(g.debug("add left border"),r(i)):s(i),e.attr("stroke-dasharray",l.join(" "))}const Gt=(e,t)=>{let a;t.classes?a="node "+t.classes:a="node default";const i=e.insert("g").attr("class",a).attr("id",t.domId||t.id),l=i.insert("rect",":first-child"),r=i.insert("line"),s=i.insert("g").attr("class","label"),n=t.labelText.flat?t.labelText.flat():t.labelText;let c="";typeof n=="object"?c=n[0]:c=n,g.info("Label text abc79",c,n,typeof n=="object");const o=s.node().appendChild(R(c,t.labelStyle,!0,!0));let h={width:0,height:0};if(H(b().flowchart.htmlLabels)){const k=o.children[0],x=E(o);h=k.getBoundingClientRect(),x.attr("width",h.width),x.attr("height",h.height)}g.info("Text 2",n);const y=n.slice(1,n.length);let f=o.getBBox();const p=s.node().appendChild(R(y.join?y.join("
"):y,t.labelStyle,!0,!0));if(H(b().flowchart.htmlLabels)){const k=p.children[0],x=E(p);h=k.getBoundingClientRect(),x.attr("width",h.width),x.attr("height",h.height)}const d=t.padding/2;return E(p).attr("transform","translate( "+(h.width>f.width?0:(f.width-h.width)/2)+", "+(f.height+d+5)+")"),E(o).attr("transform","translate( "+(h.width{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.height+t.padding,r=i.width+l/4+t.padding,s=a.insert("rect",":first-child").attr("style",t.style).attr("rx",l/2).attr("ry",l/2).attr("x",-r/2).attr("y",-l/2).attr("width",r).attr("height",l);return m(t,s),t.intersect=function(n){return w.rect(t,n)},a},Qt=async(e,t)=>{const{shapeSvg:a,bbox:i,halfPadding:l}=await M(e,t,_(t),!0),r=a.insert("circle",":first-child");return r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",i.width/2+l).attr("width",i.width+t.padding).attr("height",i.height+t.padding),g.info("Circle main"),m(t,r),t.intersect=function(s){return g.info("Circle intersect",t,i.width/2+l,s),w.circle(t,i.width/2+l,s)},a},Vt=async(e,t)=>{const{shapeSvg:a,bbox:i,halfPadding:l}=await M(e,t,_(t),!0),r=5,s=a.insert("g",":first-child"),n=s.insert("circle"),c=s.insert("circle");return s.attr("class",t.class),n.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",i.width/2+l+r).attr("width",i.width+t.padding+r*2).attr("height",i.height+t.padding+r*2),c.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",i.width/2+l).attr("width",i.width+t.padding).attr("height",i.height+t.padding),g.info("DoubleCircle main"),m(t,n),t.intersect=function(o){return g.info("DoubleCircle intersect",t,i.width/2+l+r,o),w.circle(t,i.width/2+l+r,o)},a},qt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:0,y:0},{x:l,y:0},{x:l,y:-r},{x:0,y:-r},{x:0,y:0},{x:-8,y:0},{x:l+8,y:0},{x:l+8,y:-r},{x:-8,y:-r},{x:-8,y:0}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},Jt=(e,t)=>{const a=e.insert("g").attr("class","node default").attr("id",t.domId||t.id),i=a.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),m(t,i),t.intersect=function(l){return w.circle(t,7,l)},a},tt=(e,t,a)=>{const i=e.insert("g").attr("class","node default").attr("id",t.domId||t.id);let l=70,r=10;a==="LR"&&(l=10,r=70);const s=i.append("rect").attr("x",-1*l/2).attr("y",-1*r/2).attr("width",l).attr("height",r).attr("class","fork-join");return m(t,s),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(n){return w.rect(t,n)},i},Kt=(e,t)=>{const a=e.insert("g").attr("class","node default").attr("id",t.domId||t.id),i=a.insert("circle",":first-child"),l=a.insert("circle",":first-child");return l.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),i.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),m(t,l),t.intersect=function(r){return w.circle(t,7,r)},a},Pt=(e,t)=>{const a=t.padding/2,i=4,l=8;let r;t.classes?r="node "+t.classes:r="node default";const s=e.insert("g").attr("class",r).attr("id",t.domId||t.id),n=s.insert("rect",":first-child"),c=s.insert("line"),o=s.insert("line");let h=0,y=i;const f=s.insert("g").attr("class","label");let p=0;const d=t.classData.annotations&&t.classData.annotations[0],k=t.classData.annotations[0]?"«"+t.classData.annotations[0]+"»":"",x=f.node().appendChild(R(k,t.labelStyle,!0,!0));let u=x.getBBox();if(H(b().flowchart.htmlLabels)){const v=x.children[0],L=E(x);u=v.getBoundingClientRect(),L.attr("width",u.width),L.attr("height",u.height)}t.classData.annotations[0]&&(y+=u.height+i,h+=u.width);let S=t.classData.label;t.classData.type!==void 0&&t.classData.type!==""&&(b().flowchart.htmlLabels?S+="<"+t.classData.type+">":S+="<"+t.classData.type+">");const B=f.node().appendChild(R(S,t.labelStyle,!0,!0));E(B).attr("class","classTitle");let C=B.getBBox();if(H(b().flowchart.htmlLabels)){const v=B.children[0],L=E(B);C=v.getBoundingClientRect(),L.attr("width",C.width),L.attr("height",C.height)}y+=C.height+i,C.width>h&&(h=C.width);const X=[];t.classData.members.forEach(v=>{const L=v.getDisplayDetails();let W=L.displayText;b().flowchart.htmlLabels&&(W=W.replace(//g,">"));const N=f.node().appendChild(R(W,L.cssStyle?L.cssStyle:t.labelStyle,!0,!0));let $=N.getBBox();if(H(b().flowchart.htmlLabels)){const F=N.children[0],A=E(N);$=F.getBoundingClientRect(),A.attr("width",$.width),A.attr("height",$.height)}$.width>h&&(h=$.width),y+=$.height+i,X.push(N)}),y+=l;const D=[];if(t.classData.methods.forEach(v=>{const L=v.getDisplayDetails();let W=L.displayText;b().flowchart.htmlLabels&&(W=W.replace(//g,">"));const N=f.node().appendChild(R(W,L.cssStyle?L.cssStyle:t.labelStyle,!0,!0));let $=N.getBBox();if(H(b().flowchart.htmlLabels)){const F=N.children[0],A=E(N);$=F.getBoundingClientRect(),A.attr("width",$.width),A.attr("height",$.height)}$.width>h&&(h=$.width),y+=$.height+i,D.push(N)}),y+=l,d){let v=(h-u.width)/2;E(x).attr("transform","translate( "+(-1*h/2+v)+", "+-1*y/2+")"),p=u.height+i}let nt=(h-C.width)/2;return E(B).attr("transform","translate( "+(-1*h/2+nt)+", "+(-1*y/2+p)+")"),p+=C.height+i,c.attr("class","divider").attr("x1",-h/2-a).attr("x2",h/2+a).attr("y1",-y/2-a+l+p).attr("y2",-y/2-a+l+p),p+=l,X.forEach(v=>{E(v).attr("transform","translate( "+-h/2+", "+(-1*y/2+p+l/2)+")");const L=v==null?void 0:v.getBBox();p+=((L==null?void 0:L.height)??0)+i}),p+=l,o.attr("class","divider").attr("x1",-h/2-a).attr("x2",h/2+a).attr("y1",-y/2-a+l+p).attr("y2",-y/2-a+l+p),p+=l,D.forEach(v=>{E(v).attr("transform","translate( "+-h/2+", "+(-1*y/2+p)+")");const L=v==null?void 0:v.getBBox();p+=((L==null?void 0:L.height)??0)+i}),n.attr("style",t.style).attr("class","outer title-state").attr("x",-h/2-a).attr("y",-(y/2)-a).attr("width",h+t.padding).attr("height",y+t.padding),m(t,n),t.intersect=function(v){return w.rect(t,v)},s},rt={rhombus:P,composite:zt,question:P,rect:Ut,labelRect:Zt,rectWithTitle:Gt,choice:Ht,circle:Qt,doublecircle:Vt,stadium:Ft,hexagon:It,block_arrow:Nt,rect_left_inv_arrow:Ot,lean_right:Wt,lean_left:Xt,trapezoid:Yt,inv_trapezoid:Dt,rect_right_inv_arrow:At,cylinder:jt,start:Jt,end:Kt,note:$t,subroutine:qt,fork:tt,join:tt,class_box:Pt};let Y={};const or=async(e,t,a)=>{let i,l;if(t.link){let r;b().securityLevel==="sandbox"?r="_top":t.linkTarget&&(r=t.linkTarget||"_blank"),i=e.insert("svg:a").attr("xlink:href",t.link).attr("target",r),l=await rt[t.shape](i,t,a)}else l=await rt[t.shape](e,t,a),i=l;return t.tooltip&&l.attr("title",t.tooltip),t.class&&l.attr("class","node default "+t.class),i.attr("data-node","true"),i.attr("data-id",t.id),Y[t.id]=i,t.haveCallback&&Y[t.id].attr("class",Y[t.id].attr("class")+" clickable"),i},yr=(e,t)=>{Y[t.id]=e},pr=()=>{Y={}},fr=e=>{const t=Y[e.id];g.trace("Transforming node",e.diff,e,"translate("+(e.x-e.width/2-5)+", "+e.width/2+")");const a=8,i=e.diff||0;return e.clusterNode?t.attr("transform","translate("+(e.x+i-e.width/2)+", "+(e.y-e.height/2-a)+")"):t.attr("transform","translate("+e.x+", "+e.y+")"),i},tr=({flowchart:e})=>{var t,a;const i=((t=e==null?void 0:e.subGraphTitleMargin)==null?void 0:t.top)??0,l=((a=e==null?void 0:e.subGraphTitleMargin)==null?void 0:a.bottom)??0,r=i+l;return{subGraphTitleTopMargin:i,subGraphTitleBottomMargin:l,subGraphTitleTotalMargin:r}},O={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function U(e,t){if(e===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};e=Z(e),t=Z(t);const[a,i]=[e.x,e.y],[l,r]=[t.x,t.y],s=l-a,n=r-i;return{angle:Math.atan(n/s),deltaX:s,deltaY:n}}const Z=e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,rr=e=>({x:function(t,a,i){let l=0;if(a===0&&Object.hasOwn(O,e.arrowTypeStart)){const{angle:r,deltaX:s}=U(i[0],i[1]);l=O[e.arrowTypeStart]*Math.cos(r)*(s>=0?1:-1)}else if(a===i.length-1&&Object.hasOwn(O,e.arrowTypeEnd)){const{angle:r,deltaX:s}=U(i[i.length-1],i[i.length-2]);l=O[e.arrowTypeEnd]*Math.cos(r)*(s>=0?1:-1)}return Z(t).x+l},y:function(t,a,i){let l=0;if(a===0&&Object.hasOwn(O,e.arrowTypeStart)){const{angle:r,deltaY:s}=U(i[0],i[1]);l=O[e.arrowTypeStart]*Math.abs(Math.sin(r))*(s>=0?1:-1)}else if(a===i.length-1&&Object.hasOwn(O,e.arrowTypeEnd)){const{angle:r,deltaY:s}=U(i[i.length-1],i[i.length-2]);l=O[e.arrowTypeEnd]*Math.abs(Math.sin(r))*(s>=0?1:-1)}return Z(t).y+l}}),ar=(e,t,a,i,l)=>{t.arrowTypeStart&&at(e,"start",t.arrowTypeStart,a,i,l),t.arrowTypeEnd&&at(e,"end",t.arrowTypeEnd,a,i,l)},er={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},at=(e,t,a,i,l,r)=>{const s=er[a];if(!s){g.warn(`Unknown arrow type: ${a}`);return}const n=t==="start"?"Start":"End";e.attr(`marker-${t}`,`url(${i}#${l}_${r}-${s}${n})`)};let G={},T={};const xr=()=>{G={},T={}},dr=(e,t)=>{const a=H(b().flowchart.htmlLabels),i=t.labelType==="markdown"?st(e,t.label,{style:t.labelStyle,useHtmlLabels:a,addSvgBackground:!0}):R(t.label,t.labelStyle),l=e.insert("g").attr("class","edgeLabel"),r=l.insert("g").attr("class","label");r.node().appendChild(i);let s=i.getBBox();if(a){const c=i.children[0],o=E(i);s=c.getBoundingClientRect(),o.attr("width",s.width),o.attr("height",s.height)}r.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),G[t.id]=l,t.width=s.width,t.height=s.height;let n;if(t.startLabelLeft){const c=R(t.startLabelLeft,t.labelStyle),o=e.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const y=c.getBBox();h.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),T[t.id]||(T[t.id]={}),T[t.id].startLeft=o,z(n,t.startLabelLeft)}if(t.startLabelRight){const c=R(t.startLabelRight,t.labelStyle),o=e.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=o.node().appendChild(c),h.node().appendChild(c);const y=c.getBBox();h.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),T[t.id]||(T[t.id]={}),T[t.id].startRight=o,z(n,t.startLabelRight)}if(t.endLabelLeft){const c=R(t.endLabelLeft,t.labelStyle),o=e.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const y=c.getBBox();h.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),o.node().appendChild(c),T[t.id]||(T[t.id]={}),T[t.id].endLeft=o,z(n,t.endLabelLeft)}if(t.endLabelRight){const c=R(t.endLabelRight,t.labelStyle),o=e.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const y=c.getBBox();h.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),o.node().appendChild(c),T[t.id]||(T[t.id]={}),T[t.id].endRight=o,z(n,t.endLabelRight)}return i};function z(e,t){b().flowchart.htmlLabels&&e&&(e.style.width=t.length*9+"px",e.style.height="12px")}const gr=(e,t)=>{g.debug("Moving label abc88 ",e.id,e.label,G[e.id],t);let a=t.updatedPath?t.updatedPath:t.originalPath;const i=b(),{subGraphTitleTotalMargin:l}=tr(i);if(e.label){const r=G[e.id];let s=e.x,n=e.y;if(a){const c=j.calcLabelPosition(a);g.debug("Moving label "+e.label+" from (",s,",",n,") to (",c.x,",",c.y,") abc88"),t.updatedPath&&(s=c.x,n=c.y)}r.attr("transform",`translate(${s}, ${n+l/2})`)}if(e.startLabelLeft){const r=T[e.id].startLeft;let s=e.x,n=e.y;if(a){const c=j.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_left",a);s=c.x,n=c.y}r.attr("transform",`translate(${s}, ${n})`)}if(e.startLabelRight){const r=T[e.id].startRight;let s=e.x,n=e.y;if(a){const c=j.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_right",a);s=c.x,n=c.y}r.attr("transform",`translate(${s}, ${n})`)}if(e.endLabelLeft){const r=T[e.id].endLeft;let s=e.x,n=e.y;if(a){const c=j.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_left",a);s=c.x,n=c.y}r.attr("transform",`translate(${s}, ${n})`)}if(e.endLabelRight){const r=T[e.id].endRight;let s=e.x,n=e.y;if(a){const c=j.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_right",a);s=c.x,n=c.y}r.attr("transform",`translate(${s}, ${n})`)}},sr=(e,t)=>{const a=e.x,i=e.y,l=Math.abs(t.x-a),r=Math.abs(t.y-i),s=e.width/2,n=e.height/2;return l>=s||r>=n},ir=(e,t,a)=>{g.debug(`intersection calc abc89: +import{p as H,c as b,d as q,as as Q,h as E,l as g,y as j,D as lt}from"./mermaid.core-BAvrjf3l.js";import{a as st}from"./createText-2e5e7dd3-Cn1HPiN2.js";import{l as ct}from"./line-F7vHXKX5.js";const ht=(e,t,a,i)=>{t.forEach(l=>{wt[l](e,a,i)})},ot=(e,t,a)=>{g.trace("Making markers for ",a),e.append("defs").append("marker").attr("id",a+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},yt=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-compositionStart").attr("class","marker composition "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},pt=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},ft=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",a+"_"+t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},xt=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),e.append("defs").append("marker").attr("id",a+"_"+t+"-lollipopEnd").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},dt=(e,t,a)=>{e.append("marker").attr("id",a+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",a+"_"+t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},gt=(e,t,a)=>{e.append("marker").attr("id",a+"_"+t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",a+"_"+t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},ut=(e,t,a)=>{e.append("marker").attr("id",a+"_"+t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),e.append("marker").attr("id",a+"_"+t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},bt=(e,t,a)=>{e.append("defs").append("marker").attr("id",a+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},wt={extension:ot,composition:yt,aggregation:pt,dependency:ft,lollipop:xt,point:dt,circle:gt,cross:ut,barb:bt},hr=ht;function mt(e,t){t&&e.attr("style",t)}function kt(e){const t=E(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),a=t.append("xhtml:div"),i=e.label,l=e.isNode?"nodeLabel":"edgeLabel";return a.html('"+i+""),mt(a,e.labelStyle),a.style("display","inline-block"),a.style("white-space","nowrap"),a.attr("xmlns","http://www.w3.org/1999/xhtml"),t.node()}const vt=(e,t,a,i)=>{let l=e||"";if(typeof l=="object"&&(l=l[0]),H(b().flowchart.htmlLabels)){l=l.replace(/\\n|\n/g,"
"),g.debug("vertexText"+l);const r={isNode:i,label:Q(l).replace(/fa[blrs]?:fa-[\w-]+/g,n=>``),labelStyle:t.replace("fill:","color:")};return kt(r)}else{const r=document.createElementNS("http://www.w3.org/2000/svg","text");r.setAttribute("style",t.replace("color:","fill:"));let s=[];typeof l=="string"?s=l.split(/\\n|\n|/gi):Array.isArray(l)?s=l:s=[];for(const n of s){const c=document.createElementNS("http://www.w3.org/2000/svg","tspan");c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),c.setAttribute("dy","1em"),c.setAttribute("x","0"),a?c.setAttribute("class","title-row"):c.setAttribute("class","row"),c.textContent=n.trim(),r.appendChild(c)}return r}},R=vt,M=async(e,t,a,i)=>{let l;const r=t.useHtmlLabels||H(b().flowchart.htmlLabels);a?l=a:l="node default";const s=e.insert("g").attr("class",l).attr("id",t.domId||t.id),n=s.insert("g").attr("class","label").attr("style",t.labelStyle);let c;t.labelText===void 0?c="":c=typeof t.labelText=="string"?t.labelText:t.labelText[0];const o=n.node();let h;t.labelType==="markdown"?h=st(n,q(Q(c),b()),{useHtmlLabels:r,width:t.width||b().flowchart.wrappingWidth,classes:"markdown-node-label"}):h=o.appendChild(R(q(Q(c),b()),t.labelStyle,!1,i));let y=h.getBBox();const f=t.padding/2;if(H(b().flowchart.htmlLabels)){const p=h.children[0],d=E(h),k=p.getElementsByTagName("img");if(k){const x=c.replace(/]*>/g,"").trim()==="";await Promise.all([...k].map(u=>new Promise(S=>{function B(){if(u.style.display="flex",u.style.flexDirection="column",x){const C=b().fontSize?b().fontSize:window.getComputedStyle(document.body).fontSize,D=parseInt(C,10)*5+"px";u.style.minWidth=D,u.style.maxWidth=D}else u.style.width="100%";S(u)}setTimeout(()=>{u.complete&&B()}),u.addEventListener("error",B),u.addEventListener("load",B)})))}y=p.getBoundingClientRect(),d.attr("width",y.width),d.attr("height",y.height)}return r?n.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"):n.attr("transform","translate(0, "+-y.height/2+")"),t.centerLabel&&n.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),n.insert("rect",":first-child"),{shapeSvg:s,bbox:y,halfPadding:f,label:n}},m=(e,t)=>{const a=t.node().getBBox();e.width=a.width,e.height=a.height};function I(e,t,a,i){return e.insert("polygon",":first-child").attr("points",i.map(function(l){return l.x+","+l.y}).join(" ")).attr("class","label-container").attr("transform","translate("+-t/2+","+a/2+")")}function Lt(e,t){return e.intersect(t)}function it(e,t,a,i){var l=e.x,r=e.y,s=l-i.x,n=r-i.y,c=Math.sqrt(t*t*n*n+a*a*s*s),o=Math.abs(t*a*s/c);i.x0}function Tt(e,t,a){var i=e.x,l=e.y,r=[],s=Number.POSITIVE_INFINITY,n=Number.POSITIVE_INFINITY;typeof t.forEach=="function"?t.forEach(function(d){s=Math.min(s,d.x),n=Math.min(n,d.y)}):(s=Math.min(s,t.x),n=Math.min(n,t.y));for(var c=i-e.width/2-s,o=l-e.height/2-n,h=0;h1&&r.sort(function(d,k){var x=d.x-a.x,u=d.y-a.y,S=Math.sqrt(x*x+u*u),B=k.x-a.x,C=k.y-a.y,X=Math.sqrt(B*B+C*C);return S{var a=e.x,i=e.y,l=t.x-a,r=t.y-i,s=e.width/2,n=e.height/2,c,o;return Math.abs(r)*s>Math.abs(l)*n?(r<0&&(n=-n),c=r===0?0:n*l/r,o=n):(l<0&&(s=-s),c=s,o=l===0?0:s*r/l),{x:a+c,y:i+o}},Et=Bt,w={node:Lt,circle:St,ellipse:it,polygon:Tt,rect:Et},Ct=async(e,t)=>{t.useHtmlLabels||b().flowchart.htmlLabels||(t.centerLabel=!0);const{shapeSvg:i,bbox:l,halfPadding:r}=await M(e,t,"node "+t.classes,!0);g.info("Classes = ",t.classes);const s=i.insert("rect",":first-child");return s.attr("rx",t.rx).attr("ry",t.ry).attr("x",-l.width/2-r).attr("y",-l.height/2-r).attr("width",l.width+t.padding).attr("height",l.height+t.padding),m(t,s),t.intersect=function(n){return w.rect(t,n)},i},$t=Ct,_t=e=>{const t=new Set;for(const a of e)switch(a){case"x":t.add("right"),t.add("left");break;case"y":t.add("up"),t.add("down");break;default:t.add(a);break}return t},Rt=(e,t,a)=>{const i=_t(e),l=2,r=t.height+2*a.padding,s=r/l,n=t.width+2*s+a.padding,c=a.padding/2;return i.has("right")&&i.has("left")&&i.has("up")&&i.has("down")?[{x:0,y:0},{x:s,y:0},{x:n/2,y:2*c},{x:n-s,y:0},{x:n,y:0},{x:n,y:-r/3},{x:n+2*c,y:-r/2},{x:n,y:-2*r/3},{x:n,y:-r},{x:n-s,y:-r},{x:n/2,y:-r-2*c},{x:s,y:-r},{x:0,y:-r},{x:0,y:-2*r/3},{x:-2*c,y:-r/2},{x:0,y:-r/3}]:i.has("right")&&i.has("left")&&i.has("up")?[{x:s,y:0},{x:n-s,y:0},{x:n,y:-r/2},{x:n-s,y:-r},{x:s,y:-r},{x:0,y:-r/2}]:i.has("right")&&i.has("left")&&i.has("down")?[{x:0,y:0},{x:s,y:-r},{x:n-s,y:-r},{x:n,y:0}]:i.has("right")&&i.has("up")&&i.has("down")?[{x:0,y:0},{x:n,y:-s},{x:n,y:-r+s},{x:0,y:-r}]:i.has("left")&&i.has("up")&&i.has("down")?[{x:n,y:0},{x:0,y:-s},{x:0,y:-r+s},{x:n,y:-r}]:i.has("right")&&i.has("left")?[{x:s,y:0},{x:s,y:-c},{x:n-s,y:-c},{x:n-s,y:0},{x:n,y:-r/2},{x:n-s,y:-r},{x:n-s,y:-r+c},{x:s,y:-r+c},{x:s,y:-r},{x:0,y:-r/2}]:i.has("up")&&i.has("down")?[{x:n/2,y:0},{x:0,y:-c},{x:s,y:-c},{x:s,y:-r+c},{x:0,y:-r+c},{x:n/2,y:-r},{x:n,y:-r+c},{x:n-s,y:-r+c},{x:n-s,y:-c},{x:n,y:-c}]:i.has("right")&&i.has("up")?[{x:0,y:0},{x:n,y:-s},{x:0,y:-r}]:i.has("right")&&i.has("down")?[{x:0,y:0},{x:n,y:0},{x:0,y:-r}]:i.has("left")&&i.has("up")?[{x:n,y:0},{x:0,y:-s},{x:n,y:-r}]:i.has("left")&&i.has("down")?[{x:n,y:0},{x:0,y:0},{x:n,y:-r}]:i.has("right")?[{x:s,y:-c},{x:s,y:-c},{x:n-s,y:-c},{x:n-s,y:0},{x:n,y:-r/2},{x:n-s,y:-r},{x:n-s,y:-r+c},{x:s,y:-r+c},{x:s,y:-r+c}]:i.has("left")?[{x:s,y:0},{x:s,y:-c},{x:n-s,y:-c},{x:n-s,y:-r+c},{x:s,y:-r+c},{x:s,y:-r},{x:0,y:-r/2}]:i.has("up")?[{x:s,y:-c},{x:s,y:-r+c},{x:0,y:-r+c},{x:n/2,y:-r},{x:n,y:-r+c},{x:n-s,y:-r+c},{x:n-s,y:-c}]:i.has("down")?[{x:n/2,y:0},{x:0,y:-c},{x:s,y:-c},{x:s,y:-r+c},{x:n-s,y:-r+c},{x:n-s,y:-c},{x:n,y:-c}]:[{x:0,y:0}]},K=e=>e?" "+e:"",_=(e,t)=>`node default${K(e.classes)} ${K(e.class)}`,P=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=l+r,n=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}];g.info("Question main (Circle)");const c=I(a,s,s,n);return c.attr("style",t.style),m(t,c),t.intersect=function(o){return g.warn("Intersect called"),w.polygon(t,n,o)},a},Ht=(e,t)=>{const a=e.insert("g").attr("class","node default").attr("id",t.domId||t.id),i=28,l=[{x:0,y:i/2},{x:i/2,y:0},{x:0,y:-i/2},{x:-i/2,y:0}];return a.insert("polygon",":first-child").attr("points",l.map(function(s){return s.x+","+s.y}).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),t.width=28,t.height=28,t.intersect=function(s){return w.circle(t,14,s)},a},It=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=4,r=i.height+t.padding,s=r/l,n=i.width+2*s+t.padding,c=[{x:s,y:0},{x:n-s,y:0},{x:n,y:-r/2},{x:n-s,y:-r},{x:s,y:-r},{x:0,y:-r/2}],o=I(a,n,r,c);return o.attr("style",t.style),m(t,o),t.intersect=function(h){return w.polygon(t,c,h)},a},Nt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,void 0,!0),l=2,r=i.height+2*t.padding,s=r/l,n=i.width+2*s+t.padding,c=Rt(t.directions,i,t),o=I(a,n,r,c);return o.attr("style",t.style),m(t,o),t.intersect=function(h){return w.polygon(t,c,h)},a},Ot=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:-r/2,y:0},{x:l,y:0},{x:l,y:-r},{x:-r/2,y:-r},{x:0,y:-r/2}];return I(a,l,r,s).attr("style",t.style),t.width=l+r,t.height=r,t.intersect=function(c){return w.polygon(t,s,c)},a},Wt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:-2*r/6,y:0},{x:l-r/6,y:0},{x:l+2*r/6,y:-r},{x:r/6,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},Xt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:2*r/6,y:0},{x:l+r/6,y:0},{x:l-2*r/6,y:-r},{x:-r/6,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},Yt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:-2*r/6,y:0},{x:l+2*r/6,y:0},{x:l-r/6,y:-r},{x:r/6,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},Dt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:r/6,y:0},{x:l-r/6,y:0},{x:l+2*r/6,y:-r},{x:-2*r/6,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},At=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:0,y:0},{x:l+r/2,y:0},{x:l,y:-r/2},{x:l+r/2,y:-r},{x:0,y:-r}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},jt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=l/2,s=r/(2.5+l/50),n=i.height+s+t.padding,c="M 0,"+s+" a "+r+","+s+" 0,0,0 "+l+" 0 a "+r+","+s+" 0,0,0 "+-l+" 0 l 0,"+n+" a "+r+","+s+" 0,0,0 "+l+" 0 l 0,"+-n,o=a.attr("label-offset-y",s).insert("path",":first-child").attr("style",t.style).attr("d",c).attr("transform","translate("+-l/2+","+-(n/2+s)+")");return m(t,o),t.intersect=function(h){const y=w.rect(t,h),f=y.x-t.x;if(r!=0&&(Math.abs(f)t.height/2-s)){let p=s*s*(1-f*f/(r*r));p!=0&&(p=Math.sqrt(p)),p=s-p,h.y-t.y>0&&(p=-p),y.y+=p}return y},a},Ut=async(e,t)=>{const{shapeSvg:a,bbox:i,halfPadding:l}=await M(e,t,"node "+t.classes+" "+t.class,!0),r=a.insert("rect",":first-child"),s=t.positioned?t.width:i.width+t.padding,n=t.positioned?t.height:i.height+t.padding,c=t.positioned?-s/2:-i.width/2-l,o=t.positioned?-n/2:-i.height/2-l;if(r.attr("class","basic label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",c).attr("y",o).attr("width",s).attr("height",n),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(V(r,t.props.borders,s,n),h.delete("borders")),h.forEach(y=>{g.warn(`Unknown node property ${y}`)})}return m(t,r),t.intersect=function(h){return w.rect(t,h)},a},zt=async(e,t)=>{const{shapeSvg:a,bbox:i,halfPadding:l}=await M(e,t,"node "+t.classes,!0),r=a.insert("rect",":first-child"),s=t.positioned?t.width:i.width+t.padding,n=t.positioned?t.height:i.height+t.padding,c=t.positioned?-s/2:-i.width/2-l,o=t.positioned?-n/2:-i.height/2-l;if(r.attr("class","basic cluster composite label-container").attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",c).attr("y",o).attr("width",s).attr("height",n),t.props){const h=new Set(Object.keys(t.props));t.props.borders&&(V(r,t.props.borders,s,n),h.delete("borders")),h.forEach(y=>{g.warn(`Unknown node property ${y}`)})}return m(t,r),t.intersect=function(h){return w.rect(t,h)},a},Zt=async(e,t)=>{const{shapeSvg:a}=await M(e,t,"label",!0);g.trace("Classes = ",t.class);const i=a.insert("rect",":first-child"),l=0,r=0;if(i.attr("width",l).attr("height",r),a.attr("class","label edgeLabel"),t.props){const s=new Set(Object.keys(t.props));t.props.borders&&(V(i,t.props.borders,l,r),s.delete("borders")),s.forEach(n=>{g.warn(`Unknown node property ${n}`)})}return m(t,i),t.intersect=function(s){return w.rect(t,s)},a};function V(e,t,a,i){const l=[],r=n=>{l.push(n,0)},s=n=>{l.push(0,n)};t.includes("t")?(g.debug("add top border"),r(a)):s(a),t.includes("r")?(g.debug("add right border"),r(i)):s(i),t.includes("b")?(g.debug("add bottom border"),r(a)):s(a),t.includes("l")?(g.debug("add left border"),r(i)):s(i),e.attr("stroke-dasharray",l.join(" "))}const Gt=(e,t)=>{let a;t.classes?a="node "+t.classes:a="node default";const i=e.insert("g").attr("class",a).attr("id",t.domId||t.id),l=i.insert("rect",":first-child"),r=i.insert("line"),s=i.insert("g").attr("class","label"),n=t.labelText.flat?t.labelText.flat():t.labelText;let c="";typeof n=="object"?c=n[0]:c=n,g.info("Label text abc79",c,n,typeof n=="object");const o=s.node().appendChild(R(c,t.labelStyle,!0,!0));let h={width:0,height:0};if(H(b().flowchart.htmlLabels)){const k=o.children[0],x=E(o);h=k.getBoundingClientRect(),x.attr("width",h.width),x.attr("height",h.height)}g.info("Text 2",n);const y=n.slice(1,n.length);let f=o.getBBox();const p=s.node().appendChild(R(y.join?y.join("
"):y,t.labelStyle,!0,!0));if(H(b().flowchart.htmlLabels)){const k=p.children[0],x=E(p);h=k.getBoundingClientRect(),x.attr("width",h.width),x.attr("height",h.height)}const d=t.padding/2;return E(p).attr("transform","translate( "+(h.width>f.width?0:(f.width-h.width)/2)+", "+(f.height+d+5)+")"),E(o).attr("transform","translate( "+(h.width{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.height+t.padding,r=i.width+l/4+t.padding,s=a.insert("rect",":first-child").attr("style",t.style).attr("rx",l/2).attr("ry",l/2).attr("x",-r/2).attr("y",-l/2).attr("width",r).attr("height",l);return m(t,s),t.intersect=function(n){return w.rect(t,n)},a},Qt=async(e,t)=>{const{shapeSvg:a,bbox:i,halfPadding:l}=await M(e,t,_(t),!0),r=a.insert("circle",":first-child");return r.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",i.width/2+l).attr("width",i.width+t.padding).attr("height",i.height+t.padding),g.info("Circle main"),m(t,r),t.intersect=function(s){return g.info("Circle intersect",t,i.width/2+l,s),w.circle(t,i.width/2+l,s)},a},Vt=async(e,t)=>{const{shapeSvg:a,bbox:i,halfPadding:l}=await M(e,t,_(t),!0),r=5,s=a.insert("g",":first-child"),n=s.insert("circle"),c=s.insert("circle");return s.attr("class",t.class),n.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",i.width/2+l+r).attr("width",i.width+t.padding+r*2).attr("height",i.height+t.padding+r*2),c.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("r",i.width/2+l).attr("width",i.width+t.padding).attr("height",i.height+t.padding),g.info("DoubleCircle main"),m(t,n),t.intersect=function(o){return g.info("DoubleCircle intersect",t,i.width/2+l+r,o),w.circle(t,i.width/2+l+r,o)},a},qt=async(e,t)=>{const{shapeSvg:a,bbox:i}=await M(e,t,_(t),!0),l=i.width+t.padding,r=i.height+t.padding,s=[{x:0,y:0},{x:l,y:0},{x:l,y:-r},{x:0,y:-r},{x:0,y:0},{x:-8,y:0},{x:l+8,y:0},{x:l+8,y:-r},{x:-8,y:-r},{x:-8,y:0}],n=I(a,l,r,s);return n.attr("style",t.style),m(t,n),t.intersect=function(c){return w.polygon(t,s,c)},a},Jt=(e,t)=>{const a=e.insert("g").attr("class","node default").attr("id",t.domId||t.id),i=a.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),m(t,i),t.intersect=function(l){return w.circle(t,7,l)},a},tt=(e,t,a)=>{const i=e.insert("g").attr("class","node default").attr("id",t.domId||t.id);let l=70,r=10;a==="LR"&&(l=10,r=70);const s=i.append("rect").attr("x",-1*l/2).attr("y",-1*r/2).attr("width",l).attr("height",r).attr("class","fork-join");return m(t,s),t.height=t.height+t.padding/2,t.width=t.width+t.padding/2,t.intersect=function(n){return w.rect(t,n)},i},Kt=(e,t)=>{const a=e.insert("g").attr("class","node default").attr("id",t.domId||t.id),i=a.insert("circle",":first-child"),l=a.insert("circle",":first-child");return l.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),i.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),m(t,l),t.intersect=function(r){return w.circle(t,7,r)},a},Pt=(e,t)=>{const a=t.padding/2,i=4,l=8;let r;t.classes?r="node "+t.classes:r="node default";const s=e.insert("g").attr("class",r).attr("id",t.domId||t.id),n=s.insert("rect",":first-child"),c=s.insert("line"),o=s.insert("line");let h=0,y=i;const f=s.insert("g").attr("class","label");let p=0;const d=t.classData.annotations&&t.classData.annotations[0],k=t.classData.annotations[0]?"«"+t.classData.annotations[0]+"»":"",x=f.node().appendChild(R(k,t.labelStyle,!0,!0));let u=x.getBBox();if(H(b().flowchart.htmlLabels)){const v=x.children[0],L=E(x);u=v.getBoundingClientRect(),L.attr("width",u.width),L.attr("height",u.height)}t.classData.annotations[0]&&(y+=u.height+i,h+=u.width);let S=t.classData.label;t.classData.type!==void 0&&t.classData.type!==""&&(b().flowchart.htmlLabels?S+="<"+t.classData.type+">":S+="<"+t.classData.type+">");const B=f.node().appendChild(R(S,t.labelStyle,!0,!0));E(B).attr("class","classTitle");let C=B.getBBox();if(H(b().flowchart.htmlLabels)){const v=B.children[0],L=E(B);C=v.getBoundingClientRect(),L.attr("width",C.width),L.attr("height",C.height)}y+=C.height+i,C.width>h&&(h=C.width);const X=[];t.classData.members.forEach(v=>{const L=v.getDisplayDetails();let W=L.displayText;b().flowchart.htmlLabels&&(W=W.replace(//g,">"));const N=f.node().appendChild(R(W,L.cssStyle?L.cssStyle:t.labelStyle,!0,!0));let $=N.getBBox();if(H(b().flowchart.htmlLabels)){const F=N.children[0],A=E(N);$=F.getBoundingClientRect(),A.attr("width",$.width),A.attr("height",$.height)}$.width>h&&(h=$.width),y+=$.height+i,X.push(N)}),y+=l;const D=[];if(t.classData.methods.forEach(v=>{const L=v.getDisplayDetails();let W=L.displayText;b().flowchart.htmlLabels&&(W=W.replace(//g,">"));const N=f.node().appendChild(R(W,L.cssStyle?L.cssStyle:t.labelStyle,!0,!0));let $=N.getBBox();if(H(b().flowchart.htmlLabels)){const F=N.children[0],A=E(N);$=F.getBoundingClientRect(),A.attr("width",$.width),A.attr("height",$.height)}$.width>h&&(h=$.width),y+=$.height+i,D.push(N)}),y+=l,d){let v=(h-u.width)/2;E(x).attr("transform","translate( "+(-1*h/2+v)+", "+-1*y/2+")"),p=u.height+i}let nt=(h-C.width)/2;return E(B).attr("transform","translate( "+(-1*h/2+nt)+", "+(-1*y/2+p)+")"),p+=C.height+i,c.attr("class","divider").attr("x1",-h/2-a).attr("x2",h/2+a).attr("y1",-y/2-a+l+p).attr("y2",-y/2-a+l+p),p+=l,X.forEach(v=>{E(v).attr("transform","translate( "+-h/2+", "+(-1*y/2+p+l/2)+")");const L=v==null?void 0:v.getBBox();p+=((L==null?void 0:L.height)??0)+i}),p+=l,o.attr("class","divider").attr("x1",-h/2-a).attr("x2",h/2+a).attr("y1",-y/2-a+l+p).attr("y2",-y/2-a+l+p),p+=l,D.forEach(v=>{E(v).attr("transform","translate( "+-h/2+", "+(-1*y/2+p)+")");const L=v==null?void 0:v.getBBox();p+=((L==null?void 0:L.height)??0)+i}),n.attr("style",t.style).attr("class","outer title-state").attr("x",-h/2-a).attr("y",-(y/2)-a).attr("width",h+t.padding).attr("height",y+t.padding),m(t,n),t.intersect=function(v){return w.rect(t,v)},s},rt={rhombus:P,composite:zt,question:P,rect:Ut,labelRect:Zt,rectWithTitle:Gt,choice:Ht,circle:Qt,doublecircle:Vt,stadium:Ft,hexagon:It,block_arrow:Nt,rect_left_inv_arrow:Ot,lean_right:Wt,lean_left:Xt,trapezoid:Yt,inv_trapezoid:Dt,rect_right_inv_arrow:At,cylinder:jt,start:Jt,end:Kt,note:$t,subroutine:qt,fork:tt,join:tt,class_box:Pt};let Y={};const or=async(e,t,a)=>{let i,l;if(t.link){let r;b().securityLevel==="sandbox"?r="_top":t.linkTarget&&(r=t.linkTarget||"_blank"),i=e.insert("svg:a").attr("xlink:href",t.link).attr("target",r),l=await rt[t.shape](i,t,a)}else l=await rt[t.shape](e,t,a),i=l;return t.tooltip&&l.attr("title",t.tooltip),t.class&&l.attr("class","node default "+t.class),i.attr("data-node","true"),i.attr("data-id",t.id),Y[t.id]=i,t.haveCallback&&Y[t.id].attr("class",Y[t.id].attr("class")+" clickable"),i},yr=(e,t)=>{Y[t.id]=e},pr=()=>{Y={}},fr=e=>{const t=Y[e.id];g.trace("Transforming node",e.diff,e,"translate("+(e.x-e.width/2-5)+", "+e.width/2+")");const a=8,i=e.diff||0;return e.clusterNode?t.attr("transform","translate("+(e.x+i-e.width/2)+", "+(e.y-e.height/2-a)+")"):t.attr("transform","translate("+e.x+", "+e.y+")"),i},tr=({flowchart:e})=>{var t,a;const i=((t=e==null?void 0:e.subGraphTitleMargin)==null?void 0:t.top)??0,l=((a=e==null?void 0:e.subGraphTitleMargin)==null?void 0:a.bottom)??0,r=i+l;return{subGraphTitleTopMargin:i,subGraphTitleBottomMargin:l,subGraphTitleTotalMargin:r}},O={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function U(e,t){if(e===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};e=Z(e),t=Z(t);const[a,i]=[e.x,e.y],[l,r]=[t.x,t.y],s=l-a,n=r-i;return{angle:Math.atan(n/s),deltaX:s,deltaY:n}}const Z=e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,rr=e=>({x:function(t,a,i){let l=0;if(a===0&&Object.hasOwn(O,e.arrowTypeStart)){const{angle:r,deltaX:s}=U(i[0],i[1]);l=O[e.arrowTypeStart]*Math.cos(r)*(s>=0?1:-1)}else if(a===i.length-1&&Object.hasOwn(O,e.arrowTypeEnd)){const{angle:r,deltaX:s}=U(i[i.length-1],i[i.length-2]);l=O[e.arrowTypeEnd]*Math.cos(r)*(s>=0?1:-1)}return Z(t).x+l},y:function(t,a,i){let l=0;if(a===0&&Object.hasOwn(O,e.arrowTypeStart)){const{angle:r,deltaY:s}=U(i[0],i[1]);l=O[e.arrowTypeStart]*Math.abs(Math.sin(r))*(s>=0?1:-1)}else if(a===i.length-1&&Object.hasOwn(O,e.arrowTypeEnd)){const{angle:r,deltaY:s}=U(i[i.length-1],i[i.length-2]);l=O[e.arrowTypeEnd]*Math.abs(Math.sin(r))*(s>=0?1:-1)}return Z(t).y+l}}),ar=(e,t,a,i,l)=>{t.arrowTypeStart&&at(e,"start",t.arrowTypeStart,a,i,l),t.arrowTypeEnd&&at(e,"end",t.arrowTypeEnd,a,i,l)},er={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},at=(e,t,a,i,l,r)=>{const s=er[a];if(!s){g.warn(`Unknown arrow type: ${a}`);return}const n=t==="start"?"Start":"End";e.attr(`marker-${t}`,`url(${i}#${l}_${r}-${s}${n})`)};let G={},T={};const xr=()=>{G={},T={}},dr=(e,t)=>{const a=H(b().flowchart.htmlLabels),i=t.labelType==="markdown"?st(e,t.label,{style:t.labelStyle,useHtmlLabels:a,addSvgBackground:!0}):R(t.label,t.labelStyle),l=e.insert("g").attr("class","edgeLabel"),r=l.insert("g").attr("class","label");r.node().appendChild(i);let s=i.getBBox();if(a){const c=i.children[0],o=E(i);s=c.getBoundingClientRect(),o.attr("width",s.width),o.attr("height",s.height)}r.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),G[t.id]=l,t.width=s.width,t.height=s.height;let n;if(t.startLabelLeft){const c=R(t.startLabelLeft,t.labelStyle),o=e.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const y=c.getBBox();h.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),T[t.id]||(T[t.id]={}),T[t.id].startLeft=o,z(n,t.startLabelLeft)}if(t.startLabelRight){const c=R(t.startLabelRight,t.labelStyle),o=e.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=o.node().appendChild(c),h.node().appendChild(c);const y=c.getBBox();h.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),T[t.id]||(T[t.id]={}),T[t.id].startRight=o,z(n,t.startLabelRight)}if(t.endLabelLeft){const c=R(t.endLabelLeft,t.labelStyle),o=e.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const y=c.getBBox();h.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),o.node().appendChild(c),T[t.id]||(T[t.id]={}),T[t.id].endLeft=o,z(n,t.endLabelLeft)}if(t.endLabelRight){const c=R(t.endLabelRight,t.labelStyle),o=e.insert("g").attr("class","edgeTerminals"),h=o.insert("g").attr("class","inner");n=h.node().appendChild(c);const y=c.getBBox();h.attr("transform","translate("+-y.width/2+", "+-y.height/2+")"),o.node().appendChild(c),T[t.id]||(T[t.id]={}),T[t.id].endRight=o,z(n,t.endLabelRight)}return i};function z(e,t){b().flowchart.htmlLabels&&e&&(e.style.width=t.length*9+"px",e.style.height="12px")}const gr=(e,t)=>{g.debug("Moving label abc88 ",e.id,e.label,G[e.id],t);let a=t.updatedPath?t.updatedPath:t.originalPath;const i=b(),{subGraphTitleTotalMargin:l}=tr(i);if(e.label){const r=G[e.id];let s=e.x,n=e.y;if(a){const c=j.calcLabelPosition(a);g.debug("Moving label "+e.label+" from (",s,",",n,") to (",c.x,",",c.y,") abc88"),t.updatedPath&&(s=c.x,n=c.y)}r.attr("transform",`translate(${s}, ${n+l/2})`)}if(e.startLabelLeft){const r=T[e.id].startLeft;let s=e.x,n=e.y;if(a){const c=j.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_left",a);s=c.x,n=c.y}r.attr("transform",`translate(${s}, ${n})`)}if(e.startLabelRight){const r=T[e.id].startRight;let s=e.x,n=e.y;if(a){const c=j.calcTerminalLabelPosition(e.arrowTypeStart?10:0,"start_right",a);s=c.x,n=c.y}r.attr("transform",`translate(${s}, ${n})`)}if(e.endLabelLeft){const r=T[e.id].endLeft;let s=e.x,n=e.y;if(a){const c=j.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_left",a);s=c.x,n=c.y}r.attr("transform",`translate(${s}, ${n})`)}if(e.endLabelRight){const r=T[e.id].endRight;let s=e.x,n=e.y;if(a){const c=j.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,"end_right",a);s=c.x,n=c.y}r.attr("transform",`translate(${s}, ${n})`)}},sr=(e,t)=>{const a=e.x,i=e.y,l=Math.abs(t.x-a),r=Math.abs(t.y-i),s=e.width/2,n=e.height/2;return l>=s||r>=n},ir=(e,t,a)=>{g.debug(`intersection calc abc89: outsidePoint: ${JSON.stringify(t)} insidePoint : ${JSON.stringify(a)} node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);const i=e.x,l=e.y,r=Math.abs(i-a.x),s=e.width/2;let n=a.xMath.abs(i-t.x)*c){let y=a.y{g.debug("abc88 cutPathAtIntersect",e,t);let a=[],i=e[0],l=!1;return e.forEach(r=>{if(!sr(t,r)&&!l){const s=ir(t,i,r);let n=!1;a.forEach(c=>{n=n||c.x===s.x&&c.y===s.y}),a.some(c=>c.x===s.x&&c.y===s.y)||a.push(s),l=!0}else i=r,l||a.push(r)}),a},ur=function(e,t,a,i,l,r,s){let n=a.points;g.debug("abc88 InsertEdge: edge=",a,"e=",t);let c=!1;const o=r.node(t.v);var h=r.node(t.w);h!=null&&h.intersect&&(o!=null&&o.intersect)&&(n=n.slice(1,a.points.length-1),n.unshift(o.intersect(n[0])),n.push(h.intersect(n[n.length-1]))),a.toCluster&&(g.debug("to cluster abc88",i[a.toCluster]),n=et(a.points,i[a.toCluster].node),c=!0),a.fromCluster&&(g.debug("from cluster abc88",i[a.fromCluster]),n=et(n.reverse(),i[a.fromCluster].node).reverse(),c=!0);const y=n.filter(C=>!Number.isNaN(C.y));let f=lt;a.curve&&(l==="graph"||l==="flowchart")&&(f=a.curve);const{x:p,y:d}=rr(a),k=ct().x(p).y(d).curve(f);let x;switch(a.thickness){case"normal":x="edge-thickness-normal";break;case"thick":x="edge-thickness-thick";break;case"invisible":x="edge-thickness-thick";break;default:x=""}switch(a.pattern){case"solid":x+=" edge-pattern-solid";break;case"dotted":x+=" edge-pattern-dotted";break;case"dashed":x+=" edge-pattern-dashed";break}const u=e.append("path").attr("d",k(y)).attr("id",a.id).attr("class"," "+x+(a.classes?" "+a.classes:"")).attr("style",a.style);let S="";(b().flowchart.arrowMarkerAbsolute||b().state.arrowMarkerAbsolute)&&(S=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,S=S.replace(/\(/g,"\\("),S=S.replace(/\)/g,"\\)")),ar(u,a,S,s,l);let B={};return c&&(B.updatedPath=n),B.originalPath=a.points,B};export{or as a,dr as b,ur as c,gr as d,pr as e,xr as f,tr as g,R as h,hr as i,Et as j,rr as k,M as l,ar as m,fr as p,yr as s,m as u}; diff --git a/starter/src/main/resources/static/notebase/assets/erDiagram-9861fffd-CezLaDTC.js b/deploy/server/notebase/assets/erDiagram-9861fffd-CCnwInuf.js similarity index 99% rename from starter/src/main/resources/static/notebase/assets/erDiagram-9861fffd-CezLaDTC.js rename to deploy/server/notebase/assets/erDiagram-9861fffd-CCnwInuf.js index 9789d7e076..4d61ebbe0c 100644 --- a/starter/src/main/resources/static/notebase/assets/erDiagram-9861fffd-CezLaDTC.js +++ b/deploy/server/notebase/assets/erDiagram-9861fffd-CCnwInuf.js @@ -1,4 +1,4 @@ -import{c as Y,s as _t,g as Et,b as mt,a as gt,A as kt,B as xt,l as K,C as Rt,h as et,y as Ot,i as bt,D as Nt,E as Tt}from"./mermaid.core-FIymlv9x.js";import{G as At}from"./graph-BpOdqLUS.js";import{l as Mt}from"./layout-CU5MaBZ2.js";import{x as wt}from"./index-BtAN2wrW.js";import{l as It}from"./line-SEOZUXIE.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";const St=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Dt(t){return typeof t=="string"&&St.test(t)}function vt(t){if(!Dt(t))throw TypeError("Invalid UUID");let r;const e=new Uint8Array(16);return e[0]=(r=parseInt(t.slice(0,8),16))>>>24,e[1]=r>>>16&255,e[2]=r>>>8&255,e[3]=r&255,e[4]=(r=parseInt(t.slice(9,13),16))>>>8,e[5]=r&255,e[6]=(r=parseInt(t.slice(14,18),16))>>>8,e[7]=r&255,e[8]=(r=parseInt(t.slice(19,23),16))>>>8,e[9]=r&255,e[10]=(r=parseInt(t.slice(24,36),16))/1099511627776&255,e[11]=r/4294967296&255,e[12]=r>>>24&255,e[13]=r>>>16&255,e[14]=r>>>8&255,e[15]=r&255,e}function Lt(t){t=unescape(encodeURIComponent(t));const r=[];for(let e=0;e>>32-r}function Zt(t){const r=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const u=unescape(encodeURIComponent(t));t=[];for(let o=0;o>>0;x=g,g=m,m=rt(_,30)>>>0,_=h,h=I}e[0]=e[0]+h>>>0,e[1]=e[1]+_>>>0,e[2]=e[2]+m>>>0,e[3]=e[3]+g>>>0,e[4]=e[4]+x>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,e[0]&255,e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,e[1]&255,e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,e[2]&255,e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,e[3]&255,e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,e[4]&255]}const Ft=Pt("v5",80,Zt);var at=function(){var t=function(M,i,n,c){for(n=n||{},c=M.length;c--;n[M[c]]=i);return n},r=[6,8,10,20,22,24,26,27,28],e=[1,10],f=[1,11],l=[1,12],p=[1,13],u=[1,14],o=[1,15],h=[1,21],_=[1,22],m=[1,23],g=[1,24],x=[1,25],y=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],N=[1,34],I=[27,28,46,47],Z=[41,42,43,44,45],F=[17,34],B=[1,54],T=[1,53],A=[17,34,36,38],R={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function(i,n,c,d,E,a,H){var s=a.length-1;switch(E){case 1:break;case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(a[s-4]),d.addEntity(a[s-2]),d.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:d.addEntity(a[s-3]),d.addAttributes(a[s-3],a[s-1]);break;case 10:d.addEntity(a[s-2]);break;case 11:d.addEntity(a[s]);break;case 12:d.addEntity(a[s-6],a[s-4]),d.addAttributes(a[s-6],a[s-1]);break;case 13:d.addEntity(a[s-5],a[s-3]);break;case 14:d.addEntity(a[s-3],a[s-1]);break;case 15:case 16:this.$=a[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=a[s];break;case 20:case 41:case 42:this.$=a[s].replace(/"/g,"");break;case 21:case 29:this.$=[a[s]];break;case 22:a[s].push(a[s-1]),this.$=a[s];break;case 23:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 24:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 26:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 27:case 28:case 31:this.$=a[s];break;case 30:a[s-2].push(a[s]),this.$=a[s-2];break;case 32:this.$=a[s].replace(/"/g,"");break;case 33:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},table:[{3:1,4:[1,2]},{1:[3]},t(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:e,22:f,24:l,26:p,27:u,28:o},t(r,[2,7],{1:[2,1]}),t(r,[2,3]),{9:16,11:9,20:e,22:f,24:l,26:p,27:u,28:o},t(r,[2,5]),t(r,[2,6]),t(r,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:_,43:m,44:g,45:x}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(r,[2,18]),t(y,[2,19]),t(y,[2,20]),t(r,[2,4]),{11:29,27:u,28:o},{16:30,17:[1,31],29:32,30:33,34:N},{11:35,27:u,28:o},{40:36,46:[1,37],47:[1,38]},t(I,[2,34]),t(I,[2,35]),t(I,[2,36]),t(I,[2,37]),t(I,[2,38]),t(r,[2,15]),t(r,[2,16]),t(r,[2,17]),{13:[1,39]},{17:[1,40]},t(r,[2,10]),{16:41,17:[2,21],29:32,30:33,34:N},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:_,43:m,44:g,45:x},t(Z,[2,39]),t(Z,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(r,[2,9]),{17:[2,22]},t(F,[2,23],{32:50,33:51,35:52,37:B,38:T}),t([17,34,37,38],[2,28]),t(r,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(r,[2,8]),t(r,[2,41]),t(r,[2,42]),t(r,[2,43]),t(F,[2,24],{33:56,36:[1,57],38:T}),t(F,[2,25]),t(A,[2,29]),t(F,[2,32]),t(A,[2,31]),{16:58,17:[1,59],29:32,30:33,34:N},t(F,[2,26]),{35:60,37:B},{17:[1,61]},t(r,[2,13]),t(A,[2,30]),t(r,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function(i,n){if(n.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=n,c}},parse:function(i){var n=this,c=[0],d=[],E=[null],a=[],H=this.table,s="",X=0,nt=0,ft=2,st=1,ut=a.slice.call(arguments,1),b=Object.create(this.lexer),U={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(U.yy[q]=this.yy[q]);b.setInput(i,U.yy),U.yy.lexer=b,U.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var J=b.yylloc;a.push(J);var yt=b.options&&b.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(){var P;return P=d.pop()||b.lex()||st,typeof P!="number"&&(P instanceof Array&&(d=P,P=d.pop()),P=n.symbols_[P]||P),P}for(var w,z,S,$,G={},Q,C,ot,j;;){if(z=c[c.length-1],this.defaultActions[z]?S=this.defaultActions[z]:((w===null||typeof w>"u")&&(w=pt()),S=H[z]&&H[z][w]),typeof S>"u"||!S.length||!S[0]){var tt="";j=[];for(Q in H[z])this.terminals_[Q]&&Q>ft&&j.push("'"+this.terminals_[Q]+"'");b.showPosition?tt="Parse error on line "+(X+1)+`: +import{c as Y,s as _t,g as Et,b as mt,a as gt,A as kt,B as xt,l as K,C as Rt,h as et,y as Ot,i as bt,D as Nt,E as Tt}from"./mermaid.core-BAvrjf3l.js";import{G as At}from"./graph-heRzvxcs.js";import{l as Mt}from"./layout-BLe2lUnK.js";import{x as wt}from"./index-D31-yJHm.js";import{l as It}from"./line-F7vHXKX5.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";const St=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function Dt(t){return typeof t=="string"&&St.test(t)}function vt(t){if(!Dt(t))throw TypeError("Invalid UUID");let r;const e=new Uint8Array(16);return e[0]=(r=parseInt(t.slice(0,8),16))>>>24,e[1]=r>>>16&255,e[2]=r>>>8&255,e[3]=r&255,e[4]=(r=parseInt(t.slice(9,13),16))>>>8,e[5]=r&255,e[6]=(r=parseInt(t.slice(14,18),16))>>>8,e[7]=r&255,e[8]=(r=parseInt(t.slice(19,23),16))>>>8,e[9]=r&255,e[10]=(r=parseInt(t.slice(24,36),16))/1099511627776&255,e[11]=r/4294967296&255,e[12]=r>>>24&255,e[13]=r>>>16&255,e[14]=r>>>8&255,e[15]=r&255,e}function Lt(t){t=unescape(encodeURIComponent(t));const r=[];for(let e=0;e>>32-r}function Zt(t){const r=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if(typeof t=="string"){const u=unescape(encodeURIComponent(t));t=[];for(let o=0;o>>0;x=g,g=m,m=rt(_,30)>>>0,_=h,h=I}e[0]=e[0]+h>>>0,e[1]=e[1]+_>>>0,e[2]=e[2]+m>>>0,e[3]=e[3]+g>>>0,e[4]=e[4]+x>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,e[0]&255,e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,e[1]&255,e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,e[2]&255,e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,e[3]&255,e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,e[4]&255]}const Ft=Pt("v5",80,Zt);var at=function(){var t=function(M,i,n,c){for(n=n||{},c=M.length;c--;n[M[c]]=i);return n},r=[6,8,10,20,22,24,26,27,28],e=[1,10],f=[1,11],l=[1,12],p=[1,13],u=[1,14],o=[1,15],h=[1,21],_=[1,22],m=[1,23],g=[1,24],x=[1,25],y=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],N=[1,34],I=[27,28,46,47],Z=[41,42,43,44,45],F=[17,34],B=[1,54],T=[1,53],A=[17,34,36,38],R={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function(i,n,c,d,E,a,H){var s=a.length-1;switch(E){case 1:break;case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:d.addEntity(a[s-4]),d.addEntity(a[s-2]),d.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:d.addEntity(a[s-3]),d.addAttributes(a[s-3],a[s-1]);break;case 10:d.addEntity(a[s-2]);break;case 11:d.addEntity(a[s]);break;case 12:d.addEntity(a[s-6],a[s-4]),d.addAttributes(a[s-6],a[s-1]);break;case 13:d.addEntity(a[s-5],a[s-3]);break;case 14:d.addEntity(a[s-3],a[s-1]);break;case 15:case 16:this.$=a[s].trim(),d.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),d.setAccDescription(this.$);break;case 19:case 43:this.$=a[s];break;case 20:case 41:case 42:this.$=a[s].replace(/"/g,"");break;case 21:case 29:this.$=[a[s]];break;case 22:a[s].push(a[s-1]),this.$=a[s];break;case 23:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 24:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 26:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 27:case 28:case 31:this.$=a[s];break;case 30:a[s-2].push(a[s]),this.$=a[s-2];break;case 32:this.$=a[s].replace(/"/g,"");break;case 33:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 34:this.$=d.Cardinality.ZERO_OR_ONE;break;case 35:this.$=d.Cardinality.ZERO_OR_MORE;break;case 36:this.$=d.Cardinality.ONE_OR_MORE;break;case 37:this.$=d.Cardinality.ONLY_ONE;break;case 38:this.$=d.Cardinality.MD_PARENT;break;case 39:this.$=d.Identification.NON_IDENTIFYING;break;case 40:this.$=d.Identification.IDENTIFYING;break}},table:[{3:1,4:[1,2]},{1:[3]},t(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:e,22:f,24:l,26:p,27:u,28:o},t(r,[2,7],{1:[2,1]}),t(r,[2,3]),{9:16,11:9,20:e,22:f,24:l,26:p,27:u,28:o},t(r,[2,5]),t(r,[2,6]),t(r,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:h,42:_,43:m,44:g,45:x}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(r,[2,18]),t(y,[2,19]),t(y,[2,20]),t(r,[2,4]),{11:29,27:u,28:o},{16:30,17:[1,31],29:32,30:33,34:N},{11:35,27:u,28:o},{40:36,46:[1,37],47:[1,38]},t(I,[2,34]),t(I,[2,35]),t(I,[2,36]),t(I,[2,37]),t(I,[2,38]),t(r,[2,15]),t(r,[2,16]),t(r,[2,17]),{13:[1,39]},{17:[1,40]},t(r,[2,10]),{16:41,17:[2,21],29:32,30:33,34:N},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:h,42:_,43:m,44:g,45:x},t(Z,[2,39]),t(Z,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(r,[2,9]),{17:[2,22]},t(F,[2,23],{32:50,33:51,35:52,37:B,38:T}),t([17,34,37,38],[2,28]),t(r,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(r,[2,8]),t(r,[2,41]),t(r,[2,42]),t(r,[2,43]),t(F,[2,24],{33:56,36:[1,57],38:T}),t(F,[2,25]),t(A,[2,29]),t(F,[2,32]),t(A,[2,31]),{16:58,17:[1,59],29:32,30:33,34:N},t(F,[2,26]),{35:60,37:B},{17:[1,61]},t(r,[2,13]),t(A,[2,30]),t(r,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function(i,n){if(n.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=n,c}},parse:function(i){var n=this,c=[0],d=[],E=[null],a=[],H=this.table,s="",X=0,nt=0,ft=2,st=1,ut=a.slice.call(arguments,1),b=Object.create(this.lexer),U={yy:{}};for(var q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,q)&&(U.yy[q]=this.yy[q]);b.setInput(i,U.yy),U.yy.lexer=b,U.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var J=b.yylloc;a.push(J);var yt=b.options&&b.options.ranges;typeof U.yy.parseError=="function"?this.parseError=U.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pt(){var P;return P=d.pop()||b.lex()||st,typeof P!="number"&&(P instanceof Array&&(d=P,P=d.pop()),P=n.symbols_[P]||P),P}for(var w,z,S,$,G={},Q,C,ot,j;;){if(z=c[c.length-1],this.defaultActions[z]?S=this.defaultActions[z]:((w===null||typeof w>"u")&&(w=pt()),S=H[z]&&H[z][w]),typeof S>"u"||!S.length||!S[0]){var tt="";j=[];for(Q in H[z])this.terminals_[Q]&&Q>ft&&j.push("'"+this.terminals_[Q]+"'");b.showPosition?tt="Parse error on line "+(X+1)+`: `+b.showPosition()+` Expecting `+j.join(", ")+", got '"+(this.terminals_[w]||w)+"'":tt="Parse error on line "+(X+1)+": Unexpected "+(w==st?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(tt,{text:b.match,token:this.terminals_[w]||w,line:b.yylineno,loc:J,expected:j})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+w);switch(S[0]){case 1:c.push(w),E.push(b.yytext),a.push(b.yylloc),c.push(S[1]),w=null,nt=b.yyleng,s=b.yytext,X=b.yylineno,J=b.yylloc;break;case 2:if(C=this.productions_[S[1]][1],G.$=E[E.length-C],G._$={first_line:a[a.length-(C||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(C||1)].first_column,last_column:a[a.length-1].last_column},yt&&(G._$.range=[a[a.length-(C||1)].range[0],a[a.length-1].range[1]]),$=this.performAction.apply(G,[s,nt,X,U.yy,S[1],E,a].concat(ut)),typeof $<"u")return $;C&&(c=c.slice(0,-1*C*2),E=E.slice(0,-1*C),a=a.slice(0,-1*C)),c.push(this.productions_[S[1]][0]),E.push(G.$),a.push(G._$),ot=H[c[c.length-2]][c[c.length-1]],c.push(ot);break;case 3:return!0}}return!0}},O=function(){var M={EOF:1,parseError:function(n,c){if(this.yy.parser)this.yy.parser.parseError(n,c);else throw new Error(n)},setInput:function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var n=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var E=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[E[0],E[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/starter/src/main/resources/static/notebase/assets/flowDb-956e92f1-DjKrptK2.js b/deploy/server/notebase/assets/flowDb-956e92f1-BlVioiOP.js similarity index 99% rename from starter/src/main/resources/static/notebase/assets/flowDb-956e92f1-DjKrptK2.js rename to deploy/server/notebase/assets/flowDb-956e92f1-BlVioiOP.js index 2e8704ae1b..b693bad47b 100644 --- a/starter/src/main/resources/static/notebase/assets/flowDb-956e92f1-DjKrptK2.js +++ b/deploy/server/notebase/assets/flowDb-956e92f1-BlVioiOP.js @@ -1,4 +1,4 @@ -import{c as et,a4 as me,s as ye,g as ve,a as Ve,b as Le,A as Ie,B as Re,l as J1,y as dt,C as Ne,j as we,h as w1}from"./mermaid.core-FIymlv9x.js";var pt=function(){var e=function(f1,a,o,f){for(o=o||{},f=f1.length;f--;o[f1[f]]=a);return o},u=[1,4],i=[1,3],n=[1,5],c=[1,8,9,10,11,27,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],l=[2,2],h=[1,13],U=[1,14],F=[1,15],w=[1,16],X=[1,23],o1=[1,25],p1=[1,26],A1=[1,27],S=[1,49],k=[1,48],l1=[1,29],U1=[1,30],G1=[1,31],M1=[1,32],K1=[1,33],x=[1,44],B=[1,46],m=[1,42],y=[1,47],v=[1,43],V=[1,50],L=[1,45],I=[1,51],R=[1,52],Y1=[1,34],j1=[1,35],z1=[1,36],X1=[1,37],I1=[1,57],b=[1,8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],q=[1,61],Q=[1,60],Z=[1,62],H1=[8,9,11,73,75],k1=[1,88],b1=[1,93],g1=[1,92],D1=[1,89],F1=[1,85],T1=[1,91],C1=[1,87],S1=[1,94],_1=[1,90],x1=[1,95],B1=[1,86],W1=[8,9,10,11,73,75],N=[8,9,10,11,44,73,75],M=[8,9,10,11,29,42,44,46,48,50,52,54,56,58,61,63,65,66,68,73,75,86,99,102,103,106,108,111,112,113],Et=[8,9,11,42,58,73,75,86,99,102,103,106,108,111,112,113],R1=[42,58,86,99,102,103,106,108,111,112,113],kt=[1,121],bt=[1,120],gt=[1,128],Dt=[1,142],Ft=[1,143],Tt=[1,144],Ct=[1,145],St=[1,130],_t=[1,132],xt=[1,136],Bt=[1,137],mt=[1,138],yt=[1,139],vt=[1,140],Vt=[1,141],Lt=[1,146],It=[1,147],Rt=[1,126],Nt=[1,127],wt=[1,134],Ot=[1,129],Pt=[1,133],Ut=[1,131],nt=[8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Gt=[1,149],T=[8,9,11],K=[8,9,10,11,14,42,58,86,102,103,106,108,111,112,113],p=[1,169],O=[1,165],P=[1,166],A=[1,170],d=[1,167],E=[1,168],m1=[75,113,116],g=[8,9,10,11,12,14,27,29,32,42,58,73,81,82,83,84,85,86,87,102,106,108,111,112,113],Mt=[10,103],h1=[31,47,49,51,53,55,60,62,64,65,67,69,113,114,115],J=[1,235],$=[1,233],t1=[1,237],e1=[1,231],s1=[1,232],u1=[1,234],i1=[1,236],r1=[1,238],y1=[1,255],Kt=[8,9,11,103],W=[8,9,10,11,58,81,102,103,106,107,108,109],at={trace:function(){},yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,link:39,node:40,styledVertex:41,AMP:42,vertex:43,STYLE_SEPARATOR:44,idString:45,DOUBLECIRCLESTART:46,DOUBLECIRCLEEND:47,PS:48,PE:49,"(-":50,"-)":51,STADIUMSTART:52,STADIUMEND:53,SUBROUTINESTART:54,SUBROUTINEEND:55,VERTEX_WITH_PROPS_START:56,"NODE_STRING[field]":57,COLON:58,"NODE_STRING[value]":59,PIPE:60,CYLINDERSTART:61,CYLINDEREND:62,DIAMOND_START:63,DIAMOND_STOP:64,TAGEND:65,TRAPSTART:66,TRAPEND:67,INVTRAPSTART:68,INVTRAPEND:69,linkStatement:70,arrowText:71,TESTSTR:72,START_LINK:73,edgeText:74,LINK:75,edgeTextToken:76,STR:77,MD_STR:78,textToken:79,keywords:80,STYLE:81,LINKSTYLE:82,CLASSDEF:83,CLASS:84,CLICK:85,DOWN:86,UP:87,textNoTagsToken:88,stylesOpt:89,"idString[vertex]":90,"idString[class]":91,CALLBACKNAME:92,CALLBACKARGS:93,HREF:94,LINK_TARGET:95,"STR[link]":96,"STR[tooltip]":97,alphaNum:98,DEFAULT:99,numList:100,INTERPOLATE:101,NUM:102,COMMA:103,style:104,styleComponent:105,NODE_STRING:106,UNIT:107,BRKT:108,PCT:109,idStringToken:110,MINUS:111,MULT:112,UNICODE_TEXT:113,TEXT:114,TAGSTART:115,EDGE_TEXT:116,alphaNumToken:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",42:"AMP",44:"STYLE_SEPARATOR",46:"DOUBLECIRCLESTART",47:"DOUBLECIRCLEEND",48:"PS",49:"PE",50:"(-",51:"-)",52:"STADIUMSTART",53:"STADIUMEND",54:"SUBROUTINESTART",55:"SUBROUTINEEND",56:"VERTEX_WITH_PROPS_START",57:"NODE_STRING[field]",58:"COLON",59:"NODE_STRING[value]",60:"PIPE",61:"CYLINDERSTART",62:"CYLINDEREND",63:"DIAMOND_START",64:"DIAMOND_STOP",65:"TAGEND",66:"TRAPSTART",67:"TRAPEND",68:"INVTRAPSTART",69:"INVTRAPEND",72:"TESTSTR",73:"START_LINK",75:"LINK",77:"STR",78:"MD_STR",81:"STYLE",82:"LINKSTYLE",83:"CLASSDEF",84:"CLASS",85:"CLICK",86:"DOWN",87:"UP",90:"idString[vertex]",91:"idString[class]",92:"CALLBACKNAME",93:"CALLBACKARGS",94:"HREF",95:"LINK_TARGET",96:"STR[link]",97:"STR[tooltip]",99:"DEFAULT",101:"INTERPOLATE",102:"NUM",103:"COMMA",106:"NODE_STRING",107:"UNIT",108:"BRKT",109:"PCT",111:"MINUS",112:"MULT",113:"UNICODE_TEXT",114:"TEXT",115:"TAGSTART",116:"EDGE_TEXT",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[20,3],[20,4],[20,2],[20,1],[40,1],[40,5],[41,1],[41,3],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,8],[43,4],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,4],[43,4],[43,1],[39,2],[39,3],[39,3],[39,1],[39,3],[74,1],[74,2],[74,1],[74,1],[70,1],[71,3],[30,1],[30,2],[30,1],[30,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[100,1],[100,3],[89,1],[89,3],[104,1],[104,2],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[79,1],[79,1],[79,1],[79,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[76,1],[76,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[45,1],[45,2],[98,1],[98,2],[33,1],[33,1],[33,1],[33,1]],performAction:function(a,o,f,r,C,t,N1){var s=t.length-1;switch(C){case 2:this.$=[];break;case 3:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 4:case 176:this.$=t[s];break;case 11:r.setDirection("TB"),this.$="TB";break;case 12:r.setDirection(t[s-1]),this.$=t[s-1];break;case 27:this.$=t[s-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=r.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 34:this.$=r.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 35:this.$=r.addSubGraph(void 0,t[s-1],void 0);break;case 37:this.$=t[s].trim(),r.setAccTitle(this.$);break;case 38:case 39:this.$=t[s].trim(),r.setAccDescription(this.$);break;case 43:r.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 44:r.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 45:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 46:this.$={stmt:t[s],nodes:t[s]};break;case 47:this.$=[t[s]];break;case 48:this.$=t[s-4].concat(t[s]);break;case 49:this.$=t[s];break;case 50:this.$=t[s-2],r.setClass(t[s-2],t[s]);break;case 51:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"square");break;case 52:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"doublecircle");break;case 53:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"circle");break;case 54:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"ellipse");break;case 55:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"stadium");break;case 56:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"subroutine");break;case 57:this.$=t[s-7],r.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 58:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"cylinder");break;case 59:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"round");break;case 60:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"diamond");break;case 61:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"hexagon");break;case 62:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"odd");break;case 63:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"trapezoid");break;case 64:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 65:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_right");break;case 66:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_left");break;case 67:this.$=t[s],r.addVertex(t[s]);break;case 68:t[s-1].text=t[s],this.$=t[s-1];break;case 69:case 70:t[s-2].text=t[s-1],this.$=t[s-2];break;case 71:this.$=t[s];break;case 72:var Y=r.destructLink(t[s],t[s-2]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,text:t[s-1]};break;case 73:this.$={text:t[s],type:"text"};break;case 74:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 75:this.$={text:t[s],type:"string"};break;case 76:this.$={text:t[s],type:"markdown"};break;case 77:var Y=r.destructLink(t[s]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length};break;case 78:this.$=t[s-1];break;case 79:this.$={text:t[s],type:"text"};break;case 80:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 81:this.$={text:t[s],type:"string"};break;case 82:case 97:this.$={text:t[s],type:"markdown"};break;case 94:this.$={text:t[s],type:"text"};break;case 95:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 96:this.$={text:t[s],type:"text"};break;case 98:this.$=t[s-4],r.addClass(t[s-2],t[s]);break;case 99:this.$=t[s-4],r.setClass(t[s-2],t[s]);break;case 100:case 108:this.$=t[s-1],r.setClickEvent(t[s-1],t[s]);break;case 101:case 109:this.$=t[s-3],r.setClickEvent(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 102:this.$=t[s-2],r.setClickEvent(t[s-2],t[s-1],t[s]);break;case 103:this.$=t[s-4],r.setClickEvent(t[s-4],t[s-3],t[s-2]),r.setTooltip(t[s-4],t[s]);break;case 104:this.$=t[s-2],r.setLink(t[s-2],t[s]);break;case 105:this.$=t[s-4],r.setLink(t[s-4],t[s-2]),r.setTooltip(t[s-4],t[s]);break;case 106:this.$=t[s-4],r.setLink(t[s-4],t[s-2],t[s]);break;case 107:this.$=t[s-6],r.setLink(t[s-6],t[s-4],t[s]),r.setTooltip(t[s-6],t[s-2]);break;case 110:this.$=t[s-1],r.setLink(t[s-1],t[s]);break;case 111:this.$=t[s-3],r.setLink(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 112:this.$=t[s-3],r.setLink(t[s-3],t[s-2],t[s]);break;case 113:this.$=t[s-5],r.setLink(t[s-5],t[s-4],t[s]),r.setTooltip(t[s-5],t[s-2]);break;case 114:this.$=t[s-4],r.addVertex(t[s-2],void 0,void 0,t[s]);break;case 115:this.$=t[s-4],r.updateLink([t[s-2]],t[s]);break;case 116:this.$=t[s-4],r.updateLink(t[s-2],t[s]);break;case 117:this.$=t[s-8],r.updateLinkInterpolate([t[s-6]],t[s-2]),r.updateLink([t[s-6]],t[s]);break;case 118:this.$=t[s-8],r.updateLinkInterpolate(t[s-6],t[s-2]),r.updateLink(t[s-6],t[s]);break;case 119:this.$=t[s-6],r.updateLinkInterpolate([t[s-4]],t[s]);break;case 120:this.$=t[s-6],r.updateLinkInterpolate(t[s-4],t[s]);break;case 121:case 123:this.$=[t[s]];break;case 122:case 124:t[s-2].push(t[s]),this.$=t[s-2];break;case 126:this.$=t[s-1]+t[s];break;case 174:this.$=t[s];break;case 175:this.$=t[s-1]+""+t[s];break;case 177:this.$=t[s-1]+""+t[s];break;case 178:this.$={stmt:"dir",value:"TB"};break;case 179:this.$={stmt:"dir",value:"BT"};break;case 180:this.$={stmt:"dir",value:"RL"};break;case 181:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,9:u,10:i,12:n},{1:[3]},e(c,l,{5:6}),{4:7,9:u,10:i,12:n},{4:8,9:u,10:i,12:n},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,33:24,34:o1,36:p1,38:A1,40:28,41:38,42:S,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},e(c,[2,9]),e(c,[2,10]),e(c,[2,11]),{8:[1,54],9:[1,55],10:I1,15:53,18:56},e(b,[2,3]),e(b,[2,4]),e(b,[2,5]),e(b,[2,6]),e(b,[2,7]),e(b,[2,8]),{8:q,9:Q,11:Z,21:58,39:59,70:63,73:[1,64],75:[1,65]},{8:q,9:Q,11:Z,21:66},{8:q,9:Q,11:Z,21:67},{8:q,9:Q,11:Z,21:68},{8:q,9:Q,11:Z,21:69},{8:q,9:Q,11:Z,21:70},{8:q,9:Q,10:[1,71],11:Z,21:72},e(b,[2,36]),{35:[1,73]},{37:[1,74]},e(b,[2,39]),e(H1,[2,46],{18:75,10:I1}),{10:[1,76]},{10:[1,77]},{10:[1,78]},{10:[1,79]},{14:k1,42:b1,58:g1,77:[1,83],86:D1,92:[1,80],94:[1,81],98:82,102:F1,103:T1,106:C1,108:S1,111:_1,112:x1,113:B1,117:84},e(b,[2,178]),e(b,[2,179]),e(b,[2,180]),e(b,[2,181]),e(W1,[2,47]),e(W1,[2,49],{44:[1,96]}),e(N,[2,67],{110:109,29:[1,97],42:S,46:[1,98],48:[1,99],50:[1,100],52:[1,101],54:[1,102],56:[1,103],58:k,61:[1,104],63:[1,105],65:[1,106],66:[1,107],68:[1,108],86:x,99:B,102:m,103:y,106:v,108:V,111:L,112:I,113:R}),e(M,[2,174]),e(M,[2,135]),e(M,[2,136]),e(M,[2,137]),e(M,[2,138]),e(M,[2,139]),e(M,[2,140]),e(M,[2,141]),e(M,[2,142]),e(M,[2,143]),e(M,[2,144]),e(M,[2,145]),e(c,[2,12]),e(c,[2,18]),e(c,[2,19]),{9:[1,110]},e(Et,[2,26],{18:111,10:I1}),e(b,[2,27]),{40:112,41:38,42:S,43:39,45:40,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},e(b,[2,40]),e(b,[2,41]),e(b,[2,42]),e(R1,[2,71],{71:113,60:[1,115],72:[1,114]}),{74:116,76:117,77:[1,118],78:[1,119],113:kt,116:bt},e([42,58,60,72,86,99,102,103,106,108,111,112,113],[2,77]),e(b,[2,28]),e(b,[2,29]),e(b,[2,30]),e(b,[2,31]),e(b,[2,32]),{10:gt,12:Dt,14:Ft,27:Tt,28:122,32:Ct,42:St,58:_t,73:xt,77:[1,124],78:[1,125],80:135,81:Bt,82:mt,83:yt,84:vt,85:Vt,86:Lt,87:It,88:123,102:Rt,106:Nt,108:wt,111:Ot,112:Pt,113:Ut},e(nt,l,{5:148}),e(b,[2,37]),e(b,[2,38]),e(H1,[2,45],{42:Gt}),{42:S,45:150,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{99:[1,151],100:152,102:[1,153]},{42:S,45:154,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{42:S,45:155,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},e(T,[2,100],{10:[1,156],93:[1,157]}),{77:[1,158]},e(T,[2,108],{117:160,10:[1,159],14:k1,42:b1,58:g1,86:D1,102:F1,103:T1,106:C1,108:S1,111:_1,112:x1,113:B1}),e(T,[2,110],{10:[1,161]}),e(K,[2,176]),e(K,[2,163]),e(K,[2,164]),e(K,[2,165]),e(K,[2,166]),e(K,[2,167]),e(K,[2,168]),e(K,[2,169]),e(K,[2,170]),e(K,[2,171]),e(K,[2,172]),e(K,[2,173]),{42:S,45:162,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{30:163,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:171,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:173,48:[1,172],65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:174,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:175,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:176,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{106:[1,177]},{30:178,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:179,63:[1,180],65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:181,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:182,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:183,65:p,77:O,78:P,79:164,113:A,114:d,115:E},e(M,[2,175]),e(c,[2,20]),e(Et,[2,25]),e(H1,[2,43],{18:184,10:I1}),e(R1,[2,68],{10:[1,185]}),{10:[1,186]},{30:187,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{75:[1,188],76:189,113:kt,116:bt},e(m1,[2,73]),e(m1,[2,75]),e(m1,[2,76]),e(m1,[2,161]),e(m1,[2,162]),{8:q,9:Q,10:gt,11:Z,12:Dt,14:Ft,21:191,27:Tt,29:[1,190],32:Ct,42:St,58:_t,73:xt,80:135,81:Bt,82:mt,83:yt,84:vt,85:Vt,86:Lt,87:It,88:192,102:Rt,106:Nt,108:wt,111:Ot,112:Pt,113:Ut},e(g,[2,94]),e(g,[2,96]),e(g,[2,97]),e(g,[2,150]),e(g,[2,151]),e(g,[2,152]),e(g,[2,153]),e(g,[2,154]),e(g,[2,155]),e(g,[2,156]),e(g,[2,157]),e(g,[2,158]),e(g,[2,159]),e(g,[2,160]),e(g,[2,83]),e(g,[2,84]),e(g,[2,85]),e(g,[2,86]),e(g,[2,87]),e(g,[2,88]),e(g,[2,89]),e(g,[2,90]),e(g,[2,91]),e(g,[2,92]),e(g,[2,93]),{6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,32:[1,193],33:24,34:o1,36:p1,38:A1,40:28,41:38,42:S,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},{10:I1,18:194},{10:[1,195],42:S,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:109,111:L,112:I,113:R},{10:[1,196]},{10:[1,197],103:[1,198]},e(Mt,[2,121]),{10:[1,199],42:S,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:109,111:L,112:I,113:R},{10:[1,200],42:S,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:109,111:L,112:I,113:R},{77:[1,201]},e(T,[2,102],{10:[1,202]}),e(T,[2,104],{10:[1,203]}),{77:[1,204]},e(K,[2,177]),{77:[1,205],95:[1,206]},e(W1,[2,50],{110:109,42:S,58:k,86:x,99:B,102:m,103:y,106:v,108:V,111:L,112:I,113:R}),{31:[1,207],65:p,79:208,113:A,114:d,115:E},e(h1,[2,79]),e(h1,[2,81]),e(h1,[2,82]),e(h1,[2,146]),e(h1,[2,147]),e(h1,[2,148]),e(h1,[2,149]),{47:[1,209],65:p,79:208,113:A,114:d,115:E},{30:210,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{49:[1,211],65:p,79:208,113:A,114:d,115:E},{51:[1,212],65:p,79:208,113:A,114:d,115:E},{53:[1,213],65:p,79:208,113:A,114:d,115:E},{55:[1,214],65:p,79:208,113:A,114:d,115:E},{58:[1,215]},{62:[1,216],65:p,79:208,113:A,114:d,115:E},{64:[1,217],65:p,79:208,113:A,114:d,115:E},{30:218,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{31:[1,219],65:p,79:208,113:A,114:d,115:E},{65:p,67:[1,220],69:[1,221],79:208,113:A,114:d,115:E},{65:p,67:[1,223],69:[1,222],79:208,113:A,114:d,115:E},e(H1,[2,44],{42:Gt}),e(R1,[2,70]),e(R1,[2,69]),{60:[1,224],65:p,79:208,113:A,114:d,115:E},e(R1,[2,72]),e(m1,[2,74]),{30:225,65:p,77:O,78:P,79:164,113:A,114:d,115:E},e(nt,l,{5:226}),e(g,[2,95]),e(b,[2,35]),{41:227,42:S,43:39,45:40,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{10:J,58:$,81:t1,89:228,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{10:J,58:$,81:t1,89:239,101:[1,240],102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{10:J,58:$,81:t1,89:241,101:[1,242],102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{102:[1,243]},{10:J,58:$,81:t1,89:244,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{42:S,45:245,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},e(T,[2,101]),{77:[1,246]},{77:[1,247],95:[1,248]},e(T,[2,109]),e(T,[2,111],{10:[1,249]}),e(T,[2,112]),e(N,[2,51]),e(h1,[2,80]),e(N,[2,52]),{49:[1,250],65:p,79:208,113:A,114:d,115:E},e(N,[2,59]),e(N,[2,54]),e(N,[2,55]),e(N,[2,56]),{106:[1,251]},e(N,[2,58]),e(N,[2,60]),{64:[1,252],65:p,79:208,113:A,114:d,115:E},e(N,[2,62]),e(N,[2,63]),e(N,[2,65]),e(N,[2,64]),e(N,[2,66]),e([10,42,58,86,99,102,103,106,108,111,112,113],[2,78]),{31:[1,253],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,32:[1,254],33:24,34:o1,36:p1,38:A1,40:28,41:38,42:S,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},e(W1,[2,48]),e(T,[2,114],{103:y1}),e(Kt,[2,123],{105:256,10:J,58:$,81:t1,102:e1,106:s1,107:u1,108:i1,109:r1}),e(W,[2,125]),e(W,[2,127]),e(W,[2,128]),e(W,[2,129]),e(W,[2,130]),e(W,[2,131]),e(W,[2,132]),e(W,[2,133]),e(W,[2,134]),e(T,[2,115],{103:y1}),{10:[1,257]},e(T,[2,116],{103:y1}),{10:[1,258]},e(Mt,[2,122]),e(T,[2,98],{103:y1}),e(T,[2,99],{110:109,42:S,58:k,86:x,99:B,102:m,103:y,106:v,108:V,111:L,112:I,113:R}),e(T,[2,103]),e(T,[2,105],{10:[1,259]}),e(T,[2,106]),{95:[1,260]},{49:[1,261]},{60:[1,262]},{64:[1,263]},{8:q,9:Q,11:Z,21:264},e(b,[2,34]),{10:J,58:$,81:t1,102:e1,104:265,105:230,106:s1,107:u1,108:i1,109:r1},e(W,[2,126]),{14:k1,42:b1,58:g1,86:D1,98:266,102:F1,103:T1,106:C1,108:S1,111:_1,112:x1,113:B1,117:84},{14:k1,42:b1,58:g1,86:D1,98:267,102:F1,103:T1,106:C1,108:S1,111:_1,112:x1,113:B1,117:84},{95:[1,268]},e(T,[2,113]),e(N,[2,53]),{30:269,65:p,77:O,78:P,79:164,113:A,114:d,115:E},e(N,[2,61]),e(nt,l,{5:270}),e(Kt,[2,124],{105:256,10:J,58:$,81:t1,102:e1,106:s1,107:u1,108:i1,109:r1}),e(T,[2,119],{117:160,10:[1,271],14:k1,42:b1,58:g1,86:D1,102:F1,103:T1,106:C1,108:S1,111:_1,112:x1,113:B1}),e(T,[2,120],{117:160,10:[1,272],14:k1,42:b1,58:g1,86:D1,102:F1,103:T1,106:C1,108:S1,111:_1,112:x1,113:B1}),e(T,[2,107]),{31:[1,273],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,32:[1,274],33:24,34:o1,36:p1,38:A1,40:28,41:38,42:S,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},{10:J,58:$,81:t1,89:275,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{10:J,58:$,81:t1,89:276,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},e(N,[2,57]),e(b,[2,33]),e(T,[2,117],{103:y1}),e(T,[2,118],{103:y1})],defaultActions:{},parseError:function(a,o){if(o.recoverable)this.trace(a);else{var f=new Error(a);throw f.hash=o,f}},parse:function(a){var o=this,f=[0],r=[],C=[null],t=[],N1=this.table,s="",Y=0,Yt=0,Se=2,jt=1,_e=t.slice.call(arguments,1),_=Object.create(this.lexer),d1={yy:{}};for(var ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ot)&&(d1.yy[ot]=this.yy[ot]);_.setInput(a,d1.yy),d1.yy.lexer=_,d1.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var lt=_.yylloc;t.push(lt);var xe=_.options&&_.options.ranges;typeof d1.yy.parseError=="function"?this.parseError=d1.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Be(){var a1;return a1=r.pop()||_.lex()||jt,typeof a1!="number"&&(a1 instanceof Array&&(r=a1,a1=r.pop()),a1=o.symbols_[a1]||a1),a1}for(var G,E1,j,ht,v1={},q1,n1,zt,Q1;;){if(E1=f[f.length-1],this.defaultActions[E1]?j=this.defaultActions[E1]:((G===null||typeof G>"u")&&(G=Be()),j=N1[E1]&&N1[E1][G]),typeof j>"u"||!j.length||!j[0]){var ft="";Q1=[];for(q1 in N1[E1])this.terminals_[q1]&&q1>Se&&Q1.push("'"+this.terminals_[q1]+"'");_.showPosition?ft="Parse error on line "+(Y+1)+`: +import{c as et,a4 as me,s as ye,g as ve,a as Ve,b as Le,A as Ie,B as Re,l as J1,y as dt,C as Ne,j as we,h as w1}from"./mermaid.core-BAvrjf3l.js";var pt=function(){var e=function(f1,a,o,f){for(o=o||{},f=f1.length;f--;o[f1[f]]=a);return o},u=[1,4],i=[1,3],n=[1,5],c=[1,8,9,10,11,27,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],l=[2,2],h=[1,13],U=[1,14],F=[1,15],w=[1,16],X=[1,23],o1=[1,25],p1=[1,26],A1=[1,27],S=[1,49],k=[1,48],l1=[1,29],U1=[1,30],G1=[1,31],M1=[1,32],K1=[1,33],x=[1,44],B=[1,46],m=[1,42],y=[1,47],v=[1,43],V=[1,50],L=[1,45],I=[1,51],R=[1,52],Y1=[1,34],j1=[1,35],z1=[1,36],X1=[1,37],I1=[1,57],b=[1,8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],q=[1,61],Q=[1,60],Z=[1,62],H1=[8,9,11,73,75],k1=[1,88],b1=[1,93],g1=[1,92],D1=[1,89],F1=[1,85],T1=[1,91],C1=[1,87],S1=[1,94],_1=[1,90],x1=[1,95],B1=[1,86],W1=[8,9,10,11,73,75],N=[8,9,10,11,44,73,75],M=[8,9,10,11,29,42,44,46,48,50,52,54,56,58,61,63,65,66,68,73,75,86,99,102,103,106,108,111,112,113],Et=[8,9,11,42,58,73,75,86,99,102,103,106,108,111,112,113],R1=[42,58,86,99,102,103,106,108,111,112,113],kt=[1,121],bt=[1,120],gt=[1,128],Dt=[1,142],Ft=[1,143],Tt=[1,144],Ct=[1,145],St=[1,130],_t=[1,132],xt=[1,136],Bt=[1,137],mt=[1,138],yt=[1,139],vt=[1,140],Vt=[1,141],Lt=[1,146],It=[1,147],Rt=[1,126],Nt=[1,127],wt=[1,134],Ot=[1,129],Pt=[1,133],Ut=[1,131],nt=[8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Gt=[1,149],T=[8,9,11],K=[8,9,10,11,14,42,58,86,102,103,106,108,111,112,113],p=[1,169],O=[1,165],P=[1,166],A=[1,170],d=[1,167],E=[1,168],m1=[75,113,116],g=[8,9,10,11,12,14,27,29,32,42,58,73,81,82,83,84,85,86,87,102,106,108,111,112,113],Mt=[10,103],h1=[31,47,49,51,53,55,60,62,64,65,67,69,113,114,115],J=[1,235],$=[1,233],t1=[1,237],e1=[1,231],s1=[1,232],u1=[1,234],i1=[1,236],r1=[1,238],y1=[1,255],Kt=[8,9,11,103],W=[8,9,10,11,58,81,102,103,106,107,108,109],at={trace:function(){},yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,link:39,node:40,styledVertex:41,AMP:42,vertex:43,STYLE_SEPARATOR:44,idString:45,DOUBLECIRCLESTART:46,DOUBLECIRCLEEND:47,PS:48,PE:49,"(-":50,"-)":51,STADIUMSTART:52,STADIUMEND:53,SUBROUTINESTART:54,SUBROUTINEEND:55,VERTEX_WITH_PROPS_START:56,"NODE_STRING[field]":57,COLON:58,"NODE_STRING[value]":59,PIPE:60,CYLINDERSTART:61,CYLINDEREND:62,DIAMOND_START:63,DIAMOND_STOP:64,TAGEND:65,TRAPSTART:66,TRAPEND:67,INVTRAPSTART:68,INVTRAPEND:69,linkStatement:70,arrowText:71,TESTSTR:72,START_LINK:73,edgeText:74,LINK:75,edgeTextToken:76,STR:77,MD_STR:78,textToken:79,keywords:80,STYLE:81,LINKSTYLE:82,CLASSDEF:83,CLASS:84,CLICK:85,DOWN:86,UP:87,textNoTagsToken:88,stylesOpt:89,"idString[vertex]":90,"idString[class]":91,CALLBACKNAME:92,CALLBACKARGS:93,HREF:94,LINK_TARGET:95,"STR[link]":96,"STR[tooltip]":97,alphaNum:98,DEFAULT:99,numList:100,INTERPOLATE:101,NUM:102,COMMA:103,style:104,styleComponent:105,NODE_STRING:106,UNIT:107,BRKT:108,PCT:109,idStringToken:110,MINUS:111,MULT:112,UNICODE_TEXT:113,TEXT:114,TAGSTART:115,EDGE_TEXT:116,alphaNumToken:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",42:"AMP",44:"STYLE_SEPARATOR",46:"DOUBLECIRCLESTART",47:"DOUBLECIRCLEEND",48:"PS",49:"PE",50:"(-",51:"-)",52:"STADIUMSTART",53:"STADIUMEND",54:"SUBROUTINESTART",55:"SUBROUTINEEND",56:"VERTEX_WITH_PROPS_START",57:"NODE_STRING[field]",58:"COLON",59:"NODE_STRING[value]",60:"PIPE",61:"CYLINDERSTART",62:"CYLINDEREND",63:"DIAMOND_START",64:"DIAMOND_STOP",65:"TAGEND",66:"TRAPSTART",67:"TRAPEND",68:"INVTRAPSTART",69:"INVTRAPEND",72:"TESTSTR",73:"START_LINK",75:"LINK",77:"STR",78:"MD_STR",81:"STYLE",82:"LINKSTYLE",83:"CLASSDEF",84:"CLASS",85:"CLICK",86:"DOWN",87:"UP",90:"idString[vertex]",91:"idString[class]",92:"CALLBACKNAME",93:"CALLBACKARGS",94:"HREF",95:"LINK_TARGET",96:"STR[link]",97:"STR[tooltip]",99:"DEFAULT",101:"INTERPOLATE",102:"NUM",103:"COMMA",106:"NODE_STRING",107:"UNIT",108:"BRKT",109:"PCT",111:"MINUS",112:"MULT",113:"UNICODE_TEXT",114:"TEXT",115:"TAGSTART",116:"EDGE_TEXT",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[20,3],[20,4],[20,2],[20,1],[40,1],[40,5],[41,1],[41,3],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,8],[43,4],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,4],[43,4],[43,1],[39,2],[39,3],[39,3],[39,1],[39,3],[74,1],[74,2],[74,1],[74,1],[70,1],[71,3],[30,1],[30,2],[30,1],[30,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[100,1],[100,3],[89,1],[89,3],[104,1],[104,2],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[79,1],[79,1],[79,1],[79,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[76,1],[76,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[45,1],[45,2],[98,1],[98,2],[33,1],[33,1],[33,1],[33,1]],performAction:function(a,o,f,r,C,t,N1){var s=t.length-1;switch(C){case 2:this.$=[];break;case 3:(!Array.isArray(t[s])||t[s].length>0)&&t[s-1].push(t[s]),this.$=t[s-1];break;case 4:case 176:this.$=t[s];break;case 11:r.setDirection("TB"),this.$="TB";break;case 12:r.setDirection(t[s-1]),this.$=t[s-1];break;case 27:this.$=t[s-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=r.addSubGraph(t[s-6],t[s-1],t[s-4]);break;case 34:this.$=r.addSubGraph(t[s-3],t[s-1],t[s-3]);break;case 35:this.$=r.addSubGraph(void 0,t[s-1],void 0);break;case 37:this.$=t[s].trim(),r.setAccTitle(this.$);break;case 38:case 39:this.$=t[s].trim(),r.setAccDescription(this.$);break;case 43:r.addLink(t[s-2].stmt,t[s],t[s-1]),this.$={stmt:t[s],nodes:t[s].concat(t[s-2].nodes)};break;case 44:r.addLink(t[s-3].stmt,t[s-1],t[s-2]),this.$={stmt:t[s-1],nodes:t[s-1].concat(t[s-3].nodes)};break;case 45:this.$={stmt:t[s-1],nodes:t[s-1]};break;case 46:this.$={stmt:t[s],nodes:t[s]};break;case 47:this.$=[t[s]];break;case 48:this.$=t[s-4].concat(t[s]);break;case 49:this.$=t[s];break;case 50:this.$=t[s-2],r.setClass(t[s-2],t[s]);break;case 51:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"square");break;case 52:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"doublecircle");break;case 53:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"circle");break;case 54:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"ellipse");break;case 55:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"stadium");break;case 56:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"subroutine");break;case 57:this.$=t[s-7],r.addVertex(t[s-7],t[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[t[s-5],t[s-3]]]));break;case 58:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"cylinder");break;case 59:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"round");break;case 60:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"diamond");break;case 61:this.$=t[s-5],r.addVertex(t[s-5],t[s-2],"hexagon");break;case 62:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"odd");break;case 63:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"trapezoid");break;case 64:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"inv_trapezoid");break;case 65:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_right");break;case 66:this.$=t[s-3],r.addVertex(t[s-3],t[s-1],"lean_left");break;case 67:this.$=t[s],r.addVertex(t[s]);break;case 68:t[s-1].text=t[s],this.$=t[s-1];break;case 69:case 70:t[s-2].text=t[s-1],this.$=t[s-2];break;case 71:this.$=t[s];break;case 72:var Y=r.destructLink(t[s],t[s-2]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length,text:t[s-1]};break;case 73:this.$={text:t[s],type:"text"};break;case 74:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 75:this.$={text:t[s],type:"string"};break;case 76:this.$={text:t[s],type:"markdown"};break;case 77:var Y=r.destructLink(t[s]);this.$={type:Y.type,stroke:Y.stroke,length:Y.length};break;case 78:this.$=t[s-1];break;case 79:this.$={text:t[s],type:"text"};break;case 80:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 81:this.$={text:t[s],type:"string"};break;case 82:case 97:this.$={text:t[s],type:"markdown"};break;case 94:this.$={text:t[s],type:"text"};break;case 95:this.$={text:t[s-1].text+""+t[s],type:t[s-1].type};break;case 96:this.$={text:t[s],type:"text"};break;case 98:this.$=t[s-4],r.addClass(t[s-2],t[s]);break;case 99:this.$=t[s-4],r.setClass(t[s-2],t[s]);break;case 100:case 108:this.$=t[s-1],r.setClickEvent(t[s-1],t[s]);break;case 101:case 109:this.$=t[s-3],r.setClickEvent(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 102:this.$=t[s-2],r.setClickEvent(t[s-2],t[s-1],t[s]);break;case 103:this.$=t[s-4],r.setClickEvent(t[s-4],t[s-3],t[s-2]),r.setTooltip(t[s-4],t[s]);break;case 104:this.$=t[s-2],r.setLink(t[s-2],t[s]);break;case 105:this.$=t[s-4],r.setLink(t[s-4],t[s-2]),r.setTooltip(t[s-4],t[s]);break;case 106:this.$=t[s-4],r.setLink(t[s-4],t[s-2],t[s]);break;case 107:this.$=t[s-6],r.setLink(t[s-6],t[s-4],t[s]),r.setTooltip(t[s-6],t[s-2]);break;case 110:this.$=t[s-1],r.setLink(t[s-1],t[s]);break;case 111:this.$=t[s-3],r.setLink(t[s-3],t[s-2]),r.setTooltip(t[s-3],t[s]);break;case 112:this.$=t[s-3],r.setLink(t[s-3],t[s-2],t[s]);break;case 113:this.$=t[s-5],r.setLink(t[s-5],t[s-4],t[s]),r.setTooltip(t[s-5],t[s-2]);break;case 114:this.$=t[s-4],r.addVertex(t[s-2],void 0,void 0,t[s]);break;case 115:this.$=t[s-4],r.updateLink([t[s-2]],t[s]);break;case 116:this.$=t[s-4],r.updateLink(t[s-2],t[s]);break;case 117:this.$=t[s-8],r.updateLinkInterpolate([t[s-6]],t[s-2]),r.updateLink([t[s-6]],t[s]);break;case 118:this.$=t[s-8],r.updateLinkInterpolate(t[s-6],t[s-2]),r.updateLink(t[s-6],t[s]);break;case 119:this.$=t[s-6],r.updateLinkInterpolate([t[s-4]],t[s]);break;case 120:this.$=t[s-6],r.updateLinkInterpolate(t[s-4],t[s]);break;case 121:case 123:this.$=[t[s]];break;case 122:case 124:t[s-2].push(t[s]),this.$=t[s-2];break;case 126:this.$=t[s-1]+t[s];break;case 174:this.$=t[s];break;case 175:this.$=t[s-1]+""+t[s];break;case 177:this.$=t[s-1]+""+t[s];break;case 178:this.$={stmt:"dir",value:"TB"};break;case 179:this.$={stmt:"dir",value:"BT"};break;case 180:this.$={stmt:"dir",value:"RL"};break;case 181:this.$={stmt:"dir",value:"LR"};break}},table:[{3:1,4:2,9:u,10:i,12:n},{1:[3]},e(c,l,{5:6}),{4:7,9:u,10:i,12:n},{4:8,9:u,10:i,12:n},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,33:24,34:o1,36:p1,38:A1,40:28,41:38,42:S,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},e(c,[2,9]),e(c,[2,10]),e(c,[2,11]),{8:[1,54],9:[1,55],10:I1,15:53,18:56},e(b,[2,3]),e(b,[2,4]),e(b,[2,5]),e(b,[2,6]),e(b,[2,7]),e(b,[2,8]),{8:q,9:Q,11:Z,21:58,39:59,70:63,73:[1,64],75:[1,65]},{8:q,9:Q,11:Z,21:66},{8:q,9:Q,11:Z,21:67},{8:q,9:Q,11:Z,21:68},{8:q,9:Q,11:Z,21:69},{8:q,9:Q,11:Z,21:70},{8:q,9:Q,10:[1,71],11:Z,21:72},e(b,[2,36]),{35:[1,73]},{37:[1,74]},e(b,[2,39]),e(H1,[2,46],{18:75,10:I1}),{10:[1,76]},{10:[1,77]},{10:[1,78]},{10:[1,79]},{14:k1,42:b1,58:g1,77:[1,83],86:D1,92:[1,80],94:[1,81],98:82,102:F1,103:T1,106:C1,108:S1,111:_1,112:x1,113:B1,117:84},e(b,[2,178]),e(b,[2,179]),e(b,[2,180]),e(b,[2,181]),e(W1,[2,47]),e(W1,[2,49],{44:[1,96]}),e(N,[2,67],{110:109,29:[1,97],42:S,46:[1,98],48:[1,99],50:[1,100],52:[1,101],54:[1,102],56:[1,103],58:k,61:[1,104],63:[1,105],65:[1,106],66:[1,107],68:[1,108],86:x,99:B,102:m,103:y,106:v,108:V,111:L,112:I,113:R}),e(M,[2,174]),e(M,[2,135]),e(M,[2,136]),e(M,[2,137]),e(M,[2,138]),e(M,[2,139]),e(M,[2,140]),e(M,[2,141]),e(M,[2,142]),e(M,[2,143]),e(M,[2,144]),e(M,[2,145]),e(c,[2,12]),e(c,[2,18]),e(c,[2,19]),{9:[1,110]},e(Et,[2,26],{18:111,10:I1}),e(b,[2,27]),{40:112,41:38,42:S,43:39,45:40,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},e(b,[2,40]),e(b,[2,41]),e(b,[2,42]),e(R1,[2,71],{71:113,60:[1,115],72:[1,114]}),{74:116,76:117,77:[1,118],78:[1,119],113:kt,116:bt},e([42,58,60,72,86,99,102,103,106,108,111,112,113],[2,77]),e(b,[2,28]),e(b,[2,29]),e(b,[2,30]),e(b,[2,31]),e(b,[2,32]),{10:gt,12:Dt,14:Ft,27:Tt,28:122,32:Ct,42:St,58:_t,73:xt,77:[1,124],78:[1,125],80:135,81:Bt,82:mt,83:yt,84:vt,85:Vt,86:Lt,87:It,88:123,102:Rt,106:Nt,108:wt,111:Ot,112:Pt,113:Ut},e(nt,l,{5:148}),e(b,[2,37]),e(b,[2,38]),e(H1,[2,45],{42:Gt}),{42:S,45:150,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{99:[1,151],100:152,102:[1,153]},{42:S,45:154,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{42:S,45:155,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},e(T,[2,100],{10:[1,156],93:[1,157]}),{77:[1,158]},e(T,[2,108],{117:160,10:[1,159],14:k1,42:b1,58:g1,86:D1,102:F1,103:T1,106:C1,108:S1,111:_1,112:x1,113:B1}),e(T,[2,110],{10:[1,161]}),e(K,[2,176]),e(K,[2,163]),e(K,[2,164]),e(K,[2,165]),e(K,[2,166]),e(K,[2,167]),e(K,[2,168]),e(K,[2,169]),e(K,[2,170]),e(K,[2,171]),e(K,[2,172]),e(K,[2,173]),{42:S,45:162,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{30:163,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:171,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:173,48:[1,172],65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:174,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:175,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:176,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{106:[1,177]},{30:178,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:179,63:[1,180],65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:181,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:182,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{30:183,65:p,77:O,78:P,79:164,113:A,114:d,115:E},e(M,[2,175]),e(c,[2,20]),e(Et,[2,25]),e(H1,[2,43],{18:184,10:I1}),e(R1,[2,68],{10:[1,185]}),{10:[1,186]},{30:187,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{75:[1,188],76:189,113:kt,116:bt},e(m1,[2,73]),e(m1,[2,75]),e(m1,[2,76]),e(m1,[2,161]),e(m1,[2,162]),{8:q,9:Q,10:gt,11:Z,12:Dt,14:Ft,21:191,27:Tt,29:[1,190],32:Ct,42:St,58:_t,73:xt,80:135,81:Bt,82:mt,83:yt,84:vt,85:Vt,86:Lt,87:It,88:192,102:Rt,106:Nt,108:wt,111:Ot,112:Pt,113:Ut},e(g,[2,94]),e(g,[2,96]),e(g,[2,97]),e(g,[2,150]),e(g,[2,151]),e(g,[2,152]),e(g,[2,153]),e(g,[2,154]),e(g,[2,155]),e(g,[2,156]),e(g,[2,157]),e(g,[2,158]),e(g,[2,159]),e(g,[2,160]),e(g,[2,83]),e(g,[2,84]),e(g,[2,85]),e(g,[2,86]),e(g,[2,87]),e(g,[2,88]),e(g,[2,89]),e(g,[2,90]),e(g,[2,91]),e(g,[2,92]),e(g,[2,93]),{6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,32:[1,193],33:24,34:o1,36:p1,38:A1,40:28,41:38,42:S,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},{10:I1,18:194},{10:[1,195],42:S,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:109,111:L,112:I,113:R},{10:[1,196]},{10:[1,197],103:[1,198]},e(Mt,[2,121]),{10:[1,199],42:S,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:109,111:L,112:I,113:R},{10:[1,200],42:S,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:109,111:L,112:I,113:R},{77:[1,201]},e(T,[2,102],{10:[1,202]}),e(T,[2,104],{10:[1,203]}),{77:[1,204]},e(K,[2,177]),{77:[1,205],95:[1,206]},e(W1,[2,50],{110:109,42:S,58:k,86:x,99:B,102:m,103:y,106:v,108:V,111:L,112:I,113:R}),{31:[1,207],65:p,79:208,113:A,114:d,115:E},e(h1,[2,79]),e(h1,[2,81]),e(h1,[2,82]),e(h1,[2,146]),e(h1,[2,147]),e(h1,[2,148]),e(h1,[2,149]),{47:[1,209],65:p,79:208,113:A,114:d,115:E},{30:210,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{49:[1,211],65:p,79:208,113:A,114:d,115:E},{51:[1,212],65:p,79:208,113:A,114:d,115:E},{53:[1,213],65:p,79:208,113:A,114:d,115:E},{55:[1,214],65:p,79:208,113:A,114:d,115:E},{58:[1,215]},{62:[1,216],65:p,79:208,113:A,114:d,115:E},{64:[1,217],65:p,79:208,113:A,114:d,115:E},{30:218,65:p,77:O,78:P,79:164,113:A,114:d,115:E},{31:[1,219],65:p,79:208,113:A,114:d,115:E},{65:p,67:[1,220],69:[1,221],79:208,113:A,114:d,115:E},{65:p,67:[1,223],69:[1,222],79:208,113:A,114:d,115:E},e(H1,[2,44],{42:Gt}),e(R1,[2,70]),e(R1,[2,69]),{60:[1,224],65:p,79:208,113:A,114:d,115:E},e(R1,[2,72]),e(m1,[2,74]),{30:225,65:p,77:O,78:P,79:164,113:A,114:d,115:E},e(nt,l,{5:226}),e(g,[2,95]),e(b,[2,35]),{41:227,42:S,43:39,45:40,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},{10:J,58:$,81:t1,89:228,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{10:J,58:$,81:t1,89:239,101:[1,240],102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{10:J,58:$,81:t1,89:241,101:[1,242],102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{102:[1,243]},{10:J,58:$,81:t1,89:244,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{42:S,45:245,58:k,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R},e(T,[2,101]),{77:[1,246]},{77:[1,247],95:[1,248]},e(T,[2,109]),e(T,[2,111],{10:[1,249]}),e(T,[2,112]),e(N,[2,51]),e(h1,[2,80]),e(N,[2,52]),{49:[1,250],65:p,79:208,113:A,114:d,115:E},e(N,[2,59]),e(N,[2,54]),e(N,[2,55]),e(N,[2,56]),{106:[1,251]},e(N,[2,58]),e(N,[2,60]),{64:[1,252],65:p,79:208,113:A,114:d,115:E},e(N,[2,62]),e(N,[2,63]),e(N,[2,65]),e(N,[2,64]),e(N,[2,66]),e([10,42,58,86,99,102,103,106,108,111,112,113],[2,78]),{31:[1,253],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,32:[1,254],33:24,34:o1,36:p1,38:A1,40:28,41:38,42:S,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},e(W1,[2,48]),e(T,[2,114],{103:y1}),e(Kt,[2,123],{105:256,10:J,58:$,81:t1,102:e1,106:s1,107:u1,108:i1,109:r1}),e(W,[2,125]),e(W,[2,127]),e(W,[2,128]),e(W,[2,129]),e(W,[2,130]),e(W,[2,131]),e(W,[2,132]),e(W,[2,133]),e(W,[2,134]),e(T,[2,115],{103:y1}),{10:[1,257]},e(T,[2,116],{103:y1}),{10:[1,258]},e(Mt,[2,122]),e(T,[2,98],{103:y1}),e(T,[2,99],{110:109,42:S,58:k,86:x,99:B,102:m,103:y,106:v,108:V,111:L,112:I,113:R}),e(T,[2,103]),e(T,[2,105],{10:[1,259]}),e(T,[2,106]),{95:[1,260]},{49:[1,261]},{60:[1,262]},{64:[1,263]},{8:q,9:Q,11:Z,21:264},e(b,[2,34]),{10:J,58:$,81:t1,102:e1,104:265,105:230,106:s1,107:u1,108:i1,109:r1},e(W,[2,126]),{14:k1,42:b1,58:g1,86:D1,98:266,102:F1,103:T1,106:C1,108:S1,111:_1,112:x1,113:B1,117:84},{14:k1,42:b1,58:g1,86:D1,98:267,102:F1,103:T1,106:C1,108:S1,111:_1,112:x1,113:B1,117:84},{95:[1,268]},e(T,[2,113]),e(N,[2,53]),{30:269,65:p,77:O,78:P,79:164,113:A,114:d,115:E},e(N,[2,61]),e(nt,l,{5:270}),e(Kt,[2,124],{105:256,10:J,58:$,81:t1,102:e1,106:s1,107:u1,108:i1,109:r1}),e(T,[2,119],{117:160,10:[1,271],14:k1,42:b1,58:g1,86:D1,102:F1,103:T1,106:C1,108:S1,111:_1,112:x1,113:B1}),e(T,[2,120],{117:160,10:[1,272],14:k1,42:b1,58:g1,86:D1,102:F1,103:T1,106:C1,108:S1,111:_1,112:x1,113:B1}),e(T,[2,107]),{31:[1,273],65:p,79:208,113:A,114:d,115:E},{6:11,7:12,8:h,9:U,10:F,11:w,20:17,22:18,23:19,24:20,25:21,26:22,27:X,32:[1,274],33:24,34:o1,36:p1,38:A1,40:28,41:38,42:S,43:39,45:40,58:k,81:l1,82:U1,83:G1,84:M1,85:K1,86:x,99:B,102:m,103:y,106:v,108:V,110:41,111:L,112:I,113:R,118:Y1,119:j1,120:z1,121:X1},{10:J,58:$,81:t1,89:275,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},{10:J,58:$,81:t1,89:276,102:e1,104:229,105:230,106:s1,107:u1,108:i1,109:r1},e(N,[2,57]),e(b,[2,33]),e(T,[2,117],{103:y1}),e(T,[2,118],{103:y1})],defaultActions:{},parseError:function(a,o){if(o.recoverable)this.trace(a);else{var f=new Error(a);throw f.hash=o,f}},parse:function(a){var o=this,f=[0],r=[],C=[null],t=[],N1=this.table,s="",Y=0,Yt=0,Se=2,jt=1,_e=t.slice.call(arguments,1),_=Object.create(this.lexer),d1={yy:{}};for(var ot in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ot)&&(d1.yy[ot]=this.yy[ot]);_.setInput(a,d1.yy),d1.yy.lexer=_,d1.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var lt=_.yylloc;t.push(lt);var xe=_.options&&_.options.ranges;typeof d1.yy.parseError=="function"?this.parseError=d1.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Be(){var a1;return a1=r.pop()||_.lex()||jt,typeof a1!="number"&&(a1 instanceof Array&&(r=a1,a1=r.pop()),a1=o.symbols_[a1]||a1),a1}for(var G,E1,j,ht,v1={},q1,n1,zt,Q1;;){if(E1=f[f.length-1],this.defaultActions[E1]?j=this.defaultActions[E1]:((G===null||typeof G>"u")&&(G=Be()),j=N1[E1]&&N1[E1][G]),typeof j>"u"||!j.length||!j[0]){var ft="";Q1=[];for(q1 in N1[E1])this.terminals_[q1]&&q1>Se&&Q1.push("'"+this.terminals_[q1]+"'");_.showPosition?ft="Parse error on line "+(Y+1)+`: `+_.showPosition()+` Expecting `+Q1.join(", ")+", got '"+(this.terminals_[G]||G)+"'":ft="Parse error on line "+(Y+1)+": Unexpected "+(G==jt?"end of input":"'"+(this.terminals_[G]||G)+"'"),this.parseError(ft,{text:_.match,token:this.terminals_[G]||G,line:_.yylineno,loc:lt,expected:Q1})}if(j[0]instanceof Array&&j.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E1+", token: "+G);switch(j[0]){case 1:f.push(G),C.push(_.yytext),t.push(_.yylloc),f.push(j[1]),G=null,Yt=_.yyleng,s=_.yytext,Y=_.yylineno,lt=_.yylloc;break;case 2:if(n1=this.productions_[j[1]][1],v1.$=C[C.length-n1],v1._$={first_line:t[t.length-(n1||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(n1||1)].first_column,last_column:t[t.length-1].last_column},xe&&(v1._$.range=[t[t.length-(n1||1)].range[0],t[t.length-1].range[1]]),ht=this.performAction.apply(v1,[s,Yt,Y,d1.yy,j[1],C,t].concat(_e)),typeof ht<"u")return ht;n1&&(f=f.slice(0,-1*n1*2),C=C.slice(0,-1*n1),t=t.slice(0,-1*n1)),f.push(this.productions_[j[1]][0]),C.push(v1.$),t.push(v1._$),zt=N1[f[f.length-2]][f[f.length-1]],f.push(zt);break;case 3:return!0}}return!0}},Ce=function(){var f1={EOF:1,parseError:function(o,f){if(this.yy.parser)this.yy.parser.parseError(o,f);else throw new Error(o)},setInput:function(a,o){return this.yy=o||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var o=a.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},unput:function(a){var o=a.length,f=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===r.length?this.yylloc.first_column:0)+r[r.length-f.length].length-f[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(a){this.unput(this.match.slice(a))},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),o=new Array(a.length+1).join("-");return a+this.upcomingInput()+` diff --git a/starter/src/main/resources/static/notebase/assets/flowDiagram-66a62f08-DWMBDtsb.js b/deploy/server/notebase/assets/flowDiagram-66a62f08-C_WpALI9.js similarity index 97% rename from starter/src/main/resources/static/notebase/assets/flowDiagram-66a62f08-DWMBDtsb.js rename to deploy/server/notebase/assets/flowDiagram-66a62f08-C_WpALI9.js index fa03562174..f7fc9f1db4 100644 --- a/starter/src/main/resources/static/notebase/assets/flowDiagram-66a62f08-DWMBDtsb.js +++ b/deploy/server/notebase/assets/flowDiagram-66a62f08-C_WpALI9.js @@ -1,4 +1,4 @@ -import{p as Lt,f as V}from"./flowDb-956e92f1-DjKrptK2.js";import{h as S,f as tt,G as _t}from"./graph-BpOdqLUS.js";import{h as x,n as U,o as Y,p as et,c as G,r as rt,j as at,l as R,q as z,t as Et}from"./mermaid.core-FIymlv9x.js";import{u as Tt,r as Nt,p as At,l as Ct,d as M}from"./layout-CU5MaBZ2.js";import{a as N,b as nt,i as st,c as E,e as it,d as ot,f as It,g as Bt,s as Mt}from"./styles-c10674c1-C0PgCO5e.js";import{l as Dt}from"./line-SEOZUXIE.js";import"./index-BtAN2wrW.js";import"./index-3862675e-BiX2WQe8.js";import"./clone-BGk7b5r6.js";import"./edges-e0da2a9e-Z33Rjibo.js";import"./createText-2e5e7dd3-DizPWu1a.js";import"./channel-yOhp9TGv.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";function Rt(r){if(!r.ok)throw new Error(r.status+" "+r.statusText);return r.text()}function Gt(r,e){return fetch(r,e).then(Rt)}function Pt(r){return(e,t)=>Gt(e,t).then(n=>new DOMParser().parseFromString(n,r))}var Ut=Pt("image/svg+xml"),H={normal:Wt,vee:Vt,undirected:zt};function $t(r){H=r}function Wt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Vt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function zt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Yt(r,e){var t=r;return t.node().appendChild(e.label),N(t,e.labelStyle),t}function Ht(r,e){for(var t=r.append("text"),n=Xt(e.label).split(` +import{p as Lt,f as V}from"./flowDb-956e92f1-BlVioiOP.js";import{h as S,f as tt,G as _t}from"./graph-heRzvxcs.js";import{h as x,n as U,o as Y,p as et,c as G,r as rt,j as at,l as R,q as z,t as Et}from"./mermaid.core-BAvrjf3l.js";import{u as Tt,r as Nt,p as At,l as Ct,d as M}from"./layout-BLe2lUnK.js";import{a as N,b as nt,i as st,c as E,e as it,d as ot,f as It,g as Bt,s as Mt}from"./styles-c10674c1-BA5ccCud.js";import{l as Dt}from"./line-F7vHXKX5.js";import"./index-D31-yJHm.js";import"./index-3862675e-m4ra-w5r.js";import"./clone-nOFmi_ju.js";import"./edges-e0da2a9e-CZlmjOgF.js";import"./createText-2e5e7dd3-Cn1HPiN2.js";import"./channel-BteF1w-T.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";function Rt(r){if(!r.ok)throw new Error(r.status+" "+r.statusText);return r.text()}function Gt(r,e){return fetch(r,e).then(Rt)}function Pt(r){return(e,t)=>Gt(e,t).then(n=>new DOMParser().parseFromString(n,r))}var Ut=Pt("image/svg+xml"),H={normal:Wt,vee:Vt,undirected:zt};function $t(r){H=r}function Wt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Vt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function zt(r,e,t,n){var a=r.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto"),s=a.append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");N(s,t[n+"Style"]),t[n+"Class"]&&s.attr("class",t[n+"Class"])}function Yt(r,e){var t=r;return t.node().appendChild(e.label),N(t,e.labelStyle),t}function Ht(r,e){for(var t=r.append("text"),n=Xt(e.label).split(` `),a=0;a0}function T(r,e,t){var n=r.x,a=r.y,s=[],i=Number.POSITIVE_INFINITY,o=Number.POSITIVE_INFINITY;e.forEach(function(p){i=Math.min(i,p.x),o=Math.min(o,p.y)});for(var c=n-r.width/2-i,d=a-r.height/2-o,l=0;l1&&s.sort(function(p,y){var f=p.x-t.x,g=p.y-t.y,k=Math.sqrt(f*f+g*g),I=y.x-t.x,_=y.y-t.y,$=Math.sqrt(I*I+_*_);return k<$?-1:k===$?0:1}),s[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",r),r)}function Z(r,e){var t=r.x,n=r.y,a=e.x-t,s=e.y-n,i=r.width/2,o=r.height/2,c,d;return Math.abs(s)*i>Math.abs(a)*o?(s<0&&(o=-o),c=s===0?0:o*a/s,d=o):(a<0&&(i=-i),c=i,d=a===0?0:i*s/a),{x:t+c,y:n+d}}var K={rect:oe,ellipse:le,circle:ce,diamond:de};function ie(r){K=r}function oe(r,e,t){var n=r.insert("rect",":first-child").attr("rx",t.rx).attr("ry",t.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return t.intersect=function(a){return Z(t,a)},n}function le(r,e,t){var n=e.width/2,a=e.height/2,s=r.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",n).attr("ry",a);return t.intersect=function(i){return ct(t,n,a,i)},s}function ce(r,e,t){var n=Math.max(e.width,e.height)/2,a=r.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",n);return t.intersect=function(s){return ne(t,n,s)},a}function de(r,e,t){var n=e.width*Math.SQRT2/2,a=e.height*Math.SQRT2/2,s=[{x:0,y:-a},{x:-n,y:0},{x:0,y:a},{x:n,y:0}],i=r.insert("polygon",":first-child").attr("points",s.map(function(o){return o.x+","+o.y}).join(" "));return t.intersect=function(o){return T(t,s,o)},i}function he(){var r=function(e,t){pe(t);var n=D(e,"output"),a=D(n,"clusters"),s=D(n,"edgePaths"),i=F(D(n,"edgeLabels"),t),o=Q(D(n,"nodes"),t,K);Ct(t),ae(o,t),re(i,t),q(s,t,H);var c=X(a,t);ee(c,t),ve(t)};return r.createNodes=function(e){return arguments.length?(te(e),r):Q},r.createClusters=function(e){return arguments.length?(Ft(e),r):X},r.createEdgeLabels=function(e){return arguments.length?(qt(e),r):F},r.createEdgePaths=function(e){return arguments.length?(Qt(e),r):q},r.shapes=function(e){return arguments.length?(ie(e),r):K},r.arrows=function(e){return arguments.length?($t(e),r):H},r}var ue={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},fe={arrowhead:"normal",curve:U};function pe(r){r.nodes().forEach(function(e){var t=r.node(e);!S(t,"label")&&!r.children(e).length&&(t.label=e),S(t,"paddingX")&&M(t,{paddingLeft:t.paddingX,paddingRight:t.paddingX}),S(t,"paddingY")&&M(t,{paddingTop:t.paddingY,paddingBottom:t.paddingY}),S(t,"padding")&&M(t,{paddingLeft:t.padding,paddingRight:t.padding,paddingTop:t.padding,paddingBottom:t.padding}),M(t,ue),tt(["paddingLeft","paddingRight","paddingTop","paddingBottom"],function(n){t[n]=Number(t[n])}),S(t,"width")&&(t._prevWidth=t.width),S(t,"height")&&(t._prevHeight=t.height)}),r.edges().forEach(function(e){var t=r.edge(e);S(t,"label")||(t.label=""),M(t,fe)})}function ve(r){tt(r.nodes(),function(e){var t=r.node(e);S(t,"_prevWidth")?t.width=t._prevWidth:delete t.width,S(t,"_prevHeight")?t.height=t._prevHeight:delete t.height,delete t._prevWidth,delete t._prevHeight})}function D(r,e){var t=r.select("g."+e);return t.empty()&&(t=r.append("g").attr("class",e)),t}function dt(r,e,t){const n=e.width,a=e.height,s=(n+a)*.9,i=[{x:s/2,y:0},{x:s,y:-s/2},{x:s/2,y:-s},{x:0,y:-s/2}],o=A(r,s,s,i);return t.intersect=function(c){return T(t,i,c)},o}function ht(r,e,t){const a=e.height,s=a/4,i=e.width+2*s,o=[{x:s,y:0},{x:i-s,y:0},{x:i,y:-a/2},{x:i-s,y:-a},{x:s,y:-a},{x:0,y:-a/2}],c=A(r,i,a,o);return t.intersect=function(d){return T(t,o,d)},c}function ut(r,e,t){const n=e.width,a=e.height,s=[{x:-a/2,y:0},{x:n,y:0},{x:n,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function ft(r,e,t){const n=e.width,a=e.height,s=[{x:-2*a/6,y:0},{x:n-a/6,y:0},{x:n+2*a/6,y:-a},{x:a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function pt(r,e,t){const n=e.width,a=e.height,s=[{x:2*a/6,y:0},{x:n+a/6,y:0},{x:n-2*a/6,y:-a},{x:-a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function vt(r,e,t){const n=e.width,a=e.height,s=[{x:-2*a/6,y:0},{x:n+2*a/6,y:0},{x:n-a/6,y:-a},{x:a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function gt(r,e,t){const n=e.width,a=e.height,s=[{x:a/6,y:0},{x:n-a/6,y:0},{x:n+2*a/6,y:-a},{x:-2*a/6,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function yt(r,e,t){const n=e.width,a=e.height,s=[{x:0,y:0},{x:n+a/2,y:0},{x:n,y:-a/2},{x:n+a/2,y:-a},{x:0,y:-a}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function wt(r,e,t){const n=e.height,a=e.width+n/4,s=r.insert("rect",":first-child").attr("rx",n/2).attr("ry",n/2).attr("x",-a/2).attr("y",-n/2).attr("width",a).attr("height",n);return t.intersect=function(i){return Z(t,i)},s}function mt(r,e,t){const n=e.width,a=e.height,s=[{x:0,y:0},{x:n,y:0},{x:n,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:n+8,y:0},{x:n+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],i=A(r,n,a,s);return t.intersect=function(o){return T(t,s,o)},i}function xt(r,e,t){const n=e.width,a=n/2,s=a/(2.5+n/50),i=e.height+s,o="M 0,"+s+" a "+a+","+s+" 0,0,0 "+n+" 0 a "+a+","+s+" 0,0,0 "+-n+" 0 l 0,"+i+" a "+a+","+s+" 0,0,0 "+n+" 0 l 0,"+-i,c=r.attr("label-offset-y",s).insert("path",":first-child").attr("d",o).attr("transform","translate("+-n/2+","+-(i/2+s)+")");return t.intersect=function(d){const l=Z(t,d),v=l.x-t.x;if(a!=0&&(Math.abs(v)t.height/2-s)){let h=s*s*(1-v*v/(a*a));h!=0&&(h=Math.sqrt(h)),h=s-h,d.y-t.y>0&&(h=-h),l.y+=h}return l},c}function ge(r){r.shapes().question=dt,r.shapes().hexagon=ht,r.shapes().stadium=wt,r.shapes().subroutine=mt,r.shapes().cylinder=xt,r.shapes().rect_left_inv_arrow=ut,r.shapes().lean_right=ft,r.shapes().lean_left=pt,r.shapes().trapezoid=vt,r.shapes().inv_trapezoid=gt,r.shapes().rect_right_inv_arrow=yt}function ye(r){r({question:dt}),r({hexagon:ht}),r({stadium:wt}),r({subroutine:mt}),r({cylinder:xt}),r({rect_left_inv_arrow:ut}),r({lean_right:ft}),r({lean_left:pt}),r({trapezoid:vt}),r({inv_trapezoid:gt}),r({rect_right_inv_arrow:yt})}function A(r,e,t,n){return r.insert("polygon",":first-child").attr("points",n.map(function(a){return a.x+","+a.y}).join(" ")).attr("transform","translate("+-e/2+","+t/2+")")}const we={addToRender:ge,addToRenderV2:ye},bt={},me=function(r){const e=Object.keys(r);for(const t of e)bt[t]=r[t]},kt=async function(r,e,t,n,a,s){const i=n?n.select(`[id="${t}"]`):x(`[id="${t}"]`),o=a||document,c=Object.keys(r);for(const d of c){const l=r[d];let v="default";l.classes.length>0&&(v=l.classes.join(" "));const h=Y(l.styles);let u=l.text!==void 0?l.text:l.id,p;if(et(G().flowchart.htmlLabels)){const g={label:await rt(u.replace(/fa[blrs]?:fa-[\w-]+/g,k=>``),G())};p=nt(i,g).node(),p.parentNode.removeChild(p)}else{const g=o.createElementNS("http://www.w3.org/2000/svg","text");g.setAttribute("style",h.labelStyle.replace("color:","fill:"));const k=u.split(at.lineBreakRegex);for(const I of k){const _=o.createElementNS("http://www.w3.org/2000/svg","tspan");_.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),_.setAttribute("dy","1em"),_.setAttribute("x","1"),_.textContent=I,g.appendChild(_)}p=g}let y=0,f="";switch(l.type){case"round":y=5,f="rect";break;case"square":f="rect";break;case"diamond":f="question";break;case"hexagon":f="hexagon";break;case"odd":f="rect_left_inv_arrow";break;case"lean_right":f="lean_right";break;case"lean_left":f="lean_left";break;case"trapezoid":f="trapezoid";break;case"inv_trapezoid":f="inv_trapezoid";break;case"odd_right":f="rect_left_inv_arrow";break;case"circle":f="circle";break;case"ellipse":f="ellipse";break;case"stadium":f="stadium";break;case"subroutine":f="subroutine";break;case"cylinder":f="cylinder";break;case"group":f="rect";break;default:f="rect"}R.warn("Adding node",l.id,l.domId),e.setNode(s.db.lookUpDomId(l.id),{labelType:"svg",labelStyle:h.labelStyle,shape:f,label:p,rx:y,ry:y,class:v,style:h.style,id:s.db.lookUpDomId(l.id)})}},St=async function(r,e,t){let n=0,a,s;if(r.defaultStyle!==void 0){const i=Y(r.defaultStyle);a=i.style,s=i.labelStyle}for(const i of r){n++;const o="L-"+i.start+"-"+i.end,c="LS-"+i.start,d="LE-"+i.end,l={};i.type==="arrow_open"?l.arrowhead="none":l.arrowhead="normal";let v="",h="";if(i.style!==void 0){const u=Y(i.style);v=u.style,h=u.labelStyle}else switch(i.stroke){case"normal":v="fill:none",a!==void 0&&(v=a),s!==void 0&&(h=s);break;case"dotted":v="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":v=" stroke-width: 3.5px;fill:none";break}l.style=v,l.labelStyle=h,i.interpolate!==void 0?l.curve=z(i.interpolate,U):r.defaultInterpolate!==void 0?l.curve=z(r.defaultInterpolate,U):l.curve=z(bt.curve,U),i.text===void 0?i.style!==void 0&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",et(G().flowchart.htmlLabels)?(l.labelType="html",l.label=`${await rt(i.text.replace(/fa[blrs]?:fa-[\w-]+/g,u=>``),G())}`):(l.labelType="text",l.label=i.text.replace(at.lineBreakRegex,` `),i.style===void 0&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),l.id=o,l.class=c+" "+d,l.minlen=i.length||1,e.setEdge(t.db.lookUpDomId(i.start),t.db.lookUpDomId(i.end),l,n)}},xe=function(r,e){return R.info("Extracting classes"),e.db.getClasses()},be=async function(r,e,t,n){R.info("Drawing flowchart");const{securityLevel:a,flowchart:s}=G();let i;a==="sandbox"&&(i=x("#i"+e));const o=a==="sandbox"?x(i.nodes()[0].contentDocument.body):x("body"),c=a==="sandbox"?i.nodes()[0].contentDocument:document;let d=n.db.getDirection();d===void 0&&(d="TD");const l=s.nodeSpacing||50,v=s.rankSpacing||50,h=new _t({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:l,ranksep:v,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});let u;const p=n.db.getSubGraphs();for(let w=p.length-1;w>=0;w--)u=p[w],n.db.addVertex(u.id,u.title,"group",void 0,u.classes);const y=n.db.getVertices();R.warn("Get vertices",y);const f=n.db.getEdges();let g=0;for(g=p.length-1;g>=0;g--){u=p[g],Mt("cluster").append("text");for(let w=0;w{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,ke.setConf(r.flowchart),V.clear(),V.setGen("gen-1")}};export{Pe as diagram}; diff --git a/deploy/server/notebase/assets/flowDiagram-v2-96b9c2cf-BZH0Lo_h.js b/deploy/server/notebase/assets/flowDiagram-v2-96b9c2cf-BZH0Lo_h.js deleted file mode 100644 index d90d782a96..0000000000 --- a/deploy/server/notebase/assets/flowDiagram-v2-96b9c2cf-BZH0Lo_h.js +++ /dev/null @@ -1 +0,0 @@ -import{p as e,f as o}from"./flowDb-956e92f1-BWPLdPwi.js";import{f as t,g as a}from"./styles-c10674c1-CxQKMfjp.js";import{u as i}from"./mermaid.core-C-ExL7Zv.js";import"./graph-1GVnZ2QQ.js";import"./layout-BoOjEFWe.js";import"./index-OntvGoV0.js";import"./index-3862675e-BWNp9fcM.js";import"./clone-EOKkErtd.js";import"./edges-e0da2a9e-Db8forlG.js";import"./createText-2e5e7dd3-CkLmKZf8.js";import"./line-CZuLgQF7.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";import"./channel-UELr_Bsf.js";const n={parser:e,db:o,renderer:t,styles:a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,i({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{n as diagram}; diff --git a/deploy/server/notebase/assets/flowDiagram-v2-96b9c2cf-C9e0plfq.js b/deploy/server/notebase/assets/flowDiagram-v2-96b9c2cf-C9e0plfq.js new file mode 100644 index 0000000000..30ba15d537 --- /dev/null +++ b/deploy/server/notebase/assets/flowDiagram-v2-96b9c2cf-C9e0plfq.js @@ -0,0 +1 @@ +import{p as e,f as o}from"./flowDb-956e92f1-BlVioiOP.js";import{f as t,g as a}from"./styles-c10674c1-BA5ccCud.js";import{u as i}from"./mermaid.core-BAvrjf3l.js";import"./graph-heRzvxcs.js";import"./layout-BLe2lUnK.js";import"./index-D31-yJHm.js";import"./index-3862675e-m4ra-w5r.js";import"./clone-nOFmi_ju.js";import"./edges-e0da2a9e-CZlmjOgF.js";import"./createText-2e5e7dd3-Cn1HPiN2.js";import"./line-F7vHXKX5.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";import"./channel-BteF1w-T.js";const n={parser:e,db:o,renderer:t,styles:a,init:r=>{r.flowchart||(r.flowchart={}),r.flowchart.arrowMarkerAbsolute=r.arrowMarkerAbsolute,i({flowchart:{arrowMarkerAbsolute:r.arrowMarkerAbsolute}}),t.setConf(r.flowchart),o.clear(),o.setGen("gen-2")}};export{n as diagram}; diff --git a/deploy/server/notebase/assets/flowchart-elk-definition-4a651766-3aIsOdTI.js b/deploy/server/notebase/assets/flowchart-elk-definition-4a651766-9vYtQEKe.js similarity index 99% rename from deploy/server/notebase/assets/flowchart-elk-definition-4a651766-3aIsOdTI.js rename to deploy/server/notebase/assets/flowchart-elk-definition-4a651766-9vYtQEKe.js index 8cb450ddcb..f9c94f95a4 100644 --- a/deploy/server/notebase/assets/flowchart-elk-definition-4a651766-3aIsOdTI.js +++ b/deploy/server/notebase/assets/flowchart-elk-definition-4a651766-9vYtQEKe.js @@ -1,4 +1,4 @@ -import{d as xNe,p as FNe}from"./flowDb-956e92f1-BWPLdPwi.js";import{l as Ba,h as IO,V as xU,t as BNe,o as E0n,q as j0n,n as $U,j as RNe}from"./mermaid.core-C-ExL7Zv.js";import{i as KNe,a as _Ne,l as HNe,b as qNe,k as UNe,m as GNe}from"./edges-e0da2a9e-Db8forlG.js";import{Q as Nse,g as zNe}from"./index-OntvGoV0.js";import{l as XNe}from"./line-CZuLgQF7.js";import"./createText-2e5e7dd3-CkLmKZf8.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";function NU(ct){throw new Error('Could not dynamically require "'+ct+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Bse={exports:{}};(function(ct,_t){(function(Xt){ct.exports=Xt()})(function(){return function(){function Xt(gt,Sr,Di){function y(Ht,Jt){if(!Sr[Ht]){if(!gt[Ht]){var ze=typeof NU=="function"&&NU;if(!Jt&&ze)return ze(Ht,!0);if(Wt)return Wt(Ht,!0);var Yi=new Error("Cannot find module '"+Ht+"'");throw Yi.code="MODULE_NOT_FOUND",Yi}var Ri=Sr[Ht]={exports:{}};gt[Ht][0].call(Ri.exports,function(En){var hu=gt[Ht][1][En];return y(hu||En)},Ri,Ri.exports,Xt,gt,Sr,Di)}return Sr[Ht].exports}for(var Wt=typeof NU=="function"&&NU,Bu=0;Bu0&&arguments[0]!==void 0?arguments[0]:{},Yi=ze.defaultLayoutOptions,Ri=Yi===void 0?{}:Yi,En=ze.algorithms,hu=En===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:En,Qc=ze.workerFactory,Ru=ze.workerUrl;if(y(this,Ht),this.defaultLayoutOptions=Ri,this.initialized=!1,typeof Ru>"u"&&typeof Qc>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Pr=Qc;typeof Ru<"u"&&typeof Qc>"u"&&(Pr=function(N1){return new Worker(N1)});var Cf=Pr(Ru);if(typeof Cf.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new Bu(Cf),this.worker.postMessage({cmd:"register",algorithms:hu}).then(function(L1){return Jt.initialized=!0}).catch(console.err)}return Di(Ht,[{key:"layout",value:function(ze){var Yi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ri=Yi.layoutOptions,En=Ri===void 0?this.defaultLayoutOptions:Ri,hu=Yi.logging,Qc=hu===void 0?!1:hu,Ru=Yi.measureExecutionTime,Pr=Ru===void 0?!1:Ru;return ze?this.worker.postMessage({cmd:"layout",graph:ze,layoutOptions:En,options:{logging:Qc,measureExecutionTime:Pr}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}]),Ht}();Sr.default=Wt;var Bu=function(){function Ht(Jt){var ze=this;if(y(this,Ht),Jt===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=Jt,this.worker.onmessage=function(Yi){setTimeout(function(){ze.receive(ze,Yi)},0)}}return Di(Ht,[{key:"postMessage",value:function(ze){var Yi=this.id||0;this.id=Yi+1,ze.id=Yi;var Ri=this;return new Promise(function(En,hu){Ri.resolvers[Yi]=function(Qc,Ru){Qc?(Ri.convertGwtStyleError(Qc),hu(Qc)):En(Ru)},Ri.worker.postMessage(ze)})}},{key:"receive",value:function(ze,Yi){var Ri=Yi.data,En=ze.resolvers[Ri.id];En&&(delete ze.resolvers[Ri.id],Ri.error?En(Ri.error):En(null,Ri.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(ze){if(ze){var Yi=ze.__java$exception;Yi&&(Yi.cause&&Yi.cause.backingJsObject&&(ze.cause=Yi.cause.backingJsObject,this.convertGwtStyleError(ze.cause)),delete ze.__java$exception)}}}]),Ht}()},{}],2:[function(Xt,gt,Sr){(function(Di){(function(){var y;typeof window<"u"?y=window:typeof Di<"u"?y=Di:typeof self<"u"&&(y=self);var Wt;function Bu(){}function Ht(){}function Jt(){}function ze(){}function Yi(){}function Ri(){}function En(){}function hu(){}function Qc(){}function Ru(){}function Pr(){}function Cf(){}function L1(){}function N1(){}function og(){}function V3(){}function $1(){}function ul(){}function C0n(){}function M0n(){}function J2(){}function F(){}function T0n(){}function mE(){}function A0n(){}function S0n(){}function P0n(){}function I0n(){}function O0n(){}function FU(){}function D0n(){}function L0n(){}function N0n(){}function OO(){}function $0n(){}function x0n(){}function F0n(){}function DO(){}function B0n(){}function R0n(){}function BU(){}function K0n(){}function _0n(){}function yu(){}function ju(){}function Q2(){}function Y2(){}function H0n(){}function q0n(){}function U0n(){}function G0n(){}function RU(){}function Eu(){}function Z2(){}function np(){}function z0n(){}function X0n(){}function LO(){}function V0n(){}function W0n(){}function J0n(){}function Q0n(){}function Y0n(){}function Z0n(){}function nbn(){}function ebn(){}function tbn(){}function ibn(){}function rbn(){}function cbn(){}function ubn(){}function obn(){}function sbn(){}function fbn(){}function hbn(){}function lbn(){}function abn(){}function dbn(){}function bbn(){}function wbn(){}function gbn(){}function pbn(){}function mbn(){}function vbn(){}function kbn(){}function ybn(){}function jbn(){}function Ebn(){}function Cbn(){}function Mbn(){}function Tbn(){}function KU(){}function Abn(){}function Sbn(){}function Pbn(){}function Ibn(){}function NO(){}function $O(){}function vE(){}function Obn(){}function Dbn(){}function xO(){}function Lbn(){}function Nbn(){}function $bn(){}function kE(){}function xbn(){}function Fbn(){}function Bbn(){}function Rbn(){}function Kbn(){}function _bn(){}function Hbn(){}function qbn(){}function Ubn(){}function _U(){}function Gbn(){}function zbn(){}function HU(){}function Xbn(){}function Vbn(){}function Wbn(){}function Jbn(){}function Qbn(){}function Ybn(){}function Zbn(){}function nwn(){}function ewn(){}function twn(){}function iwn(){}function rwn(){}function cwn(){}function FO(){}function uwn(){}function own(){}function swn(){}function fwn(){}function hwn(){}function lwn(){}function awn(){}function dwn(){}function bwn(){}function qU(){}function UU(){}function wwn(){}function gwn(){}function pwn(){}function mwn(){}function vwn(){}function kwn(){}function ywn(){}function jwn(){}function Ewn(){}function Cwn(){}function Mwn(){}function Twn(){}function Awn(){}function Swn(){}function Pwn(){}function Iwn(){}function Own(){}function Dwn(){}function Lwn(){}function Nwn(){}function $wn(){}function xwn(){}function Fwn(){}function Bwn(){}function Rwn(){}function Kwn(){}function _wn(){}function Hwn(){}function qwn(){}function Uwn(){}function Gwn(){}function zwn(){}function Xwn(){}function Vwn(){}function Wwn(){}function Jwn(){}function Qwn(){}function Ywn(){}function Zwn(){}function ngn(){}function egn(){}function tgn(){}function ign(){}function rgn(){}function cgn(){}function ugn(){}function ogn(){}function sgn(){}function fgn(){}function hgn(){}function lgn(){}function agn(){}function dgn(){}function bgn(){}function wgn(){}function ggn(){}function pgn(){}function mgn(){}function vgn(){}function kgn(){}function ygn(){}function jgn(){}function Egn(){}function Cgn(){}function Mgn(){}function Tgn(){}function Agn(){}function Sgn(){}function Pgn(){}function Ign(){}function Ogn(){}function Dgn(){}function Lgn(){}function Ngn(){}function $gn(){}function xgn(){}function Fgn(){}function Bgn(){}function Rgn(){}function Kgn(){}function _gn(){}function Hgn(){}function qgn(){}function Ugn(){}function Ggn(){}function zgn(){}function Xgn(){}function Vgn(){}function Wgn(){}function Jgn(){}function Qgn(){}function Ygn(){}function Zgn(){}function n2n(){}function e2n(){}function t2n(){}function i2n(){}function r2n(){}function c2n(){}function u2n(){}function GU(){}function o2n(){}function s2n(){}function f2n(){}function h2n(){}function l2n(){}function a2n(){}function d2n(){}function b2n(){}function w2n(){}function g2n(){}function p2n(){}function m2n(){}function v2n(){}function k2n(){}function y2n(){}function j2n(){}function E2n(){}function C2n(){}function M2n(){}function T2n(){}function A2n(){}function S2n(){}function P2n(){}function I2n(){}function O2n(){}function D2n(){}function L2n(){}function N2n(){}function $2n(){}function x2n(){}function F2n(){}function B2n(){}function R2n(){}function K2n(){}function _2n(){}function H2n(){}function q2n(){}function U2n(){}function G2n(){}function z2n(){}function X2n(){}function V2n(){}function W2n(){}function J2n(){}function Q2n(){}function Y2n(){}function Z2n(){}function npn(){}function epn(){}function tpn(){}function ipn(){}function rpn(){}function cpn(){}function upn(){}function opn(){}function spn(){}function fpn(){}function hpn(){}function lpn(){}function apn(){}function dpn(){}function bpn(){}function wpn(){}function gpn(){}function ppn(){}function mpn(){}function vpn(){}function kpn(){}function ypn(){}function jpn(){}function Epn(){}function Cpn(){}function Mpn(){}function zU(){}function Tpn(){}function Apn(){}function Spn(){}function Ppn(){}function Ipn(){}function Opn(){}function Dpn(){}function Lpn(){}function Npn(){}function $pn(){}function XU(){}function xpn(){}function Fpn(){}function Bpn(){}function Rpn(){}function Kpn(){}function _pn(){}function VU(){}function WU(){}function Hpn(){}function JU(){}function QU(){}function qpn(){}function Upn(){}function Gpn(){}function zpn(){}function Xpn(){}function Vpn(){}function Wpn(){}function Jpn(){}function Qpn(){}function Ypn(){}function Zpn(){}function YU(){}function n3n(){}function e3n(){}function t3n(){}function i3n(){}function r3n(){}function c3n(){}function u3n(){}function o3n(){}function s3n(){}function f3n(){}function h3n(){}function l3n(){}function a3n(){}function d3n(){}function b3n(){}function w3n(){}function g3n(){}function p3n(){}function m3n(){}function v3n(){}function k3n(){}function y3n(){}function j3n(){}function E3n(){}function C3n(){}function M3n(){}function T3n(){}function A3n(){}function S3n(){}function P3n(){}function I3n(){}function O3n(){}function D3n(){}function L3n(){}function N3n(){}function $3n(){}function x3n(){}function F3n(){}function B3n(){}function R3n(){}function K3n(){}function _3n(){}function H3n(){}function q3n(){}function U3n(){}function G3n(){}function z3n(){}function X3n(){}function V3n(){}function W3n(){}function J3n(){}function Q3n(){}function Y3n(){}function Z3n(){}function n4n(){}function e4n(){}function t4n(){}function i4n(){}function r4n(){}function c4n(){}function u4n(){}function o4n(){}function s4n(){}function f4n(){}function h4n(){}function l4n(){}function a4n(){}function d4n(){}function b4n(){}function w4n(){}function g4n(){}function p4n(){}function m4n(){}function v4n(){}function k4n(){}function y4n(){}function j4n(){}function E4n(){}function C4n(){}function M4n(){}function T4n(){}function A4n(){}function S4n(){}function P4n(){}function I4n(){}function O4n(){}function _se(){}function D4n(){}function L4n(){}function N4n(){}function $4n(){}function x4n(){}function F4n(){}function B4n(){}function R4n(){}function K4n(){}function _4n(){}function H4n(){}function q4n(){}function U4n(){}function G4n(){}function z4n(){}function X4n(){}function V4n(){}function W4n(){}function J4n(){}function Q4n(){}function Y4n(){}function Z4n(){}function nmn(){}function emn(){}function tmn(){}function imn(){}function rmn(){}function BO(){}function RO(){}function cmn(){}function KO(){}function umn(){}function omn(){}function smn(){}function fmn(){}function hmn(){}function lmn(){}function amn(){}function dmn(){}function bmn(){}function wmn(){}function ZU(){}function gmn(){}function pmn(){}function mmn(){}function Hse(){}function vmn(){}function kmn(){}function ymn(){}function jmn(){}function Emn(){}function Cmn(){}function Mmn(){}function Ra(){}function Tmn(){}function ep(){}function nG(){}function Amn(){}function Smn(){}function Pmn(){}function Imn(){}function Omn(){}function Dmn(){}function Lmn(){}function Nmn(){}function $mn(){}function xmn(){}function Fmn(){}function Bmn(){}function Rmn(){}function Kmn(){}function _mn(){}function Hmn(){}function qmn(){}function Umn(){}function Gmn(){}function hn(){}function zmn(){}function Xmn(){}function Vmn(){}function Wmn(){}function Jmn(){}function Qmn(){}function Ymn(){}function Zmn(){}function nvn(){}function evn(){}function tvn(){}function ivn(){}function rvn(){}function _O(){}function cvn(){}function uvn(){}function ovn(){}function yE(){}function svn(){}function HO(){}function jE(){}function fvn(){}function eG(){}function hvn(){}function lvn(){}function avn(){}function dvn(){}function bvn(){}function wvn(){}function EE(){}function gvn(){}function pvn(){}function CE(){}function mvn(){}function ME(){}function vvn(){}function tG(){}function kvn(){}function qO(){}function iG(){}function yvn(){}function jvn(){}function Evn(){}function Cvn(){}function qse(){}function Mvn(){}function Tvn(){}function Avn(){}function Svn(){}function Pvn(){}function Ivn(){}function Ovn(){}function Dvn(){}function Lvn(){}function Nvn(){}function W3(){}function UO(){}function $vn(){}function xvn(){}function Fvn(){}function Bvn(){}function Rvn(){}function Kvn(){}function _vn(){}function Hvn(){}function qvn(){}function Uvn(){}function Gvn(){}function zvn(){}function Xvn(){}function Vvn(){}function Wvn(){}function Jvn(){}function Qvn(){}function Yvn(){}function Zvn(){}function n6n(){}function e6n(){}function t6n(){}function i6n(){}function r6n(){}function c6n(){}function u6n(){}function o6n(){}function s6n(){}function f6n(){}function h6n(){}function l6n(){}function a6n(){}function d6n(){}function b6n(){}function w6n(){}function g6n(){}function p6n(){}function m6n(){}function v6n(){}function k6n(){}function y6n(){}function j6n(){}function E6n(){}function C6n(){}function M6n(){}function T6n(){}function A6n(){}function S6n(){}function P6n(){}function I6n(){}function O6n(){}function D6n(){}function L6n(){}function N6n(){}function $6n(){}function x6n(){}function F6n(){}function B6n(){}function R6n(){}function K6n(){}function _6n(){}function H6n(){}function q6n(){}function U6n(){}function G6n(){}function z6n(){}function X6n(){}function V6n(){}function W6n(){}function J6n(){}function Q6n(){}function Y6n(){}function Z6n(){}function n5n(){}function e5n(){}function t5n(){}function i5n(){}function r5n(){}function c5n(){}function u5n(){}function o5n(){}function s5n(){}function f5n(){}function h5n(){}function l5n(){}function a5n(){}function d5n(){}function b5n(){}function w5n(){}function g5n(){}function p5n(){}function m5n(){}function v5n(){}function k5n(){}function y5n(){}function j5n(){}function E5n(){}function C5n(){}function M5n(){}function T5n(){}function A5n(){}function rG(){}function S5n(){}function P5n(){}function GO(){n6()}function I5n(){u7()}function O5n(){aA()}function D5n(){Q$()}function L5n(){M5()}function N5n(){ann()}function $5n(){qs()}function x5n(){jZ()}function F5n(){zk()}function B5n(){o7()}function R5n(){$7()}function K5n(){aCn()}function _5n(){Hp()}function H5n(){KLn()}function q5n(){yQ()}function U5n(){SOn()}function G5n(){jQ()}function z5n(){pNn()}function X5n(){AOn()}function V5n(){cm()}function W5n(){nxn()}function J5n(){Z$n()}function Q5n(){EDn()}function Y5n(){exn()}function Z5n(){ca()}function n8n(){ZE()}function e8n(){ltn()}function t8n(){cn()}function i8n(){txn()}function r8n(){Pxn()}function c8n(){POn()}function u8n(){nKn()}function o8n(){IOn()}function s8n(){bUn()}function f8n(){qnn()}function h8n(){kl()}function l8n(){wBn()}function a8n(){lc()}function d8n(){ROn()}function b8n(){_p()}function w8n(){Men()}function g8n(){ua()}function p8n(){Ten()}function m8n(){Bf()}function v8n(){Qk()}function k8n(){EF()}function y8n(){Dx()}function cf(){wSn()}function j8n(){YM()}function E8n(){mA()}function cG(){qe()}function C8n(){NT()}function M8n(){YY()}function uG(){D$()}function oG(){KA()}function T8n(){Fen()}function sG(n){Jn(n)}function A8n(n){this.a=n}function TE(n){this.a=n}function S8n(n){this.a=n}function P8n(n){this.a=n}function I8n(n){this.a=n}function O8n(n){this.a=n}function D8n(n){this.a=n}function L8n(n){this.a=n}function fG(n){this.a=n}function hG(n){this.a=n}function N8n(n){this.a=n}function $8n(n){this.a=n}function zO(n){this.a=n}function x8n(n){this.a=n}function F8n(n){this.a=n}function XO(n){this.a=n}function VO(n){this.a=n}function B8n(n){this.a=n}function WO(n){this.a=n}function R8n(n){this.a=n}function K8n(n){this.a=n}function _8n(n){this.a=n}function lG(n){this.b=n}function H8n(n){this.c=n}function q8n(n){this.a=n}function U8n(n){this.a=n}function G8n(n){this.a=n}function z8n(n){this.a=n}function X8n(n){this.a=n}function V8n(n){this.a=n}function W8n(n){this.a=n}function J8n(n){this.a=n}function Q8n(n){this.a=n}function Y8n(n){this.a=n}function Z8n(n){this.a=n}function n9n(n){this.a=n}function e9n(n){this.a=n}function aG(n){this.a=n}function dG(n){this.a=n}function AE(n){this.a=n}function z9(n){this.a=n}function Ka(){this.a=[]}function t9n(n,e){n.a=e}function Use(n,e){n.a=e}function Gse(n,e){n.b=e}function zse(n,e){n.b=e}function Xse(n,e){n.b=e}function bG(n,e){n.j=e}function Vse(n,e){n.g=e}function Wse(n,e){n.i=e}function Jse(n,e){n.c=e}function Qse(n,e){n.c=e}function Yse(n,e){n.d=e}function Zse(n,e){n.d=e}function _a(n,e){n.k=e}function nfe(n,e){n.c=e}function wG(n,e){n.c=e}function gG(n,e){n.a=e}function efe(n,e){n.a=e}function tfe(n,e){n.f=e}function ife(n,e){n.a=e}function rfe(n,e){n.b=e}function JO(n,e){n.d=e}function SE(n,e){n.i=e}function pG(n,e){n.o=e}function cfe(n,e){n.r=e}function ufe(n,e){n.a=e}function ofe(n,e){n.b=e}function i9n(n,e){n.e=e}function sfe(n,e){n.f=e}function mG(n,e){n.g=e}function ffe(n,e){n.e=e}function hfe(n,e){n.f=e}function lfe(n,e){n.f=e}function QO(n,e){n.a=e}function YO(n,e){n.b=e}function afe(n,e){n.n=e}function dfe(n,e){n.a=e}function bfe(n,e){n.c=e}function wfe(n,e){n.c=e}function gfe(n,e){n.c=e}function pfe(n,e){n.a=e}function mfe(n,e){n.a=e}function vfe(n,e){n.d=e}function kfe(n,e){n.d=e}function yfe(n,e){n.e=e}function jfe(n,e){n.e=e}function Efe(n,e){n.g=e}function Cfe(n,e){n.f=e}function Mfe(n,e){n.j=e}function Tfe(n,e){n.a=e}function Afe(n,e){n.a=e}function Sfe(n,e){n.b=e}function r9n(n){n.b=n.a}function c9n(n){n.c=n.d.d}function vG(n){this.a=n}function kG(n){this.a=n}function yG(n){this.a=n}function Ha(n){this.a=n}function qa(n){this.a=n}function X9(n){this.a=n}function u9n(n){this.a=n}function jG(n){this.a=n}function V9(n){this.a=n}function PE(n){this.a=n}function ol(n){this.a=n}function Sb(n){this.a=n}function o9n(n){this.a=n}function s9n(n){this.a=n}function ZO(n){this.b=n}function J3(n){this.b=n}function Q3(n){this.b=n}function nD(n){this.a=n}function f9n(n){this.a=n}function eD(n){this.c=n}function C(n){this.c=n}function h9n(n){this.c=n}function Xv(n){this.d=n}function EG(n){this.a=n}function Te(n){this.a=n}function l9n(n){this.a=n}function CG(n){this.a=n}function MG(n){this.a=n}function TG(n){this.a=n}function AG(n){this.a=n}function SG(n){this.a=n}function PG(n){this.a=n}function Y3(n){this.a=n}function a9n(n){this.a=n}function d9n(n){this.a=n}function Z3(n){this.a=n}function b9n(n){this.a=n}function w9n(n){this.a=n}function g9n(n){this.a=n}function p9n(n){this.a=n}function m9n(n){this.a=n}function v9n(n){this.a=n}function k9n(n){this.a=n}function y9n(n){this.a=n}function j9n(n){this.a=n}function E9n(n){this.a=n}function C9n(n){this.a=n}function M9n(n){this.a=n}function T9n(n){this.a=n}function A9n(n){this.a=n}function S9n(n){this.a=n}function Vv(n){this.a=n}function P9n(n){this.a=n}function I9n(n){this.a=n}function O9n(n){this.a=n}function D9n(n){this.a=n}function IE(n){this.a=n}function L9n(n){this.a=n}function N9n(n){this.a=n}function n4(n){this.a=n}function IG(n){this.a=n}function $9n(n){this.a=n}function x9n(n){this.a=n}function F9n(n){this.a=n}function B9n(n){this.a=n}function R9n(n){this.a=n}function K9n(n){this.a=n}function OG(n){this.a=n}function DG(n){this.a=n}function LG(n){this.a=n}function Wv(n){this.a=n}function OE(n){this.e=n}function e4(n){this.a=n}function _9n(n){this.a=n}function tp(n){this.a=n}function NG(n){this.a=n}function H9n(n){this.a=n}function q9n(n){this.a=n}function U9n(n){this.a=n}function G9n(n){this.a=n}function z9n(n){this.a=n}function X9n(n){this.a=n}function V9n(n){this.a=n}function W9n(n){this.a=n}function J9n(n){this.a=n}function Q9n(n){this.a=n}function Y9n(n){this.a=n}function $G(n){this.a=n}function Z9n(n){this.a=n}function n7n(n){this.a=n}function e7n(n){this.a=n}function t7n(n){this.a=n}function i7n(n){this.a=n}function r7n(n){this.a=n}function c7n(n){this.a=n}function u7n(n){this.a=n}function o7n(n){this.a=n}function s7n(n){this.a=n}function f7n(n){this.a=n}function h7n(n){this.a=n}function l7n(n){this.a=n}function a7n(n){this.a=n}function d7n(n){this.a=n}function b7n(n){this.a=n}function w7n(n){this.a=n}function g7n(n){this.a=n}function p7n(n){this.a=n}function m7n(n){this.a=n}function v7n(n){this.a=n}function k7n(n){this.a=n}function y7n(n){this.a=n}function j7n(n){this.a=n}function E7n(n){this.a=n}function C7n(n){this.a=n}function M7n(n){this.a=n}function T7n(n){this.a=n}function A7n(n){this.a=n}function S7n(n){this.a=n}function P7n(n){this.a=n}function I7n(n){this.a=n}function O7n(n){this.a=n}function D7n(n){this.a=n}function L7n(n){this.a=n}function N7n(n){this.a=n}function $7n(n){this.a=n}function x7n(n){this.a=n}function F7n(n){this.c=n}function B7n(n){this.b=n}function R7n(n){this.a=n}function K7n(n){this.a=n}function _7n(n){this.a=n}function H7n(n){this.a=n}function q7n(n){this.a=n}function U7n(n){this.a=n}function G7n(n){this.a=n}function z7n(n){this.a=n}function X7n(n){this.a=n}function V7n(n){this.a=n}function W7n(n){this.a=n}function J7n(n){this.a=n}function Q7n(n){this.a=n}function Y7n(n){this.a=n}function Z7n(n){this.a=n}function nkn(n){this.a=n}function ekn(n){this.a=n}function tkn(n){this.a=n}function ikn(n){this.a=n}function rkn(n){this.a=n}function ckn(n){this.a=n}function ukn(n){this.a=n}function okn(n){this.a=n}function skn(n){this.a=n}function fkn(n){this.a=n}function hkn(n){this.a=n}function lkn(n){this.a=n}function sl(n){this.a=n}function sg(n){this.a=n}function akn(n){this.a=n}function dkn(n){this.a=n}function bkn(n){this.a=n}function wkn(n){this.a=n}function gkn(n){this.a=n}function pkn(n){this.a=n}function mkn(n){this.a=n}function vkn(n){this.a=n}function kkn(n){this.a=n}function ykn(n){this.a=n}function jkn(n){this.a=n}function Ekn(n){this.a=n}function Ckn(n){this.a=n}function Mkn(n){this.a=n}function Tkn(n){this.a=n}function Akn(n){this.a=n}function Skn(n){this.a=n}function Pkn(n){this.a=n}function Ikn(n){this.a=n}function Okn(n){this.a=n}function Dkn(n){this.a=n}function Lkn(n){this.a=n}function Nkn(n){this.a=n}function $kn(n){this.a=n}function xkn(n){this.a=n}function Fkn(n){this.a=n}function DE(n){this.a=n}function Bkn(n){this.f=n}function Rkn(n){this.a=n}function Kkn(n){this.a=n}function _kn(n){this.a=n}function Hkn(n){this.a=n}function qkn(n){this.a=n}function Ukn(n){this.a=n}function Gkn(n){this.a=n}function zkn(n){this.a=n}function Xkn(n){this.a=n}function Vkn(n){this.a=n}function Wkn(n){this.a=n}function Jkn(n){this.a=n}function Qkn(n){this.a=n}function Ykn(n){this.a=n}function Zkn(n){this.a=n}function nyn(n){this.a=n}function eyn(n){this.a=n}function tyn(n){this.a=n}function iyn(n){this.a=n}function ryn(n){this.a=n}function cyn(n){this.a=n}function uyn(n){this.a=n}function oyn(n){this.a=n}function syn(n){this.a=n}function fyn(n){this.a=n}function hyn(n){this.a=n}function lyn(n){this.a=n}function ayn(n){this.a=n}function tD(n){this.a=n}function xG(n){this.a=n}function lt(n){this.b=n}function dyn(n){this.a=n}function byn(n){this.a=n}function wyn(n){this.a=n}function gyn(n){this.a=n}function pyn(n){this.a=n}function myn(n){this.a=n}function vyn(n){this.a=n}function kyn(n){this.b=n}function yyn(n){this.a=n}function W9(n){this.a=n}function jyn(n){this.a=n}function Eyn(n){this.a=n}function FG(n){this.c=n}function LE(n){this.e=n}function NE(n){this.a=n}function $E(n){this.a=n}function iD(n){this.a=n}function Cyn(n){this.d=n}function Myn(n){this.a=n}function BG(n){this.a=n}function RG(n){this.a=n}function Wd(n){this.e=n}function Pfe(){this.a=0}function de(){Hu(this)}function Z(){pL(this)}function rD(){sIn(this)}function Tyn(){}function Jd(){this.c=Gdn}function Ayn(n,e){n.b+=e}function Ife(n,e){e.Wb(n)}function Ofe(n){return n.a}function Dfe(n){return n.a}function Lfe(n){return n.a}function Nfe(n){return n.a}function $fe(n){return n.a}function M(n){return n.e}function xfe(){return null}function Ffe(){return null}function Bfe(){Cz(),pLe()}function Rfe(n){n.b.Of(n.e)}function Syn(n){n.b=new CD}function Jv(n,e){n.b=e-n.b}function Qv(n,e){n.a=e-n.a}function Bn(n,e){n.push(e)}function Pyn(n,e){n.sort(e)}function Iyn(n,e){e.jd(n.a)}function Kfe(n,e){gi(e,n)}function _fe(n,e,t){n.Yd(t,e)}function J9(n,e){n.e=e,e.b=n}function KG(n){uh(),this.a=n}function Oyn(n){uh(),this.a=n}function Dyn(n){uh(),this.a=n}function cD(n){m0(),this.a=n}function Lyn(n){O4(),VK.le(n)}function _G(){_G=F,new de}function Ua(){YTn.call(this)}function HG(){YTn.call(this)}function qG(){Ua.call(this)}function uD(){Ua.call(this)}function Nyn(){Ua.call(this)}function Q9(){Ua.call(this)}function Cu(){Ua.call(this)}function ip(){Ua.call(this)}function Pe(){Ua.call(this)}function Bo(){Ua.call(this)}function $yn(){Ua.call(this)}function nc(){Ua.call(this)}function xyn(){Ua.call(this)}function Fyn(){this.a=this}function xE(){this.Bb|=256}function Byn(){this.b=new GMn}function Pb(n,e){n.length=e}function FE(n,e){nn(n.a,e)}function Hfe(n,e){bnn(n.c,e)}function qfe(n,e){fi(n.b,e)}function Ufe(n,e){uA(n.a,e)}function Gfe(n,e){cx(n.a,e)}function t4(n,e){it(n.e,e)}function rp(n){jA(n.c,n.b)}function zfe(n,e){n.kc().Nb(e)}function UG(n){this.a=B5e(n)}function ni(){this.a=new de}function Ryn(){this.a=new de}function GG(){this.a=new rCn}function BE(){this.a=new Z}function oD(){this.a=new Z}function zG(){this.a=new Z}function hs(){this.a=new cbn}function Ga(){this.a=new NLn}function XG(){this.a=new _U}function VG(){this.a=new TOn}function WG(){this.a=new BAn}function Kyn(){this.a=new Z}function _yn(){this.a=new Z}function Hyn(){this.a=new Z}function JG(){this.a=new Z}function qyn(){this.d=new Z}function Uyn(){this.a=new zOn}function Gyn(){this.a=new ni}function zyn(){this.a=new de}function Xyn(){this.b=new de}function Vyn(){this.b=new Z}function QG(){this.e=new Z}function Wyn(){this.a=new Z5n}function Jyn(){this.d=new Z}function Qyn(){QIn.call(this)}function Yyn(){QIn.call(this)}function Zyn(){Z.call(this)}function YG(){qG.call(this)}function ZG(){BE.call(this)}function njn(){qC.call(this)}function ejn(){JG.call(this)}function Yv(){Tyn.call(this)}function sD(){Yv.call(this)}function cp(){Tyn.call(this)}function nz(){cp.call(this)}function tjn(){rz.call(this)}function ijn(){rz.call(this)}function rjn(){rz.call(this)}function cjn(){cz.call(this)}function Zv(){svn.call(this)}function ez(){svn.call(this)}function Mu(){Ct.call(this)}function ujn(){yjn.call(this)}function ojn(){yjn.call(this)}function sjn(){de.call(this)}function fjn(){de.call(this)}function hjn(){de.call(this)}function fD(){cxn.call(this)}function ljn(){ni.call(this)}function ajn(){xE.call(this)}function hD(){BX.call(this)}function tz(){de.call(this)}function lD(){BX.call(this)}function aD(){de.call(this)}function djn(){de.call(this)}function iz(){ME.call(this)}function bjn(){iz.call(this)}function wjn(){ME.call(this)}function gjn(){rG.call(this)}function rz(){this.a=new ni}function pjn(){this.a=new de}function mjn(){this.a=new Z}function cz(){this.a=new de}function up(){this.a=new Ct}function vjn(){this.j=new Z}function kjn(){this.a=new mEn}function yjn(){this.a=new mvn}function uz(){this.a=new Z4n}function n6(){n6=F,KK=new Ht}function dD(){dD=F,_K=new Ejn}function bD(){bD=F,HK=new jjn}function jjn(){XO.call(this,"")}function Ejn(){XO.call(this,"")}function Cjn(n){S$n.call(this,n)}function Mjn(n){S$n.call(this,n)}function oz(n){fG.call(this,n)}function sz(n){XEn.call(this,n)}function Xfe(n){XEn.call(this,n)}function Vfe(n){sz.call(this,n)}function Wfe(n){sz.call(this,n)}function Jfe(n){sz.call(this,n)}function Tjn(n){zN.call(this,n)}function Ajn(n){zN.call(this,n)}function Sjn(n){uSn.call(this,n)}function Pjn(n){Oz.call(this,n)}function e6(n){WE.call(this,n)}function fz(n){WE.call(this,n)}function Ijn(n){WE.call(this,n)}function hz(n){mje.call(this,n)}function lz(n){hz.call(this,n)}function ec(n){APn.call(this,n)}function Ojn(n){ec.call(this,n)}function op(){z9.call(this,{})}function Djn(){Djn=F,dQn=new M0n}function RE(){RE=F,GK=new STn}function Ljn(){Ljn=F,oun=new Bu}function az(){az=F,sun=new N1}function KE(){KE=F,P8=new $1}function wD(n){b4(),this.a=n}function gD(n){RQ(),this.a=n}function Qd(n){nN(),this.f=n}function pD(n){nN(),this.f=n}function Njn(n){bSn(),this.a=n}function $jn(n){n.b=null,n.c=0}function Qfe(n,e){n.e=e,bqn(n,e)}function Yfe(n,e){n.a=e,cEe(n)}function mD(n,e,t){n.a[e.g]=t}function Zfe(n,e,t){kke(t,n,e)}function nhe(n,e){Wae(e.i,n.n)}function xjn(n,e){v6e(n).Cd(e)}function ehe(n,e){n.a.ec().Mc(e)}function Fjn(n,e){return n.g-e.g}function the(n,e){return n*n/e}function on(n){return Jn(n),n}function $(n){return Jn(n),n}function Y9(n){return Jn(n),n}function ihe(n){return new AE(n)}function rhe(n){return new qb(n)}function dz(n){return Jn(n),n}function che(n){return Jn(n),n}function _E(n){ec.call(this,n)}function Ir(n){ec.call(this,n)}function Bjn(n){ec.call(this,n)}function vD(n){APn.call(this,n)}function i4(n){ec.call(this,n)}function Gn(n){ec.call(this,n)}function Or(n){ec.call(this,n)}function Rjn(n){ec.call(this,n)}function sp(n){ec.call(this,n)}function Kl(n){ec.call(this,n)}function _l(n){ec.call(this,n)}function fp(n){ec.call(this,n)}function nh(n){ec.call(this,n)}function kD(n){ec.call(this,n)}function Le(n){ec.call(this,n)}function Ku(n){Jn(n),this.a=n}function bz(n){return ld(n),n}function t6(n){TW(n,n.length)}function i6(n){return n.b==n.c}function Ib(n){return!!n&&n.b}function uhe(n){return!!n&&n.k}function ohe(n){return!!n&&n.j}function she(n,e,t){n.c.Ef(e,t)}function Kjn(n,e){n.be(e),e.ae(n)}function hp(n){uh(),this.a=Se(n)}function yD(){this.a=Oe(Se(ur))}function _jn(){throw M(new Pe)}function fhe(){throw M(new Pe)}function wz(){throw M(new Pe)}function Hjn(){throw M(new Pe)}function hhe(){throw M(new Pe)}function lhe(){throw M(new Pe)}function HE(){HE=F,O4()}function Hl(){X9.call(this,"")}function r6(){X9.call(this,"")}function x1(){X9.call(this,"")}function lp(){X9.call(this,"")}function gz(n){Ir.call(this,n)}function pz(n){Ir.call(this,n)}function eh(n){Gn.call(this,n)}function r4(n){Q3.call(this,n)}function qjn(n){r4.call(this,n)}function jD(n){BC.call(this,n)}function ED(n){JX.call(this,n,0)}function CD(){sJ.call(this,12,3)}function T(n,e){return kOn(n,e)}function qE(n,e){return o$(n,e)}function ahe(n,e){return n.a-e.a}function dhe(n,e){return n.a-e.a}function bhe(n,e){return n.a-e.a}function whe(n,e){return e in n.a}function Ujn(n){return n.a?n.b:0}function ghe(n){return n.a?n.b:0}function phe(n,e,t){e.Cd(n.a[t])}function mhe(n,e,t){e.Pe(n.a[t])}function vhe(n,e){n.b=new rr(e)}function khe(n,e){return n.b=e,n}function Gjn(n,e){return n.c=e,n}function zjn(n,e){return n.f=e,n}function yhe(n,e){return n.g=e,n}function mz(n,e){return n.a=e,n}function vz(n,e){return n.f=e,n}function jhe(n,e){return n.k=e,n}function kz(n,e){return n.a=e,n}function Ehe(n,e){return n.e=e,n}function yz(n,e){return n.e=e,n}function Che(n,e){return n.f=e,n}function Mhe(n,e){n.b=!0,n.d=e}function The(n,e){return n.b-e.b}function Ahe(n,e){return n.g-e.g}function She(n,e){return n?0:e-1}function Xjn(n,e){return n?0:e-1}function Phe(n,e){return n?e-1:0}function Ihe(n,e){return n.s-e.s}function Ohe(n,e){return e.rg(n)}function Yd(n,e){return n.b=e,n}function UE(n,e){return n.a=e,n}function Zd(n,e){return n.c=e,n}function n0(n,e){return n.d=e,n}function e0(n,e){return n.e=e,n}function jz(n,e){return n.f=e,n}function c6(n,e){return n.a=e,n}function c4(n,e){return n.b=e,n}function u4(n,e){return n.c=e,n}function an(n,e){return n.c=e,n}function Sn(n,e){return n.b=e,n}function dn(n,e){return n.d=e,n}function bn(n,e){return n.e=e,n}function Dhe(n,e){return n.f=e,n}function wn(n,e){return n.g=e,n}function gn(n,e){return n.a=e,n}function pn(n,e){return n.i=e,n}function mn(n,e){return n.j=e,n}function Lhe(n,e){ca(),ic(e,n)}function Nhe(n,e,t){Jbe(n.a,e,t)}function GE(n){$L.call(this,n)}function Vjn(n){Z5e.call(this,n)}function Wjn(n){SIn.call(this,n)}function Ez(n){SIn.call(this,n)}function F1(n){S0.call(this,n)}function Jjn(n){CN.call(this,n)}function Qjn(n){CN.call(this,n)}function Yjn(){DX.call(this,"")}function Li(){this.a=0,this.b=0}function Zjn(){this.b=0,this.a=0}function nEn(n,e){n.b=0,Zb(n,e)}function eEn(n,e){return n.k=e,n}function $he(n,e){return n.j=e,n}function xhe(n,e){n.c=e,n.b=!0}function tEn(){tEn=F,TQn=Xke()}function B1(){B1=F,voe=rke()}function iEn(){iEn=F,Ti=gye()}function Cz(){Cz=F,Oa=z4()}function o4(){o4=F,Udn=cke()}function rEn(){rEn=F,ise=uke()}function Mz(){Mz=F,yc=tEe()}function uf(n){return n.e&&n.e()}function cEn(n){return n.l|n.m<<22}function uEn(n,e){return n.c._b(e)}function oEn(n,e){return rBn(n.b,e)}function MD(n){return n?n.d:null}function Fhe(n){return n?n.g:null}function Bhe(n){return n?n.i:null}function za(n){return ll(n),n.o}function fg(n,e){return n.a+=e,n}function TD(n,e){return n.a+=e,n}function ql(n,e){return n.a+=e,n}function t0(n,e){return n.a+=e,n}function Tz(n,e){for(;n.Bd(e););}function zE(n){this.a=new ap(n)}function sEn(){throw M(new Pe)}function fEn(){throw M(new Pe)}function hEn(){throw M(new Pe)}function lEn(){throw M(new Pe)}function aEn(){throw M(new Pe)}function dEn(){throw M(new Pe)}function Ul(n){this.a=new iN(n)}function bEn(){this.a=new K5(Rln)}function wEn(){this.b=new K5(rln)}function gEn(){this.a=new K5(f1n)}function pEn(){this.b=new K5(Fq)}function mEn(){this.b=new K5(Fq)}function XE(n){this.a=0,this.b=n}function Az(n){zGn(),ILe(this,n)}function s4(n){return z1(n),n.a}function Z9(n){return n.b!=n.d.c}function Sz(n,e){return n.d[e.p]}function vEn(n,e){return XTe(n,e)}function Pz(n,e,t){n.splice(e,t)}function hg(n,e){for(;n.Re(e););}function kEn(n){n.c?Dqn(n):Lqn(n)}function yEn(){throw M(new Pe)}function jEn(){throw M(new Pe)}function EEn(){throw M(new Pe)}function CEn(){throw M(new Pe)}function MEn(){throw M(new Pe)}function TEn(){throw M(new Pe)}function AEn(){throw M(new Pe)}function SEn(){throw M(new Pe)}function PEn(){throw M(new Pe)}function IEn(){throw M(new Pe)}function Rhe(){throw M(new nc)}function Khe(){throw M(new nc)}function n7(n){this.a=new OEn(n)}function OEn(n){Ume(this,n,jje())}function e7(n){return!n||oIn(n)}function t7(n){return Zf[n]!=-1}function _he(){cP!=0&&(cP=0),uP=-1}function DEn(){RK==null&&(RK=[])}function i7(n,e){Cg.call(this,n,e)}function f4(n,e){i7.call(this,n,e)}function LEn(n,e){this.a=n,this.b=e}function NEn(n,e){this.a=n,this.b=e}function $En(n,e){this.a=n,this.b=e}function xEn(n,e){this.a=n,this.b=e}function FEn(n,e){this.a=n,this.b=e}function BEn(n,e){this.a=n,this.b=e}function REn(n,e){this.a=n,this.b=e}function h4(n,e){this.e=n,this.d=e}function Iz(n,e){this.b=n,this.c=e}function KEn(n,e){this.b=n,this.a=e}function _En(n,e){this.b=n,this.a=e}function HEn(n,e){this.b=n,this.a=e}function qEn(n,e){this.b=n,this.a=e}function UEn(n,e){this.a=n,this.b=e}function AD(n,e){this.a=n,this.b=e}function GEn(n,e){this.a=n,this.f=e}function i0(n,e){this.g=n,this.i=e}function je(n,e){this.f=n,this.g=e}function zEn(n,e){this.b=n,this.c=e}function XEn(n){KX(n.dc()),this.c=n}function Hhe(n,e){this.a=n,this.b=e}function VEn(n,e){this.a=n,this.b=e}function WEn(n){this.a=u(Se(n),15)}function Oz(n){this.a=u(Se(n),15)}function JEn(n){this.a=u(Se(n),85)}function VE(n){this.b=u(Se(n),85)}function WE(n){this.b=u(Se(n),51)}function JE(){this.q=new y.Date}function SD(n,e){this.a=n,this.b=e}function QEn(n,e){return Zc(n.b,e)}function r7(n,e){return n.b.Hc(e)}function YEn(n,e){return n.b.Ic(e)}function ZEn(n,e){return n.b.Qc(e)}function nCn(n,e){return n.b.Hc(e)}function eCn(n,e){return n.c.uc(e)}function tCn(n,e){return rt(n.c,e)}function of(n,e){return n.a._b(e)}function iCn(n,e){return n>e&&e0}function ND(n,e){return Ec(n,e)<0}function vCn(n,e){return JL(n.a,e)}function ole(n,e){yOn.call(this,n,e)}function Bz(n){wN(),uSn.call(this,n)}function Rz(n,e){bPn(n,n.length,e)}function s7(n,e){HPn(n,n.length,e)}function d6(n,e){return n.a.get(e)}function kCn(n,e){return Zc(n.e,e)}function Kz(n){return Jn(n),!1}function _z(n){this.a=u(Se(n),229)}function cC(n){In.call(this,n,21)}function uC(n,e){je.call(this,n,e)}function $D(n,e){je.call(this,n,e)}function yCn(n,e){this.b=n,this.a=e}function oC(n,e){this.d=n,this.e=e}function jCn(n,e){this.a=n,this.b=e}function ECn(n,e){this.a=n,this.b=e}function CCn(n,e){this.a=n,this.b=e}function MCn(n,e){this.a=n,this.b=e}function bp(n,e){this.a=n,this.b=e}function TCn(n,e){this.b=n,this.a=e}function Hz(n,e){this.b=n,this.a=e}function qz(n,e){je.call(this,n,e)}function Uz(n,e){je.call(this,n,e)}function lg(n,e){je.call(this,n,e)}function xD(n,e){je.call(this,n,e)}function FD(n,e){je.call(this,n,e)}function BD(n,e){je.call(this,n,e)}function sC(n,e){je.call(this,n,e)}function Gz(n,e){this.b=n,this.a=e}function fC(n,e){je.call(this,n,e)}function zz(n,e){this.b=n,this.a=e}function hC(n,e){je.call(this,n,e)}function ACn(n,e){this.b=n,this.a=e}function Xz(n,e){je.call(this,n,e)}function RD(n,e){je.call(this,n,e)}function f7(n,e){je.call(this,n,e)}function b6(n,e,t){n.splice(e,0,t)}function sle(n,e,t){n.Mb(t)&&e.Cd(t)}function fle(n,e,t){e.Pe(n.a.Ye(t))}function hle(n,e,t){e.Dd(n.a.Ze(t))}function lle(n,e,t){e.Cd(n.a.Kb(t))}function ale(n,e){return Au(n.c,e)}function dle(n,e){return Au(n.e,e)}function lC(n,e){je.call(this,n,e)}function aC(n,e){je.call(this,n,e)}function w6(n,e){je.call(this,n,e)}function Vz(n,e){je.call(this,n,e)}function ei(n,e){je.call(this,n,e)}function dC(n,e){je.call(this,n,e)}function SCn(n,e){this.a=n,this.b=e}function PCn(n,e){this.a=n,this.b=e}function ICn(n,e){this.a=n,this.b=e}function OCn(n,e){this.a=n,this.b=e}function DCn(n,e){this.a=n,this.b=e}function LCn(n,e){this.a=n,this.b=e}function NCn(n,e){this.b=n,this.a=e}function $Cn(n,e){this.b=n,this.a=e}function Wz(n,e){this.b=n,this.a=e}function d4(n,e){this.c=n,this.d=e}function xCn(n,e){this.e=n,this.d=e}function FCn(n,e){this.a=n,this.b=e}function BCn(n,e){this.a=n,this.b=e}function RCn(n,e){this.a=n,this.b=e}function KCn(n,e){this.b=n,this.a=e}function _Cn(n,e){this.b=e,this.c=n}function bC(n,e){je.call(this,n,e)}function h7(n,e){je.call(this,n,e)}function KD(n,e){je.call(this,n,e)}function Jz(n,e){je.call(this,n,e)}function g6(n,e){je.call(this,n,e)}function _D(n,e){je.call(this,n,e)}function HD(n,e){je.call(this,n,e)}function l7(n,e){je.call(this,n,e)}function Qz(n,e){je.call(this,n,e)}function qD(n,e){je.call(this,n,e)}function p6(n,e){je.call(this,n,e)}function Yz(n,e){je.call(this,n,e)}function m6(n,e){je.call(this,n,e)}function v6(n,e){je.call(this,n,e)}function Db(n,e){je.call(this,n,e)}function UD(n,e){je.call(this,n,e)}function GD(n,e){je.call(this,n,e)}function Zz(n,e){je.call(this,n,e)}function a7(n,e){je.call(this,n,e)}function ag(n,e){je.call(this,n,e)}function zD(n,e){je.call(this,n,e)}function wC(n,e){je.call(this,n,e)}function d7(n,e){je.call(this,n,e)}function Lb(n,e){je.call(this,n,e)}function gC(n,e){je.call(this,n,e)}function nX(n,e){je.call(this,n,e)}function XD(n,e){je.call(this,n,e)}function VD(n,e){je.call(this,n,e)}function WD(n,e){je.call(this,n,e)}function JD(n,e){je.call(this,n,e)}function QD(n,e){je.call(this,n,e)}function YD(n,e){je.call(this,n,e)}function ZD(n,e){je.call(this,n,e)}function HCn(n,e){this.b=n,this.a=e}function eX(n,e){je.call(this,n,e)}function qCn(n,e){this.a=n,this.b=e}function UCn(n,e){this.a=n,this.b=e}function GCn(n,e){this.a=n,this.b=e}function tX(n,e){je.call(this,n,e)}function iX(n,e){je.call(this,n,e)}function zCn(n,e){this.a=n,this.b=e}function ble(n,e){return k4(),e!=n}function b7(n){return oe(n.a),n.b}function nL(n){return yCe(n,n.c),n}function XCn(){return tEn(),new TQn}function VCn(){VC(),this.a=new kV}function WCn(){OA(),this.a=new ni}function JCn(){NN(),this.b=new ni}function QCn(n,e){this.b=n,this.d=e}function YCn(n,e){this.a=n,this.b=e}function ZCn(n,e){this.a=n,this.b=e}function nMn(n,e){this.a=n,this.b=e}function eMn(n,e){this.b=n,this.a=e}function rX(n,e){je.call(this,n,e)}function cX(n,e){je.call(this,n,e)}function pC(n,e){je.call(this,n,e)}function u0(n,e){je.call(this,n,e)}function eL(n,e){je.call(this,n,e)}function mC(n,e){je.call(this,n,e)}function uX(n,e){je.call(this,n,e)}function oX(n,e){je.call(this,n,e)}function w7(n,e){je.call(this,n,e)}function sX(n,e){je.call(this,n,e)}function tL(n,e){je.call(this,n,e)}function vC(n,e){je.call(this,n,e)}function iL(n,e){je.call(this,n,e)}function rL(n,e){je.call(this,n,e)}function cL(n,e){je.call(this,n,e)}function uL(n,e){je.call(this,n,e)}function fX(n,e){je.call(this,n,e)}function oL(n,e){je.call(this,n,e)}function hX(n,e){je.call(this,n,e)}function g7(n,e){je.call(this,n,e)}function sL(n,e){je.call(this,n,e)}function lX(n,e){je.call(this,n,e)}function p7(n,e){je.call(this,n,e)}function aX(n,e){je.call(this,n,e)}function tMn(n,e){this.b=n,this.a=e}function iMn(n,e){this.b=n,this.a=e}function rMn(n,e){this.b=n,this.a=e}function cMn(n,e){this.b=n,this.a=e}function dX(n,e){this.a=n,this.b=e}function uMn(n,e){this.a=n,this.b=e}function oMn(n,e){this.a=n,this.b=e}function V(n,e){this.a=n,this.b=e}function k6(n,e){je.call(this,n,e)}function m7(n,e){je.call(this,n,e)}function wp(n,e){je.call(this,n,e)}function y6(n,e){je.call(this,n,e)}function v7(n,e){je.call(this,n,e)}function fL(n,e){je.call(this,n,e)}function kC(n,e){je.call(this,n,e)}function j6(n,e){je.call(this,n,e)}function hL(n,e){je.call(this,n,e)}function yC(n,e){je.call(this,n,e)}function dg(n,e){je.call(this,n,e)}function k7(n,e){je.call(this,n,e)}function E6(n,e){je.call(this,n,e)}function C6(n,e){je.call(this,n,e)}function y7(n,e){je.call(this,n,e)}function jC(n,e){je.call(this,n,e)}function bg(n,e){je.call(this,n,e)}function lL(n,e){je.call(this,n,e)}function sMn(n,e){je.call(this,n,e)}function EC(n,e){je.call(this,n,e)}function fMn(n,e){this.a=n,this.b=e}function hMn(n,e){this.a=n,this.b=e}function lMn(n,e){this.a=n,this.b=e}function aMn(n,e){this.a=n,this.b=e}function dMn(n,e){this.a=n,this.b=e}function bMn(n,e){this.a=n,this.b=e}function bi(n,e){this.a=n,this.b=e}function wMn(n,e){this.a=n,this.b=e}function gMn(n,e){this.a=n,this.b=e}function pMn(n,e){this.a=n,this.b=e}function mMn(n,e){this.a=n,this.b=e}function vMn(n,e){this.a=n,this.b=e}function kMn(n,e){this.a=n,this.b=e}function yMn(n,e){this.b=n,this.a=e}function jMn(n,e){this.b=n,this.a=e}function EMn(n,e){this.b=n,this.a=e}function CMn(n,e){this.b=n,this.a=e}function MMn(n,e){this.a=n,this.b=e}function TMn(n,e){this.a=n,this.b=e}function CC(n,e){je.call(this,n,e)}function AMn(n,e){this.a=n,this.b=e}function SMn(n,e){this.a=n,this.b=e}function gp(n,e){je.call(this,n,e)}function PMn(n,e){this.f=n,this.c=e}function bX(n,e){return Au(n.g,e)}function wle(n,e){return Au(e.b,n)}function IMn(n,e){return wx(n.a,e)}function gle(n,e){return-n.b.af(e)}function ple(n,e){n&&Xe(hE,n,e)}function wX(n,e){n.i=null,kT(n,e)}function mle(n,e,t){yKn(e,oF(n,t))}function vle(n,e,t){yKn(e,oF(n,t))}function kle(n,e){VMe(n.a,u(e,58))}function OMn(n,e){U4e(n.a,u(e,12))}function MC(n,e){this.a=n,this.b=e}function DMn(n,e){this.a=n,this.b=e}function LMn(n,e){this.a=n,this.b=e}function NMn(n,e){this.a=n,this.b=e}function $Mn(n,e){this.a=n,this.b=e}function xMn(n,e){this.d=n,this.b=e}function FMn(n,e){this.e=n,this.a=e}function j7(n,e){this.b=n,this.c=e}function gX(n,e){this.i=n,this.g=e}function pX(n,e){this.d=n,this.e=e}function yle(n,e){cme(new ne(n),e)}function TC(n){return Rk(n.c,n.b)}function Kr(n){return n?n.md():null}function x(n){return n??null}function Ai(n){return typeof n===nB}function Nb(n){return typeof n===i3}function $b(n){return typeof n===dtn}function o0(n,e){return Ec(n,e)==0}function AC(n,e){return Ec(n,e)>=0}function M6(n,e){return Ec(n,e)!=0}function SC(n,e){return jve(n.Kc(),e)}function _1(n,e){return n.Rd().Xb(e)}function BMn(n){return eo(n),n.d.gc()}function PC(n){return F6(n==null),n}function T6(n,e){return n.a+=""+e,n}function Er(n,e){return n.a+=""+e,n}function A6(n,e){return n.a+=""+e,n}function Dc(n,e){return n.a+=""+e,n}function Be(n,e){return n.a+=""+e,n}function mX(n,e){return n.a+=""+e,n}function jle(n){return""+(Jn(n),n)}function RMn(n){Hu(this),f5(this,n)}function KMn(){oJ(),dW.call(this)}function _Mn(n,e){mW.call(this,n,e)}function HMn(n,e){mW.call(this,n,e)}function IC(n,e){mW.call(this,n,e)}function ir(n,e){xt(n,e,n.c.b,n.c)}function wg(n,e){xt(n,e,n.a,n.a.a)}function vX(n){return Ln(n,0),null}function qMn(){this.b=0,this.a=!1}function UMn(){this.b=0,this.a=!1}function GMn(){this.b=new ap(Qb(12))}function zMn(){zMn=F,kYn=Ce(jx())}function XMn(){XMn=F,HZn=Ce(iqn())}function VMn(){VMn=F,lre=Ce(xxn())}function kX(){kX=F,_G(),fun=new de}function sf(n){return n.a=0,n.b=0,n}function WMn(n,e){return n.a=e.g+1,n}function aL(n,e){Kb.call(this,n,e)}function Mn(n,e){Dt.call(this,n,e)}function gg(n,e){gX.call(this,n,e)}function JMn(n,e){T7.call(this,n,e)}function dL(n,e){Y4.call(this,n,e)}function Ue(n,e){iC(),Xe(yO,n,e)}function QMn(n,e){n.q.setTime(id(e))}function Ele(n){y.clearTimeout(n)}function Cle(n){return Se(n),new S6(n)}function YMn(n,e){return x(n)===x(e)}function ZMn(n,e){return n.a.a.a.cc(e)}function bL(n,e){return qo(n.a,0,e)}function yX(n){return Awe(u(n,74))}function pp(n){return wi((Jn(n),n))}function Mle(n){return wi((Jn(n),n))}function nTn(n){return Yc(n.l,n.m,n.h)}function jX(n,e){return jc(n.a,e.a)}function Tle(n,e){return KPn(n.a,e.a)}function Ale(n,e){return bt(n.a,e.a)}function th(n,e){return n.indexOf(e)}function Sle(n,e){return n.j[e.p]==2}function s0(n,e){return n==e?0:n?1:-1}function OC(n){return n<10?"0"+n:""+n}function Vr(n){return typeof n===dtn}function Ple(n){return n==rb||n==Iw}function Ile(n){return n==rb||n==Pw}function eTn(n,e){return jc(n.g,e.g)}function EX(n){return qr(n.b.b,n,0)}function tTn(){rM.call(this,0,0,0,0)}function ih(){CG.call(this,new Ql)}function CX(n,e){F4(n,0,n.length,e)}function Ole(n,e){return nn(n.a,e),e}function Dle(n,e){return xs(),e.a+=n}function Lle(n,e){return xs(),e.a+=n}function Nle(n,e){return xs(),e.c+=n}function $le(n,e){return nn(n.c,e),n}function MX(n,e){return Mo(n.a,e),n}function iTn(n){this.a=XCn(),this.b=n}function rTn(n){this.a=XCn(),this.b=n}function rr(n){this.a=n.a,this.b=n.b}function S6(n){this.a=n,GO.call(this)}function cTn(n){this.a=n,GO.call(this)}function mp(){Ho.call(this,0,0,0,0)}function DC(n){return Mo(new ii,n)}function uTn(n){return jM(u(n,123))}function fo(n){return n.vh()&&n.wh()}function pg(n){return n!=Jf&&n!=Sa}function hl(n){return n==Br||n==Xr}function mg(n){return n==us||n==Vf}function oTn(n){return n==S2||n==A2}function xle(n,e){return jc(n.g,e.g)}function sTn(n,e){return new Y4(e,n)}function Fle(n,e){return new Y4(e,n)}function TX(n){return rbe(n.b.Kc(),n.a)}function wL(n,e){um(n,e),G4(n,n.D)}function gL(n,e,t){aT(n,e),lT(n,t)}function vg(n,e,t){I0(n,e),P0(n,t)}function Ro(n,e,t){eu(n,e),tu(n,t)}function E7(n,e,t){_4(n,e),q4(n,t)}function C7(n,e,t){H4(n,e),U4(n,t)}function fTn(n,e,t){sV.call(this,n,e,t)}function AX(n){PMn.call(this,n,!0)}function hTn(){uC.call(this,"Tail",3)}function lTn(){uC.call(this,"Head",1)}function H1(n){dh(),mve.call(this,n)}function f0(n){rM.call(this,n,n,n,n)}function pL(n){n.c=K(ki,Fn,1,0,5,1)}function SX(n){return n.b&&xF(n),n.a}function PX(n){return n.b&&xF(n),n.c}function Ble(n,e){qf||(n.b=e)}function Rle(n,e){return n[n.length]=e}function Kle(n,e){return n[n.length]=e}function _le(n,e){return Yb(e,Af(n))}function Hle(n,e){return Yb(e,Af(n))}function qle(n,e){return pT(dN(n.d),e)}function Ule(n,e){return pT(dN(n.g),e)}function Gle(n,e){return pT(dN(n.j),e)}function Ni(n,e){Dt.call(this,n.b,e)}function zle(n,e){ve(Sc(n.a),DOn(e))}function Xle(n,e){ve(no(n.a),LOn(e))}function Vle(n,e,t){Ro(t,t.i+n,t.j+e)}function aTn(n,e,t){$t(n.c[e.g],e.g,t)}function Wle(n,e,t){u(n.c,71).Gi(e,t)}function mL(n,e,t){return $t(n,e,t),t}function dTn(n){nu(n.Sf(),new D9n(n))}function kg(n){return n!=null?mt(n):0}function Jle(n){return n==null?0:mt(n)}function P6(n){nt(),Wd.call(this,n)}function bTn(n){this.a=n,qV.call(this,n)}function Mf(){Mf=F,y.Math.log(2)}function Ko(){Ko=F,rl=(pCn(),Moe)}function wTn(){wTn=F,YH=new j5(aU)}function Ie(){Ie=F,new gTn,new Z}function gTn(){new de,new de,new de}function Qle(){throw M(new Kl(QJn))}function Yle(){throw M(new Kl(QJn))}function Zle(){throw M(new Kl(YJn))}function n1e(){throw M(new Kl(YJn))}function vL(n){this.a=n,VE.call(this,n)}function kL(n){this.a=n,VE.call(this,n)}function pTn(n,e){m0(),this.a=n,this.b=e}function e1e(n,e){Se(e),Tg(n).Jc(new Ru)}function Yt(n,e){QL(n.c,n.c.length,e)}function tc(n){return n.ae?1:0}function OX(n,e){return Ec(n,e)>0?n:e}function Yc(n,e,t){return{l:n,m:e,h:t}}function t1e(n,e){n.a!=null&&OMn(e,n.a)}function i1e(n){Zi(n,null),Ii(n,null)}function r1e(n,e,t){return Xe(n.g,t,e)}function yg(n,e,t){return nZ(e,t,n.c)}function c1e(n,e,t){return Xe(n.k,t,e)}function u1e(n,e,t){return GOe(n,e,t),t}function o1e(n,e){return ko(),e.n.b+=n}function vTn(n){nJ.call(this),this.b=n}function DX(n){vV.call(this),this.a=n}function kTn(){uC.call(this,"Range",2)}function LC(n){this.b=n,this.a=new Z}function yTn(n){this.b=new $bn,this.a=n}function jTn(n){n.a=new OO,n.c=new OO}function ETn(n){n.a=new de,n.d=new de}function CTn(n){$N(n,null),xN(n,null)}function MTn(n,e){return XOe(n.a,e,null)}function s1e(n,e){return Xe(n.a,e.a,e)}function Ki(n){return new V(n.a,n.b)}function LX(n){return new V(n.c,n.d)}function f1e(n){return new V(n.c,n.d)}function I6(n,e){return cOe(n.c,n.b,e)}function O(n,e){return n!=null&&Tx(n,e)}function yL(n,e){return Yve(n.Kc(),e)!=-1}function NC(n){return n.Ob()?n.Pb():null}function h1e(n){this.b=(Dn(),new eD(n))}function NX(n){this.a=n,de.call(this)}function TTn(){T7.call(this,null,null)}function ATn(){_C.call(this,null,null)}function STn(){je.call(this,"INSTANCE",0)}function PTn(){LZ(),this.a=new K5(Ion)}function ITn(n){return hh(n,0,n.length)}function l1e(n,e){return new VTn(n.Kc(),e)}function $X(n,e){return n.a.Bc(e)!=null}function OTn(n,e){me(n),n.Gc(u(e,15))}function a1e(n,e,t){n.c.bd(e,u(t,136))}function d1e(n,e,t){n.c.Ui(e,u(t,136))}function DTn(n,e){n.c&&(tW(e),rOn(e))}function b1e(n,e){n.q.setHours(e),G5(n,e)}function w1e(n,e){a0(e,n.a.a.a,n.a.a.b)}function g1e(n,e,t,i){$t(n.a[e.g],t.g,i)}function jL(n,e,t){return n.a[e.g][t.g]}function p1e(n,e){return n.e[e.c.p][e.p]}function m1e(n,e){return n.c[e.c.p][e.p]}function Tf(n,e){return n.a[e.c.p][e.p]}function v1e(n,e){return n.j[e.p]=IMe(e)}function EL(n,e){return n.a.Bc(e)!=null}function k1e(n,e){return $(R(e.a))<=n}function y1e(n,e){return $(R(e.a))>=n}function j1e(n,e){return RJ(n.f,e.Pg())}function vp(n,e){return n.a*e.a+n.b*e.b}function E1e(n,e){return n.a0?e/(n*n):e*100}function V1e(n,e){return n>0?e*e/n:e*e*100}function xb(n,e){return u(Lf(n.a,e),34)}function W1e(n,e){return ca(),Pn(n,e.e,e)}function J1e(n,e,t){return nC(),t.Mg(n,e)}function Q1e(n){return kl(),n.e.a+n.f.a/2}function Y1e(n,e,t){return kl(),t.e.a-n*e}function Z1e(n){return kl(),n.e.b+n.f.b/2}function nae(n,e,t){return kl(),t.e.b-n*e}function sAn(n){n.d=new cAn(n),n.e=new de}function fAn(){this.a=new C0,this.b=new C0}function hAn(n){this.c=n,this.a=1,this.b=1}function lAn(n){YF(),Syn(this),this.Ff(n)}function eae(n,e,t){YM(),n.pf(e)&&t.Cd(n)}function tae(n,e,t){return nn(e,jBn(n,t))}function a0(n,e,t){return n.a+=e,n.b+=t,n}function iae(n,e,t){return n.a*=e,n.b*=t,n}function ZX(n,e){return n.a=e.a,n.b=e.b,n}function HC(n){return n.a=-n.a,n.b=-n.b,n}function N6(n,e,t){return n.a-=e,n.b-=t,n}function aAn(n){Ct.call(this),c5(this,n)}function dAn(){je.call(this,"GROW_TREE",0)}function bAn(){je.call(this,"POLYOMINO",0)}function lo(n,e,t){Iu.call(this,n,e,t,2)}function rae(n,e,t){k5(Sc(n.a),e,DOn(t))}function wAn(n,e){a6(),T7.call(this,n,e)}function nV(n,e){Gl(),_C.call(this,n,e)}function gAn(n,e){Gl(),nV.call(this,n,e)}function pAn(n,e){Gl(),_C.call(this,n,e)}function cae(n,e){return n.c.Fc(u(e,136))}function uae(n,e,t){k5(no(n.a),e,LOn(t))}function mAn(n){this.c=n,eu(n,0),tu(n,0)}function PL(n,e){Ko(),oM.call(this,n,e)}function vAn(n,e){Ko(),PL.call(this,n,e)}function eV(n,e){Ko(),PL.call(this,n,e)}function tV(n,e){Ko(),oM.call(this,n,e)}function kAn(n,e){Ko(),eV.call(this,n,e)}function yAn(n,e){Ko(),tV.call(this,n,e)}function jAn(n,e){Ko(),oM.call(this,n,e)}function oae(n,e,t){return e.zl(n.e,n.c,t)}function sae(n,e,t){return e.Al(n.e,n.c,t)}function iV(n,e,t){return qA(ak(n,e),t)}function IL(n,e){return na(n.e,u(e,54))}function fae(n){return n==null?null:NDe(n)}function hae(n){return n==null?null:Aje(n)}function lae(n){return n==null?null:Jr(n)}function aae(n){return n==null?null:Jr(n)}function un(n){return F6(n==null||Nb(n)),n}function R(n){return F6(n==null||$b(n)),n}function Oe(n){return F6(n==null||Ai(n)),n}function ll(n){n.o==null&&cMe(n)}function rV(n){if(!n)throw M(new Q9)}function dae(n){if(!n)throw M(new uD)}function oe(n){if(!n)throw M(new nc)}function Fb(n){if(!n)throw M(new Cu)}function EAn(n){if(!n)throw M(new Bo)}function m4(){m4=F,aE=new ujn,new ojn}function Mg(){Mg=F,O2=new lt("root")}function cV(){cxn.call(this),this.Bb|=hr}function bae(n,e){this.d=n,c9n(this),this.b=e}function uV(n,e){i$.call(this,n),this.a=e}function oV(n,e){i$.call(this,n),this.a=e}function sV(n,e,t){VM.call(this,n,e,t,null)}function CAn(n,e,t){VM.call(this,n,e,t,null)}function P7(n,e){this.c=n,h4.call(this,n,e)}function $6(n,e){this.a=n,P7.call(this,n,e)}function fV(n){this.q=new y.Date(id(n))}function MAn(n){return n>8?0:n+1}function TAn(n,e){qf||nn(n.a,e)}function wae(n,e){return o7(),Q4(e.d.i,n)}function gae(n,e){return Hp(),new tUn(e,n)}function pae(n,e,t){return n.Ne(e,t)<=0?t:e}function mae(n,e,t){return n.Ne(e,t)<=0?e:t}function vae(n,e){return u(Lf(n.b,e),143)}function kae(n,e){return u(Lf(n.c,e),233)}function OL(n){return u(sn(n.a,n.b),294)}function AAn(n){return new V(n.c,n.d+n.a)}function SAn(n){return Jn(n),n?1231:1237}function PAn(n){return ko(),oTn(u(n,203))}function Bb(){Bb=F,ron=yn((go(),Gd))}function yae(n,e){e.a?MCe(n,e):EL(n.a,e.b)}function I7(n,e,t){++n.j,n.tj(),t$(n,e,t)}function IAn(n,e,t){++n.j,n.qj(e,n.Zi(e,t))}function OAn(n,e,t){var i;i=n.fd(e),i.Rb(t)}function hV(n,e,t){return t=So(n,e,6,t),t}function lV(n,e,t){return t=So(n,e,3,t),t}function aV(n,e,t){return t=So(n,e,9,t),t}function ch(n,e){return X7(e,xtn),n.f=e,n}function dV(n,e){return(e&et)%n.d.length}function DAn(n,e,t){return zen(n.c,n.b,e,t)}function LAn(n,e){this.c=n,S0.call(this,e)}function NAn(n,e){this.a=n,kyn.call(this,e)}function O7(n,e){this.a=n,kyn.call(this,e)}function Dt(n,e){lt.call(this,n),this.a=e}function bV(n,e){FG.call(this,n),this.a=e}function DL(n,e){FG.call(this,n),this.a=e}function jae(n){VY.call(this,0,0),this.f=n}function $An(n,e,t){return n.a+=hh(e,0,t),n}function D7(n){return!n.a&&(n.a=new C0n),n.a}function wV(n,e){var t;return t=n.e,n.e=e,t}function gV(n,e){var t;return t=e,!!n.Fe(t)}function Eae(n,e){return _n(),n==e?0:n?1:-1}function Rb(n,e){n.a.bd(n.b,e),++n.b,n.c=-1}function L7(n){n.b?L7(n.b):n.f.c.zc(n.e,n.d)}function xAn(n){Hu(n.e),n.d.b=n.d,n.d.a=n.d}function Cae(n,e,t){Xa(),t9n(n,e.Ve(n.a,t))}function pV(n,e,t){return Pp(n,u(e,22),t)}function $s(n,e){return qE(new Array(e),n)}function Mae(n){return Ae(U1(n,32))^Ae(n)}function LL(n){return String.fromCharCode(n)}function Tae(n){return n==null?null:n.message}function Aae(n,e,t){return n.apply(e,t)}function Sae(n,e){var t;t=n[DB],t.call(n,e)}function Pae(n,e){var t;t=n[DB],t.call(n,e)}function Iae(n,e){return o7(),!Q4(e.d.i,n)}function mV(n,e,t,i){rM.call(this,n,e,t,i)}function FAn(){qC.call(this),this.a=new Li}function vV(){this.n=new Li,this.o=new Li}function BAn(){this.b=new Li,this.c=new Z}function RAn(){this.a=new Z,this.b=new Z}function KAn(){this.a=new _U,this.b=new Byn}function kV(){this.b=new Ql,this.a=new Ql}function _An(){this.b=new ni,this.a=new ni}function HAn(){this.b=new de,this.a=new de}function qAn(){this.b=new wEn,this.a=new H3n}function UAn(){this.a=new n8n,this.b=new Lpn}function GAn(){this.a=new Z,this.d=new Z}function qC(){this.n=new cp,this.i=new mp}function zAn(n){this.a=(Co(n,mw),new Gc(n))}function XAn(n){this.a=(Co(n,mw),new Gc(n))}function Oae(n){return n<100?null:new F1(n)}function Dae(n,e){return n.n.a=(Jn(e),e+10)}function Lae(n,e){return n.n.a=(Jn(e),e+10)}function Nae(n,e){return e==n||km(TA(e),n)}function VAn(n,e){return Xe(n.a,e,"")==null}function $ae(n,e){var t;return t=e.qi(n.a),t}function tt(n,e){return n.a+=e.a,n.b+=e.b,n}function mi(n,e){return n.a-=e.a,n.b-=e.b,n}function xae(n){return Pb(n.j.c,0),n.a=-1,n}function yV(n,e,t){return t=So(n,e,11,t),t}function Fae(n,e,t){t!=null&&mT(e,Fx(n,t))}function Bae(n,e,t){t!=null&&vT(e,Fx(n,t))}function jp(n,e,t,i){q.call(this,n,e,t,i)}function jV(n,e,t,i){q.call(this,n,e,t,i)}function WAn(n,e,t,i){jV.call(this,n,e,t,i)}function JAn(n,e,t,i){bM.call(this,n,e,t,i)}function NL(n,e,t,i){bM.call(this,n,e,t,i)}function EV(n,e,t,i){bM.call(this,n,e,t,i)}function QAn(n,e,t,i){NL.call(this,n,e,t,i)}function CV(n,e,t,i){NL.call(this,n,e,t,i)}function Nn(n,e,t,i){EV.call(this,n,e,t,i)}function YAn(n,e,t,i){CV.call(this,n,e,t,i)}function ZAn(n,e,t,i){jW.call(this,n,e,t,i)}function Kb(n,e){Ir.call(this,k8+n+Td+e)}function MV(n,e){return n.jk().wi().ri(n,e)}function TV(n,e){return n.jk().wi().ti(n,e)}function nSn(n,e){return Jn(n),x(n)===x(e)}function An(n,e){return Jn(n),x(n)===x(e)}function Rae(n,e){return n.b.Bd(new ECn(n,e))}function Kae(n,e){return n.b.Bd(new CCn(n,e))}function eSn(n,e){return n.b.Bd(new MCn(n,e))}function _ae(n,e){return n.e=u(n.d.Kb(e),159)}function AV(n,e,t){return n.lastIndexOf(e,t)}function Hae(n,e,t){return bt(n[e.a],n[t.a])}function qae(n,e){return U(e,(cn(),Cj),n)}function Uae(n,e){return jc(e.a.d.p,n.a.d.p)}function Gae(n,e){return jc(n.a.d.p,e.a.d.p)}function zae(n,e){return bt(n.c-n.s,e.c-e.s)}function Xae(n,e){return bt(n.b.e.a,e.b.e.a)}function Vae(n,e){return bt(n.c.e.a,e.c.e.a)}function tSn(n){return n.c?qr(n.c.a,n,0):-1}function Ep(n){return n==Ud||n==tl||n==qc}function SV(n,e){this.c=n,oN.call(this,n,e)}function iSn(n,e,t){this.a=n,JX.call(this,e,t)}function rSn(n){this.c=n,IC.call(this,Ey,0)}function cSn(n,e,t){this.c=e,this.b=t,this.a=n}function N7(n){k4(),this.d=n,this.a=new Eg}function uSn(n){uh(),this.a=(Dn(),new r4(n))}function Wae(n,e){hl(n.f)?QCe(n,e):Sye(n,e)}function oSn(n,e){sbe.call(this,n,n.length,e)}function Jae(n,e){qf||e&&(n.d=e)}function sSn(n,e){return O(e,15)&&xqn(n.c,e)}function Qae(n,e,t){return u(n.c,71).Wk(e,t)}function UC(n,e,t){return u(n.c,71).Xk(e,t)}function Yae(n,e,t){return oae(n,u(e,343),t)}function PV(n,e,t){return sae(n,u(e,343),t)}function Zae(n,e,t){return PKn(n,u(e,343),t)}function fSn(n,e,t){return _ye(n,u(e,343),t)}function x6(n,e){return e==null?null:tw(n.b,e)}function IV(n){return $b(n)?(Jn(n),n):n.ue()}function GC(n){return!isNaN(n)&&!isFinite(n)}function $L(n){jTn(this),vo(this),Bi(this,n)}function _u(n){pL(this),zV(this.c,0,n.Pc())}function _o(n,e,t){this.a=n,this.b=e,this.c=t}function hSn(n,e,t){this.a=n,this.b=e,this.c=t}function lSn(n,e,t){this.d=n,this.b=t,this.a=e}function aSn(n){this.a=n,fl(),vc(Date.now())}function dSn(n){bo(n.a),GJ(n.c,n.b),n.b=null}function xL(){xL=F,Oun=new $0n,AQn=new x0n}function bSn(){bSn=F,Ioe=K(ki,Fn,1,0,5,1)}function wSn(){wSn=F,Voe=K(ki,Fn,1,0,5,1)}function OV(){OV=F,Woe=K(ki,Fn,1,0,5,1)}function uh(){uh=F,new KG((Dn(),Dn(),sr))}function nde(n){return B4(),Ee((yNn(),IQn),n)}function ede(n){return Gu(),Ee((lNn(),xQn),n)}function tde(n){return YT(),Ee((JDn(),HQn),n)}function ide(n){return cT(),Ee((QDn(),qQn),n)}function rde(n){return NA(),Ee((Jxn(),UQn),n)}function cde(n){return bf(),Ee((fNn(),XQn),n)}function ude(n){return Uu(),Ee((sNn(),WQn),n)}function ode(n){return bu(),Ee((hNn(),QQn),n)}function sde(n){return VA(),Ee((zMn(),kYn),n)}function fde(n){return N0(),Ee((ENn(),jYn),n)}function hde(n){return Vp(),Ee((MNn(),CYn),n)}function lde(n){return A5(),Ee((CNn(),AYn),n)}function ade(n){return YE(),Ee((jDn(),SYn),n)}function dde(n){return uT(),Ee((YDn(),GYn),n)}function bde(n){return i5(),Ee((aNn(),pZn),n)}function wde(n){return Vi(),Ee((u$n(),yZn),n)}function gde(n){return nm(),Ee((ANn(),TZn),n)}function pde(n){return dd(),Ee((TNn(),DZn),n)}function DV(n,e){if(!n)throw M(new Gn(e))}function v4(n){if(!n)throw M(new Or(btn))}function FL(n,e){if(n!=e)throw M(new Bo)}function gSn(n,e,t){this.a=n,this.b=e,this.c=t}function LV(n,e,t){this.a=n,this.b=e,this.c=t}function pSn(n,e,t){this.a=n,this.b=e,this.c=t}function zC(n,e,t){this.b=n,this.a=e,this.c=t}function NV(n,e,t){this.b=n,this.c=e,this.a=t}function $V(n,e,t){this.a=n,this.b=e,this.c=t}function XC(n,e,t){this.e=e,this.b=n,this.d=t}function mSn(n,e,t){this.b=n,this.a=e,this.c=t}function mde(n,e,t){return Xa(),n.a.Yd(e,t),e}function BL(n){var e;return e=new ubn,e.e=n,e}function xV(n){var e;return e=new qyn,e.b=n,e}function $7(){$7=F,CP=new sgn,MP=new fgn}function VC(){VC=F,XZn=new xgn,zZn=new Fgn}function xs(){xs=F,YZn=new G2n,ZZn=new z2n}function vde(n){return D0(),Ee((qLn(),fne),n)}function kde(n){return tr(),Ee((XMn(),HZn),n)}function yde(n){return OT(),Ee((PNn(),GZn),n)}function jde(n){return $f(),Ee((SNn(),tne),n)}function Ede(n){return ow(),Ee((o$n(),rne),n)}function Cde(n){return DA(),Ee(($xn(),hne),n)}function Mde(n){return Yp(),Ee((D$n(),lne),n)}function Tde(n){return QM(),Ee((cLn(),ane),n)}function Ade(n){return u5(),Ee((_Ln(),dne),n)}function Sde(n){return bT(),Ee((HLn(),bne),n)}function Pde(n){return o1(),Ee((s$n(),wne),n)}function Ide(n){return pk(),Ee((eLn(),gne),n)}function Ode(n){return jm(),Ee(($$n(),jne),n)}function Dde(n){return pr(),Ee((aFn(),Ene),n)}function Lde(n){return Z4(),Ee((GLn(),Cne),n)}function Nde(n){return vl(),Ee((zLn(),Tne),n)}function $de(n){return KM(),Ee((nLn(),Ane),n)}function xde(n){return Jk(),Ee((N$n(),yne),n)}function Fde(n){return hd(),Ee((ULn(),mne),n)}function Bde(n){return vA(),Ee((L$n(),vne),n)}function Rde(n){return hk(),Ee((tLn(),kne),n)}function Kde(n){return Yo(),Ee((h$n(),Sne),n)}function _de(n){return a1(),Ee((Xxn(),Yte),n)}function Hde(n){return g5(),Ee((XLn(),Zte),n)}function qde(n){return cw(),Ee((INn(),nie),n)}function Ude(n){return T5(),Ee((f$n(),eie),n)}function Gde(n){return gs(),Ee((dFn(),tie),n)}function zde(n){return lh(),Ee((ONn(),iie),n)}function Xde(n){return wk(),Ee((iLn(),rie),n)}function Vde(n){return gr(),Ee((JLn(),uie),n)}function Wde(n){return ST(),Ee((VLn(),oie),n)}function Jde(n){return d5(),Ee((WLn(),sie),n)}function Qde(n){return om(),Ee((QLn(),fie),n)}function Yde(n){return dT(),Ee((YLn(),hie),n)}function Zde(n){return DT(),Ee((ZLn(),lie),n)}function n0e(n){return O0(),Ee((oNn(),Aie),n)}function e0e(n){return n5(),Ee((rLn(),Die),n)}function t0e(n){return sh(),Ee((sLn(),Rie),n)}function i0e(n){return Sf(),Ee((fLn(),_ie),n)}function r0e(n){return lf(),Ee((hLn(),tre),n)}function c0e(n){return M0(),Ee((lLn(),fre),n)}function u0e(n){return Qp(),Ee((BNn(),hre),n)}function o0e(n){return q5(),Ee((VMn(),lre),n)}function s0e(n){return b5(),Ee((nNn(),are),n)}function f0e(n){return w5(),Ee((FNn(),$re),n)}function h0e(n){return FM(),Ee((uLn(),xre),n)}function l0e(n){return yT(),Ee((oLn(),_re),n)}function a0e(n){return wA(),Ee((l$n(),qre),n)}function d0e(n){return Ok(),Ee((eNn(),Gre),n)}function b0e(n){return ZM(),Ee((aLn(),Ure),n)}function w0e(n){return sA(),Ee((xNn(),lce),n)}function g0e(n){return AT(),Ee((tNn(),ace),n)}function p0e(n){return XT(),Ee((iNn(),dce),n)}function m0e(n){return rA(),Ee((rNn(),wce),n)}function v0e(n){return _T(),Ee((cNn(),mce),n)}function k0e(n){return GM(),Ee((dLn(),Rce),n)}function y0e(n){return V4(),Ee((ZDn(),_Zn),n)}function j0e(n){return Vn(),Ee((x$n(),xZn),n)}function E0e(n){return nT(),Ee((uNn(),Kce),n)}function C0e(n){return N$(),Ee((bLn(),_ce),n)}function M0e(n){return R5(),Ee((a$n(),qce),n)}function T0e(n){return eC(),Ee((IDn(),Gce),n)}function A0e(n){return Fk(),Ee((bNn(),Uce),n)}function S0e(n){return tC(),Ee((ODn(),Xce),n)}function P0e(n){return ck(),Ee((wLn(),Vce),n)}function I0e(n){return Yk(),Ee((d$n(),Wce),n)}function O0e(n){return f6(),Ee((DDn(),lue),n)}function D0e(n){return Ak(),Ee((gLn(),aue),n)}function L0e(n){return gf(),Ee((w$n(),mue),n)}function N0e(n){return l1(),Ee((Lxn(),kue),n)}function $0e(n){return Rh(),Ee((F$n(),yue),n)}function x0e(n){return wd(),Ee((B$n(),Aue),n)}function F0e(n){return ci(),Ee((b$n(),zue),n)}function B0e(n){return Nf(),Ee((wNn(),Xue),n)}function R0e(n){return El(),Ee((RNn(),Vue),n)}function K0e(n){return pA(),Ee((R$n(),Wue),n)}function _0e(n){return jl(),Ee((dNn(),Que),n)}function H0e(n){return To(),Ee((KNn(),Zue),n)}function q0e(n){return lw(),Ee((Wxn(),noe),n)}function U0e(n){return Fg(),Ee((g$n(),eoe),n)}function G0e(n){return Oi(),Ee((K$n(),toe),n)}function z0e(n){return zu(),Ee((_$n(),ioe),n)}function X0e(n){return tn(),Ee((p$n(),roe),n)}function V0e(n){return go(),Ee((_Nn(),foe),n)}function W0e(n){return io(),Ee((Vxn(),hoe),n)}function J0e(n){return Gp(),Ee((gNn(),loe),n)}function Q0e(n,e){return Jn(n),n+(Jn(e),e)}function Y0e(n){return RL(),Ee((pLn(),aoe),n)}function Z0e(n){return qT(),Ee((HNn(),doe),n)}function nbe(n){return LT(),Ee((qNn(),goe),n)}function k4(){k4=F,tln=(tn(),Wn),II=Zn}function RL(){RL=F,vdn=new VSn,kdn=new LPn}function ebe(n){return!n.e&&(n.e=new Z),n.e}function KL(n,e){this.c=n,this.a=e,this.b=e-n}function vSn(n,e,t){this.a=n,this.b=e,this.c=t}function _L(n,e,t){this.a=n,this.b=e,this.c=t}function FV(n,e,t){this.a=n,this.b=e,this.c=t}function BV(n,e,t){this.a=n,this.b=e,this.c=t}function kSn(n,e,t){this.a=n,this.b=e,this.c=t}function ySn(n,e,t){this.a=n,this.b=e,this.c=t}function Xl(n,e,t){this.e=n,this.a=e,this.c=t}function jSn(n,e,t){Ko(),tJ.call(this,n,e,t)}function HL(n,e,t){Ko(),RW.call(this,n,e,t)}function RV(n,e,t){Ko(),RW.call(this,n,e,t)}function KV(n,e,t){Ko(),RW.call(this,n,e,t)}function ESn(n,e,t){Ko(),HL.call(this,n,e,t)}function _V(n,e,t){Ko(),HL.call(this,n,e,t)}function CSn(n,e,t){Ko(),_V.call(this,n,e,t)}function MSn(n,e,t){Ko(),RV.call(this,n,e,t)}function TSn(n,e,t){Ko(),KV.call(this,n,e,t)}function qL(n){rM.call(this,n.d,n.c,n.a,n.b)}function HV(n){rM.call(this,n.d,n.c,n.a,n.b)}function qV(n){this.d=n,c9n(this),this.b=nwe(n.d)}function tbe(n){return Cm(),Ee((Nxn(),Poe),n)}function x7(n,e){return Se(n),Se(e),new NEn(n,e)}function Cp(n,e){return Se(n),Se(e),new RSn(n,e)}function ibe(n,e){return Se(n),Se(e),new KSn(n,e)}function rbe(n,e){return Se(n),Se(e),new qEn(n,e)}function UL(n){return oe(n.b!=0),Xo(n,n.a.a)}function cbe(n){return oe(n.b!=0),Xo(n,n.c.b)}function ube(n){return!n.c&&(n.c=new W3),n.c}function y4(n){var e;return e=new Z,b$(e,n),e}function obe(n){var e;return e=new ni,b$(e,n),e}function ASn(n){var e;return e=new GG,A$(e,n),e}function F7(n){var e;return e=new Ct,A$(e,n),e}function u(n,e){return F6(n==null||Tx(n,e)),n}function sbe(n,e,t){TPn.call(this,e,t),this.a=n}function SSn(n,e){this.c=n,this.b=e,this.a=!1}function PSn(){this.a=";,;",this.b="",this.c=""}function ISn(n,e,t){this.b=n,_Mn.call(this,e,t)}function UV(n,e,t){this.c=n,oC.call(this,e,t)}function GV(n,e,t){d4.call(this,n,e),this.b=t}function zV(n,e,t){Bnn(t,0,n,e,t.length,!1)}function Lh(n,e,t,i,r){n.b=e,n.c=t,n.d=i,n.a=r}function XV(n,e,t,i,r){n.d=e,n.c=t,n.a=i,n.b=r}function fbe(n,e){e&&(n.b=e,n.a=(z1(e),e.a))}function B7(n,e){if(!n)throw M(new Gn(e))}function Mp(n,e){if(!n)throw M(new Or(e))}function VV(n,e){if(!n)throw M(new Bjn(e))}function hbe(n,e){return ZE(),jc(n.d.p,e.d.p)}function lbe(n,e){return kl(),bt(n.e.b,e.e.b)}function abe(n,e){return kl(),bt(n.e.a,e.e.a)}function dbe(n,e){return jc(GSn(n.d),GSn(e.d))}function WC(n,e){return e&&vM(n,e.d)?e:null}function bbe(n,e){return e==(tn(),Wn)?n.c:n.d}function WV(n){return Q1(dwe(Vr(n)?ds(n):n))}function wbe(n){return new V(n.c+n.b,n.d+n.a)}function OSn(n){return n!=null&&!lx(n,N9,$9)}function gbe(n,e){return(fBn(n)<<4|fBn(e))&ui}function DSn(n,e,t,i,r){n.c=e,n.d=t,n.b=i,n.a=r}function JV(n){var e,t;e=n.b,t=n.c,n.b=t,n.c=e}function QV(n){var e,t;t=n.d,e=n.a,n.d=e,n.a=t}function pbe(n,e){var t;return t=n.c,PQ(n,e),t}function YV(n,e){return e<0?n.g=-1:n.g=e,n}function JC(n,e){return Mme(n),n.a*=e,n.b*=e,n}function LSn(n,e,t){A$n.call(this,e,t),this.d=n}function R7(n,e,t){pX.call(this,n,e),this.c=t}function QC(n,e,t){pX.call(this,n,e),this.c=t}function ZV(n){OV(),ME.call(this),this.ci(n)}function NSn(){$4(),Bwe.call(this,(R1(),Ss))}function $Sn(n){return nt(),new Nh(0,n)}function xSn(){xSn=F,AU=(Dn(),new nD(IK))}function YC(){YC=F,new hZ((bD(),HK),(dD(),_K))}function FSn(){FSn=F,pun=K(Gi,J,17,256,0,1)}function BSn(){this.b=$(R(rn((qs(),y_))))}function GL(n){this.b=n,this.a=Wa(this.b.a).Od()}function RSn(n,e){this.b=n,this.a=e,GO.call(this)}function KSn(n,e){this.a=n,this.b=e,GO.call(this)}function _Sn(n,e,t){this.a=n,gg.call(this,e,t)}function HSn(n,e,t){this.a=n,gg.call(this,e,t)}function j4(n,e,t){var i;i=new qb(t),df(n,e,i)}function nW(n,e,t){var i;return i=n[e],n[e]=t,i}function ZC(n){var e;return e=n.slice(),o$(e,n)}function nM(n){var e;return e=n.n,n.a.b+e.d+e.a}function qSn(n){var e;return e=n.n,n.e.b+e.d+e.a}function eW(n){var e;return e=n.n,n.e.a+e.b+e.c}function tW(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function xe(n,e){return xt(n,e,n.c.b,n.c),!0}function mbe(n){return n.a?n.a:vN(n)}function vbe(n){return Lp(),Kh(n)==At(ia(n))}function kbe(n){return Lp(),ia(n)==At(Kh(n))}function d0(n,e){return O5(n,new d4(e.a,e.b))}function ybe(n,e){return yM(),Nx(n,e),new lIn(n,e)}function jbe(n,e){return n.c=e)throw M(new YG)}function _b(n,e){return $k(n,(Jn(e),new a9n(e)))}function Ap(n,e){return $k(n,(Jn(e),new d9n(e)))}function SPn(n,e,t){return VLe(n,u(e,12),u(t,12))}function PPn(n){return Ou(),u(n,12).g.c.length!=0}function IPn(n){return Ou(),u(n,12).e.c.length!=0}function uwe(n,e){return Hp(),bt(e.a.o.a,n.a.o.a)}function owe(n,e){e.Bb&kc&&!n.a.o&&(n.a.o=e)}function swe(n,e){e.Ug("General 'Rotator",1),jDe(n)}function fwe(n,e,t){e.qf(t,$(R(ee(n.b,t)))*n.a)}function OPn(n,e,t){return Xg(),W4(n,e)&&W4(n,t)}function _6(n){return zu(),!n.Hc(Fl)&&!n.Hc(Pa)}function hwe(n){return n.e?qJ(n.e):null}function H6(n){return Vr(n)?""+n:$qn(n)}function yW(n){var e;for(e=n;e.f;)e=e.f;return e}function lwe(n,e,t){return $t(e,0,oW(e[0],t[0])),e}function Vl(n,e,t,i){var r;r=n.i,r.i=e,r.a=t,r.b=i}function q(n,e,t,i){ti.call(this,n,e,t),this.b=i}function Ci(n,e,t,i,r){c$.call(this,n,e,t,i,r,-1)}function q6(n,e,t,i,r){ok.call(this,n,e,t,i,r,-1)}function bM(n,e,t,i){R7.call(this,n,e,t),this.b=i}function DPn(n){PMn.call(this,n,!1),this.a=!1}function LPn(){sMn.call(this,"LOOKAHEAD_LAYOUT",1)}function NPn(n){this.b=n,kp.call(this,n),RTn(this)}function $Pn(n){this.b=n,A7.call(this,n),KTn(this)}function Hb(n,e,t){this.a=n,jp.call(this,e,t,5,6)}function jW(n,e,t,i){this.b=n,ti.call(this,e,t,i)}function xPn(n,e){this.b=n,H8n.call(this,n.b),this.a=e}function FPn(n){this.a=kRn(n.a),this.b=new _u(n.b)}function EW(n,e){m0(),Hhe.call(this,n,FT(new Ku(e)))}function wM(n,e){return nt(),new BW(n,e,0)}function rN(n,e){return nt(),new BW(6,n,e)}function _i(n,e){for(Jn(e);n.Ob();)e.Cd(n.Pb())}function Zc(n,e){return Ai(e)?AN(n,e):!!wr(n.f,e)}function cN(n,e){return e.Vh()?na(n.b,u(e,54)):e}function awe(n,e){return An(n.substr(0,e.length),e)}function $h(n){return new te(new UX(n.a.length,n.a))}function gM(n){return new V(n.c+n.b/2,n.d+n.a/2)}function dwe(n){return Yc(~n.l&ro,~n.m&ro,~n.h&Il)}function uN(n){return typeof n===vy||typeof n===eB}function Hu(n){n.f=new iTn(n),n.i=new rTn(n),++n.g}function BPn(n){if(!n)throw M(new nc);return n.d}function Sp(n){var e;return e=a5(n),oe(e!=null),e}function bwe(n){var e;return e=I5e(n),oe(e!=null),e}function C4(n,e){var t;return t=n.a.gc(),BJ(e,t),t-e}function fi(n,e){var t;return t=n.a.zc(e,n),t==null}function _7(n,e){return n.a.zc(e,(_n(),wa))==null}function CW(n){return new Tn(null,vwe(n,n.length))}function MW(n,e,t){return cGn(n,u(e,42),u(t,176))}function Pp(n,e,t){return Ks(n.a,e),nW(n.b,e.g,t)}function wwe(n,e,t){E4(t,n.a.c.length),Go(n.a,t,e)}function B(n,e,t,i){xFn(e,t,n.length),gwe(n,e,t,i)}function gwe(n,e,t,i){var r;for(r=e;r0?y.Math.log(n/e):-100}function KPn(n,e){return Ec(n,e)<0?-1:Ec(n,e)>0?1:0}function H7(n,e){OTn(n,O(e,160)?e:u(e,2036).Rl())}function PW(n,e){if(n==null)throw M(new sp(e))}function vwe(n,e){return yme(e,n.length),new XSn(n,e)}function IW(n,e){return e?Bi(n,e):!1}function kwe(){return RE(),S(T(uQn,1),G,549,0,[GK])}function G6(n){return n.e==0?n:new Qa(-n.e,n.d,n.a)}function ywe(n,e){return bt(n.c.c+n.c.b,e.c.c+e.c.b)}function q7(n,e){xt(n.d,e,n.b.b,n.b),++n.a,n.c=null}function _Pn(n,e){return n.c?_Pn(n.c,e):nn(n.b,e),n}function jwe(n,e,t){var i;return i=Jb(n,e),qN(n,e,t),i}function HPn(n,e,t){var i;for(i=0;i=n.g}function $t(n,e,t){return dae(t==null||oPe(n,t)),n[e]=t}function $W(n,e){return zn(e,n.length+1),n.substr(e)}function gN(n,e){for(Jn(e);n.c=n?new Dz:Gme(n-1)}function Hi(n){return!n.a&&n.c?n.c.b:n.a}function KW(n){return O(n,616)?n:new oOn(n)}function z1(n){n.c?z1(n.c):(ea(n),n.d=!0)}function V6(n){n.c?n.c.$e():(n.d=!0,fTe(n))}function sIn(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function fIn(n){var e,t;return e=n.c.i.c,t=n.d.i.c,e==t}function _we(n,e){var t;t=n.Ih(e),t>=0?n.ki(t):Pnn(n,e)}function hIn(n,e){n.c<0||n.b.b0;)n=n<<1|(n<0?1:0);return n}function mIn(n,e){var t;return t=new Lc(n),Bn(e.c,t),t}function vIn(n,e){n.u.Hc((zu(),Fl))&&zEe(n,e),h4e(n,e)}function mc(n,e){return x(n)===x(e)||n!=null&&rt(n,e)}function Cr(n,e){return JL(n.a,e)?n.b[u(e,22).g]:null}function nge(){return YE(),S(T(oon,1),G,489,0,[b_])}function ege(){return eC(),S(T($1n,1),G,490,0,[Bq])}function tge(){return tC(),S(T(zce,1),G,558,0,[Rq])}function ige(){return f6(),S(T(tan,1),G,539,0,[Hj])}function jM(n){return!n.n&&(n.n=new q(Ar,n,1,7)),n.n}function mN(n){return!n.c&&(n.c=new q(Qu,n,9,9)),n.c}function UW(n){return!n.c&&(n.c=new Nn(he,n,5,8)),n.c}function rge(n){return!n.b&&(n.b=new Nn(he,n,4,7)),n.b}function U7(n){return n.j.c.length=0,zW(n.c),xae(n.a),n}function P4(n){return n.e==rv&&jfe(n,Y8e(n.g,n.b)),n.e}function G7(n){return n.f==rv&&Cfe(n,q7e(n.g,n.b)),n.f}function Ve(n,e,t,i){return Hxn(n,e,t,!1),BT(n,i),n}function kIn(n,e){this.b=n,oN.call(this,n,e),RTn(this)}function yIn(n,e){this.b=n,SV.call(this,n,e),KTn(this)}function W6(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function GW(n,e){this.b=n,this.c=e,this.a=new dp(this.b)}function Xi(n,e){return zn(e,n.length),n.charCodeAt(e)}function cge(n,e){DY(n,$(yl(e,"x")),$(yl(e,"y")))}function uge(n,e){DY(n,$(yl(e,"x")),$(yl(e,"y")))}function ut(n,e){return ea(n),new Tn(n,new tQ(e,n.a))}function _r(n,e){return ea(n),new Tn(n,new _J(e,n.a))}function Ub(n,e){return ea(n),new uV(n,new ILn(e,n.a))}function EM(n,e){return ea(n),new oV(n,new OLn(e,n.a))}function oge(n,e){return new GIn(u(Se(n),50),u(Se(e),50))}function sge(n,e){return bt(n.d.c+n.d.b/2,e.d.c+e.d.b/2)}function jIn(n,e,t){t.a?tu(n,e.b-n.f/2):eu(n,e.a-n.g/2)}function fge(n,e){return bt(n.g.c+n.g.b/2,e.g.c+e.g.b/2)}function hge(n,e){return $z(),bt((Jn(n),n),(Jn(e),e))}function lge(n){return n!=null&&r7(jO,n.toLowerCase())}function zW(n){var e;for(e=n.Kc();e.Ob();)e.Pb(),e.Qb()}function Tg(n){var e;return e=n.b,!e&&(n.b=e=new N8n(n)),e}function vN(n){var e;return e=Wme(n),e||null}function EIn(n,e){var t,i;return t=n/e,i=wi(t),t>i&&++i,i}function age(n,e,t){var i;i=u(n.d.Kb(t),159),i&&i.Nb(e)}function dge(n,e,t){wIe(n.a,t),zve(t),xCe(n.b,t),$Ie(e,t)}function CM(n,e,t,i){this.a=n,this.c=e,this.b=t,this.d=i}function XW(n,e,t,i){this.c=n,this.b=e,this.a=t,this.d=i}function CIn(n,e,t,i){this.c=n,this.b=e,this.d=t,this.a=i}function Ho(n,e,t,i){this.c=n,this.d=e,this.b=t,this.a=i}function MIn(n,e,t,i){this.a=n,this.d=e,this.c=t,this.b=i}function kN(n,e,t,i){this.a=n,this.e=e,this.d=t,this.c=i}function TIn(n,e,t,i){this.a=n,this.c=e,this.d=t,this.b=i}function yN(n,e,t){this.a=ktn,this.d=n,this.b=e,this.c=t}function Op(n,e,t,i){je.call(this,n,e),this.a=t,this.b=i}function AIn(n,e){this.d=(Jn(n),n),this.a=16449,this.c=e}function SIn(n){this.a=new Z,this.e=K(ye,J,53,n,0,2)}function bge(n){n.Ug("No crossing minimization",1),n.Vg()}function PIn(){ec.call(this,"There is no more element.")}function IIn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function OIn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function Za(n,e,t,i){this.e=n,this.a=e,this.c=t,this.d=i}function DIn(n,e,t,i){this.a=n,this.c=e,this.d=t,this.b=i}function LIn(n,e,t,i){Ko(),DLn.call(this,e,t,i),this.a=n}function NIn(n,e,t,i){Ko(),DLn.call(this,e,t,i),this.a=n}function jN(n,e,t){var i,r;return i=utn(n),r=e.ti(t,i),r}function al(n){var e,t;return t=(e=new Jd,e),K4(t,n),t}function EN(n){var e,t;return t=(e=new Jd,e),fnn(t,n),t}function wge(n,e){var t;return t=ee(n.f,e),HQ(e,t),null}function $In(n){return!n.b&&(n.b=new q(Vt,n,12,3)),n.b}function xIn(n){return F6(n==null||uN(n)&&n.Tm!==J2),n}function MM(n){return n.n&&(n.e!==Fzn&&n.je(),n.j=null),n}function I4(n){if(eo(n.d),n.d.d!=n.c)throw M(new Bo)}function VW(n){return oe(n.b0&&bKn(this)}function FIn(n,e){this.a=n,bae.call(this,n,u(n.d,15).fd(e))}function gge(n,e){return bt(Su(n)*ao(n),Su(e)*ao(e))}function pge(n,e){return bt(Su(n)*ao(n),Su(e)*ao(e))}function mge(n){return _0(n)&&on(un(z(n,(cn(),Nd))))}function vge(n,e){return Pn(n,u(v(e,(cn(),Cv)),17),e)}function kge(n,e){return u(v(n,(W(),T3)),15).Fc(e),e}function WW(n,e){return n.b=e.b,n.c=e.c,n.d=e.d,n.a=e.a,n}function BIn(n,e,t,i){this.b=n,this.c=i,IC.call(this,e,t)}function yge(n,e,t){n.i=0,n.e=0,e!=t&&yFn(n,e,t)}function jge(n,e,t){n.i=0,n.e=0,e!=t&&jFn(n,e,t)}function Ege(n,e,t){return s6(),J5e(u(ee(n.e,e),529),t)}function Dp(n){var e;return e=n.f,e||(n.f=new h4(n,n.c))}function RIn(n,e){return xg(n.j,e.s,e.c)+xg(e.e,n.s,n.c)}function KIn(n,e){n.e&&!n.e.a&&(Ayn(n.e,e),KIn(n.e,e))}function _In(n,e){n.d&&!n.d.a&&(Ayn(n.d,e),_In(n.d,e))}function Cge(n,e){return-bt(Su(n)*ao(n),Su(e)*ao(e))}function Mge(n){return u(n.ld(),149).Pg()+":"+Jr(n.md())}function HIn(){tF(this,new oG),this.wb=(G1(),Hn),o4()}function qIn(n){this.b=new Z,hi(this.b,this.b),this.a=n}function JW(n,e){new Ct,this.a=new Mu,this.b=n,this.c=e}function j0(){j0=F,Pun=new FU,ZK=new FU,Iun=new D0n}function Dn(){Dn=F,sr=new A0n,Wh=new P0n,hP=new I0n}function QW(){QW=F,RQn=new nbn,_Qn=new aW,KQn=new ebn}function Lp(){Lp=F,mP=new Z,m_=new de,p_=new Z}function TM(n,e){if(n==null)throw M(new sp(e));return n}function AM(n){return!n.a&&(n.a=new q(Qe,n,10,11)),n.a}function ft(n){return!n.q&&(n.q=new q(As,n,11,10)),n.q}function _(n){return!n.s&&(n.s=new q(ku,n,21,17)),n.s}function Tge(n){return Se(n),IRn(new te(re(n.a.Kc(),new En)))}function Age(n,e){return wo(n),wo(e),Fjn(u(n,22),u(e,22))}function nd(n,e,t){var i,r;i=IV(t),r=new AE(i),df(n,e,r)}function MN(n,e,t,i,r,c){ok.call(this,n,e,t,i,r,c?-2:-1)}function UIn(n,e,t,i){pX.call(this,e,t),this.b=n,this.a=i}function GIn(n,e){Vfe.call(this,new iN(n)),this.a=n,this.b=e}function YW(n){this.b=n,this.c=n,n.e=null,n.c=null,this.a=1}function Sge(n){xs();var e;e=u(n.g,10),e.n.a=n.d.c+e.d.b}function O4(){O4=F;var n,e;e=!$8e(),n=new V3,VK=e?new og:n}function TN(n){return Dn(),O(n,59)?new jD(n):new BC(n)}function SM(n){return O(n,16)?new B6(u(n,16)):obe(n.Kc())}function Pge(n){return new HTn(n,n.e.Rd().gc()*n.c.Rd().gc())}function Ige(n){return new qTn(n,n.e.Rd().gc()*n.c.Rd().gc())}function ZW(n){return n&&n.hashCode?n.hashCode():l0(n)}function AN(n,e){return e==null?!!wr(n.f,null):zbe(n.i,e)}function Oge(n,e){var t;return t=$X(n.a,e),t&&(e.d=null),t}function zIn(n,e,t){return n.f?n.f.ef(e,t):!1}function z7(n,e,t,i){$t(n.c[e.g],t.g,i),$t(n.c[t.g],e.g,i)}function SN(n,e,t,i){$t(n.c[e.g],e.g,t),$t(n.b[e.g],e.g,i)}function Dge(n,e,t){return $(R(t.a))<=n&&$(R(t.b))>=e}function XIn(n,e){this.g=n,this.d=S(T(Qh,1),b1,10,0,[e])}function VIn(n){this.c=n,this.b=new Ul(u(Se(new tbn),50))}function WIn(n){this.c=n,this.b=new Ul(u(Se(new ewn),50))}function JIn(n){this.b=n,this.a=new Ul(u(Se(new Nbn),50))}function QIn(){this.b=new ni,this.d=new Ct,this.e=new ZG}function nJ(){this.c=new Li,this.d=new Li,this.e=new Li}function E0(){this.a=new Mu,this.b=(Co(3,mw),new Gc(3))}function Wl(n,e){this.e=n,this.a=ki,this.b=Qqn(e),this.c=e}function PM(n){this.c=n.c,this.d=n.d,this.b=n.b,this.a=n.a}function YIn(n,e,t,i,r,c){this.a=n,k$.call(this,e,t,i,r,c)}function ZIn(n,e,t,i,r,c){this.a=n,k$.call(this,e,t,i,r,c)}function X1(n,e,t,i,r,c,s){return new GN(n.e,e,t,i,r,c,s)}function Lge(n,e,t){return t>=0&&An(n.substr(t,e.length),e)}function nOn(n,e){return O(e,149)&&An(n.b,u(e,149).Pg())}function Nge(n,e){return n.a?e.Gh().Kc():u(e.Gh(),71).Ii()}function eOn(n,e){var t;return t=n.b.Qc(e),WDn(t,n.b.gc()),t}function X7(n,e){if(n==null)throw M(new sp(e));return n}function Hr(n){return n.u||(Zu(n),n.u=new NAn(n,n)),n.u}function PN(n){this.a=(Dn(),O(n,59)?new jD(n):new BC(n))}function au(n){var e;return e=u(Un(n,16),29),e||n.ii()}function IM(n,e){var t;return t=za(n.Rm),e==null?t:t+": "+e}function qo(n,e,t){return Fi(e,t,n.length),n.substr(e,t-e)}function tOn(n,e){qC.call(this),lQ(this),this.a=n,this.c=e}function $ge(n){n&&IM(n,n.ie())}function xge(n){HE(),y.setTimeout(function(){throw n},0)}function Fge(){return YT(),S(T(Bun,1),G,436,0,[o_,Fun])}function Bge(){return cT(),S(T(Kun,1),G,435,0,[Run,s_])}function Rge(){return uT(),S(T(bon,1),G,432,0,[v_,vP])}function Kge(){return V4(),S(T(KZn,1),G,517,0,[dj,L_])}function _ge(){return KM(),S(T(Qsn,1),G,429,0,[fH,Jsn])}function Hge(){return pk(),S(T($sn,1),G,428,0,[WP,Nsn])}function qge(){return QM(),S(T(Asn,1),G,431,0,[Tsn,V_])}function Uge(){return wk(),S(T(qhn,1),G,430,0,[UH,GH])}function Gge(){return n5(),S(T(Oie,1),G,531,0,[r9,i9])}function zge(){return yT(),S(T(Rln,1),G,501,0,[RI,D2])}function Xge(){return sh(),S(T(Bie,1),G,523,0,[mb,y1])}function Vge(){return Sf(),S(T(Kie,1),G,522,0,[Rd,zf])}function Wge(){return lf(),S(T(ere,1),G,528,0,[zw,ja])}function Jge(){return hk(),S(T(Bsn,1),G,488,0,[Fsn,QP])}function Qge(){return GM(),S(T(S1n,1),G,491,0,[$q,A1n])}function Yge(){return N$(),S(T(N1n,1),G,492,0,[D1n,L1n])}function Zge(){return FM(),S(T(Bln,1),G,433,0,[dq,Fln])}function n2e(){return ZM(),S(T(_ln,1),G,434,0,[Kln,vq])}function e2e(){return M0(),S(T(sre,1),G,465,0,[Ea,P2])}function t2e(){return ck(),S(T(x1n,1),G,438,0,[Kq,JI])}function i2e(){return Ak(),S(T(ran,1),G,437,0,[YI,ian])}function r2e(){return RL(),S(T(dO,1),G,347,0,[vdn,kdn])}function OM(n,e,t,i){return t>=0?n.Uh(e,t,i):n.Ch(null,t,i)}function V7(n){return n.b.b==0?n.a.sf():UL(n.b)}function c2e(n){if(n.p!=5)throw M(new Cu);return Ae(n.f)}function u2e(n){if(n.p!=5)throw M(new Cu);return Ae(n.k)}function eJ(n){return x(n.a)===x((D$(),CU))&&rOe(n),n.a}function o2e(n,e){n.b=e,n.c>0&&n.b>0&&(n.g=cM(n.c,n.b,n.a))}function s2e(n,e){n.c=e,n.c>0&&n.b>0&&(n.g=cM(n.c,n.b,n.a))}function iOn(n,e){ufe(this,new V(n.a,n.b)),ofe(this,F7(e))}function C0(){Wfe.call(this,new ap(Qb(12))),KX(!0),this.a=2}function IN(n,e,t){nt(),Wd.call(this,n),this.b=e,this.a=t}function tJ(n,e,t){Ko(),LE.call(this,e),this.a=n,this.b=t}function rOn(n){var e;e=n.c.d.b,n.b=e,n.a=n.c.d,e.a=n.c.d.b=n}function f2e(n){return n.b==0?null:(oe(n.b!=0),Xo(n,n.a.a))}function Nc(n,e){return e==null?Kr(wr(n.f,null)):d6(n.i,e)}function cOn(n,e,t,i,r){return new rF(n,(B4(),i_),e,t,i,r)}function DM(n,e){return zDn(e),Lme(n,K(ye,Ke,28,e,15,1),e)}function LM(n,e){return TM(n,"set1"),TM(e,"set2"),new VEn(n,e)}function h2e(n,e){var t=XK[n.charCodeAt(0)];return t??n}function uOn(n,e){var t,i;return t=e,i=new DO,LGn(n,t,i),i.d}function ON(n,e,t,i){var r;r=new FAn,e.a[t.g]=r,Pp(n.b,i,r)}function l2e(n,e){var t;return t=Ime(n.f,e),tt(HC(t),n.f.d)}function W7(n){var e;_me(n.a),dTn(n.a),e=new IE(n.a),HY(e)}function a2e(n,e){_qn(n,!0),nu(n.e.Rf(),new NV(n,!0,e))}function d2e(n,e){return Lp(),n==At(Kh(e))||n==At(ia(e))}function b2e(n,e){return kl(),u(v(e,(lc(),Sh)),17).a==n}function wi(n){return Math.max(Math.min(n,et),-2147483648)|0}function oOn(n){this.a=u(Se(n),277),this.b=(Dn(),new XX(n))}function sOn(n,e,t){this.i=new Z,this.b=n,this.g=e,this.a=t}function iJ(n,e,t){this.a=new Z,this.e=n,this.f=e,this.c=t}function NM(n,e,t){this.c=new Z,this.e=n,this.f=e,this.b=t}function fOn(n){qC.call(this),lQ(this),this.a=n,this.c=!0}function w2e(n){function e(){}return e.prototype=n||{},new e}function g2e(n){if(n.Ae())return null;var e=n.n;return rP[e]}function J7(n){return n.Db>>16!=3?null:u(n.Cb,27)}function Af(n){return n.Db>>16!=9?null:u(n.Cb,27)}function hOn(n){return n.Db>>16!=6?null:u(n.Cb,74)}function M0(){M0=F,Ea=new cX(s3,0),P2=new cX(f3,1)}function sh(){sh=F,mb=new tX(f3,0),y1=new tX(s3,1)}function Sf(){Sf=F,Rd=new iX(_B,0),zf=new iX("UP",1)}function lOn(){lOn=F,oQn=Ce((RE(),S(T(uQn,1),G,549,0,[GK])))}function aOn(n){var e;return e=new zE(Qb(n.length)),eY(e,n),e}function dOn(n,e){return n.b+=e.b,n.c+=e.c,n.d+=e.d,n.a+=e.a,n}function p2e(n,e){return Zxn(n,e)?(W$n(n),!0):!1}function dl(n,e){if(e==null)throw M(new ip);return F8e(n,e)}function Q7(n,e){var t;t=n.q.getHours(),n.q.setDate(e),G5(n,t)}function rJ(n,e,t){var i;i=n.Ih(e),i>=0?n.bi(i,t):ten(n,e,t)}function bOn(n,e){var t;return t=n.Ih(e),t>=0?n.Wh(t):hF(n,e)}function wOn(n,e){var t;for(Se(e),t=n.a;t;t=t.c)e.Yd(t.g,t.i)}function DN(n,e,t){var i;i=vFn(n,e,t),n.b=new ET(i.c.length)}function Ag(n,e,t){$M(),n&&Xe(yU,n,e),n&&Xe(hE,n,t)}function m2e(n,e){return VC(),_n(),u(e.a,17).a0}function cJ(n){var e;return e=n.d,e=n.bj(n.f),ve(n,e),e.Ob()}function gOn(n,e){var t;return t=new fW(e),_Kn(t,n),new _u(t)}function y2e(n){if(n.p!=0)throw M(new Cu);return M6(n.f,0)}function j2e(n){if(n.p!=0)throw M(new Cu);return M6(n.k,0)}function pOn(n){return n.Db>>16!=7?null:u(n.Cb,241)}function D4(n){return n.Db>>16!=6?null:u(n.Cb,241)}function mOn(n){return n.Db>>16!=7?null:u(n.Cb,167)}function At(n){return n.Db>>16!=11?null:u(n.Cb,27)}function Gb(n){return n.Db>>16!=17?null:u(n.Cb,29)}function vOn(n){return n.Db>>16!=3?null:u(n.Cb,155)}function uJ(n){var e;return ea(n),e=new ni,ut(n,new M9n(e))}function kOn(n,e){var t=n.a=n.a||[];return t[e]||(t[e]=n.ve(e))}function E2e(n,e){var t;t=n.q.getHours(),n.q.setMonth(e),G5(n,t)}function yOn(n,e){xC(this),this.f=e,this.g=n,MM(this),this.je()}function jOn(n,e){this.a=n,this.c=Ki(this.a),this.b=new PM(e)}function EOn(n,e,t){this.a=e,this.c=n,this.b=(Se(t),new _u(t))}function COn(n,e,t){this.a=e,this.c=n,this.b=(Se(t),new _u(t))}function MOn(n){this.a=n,this.b=K(Sie,J,2043,n.e.length,0,2)}function TOn(){this.a=new ih,this.e=new ni,this.g=0,this.i=0}function $M(){$M=F,yU=new de,hE=new de,ple(MQn,new wvn)}function AOn(){AOn=F,aie=Pu(new ii,(Vi(),zr),(tr(),bj))}function oJ(){oJ=F,die=Pu(new ii,(Vi(),zr),(tr(),bj))}function SOn(){SOn=F,wie=Pu(new ii,(Vi(),zr),(tr(),bj))}function POn(){POn=F,Lie=Re(new ii,(Vi(),zr),(tr(),x8))}function ko(){ko=F,xie=Re(new ii,(Vi(),zr),(tr(),x8))}function IOn(){IOn=F,Fie=Re(new ii,(Vi(),zr),(tr(),x8))}function NN(){NN=F,Hie=Re(new ii,(Vi(),zr),(tr(),x8))}function J6(n,e,t,i,r,c){return new ml(n.e,e,n.Lj(),t,i,r,c)}function Dr(n,e,t){return e==null?Vc(n.f,null,t):$0(n.i,e,t)}function Zi(n,e){n.c&&du(n.c.g,n),n.c=e,n.c&&nn(n.c.g,n)}function $i(n,e){n.c&&du(n.c.a,n),n.c=e,n.c&&nn(n.c.a,n)}function ic(n,e){n.i&&du(n.i.j,n),n.i=e,n.i&&nn(n.i.j,n)}function Ii(n,e){n.d&&du(n.d.e,n),n.d=e,n.d&&nn(n.d.e,n)}function $N(n,e){n.a&&du(n.a.k,n),n.a=e,n.a&&nn(n.a.k,n)}function xN(n,e){n.b&&du(n.b.f,n),n.b=e,n.b&&nn(n.b.f,n)}function OOn(n,e){$we(n,n.b,n.c),u(n.b.b,68),e&&u(e.b,68).b}function C2e(n,e){return bt(u(n.c,65).c.e.b,u(e.c,65).c.e.b)}function M2e(n,e){return bt(u(n.c,65).c.e.a,u(e.c,65).c.e.a)}function T2e(n){return Y$(),_n(),u(n.a,86).d.e!=0}function xM(n,e){O(n.Cb,184)&&(u(n.Cb,184).tb=null),zc(n,e)}function FN(n,e){O(n.Cb,90)&&hw(Zu(u(n.Cb,90)),4),zc(n,e)}function A2e(n,e){LY(n,e),O(n.Cb,90)&&hw(Zu(u(n.Cb,90)),2)}function S2e(n,e){var t,i;t=e.c,i=t!=null,i&&Ip(n,new qb(e.c))}function DOn(n){var e,t;return t=(o4(),e=new Jd,e),K4(t,n),t}function LOn(n){var e,t;return t=(o4(),e=new Jd,e),K4(t,n),t}function NOn(n){for(var e;;)if(e=n.Pb(),!n.Ob())return e}function P2e(n,e,t){return nn(n.a,(yM(),Nx(e,t),new i0(e,t))),n}function $c(n,e){return dr(),a$(e)?new eM(e,n):new j7(e,n)}function Y7(n){return dh(),Ec(n,0)>=0?ta(n):G6(ta(n1(n)))}function I2e(n){var e;return e=u(ZC(n.b),9),new _o(n.a,e,n.c)}function $On(n,e){var t;return t=u(tw(Dp(n.a),e),16),t?t.gc():0}function xOn(n,e,t){var i;oBn(e,t,n.c.length),i=t-e,Pz(n.c,e,i)}function Jl(n,e,t){oBn(e,t,n.gc()),this.c=n,this.a=e,this.b=t-e}function Np(n){this.c=new Ct,this.b=n.b,this.d=n.c,this.a=n.a}function BN(n){this.a=y.Math.cos(n),this.b=y.Math.sin(n)}function ed(n,e,t,i){this.c=n,this.d=i,$N(this,e),xN(this,t)}function sJ(n,e){Xfe.call(this,new ap(Qb(n))),Co(e,Ozn),this.a=e}function FOn(n,e,t){return new rF(n,(B4(),t_),null,!1,e,t)}function BOn(n,e,t){return new rF(n,(B4(),r_),e,t,null,!1)}function O2e(){return Gu(),S(T(xr,1),G,108,0,[xun,Yr,Aw])}function D2e(){return bu(),S(T(JQn,1),G,472,0,[vf,pa,zs])}function L2e(){return Uu(),S(T(VQn,1),G,471,0,[Mh,ga,Gs])}function N2e(){return bf(),S(T(Sw,1),G,237,0,[bc,Wc,wc])}function $2e(){return i5(),S(T(Pon,1),G,391,0,[E_,j_,C_])}function x2e(){return D0(),S(T(R_,1),G,372,0,[ub,ma,cb])}function F2e(){return u5(),S(T(Psn,1),G,322,0,[B8,pj,Ssn])}function B2e(){return bT(),S(T(Osn,1),G,351,0,[Isn,VP,W_])}function R2e(){return hd(),S(T(pne,1),G,460,0,[Y_,mv,p2])}function K2e(){return Z4(),S(T(sH,1),G,299,0,[uH,oH,mj])}function _2e(){return vl(),S(T(Mne,1),G,311,0,[vj,v2,E3])}function H2e(){return g5(),S(T(Lhn,1),G,390,0,[FH,Dhn,MI])}function q2e(){return gr(),S(T(cie,1),G,463,0,[n9,Vu,Jc])}function U2e(){return ST(),S(T(zhn,1),G,387,0,[Uhn,zH,Ghn])}function G2e(){return d5(),S(T(Xhn,1),G,349,0,[VH,XH,Ij])}function z2e(){return om(),S(T(Whn,1),G,350,0,[WH,Vhn,e9])}function X2e(){return dT(),S(T(Yhn,1),G,352,0,[Qhn,JH,Jhn])}function V2e(){return DT(),S(T(Zhn,1),G,388,0,[QH,Ov,Gw])}function W2e(){return O0(),S(T(Tie,1),G,464,0,[Oj,t9,PI])}function Pf(n){return cc(S(T(Ei,1),J,8,0,[n.i.n,n.n,n.a]))}function J2e(){return b5(),S(T(gln,1),G,392,0,[wln,nq,Lj])}function ROn(){ROn=F,Fre=Pu(new ii,(Qp(),u9),(q5(),uln))}function FM(){FM=F,dq=new uX("DFS",0),Fln=new uX("BFS",1)}function KOn(n,e,t){var i;i=new E3n,i.b=e,i.a=t,++e.b,nn(n.d,i)}function Q2e(n,e,t){var i;i=new rr(t.d),tt(i,n),DY(e,i.a,i.b)}function Y2e(n,e){LTn(n,Ae(vi(w0(e,24),YA)),Ae(vi(e,YA)))}function zb(n,e){if(n<0||n>e)throw M(new Ir(Ptn+n+Itn+e))}function Ln(n,e){if(n<0||n>=e)throw M(new Ir(Ptn+n+Itn+e))}function zn(n,e){if(n<0||n>=e)throw M(new gz(Ptn+n+Itn+e))}function In(n,e){this.b=(Jn(n),n),this.a=e&vw?e:e|64|wh}function fJ(n){var e;return ea(n),e=(j0(),j0(),ZK),fT(n,e)}function Z2e(n,e,t){var i;return i=V5(n,e,!1),i.b<=e&&i.a<=t}function npe(){return nT(),S(T(O1n,1),G,439,0,[xq,I1n,P1n])}function epe(){return _T(),S(T(a1n,1),G,394,0,[l1n,Oq,h1n])}function tpe(){return XT(),S(T(f1n,1),G,445,0,[Bj,qI,Mq])}function ipe(){return rA(),S(T(bce,1),G,456,0,[Tq,Sq,Aq])}function rpe(){return Ok(),S(T(Uln,1),G,393,0,[KI,Hln,qln])}function cpe(){return AT(),S(T(s1n,1),G,300,0,[Cq,o1n,u1n])}function upe(){return jl(),S(T(ldn,1),G,346,0,[uO,M1,M9])}function ope(){return Fk(),S(T(Fq,1),G,444,0,[XI,VI,WI])}function spe(){return Nf(),S(T(Zan,1),G,278,0,[Bv,Jw,Rv])}function fpe(){return Gp(),S(T(mdn,1),G,280,0,[pdn,Yw,aO])}function T0(n){return Se(n),O(n,16)?new _u(u(n,16)):y4(n.Kc())}function hJ(n,e){return n&&n.equals?n.equals(e):x(n)===x(e)}function vi(n,e){return Q1(ewe(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function hf(n,e){return Q1(twe(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function RN(n,e){return Q1(iwe(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function hpe(n,e){var t;return t=(Jn(n),n).g,rV(!!t),Jn(e),t(e)}function _On(n,e){var t,i;return i=C4(n,e),t=n.a.fd(i),new zEn(n,t)}function lpe(n){return n.Db>>16!=6?null:u(dF(n),241)}function ape(n){if(n.p!=2)throw M(new Cu);return Ae(n.f)&ui}function dpe(n){if(n.p!=2)throw M(new Cu);return Ae(n.k)&ui}function E(n){return oe(n.ai?1:0}function GOn(n,e){var t,i;return t=s$(e),i=t,u(ee(n.c,i),17).a}function KN(n,e,t){var i;i=n.d[e.p],n.d[e.p]=n.d[t.p],n.d[t.p]=i}function Cpe(n,e,t){var i;n.n&&e&&t&&(i=new uvn,nn(n.e,i))}function _N(n,e){if(fi(n.a,e),e.d)throw M(new ec(nXn));e.d=n}function dJ(n,e){this.a=new Z,this.d=new Z,this.f=n,this.c=e}function zOn(){this.c=new PTn,this.a=new $Ln,this.b=new Xyn,lCn()}function XOn(){qp(),this.b=new de,this.a=new de,this.c=new Z}function VOn(n,e,t){this.d=n,this.j=e,this.e=t,this.o=-1,this.p=3}function WOn(n,e,t){this.d=n,this.k=e,this.f=t,this.o=-1,this.p=5}function JOn(n,e,t,i,r,c){dQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function QOn(n,e,t,i,r,c){bQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function YOn(n,e,t,i,r,c){OJ.call(this,n,e,t,i,r),c&&(this.o=-2)}function ZOn(n,e,t,i,r,c){pQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function nDn(n,e,t,i,r,c){DJ.call(this,n,e,t,i,r),c&&(this.o=-2)}function eDn(n,e,t,i,r,c){wQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function tDn(n,e,t,i,r,c){gQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function iDn(n,e,t,i,r,c){LJ.call(this,n,e,t,i,r),c&&(this.o=-2)}function rDn(n,e,t,i){LE.call(this,t),this.b=n,this.c=e,this.d=i}function cDn(n,e){this.f=n,this.a=($4(),MO),this.c=MO,this.b=e}function uDn(n,e){this.g=n,this.d=($4(),TO),this.a=TO,this.b=e}function bJ(n,e){!n.c&&(n.c=new Rt(n,0)),HA(n.c,(at(),F9),e)}function Mpe(n,e){return oMe(n,e,O(e,102)&&(u(e,19).Bb&hr)!=0)}function Tpe(n,e){return KPn(vc(n.q.getTime()),vc(e.q.getTime()))}function oDn(n){return XL(n.e.Rd().gc()*n.c.Rd().gc(),16,new O8n(n))}function Ape(n){return!!n.u&&Sc(n.u.a).i!=0&&!(n.n&&Ix(n.n))}function Spe(n){return!!n.a&&no(n.a.a).i!=0&&!(n.b&&Ox(n.b))}function wJ(n,e){return e==0?!!n.o&&n.o.f!=0:Cx(n,e)}function Ppe(n,e,t){var i;return i=u(n.Zb().xc(e),16),!!i&&i.Hc(t)}function sDn(n,e,t){var i;return i=u(n.Zb().xc(e),16),!!i&&i.Mc(t)}function fDn(n,e){var t;return t=1-e,n.a[t]=jT(n.a[t],t),jT(n,e)}function hDn(n,e){var t,i;return i=vi(n,mr),t=Fs(e,32),hf(t,i)}function lDn(n,e,t){var i;i=(Se(n),new _u(n)),O7e(new EOn(i,e,t))}function Z7(n,e,t){var i;i=(Se(n),new _u(n)),D7e(new COn(i,e,t))}function fc(n,e,t,i,r,c){return Hxn(n,e,t,c),CY(n,i),MY(n,r),n}function aDn(n,e,t,i){return n.a+=""+qo(e==null?gu:Jr(e),t,i),n}function xi(n,e){this.a=n,Xv.call(this,n),zb(e,n.gc()),this.b=e}function dDn(n){this.a=K(ki,Fn,1,QQ(y.Math.max(8,n))<<1,5,1)}function nk(n){return u(xf(n,K(Qh,b1,10,n.c.length,0,1)),199)}function fh(n){return u(xf(n,K(O_,rR,18,n.c.length,0,1)),483)}function bDn(n){return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function Q6(n){for(;n.d>0&&n.a[--n.d]==0;);n.a[n.d++]==0&&(n.e=0)}function wDn(n){return oe(n.b.b!=n.d.a),n.c=n.b=n.b.b,--n.a,n.c.c}function Ipe(n,e,t){n.a=e,n.c=t,n.b.a.$b(),vo(n.d),Pb(n.e.a.c,0)}function gDn(n,e){var t;n.e=new uz,t=aw(e),Yt(t,n.c),Iqn(n,t,0)}function ri(n,e,t,i){var r;r=new nG,r.a=e,r.b=t,r.c=i,xe(n.a,r)}function Q(n,e,t,i){var r;r=new nG,r.a=e,r.b=t,r.c=i,xe(n.b,r)}function pDn(n,e,t){if(n<0||et)throw M(new Ir(qje(n,e,t)))}function ek(n,e){if(n<0||n>=e)throw M(new Ir(kEe(n,e)));return n}function Ope(n){if(!("stack"in n))try{throw n}catch{}return n}function Sg(n){return s6(),O(n.g,10)?u(n.g,10):null}function Dpe(n){return Tg(n).dc()?!1:(e1e(n,new Pr),!0)}function id(n){var e;return Vr(n)?(e=n,e==-0?0:e):X4e(n)}function mDn(n,e){return O(e,44)?xx(n.a,u(e,44)):!1}function vDn(n,e){return O(e,44)?xx(n.a,u(e,44)):!1}function kDn(n,e){return O(e,44)?xx(n.a,u(e,44)):!1}function gJ(n){var e;return z1(n),e=new L0n,hg(n.a,new j9n(e)),e}function pJ(){var n,e,t;return e=(t=(n=new Jd,n),t),nn(n0n,e),e}function BM(n){var e;return z1(n),e=new N0n,hg(n.a,new E9n(e)),e}function Lpe(n,e){return n.a<=n.b?(e.Dd(n.a++),!0):!1}function yDn(n){P$.call(this,n,(B4(),e_),null,!1,null,!1)}function jDn(){jDn=F,SYn=Ce((YE(),S(T(oon,1),G,489,0,[b_])))}function EDn(){EDn=F,eln=wIn(Y(1),Y(4)),nln=wIn(Y(1),Y(2))}function Npe(n,e){return new _L(e,N6(Ki(e.e),n,n),(_n(),!0))}function RM(n){return new Gc((Co(n,cB),oT(nr(nr(5,n),n/10|0))))}function $pe(n){return XL(n.e.Rd().gc()*n.c.Rd().gc(),273,new I8n(n))}function CDn(n){return u(xf(n,K(FZn,DXn,12,n.c.length,0,1)),2042)}function xpe(n){return ko(),!fr(n)&&!(!fr(n)&&n.c.i.c==n.d.i.c)}function Fpe(n,e){return _p(),u(v(e,(lc(),I2)),17).a>=n.gc()}function Y6(n,e){vLe(e,n),JV(n.d),JV(u(v(n,(cn(),mI)),214))}function HN(n,e){kLe(e,n),QV(n.d),QV(u(v(n,(cn(),mI)),214))}function Bpe(n,e,t){n.d&&du(n.d.e,n),n.d=e,n.d&&b0(n.d.e,t,n)}function Rpe(n,e,t){return t.f.c.length>0?MW(n.a,e,t):MW(n.b,e,t)}function Kpe(n,e,t){var i;i=i9e();try{return Aae(n,e,t)}finally{D3e(i)}}function A0(n,e){var t,i;return t=dl(n,e),i=null,t&&(i=t.pe()),i}function Z6(n,e){var t,i;return t=dl(n,e),i=null,t&&(i=t.se()),i}function L4(n,e){var t,i;return t=Jb(n,e),i=null,t&&(i=t.se()),i}function bl(n,e){var t,i;return t=dl(n,e),i=null,t&&(i=gnn(t)),i}function _pe(n,e,t){var i;return i=wm(t),FA(n.g,i,e),FA(n.i,e,t),e}function mJ(n,e,t){this.d=new $7n(this),this.e=n,this.i=e,this.f=t}function MDn(n,e,t,i){this.e=null,this.c=n,this.d=e,this.a=t,this.b=i}function TDn(n,e,t,i){ETn(this),this.c=n,this.e=e,this.f=t,this.b=i}function vJ(n,e,t,i){this.d=n,this.n=e,this.g=t,this.o=i,this.p=-1}function ADn(n,e,t,i){return O(t,59)?new iAn(n,e,t,i):new vW(n,e,t,i)}function N4(n){return O(n,16)?u(n,16).dc():!n.Kc().Ob()}function SDn(n){if(n.e.g!=n.b)throw M(new Bo);return!!n.c&&n.d>0}function be(n){return oe(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function kJ(n,e){Jn(e),$t(n.a,n.c,e),n.c=n.c+1&n.a.length-1,JRn(n)}function V1(n,e){Jn(e),n.b=n.b-1&n.a.length-1,$t(n.a,n.b,e),JRn(n)}function PDn(n){var e;e=n.Gh(),this.a=O(e,71)?u(e,71).Ii():e.Kc()}function Hpe(n){return new In(Ame(u(n.a.md(),16).gc(),n.a.ld()),16)}function IDn(){IDn=F,Gce=Ce((eC(),S(T($1n,1),G,490,0,[Bq])))}function ODn(){ODn=F,Xce=Ce((tC(),S(T(zce,1),G,558,0,[Rq])))}function DDn(){DDn=F,lue=Ce((f6(),S(T(tan,1),G,539,0,[Hj])))}function qpe(){return dd(),S(T(Lon,1),G,389,0,[Ow,Don,P_,I_])}function Upe(){return B4(),S(T(lP,1),G,304,0,[e_,t_,i_,r_])}function Gpe(){return Vp(),S(T(EYn,1),G,332,0,[uj,cj,oj,sj])}function zpe(){return A5(),S(T(TYn,1),G,406,0,[fj,wP,gP,hj])}function Xpe(){return N0(),S(T(yYn,1),G,417,0,[rj,ij,a_,d_])}function Vpe(){return nm(),S(T(MZn,1),G,416,0,[rb,Iw,Pw,a2])}function Wpe(){return $f(),S(T(ene,1),G,421,0,[j3,lv,av,B_])}function Jpe(){return OT(),S(T(UZn,1),G,371,0,[F_,HP,qP,wj])}function Qpe(){return cw(),S(T(RH,1),G,203,0,[TI,BH,S2,A2])}function Ype(){return lh(),S(T(Hhn,1),G,284,0,[k1,_hn,HH,qH])}function Zpe(n){var e;return n.j==(tn(),ae)&&(e=mHn(n),Au(e,Zn))}function n3e(n,e){var t;t=e.a,Zi(t,e.c.d),Ii(t,e.d.d),nw(t.a,n.n)}function yJ(n,e){var t;return t=u(Lf(n.b,e),67),!t&&(t=new Ct),t}function xp(n){return s6(),O(n.g,154)?u(n.g,154):null}function e3e(n){n.a=null,n.e=null,Pb(n.b.c,0),Pb(n.f.c,0),n.c=null}function KM(){KM=F,fH=new Zz(qm,0),Jsn=new Zz("TOP_LEFT",1)}function n5(){n5=F,r9=new eX("UPPER",0),i9=new eX("LOWER",1)}function t3e(n,e){return vp(new V(e.e.a+e.f.a/2,e.e.b+e.f.b/2),n)}function LDn(n,e){return u(ho(_b(u(ot(n.k,e),15).Oc(),b2)),113)}function NDn(n,e){return u(ho(Ap(u(ot(n.k,e),15).Oc(),b2)),113)}function i3e(){return Qp(),S(T(rln,1),G,405,0,[LI,c9,u9,o9])}function r3e(){return w5(),S(T(xln,1),G,353,0,[aq,BI,lq,hq])}function c3e(){return sA(),S(T(c1n,1),G,354,0,[Eq,i1n,r1n,t1n])}function u3e(){return go(),S(T(I9,1),G,386,0,[rE,Gd,iE,Qw])}function o3e(){return To(),S(T(Yue,1),G,291,0,[nE,nl,Ta,Zj])}function s3e(){return El(),S(T(aU,1),G,223,0,[lU,Yj,Kv,F3])}function f3e(){return qT(),S(T(Cdn,1),G,320,0,[wU,ydn,Edn,jdn])}function h3e(){return LT(),S(T(woe,1),G,415,0,[gU,Tdn,Mdn,Adn])}function l3e(n){return $M(),Zc(yU,n)?u(ee(yU,n),341).Qg():null}function Uo(n,e,t){return e<0?hF(n,t):u(t,69).wk().Bk(n,n.hi(),e)}function a3e(n,e,t){var i;return i=wm(t),FA(n.j,i,e),Xe(n.k,e,t),e}function d3e(n,e,t){var i;return i=wm(t),FA(n.d,i,e),Xe(n.e,e,t),e}function $Dn(n){var e,t;return e=(B1(),t=new HO,t),n&&AA(e,n),e}function jJ(n){var e;return e=n.aj(n.i),n.i>0&&Ic(n.g,0,e,0,n.i),e}function xDn(n,e){var t;for(t=n.j.c.length;t>24}function w3e(n){if(n.p!=1)throw M(new Cu);return Ae(n.k)<<24>>24}function g3e(n){if(n.p!=7)throw M(new Cu);return Ae(n.k)<<16>>16}function p3e(n){if(n.p!=7)throw M(new Cu);return Ae(n.f)<<16>>16}function Pg(n,e){return e.e==0||n.e==0?O8:(Am(),vF(n,e))}function RDn(n,e){return x(e)===x(n)?"(this Map)":e==null?gu:Jr(e)}function m3e(n,e,t){return tN(R(Kr(wr(n.f,e))),R(Kr(wr(n.f,t))))}function v3e(n,e,t){var i;i=u(ee(n.g,t),60),nn(n.a.c,new bi(e,i))}function KDn(n,e,t){n.i=0,n.e=0,e!=t&&(jFn(n,e,t),yFn(n,e,t))}function k3e(n,e,t,i,r){var c;c=yMe(r,t,i),nn(e,dEe(r,c)),rje(n,r,e)}function EJ(n,e,t,i,r){this.i=n,this.a=e,this.e=t,this.j=i,this.f=r}function _Dn(n,e){nJ.call(this),this.a=n,this.b=e,nn(this.a.b,this)}function HDn(n){this.b=new de,this.c=new de,this.d=new de,this.a=n}function qDn(n,e){var t;return t=new lp,n.Gd(t),t.a+="..",e.Hd(t),t.a}function UDn(n,e){var t;for(t=e;t;)a0(n,t.i,t.j),t=At(t);return n}function GDn(n,e,t){var i;return i=wm(t),Xe(n.b,i,e),Xe(n.c,e,t),e}function wl(n){var e;for(e=0;n.Ob();)n.Pb(),e=nr(e,1);return oT(e)}function Fh(n,e){dr();var t;return t=u(n,69).vk(),kje(t,e),t.xl(e)}function y3e(n,e,t){if(t){var i=t.oe();n.a[e]=i(t)}else delete n.a[e]}function CJ(n,e){var t;t=n.q.getHours(),n.q.setFullYear(e+fa),G5(n,t)}function j3e(n,e){return u(e==null?Kr(wr(n.f,null)):d6(n.i,e),288)}function MJ(n,e){return n==(Vn(),zt)&&e==zt?4:n==zt||e==zt?8:32}function _M(n,e,t){return RA(n,e,t,O(e,102)&&(u(e,19).Bb&hr)!=0)}function E3e(n,e,t){return Om(n,e,t,O(e,102)&&(u(e,19).Bb&hr)!=0)}function C3e(n,e,t){return bMe(n,e,t,O(e,102)&&(u(e,19).Bb&hr)!=0)}function TJ(n){n.b!=n.c&&(n.a=K(ki,Fn,1,8,5,1),n.b=0,n.c=0)}function e5(n){return oe(n.a=0&&n.a[t]===e[t];t--);return t<0}function HM(n){var e;return n?new fW(n):(e=new ih,A$(e,n),e)}function O3e(n,e){var t,i;i=!1;do t=lFn(n,e),i=i|t;while(t);return i}function D3e(n){n&&rme((az(),sun)),--cP,n&&uP!=-1&&(Ele(uP),uP=-1)}function qM(n){nnn(),LTn(this,Ae(vi(w0(n,24),YA)),Ae(vi(n,YA)))}function JDn(){JDn=F,HQn=Ce((YT(),S(T(Bun,1),G,436,0,[o_,Fun])))}function QDn(){QDn=F,qQn=Ce((cT(),S(T(Kun,1),G,435,0,[Run,s_])))}function YDn(){YDn=F,GYn=Ce((uT(),S(T(bon,1),G,432,0,[v_,vP])))}function ZDn(){ZDn=F,_Zn=Ce((V4(),S(T(KZn,1),G,517,0,[dj,L_])))}function nLn(){nLn=F,Ane=Ce((KM(),S(T(Qsn,1),G,429,0,[fH,Jsn])))}function eLn(){eLn=F,gne=Ce((pk(),S(T($sn,1),G,428,0,[WP,Nsn])))}function tLn(){tLn=F,kne=Ce((hk(),S(T(Bsn,1),G,488,0,[Fsn,QP])))}function iLn(){iLn=F,rie=Ce((wk(),S(T(qhn,1),G,430,0,[UH,GH])))}function rLn(){rLn=F,Die=Ce((n5(),S(T(Oie,1),G,531,0,[r9,i9])))}function cLn(){cLn=F,ane=Ce((QM(),S(T(Asn,1),G,431,0,[Tsn,V_])))}function uLn(){uLn=F,xre=Ce((FM(),S(T(Bln,1),G,433,0,[dq,Fln])))}function oLn(){oLn=F,_re=Ce((yT(),S(T(Rln,1),G,501,0,[RI,D2])))}function sLn(){sLn=F,Rie=Ce((sh(),S(T(Bie,1),G,523,0,[mb,y1])))}function fLn(){fLn=F,_ie=Ce((Sf(),S(T(Kie,1),G,522,0,[Rd,zf])))}function hLn(){hLn=F,tre=Ce((lf(),S(T(ere,1),G,528,0,[zw,ja])))}function lLn(){lLn=F,fre=Ce((M0(),S(T(sre,1),G,465,0,[Ea,P2])))}function aLn(){aLn=F,Ure=Ce((ZM(),S(T(_ln,1),G,434,0,[Kln,vq])))}function dLn(){dLn=F,Rce=Ce((GM(),S(T(S1n,1),G,491,0,[$q,A1n])))}function bLn(){bLn=F,_ce=Ce((N$(),S(T(N1n,1),G,492,0,[D1n,L1n])))}function wLn(){wLn=F,Vce=Ce((ck(),S(T(x1n,1),G,438,0,[Kq,JI])))}function gLn(){gLn=F,aue=Ce((Ak(),S(T(ran,1),G,437,0,[YI,ian])))}function pLn(){pLn=F,aoe=Ce((RL(),S(T(dO,1),G,347,0,[vdn,kdn])))}function L3e(){return ci(),S(T(E9,1),G,88,0,[Wf,Xr,Br,Vf,us])}function N3e(){return tn(),S(T(lr,1),Mc,64,0,[sc,Xn,Zn,ae,Wn])}function $3e(n,e,t){return u(e==null?Vc(n.f,null,t):$0(n.i,e,t),288)}function x3e(n){return(n.k==(Vn(),zt)||n.k==Zt)&&kt(n,(W(),H8))}function XN(n){return n.c&&n.d?aJ(n.c)+"->"+aJ(n.d):"e_"+l0(n)}function qi(n,e){var t,i;for(Jn(e),i=n.Kc();i.Ob();)t=i.Pb(),e.Cd(t)}function F3e(n,e){var t;t=new op,nd(t,"x",e.a),nd(t,"y",e.b),Ip(n,t)}function B3e(n,e){var t;t=new op,nd(t,"x",e.a),nd(t,"y",e.b),Ip(n,t)}function mLn(n,e){var t;for(t=e;t;)a0(n,-t.i,-t.j),t=At(t);return n}function SJ(n,e){var t,i;for(t=e,i=0;t>0;)i+=n.a[t],t-=t&-t;return i}function Go(n,e,t){var i;return i=(Ln(e,n.c.length),n.c[e]),n.c[e]=t,i}function PJ(n,e,t){n.a.c.length=0,fOe(n,e,t),n.a.c.length==0||xSe(n,e)}function tk(n){n.i=0,s7(n.b,null),s7(n.c,null),n.a=null,n.e=null,++n.g}function UM(){UM=F,qf=!0,DQn=!1,LQn=!1,$Qn=!1,NQn=!1}function VN(n){UM(),!qf&&(this.c=n,this.e=!0,this.a=new Z)}function vLn(n,e){this.c=0,this.b=e,HMn.call(this,n,17493),this.a=this.c}function kLn(n){jzn(),Syn(this),this.a=new Ct,sY(this,n),xe(this.a,n)}function yLn(){pL(this),this.b=new V(St,St),this.a=new V(li,li)}function GM(){GM=F,$q=new fX(cin,0),A1n=new fX("TARGET_WIDTH",1)}function Ig(n,e){return(ea(n),s4(new Tn(n,new tQ(e,n.a)))).Bd(v3)}function R3e(){return Vi(),S(T(Ion,1),G,367,0,[Xs,Jh,Oc,Kc,zr])}function K3e(){return ow(),S(T(ine,1),G,375,0,[gj,zP,XP,GP,UP])}function _3e(){return o1(),S(T(Lsn,1),G,348,0,[J_,Dsn,Q_,pv,gv])}function H3e(){return T5(),S(T($hn,1),G,323,0,[Nhn,KH,_H,Y8,Z8])}function q3e(){return Yo(),S(T(hfn,1),G,171,0,[Ej,U8,ka,G8,xw])}function U3e(){return wA(),S(T(Hre,1),G,368,0,[pq,bq,mq,wq,gq])}function G3e(){return R5(),S(T(Hce,1),G,373,0,[L2,D3,g9,w9,_j])}function z3e(){return Yk(),S(T(K1n,1),G,324,0,[F1n,_q,R1n,Hq,B1n])}function X3e(){return gf(),S(T(Zh,1),G,170,0,[xn,pi,Ph,Kd,E1])}function V3e(){return Fg(),S(T(A9,1),G,256,0,[Aa,eE,adn,T9,ddn])}function W3e(n){return HE(),function(){return Kpe(n,this,arguments)}}function fr(n){return!n.c||!n.d?!1:!!n.c.i&&n.c.i==n.d.i}function IJ(n,e){return O(e,143)?An(n.c,u(e,143).c):!1}function Zu(n){return n.t||(n.t=new myn(n),k5(new Njn(n),0,n.t)),n.t}function jLn(n){this.b=n,ne.call(this,n),this.a=u(Un(this.b.a,4),129)}function ELn(n){this.b=n,yp.call(this,n),this.a=u(Un(this.b.a,4),129)}function Bs(n,e,t,i,r){LLn.call(this,e,i,r),this.c=n,this.b=t}function OJ(n,e,t,i,r){VOn.call(this,e,i,r),this.c=n,this.a=t}function DJ(n,e,t,i,r){WOn.call(this,e,i,r),this.c=n,this.a=t}function LJ(n,e,t,i,r){LLn.call(this,e,i,r),this.c=n,this.a=t}function WN(n,e){var t;return t=u(Lf(n.d,e),23),t||u(Lf(n.e,e),23)}function CLn(n,e){var t,i;return t=e.ld(),i=n.Fe(t),!!i&&mc(i.e,e.md())}function MLn(n,e){var t;return t=e.ld(),new i0(t,n.e.pc(t,u(e.md(),16)))}function J3e(n,e){var t;return t=n.a.get(e),t??K(ki,Fn,1,0,5,1)}function TLn(n){var e;return e=n.length,An(Yn.substr(Yn.length-e,e),n)}function fe(n){if(pe(n))return n.c=n.a,n.a.Pb();throw M(new nc)}function NJ(n,e){return e==0||n.e==0?n:e>0?wqn(n,e):RBn(n,-e)}function Fp(n,e){return e==0||n.e==0?n:e>0?RBn(n,e):wqn(n,-e)}function $J(n){ole.call(this,n==null?gu:Jr(n),O(n,82)?u(n,82):null)}function ALn(n){var e;return n.c||(e=n.r,O(e,90)&&(n.c=u(e,29))),n.c}function JN(n){var e;return e=new E0,Ur(e,n),U(e,(cn(),Fr),null),e}function SLn(n){var e,t;return e=n.c.i,t=n.d.i,e.k==(Vn(),Zt)&&t.k==Zt}function QN(n){var e,t,i;return e=n&ro,t=n>>22&ro,i=n<0?Il:0,Yc(e,t,i)}function Q3e(n){var e,t,i,r;for(t=n,i=0,r=t.length;i=0?n.Lh(i,t,!0):H0(n,e,t)}function Z3e(n,e,t){return bt(vp(pm(n),Ki(e.b)),vp(pm(n),Ki(t.b)))}function n4e(n,e,t){return bt(vp(pm(n),Ki(e.e)),vp(pm(n),Ki(t.e)))}function e4e(n,e){return y.Math.min(W1(e.a,n.d.d.c),W1(e.b,n.d.d.c))}function ik(n,e){n._i(n.i+1),O6(n,n.i,n.Zi(n.i,e)),n.Mi(n.i++,e),n.Ni()}function t5(n){var e,t;++n.j,e=n.g,t=n.i,n.g=null,n.i=0,n.Oi(t,e),n.Ni()}function PLn(n,e,t){var i;i=new NX(n.a),f5(i,n.a.a),Vc(i.f,e,t),n.a.a=i}function xJ(n,e,t,i){var r;for(r=0;re)throw M(new Ir(Mnn(n,e,"index")));return n}function Yl(n,e){var t;return t=(Ln(e,n.c.length),n.c[e]),Pz(n.c,e,1),t}function RJ(n,e){var t,i;return t=(Jn(n),n),i=(Jn(e),e),t==i?0:te.p?-1:0}function FLn(n){var e;return n.a||(e=n.r,O(e,156)&&(n.a=u(e,156))),n.a}function o4e(n,e,t){var i;return++n.e,--n.f,i=u(n.d[e].gd(t),136),i.md()}function s4e(n){var e,t;return e=n.ld(),t=u(n.md(),16),x7(t.Nc(),new L8n(e))}function BLn(n,e){return Zc(n.a,e)?(Bp(n.a,e),!0):!1}function Rp(n,e,t){return ek(e,n.e.Rd().gc()),ek(t,n.c.Rd().gc()),n.a[e][t]}function XM(n,e,t){this.a=n,this.b=e,this.c=t,nn(n.t,this),nn(e.i,this)}function VM(n,e,t,i){this.f=n,this.e=e,this.d=t,this.b=i,this.c=i?i.d:null}function rk(){this.b=new Ct,this.a=new Ct,this.b=new Ct,this.a=new Ct}function $4(){$4=F;var n,e;MO=(o4(),e=new xE,e),TO=(n=new fD,n)}function f4e(n){var e;return ea(n),e=new ISn(n,n.a.e,n.a.d|4),new uV(n,e)}function RLn(n){var e;for(z1(n),e=0;n.a.Bd(new W0n);)e=nr(e,1);return e}function WM(n,e){return Jn(e),n.c=0,"Initial capacity must not be negative")}function JM(){JM=F,p9=new lt("org.eclipse.elk.labels.labelManager")}function KLn(){KLn=F,ysn=new Dt("separateLayerConnections",(OT(),F_))}function lf(){lf=F,zw=new rX("REGULAR",0),ja=new rX("CRITICAL",1)}function ck(){ck=F,Kq=new lX("FIXED",0),JI=new lX("CENTER_NODE",1)}function QM(){QM=F,Tsn=new Jz("QUADRATIC",0),V_=new Jz("SCANLINE",1)}function _Ln(){_Ln=F,dne=Ce((u5(),S(T(Psn,1),G,322,0,[B8,pj,Ssn])))}function HLn(){HLn=F,bne=Ce((bT(),S(T(Osn,1),G,351,0,[Isn,VP,W_])))}function qLn(){qLn=F,fne=Ce((D0(),S(T(R_,1),G,372,0,[ub,ma,cb])))}function ULn(){ULn=F,mne=Ce((hd(),S(T(pne,1),G,460,0,[Y_,mv,p2])))}function GLn(){GLn=F,Cne=Ce((Z4(),S(T(sH,1),G,299,0,[uH,oH,mj])))}function zLn(){zLn=F,Tne=Ce((vl(),S(T(Mne,1),G,311,0,[vj,v2,E3])))}function XLn(){XLn=F,Zte=Ce((g5(),S(T(Lhn,1),G,390,0,[FH,Dhn,MI])))}function VLn(){VLn=F,oie=Ce((ST(),S(T(zhn,1),G,387,0,[Uhn,zH,Ghn])))}function WLn(){WLn=F,sie=Ce((d5(),S(T(Xhn,1),G,349,0,[VH,XH,Ij])))}function JLn(){JLn=F,uie=Ce((gr(),S(T(cie,1),G,463,0,[n9,Vu,Jc])))}function QLn(){QLn=F,fie=Ce((om(),S(T(Whn,1),G,350,0,[WH,Vhn,e9])))}function YLn(){YLn=F,hie=Ce((dT(),S(T(Yhn,1),G,352,0,[Qhn,JH,Jhn])))}function ZLn(){ZLn=F,lie=Ce((DT(),S(T(Zhn,1),G,388,0,[QH,Ov,Gw])))}function nNn(){nNn=F,are=Ce((b5(),S(T(gln,1),G,392,0,[wln,nq,Lj])))}function eNn(){eNn=F,Gre=Ce((Ok(),S(T(Uln,1),G,393,0,[KI,Hln,qln])))}function tNn(){tNn=F,ace=Ce((AT(),S(T(s1n,1),G,300,0,[Cq,o1n,u1n])))}function iNn(){iNn=F,dce=Ce((XT(),S(T(f1n,1),G,445,0,[Bj,qI,Mq])))}function rNn(){rNn=F,wce=Ce((rA(),S(T(bce,1),G,456,0,[Tq,Sq,Aq])))}function cNn(){cNn=F,mce=Ce((_T(),S(T(a1n,1),G,394,0,[l1n,Oq,h1n])))}function uNn(){uNn=F,Kce=Ce((nT(),S(T(O1n,1),G,439,0,[xq,I1n,P1n])))}function oNn(){oNn=F,Aie=Ce((O0(),S(T(Tie,1),G,464,0,[Oj,t9,PI])))}function sNn(){sNn=F,WQn=Ce((Uu(),S(T(VQn,1),G,471,0,[Mh,ga,Gs])))}function fNn(){fNn=F,XQn=Ce((bf(),S(T(Sw,1),G,237,0,[bc,Wc,wc])))}function hNn(){hNn=F,QQn=Ce((bu(),S(T(JQn,1),G,472,0,[vf,pa,zs])))}function lNn(){lNn=F,xQn=Ce((Gu(),S(T(xr,1),G,108,0,[xun,Yr,Aw])))}function aNn(){aNn=F,pZn=Ce((i5(),S(T(Pon,1),G,391,0,[E_,j_,C_])))}function dNn(){dNn=F,Que=Ce((jl(),S(T(ldn,1),G,346,0,[uO,M1,M9])))}function bNn(){bNn=F,Uce=Ce((Fk(),S(T(Fq,1),G,444,0,[XI,VI,WI])))}function wNn(){wNn=F,Xue=Ce((Nf(),S(T(Zan,1),G,278,0,[Bv,Jw,Rv])))}function gNn(){gNn=F,loe=Ce((Gp(),S(T(mdn,1),G,280,0,[pdn,Yw,aO])))}function Df(n,e){return!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),wx(n.o,e)}function h4e(n,e){var t;n.C&&(t=u(Cr(n.b,e),127).n,t.d=n.C.d,t.a=n.C.a)}function UJ(n){var e,t,i,r;r=n.d,e=n.a,t=n.b,i=n.c,n.d=t,n.a=i,n.b=r,n.c=e}function l4e(n){return!n.g&&(n.g=new CE),!n.g.b&&(n.g.b=new byn(n)),n.g.b}function uk(n){return!n.g&&(n.g=new CE),!n.g.c&&(n.g.c=new pyn(n)),n.g.c}function a4e(n){return!n.g&&(n.g=new CE),!n.g.d&&(n.g.d=new wyn(n)),n.g.d}function d4e(n){return!n.g&&(n.g=new CE),!n.g.a&&(n.g.a=new gyn(n)),n.g.a}function b4e(n,e,t,i){return t&&(i=t.Rh(e,Ot(t.Dh(),n.c.uk()),null,i)),i}function w4e(n,e,t,i){return t&&(i=t.Th(e,Ot(t.Dh(),n.c.uk()),null,i)),i}function e$(n,e,t,i){var r;return r=K(ye,Ke,28,e+1,15,1),vPe(r,n,e,t,i),r}function K(n,e,t,i,r,c){var s;return s=_Rn(r,i),r!=10&&S(T(n,c),e,t,r,s),s}function g4e(n,e,t){var i,r;for(r=new Y4(e,n),i=0;it||e=0?n.Lh(t,!0,!0):H0(n,e,!0)}function L4e(n,e,t){var i;return i=vFn(n,e,t),n.b=new ET(i.c.length),den(n,i)}function N4e(n){if(n.b<=0)throw M(new nc);return--n.b,n.a-=n.c.c,Y(n.a)}function $4e(n){var e;if(!n.a)throw M(new PIn);return e=n.a,n.a=At(n.a),e}function x4e(n){for(;!n.a;)if(!eSn(n.c,new C9n(n)))return!1;return!0}function Kp(n){var e;return Se(n),O(n,204)?(e=u(n,204),e):new _8n(n)}function F4e(n){YM(),u(n.of((qe(),Ww)),181).Fc((zu(),tE)),n.qf(sU,null)}function YM(){YM=F,wue=new Emn,pue=new Cmn,gue=M6e((qe(),sU),wue,Ma,pue)}function ZM(){ZM=F,Kln=new sX("LEAF_NUMBER",0),vq=new sX("NODE_SIZE",1)}function u$(n){n.a=K(ye,Ke,28,n.b+1,15,1),n.c=K(ye,Ke,28,n.b,15,1),n.d=0}function B4e(n,e){n.a.Ne(e.d,n.b)>0&&(nn(n.c,new GV(e.c,e.d,n.d)),n.b=e.d)}function nQ(n,e){if(n.g==null||e>=n.i)throw M(new aL(e,n.i));return n.g[e]}function kNn(n,e,t){if(rm(n,t),t!=null&&!n.fk(t))throw M(new uD);return t}function o$(n,e){return gk(e)!=10&&S(wo(e),e.Sm,e.__elementTypeId$,gk(e),n),n}function F4(n,e,t,i){var r;i=(j0(),i||Pun),r=n.slice(e,t),Tnn(r,n,e,t,-e,i)}function zo(n,e,t,i,r){return e<0?H0(n,t,i):u(t,69).wk().yk(n,n.hi(),e,i,r)}function R4e(n,e){return bt($(R(v(n,(W(),fb)))),$(R(v(e,fb))))}function yNn(){yNn=F,IQn=Ce((B4(),S(T(lP,1),G,304,0,[e_,t_,i_,r_])))}function B4(){B4=F,e_=new uC("All",0),t_=new lTn,i_=new kTn,r_=new hTn}function Uu(){Uu=F,Mh=new FD(s3,0),ga=new FD(qm,1),Gs=new FD(f3,2)}function jNn(){jNn=F,KA(),s0n=St,mse=li,f0n=new V9(St),vse=new V9(li)}function ENn(){ENn=F,jYn=Ce((N0(),S(T(yYn,1),G,417,0,[rj,ij,a_,d_])))}function CNn(){CNn=F,AYn=Ce((A5(),S(T(TYn,1),G,406,0,[fj,wP,gP,hj])))}function MNn(){MNn=F,CYn=Ce((Vp(),S(T(EYn,1),G,332,0,[uj,cj,oj,sj])))}function TNn(){TNn=F,DZn=Ce((dd(),S(T(Lon,1),G,389,0,[Ow,Don,P_,I_])))}function ANn(){ANn=F,TZn=Ce((nm(),S(T(MZn,1),G,416,0,[rb,Iw,Pw,a2])))}function SNn(){SNn=F,tne=Ce(($f(),S(T(ene,1),G,421,0,[j3,lv,av,B_])))}function PNn(){PNn=F,GZn=Ce((OT(),S(T(UZn,1),G,371,0,[F_,HP,qP,wj])))}function INn(){INn=F,nie=Ce((cw(),S(T(RH,1),G,203,0,[TI,BH,S2,A2])))}function ONn(){ONn=F,iie=Ce((lh(),S(T(Hhn,1),G,284,0,[k1,_hn,HH,qH])))}function hk(){hk=F,Fsn=new Yz(kh,0),QP=new Yz("IMPROVE_STRAIGHTNESS",1)}function DNn(n,e){var t,i;return i=e/n.c.Rd().gc()|0,t=e%n.c.Rd().gc(),Rp(n,i,t)}function LNn(n){var e;if(n.nl())for(e=n.i-1;e>=0;--e)L(n,e);return jJ(n)}function eQ(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[0];)t=e;return t}function NNn(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[1];)t=e;return t}function K4e(n){return O(n,180)?""+u(n,180).a:n==null?null:Jr(n)}function _4e(n){return O(n,180)?""+u(n,180).a:n==null?null:Jr(n)}function $Nn(n,e){if(e.a)throw M(new ec(nXn));fi(n.a,e),e.a=n,!n.j&&(n.j=e)}function tQ(n,e){IC.call(this,e.zd(),e.yd()&-16449),Jn(n),this.a=n,this.c=e}function H4e(n,e){return new _L(e,a0(Ki(e.e),e.f.a+n,e.f.b+n),(_n(),!1))}function q4e(n,e){return k4(),nn(n,new bi(e,Y(e.e.c.length+e.g.c.length)))}function U4e(n,e){return k4(),nn(n,new bi(e,Y(e.e.c.length+e.g.c.length)))}function xNn(){xNn=F,lce=Ce((sA(),S(T(c1n,1),G,354,0,[Eq,i1n,r1n,t1n])))}function FNn(){FNn=F,$re=Ce((w5(),S(T(xln,1),G,353,0,[aq,BI,lq,hq])))}function BNn(){BNn=F,hre=Ce((Qp(),S(T(rln,1),G,405,0,[LI,c9,u9,o9])))}function RNn(){RNn=F,Vue=Ce((El(),S(T(aU,1),G,223,0,[lU,Yj,Kv,F3])))}function KNn(){KNn=F,Zue=Ce((To(),S(T(Yue,1),G,291,0,[nE,nl,Ta,Zj])))}function _Nn(){_Nn=F,foe=Ce((go(),S(T(I9,1),G,386,0,[rE,Gd,iE,Qw])))}function HNn(){HNn=F,doe=Ce((qT(),S(T(Cdn,1),G,320,0,[wU,ydn,Edn,jdn])))}function qNn(){qNn=F,goe=Ce((LT(),S(T(woe,1),G,415,0,[gU,Tdn,Mdn,Adn])))}function nT(){nT=F,xq=new oL(mVn,0),I1n=new oL(Crn,1),P1n=new oL(kh,2)}function Wb(n,e,t,i,r){return Jn(n),Jn(e),Jn(t),Jn(i),Jn(r),new AW(n,e,i)}function UNn(n,e){var t;return t=u(Bp(n.e,e),400),t?(tW(t),t.e):null}function du(n,e){var t;return t=qr(n,e,0),t==-1?!1:(Yl(n,t),!0)}function GNn(n,e,t){var i;return z1(n),i=new LO,i.a=e,n.a.Nb(new TCn(i,t)),i.a}function G4e(n){var e;return z1(n),e=K(Pi,Tr,28,0,15,1),hg(n.a,new y9n(e)),e}function iQ(n){var e;if(!E$(n))throw M(new nc);return n.e=1,e=n.d,n.d=null,e}function n1(n){var e;return Vr(n)&&(e=0-n,!isNaN(e))?e:Q1(tm(n))}function qr(n,e,t){for(;t=0?tA(n,t,!0,!0):H0(n,e,!0)}function cQ(n){var e;return e=cd(Un(n,32)),e==null&&(iu(n),e=cd(Un(n,32))),e}function uQ(n){var e;return n.Oh()||(e=se(n.Dh())-n.ji(),n.$h().Mk(e)),n.zh()}function QNn(n,e){con=new kE,MYn=e,L8=n,u(L8.b,68),XJ(L8,con,null),aGn(L8)}function i5(){i5=F,E_=new RD("XY",0),j_=new RD("X",1),C_=new RD("Y",2)}function bu(){bu=F,vf=new BD("TOP",0),pa=new BD(qm,1),zs=new BD(Ftn,2)}function vl(){vl=F,vj=new GD(kh,0),v2=new GD("TOP",1),E3=new GD(Ftn,2)}function wk(){wk=F,UH=new nX("INPUT_ORDER",0),GH=new nX("PORT_DEGREE",1)}function R4(){R4=F,hun=Yc(ro,ro,524287),bQn=Yc(0,0,Ty),lun=QN(1),QN(2),aun=QN(0)}function a$(n){var e;return n.d!=n.r&&(e=ws(n),n.e=!!e&&e.lk()==bJn,n.d=e),n.e}function d$(n,e,t){var i;return i=n.g[e],O6(n,e,n.Zi(e,t)),n.Ri(e,t,i),n.Ni(),i}function rT(n,e){var t;return t=n.dd(e),t>=0?(n.gd(t),!0):!1}function b$(n,e){var t;for(Se(n),Se(e),t=!1;e.Ob();)t=t|n.Fc(e.Pb());return t}function Lf(n,e){var t;return t=u(ee(n.e,e),400),t?(DTn(n,t),t.e):null}function YNn(n){var e,t;return e=n/60|0,t=n%60,t==0?""+e:""+e+":"+(""+t)}function Jb(n,e){var t=n.a[e],i=(K$(),WK)[typeof t];return i?i(t):wY(typeof t)}function rc(n,e){var t,i;return ea(n),i=new _J(e,n.a),t=new rSn(i),new Tn(n,t)}function w$(n){var e;return e=n.b.c.length==0?null:sn(n.b,0),e!=null&&M$(n,0),e}function W4e(n,e){var t,i,r;r=e.c.i,t=u(ee(n.f,r),60),i=t.d.c-t.e.c,BQ(e.a,i,0)}function oQ(n,e){var t;for(++n.d,++n.c[e],t=e+1;t0&&arguments[0]!==void 0?arguments[0]:{},Yi=ze.defaultLayoutOptions,Ri=Yi===void 0?{}:Yi,En=ze.algorithms,hu=En===void 0?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:En,Qc=ze.workerFactory,Ru=ze.workerUrl;if(y(this,Ht),this.defaultLayoutOptions=Ri,this.initialized=!1,typeof Ru>"u"&&typeof Qc>"u")throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var Pr=Qc;typeof Ru<"u"&&typeof Qc>"u"&&(Pr=function(N1){return new Worker(N1)});var Cf=Pr(Ru);if(typeof Cf.postMessage!="function")throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new Bu(Cf),this.worker.postMessage({cmd:"register",algorithms:hu}).then(function(L1){return Jt.initialized=!0}).catch(console.err)}return Di(Ht,[{key:"layout",value:function(ze){var Yi=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ri=Yi.layoutOptions,En=Ri===void 0?this.defaultLayoutOptions:Ri,hu=Yi.logging,Qc=hu===void 0?!1:hu,Ru=Yi.measureExecutionTime,Pr=Ru===void 0?!1:Ru;return ze?this.worker.postMessage({cmd:"layout",graph:ze,layoutOptions:En,options:{logging:Qc,measureExecutionTime:Pr}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker&&this.worker.terminate()}}]),Ht}();Sr.default=Wt;var Bu=function(){function Ht(Jt){var ze=this;if(y(this,Ht),Jt===void 0)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=Jt,this.worker.onmessage=function(Yi){setTimeout(function(){ze.receive(ze,Yi)},0)}}return Di(Ht,[{key:"postMessage",value:function(ze){var Yi=this.id||0;this.id=Yi+1,ze.id=Yi;var Ri=this;return new Promise(function(En,hu){Ri.resolvers[Yi]=function(Qc,Ru){Qc?(Ri.convertGwtStyleError(Qc),hu(Qc)):En(Ru)},Ri.worker.postMessage(ze)})}},{key:"receive",value:function(ze,Yi){var Ri=Yi.data,En=ze.resolvers[Ri.id];En&&(delete ze.resolvers[Ri.id],Ri.error?En(Ri.error):En(null,Ri.data))}},{key:"terminate",value:function(){this.worker&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(ze){if(ze){var Yi=ze.__java$exception;Yi&&(Yi.cause&&Yi.cause.backingJsObject&&(ze.cause=Yi.cause.backingJsObject,this.convertGwtStyleError(ze.cause)),delete ze.__java$exception)}}}]),Ht}()},{}],2:[function(Xt,gt,Sr){(function(Di){(function(){var y;typeof window<"u"?y=window:typeof Di<"u"?y=Di:typeof self<"u"&&(y=self);var Wt;function Bu(){}function Ht(){}function Jt(){}function ze(){}function Yi(){}function Ri(){}function En(){}function hu(){}function Qc(){}function Ru(){}function Pr(){}function Cf(){}function L1(){}function N1(){}function og(){}function V3(){}function $1(){}function ul(){}function C0n(){}function M0n(){}function J2(){}function F(){}function T0n(){}function mE(){}function A0n(){}function S0n(){}function P0n(){}function I0n(){}function O0n(){}function FU(){}function D0n(){}function L0n(){}function N0n(){}function OO(){}function $0n(){}function x0n(){}function F0n(){}function DO(){}function B0n(){}function R0n(){}function BU(){}function K0n(){}function _0n(){}function yu(){}function ju(){}function Q2(){}function Y2(){}function H0n(){}function q0n(){}function U0n(){}function G0n(){}function RU(){}function Eu(){}function Z2(){}function np(){}function z0n(){}function X0n(){}function LO(){}function V0n(){}function W0n(){}function J0n(){}function Q0n(){}function Y0n(){}function Z0n(){}function nbn(){}function ebn(){}function tbn(){}function ibn(){}function rbn(){}function cbn(){}function ubn(){}function obn(){}function sbn(){}function fbn(){}function hbn(){}function lbn(){}function abn(){}function dbn(){}function bbn(){}function wbn(){}function gbn(){}function pbn(){}function mbn(){}function vbn(){}function kbn(){}function ybn(){}function jbn(){}function Ebn(){}function Cbn(){}function Mbn(){}function Tbn(){}function KU(){}function Abn(){}function Sbn(){}function Pbn(){}function Ibn(){}function NO(){}function $O(){}function vE(){}function Obn(){}function Dbn(){}function xO(){}function Lbn(){}function Nbn(){}function $bn(){}function kE(){}function xbn(){}function Fbn(){}function Bbn(){}function Rbn(){}function Kbn(){}function _bn(){}function Hbn(){}function qbn(){}function Ubn(){}function _U(){}function Gbn(){}function zbn(){}function HU(){}function Xbn(){}function Vbn(){}function Wbn(){}function Jbn(){}function Qbn(){}function Ybn(){}function Zbn(){}function nwn(){}function ewn(){}function twn(){}function iwn(){}function rwn(){}function cwn(){}function FO(){}function uwn(){}function own(){}function swn(){}function fwn(){}function hwn(){}function lwn(){}function awn(){}function dwn(){}function bwn(){}function qU(){}function UU(){}function wwn(){}function gwn(){}function pwn(){}function mwn(){}function vwn(){}function kwn(){}function ywn(){}function jwn(){}function Ewn(){}function Cwn(){}function Mwn(){}function Twn(){}function Awn(){}function Swn(){}function Pwn(){}function Iwn(){}function Own(){}function Dwn(){}function Lwn(){}function Nwn(){}function $wn(){}function xwn(){}function Fwn(){}function Bwn(){}function Rwn(){}function Kwn(){}function _wn(){}function Hwn(){}function qwn(){}function Uwn(){}function Gwn(){}function zwn(){}function Xwn(){}function Vwn(){}function Wwn(){}function Jwn(){}function Qwn(){}function Ywn(){}function Zwn(){}function ngn(){}function egn(){}function tgn(){}function ign(){}function rgn(){}function cgn(){}function ugn(){}function ogn(){}function sgn(){}function fgn(){}function hgn(){}function lgn(){}function agn(){}function dgn(){}function bgn(){}function wgn(){}function ggn(){}function pgn(){}function mgn(){}function vgn(){}function kgn(){}function ygn(){}function jgn(){}function Egn(){}function Cgn(){}function Mgn(){}function Tgn(){}function Agn(){}function Sgn(){}function Pgn(){}function Ign(){}function Ogn(){}function Dgn(){}function Lgn(){}function Ngn(){}function $gn(){}function xgn(){}function Fgn(){}function Bgn(){}function Rgn(){}function Kgn(){}function _gn(){}function Hgn(){}function qgn(){}function Ugn(){}function Ggn(){}function zgn(){}function Xgn(){}function Vgn(){}function Wgn(){}function Jgn(){}function Qgn(){}function Ygn(){}function Zgn(){}function n2n(){}function e2n(){}function t2n(){}function i2n(){}function r2n(){}function c2n(){}function u2n(){}function GU(){}function o2n(){}function s2n(){}function f2n(){}function h2n(){}function l2n(){}function a2n(){}function d2n(){}function b2n(){}function w2n(){}function g2n(){}function p2n(){}function m2n(){}function v2n(){}function k2n(){}function y2n(){}function j2n(){}function E2n(){}function C2n(){}function M2n(){}function T2n(){}function A2n(){}function S2n(){}function P2n(){}function I2n(){}function O2n(){}function D2n(){}function L2n(){}function N2n(){}function $2n(){}function x2n(){}function F2n(){}function B2n(){}function R2n(){}function K2n(){}function _2n(){}function H2n(){}function q2n(){}function U2n(){}function G2n(){}function z2n(){}function X2n(){}function V2n(){}function W2n(){}function J2n(){}function Q2n(){}function Y2n(){}function Z2n(){}function npn(){}function epn(){}function tpn(){}function ipn(){}function rpn(){}function cpn(){}function upn(){}function opn(){}function spn(){}function fpn(){}function hpn(){}function lpn(){}function apn(){}function dpn(){}function bpn(){}function wpn(){}function gpn(){}function ppn(){}function mpn(){}function vpn(){}function kpn(){}function ypn(){}function jpn(){}function Epn(){}function Cpn(){}function Mpn(){}function zU(){}function Tpn(){}function Apn(){}function Spn(){}function Ppn(){}function Ipn(){}function Opn(){}function Dpn(){}function Lpn(){}function Npn(){}function $pn(){}function XU(){}function xpn(){}function Fpn(){}function Bpn(){}function Rpn(){}function Kpn(){}function _pn(){}function VU(){}function WU(){}function Hpn(){}function JU(){}function QU(){}function qpn(){}function Upn(){}function Gpn(){}function zpn(){}function Xpn(){}function Vpn(){}function Wpn(){}function Jpn(){}function Qpn(){}function Ypn(){}function Zpn(){}function YU(){}function n3n(){}function e3n(){}function t3n(){}function i3n(){}function r3n(){}function c3n(){}function u3n(){}function o3n(){}function s3n(){}function f3n(){}function h3n(){}function l3n(){}function a3n(){}function d3n(){}function b3n(){}function w3n(){}function g3n(){}function p3n(){}function m3n(){}function v3n(){}function k3n(){}function y3n(){}function j3n(){}function E3n(){}function C3n(){}function M3n(){}function T3n(){}function A3n(){}function S3n(){}function P3n(){}function I3n(){}function O3n(){}function D3n(){}function L3n(){}function N3n(){}function $3n(){}function x3n(){}function F3n(){}function B3n(){}function R3n(){}function K3n(){}function _3n(){}function H3n(){}function q3n(){}function U3n(){}function G3n(){}function z3n(){}function X3n(){}function V3n(){}function W3n(){}function J3n(){}function Q3n(){}function Y3n(){}function Z3n(){}function n4n(){}function e4n(){}function t4n(){}function i4n(){}function r4n(){}function c4n(){}function u4n(){}function o4n(){}function s4n(){}function f4n(){}function h4n(){}function l4n(){}function a4n(){}function d4n(){}function b4n(){}function w4n(){}function g4n(){}function p4n(){}function m4n(){}function v4n(){}function k4n(){}function y4n(){}function j4n(){}function E4n(){}function C4n(){}function M4n(){}function T4n(){}function A4n(){}function S4n(){}function P4n(){}function I4n(){}function O4n(){}function _se(){}function D4n(){}function L4n(){}function N4n(){}function $4n(){}function x4n(){}function F4n(){}function B4n(){}function R4n(){}function K4n(){}function _4n(){}function H4n(){}function q4n(){}function U4n(){}function G4n(){}function z4n(){}function X4n(){}function V4n(){}function W4n(){}function J4n(){}function Q4n(){}function Y4n(){}function Z4n(){}function nmn(){}function emn(){}function tmn(){}function imn(){}function rmn(){}function BO(){}function RO(){}function cmn(){}function KO(){}function umn(){}function omn(){}function smn(){}function fmn(){}function hmn(){}function lmn(){}function amn(){}function dmn(){}function bmn(){}function wmn(){}function ZU(){}function gmn(){}function pmn(){}function mmn(){}function Hse(){}function vmn(){}function kmn(){}function ymn(){}function jmn(){}function Emn(){}function Cmn(){}function Mmn(){}function Ra(){}function Tmn(){}function ep(){}function nG(){}function Amn(){}function Smn(){}function Pmn(){}function Imn(){}function Omn(){}function Dmn(){}function Lmn(){}function Nmn(){}function $mn(){}function xmn(){}function Fmn(){}function Bmn(){}function Rmn(){}function Kmn(){}function _mn(){}function Hmn(){}function qmn(){}function Umn(){}function Gmn(){}function hn(){}function zmn(){}function Xmn(){}function Vmn(){}function Wmn(){}function Jmn(){}function Qmn(){}function Ymn(){}function Zmn(){}function nvn(){}function evn(){}function tvn(){}function ivn(){}function rvn(){}function _O(){}function cvn(){}function uvn(){}function ovn(){}function yE(){}function svn(){}function HO(){}function jE(){}function fvn(){}function eG(){}function hvn(){}function lvn(){}function avn(){}function dvn(){}function bvn(){}function wvn(){}function EE(){}function gvn(){}function pvn(){}function CE(){}function mvn(){}function ME(){}function vvn(){}function tG(){}function kvn(){}function qO(){}function iG(){}function yvn(){}function jvn(){}function Evn(){}function Cvn(){}function qse(){}function Mvn(){}function Tvn(){}function Avn(){}function Svn(){}function Pvn(){}function Ivn(){}function Ovn(){}function Dvn(){}function Lvn(){}function Nvn(){}function W3(){}function UO(){}function $vn(){}function xvn(){}function Fvn(){}function Bvn(){}function Rvn(){}function Kvn(){}function _vn(){}function Hvn(){}function qvn(){}function Uvn(){}function Gvn(){}function zvn(){}function Xvn(){}function Vvn(){}function Wvn(){}function Jvn(){}function Qvn(){}function Yvn(){}function Zvn(){}function n6n(){}function e6n(){}function t6n(){}function i6n(){}function r6n(){}function c6n(){}function u6n(){}function o6n(){}function s6n(){}function f6n(){}function h6n(){}function l6n(){}function a6n(){}function d6n(){}function b6n(){}function w6n(){}function g6n(){}function p6n(){}function m6n(){}function v6n(){}function k6n(){}function y6n(){}function j6n(){}function E6n(){}function C6n(){}function M6n(){}function T6n(){}function A6n(){}function S6n(){}function P6n(){}function I6n(){}function O6n(){}function D6n(){}function L6n(){}function N6n(){}function $6n(){}function x6n(){}function F6n(){}function B6n(){}function R6n(){}function K6n(){}function _6n(){}function H6n(){}function q6n(){}function U6n(){}function G6n(){}function z6n(){}function X6n(){}function V6n(){}function W6n(){}function J6n(){}function Q6n(){}function Y6n(){}function Z6n(){}function n5n(){}function e5n(){}function t5n(){}function i5n(){}function r5n(){}function c5n(){}function u5n(){}function o5n(){}function s5n(){}function f5n(){}function h5n(){}function l5n(){}function a5n(){}function d5n(){}function b5n(){}function w5n(){}function g5n(){}function p5n(){}function m5n(){}function v5n(){}function k5n(){}function y5n(){}function j5n(){}function E5n(){}function C5n(){}function M5n(){}function T5n(){}function A5n(){}function rG(){}function S5n(){}function P5n(){}function GO(){n6()}function I5n(){u7()}function O5n(){aA()}function D5n(){Q$()}function L5n(){M5()}function N5n(){ann()}function $5n(){qs()}function x5n(){jZ()}function F5n(){zk()}function B5n(){o7()}function R5n(){$7()}function K5n(){aCn()}function _5n(){Hp()}function H5n(){KLn()}function q5n(){yQ()}function U5n(){SOn()}function G5n(){jQ()}function z5n(){pNn()}function X5n(){AOn()}function V5n(){cm()}function W5n(){nxn()}function J5n(){Z$n()}function Q5n(){EDn()}function Y5n(){exn()}function Z5n(){ca()}function n8n(){ZE()}function e8n(){ltn()}function t8n(){cn()}function i8n(){txn()}function r8n(){Pxn()}function c8n(){POn()}function u8n(){nKn()}function o8n(){IOn()}function s8n(){bUn()}function f8n(){qnn()}function h8n(){kl()}function l8n(){wBn()}function a8n(){lc()}function d8n(){ROn()}function b8n(){_p()}function w8n(){Men()}function g8n(){ua()}function p8n(){Ten()}function m8n(){Bf()}function v8n(){Qk()}function k8n(){EF()}function y8n(){Dx()}function cf(){wSn()}function j8n(){YM()}function E8n(){mA()}function cG(){qe()}function C8n(){NT()}function M8n(){YY()}function uG(){D$()}function oG(){KA()}function T8n(){Fen()}function sG(n){Jn(n)}function A8n(n){this.a=n}function TE(n){this.a=n}function S8n(n){this.a=n}function P8n(n){this.a=n}function I8n(n){this.a=n}function O8n(n){this.a=n}function D8n(n){this.a=n}function L8n(n){this.a=n}function fG(n){this.a=n}function hG(n){this.a=n}function N8n(n){this.a=n}function $8n(n){this.a=n}function zO(n){this.a=n}function x8n(n){this.a=n}function F8n(n){this.a=n}function XO(n){this.a=n}function VO(n){this.a=n}function B8n(n){this.a=n}function WO(n){this.a=n}function R8n(n){this.a=n}function K8n(n){this.a=n}function _8n(n){this.a=n}function lG(n){this.b=n}function H8n(n){this.c=n}function q8n(n){this.a=n}function U8n(n){this.a=n}function G8n(n){this.a=n}function z8n(n){this.a=n}function X8n(n){this.a=n}function V8n(n){this.a=n}function W8n(n){this.a=n}function J8n(n){this.a=n}function Q8n(n){this.a=n}function Y8n(n){this.a=n}function Z8n(n){this.a=n}function n9n(n){this.a=n}function e9n(n){this.a=n}function aG(n){this.a=n}function dG(n){this.a=n}function AE(n){this.a=n}function z9(n){this.a=n}function Ka(){this.a=[]}function t9n(n,e){n.a=e}function Use(n,e){n.a=e}function Gse(n,e){n.b=e}function zse(n,e){n.b=e}function Xse(n,e){n.b=e}function bG(n,e){n.j=e}function Vse(n,e){n.g=e}function Wse(n,e){n.i=e}function Jse(n,e){n.c=e}function Qse(n,e){n.c=e}function Yse(n,e){n.d=e}function Zse(n,e){n.d=e}function _a(n,e){n.k=e}function nfe(n,e){n.c=e}function wG(n,e){n.c=e}function gG(n,e){n.a=e}function efe(n,e){n.a=e}function tfe(n,e){n.f=e}function ife(n,e){n.a=e}function rfe(n,e){n.b=e}function JO(n,e){n.d=e}function SE(n,e){n.i=e}function pG(n,e){n.o=e}function cfe(n,e){n.r=e}function ufe(n,e){n.a=e}function ofe(n,e){n.b=e}function i9n(n,e){n.e=e}function sfe(n,e){n.f=e}function mG(n,e){n.g=e}function ffe(n,e){n.e=e}function hfe(n,e){n.f=e}function lfe(n,e){n.f=e}function QO(n,e){n.a=e}function YO(n,e){n.b=e}function afe(n,e){n.n=e}function dfe(n,e){n.a=e}function bfe(n,e){n.c=e}function wfe(n,e){n.c=e}function gfe(n,e){n.c=e}function pfe(n,e){n.a=e}function mfe(n,e){n.a=e}function vfe(n,e){n.d=e}function kfe(n,e){n.d=e}function yfe(n,e){n.e=e}function jfe(n,e){n.e=e}function Efe(n,e){n.g=e}function Cfe(n,e){n.f=e}function Mfe(n,e){n.j=e}function Tfe(n,e){n.a=e}function Afe(n,e){n.a=e}function Sfe(n,e){n.b=e}function r9n(n){n.b=n.a}function c9n(n){n.c=n.d.d}function vG(n){this.a=n}function kG(n){this.a=n}function yG(n){this.a=n}function Ha(n){this.a=n}function qa(n){this.a=n}function X9(n){this.a=n}function u9n(n){this.a=n}function jG(n){this.a=n}function V9(n){this.a=n}function PE(n){this.a=n}function ol(n){this.a=n}function Sb(n){this.a=n}function o9n(n){this.a=n}function s9n(n){this.a=n}function ZO(n){this.b=n}function J3(n){this.b=n}function Q3(n){this.b=n}function nD(n){this.a=n}function f9n(n){this.a=n}function eD(n){this.c=n}function C(n){this.c=n}function h9n(n){this.c=n}function Xv(n){this.d=n}function EG(n){this.a=n}function Te(n){this.a=n}function l9n(n){this.a=n}function CG(n){this.a=n}function MG(n){this.a=n}function TG(n){this.a=n}function AG(n){this.a=n}function SG(n){this.a=n}function PG(n){this.a=n}function Y3(n){this.a=n}function a9n(n){this.a=n}function d9n(n){this.a=n}function Z3(n){this.a=n}function b9n(n){this.a=n}function w9n(n){this.a=n}function g9n(n){this.a=n}function p9n(n){this.a=n}function m9n(n){this.a=n}function v9n(n){this.a=n}function k9n(n){this.a=n}function y9n(n){this.a=n}function j9n(n){this.a=n}function E9n(n){this.a=n}function C9n(n){this.a=n}function M9n(n){this.a=n}function T9n(n){this.a=n}function A9n(n){this.a=n}function S9n(n){this.a=n}function Vv(n){this.a=n}function P9n(n){this.a=n}function I9n(n){this.a=n}function O9n(n){this.a=n}function D9n(n){this.a=n}function IE(n){this.a=n}function L9n(n){this.a=n}function N9n(n){this.a=n}function n4(n){this.a=n}function IG(n){this.a=n}function $9n(n){this.a=n}function x9n(n){this.a=n}function F9n(n){this.a=n}function B9n(n){this.a=n}function R9n(n){this.a=n}function K9n(n){this.a=n}function OG(n){this.a=n}function DG(n){this.a=n}function LG(n){this.a=n}function Wv(n){this.a=n}function OE(n){this.e=n}function e4(n){this.a=n}function _9n(n){this.a=n}function tp(n){this.a=n}function NG(n){this.a=n}function H9n(n){this.a=n}function q9n(n){this.a=n}function U9n(n){this.a=n}function G9n(n){this.a=n}function z9n(n){this.a=n}function X9n(n){this.a=n}function V9n(n){this.a=n}function W9n(n){this.a=n}function J9n(n){this.a=n}function Q9n(n){this.a=n}function Y9n(n){this.a=n}function $G(n){this.a=n}function Z9n(n){this.a=n}function n7n(n){this.a=n}function e7n(n){this.a=n}function t7n(n){this.a=n}function i7n(n){this.a=n}function r7n(n){this.a=n}function c7n(n){this.a=n}function u7n(n){this.a=n}function o7n(n){this.a=n}function s7n(n){this.a=n}function f7n(n){this.a=n}function h7n(n){this.a=n}function l7n(n){this.a=n}function a7n(n){this.a=n}function d7n(n){this.a=n}function b7n(n){this.a=n}function w7n(n){this.a=n}function g7n(n){this.a=n}function p7n(n){this.a=n}function m7n(n){this.a=n}function v7n(n){this.a=n}function k7n(n){this.a=n}function y7n(n){this.a=n}function j7n(n){this.a=n}function E7n(n){this.a=n}function C7n(n){this.a=n}function M7n(n){this.a=n}function T7n(n){this.a=n}function A7n(n){this.a=n}function S7n(n){this.a=n}function P7n(n){this.a=n}function I7n(n){this.a=n}function O7n(n){this.a=n}function D7n(n){this.a=n}function L7n(n){this.a=n}function N7n(n){this.a=n}function $7n(n){this.a=n}function x7n(n){this.a=n}function F7n(n){this.c=n}function B7n(n){this.b=n}function R7n(n){this.a=n}function K7n(n){this.a=n}function _7n(n){this.a=n}function H7n(n){this.a=n}function q7n(n){this.a=n}function U7n(n){this.a=n}function G7n(n){this.a=n}function z7n(n){this.a=n}function X7n(n){this.a=n}function V7n(n){this.a=n}function W7n(n){this.a=n}function J7n(n){this.a=n}function Q7n(n){this.a=n}function Y7n(n){this.a=n}function Z7n(n){this.a=n}function nkn(n){this.a=n}function ekn(n){this.a=n}function tkn(n){this.a=n}function ikn(n){this.a=n}function rkn(n){this.a=n}function ckn(n){this.a=n}function ukn(n){this.a=n}function okn(n){this.a=n}function skn(n){this.a=n}function fkn(n){this.a=n}function hkn(n){this.a=n}function lkn(n){this.a=n}function sl(n){this.a=n}function sg(n){this.a=n}function akn(n){this.a=n}function dkn(n){this.a=n}function bkn(n){this.a=n}function wkn(n){this.a=n}function gkn(n){this.a=n}function pkn(n){this.a=n}function mkn(n){this.a=n}function vkn(n){this.a=n}function kkn(n){this.a=n}function ykn(n){this.a=n}function jkn(n){this.a=n}function Ekn(n){this.a=n}function Ckn(n){this.a=n}function Mkn(n){this.a=n}function Tkn(n){this.a=n}function Akn(n){this.a=n}function Skn(n){this.a=n}function Pkn(n){this.a=n}function Ikn(n){this.a=n}function Okn(n){this.a=n}function Dkn(n){this.a=n}function Lkn(n){this.a=n}function Nkn(n){this.a=n}function $kn(n){this.a=n}function xkn(n){this.a=n}function Fkn(n){this.a=n}function DE(n){this.a=n}function Bkn(n){this.f=n}function Rkn(n){this.a=n}function Kkn(n){this.a=n}function _kn(n){this.a=n}function Hkn(n){this.a=n}function qkn(n){this.a=n}function Ukn(n){this.a=n}function Gkn(n){this.a=n}function zkn(n){this.a=n}function Xkn(n){this.a=n}function Vkn(n){this.a=n}function Wkn(n){this.a=n}function Jkn(n){this.a=n}function Qkn(n){this.a=n}function Ykn(n){this.a=n}function Zkn(n){this.a=n}function nyn(n){this.a=n}function eyn(n){this.a=n}function tyn(n){this.a=n}function iyn(n){this.a=n}function ryn(n){this.a=n}function cyn(n){this.a=n}function uyn(n){this.a=n}function oyn(n){this.a=n}function syn(n){this.a=n}function fyn(n){this.a=n}function hyn(n){this.a=n}function lyn(n){this.a=n}function ayn(n){this.a=n}function tD(n){this.a=n}function xG(n){this.a=n}function lt(n){this.b=n}function dyn(n){this.a=n}function byn(n){this.a=n}function wyn(n){this.a=n}function gyn(n){this.a=n}function pyn(n){this.a=n}function myn(n){this.a=n}function vyn(n){this.a=n}function kyn(n){this.b=n}function yyn(n){this.a=n}function W9(n){this.a=n}function jyn(n){this.a=n}function Eyn(n){this.a=n}function FG(n){this.c=n}function LE(n){this.e=n}function NE(n){this.a=n}function $E(n){this.a=n}function iD(n){this.a=n}function Cyn(n){this.d=n}function Myn(n){this.a=n}function BG(n){this.a=n}function RG(n){this.a=n}function Wd(n){this.e=n}function Pfe(){this.a=0}function de(){Hu(this)}function Z(){pL(this)}function rD(){sIn(this)}function Tyn(){}function Jd(){this.c=Gdn}function Ayn(n,e){n.b+=e}function Ife(n,e){e.Wb(n)}function Ofe(n){return n.a}function Dfe(n){return n.a}function Lfe(n){return n.a}function Nfe(n){return n.a}function $fe(n){return n.a}function M(n){return n.e}function xfe(){return null}function Ffe(){return null}function Bfe(){Cz(),pLe()}function Rfe(n){n.b.Of(n.e)}function Syn(n){n.b=new CD}function Jv(n,e){n.b=e-n.b}function Qv(n,e){n.a=e-n.a}function Bn(n,e){n.push(e)}function Pyn(n,e){n.sort(e)}function Iyn(n,e){e.jd(n.a)}function Kfe(n,e){gi(e,n)}function _fe(n,e,t){n.Yd(t,e)}function J9(n,e){n.e=e,e.b=n}function KG(n){uh(),this.a=n}function Oyn(n){uh(),this.a=n}function Dyn(n){uh(),this.a=n}function cD(n){m0(),this.a=n}function Lyn(n){O4(),VK.le(n)}function _G(){_G=F,new de}function Ua(){YTn.call(this)}function HG(){YTn.call(this)}function qG(){Ua.call(this)}function uD(){Ua.call(this)}function Nyn(){Ua.call(this)}function Q9(){Ua.call(this)}function Cu(){Ua.call(this)}function ip(){Ua.call(this)}function Pe(){Ua.call(this)}function Bo(){Ua.call(this)}function $yn(){Ua.call(this)}function nc(){Ua.call(this)}function xyn(){Ua.call(this)}function Fyn(){this.a=this}function xE(){this.Bb|=256}function Byn(){this.b=new GMn}function Pb(n,e){n.length=e}function FE(n,e){nn(n.a,e)}function Hfe(n,e){bnn(n.c,e)}function qfe(n,e){fi(n.b,e)}function Ufe(n,e){uA(n.a,e)}function Gfe(n,e){cx(n.a,e)}function t4(n,e){it(n.e,e)}function rp(n){jA(n.c,n.b)}function zfe(n,e){n.kc().Nb(e)}function UG(n){this.a=B5e(n)}function ni(){this.a=new de}function Ryn(){this.a=new de}function GG(){this.a=new rCn}function BE(){this.a=new Z}function oD(){this.a=new Z}function zG(){this.a=new Z}function hs(){this.a=new cbn}function Ga(){this.a=new NLn}function XG(){this.a=new _U}function VG(){this.a=new TOn}function WG(){this.a=new BAn}function Kyn(){this.a=new Z}function _yn(){this.a=new Z}function Hyn(){this.a=new Z}function JG(){this.a=new Z}function qyn(){this.d=new Z}function Uyn(){this.a=new zOn}function Gyn(){this.a=new ni}function zyn(){this.a=new de}function Xyn(){this.b=new de}function Vyn(){this.b=new Z}function QG(){this.e=new Z}function Wyn(){this.a=new Z5n}function Jyn(){this.d=new Z}function Qyn(){QIn.call(this)}function Yyn(){QIn.call(this)}function Zyn(){Z.call(this)}function YG(){qG.call(this)}function ZG(){BE.call(this)}function njn(){qC.call(this)}function ejn(){JG.call(this)}function Yv(){Tyn.call(this)}function sD(){Yv.call(this)}function cp(){Tyn.call(this)}function nz(){cp.call(this)}function tjn(){rz.call(this)}function ijn(){rz.call(this)}function rjn(){rz.call(this)}function cjn(){cz.call(this)}function Zv(){svn.call(this)}function ez(){svn.call(this)}function Mu(){Ct.call(this)}function ujn(){yjn.call(this)}function ojn(){yjn.call(this)}function sjn(){de.call(this)}function fjn(){de.call(this)}function hjn(){de.call(this)}function fD(){cxn.call(this)}function ljn(){ni.call(this)}function ajn(){xE.call(this)}function hD(){BX.call(this)}function tz(){de.call(this)}function lD(){BX.call(this)}function aD(){de.call(this)}function djn(){de.call(this)}function iz(){ME.call(this)}function bjn(){iz.call(this)}function wjn(){ME.call(this)}function gjn(){rG.call(this)}function rz(){this.a=new ni}function pjn(){this.a=new de}function mjn(){this.a=new Z}function cz(){this.a=new de}function up(){this.a=new Ct}function vjn(){this.j=new Z}function kjn(){this.a=new mEn}function yjn(){this.a=new mvn}function uz(){this.a=new Z4n}function n6(){n6=F,KK=new Ht}function dD(){dD=F,_K=new Ejn}function bD(){bD=F,HK=new jjn}function jjn(){XO.call(this,"")}function Ejn(){XO.call(this,"")}function Cjn(n){S$n.call(this,n)}function Mjn(n){S$n.call(this,n)}function oz(n){fG.call(this,n)}function sz(n){XEn.call(this,n)}function Xfe(n){XEn.call(this,n)}function Vfe(n){sz.call(this,n)}function Wfe(n){sz.call(this,n)}function Jfe(n){sz.call(this,n)}function Tjn(n){zN.call(this,n)}function Ajn(n){zN.call(this,n)}function Sjn(n){uSn.call(this,n)}function Pjn(n){Oz.call(this,n)}function e6(n){WE.call(this,n)}function fz(n){WE.call(this,n)}function Ijn(n){WE.call(this,n)}function hz(n){mje.call(this,n)}function lz(n){hz.call(this,n)}function ec(n){APn.call(this,n)}function Ojn(n){ec.call(this,n)}function op(){z9.call(this,{})}function Djn(){Djn=F,dQn=new M0n}function RE(){RE=F,GK=new STn}function Ljn(){Ljn=F,oun=new Bu}function az(){az=F,sun=new N1}function KE(){KE=F,P8=new $1}function wD(n){b4(),this.a=n}function gD(n){RQ(),this.a=n}function Qd(n){nN(),this.f=n}function pD(n){nN(),this.f=n}function Njn(n){bSn(),this.a=n}function $jn(n){n.b=null,n.c=0}function Qfe(n,e){n.e=e,bqn(n,e)}function Yfe(n,e){n.a=e,cEe(n)}function mD(n,e,t){n.a[e.g]=t}function Zfe(n,e,t){kke(t,n,e)}function nhe(n,e){Wae(e.i,n.n)}function xjn(n,e){v6e(n).Cd(e)}function ehe(n,e){n.a.ec().Mc(e)}function Fjn(n,e){return n.g-e.g}function the(n,e){return n*n/e}function on(n){return Jn(n),n}function $(n){return Jn(n),n}function Y9(n){return Jn(n),n}function ihe(n){return new AE(n)}function rhe(n){return new qb(n)}function dz(n){return Jn(n),n}function che(n){return Jn(n),n}function _E(n){ec.call(this,n)}function Ir(n){ec.call(this,n)}function Bjn(n){ec.call(this,n)}function vD(n){APn.call(this,n)}function i4(n){ec.call(this,n)}function Gn(n){ec.call(this,n)}function Or(n){ec.call(this,n)}function Rjn(n){ec.call(this,n)}function sp(n){ec.call(this,n)}function Kl(n){ec.call(this,n)}function _l(n){ec.call(this,n)}function fp(n){ec.call(this,n)}function nh(n){ec.call(this,n)}function kD(n){ec.call(this,n)}function Le(n){ec.call(this,n)}function Ku(n){Jn(n),this.a=n}function bz(n){return ld(n),n}function t6(n){TW(n,n.length)}function i6(n){return n.b==n.c}function Ib(n){return!!n&&n.b}function uhe(n){return!!n&&n.k}function ohe(n){return!!n&&n.j}function she(n,e,t){n.c.Ef(e,t)}function Kjn(n,e){n.be(e),e.ae(n)}function hp(n){uh(),this.a=Se(n)}function yD(){this.a=Oe(Se(ur))}function _jn(){throw M(new Pe)}function fhe(){throw M(new Pe)}function wz(){throw M(new Pe)}function Hjn(){throw M(new Pe)}function hhe(){throw M(new Pe)}function lhe(){throw M(new Pe)}function HE(){HE=F,O4()}function Hl(){X9.call(this,"")}function r6(){X9.call(this,"")}function x1(){X9.call(this,"")}function lp(){X9.call(this,"")}function gz(n){Ir.call(this,n)}function pz(n){Ir.call(this,n)}function eh(n){Gn.call(this,n)}function r4(n){Q3.call(this,n)}function qjn(n){r4.call(this,n)}function jD(n){BC.call(this,n)}function ED(n){JX.call(this,n,0)}function CD(){sJ.call(this,12,3)}function T(n,e){return kOn(n,e)}function qE(n,e){return o$(n,e)}function ahe(n,e){return n.a-e.a}function dhe(n,e){return n.a-e.a}function bhe(n,e){return n.a-e.a}function whe(n,e){return e in n.a}function Ujn(n){return n.a?n.b:0}function ghe(n){return n.a?n.b:0}function phe(n,e,t){e.Cd(n.a[t])}function mhe(n,e,t){e.Pe(n.a[t])}function vhe(n,e){n.b=new rr(e)}function khe(n,e){return n.b=e,n}function Gjn(n,e){return n.c=e,n}function zjn(n,e){return n.f=e,n}function yhe(n,e){return n.g=e,n}function mz(n,e){return n.a=e,n}function vz(n,e){return n.f=e,n}function jhe(n,e){return n.k=e,n}function kz(n,e){return n.a=e,n}function Ehe(n,e){return n.e=e,n}function yz(n,e){return n.e=e,n}function Che(n,e){return n.f=e,n}function Mhe(n,e){n.b=!0,n.d=e}function The(n,e){return n.b-e.b}function Ahe(n,e){return n.g-e.g}function She(n,e){return n?0:e-1}function Xjn(n,e){return n?0:e-1}function Phe(n,e){return n?e-1:0}function Ihe(n,e){return n.s-e.s}function Ohe(n,e){return e.rg(n)}function Yd(n,e){return n.b=e,n}function UE(n,e){return n.a=e,n}function Zd(n,e){return n.c=e,n}function n0(n,e){return n.d=e,n}function e0(n,e){return n.e=e,n}function jz(n,e){return n.f=e,n}function c6(n,e){return n.a=e,n}function c4(n,e){return n.b=e,n}function u4(n,e){return n.c=e,n}function an(n,e){return n.c=e,n}function Sn(n,e){return n.b=e,n}function dn(n,e){return n.d=e,n}function bn(n,e){return n.e=e,n}function Dhe(n,e){return n.f=e,n}function wn(n,e){return n.g=e,n}function gn(n,e){return n.a=e,n}function pn(n,e){return n.i=e,n}function mn(n,e){return n.j=e,n}function Lhe(n,e){ca(),ic(e,n)}function Nhe(n,e,t){Jbe(n.a,e,t)}function GE(n){$L.call(this,n)}function Vjn(n){Z5e.call(this,n)}function Wjn(n){SIn.call(this,n)}function Ez(n){SIn.call(this,n)}function F1(n){S0.call(this,n)}function Jjn(n){CN.call(this,n)}function Qjn(n){CN.call(this,n)}function Yjn(){DX.call(this,"")}function Li(){this.a=0,this.b=0}function Zjn(){this.b=0,this.a=0}function nEn(n,e){n.b=0,Zb(n,e)}function eEn(n,e){return n.k=e,n}function $he(n,e){return n.j=e,n}function xhe(n,e){n.c=e,n.b=!0}function tEn(){tEn=F,TQn=Xke()}function B1(){B1=F,voe=rke()}function iEn(){iEn=F,Ti=gye()}function Cz(){Cz=F,Oa=z4()}function o4(){o4=F,Udn=cke()}function rEn(){rEn=F,ise=uke()}function Mz(){Mz=F,yc=tEe()}function uf(n){return n.e&&n.e()}function cEn(n){return n.l|n.m<<22}function uEn(n,e){return n.c._b(e)}function oEn(n,e){return rBn(n.b,e)}function MD(n){return n?n.d:null}function Fhe(n){return n?n.g:null}function Bhe(n){return n?n.i:null}function za(n){return ll(n),n.o}function fg(n,e){return n.a+=e,n}function TD(n,e){return n.a+=e,n}function ql(n,e){return n.a+=e,n}function t0(n,e){return n.a+=e,n}function Tz(n,e){for(;n.Bd(e););}function zE(n){this.a=new ap(n)}function sEn(){throw M(new Pe)}function fEn(){throw M(new Pe)}function hEn(){throw M(new Pe)}function lEn(){throw M(new Pe)}function aEn(){throw M(new Pe)}function dEn(){throw M(new Pe)}function Ul(n){this.a=new iN(n)}function bEn(){this.a=new K5(Rln)}function wEn(){this.b=new K5(rln)}function gEn(){this.a=new K5(f1n)}function pEn(){this.b=new K5(Fq)}function mEn(){this.b=new K5(Fq)}function XE(n){this.a=0,this.b=n}function Az(n){zGn(),ILe(this,n)}function s4(n){return z1(n),n.a}function Z9(n){return n.b!=n.d.c}function Sz(n,e){return n.d[e.p]}function vEn(n,e){return XTe(n,e)}function Pz(n,e,t){n.splice(e,t)}function hg(n,e){for(;n.Re(e););}function kEn(n){n.c?Dqn(n):Lqn(n)}function yEn(){throw M(new Pe)}function jEn(){throw M(new Pe)}function EEn(){throw M(new Pe)}function CEn(){throw M(new Pe)}function MEn(){throw M(new Pe)}function TEn(){throw M(new Pe)}function AEn(){throw M(new Pe)}function SEn(){throw M(new Pe)}function PEn(){throw M(new Pe)}function IEn(){throw M(new Pe)}function Rhe(){throw M(new nc)}function Khe(){throw M(new nc)}function n7(n){this.a=new OEn(n)}function OEn(n){Ume(this,n,jje())}function e7(n){return!n||oIn(n)}function t7(n){return Zf[n]!=-1}function _he(){cP!=0&&(cP=0),uP=-1}function DEn(){RK==null&&(RK=[])}function i7(n,e){Cg.call(this,n,e)}function f4(n,e){i7.call(this,n,e)}function LEn(n,e){this.a=n,this.b=e}function NEn(n,e){this.a=n,this.b=e}function $En(n,e){this.a=n,this.b=e}function xEn(n,e){this.a=n,this.b=e}function FEn(n,e){this.a=n,this.b=e}function BEn(n,e){this.a=n,this.b=e}function REn(n,e){this.a=n,this.b=e}function h4(n,e){this.e=n,this.d=e}function Iz(n,e){this.b=n,this.c=e}function KEn(n,e){this.b=n,this.a=e}function _En(n,e){this.b=n,this.a=e}function HEn(n,e){this.b=n,this.a=e}function qEn(n,e){this.b=n,this.a=e}function UEn(n,e){this.a=n,this.b=e}function AD(n,e){this.a=n,this.b=e}function GEn(n,e){this.a=n,this.f=e}function i0(n,e){this.g=n,this.i=e}function je(n,e){this.f=n,this.g=e}function zEn(n,e){this.b=n,this.c=e}function XEn(n){KX(n.dc()),this.c=n}function Hhe(n,e){this.a=n,this.b=e}function VEn(n,e){this.a=n,this.b=e}function WEn(n){this.a=u(Se(n),15)}function Oz(n){this.a=u(Se(n),15)}function JEn(n){this.a=u(Se(n),85)}function VE(n){this.b=u(Se(n),85)}function WE(n){this.b=u(Se(n),51)}function JE(){this.q=new y.Date}function SD(n,e){this.a=n,this.b=e}function QEn(n,e){return Zc(n.b,e)}function r7(n,e){return n.b.Hc(e)}function YEn(n,e){return n.b.Ic(e)}function ZEn(n,e){return n.b.Qc(e)}function nCn(n,e){return n.b.Hc(e)}function eCn(n,e){return n.c.uc(e)}function tCn(n,e){return rt(n.c,e)}function of(n,e){return n.a._b(e)}function iCn(n,e){return n>e&&e0}function ND(n,e){return Ec(n,e)<0}function vCn(n,e){return JL(n.a,e)}function ole(n,e){yOn.call(this,n,e)}function Bz(n){wN(),uSn.call(this,n)}function Rz(n,e){bPn(n,n.length,e)}function s7(n,e){HPn(n,n.length,e)}function d6(n,e){return n.a.get(e)}function kCn(n,e){return Zc(n.e,e)}function Kz(n){return Jn(n),!1}function _z(n){this.a=u(Se(n),229)}function cC(n){In.call(this,n,21)}function uC(n,e){je.call(this,n,e)}function $D(n,e){je.call(this,n,e)}function yCn(n,e){this.b=n,this.a=e}function oC(n,e){this.d=n,this.e=e}function jCn(n,e){this.a=n,this.b=e}function ECn(n,e){this.a=n,this.b=e}function CCn(n,e){this.a=n,this.b=e}function MCn(n,e){this.a=n,this.b=e}function bp(n,e){this.a=n,this.b=e}function TCn(n,e){this.b=n,this.a=e}function Hz(n,e){this.b=n,this.a=e}function qz(n,e){je.call(this,n,e)}function Uz(n,e){je.call(this,n,e)}function lg(n,e){je.call(this,n,e)}function xD(n,e){je.call(this,n,e)}function FD(n,e){je.call(this,n,e)}function BD(n,e){je.call(this,n,e)}function sC(n,e){je.call(this,n,e)}function Gz(n,e){this.b=n,this.a=e}function fC(n,e){je.call(this,n,e)}function zz(n,e){this.b=n,this.a=e}function hC(n,e){je.call(this,n,e)}function ACn(n,e){this.b=n,this.a=e}function Xz(n,e){je.call(this,n,e)}function RD(n,e){je.call(this,n,e)}function f7(n,e){je.call(this,n,e)}function b6(n,e,t){n.splice(e,0,t)}function sle(n,e,t){n.Mb(t)&&e.Cd(t)}function fle(n,e,t){e.Pe(n.a.Ye(t))}function hle(n,e,t){e.Dd(n.a.Ze(t))}function lle(n,e,t){e.Cd(n.a.Kb(t))}function ale(n,e){return Au(n.c,e)}function dle(n,e){return Au(n.e,e)}function lC(n,e){je.call(this,n,e)}function aC(n,e){je.call(this,n,e)}function w6(n,e){je.call(this,n,e)}function Vz(n,e){je.call(this,n,e)}function ei(n,e){je.call(this,n,e)}function dC(n,e){je.call(this,n,e)}function SCn(n,e){this.a=n,this.b=e}function PCn(n,e){this.a=n,this.b=e}function ICn(n,e){this.a=n,this.b=e}function OCn(n,e){this.a=n,this.b=e}function DCn(n,e){this.a=n,this.b=e}function LCn(n,e){this.a=n,this.b=e}function NCn(n,e){this.b=n,this.a=e}function $Cn(n,e){this.b=n,this.a=e}function Wz(n,e){this.b=n,this.a=e}function d4(n,e){this.c=n,this.d=e}function xCn(n,e){this.e=n,this.d=e}function FCn(n,e){this.a=n,this.b=e}function BCn(n,e){this.a=n,this.b=e}function RCn(n,e){this.a=n,this.b=e}function KCn(n,e){this.b=n,this.a=e}function _Cn(n,e){this.b=e,this.c=n}function bC(n,e){je.call(this,n,e)}function h7(n,e){je.call(this,n,e)}function KD(n,e){je.call(this,n,e)}function Jz(n,e){je.call(this,n,e)}function g6(n,e){je.call(this,n,e)}function _D(n,e){je.call(this,n,e)}function HD(n,e){je.call(this,n,e)}function l7(n,e){je.call(this,n,e)}function Qz(n,e){je.call(this,n,e)}function qD(n,e){je.call(this,n,e)}function p6(n,e){je.call(this,n,e)}function Yz(n,e){je.call(this,n,e)}function m6(n,e){je.call(this,n,e)}function v6(n,e){je.call(this,n,e)}function Db(n,e){je.call(this,n,e)}function UD(n,e){je.call(this,n,e)}function GD(n,e){je.call(this,n,e)}function Zz(n,e){je.call(this,n,e)}function a7(n,e){je.call(this,n,e)}function ag(n,e){je.call(this,n,e)}function zD(n,e){je.call(this,n,e)}function wC(n,e){je.call(this,n,e)}function d7(n,e){je.call(this,n,e)}function Lb(n,e){je.call(this,n,e)}function gC(n,e){je.call(this,n,e)}function nX(n,e){je.call(this,n,e)}function XD(n,e){je.call(this,n,e)}function VD(n,e){je.call(this,n,e)}function WD(n,e){je.call(this,n,e)}function JD(n,e){je.call(this,n,e)}function QD(n,e){je.call(this,n,e)}function YD(n,e){je.call(this,n,e)}function ZD(n,e){je.call(this,n,e)}function HCn(n,e){this.b=n,this.a=e}function eX(n,e){je.call(this,n,e)}function qCn(n,e){this.a=n,this.b=e}function UCn(n,e){this.a=n,this.b=e}function GCn(n,e){this.a=n,this.b=e}function tX(n,e){je.call(this,n,e)}function iX(n,e){je.call(this,n,e)}function zCn(n,e){this.a=n,this.b=e}function ble(n,e){return k4(),e!=n}function b7(n){return oe(n.a),n.b}function nL(n){return yCe(n,n.c),n}function XCn(){return tEn(),new TQn}function VCn(){VC(),this.a=new kV}function WCn(){OA(),this.a=new ni}function JCn(){NN(),this.b=new ni}function QCn(n,e){this.b=n,this.d=e}function YCn(n,e){this.a=n,this.b=e}function ZCn(n,e){this.a=n,this.b=e}function nMn(n,e){this.a=n,this.b=e}function eMn(n,e){this.b=n,this.a=e}function rX(n,e){je.call(this,n,e)}function cX(n,e){je.call(this,n,e)}function pC(n,e){je.call(this,n,e)}function u0(n,e){je.call(this,n,e)}function eL(n,e){je.call(this,n,e)}function mC(n,e){je.call(this,n,e)}function uX(n,e){je.call(this,n,e)}function oX(n,e){je.call(this,n,e)}function w7(n,e){je.call(this,n,e)}function sX(n,e){je.call(this,n,e)}function tL(n,e){je.call(this,n,e)}function vC(n,e){je.call(this,n,e)}function iL(n,e){je.call(this,n,e)}function rL(n,e){je.call(this,n,e)}function cL(n,e){je.call(this,n,e)}function uL(n,e){je.call(this,n,e)}function fX(n,e){je.call(this,n,e)}function oL(n,e){je.call(this,n,e)}function hX(n,e){je.call(this,n,e)}function g7(n,e){je.call(this,n,e)}function sL(n,e){je.call(this,n,e)}function lX(n,e){je.call(this,n,e)}function p7(n,e){je.call(this,n,e)}function aX(n,e){je.call(this,n,e)}function tMn(n,e){this.b=n,this.a=e}function iMn(n,e){this.b=n,this.a=e}function rMn(n,e){this.b=n,this.a=e}function cMn(n,e){this.b=n,this.a=e}function dX(n,e){this.a=n,this.b=e}function uMn(n,e){this.a=n,this.b=e}function oMn(n,e){this.a=n,this.b=e}function V(n,e){this.a=n,this.b=e}function k6(n,e){je.call(this,n,e)}function m7(n,e){je.call(this,n,e)}function wp(n,e){je.call(this,n,e)}function y6(n,e){je.call(this,n,e)}function v7(n,e){je.call(this,n,e)}function fL(n,e){je.call(this,n,e)}function kC(n,e){je.call(this,n,e)}function j6(n,e){je.call(this,n,e)}function hL(n,e){je.call(this,n,e)}function yC(n,e){je.call(this,n,e)}function dg(n,e){je.call(this,n,e)}function k7(n,e){je.call(this,n,e)}function E6(n,e){je.call(this,n,e)}function C6(n,e){je.call(this,n,e)}function y7(n,e){je.call(this,n,e)}function jC(n,e){je.call(this,n,e)}function bg(n,e){je.call(this,n,e)}function lL(n,e){je.call(this,n,e)}function sMn(n,e){je.call(this,n,e)}function EC(n,e){je.call(this,n,e)}function fMn(n,e){this.a=n,this.b=e}function hMn(n,e){this.a=n,this.b=e}function lMn(n,e){this.a=n,this.b=e}function aMn(n,e){this.a=n,this.b=e}function dMn(n,e){this.a=n,this.b=e}function bMn(n,e){this.a=n,this.b=e}function bi(n,e){this.a=n,this.b=e}function wMn(n,e){this.a=n,this.b=e}function gMn(n,e){this.a=n,this.b=e}function pMn(n,e){this.a=n,this.b=e}function mMn(n,e){this.a=n,this.b=e}function vMn(n,e){this.a=n,this.b=e}function kMn(n,e){this.a=n,this.b=e}function yMn(n,e){this.b=n,this.a=e}function jMn(n,e){this.b=n,this.a=e}function EMn(n,e){this.b=n,this.a=e}function CMn(n,e){this.b=n,this.a=e}function MMn(n,e){this.a=n,this.b=e}function TMn(n,e){this.a=n,this.b=e}function CC(n,e){je.call(this,n,e)}function AMn(n,e){this.a=n,this.b=e}function SMn(n,e){this.a=n,this.b=e}function gp(n,e){je.call(this,n,e)}function PMn(n,e){this.f=n,this.c=e}function bX(n,e){return Au(n.g,e)}function wle(n,e){return Au(e.b,n)}function IMn(n,e){return wx(n.a,e)}function gle(n,e){return-n.b.af(e)}function ple(n,e){n&&Xe(hE,n,e)}function wX(n,e){n.i=null,kT(n,e)}function mle(n,e,t){yKn(e,oF(n,t))}function vle(n,e,t){yKn(e,oF(n,t))}function kle(n,e){VMe(n.a,u(e,58))}function OMn(n,e){U4e(n.a,u(e,12))}function MC(n,e){this.a=n,this.b=e}function DMn(n,e){this.a=n,this.b=e}function LMn(n,e){this.a=n,this.b=e}function NMn(n,e){this.a=n,this.b=e}function $Mn(n,e){this.a=n,this.b=e}function xMn(n,e){this.d=n,this.b=e}function FMn(n,e){this.e=n,this.a=e}function j7(n,e){this.b=n,this.c=e}function gX(n,e){this.i=n,this.g=e}function pX(n,e){this.d=n,this.e=e}function yle(n,e){cme(new ne(n),e)}function TC(n){return Rk(n.c,n.b)}function Kr(n){return n?n.md():null}function x(n){return n??null}function Ai(n){return typeof n===nB}function Nb(n){return typeof n===i3}function $b(n){return typeof n===dtn}function o0(n,e){return Ec(n,e)==0}function AC(n,e){return Ec(n,e)>=0}function M6(n,e){return Ec(n,e)!=0}function SC(n,e){return jve(n.Kc(),e)}function _1(n,e){return n.Rd().Xb(e)}function BMn(n){return eo(n),n.d.gc()}function PC(n){return F6(n==null),n}function T6(n,e){return n.a+=""+e,n}function Er(n,e){return n.a+=""+e,n}function A6(n,e){return n.a+=""+e,n}function Dc(n,e){return n.a+=""+e,n}function Be(n,e){return n.a+=""+e,n}function mX(n,e){return n.a+=""+e,n}function jle(n){return""+(Jn(n),n)}function RMn(n){Hu(this),f5(this,n)}function KMn(){oJ(),dW.call(this)}function _Mn(n,e){mW.call(this,n,e)}function HMn(n,e){mW.call(this,n,e)}function IC(n,e){mW.call(this,n,e)}function ir(n,e){xt(n,e,n.c.b,n.c)}function wg(n,e){xt(n,e,n.a,n.a.a)}function vX(n){return Ln(n,0),null}function qMn(){this.b=0,this.a=!1}function UMn(){this.b=0,this.a=!1}function GMn(){this.b=new ap(Qb(12))}function zMn(){zMn=F,kYn=Ce(jx())}function XMn(){XMn=F,HZn=Ce(iqn())}function VMn(){VMn=F,lre=Ce(xxn())}function kX(){kX=F,_G(),fun=new de}function sf(n){return n.a=0,n.b=0,n}function WMn(n,e){return n.a=e.g+1,n}function aL(n,e){Kb.call(this,n,e)}function Mn(n,e){Dt.call(this,n,e)}function gg(n,e){gX.call(this,n,e)}function JMn(n,e){T7.call(this,n,e)}function dL(n,e){Y4.call(this,n,e)}function Ue(n,e){iC(),Xe(yO,n,e)}function QMn(n,e){n.q.setTime(id(e))}function Ele(n){y.clearTimeout(n)}function Cle(n){return Se(n),new S6(n)}function YMn(n,e){return x(n)===x(e)}function ZMn(n,e){return n.a.a.a.cc(e)}function bL(n,e){return qo(n.a,0,e)}function yX(n){return Awe(u(n,74))}function pp(n){return wi((Jn(n),n))}function Mle(n){return wi((Jn(n),n))}function nTn(n){return Yc(n.l,n.m,n.h)}function jX(n,e){return jc(n.a,e.a)}function Tle(n,e){return KPn(n.a,e.a)}function Ale(n,e){return bt(n.a,e.a)}function th(n,e){return n.indexOf(e)}function Sle(n,e){return n.j[e.p]==2}function s0(n,e){return n==e?0:n?1:-1}function OC(n){return n<10?"0"+n:""+n}function Vr(n){return typeof n===dtn}function Ple(n){return n==rb||n==Iw}function Ile(n){return n==rb||n==Pw}function eTn(n,e){return jc(n.g,e.g)}function EX(n){return qr(n.b.b,n,0)}function tTn(){rM.call(this,0,0,0,0)}function ih(){CG.call(this,new Ql)}function CX(n,e){F4(n,0,n.length,e)}function Ole(n,e){return nn(n.a,e),e}function Dle(n,e){return xs(),e.a+=n}function Lle(n,e){return xs(),e.a+=n}function Nle(n,e){return xs(),e.c+=n}function $le(n,e){return nn(n.c,e),n}function MX(n,e){return Mo(n.a,e),n}function iTn(n){this.a=XCn(),this.b=n}function rTn(n){this.a=XCn(),this.b=n}function rr(n){this.a=n.a,this.b=n.b}function S6(n){this.a=n,GO.call(this)}function cTn(n){this.a=n,GO.call(this)}function mp(){Ho.call(this,0,0,0,0)}function DC(n){return Mo(new ii,n)}function uTn(n){return jM(u(n,123))}function fo(n){return n.vh()&&n.wh()}function pg(n){return n!=Jf&&n!=Sa}function hl(n){return n==Br||n==Xr}function mg(n){return n==us||n==Vf}function oTn(n){return n==S2||n==A2}function xle(n,e){return jc(n.g,e.g)}function sTn(n,e){return new Y4(e,n)}function Fle(n,e){return new Y4(e,n)}function TX(n){return rbe(n.b.Kc(),n.a)}function wL(n,e){um(n,e),G4(n,n.D)}function gL(n,e,t){aT(n,e),lT(n,t)}function vg(n,e,t){I0(n,e),P0(n,t)}function Ro(n,e,t){eu(n,e),tu(n,t)}function E7(n,e,t){_4(n,e),q4(n,t)}function C7(n,e,t){H4(n,e),U4(n,t)}function fTn(n,e,t){sV.call(this,n,e,t)}function AX(n){PMn.call(this,n,!0)}function hTn(){uC.call(this,"Tail",3)}function lTn(){uC.call(this,"Head",1)}function H1(n){dh(),mve.call(this,n)}function f0(n){rM.call(this,n,n,n,n)}function pL(n){n.c=K(ki,Fn,1,0,5,1)}function SX(n){return n.b&&xF(n),n.a}function PX(n){return n.b&&xF(n),n.c}function Ble(n,e){qf||(n.b=e)}function Rle(n,e){return n[n.length]=e}function Kle(n,e){return n[n.length]=e}function _le(n,e){return Yb(e,Af(n))}function Hle(n,e){return Yb(e,Af(n))}function qle(n,e){return pT(dN(n.d),e)}function Ule(n,e){return pT(dN(n.g),e)}function Gle(n,e){return pT(dN(n.j),e)}function Ni(n,e){Dt.call(this,n.b,e)}function zle(n,e){ve(Sc(n.a),DOn(e))}function Xle(n,e){ve(no(n.a),LOn(e))}function Vle(n,e,t){Ro(t,t.i+n,t.j+e)}function aTn(n,e,t){$t(n.c[e.g],e.g,t)}function Wle(n,e,t){u(n.c,71).Gi(e,t)}function mL(n,e,t){return $t(n,e,t),t}function dTn(n){nu(n.Sf(),new D9n(n))}function kg(n){return n!=null?mt(n):0}function Jle(n){return n==null?0:mt(n)}function P6(n){nt(),Wd.call(this,n)}function bTn(n){this.a=n,qV.call(this,n)}function Mf(){Mf=F,y.Math.log(2)}function Ko(){Ko=F,rl=(pCn(),Moe)}function wTn(){wTn=F,YH=new j5(aU)}function Ie(){Ie=F,new gTn,new Z}function gTn(){new de,new de,new de}function Qle(){throw M(new Kl(QJn))}function Yle(){throw M(new Kl(QJn))}function Zle(){throw M(new Kl(YJn))}function n1e(){throw M(new Kl(YJn))}function vL(n){this.a=n,VE.call(this,n)}function kL(n){this.a=n,VE.call(this,n)}function pTn(n,e){m0(),this.a=n,this.b=e}function e1e(n,e){Se(e),Tg(n).Jc(new Ru)}function Yt(n,e){QL(n.c,n.c.length,e)}function tc(n){return n.ae?1:0}function OX(n,e){return Ec(n,e)>0?n:e}function Yc(n,e,t){return{l:n,m:e,h:t}}function t1e(n,e){n.a!=null&&OMn(e,n.a)}function i1e(n){Zi(n,null),Ii(n,null)}function r1e(n,e,t){return Xe(n.g,t,e)}function yg(n,e,t){return nZ(e,t,n.c)}function c1e(n,e,t){return Xe(n.k,t,e)}function u1e(n,e,t){return GOe(n,e,t),t}function o1e(n,e){return ko(),e.n.b+=n}function vTn(n){nJ.call(this),this.b=n}function DX(n){vV.call(this),this.a=n}function kTn(){uC.call(this,"Range",2)}function LC(n){this.b=n,this.a=new Z}function yTn(n){this.b=new $bn,this.a=n}function jTn(n){n.a=new OO,n.c=new OO}function ETn(n){n.a=new de,n.d=new de}function CTn(n){$N(n,null),xN(n,null)}function MTn(n,e){return XOe(n.a,e,null)}function s1e(n,e){return Xe(n.a,e.a,e)}function Ki(n){return new V(n.a,n.b)}function LX(n){return new V(n.c,n.d)}function f1e(n){return new V(n.c,n.d)}function I6(n,e){return cOe(n.c,n.b,e)}function O(n,e){return n!=null&&Tx(n,e)}function yL(n,e){return Yve(n.Kc(),e)!=-1}function NC(n){return n.Ob()?n.Pb():null}function h1e(n){this.b=(Dn(),new eD(n))}function NX(n){this.a=n,de.call(this)}function TTn(){T7.call(this,null,null)}function ATn(){_C.call(this,null,null)}function STn(){je.call(this,"INSTANCE",0)}function PTn(){LZ(),this.a=new K5(Ion)}function ITn(n){return hh(n,0,n.length)}function l1e(n,e){return new VTn(n.Kc(),e)}function $X(n,e){return n.a.Bc(e)!=null}function OTn(n,e){me(n),n.Gc(u(e,15))}function a1e(n,e,t){n.c.bd(e,u(t,136))}function d1e(n,e,t){n.c.Ui(e,u(t,136))}function DTn(n,e){n.c&&(tW(e),rOn(e))}function b1e(n,e){n.q.setHours(e),G5(n,e)}function w1e(n,e){a0(e,n.a.a.a,n.a.a.b)}function g1e(n,e,t,i){$t(n.a[e.g],t.g,i)}function jL(n,e,t){return n.a[e.g][t.g]}function p1e(n,e){return n.e[e.c.p][e.p]}function m1e(n,e){return n.c[e.c.p][e.p]}function Tf(n,e){return n.a[e.c.p][e.p]}function v1e(n,e){return n.j[e.p]=IMe(e)}function EL(n,e){return n.a.Bc(e)!=null}function k1e(n,e){return $(R(e.a))<=n}function y1e(n,e){return $(R(e.a))>=n}function j1e(n,e){return RJ(n.f,e.Pg())}function vp(n,e){return n.a*e.a+n.b*e.b}function E1e(n,e){return n.a0?e/(n*n):e*100}function V1e(n,e){return n>0?e*e/n:e*e*100}function xb(n,e){return u(Lf(n.a,e),34)}function W1e(n,e){return ca(),Pn(n,e.e,e)}function J1e(n,e,t){return nC(),t.Mg(n,e)}function Q1e(n){return kl(),n.e.a+n.f.a/2}function Y1e(n,e,t){return kl(),t.e.a-n*e}function Z1e(n){return kl(),n.e.b+n.f.b/2}function nae(n,e,t){return kl(),t.e.b-n*e}function sAn(n){n.d=new cAn(n),n.e=new de}function fAn(){this.a=new C0,this.b=new C0}function hAn(n){this.c=n,this.a=1,this.b=1}function lAn(n){YF(),Syn(this),this.Ff(n)}function eae(n,e,t){YM(),n.pf(e)&&t.Cd(n)}function tae(n,e,t){return nn(e,jBn(n,t))}function a0(n,e,t){return n.a+=e,n.b+=t,n}function iae(n,e,t){return n.a*=e,n.b*=t,n}function ZX(n,e){return n.a=e.a,n.b=e.b,n}function HC(n){return n.a=-n.a,n.b=-n.b,n}function N6(n,e,t){return n.a-=e,n.b-=t,n}function aAn(n){Ct.call(this),c5(this,n)}function dAn(){je.call(this,"GROW_TREE",0)}function bAn(){je.call(this,"POLYOMINO",0)}function lo(n,e,t){Iu.call(this,n,e,t,2)}function rae(n,e,t){k5(Sc(n.a),e,DOn(t))}function wAn(n,e){a6(),T7.call(this,n,e)}function nV(n,e){Gl(),_C.call(this,n,e)}function gAn(n,e){Gl(),nV.call(this,n,e)}function pAn(n,e){Gl(),_C.call(this,n,e)}function cae(n,e){return n.c.Fc(u(e,136))}function uae(n,e,t){k5(no(n.a),e,LOn(t))}function mAn(n){this.c=n,eu(n,0),tu(n,0)}function PL(n,e){Ko(),oM.call(this,n,e)}function vAn(n,e){Ko(),PL.call(this,n,e)}function eV(n,e){Ko(),PL.call(this,n,e)}function tV(n,e){Ko(),oM.call(this,n,e)}function kAn(n,e){Ko(),eV.call(this,n,e)}function yAn(n,e){Ko(),tV.call(this,n,e)}function jAn(n,e){Ko(),oM.call(this,n,e)}function oae(n,e,t){return e.zl(n.e,n.c,t)}function sae(n,e,t){return e.Al(n.e,n.c,t)}function iV(n,e,t){return qA(ak(n,e),t)}function IL(n,e){return na(n.e,u(e,54))}function fae(n){return n==null?null:NDe(n)}function hae(n){return n==null?null:Aje(n)}function lae(n){return n==null?null:Jr(n)}function aae(n){return n==null?null:Jr(n)}function un(n){return F6(n==null||Nb(n)),n}function R(n){return F6(n==null||$b(n)),n}function Oe(n){return F6(n==null||Ai(n)),n}function ll(n){n.o==null&&cMe(n)}function rV(n){if(!n)throw M(new Q9)}function dae(n){if(!n)throw M(new uD)}function oe(n){if(!n)throw M(new nc)}function Fb(n){if(!n)throw M(new Cu)}function EAn(n){if(!n)throw M(new Bo)}function m4(){m4=F,aE=new ujn,new ojn}function Mg(){Mg=F,O2=new lt("root")}function cV(){cxn.call(this),this.Bb|=hr}function bae(n,e){this.d=n,c9n(this),this.b=e}function uV(n,e){i$.call(this,n),this.a=e}function oV(n,e){i$.call(this,n),this.a=e}function sV(n,e,t){VM.call(this,n,e,t,null)}function CAn(n,e,t){VM.call(this,n,e,t,null)}function P7(n,e){this.c=n,h4.call(this,n,e)}function $6(n,e){this.a=n,P7.call(this,n,e)}function fV(n){this.q=new y.Date(id(n))}function MAn(n){return n>8?0:n+1}function TAn(n,e){qf||nn(n.a,e)}function wae(n,e){return o7(),Q4(e.d.i,n)}function gae(n,e){return Hp(),new tUn(e,n)}function pae(n,e,t){return n.Ne(e,t)<=0?t:e}function mae(n,e,t){return n.Ne(e,t)<=0?e:t}function vae(n,e){return u(Lf(n.b,e),143)}function kae(n,e){return u(Lf(n.c,e),233)}function OL(n){return u(sn(n.a,n.b),294)}function AAn(n){return new V(n.c,n.d+n.a)}function SAn(n){return Jn(n),n?1231:1237}function PAn(n){return ko(),oTn(u(n,203))}function Bb(){Bb=F,ron=yn((go(),Gd))}function yae(n,e){e.a?MCe(n,e):EL(n.a,e.b)}function I7(n,e,t){++n.j,n.tj(),t$(n,e,t)}function IAn(n,e,t){++n.j,n.qj(e,n.Zi(e,t))}function OAn(n,e,t){var i;i=n.fd(e),i.Rb(t)}function hV(n,e,t){return t=So(n,e,6,t),t}function lV(n,e,t){return t=So(n,e,3,t),t}function aV(n,e,t){return t=So(n,e,9,t),t}function ch(n,e){return X7(e,xtn),n.f=e,n}function dV(n,e){return(e&et)%n.d.length}function DAn(n,e,t){return zen(n.c,n.b,e,t)}function LAn(n,e){this.c=n,S0.call(this,e)}function NAn(n,e){this.a=n,kyn.call(this,e)}function O7(n,e){this.a=n,kyn.call(this,e)}function Dt(n,e){lt.call(this,n),this.a=e}function bV(n,e){FG.call(this,n),this.a=e}function DL(n,e){FG.call(this,n),this.a=e}function jae(n){VY.call(this,0,0),this.f=n}function $An(n,e,t){return n.a+=hh(e,0,t),n}function D7(n){return!n.a&&(n.a=new C0n),n.a}function wV(n,e){var t;return t=n.e,n.e=e,t}function gV(n,e){var t;return t=e,!!n.Fe(t)}function Eae(n,e){return _n(),n==e?0:n?1:-1}function Rb(n,e){n.a.bd(n.b,e),++n.b,n.c=-1}function L7(n){n.b?L7(n.b):n.f.c.zc(n.e,n.d)}function xAn(n){Hu(n.e),n.d.b=n.d,n.d.a=n.d}function Cae(n,e,t){Xa(),t9n(n,e.Ve(n.a,t))}function pV(n,e,t){return Pp(n,u(e,22),t)}function $s(n,e){return qE(new Array(e),n)}function Mae(n){return Ae(U1(n,32))^Ae(n)}function LL(n){return String.fromCharCode(n)}function Tae(n){return n==null?null:n.message}function Aae(n,e,t){return n.apply(e,t)}function Sae(n,e){var t;t=n[DB],t.call(n,e)}function Pae(n,e){var t;t=n[DB],t.call(n,e)}function Iae(n,e){return o7(),!Q4(e.d.i,n)}function mV(n,e,t,i){rM.call(this,n,e,t,i)}function FAn(){qC.call(this),this.a=new Li}function vV(){this.n=new Li,this.o=new Li}function BAn(){this.b=new Li,this.c=new Z}function RAn(){this.a=new Z,this.b=new Z}function KAn(){this.a=new _U,this.b=new Byn}function kV(){this.b=new Ql,this.a=new Ql}function _An(){this.b=new ni,this.a=new ni}function HAn(){this.b=new de,this.a=new de}function qAn(){this.b=new wEn,this.a=new H3n}function UAn(){this.a=new n8n,this.b=new Lpn}function GAn(){this.a=new Z,this.d=new Z}function qC(){this.n=new cp,this.i=new mp}function zAn(n){this.a=(Co(n,mw),new Gc(n))}function XAn(n){this.a=(Co(n,mw),new Gc(n))}function Oae(n){return n<100?null:new F1(n)}function Dae(n,e){return n.n.a=(Jn(e),e+10)}function Lae(n,e){return n.n.a=(Jn(e),e+10)}function Nae(n,e){return e==n||km(TA(e),n)}function VAn(n,e){return Xe(n.a,e,"")==null}function $ae(n,e){var t;return t=e.qi(n.a),t}function tt(n,e){return n.a+=e.a,n.b+=e.b,n}function mi(n,e){return n.a-=e.a,n.b-=e.b,n}function xae(n){return Pb(n.j.c,0),n.a=-1,n}function yV(n,e,t){return t=So(n,e,11,t),t}function Fae(n,e,t){t!=null&&mT(e,Fx(n,t))}function Bae(n,e,t){t!=null&&vT(e,Fx(n,t))}function jp(n,e,t,i){q.call(this,n,e,t,i)}function jV(n,e,t,i){q.call(this,n,e,t,i)}function WAn(n,e,t,i){jV.call(this,n,e,t,i)}function JAn(n,e,t,i){bM.call(this,n,e,t,i)}function NL(n,e,t,i){bM.call(this,n,e,t,i)}function EV(n,e,t,i){bM.call(this,n,e,t,i)}function QAn(n,e,t,i){NL.call(this,n,e,t,i)}function CV(n,e,t,i){NL.call(this,n,e,t,i)}function Nn(n,e,t,i){EV.call(this,n,e,t,i)}function YAn(n,e,t,i){CV.call(this,n,e,t,i)}function ZAn(n,e,t,i){jW.call(this,n,e,t,i)}function Kb(n,e){Ir.call(this,k8+n+Td+e)}function MV(n,e){return n.jk().wi().ri(n,e)}function TV(n,e){return n.jk().wi().ti(n,e)}function nSn(n,e){return Jn(n),x(n)===x(e)}function An(n,e){return Jn(n),x(n)===x(e)}function Rae(n,e){return n.b.Bd(new ECn(n,e))}function Kae(n,e){return n.b.Bd(new CCn(n,e))}function eSn(n,e){return n.b.Bd(new MCn(n,e))}function _ae(n,e){return n.e=u(n.d.Kb(e),159)}function AV(n,e,t){return n.lastIndexOf(e,t)}function Hae(n,e,t){return bt(n[e.a],n[t.a])}function qae(n,e){return U(e,(cn(),Cj),n)}function Uae(n,e){return jc(e.a.d.p,n.a.d.p)}function Gae(n,e){return jc(n.a.d.p,e.a.d.p)}function zae(n,e){return bt(n.c-n.s,e.c-e.s)}function Xae(n,e){return bt(n.b.e.a,e.b.e.a)}function Vae(n,e){return bt(n.c.e.a,e.c.e.a)}function tSn(n){return n.c?qr(n.c.a,n,0):-1}function Ep(n){return n==Ud||n==tl||n==qc}function SV(n,e){this.c=n,oN.call(this,n,e)}function iSn(n,e,t){this.a=n,JX.call(this,e,t)}function rSn(n){this.c=n,IC.call(this,Ey,0)}function cSn(n,e,t){this.c=e,this.b=t,this.a=n}function N7(n){k4(),this.d=n,this.a=new Eg}function uSn(n){uh(),this.a=(Dn(),new r4(n))}function Wae(n,e){hl(n.f)?QCe(n,e):Sye(n,e)}function oSn(n,e){sbe.call(this,n,n.length,e)}function Jae(n,e){qf||e&&(n.d=e)}function sSn(n,e){return O(e,15)&&xqn(n.c,e)}function Qae(n,e,t){return u(n.c,71).Wk(e,t)}function UC(n,e,t){return u(n.c,71).Xk(e,t)}function Yae(n,e,t){return oae(n,u(e,343),t)}function PV(n,e,t){return sae(n,u(e,343),t)}function Zae(n,e,t){return PKn(n,u(e,343),t)}function fSn(n,e,t){return _ye(n,u(e,343),t)}function x6(n,e){return e==null?null:tw(n.b,e)}function IV(n){return $b(n)?(Jn(n),n):n.ue()}function GC(n){return!isNaN(n)&&!isFinite(n)}function $L(n){jTn(this),vo(this),Bi(this,n)}function _u(n){pL(this),zV(this.c,0,n.Pc())}function _o(n,e,t){this.a=n,this.b=e,this.c=t}function hSn(n,e,t){this.a=n,this.b=e,this.c=t}function lSn(n,e,t){this.d=n,this.b=t,this.a=e}function aSn(n){this.a=n,fl(),vc(Date.now())}function dSn(n){bo(n.a),GJ(n.c,n.b),n.b=null}function xL(){xL=F,Oun=new $0n,AQn=new x0n}function bSn(){bSn=F,Ioe=K(ki,Fn,1,0,5,1)}function wSn(){wSn=F,Voe=K(ki,Fn,1,0,5,1)}function OV(){OV=F,Woe=K(ki,Fn,1,0,5,1)}function uh(){uh=F,new KG((Dn(),Dn(),sr))}function nde(n){return B4(),Ee((yNn(),IQn),n)}function ede(n){return Gu(),Ee((lNn(),xQn),n)}function tde(n){return YT(),Ee((JDn(),HQn),n)}function ide(n){return cT(),Ee((QDn(),qQn),n)}function rde(n){return NA(),Ee((Jxn(),UQn),n)}function cde(n){return bf(),Ee((fNn(),XQn),n)}function ude(n){return Uu(),Ee((sNn(),WQn),n)}function ode(n){return bu(),Ee((hNn(),QQn),n)}function sde(n){return VA(),Ee((zMn(),kYn),n)}function fde(n){return N0(),Ee((ENn(),jYn),n)}function hde(n){return Vp(),Ee((MNn(),CYn),n)}function lde(n){return A5(),Ee((CNn(),AYn),n)}function ade(n){return YE(),Ee((jDn(),SYn),n)}function dde(n){return uT(),Ee((YDn(),GYn),n)}function bde(n){return i5(),Ee((aNn(),pZn),n)}function wde(n){return Vi(),Ee((u$n(),yZn),n)}function gde(n){return nm(),Ee((ANn(),TZn),n)}function pde(n){return dd(),Ee((TNn(),DZn),n)}function DV(n,e){if(!n)throw M(new Gn(e))}function v4(n){if(!n)throw M(new Or(btn))}function FL(n,e){if(n!=e)throw M(new Bo)}function gSn(n,e,t){this.a=n,this.b=e,this.c=t}function LV(n,e,t){this.a=n,this.b=e,this.c=t}function pSn(n,e,t){this.a=n,this.b=e,this.c=t}function zC(n,e,t){this.b=n,this.a=e,this.c=t}function NV(n,e,t){this.b=n,this.c=e,this.a=t}function $V(n,e,t){this.a=n,this.b=e,this.c=t}function XC(n,e,t){this.e=e,this.b=n,this.d=t}function mSn(n,e,t){this.b=n,this.a=e,this.c=t}function mde(n,e,t){return Xa(),n.a.Yd(e,t),e}function BL(n){var e;return e=new ubn,e.e=n,e}function xV(n){var e;return e=new qyn,e.b=n,e}function $7(){$7=F,CP=new sgn,MP=new fgn}function VC(){VC=F,XZn=new xgn,zZn=new Fgn}function xs(){xs=F,YZn=new G2n,ZZn=new z2n}function vde(n){return D0(),Ee((qLn(),fne),n)}function kde(n){return tr(),Ee((XMn(),HZn),n)}function yde(n){return OT(),Ee((PNn(),GZn),n)}function jde(n){return $f(),Ee((SNn(),tne),n)}function Ede(n){return ow(),Ee((o$n(),rne),n)}function Cde(n){return DA(),Ee(($xn(),hne),n)}function Mde(n){return Yp(),Ee((D$n(),lne),n)}function Tde(n){return QM(),Ee((cLn(),ane),n)}function Ade(n){return u5(),Ee((_Ln(),dne),n)}function Sde(n){return bT(),Ee((HLn(),bne),n)}function Pde(n){return o1(),Ee((s$n(),wne),n)}function Ide(n){return pk(),Ee((eLn(),gne),n)}function Ode(n){return jm(),Ee(($$n(),jne),n)}function Dde(n){return pr(),Ee((aFn(),Ene),n)}function Lde(n){return Z4(),Ee((GLn(),Cne),n)}function Nde(n){return vl(),Ee((zLn(),Tne),n)}function $de(n){return KM(),Ee((nLn(),Ane),n)}function xde(n){return Jk(),Ee((N$n(),yne),n)}function Fde(n){return hd(),Ee((ULn(),mne),n)}function Bde(n){return vA(),Ee((L$n(),vne),n)}function Rde(n){return hk(),Ee((tLn(),kne),n)}function Kde(n){return Yo(),Ee((h$n(),Sne),n)}function _de(n){return a1(),Ee((Xxn(),Yte),n)}function Hde(n){return g5(),Ee((XLn(),Zte),n)}function qde(n){return cw(),Ee((INn(),nie),n)}function Ude(n){return T5(),Ee((f$n(),eie),n)}function Gde(n){return gs(),Ee((dFn(),tie),n)}function zde(n){return lh(),Ee((ONn(),iie),n)}function Xde(n){return wk(),Ee((iLn(),rie),n)}function Vde(n){return gr(),Ee((JLn(),uie),n)}function Wde(n){return ST(),Ee((VLn(),oie),n)}function Jde(n){return d5(),Ee((WLn(),sie),n)}function Qde(n){return om(),Ee((QLn(),fie),n)}function Yde(n){return dT(),Ee((YLn(),hie),n)}function Zde(n){return DT(),Ee((ZLn(),lie),n)}function n0e(n){return O0(),Ee((oNn(),Aie),n)}function e0e(n){return n5(),Ee((rLn(),Die),n)}function t0e(n){return sh(),Ee((sLn(),Rie),n)}function i0e(n){return Sf(),Ee((fLn(),_ie),n)}function r0e(n){return lf(),Ee((hLn(),tre),n)}function c0e(n){return M0(),Ee((lLn(),fre),n)}function u0e(n){return Qp(),Ee((BNn(),hre),n)}function o0e(n){return q5(),Ee((VMn(),lre),n)}function s0e(n){return b5(),Ee((nNn(),are),n)}function f0e(n){return w5(),Ee((FNn(),$re),n)}function h0e(n){return FM(),Ee((uLn(),xre),n)}function l0e(n){return yT(),Ee((oLn(),_re),n)}function a0e(n){return wA(),Ee((l$n(),qre),n)}function d0e(n){return Ok(),Ee((eNn(),Gre),n)}function b0e(n){return ZM(),Ee((aLn(),Ure),n)}function w0e(n){return sA(),Ee((xNn(),lce),n)}function g0e(n){return AT(),Ee((tNn(),ace),n)}function p0e(n){return XT(),Ee((iNn(),dce),n)}function m0e(n){return rA(),Ee((rNn(),wce),n)}function v0e(n){return _T(),Ee((cNn(),mce),n)}function k0e(n){return GM(),Ee((dLn(),Rce),n)}function y0e(n){return V4(),Ee((ZDn(),_Zn),n)}function j0e(n){return Vn(),Ee((x$n(),xZn),n)}function E0e(n){return nT(),Ee((uNn(),Kce),n)}function C0e(n){return N$(),Ee((bLn(),_ce),n)}function M0e(n){return R5(),Ee((a$n(),qce),n)}function T0e(n){return eC(),Ee((IDn(),Gce),n)}function A0e(n){return Fk(),Ee((bNn(),Uce),n)}function S0e(n){return tC(),Ee((ODn(),Xce),n)}function P0e(n){return ck(),Ee((wLn(),Vce),n)}function I0e(n){return Yk(),Ee((d$n(),Wce),n)}function O0e(n){return f6(),Ee((DDn(),lue),n)}function D0e(n){return Ak(),Ee((gLn(),aue),n)}function L0e(n){return gf(),Ee((w$n(),mue),n)}function N0e(n){return l1(),Ee((Lxn(),kue),n)}function $0e(n){return Rh(),Ee((F$n(),yue),n)}function x0e(n){return wd(),Ee((B$n(),Aue),n)}function F0e(n){return ci(),Ee((b$n(),zue),n)}function B0e(n){return Nf(),Ee((wNn(),Xue),n)}function R0e(n){return El(),Ee((RNn(),Vue),n)}function K0e(n){return pA(),Ee((R$n(),Wue),n)}function _0e(n){return jl(),Ee((dNn(),Que),n)}function H0e(n){return To(),Ee((KNn(),Zue),n)}function q0e(n){return lw(),Ee((Wxn(),noe),n)}function U0e(n){return Fg(),Ee((g$n(),eoe),n)}function G0e(n){return Oi(),Ee((K$n(),toe),n)}function z0e(n){return zu(),Ee((_$n(),ioe),n)}function X0e(n){return tn(),Ee((p$n(),roe),n)}function V0e(n){return go(),Ee((_Nn(),foe),n)}function W0e(n){return io(),Ee((Vxn(),hoe),n)}function J0e(n){return Gp(),Ee((gNn(),loe),n)}function Q0e(n,e){return Jn(n),n+(Jn(e),e)}function Y0e(n){return RL(),Ee((pLn(),aoe),n)}function Z0e(n){return qT(),Ee((HNn(),doe),n)}function nbe(n){return LT(),Ee((qNn(),goe),n)}function k4(){k4=F,tln=(tn(),Wn),II=Zn}function RL(){RL=F,vdn=new VSn,kdn=new LPn}function ebe(n){return!n.e&&(n.e=new Z),n.e}function KL(n,e){this.c=n,this.a=e,this.b=e-n}function vSn(n,e,t){this.a=n,this.b=e,this.c=t}function _L(n,e,t){this.a=n,this.b=e,this.c=t}function FV(n,e,t){this.a=n,this.b=e,this.c=t}function BV(n,e,t){this.a=n,this.b=e,this.c=t}function kSn(n,e,t){this.a=n,this.b=e,this.c=t}function ySn(n,e,t){this.a=n,this.b=e,this.c=t}function Xl(n,e,t){this.e=n,this.a=e,this.c=t}function jSn(n,e,t){Ko(),tJ.call(this,n,e,t)}function HL(n,e,t){Ko(),RW.call(this,n,e,t)}function RV(n,e,t){Ko(),RW.call(this,n,e,t)}function KV(n,e,t){Ko(),RW.call(this,n,e,t)}function ESn(n,e,t){Ko(),HL.call(this,n,e,t)}function _V(n,e,t){Ko(),HL.call(this,n,e,t)}function CSn(n,e,t){Ko(),_V.call(this,n,e,t)}function MSn(n,e,t){Ko(),RV.call(this,n,e,t)}function TSn(n,e,t){Ko(),KV.call(this,n,e,t)}function qL(n){rM.call(this,n.d,n.c,n.a,n.b)}function HV(n){rM.call(this,n.d,n.c,n.a,n.b)}function qV(n){this.d=n,c9n(this),this.b=nwe(n.d)}function tbe(n){return Cm(),Ee((Nxn(),Poe),n)}function x7(n,e){return Se(n),Se(e),new NEn(n,e)}function Cp(n,e){return Se(n),Se(e),new RSn(n,e)}function ibe(n,e){return Se(n),Se(e),new KSn(n,e)}function rbe(n,e){return Se(n),Se(e),new qEn(n,e)}function UL(n){return oe(n.b!=0),Xo(n,n.a.a)}function cbe(n){return oe(n.b!=0),Xo(n,n.c.b)}function ube(n){return!n.c&&(n.c=new W3),n.c}function y4(n){var e;return e=new Z,b$(e,n),e}function obe(n){var e;return e=new ni,b$(e,n),e}function ASn(n){var e;return e=new GG,A$(e,n),e}function F7(n){var e;return e=new Ct,A$(e,n),e}function u(n,e){return F6(n==null||Tx(n,e)),n}function sbe(n,e,t){TPn.call(this,e,t),this.a=n}function SSn(n,e){this.c=n,this.b=e,this.a=!1}function PSn(){this.a=";,;",this.b="",this.c=""}function ISn(n,e,t){this.b=n,_Mn.call(this,e,t)}function UV(n,e,t){this.c=n,oC.call(this,e,t)}function GV(n,e,t){d4.call(this,n,e),this.b=t}function zV(n,e,t){Bnn(t,0,n,e,t.length,!1)}function Lh(n,e,t,i,r){n.b=e,n.c=t,n.d=i,n.a=r}function XV(n,e,t,i,r){n.d=e,n.c=t,n.a=i,n.b=r}function fbe(n,e){e&&(n.b=e,n.a=(z1(e),e.a))}function B7(n,e){if(!n)throw M(new Gn(e))}function Mp(n,e){if(!n)throw M(new Or(e))}function VV(n,e){if(!n)throw M(new Bjn(e))}function hbe(n,e){return ZE(),jc(n.d.p,e.d.p)}function lbe(n,e){return kl(),bt(n.e.b,e.e.b)}function abe(n,e){return kl(),bt(n.e.a,e.e.a)}function dbe(n,e){return jc(GSn(n.d),GSn(e.d))}function WC(n,e){return e&&vM(n,e.d)?e:null}function bbe(n,e){return e==(tn(),Wn)?n.c:n.d}function WV(n){return Q1(dwe(Vr(n)?ds(n):n))}function wbe(n){return new V(n.c+n.b,n.d+n.a)}function OSn(n){return n!=null&&!lx(n,N9,$9)}function gbe(n,e){return(fBn(n)<<4|fBn(e))&ui}function DSn(n,e,t,i,r){n.c=e,n.d=t,n.b=i,n.a=r}function JV(n){var e,t;e=n.b,t=n.c,n.b=t,n.c=e}function QV(n){var e,t;t=n.d,e=n.a,n.d=e,n.a=t}function pbe(n,e){var t;return t=n.c,PQ(n,e),t}function YV(n,e){return e<0?n.g=-1:n.g=e,n}function JC(n,e){return Mme(n),n.a*=e,n.b*=e,n}function LSn(n,e,t){A$n.call(this,e,t),this.d=n}function R7(n,e,t){pX.call(this,n,e),this.c=t}function QC(n,e,t){pX.call(this,n,e),this.c=t}function ZV(n){OV(),ME.call(this),this.ci(n)}function NSn(){$4(),Bwe.call(this,(R1(),Ss))}function $Sn(n){return nt(),new Nh(0,n)}function xSn(){xSn=F,AU=(Dn(),new nD(IK))}function YC(){YC=F,new hZ((bD(),HK),(dD(),_K))}function FSn(){FSn=F,pun=K(Gi,J,17,256,0,1)}function BSn(){this.b=$(R(rn((qs(),y_))))}function GL(n){this.b=n,this.a=Wa(this.b.a).Od()}function RSn(n,e){this.b=n,this.a=e,GO.call(this)}function KSn(n,e){this.a=n,this.b=e,GO.call(this)}function _Sn(n,e,t){this.a=n,gg.call(this,e,t)}function HSn(n,e,t){this.a=n,gg.call(this,e,t)}function j4(n,e,t){var i;i=new qb(t),df(n,e,i)}function nW(n,e,t){var i;return i=n[e],n[e]=t,i}function ZC(n){var e;return e=n.slice(),o$(e,n)}function nM(n){var e;return e=n.n,n.a.b+e.d+e.a}function qSn(n){var e;return e=n.n,n.e.b+e.d+e.a}function eW(n){var e;return e=n.n,n.e.a+e.b+e.c}function tW(n){n.a.b=n.b,n.b.a=n.a,n.a=n.b=null}function xe(n,e){return xt(n,e,n.c.b,n.c),!0}function mbe(n){return n.a?n.a:vN(n)}function vbe(n){return Lp(),Kh(n)==At(ia(n))}function kbe(n){return Lp(),ia(n)==At(Kh(n))}function d0(n,e){return O5(n,new d4(e.a,e.b))}function ybe(n,e){return yM(),Nx(n,e),new lIn(n,e)}function jbe(n,e){return n.c=e)throw M(new YG)}function _b(n,e){return $k(n,(Jn(e),new a9n(e)))}function Ap(n,e){return $k(n,(Jn(e),new d9n(e)))}function SPn(n,e,t){return VLe(n,u(e,12),u(t,12))}function PPn(n){return Ou(),u(n,12).g.c.length!=0}function IPn(n){return Ou(),u(n,12).e.c.length!=0}function uwe(n,e){return Hp(),bt(e.a.o.a,n.a.o.a)}function owe(n,e){e.Bb&kc&&!n.a.o&&(n.a.o=e)}function swe(n,e){e.Ug("General 'Rotator",1),jDe(n)}function fwe(n,e,t){e.qf(t,$(R(ee(n.b,t)))*n.a)}function OPn(n,e,t){return Xg(),W4(n,e)&&W4(n,t)}function _6(n){return zu(),!n.Hc(Fl)&&!n.Hc(Pa)}function hwe(n){return n.e?qJ(n.e):null}function H6(n){return Vr(n)?""+n:$qn(n)}function yW(n){var e;for(e=n;e.f;)e=e.f;return e}function lwe(n,e,t){return $t(e,0,oW(e[0],t[0])),e}function Vl(n,e,t,i){var r;r=n.i,r.i=e,r.a=t,r.b=i}function q(n,e,t,i){ti.call(this,n,e,t),this.b=i}function Ci(n,e,t,i,r){c$.call(this,n,e,t,i,r,-1)}function q6(n,e,t,i,r){ok.call(this,n,e,t,i,r,-1)}function bM(n,e,t,i){R7.call(this,n,e,t),this.b=i}function DPn(n){PMn.call(this,n,!1),this.a=!1}function LPn(){sMn.call(this,"LOOKAHEAD_LAYOUT",1)}function NPn(n){this.b=n,kp.call(this,n),RTn(this)}function $Pn(n){this.b=n,A7.call(this,n),KTn(this)}function Hb(n,e,t){this.a=n,jp.call(this,e,t,5,6)}function jW(n,e,t,i){this.b=n,ti.call(this,e,t,i)}function xPn(n,e){this.b=n,H8n.call(this,n.b),this.a=e}function FPn(n){this.a=kRn(n.a),this.b=new _u(n.b)}function EW(n,e){m0(),Hhe.call(this,n,FT(new Ku(e)))}function wM(n,e){return nt(),new BW(n,e,0)}function rN(n,e){return nt(),new BW(6,n,e)}function _i(n,e){for(Jn(e);n.Ob();)e.Cd(n.Pb())}function Zc(n,e){return Ai(e)?AN(n,e):!!wr(n.f,e)}function cN(n,e){return e.Vh()?na(n.b,u(e,54)):e}function awe(n,e){return An(n.substr(0,e.length),e)}function $h(n){return new te(new UX(n.a.length,n.a))}function gM(n){return new V(n.c+n.b/2,n.d+n.a/2)}function dwe(n){return Yc(~n.l&ro,~n.m&ro,~n.h&Il)}function uN(n){return typeof n===vy||typeof n===eB}function Hu(n){n.f=new iTn(n),n.i=new rTn(n),++n.g}function BPn(n){if(!n)throw M(new nc);return n.d}function Sp(n){var e;return e=a5(n),oe(e!=null),e}function bwe(n){var e;return e=I5e(n),oe(e!=null),e}function C4(n,e){var t;return t=n.a.gc(),BJ(e,t),t-e}function fi(n,e){var t;return t=n.a.zc(e,n),t==null}function _7(n,e){return n.a.zc(e,(_n(),wa))==null}function CW(n){return new Tn(null,vwe(n,n.length))}function MW(n,e,t){return cGn(n,u(e,42),u(t,176))}function Pp(n,e,t){return Ks(n.a,e),nW(n.b,e.g,t)}function wwe(n,e,t){E4(t,n.a.c.length),Go(n.a,t,e)}function B(n,e,t,i){xFn(e,t,n.length),gwe(n,e,t,i)}function gwe(n,e,t,i){var r;for(r=e;r0?y.Math.log(n/e):-100}function KPn(n,e){return Ec(n,e)<0?-1:Ec(n,e)>0?1:0}function H7(n,e){OTn(n,O(e,160)?e:u(e,2036).Rl())}function PW(n,e){if(n==null)throw M(new sp(e))}function vwe(n,e){return yme(e,n.length),new XSn(n,e)}function IW(n,e){return e?Bi(n,e):!1}function kwe(){return RE(),S(T(uQn,1),G,549,0,[GK])}function G6(n){return n.e==0?n:new Qa(-n.e,n.d,n.a)}function ywe(n,e){return bt(n.c.c+n.c.b,e.c.c+e.c.b)}function q7(n,e){xt(n.d,e,n.b.b,n.b),++n.a,n.c=null}function _Pn(n,e){return n.c?_Pn(n.c,e):nn(n.b,e),n}function jwe(n,e,t){var i;return i=Jb(n,e),qN(n,e,t),i}function HPn(n,e,t){var i;for(i=0;i=n.g}function $t(n,e,t){return dae(t==null||oPe(n,t)),n[e]=t}function $W(n,e){return zn(e,n.length+1),n.substr(e)}function gN(n,e){for(Jn(e);n.c=n?new Dz:Gme(n-1)}function Hi(n){return!n.a&&n.c?n.c.b:n.a}function KW(n){return O(n,616)?n:new oOn(n)}function z1(n){n.c?z1(n.c):(ea(n),n.d=!0)}function V6(n){n.c?n.c.$e():(n.d=!0,fTe(n))}function sIn(n){n.b=!1,n.c=!1,n.d=!1,n.a=!1}function fIn(n){var e,t;return e=n.c.i.c,t=n.d.i.c,e==t}function _we(n,e){var t;t=n.Ih(e),t>=0?n.ki(t):Pnn(n,e)}function hIn(n,e){n.c<0||n.b.b0;)n=n<<1|(n<0?1:0);return n}function mIn(n,e){var t;return t=new Lc(n),Bn(e.c,t),t}function vIn(n,e){n.u.Hc((zu(),Fl))&&zEe(n,e),h4e(n,e)}function mc(n,e){return x(n)===x(e)||n!=null&&rt(n,e)}function Cr(n,e){return JL(n.a,e)?n.b[u(e,22).g]:null}function nge(){return YE(),S(T(oon,1),G,489,0,[b_])}function ege(){return eC(),S(T($1n,1),G,490,0,[Bq])}function tge(){return tC(),S(T(zce,1),G,558,0,[Rq])}function ige(){return f6(),S(T(tan,1),G,539,0,[Hj])}function jM(n){return!n.n&&(n.n=new q(Ar,n,1,7)),n.n}function mN(n){return!n.c&&(n.c=new q(Qu,n,9,9)),n.c}function UW(n){return!n.c&&(n.c=new Nn(he,n,5,8)),n.c}function rge(n){return!n.b&&(n.b=new Nn(he,n,4,7)),n.b}function U7(n){return n.j.c.length=0,zW(n.c),xae(n.a),n}function P4(n){return n.e==rv&&jfe(n,Y8e(n.g,n.b)),n.e}function G7(n){return n.f==rv&&Cfe(n,q7e(n.g,n.b)),n.f}function Ve(n,e,t,i){return Hxn(n,e,t,!1),BT(n,i),n}function kIn(n,e){this.b=n,oN.call(this,n,e),RTn(this)}function yIn(n,e){this.b=n,SV.call(this,n,e),KTn(this)}function W6(n){this.d=n,this.a=this.d.b,this.b=this.d.c}function GW(n,e){this.b=n,this.c=e,this.a=new dp(this.b)}function Xi(n,e){return zn(e,n.length),n.charCodeAt(e)}function cge(n,e){DY(n,$(yl(e,"x")),$(yl(e,"y")))}function uge(n,e){DY(n,$(yl(e,"x")),$(yl(e,"y")))}function ut(n,e){return ea(n),new Tn(n,new tQ(e,n.a))}function _r(n,e){return ea(n),new Tn(n,new _J(e,n.a))}function Ub(n,e){return ea(n),new uV(n,new ILn(e,n.a))}function EM(n,e){return ea(n),new oV(n,new OLn(e,n.a))}function oge(n,e){return new GIn(u(Se(n),50),u(Se(e),50))}function sge(n,e){return bt(n.d.c+n.d.b/2,e.d.c+e.d.b/2)}function jIn(n,e,t){t.a?tu(n,e.b-n.f/2):eu(n,e.a-n.g/2)}function fge(n,e){return bt(n.g.c+n.g.b/2,e.g.c+e.g.b/2)}function hge(n,e){return $z(),bt((Jn(n),n),(Jn(e),e))}function lge(n){return n!=null&&r7(jO,n.toLowerCase())}function zW(n){var e;for(e=n.Kc();e.Ob();)e.Pb(),e.Qb()}function Tg(n){var e;return e=n.b,!e&&(n.b=e=new N8n(n)),e}function vN(n){var e;return e=Wme(n),e||null}function EIn(n,e){var t,i;return t=n/e,i=wi(t),t>i&&++i,i}function age(n,e,t){var i;i=u(n.d.Kb(t),159),i&&i.Nb(e)}function dge(n,e,t){wIe(n.a,t),zve(t),xCe(n.b,t),$Ie(e,t)}function CM(n,e,t,i){this.a=n,this.c=e,this.b=t,this.d=i}function XW(n,e,t,i){this.c=n,this.b=e,this.a=t,this.d=i}function CIn(n,e,t,i){this.c=n,this.b=e,this.d=t,this.a=i}function Ho(n,e,t,i){this.c=n,this.d=e,this.b=t,this.a=i}function MIn(n,e,t,i){this.a=n,this.d=e,this.c=t,this.b=i}function kN(n,e,t,i){this.a=n,this.e=e,this.d=t,this.c=i}function TIn(n,e,t,i){this.a=n,this.c=e,this.d=t,this.b=i}function yN(n,e,t){this.a=ktn,this.d=n,this.b=e,this.c=t}function Op(n,e,t,i){je.call(this,n,e),this.a=t,this.b=i}function AIn(n,e){this.d=(Jn(n),n),this.a=16449,this.c=e}function SIn(n){this.a=new Z,this.e=K(ye,J,53,n,0,2)}function bge(n){n.Ug("No crossing minimization",1),n.Vg()}function PIn(){ec.call(this,"There is no more element.")}function IIn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function OIn(n,e,t,i){this.a=n,this.b=e,this.c=t,this.d=i}function Za(n,e,t,i){this.e=n,this.a=e,this.c=t,this.d=i}function DIn(n,e,t,i){this.a=n,this.c=e,this.d=t,this.b=i}function LIn(n,e,t,i){Ko(),DLn.call(this,e,t,i),this.a=n}function NIn(n,e,t,i){Ko(),DLn.call(this,e,t,i),this.a=n}function jN(n,e,t){var i,r;return i=utn(n),r=e.ti(t,i),r}function al(n){var e,t;return t=(e=new Jd,e),K4(t,n),t}function EN(n){var e,t;return t=(e=new Jd,e),fnn(t,n),t}function wge(n,e){var t;return t=ee(n.f,e),HQ(e,t),null}function $In(n){return!n.b&&(n.b=new q(Vt,n,12,3)),n.b}function xIn(n){return F6(n==null||uN(n)&&n.Tm!==J2),n}function MM(n){return n.n&&(n.e!==Fzn&&n.je(),n.j=null),n}function I4(n){if(eo(n.d),n.d.d!=n.c)throw M(new Bo)}function VW(n){return oe(n.b0&&bKn(this)}function FIn(n,e){this.a=n,bae.call(this,n,u(n.d,15).fd(e))}function gge(n,e){return bt(Su(n)*ao(n),Su(e)*ao(e))}function pge(n,e){return bt(Su(n)*ao(n),Su(e)*ao(e))}function mge(n){return _0(n)&&on(un(z(n,(cn(),Nd))))}function vge(n,e){return Pn(n,u(v(e,(cn(),Cv)),17),e)}function kge(n,e){return u(v(n,(W(),T3)),15).Fc(e),e}function WW(n,e){return n.b=e.b,n.c=e.c,n.d=e.d,n.a=e.a,n}function BIn(n,e,t,i){this.b=n,this.c=i,IC.call(this,e,t)}function yge(n,e,t){n.i=0,n.e=0,e!=t&&yFn(n,e,t)}function jge(n,e,t){n.i=0,n.e=0,e!=t&&jFn(n,e,t)}function Ege(n,e,t){return s6(),J5e(u(ee(n.e,e),529),t)}function Dp(n){var e;return e=n.f,e||(n.f=new h4(n,n.c))}function RIn(n,e){return xg(n.j,e.s,e.c)+xg(e.e,n.s,n.c)}function KIn(n,e){n.e&&!n.e.a&&(Ayn(n.e,e),KIn(n.e,e))}function _In(n,e){n.d&&!n.d.a&&(Ayn(n.d,e),_In(n.d,e))}function Cge(n,e){return-bt(Su(n)*ao(n),Su(e)*ao(e))}function Mge(n){return u(n.ld(),149).Pg()+":"+Jr(n.md())}function HIn(){tF(this,new oG),this.wb=(G1(),Hn),o4()}function qIn(n){this.b=new Z,hi(this.b,this.b),this.a=n}function JW(n,e){new Ct,this.a=new Mu,this.b=n,this.c=e}function j0(){j0=F,Pun=new FU,ZK=new FU,Iun=new D0n}function Dn(){Dn=F,sr=new A0n,Wh=new P0n,hP=new I0n}function QW(){QW=F,RQn=new nbn,_Qn=new aW,KQn=new ebn}function Lp(){Lp=F,mP=new Z,m_=new de,p_=new Z}function TM(n,e){if(n==null)throw M(new sp(e));return n}function AM(n){return!n.a&&(n.a=new q(Qe,n,10,11)),n.a}function ft(n){return!n.q&&(n.q=new q(As,n,11,10)),n.q}function _(n){return!n.s&&(n.s=new q(ku,n,21,17)),n.s}function Tge(n){return Se(n),IRn(new te(re(n.a.Kc(),new En)))}function Age(n,e){return wo(n),wo(e),Fjn(u(n,22),u(e,22))}function nd(n,e,t){var i,r;i=IV(t),r=new AE(i),df(n,e,r)}function MN(n,e,t,i,r,c){ok.call(this,n,e,t,i,r,c?-2:-1)}function UIn(n,e,t,i){pX.call(this,e,t),this.b=n,this.a=i}function GIn(n,e){Vfe.call(this,new iN(n)),this.a=n,this.b=e}function YW(n){this.b=n,this.c=n,n.e=null,n.c=null,this.a=1}function Sge(n){xs();var e;e=u(n.g,10),e.n.a=n.d.c+e.d.b}function O4(){O4=F;var n,e;e=!$8e(),n=new V3,VK=e?new og:n}function TN(n){return Dn(),O(n,59)?new jD(n):new BC(n)}function SM(n){return O(n,16)?new B6(u(n,16)):obe(n.Kc())}function Pge(n){return new HTn(n,n.e.Rd().gc()*n.c.Rd().gc())}function Ige(n){return new qTn(n,n.e.Rd().gc()*n.c.Rd().gc())}function ZW(n){return n&&n.hashCode?n.hashCode():l0(n)}function AN(n,e){return e==null?!!wr(n.f,null):zbe(n.i,e)}function Oge(n,e){var t;return t=$X(n.a,e),t&&(e.d=null),t}function zIn(n,e,t){return n.f?n.f.ef(e,t):!1}function z7(n,e,t,i){$t(n.c[e.g],t.g,i),$t(n.c[t.g],e.g,i)}function SN(n,e,t,i){$t(n.c[e.g],e.g,t),$t(n.b[e.g],e.g,i)}function Dge(n,e,t){return $(R(t.a))<=n&&$(R(t.b))>=e}function XIn(n,e){this.g=n,this.d=S(T(Qh,1),b1,10,0,[e])}function VIn(n){this.c=n,this.b=new Ul(u(Se(new tbn),50))}function WIn(n){this.c=n,this.b=new Ul(u(Se(new ewn),50))}function JIn(n){this.b=n,this.a=new Ul(u(Se(new Nbn),50))}function QIn(){this.b=new ni,this.d=new Ct,this.e=new ZG}function nJ(){this.c=new Li,this.d=new Li,this.e=new Li}function E0(){this.a=new Mu,this.b=(Co(3,mw),new Gc(3))}function Wl(n,e){this.e=n,this.a=ki,this.b=Qqn(e),this.c=e}function PM(n){this.c=n.c,this.d=n.d,this.b=n.b,this.a=n.a}function YIn(n,e,t,i,r,c){this.a=n,k$.call(this,e,t,i,r,c)}function ZIn(n,e,t,i,r,c){this.a=n,k$.call(this,e,t,i,r,c)}function X1(n,e,t,i,r,c,s){return new GN(n.e,e,t,i,r,c,s)}function Lge(n,e,t){return t>=0&&An(n.substr(t,e.length),e)}function nOn(n,e){return O(e,149)&&An(n.b,u(e,149).Pg())}function Nge(n,e){return n.a?e.Gh().Kc():u(e.Gh(),71).Ii()}function eOn(n,e){var t;return t=n.b.Qc(e),WDn(t,n.b.gc()),t}function X7(n,e){if(n==null)throw M(new sp(e));return n}function Hr(n){return n.u||(Zu(n),n.u=new NAn(n,n)),n.u}function PN(n){this.a=(Dn(),O(n,59)?new jD(n):new BC(n))}function au(n){var e;return e=u(Un(n,16),29),e||n.ii()}function IM(n,e){var t;return t=za(n.Rm),e==null?t:t+": "+e}function qo(n,e,t){return Fi(e,t,n.length),n.substr(e,t-e)}function tOn(n,e){qC.call(this),lQ(this),this.a=n,this.c=e}function $ge(n){n&&IM(n,n.ie())}function xge(n){HE(),y.setTimeout(function(){throw n},0)}function Fge(){return YT(),S(T(Bun,1),G,436,0,[o_,Fun])}function Bge(){return cT(),S(T(Kun,1),G,435,0,[Run,s_])}function Rge(){return uT(),S(T(bon,1),G,432,0,[v_,vP])}function Kge(){return V4(),S(T(KZn,1),G,517,0,[dj,L_])}function _ge(){return KM(),S(T(Qsn,1),G,429,0,[fH,Jsn])}function Hge(){return pk(),S(T($sn,1),G,428,0,[WP,Nsn])}function qge(){return QM(),S(T(Asn,1),G,431,0,[Tsn,V_])}function Uge(){return wk(),S(T(qhn,1),G,430,0,[UH,GH])}function Gge(){return n5(),S(T(Oie,1),G,531,0,[r9,i9])}function zge(){return yT(),S(T(Rln,1),G,501,0,[RI,D2])}function Xge(){return sh(),S(T(Bie,1),G,523,0,[mb,y1])}function Vge(){return Sf(),S(T(Kie,1),G,522,0,[Rd,zf])}function Wge(){return lf(),S(T(ere,1),G,528,0,[zw,ja])}function Jge(){return hk(),S(T(Bsn,1),G,488,0,[Fsn,QP])}function Qge(){return GM(),S(T(S1n,1),G,491,0,[$q,A1n])}function Yge(){return N$(),S(T(N1n,1),G,492,0,[D1n,L1n])}function Zge(){return FM(),S(T(Bln,1),G,433,0,[dq,Fln])}function n2e(){return ZM(),S(T(_ln,1),G,434,0,[Kln,vq])}function e2e(){return M0(),S(T(sre,1),G,465,0,[Ea,P2])}function t2e(){return ck(),S(T(x1n,1),G,438,0,[Kq,JI])}function i2e(){return Ak(),S(T(ran,1),G,437,0,[YI,ian])}function r2e(){return RL(),S(T(dO,1),G,347,0,[vdn,kdn])}function OM(n,e,t,i){return t>=0?n.Uh(e,t,i):n.Ch(null,t,i)}function V7(n){return n.b.b==0?n.a.sf():UL(n.b)}function c2e(n){if(n.p!=5)throw M(new Cu);return Ae(n.f)}function u2e(n){if(n.p!=5)throw M(new Cu);return Ae(n.k)}function eJ(n){return x(n.a)===x((D$(),CU))&&rOe(n),n.a}function o2e(n,e){n.b=e,n.c>0&&n.b>0&&(n.g=cM(n.c,n.b,n.a))}function s2e(n,e){n.c=e,n.c>0&&n.b>0&&(n.g=cM(n.c,n.b,n.a))}function iOn(n,e){ufe(this,new V(n.a,n.b)),ofe(this,F7(e))}function C0(){Wfe.call(this,new ap(Qb(12))),KX(!0),this.a=2}function IN(n,e,t){nt(),Wd.call(this,n),this.b=e,this.a=t}function tJ(n,e,t){Ko(),LE.call(this,e),this.a=n,this.b=t}function rOn(n){var e;e=n.c.d.b,n.b=e,n.a=n.c.d,e.a=n.c.d.b=n}function f2e(n){return n.b==0?null:(oe(n.b!=0),Xo(n,n.a.a))}function Nc(n,e){return e==null?Kr(wr(n.f,null)):d6(n.i,e)}function cOn(n,e,t,i,r){return new rF(n,(B4(),i_),e,t,i,r)}function DM(n,e){return zDn(e),Lme(n,K(ye,Ke,28,e,15,1),e)}function LM(n,e){return TM(n,"set1"),TM(e,"set2"),new VEn(n,e)}function h2e(n,e){var t=XK[n.charCodeAt(0)];return t??n}function uOn(n,e){var t,i;return t=e,i=new DO,LGn(n,t,i),i.d}function ON(n,e,t,i){var r;r=new FAn,e.a[t.g]=r,Pp(n.b,i,r)}function l2e(n,e){var t;return t=Ime(n.f,e),tt(HC(t),n.f.d)}function W7(n){var e;_me(n.a),dTn(n.a),e=new IE(n.a),HY(e)}function a2e(n,e){_qn(n,!0),nu(n.e.Rf(),new NV(n,!0,e))}function d2e(n,e){return Lp(),n==At(Kh(e))||n==At(ia(e))}function b2e(n,e){return kl(),u(v(e,(lc(),Sh)),17).a==n}function wi(n){return Math.max(Math.min(n,et),-2147483648)|0}function oOn(n){this.a=u(Se(n),277),this.b=(Dn(),new XX(n))}function sOn(n,e,t){this.i=new Z,this.b=n,this.g=e,this.a=t}function iJ(n,e,t){this.a=new Z,this.e=n,this.f=e,this.c=t}function NM(n,e,t){this.c=new Z,this.e=n,this.f=e,this.b=t}function fOn(n){qC.call(this),lQ(this),this.a=n,this.c=!0}function w2e(n){function e(){}return e.prototype=n||{},new e}function g2e(n){if(n.Ae())return null;var e=n.n;return rP[e]}function J7(n){return n.Db>>16!=3?null:u(n.Cb,27)}function Af(n){return n.Db>>16!=9?null:u(n.Cb,27)}function hOn(n){return n.Db>>16!=6?null:u(n.Cb,74)}function M0(){M0=F,Ea=new cX(s3,0),P2=new cX(f3,1)}function sh(){sh=F,mb=new tX(f3,0),y1=new tX(s3,1)}function Sf(){Sf=F,Rd=new iX(_B,0),zf=new iX("UP",1)}function lOn(){lOn=F,oQn=Ce((RE(),S(T(uQn,1),G,549,0,[GK])))}function aOn(n){var e;return e=new zE(Qb(n.length)),eY(e,n),e}function dOn(n,e){return n.b+=e.b,n.c+=e.c,n.d+=e.d,n.a+=e.a,n}function p2e(n,e){return Zxn(n,e)?(W$n(n),!0):!1}function dl(n,e){if(e==null)throw M(new ip);return F8e(n,e)}function Q7(n,e){var t;t=n.q.getHours(),n.q.setDate(e),G5(n,t)}function rJ(n,e,t){var i;i=n.Ih(e),i>=0?n.bi(i,t):ten(n,e,t)}function bOn(n,e){var t;return t=n.Ih(e),t>=0?n.Wh(t):hF(n,e)}function wOn(n,e){var t;for(Se(e),t=n.a;t;t=t.c)e.Yd(t.g,t.i)}function DN(n,e,t){var i;i=vFn(n,e,t),n.b=new ET(i.c.length)}function Ag(n,e,t){$M(),n&&Xe(yU,n,e),n&&Xe(hE,n,t)}function m2e(n,e){return VC(),_n(),u(e.a,17).a0}function cJ(n){var e;return e=n.d,e=n.bj(n.f),ve(n,e),e.Ob()}function gOn(n,e){var t;return t=new fW(e),_Kn(t,n),new _u(t)}function y2e(n){if(n.p!=0)throw M(new Cu);return M6(n.f,0)}function j2e(n){if(n.p!=0)throw M(new Cu);return M6(n.k,0)}function pOn(n){return n.Db>>16!=7?null:u(n.Cb,241)}function D4(n){return n.Db>>16!=6?null:u(n.Cb,241)}function mOn(n){return n.Db>>16!=7?null:u(n.Cb,167)}function At(n){return n.Db>>16!=11?null:u(n.Cb,27)}function Gb(n){return n.Db>>16!=17?null:u(n.Cb,29)}function vOn(n){return n.Db>>16!=3?null:u(n.Cb,155)}function uJ(n){var e;return ea(n),e=new ni,ut(n,new M9n(e))}function kOn(n,e){var t=n.a=n.a||[];return t[e]||(t[e]=n.ve(e))}function E2e(n,e){var t;t=n.q.getHours(),n.q.setMonth(e),G5(n,t)}function yOn(n,e){xC(this),this.f=e,this.g=n,MM(this),this.je()}function jOn(n,e){this.a=n,this.c=Ki(this.a),this.b=new PM(e)}function EOn(n,e,t){this.a=e,this.c=n,this.b=(Se(t),new _u(t))}function COn(n,e,t){this.a=e,this.c=n,this.b=(Se(t),new _u(t))}function MOn(n){this.a=n,this.b=K(Sie,J,2043,n.e.length,0,2)}function TOn(){this.a=new ih,this.e=new ni,this.g=0,this.i=0}function $M(){$M=F,yU=new de,hE=new de,ple(MQn,new wvn)}function AOn(){AOn=F,aie=Pu(new ii,(Vi(),zr),(tr(),bj))}function oJ(){oJ=F,die=Pu(new ii,(Vi(),zr),(tr(),bj))}function SOn(){SOn=F,wie=Pu(new ii,(Vi(),zr),(tr(),bj))}function POn(){POn=F,Lie=Re(new ii,(Vi(),zr),(tr(),x8))}function ko(){ko=F,xie=Re(new ii,(Vi(),zr),(tr(),x8))}function IOn(){IOn=F,Fie=Re(new ii,(Vi(),zr),(tr(),x8))}function NN(){NN=F,Hie=Re(new ii,(Vi(),zr),(tr(),x8))}function J6(n,e,t,i,r,c){return new ml(n.e,e,n.Lj(),t,i,r,c)}function Dr(n,e,t){return e==null?Vc(n.f,null,t):$0(n.i,e,t)}function Zi(n,e){n.c&&du(n.c.g,n),n.c=e,n.c&&nn(n.c.g,n)}function $i(n,e){n.c&&du(n.c.a,n),n.c=e,n.c&&nn(n.c.a,n)}function ic(n,e){n.i&&du(n.i.j,n),n.i=e,n.i&&nn(n.i.j,n)}function Ii(n,e){n.d&&du(n.d.e,n),n.d=e,n.d&&nn(n.d.e,n)}function $N(n,e){n.a&&du(n.a.k,n),n.a=e,n.a&&nn(n.a.k,n)}function xN(n,e){n.b&&du(n.b.f,n),n.b=e,n.b&&nn(n.b.f,n)}function OOn(n,e){$we(n,n.b,n.c),u(n.b.b,68),e&&u(e.b,68).b}function C2e(n,e){return bt(u(n.c,65).c.e.b,u(e.c,65).c.e.b)}function M2e(n,e){return bt(u(n.c,65).c.e.a,u(e.c,65).c.e.a)}function T2e(n){return Y$(),_n(),u(n.a,86).d.e!=0}function xM(n,e){O(n.Cb,184)&&(u(n.Cb,184).tb=null),zc(n,e)}function FN(n,e){O(n.Cb,90)&&hw(Zu(u(n.Cb,90)),4),zc(n,e)}function A2e(n,e){LY(n,e),O(n.Cb,90)&&hw(Zu(u(n.Cb,90)),2)}function S2e(n,e){var t,i;t=e.c,i=t!=null,i&&Ip(n,new qb(e.c))}function DOn(n){var e,t;return t=(o4(),e=new Jd,e),K4(t,n),t}function LOn(n){var e,t;return t=(o4(),e=new Jd,e),K4(t,n),t}function NOn(n){for(var e;;)if(e=n.Pb(),!n.Ob())return e}function P2e(n,e,t){return nn(n.a,(yM(),Nx(e,t),new i0(e,t))),n}function $c(n,e){return dr(),a$(e)?new eM(e,n):new j7(e,n)}function Y7(n){return dh(),Ec(n,0)>=0?ta(n):G6(ta(n1(n)))}function I2e(n){var e;return e=u(ZC(n.b),9),new _o(n.a,e,n.c)}function $On(n,e){var t;return t=u(tw(Dp(n.a),e),16),t?t.gc():0}function xOn(n,e,t){var i;oBn(e,t,n.c.length),i=t-e,Pz(n.c,e,i)}function Jl(n,e,t){oBn(e,t,n.gc()),this.c=n,this.a=e,this.b=t-e}function Np(n){this.c=new Ct,this.b=n.b,this.d=n.c,this.a=n.a}function BN(n){this.a=y.Math.cos(n),this.b=y.Math.sin(n)}function ed(n,e,t,i){this.c=n,this.d=i,$N(this,e),xN(this,t)}function sJ(n,e){Xfe.call(this,new ap(Qb(n))),Co(e,Ozn),this.a=e}function FOn(n,e,t){return new rF(n,(B4(),t_),null,!1,e,t)}function BOn(n,e,t){return new rF(n,(B4(),r_),e,t,null,!1)}function O2e(){return Gu(),S(T(xr,1),G,108,0,[xun,Yr,Aw])}function D2e(){return bu(),S(T(JQn,1),G,472,0,[vf,pa,zs])}function L2e(){return Uu(),S(T(VQn,1),G,471,0,[Mh,ga,Gs])}function N2e(){return bf(),S(T(Sw,1),G,237,0,[bc,Wc,wc])}function $2e(){return i5(),S(T(Pon,1),G,391,0,[E_,j_,C_])}function x2e(){return D0(),S(T(R_,1),G,372,0,[ub,ma,cb])}function F2e(){return u5(),S(T(Psn,1),G,322,0,[B8,pj,Ssn])}function B2e(){return bT(),S(T(Osn,1),G,351,0,[Isn,VP,W_])}function R2e(){return hd(),S(T(pne,1),G,460,0,[Y_,mv,p2])}function K2e(){return Z4(),S(T(sH,1),G,299,0,[uH,oH,mj])}function _2e(){return vl(),S(T(Mne,1),G,311,0,[vj,v2,E3])}function H2e(){return g5(),S(T(Lhn,1),G,390,0,[FH,Dhn,MI])}function q2e(){return gr(),S(T(cie,1),G,463,0,[n9,Vu,Jc])}function U2e(){return ST(),S(T(zhn,1),G,387,0,[Uhn,zH,Ghn])}function G2e(){return d5(),S(T(Xhn,1),G,349,0,[VH,XH,Ij])}function z2e(){return om(),S(T(Whn,1),G,350,0,[WH,Vhn,e9])}function X2e(){return dT(),S(T(Yhn,1),G,352,0,[Qhn,JH,Jhn])}function V2e(){return DT(),S(T(Zhn,1),G,388,0,[QH,Ov,Gw])}function W2e(){return O0(),S(T(Tie,1),G,464,0,[Oj,t9,PI])}function Pf(n){return cc(S(T(Ei,1),J,8,0,[n.i.n,n.n,n.a]))}function J2e(){return b5(),S(T(gln,1),G,392,0,[wln,nq,Lj])}function ROn(){ROn=F,Fre=Pu(new ii,(Qp(),u9),(q5(),uln))}function FM(){FM=F,dq=new uX("DFS",0),Fln=new uX("BFS",1)}function KOn(n,e,t){var i;i=new E3n,i.b=e,i.a=t,++e.b,nn(n.d,i)}function Q2e(n,e,t){var i;i=new rr(t.d),tt(i,n),DY(e,i.a,i.b)}function Y2e(n,e){LTn(n,Ae(vi(w0(e,24),YA)),Ae(vi(e,YA)))}function zb(n,e){if(n<0||n>e)throw M(new Ir(Ptn+n+Itn+e))}function Ln(n,e){if(n<0||n>=e)throw M(new Ir(Ptn+n+Itn+e))}function zn(n,e){if(n<0||n>=e)throw M(new gz(Ptn+n+Itn+e))}function In(n,e){this.b=(Jn(n),n),this.a=e&vw?e:e|64|wh}function fJ(n){var e;return ea(n),e=(j0(),j0(),ZK),fT(n,e)}function Z2e(n,e,t){var i;return i=V5(n,e,!1),i.b<=e&&i.a<=t}function npe(){return nT(),S(T(O1n,1),G,439,0,[xq,I1n,P1n])}function epe(){return _T(),S(T(a1n,1),G,394,0,[l1n,Oq,h1n])}function tpe(){return XT(),S(T(f1n,1),G,445,0,[Bj,qI,Mq])}function ipe(){return rA(),S(T(bce,1),G,456,0,[Tq,Sq,Aq])}function rpe(){return Ok(),S(T(Uln,1),G,393,0,[KI,Hln,qln])}function cpe(){return AT(),S(T(s1n,1),G,300,0,[Cq,o1n,u1n])}function upe(){return jl(),S(T(ldn,1),G,346,0,[uO,M1,M9])}function ope(){return Fk(),S(T(Fq,1),G,444,0,[XI,VI,WI])}function spe(){return Nf(),S(T(Zan,1),G,278,0,[Bv,Jw,Rv])}function fpe(){return Gp(),S(T(mdn,1),G,280,0,[pdn,Yw,aO])}function T0(n){return Se(n),O(n,16)?new _u(u(n,16)):y4(n.Kc())}function hJ(n,e){return n&&n.equals?n.equals(e):x(n)===x(e)}function vi(n,e){return Q1(ewe(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function hf(n,e){return Q1(twe(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function RN(n,e){return Q1(iwe(Vr(n)?ds(n):n,Vr(e)?ds(e):e))}function hpe(n,e){var t;return t=(Jn(n),n).g,rV(!!t),Jn(e),t(e)}function _On(n,e){var t,i;return i=C4(n,e),t=n.a.fd(i),new zEn(n,t)}function lpe(n){return n.Db>>16!=6?null:u(dF(n),241)}function ape(n){if(n.p!=2)throw M(new Cu);return Ae(n.f)&ui}function dpe(n){if(n.p!=2)throw M(new Cu);return Ae(n.k)&ui}function E(n){return oe(n.ai?1:0}function GOn(n,e){var t,i;return t=s$(e),i=t,u(ee(n.c,i),17).a}function KN(n,e,t){var i;i=n.d[e.p],n.d[e.p]=n.d[t.p],n.d[t.p]=i}function Cpe(n,e,t){var i;n.n&&e&&t&&(i=new uvn,nn(n.e,i))}function _N(n,e){if(fi(n.a,e),e.d)throw M(new ec(nXn));e.d=n}function dJ(n,e){this.a=new Z,this.d=new Z,this.f=n,this.c=e}function zOn(){this.c=new PTn,this.a=new $Ln,this.b=new Xyn,lCn()}function XOn(){qp(),this.b=new de,this.a=new de,this.c=new Z}function VOn(n,e,t){this.d=n,this.j=e,this.e=t,this.o=-1,this.p=3}function WOn(n,e,t){this.d=n,this.k=e,this.f=t,this.o=-1,this.p=5}function JOn(n,e,t,i,r,c){dQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function QOn(n,e,t,i,r,c){bQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function YOn(n,e,t,i,r,c){OJ.call(this,n,e,t,i,r),c&&(this.o=-2)}function ZOn(n,e,t,i,r,c){pQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function nDn(n,e,t,i,r,c){DJ.call(this,n,e,t,i,r),c&&(this.o=-2)}function eDn(n,e,t,i,r,c){wQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function tDn(n,e,t,i,r,c){gQ.call(this,n,e,t,i,r),c&&(this.o=-2)}function iDn(n,e,t,i,r,c){LJ.call(this,n,e,t,i,r),c&&(this.o=-2)}function rDn(n,e,t,i){LE.call(this,t),this.b=n,this.c=e,this.d=i}function cDn(n,e){this.f=n,this.a=($4(),MO),this.c=MO,this.b=e}function uDn(n,e){this.g=n,this.d=($4(),TO),this.a=TO,this.b=e}function bJ(n,e){!n.c&&(n.c=new Rt(n,0)),HA(n.c,(at(),F9),e)}function Mpe(n,e){return oMe(n,e,O(e,102)&&(u(e,19).Bb&hr)!=0)}function Tpe(n,e){return KPn(vc(n.q.getTime()),vc(e.q.getTime()))}function oDn(n){return XL(n.e.Rd().gc()*n.c.Rd().gc(),16,new O8n(n))}function Ape(n){return!!n.u&&Sc(n.u.a).i!=0&&!(n.n&&Ix(n.n))}function Spe(n){return!!n.a&&no(n.a.a).i!=0&&!(n.b&&Ox(n.b))}function wJ(n,e){return e==0?!!n.o&&n.o.f!=0:Cx(n,e)}function Ppe(n,e,t){var i;return i=u(n.Zb().xc(e),16),!!i&&i.Hc(t)}function sDn(n,e,t){var i;return i=u(n.Zb().xc(e),16),!!i&&i.Mc(t)}function fDn(n,e){var t;return t=1-e,n.a[t]=jT(n.a[t],t),jT(n,e)}function hDn(n,e){var t,i;return i=vi(n,mr),t=Fs(e,32),hf(t,i)}function lDn(n,e,t){var i;i=(Se(n),new _u(n)),O7e(new EOn(i,e,t))}function Z7(n,e,t){var i;i=(Se(n),new _u(n)),D7e(new COn(i,e,t))}function fc(n,e,t,i,r,c){return Hxn(n,e,t,c),CY(n,i),MY(n,r),n}function aDn(n,e,t,i){return n.a+=""+qo(e==null?gu:Jr(e),t,i),n}function xi(n,e){this.a=n,Xv.call(this,n),zb(e,n.gc()),this.b=e}function dDn(n){this.a=K(ki,Fn,1,QQ(y.Math.max(8,n))<<1,5,1)}function nk(n){return u(xf(n,K(Qh,b1,10,n.c.length,0,1)),199)}function fh(n){return u(xf(n,K(O_,rR,18,n.c.length,0,1)),483)}function bDn(n){return n.a?n.e.length==0?n.a.a:n.a.a+(""+n.e):n.c}function Q6(n){for(;n.d>0&&n.a[--n.d]==0;);n.a[n.d++]==0&&(n.e=0)}function wDn(n){return oe(n.b.b!=n.d.a),n.c=n.b=n.b.b,--n.a,n.c.c}function Ipe(n,e,t){n.a=e,n.c=t,n.b.a.$b(),vo(n.d),Pb(n.e.a.c,0)}function gDn(n,e){var t;n.e=new uz,t=aw(e),Yt(t,n.c),Iqn(n,t,0)}function ri(n,e,t,i){var r;r=new nG,r.a=e,r.b=t,r.c=i,xe(n.a,r)}function Q(n,e,t,i){var r;r=new nG,r.a=e,r.b=t,r.c=i,xe(n.b,r)}function pDn(n,e,t){if(n<0||et)throw M(new Ir(qje(n,e,t)))}function ek(n,e){if(n<0||n>=e)throw M(new Ir(kEe(n,e)));return n}function Ope(n){if(!("stack"in n))try{throw n}catch{}return n}function Sg(n){return s6(),O(n.g,10)?u(n.g,10):null}function Dpe(n){return Tg(n).dc()?!1:(e1e(n,new Pr),!0)}function id(n){var e;return Vr(n)?(e=n,e==-0?0:e):X4e(n)}function mDn(n,e){return O(e,44)?xx(n.a,u(e,44)):!1}function vDn(n,e){return O(e,44)?xx(n.a,u(e,44)):!1}function kDn(n,e){return O(e,44)?xx(n.a,u(e,44)):!1}function gJ(n){var e;return z1(n),e=new L0n,hg(n.a,new j9n(e)),e}function pJ(){var n,e,t;return e=(t=(n=new Jd,n),t),nn(n0n,e),e}function BM(n){var e;return z1(n),e=new N0n,hg(n.a,new E9n(e)),e}function Lpe(n,e){return n.a<=n.b?(e.Dd(n.a++),!0):!1}function yDn(n){P$.call(this,n,(B4(),e_),null,!1,null,!1)}function jDn(){jDn=F,SYn=Ce((YE(),S(T(oon,1),G,489,0,[b_])))}function EDn(){EDn=F,eln=wIn(Y(1),Y(4)),nln=wIn(Y(1),Y(2))}function Npe(n,e){return new _L(e,N6(Ki(e.e),n,n),(_n(),!0))}function RM(n){return new Gc((Co(n,cB),oT(nr(nr(5,n),n/10|0))))}function $pe(n){return XL(n.e.Rd().gc()*n.c.Rd().gc(),273,new I8n(n))}function CDn(n){return u(xf(n,K(FZn,DXn,12,n.c.length,0,1)),2042)}function xpe(n){return ko(),!fr(n)&&!(!fr(n)&&n.c.i.c==n.d.i.c)}function Fpe(n,e){return _p(),u(v(e,(lc(),I2)),17).a>=n.gc()}function Y6(n,e){vLe(e,n),JV(n.d),JV(u(v(n,(cn(),mI)),214))}function HN(n,e){kLe(e,n),QV(n.d),QV(u(v(n,(cn(),mI)),214))}function Bpe(n,e,t){n.d&&du(n.d.e,n),n.d=e,n.d&&b0(n.d.e,t,n)}function Rpe(n,e,t){return t.f.c.length>0?MW(n.a,e,t):MW(n.b,e,t)}function Kpe(n,e,t){var i;i=i9e();try{return Aae(n,e,t)}finally{D3e(i)}}function A0(n,e){var t,i;return t=dl(n,e),i=null,t&&(i=t.pe()),i}function Z6(n,e){var t,i;return t=dl(n,e),i=null,t&&(i=t.se()),i}function L4(n,e){var t,i;return t=Jb(n,e),i=null,t&&(i=t.se()),i}function bl(n,e){var t,i;return t=dl(n,e),i=null,t&&(i=gnn(t)),i}function _pe(n,e,t){var i;return i=wm(t),FA(n.g,i,e),FA(n.i,e,t),e}function mJ(n,e,t){this.d=new $7n(this),this.e=n,this.i=e,this.f=t}function MDn(n,e,t,i){this.e=null,this.c=n,this.d=e,this.a=t,this.b=i}function TDn(n,e,t,i){ETn(this),this.c=n,this.e=e,this.f=t,this.b=i}function vJ(n,e,t,i){this.d=n,this.n=e,this.g=t,this.o=i,this.p=-1}function ADn(n,e,t,i){return O(t,59)?new iAn(n,e,t,i):new vW(n,e,t,i)}function N4(n){return O(n,16)?u(n,16).dc():!n.Kc().Ob()}function SDn(n){if(n.e.g!=n.b)throw M(new Bo);return!!n.c&&n.d>0}function be(n){return oe(n.b!=n.d.c),n.c=n.b,n.b=n.b.a,++n.a,n.c.c}function kJ(n,e){Jn(e),$t(n.a,n.c,e),n.c=n.c+1&n.a.length-1,JRn(n)}function V1(n,e){Jn(e),n.b=n.b-1&n.a.length-1,$t(n.a,n.b,e),JRn(n)}function PDn(n){var e;e=n.Gh(),this.a=O(e,71)?u(e,71).Ii():e.Kc()}function Hpe(n){return new In(Ame(u(n.a.md(),16).gc(),n.a.ld()),16)}function IDn(){IDn=F,Gce=Ce((eC(),S(T($1n,1),G,490,0,[Bq])))}function ODn(){ODn=F,Xce=Ce((tC(),S(T(zce,1),G,558,0,[Rq])))}function DDn(){DDn=F,lue=Ce((f6(),S(T(tan,1),G,539,0,[Hj])))}function qpe(){return dd(),S(T(Lon,1),G,389,0,[Ow,Don,P_,I_])}function Upe(){return B4(),S(T(lP,1),G,304,0,[e_,t_,i_,r_])}function Gpe(){return Vp(),S(T(EYn,1),G,332,0,[uj,cj,oj,sj])}function zpe(){return A5(),S(T(TYn,1),G,406,0,[fj,wP,gP,hj])}function Xpe(){return N0(),S(T(yYn,1),G,417,0,[rj,ij,a_,d_])}function Vpe(){return nm(),S(T(MZn,1),G,416,0,[rb,Iw,Pw,a2])}function Wpe(){return $f(),S(T(ene,1),G,421,0,[j3,lv,av,B_])}function Jpe(){return OT(),S(T(UZn,1),G,371,0,[F_,HP,qP,wj])}function Qpe(){return cw(),S(T(RH,1),G,203,0,[TI,BH,S2,A2])}function Ype(){return lh(),S(T(Hhn,1),G,284,0,[k1,_hn,HH,qH])}function Zpe(n){var e;return n.j==(tn(),ae)&&(e=mHn(n),Au(e,Zn))}function n3e(n,e){var t;t=e.a,Zi(t,e.c.d),Ii(t,e.d.d),nw(t.a,n.n)}function yJ(n,e){var t;return t=u(Lf(n.b,e),67),!t&&(t=new Ct),t}function xp(n){return s6(),O(n.g,154)?u(n.g,154):null}function e3e(n){n.a=null,n.e=null,Pb(n.b.c,0),Pb(n.f.c,0),n.c=null}function KM(){KM=F,fH=new Zz(qm,0),Jsn=new Zz("TOP_LEFT",1)}function n5(){n5=F,r9=new eX("UPPER",0),i9=new eX("LOWER",1)}function t3e(n,e){return vp(new V(e.e.a+e.f.a/2,e.e.b+e.f.b/2),n)}function LDn(n,e){return u(ho(_b(u(ot(n.k,e),15).Oc(),b2)),113)}function NDn(n,e){return u(ho(Ap(u(ot(n.k,e),15).Oc(),b2)),113)}function i3e(){return Qp(),S(T(rln,1),G,405,0,[LI,c9,u9,o9])}function r3e(){return w5(),S(T(xln,1),G,353,0,[aq,BI,lq,hq])}function c3e(){return sA(),S(T(c1n,1),G,354,0,[Eq,i1n,r1n,t1n])}function u3e(){return go(),S(T(I9,1),G,386,0,[rE,Gd,iE,Qw])}function o3e(){return To(),S(T(Yue,1),G,291,0,[nE,nl,Ta,Zj])}function s3e(){return El(),S(T(aU,1),G,223,0,[lU,Yj,Kv,F3])}function f3e(){return qT(),S(T(Cdn,1),G,320,0,[wU,ydn,Edn,jdn])}function h3e(){return LT(),S(T(woe,1),G,415,0,[gU,Tdn,Mdn,Adn])}function l3e(n){return $M(),Zc(yU,n)?u(ee(yU,n),341).Qg():null}function Uo(n,e,t){return e<0?hF(n,t):u(t,69).wk().Bk(n,n.hi(),e)}function a3e(n,e,t){var i;return i=wm(t),FA(n.j,i,e),Xe(n.k,e,t),e}function d3e(n,e,t){var i;return i=wm(t),FA(n.d,i,e),Xe(n.e,e,t),e}function $Dn(n){var e,t;return e=(B1(),t=new HO,t),n&&AA(e,n),e}function jJ(n){var e;return e=n.aj(n.i),n.i>0&&Ic(n.g,0,e,0,n.i),e}function xDn(n,e){var t;for(t=n.j.c.length;t>24}function w3e(n){if(n.p!=1)throw M(new Cu);return Ae(n.k)<<24>>24}function g3e(n){if(n.p!=7)throw M(new Cu);return Ae(n.k)<<16>>16}function p3e(n){if(n.p!=7)throw M(new Cu);return Ae(n.f)<<16>>16}function Pg(n,e){return e.e==0||n.e==0?O8:(Am(),vF(n,e))}function RDn(n,e){return x(e)===x(n)?"(this Map)":e==null?gu:Jr(e)}function m3e(n,e,t){return tN(R(Kr(wr(n.f,e))),R(Kr(wr(n.f,t))))}function v3e(n,e,t){var i;i=u(ee(n.g,t),60),nn(n.a.c,new bi(e,i))}function KDn(n,e,t){n.i=0,n.e=0,e!=t&&(jFn(n,e,t),yFn(n,e,t))}function k3e(n,e,t,i,r){var c;c=yMe(r,t,i),nn(e,dEe(r,c)),rje(n,r,e)}function EJ(n,e,t,i,r){this.i=n,this.a=e,this.e=t,this.j=i,this.f=r}function _Dn(n,e){nJ.call(this),this.a=n,this.b=e,nn(this.a.b,this)}function HDn(n){this.b=new de,this.c=new de,this.d=new de,this.a=n}function qDn(n,e){var t;return t=new lp,n.Gd(t),t.a+="..",e.Hd(t),t.a}function UDn(n,e){var t;for(t=e;t;)a0(n,t.i,t.j),t=At(t);return n}function GDn(n,e,t){var i;return i=wm(t),Xe(n.b,i,e),Xe(n.c,e,t),e}function wl(n){var e;for(e=0;n.Ob();)n.Pb(),e=nr(e,1);return oT(e)}function Fh(n,e){dr();var t;return t=u(n,69).vk(),kje(t,e),t.xl(e)}function y3e(n,e,t){if(t){var i=t.oe();n.a[e]=i(t)}else delete n.a[e]}function CJ(n,e){var t;t=n.q.getHours(),n.q.setFullYear(e+fa),G5(n,t)}function j3e(n,e){return u(e==null?Kr(wr(n.f,null)):d6(n.i,e),288)}function MJ(n,e){return n==(Vn(),zt)&&e==zt?4:n==zt||e==zt?8:32}function _M(n,e,t){return RA(n,e,t,O(e,102)&&(u(e,19).Bb&hr)!=0)}function E3e(n,e,t){return Om(n,e,t,O(e,102)&&(u(e,19).Bb&hr)!=0)}function C3e(n,e,t){return bMe(n,e,t,O(e,102)&&(u(e,19).Bb&hr)!=0)}function TJ(n){n.b!=n.c&&(n.a=K(ki,Fn,1,8,5,1),n.b=0,n.c=0)}function e5(n){return oe(n.a=0&&n.a[t]===e[t];t--);return t<0}function HM(n){var e;return n?new fW(n):(e=new ih,A$(e,n),e)}function O3e(n,e){var t,i;i=!1;do t=lFn(n,e),i=i|t;while(t);return i}function D3e(n){n&&rme((az(),sun)),--cP,n&&uP!=-1&&(Ele(uP),uP=-1)}function qM(n){nnn(),LTn(this,Ae(vi(w0(n,24),YA)),Ae(vi(n,YA)))}function JDn(){JDn=F,HQn=Ce((YT(),S(T(Bun,1),G,436,0,[o_,Fun])))}function QDn(){QDn=F,qQn=Ce((cT(),S(T(Kun,1),G,435,0,[Run,s_])))}function YDn(){YDn=F,GYn=Ce((uT(),S(T(bon,1),G,432,0,[v_,vP])))}function ZDn(){ZDn=F,_Zn=Ce((V4(),S(T(KZn,1),G,517,0,[dj,L_])))}function nLn(){nLn=F,Ane=Ce((KM(),S(T(Qsn,1),G,429,0,[fH,Jsn])))}function eLn(){eLn=F,gne=Ce((pk(),S(T($sn,1),G,428,0,[WP,Nsn])))}function tLn(){tLn=F,kne=Ce((hk(),S(T(Bsn,1),G,488,0,[Fsn,QP])))}function iLn(){iLn=F,rie=Ce((wk(),S(T(qhn,1),G,430,0,[UH,GH])))}function rLn(){rLn=F,Die=Ce((n5(),S(T(Oie,1),G,531,0,[r9,i9])))}function cLn(){cLn=F,ane=Ce((QM(),S(T(Asn,1),G,431,0,[Tsn,V_])))}function uLn(){uLn=F,xre=Ce((FM(),S(T(Bln,1),G,433,0,[dq,Fln])))}function oLn(){oLn=F,_re=Ce((yT(),S(T(Rln,1),G,501,0,[RI,D2])))}function sLn(){sLn=F,Rie=Ce((sh(),S(T(Bie,1),G,523,0,[mb,y1])))}function fLn(){fLn=F,_ie=Ce((Sf(),S(T(Kie,1),G,522,0,[Rd,zf])))}function hLn(){hLn=F,tre=Ce((lf(),S(T(ere,1),G,528,0,[zw,ja])))}function lLn(){lLn=F,fre=Ce((M0(),S(T(sre,1),G,465,0,[Ea,P2])))}function aLn(){aLn=F,Ure=Ce((ZM(),S(T(_ln,1),G,434,0,[Kln,vq])))}function dLn(){dLn=F,Rce=Ce((GM(),S(T(S1n,1),G,491,0,[$q,A1n])))}function bLn(){bLn=F,_ce=Ce((N$(),S(T(N1n,1),G,492,0,[D1n,L1n])))}function wLn(){wLn=F,Vce=Ce((ck(),S(T(x1n,1),G,438,0,[Kq,JI])))}function gLn(){gLn=F,aue=Ce((Ak(),S(T(ran,1),G,437,0,[YI,ian])))}function pLn(){pLn=F,aoe=Ce((RL(),S(T(dO,1),G,347,0,[vdn,kdn])))}function L3e(){return ci(),S(T(E9,1),G,88,0,[Wf,Xr,Br,Vf,us])}function N3e(){return tn(),S(T(lr,1),Mc,64,0,[sc,Xn,Zn,ae,Wn])}function $3e(n,e,t){return u(e==null?Vc(n.f,null,t):$0(n.i,e,t),288)}function x3e(n){return(n.k==(Vn(),zt)||n.k==Zt)&&kt(n,(W(),H8))}function XN(n){return n.c&&n.d?aJ(n.c)+"->"+aJ(n.d):"e_"+l0(n)}function qi(n,e){var t,i;for(Jn(e),i=n.Kc();i.Ob();)t=i.Pb(),e.Cd(t)}function F3e(n,e){var t;t=new op,nd(t,"x",e.a),nd(t,"y",e.b),Ip(n,t)}function B3e(n,e){var t;t=new op,nd(t,"x",e.a),nd(t,"y",e.b),Ip(n,t)}function mLn(n,e){var t;for(t=e;t;)a0(n,-t.i,-t.j),t=At(t);return n}function SJ(n,e){var t,i;for(t=e,i=0;t>0;)i+=n.a[t],t-=t&-t;return i}function Go(n,e,t){var i;return i=(Ln(e,n.c.length),n.c[e]),n.c[e]=t,i}function PJ(n,e,t){n.a.c.length=0,fOe(n,e,t),n.a.c.length==0||xSe(n,e)}function tk(n){n.i=0,s7(n.b,null),s7(n.c,null),n.a=null,n.e=null,++n.g}function UM(){UM=F,qf=!0,DQn=!1,LQn=!1,$Qn=!1,NQn=!1}function VN(n){UM(),!qf&&(this.c=n,this.e=!0,this.a=new Z)}function vLn(n,e){this.c=0,this.b=e,HMn.call(this,n,17493),this.a=this.c}function kLn(n){jzn(),Syn(this),this.a=new Ct,sY(this,n),xe(this.a,n)}function yLn(){pL(this),this.b=new V(St,St),this.a=new V(li,li)}function GM(){GM=F,$q=new fX(cin,0),A1n=new fX("TARGET_WIDTH",1)}function Ig(n,e){return(ea(n),s4(new Tn(n,new tQ(e,n.a)))).Bd(v3)}function R3e(){return Vi(),S(T(Ion,1),G,367,0,[Xs,Jh,Oc,Kc,zr])}function K3e(){return ow(),S(T(ine,1),G,375,0,[gj,zP,XP,GP,UP])}function _3e(){return o1(),S(T(Lsn,1),G,348,0,[J_,Dsn,Q_,pv,gv])}function H3e(){return T5(),S(T($hn,1),G,323,0,[Nhn,KH,_H,Y8,Z8])}function q3e(){return Yo(),S(T(hfn,1),G,171,0,[Ej,U8,ka,G8,xw])}function U3e(){return wA(),S(T(Hre,1),G,368,0,[pq,bq,mq,wq,gq])}function G3e(){return R5(),S(T(Hce,1),G,373,0,[L2,D3,g9,w9,_j])}function z3e(){return Yk(),S(T(K1n,1),G,324,0,[F1n,_q,R1n,Hq,B1n])}function X3e(){return gf(),S(T(Zh,1),G,170,0,[xn,pi,Ph,Kd,E1])}function V3e(){return Fg(),S(T(A9,1),G,256,0,[Aa,eE,adn,T9,ddn])}function W3e(n){return HE(),function(){return Kpe(n,this,arguments)}}function fr(n){return!n.c||!n.d?!1:!!n.c.i&&n.c.i==n.d.i}function IJ(n,e){return O(e,143)?An(n.c,u(e,143).c):!1}function Zu(n){return n.t||(n.t=new myn(n),k5(new Njn(n),0,n.t)),n.t}function jLn(n){this.b=n,ne.call(this,n),this.a=u(Un(this.b.a,4),129)}function ELn(n){this.b=n,yp.call(this,n),this.a=u(Un(this.b.a,4),129)}function Bs(n,e,t,i,r){LLn.call(this,e,i,r),this.c=n,this.b=t}function OJ(n,e,t,i,r){VOn.call(this,e,i,r),this.c=n,this.a=t}function DJ(n,e,t,i,r){WOn.call(this,e,i,r),this.c=n,this.a=t}function LJ(n,e,t,i,r){LLn.call(this,e,i,r),this.c=n,this.a=t}function WN(n,e){var t;return t=u(Lf(n.d,e),23),t||u(Lf(n.e,e),23)}function CLn(n,e){var t,i;return t=e.ld(),i=n.Fe(t),!!i&&mc(i.e,e.md())}function MLn(n,e){var t;return t=e.ld(),new i0(t,n.e.pc(t,u(e.md(),16)))}function J3e(n,e){var t;return t=n.a.get(e),t??K(ki,Fn,1,0,5,1)}function TLn(n){var e;return e=n.length,An(Yn.substr(Yn.length-e,e),n)}function fe(n){if(pe(n))return n.c=n.a,n.a.Pb();throw M(new nc)}function NJ(n,e){return e==0||n.e==0?n:e>0?wqn(n,e):RBn(n,-e)}function Fp(n,e){return e==0||n.e==0?n:e>0?RBn(n,e):wqn(n,-e)}function $J(n){ole.call(this,n==null?gu:Jr(n),O(n,82)?u(n,82):null)}function ALn(n){var e;return n.c||(e=n.r,O(e,90)&&(n.c=u(e,29))),n.c}function JN(n){var e;return e=new E0,Ur(e,n),U(e,(cn(),Fr),null),e}function SLn(n){var e,t;return e=n.c.i,t=n.d.i,e.k==(Vn(),Zt)&&t.k==Zt}function QN(n){var e,t,i;return e=n&ro,t=n>>22&ro,i=n<0?Il:0,Yc(e,t,i)}function Q3e(n){var e,t,i,r;for(t=n,i=0,r=t.length;i=0?n.Lh(i,t,!0):H0(n,e,t)}function Z3e(n,e,t){return bt(vp(pm(n),Ki(e.b)),vp(pm(n),Ki(t.b)))}function n4e(n,e,t){return bt(vp(pm(n),Ki(e.e)),vp(pm(n),Ki(t.e)))}function e4e(n,e){return y.Math.min(W1(e.a,n.d.d.c),W1(e.b,n.d.d.c))}function ik(n,e){n._i(n.i+1),O6(n,n.i,n.Zi(n.i,e)),n.Mi(n.i++,e),n.Ni()}function t5(n){var e,t;++n.j,e=n.g,t=n.i,n.g=null,n.i=0,n.Oi(t,e),n.Ni()}function PLn(n,e,t){var i;i=new NX(n.a),f5(i,n.a.a),Vc(i.f,e,t),n.a.a=i}function xJ(n,e,t,i){var r;for(r=0;re)throw M(new Ir(Mnn(n,e,"index")));return n}function Yl(n,e){var t;return t=(Ln(e,n.c.length),n.c[e]),Pz(n.c,e,1),t}function RJ(n,e){var t,i;return t=(Jn(n),n),i=(Jn(e),e),t==i?0:te.p?-1:0}function FLn(n){var e;return n.a||(e=n.r,O(e,156)&&(n.a=u(e,156))),n.a}function o4e(n,e,t){var i;return++n.e,--n.f,i=u(n.d[e].gd(t),136),i.md()}function s4e(n){var e,t;return e=n.ld(),t=u(n.md(),16),x7(t.Nc(),new L8n(e))}function BLn(n,e){return Zc(n.a,e)?(Bp(n.a,e),!0):!1}function Rp(n,e,t){return ek(e,n.e.Rd().gc()),ek(t,n.c.Rd().gc()),n.a[e][t]}function XM(n,e,t){this.a=n,this.b=e,this.c=t,nn(n.t,this),nn(e.i,this)}function VM(n,e,t,i){this.f=n,this.e=e,this.d=t,this.b=i,this.c=i?i.d:null}function rk(){this.b=new Ct,this.a=new Ct,this.b=new Ct,this.a=new Ct}function $4(){$4=F;var n,e;MO=(o4(),e=new xE,e),TO=(n=new fD,n)}function f4e(n){var e;return ea(n),e=new ISn(n,n.a.e,n.a.d|4),new uV(n,e)}function RLn(n){var e;for(z1(n),e=0;n.a.Bd(new W0n);)e=nr(e,1);return e}function WM(n,e){return Jn(e),n.c=0,"Initial capacity must not be negative")}function JM(){JM=F,p9=new lt("org.eclipse.elk.labels.labelManager")}function KLn(){KLn=F,ysn=new Dt("separateLayerConnections",(OT(),F_))}function lf(){lf=F,zw=new rX("REGULAR",0),ja=new rX("CRITICAL",1)}function ck(){ck=F,Kq=new lX("FIXED",0),JI=new lX("CENTER_NODE",1)}function QM(){QM=F,Tsn=new Jz("QUADRATIC",0),V_=new Jz("SCANLINE",1)}function _Ln(){_Ln=F,dne=Ce((u5(),S(T(Psn,1),G,322,0,[B8,pj,Ssn])))}function HLn(){HLn=F,bne=Ce((bT(),S(T(Osn,1),G,351,0,[Isn,VP,W_])))}function qLn(){qLn=F,fne=Ce((D0(),S(T(R_,1),G,372,0,[ub,ma,cb])))}function ULn(){ULn=F,mne=Ce((hd(),S(T(pne,1),G,460,0,[Y_,mv,p2])))}function GLn(){GLn=F,Cne=Ce((Z4(),S(T(sH,1),G,299,0,[uH,oH,mj])))}function zLn(){zLn=F,Tne=Ce((vl(),S(T(Mne,1),G,311,0,[vj,v2,E3])))}function XLn(){XLn=F,Zte=Ce((g5(),S(T(Lhn,1),G,390,0,[FH,Dhn,MI])))}function VLn(){VLn=F,oie=Ce((ST(),S(T(zhn,1),G,387,0,[Uhn,zH,Ghn])))}function WLn(){WLn=F,sie=Ce((d5(),S(T(Xhn,1),G,349,0,[VH,XH,Ij])))}function JLn(){JLn=F,uie=Ce((gr(),S(T(cie,1),G,463,0,[n9,Vu,Jc])))}function QLn(){QLn=F,fie=Ce((om(),S(T(Whn,1),G,350,0,[WH,Vhn,e9])))}function YLn(){YLn=F,hie=Ce((dT(),S(T(Yhn,1),G,352,0,[Qhn,JH,Jhn])))}function ZLn(){ZLn=F,lie=Ce((DT(),S(T(Zhn,1),G,388,0,[QH,Ov,Gw])))}function nNn(){nNn=F,are=Ce((b5(),S(T(gln,1),G,392,0,[wln,nq,Lj])))}function eNn(){eNn=F,Gre=Ce((Ok(),S(T(Uln,1),G,393,0,[KI,Hln,qln])))}function tNn(){tNn=F,ace=Ce((AT(),S(T(s1n,1),G,300,0,[Cq,o1n,u1n])))}function iNn(){iNn=F,dce=Ce((XT(),S(T(f1n,1),G,445,0,[Bj,qI,Mq])))}function rNn(){rNn=F,wce=Ce((rA(),S(T(bce,1),G,456,0,[Tq,Sq,Aq])))}function cNn(){cNn=F,mce=Ce((_T(),S(T(a1n,1),G,394,0,[l1n,Oq,h1n])))}function uNn(){uNn=F,Kce=Ce((nT(),S(T(O1n,1),G,439,0,[xq,I1n,P1n])))}function oNn(){oNn=F,Aie=Ce((O0(),S(T(Tie,1),G,464,0,[Oj,t9,PI])))}function sNn(){sNn=F,WQn=Ce((Uu(),S(T(VQn,1),G,471,0,[Mh,ga,Gs])))}function fNn(){fNn=F,XQn=Ce((bf(),S(T(Sw,1),G,237,0,[bc,Wc,wc])))}function hNn(){hNn=F,QQn=Ce((bu(),S(T(JQn,1),G,472,0,[vf,pa,zs])))}function lNn(){lNn=F,xQn=Ce((Gu(),S(T(xr,1),G,108,0,[xun,Yr,Aw])))}function aNn(){aNn=F,pZn=Ce((i5(),S(T(Pon,1),G,391,0,[E_,j_,C_])))}function dNn(){dNn=F,Que=Ce((jl(),S(T(ldn,1),G,346,0,[uO,M1,M9])))}function bNn(){bNn=F,Uce=Ce((Fk(),S(T(Fq,1),G,444,0,[XI,VI,WI])))}function wNn(){wNn=F,Xue=Ce((Nf(),S(T(Zan,1),G,278,0,[Bv,Jw,Rv])))}function gNn(){gNn=F,loe=Ce((Gp(),S(T(mdn,1),G,280,0,[pdn,Yw,aO])))}function Df(n,e){return!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),wx(n.o,e)}function h4e(n,e){var t;n.C&&(t=u(Cr(n.b,e),127).n,t.d=n.C.d,t.a=n.C.a)}function UJ(n){var e,t,i,r;r=n.d,e=n.a,t=n.b,i=n.c,n.d=t,n.a=i,n.b=r,n.c=e}function l4e(n){return!n.g&&(n.g=new CE),!n.g.b&&(n.g.b=new byn(n)),n.g.b}function uk(n){return!n.g&&(n.g=new CE),!n.g.c&&(n.g.c=new pyn(n)),n.g.c}function a4e(n){return!n.g&&(n.g=new CE),!n.g.d&&(n.g.d=new wyn(n)),n.g.d}function d4e(n){return!n.g&&(n.g=new CE),!n.g.a&&(n.g.a=new gyn(n)),n.g.a}function b4e(n,e,t,i){return t&&(i=t.Rh(e,Ot(t.Dh(),n.c.uk()),null,i)),i}function w4e(n,e,t,i){return t&&(i=t.Th(e,Ot(t.Dh(),n.c.uk()),null,i)),i}function e$(n,e,t,i){var r;return r=K(ye,Ke,28,e+1,15,1),vPe(r,n,e,t,i),r}function K(n,e,t,i,r,c){var s;return s=_Rn(r,i),r!=10&&S(T(n,c),e,t,r,s),s}function g4e(n,e,t){var i,r;for(r=new Y4(e,n),i=0;it||e=0?n.Lh(t,!0,!0):H0(n,e,!0)}function L4e(n,e,t){var i;return i=vFn(n,e,t),n.b=new ET(i.c.length),den(n,i)}function N4e(n){if(n.b<=0)throw M(new nc);return--n.b,n.a-=n.c.c,Y(n.a)}function $4e(n){var e;if(!n.a)throw M(new PIn);return e=n.a,n.a=At(n.a),e}function x4e(n){for(;!n.a;)if(!eSn(n.c,new C9n(n)))return!1;return!0}function Kp(n){var e;return Se(n),O(n,204)?(e=u(n,204),e):new _8n(n)}function F4e(n){YM(),u(n.of((qe(),Ww)),181).Fc((zu(),tE)),n.qf(sU,null)}function YM(){YM=F,wue=new Emn,pue=new Cmn,gue=M6e((qe(),sU),wue,Ma,pue)}function ZM(){ZM=F,Kln=new sX("LEAF_NUMBER",0),vq=new sX("NODE_SIZE",1)}function u$(n){n.a=K(ye,Ke,28,n.b+1,15,1),n.c=K(ye,Ke,28,n.b,15,1),n.d=0}function B4e(n,e){n.a.Ne(e.d,n.b)>0&&(nn(n.c,new GV(e.c,e.d,n.d)),n.b=e.d)}function nQ(n,e){if(n.g==null||e>=n.i)throw M(new aL(e,n.i));return n.g[e]}function kNn(n,e,t){if(rm(n,t),t!=null&&!n.fk(t))throw M(new uD);return t}function o$(n,e){return gk(e)!=10&&S(wo(e),e.Sm,e.__elementTypeId$,gk(e),n),n}function F4(n,e,t,i){var r;i=(j0(),i||Pun),r=n.slice(e,t),Tnn(r,n,e,t,-e,i)}function zo(n,e,t,i,r){return e<0?H0(n,t,i):u(t,69).wk().yk(n,n.hi(),e,i,r)}function R4e(n,e){return bt($(R(v(n,(W(),fb)))),$(R(v(e,fb))))}function yNn(){yNn=F,IQn=Ce((B4(),S(T(lP,1),G,304,0,[e_,t_,i_,r_])))}function B4(){B4=F,e_=new uC("All",0),t_=new lTn,i_=new kTn,r_=new hTn}function Uu(){Uu=F,Mh=new FD(s3,0),ga=new FD(qm,1),Gs=new FD(f3,2)}function jNn(){jNn=F,KA(),s0n=St,mse=li,f0n=new V9(St),vse=new V9(li)}function ENn(){ENn=F,jYn=Ce((N0(),S(T(yYn,1),G,417,0,[rj,ij,a_,d_])))}function CNn(){CNn=F,AYn=Ce((A5(),S(T(TYn,1),G,406,0,[fj,wP,gP,hj])))}function MNn(){MNn=F,CYn=Ce((Vp(),S(T(EYn,1),G,332,0,[uj,cj,oj,sj])))}function TNn(){TNn=F,DZn=Ce((dd(),S(T(Lon,1),G,389,0,[Ow,Don,P_,I_])))}function ANn(){ANn=F,TZn=Ce((nm(),S(T(MZn,1),G,416,0,[rb,Iw,Pw,a2])))}function SNn(){SNn=F,tne=Ce(($f(),S(T(ene,1),G,421,0,[j3,lv,av,B_])))}function PNn(){PNn=F,GZn=Ce((OT(),S(T(UZn,1),G,371,0,[F_,HP,qP,wj])))}function INn(){INn=F,nie=Ce((cw(),S(T(RH,1),G,203,0,[TI,BH,S2,A2])))}function ONn(){ONn=F,iie=Ce((lh(),S(T(Hhn,1),G,284,0,[k1,_hn,HH,qH])))}function hk(){hk=F,Fsn=new Yz(kh,0),QP=new Yz("IMPROVE_STRAIGHTNESS",1)}function DNn(n,e){var t,i;return i=e/n.c.Rd().gc()|0,t=e%n.c.Rd().gc(),Rp(n,i,t)}function LNn(n){var e;if(n.nl())for(e=n.i-1;e>=0;--e)L(n,e);return jJ(n)}function eQ(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[0];)t=e;return t}function NNn(n){var e,t;if(!n.b)return null;for(t=n.b;e=t.a[1];)t=e;return t}function K4e(n){return O(n,180)?""+u(n,180).a:n==null?null:Jr(n)}function _4e(n){return O(n,180)?""+u(n,180).a:n==null?null:Jr(n)}function $Nn(n,e){if(e.a)throw M(new ec(nXn));fi(n.a,e),e.a=n,!n.j&&(n.j=e)}function tQ(n,e){IC.call(this,e.zd(),e.yd()&-16449),Jn(n),this.a=n,this.c=e}function H4e(n,e){return new _L(e,a0(Ki(e.e),e.f.a+n,e.f.b+n),(_n(),!1))}function q4e(n,e){return k4(),nn(n,new bi(e,Y(e.e.c.length+e.g.c.length)))}function U4e(n,e){return k4(),nn(n,new bi(e,Y(e.e.c.length+e.g.c.length)))}function xNn(){xNn=F,lce=Ce((sA(),S(T(c1n,1),G,354,0,[Eq,i1n,r1n,t1n])))}function FNn(){FNn=F,$re=Ce((w5(),S(T(xln,1),G,353,0,[aq,BI,lq,hq])))}function BNn(){BNn=F,hre=Ce((Qp(),S(T(rln,1),G,405,0,[LI,c9,u9,o9])))}function RNn(){RNn=F,Vue=Ce((El(),S(T(aU,1),G,223,0,[lU,Yj,Kv,F3])))}function KNn(){KNn=F,Zue=Ce((To(),S(T(Yue,1),G,291,0,[nE,nl,Ta,Zj])))}function _Nn(){_Nn=F,foe=Ce((go(),S(T(I9,1),G,386,0,[rE,Gd,iE,Qw])))}function HNn(){HNn=F,doe=Ce((qT(),S(T(Cdn,1),G,320,0,[wU,ydn,Edn,jdn])))}function qNn(){qNn=F,goe=Ce((LT(),S(T(woe,1),G,415,0,[gU,Tdn,Mdn,Adn])))}function nT(){nT=F,xq=new oL(mVn,0),I1n=new oL(Crn,1),P1n=new oL(kh,2)}function Wb(n,e,t,i,r){return Jn(n),Jn(e),Jn(t),Jn(i),Jn(r),new AW(n,e,i)}function UNn(n,e){var t;return t=u(Bp(n.e,e),400),t?(tW(t),t.e):null}function du(n,e){var t;return t=qr(n,e,0),t==-1?!1:(Yl(n,t),!0)}function GNn(n,e,t){var i;return z1(n),i=new LO,i.a=e,n.a.Nb(new TCn(i,t)),i.a}function G4e(n){var e;return z1(n),e=K(Pi,Tr,28,0,15,1),hg(n.a,new y9n(e)),e}function iQ(n){var e;if(!E$(n))throw M(new nc);return n.e=1,e=n.d,n.d=null,e}function n1(n){var e;return Vr(n)&&(e=0-n,!isNaN(e))?e:Q1(tm(n))}function qr(n,e,t){for(;t=0?tA(n,t,!0,!0):H0(n,e,!0)}function cQ(n){var e;return e=cd(Un(n,32)),e==null&&(iu(n),e=cd(Un(n,32))),e}function uQ(n){var e;return n.Oh()||(e=se(n.Dh())-n.ji(),n.$h().Mk(e)),n.zh()}function QNn(n,e){con=new kE,MYn=e,L8=n,u(L8.b,68),XJ(L8,con,null),aGn(L8)}function i5(){i5=F,E_=new RD("XY",0),j_=new RD("X",1),C_=new RD("Y",2)}function bu(){bu=F,vf=new BD("TOP",0),pa=new BD(qm,1),zs=new BD(Ftn,2)}function vl(){vl=F,vj=new GD(kh,0),v2=new GD("TOP",1),E3=new GD(Ftn,2)}function wk(){wk=F,UH=new nX("INPUT_ORDER",0),GH=new nX("PORT_DEGREE",1)}function R4(){R4=F,hun=Yc(ro,ro,524287),bQn=Yc(0,0,Ty),lun=QN(1),QN(2),aun=QN(0)}function a$(n){var e;return n.d!=n.r&&(e=ws(n),n.e=!!e&&e.lk()==bJn,n.d=e),n.e}function d$(n,e,t){var i;return i=n.g[e],O6(n,e,n.Zi(e,t)),n.Ri(e,t,i),n.Ni(),i}function rT(n,e){var t;return t=n.dd(e),t>=0?(n.gd(t),!0):!1}function b$(n,e){var t;for(Se(n),Se(e),t=!1;e.Ob();)t=t|n.Fc(e.Pb());return t}function Lf(n,e){var t;return t=u(ee(n.e,e),400),t?(DTn(n,t),t.e):null}function YNn(n){var e,t;return e=n/60|0,t=n%60,t==0?""+e:""+e+":"+(""+t)}function Jb(n,e){var t=n.a[e],i=(K$(),WK)[typeof t];return i?i(t):wY(typeof t)}function rc(n,e){var t,i;return ea(n),i=new _J(e,n.a),t=new rSn(i),new Tn(n,t)}function w$(n){var e;return e=n.b.c.length==0?null:sn(n.b,0),e!=null&&M$(n,0),e}function W4e(n,e){var t,i,r;r=e.c.i,t=u(ee(n.f,r),60),i=t.d.c-t.e.c,BQ(e.a,i,0)}function oQ(n,e){var t;for(++n.d,++n.c[e],t=e+1;t=0;)++e[0]}function J4e(n,e){eu(n,e==null||GC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function Q4e(n,e){tu(n,e==null||GC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function Y4e(n,e){I0(n,e==null||GC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function Z4e(n,e){P0(n,e==null||GC((Jn(e),e))||isNaN((Jn(e),e))?0:(Jn(e),e))}function nme(n,e,t){return vp(new V(t.e.a+t.f.a/2,t.e.b+t.f.b/2),n)==(Jn(e),e)}function eme(n,e){return O(e,102)&&u(e,19).Bb&hr?new dL(e,n):new Y4(e,n)}function tme(n,e){return O(e,102)&&u(e,19).Bb&hr?new dL(e,n):new Y4(e,n)}function gk(n){return n.__elementTypeCategory$==null?10:n.__elementTypeCategory$}function e$n(n,e){return e==(xL(),xL(),AQn)?n.toLocaleLowerCase():n.toLowerCase()}function t$n(n){if(!n.e)throw M(new nc);return n.c=n.a=n.e,n.e=n.e.e,--n.d,n.a.f}function sQ(n){if(!n.c)throw M(new nc);return n.e=n.a=n.c,n.c=n.c.c,++n.d,n.a.f}function i$n(n){var e;for(++n.a,e=n.c.a.length;n.an.a[i]&&(i=t);return i}function r$n(n){var e;return e=u(v(n,(W(),ob)),313),e?e.a==n:!1}function c$n(n){var e;return e=u(v(n,(W(),ob)),313),e?e.i==n:!1}function u$n(){u$n=F,yZn=Ce((Vi(),S(T(Ion,1),G,367,0,[Xs,Jh,Oc,Kc,zr])))}function o$n(){o$n=F,rne=Ce((ow(),S(T(ine,1),G,375,0,[gj,zP,XP,GP,UP])))}function s$n(){s$n=F,wne=Ce((o1(),S(T(Lsn,1),G,348,0,[J_,Dsn,Q_,pv,gv])))}function f$n(){f$n=F,eie=Ce((T5(),S(T($hn,1),G,323,0,[Nhn,KH,_H,Y8,Z8])))}function h$n(){h$n=F,Sne=Ce((Yo(),S(T(hfn,1),G,171,0,[Ej,U8,ka,G8,xw])))}function l$n(){l$n=F,qre=Ce((wA(),S(T(Hre,1),G,368,0,[pq,bq,mq,wq,gq])))}function a$n(){a$n=F,qce=Ce((R5(),S(T(Hce,1),G,373,0,[L2,D3,g9,w9,_j])))}function d$n(){d$n=F,Wce=Ce((Yk(),S(T(K1n,1),G,324,0,[F1n,_q,R1n,Hq,B1n])))}function b$n(){b$n=F,zue=Ce((ci(),S(T(E9,1),G,88,0,[Wf,Xr,Br,Vf,us])))}function w$n(){w$n=F,mue=Ce((gf(),S(T(Zh,1),G,170,0,[xn,pi,Ph,Kd,E1])))}function g$n(){g$n=F,eoe=Ce((Fg(),S(T(A9,1),G,256,0,[Aa,eE,adn,T9,ddn])))}function p$n(){p$n=F,roe=Ce((tn(),S(T(lr,1),Mc,64,0,[sc,Xn,Zn,ae,Wn])))}function cT(){cT=F,Run=new Uz("BY_SIZE",0),s_=new Uz("BY_SIZE_AND_SHAPE",1)}function uT(){uT=F,v_=new Xz("EADES",0),vP=new Xz("FRUCHTERMAN_REINGOLD",1)}function pk(){pk=F,WP=new Qz("READING_DIRECTION",0),Nsn=new Qz("ROTATION",1)}function r5(){r5=F,PZn=new rwn,IZn=new own,AZn=new swn,SZn=new uwn,OZn=new fwn}function m$n(n){this.b=new Z,this.a=new Z,this.c=new Z,this.d=new Z,this.e=n}function v$n(n){this.g=n,this.f=new Z,this.a=y.Math.min(this.g.c.c,this.g.d.c)}function k$n(n,e,t){qC.call(this),lQ(this),this.a=n,this.c=t,this.b=e.d,this.f=e.e}function sme(n,e,t){var i,r;for(r=new C(t);r.a=0&&e0?e-1:e,eEn($he(U$n(YV(new up,t),n.n),n.j),n.k)}function Nr(n){var e,t;t=(e=new hD,e),ve((!n.q&&(n.q=new q(As,n,11,10)),n.q),t)}function fQ(n){return(n.i&2?"interface ":n.i&1?"":"class ")+(ll(n),n.o)}function oT(n){return Ec(n,et)>0?et:Ec(n,Wi)<0?Wi:Ae(n)}function Qb(n){return n<3?(Co(n,$zn),n+1):n=-.01&&n.a<=Kf&&(n.a=0),n.b>=-.01&&n.b<=Kf&&(n.b=0),n}function Og(n){Xg();var e,t;for(t=Arn,e=0;et&&(t=n[e]);return t}function C$n(n,e){var t;if(t=oy(n.Dh(),e),!t)throw M(new Gn(da+e+sK));return t}function Yb(n,e){var t;for(t=n;At(t);)if(t=At(t),t==e)return!0;return!1}function vme(n,e){var t,i,r;for(i=e.a.ld(),t=u(e.a.md(),16).gc(),r=0;rn||n>e)throw M(new pz("fromIndex: 0, toIndex: "+n+Mtn+e))}function S0(n){if(n<0)throw M(new Gn("Illegal Capacity: "+n));this.g=this.aj(n)}function hQ(n,e){return Mf(),Rs(sa),y.Math.abs(n-e)<=sa||n==e||isNaN(n)&&isNaN(e)}function m$(n,e){var t,i,r,c;for(i=n.d,r=0,c=i.length;r0&&(n.a/=e,n.b/=e),n}function jo(n){var e;return n.w?n.w:(e=lpe(n),e&&!e.Vh()&&(n.w=e),e)}function K4(n,e){var t,i;i=n.a,t=w5e(n,e,null),i!=e&&!n.e&&(t=Nm(n,e,t)),t&&t.oj()}function P$n(n,e,t){var i,r;i=e;do r=$(n.p[i.p])+t,n.p[i.p]=r,i=n.a[i.p];while(i!=e)}function I$n(n,e,t){var i=function(){return n.apply(i,arguments)};return e.apply(i,t),i}function Tme(n){var e;return n==null?null:(e=u(n,195),Bye(e,e.length))}function L(n,e){if(n.g==null||e>=n.i)throw M(new aL(e,n.i));return n.Wi(e,n.g[e])}function Ame(n,e){Dn();var t,i;for(i=new Z,t=0;t=14&&e<=16))),n}function Ee(n,e){var t;return Jn(e),t=n[":"+e],B7(!!t,"Enum constant undefined: "+e),t}function we(n,e,t,i,r,c){var s;return s=bN(n,e),G$n(t,s),s.i=r?8:0,s.f=i,s.e=r,s.g=c,s}function dQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=n,this.a=t}function bQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=n,this.a=t}function wQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=n,this.a=t}function gQ(n,e,t,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=n,this.a=t}function pQ(n,e,t,i,r){this.d=e,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=n,this.a=t}function z$n(n,e){var t,i,r,c;for(i=e,r=0,c=i.length;r=0))throw M(new Gn("tolerance ("+n+") must be >= 0"));return n}function V$n(n,e){var t;return O(e,44)?n.c.Mc(e):(t=wx(n,e),VT(n,e),t)}function Mr(n,e,t){return ad(n,e),zc(n,t),e1(n,0),Zb(n,1),u1(n,!0),c1(n,!0),n}function vk(n,e){var t;if(t=n.gc(),e<0||e>t)throw M(new Kb(e,t));return new SV(n,e)}function wT(n,e){n.b=y.Math.max(n.b,e.d),n.e+=e.r+(n.a.c.length==0?0:n.c),nn(n.a,e)}function W$n(n){Fb(n.c>=0),_8e(n.d,n.c)<0&&(n.a=n.a-1&n.d.a.length-1,n.b=n.d.c),n.c=-1}function gT(n){var e,t;for(t=n.c.Cc().Kc();t.Ob();)e=u(t.Pb(),16),e.$b();n.c.$b(),n.d=0}function Fme(n){var e,t,i,r;for(t=n.a,i=0,r=t.length;i=0}function CQ(n,e){n.r>0&&n.c0&&n.g!=0&&CQ(n.i,e/n.r*n.i.d))}function MQ(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,1,t,n.c))}function y$(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,4,t,n.c))}function X4(n,e){var t;t=n.k,n.k=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,2,t,n.k))}function j$(n,e){var t;t=n.D,n.D=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,2,t,n.D))}function mT(n,e){var t;t=n.f,n.f=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,8,t,n.f))}function vT(n,e){var t;t=n.i,n.i=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,7,t,n.i))}function TQ(n,e){var t;t=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,8,t,n.a))}function AQ(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,0,t,n.b))}function SQ(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,0,t,n.b))}function PQ(n,e){var t;t=n.c,n.c=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,1,t,n.c))}function IQ(n,e){var t;t=n.d,n.d=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,1,t,n.d))}function Ume(n,e,t){var i;n.b=e,n.a=t,i=(n.a&512)==512?new gjn:new rG,n.c=rAe(i,n.b,n.a)}function oxn(n,e){return Sl(n.e,e)?(dr(),a$(e)?new eM(e,n):new j7(e,n)):new $Mn(e,n)}function Gme(n){var e,t;return 0>n?new Dz:(e=n+1,t=new vLn(e,n),new oV(null,t))}function zme(n,e){Dn();var t;return t=new ap(1),Ai(n)?Dr(t,n,e):Vc(t.f,n,e),new eD(t)}function Xme(n,e){var t,i;return t=n.c,i=e.e[n.p],i>0?u(sn(t.a,i-1),10):null}function Vme(n,e){var t,i;return t=n.o+n.p,i=e.o+e.p,te?(e<<=1,e>0?e:Y5):e}function E$(n){switch(_X(n.e!=3),n.e){case 2:return!1;case 0:return!0}return i4e(n)}function fxn(n,e){var t;return O(e,8)?(t=u(e,8),n.a==t.a&&n.b==t.b):!1}function Jme(n,e){var t;t=new kE,u(e.b,68),u(e.b,68),u(e.b,68),nu(e.a,new BV(n,t,e))}function hxn(n,e){var t,i;for(i=e.vc().Kc();i.Ob();)t=u(i.Pb(),44),Vk(n,t.ld(),t.md())}function OQ(n,e){var t;t=n.d,n.d=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,11,t,n.d))}function kT(n,e){var t;t=n.j,n.j=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,13,t,n.j))}function DQ(n,e){var t;t=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,1,21,t,n.b))}function Qme(n,e){(UM(),qf?null:e.c).length==0&&TAn(e,new BU),Dr(n.a,qf?null:e.c,e)}function Yme(n,e){e.Ug("Hierarchical port constraint processing",1),g9e(n),xLe(n),e.Vg()}function D0(){D0=F,ub=new KD("START",0),ma=new KD("MIDDLE",1),cb=new KD("END",2)}function yT(){yT=F,RI=new oX("P1_NODE_PLACEMENT",0),D2=new oX("P2_EDGE_ROUTING",1)}function J1(){J1=F,y3=new lt(Jtn),jP=new lt(MXn),$8=new lt(TXn),lj=new lt(AXn)}function L0(n){var e;return FL(n.f.g,n.d),oe(n.b),n.c=n.a,e=u(n.a.Pb(),44),n.b=GQ(n),e}function LQ(n){var e;return n.b==null?(Gl(),Gl(),dE):(e=n.ul()?n.tl():n.sl(),e)}function lxn(n,e){var t;return t=e==null?-1:qr(n.b,e,0),t<0?!1:(M$(n,t),!0)}function Ks(n,e){var t;return Jn(e),t=e.g,n.b[t]?!1:($t(n.b,t,e),++n.c,!0)}function jT(n,e){var t,i;return t=1-e,i=n.a[t],n.a[t]=i.a[e],i.a[e]=n,n.b=!0,i.b=!1,i}function Zme(n,e){var t,i;for(i=e.Kc();i.Ob();)t=u(i.Pb(),272),n.b=!0,fi(n.e,t),t.b=n}function nve(n,e){var t,i;return t=u(v(n,(cn(),Hw)),8),i=u(v(e,Hw),8),bt(t.b,i.b)}function C$(n,e,t){var i,r,c;return c=e>>5,r=e&31,i=vi(U1(n.n[t][c],Ae(Fs(r,1))),3),i}function axn(n,e,t){var i,r,c;for(c=n.a.length-1,r=n.b,i=0;i0?1:0:(!n.c&&(n.c=Y7(vc(n.f))),n.c).e}function yxn(n,e){e?n.B==null&&(n.B=n.D,n.D=null):n.B!=null&&(n.D=n.B,n.B=null)}function rve(n,e){return nm(),n==rb&&e==Iw||n==Iw&&e==rb||n==a2&&e==Pw||n==Pw&&e==a2}function cve(n,e){return nm(),n==rb&&e==Pw||n==rb&&e==a2||n==Iw&&e==a2||n==Iw&&e==Pw}function jxn(n,e){return Mf(),Rs(Kf),y.Math.abs(0-e)<=Kf||e==0||isNaN(0)&&isNaN(e)?0:n/e}function Exn(n,e){return $(R(ho($k(_r(new Tn(null,new In(n.c.b,16)),new I7n(n)),e))))}function FQ(n,e){return $(R(ho($k(_r(new Tn(null,new In(n.c.b,16)),new P7n(n)),e))))}function uve(){return pr(),S(T(cH,1),G,259,0,[ZP,cs,K8,nI,yv,m2,_8,vv,kv,eI])}function ove(){return gs(),S(T(Khn,1),G,243,0,[AI,Sj,Pj,Fhn,Bhn,xhn,Rhn,SI,pb,Uw])}function sve(n,e){var t;e.Ug("General Compactor",1),t=d8e(u(z(n,(ua(),yq)),393)),t.Cg(n)}function fve(n,e){var t,i;return t=u(z(n,(ua(),_I)),17),i=u(z(e,_I),17),jc(t.a,i.a)}function BQ(n,e,t){var i,r;for(r=ge(n,0);r.b!=r.d.c;)i=u(be(r),8),i.a+=e,i.b+=t;return n}function o5(n,e,t){var i;for(i=n.b[t&n.f];i;i=i.b)if(t==i.a&&oh(e,i.g))return i;return null}function s5(n,e,t){var i;for(i=n.c[t&n.f];i;i=i.d)if(t==i.f&&oh(e,i.i))return i;return null}function hve(n,e,t){var i,r,c;for(i=0,r=0;r>>31;i!=0&&(n[t]=i)}function P$(n,e,t,i,r,c){var s;this.c=n,s=new Z,pZ(n,s,e,n.b,t,i,r,c),this.a=new xi(s,0)}function Cxn(){this.c=new XE(0),this.b=new XE(Trn),this.d=new XE(lVn),this.a=new XE(QB)}function Vo(n,e,t,i,r,c,s){je.call(this,n,e),this.d=t,this.e=i,this.c=r,this.b=c,this.a=If(s)}function Ut(n,e,t,i,r,c,s,f,h,l,a,d,g){return P_n(n,e,t,i,r,c,s,f,h,l,a,d,g),sx(n,!1),n}function lve(n){return n.b.c.i.k==(Vn(),Zt)?u(v(n.b.c.i,(W(),st)),12):n.b.c}function Mxn(n){return n.b.d.i.k==(Vn(),Zt)?u(v(n.b.d.i,(W(),st)),12):n.b.d}function ave(n){var e;return e=BM(n),o0(e.a,0)?(QE(),QE(),SQn):(QE(),new uAn(e.b))}function I$(n){var e;return e=gJ(n),o0(e.a,0)?(Ob(),Ob(),n_):(Ob(),new AL(e.b))}function O$(n){var e;return e=gJ(n),o0(e.a,0)?(Ob(),Ob(),n_):(Ob(),new AL(e.c))}function Txn(n){switch(n.g){case 2:return tn(),Wn;case 4:return tn(),Zn;default:return n}}function Axn(n){switch(n.g){case 1:return tn(),ae;case 3:return tn(),Xn;default:return n}}function Sxn(n){switch(n.g){case 0:return new hmn;case 1:return new lmn;default:return null}}function Hp(){Hp=F,x_=new Dt("edgelabelcenterednessanalysis.includelabel",(_n(),wa))}function RQ(){RQ=F,Mie=ah(WMn(Re(Re(new ii,(Vi(),Oc),(tr(),NP)),Kc,PP),zr),LP)}function Pxn(){Pxn=F,Pie=ah(WMn(Re(Re(new ii,(Vi(),Oc),(tr(),NP)),Kc,PP),zr),LP)}function D$(){D$=F,x9=new ljn,CU=S(T(ku,1),s2,179,0,[]),Joe=S(T(As,1),Gcn,62,0,[])}function V4(){V4=F,dj=new Vz("TO_INTERNAL_LTR",0),L_=new Vz("TO_INPUT_DIRECTION",1)}function Ou(){Ou=F,Ron=new wwn,Fon=new gwn,Bon=new pwn,xon=new mwn,Kon=new vwn,_on=new kwn}function dve(n,e){e.Ug(HXn,1),HY(Qhe(new IE((o6(),new kN(n,!1,!1,new qU))))),e.Vg()}function bve(n,e,t){t.Ug("DFS Treeifying phase",1),O8e(n,e),PTe(n,e),n.a=null,n.b=null,t.Vg()}function kk(n,e){return _n(),Ai(n)?RJ(n,Oe(e)):$b(n)?tN(n,R(e)):Nb(n)?rwe(n,un(e)):n.Fd(e)}function f5(n,e){var t,i;for(Jn(e),i=e.vc().Kc();i.Ob();)t=u(i.Pb(),44),n.zc(t.ld(),t.md())}function wve(n,e,t){var i;for(i=t.Kc();i.Ob();)if(!_M(n,e,i.Pb()))return!1;return!0}function gve(n,e,t,i,r){var c;return t&&(c=Ot(e.Dh(),n.c),r=t.Rh(e,-1-(c==-1?i:c),null,r)),r}function pve(n,e,t,i,r){var c;return t&&(c=Ot(e.Dh(),n.c),r=t.Th(e,-1-(c==-1?i:c),null,r)),r}function Ixn(n){var e;if(n.b==-2){if(n.e==0)e=-1;else for(e=0;n.a[e]==0;e++);n.b=e}return n.b}function mve(n){if(Jn(n),n.length==0)throw M(new eh("Zero length BigInteger"));ESe(this,n)}function KQ(n){this.i=n.gc(),this.i>0&&(this.g=this.aj(this.i+(this.i/8|0)+1),n.Qc(this.g))}function Oxn(n,e,t){this.g=n,this.d=e,this.e=t,this.a=new Z,IEe(this),Dn(),Yt(this.a,null)}function _Q(n,e){e.q=n,n.d=y.Math.max(n.d,e.r),n.b+=e.d+(n.a.c.length==0?0:n.c),nn(n.a,e)}function W4(n,e){var t,i,r,c;return r=n.c,t=n.c+n.b,c=n.d,i=n.d+n.a,e.a>r&&e.ac&&e.br?t=r:zn(e,t+1),n.a=qo(n.a,0,e)+(""+i)+$W(n.a,t)}function Kxn(n,e){n.a=nr(n.a,1),n.c=y.Math.min(n.c,e),n.b=y.Math.max(n.b,e),n.d=nr(n.d,e)}function Mve(n,e){return e1||n.Ob())return++n.a,n.g=0,e=n.i,n.Ob(),e;throw M(new nc)}function Uxn(n){switch(n.a.g){case 1:return new WCn;case 3:return new WRn;default:return new s8n}}function qQ(n,e){switch(e){case 1:return!!n.n&&n.n.i!=0;case 2:return n.k!=null}return wJ(n,e)}function vc(n){return Ay>22),r=n.h+e.h+(i>>22),Yc(t&ro,i&ro,r&Il)}function Yxn(n,e){var t,i,r;return t=n.l-e.l,i=n.m-e.m+(t>>22),r=n.h-e.h+(i>>22),Yc(t&ro,i&ro,r&Il)}function zve(n){var e,t;for(RDe(n),t=new C(n.d);t.ai)throw M(new Kb(e,i));return n.Si()&&(t=gOn(n,t)),n.Ei(e,t)}function em(n,e,t,i,r){var c,s;for(s=t;s<=r;s++)for(c=e;c<=i;c++)Rg(n,c,s)||xA(n,c,s,!0,!1)}function u6e(n){Xg();var e,t,i;for(t=K(Ei,J,8,2,0,1),i=0,e=0;e<2;e++)i+=.5,t[e]=Z9e(i,n);return t}function tm(n){var e,t,i;return e=~n.l+1&ro,t=~n.m+(e==0?1:0)&ro,i=~n.h+(e==0&&t==0?1:0)&Il,Yc(e,t,i)}function QQ(n){var e;if(n<0)return Wi;if(n==0)return 0;for(e=Y5;!(e&n);e>>=1);return e}function R$(n,e,t){return n>=128?!1:n<64?M6(vi(Fs(1,n),t),0):M6(vi(Fs(1,n-64),e),0)}function Pk(n,e,t){return t==null?(!n.q&&(n.q=new de),Bp(n.q,e)):(!n.q&&(n.q=new de),Xe(n.q,e,t)),n}function U(n,e,t){return t==null?(!n.q&&(n.q=new de),Bp(n.q,e)):(!n.q&&(n.q=new de),Xe(n.q,e,t)),n}function fFn(n){var e,t;return t=new zM,Ur(t,n),U(t,(J1(),y3),n),e=new de,$Pe(n,t,e),fDe(n,t,e),t}function hFn(n){var e,t;return e=n.t-n.k[n.o.p]*n.d+n.j[n.o.p]>n.f,t=n.u+n.e[n.o.p]*n.d>n.f*n.s*n.d,e||t}function lFn(n,e){var t,i,r,c;for(t=!1,i=n.a[e].length,c=0;c=0,"Negative initial capacity"),B7(e>=0,"Non-positive load factor"),Hu(this)}function s6e(n,e,t,i,r){var c,s;if(s=n.length,c=t.length,e<0||i<0||r<0||e+r>s||i+r>c)throw M(new qG)}function eY(n,e){Dn();var t,i,r,c,s;for(s=!1,i=e,r=0,c=i.length;r1||e>=0&&n.b<3)}function H$(n){var e,t,i;e=~n.l+1&ro,t=~n.m+(e==0?1:0)&ro,i=~n.h+(e==0&&t==0?1:0)&Il,n.l=e,n.m=t,n.h=i}function rY(n){Dn();var e,t,i;for(i=1,t=n.Kc();t.Ob();)e=t.Pb(),i=31*i+(e!=null?mt(e):0),i=i|0;return i}function d6e(n,e,t,i,r){var c;return c=Xnn(n,e),t&&H$(c),r&&(n=u7e(n,e),i?ba=tm(n):ba=Yc(n.l,n.m,n.h)),c}function yFn(n,e,t){n.g=uF(n,e,(tn(),Zn),n.b),n.d=uF(n,t,Zn,n.b),!(n.g.c==0||n.d.c==0)&&YKn(n)}function jFn(n,e,t){n.g=uF(n,e,(tn(),Wn),n.j),n.d=uF(n,t,Wn,n.j),!(n.g.c==0||n.d.c==0)&&YKn(n)}function cY(n,e){switch(e){case 7:return!!n.e&&n.e.i!=0;case 8:return!!n.d&&n.d.i!=0}return qY(n,e)}function b6e(n,e){switch(e.g){case 0:O(n.b,641)||(n.b=new Rxn);break;case 1:O(n.b,642)||(n.b=new BSn)}}function EFn(n){switch(n.g){case 0:return new gmn;default:throw M(new Gn(xS+(n.f!=null?n.f:""+n.g)))}}function CFn(n){switch(n.g){case 0:return new wmn;default:throw M(new Gn(xS+(n.f!=null?n.f:""+n.g)))}}function w6e(n,e,t){return!s4(ut(new Tn(null,new In(n.c,16)),new Z3(new hMn(e,t)))).Bd((Xa(),v3))}function MFn(n,e){return vp(pm(u(v(e,(lc(),vb)),88)),new V(n.c.e.a-n.b.e.a,n.c.e.b-n.b.e.b))<=0}function g6e(n,e){for(;n.g==null&&!n.c?cJ(n):n.g==null||n.i!=0&&u(n.g[n.i-1],51).Ob();)kle(e,CA(n))}function ld(n){var e,t;for(t=new C(n.a.b);t.ai?1:0}function v6e(n){return nn(n.c,(qp(),bue)),hQ(n.a,$(R(rn((bx(),EI)))))?new tvn:new $kn(n)}function k6e(n){for(;!n.d||!n.d.Ob();)if(n.b&&!i6(n.b))n.d=u(Sp(n.b),51);else return null;return n.d}function oY(n){switch(n.g){case 1:return lVn;default:case 2:return 0;case 3:return QB;case 4:return Trn}}function y6e(){nt();var n;return IU||(n=_1e(oa("M",!0)),n=uM(oa("M",!1),n),IU=n,IU)}function LT(){LT=F,gU=new CC("ELK",0),Tdn=new CC("JSON",1),Mdn=new CC("DOT",2),Adn=new CC("SVG",3)}function d5(){d5=F,VH=new WD("STACKED",0),XH=new WD("REVERSE_STACKED",1),Ij=new WD("SEQUENCED",2)}function b5(){b5=F,wln=new eL(kh,0),nq=new eL("MIDDLE_TO_MIDDLE",1),Lj=new eL("AVOID_OVERLAP",2)}function cm(){cm=F,Esn=new Ygn,Csn=new Zgn,JZn=new Jgn,WZn=new n2n,VZn=new Qgn,jsn=(Jn(VZn),new O0n)}function NT(){NT=F,hdn=new f0(15),Jue=new Ni((qe(),C1),hdn),C9=N3,udn=Pue,odn=Hd,fdn=K2,sdn=Vw}function Lg(n,e){var t,i,r,c,s;for(i=e,r=0,c=i.length;r=n.b.c.length||(fY(n,2*e+1),t=2*e+2,t0&&(e.Cd(t),t.i&&E5e(t))}function hY(n,e,t){var i;for(i=t-1;i>=0&&n[i]===e[i];i--);return i<0?0:ND(vi(n[i],mr),vi(e[i],mr))?-1:1}function SFn(n,e,t){var i,r;this.g=n,this.c=e,this.a=this,this.d=this,r=sxn(t),i=K(sQn,Cy,227,r,0,1),this.b=i}function X$(n,e,t,i,r){var c,s;for(s=t;s<=r;s++)for(c=e;c<=i;c++)if(Rg(n,c,s))return!0;return!1}function A6e(n,e){var t,i;for(i=n.Zb().Cc().Kc();i.Ob();)if(t=u(i.Pb(),16),t.Hc(e))return!0;return!1}function PFn(n,e,t){var i,r,c,s;for(Jn(t),s=!1,c=n.fd(e),r=t.Kc();r.Ob();)i=r.Pb(),c.Rb(i),s=!0;return s}function V$(n,e){var t,i;return i=u(Un(n.a,4),129),t=K(jU,MK,424,e,0,1),i!=null&&Ic(i,0,t,0,i.length),t}function IFn(n,e){var t;return t=new jF((n.f&256)!=0,n.i,n.a,n.d,(n.f&16)!=0,n.j,n.g,e),n.e!=null||(t.c=n),t}function S6e(n,e){var t;return n===e?!0:O(e,85)?(t=u(e,85),dnn(Wa(n),t.vc())):!1}function OFn(n,e,t){var i,r;for(r=t.Kc();r.Ob();)if(i=u(r.Pb(),44),n.Be(e,i.md()))return!0;return!1}function DFn(n,e,t){return n.d[e.p][t.p]||(O9e(n,e,t),n.d[e.p][t.p]=!0,n.d[t.p][e.p]=!0),n.a[e.p][t.p]}function P6e(n,e){var t;return!n||n==e||!kt(e,(W(),sb))?!1:(t=u(v(e,(W(),sb)),10),t!=n)}function W$(n){switch(n.i){case 2:return!0;case 1:return!1;case-1:++n.c;default:return n.$l()}}function LFn(n){switch(n.i){case-2:return!0;case-1:return!1;case 1:--n.c;default:return n._l()}}function NFn(n){yOn.call(this,"The given string does not match the expected format for individual spacings.",n)}function I6e(n,e){var t;e.Ug("Min Size Preprocessing",1),t=jnn(n),ht(n,(_h(),a9),t.a),ht(n,UI,t.b),e.Vg()}function O6e(n){var e,t,i;for(e=0,i=K(Ei,J,8,n.b,0,1),t=ge(n,0);t.b!=t.d.c;)i[e++]=u(be(t),8);return i}function J$(n,e,t){var i,r,c;for(i=new Ct,c=ge(t,0);c.b!=c.d.c;)r=u(be(c),8),xe(i,new rr(r));PFn(n,e,i)}function D6e(n,e){var t;return t=nr(n,e),ND(RN(n,e),0)|AC(RN(n,t),0)?t:nr(Ey,RN(U1(t,63),1))}function L6e(n,e){var t,i;return t=u(n.d.Bc(e),16),t?(i=n.e.hc(),i.Gc(t),n.e.d-=t.gc(),t.$b(),i):null}function $Fn(n){var e;if(e=n.a.c.length,e>0)return E4(e-1,n.a.c.length),Yl(n.a,e-1);throw M(new $yn)}function xFn(n,e,t){if(n>e)throw M(new Gn(ZA+n+Qzn+e));if(n<0||e>t)throw M(new pz(ZA+n+Stn+e+Mtn+t))}function um(n,e){n.D==null&&n.B!=null&&(n.D=n.B,n.B=null),j$(n,e==null?null:(Jn(e),e)),n.C&&n.hl(null)}function N6e(n,e){var t;t=rn((bx(),EI))!=null&&e.Sg()!=null?$(R(e.Sg()))/$(R(rn(EI))):1,Xe(n.b,e,t)}function lY(n,e){var t,i;if(i=n.c[e],i!=0)for(n.c[e]=0,n.d-=i,t=e+1;tPS?n-t>PS:t-n>PS}function XFn(n,e){var t;for(t=0;tr&&(EKn(e.q,r),i=t!=e.q.d)),i}function VFn(n,e){var t,i,r,c,s,f,h,l;return h=e.i,l=e.j,i=n.f,r=i.i,c=i.j,s=h-r,f=l-c,t=y.Math.sqrt(s*s+f*f),t}function pY(n,e){var t,i;return i=WT(n),i||(t=(UF(),$Hn(e)),i=new Cyn(t),ve(i.El(),n)),i}function Lk(n,e){var t,i;return t=u(n.c.Bc(e),16),t?(i=n.hc(),i.Gc(t),n.d-=t.gc(),t.$b(),n.mc(i)):n.jc()}function G6e(n,e){var t,i;for(i=to(n.d,1)!=0,t=!0;t;)t=!1,t=e.c.mg(e.e,i),t=t|sy(n,e,i,!1),i=!i;$Q(n)}function WFn(n,e,t,i){var r,c;n.a=e,c=i?0:1,n.f=(r=new s_n(n.c,n.a,t,c),new Kqn(t,n.a,r,n.e,n.b,n.c==(O0(),t9)))}function xT(n){var e;return oe(n.a!=n.b),e=n.d.a[n.a],EAn(n.b==n.d.c&&e!=null),n.c=n.a,n.a=n.a+1&n.d.a.length-1,e}function JFn(n){var e;if(n.c!=0)return n.c;for(e=0;e=n.c.b:n.a<=n.c.b))throw M(new nc);return e=n.a,n.a+=n.c.c,++n.b,Y(e)}function ex(n){var e;return e=new DX(n.a),Ur(e,n),U(e,(W(),st),n),e.o.a=n.g,e.o.b=n.f,e.n.a=n.i,e.n.b=n.j,e}function tx(n){return(tn(),mu).Hc(n.j)?$(R(v(n,(W(),jv)))):cc(S(T(Ei,1),J,8,0,[n.i.n,n.n,n.a])).b}function X6e(n){var e;return e=DC(Cie),u(v(n,(W(),Hc)),21).Hc((pr(),yv))&&Re(e,(Vi(),Oc),(tr(),FP)),e}function V6e(n){var e,t,i,r;for(r=new ni,i=new C(n);i.a=0?e:-e;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return e<0?1/r:r}function Z6e(n,e){var t,i,r;for(r=1,t=n,i=e>=0?e:-e;i>0;)i%2==0?(t*=t,i=i/2|0):(r*=t,i-=1);return e<0?1/r:r}function na(n,e){var t,i,r,c;return c=(r=n?WT(n):null,O_n((i=e,r&&r.Gl(),i))),c==e&&(t=WT(n),t&&t.Gl()),c}function QFn(n,e,t){var i,r;return r=n.f,n.f=e,n.Db&4&&!(n.Db&1)&&(i=new Ci(n,1,0,r,e),t?t.nj(i):t=i),t}function YFn(n,e,t){var i,r;return r=n.b,n.b=e,n.Db&4&&!(n.Db&1)&&(i=new Ci(n,1,3,r,e),t?t.nj(i):t=i),t}function vY(n,e,t){var i,r;return r=n.a,n.a=e,n.Db&4&&!(n.Db&1)&&(i=new Ci(n,1,1,r,e),t?t.nj(i):t=i),t}function ZFn(n){var e,t;if(n!=null)for(t=0;t=i||e-129&&n<128?(FSn(),e=n+128,t=pun[e],!t&&(t=pun[e]=new vG(n)),t):new vG(n)}function sm(n){var e,t;return n>-129&&n<128?(nPn(),e=n+128,t=yun[e],!t&&(t=yun[e]=new yG(n)),t):new yG(n)}function tBn(n,e){var t;n.a.c.length>0&&(t=u(sn(n.a,n.a.c.length-1),579),sY(t,e))||nn(n.a,new kLn(e))}function c5e(n){xs();var e,t;e=n.d.c-n.e.c,t=u(n.g,154),nu(t.b,new p7n(e)),nu(t.c,new m7n(e)),qi(t.i,new v7n(e))}function iBn(n){var e;return e=new x1,e.a+="VerticalSegment ",Dc(e,n.e),e.a+=" ",Be(e,RX(new yD,new C(n.k))),e.a}function ix(n,e){var t,i,r;for(t=0,r=uc(n,e).Kc();r.Ob();)i=u(r.Pb(),12),t+=v(i,(W(),Xu))!=null?1:0;return t}function xg(n,e,t){var i,r,c;for(i=0,c=ge(n,0);c.b!=c.d.c&&(r=$(R(be(c))),!(r>t));)r>=e&&++i;return i}function rBn(n,e){Se(n);try{return n._b(e)}catch(t){if(t=It(t),O(t,212)||O(t,169))return!1;throw M(t)}}function yY(n,e){Se(n);try{return n.Hc(e)}catch(t){if(t=It(t),O(t,212)||O(t,169))return!1;throw M(t)}}function u5e(n,e){Se(n);try{return n.Mc(e)}catch(t){if(t=It(t),O(t,212)||O(t,169))return!1;throw M(t)}}function tw(n,e){Se(n);try{return n.xc(e)}catch(t){if(t=It(t),O(t,212)||O(t,169))return null;throw M(t)}}function o5e(n,e){Se(n);try{return n.Bc(e)}catch(t){if(t=It(t),O(t,212)||O(t,169))return null;throw M(t)}}function p5(n,e){switch(e.g){case 2:case 1:return uc(n,e);case 3:case 4:return Qo(uc(n,e))}return Dn(),Dn(),sr}function m5(n){var e;return n.Db&64?_s(n):(e=new ls(_s(n)),e.a+=" (name: ",Er(e,n.zb),e.a+=")",e.a)}function s5e(n){var e;return e=u(Lf(n.c.c,""),233),e||(e=new Np(u4(c4(new ep,""),"Other")),s1(n.c.c,"",e)),e}function jY(n,e,t){var i,r;return r=n.sb,n.sb=e,n.Db&4&&!(n.Db&1)&&(i=new Ci(n,1,4,r,e),t?t.nj(i):t=i),t}function EY(n,e,t){var i,r;return r=n.r,n.r=e,n.Db&4&&!(n.Db&1)&&(i=new Ci(n,1,8,r,n.r),t?t.nj(i):t=i),t}function f5e(n,e,t){var i,r;return i=new ml(n.e,4,13,(r=e.c,r||(On(),Yf)),null,f1(n,e),!1),t?t.nj(i):t=i,t}function h5e(n,e,t){var i,r;return i=new ml(n.e,3,13,null,(r=e.c,r||(On(),Yf)),f1(n,e),!1),t?t.nj(i):t=i,t}function r1(n,e){var t,i;return t=u(e,691),i=t.el(),!i&&t.fl(i=O(e,90)?new xMn(n,u(e,29)):new cDn(n,u(e,156))),i}function Nk(n,e,t){var i;n._i(n.i+1),i=n.Zi(e,t),e!=n.i&&Ic(n.g,e,n.g,e+1,n.i-e),$t(n.g,e,i),++n.i,n.Mi(e,t),n.Ni()}function l5e(n,e){var t;return e.a&&(t=e.a.a.length,n.a?Be(n.a,n.b):n.a=new mo(n.d),aDn(n.a,e.a,e.d.length,t)),n}function a5e(n,e){var t;n.c=e,n.a=p8e(e),n.a<54&&(n.f=(t=e.d>1?hDn(e.a[0],e.a[1]):hDn(e.a[0],0),id(e.e>0?t:n1(t))))}function $k(n,e){var t;return t=new LO,n.a.Bd(t)?(b4(),new wD(Jn(GNn(n,t.a,e)))):(z1(n),b4(),b4(),Dun)}function cBn(n,e){var t;n.c.length!=0&&(t=u(xf(n,K(Qh,b1,10,n.c.length,0,1)),199),CX(t,new rgn),Y_n(t,e))}function uBn(n,e){var t;n.c.length!=0&&(t=u(xf(n,K(Qh,b1,10,n.c.length,0,1)),199),CX(t,new cgn),Y_n(t,e))}function rt(n,e){return Ai(n)?An(n,e):$b(n)?nSn(n,e):Nb(n)?(Jn(n),x(n)===x(e)):pW(n)?n.Fb(e):hW(n)?YMn(n,e):hJ(n,e)}function Wo(n,e,t){if(e<0)Pnn(n,t);else{if(!t.rk())throw M(new Gn(da+t.xe()+p8));u(t,69).wk().Ek(n,n.hi(),e)}}function oBn(n,e,t){if(n<0||e>t)throw M(new Ir(ZA+n+Stn+e+", size: "+t));if(n>e)throw M(new Gn(ZA+n+Qzn+e))}function sBn(n){var e;return n.Db&64?_s(n):(e=new ls(_s(n)),e.a+=" (source: ",Er(e,n.d),e.a+=")",e.a)}function fBn(n){return n>=65&&n<=70?n-65+10:n>=97&&n<=102?n-97+10:n>=48&&n<=57?n-48:0}function d5e(n){VA();var e,t,i,r;for(t=jx(),i=0,r=t.length;i=0?ta(n):G6(ta(n1(n))))}function aBn(n,e,t,i,r,c){this.e=new Z,this.f=(gr(),n9),nn(this.e,n),this.d=e,this.a=t,this.b=i,this.f=r,this.c=c}function g5e(n,e,t){n.n=Va(xa,[J,SB],[376,28],14,[t,wi(y.Math.ceil(e/32))],2),n.o=e,n.p=t,n.j=e-1>>1,n.k=t-1>>1}function dBn(n){return n-=n>>1&1431655765,n=(n>>2&858993459)+(n&858993459),n=(n>>4)+n&252645135,n+=n>>8,n+=n>>16,n&63}function bBn(n,e){var t,i;for(i=new ne(n);i.e!=i.i.gc();)if(t=u(ce(i),142),x(e)===x(t))return!0;return!1}function p5e(n,e,t){var i,r,c;return c=(r=Mm(n.b,e),r),c&&(i=u(qA(ak(n,c),""),29),i)?Qnn(n,i,e,t):null}function rx(n,e,t){var i,r,c;return c=(r=Mm(n.b,e),r),c&&(i=u(qA(ak(n,c),""),29),i)?Ynn(n,i,e,t):null}function m5e(n,e){var t;if(t=Dg(n.i,e),t==null)throw M(new nh("Node did not exist in input."));return HQ(e,t),null}function v5e(n,e){var t;if(t=oy(n,e),O(t,331))return u(t,35);throw M(new Gn(da+e+"' is not a valid attribute"))}function k5(n,e,t){var i;if(i=n.gc(),e>i)throw M(new Kb(e,i));if(n.Si()&&n.Hc(t))throw M(new Gn(Vy));n.Gi(e,t)}function k5e(n,e){e.Ug("Sort end labels",1),qt(ut(rc(new Tn(null,new In(n.b,16)),new Hwn),new qwn),new Uwn),e.Vg()}function ci(){ci=F,Wf=new v7(i8,0),Xr=new v7(f3,1),Br=new v7(s3,2),Vf=new v7(_B,3),us=new v7("UP",4)}function Fk(){Fk=F,XI=new sL("P1_STRUCTURE",0),VI=new sL("P2_PROCESSING_ORDER",1),WI=new sL("P3_EXECUTION",2)}function wBn(){wBn=F,Rre=ah(ah(l6(ah(ah(l6(Re(new ii,(Qp(),c9),(q5(),ZH)),u9),lln),dln),o9),oln),bln)}function y5e(n){switch(u(v(n,(W(),Od)),311).g){case 1:U(n,Od,(vl(),E3));break;case 2:U(n,Od,(vl(),v2))}}function j5e(n){switch(n){case 0:return new rjn;case 1:return new tjn;case 2:return new ijn;default:throw M(new Q9)}}function gBn(n){switch(n.g){case 2:return Xr;case 1:return Br;case 4:return Vf;case 3:return us;default:return Wf}}function AY(n,e){switch(n.b.g){case 0:case 1:return e;case 2:case 3:return new Ho(e.d,0,e.a,e.b);default:return null}}function SY(n){switch(n.g){case 1:return Wn;case 2:return Xn;case 3:return Zn;case 4:return ae;default:return sc}}function Bk(n){switch(n.g){case 1:return ae;case 2:return Wn;case 3:return Xn;case 4:return Zn;default:return sc}}function RT(n){switch(n.g){case 1:return Zn;case 2:return ae;case 3:return Wn;case 4:return Xn;default:return sc}}function PY(n,e,t,i){switch(e){case 1:return!n.n&&(n.n=new q(Ar,n,1,7)),n.n;case 2:return n.k}return yZ(n,e,t,i)}function y5(n,e,t){var i,r;return n.Pj()?(r=n.Qj(),i=lF(n,e,t),n.Jj(n.Ij(7,Y(t),i,e,r)),i):lF(n,e,t)}function cx(n,e){var t,i,r;n.d==null?(++n.e,--n.f):(r=e.ld(),t=e.Bi(),i=(t&et)%n.d.length,o4e(n,i,RHn(n,i,t,r)))}function fm(n,e){var t;t=(n.Bb&Us)!=0,e?n.Bb|=Us:n.Bb&=-1025,n.Db&4&&!(n.Db&1)&&it(n,new Bs(n,1,10,t,e))}function hm(n,e){var t;t=(n.Bb&vw)!=0,e?n.Bb|=vw:n.Bb&=-4097,n.Db&4&&!(n.Db&1)&&it(n,new Bs(n,1,12,t,e))}function lm(n,e){var t;t=(n.Bb&$u)!=0,e?n.Bb|=$u:n.Bb&=-8193,n.Db&4&&!(n.Db&1)&&it(n,new Bs(n,1,15,t,e))}function am(n,e){var t;t=(n.Bb&Tw)!=0,e?n.Bb|=Tw:n.Bb&=-2049,n.Db&4&&!(n.Db&1)&&it(n,new Bs(n,1,11,t,e))}function E5e(n){var e;n.g&&(e=n.c.kg()?n.f:n.a,len(e.a,n.o,!0),len(e.a,n.o,!1),U(n.o,(cn(),Kt),(Oi(),Ud)))}function C5e(n){var e;if(!n.a)throw M(new Or("Cannot offset an unassigned cut."));e=n.c-n.b,n.b+=e,_In(n,e),KIn(n,e)}function M5e(n,e){var t;if(t=ee(n.k,e),t==null)throw M(new nh("Port did not exist in input."));return HQ(e,t),null}function T5e(n){var e,t;for(t=xHn(jo(n)).Kc();t.Ob();)if(e=Oe(t.Pb()),U5(n,e))return A3e((mCn(),Boe),e);return null}function pBn(n){var e,t;for(t=n.p.a.ec().Kc();t.Ob();)if(e=u(t.Pb(),218),e.f&&n.b[e.c]<-1e-10)return e;return null}function A5e(n){var e,t;for(t=Ya(new x1,91),e=!0;n.Ob();)e||(t.a+=ur),e=!1,Dc(t,n.Pb());return(t.a+="]",t).a}function S5e(n){var e,t,i;for(e=new Z,i=new C(n.b);i.ae?1:n==e?n==0?bt(1/n,1/e):0:isNaN(n)?isNaN(e)?0:1:-1}function I5e(n){var e;return e=n.a[n.c-1&n.a.length-1],e==null?null:(n.c=n.c-1&n.a.length-1,$t(n.a,n.c,null),e)}function O5e(n){var e,t,i;for(i=0,t=n.length,e=0;e=1?Xr:Vf):t}function $5e(n){switch(u(v(n,(cn(),$l)),223).g){case 1:return new Ppn;case 3:return new Npn;default:return new Spn}}function ea(n){if(n.c)ea(n.c);else if(n.d)throw M(new Or("Stream already terminated, can't be modified or used"))}function $0(n,e,t){var i;return i=n.a.get(e),n.a.set(e,t===void 0?null:t),i===void 0?(++n.c,++n.b.g):++n.d,i}function x5e(n,e,t){var i,r;for(r=n.a.ec().Kc();r.Ob();)if(i=u(r.Pb(),10),Mk(t,u(sn(e,i.p),16)))return i;return null}function OY(n,e,t){var i;return i=0,e&&(mg(n.a)?i+=e.f.a/2:i+=e.f.b/2),t&&(mg(n.a)?i+=t.f.a/2:i+=t.f.b/2),i}function F5e(n,e,t){var i;i=t,!i&&(i=YV(new up,0)),i.Ug(PXn,2),jRn(n.b,e,i.eh(1)),YIe(n,e,i.eh(1)),eLe(e,i.eh(1)),i.Vg()}function DY(n,e,t){var i,r;return i=(B1(),r=new yE,r),aT(i,e),lT(i,t),n&&ve((!n.a&&(n.a=new ti(xo,n,5)),n.a),i),i}function ox(n){var e;return n.Db&64?_s(n):(e=new ls(_s(n)),e.a+=" (identifier: ",Er(e,n.k),e.a+=")",e.a)}function sx(n,e){var t;t=(n.Bb&kc)!=0,e?n.Bb|=kc:n.Bb&=-32769,n.Db&4&&!(n.Db&1)&&it(n,new Bs(n,1,18,t,e))}function LY(n,e){var t;t=(n.Bb&kc)!=0,e?n.Bb|=kc:n.Bb&=-32769,n.Db&4&&!(n.Db&1)&&it(n,new Bs(n,1,18,t,e))}function dm(n,e){var t;t=(n.Bb&wh)!=0,e?n.Bb|=wh:n.Bb&=-16385,n.Db&4&&!(n.Db&1)&&it(n,new Bs(n,1,16,t,e))}function NY(n,e){var t;t=(n.Bb&hr)!=0,e?n.Bb|=hr:n.Bb&=-65537,n.Db&4&&!(n.Db&1)&&it(n,new Bs(n,1,20,t,e))}function $Y(n){var e;return e=K(fs,gh,28,2,15,1),n-=hr,e[0]=(n>>10)+Sy&ui,e[1]=(n&1023)+56320&ui,hh(e,0,e.length)}function B5e(n){var e;return e=sw(n),e>34028234663852886e22?St:e<-34028234663852886e22?li:e}function nr(n,e){var t;return Vr(n)&&Vr(e)&&(t=n+e,Ay"+td(e.c):"e_"+mt(e),n.b&&n.c?td(n.b)+"->"+td(n.c):"e_"+mt(n))}function _5e(n,e){return An(e.b&&e.c?td(e.b)+"->"+td(e.c):"e_"+mt(e),n.b&&n.c?td(n.b)+"->"+td(n.c):"e_"+mt(n))}function x0(n,e){return Mf(),Rs(sa),y.Math.abs(n-e)<=sa||n==e||isNaN(n)&&isNaN(e)?0:ne?1:s0(isNaN(n),isNaN(e))}function El(){El=F,lU=new kC(i8,0),Yj=new kC("POLYLINE",1),Kv=new kC("ORTHOGONAL",2),F3=new kC("SPLINES",3)}function _T(){_T=F,l1n=new uL("ASPECT_RATIO_DRIVEN",0),Oq=new uL("MAX_SCALE_DRIVEN",1),h1n=new uL("AREA_DRIVEN",2)}function H5e(n,e,t){var i;try{l6e(n,e,t)}catch(r){throw r=It(r),O(r,606)?(i=r,M(new $J(i))):M(r)}return e}function q5e(n){var e,t,i;for(t=0,i=n.length;te&&i.Ne(n[c-1],n[c])>0;--c)s=n[c],$t(n,c,n[c-1]),$t(n,c-1,s)}function vn(n,e){var t,i,r,c,s;if(t=e.f,s1(n.c.d,t,e),e.g!=null)for(r=e.g,c=0,s=r.length;ce){wDn(t);break}}q7(t,e)}function X5e(n,e){var t,i,r;i=Sg(e),r=$(R(rw(i,(cn(),Vs)))),t=y.Math.max(0,r/2-.5),I5(e,t,1),nn(n,new NCn(e,t))}function V5e(n,e,t){var i;t.Ug("Straight Line Edge Routing",1),t.dh(e,xrn),i=u(z(e,(Mg(),O2)),27),iGn(n,i),t.dh(e,DS)}function xY(n,e){n.n.c.length==0&&nn(n.n,new NM(n.s,n.t,n.i)),nn(n.b,e),gZ(u(sn(n.n,n.n.c.length-1),209),e),RUn(n,e)}function j5(n){var e;this.a=(e=u(n.e&&n.e(),9),new _o(e,u($s(e,e.length),9),0)),this.b=K(ki,Fn,1,this.a.a.length,5,1)}function Jr(n){var e;return Array.isArray(n)&&n.Tm===J2?za(wo(n))+"@"+(e=mt(n)>>>0,e.toString(16)):n.toString()}function W5e(n,e){return n.h==Ty&&n.m==0&&n.l==0?(e&&(ba=Yc(0,0,0)),nTn((R4(),lun))):(e&&(ba=Yc(n.l,n.m,n.h)),Yc(0,0,0))}function J5e(n,e){switch(e.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function yBn(n,e){switch(e.g){case 2:return n.b;case 1:return n.c;case 4:return n.d;case 3:return n.a;default:return!1}}function FY(n,e,t,i){switch(e){case 3:return n.f;case 4:return n.g;case 5:return n.i;case 6:return n.j}return PY(n,e,t,i)}function HT(n,e){if(e==n.d)return n.e;if(e==n.e)return n.d;throw M(new Gn("Node "+e+" not part of edge "+n))}function Q5e(n,e){var t;if(t=oy(n.Dh(),e),O(t,102))return u(t,19);throw M(new Gn(da+e+"' is not a valid reference"))}function Jo(n,e,t,i){if(e<0)ten(n,t,i);else{if(!t.rk())throw M(new Gn(da+t.xe()+p8));u(t,69).wk().Ck(n,n.hi(),e,i)}}function eo(n){var e;if(n.b){if(eo(n.b),n.b.d!=n.c)throw M(new Bo)}else n.d.dc()&&(e=u(n.f.c.xc(n.e),16),e&&(n.d=e))}function Y5e(n){Bb();var e,t,i,r;for(e=n.o.b,i=u(u(ot(n.r,(tn(),ae)),21),87).Kc();i.Ob();)t=u(i.Pb(),117),r=t.e,r.b+=e}function Z5e(n){var e,t,i;for(this.a=new ih,i=new C(n);i.a=r)return e.c+t;return e.c+e.b.gc()}function e8e(n,e){m4();var t,i,r,c;for(i=LNn(n),r=e,F4(i,0,i.length,r),t=0;t0&&(i+=r,++t);return t>1&&(i+=n.d*(t-1)),i}function i8e(n){var e,t,i,r,c;return c=enn(n),t=e7(n.c),i=!t,i&&(r=new Ka,df(c,"knownLayouters",r),e=new lyn(r),qi(n.c,e)),c}function KY(n){var e,t,i;for(i=new Hl,i.a+="[",e=0,t=n.gc();e0&&(zn(e-1,n.length),n.charCodeAt(e-1)==58)&&!lx(n,N9,$9))}function _Y(n,e){var t;return x(n)===x(e)?!0:O(e,92)?(t=u(e,92),n.e==t.e&&n.d==t.d&&I3e(n,t.a)):!1}function zp(n){switch(tn(),n.g){case 4:return Xn;case 1:return Zn;case 3:return ae;case 2:return Wn;default:return sc}}function o8e(n){var e,t;if(n.b)return n.b;for(t=qf?null:n.d;t;){if(e=qf?null:t.b,e)return e;t=qf?null:t.d}return a4(),$un}function HY(n){var e,t,i;for(i=$(R(n.a.of((qe(),iO)))),t=new C(n.a.Sf());t.a>5,e=n&31,i=K(ye,Ke,28,t+1,15,1),i[t]=1<3;)r*=10,--c;n=(n+(r>>1))/r|0}return i.i=n,!0}function Ot(n,e){var t,i,r;if(t=(n.i==null&&bh(n),n.i),i=e.Lj(),i!=-1){for(r=t.length;i=0;--i)for(e=t[i],r=0;r>1,this.k=e-1>>1}function j8e(n){YM(),u(n.of((qe(),Ma)),181).Hc((io(),hO))&&(u(n.of(Ww),181).Fc((zu(),B3)),u(n.of(Ma),181).Mc(hO))}function SBn(n){var e,t;e=n.d==(Yp(),dv),t=GZ(n),e&&!t||!e&&t?U(n.a,(cn(),Th),(Rh(),Uj)):U(n.a,(cn(),Th),(Rh(),qj))}function bx(){bx=F,nC(),EI=(cn(),gb),Qte=If(S(T(Xq,1),Ern,149,0,[Tj,Vs,M2,wb,qw,IH,Av,Sv,OH,J8,C2,Bd,T2]))}function E8e(n,e){var t;return t=u(Wr(n,qu(new ju,new yu,new Eu,S(T(xr,1),G,108,0,[(Gu(),Yr)]))),15),t.Qc(WSn(t.gc()))}function PBn(n,e){var t,i;if(i=new Y3(n.a.ad(e,!0)),i.a.gc()<=1)throw M(new ip);return t=i.a.ec().Kc(),t.Pb(),u(t.Pb(),40)}function C8e(n,e,t){var i,r;return i=$(n.p[e.i.p])+$(n.d[e.i.p])+e.n.b+e.a.b,r=$(n.p[t.i.p])+$(n.d[t.i.p])+t.n.b+t.a.b,r-i}function WY(n,e){var t;return n.i>0&&(e.lengthn.i&&$t(e,n.i,null),e}function UT(n){var e;return n.Db&64?m5(n):(e=new ls(m5(n)),e.a+=" (instanceClassName: ",Er(e,n.D),e.a+=")",e.a)}function GT(n){var e,t,i,r;for(r=0,t=0,i=n.length;t0?(n._j(),i=e==null?0:mt(e),r=(i&et)%n.d.length,t=RHn(n,r,i,e),t!=-1):!1}function IBn(n,e){var t,i;n.a=nr(n.a,1),n.c=y.Math.min(n.c,e),n.b=y.Math.max(n.b,e),n.d+=e,t=e-n.f,i=n.e+t,n.f=i-n.e-t,n.e=i}function JY(n,e){switch(e){case 3:P0(n,0);return;case 4:I0(n,0);return;case 5:eu(n,0);return;case 6:tu(n,0);return}kY(n,e)}function F0(n,e){switch(e.g){case 1:return Cp(n.j,(Ou(),Fon));case 2:return Cp(n.j,(Ou(),Ron));default:return Dn(),Dn(),sr}}function QY(n){m0();var e;switch(e=n.Pc(),e.length){case 0:return qK;case 1:return new VL(Se(e[0]));default:return new PN(q5e(e))}}function OBn(n,e){n.Xj();try{n.d.bd(n.e++,e),n.f=n.d.j,n.g=-1}catch(t){throw t=It(t),O(t,77)?M(new Bo):M(t)}}function gx(){gx=F,TU=new Tvn,zdn=new Avn,Xdn=new Svn,Vdn=new Pvn,Wdn=new Ivn,Jdn=new Ovn,Qdn=new Dvn,Ydn=new Lvn,Zdn=new Nvn}function zT(n,e){kX();var t,i;return t=D7((KE(),KE(),P8)),i=null,e==t&&(i=u(Nc(fun,n),624)),i||(i=new JPn(n),e==t&&Dr(fun,n,i)),i}function DBn(n){cw();var e;return(n.q?n.q:(Dn(),Dn(),Wh))._b((cn(),db))?e=u(v(n,db),203):e=u(v(Hi(n),W8),203),e}function rw(n,e){var t,i;return i=null,kt(n,(cn(),yI))&&(t=u(v(n,yI),96),t.pf(e)&&(i=t.of(e))),i==null&&(i=v(Hi(n),e)),i}function LBn(n,e){var t,i,r;return O(e,44)?(t=u(e,44),i=t.ld(),r=tw(n.Rc(),i),oh(r,t.md())&&(r!=null||n.Rc()._b(i))):!1}function wf(n,e){var t,i,r;return n.f>0&&(n._j(),i=e==null?0:mt(e),r=(i&et)%n.d.length,t=xnn(n,r,i,e),t)?t.md():null}function Xc(n,e,t){var i,r,c;return n.Pj()?(i=n.i,c=n.Qj(),Nk(n,i,e),r=n.Ij(3,null,e,i,c),t?t.nj(r):t=r):Nk(n,n.i,e),t}function T8e(n,e,t){var i,r;return i=new ml(n.e,4,10,(r=e.c,O(r,90)?u(r,29):(On(),Ps)),null,f1(n,e),!1),t?t.nj(i):t=i,t}function A8e(n,e,t){var i,r;return i=new ml(n.e,3,10,null,(r=e.c,O(r,90)?u(r,29):(On(),Ps)),f1(n,e),!1),t?t.nj(i):t=i,t}function NBn(n){Bb();var e;return e=new rr(u(n.e.of((qe(),K2)),8)),n.B.Hc((io(),Hv))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function ta(n){dh();var e,t;return t=Ae(n),e=Ae(U1(n,32)),e!=0?new HOn(t,e):t>10||t<0?new gl(1,t):kQn[t]}function Kk(n,e){var t;return Vr(n)&&Vr(e)&&(t=n%e,Ay=0?c=c.a[1]:(r=c,c=c.a[0])}return r}function Hk(n,e,t){var i,r,c;for(r=null,c=n.b;c;){if(i=n.a.Ne(e,c.d),t&&i==0)return c;i<=0?c=c.a[0]:(r=c,c=c.a[1])}return r}function L8e(n,e,t,i){var r,c,s;return r=!1,xOe(n.f,t,i)&&(e9e(n.f,n.a[e][t],n.a[e][i]),c=n.a[e],s=c[i],c[i]=c[t],c[t]=s,r=!0),r}function BBn(n,e,t){var i,r,c,s;for(r=u(ee(n.b,t),183),i=0,s=new C(e.j);s.a>5,e&=31,r=n.d+t+(e==0?0:1),i=K(ye,Ke,28,r,15,1),Oye(i,n.a,t,e),c=new Qa(n.e,r,i),Q6(c),c}function N8e(n,e){var t,i,r;for(i=new te(re(Qt(n).a.Kc(),new En));pe(i);)if(t=u(fe(i),18),r=t.d.i,r.c==e)return!1;return!0}function nZ(n,e,t){var i,r,c,s,f;return s=n.k,f=e.k,i=t[s.g][f.g],r=R(rw(n,i)),c=R(rw(e,i)),y.Math.max((Jn(r),r),(Jn(c),c))}function $8e(){return Error.stackTraceLimit>0?(y.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function x8e(n,e){return Mf(),Mf(),Rs(sa),(y.Math.abs(n-e)<=sa||n==e||isNaN(n)&&isNaN(e)?0:ne?1:s0(isNaN(n),isNaN(e)))>0}function eZ(n,e){return Mf(),Mf(),Rs(sa),(y.Math.abs(n-e)<=sa||n==e||isNaN(n)&&isNaN(e)?0:ne?1:s0(isNaN(n),isNaN(e)))<0}function KBn(n,e){return Mf(),Mf(),Rs(sa),(y.Math.abs(n-e)<=sa||n==e||isNaN(n)&&isNaN(e)?0:ne?1:s0(isNaN(n),isNaN(e)))<=0}function mx(n,e){for(var t=0;!e[t]||e[t]=="";)t++;for(var i=e[t++];t0&&this.b>0&&(this.g=cM(this.c,this.b,this.a))}function F8e(n,e){var t=n.a,i;e=String(e),t.hasOwnProperty(e)&&(i=t[e]);var r=(K$(),WK)[typeof i],c=r?r(i):wY(typeof i);return c}function wm(n){var e,t,i;if(i=null,e=Eh in n.a,t=!e,t)throw M(new nh("Every element must have an id."));return i=Zp(dl(n,Eh)),i}function B0(n){var e,t;for(t=a_n(n),e=null;n.c==2;)Ye(n),e||(e=(nt(),nt(),new P6(2)),pd(e,t),t=e),t.Jm(a_n(n));return t}function VT(n,e){var t,i,r;return n._j(),i=e==null?0:mt(e),r=(i&et)%n.d.length,t=xnn(n,r,i,e),t?(V$n(n,t),t.md()):null}function XBn(n,e){return n.e>e.e?1:n.ee.d?n.e:n.d=48&&n<48+y.Math.min(10,10)?n-48:n>=97&&n<97?n-97+10:n>=65&&n<65?n-65+10:-1}function B8e(n,e){if(e.c==n)return e.d;if(e.d==n)return e.c;throw M(new Gn("Input edge is not connected to the input port."))}function R8e(n){if(JT(nv,n))return _n(),ov;if(JT(cK,n))return _n(),wa;throw M(new Gn("Expecting true or false"))}function rZ(n){switch(typeof n){case nB:return t1(n);case dtn:return pp(n);case i3:return SAn(n);default:return n==null?0:l0(n)}}function ah(n,e){if(n.a<0)throw M(new Or("Did not call before(...) or after(...) before calling add(...)."));return YX(n,n.a,e),n}function cZ(n){return $M(),O(n,162)?u(ee(hE,MQn),295).Rg(n):Zc(hE,wo(n))?u(ee(hE,wo(n)),295).Rg(n):null}function iu(n){var e,t;return n.Db&32||(t=(e=u(Un(n,16),29),se(e||n.ii())-se(n.ii())),t!=0&&Xp(n,32,K(ki,Fn,1,t,5,1))),n}function Xp(n,e,t){var i;n.Db&e?t==null?jCe(n,e):(i=Rx(n,e),i==-1?n.Eb=t:$t(cd(n.Eb),i,t)):t!=null&>e(n,e,t)}function K8e(n,e,t,i){var r,c;e.c.length!=0&&(r=$Me(t,i),c=xEe(e),qt(fT(new Tn(null,new In(c,1)),new L3n),new MIn(n,t,r,i)))}function _8e(n,e){var t,i,r,c;return i=n.a.length-1,t=e-n.b&i,c=n.c-e&i,r=n.c-n.b&i,EAn(t=c?(R6e(n,e),-1):(B6e(n,e),1)}function WT(n){var e,t,i;if(i=n.Jh(),!i)for(e=0,t=n.Ph();t;t=t.Ph()){if(++e>PB)return t.Qh();if(i=t.Jh(),i||t==n)break}return i}function WBn(n,e){var t;return x(e)===x(n)?!0:!O(e,21)||(t=u(e,21),t.gc()!=n.gc())?!1:n.Ic(t)}function H8e(n,e){return n.ee.e?1:n.fe.f?1:mt(n)-mt(e)}function JT(n,e){return Jn(n),e==null?!1:An(n,e)?!0:n.length==e.length&&An(n.toLowerCase(),e.toLowerCase())}function Ml(n){var e,t;return Ec(n,-129)>0&&Ec(n,128)<0?(ZSn(),e=Ae(n)+128,t=mun[e],!t&&(t=mun[e]=new kG(n)),t):new kG(n)}function dd(){dd=F,Ow=new aC(kh,0),Don=new aC("INSIDE_PORT_SIDE_GROUPS",1),P_=new aC("GROUP_MODEL_ORDER",2),I_=new aC(tin,3)}function q8e(n){var e;return n.b||xhe(n,(e=$ae(n.e,n.a),!e||!An(cK,wf((!e.b&&(e.b=new lo((On(),ar),pc,e)),e.b),"qualified")))),n.c}function U8e(n,e){var t,i;for(t=(zn(e,n.length),n.charCodeAt(e)),i=e+1;i2e3&&(hQn=n,uP=y.setTimeout(_he,10))),cP++==0?(ime((az(),sun)),!0):!1}function r9e(n,e,t){var i;(DQn?(o8e(n),!0):LQn||$Qn?(a4(),!0):NQn&&(a4(),!1))&&(i=new aSn(e),i.b=t,aje(n,i))}function kx(n,e){var t;t=!n.A.Hc((go(),Gd))||n.q==(Oi(),qc),n.u.Hc((zu(),Fl))?t?XDe(n,e):UGn(n,e):n.u.Hc(Pa)&&(t?dDe(n,e):czn(n,e))}function eRn(n){var e;x(z(n,(qe(),B2)))===x((jl(),uO))&&(At(n)?(e=u(z(At(n),B2),346),ht(n,B2,e)):ht(n,B2,M9))}function c9e(n){var e,t;return kt(n.d.i,(cn(),Cv))?(e=u(v(n.c.i,Cv),17),t=u(v(n.d.i,Cv),17),jc(e.a,t.a)>0):!1}function tRn(n,e,t){return new Ho(y.Math.min(n.a,e.a)-t/2,y.Math.min(n.b,e.b)-t/2,y.Math.abs(n.a-e.a)+t,y.Math.abs(n.b-e.b)+t)}function iRn(n){var e;this.d=new Z,this.j=new Li,this.g=new Li,e=n.g.b,this.f=u(v(Hi(e),(cn(),Do)),88),this.e=$(R(nA(e,qw)))}function rRn(n){this.d=new Z,this.e=new Ql,this.c=K(ye,Ke,28,(tn(),S(T(lr,1),Mc,64,0,[sc,Xn,Zn,ae,Wn])).length,15,1),this.b=n}function sZ(n,e,t){var i;switch(i=t[n.g][e],n.g){case 1:case 3:return new V(0,i);case 2:case 4:return new V(i,0);default:return null}}function cRn(n,e,t){var i,r;r=u(V7(e.f),205);try{r.rf(n,t),hIn(e.f,r)}catch(c){throw c=It(c),O(c,103)?(i=c,M(i)):M(c)}}function uRn(n,e,t){var i,r,c,s,f,h;return i=null,f=Zen(z4(),e),c=null,f&&(r=null,h=Qen(f,t),s=null,h!=null&&(s=n.qf(f,h)),r=s,c=r),i=c,i}function yx(n,e,t,i){var r;if(r=n.length,e>=r)return r;for(e=e>0?e:0;ei&&$t(e,i,null),e}function oRn(n,e){var t,i;for(i=n.a.length,e.lengthi&&$t(e,i,null),e}function gm(n,e){var t,i;if(++n.j,e!=null&&(t=(i=n.a.Cb,O(i,99)?u(i,99).th():null),hCe(e,t))){Xp(n.a,4,t);return}Xp(n.a,4,u(e,129))}function u9e(n){var e;if(n==null)return null;if(e=lMe(Fc(n,!0)),e==null)throw M(new kD("Invalid hexBinary value: '"+n+"'"));return e}function QT(n,e,t){var i;e.a.length>0&&(nn(n.b,new SSn(e.a,t)),i=e.a.length,0i&&(e.a+=ITn(K(fs,gh,28,-i,15,1))))}function sRn(n,e,t){var i,r,c;if(!t[e.d])for(t[e.d]=!0,r=new C($g(e));r.a=n.b>>1)for(i=n.c,t=n.b;t>e;--t)i=i.b;else for(i=n.a.a,t=0;t=0?n.Wh(r):hF(n,i)):t<0?hF(n,i):u(i,69).wk().Bk(n,n.hi(),t)}function aRn(n){var e,t,i;for(i=(!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),n.o),t=i.c.Kc();t.e!=t.i.gc();)e=u(t.Yj(),44),e.md();return uk(i)}function rn(n){var e;if(O(n.a,4)){if(e=cZ(n.a),e==null)throw M(new Or(NVn+n.b+"'. "+LVn+(ll(lE),lE.k)+bcn));return e}else return n.a}function b9e(n,e){var t,i;if(n.j.length!=e.j.length)return!1;for(t=0,i=n.j.length;t=64&&e<128&&(r=hf(r,Fs(1,e-64)));return r}function nA(n,e){var t,i;return i=null,kt(n,(qe(),$3))&&(t=u(v(n,$3),96),t.pf(e)&&(i=t.of(e))),i==null&&Hi(n)&&(i=v(Hi(n),e)),i}function w9e(n,e){var t;return t=u(v(n,(cn(),Fr)),75),yL(e,LZn)?t?vo(t):(t=new Mu,U(n,Fr,t)):t&&U(n,Fr,null),t}function M5(){M5=F,aon=(qe(),qan),g_=Ean,DYn=$2,lon=C1,xYn=(aA(),Uun),$Yn=Hun,FYn=zun,NYn=_un,LYn=(Q$(),son),w_=PYn,hon=IYn,pP=OYn}function eA(n){switch($z(),this.c=new Z,this.d=n,n.g){case 0:case 2:this.a=qW(Oon),this.b=St;break;case 3:case 1:this.a=Oon,this.b=li}}function g9e(n){var e;Ep(u(v(n,(cn(),Kt)),101))&&(e=n.b,nHn((Ln(0,e.c.length),u(e.c[0],30))),nHn(u(sn(e,e.c.length-1),30)))}function p9e(n,e){e.Ug("Self-Loop post-processing",1),qt(ut(ut(rc(new Tn(null,new In(n.b,16)),new s2n),new f2n),new h2n),new l2n),e.Vg()}function dRn(n,e,t){var i,r;if(n.c)eu(n.c,n.c.i+e),tu(n.c,n.c.j+t);else for(r=new C(n.b);r.a=0&&(t.d=n.t);break;case 3:n.t>=0&&(t.a=n.t)}n.C&&(t.b=n.C.b,t.c=n.C.c)}function T5(){T5=F,Nhn=new d7(Crn,0),KH=new d7(sR,1),_H=new d7("LINEAR_SEGMENTS",2),Y8=new d7("BRANDES_KOEPF",3),Z8=new d7(sVn,4)}function A5(){A5=F,fj=new hC(eS,0),wP=new hC(HB,1),gP=new hC(qB,2),hj=new hC(UB,3),fj.a=!1,wP.a=!0,gP.a=!1,hj.a=!0}function Vp(){Vp=F,uj=new fC(eS,0),cj=new fC(HB,1),oj=new fC(qB,2),sj=new fC(UB,3),uj.a=!1,cj.a=!0,oj.a=!1,sj.a=!0}function Wp(n,e,t,i){var r;return t>=0?n.Sh(e,t,i):(n.Ph()&&(i=(r=n.Fh(),r>=0?n.Ah(i):n.Ph().Th(n,-1-r,null,i))),n.Ch(e,t,i))}function fZ(n,e){switch(e){case 7:!n.e&&(n.e=new Nn(Vt,n,7,4)),me(n.e);return;case 8:!n.d&&(n.d=new Nn(Vt,n,8,5)),me(n.d);return}JY(n,e)}function ht(n,e,t){return t==null?(!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),VT(n.o,e)):(!n.o&&(n.o=new Iu((Cc(),il),T1,n,0)),Vk(n.o,e,t)),n}function pRn(n,e){Dn();var t,i,r,c;for(t=n,c=e,O(n,21)&&!O(e,21)&&(t=e,c=n),r=t.Kc();r.Ob();)if(i=r.Pb(),c.Hc(i))return!1;return!0}function j9e(n,e,t,i){if(e.at.b)return!0}return!1}function Tx(n,e){return Ai(n)?!!iQn[e]:n.Sm?!!n.Sm[e]:$b(n)?!!tQn[e]:Nb(n)?!!eQn[e]:!1}function E9e(n){var e;e=n.a;do e=u(fe(new te(re(ji(e).a.Kc(),new En))),18).c.i,e.k==(Vn(),Mi)&&n.b.Fc(e);while(e.k==(Vn(),Mi));n.b=Qo(n.b)}function mRn(n,e){var t,i,r;for(r=n,i=new te(re(ji(e).a.Kc(),new En));pe(i);)t=u(fe(i),18),t.c.i.c&&(r=y.Math.max(r,t.c.i.c.p));return r}function C9e(n,e){var t,i,r;for(r=0,i=u(u(ot(n.r,e),21),87).Kc();i.Ob();)t=u(i.Pb(),117),r+=t.d.d+t.b.Mf().b+t.d.a,i.Ob()&&(r+=n.w);return r}function M9e(n,e){var t,i,r;for(r=0,i=u(u(ot(n.r,e),21),87).Kc();i.Ob();)t=u(i.Pb(),117),r+=t.d.b+t.b.Mf().a+t.d.c,i.Ob()&&(r+=n.w);return r}function vRn(n){var e,t,i,r;if(i=0,r=aw(n),r.c.length==0)return 1;for(t=new C(r);t.a=0?n.Lh(s,t,!0):H0(n,c,t)):u(c,69).wk().yk(n,n.hi(),r,t,i)}function P9e(n,e,t,i){var r,c;c=e.pf((qe(),R2))?u(e.of(R2),21):n.j,r=d5e(c),r!=(VA(),l_)&&(t&&!tZ(r)||bnn(aMe(n,r,i),e))}function I9e(n){switch(n.g){case 1:return N0(),rj;case 3:return N0(),ij;case 2:return N0(),d_;case 4:return N0(),a_;default:return null}}function O9e(n,e,t){if(n.e)switch(n.b){case 1:yge(n.c,e,t);break;case 0:jge(n.c,e,t)}else KDn(n.c,e,t);n.a[e.p][t.p]=n.c.i,n.a[t.p][e.p]=n.c.e}function kRn(n){var e,t;if(n==null)return null;for(t=K(Qh,J,199,n.length,0,2),e=0;e=0)return r;if(n.ol()){for(i=0;i=r)throw M(new Kb(e,r));if(n.Si()&&(i=n.dd(t),i>=0&&i!=e))throw M(new Gn(Vy));return n.Xi(e,t)}function hZ(n,e){if(this.a=u(Se(n),253),this.b=u(Se(e),253),n.Ed(e)>0||n==(dD(),_K)||e==(bD(),HK))throw M(new Gn("Invalid range: "+qDn(n,e)))}function yRn(n){var e,t;for(this.b=new Z,this.c=n,this.a=!1,t=new C(n.a);t.a0),(e&-e)==e)return wi(e*to(n,31)*4656612873077393e-25);do t=to(n,31),i=t%e;while(t-i+(e-1)<0);return wi(i)}function F9e(n,e,t){switch(t.g){case 1:n.a=e.a/2,n.b=0;break;case 2:n.a=e.a,n.b=e.b/2;break;case 3:n.a=e.a/2,n.b=e.b;break;case 4:n.a=0,n.b=e.b/2}}function qk(n,e,t,i){var r,c;for(r=e;r1&&(c=L9e(n,e)),c}function CRn(n){var e;return e=$(R(z(n,(qe(),Qj))))*y.Math.sqrt((!n.a&&(n.a=new q(Qe,n,10,11)),n.a).i),new V(e,e/$(R(z(n,rO))))}function Sx(n){var e;return n.f&&n.f.Vh()&&(e=u(n.f,54),n.f=u(na(n,e),84),n.f!=e&&n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,9,8,e,n.f))),n.f}function Px(n){var e;return n.i&&n.i.Vh()&&(e=u(n.i,54),n.i=u(na(n,e),84),n.i!=e&&n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,9,7,e,n.i))),n.i}function br(n){var e;return n.b&&n.b.Db&64&&(e=n.b,n.b=u(na(n,e),19),n.b!=e&&n.Db&4&&!(n.Db&1)&&it(n,new Ci(n,9,21,e,n.b))),n.b}function uA(n,e){var t,i,r;n.d==null?(++n.e,++n.f):(i=e.Bi(),uTe(n,n.f+1),r=(i&et)%n.d.length,t=n.d[r],!t&&(t=n.d[r]=n.dk()),t.Fc(e),++n.f)}function dZ(n,e,t){var i;return e.tk()?!1:e.Ik()!=-2?(i=e.ik(),i==null?t==null:rt(i,t)):e.qk()==n.e.Dh()&&t==null}function oA(){var n;Co(16,$zn),n=sxn(16),this.b=K(UK,Cy,303,n,0,1),this.c=K(UK,Cy,303,n,0,1),this.a=null,this.e=null,this.i=0,this.f=n-1,this.g=0}function Tl(n){vV.call(this),this.k=(Vn(),zt),this.j=(Co(6,mw),new Gc(6)),this.b=(Co(2,mw),new Gc(2)),this.d=new sD,this.f=new nz,this.a=n}function R9e(n){var e,t;n.c.length<=1||(e=Sqn(n,(tn(),ae)),w_n(n,u(e.a,17).a,u(e.b,17).a),t=Sqn(n,Wn),w_n(n,u(t.a,17).a,u(t.b,17).a))}function K9e(n,e,t){var i,r;for(r=n.a.b,i=r.c.length;i102?-1:n<=57?n-48:n<65?-1:n<=70?n-65+10:n<97?-1:n-97+10}function Nx(n,e){if(n==null)throw M(new sp("null key in entry: null="+e));if(e==null)throw M(new sp("null value in entry: "+n+"=null"))}function q9e(n,e){for(var t,i;n.Ob();)if(!e.Ob()||(t=n.Pb(),i=e.Pb(),!(x(t)===x(i)||t!=null&&rt(t,i))))return!1;return!e.Ob()}function ARn(n,e){var t;return t=S(T(Pi,1),Tr,28,15,[Z$(n.a[0],e),Z$(n.a[1],e),Z$(n.a[2],e)]),n.d&&(t[0]=y.Math.max(t[0],t[2]),t[2]=t[0]),t}function SRn(n,e){var t;return t=S(T(Pi,1),Tr,28,15,[$T(n.a[0],e),$T(n.a[1],e),$T(n.a[2],e)]),n.d&&(t[0]=y.Math.max(t[0],t[2]),t[2]=t[0]),t}function wZ(n,e,t){Ep(u(v(e,(cn(),Kt)),101))||(PJ(n,e,h1(e,t)),PJ(n,e,h1(e,(tn(),ae))),PJ(n,e,h1(e,Xn)),Dn(),Yt(e.j,new N7n(n)))}function PRn(n){var e,t;for(n.c||sOe(n),t=new Mu,e=new C(n.a),E(e);e.a0&&(zn(0,e.length),e.charCodeAt(0)==43)?(zn(1,e.length+1),e.substr(1)):e))}function i7e(n){var e;return n==null?null:new H1((e=Fc(n,!0),e.length>0&&(zn(0,e.length),e.charCodeAt(0)==43)?(zn(1,e.length+1),e.substr(1)):e))}function pZ(n,e,t,i,r,c,s,f){var h,l;i&&(h=i.a[0],h&&pZ(n,e,t,h,r,c,s,f),qx(n,t,i.d,r,c,s,f)&&e.Fc(i),l=i.a[1],l&&pZ(n,e,t,l,r,c,s,f))}function Rg(n,e,t){try{return o0(C$(n,e,t),1)}catch(i){throw i=It(i),O(i,333)?M(new Ir(GB+n.o+"*"+n.p+zB+e+ur+t+XB)):M(i)}}function NRn(n,e,t){try{return o0(C$(n,e,t),0)}catch(i){throw i=It(i),O(i,333)?M(new Ir(GB+n.o+"*"+n.p+zB+e+ur+t+XB)):M(i)}}function $Rn(n,e,t){try{return o0(C$(n,e,t),2)}catch(i){throw i=It(i),O(i,333)?M(new Ir(GB+n.o+"*"+n.p+zB+e+ur+t+XB)):M(i)}}function xRn(n,e){if(n.g==-1)throw M(new Cu);n.Xj();try{n.d.hd(n.g,e),n.f=n.d.j}catch(t){throw t=It(t),O(t,77)?M(new Bo):M(t)}}function r7e(n){var e,t,i,r,c;for(i=new C(n.b);i.ac&&$t(e,c,null),e}function c7e(n,e){var t,i;if(i=n.gc(),e==null){for(t=0;t0&&(h+=r),l[a]=s,s+=f*(h+i)}function BRn(n){var e,t,i;for(i=n.f,n.n=K(Pi,Tr,28,i,15,1),n.d=K(Pi,Tr,28,i,15,1),e=0;e0?n.c:0),++r;n.b=i,n.d=c}function qRn(n,e){var t;return t=S(T(Pi,1),Tr,28,15,[aZ(n,(bf(),bc),e),aZ(n,Wc,e),aZ(n,wc,e)]),n.f&&(t[0]=y.Math.max(t[0],t[2]),t[2]=t[0]),t}function d7e(n,e,t){var i;try{xA(n,e+n.j,t+n.k,!1,!0)}catch(r){throw r=It(r),O(r,77)?(i=r,M(new Ir(i.g+iS+e+ur+t+")."))):M(r)}}function b7e(n,e,t){var i;try{xA(n,e+n.j,t+n.k,!0,!1)}catch(r){throw r=It(r),O(r,77)?(i=r,M(new Ir(i.g+iS+e+ur+t+")."))):M(r)}}function URn(n){var e;kt(n,(cn(),ab))&&(e=u(v(n,ab),21),e.Hc((lw(),Js))?(e.Mc(Js),e.Fc(Qs)):e.Hc(Qs)&&(e.Mc(Qs),e.Fc(Js)))}function GRn(n){var e;kt(n,(cn(),ab))&&(e=u(v(n,ab),21),e.Hc((lw(),Zs))?(e.Mc(Zs),e.Fc(Cs)):e.Hc(Cs)&&(e.Mc(Cs),e.Fc(Zs)))}function Kx(n,e,t,i){var r,c,s,f;return n.a==null&&gje(n,e),s=e.b.j.c.length,c=t.d.p,f=i.d.p,r=f-1,r<0&&(r=s-1),c<=r?n.a[r]-n.a[c]:n.a[s-1]-n.a[c]+n.a[r]}function w7e(n){var e,t;if(!n.b)for(n.b=RM(u(n.f,27).kh().i),t=new ne(u(n.f,27).kh());t.e!=t.i.gc();)e=u(ce(t),135),nn(n.b,new pD(e));return n.b}function g7e(n){var e,t;if(!n.e)for(n.e=RM(mN(u(n.f,27)).i),t=new ne(mN(u(n.f,27)));t.e!=t.i.gc();)e=u(ce(t),123),nn(n.e,new Bkn(e));return n.e}function zRn(n){var e,t;if(!n.a)for(n.a=RM(AM(u(n.f,27)).i),t=new ne(AM(u(n.f,27)));t.e!=t.i.gc();)e=u(ce(t),27),nn(n.a,new ML(n,e));return n.a}function K0(n){var e;if(!n.C&&(n.D!=null||n.B!=null))if(e=iDe(n),e)n.hl(e);else try{n.hl(null)}catch(t){if(t=It(t),!O(t,63))throw M(t)}return n.C}function p7e(n){switch(n.q.g){case 5:gKn(n,(tn(),Xn)),gKn(n,ae);break;case 4:mGn(n,(tn(),Xn)),mGn(n,ae);break;default:y_n(n,(tn(),Xn)),y_n(n,ae)}}function m7e(n){switch(n.q.g){case 5:pKn(n,(tn(),Zn)),pKn(n,Wn);break;case 4:vGn(n,(tn(),Zn)),vGn(n,Wn);break;default:j_n(n,(tn(),Zn)),j_n(n,Wn)}}function Kg(n,e){var t,i,r;for(r=new Li,i=n.Kc();i.Ob();)t=u(i.Pb(),36),Sm(t,r.a,0),r.a+=t.f.a+e,r.b=y.Math.max(r.b,t.f.b);return r.b>0&&(r.b+=e),r}function hA(n,e){var t,i,r;for(r=new Li,i=n.Kc();i.Ob();)t=u(i.Pb(),36),Sm(t,0,r.b),r.b+=t.f.b+e,r.a=y.Math.max(r.a,t.f.a);return r.a>0&&(r.a+=e),r}function XRn(n){var e,t,i;for(i=et,t=new C(n.a);t.a>16==6?n.Cb.Th(n,5,jf,e):(i=br(u($n((t=u(Un(n,16),29),t||n.ii()),n.Db>>16),19)),n.Cb.Th(n,i.n,i.f,e))}function v7e(n){O4();var e=n.e;if(e&&e.stack){var t=e.stack,i=e+` `;return t.substring(0,i.length)==i&&(t=t.substring(i.length)),t.split(` diff --git a/starter/src/main/resources/static/notebase/assets/ganttDiagram-c361ad54-DHboeplh.js b/deploy/server/notebase/assets/ganttDiagram-c361ad54-BfwOPup8.js similarity index 99% rename from starter/src/main/resources/static/notebase/assets/ganttDiagram-c361ad54-DHboeplh.js rename to deploy/server/notebase/assets/ganttDiagram-c361ad54-BfwOPup8.js index 6cf7046352..3ca8ee243f 100644 --- a/starter/src/main/resources/static/notebase/assets/ganttDiagram-c361ad54-DHboeplh.js +++ b/deploy/server/notebase/assets/ganttDiagram-c361ad54-BfwOPup8.js @@ -1,4 +1,4 @@ -import{H as Re,I as ze,R as Be,J as qe,K as bn,L as $t,M as vn,c as wt,s as xn,g as wn,A as Cn,B as Dn,b as Mn,a as _n,C as Sn,m as Un,l as Xt,h as Rt,i as Fn,j as En,y as An}from"./mermaid.core-FIymlv9x.js";import{m as K,y as In,z as Ln,A as Yn}from"./index-BtAN2wrW.js";import{b as Wn,t as _e,c as Nn,a as Hn,l as On}from"./linear-BhlQwjXr.js";import{i as Vn}from"./init-Gi6I4Gst.js";function Pn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n=i)&&(n=i)}return n}function Rn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function zn(t){return t}var Bt=1,te=2,ue=3,zt=4,Se=1e-6;function Bn(t){return"translate("+t+",0)"}function qn(t){return"translate(0,"+t+")"}function Zn(t){return e=>+t(e)}function Xn(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function jn(){return!this.__axis}function Ze(t,e){var n=[],r=null,i=null,s=6,a=6,D=3,S=typeof window<"u"&&window.devicePixelRatio>1?0:.5,x=t===Bt||t===zt?-1:1,T=t===zt||t===te?"x":"y",I=t===Bt||t===ue?Bn:qn;function w(y){var R=r??(e.ticks?e.ticks.apply(e,n):e.domain()),E=i??(e.tickFormat?e.tickFormat.apply(e,n):zn),tt=Math.max(s,0)+D,nt=e.range(),et=+nt[0]+S,q=+nt[nt.length-1]+S,Z=(e.bandwidth?Xn:Zn)(e.copy(),S),$=y.selection?y.selection():y,p=$.selectAll(".domain").data([null]),O=$.selectAll(".tick").data(R,e).order(),k=O.exit(),U=O.enter().append("g").attr("class","tick"),_=O.select("line"),b=O.select("text");p=p.merge(p.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),O=O.merge(U),_=_.merge(U.append("line").attr("stroke","currentColor").attr(T+"2",x*s)),b=b.merge(U.append("text").attr("fill","currentColor").attr(T,x*tt).attr("dy",t===Bt?"0em":t===ue?"0.71em":"0.32em")),y!==$&&(p=p.transition(y),O=O.transition(y),_=_.transition(y),b=b.transition(y),k=k.transition(y).attr("opacity",Se).attr("transform",function(c){return isFinite(c=Z(c))?I(c+S):this.getAttribute("transform")}),U.attr("opacity",Se).attr("transform",function(c){var d=this.parentNode.__axis;return I((d&&isFinite(d=d(c))?d:Z(c))+S)})),k.remove(),p.attr("d",t===zt||t===te?a?"M"+x*a+","+et+"H"+S+"V"+q+"H"+x*a:"M"+S+","+et+"V"+q:a?"M"+et+","+x*a+"V"+S+"H"+q+"V"+x*a:"M"+et+","+S+"H"+q),O.attr("opacity",1).attr("transform",function(c){return I(Z(c)+S)}),_.attr(T+"2",x*s),b.attr(T,x*tt).text(E),$.filter(jn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===te?"start":t===zt?"end":"middle"),$.each(function(){this.__axis=Z})}return w.scale=function(y){return arguments.length?(e=y,w):e},w.ticks=function(){return n=Array.from(arguments),w},w.tickArguments=function(y){return arguments.length?(n=y==null?[]:Array.from(y),w):n.slice()},w.tickValues=function(y){return arguments.length?(r=y==null?null:Array.from(y),w):r&&r.slice()},w.tickFormat=function(y){return arguments.length?(i=y,w):i},w.tickSize=function(y){return arguments.length?(s=a=+y,w):s},w.tickSizeInner=function(y){return arguments.length?(s=+y,w):s},w.tickSizeOuter=function(y){return arguments.length?(a=+y,w):a},w.tickPadding=function(y){return arguments.length?(D=+y,w):D},w.offset=function(y){return arguments.length?(S=+y,w):S},w}function Qn(t){return Ze(Bt,t)}function Jn(t){return Ze(ue,t)}const Gn=Math.PI/180,Kn=180/Math.PI,jt=18,Xe=.96422,je=1,Qe=.82521,Je=4/29,Ct=6/29,Ge=3*Ct*Ct,$n=Ct*Ct*Ct;function Ke(t){if(t instanceof st)return new st(t.l,t.a,t.b,t.opacity);if(t instanceof ct)return $e(t);t instanceof Be||(t=bn(t));var e=ie(t.r),n=ie(t.g),r=ie(t.b),i=ee((.2225045*e+.7168786*n+.0606169*r)/je),s,a;return e===n&&n===r?s=a=i:(s=ee((.4360747*e+.3850649*n+.1430804*r)/Xe),a=ee((.0139322*e+.0971045*n+.7141733*r)/Qe)),new st(116*i-16,500*(s-i),200*(i-a),t.opacity)}function tr(t,e,n,r){return arguments.length===1?Ke(t):new st(t,e,n,r??1)}function st(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}Re(st,tr,ze(qe,{brighter(t){return new st(this.l+jt*(t??1),this.a,this.b,this.opacity)},darker(t){return new st(this.l-jt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=Xe*ne(e),t=je*ne(t),n=Qe*ne(n),new Be(re(3.1338561*e-1.6168667*t-.4906146*n),re(-.9787684*e+1.9161415*t+.033454*n),re(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ee(t){return t>$n?Math.pow(t,1/3):t/Ge+Je}function ne(t){return t>Ct?t*t*t:Ge*(t-Je)}function re(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ie(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function er(t){if(t instanceof ct)return new ct(t.h,t.c,t.l,t.opacity);if(t instanceof st||(t=Ke(t)),t.a===0&&t.b===0)return new ct(NaN,0(t(s=new Date(+s)),s),i.ceil=s=>(t(s=new Date(s-1)),e(s,1),t(s),s),i.round=s=>{const a=i(s),D=i.ceil(s);return s-a(e(s=new Date(+s),a==null?1:Math.floor(a)),s),i.range=(s,a,D)=>{const S=[];if(s=i.ceil(s),D=D==null?1:Math.floor(D),!(s0))return S;let x;do S.push(x=new Date(+s)),e(s,D),t(s);while(xj(a=>{if(a>=a)for(;t(a),!s(a);)a.setTime(a-1)},(a,D)=>{if(a>=a)if(D<0)for(;++D<=0;)for(;e(a,-1),!s(a););else for(;--D>=0;)for(;e(a,1),!s(a););}),n&&(i.count=(s,a)=>(se.setTime(+s),ae.setTime(+a),t(se),t(ae),Math.floor(n(se,ae))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?a=>r(a)%s===0:a=>i.count(0,a)%s===0):i)),i}const Mt=j(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Mt.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?j(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Mt);Mt.range;const lt=1e3,rt=lt*60,ut=rt*60,ft=ut*24,ye=ft*7,Ue=ft*30,oe=ft*365,dt=j(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*lt)},(t,e)=>(e-t)/lt,t=>t.getUTCSeconds());dt.range;const It=j(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*lt)},(t,e)=>{t.setTime(+t+e*rt)},(t,e)=>(e-t)/rt,t=>t.getMinutes());It.range;const sr=j(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*rt)},(t,e)=>(e-t)/rt,t=>t.getUTCMinutes());sr.range;const Lt=j(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*lt-t.getMinutes()*rt)},(t,e)=>{t.setTime(+t+e*ut)},(t,e)=>(e-t)/ut,t=>t.getHours());Lt.range;const ar=j(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*ut)},(t,e)=>(e-t)/ut,t=>t.getUTCHours());ar.range;const yt=j(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*rt)/ft,t=>t.getDate()-1);yt.range;const ke=j(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ft,t=>t.getUTCDate()-1);ke.range;const or=j(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ft,t=>Math.floor(t/ft));or.range;function Tt(t){return j(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*rt)/ye)}const Nt=Tt(0),Yt=Tt(1),tn=Tt(2),en=Tt(3),kt=Tt(4),nn=Tt(5),rn=Tt(6);Nt.range;Yt.range;tn.range;en.range;kt.range;nn.range;rn.range;function bt(t){return j(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/ye)}const sn=bt(0),Qt=bt(1),cr=bt(2),lr=bt(3),_t=bt(4),ur=bt(5),fr=bt(6);sn.range;Qt.range;cr.range;lr.range;_t.range;ur.range;fr.range;const Wt=j(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Wt.range;const hr=j(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());hr.range;const ht=j(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());ht.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:j(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});ht.range;const pt=j(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());pt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:j(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});pt.range;function dr(t,e,n,r,i,s){const a=[[dt,1,lt],[dt,5,5*lt],[dt,15,15*lt],[dt,30,30*lt],[s,1,rt],[s,5,5*rt],[s,15,15*rt],[s,30,30*rt],[i,1,ut],[i,3,3*ut],[i,6,6*ut],[i,12,12*ut],[r,1,ft],[r,2,2*ft],[n,1,ye],[e,1,Ue],[e,3,3*Ue],[t,1,oe]];function D(x,T,I){const w=Ttt).right(a,w);if(y===a.length)return t.every(_e(x/oe,T/oe,I));if(y===0)return Mt.every(Math.max(_e(x,T,I),1));const[R,E]=a[w/a[y-1][2]53)return null;"w"in l||(l.w=1),"Z"in l?(H=le(Ft(l.y,0,1)),B=H.getUTCDay(),H=B>4||B===0?Qt.ceil(H):Qt(H),H=ke.offset(H,(l.V-1)*7),l.y=H.getUTCFullYear(),l.m=H.getUTCMonth(),l.d=H.getUTCDate()+(l.w+6)%7):(H=ce(Ft(l.y,0,1)),B=H.getDay(),H=B>4||B===0?Yt.ceil(H):Yt(H),H=yt.offset(H,(l.V-1)*7),l.y=H.getFullYear(),l.m=H.getMonth(),l.d=H.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),B="Z"in l?le(Ft(l.y,0,1)).getUTCDay():ce(Ft(l.y,0,1)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+l.W*7-(B+5)%7:l.w+l.U*7-(B+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,le(l)):ce(l)}}function k(g,F,v,l){for(var V=0,H=F.length,B=v.length,Q,G;V=B)return-1;if(Q=F.charCodeAt(V++),Q===37){if(Q=F.charAt(V++),G=$[Q in Fe?F.charAt(V++):Q],!G||(l=G(g,v,l))<0)return-1}else if(Q!=v.charCodeAt(l++))return-1}return l}function U(g,F,v){var l=x.exec(F.slice(v));return l?(g.p=T.get(l[0].toLowerCase()),v+l[0].length):-1}function _(g,F,v){var l=y.exec(F.slice(v));return l?(g.w=R.get(l[0].toLowerCase()),v+l[0].length):-1}function b(g,F,v){var l=I.exec(F.slice(v));return l?(g.w=w.get(l[0].toLowerCase()),v+l[0].length):-1}function c(g,F,v){var l=nt.exec(F.slice(v));return l?(g.m=et.get(l[0].toLowerCase()),v+l[0].length):-1}function d(g,F,v){var l=E.exec(F.slice(v));return l?(g.m=tt.get(l[0].toLowerCase()),v+l[0].length):-1}function m(g,F,v){return k(g,e,F,v)}function u(g,F,v){return k(g,n,F,v)}function C(g,F,v){return k(g,r,F,v)}function o(g){return a[g.getDay()]}function z(g){return s[g.getDay()]}function h(g){return S[g.getMonth()]}function f(g){return D[g.getMonth()]}function M(g){return i[+(g.getHours()>=12)]}function P(g){return 1+~~(g.getMonth()/3)}function L(g){return a[g.getUTCDay()]}function W(g){return s[g.getUTCDay()]}function A(g){return S[g.getUTCMonth()]}function N(g){return D[g.getUTCMonth()]}function mt(g){return i[+(g.getUTCHours()>=12)]}function gt(g){return 1+~~(g.getUTCMonth()/3)}return{format:function(g){var F=p(g+="",q);return F.toString=function(){return g},F},parse:function(g){var F=O(g+="",!1);return F.toString=function(){return g},F},utcFormat:function(g){var F=p(g+="",Z);return F.toString=function(){return g},F},utcParse:function(g){var F=O(g+="",!0);return F.toString=function(){return g},F}}}var Fe={"-":"",_:" ",0:"0"},J=/^\s*\d+/,kr=/^%/,pr=/[\\^$*+?|[\]().{}]/g;function Y(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",s=i.length;return r+(s[e.toLowerCase(),n]))}function br(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function vr(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function xr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function wr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Cr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ee(t,e,n){var r=J.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ae(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Dr(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Mr(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function _r(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ie(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Sr(t,e,n){var r=J.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Le(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Ur(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Fr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=J.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Ar(t,e,n){var r=J.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ir(t,e,n){var r=kr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Lr(t,e,n){var r=J.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Yr(t,e,n){var r=J.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Ye(t,e){return Y(t.getDate(),e,2)}function Wr(t,e){return Y(t.getHours(),e,2)}function Nr(t,e){return Y(t.getHours()%12||12,e,2)}function Hr(t,e){return Y(1+yt.count(ht(t),t),e,3)}function an(t,e){return Y(t.getMilliseconds(),e,3)}function Or(t,e){return an(t,e)+"000"}function Vr(t,e){return Y(t.getMonth()+1,e,2)}function Pr(t,e){return Y(t.getMinutes(),e,2)}function Rr(t,e){return Y(t.getSeconds(),e,2)}function zr(t){var e=t.getDay();return e===0?7:e}function Br(t,e){return Y(Nt.count(ht(t)-1,t),e,2)}function on(t){var e=t.getDay();return e>=4||e===0?kt(t):kt.ceil(t)}function qr(t,e){return t=on(t),Y(kt.count(ht(t),t)+(ht(t).getDay()===4),e,2)}function Zr(t){return t.getDay()}function Xr(t,e){return Y(Yt.count(ht(t)-1,t),e,2)}function jr(t,e){return Y(t.getFullYear()%100,e,2)}function Qr(t,e){return t=on(t),Y(t.getFullYear()%100,e,2)}function Jr(t,e){return Y(t.getFullYear()%1e4,e,4)}function Gr(t,e){var n=t.getDay();return t=n>=4||n===0?kt(t):kt.ceil(t),Y(t.getFullYear()%1e4,e,4)}function Kr(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Y(e/60|0,"0",2)+Y(e%60,"0",2)}function We(t,e){return Y(t.getUTCDate(),e,2)}function $r(t,e){return Y(t.getUTCHours(),e,2)}function ti(t,e){return Y(t.getUTCHours()%12||12,e,2)}function ei(t,e){return Y(1+ke.count(pt(t),t),e,3)}function cn(t,e){return Y(t.getUTCMilliseconds(),e,3)}function ni(t,e){return cn(t,e)+"000"}function ri(t,e){return Y(t.getUTCMonth()+1,e,2)}function ii(t,e){return Y(t.getUTCMinutes(),e,2)}function si(t,e){return Y(t.getUTCSeconds(),e,2)}function ai(t){var e=t.getUTCDay();return e===0?7:e}function oi(t,e){return Y(sn.count(pt(t)-1,t),e,2)}function ln(t){var e=t.getUTCDay();return e>=4||e===0?_t(t):_t.ceil(t)}function ci(t,e){return t=ln(t),Y(_t.count(pt(t),t)+(pt(t).getUTCDay()===4),e,2)}function li(t){return t.getUTCDay()}function ui(t,e){return Y(Qt.count(pt(t)-1,t),e,2)}function fi(t,e){return Y(t.getUTCFullYear()%100,e,2)}function hi(t,e){return t=ln(t),Y(t.getUTCFullYear()%100,e,2)}function di(t,e){return Y(t.getUTCFullYear()%1e4,e,4)}function mi(t,e){var n=t.getUTCDay();return t=n>=4||n===0?_t(t):_t.ceil(t),Y(t.getUTCFullYear()%1e4,e,4)}function gi(){return"+0000"}function Ne(){return"%"}function He(t){return+t}function Oe(t){return Math.floor(+t/1e3)}var xt,Jt;yi({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function yi(t){return xt=yr(t),Jt=xt.format,xt.parse,xt.utcFormat,xt.utcParse,xt}function ki(t){return new Date(t)}function pi(t){return t instanceof Date?+t:+new Date(+t)}function un(t,e,n,r,i,s,a,D,S,x){var T=Nn(),I=T.invert,w=T.domain,y=x(".%L"),R=x(":%S"),E=x("%I:%M"),tt=x("%I %p"),nt=x("%a %d"),et=x("%b %d"),q=x("%B"),Z=x("%Y");function $(p){return(S(p)"u"&&(A.yylloc={});var gt=A.yylloc;o.push(gt);var g=A.options&&A.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function F(){var at;return at=u.pop()||A.lex()||L,typeof at!="number"&&(at instanceof Array&&(u=at,at=u.pop()),at=d.symbols_[at]||at),at}for(var v,l,V,H,B={},Q,G,Ut,Pt;;){if(l=m[m.length-1],this.defaultActions[l]?V=this.defaultActions[l]:((v===null||typeof v>"u")&&(v=F()),V=z[l]&&z[l][v]),typeof V>"u"||!V.length||!V[0]){var Kt="";Pt=[];for(Q in z[l])this.terminals_[Q]&&Q>P&&Pt.push("'"+this.terminals_[Q]+"'");A.showPosition?Kt="Parse error on line "+(f+1)+`: +import{H as Re,I as ze,R as Be,J as qe,K as bn,L as $t,M as vn,c as wt,s as xn,g as wn,A as Cn,B as Dn,b as Mn,a as _n,C as Sn,m as Un,l as Xt,h as Rt,i as Fn,j as En,y as An}from"./mermaid.core-BAvrjf3l.js";import{m as K,y as In,z as Ln,A as Yn}from"./index-D31-yJHm.js";import{b as Wn,t as _e,c as Nn,a as Hn,l as On}from"./linear-CtvYWXGN.js";import{i as Vn}from"./init-Gi6I4Gst.js";function Pn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n=i)&&(n=i)}return n}function Rn(t,e){let n;if(e===void 0)for(const r of t)r!=null&&(n>r||n===void 0&&r>=r)&&(n=r);else{let r=-1;for(let i of t)(i=e(i,++r,t))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function zn(t){return t}var Bt=1,te=2,ue=3,zt=4,Se=1e-6;function Bn(t){return"translate("+t+",0)"}function qn(t){return"translate(0,"+t+")"}function Zn(t){return e=>+t(e)}function Xn(t,e){return e=Math.max(0,t.bandwidth()-e*2)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function jn(){return!this.__axis}function Ze(t,e){var n=[],r=null,i=null,s=6,a=6,D=3,S=typeof window<"u"&&window.devicePixelRatio>1?0:.5,x=t===Bt||t===zt?-1:1,T=t===zt||t===te?"x":"y",I=t===Bt||t===ue?Bn:qn;function w(y){var R=r??(e.ticks?e.ticks.apply(e,n):e.domain()),E=i??(e.tickFormat?e.tickFormat.apply(e,n):zn),tt=Math.max(s,0)+D,nt=e.range(),et=+nt[0]+S,q=+nt[nt.length-1]+S,Z=(e.bandwidth?Xn:Zn)(e.copy(),S),$=y.selection?y.selection():y,p=$.selectAll(".domain").data([null]),O=$.selectAll(".tick").data(R,e).order(),k=O.exit(),U=O.enter().append("g").attr("class","tick"),_=O.select("line"),b=O.select("text");p=p.merge(p.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),O=O.merge(U),_=_.merge(U.append("line").attr("stroke","currentColor").attr(T+"2",x*s)),b=b.merge(U.append("text").attr("fill","currentColor").attr(T,x*tt).attr("dy",t===Bt?"0em":t===ue?"0.71em":"0.32em")),y!==$&&(p=p.transition(y),O=O.transition(y),_=_.transition(y),b=b.transition(y),k=k.transition(y).attr("opacity",Se).attr("transform",function(c){return isFinite(c=Z(c))?I(c+S):this.getAttribute("transform")}),U.attr("opacity",Se).attr("transform",function(c){var d=this.parentNode.__axis;return I((d&&isFinite(d=d(c))?d:Z(c))+S)})),k.remove(),p.attr("d",t===zt||t===te?a?"M"+x*a+","+et+"H"+S+"V"+q+"H"+x*a:"M"+S+","+et+"V"+q:a?"M"+et+","+x*a+"V"+S+"H"+q+"V"+x*a:"M"+et+","+S+"H"+q),O.attr("opacity",1).attr("transform",function(c){return I(Z(c)+S)}),_.attr(T+"2",x*s),b.attr(T,x*tt).text(E),$.filter(jn).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===te?"start":t===zt?"end":"middle"),$.each(function(){this.__axis=Z})}return w.scale=function(y){return arguments.length?(e=y,w):e},w.ticks=function(){return n=Array.from(arguments),w},w.tickArguments=function(y){return arguments.length?(n=y==null?[]:Array.from(y),w):n.slice()},w.tickValues=function(y){return arguments.length?(r=y==null?null:Array.from(y),w):r&&r.slice()},w.tickFormat=function(y){return arguments.length?(i=y,w):i},w.tickSize=function(y){return arguments.length?(s=a=+y,w):s},w.tickSizeInner=function(y){return arguments.length?(s=+y,w):s},w.tickSizeOuter=function(y){return arguments.length?(a=+y,w):a},w.tickPadding=function(y){return arguments.length?(D=+y,w):D},w.offset=function(y){return arguments.length?(S=+y,w):S},w}function Qn(t){return Ze(Bt,t)}function Jn(t){return Ze(ue,t)}const Gn=Math.PI/180,Kn=180/Math.PI,jt=18,Xe=.96422,je=1,Qe=.82521,Je=4/29,Ct=6/29,Ge=3*Ct*Ct,$n=Ct*Ct*Ct;function Ke(t){if(t instanceof st)return new st(t.l,t.a,t.b,t.opacity);if(t instanceof ct)return $e(t);t instanceof Be||(t=bn(t));var e=ie(t.r),n=ie(t.g),r=ie(t.b),i=ee((.2225045*e+.7168786*n+.0606169*r)/je),s,a;return e===n&&n===r?s=a=i:(s=ee((.4360747*e+.3850649*n+.1430804*r)/Xe),a=ee((.0139322*e+.0971045*n+.7141733*r)/Qe)),new st(116*i-16,500*(s-i),200*(i-a),t.opacity)}function tr(t,e,n,r){return arguments.length===1?Ke(t):new st(t,e,n,r??1)}function st(t,e,n,r){this.l=+t,this.a=+e,this.b=+n,this.opacity=+r}Re(st,tr,ze(qe,{brighter(t){return new st(this.l+jt*(t??1),this.a,this.b,this.opacity)},darker(t){return new st(this.l-jt*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=Xe*ne(e),t=je*ne(t),n=Qe*ne(n),new Be(re(3.1338561*e-1.6168667*t-.4906146*n),re(-.9787684*e+1.9161415*t+.033454*n),re(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function ee(t){return t>$n?Math.pow(t,1/3):t/Ge+Je}function ne(t){return t>Ct?t*t*t:Ge*(t-Je)}function re(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ie(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function er(t){if(t instanceof ct)return new ct(t.h,t.c,t.l,t.opacity);if(t instanceof st||(t=Ke(t)),t.a===0&&t.b===0)return new ct(NaN,0(t(s=new Date(+s)),s),i.ceil=s=>(t(s=new Date(s-1)),e(s,1),t(s),s),i.round=s=>{const a=i(s),D=i.ceil(s);return s-a(e(s=new Date(+s),a==null?1:Math.floor(a)),s),i.range=(s,a,D)=>{const S=[];if(s=i.ceil(s),D=D==null?1:Math.floor(D),!(s0))return S;let x;do S.push(x=new Date(+s)),e(s,D),t(s);while(xj(a=>{if(a>=a)for(;t(a),!s(a);)a.setTime(a-1)},(a,D)=>{if(a>=a)if(D<0)for(;++D<=0;)for(;e(a,-1),!s(a););else for(;--D>=0;)for(;e(a,1),!s(a););}),n&&(i.count=(s,a)=>(se.setTime(+s),ae.setTime(+a),t(se),t(ae),Math.floor(n(se,ae))),i.every=s=>(s=Math.floor(s),!isFinite(s)||!(s>0)?null:s>1?i.filter(r?a=>r(a)%s===0:a=>i.count(0,a)%s===0):i)),i}const Mt=j(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);Mt.every=t=>(t=Math.floor(t),!isFinite(t)||!(t>0)?null:t>1?j(e=>{e.setTime(Math.floor(e/t)*t)},(e,n)=>{e.setTime(+e+n*t)},(e,n)=>(n-e)/t):Mt);Mt.range;const lt=1e3,rt=lt*60,ut=rt*60,ft=ut*24,ye=ft*7,Ue=ft*30,oe=ft*365,dt=j(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+e*lt)},(t,e)=>(e-t)/lt,t=>t.getUTCSeconds());dt.range;const It=j(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*lt)},(t,e)=>{t.setTime(+t+e*rt)},(t,e)=>(e-t)/rt,t=>t.getMinutes());It.range;const sr=j(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+e*rt)},(t,e)=>(e-t)/rt,t=>t.getUTCMinutes());sr.range;const Lt=j(t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*lt-t.getMinutes()*rt)},(t,e)=>{t.setTime(+t+e*ut)},(t,e)=>(e-t)/ut,t=>t.getHours());Lt.range;const ar=j(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+e*ut)},(t,e)=>(e-t)/ut,t=>t.getUTCHours());ar.range;const yt=j(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*rt)/ft,t=>t.getDate()-1);yt.range;const ke=j(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ft,t=>t.getUTCDate()-1);ke.range;const or=j(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/ft,t=>Math.floor(t/ft));or.range;function Tt(t){return j(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(e,n)=>{e.setDate(e.getDate()+n*7)},(e,n)=>(n-e-(n.getTimezoneOffset()-e.getTimezoneOffset())*rt)/ye)}const Nt=Tt(0),Yt=Tt(1),tn=Tt(2),en=Tt(3),kt=Tt(4),nn=Tt(5),rn=Tt(6);Nt.range;Yt.range;tn.range;en.range;kt.range;nn.range;rn.range;function bt(t){return j(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCDate(e.getUTCDate()+n*7)},(e,n)=>(n-e)/ye)}const sn=bt(0),Qt=bt(1),cr=bt(2),lr=bt(3),_t=bt(4),ur=bt(5),fr=bt(6);sn.range;Qt.range;cr.range;lr.range;_t.range;ur.range;fr.range;const Wt=j(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());Wt.range;const hr=j(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());hr.range;const ht=j(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());ht.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:j(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,n)=>{e.setFullYear(e.getFullYear()+n*t)});ht.range;const pt=j(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());pt.every=t=>!isFinite(t=Math.floor(t))||!(t>0)?null:j(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)});pt.range;function dr(t,e,n,r,i,s){const a=[[dt,1,lt],[dt,5,5*lt],[dt,15,15*lt],[dt,30,30*lt],[s,1,rt],[s,5,5*rt],[s,15,15*rt],[s,30,30*rt],[i,1,ut],[i,3,3*ut],[i,6,6*ut],[i,12,12*ut],[r,1,ft],[r,2,2*ft],[n,1,ye],[e,1,Ue],[e,3,3*Ue],[t,1,oe]];function D(x,T,I){const w=Ttt).right(a,w);if(y===a.length)return t.every(_e(x/oe,T/oe,I));if(y===0)return Mt.every(Math.max(_e(x,T,I),1));const[R,E]=a[w/a[y-1][2]53)return null;"w"in l||(l.w=1),"Z"in l?(H=le(Ft(l.y,0,1)),B=H.getUTCDay(),H=B>4||B===0?Qt.ceil(H):Qt(H),H=ke.offset(H,(l.V-1)*7),l.y=H.getUTCFullYear(),l.m=H.getUTCMonth(),l.d=H.getUTCDate()+(l.w+6)%7):(H=ce(Ft(l.y,0,1)),B=H.getDay(),H=B>4||B===0?Yt.ceil(H):Yt(H),H=yt.offset(H,(l.V-1)*7),l.y=H.getFullYear(),l.m=H.getMonth(),l.d=H.getDate()+(l.w+6)%7)}else("W"in l||"U"in l)&&("w"in l||(l.w="u"in l?l.u%7:"W"in l?1:0),B="Z"in l?le(Ft(l.y,0,1)).getUTCDay():ce(Ft(l.y,0,1)).getDay(),l.m=0,l.d="W"in l?(l.w+6)%7+l.W*7-(B+5)%7:l.w+l.U*7-(B+6)%7);return"Z"in l?(l.H+=l.Z/100|0,l.M+=l.Z%100,le(l)):ce(l)}}function k(g,F,v,l){for(var V=0,H=F.length,B=v.length,Q,G;V=B)return-1;if(Q=F.charCodeAt(V++),Q===37){if(Q=F.charAt(V++),G=$[Q in Fe?F.charAt(V++):Q],!G||(l=G(g,v,l))<0)return-1}else if(Q!=v.charCodeAt(l++))return-1}return l}function U(g,F,v){var l=x.exec(F.slice(v));return l?(g.p=T.get(l[0].toLowerCase()),v+l[0].length):-1}function _(g,F,v){var l=y.exec(F.slice(v));return l?(g.w=R.get(l[0].toLowerCase()),v+l[0].length):-1}function b(g,F,v){var l=I.exec(F.slice(v));return l?(g.w=w.get(l[0].toLowerCase()),v+l[0].length):-1}function c(g,F,v){var l=nt.exec(F.slice(v));return l?(g.m=et.get(l[0].toLowerCase()),v+l[0].length):-1}function d(g,F,v){var l=E.exec(F.slice(v));return l?(g.m=tt.get(l[0].toLowerCase()),v+l[0].length):-1}function m(g,F,v){return k(g,e,F,v)}function u(g,F,v){return k(g,n,F,v)}function C(g,F,v){return k(g,r,F,v)}function o(g){return a[g.getDay()]}function z(g){return s[g.getDay()]}function h(g){return S[g.getMonth()]}function f(g){return D[g.getMonth()]}function M(g){return i[+(g.getHours()>=12)]}function P(g){return 1+~~(g.getMonth()/3)}function L(g){return a[g.getUTCDay()]}function W(g){return s[g.getUTCDay()]}function A(g){return S[g.getUTCMonth()]}function N(g){return D[g.getUTCMonth()]}function mt(g){return i[+(g.getUTCHours()>=12)]}function gt(g){return 1+~~(g.getUTCMonth()/3)}return{format:function(g){var F=p(g+="",q);return F.toString=function(){return g},F},parse:function(g){var F=O(g+="",!1);return F.toString=function(){return g},F},utcFormat:function(g){var F=p(g+="",Z);return F.toString=function(){return g},F},utcParse:function(g){var F=O(g+="",!0);return F.toString=function(){return g},F}}}var Fe={"-":"",_:" ",0:"0"},J=/^\s*\d+/,kr=/^%/,pr=/[\\^$*+?|[\]().{}]/g;function Y(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",s=i.length;return r+(s[e.toLowerCase(),n]))}function br(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function vr(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function xr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function wr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function Cr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function Ee(t,e,n){var r=J.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function Ae(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Dr(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Mr(t,e,n){var r=J.exec(e.slice(n,n+1));return r?(t.q=r[0]*3-3,n+r[0].length):-1}function _r(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function Ie(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function Sr(t,e,n){var r=J.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function Le(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function Ur(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Fr(t,e,n){var r=J.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Er(t,e,n){var r=J.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Ar(t,e,n){var r=J.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Ir(t,e,n){var r=kr.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function Lr(t,e,n){var r=J.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function Yr(t,e,n){var r=J.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function Ye(t,e){return Y(t.getDate(),e,2)}function Wr(t,e){return Y(t.getHours(),e,2)}function Nr(t,e){return Y(t.getHours()%12||12,e,2)}function Hr(t,e){return Y(1+yt.count(ht(t),t),e,3)}function an(t,e){return Y(t.getMilliseconds(),e,3)}function Or(t,e){return an(t,e)+"000"}function Vr(t,e){return Y(t.getMonth()+1,e,2)}function Pr(t,e){return Y(t.getMinutes(),e,2)}function Rr(t,e){return Y(t.getSeconds(),e,2)}function zr(t){var e=t.getDay();return e===0?7:e}function Br(t,e){return Y(Nt.count(ht(t)-1,t),e,2)}function on(t){var e=t.getDay();return e>=4||e===0?kt(t):kt.ceil(t)}function qr(t,e){return t=on(t),Y(kt.count(ht(t),t)+(ht(t).getDay()===4),e,2)}function Zr(t){return t.getDay()}function Xr(t,e){return Y(Yt.count(ht(t)-1,t),e,2)}function jr(t,e){return Y(t.getFullYear()%100,e,2)}function Qr(t,e){return t=on(t),Y(t.getFullYear()%100,e,2)}function Jr(t,e){return Y(t.getFullYear()%1e4,e,4)}function Gr(t,e){var n=t.getDay();return t=n>=4||n===0?kt(t):kt.ceil(t),Y(t.getFullYear()%1e4,e,4)}function Kr(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Y(e/60|0,"0",2)+Y(e%60,"0",2)}function We(t,e){return Y(t.getUTCDate(),e,2)}function $r(t,e){return Y(t.getUTCHours(),e,2)}function ti(t,e){return Y(t.getUTCHours()%12||12,e,2)}function ei(t,e){return Y(1+ke.count(pt(t),t),e,3)}function cn(t,e){return Y(t.getUTCMilliseconds(),e,3)}function ni(t,e){return cn(t,e)+"000"}function ri(t,e){return Y(t.getUTCMonth()+1,e,2)}function ii(t,e){return Y(t.getUTCMinutes(),e,2)}function si(t,e){return Y(t.getUTCSeconds(),e,2)}function ai(t){var e=t.getUTCDay();return e===0?7:e}function oi(t,e){return Y(sn.count(pt(t)-1,t),e,2)}function ln(t){var e=t.getUTCDay();return e>=4||e===0?_t(t):_t.ceil(t)}function ci(t,e){return t=ln(t),Y(_t.count(pt(t),t)+(pt(t).getUTCDay()===4),e,2)}function li(t){return t.getUTCDay()}function ui(t,e){return Y(Qt.count(pt(t)-1,t),e,2)}function fi(t,e){return Y(t.getUTCFullYear()%100,e,2)}function hi(t,e){return t=ln(t),Y(t.getUTCFullYear()%100,e,2)}function di(t,e){return Y(t.getUTCFullYear()%1e4,e,4)}function mi(t,e){var n=t.getUTCDay();return t=n>=4||n===0?_t(t):_t.ceil(t),Y(t.getUTCFullYear()%1e4,e,4)}function gi(){return"+0000"}function Ne(){return"%"}function He(t){return+t}function Oe(t){return Math.floor(+t/1e3)}var xt,Jt;yi({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});function yi(t){return xt=yr(t),Jt=xt.format,xt.parse,xt.utcFormat,xt.utcParse,xt}function ki(t){return new Date(t)}function pi(t){return t instanceof Date?+t:+new Date(+t)}function un(t,e,n,r,i,s,a,D,S,x){var T=Nn(),I=T.invert,w=T.domain,y=x(".%L"),R=x(":%S"),E=x("%I:%M"),tt=x("%I %p"),nt=x("%a %d"),et=x("%b %d"),q=x("%B"),Z=x("%Y");function $(p){return(S(p)"u"&&(A.yylloc={});var gt=A.yylloc;o.push(gt);var g=A.options&&A.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function F(){var at;return at=u.pop()||A.lex()||L,typeof at!="number"&&(at instanceof Array&&(u=at,at=u.pop()),at=d.symbols_[at]||at),at}for(var v,l,V,H,B={},Q,G,Ut,Pt;;){if(l=m[m.length-1],this.defaultActions[l]?V=this.defaultActions[l]:((v===null||typeof v>"u")&&(v=F()),V=z[l]&&z[l][v]),typeof V>"u"||!V.length||!V[0]){var Kt="";Pt=[];for(Q in z[l])this.terminals_[Q]&&Q>P&&Pt.push("'"+this.terminals_[Q]+"'");A.showPosition?Kt="Parse error on line "+(f+1)+`: `+A.showPosition()+` Expecting `+Pt.join(", ")+", got '"+(this.terminals_[v]||v)+"'":Kt="Parse error on line "+(f+1)+": Unexpected "+(v==L?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(Kt,{text:A.match,token:this.terminals_[v]||v,line:A.yylineno,loc:gt,expected:Pt})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+l+", token: "+v);switch(V[0]){case 1:m.push(v),C.push(A.yytext),o.push(A.yylloc),m.push(V[1]),v=null,M=A.yyleng,h=A.yytext,f=A.yylineno,gt=A.yylloc;break;case 2:if(G=this.productions_[V[1]][1],B.$=C[C.length-G],B._$={first_line:o[o.length-(G||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(G||1)].first_column,last_column:o[o.length-1].last_column},g&&(B._$.range=[o[o.length-(G||1)].range[0],o[o.length-1].range[1]]),H=this.performAction.apply(B,[h,M,f,N.yy,V[1],C,o].concat(W)),typeof H<"u")return H;G&&(m=m.slice(0,-1*G*2),C=C.slice(0,-1*G),o=o.slice(0,-1*G)),m.push(this.productions_[V[1]][0]),C.push(B.$),o.push(B._$),Ut=z[m[m.length-2]][m[m.length-1]],m.push(Ut);break;case 3:return!0}}return!0}},U=function(){var b={EOF:1,parseError:function(d,m){if(this.yy.parser)this.yy.parser.parseError(d,m);else throw new Error(d)},setInput:function(c,d){return this.yy=d||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var d=c.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},unput:function(c){var d=c.length,m=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),m.length-1&&(this.yylineno-=m.length-1);var C=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:m?(m.length===u.length?this.yylloc.first_column:0)+u[u.length-m.length].length-m[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[C[0],C[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(c){this.unput(this.match.slice(c))},pastInput:function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var c=this.pastInput(),d=new Array(c.length+1).join("-");return c+this.upcomingInput()+` diff --git a/deploy/server/notebase/assets/gitGraphDiagram-72cf32ee-DLLCgPDR.js b/deploy/server/notebase/assets/gitGraphDiagram-72cf32ee-BObyaSg-.js similarity index 99% rename from deploy/server/notebase/assets/gitGraphDiagram-72cf32ee-DLLCgPDR.js rename to deploy/server/notebase/assets/gitGraphDiagram-72cf32ee-BObyaSg-.js index 5e3af59806..e1b09b20f6 100644 --- a/deploy/server/notebase/assets/gitGraphDiagram-72cf32ee-DLLCgPDR.js +++ b/deploy/server/notebase/assets/gitGraphDiagram-72cf32ee-BObyaSg-.js @@ -1,4 +1,4 @@ -import{c as C,s as vt,g as Ct,a as Ot,b as Pt,A as Gt,B as At,l as B,j as D,C as St,h as It,y as Nt,F as Ht,G as Bt}from"./mermaid.core-C-ExL7Zv.js";import"./index-OntvGoV0.js";var mt=function(){var r=function(A,o,u,d){for(u=u||{},d=A.length;d--;u[A[d]]=o);return u},n=[1,3],l=[1,6],h=[1,4],i=[1,5],c=[2,5],p=[1,12],m=[5,7,13,19,21,23,24,26,28,31,37,40,47],x=[7,13,19,21,23,24,26,28,31,37,40],y=[7,12,13,19,21,23,24,26,28,31,37,40],a=[7,13,47],R=[1,42],_=[1,41],b=[7,13,29,32,35,38,47],f=[1,55],k=[1,56],g=[1,57],E=[7,13,32,35,42,47],z={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,PARENT_COMMIT:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,ID:46,";":47,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"PARENT_COMMIT",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",46:"ID",47:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,7],[18,7],[18,5],[18,5],[18,5],[18,7],[18,7],[18,7],[18,7],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[41,0],[41,1],[39,1],[39,1],[39,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(o,u,d,s,T,t,X){var e=t.length-1;switch(T){case 2:return t[e];case 3:return t[e-1];case 4:return s.setDirection(t[e-3]),t[e-1];case 6:s.setOptions(t[e-1]),this.$=t[e];break;case 7:t[e-1]+=t[e],this.$=t[e-1];break;case 9:this.$=[];break;case 10:t[e-1].push(t[e]),this.$=t[e-1];break;case 11:this.$=t[e-1];break;case 16:this.$=t[e].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=t[e].trim(),s.setAccDescription(this.$);break;case 19:s.addSection(t[e].substr(8)),this.$=t[e].substr(8);break;case 21:s.checkout(t[e]);break;case 22:s.branch(t[e]);break;case 23:s.branch(t[e-2],t[e]);break;case 24:s.cherryPick(t[e],"",void 0);break;case 25:s.cherryPick(t[e-2],"",void 0,t[e]);break;case 26:s.cherryPick(t[e-2],"",t[e]);break;case 27:s.cherryPick(t[e-4],"",t[e],t[e-2]);break;case 28:s.cherryPick(t[e-4],"",t[e-2],t[e]);break;case 29:s.cherryPick(t[e],"",t[e-2]);break;case 30:s.cherryPick(t[e],"","");break;case 31:s.cherryPick(t[e-2],"","");break;case 32:s.cherryPick(t[e-4],"","",t[e-2]);break;case 33:s.cherryPick(t[e-4],"","",t[e]);break;case 34:s.cherryPick(t[e-2],"",t[e-4],t[e]);break;case 35:s.cherryPick(t[e-2],"","",t[e]);break;case 36:s.merge(t[e],"","","");break;case 37:s.merge(t[e-2],t[e],"","");break;case 38:s.merge(t[e-2],"",t[e],"");break;case 39:s.merge(t[e-2],"","",t[e]);break;case 40:s.merge(t[e-4],t[e],"",t[e-2]);break;case 41:s.merge(t[e-4],"",t[e],t[e-2]);break;case 42:s.merge(t[e-4],"",t[e-2],t[e]);break;case 43:s.merge(t[e-4],t[e-2],t[e],"");break;case 44:s.merge(t[e-4],t[e-2],"",t[e]);break;case 45:s.merge(t[e-4],t[e],t[e-2],"");break;case 46:s.merge(t[e-6],t[e-4],t[e-2],t[e]);break;case 47:s.merge(t[e-6],t[e],t[e-4],t[e-2]);break;case 48:s.merge(t[e-6],t[e-4],t[e],t[e-2]);break;case 49:s.merge(t[e-6],t[e-2],t[e-4],t[e]);break;case 50:s.merge(t[e-6],t[e],t[e-2],t[e-4]);break;case 51:s.merge(t[e-6],t[e-2],t[e],t[e-4]);break;case 52:s.commit(t[e]);break;case 53:s.commit("","",s.commitType.NORMAL,t[e]);break;case 54:s.commit("","",t[e],"");break;case 55:s.commit("","",t[e],t[e-2]);break;case 56:s.commit("","",t[e-2],t[e]);break;case 57:s.commit("",t[e],s.commitType.NORMAL,"");break;case 58:s.commit("",t[e-2],s.commitType.NORMAL,t[e]);break;case 59:s.commit("",t[e],s.commitType.NORMAL,t[e-2]);break;case 60:s.commit("",t[e-2],t[e],"");break;case 61:s.commit("",t[e],t[e-2],"");break;case 62:s.commit("",t[e-4],t[e-2],t[e]);break;case 63:s.commit("",t[e-4],t[e],t[e-2]);break;case 64:s.commit("",t[e-2],t[e-4],t[e]);break;case 65:s.commit("",t[e],t[e-4],t[e-2]);break;case 66:s.commit("",t[e],t[e-2],t[e-4]);break;case 67:s.commit("",t[e-2],t[e],t[e-4]);break;case 68:s.commit(t[e],"",s.commitType.NORMAL,"");break;case 69:s.commit(t[e],"",s.commitType.NORMAL,t[e-2]);break;case 70:s.commit(t[e-2],"",s.commitType.NORMAL,t[e]);break;case 71:s.commit(t[e-2],"",t[e],"");break;case 72:s.commit(t[e],"",t[e-2],"");break;case 73:s.commit(t[e],t[e-2],s.commitType.NORMAL,"");break;case 74:s.commit(t[e-2],t[e],s.commitType.NORMAL,"");break;case 75:s.commit(t[e-4],"",t[e-2],t[e]);break;case 76:s.commit(t[e-4],"",t[e],t[e-2]);break;case 77:s.commit(t[e-2],"",t[e-4],t[e]);break;case 78:s.commit(t[e],"",t[e-4],t[e-2]);break;case 79:s.commit(t[e],"",t[e-2],t[e-4]);break;case 80:s.commit(t[e-2],"",t[e],t[e-4]);break;case 81:s.commit(t[e-4],t[e],t[e-2],"");break;case 82:s.commit(t[e-4],t[e-2],t[e],"");break;case 83:s.commit(t[e-2],t[e],t[e-4],"");break;case 84:s.commit(t[e],t[e-2],t[e-4],"");break;case 85:s.commit(t[e],t[e-4],t[e-2],"");break;case 86:s.commit(t[e-2],t[e-4],t[e],"");break;case 87:s.commit(t[e-4],t[e],s.commitType.NORMAL,t[e-2]);break;case 88:s.commit(t[e-4],t[e-2],s.commitType.NORMAL,t[e]);break;case 89:s.commit(t[e-2],t[e],s.commitType.NORMAL,t[e-4]);break;case 90:s.commit(t[e],t[e-2],s.commitType.NORMAL,t[e-4]);break;case 91:s.commit(t[e],t[e-4],s.commitType.NORMAL,t[e-2]);break;case 92:s.commit(t[e-2],t[e-4],s.commitType.NORMAL,t[e]);break;case 93:s.commit(t[e-6],t[e-4],t[e-2],t[e]);break;case 94:s.commit(t[e-6],t[e-4],t[e],t[e-2]);break;case 95:s.commit(t[e-6],t[e-2],t[e-4],t[e]);break;case 96:s.commit(t[e-6],t[e],t[e-4],t[e-2]);break;case 97:s.commit(t[e-6],t[e-2],t[e],t[e-4]);break;case 98:s.commit(t[e-6],t[e],t[e-2],t[e-4]);break;case 99:s.commit(t[e-4],t[e-6],t[e-2],t[e]);break;case 100:s.commit(t[e-4],t[e-6],t[e],t[e-2]);break;case 101:s.commit(t[e-2],t[e-6],t[e-4],t[e]);break;case 102:s.commit(t[e],t[e-6],t[e-4],t[e-2]);break;case 103:s.commit(t[e-2],t[e-6],t[e],t[e-4]);break;case 104:s.commit(t[e],t[e-6],t[e-2],t[e-4]);break;case 105:s.commit(t[e],t[e-4],t[e-2],t[e-6]);break;case 106:s.commit(t[e-2],t[e-4],t[e],t[e-6]);break;case 107:s.commit(t[e],t[e-2],t[e-4],t[e-6]);break;case 108:s.commit(t[e-2],t[e],t[e-4],t[e-6]);break;case 109:s.commit(t[e-4],t[e-2],t[e],t[e-6]);break;case 110:s.commit(t[e-4],t[e],t[e-2],t[e-6]);break;case 111:s.commit(t[e-2],t[e-4],t[e-6],t[e]);break;case 112:s.commit(t[e],t[e-4],t[e-6],t[e-2]);break;case 113:s.commit(t[e-2],t[e],t[e-6],t[e-4]);break;case 114:s.commit(t[e],t[e-2],t[e-6],t[e-4]);break;case 115:s.commit(t[e-4],t[e-2],t[e-6],t[e]);break;case 116:s.commit(t[e-4],t[e],t[e-6],t[e-2]);break;case 117:this.$="";break;case 118:this.$=t[e];break;case 119:this.$=s.commitType.NORMAL;break;case 120:this.$=s.commitType.REVERSE;break;case 121:this.$=s.commitType.HIGHLIGHT;break}},table:[{3:1,4:2,5:n,7:l,13:h,47:i},{1:[3]},{3:7,4:2,5:n,7:l,13:h,47:i},{6:8,7:c,8:[1,9],9:[1,10],10:11,13:p},r(m,[2,124]),r(m,[2,125]),r(m,[2,126]),{1:[2,1]},{7:[1,13]},{6:14,7:c,10:11,13:p},{8:[1,15]},r(x,[2,9],{11:16,12:[1,17]}),r(y,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:c,10:11,13:p},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],37:[1,33],40:[1,32]},r(y,[2,7]),{1:[2,3]},{7:[1,36]},r(x,[2,10]),{4:37,7:l,13:h,47:i},r(x,[2,12]),r(a,[2,13]),r(a,[2,14]),r(a,[2,15]),{20:[1,38]},{22:[1,39]},r(a,[2,18]),r(a,[2,19]),r(a,[2,20]),{27:40,33:R,46:_},r(a,[2,117],{41:43,32:[1,46],33:[1,48],35:[1,44],38:[1,45],42:[1,47]}),{27:49,33:R,46:_},{32:[1,50],35:[1,51]},{27:52,33:R,46:_},{1:[2,4]},r(x,[2,11]),r(a,[2,16]),r(a,[2,17]),r(a,[2,21]),r(b,[2,122]),r(b,[2,123]),r(a,[2,52]),{33:[1,53]},{39:54,43:f,44:k,45:g},{33:[1,58]},{33:[1,59]},r(a,[2,118]),r(a,[2,36],{32:[1,60],35:[1,62],38:[1,61]}),{33:[1,63]},{33:[1,64],36:[1,65]},r(a,[2,22],{29:[1,66]}),r(a,[2,53],{32:[1,68],38:[1,67],42:[1,69]}),r(a,[2,54],{32:[1,71],35:[1,70],42:[1,72]}),r(E,[2,119]),r(E,[2,120]),r(E,[2,121]),r(a,[2,57],{35:[1,73],38:[1,74],42:[1,75]}),r(a,[2,68],{32:[1,78],35:[1,76],38:[1,77]}),{33:[1,79]},{39:80,43:f,44:k,45:g},{33:[1,81]},r(a,[2,24],{34:[1,82],35:[1,83]}),{32:[1,84]},{32:[1,85]},{30:[1,86]},{39:87,43:f,44:k,45:g},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{33:[1,93]},{39:94,43:f,44:k,45:g},{33:[1,95]},{33:[1,96]},{39:97,43:f,44:k,45:g},{33:[1,98]},r(a,[2,37],{35:[1,100],38:[1,99]}),r(a,[2,38],{32:[1,102],35:[1,101]}),r(a,[2,39],{32:[1,103],38:[1,104]}),{33:[1,105]},{33:[1,106],36:[1,107]},{33:[1,108]},{33:[1,109]},r(a,[2,23]),r(a,[2,55],{32:[1,110],42:[1,111]}),r(a,[2,59],{38:[1,112],42:[1,113]}),r(a,[2,69],{32:[1,115],38:[1,114]}),r(a,[2,56],{32:[1,116],42:[1,117]}),r(a,[2,61],{35:[1,118],42:[1,119]}),r(a,[2,72],{32:[1,121],35:[1,120]}),r(a,[2,58],{38:[1,122],42:[1,123]}),r(a,[2,60],{35:[1,124],42:[1,125]}),r(a,[2,73],{35:[1,127],38:[1,126]}),r(a,[2,70],{32:[1,129],38:[1,128]}),r(a,[2,71],{32:[1,131],35:[1,130]}),r(a,[2,74],{35:[1,133],38:[1,132]}),{39:134,43:f,44:k,45:g},{33:[1,135]},{33:[1,136]},{33:[1,137]},{33:[1,138]},{39:139,43:f,44:k,45:g},r(a,[2,25],{35:[1,140]}),r(a,[2,26],{34:[1,141]}),r(a,[2,31],{34:[1,142]}),r(a,[2,29],{34:[1,143]}),r(a,[2,30],{34:[1,144]}),{33:[1,145]},{33:[1,146]},{39:147,43:f,44:k,45:g},{33:[1,148]},{39:149,43:f,44:k,45:g},{33:[1,150]},{33:[1,151]},{33:[1,152]},{33:[1,153]},{33:[1,154]},{33:[1,155]},{33:[1,156]},{39:157,43:f,44:k,45:g},{33:[1,158]},{33:[1,159]},{33:[1,160]},{39:161,43:f,44:k,45:g},{33:[1,162]},{39:163,43:f,44:k,45:g},{33:[1,164]},{33:[1,165]},{33:[1,166]},{39:167,43:f,44:k,45:g},{33:[1,168]},r(a,[2,43],{35:[1,169]}),r(a,[2,44],{38:[1,170]}),r(a,[2,42],{32:[1,171]}),r(a,[2,45],{35:[1,172]}),r(a,[2,40],{38:[1,173]}),r(a,[2,41],{32:[1,174]}),{33:[1,175],36:[1,176]},{33:[1,177]},{33:[1,178]},{33:[1,179]},{33:[1,180]},r(a,[2,66],{42:[1,181]}),r(a,[2,79],{32:[1,182]}),r(a,[2,67],{42:[1,183]}),r(a,[2,90],{38:[1,184]}),r(a,[2,80],{32:[1,185]}),r(a,[2,89],{38:[1,186]}),r(a,[2,65],{42:[1,187]}),r(a,[2,78],{32:[1,188]}),r(a,[2,64],{42:[1,189]}),r(a,[2,84],{35:[1,190]}),r(a,[2,77],{32:[1,191]}),r(a,[2,83],{35:[1,192]}),r(a,[2,63],{42:[1,193]}),r(a,[2,91],{38:[1,194]}),r(a,[2,62],{42:[1,195]}),r(a,[2,85],{35:[1,196]}),r(a,[2,86],{35:[1,197]}),r(a,[2,92],{38:[1,198]}),r(a,[2,76],{32:[1,199]}),r(a,[2,87],{38:[1,200]}),r(a,[2,75],{32:[1,201]}),r(a,[2,81],{35:[1,202]}),r(a,[2,82],{35:[1,203]}),r(a,[2,88],{38:[1,204]}),{33:[1,205]},{39:206,43:f,44:k,45:g},{33:[1,207]},{33:[1,208]},{39:209,43:f,44:k,45:g},{33:[1,210]},r(a,[2,27]),r(a,[2,32]),r(a,[2,28]),r(a,[2,33]),r(a,[2,34]),r(a,[2,35]),{33:[1,211]},{33:[1,212]},{33:[1,213]},{39:214,43:f,44:k,45:g},{33:[1,215]},{39:216,43:f,44:k,45:g},{33:[1,217]},{33:[1,218]},{33:[1,219]},{33:[1,220]},{33:[1,221]},{33:[1,222]},{33:[1,223]},{39:224,43:f,44:k,45:g},{33:[1,225]},{33:[1,226]},{33:[1,227]},{39:228,43:f,44:k,45:g},{33:[1,229]},{39:230,43:f,44:k,45:g},{33:[1,231]},{33:[1,232]},{33:[1,233]},{39:234,43:f,44:k,45:g},r(a,[2,46]),r(a,[2,48]),r(a,[2,47]),r(a,[2,49]),r(a,[2,51]),r(a,[2,50]),r(a,[2,107]),r(a,[2,108]),r(a,[2,105]),r(a,[2,106]),r(a,[2,110]),r(a,[2,109]),r(a,[2,114]),r(a,[2,113]),r(a,[2,112]),r(a,[2,111]),r(a,[2,116]),r(a,[2,115]),r(a,[2,104]),r(a,[2,103]),r(a,[2,102]),r(a,[2,101]),r(a,[2,99]),r(a,[2,100]),r(a,[2,98]),r(a,[2,97]),r(a,[2,96]),r(a,[2,95]),r(a,[2,93]),r(a,[2,94])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(o,u){if(u.recoverable)this.trace(o);else{var d=new Error(o);throw d.hash=u,d}},parse:function(o){var u=this,d=[0],s=[],T=[null],t=[],X=this.table,e="",rt=0,ft=0,wt=2,pt=1,Lt=t.slice.call(arguments,1),O=Object.create(this.lexer),F={yy:{}};for(var ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ct)&&(F.yy[ct]=this.yy[ct]);O.setInput(o,F.yy),F.yy.lexer=O,F.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var ot=O.yylloc;t.push(ot);var Rt=O.options&&O.options.ranges;typeof F.yy.parseError=="function"?this.parseError=F.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(){var q;return q=s.pop()||O.lex()||pt,typeof q!="number"&&(q instanceof Array&&(s=q,q=s.pop()),q=u.symbols_[q]||q),q}for(var N,K,V,lt,J={},it,j,bt,st;;){if(K=d[d.length-1],this.defaultActions[K]?V=this.defaultActions[K]:((N===null||typeof N>"u")&&(N=Mt()),V=X[K]&&X[K][N]),typeof V>"u"||!V.length||!V[0]){var ht="";st=[];for(it in X[K])this.terminals_[it]&&it>wt&&st.push("'"+this.terminals_[it]+"'");O.showPosition?ht="Parse error on line "+(rt+1)+`: +import{c as C,s as vt,g as Ct,a as Ot,b as Pt,A as Gt,B as At,l as B,j as D,C as St,h as It,y as Nt,F as Ht,G as Bt}from"./mermaid.core-BAvrjf3l.js";import"./index-D31-yJHm.js";var mt=function(){var r=function(A,o,u,d){for(u=u||{},d=A.length;d--;u[A[d]]=o);return u},n=[1,3],l=[1,6],h=[1,4],i=[1,5],c=[2,5],p=[1,12],m=[5,7,13,19,21,23,24,26,28,31,37,40,47],x=[7,13,19,21,23,24,26,28,31,37,40],y=[7,12,13,19,21,23,24,26,28,31,37,40],a=[7,13,47],R=[1,42],_=[1,41],b=[7,13,29,32,35,38,47],f=[1,55],k=[1,56],g=[1,57],E=[7,13,32,35,42,47],z={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,PARENT_COMMIT:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,ID:46,";":47,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"PARENT_COMMIT",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",46:"ID",47:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,7],[18,7],[18,5],[18,5],[18,5],[18,7],[18,7],[18,7],[18,7],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[41,0],[41,1],[39,1],[39,1],[39,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(o,u,d,s,T,t,X){var e=t.length-1;switch(T){case 2:return t[e];case 3:return t[e-1];case 4:return s.setDirection(t[e-3]),t[e-1];case 6:s.setOptions(t[e-1]),this.$=t[e];break;case 7:t[e-1]+=t[e],this.$=t[e-1];break;case 9:this.$=[];break;case 10:t[e-1].push(t[e]),this.$=t[e-1];break;case 11:this.$=t[e-1];break;case 16:this.$=t[e].trim(),s.setAccTitle(this.$);break;case 17:case 18:this.$=t[e].trim(),s.setAccDescription(this.$);break;case 19:s.addSection(t[e].substr(8)),this.$=t[e].substr(8);break;case 21:s.checkout(t[e]);break;case 22:s.branch(t[e]);break;case 23:s.branch(t[e-2],t[e]);break;case 24:s.cherryPick(t[e],"",void 0);break;case 25:s.cherryPick(t[e-2],"",void 0,t[e]);break;case 26:s.cherryPick(t[e-2],"",t[e]);break;case 27:s.cherryPick(t[e-4],"",t[e],t[e-2]);break;case 28:s.cherryPick(t[e-4],"",t[e-2],t[e]);break;case 29:s.cherryPick(t[e],"",t[e-2]);break;case 30:s.cherryPick(t[e],"","");break;case 31:s.cherryPick(t[e-2],"","");break;case 32:s.cherryPick(t[e-4],"","",t[e-2]);break;case 33:s.cherryPick(t[e-4],"","",t[e]);break;case 34:s.cherryPick(t[e-2],"",t[e-4],t[e]);break;case 35:s.cherryPick(t[e-2],"","",t[e]);break;case 36:s.merge(t[e],"","","");break;case 37:s.merge(t[e-2],t[e],"","");break;case 38:s.merge(t[e-2],"",t[e],"");break;case 39:s.merge(t[e-2],"","",t[e]);break;case 40:s.merge(t[e-4],t[e],"",t[e-2]);break;case 41:s.merge(t[e-4],"",t[e],t[e-2]);break;case 42:s.merge(t[e-4],"",t[e-2],t[e]);break;case 43:s.merge(t[e-4],t[e-2],t[e],"");break;case 44:s.merge(t[e-4],t[e-2],"",t[e]);break;case 45:s.merge(t[e-4],t[e],t[e-2],"");break;case 46:s.merge(t[e-6],t[e-4],t[e-2],t[e]);break;case 47:s.merge(t[e-6],t[e],t[e-4],t[e-2]);break;case 48:s.merge(t[e-6],t[e-4],t[e],t[e-2]);break;case 49:s.merge(t[e-6],t[e-2],t[e-4],t[e]);break;case 50:s.merge(t[e-6],t[e],t[e-2],t[e-4]);break;case 51:s.merge(t[e-6],t[e-2],t[e],t[e-4]);break;case 52:s.commit(t[e]);break;case 53:s.commit("","",s.commitType.NORMAL,t[e]);break;case 54:s.commit("","",t[e],"");break;case 55:s.commit("","",t[e],t[e-2]);break;case 56:s.commit("","",t[e-2],t[e]);break;case 57:s.commit("",t[e],s.commitType.NORMAL,"");break;case 58:s.commit("",t[e-2],s.commitType.NORMAL,t[e]);break;case 59:s.commit("",t[e],s.commitType.NORMAL,t[e-2]);break;case 60:s.commit("",t[e-2],t[e],"");break;case 61:s.commit("",t[e],t[e-2],"");break;case 62:s.commit("",t[e-4],t[e-2],t[e]);break;case 63:s.commit("",t[e-4],t[e],t[e-2]);break;case 64:s.commit("",t[e-2],t[e-4],t[e]);break;case 65:s.commit("",t[e],t[e-4],t[e-2]);break;case 66:s.commit("",t[e],t[e-2],t[e-4]);break;case 67:s.commit("",t[e-2],t[e],t[e-4]);break;case 68:s.commit(t[e],"",s.commitType.NORMAL,"");break;case 69:s.commit(t[e],"",s.commitType.NORMAL,t[e-2]);break;case 70:s.commit(t[e-2],"",s.commitType.NORMAL,t[e]);break;case 71:s.commit(t[e-2],"",t[e],"");break;case 72:s.commit(t[e],"",t[e-2],"");break;case 73:s.commit(t[e],t[e-2],s.commitType.NORMAL,"");break;case 74:s.commit(t[e-2],t[e],s.commitType.NORMAL,"");break;case 75:s.commit(t[e-4],"",t[e-2],t[e]);break;case 76:s.commit(t[e-4],"",t[e],t[e-2]);break;case 77:s.commit(t[e-2],"",t[e-4],t[e]);break;case 78:s.commit(t[e],"",t[e-4],t[e-2]);break;case 79:s.commit(t[e],"",t[e-2],t[e-4]);break;case 80:s.commit(t[e-2],"",t[e],t[e-4]);break;case 81:s.commit(t[e-4],t[e],t[e-2],"");break;case 82:s.commit(t[e-4],t[e-2],t[e],"");break;case 83:s.commit(t[e-2],t[e],t[e-4],"");break;case 84:s.commit(t[e],t[e-2],t[e-4],"");break;case 85:s.commit(t[e],t[e-4],t[e-2],"");break;case 86:s.commit(t[e-2],t[e-4],t[e],"");break;case 87:s.commit(t[e-4],t[e],s.commitType.NORMAL,t[e-2]);break;case 88:s.commit(t[e-4],t[e-2],s.commitType.NORMAL,t[e]);break;case 89:s.commit(t[e-2],t[e],s.commitType.NORMAL,t[e-4]);break;case 90:s.commit(t[e],t[e-2],s.commitType.NORMAL,t[e-4]);break;case 91:s.commit(t[e],t[e-4],s.commitType.NORMAL,t[e-2]);break;case 92:s.commit(t[e-2],t[e-4],s.commitType.NORMAL,t[e]);break;case 93:s.commit(t[e-6],t[e-4],t[e-2],t[e]);break;case 94:s.commit(t[e-6],t[e-4],t[e],t[e-2]);break;case 95:s.commit(t[e-6],t[e-2],t[e-4],t[e]);break;case 96:s.commit(t[e-6],t[e],t[e-4],t[e-2]);break;case 97:s.commit(t[e-6],t[e-2],t[e],t[e-4]);break;case 98:s.commit(t[e-6],t[e],t[e-2],t[e-4]);break;case 99:s.commit(t[e-4],t[e-6],t[e-2],t[e]);break;case 100:s.commit(t[e-4],t[e-6],t[e],t[e-2]);break;case 101:s.commit(t[e-2],t[e-6],t[e-4],t[e]);break;case 102:s.commit(t[e],t[e-6],t[e-4],t[e-2]);break;case 103:s.commit(t[e-2],t[e-6],t[e],t[e-4]);break;case 104:s.commit(t[e],t[e-6],t[e-2],t[e-4]);break;case 105:s.commit(t[e],t[e-4],t[e-2],t[e-6]);break;case 106:s.commit(t[e-2],t[e-4],t[e],t[e-6]);break;case 107:s.commit(t[e],t[e-2],t[e-4],t[e-6]);break;case 108:s.commit(t[e-2],t[e],t[e-4],t[e-6]);break;case 109:s.commit(t[e-4],t[e-2],t[e],t[e-6]);break;case 110:s.commit(t[e-4],t[e],t[e-2],t[e-6]);break;case 111:s.commit(t[e-2],t[e-4],t[e-6],t[e]);break;case 112:s.commit(t[e],t[e-4],t[e-6],t[e-2]);break;case 113:s.commit(t[e-2],t[e],t[e-6],t[e-4]);break;case 114:s.commit(t[e],t[e-2],t[e-6],t[e-4]);break;case 115:s.commit(t[e-4],t[e-2],t[e-6],t[e]);break;case 116:s.commit(t[e-4],t[e],t[e-6],t[e-2]);break;case 117:this.$="";break;case 118:this.$=t[e];break;case 119:this.$=s.commitType.NORMAL;break;case 120:this.$=s.commitType.REVERSE;break;case 121:this.$=s.commitType.HIGHLIGHT;break}},table:[{3:1,4:2,5:n,7:l,13:h,47:i},{1:[3]},{3:7,4:2,5:n,7:l,13:h,47:i},{6:8,7:c,8:[1,9],9:[1,10],10:11,13:p},r(m,[2,124]),r(m,[2,125]),r(m,[2,126]),{1:[2,1]},{7:[1,13]},{6:14,7:c,10:11,13:p},{8:[1,15]},r(x,[2,9],{11:16,12:[1,17]}),r(y,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:c,10:11,13:p},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],37:[1,33],40:[1,32]},r(y,[2,7]),{1:[2,3]},{7:[1,36]},r(x,[2,10]),{4:37,7:l,13:h,47:i},r(x,[2,12]),r(a,[2,13]),r(a,[2,14]),r(a,[2,15]),{20:[1,38]},{22:[1,39]},r(a,[2,18]),r(a,[2,19]),r(a,[2,20]),{27:40,33:R,46:_},r(a,[2,117],{41:43,32:[1,46],33:[1,48],35:[1,44],38:[1,45],42:[1,47]}),{27:49,33:R,46:_},{32:[1,50],35:[1,51]},{27:52,33:R,46:_},{1:[2,4]},r(x,[2,11]),r(a,[2,16]),r(a,[2,17]),r(a,[2,21]),r(b,[2,122]),r(b,[2,123]),r(a,[2,52]),{33:[1,53]},{39:54,43:f,44:k,45:g},{33:[1,58]},{33:[1,59]},r(a,[2,118]),r(a,[2,36],{32:[1,60],35:[1,62],38:[1,61]}),{33:[1,63]},{33:[1,64],36:[1,65]},r(a,[2,22],{29:[1,66]}),r(a,[2,53],{32:[1,68],38:[1,67],42:[1,69]}),r(a,[2,54],{32:[1,71],35:[1,70],42:[1,72]}),r(E,[2,119]),r(E,[2,120]),r(E,[2,121]),r(a,[2,57],{35:[1,73],38:[1,74],42:[1,75]}),r(a,[2,68],{32:[1,78],35:[1,76],38:[1,77]}),{33:[1,79]},{39:80,43:f,44:k,45:g},{33:[1,81]},r(a,[2,24],{34:[1,82],35:[1,83]}),{32:[1,84]},{32:[1,85]},{30:[1,86]},{39:87,43:f,44:k,45:g},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{33:[1,93]},{39:94,43:f,44:k,45:g},{33:[1,95]},{33:[1,96]},{39:97,43:f,44:k,45:g},{33:[1,98]},r(a,[2,37],{35:[1,100],38:[1,99]}),r(a,[2,38],{32:[1,102],35:[1,101]}),r(a,[2,39],{32:[1,103],38:[1,104]}),{33:[1,105]},{33:[1,106],36:[1,107]},{33:[1,108]},{33:[1,109]},r(a,[2,23]),r(a,[2,55],{32:[1,110],42:[1,111]}),r(a,[2,59],{38:[1,112],42:[1,113]}),r(a,[2,69],{32:[1,115],38:[1,114]}),r(a,[2,56],{32:[1,116],42:[1,117]}),r(a,[2,61],{35:[1,118],42:[1,119]}),r(a,[2,72],{32:[1,121],35:[1,120]}),r(a,[2,58],{38:[1,122],42:[1,123]}),r(a,[2,60],{35:[1,124],42:[1,125]}),r(a,[2,73],{35:[1,127],38:[1,126]}),r(a,[2,70],{32:[1,129],38:[1,128]}),r(a,[2,71],{32:[1,131],35:[1,130]}),r(a,[2,74],{35:[1,133],38:[1,132]}),{39:134,43:f,44:k,45:g},{33:[1,135]},{33:[1,136]},{33:[1,137]},{33:[1,138]},{39:139,43:f,44:k,45:g},r(a,[2,25],{35:[1,140]}),r(a,[2,26],{34:[1,141]}),r(a,[2,31],{34:[1,142]}),r(a,[2,29],{34:[1,143]}),r(a,[2,30],{34:[1,144]}),{33:[1,145]},{33:[1,146]},{39:147,43:f,44:k,45:g},{33:[1,148]},{39:149,43:f,44:k,45:g},{33:[1,150]},{33:[1,151]},{33:[1,152]},{33:[1,153]},{33:[1,154]},{33:[1,155]},{33:[1,156]},{39:157,43:f,44:k,45:g},{33:[1,158]},{33:[1,159]},{33:[1,160]},{39:161,43:f,44:k,45:g},{33:[1,162]},{39:163,43:f,44:k,45:g},{33:[1,164]},{33:[1,165]},{33:[1,166]},{39:167,43:f,44:k,45:g},{33:[1,168]},r(a,[2,43],{35:[1,169]}),r(a,[2,44],{38:[1,170]}),r(a,[2,42],{32:[1,171]}),r(a,[2,45],{35:[1,172]}),r(a,[2,40],{38:[1,173]}),r(a,[2,41],{32:[1,174]}),{33:[1,175],36:[1,176]},{33:[1,177]},{33:[1,178]},{33:[1,179]},{33:[1,180]},r(a,[2,66],{42:[1,181]}),r(a,[2,79],{32:[1,182]}),r(a,[2,67],{42:[1,183]}),r(a,[2,90],{38:[1,184]}),r(a,[2,80],{32:[1,185]}),r(a,[2,89],{38:[1,186]}),r(a,[2,65],{42:[1,187]}),r(a,[2,78],{32:[1,188]}),r(a,[2,64],{42:[1,189]}),r(a,[2,84],{35:[1,190]}),r(a,[2,77],{32:[1,191]}),r(a,[2,83],{35:[1,192]}),r(a,[2,63],{42:[1,193]}),r(a,[2,91],{38:[1,194]}),r(a,[2,62],{42:[1,195]}),r(a,[2,85],{35:[1,196]}),r(a,[2,86],{35:[1,197]}),r(a,[2,92],{38:[1,198]}),r(a,[2,76],{32:[1,199]}),r(a,[2,87],{38:[1,200]}),r(a,[2,75],{32:[1,201]}),r(a,[2,81],{35:[1,202]}),r(a,[2,82],{35:[1,203]}),r(a,[2,88],{38:[1,204]}),{33:[1,205]},{39:206,43:f,44:k,45:g},{33:[1,207]},{33:[1,208]},{39:209,43:f,44:k,45:g},{33:[1,210]},r(a,[2,27]),r(a,[2,32]),r(a,[2,28]),r(a,[2,33]),r(a,[2,34]),r(a,[2,35]),{33:[1,211]},{33:[1,212]},{33:[1,213]},{39:214,43:f,44:k,45:g},{33:[1,215]},{39:216,43:f,44:k,45:g},{33:[1,217]},{33:[1,218]},{33:[1,219]},{33:[1,220]},{33:[1,221]},{33:[1,222]},{33:[1,223]},{39:224,43:f,44:k,45:g},{33:[1,225]},{33:[1,226]},{33:[1,227]},{39:228,43:f,44:k,45:g},{33:[1,229]},{39:230,43:f,44:k,45:g},{33:[1,231]},{33:[1,232]},{33:[1,233]},{39:234,43:f,44:k,45:g},r(a,[2,46]),r(a,[2,48]),r(a,[2,47]),r(a,[2,49]),r(a,[2,51]),r(a,[2,50]),r(a,[2,107]),r(a,[2,108]),r(a,[2,105]),r(a,[2,106]),r(a,[2,110]),r(a,[2,109]),r(a,[2,114]),r(a,[2,113]),r(a,[2,112]),r(a,[2,111]),r(a,[2,116]),r(a,[2,115]),r(a,[2,104]),r(a,[2,103]),r(a,[2,102]),r(a,[2,101]),r(a,[2,99]),r(a,[2,100]),r(a,[2,98]),r(a,[2,97]),r(a,[2,96]),r(a,[2,95]),r(a,[2,93]),r(a,[2,94])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(o,u){if(u.recoverable)this.trace(o);else{var d=new Error(o);throw d.hash=u,d}},parse:function(o){var u=this,d=[0],s=[],T=[null],t=[],X=this.table,e="",rt=0,ft=0,wt=2,pt=1,Lt=t.slice.call(arguments,1),O=Object.create(this.lexer),F={yy:{}};for(var ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ct)&&(F.yy[ct]=this.yy[ct]);O.setInput(o,F.yy),F.yy.lexer=O,F.yy.parser=this,typeof O.yylloc>"u"&&(O.yylloc={});var ot=O.yylloc;t.push(ot);var Rt=O.options&&O.options.ranges;typeof F.yy.parseError=="function"?this.parseError=F.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Mt(){var q;return q=s.pop()||O.lex()||pt,typeof q!="number"&&(q instanceof Array&&(s=q,q=s.pop()),q=u.symbols_[q]||q),q}for(var N,K,V,lt,J={},it,j,bt,st;;){if(K=d[d.length-1],this.defaultActions[K]?V=this.defaultActions[K]:((N===null||typeof N>"u")&&(N=Mt()),V=X[K]&&X[K][N]),typeof V>"u"||!V.length||!V[0]){var ht="";st=[];for(it in X[K])this.terminals_[it]&&it>wt&&st.push("'"+this.terminals_[it]+"'");O.showPosition?ht="Parse error on line "+(rt+1)+`: `+O.showPosition()+` Expecting `+st.join(", ")+", got '"+(this.terminals_[N]||N)+"'":ht="Parse error on line "+(rt+1)+": Unexpected "+(N==pt?"end of input":"'"+(this.terminals_[N]||N)+"'"),this.parseError(ht,{text:O.match,token:this.terminals_[N]||N,line:O.yylineno,loc:ot,expected:st})}if(V[0]instanceof Array&&V.length>1)throw new Error("Parse Error: multiple actions possible at state: "+K+", token: "+N);switch(V[0]){case 1:d.push(N),T.push(O.yytext),t.push(O.yylloc),d.push(V[1]),N=null,ft=O.yyleng,e=O.yytext,rt=O.yylineno,ot=O.yylloc;break;case 2:if(j=this.productions_[V[1]][1],J.$=T[T.length-j],J._$={first_line:t[t.length-(j||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(j||1)].first_column,last_column:t[t.length-1].last_column},Rt&&(J._$.range=[t[t.length-(j||1)].range[0],t[t.length-1].range[1]]),lt=this.performAction.apply(J,[e,ft,rt,F.yy,V[1],T,t].concat(Lt)),typeof lt<"u")return lt;j&&(d=d.slice(0,-1*j*2),T=T.slice(0,-1*j),t=t.slice(0,-1*j)),d.push(this.productions_[V[1]][0]),T.push(J.$),t.push(J._$),bt=X[d[d.length-2]][d[d.length-1]],d.push(bt);break;case 3:return!0}}return!0}},M=function(){var A={EOF:1,parseError:function(u,d){if(this.yy.parser)this.yy.parser.parseError(u,d);else throw new Error(u)},setInput:function(o,u){return this.yy=u||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var u=o.match(/(?:\r\n?|\n).*/g);return u?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},unput:function(o){var u=o.length,d=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-u),this.offset-=u;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var T=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===s.length?this.yylloc.first_column:0)+s[s.length-d.length].length-d[0].length:this.yylloc.first_column-u},this.options.ranges&&(this.yylloc.range=[T[0],T[0]+this.yyleng-u]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(o){this.unput(this.match.slice(o))},pastInput:function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var o=this.pastInput(),u=new Array(o.length+1).join("-");return o+this.upcomingInput()+` diff --git a/deploy/server/notebase/assets/graph-1GVnZ2QQ.js b/deploy/server/notebase/assets/graph-heRzvxcs.js similarity index 99% rename from deploy/server/notebase/assets/graph-1GVnZ2QQ.js rename to deploy/server/notebase/assets/graph-heRzvxcs.js index 5dc7bc3a07..d4bead3c8e 100644 --- a/deploy/server/notebase/assets/graph-1GVnZ2QQ.js +++ b/deploy/server/notebase/assets/graph-heRzvxcs.js @@ -1 +1 @@ -import{l as qe,S as m,H as Ze,U as re,f as y,e as Te,R as Xe,h as q,T as P,j as Je,V as I,d as Qe,k as Ee,W as G,G as X,X as We,Y as me,Z as ze,$ as D,O as Oe,B as ve,a0 as Ve,a1 as ke,a2 as en,N as nn,a3 as rn,L as tn,K as we,I as sn,E as an,a4 as un,P as R,w as te}from"./index-OntvGoV0.js";import{an as fn,ao as C,ap as on,aq as j,ar as ie}from"./mermaid.core-C-ExL7Zv.js";var dn="__lodash_hash_undefined__";function hn(e){return this.__data__.set(e,dn),this}function ln(e){return this.__data__.has(e)}function S(e){var n=-1,r=e==null?0:e.length;for(this.__data__=new qe;++nu))return!1;var g=s.get(e),l=s.get(n);if(g&&l)return g==n&&l==e;var o=-1,h=!0,A=r&_n?new S:void 0;for(s.set(e,n),s.set(n,e);++o-1}var Jn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qn=/^\w*$/;function k(e,n){if(y(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||V(e)?!0:Qn.test(e)||!Jn.test(e)||n!=null&&e in Object(n)}var Wn=500;function zn(e){var n=on(e,function(t){return r.size===Wn&&r.clear(),t}),r=n.cache;return n}var Vn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kn=/\\(\\)?/g,er=zn(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(Vn,function(r,t,i,s){n.push(i?s.replace(kn,"$1"):t||r)}),n});function nr(e){return e==null?"":Ne(e)}function Re(e,n){return y(e)?e:k(e,n)?[e]:er(nr(e))}var rr=1/0;function U(e){if(typeof e=="string"||V(e))return e;var n=e+"";return n=="0"&&1/e==-rr?"-0":n}function Me(e,n){n=Re(n,e);for(var r=0,t=n.length;e!=null&&r=Ht){var g=Kt(e);if(g)return J(g);a=!1,i=$e,f=new S}else f=u;e:for(;++t1?i.setNode(s,r):i.setNode(s)}),this}setNode(n,r){return E(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=r),this):(this._nodes[n]=arguments.length>1?r:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=w,this._children[n]={},this._children[w][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)}node(n){return this._nodes[n]}hasNode(n){return E(this._nodes,n)}removeNode(n){var r=this;if(E(this._nodes,n)){var t=function(i){r.removeEdge(r._edgeObjs[i])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],v(this.children(n),function(i){r.setParent(i)}),delete this._children[n]),v(T(this._in[n]),t),delete this._in[n],delete this._preds[n],v(T(this._out[n]),t),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this}setParent(n,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if($(r))r=w;else{r+="";for(var t=r;!$(t);t=this.parent(t))if(t===n)throw new Error("Setting "+r+" as parent of "+n+" would create a cycle");this.setNode(r)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=r,this._children[r][n]=!0,this}_removeFromParentsChildList(n){delete this._children[this._parent[n]][n]}parent(n){if(this._isCompound){var r=this._parent[n];if(r!==w)return r}}children(n){if($(n)&&(n=w),this._isCompound){var r=this._children[n];if(r)return T(r)}else{if(n===w)return this.nodes();if(this.hasNode(n))return[]}}predecessors(n){var r=this._preds[n];if(r)return T(r)}successors(n){var r=this._sucs[n];if(r)return T(r)}neighbors(n){var r=this.predecessors(n);if(r)return qt(r,this.successors(n))}isLeaf(n){var r;return this.isDirected()?r=this.successors(n):r=this.neighbors(n),r.length===0}filterNodes(n){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var t=this;v(this._nodes,function(a,u){n(u)&&r.setNode(u,a)}),v(this._edgeObjs,function(a){r.hasNode(a.v)&&r.hasNode(a.w)&&r.setEdge(a,t.edge(a))});var i={};function s(a){var u=t.parent(a);return u===void 0||r.hasNode(u)?(i[a]=u,u):u in i?i[u]:s(u)}return this._isCompound&&v(r.nodes(),function(a){r.setParent(a,s(a))}),r}setDefaultEdgeLabel(n){return te(n)||(n=R(n)),this._defaultEdgeLabelFn=n,this}edgeCount(){return this._edgeCount}edges(){return H(this._edgeObjs)}setPath(n,r){var t=this,i=arguments;return jt(n,function(s,a){return i.length>1?t.setEdge(s,a,r):t.setEdge(s,a),a}),this}setEdge(){var n,r,t,i,s=!1,a=arguments[0];typeof a=="object"&&a!==null&&"v"in a?(n=a.v,r=a.w,t=a.name,arguments.length===2&&(i=arguments[1],s=!0)):(n=a,r=arguments[1],t=arguments[3],arguments.length>2&&(i=arguments[2],s=!0)),n=""+n,r=""+r,$(t)||(t=""+t);var u=L(this._isDirected,n,r,t);if(E(this._edgeLabels,u))return s&&(this._edgeLabels[u]=i),this;if(!$(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(r),this._edgeLabels[u]=s?i:this._defaultEdgeLabelFn(n,r,t);var f=Xt(this._isDirected,n,r,t);return n=f.v,r=f.w,Object.freeze(f),this._edgeObjs[u]=f,ye(this._preds[r],n),ye(this._sucs[n],r),this._in[r][u]=f,this._out[n][u]=f,this._edgeCount++,this}edge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t);return this._edgeLabels[i]}hasEdge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t);return E(this._edgeLabels,i)}removeEdge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t),s=this._edgeObjs[i];return s&&(n=s.v,r=s.w,delete this._edgeLabels[i],delete this._edgeObjs[i],Ae(this._preds[r],n),Ae(this._sucs[n],r),delete this._in[r][i],delete this._out[n][i],this._edgeCount--),this}inEdges(n,r){var t=this._in[n];if(t){var i=H(t);return r?x(i,function(s){return s.v===r}):i}}outEdges(n,r){var t=this._out[n];if(t){var i=H(t);return r?x(i,function(s){return s.w===r}):i}}nodeEdges(n,r){var t=this.inEdges(n,r);if(t)return t.concat(this.outEdges(n,r))}}Ye.prototype._nodeCount=0;Ye.prototype._edgeCount=0;function ye(e,n){e[n]?e[n]++:e[n]=1}function Ae(e,n){--e[n]||delete e[n]}function L(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}return i+be+s+be+($(t)?Zt:t)}function Xt(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}var u={v:i,w:s};return t&&(u.name=t),u}function Y(e,n){return L(e,n.v,n.w,n.name)}export{Ye as G,V as a,sr as b,K as c,He as d,Hn as e,v as f,ee as g,E as h,$ as i,Se as j,T as k,Ft as l,St as m,Re as n,Me as o,vt as p,nr as q,x as r,jt as s,U as t,H as v}; +import{l as qe,S as m,H as Ze,U as re,f as y,e as Te,R as Xe,h as q,T as P,j as Je,V as I,d as Qe,k as Ee,W as G,G as X,X as We,Y as me,Z as ze,$ as D,O as Oe,B as ve,a0 as Ve,a1 as ke,a2 as en,N as nn,a3 as rn,L as tn,K as we,I as sn,E as an,a4 as un,P as R,w as te}from"./index-D31-yJHm.js";import{an as fn,ao as C,ap as on,aq as j,ar as ie}from"./mermaid.core-BAvrjf3l.js";var dn="__lodash_hash_undefined__";function hn(e){return this.__data__.set(e,dn),this}function ln(e){return this.__data__.has(e)}function S(e){var n=-1,r=e==null?0:e.length;for(this.__data__=new qe;++nu))return!1;var g=s.get(e),l=s.get(n);if(g&&l)return g==n&&l==e;var o=-1,h=!0,A=r&_n?new S:void 0;for(s.set(e,n),s.set(n,e);++o-1}var Jn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Qn=/^\w*$/;function k(e,n){if(y(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||V(e)?!0:Qn.test(e)||!Jn.test(e)||n!=null&&e in Object(n)}var Wn=500;function zn(e){var n=on(e,function(t){return r.size===Wn&&r.clear(),t}),r=n.cache;return n}var Vn=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kn=/\\(\\)?/g,er=zn(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(Vn,function(r,t,i,s){n.push(i?s.replace(kn,"$1"):t||r)}),n});function nr(e){return e==null?"":Ne(e)}function Re(e,n){return y(e)?e:k(e,n)?[e]:er(nr(e))}var rr=1/0;function U(e){if(typeof e=="string"||V(e))return e;var n=e+"";return n=="0"&&1/e==-rr?"-0":n}function Me(e,n){n=Re(n,e);for(var r=0,t=n.length;e!=null&&r=Ht){var g=Kt(e);if(g)return J(g);a=!1,i=$e,f=new S}else f=u;e:for(;++t1?i.setNode(s,r):i.setNode(s)}),this}setNode(n,r){return E(this._nodes,n)?(arguments.length>1&&(this._nodes[n]=r),this):(this._nodes[n]=arguments.length>1?r:this._defaultNodeLabelFn(n),this._isCompound&&(this._parent[n]=w,this._children[n]={},this._children[w][n]=!0),this._in[n]={},this._preds[n]={},this._out[n]={},this._sucs[n]={},++this._nodeCount,this)}node(n){return this._nodes[n]}hasNode(n){return E(this._nodes,n)}removeNode(n){var r=this;if(E(this._nodes,n)){var t=function(i){r.removeEdge(r._edgeObjs[i])};delete this._nodes[n],this._isCompound&&(this._removeFromParentsChildList(n),delete this._parent[n],v(this.children(n),function(i){r.setParent(i)}),delete this._children[n]),v(T(this._in[n]),t),delete this._in[n],delete this._preds[n],v(T(this._out[n]),t),delete this._out[n],delete this._sucs[n],--this._nodeCount}return this}setParent(n,r){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if($(r))r=w;else{r+="";for(var t=r;!$(t);t=this.parent(t))if(t===n)throw new Error("Setting "+r+" as parent of "+n+" would create a cycle");this.setNode(r)}return this.setNode(n),this._removeFromParentsChildList(n),this._parent[n]=r,this._children[r][n]=!0,this}_removeFromParentsChildList(n){delete this._children[this._parent[n]][n]}parent(n){if(this._isCompound){var r=this._parent[n];if(r!==w)return r}}children(n){if($(n)&&(n=w),this._isCompound){var r=this._children[n];if(r)return T(r)}else{if(n===w)return this.nodes();if(this.hasNode(n))return[]}}predecessors(n){var r=this._preds[n];if(r)return T(r)}successors(n){var r=this._sucs[n];if(r)return T(r)}neighbors(n){var r=this.predecessors(n);if(r)return qt(r,this.successors(n))}isLeaf(n){var r;return this.isDirected()?r=this.successors(n):r=this.neighbors(n),r.length===0}filterNodes(n){var r=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});r.setGraph(this.graph());var t=this;v(this._nodes,function(a,u){n(u)&&r.setNode(u,a)}),v(this._edgeObjs,function(a){r.hasNode(a.v)&&r.hasNode(a.w)&&r.setEdge(a,t.edge(a))});var i={};function s(a){var u=t.parent(a);return u===void 0||r.hasNode(u)?(i[a]=u,u):u in i?i[u]:s(u)}return this._isCompound&&v(r.nodes(),function(a){r.setParent(a,s(a))}),r}setDefaultEdgeLabel(n){return te(n)||(n=R(n)),this._defaultEdgeLabelFn=n,this}edgeCount(){return this._edgeCount}edges(){return H(this._edgeObjs)}setPath(n,r){var t=this,i=arguments;return jt(n,function(s,a){return i.length>1?t.setEdge(s,a,r):t.setEdge(s,a),a}),this}setEdge(){var n,r,t,i,s=!1,a=arguments[0];typeof a=="object"&&a!==null&&"v"in a?(n=a.v,r=a.w,t=a.name,arguments.length===2&&(i=arguments[1],s=!0)):(n=a,r=arguments[1],t=arguments[3],arguments.length>2&&(i=arguments[2],s=!0)),n=""+n,r=""+r,$(t)||(t=""+t);var u=L(this._isDirected,n,r,t);if(E(this._edgeLabels,u))return s&&(this._edgeLabels[u]=i),this;if(!$(t)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(n),this.setNode(r),this._edgeLabels[u]=s?i:this._defaultEdgeLabelFn(n,r,t);var f=Xt(this._isDirected,n,r,t);return n=f.v,r=f.w,Object.freeze(f),this._edgeObjs[u]=f,ye(this._preds[r],n),ye(this._sucs[n],r),this._in[r][u]=f,this._out[n][u]=f,this._edgeCount++,this}edge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t);return this._edgeLabels[i]}hasEdge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t);return E(this._edgeLabels,i)}removeEdge(n,r,t){var i=arguments.length===1?Y(this._isDirected,arguments[0]):L(this._isDirected,n,r,t),s=this._edgeObjs[i];return s&&(n=s.v,r=s.w,delete this._edgeLabels[i],delete this._edgeObjs[i],Ae(this._preds[r],n),Ae(this._sucs[n],r),delete this._in[r][i],delete this._out[n][i],this._edgeCount--),this}inEdges(n,r){var t=this._in[n];if(t){var i=H(t);return r?x(i,function(s){return s.v===r}):i}}outEdges(n,r){var t=this._out[n];if(t){var i=H(t);return r?x(i,function(s){return s.w===r}):i}}nodeEdges(n,r){var t=this.inEdges(n,r);if(t)return t.concat(this.outEdges(n,r))}}Ye.prototype._nodeCount=0;Ye.prototype._edgeCount=0;function ye(e,n){e[n]?e[n]++:e[n]=1}function Ae(e,n){--e[n]||delete e[n]}function L(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}return i+be+s+be+($(t)?Zt:t)}function Xt(e,n,r,t){var i=""+n,s=""+r;if(!e&&i>s){var a=i;i=s,s=a}var u={v:i,w:s};return t&&(u.name=t),u}function Y(e,n){return L(e,n.v,n.w,n.name)}export{Ye as G,V as a,sr as b,K as c,He as d,Hn as e,v as f,ee as g,E as h,$ as i,Se as j,T as k,Ft as l,St as m,Re as n,Me as o,vt as p,nr as q,x as r,jt as s,U as t,H as v}; diff --git a/starter/src/main/resources/static/notebase/assets/index-3862675e-BiX2WQe8.js b/deploy/server/notebase/assets/index-3862675e-m4ra-w5r.js similarity index 96% rename from starter/src/main/resources/static/notebase/assets/index-3862675e-BiX2WQe8.js rename to deploy/server/notebase/assets/index-3862675e-m4ra-w5r.js index 3a445cc8ef..2aa519669a 100644 --- a/starter/src/main/resources/static/notebase/assets/index-3862675e-BiX2WQe8.js +++ b/deploy/server/notebase/assets/index-3862675e-m4ra-w5r.js @@ -1 +1 @@ -import{i as N,G as A}from"./graph-BpOdqLUS.js";import{m as $,l as H}from"./layout-CU5MaBZ2.js";import{c as V}from"./clone-BGk7b5r6.js";import{i as U,u as W,s as _,a as q,b as z,g as D,p as O,c as K,d as Q,e as Y,f as Z,h as J,j as p}from"./edges-e0da2a9e-Z33Rjibo.js";import{l as s,c as T,p as S,h as L}from"./mermaid.core-FIymlv9x.js";import{a as I}from"./createText-2e5e7dd3-DizPWu1a.js";function m(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:tt(e),edges:et(e)};return N(e.graph())||(t.value=V(e.graph())),t}function tt(e){return $(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),i={v:t};return N(n)||(i.value=n),N(r)||(i.parent=r),i})}function et(e){return $(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return N(t.name)||(r.name=t.name),N(n)||(r.value=n),r})}let l={},g={},R={};const nt=()=>{g={},R={},l={}},B=(e,t)=>(s.trace("In isDescendant",t," ",e," = ",g[t].includes(e)),!!g[t].includes(e)),it=(e,t)=>(s.info("Descendants of ",t," is ",g[t]),s.info("Edge is ",e),e.v===t||e.w===t?!1:g[t]?g[t].includes(e.v)||B(e.v,t)||B(e.w,t)||g[t].includes(e.w):(s.debug("Tilt, ",t,",not in descendants"),!1)),P=(e,t,n,r)=>{s.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const i=t.children(e)||[];e!==r&&i.push(e),s.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(a=>{if(t.children(a).length>0)P(a,t,n,r);else{const d=t.node(a);s.info("cp ",a," to ",r," with parent ",e),n.setNode(a,d),r!==t.parent(a)&&(s.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==r&&a!==e?(s.debug("Setting parent",a,e),n.setParent(a,e)):(s.info("In copy ",e,"root",r,"data",t.node(e),r),s.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==r,"node!==clusterId",a!==e));const u=t.edges(a);s.debug("Copying Edges",u),u.forEach(f=>{s.info("Edge",f);const h=t.edge(f.v,f.w,f.name);s.info("Edge data",h,r);try{it(f,r)?(s.info("Copying as ",f.v,f.w,h,f.name),n.setEdge(f.v,f.w,h,f.name),s.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):s.info("Skipping copy of edge ",f.v,"-->",f.w," rootId: ",r," clusterId:",e)}catch(w){s.error(w)}})}s.debug("Removing node",a),t.removeNode(a)})},k=(e,t)=>{const n=t.children(e);let r=[...n];for(const i of n)R[i]=e,r=[...r,...k(i,t)];return r},C=(e,t)=>{s.trace("Searching",e);const n=t.children(e);if(s.trace("Searching children of id ",e,n),n.length<1)return s.trace("This is a valid node",e),e;for(const r of n){const i=C(r,t);if(i)return s.trace("Found replacement for",e," => ",i),i}},X=e=>!l[e]||!l[e].externalConnections?e:l[e]?l[e].id:e,st=(e,t)=>{if(!e||t>10){s.debug("Opting out, no graph ");return}else s.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(s.warn("Cluster identified",n," Replacement id in edges: ",C(n,e)),g[n]=k(n,e),l[n]={id:C(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),i=e.edges();r.length>0?(s.debug("Cluster identified",n,g),i.forEach(a=>{if(a.v!==n&&a.w!==n){const d=B(a.v,n),u=B(a.w,n);d^u&&(s.warn("Edge: ",a," leaves cluster ",n),s.warn("Descendants of XXX ",n,": ",g[n]),l[n].externalConnections=!0)}})):s.debug("Not a cluster ",n,g)});for(let n of Object.keys(l)){const r=l[n].id,i=e.parent(r);i!==n&&l[i]&&!l[i].externalConnections&&(l[n].id=i)}e.edges().forEach(function(n){const r=e.edge(n);s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let i=n.v,a=n.w;if(s.warn("Fix XXX",l,"ids:",n.v,n.w,"Translating: ",l[n.v]," --- ",l[n.w]),l[n.v]&&l[n.w]&&l[n.v]===l[n.w]){s.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name);const d=n.w+"---"+n.v;e.setNode(d,{domId:d,id:d,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const u=structuredClone(r),f=structuredClone(r);u.label="",u.arrowTypeEnd="none",f.label="",u.fromCluster=n.v,f.toCluster=n.v,e.setEdge(i,d,u,n.name+"-cyclic-special"),e.setEdge(d,a,f,n.name+"-cyclic-special")}else if(l[n.v]||l[n.w]){if(s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name),i!==n.v){const d=e.parent(i);l[d].externalConnections=!0,r.fromCluster=n.v}if(a!==n.w){const d=e.parent(a);l[d].externalConnections=!0,r.toCluster=n.w}s.warn("Fix Replacing with XXX",i,a,n.name),e.setEdge(i,a,r,n.name)}}),s.warn("Adjusted Graph",m(e)),F(e,0),s.trace(l)},F=(e,t)=>{if(s.warn("extractor - ",t,m(e),e.children("D")),t>10){s.error("Bailing out");return}let n=e.nodes(),r=!1;for(const i of n){const a=e.children(i);r=r||a.length>0}if(!r){s.debug("Done, no node has children",e.nodes());return}s.debug("Nodes = ",n,t);for(const i of n)if(s.debug("Extracting node",i,l,l[i]&&!l[i].externalConnections,!e.parent(i),e.node(i),e.children("D")," Depth ",t),!l[i])s.debug("Not a cluster",i,t);else if(!l[i].externalConnections&&e.children(i)&&e.children(i).length>0){s.warn("Cluster without external connections, without a parent and with children",i,t);let d=e.graph().rankdir==="TB"?"LR":"TB";l[i]&&l[i].clusterData&&l[i].clusterData.dir&&(d=l[i].clusterData.dir,s.warn("Fixing dir",l[i].clusterData.dir,d));const u=new A({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});s.warn("Old graph before copy",m(e)),P(i,e,u,i),e.setNode(i,{clusterNode:!0,id:i,clusterData:l[i].clusterData,labelText:l[i].labelText,graph:u}),s.warn("New graph after copy node: (",i,")",m(u)),s.debug("Old graph after copy",m(e))}else s.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!l[i].externalConnections," no parent: ",!e.parent(i)," children ",e.children(i)&&e.children(i).length>0,e.children("D"),t),s.debug(l);n=e.nodes(),s.warn("New list of nodes",n);for(const i of n){const a=e.node(i);s.warn(" Now next level",i,a),a.clusterNode&&F(a.graph,t+1)}},G=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const i=e.children(r),a=G(e,i);n=[...n,...a]}),n},rt=e=>G(e,e.children()),at=(e,t)=>{s.info("Creating subgraph rect for ",t.id,t);const n=T(),r=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),i=r.insert("rect",":first-child"),a=S(n.flowchart.htmlLabels),d=r.insert("g").attr("class","cluster-label"),u=t.labelType==="markdown"?I(d,t.labelText,{style:t.labelStyle,useHtmlLabels:a}):d.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}const h=0*t.padding,w=h/2,x=t.width<=f.width+h?f.width+h:t.width;t.width<=f.width+h?t.diff=(f.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,s.trace("Data ",t,JSON.stringify(t)),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-x/2).attr("y",t.y-t.height/2-w).attr("width",x).attr("height",t.height+h);const{subGraphTitleTopMargin:v}=D(n);a?d.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2+v})`):d.attr("transform",`translate(${t.x}, ${t.y-t.height/2+v})`);const y=i.node().getBBox();return t.width=y.width,t.height=y.height,t.intersect=function(c){return p(t,c)},r},ct=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.intersect=function(u){return p(t,u)},n},ot=(e,t)=>{const n=T(),r=e.insert("g").attr("class",t.classes).attr("id",t.id),i=r.insert("rect",":first-child"),a=r.insert("g").attr("class","cluster-label"),d=r.append("rect"),u=a.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}f=u.getBBox();const h=0*t.padding,w=h/2,x=t.width<=f.width+t.padding?f.width+t.padding:t.width;t.width<=f.width+t.padding?t.diff=(f.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,i.attr("class","outer").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w).attr("width",x+h).attr("height",t.height+h),d.attr("class","inner").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w+f.height-1).attr("width",x+h).attr("height",t.height+h-f.height-3);const{subGraphTitleTopMargin:v}=D(n);a.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2-t.padding/3+(S(n.flowchart.htmlLabels)?5:3)+v})`);const y=i.node().getBBox();return t.height=y.height,t.intersect=function(c){return p(t,c)},r},lt=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.diff=-t.padding/2,t.intersect=function(u){return p(t,u)},n},ft={rect:at,roundedWithTitle:ot,noteGroup:ct,divider:lt};let j={};const dt=(e,t)=>{s.trace("Inserting cluster");const n=t.shape||"rect";j[t.id]=ft[n](e,t)},ut=()=>{j={}},M=async(e,t,n,r,i,a)=>{s.info("Graph in recursive render: XXX",m(t),i);const d=t.graph().rankdir;s.trace("Dir in recursive render - dir:",d);const u=e.insert("g").attr("class","root");t.nodes()?s.info("Recursive render XXX",t.nodes()):s.info("No nodes found for",t),t.edges().length>0&&s.trace("Recursive edges",t.edge(t.edges()[0]));const f=u.insert("g").attr("class","clusters"),h=u.insert("g").attr("class","edgePaths"),w=u.insert("g").attr("class","edgeLabels"),x=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(c){const o=t.node(c);if(i!==void 0){const b=JSON.parse(JSON.stringify(i.clusterData));s.info("Setting data for cluster XXX (",c,") ",b,i),t.setNode(i.id,b),t.parent(c)||(s.trace("Setting parent",c,i.id),t.setParent(c,i.id,b))}if(s.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),o&&o.clusterNode){s.info("Cluster identified",c,o.width,t.node(c));const b=await M(x,o.graph,n,r,t.node(c),a),E=b.elem;W(o,E),o.diff=b.diff||0,s.info("Node bounds (abc123)",c,o,o.width,o.x,o.y),_(E,o),s.warn("Recursive render complete ",E,o)}else t.children(c).length>0?(s.info("Cluster - the non recursive path XXX",c,o.id,o,t),s.info(C(o.id,t)),l[o.id]={id:C(o.id,t),node:o}):(s.info("Node - the non recursive path",c,o.id,o),await q(x,t.node(c),d))})),t.edges().forEach(function(c){const o=t.edge(c.v,c.w,c.name);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),s.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),s.info("Fix",l,"ids:",c.v,c.w,"Translating: ",l[c.v],l[c.w]),z(w,o)}),t.edges().forEach(function(c){s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),s.info("#############################################"),s.info("### Layout ###"),s.info("#############################################"),s.info(t),H(t),s.info("Graph after layout:",m(t));let v=0;const{subGraphTitleTotalMargin:y}=D(a);return rt(t).forEach(function(c){const o=t.node(c);s.info("Position "+c+": "+JSON.stringify(t.node(c))),s.info("Position "+c+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o&&o.clusterNode?(o.y+=y,O(o)):t.children(c).length>0?(o.height+=y,dt(f,o),l[o.id].node=o):(o.y+=y/2,O(o))}),t.edges().forEach(function(c){const o=t.edge(c);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(o),o),o.points.forEach(E=>E.y+=y/2);const b=K(h,c,o,l,n,t,r);Q(o,b)}),t.nodes().forEach(function(c){const o=t.node(c);s.info(c,o.type,o.diff),o.type==="group"&&(v=o.diff)}),{elem:u,diff:v}},bt=async(e,t,n,r,i)=>{U(e,n,r,i),Y(),Z(),ut(),nt(),s.warn("Graph at first:",JSON.stringify(m(t))),st(t),s.warn("Graph after:",JSON.stringify(m(t)));const a=T();await M(e,t,r,i,void 0,a)};export{bt as r}; +import{i as N,G as A}from"./graph-heRzvxcs.js";import{m as $,l as H}from"./layout-BLe2lUnK.js";import{c as V}from"./clone-nOFmi_ju.js";import{i as U,u as W,s as _,a as q,b as z,g as D,p as O,c as K,d as Q,e as Y,f as Z,h as J,j as p}from"./edges-e0da2a9e-CZlmjOgF.js";import{l as s,c as T,p as S,h as L}from"./mermaid.core-BAvrjf3l.js";import{a as I}from"./createText-2e5e7dd3-Cn1HPiN2.js";function m(e){var t={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:tt(e),edges:et(e)};return N(e.graph())||(t.value=V(e.graph())),t}function tt(e){return $(e.nodes(),function(t){var n=e.node(t),r=e.parent(t),i={v:t};return N(n)||(i.value=n),N(r)||(i.parent=r),i})}function et(e){return $(e.edges(),function(t){var n=e.edge(t),r={v:t.v,w:t.w};return N(t.name)||(r.name=t.name),N(n)||(r.value=n),r})}let l={},g={},R={};const nt=()=>{g={},R={},l={}},B=(e,t)=>(s.trace("In isDescendant",t," ",e," = ",g[t].includes(e)),!!g[t].includes(e)),it=(e,t)=>(s.info("Descendants of ",t," is ",g[t]),s.info("Edge is ",e),e.v===t||e.w===t?!1:g[t]?g[t].includes(e.v)||B(e.v,t)||B(e.w,t)||g[t].includes(e.w):(s.debug("Tilt, ",t,",not in descendants"),!1)),P=(e,t,n,r)=>{s.warn("Copying children of ",e,"root",r,"data",t.node(e),r);const i=t.children(e)||[];e!==r&&i.push(e),s.warn("Copying (nodes) clusterId",e,"nodes",i),i.forEach(a=>{if(t.children(a).length>0)P(a,t,n,r);else{const d=t.node(a);s.info("cp ",a," to ",r," with parent ",e),n.setNode(a,d),r!==t.parent(a)&&(s.warn("Setting parent",a,t.parent(a)),n.setParent(a,t.parent(a))),e!==r&&a!==e?(s.debug("Setting parent",a,e),n.setParent(a,e)):(s.info("In copy ",e,"root",r,"data",t.node(e),r),s.debug("Not Setting parent for node=",a,"cluster!==rootId",e!==r,"node!==clusterId",a!==e));const u=t.edges(a);s.debug("Copying Edges",u),u.forEach(f=>{s.info("Edge",f);const h=t.edge(f.v,f.w,f.name);s.info("Edge data",h,r);try{it(f,r)?(s.info("Copying as ",f.v,f.w,h,f.name),n.setEdge(f.v,f.w,h,f.name),s.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):s.info("Skipping copy of edge ",f.v,"-->",f.w," rootId: ",r," clusterId:",e)}catch(w){s.error(w)}})}s.debug("Removing node",a),t.removeNode(a)})},k=(e,t)=>{const n=t.children(e);let r=[...n];for(const i of n)R[i]=e,r=[...r,...k(i,t)];return r},C=(e,t)=>{s.trace("Searching",e);const n=t.children(e);if(s.trace("Searching children of id ",e,n),n.length<1)return s.trace("This is a valid node",e),e;for(const r of n){const i=C(r,t);if(i)return s.trace("Found replacement for",e," => ",i),i}},X=e=>!l[e]||!l[e].externalConnections?e:l[e]?l[e].id:e,st=(e,t)=>{if(!e||t>10){s.debug("Opting out, no graph ");return}else s.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(s.warn("Cluster identified",n," Replacement id in edges: ",C(n,e)),g[n]=k(n,e),l[n]={id:C(n,e),clusterData:e.node(n)})}),e.nodes().forEach(function(n){const r=e.children(n),i=e.edges();r.length>0?(s.debug("Cluster identified",n,g),i.forEach(a=>{if(a.v!==n&&a.w!==n){const d=B(a.v,n),u=B(a.w,n);d^u&&(s.warn("Edge: ",a," leaves cluster ",n),s.warn("Descendants of XXX ",n,": ",g[n]),l[n].externalConnections=!0)}})):s.debug("Not a cluster ",n,g)});for(let n of Object.keys(l)){const r=l[n].id,i=e.parent(r);i!==n&&l[i]&&!l[i].externalConnections&&(l[n].id=i)}e.edges().forEach(function(n){const r=e.edge(n);s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),s.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let i=n.v,a=n.w;if(s.warn("Fix XXX",l,"ids:",n.v,n.w,"Translating: ",l[n.v]," --- ",l[n.w]),l[n.v]&&l[n.w]&&l[n.v]===l[n.w]){s.warn("Fixing and trixing link to self - removing XXX",n.v,n.w,n.name),s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name);const d=n.w+"---"+n.v;e.setNode(d,{domId:d,id:d,labelStyle:"",labelText:r.label,padding:0,shape:"labelRect",style:""});const u=structuredClone(r),f=structuredClone(r);u.label="",u.arrowTypeEnd="none",f.label="",u.fromCluster=n.v,f.toCluster=n.v,e.setEdge(i,d,u,n.name+"-cyclic-special"),e.setEdge(d,a,f,n.name+"-cyclic-special")}else if(l[n.v]||l[n.w]){if(s.warn("Fixing and trixing - removing XXX",n.v,n.w,n.name),i=X(n.v),a=X(n.w),e.removeEdge(n.v,n.w,n.name),i!==n.v){const d=e.parent(i);l[d].externalConnections=!0,r.fromCluster=n.v}if(a!==n.w){const d=e.parent(a);l[d].externalConnections=!0,r.toCluster=n.w}s.warn("Fix Replacing with XXX",i,a,n.name),e.setEdge(i,a,r,n.name)}}),s.warn("Adjusted Graph",m(e)),F(e,0),s.trace(l)},F=(e,t)=>{if(s.warn("extractor - ",t,m(e),e.children("D")),t>10){s.error("Bailing out");return}let n=e.nodes(),r=!1;for(const i of n){const a=e.children(i);r=r||a.length>0}if(!r){s.debug("Done, no node has children",e.nodes());return}s.debug("Nodes = ",n,t);for(const i of n)if(s.debug("Extracting node",i,l,l[i]&&!l[i].externalConnections,!e.parent(i),e.node(i),e.children("D")," Depth ",t),!l[i])s.debug("Not a cluster",i,t);else if(!l[i].externalConnections&&e.children(i)&&e.children(i).length>0){s.warn("Cluster without external connections, without a parent and with children",i,t);let d=e.graph().rankdir==="TB"?"LR":"TB";l[i]&&l[i].clusterData&&l[i].clusterData.dir&&(d=l[i].clusterData.dir,s.warn("Fixing dir",l[i].clusterData.dir,d));const u=new A({multigraph:!0,compound:!0}).setGraph({rankdir:d,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});s.warn("Old graph before copy",m(e)),P(i,e,u,i),e.setNode(i,{clusterNode:!0,id:i,clusterData:l[i].clusterData,labelText:l[i].labelText,graph:u}),s.warn("New graph after copy node: (",i,")",m(u)),s.debug("Old graph after copy",m(e))}else s.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!l[i].externalConnections," no parent: ",!e.parent(i)," children ",e.children(i)&&e.children(i).length>0,e.children("D"),t),s.debug(l);n=e.nodes(),s.warn("New list of nodes",n);for(const i of n){const a=e.node(i);s.warn(" Now next level",i,a),a.clusterNode&&F(a.graph,t+1)}},G=(e,t)=>{if(t.length===0)return[];let n=Object.assign(t);return t.forEach(r=>{const i=e.children(r),a=G(e,i);n=[...n,...a]}),n},rt=e=>G(e,e.children()),at=(e,t)=>{s.info("Creating subgraph rect for ",t.id,t);const n=T(),r=e.insert("g").attr("class","cluster"+(t.class?" "+t.class:"")).attr("id",t.id),i=r.insert("rect",":first-child"),a=S(n.flowchart.htmlLabels),d=r.insert("g").attr("class","cluster-label"),u=t.labelType==="markdown"?I(d,t.labelText,{style:t.labelStyle,useHtmlLabels:a}):d.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}const h=0*t.padding,w=h/2,x=t.width<=f.width+h?f.width+h:t.width;t.width<=f.width+h?t.diff=(f.width-t.width)/2-t.padding/2:t.diff=-t.padding/2,s.trace("Data ",t,JSON.stringify(t)),i.attr("style",t.style).attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-x/2).attr("y",t.y-t.height/2-w).attr("width",x).attr("height",t.height+h);const{subGraphTitleTopMargin:v}=D(n);a?d.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2+v})`):d.attr("transform",`translate(${t.x}, ${t.y-t.height/2+v})`);const y=i.node().getBBox();return t.width=y.width,t.height=y.height,t.intersect=function(c){return p(t,c)},r},ct=(e,t)=>{const n=e.insert("g").attr("class","note-cluster").attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("rx",t.rx).attr("ry",t.ry).attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2-a).attr("width",t.width+i).attr("height",t.height+i).attr("fill","none");const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.intersect=function(u){return p(t,u)},n},ot=(e,t)=>{const n=T(),r=e.insert("g").attr("class",t.classes).attr("id",t.id),i=r.insert("rect",":first-child"),a=r.insert("g").attr("class","cluster-label"),d=r.append("rect"),u=a.node().appendChild(J(t.labelText,t.labelStyle,void 0,!0));let f=u.getBBox();if(S(n.flowchart.htmlLabels)){const c=u.children[0],o=L(u);f=c.getBoundingClientRect(),o.attr("width",f.width),o.attr("height",f.height)}f=u.getBBox();const h=0*t.padding,w=h/2,x=t.width<=f.width+t.padding?f.width+t.padding:t.width;t.width<=f.width+t.padding?t.diff=(f.width+t.padding*0-t.width)/2:t.diff=-t.padding/2,i.attr("class","outer").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w).attr("width",x+h).attr("height",t.height+h),d.attr("class","inner").attr("x",t.x-x/2-w).attr("y",t.y-t.height/2-w+f.height-1).attr("width",x+h).attr("height",t.height+h-f.height-3);const{subGraphTitleTopMargin:v}=D(n);a.attr("transform",`translate(${t.x-f.width/2}, ${t.y-t.height/2-t.padding/3+(S(n.flowchart.htmlLabels)?5:3)+v})`);const y=i.node().getBBox();return t.height=y.height,t.intersect=function(c){return p(t,c)},r},lt=(e,t)=>{const n=e.insert("g").attr("class",t.classes).attr("id",t.id),r=n.insert("rect",":first-child"),i=0*t.padding,a=i/2;r.attr("class","divider").attr("x",t.x-t.width/2-a).attr("y",t.y-t.height/2).attr("width",t.width+i).attr("height",t.height+i);const d=r.node().getBBox();return t.width=d.width,t.height=d.height,t.diff=-t.padding/2,t.intersect=function(u){return p(t,u)},n},ft={rect:at,roundedWithTitle:ot,noteGroup:ct,divider:lt};let j={};const dt=(e,t)=>{s.trace("Inserting cluster");const n=t.shape||"rect";j[t.id]=ft[n](e,t)},ut=()=>{j={}},M=async(e,t,n,r,i,a)=>{s.info("Graph in recursive render: XXX",m(t),i);const d=t.graph().rankdir;s.trace("Dir in recursive render - dir:",d);const u=e.insert("g").attr("class","root");t.nodes()?s.info("Recursive render XXX",t.nodes()):s.info("No nodes found for",t),t.edges().length>0&&s.trace("Recursive edges",t.edge(t.edges()[0]));const f=u.insert("g").attr("class","clusters"),h=u.insert("g").attr("class","edgePaths"),w=u.insert("g").attr("class","edgeLabels"),x=u.insert("g").attr("class","nodes");await Promise.all(t.nodes().map(async function(c){const o=t.node(c);if(i!==void 0){const b=JSON.parse(JSON.stringify(i.clusterData));s.info("Setting data for cluster XXX (",c,") ",b,i),t.setNode(i.id,b),t.parent(c)||(s.trace("Setting parent",c,i.id),t.setParent(c,i.id,b))}if(s.info("(Insert) Node XXX"+c+": "+JSON.stringify(t.node(c))),o&&o.clusterNode){s.info("Cluster identified",c,o.width,t.node(c));const b=await M(x,o.graph,n,r,t.node(c),a),E=b.elem;W(o,E),o.diff=b.diff||0,s.info("Node bounds (abc123)",c,o,o.width,o.x,o.y),_(E,o),s.warn("Recursive render complete ",E,o)}else t.children(c).length>0?(s.info("Cluster - the non recursive path XXX",c,o.id,o,t),s.info(C(o.id,t)),l[o.id]={id:C(o.id,t),node:o}):(s.info("Node - the non recursive path",c,o.id,o),await q(x,t.node(c),d))})),t.edges().forEach(function(c){const o=t.edge(c.v,c.w,c.name);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c)),s.info("Edge "+c.v+" -> "+c.w+": ",c," ",JSON.stringify(t.edge(c))),s.info("Fix",l,"ids:",c.v,c.w,"Translating: ",l[c.v],l[c.w]),z(w,o)}),t.edges().forEach(function(c){s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(c))}),s.info("#############################################"),s.info("### Layout ###"),s.info("#############################################"),s.info(t),H(t),s.info("Graph after layout:",m(t));let v=0;const{subGraphTitleTotalMargin:y}=D(a);return rt(t).forEach(function(c){const o=t.node(c);s.info("Position "+c+": "+JSON.stringify(t.node(c))),s.info("Position "+c+": ("+o.x,","+o.y,") width: ",o.width," height: ",o.height),o&&o.clusterNode?(o.y+=y,O(o)):t.children(c).length>0?(o.height+=y,dt(f,o),l[o.id].node=o):(o.y+=y/2,O(o))}),t.edges().forEach(function(c){const o=t.edge(c);s.info("Edge "+c.v+" -> "+c.w+": "+JSON.stringify(o),o),o.points.forEach(E=>E.y+=y/2);const b=K(h,c,o,l,n,t,r);Q(o,b)}),t.nodes().forEach(function(c){const o=t.node(c);s.info(c,o.type,o.diff),o.type==="group"&&(v=o.diff)}),{elem:u,diff:v}},bt=async(e,t,n,r,i)=>{U(e,n,r,i),Y(),Z(),ut(),nt(),s.warn("Graph at first:",JSON.stringify(m(t))),st(t),s.warn("Graph after:",JSON.stringify(m(t)));const a=T();await M(e,t,r,i,void 0,a)};export{bt as r}; diff --git a/deploy/server/notebase/assets/index-OntvGoV0.js b/deploy/server/notebase/assets/index-D31-yJHm.js similarity index 98% rename from deploy/server/notebase/assets/index-OntvGoV0.js rename to deploy/server/notebase/assets/index-D31-yJHm.js index 7c8c00b8ac..fb75c46d14 100644 --- a/deploy/server/notebase/assets/index-OntvGoV0.js +++ b/deploy/server/notebase/assets/index-D31-yJHm.js @@ -34,10 +34,10 @@ var N9e=Object.defineProperty;var JZ=e=>{throw TypeError(e)};var M9e=(e,t,n)=>t `+m8+e}var g8=!1;function v8(e,t){if(!e||g8)return"";g8=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(c){var r=c}Reflect.construct(e,[],t)}else{try{t.call()}catch(c){r=c}e.call(t.prototype)}else{try{throw Error()}catch(c){r=c}e()}}catch(c){if(c&&r&&typeof c.stack=="string"){for(var i=c.stack.split(` `),o=r.stack.split(` `),a=i.length-1,s=o.length-1;1<=a&&0<=s&&i[a]!==o[s];)s--;for(;1<=a&&0<=s;a--,s--)if(i[a]!==o[s]){if(a!==1||s!==1)do if(a--,s--,0>s||i[a]!==o[s]){var l=` -`+i[a].replace(" at new "," at ");return e.displayName&&l.includes("")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{g8=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yC(e):""}function a8e(e){switch(e.tag){case 5:return yC(e.type);case 16:return yC("Lazy");case 13:return yC("Suspense");case 19:return yC("SuspenseList");case 0:case 2:case 15:return e=v8(e.type,!1),e;case 11:return e=v8(e.type.render,!1),e;case 1:return e=v8(e.type,!0),e;default:return""}}function oF(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case jb:return"Fragment";case Bb:return"Portal";case nF:return"Profiler";case SG:return"StrictMode";case rF:return"Suspense";case iF:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Rge:return(e.displayName||"Context")+".Consumer";case Oge:return(e._context.displayName||"Context")+".Provider";case EG:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case CG:return t=e.displayName||null,t!==null?t:oF(e.type)||"Memo";case um:t=e._payload,e=e._init;try{return oF(e(t))}catch{}}return null}function s8e(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return oF(t);case 8:return t===SG?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function fg(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Age(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function l8e(e){var t=Age(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function zO(e){e._valueTracker||(e._valueTracker=l8e(e))}function Nge(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Age(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function AN(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function aF(e,t){var n=t.checked;return Mo({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function aJ(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=fg(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Mge(e,t){t=t.checked,t!=null&&_G(e,"checked",t,!1)}function sF(e,t){Mge(e,t);var n=fg(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?lF(e,t.type,n):t.hasOwnProperty("defaultValue")&&lF(e,t.type,fg(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function sJ(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function lF(e,t,n){(t!=="number"||AN(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _C=Array.isArray;function ly(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=VO.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function qw(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var GC={animationIterationCount:!0,aspectRatio:!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},c8e=["Webkit","ms","Moz","O"];Object.keys(GC).forEach(function(e){c8e.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),GC[t]=GC[e]})});function Lge(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||GC.hasOwnProperty(e)&&GC[e]?(""+t).trim():t+"px"}function $ge(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Lge(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var u8e=Mo({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 dF(e,t){if(t){if(u8e[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(dn(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(dn(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(dn(61))}if(t.style!=null&&typeof t.style!="object")throw Error(dn(62))}}function fF(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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}}var pF=null;function wG(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hF=null,cy=null,uy=null;function uJ(e){if(e=jx(e)){if(typeof hF!="function")throw Error(dn(280));var t=e.stateNode;t&&(t=r5(t),hF(e.stateNode,e.type,t))}}function Fge(e){cy?uy?uy.push(e):uy=[e]:cy=e}function Bge(){if(cy){var e=cy,t=uy;if(uy=cy=null,uJ(e),t)for(e=0;e>>=0,e===0?32:31-(S8e(e)/E8e|0)|0}var GO=64,WO=4194304;function SC(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function PN(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=SC(s):(o&=a,o!==0&&(r=SC(o)))}else a=n&~i,a!==0?r=SC(a):o!==0&&(r=SC(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Fx(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ld(t),e[t]=n}function x8e(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=qC),yJ=" ",_J=!1;function o1e(e,t){switch(e){case"keyup":return eLe.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function a1e(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Hb=!1;function nLe(e,t){switch(e){case"compositionend":return a1e(t);case"keypress":return t.which!==32?null:(_J=!0,yJ);case"textInput":return e=t.data,e===yJ&&_J?null:e;default:return null}}function rLe(e,t){if(Hb)return e==="compositionend"||!MG&&o1e(e,t)?(e=r1e(),tA=IG=Im=null,Hb=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=wJ(n)}}function u1e(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?u1e(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function d1e(){for(var e=window,t=AN();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=AN(e.document)}return t}function kG(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function fLe(e){var t=d1e(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&u1e(n.ownerDocument.documentElement,n)){if(r!==null&&kG(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=TJ(n,o);var a=TJ(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ub=null,_F=null,KC=null,SF=!1;function xJ(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;SF||Ub==null||Ub!==AN(r)||(r=Ub,"selectionStart"in r&&kG(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),KC&&Jw(KC,r)||(KC=r,r=$N(_F,"onSelect"),0Gb||(e.current=OF[Gb],OF[Gb]=null,Gb--)}function Yi(e,t){Gb++,OF[Gb]=e.current,e.current=t}var pg={},As=xg(pg),Tl=xg(!1),Ov=pg;function qy(e,t){var n=e.type.contextTypes;if(!n)return pg;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function xl(e){return e=e.childContextTypes,e!=null}function BN(){lo(Tl),lo(As)}function kJ(e,t,n){if(As.current!==pg)throw Error(dn(168));Yi(As,t),Yi(Tl,n)}function _1e(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(dn(108,s8e(e)||"Unknown",i));return Mo({},n,r)}function jN(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pg,Ov=As.current,Yi(As,e),Yi(Tl,Tl.current),!0}function PJ(e,t,n){var r=e.stateNode;if(!r)throw Error(dn(169));n?(e=_1e(e,t,Ov),r.__reactInternalMemoizedMergedChildContext=e,lo(Tl),lo(As),Yi(As,e)):lo(Tl),Yi(Tl,n)}var Pp=null,i5=!1,N8=!1;function S1e(e){Pp===null?Pp=[e]:Pp.push(e)}function wLe(e){i5=!0,S1e(e)}function Og(){if(!N8&&Pp!==null){N8=!0;var e=0,t=wi;try{var n=Pp;for(wi=1;e>=a,i-=a,Fp=1<<32-ld(t)+i|n<T?(O=w,w=null):O=w.sibling;var x=f(y,w,_[T],E);if(x===null){w===null&&(w=O);break}e&&w&&x.alternate===null&&t(y,w),b=o(x,b,T),S===null?C=x:S.sibling=x,S=x,w=O}if(T===_.length)return n(y,w),_o&&h1(y,T),C;if(w===null){for(;T<_.length;T++)w=d(y,_[T],E),w!==null&&(b=o(w,b,T),S===null?C=w:S.sibling=w,S=w);return _o&&h1(y,T),C}for(w=r(y,w);T<_.length;T++)O=h(w,y,T,_[T],E),O!==null&&(e&&O.alternate!==null&&w.delete(O.key===null?T:O.key),b=o(O,b,T),S===null?C=O:S.sibling=O,S=O);return e&&w.forEach(function(A){return t(y,A)}),_o&&h1(y,T),C}function g(y,b,_,E){var C=gE(_);if(typeof C!="function")throw Error(dn(150));if(_=C.call(_),_==null)throw Error(dn(151));for(var S=C=null,w=b,T=b=0,O=null,x=_.next();w!==null&&!x.done;T++,x=_.next()){w.index>T?(O=w,w=null):O=w.sibling;var A=f(y,w,x.value,E);if(A===null){w===null&&(w=O);break}e&&w&&A.alternate===null&&t(y,w),b=o(A,b,T),S===null?C=A:S.sibling=A,S=A,w=O}if(x.done)return n(y,w),_o&&h1(y,T),C;if(w===null){for(;!x.done;T++,x=_.next())x=d(y,x.value,E),x!==null&&(b=o(x,b,T),S===null?C=x:S.sibling=x,S=x);return _o&&h1(y,T),C}for(w=r(y,w);!x.done;T++,x=_.next())x=h(w,y,T,x.value,E),x!==null&&(e&&x.alternate!==null&&w.delete(x.key===null?T:x.key),b=o(x,b,T),S===null?C=x:S.sibling=x,S=x);return e&&w.forEach(function(I){return t(y,I)}),_o&&h1(y,T),C}function v(y,b,_,E){if(typeof _=="object"&&_!==null&&_.type===jb&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case UO:e:{for(var C=_.key,S=b;S!==null;){if(S.key===C){if(C=_.type,C===jb){if(S.tag===7){n(y,S.sibling),b=i(S,_.props.children),b.return=y,y=b;break e}}else if(S.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===um&&$J(C)===S.type){n(y,S.sibling),b=i(S,_.props),b.ref=SE(y,S,_),b.return=y,y=b;break e}n(y,S);break}else t(y,S);S=S.sibling}_.type===jb?(b=rv(_.props.children,y.mode,E,_.key),b.return=y,y=b):(E=cA(_.type,_.key,_.props,null,y.mode,E),E.ref=SE(y,b,_),E.return=y,y=E)}return a(y);case Bb:e:{for(S=_.key;b!==null;){if(b.key===S)if(b.tag===4&&b.stateNode.containerInfo===_.containerInfo&&b.stateNode.implementation===_.implementation){n(y,b.sibling),b=i(b,_.children||[]),b.return=y,y=b;break e}else{n(y,b);break}else t(y,b);b=b.sibling}b=B8(_,y.mode,E),b.return=y,y=b}return a(y);case um:return S=_._init,v(y,b,S(_._payload),E)}if(_C(_))return m(y,b,_,E);if(gE(_))return g(y,b,_,E);JO(y,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,b!==null&&b.tag===6?(n(y,b.sibling),b=i(b,_),b.return=y,y=b):(n(y,b),b=F8(_,y.mode,E),b.return=y,y=b),a(y)):n(y,b)}return v}var Ky=T1e(!0),x1e=T1e(!1),zN=xg(null),VN=null,Yb=null,$G=null;function FG(){$G=Yb=VN=null}function BG(e){var t=zN.current;lo(zN),e._currentValue=t}function AF(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function fy(e,t){VN=e,$G=Yb=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Cl=!0),e.firstContext=null)}function pu(e){var t=e._currentValue;if($G!==e)if(e={context:e,memoizedValue:t,next:null},Yb===null){if(VN===null)throw Error(dn(308));Yb=e,VN.dependencies={lanes:0,firstContext:e}}else Yb=Yb.next=e;return t}var M1=null;function jG(e){M1===null?M1=[e]:M1.push(e)}function O1e(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,jG(t)):(n.next=i.next,i.next=n),t.interleaved=n,nh(e,r)}function nh(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var dm=!1;function HG(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function R1e(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function qp(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qm(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,si&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,nh(e,n)}return i=r.interleaved,i===null?(t.next=t,jG(r)):(t.next=i.next,i.next=t),r.interleaved=t,nh(e,n)}function rA(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xG(e,n)}}function FJ(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function GN(e,t,n,r){var i=e.updateQueue;dm=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?o=c:a.next=c,a=l;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==a&&(s===null?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(o!==null){var d=i.baseState;a=0,u=c=l=null,s=o;do{var f=s.lane,h=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var m=e,g=s;switch(f=t,h=n,g.tag){case 1:if(m=g.payload,typeof m=="function"){d=m.call(h,d,f);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=g.payload,f=typeof m=="function"?m.call(h,d,f):m,f==null)break e;d=Mo({},d,f);break e;case 2:dm=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(c=u=h,l=d):u=u.next=h,a|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(u===null&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Av|=a,e.lanes=a,e.memoizedState=d}}function BJ(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=k8.transition;k8.transition={};try{e(!1),t()}finally{wi=n,k8.transition=r}}function G1e(){return hu().memoizedState}function RLe(e,t,n){var r=Zm(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},W1e(e))q1e(t,n);else if(n=O1e(e,t,n,r),n!==null){var i=Qs();cd(n,e,r,i),Y1e(n,t,r)}}function ILe(e,t,n){var r=Zm(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(W1e(e))q1e(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,_d(s,a)){var l=t.interleaved;l===null?(i.next=i,jG(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=O1e(e,t,i,r),n!==null&&(i=Qs(),cd(n,e,r,i),Y1e(n,t,r))}}function W1e(e){var t=e.alternate;return e===No||t!==null&&t===No}function q1e(e,t){QC=qN=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Y1e(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xG(e,n)}}var YN={readContext:pu,useCallback:ms,useContext:ms,useEffect:ms,useImperativeHandle:ms,useInsertionEffect:ms,useLayoutEffect:ms,useMemo:ms,useReducer:ms,useRef:ms,useState:ms,useDebugValue:ms,useDeferredValue:ms,useTransition:ms,useMutableSource:ms,useSyncExternalStore:ms,useId:ms,unstable_isNewReconciler:!1},ALe={readContext:pu,useCallback:function(e,t){return tf().memoizedState=[e,t===void 0?null:t],e},useContext:pu,useEffect:HJ,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,oA(4194308,4,j1e.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oA(4194308,4,e,t)},useInsertionEffect:function(e,t){return oA(4,2,e,t)},useMemo:function(e,t){var n=tf();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=tf();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=RLe.bind(null,No,e),[r.memoizedState,e]},useRef:function(e){var t=tf();return e={current:e},t.memoizedState=e},useState:jJ,useDebugValue:KG,useDeferredValue:function(e){return tf().memoizedState=e},useTransition:function(){var e=jJ(!1),t=e[0];return e=OLe.bind(null,e[1]),tf().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=No,i=tf();if(_o){if(n===void 0)throw Error(dn(407));n=n()}else{if(n=t(),ja===null)throw Error(dn(349));Iv&30||M1e(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,HJ(P1e.bind(null,r,o,e),[e]),r.flags|=2048,sT(9,k1e.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=tf(),t=ja.identifierPrefix;if(_o){var n=Bp,r=Fp;n=(r&~(1<<32-ld(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=oT++,0")&&(l=l.replace("",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{g8=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?yC(e):""}function a8e(e){switch(e.tag){case 5:return yC(e.type);case 16:return yC("Lazy");case 13:return yC("Suspense");case 19:return yC("SuspenseList");case 0:case 2:case 15:return e=v8(e.type,!1),e;case 11:return e=v8(e.type.render,!1),e;case 1:return e=v8(e.type,!0),e;default:return""}}function oF(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case jb:return"Fragment";case Bb:return"Portal";case nF:return"Profiler";case SG:return"StrictMode";case rF:return"Suspense";case iF:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Rge:return(e.displayName||"Context")+".Consumer";case Oge:return(e._context.displayName||"Context")+".Provider";case EG:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case CG:return t=e.displayName||null,t!==null?t:oF(e.type)||"Memo";case um:t=e._payload,e=e._init;try{return oF(e(t))}catch{}}return null}function s8e(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return oF(t);case 8:return t===SG?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function fg(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Age(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function l8e(e){var t=Age(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function zO(e){e._valueTracker||(e._valueTracker=l8e(e))}function Nge(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Age(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function AN(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function aF(e,t){var n=t.checked;return Mo({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function aJ(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=fg(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Mge(e,t){t=t.checked,t!=null&&_G(e,"checked",t,!1)}function sF(e,t){Mge(e,t);var n=fg(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?lF(e,t.type,n):t.hasOwnProperty("defaultValue")&&lF(e,t.type,fg(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function sJ(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function lF(e,t,n){(t!=="number"||AN(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _C=Array.isArray;function ly(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=VO.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function qw(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var GC={animationIterationCount:!0,aspectRatio:!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},c8e=["Webkit","ms","Moz","O"];Object.keys(GC).forEach(function(e){c8e.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),GC[t]=GC[e]})});function Lge(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||GC.hasOwnProperty(e)&&GC[e]?(""+t).trim():t+"px"}function $ge(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Lge(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var u8e=Mo({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 dF(e,t){if(t){if(u8e[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(dn(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(dn(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(dn(61))}if(t.style!=null&&typeof t.style!="object")throw Error(dn(62))}}function fF(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){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}}var pF=null;function wG(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var hF=null,cy=null,uy=null;function uJ(e){if(e=jx(e)){if(typeof hF!="function")throw Error(dn(280));var t=e.stateNode;t&&(t=rP(t),hF(e.stateNode,e.type,t))}}function Fge(e){cy?uy?uy.push(e):uy=[e]:cy=e}function Bge(){if(cy){var e=cy,t=uy;if(uy=cy=null,uJ(e),t)for(e=0;e>>=0,e===0?32:31-(S8e(e)/E8e|0)|0}var GO=64,WO=4194304;function SC(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function PN(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~i;s!==0?r=SC(s):(o&=a,o!==0&&(r=SC(o)))}else a=n&~i,a!==0?r=SC(a):o!==0&&(r=SC(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Fx(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ld(t),e[t]=n}function x8e(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=qC),yJ=" ",_J=!1;function o1e(e,t){switch(e){case"keyup":return eLe.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function a1e(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Hb=!1;function nLe(e,t){switch(e){case"compositionend":return a1e(t);case"keypress":return t.which!==32?null:(_J=!0,yJ);case"textInput":return e=t.data,e===yJ&&_J?null:e;default:return null}}function rLe(e,t){if(Hb)return e==="compositionend"||!MG&&o1e(e,t)?(e=r1e(),tA=IG=Im=null,Hb=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=wJ(n)}}function u1e(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?u1e(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function d1e(){for(var e=window,t=AN();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=AN(e.document)}return t}function kG(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function fLe(e){var t=d1e(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&u1e(n.ownerDocument.documentElement,n)){if(r!==null&&kG(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=TJ(n,o);var a=TJ(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Ub=null,_F=null,KC=null,SF=!1;function xJ(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;SF||Ub==null||Ub!==AN(r)||(r=Ub,"selectionStart"in r&&kG(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),KC&&Jw(KC,r)||(KC=r,r=$N(_F,"onSelect"),0Gb||(e.current=OF[Gb],OF[Gb]=null,Gb--)}function Yi(e,t){Gb++,OF[Gb]=e.current,e.current=t}var pg={},As=xg(pg),Tl=xg(!1),Ov=pg;function qy(e,t){var n=e.type.contextTypes;if(!n)return pg;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function xl(e){return e=e.childContextTypes,e!=null}function BN(){lo(Tl),lo(As)}function kJ(e,t,n){if(As.current!==pg)throw Error(dn(168));Yi(As,t),Yi(Tl,n)}function _1e(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(dn(108,s8e(e)||"Unknown",i));return Mo({},n,r)}function jN(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pg,Ov=As.current,Yi(As,e),Yi(Tl,Tl.current),!0}function PJ(e,t,n){var r=e.stateNode;if(!r)throw Error(dn(169));n?(e=_1e(e,t,Ov),r.__reactInternalMemoizedMergedChildContext=e,lo(Tl),lo(As),Yi(As,e)):lo(Tl),Yi(Tl,n)}var Pp=null,iP=!1,N8=!1;function S1e(e){Pp===null?Pp=[e]:Pp.push(e)}function wLe(e){iP=!0,S1e(e)}function Og(){if(!N8&&Pp!==null){N8=!0;var e=0,t=wi;try{var n=Pp;for(wi=1;e>=a,i-=a,Fp=1<<32-ld(t)+i|n<T?(O=w,w=null):O=w.sibling;var x=f(y,w,_[T],E);if(x===null){w===null&&(w=O);break}e&&w&&x.alternate===null&&t(y,w),b=o(x,b,T),S===null?C=x:S.sibling=x,S=x,w=O}if(T===_.length)return n(y,w),_o&&h1(y,T),C;if(w===null){for(;T<_.length;T++)w=d(y,_[T],E),w!==null&&(b=o(w,b,T),S===null?C=w:S.sibling=w,S=w);return _o&&h1(y,T),C}for(w=r(y,w);T<_.length;T++)O=h(w,y,T,_[T],E),O!==null&&(e&&O.alternate!==null&&w.delete(O.key===null?T:O.key),b=o(O,b,T),S===null?C=O:S.sibling=O,S=O);return e&&w.forEach(function(A){return t(y,A)}),_o&&h1(y,T),C}function g(y,b,_,E){var C=gE(_);if(typeof C!="function")throw Error(dn(150));if(_=C.call(_),_==null)throw Error(dn(151));for(var S=C=null,w=b,T=b=0,O=null,x=_.next();w!==null&&!x.done;T++,x=_.next()){w.index>T?(O=w,w=null):O=w.sibling;var A=f(y,w,x.value,E);if(A===null){w===null&&(w=O);break}e&&w&&A.alternate===null&&t(y,w),b=o(A,b,T),S===null?C=A:S.sibling=A,S=A,w=O}if(x.done)return n(y,w),_o&&h1(y,T),C;if(w===null){for(;!x.done;T++,x=_.next())x=d(y,x.value,E),x!==null&&(b=o(x,b,T),S===null?C=x:S.sibling=x,S=x);return _o&&h1(y,T),C}for(w=r(y,w);!x.done;T++,x=_.next())x=h(w,y,T,x.value,E),x!==null&&(e&&x.alternate!==null&&w.delete(x.key===null?T:x.key),b=o(x,b,T),S===null?C=x:S.sibling=x,S=x);return e&&w.forEach(function(I){return t(y,I)}),_o&&h1(y,T),C}function v(y,b,_,E){if(typeof _=="object"&&_!==null&&_.type===jb&&_.key===null&&(_=_.props.children),typeof _=="object"&&_!==null){switch(_.$$typeof){case UO:e:{for(var C=_.key,S=b;S!==null;){if(S.key===C){if(C=_.type,C===jb){if(S.tag===7){n(y,S.sibling),b=i(S,_.props.children),b.return=y,y=b;break e}}else if(S.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===um&&$J(C)===S.type){n(y,S.sibling),b=i(S,_.props),b.ref=SE(y,S,_),b.return=y,y=b;break e}n(y,S);break}else t(y,S);S=S.sibling}_.type===jb?(b=rv(_.props.children,y.mode,E,_.key),b.return=y,y=b):(E=cA(_.type,_.key,_.props,null,y.mode,E),E.ref=SE(y,b,_),E.return=y,y=E)}return a(y);case Bb:e:{for(S=_.key;b!==null;){if(b.key===S)if(b.tag===4&&b.stateNode.containerInfo===_.containerInfo&&b.stateNode.implementation===_.implementation){n(y,b.sibling),b=i(b,_.children||[]),b.return=y,y=b;break e}else{n(y,b);break}else t(y,b);b=b.sibling}b=B8(_,y.mode,E),b.return=y,y=b}return a(y);case um:return S=_._init,v(y,b,S(_._payload),E)}if(_C(_))return m(y,b,_,E);if(gE(_))return g(y,b,_,E);JO(y,_)}return typeof _=="string"&&_!==""||typeof _=="number"?(_=""+_,b!==null&&b.tag===6?(n(y,b.sibling),b=i(b,_),b.return=y,y=b):(n(y,b),b=F8(_,y.mode,E),b.return=y,y=b),a(y)):n(y,b)}return v}var Ky=T1e(!0),x1e=T1e(!1),zN=xg(null),VN=null,Yb=null,$G=null;function FG(){$G=Yb=VN=null}function BG(e){var t=zN.current;lo(zN),e._currentValue=t}function AF(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function fy(e,t){VN=e,$G=Yb=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Cl=!0),e.firstContext=null)}function pu(e){var t=e._currentValue;if($G!==e)if(e={context:e,memoizedValue:t,next:null},Yb===null){if(VN===null)throw Error(dn(308));Yb=e,VN.dependencies={lanes:0,firstContext:e}}else Yb=Yb.next=e;return t}var M1=null;function jG(e){M1===null?M1=[e]:M1.push(e)}function O1e(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,jG(t)):(n.next=i.next,i.next=n),t.interleaved=n,nh(e,r)}function nh(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var dm=!1;function HG(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function R1e(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function qp(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Qm(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,si&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,nh(e,n)}return i=r.interleaved,i===null?(t.next=t,jG(r)):(t.next=i.next,i.next=t),r.interleaved=t,nh(e,n)}function rA(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xG(e,n)}}function FJ(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function GN(e,t,n,r){var i=e.updateQueue;dm=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var l=s,c=l.next;l.next=null,a===null?o=c:a.next=c,a=l;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==a&&(s===null?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(o!==null){var d=i.baseState;a=0,u=c=l=null,s=o;do{var f=s.lane,h=s.eventTime;if((r&f)===f){u!==null&&(u=u.next={eventTime:h,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var m=e,g=s;switch(f=t,h=n,g.tag){case 1:if(m=g.payload,typeof m=="function"){d=m.call(h,d,f);break e}d=m;break e;case 3:m.flags=m.flags&-65537|128;case 0:if(m=g.payload,f=typeof m=="function"?m.call(h,d,f):m,f==null)break e;d=Mo({},d,f);break e;case 2:dm=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[s]:f.push(s))}else h={eventTime:h,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(c=u=h,l=d):u=u.next=h,a|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;f=s,s=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(u===null&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Av|=a,e.lanes=a,e.memoizedState=d}}function BJ(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=k8.transition;k8.transition={};try{e(!1),t()}finally{wi=n,k8.transition=r}}function G1e(){return hu().memoizedState}function RLe(e,t,n){var r=Zm(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},W1e(e))q1e(t,n);else if(n=O1e(e,t,n,r),n!==null){var i=Qs();cd(n,e,r,i),Y1e(n,t,r)}}function ILe(e,t,n){var r=Zm(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(W1e(e))q1e(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,s=o(a,n);if(i.hasEagerState=!0,i.eagerState=s,_d(s,a)){var l=t.interleaved;l===null?(i.next=i,jG(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=O1e(e,t,i,r),n!==null&&(i=Qs(),cd(n,e,r,i),Y1e(n,t,r))}}function W1e(e){var t=e.alternate;return e===No||t!==null&&t===No}function q1e(e,t){QC=qN=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Y1e(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,xG(e,n)}}var YN={readContext:pu,useCallback:ms,useContext:ms,useEffect:ms,useImperativeHandle:ms,useInsertionEffect:ms,useLayoutEffect:ms,useMemo:ms,useReducer:ms,useRef:ms,useState:ms,useDebugValue:ms,useDeferredValue:ms,useTransition:ms,useMutableSource:ms,useSyncExternalStore:ms,useId:ms,unstable_isNewReconciler:!1},ALe={readContext:pu,useCallback:function(e,t){return tf().memoizedState=[e,t===void 0?null:t],e},useContext:pu,useEffect:HJ,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,oA(4194308,4,j1e.bind(null,t,e),n)},useLayoutEffect:function(e,t){return oA(4194308,4,e,t)},useInsertionEffect:function(e,t){return oA(4,2,e,t)},useMemo:function(e,t){var n=tf();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=tf();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=RLe.bind(null,No,e),[r.memoizedState,e]},useRef:function(e){var t=tf();return e={current:e},t.memoizedState=e},useState:jJ,useDebugValue:KG,useDeferredValue:function(e){return tf().memoizedState=e},useTransition:function(){var e=jJ(!1),t=e[0];return e=OLe.bind(null,e[1]),tf().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=No,i=tf();if(_o){if(n===void 0)throw Error(dn(407));n=n()}else{if(n=t(),ja===null)throw Error(dn(349));Iv&30||M1e(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,HJ(P1e.bind(null,r,o,e),[e]),r.flags|=2048,sT(9,k1e.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=tf(),t=ja.identifierPrefix;if(_o){var n=Bp,r=Fp;n=(r&~(1<<32-ld(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=oT++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[mf]=t,e[nT]=r,ive(e,t,!1,!1),t.stateNode=e;e:{switch(a=fF(n,r),n){case"dialog":to("cancel",e),to("close",e),i=r;break;case"iframe":case"object":case"embed":to("load",e),i=r;break;case"video":case"audio":for(i=0;iZy&&(t.flags|=128,r=!0,EE(o,!1),t.lanes=4194304)}else{if(!r)if(e=WN(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),EE(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!_o)return gs(t),null}else 2*ta()-o.renderingStartTime>Zy&&n!==1073741824&&(t.flags|=128,r=!0,EE(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ta(),t.sibling=null,n=Ro.current,Yi(Ro,r?n&1|2:n&1),t):(gs(t),null);case 22:case 23:return tW(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ic&1073741824&&(gs(t),t.subtreeFlags&6&&(t.flags|=8192)):gs(t),null;case 24:return null;case 25:return null}throw Error(dn(156,t.tag))}function FLe(e,t){switch(DG(t),t.tag){case 1:return xl(t.type)&&BN(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Qy(),lo(Tl),lo(As),VG(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zG(t),null;case 13:if(lo(Ro),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(dn(340));Yy()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return lo(Ro),null;case 4:return Qy(),null;case 10:return BG(t.type._context),null;case 22:case 23:return tW(),null;case 24:return null;default:return null}}var tR=!1,Cs=!1,BLe=typeof WeakSet=="function"?WeakSet:Set,Un=null;function Kb(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Uo(e,t,r)}else n.current=null}function BF(e,t,n){try{n()}catch(r){Uo(e,t,r)}}var ZJ=!1;function jLe(e,t){if(EF=DN,e=d1e(),kG(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var h;d!==n||i!==0&&d.nodeType!==3||(s=a+i),d!==o||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++c===i&&(s=a),f===o&&++u===r&&(l=a),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(CF={focusedElem:e,selectionRange:n},DN=!1,Un=t;Un!==null;)if(t=Un,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Un=e;else for(;Un!==null;){t=Un;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:Wu(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var _=t.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(dn(163))}}catch(E){Uo(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,Un=e;break}Un=t.return}return m=ZJ,ZJ=!1,m}function XC(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&BF(t,n,o)}i=i.next}while(i!==r)}}function s5(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function jF(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function sve(e){var t=e.alternate;t!==null&&(e.alternate=null,sve(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[mf],delete t[nT],delete t[xF],delete t[ELe],delete t[CLe])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function lve(e){return e.tag===5||e.tag===3||e.tag===4}function JJ(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lve(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function HF(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=FN));else if(r!==4&&(e=e.child,e!==null))for(HF(e,t,n),e=e.sibling;e!==null;)HF(e,t,n),e=e.sibling}function UF(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(UF(e,t,n),e=e.sibling;e!==null;)UF(e,t,n),e=e.sibling}var Ka=null,Ku=!1;function Bh(e,t,n){for(n=n.child;n!==null;)cve(e,t,n),n=n.sibling}function cve(e,t,n){if(If&&typeof If.onCommitFiberUnmount=="function")try{If.onCommitFiberUnmount(J4,n)}catch{}switch(n.tag){case 5:Cs||Kb(n,t);case 6:var r=Ka,i=Ku;Ka=null,Bh(e,t,n),Ka=r,Ku=i,Ka!==null&&(Ku?(e=Ka,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ka.removeChild(n.stateNode));break;case 18:Ka!==null&&(Ku?(e=Ka,n=n.stateNode,e.nodeType===8?A8(e.parentNode,n):e.nodeType===1&&A8(e,n),Xw(e)):A8(Ka,n.stateNode));break;case 4:r=Ka,i=Ku,Ka=n.stateNode.containerInfo,Ku=!0,Bh(e,t,n),Ka=r,Ku=i;break;case 0:case 11:case 14:case 15:if(!Cs&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&BF(n,t,a),i=i.next}while(i!==r)}Bh(e,t,n);break;case 1:if(!Cs&&(Kb(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Uo(n,t,s)}Bh(e,t,n);break;case 21:Bh(e,t,n);break;case 22:n.mode&1?(Cs=(r=Cs)||n.memoizedState!==null,Bh(e,t,n),Cs=r):Bh(e,t,n);break;default:Bh(e,t,n)}}function eee(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new BLe),t.forEach(function(r){var i=KLe.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Du(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=ta()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ULe(r/1960))-r,10e?16:e,Am===null)var r=!1;else{if(e=Am,Am=null,XN=0,si&6)throw Error(dn(331));var i=si;for(si|=4,Un=e.current;Un!==null;){var o=Un,a=o.child;if(Un.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lta()-JG?nv(e,0):ZG|=n),Ol(e,t)}function vve(e,t){t===0&&(e.mode&1?(t=WO,WO<<=1,!(WO&130023424)&&(WO=4194304)):t=1);var n=Qs();e=nh(e,t),e!==null&&(Fx(e,t,n),Ol(e,n))}function YLe(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),vve(e,n)}function KLe(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(dn(314))}r!==null&&r.delete(t),vve(e,n)}var bve;bve=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Tl.current)Cl=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Cl=!1,LLe(e,t,n);Cl=!!(e.flags&131072)}else Cl=!1,_o&&t.flags&1048576&&E1e(t,UN,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;aA(e,t),e=t.pendingProps;var i=qy(t,As.current);fy(t,n),i=WG(null,t,r,e,i,n);var o=qG();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,xl(r)?(o=!0,jN(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,HG(t),i.updater=a5,t.stateNode=i,i._reactInternals=t,MF(t,r,e,n),t=DF(null,t,r,!0,o,n)):(t.tag=0,_o&&o&&PG(t),zs(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(aA(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=XLe(r),e=Wu(r,e),i){case 0:t=PF(null,t,r,e,n);break e;case 1:t=KJ(null,t,r,e,n);break e;case 11:t=qJ(null,t,r,e,n);break e;case 14:t=YJ(null,t,r,Wu(r.type,e),n);break e}throw Error(dn(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wu(r,i),PF(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wu(r,i),KJ(e,t,r,i,n);case 3:e:{if(tve(t),e===null)throw Error(dn(387));r=t.pendingProps,o=t.memoizedState,i=o.element,R1e(e,t),GN(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Xy(Error(dn(423)),t),t=QJ(e,t,r,n,i);break e}else if(r!==i){i=Xy(Error(dn(424)),t),t=QJ(e,t,r,n,i);break e}else for(fc=Km(t.stateNode.containerInfo.firstChild),gc=t,_o=!0,Ju=null,n=x1e(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Yy(),r===i){t=rh(e,t,n);break e}zs(e,t,r,n)}t=t.child}return t;case 5:return I1e(t),e===null&&IF(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,wF(r,i)?a=null:o!==null&&wF(r,o)&&(t.flags|=32),eve(e,t),zs(e,t,a,n),t.child;case 6:return e===null&&IF(t),null;case 13:return nve(e,t,n);case 4:return UG(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ky(t,null,r,n):zs(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wu(r,i),qJ(e,t,r,i,n);case 7:return zs(e,t,t.pendingProps,n),t.child;case 8:return zs(e,t,t.pendingProps.children,n),t.child;case 12:return zs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Yi(zN,r._currentValue),r._currentValue=a,o!==null)if(_d(o.value,a)){if(o.children===i.children&&!Tl.current){t=rh(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=qp(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),AF(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(dn(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),AF(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}zs(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,fy(t,n),i=pu(i),r=r(i),t.flags|=1,zs(e,t,r,n),t.child;case 14:return r=t.type,i=Wu(r,t.pendingProps),i=Wu(r.type,i),YJ(e,t,r,i,n);case 15:return Z1e(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wu(r,i),aA(e,t),t.tag=1,xl(r)?(e=!0,jN(t)):e=!1,fy(t,n),K1e(t,r,i),MF(t,r,i,n),DF(null,t,r,!0,e,n);case 19:return rve(e,t,n);case 22:return J1e(e,t,n)}throw Error(dn(156,t.tag))};function yve(e,t){return Wge(e,t)}function QLe(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ou(e,t,n,r){return new QLe(e,t,n,r)}function rW(e){return e=e.prototype,!(!e||!e.isReactComponent)}function XLe(e){if(typeof e=="function")return rW(e)?1:0;if(e!=null){if(e=e.$$typeof,e===EG)return 11;if(e===CG)return 14}return 2}function Jm(e,t){var n=e.alternate;return n===null?(n=ou(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function cA(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")rW(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case jb:return rv(n.children,i,o,t);case SG:a=8,i|=8;break;case nF:return e=ou(12,n,t,i|2),e.elementType=nF,e.lanes=o,e;case rF:return e=ou(13,n,t,i),e.elementType=rF,e.lanes=o,e;case iF:return e=ou(19,n,t,i),e.elementType=iF,e.lanes=o,e;case Ige:return c5(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Oge:a=10;break e;case Rge:a=9;break e;case EG:a=11;break e;case CG:a=14;break e;case um:a=16,r=null;break e}throw Error(dn(130,e==null?e:typeof e,""))}return t=ou(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function rv(e,t,n,r){return e=ou(7,e,r,t),e.lanes=n,e}function c5(e,t,n,r){return e=ou(22,e,r,t),e.elementType=Ige,e.lanes=n,e.stateNode={isHidden:!1},e}function F8(e,t,n){return e=ou(6,e,null,t),e.lanes=n,e}function B8(e,t,n){return t=ou(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ZLe(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=y8(0),this.expirationTimes=y8(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=y8(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function iW(e,t,n,r,i,o,a,s,l){return e=new ZLe(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ou(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},HG(o),e}function JLe(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Cve)}catch(e){console.error(e)}}Cve(),Cge.exports=Oc;var Ml=Cge.exports;const cT=di(Ml),wve=X4({__proto__:null,default:cT},[Ml]);var lee=Ml;eF.createRoot=lee.createRoot,eF.hydrateRoot=lee.hydrateRoot;const i$e={BASE_URL:"/notebase",DEV:!1,MODE:"open",PROD:!0,SSR:!1,VITE_CONFIG_ENV:"prod-open"},cee=e=>{let t;const n=new Set,r=(u,d)=>{const f=typeof u=="function"?u(t):u;if(!Object.is(f,t)){const h=t;t=d??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(m=>m(t,h))}},i=()=>t,l={setState:r,getState:i,getInitialState:()=>c,subscribe:u=>(n.add(u),()=>n.delete(u)),destroy:()=>{(i$e?"open":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},c=t=e(r,i,l);return l},o$e=e=>e?cee(e):cee;var Tve={exports:{}},xve={},Ove={exports:{}},Rve={};/** +`+o.stack}return{value:e,source:t,stack:i,digest:null}}function L8(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function kF(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var kLe=typeof WeakMap=="function"?WeakMap:Map;function Q1e(e,t,n){n=qp(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){QN||(QN=!0,zF=r),kF(e,t)},n}function X1e(e,t,n){n=qp(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){kF(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){kF(e,t),typeof r!="function"&&(Xm===null?Xm=new Set([this]):Xm.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function VJ(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new kLe;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=qLe.bind(null,e,t,n),t.then(e,e))}function GJ(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function WJ(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=qp(-1,1),t.tag=2,Qm(n,t,1))),n.lanes|=1),e)}var PLe=bh.ReactCurrentOwner,Cl=!1;function zs(e,t,n,r){t.child=e===null?x1e(t,null,n,r):Ky(t,e.child,n,r)}function qJ(e,t,n,r,i){n=n.render;var o=t.ref;return fy(t,i),r=WG(e,t,n,r,o,i),n=qG(),e!==null&&!Cl?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,rh(e,t,i)):(_o&&n&&PG(t),t.flags|=1,zs(e,t,r,i),t.child)}function YJ(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!rW(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Z1e(e,t,o,r,i)):(e=cA(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:Jw,n(a,r)&&e.ref===t.ref)return rh(e,t,i)}return t.flags|=1,e=Jm(o,r),e.ref=t.ref,e.return=t,t.child=e}function Z1e(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Jw(o,r)&&e.ref===t.ref)if(Cl=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Cl=!0);else return t.lanes=e.lanes,rh(e,t,i)}return PF(e,t,n,r,i)}function J1e(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Yi(Qb,ic),ic|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Yi(Qb,ic),ic|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Yi(Qb,ic),ic|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Yi(Qb,ic),ic|=r;return zs(e,t,i,n),t.child}function eve(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function PF(e,t,n,r,i){var o=xl(n)?Ov:As.current;return o=qy(t,o),fy(t,i),n=WG(e,t,n,r,o,i),r=qG(),e!==null&&!Cl?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,rh(e,t,i)):(_o&&r&&PG(t),t.flags|=1,zs(e,t,n,i),t.child)}function KJ(e,t,n,r,i){if(xl(n)){var o=!0;jN(t)}else o=!1;if(fy(t,i),t.stateNode===null)aA(e,t),K1e(t,n,r),MF(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;typeof c=="object"&&c!==null?c=pu(c):(c=xl(n)?Ov:As.current,c=qy(t,c));var u=n.getDerivedStateFromProps,d=typeof u=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==c)&&zJ(t,a,r,c),dm=!1;var f=t.memoizedState;a.state=f,GN(t,r,a,i),l=t.memoizedState,s!==r||f!==l||Tl.current||dm?(typeof u=="function"&&(NF(t,n,u,r),l=t.memoizedState),(s=dm||UJ(t,n,s,r,f,l,c))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,R1e(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Wu(t.type,s),a.props=c,d=t.pendingProps,f=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=pu(l):(l=xl(n)?Ov:As.current,l=qy(t,l));var h=n.getDerivedStateFromProps;(u=typeof h=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||f!==l)&&zJ(t,a,r,l),dm=!1,f=t.memoizedState,a.state=f,GN(t,r,a,i);var m=t.memoizedState;s!==d||f!==m||Tl.current||dm?(typeof h=="function"&&(NF(t,n,h,r),m=t.memoizedState),(c=dm||UJ(t,n,c,r,f,m,l)||!1)?(u||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,m,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,m,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),a.props=r,a.state=m,a.context=l,r=c):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return DF(e,t,n,r,o,i)}function DF(e,t,n,r,i,o){eve(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return i&&PJ(t,n,!1),rh(e,t,o);r=t.stateNode,PLe.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Ky(t,e.child,null,o),t.child=Ky(t,null,s,o)):zs(e,t,s,o),t.memoizedState=r.state,i&&PJ(t,n,!0),t.child}function tve(e){var t=e.stateNode;t.pendingContext?kJ(e,t.pendingContext,t.pendingContext!==t.context):t.context&&kJ(e,t.context,!1),UG(e,t.containerInfo)}function QJ(e,t,n,r,i){return Yy(),LG(i),t.flags|=256,zs(e,t,n,r),t.child}var LF={dehydrated:null,treeContext:null,retryLane:0};function $F(e){return{baseLanes:e,cachePool:null,transitions:null}}function nve(e,t,n){var r=t.pendingProps,i=Ro.current,o=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Yi(Ro,i&1),e===null)return IF(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=a):o=cP(a,r,0,null),e=rv(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=$F(n),t.memoizedState=LF,e):QG(t,a));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return DLe(e,t,a,r,s,i,n);if(o){o=r.fallback,a=t.mode,i=e.child,s=i.sibling;var l={mode:"hidden",children:r.children};return!(a&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Jm(i,l),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=Jm(s,o):(o=rv(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?$F(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=LF,r}return o=e.child,e=o.sibling,r=Jm(o,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function QG(e,t){return t=cP({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function eR(e,t,n,r){return r!==null&&LG(r),Ky(t,e.child,null,n),e=QG(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function DLe(e,t,n,r,i,o,a){if(n)return t.flags&256?(t.flags&=-257,r=L8(Error(dn(422))),eR(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=cP({mode:"visible",children:r.children},i,0,null),o=rv(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Ky(t,e.child,null,a),t.child.memoizedState=$F(a),t.memoizedState=LF,o);if(!(t.mode&1))return eR(e,t,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(dn(419)),r=L8(o,r,void 0),eR(e,t,a,r)}if(s=(a&e.childLanes)!==0,Cl||s){if(r=ja,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|a)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,nh(e,i),cd(r,e,i,-1))}return nW(),r=L8(Error(dn(421))),eR(e,t,a,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=YLe.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,fc=Km(i.nextSibling),gc=t,_o=!0,Ju=null,e!==null&&(Zc[Jc++]=Fp,Zc[Jc++]=Bp,Zc[Jc++]=Rv,Fp=e.id,Bp=e.overflow,Rv=t),t=QG(t,r.children),t.flags|=4096,t)}function XJ(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),AF(e.return,t,n)}function $8(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function rve(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(zs(e,t,r.children,n),r=Ro.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&XJ(e,n,t);else if(e.tag===19)XJ(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Yi(Ro,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&WN(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),$8(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&WN(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}$8(t,!0,n,null,o);break;case"together":$8(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function aA(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function rh(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Av|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(dn(153));if(t.child!==null){for(e=t.child,n=Jm(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Jm(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function LLe(e,t,n){switch(t.tag){case 3:tve(t),Yy();break;case 5:I1e(t);break;case 1:xl(t.type)&&jN(t);break;case 4:UG(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Yi(zN,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Yi(Ro,Ro.current&1),t.flags|=128,null):n&t.child.childLanes?nve(e,t,n):(Yi(Ro,Ro.current&1),e=rh(e,t,n),e!==null?e.sibling:null);Yi(Ro,Ro.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return rve(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Yi(Ro,Ro.current),r)break;return null;case 22:case 23:return t.lanes=0,J1e(e,t,n)}return rh(e,t,n)}var ive,FF,ove,ave;ive=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};FF=function(){};ove=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,k1(Af.current);var o=null;switch(n){case"input":i=aF(e,i),r=aF(e,r),o=[];break;case"select":i=Mo({},i,{value:void 0}),r=Mo({},r,{value:void 0}),o=[];break;case"textarea":i=cF(e,i),r=cF(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=FN)}dF(n,r);var a;n=null;for(c in i)if(!r.hasOwnProperty(c)&&i.hasOwnProperty(c)&&i[c]!=null)if(c==="style"){var s=i[c];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(Ww.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in r){var l=r[c];if(s=i!=null?i[c]:void 0,r.hasOwnProperty(c)&&l!==s&&(l!=null||s!=null))if(c==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(o||(o=[]),o.push(c,n)),n=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(Ww.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&to("scroll",e),o||s===l||(o=[])):(o=o||[]).push(c,l))}n&&(o=o||[]).push("style",n);var c=o;(t.updateQueue=c)&&(t.flags|=4)}};ave=function(e,t,n,r){n!==r&&(t.flags|=4)};function EE(e,t){if(!_o)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function gs(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function $Le(e,t,n){var r=t.pendingProps;switch(DG(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return gs(t),null;case 1:return xl(t.type)&&BN(),gs(t),null;case 3:return r=t.stateNode,Qy(),lo(Tl),lo(As),VG(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ZO(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ju!==null&&(WF(Ju),Ju=null))),FF(e,t),gs(t),null;case 5:zG(t);var i=k1(iT.current);if(n=t.type,e!==null&&t.stateNode!=null)ove(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(dn(166));return gs(t),null}if(e=k1(Af.current),ZO(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[mf]=t,r[nT]=o,e=(t.mode&1)!==0,n){case"dialog":to("cancel",r),to("close",r);break;case"iframe":case"object":case"embed":to("load",r);break;case"video":case"audio":for(i=0;i<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[mf]=t,e[nT]=r,ive(e,t,!1,!1),t.stateNode=e;e:{switch(a=fF(n,r),n){case"dialog":to("cancel",e),to("close",e),i=r;break;case"iframe":case"object":case"embed":to("load",e),i=r;break;case"video":case"audio":for(i=0;iZy&&(t.flags|=128,r=!0,EE(o,!1),t.lanes=4194304)}else{if(!r)if(e=WN(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),EE(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!_o)return gs(t),null}else 2*ta()-o.renderingStartTime>Zy&&n!==1073741824&&(t.flags|=128,r=!0,EE(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ta(),t.sibling=null,n=Ro.current,Yi(Ro,r?n&1|2:n&1),t):(gs(t),null);case 22:case 23:return tW(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ic&1073741824&&(gs(t),t.subtreeFlags&6&&(t.flags|=8192)):gs(t),null;case 24:return null;case 25:return null}throw Error(dn(156,t.tag))}function FLe(e,t){switch(DG(t),t.tag){case 1:return xl(t.type)&&BN(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Qy(),lo(Tl),lo(As),VG(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return zG(t),null;case 13:if(lo(Ro),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(dn(340));Yy()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return lo(Ro),null;case 4:return Qy(),null;case 10:return BG(t.type._context),null;case 22:case 23:return tW(),null;case 24:return null;default:return null}}var tR=!1,Cs=!1,BLe=typeof WeakSet=="function"?WeakSet:Set,Un=null;function Kb(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Uo(e,t,r)}else n.current=null}function BF(e,t,n){try{n()}catch(r){Uo(e,t,r)}}var ZJ=!1;function jLe(e,t){if(EF=DN,e=d1e(),kG(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,c=0,u=0,d=e,f=null;t:for(;;){for(var h;d!==n||i!==0&&d.nodeType!==3||(s=a+i),d!==o||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++c===i&&(s=a),f===o&&++u===r&&(l=a),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(CF={focusedElem:e,selectionRange:n},DN=!1,Un=t;Un!==null;)if(t=Un,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Un=e;else for(;Un!==null;){t=Un;try{var m=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(m!==null){var g=m.memoizedProps,v=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?g:Wu(t.type,g),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var _=t.stateNode.containerInfo;_.nodeType===1?_.textContent="":_.nodeType===9&&_.documentElement&&_.removeChild(_.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(dn(163))}}catch(E){Uo(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,Un=e;break}Un=t.return}return m=ZJ,ZJ=!1,m}function XC(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&BF(t,n,o)}i=i.next}while(i!==r)}}function sP(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function jF(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function sve(e){var t=e.alternate;t!==null&&(e.alternate=null,sve(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[mf],delete t[nT],delete t[xF],delete t[ELe],delete t[CLe])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function lve(e){return e.tag===5||e.tag===3||e.tag===4}function JJ(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||lve(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function HF(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=FN));else if(r!==4&&(e=e.child,e!==null))for(HF(e,t,n),e=e.sibling;e!==null;)HF(e,t,n),e=e.sibling}function UF(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(UF(e,t,n),e=e.sibling;e!==null;)UF(e,t,n),e=e.sibling}var Ka=null,Ku=!1;function Bh(e,t,n){for(n=n.child;n!==null;)cve(e,t,n),n=n.sibling}function cve(e,t,n){if(If&&typeof If.onCommitFiberUnmount=="function")try{If.onCommitFiberUnmount(J4,n)}catch{}switch(n.tag){case 5:Cs||Kb(n,t);case 6:var r=Ka,i=Ku;Ka=null,Bh(e,t,n),Ka=r,Ku=i,Ka!==null&&(Ku?(e=Ka,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ka.removeChild(n.stateNode));break;case 18:Ka!==null&&(Ku?(e=Ka,n=n.stateNode,e.nodeType===8?A8(e.parentNode,n):e.nodeType===1&&A8(e,n),Xw(e)):A8(Ka,n.stateNode));break;case 4:r=Ka,i=Ku,Ka=n.stateNode.containerInfo,Ku=!0,Bh(e,t,n),Ka=r,Ku=i;break;case 0:case 11:case 14:case 15:if(!Cs&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&(o&2||o&4)&&BF(n,t,a),i=i.next}while(i!==r)}Bh(e,t,n);break;case 1:if(!Cs&&(Kb(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Uo(n,t,s)}Bh(e,t,n);break;case 21:Bh(e,t,n);break;case 22:n.mode&1?(Cs=(r=Cs)||n.memoizedState!==null,Bh(e,t,n),Cs=r):Bh(e,t,n);break;default:Bh(e,t,n)}}function eee(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new BLe),t.forEach(function(r){var i=KLe.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Du(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=a),r&=~o}if(r=i,r=ta()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*ULe(r/1960))-r,10e?16:e,Am===null)var r=!1;else{if(e=Am,Am=null,XN=0,si&6)throw Error(dn(331));var i=si;for(si|=4,Un=e.current;Un!==null;){var o=Un,a=o.child;if(Un.flags&16){var s=o.deletions;if(s!==null){for(var l=0;lta()-JG?nv(e,0):ZG|=n),Ol(e,t)}function vve(e,t){t===0&&(e.mode&1?(t=WO,WO<<=1,!(WO&130023424)&&(WO=4194304)):t=1);var n=Qs();e=nh(e,t),e!==null&&(Fx(e,t,n),Ol(e,n))}function YLe(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),vve(e,n)}function KLe(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(dn(314))}r!==null&&r.delete(t),vve(e,n)}var bve;bve=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Tl.current)Cl=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Cl=!1,LLe(e,t,n);Cl=!!(e.flags&131072)}else Cl=!1,_o&&t.flags&1048576&&E1e(t,UN,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;aA(e,t),e=t.pendingProps;var i=qy(t,As.current);fy(t,n),i=WG(null,t,r,e,i,n);var o=qG();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,xl(r)?(o=!0,jN(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,HG(t),i.updater=aP,t.stateNode=i,i._reactInternals=t,MF(t,r,e,n),t=DF(null,t,r,!0,o,n)):(t.tag=0,_o&&o&&PG(t),zs(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(aA(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=XLe(r),e=Wu(r,e),i){case 0:t=PF(null,t,r,e,n);break e;case 1:t=KJ(null,t,r,e,n);break e;case 11:t=qJ(null,t,r,e,n);break e;case 14:t=YJ(null,t,r,Wu(r.type,e),n);break e}throw Error(dn(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wu(r,i),PF(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wu(r,i),KJ(e,t,r,i,n);case 3:e:{if(tve(t),e===null)throw Error(dn(387));r=t.pendingProps,o=t.memoizedState,i=o.element,R1e(e,t),GN(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Xy(Error(dn(423)),t),t=QJ(e,t,r,n,i);break e}else if(r!==i){i=Xy(Error(dn(424)),t),t=QJ(e,t,r,n,i);break e}else for(fc=Km(t.stateNode.containerInfo.firstChild),gc=t,_o=!0,Ju=null,n=x1e(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Yy(),r===i){t=rh(e,t,n);break e}zs(e,t,r,n)}t=t.child}return t;case 5:return I1e(t),e===null&&IF(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,wF(r,i)?a=null:o!==null&&wF(r,o)&&(t.flags|=32),eve(e,t),zs(e,t,a,n),t.child;case 6:return e===null&&IF(t),null;case 13:return nve(e,t,n);case 4:return UG(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Ky(t,null,r,n):zs(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wu(r,i),qJ(e,t,r,i,n);case 7:return zs(e,t,t.pendingProps,n),t.child;case 8:return zs(e,t,t.pendingProps.children,n),t.child;case 12:return zs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Yi(zN,r._currentValue),r._currentValue=a,o!==null)if(_d(o.value,a)){if(o.children===i.children&&!Tl.current){t=rh(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){a=o.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(o.tag===1){l=qp(-1,n&-n),l.tag=2;var c=o.updateQueue;if(c!==null){c=c.shared;var u=c.pending;u===null?l.next=l:(l.next=u.next,u.next=l),c.pending=l}}o.lanes|=n,l=o.alternate,l!==null&&(l.lanes|=n),AF(o.return,n,t),s.lanes|=n;break}l=l.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(dn(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),AF(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}zs(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,fy(t,n),i=pu(i),r=r(i),t.flags|=1,zs(e,t,r,n),t.child;case 14:return r=t.type,i=Wu(r,t.pendingProps),i=Wu(r.type,i),YJ(e,t,r,i,n);case 15:return Z1e(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Wu(r,i),aA(e,t),t.tag=1,xl(r)?(e=!0,jN(t)):e=!1,fy(t,n),K1e(t,r,i),MF(t,r,i,n),DF(null,t,r,!0,e,n);case 19:return rve(e,t,n);case 22:return J1e(e,t,n)}throw Error(dn(156,t.tag))};function yve(e,t){return Wge(e,t)}function QLe(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ou(e,t,n,r){return new QLe(e,t,n,r)}function rW(e){return e=e.prototype,!(!e||!e.isReactComponent)}function XLe(e){if(typeof e=="function")return rW(e)?1:0;if(e!=null){if(e=e.$$typeof,e===EG)return 11;if(e===CG)return 14}return 2}function Jm(e,t){var n=e.alternate;return n===null?(n=ou(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function cA(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")rW(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case jb:return rv(n.children,i,o,t);case SG:a=8,i|=8;break;case nF:return e=ou(12,n,t,i|2),e.elementType=nF,e.lanes=o,e;case rF:return e=ou(13,n,t,i),e.elementType=rF,e.lanes=o,e;case iF:return e=ou(19,n,t,i),e.elementType=iF,e.lanes=o,e;case Ige:return cP(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Oge:a=10;break e;case Rge:a=9;break e;case EG:a=11;break e;case CG:a=14;break e;case um:a=16,r=null;break e}throw Error(dn(130,e==null?e:typeof e,""))}return t=ou(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function rv(e,t,n,r){return e=ou(7,e,r,t),e.lanes=n,e}function cP(e,t,n,r){return e=ou(22,e,r,t),e.elementType=Ige,e.lanes=n,e.stateNode={isHidden:!1},e}function F8(e,t,n){return e=ou(6,e,null,t),e.lanes=n,e}function B8(e,t,n){return t=ou(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ZLe(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=y8(0),this.expirationTimes=y8(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=y8(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function iW(e,t,n,r,i,o,a,s,l){return e=new ZLe(e,t,n,s,l),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ou(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},HG(o),e}function JLe(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Cve)}catch(e){console.error(e)}}Cve(),Cge.exports=Oc;var Ml=Cge.exports;const cT=di(Ml),wve=X4({__proto__:null,default:cT},[Ml]);var lee=Ml;eF.createRoot=lee.createRoot,eF.hydrateRoot=lee.hydrateRoot;const i$e={BASE_URL:"/notebase",DEV:!1,MODE:"open",PROD:!0,SSR:!1,VITE_CONFIG_ENV:"prod-open"},cee=e=>{let t;const n=new Set,r=(u,d)=>{const f=typeof u=="function"?u(t):u;if(!Object.is(f,t)){const h=t;t=d??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(m=>m(t,h))}},i=()=>t,l={setState:r,getState:i,getInitialState:()=>c,subscribe:u=>(n.add(u),()=>n.delete(u)),destroy:()=>{(i$e?"open":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},c=t=e(r,i,l);return l},o$e=e=>e?cee(e):cee;var Tve={exports:{}},xve={},Ove={exports:{}},Rve={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -53,20 +53,20 @@ Error generating stack: `+o.message+` * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var h5=p,m$e=Ive;function g$e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var v$e=typeof Object.is=="function"?Object.is:g$e,b$e=m$e.useSyncExternalStore,y$e=h5.useRef,_$e=h5.useEffect,S$e=h5.useMemo,E$e=h5.useDebugValue;xve.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=y$e(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=S$e(function(){function l(h){if(!c){if(c=!0,u=h,h=r(h),i!==void 0&&a.hasValue){var m=a.value;if(i(m,h))return d=m}return d=h}if(m=d,v$e(u,h))return m;var g=r(h);return i!==void 0&&i(m,g)?m:(u=h,d=g)}var c=!1,u,d,f=n===void 0?null:n;return[function(){return l(t())},f===null?void 0:function(){return l(f())}]},[t,n,r,i]);var s=b$e(e,o[0],o[1]);return _$e(function(){a.hasValue=!0,a.value=s},[s]),E$e(s),s};Tve.exports=xve;var C$e=Tve.exports;const w$e=di(C$e),Ave={BASE_URL:"/notebase",DEV:!1,MODE:"open",PROD:!0,SSR:!1,VITE_CONFIG_ENV:"prod-open"},{useDebugValue:T$e}=se,{useSyncExternalStoreWithSelector:x$e}=w$e;let uee=!1;const O$e=e=>e;function R$e(e,t=O$e,n){(Ave?"open":void 0)!=="production"&&n&&!uee&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),uee=!0);const r=x$e(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return T$e(r),r}const dee=e=>{(Ave?"open":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?o$e(e):e,n=(r,i)=>R$e(t,r,i);return Object.assign(n,t),n},Ic=e=>e?dee(e):dee,uA={BASE_URL:"/notebase",DEV:!1,MODE:"open",PROD:!0,SSR:!1,VITE_CONFIG_ENV:"prod-open"},qF=new Map,iR=e=>{const t=qF.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([n,r])=>[n,r.getState()])):{}},I$e=(e,t,n)=>{if(e===void 0)return{type:"untracked",connection:t.connect(n)};const r=qF.get(n.name);if(r)return{type:"tracked",store:e,...r};const i={connection:t.connect(n),stores:{}};return qF.set(n.name,i),{type:"tracked",store:e,...i}},A$e=(e,t={})=>(n,r,i)=>{const{enabled:o,anonymousActionType:a,store:s,...l}=t;let c;try{c=(o??(uA?"open":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!c)return(uA?"open":void 0)!=="production"&&o&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,i);const{connection:u,...d}=I$e(s,c,l);let f=!0;i.setState=(g,v,y)=>{const b=n(g,v);if(!f)return b;const _=y===void 0?{type:a||"anonymous"}:typeof y=="string"?{type:y}:y;return s===void 0?(u==null||u.send(_,r()),b):(u==null||u.send({..._,type:`${s}/${_.type}`},{...iR(l.name),[s]:i.getState()}),b)};const h=(...g)=>{const v=f;f=!1,n(...g),f=v},m=e(i.setState,r,i);if(d.type==="untracked"?u==null||u.init(m):(d.stores[d.store]=i,u==null||u.init(Object.fromEntries(Object.entries(d.stores).map(([g,v])=>[g,g===d.store?m:v.getState()])))),i.dispatchFromDevtools&&typeof i.dispatch=="function"){let g=!1;const v=i.dispatch;i.dispatch=(...y)=>{(uA?"open":void 0)!=="production"&&y[0].type==="__setState"&&!g&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),g=!0),v(...y)}}return u.subscribe(g=>{var v;switch(g.type){case"ACTION":if(typeof g.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return H8(g.payload,y=>{if(y.type==="__setState"){if(s===void 0){h(y.state);return}Object.keys(y.state).length!==1&&console.error(` + */var hP=p,m$e=Ive;function g$e(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var v$e=typeof Object.is=="function"?Object.is:g$e,b$e=m$e.useSyncExternalStore,y$e=hP.useRef,_$e=hP.useEffect,S$e=hP.useMemo,E$e=hP.useDebugValue;xve.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=y$e(null);if(o.current===null){var a={hasValue:!1,value:null};o.current=a}else a=o.current;o=S$e(function(){function l(h){if(!c){if(c=!0,u=h,h=r(h),i!==void 0&&a.hasValue){var m=a.value;if(i(m,h))return d=m}return d=h}if(m=d,v$e(u,h))return m;var g=r(h);return i!==void 0&&i(m,g)?m:(u=h,d=g)}var c=!1,u,d,f=n===void 0?null:n;return[function(){return l(t())},f===null?void 0:function(){return l(f())}]},[t,n,r,i]);var s=b$e(e,o[0],o[1]);return _$e(function(){a.hasValue=!0,a.value=s},[s]),E$e(s),s};Tve.exports=xve;var C$e=Tve.exports;const w$e=di(C$e),Ave={BASE_URL:"/notebase",DEV:!1,MODE:"open",PROD:!0,SSR:!1,VITE_CONFIG_ENV:"prod-open"},{useDebugValue:T$e}=se,{useSyncExternalStoreWithSelector:x$e}=w$e;let uee=!1;const O$e=e=>e;function R$e(e,t=O$e,n){(Ave?"open":void 0)!=="production"&&n&&!uee&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),uee=!0);const r=x$e(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return T$e(r),r}const dee=e=>{(Ave?"open":void 0)!=="production"&&typeof e!="function"&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t=typeof e=="function"?o$e(e):e,n=(r,i)=>R$e(t,r,i);return Object.assign(n,t),n},Ic=e=>e?dee(e):dee,uA={BASE_URL:"/notebase",DEV:!1,MODE:"open",PROD:!0,SSR:!1,VITE_CONFIG_ENV:"prod-open"},qF=new Map,iR=e=>{const t=qF.get(e);return t?Object.fromEntries(Object.entries(t.stores).map(([n,r])=>[n,r.getState()])):{}},I$e=(e,t,n)=>{if(e===void 0)return{type:"untracked",connection:t.connect(n)};const r=qF.get(n.name);if(r)return{type:"tracked",store:e,...r};const i={connection:t.connect(n),stores:{}};return qF.set(n.name,i),{type:"tracked",store:e,...i}},A$e=(e,t={})=>(n,r,i)=>{const{enabled:o,anonymousActionType:a,store:s,...l}=t;let c;try{c=(o??(uA?"open":void 0)!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!c)return(uA?"open":void 0)!=="production"&&o&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,i);const{connection:u,...d}=I$e(s,c,l);let f=!0;i.setState=(g,v,y)=>{const b=n(g,v);if(!f)return b;const _=y===void 0?{type:a||"anonymous"}:typeof y=="string"?{type:y}:y;return s===void 0?(u==null||u.send(_,r()),b):(u==null||u.send({..._,type:`${s}/${_.type}`},{...iR(l.name),[s]:i.getState()}),b)};const h=(...g)=>{const v=f;f=!1,n(...g),f=v},m=e(i.setState,r,i);if(d.type==="untracked"?u==null||u.init(m):(d.stores[d.store]=i,u==null||u.init(Object.fromEntries(Object.entries(d.stores).map(([g,v])=>[g,g===d.store?m:v.getState()])))),i.dispatchFromDevtools&&typeof i.dispatch=="function"){let g=!1;const v=i.dispatch;i.dispatch=(...y)=>{(uA?"open":void 0)!=="production"&&y[0].type==="__setState"&&!g&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),g=!0),v(...y)}}return u.subscribe(g=>{var v;switch(g.type){case"ACTION":if(typeof g.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return H8(g.payload,y=>{if(y.type==="__setState"){if(s===void 0){h(y.state);return}Object.keys(y.state).length!==1&&console.error(` [zustand devtools middleware] Unsupported __setState action format. When using 'store' option in devtools(), the 'state' should have only one key, which is a value of 'store' that was passed in devtools(), and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } } - `);const b=y.state[s];if(b==null)return;JSON.stringify(i.getState())!==JSON.stringify(b)&&h(b);return}i.dispatchFromDevtools&&typeof i.dispatch=="function"&&i.dispatch(y)});case"DISPATCH":switch(g.payload.type){case"RESET":return h(m),s===void 0?u==null?void 0:u.init(i.getState()):u==null?void 0:u.init(iR(l.name));case"COMMIT":if(s===void 0){u==null||u.init(i.getState());return}return u==null?void 0:u.init(iR(l.name));case"ROLLBACK":return H8(g.state,y=>{if(s===void 0){h(y),u==null||u.init(i.getState());return}h(y[s]),u==null||u.init(iR(l.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return H8(g.state,y=>{if(s===void 0){h(y);return}JSON.stringify(i.getState())!==JSON.stringify(y[s])&&h(y[s])});case"IMPORT_STATE":{const{nextLiftedState:y}=g.payload,b=(v=y.computedStates.slice(-1)[0])==null?void 0:v.state;if(!b)return;h(s===void 0?b:b[s]),u==null||u.send(null,y);return}case"PAUSE_RECORDING":return f=!f}return}}),m},Md=A$e,H8=(e,t)=>{let n;try{n=JSON.parse(e)}catch(r){console.error("[zustand devtools middleware] Could not parse the received json",r)}n!==void 0&&t(n)};function N$e(e,t){let n;try{n=e()}catch{return}return{getItem:i=>{var o;const a=l=>l===null?null:JSON.parse(l,void 0),s=(o=n.getItem(i))!=null?o:null;return s instanceof Promise?s.then(a):a(s)},setItem:(i,o)=>n.setItem(i,JSON.stringify(o,void 0)),removeItem:i=>n.removeItem(i)}}const uT=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return uT(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return uT(r)(n)}}}},M$e=(e,t)=>(n,r,i)=>{let o={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:v=>v,version:0,merge:(v,y)=>({...y,...v}),...t},a=!1;const s=new Set,l=new Set;let c;try{c=o.getStorage()}catch{}if(!c)return e((...v)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),n(...v)},r,i);const u=uT(o.serialize),d=()=>{const v=o.partialize({...r()});let y;const b=u({state:v,version:o.version}).then(_=>c.setItem(o.name,_)).catch(_=>{y=_});if(y)throw y;return b},f=i.setState;i.setState=(v,y)=>{f(v,y),d()};const h=e((...v)=>{n(...v),d()},r,i);let m;const g=()=>{var v;if(!c)return;a=!1,s.forEach(b=>b(r()));const y=((v=o.onRehydrateStorage)==null?void 0:v.call(o,r()))||void 0;return uT(c.getItem.bind(c))(o.name).then(b=>{if(b)return o.deserialize(b)}).then(b=>{if(b)if(typeof b.version=="number"&&b.version!==o.version){if(o.migrate)return o.migrate(b.state,b.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return b.state}).then(b=>{var _;return m=o.merge(b,(_=r())!=null?_:h),n(m,!0),d()}).then(()=>{y==null||y(m,void 0),a=!0,l.forEach(b=>b(m))}).catch(b=>{y==null||y(void 0,b)})};return i.persist={setOptions:v=>{o={...o,...v},v.getStorage&&(c=v.getStorage())},clearStorage:()=>{c==null||c.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>g(),hasHydrated:()=>a,onHydrate:v=>(s.add(v),()=>{s.delete(v)}),onFinishHydration:v=>(l.add(v),()=>{l.delete(v)})},g(),m||h},k$e=(e,t)=>(n,r,i)=>{let o={storage:N$e(()=>localStorage),partialize:g=>g,version:0,merge:(g,v)=>({...v,...g}),...t},a=!1;const s=new Set,l=new Set;let c=o.storage;if(!c)return e((...g)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),n(...g)},r,i);const u=()=>{const g=o.partialize({...r()});return c.setItem(o.name,{state:g,version:o.version})},d=i.setState;i.setState=(g,v)=>{d(g,v),u()};const f=e((...g)=>{n(...g),u()},r,i);i.getInitialState=()=>f;let h;const m=()=>{var g,v;if(!c)return;a=!1,s.forEach(b=>{var _;return b((_=r())!=null?_:f)});const y=((v=o.onRehydrateStorage)==null?void 0:v.call(o,(g=r())!=null?g:f))||void 0;return uT(c.getItem.bind(c))(o.name).then(b=>{if(b)if(typeof b.version=="number"&&b.version!==o.version){if(o.migrate)return[!0,o.migrate(b.state,b.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,b.state];return[!1,void 0]}).then(b=>{var _;const[E,C]=b;if(h=o.merge(C,(_=r())!=null?_:f),n(h,!0),E)return u()}).then(()=>{y==null||y(h,void 0),h=r(),a=!0,l.forEach(b=>b(h))}).catch(b=>{y==null||y(void 0,b)})};return i.persist={setOptions:g=>{o={...o,...g},g.storage&&(c=g.storage)},clearStorage:()=>{c==null||c.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>m(),hasHydrated:()=>a,onHydrate:g=>(s.add(g),()=>{s.delete(g)}),onFinishHydration:g=>(l.add(g),()=>{l.delete(g)})},o.skipHydration||m(),h||f},P$e=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((uA?"open":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),M$e(e,t)):k$e(e,t),kd=P$e;var Nve=Symbol.for("immer-nothing"),fee=Symbol.for("immer-draftable"),Sc=Symbol.for("immer-state");function ed(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var e_=Object.getPrototypeOf;function t_(e){return!!e&&!!e[Sc]}function Mv(e){var t;return e?Mve(e)||Array.isArray(e)||!!e[fee]||!!((t=e.constructor)!=null&&t[fee])||g5(e)||v5(e):!1}var D$e=Object.prototype.constructor.toString();function Mve(e){if(!e||typeof e!="object")return!1;const t=e_(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===D$e}function eM(e,t){m5(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function m5(e){const t=e[Sc];return t?t.type_:Array.isArray(e)?1:g5(e)?2:v5(e)?3:0}function YF(e,t){return m5(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function kve(e,t,n){const r=m5(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function L$e(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function g5(e){return e instanceof Map}function v5(e){return e instanceof Set}function g1(e){return e.copy_||e.base_}function KF(e,t){if(g5(e))return new Map(e);if(v5(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Mve(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[Sc];let i=Reflect.ownKeys(r);for(let o=0;o1&&(e.set=e.add=e.clear=e.delete=$$e),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>lW(r,!0))),e}function $$e(){ed(2)}function b5(e){return Object.isFrozen(e)}var F$e={};function kv(e){const t=F$e[e];return t||ed(0,e),t}var dT;function Pve(){return dT}function B$e(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function pee(e,t){t&&(kv("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function QF(e){XF(e),e.drafts_.forEach(j$e),e.drafts_=null}function XF(e){e===dT&&(dT=e.parent_)}function hee(e){return dT=B$e(dT,e)}function j$e(e){const t=e[Sc];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function mee(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Sc].modified_&&(QF(t),ed(4)),Mv(e)&&(e=tM(t,e),t.parent_||nM(t,e)),t.patches_&&kv("Patches").generateReplacementPatches_(n[Sc].base_,e,t.patches_,t.inversePatches_)):e=tM(t,n,[]),QF(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Nve?e:void 0}function tM(e,t,n){if(b5(t))return t;const r=t[Sc];if(!r)return eM(t,(i,o)=>gee(e,r,t,i,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return nM(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let o=i,a=!1;r.type_===3&&(o=new Set(i),i.clear(),a=!0),eM(o,(s,l)=>gee(e,r,i,s,l,n,a)),nM(e,i,!1),n&&e.patches_&&kv("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function gee(e,t,n,r,i,o,a){if(t_(i)){const s=o&&t&&t.type_!==3&&!YF(t.assigned_,r)?o.concat(r):void 0,l=tM(e,i,s);if(kve(n,r,l),t_(l))e.canAutoFreeze_=!1;else return}else a&&n.add(i);if(Mv(i)&&!b5(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;tM(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&nM(e,i)}}function nM(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&lW(t,n)}function H$e(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Pve(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,o=cW;n&&(i=[r],o=fT);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return r.draft_=s,r.revoke_=a,s}var cW={get(e,t){if(t===Sc)return e;const n=g1(e);if(!YF(n,t))return U$e(e,n,t);const r=n[t];return e.finalized_||!Mv(r)?r:r===U8(e.base_,t)?(z8(e),e.copy_[t]=JF(r,e)):r},has(e,t){return t in g1(e)},ownKeys(e){return Reflect.ownKeys(g1(e))},set(e,t,n){const r=Dve(g1(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=U8(g1(e),t),o=i==null?void 0:i[Sc];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(L$e(n,i)&&(n!==void 0||YF(e.base_,t)))return!0;z8(e),ZF(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return U8(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,z8(e),ZF(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=g1(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){ed(11)},getPrototypeOf(e){return e_(e.base_)},setPrototypeOf(){ed(12)}},fT={};eM(cW,(e,t)=>{fT[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});fT.deleteProperty=function(e,t){return fT.set.call(this,e,t,void 0)};fT.set=function(e,t,n){return cW.set.call(this,e[0],t,n,e[0])};function U8(e,t){const n=e[Sc];return(n?g1(n):e)[t]}function U$e(e,t,n){var i;const r=Dve(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Dve(e,t){if(!(t in e))return;let n=e_(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=e_(n)}}function ZF(e){e.modified_||(e.modified_=!0,e.parent_&&ZF(e.parent_))}function z8(e){e.copy_||(e.copy_=KF(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var z$e=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const a=this;return function(l=o,...c){return a.produce(l,u=>n.call(this,u,...c))}}typeof n!="function"&&ed(6),r!==void 0&&typeof r!="function"&&ed(7);let i;if(Mv(t)){const o=hee(this),a=JF(t,void 0);let s=!0;try{i=n(a),s=!1}finally{s?QF(o):XF(o)}return pee(o,r),mee(i,o)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Nve&&(i=void 0),this.autoFreeze_&&lW(i,!0),r){const o=[],a=[];kv("Patches").generateReplacementPatches_(t,i,o,a),r(o,a)}return i}else ed(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,l=>t(l,...s));let r,i;return[this.produce(t,n,(a,s)=>{r=a,i=s}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Mv(e)||ed(8),t_(e)&&(e=V$e(e));const t=hee(this),n=JF(e,void 0);return n[Sc].isManual_=!0,XF(t),n}finishDraft(e,t){const n=e&&e[Sc];(!n||!n.isManual_)&&ed(9);const{scope_:r}=n;return pee(r,t),mee(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=kv("Patches").applyPatches_;return t_(e)?r(e,t):this.produce(e,i=>r(i,t))}};function JF(e,t){const n=g5(e)?kv("MapSet").proxyMap_(e,t):v5(e)?kv("MapSet").proxySet_(e,t):H$e(e,t);return(t?t.scope_:Pve()).drafts_.push(n),n}function V$e(e){return t_(e)||ed(10,e),Lve(e)}function Lve(e){if(!Mv(e)||b5(e))return e;const t=e[Sc];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=KF(e,t.scope_.immer_.useStrictShallowCopy_)}else n=KF(e,!0);return eM(n,(r,i)=>{kve(n,r,Lve(i))}),t&&(t.finalized_=!1),n}var Ec=new z$e,G$e=Ec.produce;Ec.produceWithPatches.bind(Ec);Ec.setAutoFreeze.bind(Ec);Ec.setUseStrictShallowCopy.bind(Ec);Ec.applyPatches.bind(Ec);Ec.createDraft.bind(Ec);Ec.finishDraft.bind(Ec);const W$e=e=>(t,n,r)=>(r.setState=(i,o,...a)=>{const s=typeof i=="function"?G$e(i):i;return t(s,o,...a)},e(r.setState,n,r)),Pd=W$e,q$e="dev",$ve="open",vee="prod",Y$e="quanjing",Fve="prod-open";console.log("Current VITE_CONFIG_ENV:","prod-open");let Go;switch(Fve){case"dev":Go={API_URL:"http://127.0.0.1:9003",MQTT_URL:"ws://127.0.0.1:9885/websocket",HTML_URL:"http://127.0.0.1:9006",IS_DEBUG:!0,SERVER_MODE:q$e,CLIENT:"WEB",USER_PRIVACY_URL:"http://127.0.0.1:9003/protocol",SHOW_SWITCH_SERVER:!0,SHOW_SCAN_LOGIN:!0,LOGO_URL:"http://127.0.0.1:9003/logo.png",LOGO_NAME:"微语",SHOW_CREATE_GROUP:!0,SHOW_CREATE_LLM:!0,SHOW_CONTACTS:!0,SHOW_FAVORITE:!0,SHOW_TRIAL_TIP:!1};break;case"prod-open":Go={API_URL:"http://127.0.0.1:9003",MQTT_URL:"ws://127.0.0.1:9885/websocket",HTML_URL:"http://127.0.0.1:9003",IS_DEBUG:!1,SERVER_MODE:$ve,CLIENT:"WEB",USER_PRIVACY_URL:"http://127.0.0.1:9003/protocol",SHOW_SWITCH_SERVER:!0,SHOW_SCAN_LOGIN:!0,LOGO_URL:"http://127.0.0.1:9003/logo.png",LOGO_NAME:"微语",SHOW_CREATE_GROUP:!0,SHOW_CREATE_LLM:!0,SHOW_CONTACTS:!0,SHOW_FAVORITE:!0,SHOW_TRIAL_TIP:!1};break;case"prod-quanjing":Go={API_URL:"https://kf.gxzgt.com:9003",MQTT_URL:"wss://kf.gxzgt.com:9003/websocket",HTML_URL:"https://kf.gxzgt.com:9003",IS_DEBUG:!1,SERVER_MODE:Y$e,CLIENT:"WEB",USER_PRIVACY_URL:"https://zgtapp.zwfw.gxzf.gov.cn/zgt-h5/userProtocol/index.html",SHOW_SWITCH_SERVER:!1,SHOW_SCAN_LOGIN:!1,LOGO_URL:"https://kf.gxzgt.com:9003/assets/images/logos/zhiguitong.png",LOGO_NAME:"微语",SHOW_CREATE_GROUP:!1,SHOW_CREATE_LLM:!1,SHOW_CONTACTS:!1,SHOW_FAVORITE:!1,SHOW_TRIAL_TIP:!1};break;case"prod-web":Go={API_URL:"https://api.weiyuai.cn",MQTT_URL:"wss://api.weiyuai.cn/websocket",HTML_URL:"https://www.weiyuai.cn",IS_DEBUG:!1,SERVER_MODE:vee,CLIENT:"WEB",USER_PRIVACY_URL:"https://www.weiyuai.cn/protocol.html",SHOW_SWITCH_SERVER:!1,SHOW_SCAN_LOGIN:!0,LOGO_URL:"https://www.weiyuai.cn/logo.png",LOGO_NAME:"微语",SHOW_CREATE_GROUP:!0,SHOW_CREATE_LLM:!0,SHOW_CONTACTS:!0,SHOW_FAVORITE:!0,SHOW_TRIAL_TIP:!1};break;default:Go={API_URL:"https://api.weiyuai.cn",MQTT_URL:"wss://api.weiyuai.cn/websocket",HTML_URL:"https://www.weiyuai.cn",IS_DEBUG:!1,SERVER_MODE:vee,CLIENT:"ELECTRON",USER_PRIVACY_URL:"https://www.weiyuai.cn/protocol.html",SHOW_SWITCH_SERVER:!1,SHOW_SCAN_LOGIN:!0,LOGO_URL:"https://www.weiyuai.cn/logo.png",LOGO_NAME:"微语",SHOW_CREATE_GROUP:!0,SHOW_CREATE_LLM:!0,SHOW_CONTACTS:!0,SHOW_FAVORITE:!0,SHOW_TRIAL_TIP:!1}}console.log("config.API_BASE_URL: ",Fve,Go);const Ha=navigator.userAgent.toLowerCase().indexOf("electron")>-1,V8=Go.API_URL,bee=Go.MQTT_URL;Go.HTML_URL;const ud=Go.IS_DEBUG,K$e=Go.SERVER_MODE,wr=Go.CLIENT,Q$e=Go.USER_PRIVACY_URL,X$e=Go.SHOW_SWITCH_SERVER,Z$e=Go.SHOW_SCAN_LOGIN,J$e=Go.LOGO_URL,e6e=Go.LOGO_NAME;Go.SHOW_CREATE_GROUP;Go.SHOW_CREATE_LLM;Go.SHOW_CONTACTS;Go.SHOW_FAVORITE;Go.SHOW_TRIAL_TIP;const mu="BYTEDESK",yee="locale",_ee="mode",hy="team",Pv="agent",rM="personal",See="i18n.",oR="i18n.new.message",Bve="ANONYMOUS",oc="bytedesk_login_credentials",Eee="THEME_MODE_TYPE",Cee="THEME_NAME_TYPE",dA="PLAY_AUDIO",ew="NETWORK_STATUS_NOTIFICATION",tw="CONFIG_ENABLED_AGENT",fA="CONFIG_API_URL_AGENT",pA="CONFIG_WEBSOCKET_URL_AGENT",G8="CONFIG_HTML_URL_AGENT",n_="true",t6e="false",Xb="CONFIG_CUSTOM_ENABLED_AGENT",CC="CONFIG_CUSTOM_API_URL_AGENT",wC="CONFIG_CUSTOM_WEBSOCKET_URL_AGENT",n6e="CONFIG_PROPERTIES",r6e="SCREENSHOT_OK",i6e="EVENT_BUS_SERVER_ERROR_500",eg="EVENT_BUS_TOKEN_INVALID",pT="EVENT_BUS_MQTT_MESSAGE",eB="EVENT_BUS_MQTT_CONNECTED",tB="EVENT_BUS_MQTT_OFFLINE",nB="EVENT_BUS_MQTT_CLOSE",rB="EVENT_BUS_MQTT_DISCONNECTED",iB="EVENT_BUS_MQTT_ERROR",oB="EVENT_BUS_MQTT_END",jve="EVENT_BUS_MESSAGE_TYPE_STATUS",o6e="EVENT_BUS_MESSAGE_TYPE_TYPING",a6e="EVENT_BUS_MESSAGE_TYPE_PROCESSING",s6e="EVENT_BUS_MESSAGE_TYPE_STREAM",l6e="EVENT_BUS_MESSAGE_TYPE_PREVIEW",aB="EVENT_BUS_MESSAGE_TYPE_TRANSFER",sB="EVENT_BUS_MESSAGE_TYPE_TRANSFER_ACCEPT",lB="EVENT_BUS_MESSAGE_TYPE_TRANSFER_REJECT",c6e="EVENT_BUS_SCREEN_CAPTURE_IMAGE",u6e="AUTH_STORE",tg="ACCESS_TOKEN",d6e="ORGANIZATION_STORE",f6e="MEMBER_STORE",p6e="MESSAGE_STORE",h6e="CONTACT_STORE",m6e="USER_STORE",g6e="SETTINGS_STORE",v6e="THREAD_STORE",b6e="DEVICE_STORE",y6e="AGENT_STORE",_6e="WORKGROUP_STORE",S6e="member",Hve="device",E6e="MOBILE_LOGIN",C6e="MOBILE_RESET",w6e="MOBILE_VERIFY",T6e="EMAIL_RESET",x6e="EMAIL_VERIFY",O6e="PENDING",R6e="SCANNED",I6e="CONFIRMED",A6e="EXPIRED",N6e="https://cdn.weiyuai.cn/agent/assets/sound/dingdong.wav",M6e="https://cdn.weiyuai.cn/agent/assets/css/scrollbar.css",k6e="https://www.weiyuai.cn/download.html",wee="AGENT",Tee="USER",xee="AGENT",Oee="WORKGROUP",Ree="QUEUING",Iee="CLOSED",Aee="SENDING",cB="SUCCESS",P6e="TRANSFER_ACCEPT",D6e="TRANSFER_REJECT",uB="CONTINUE",Uve="SYSTEM",L6e="QUEUE",$6e="TEXT",F6e="IMAGE",B6e="FILE",j6e="AUDIO",H6e="VIDEO",dB="TYPING",fB="PROCESSING",hT="STREAM",Nee="PREVIEW",Mee="RECALL",pB="DELIVERED",hB="READ",U6e="FAQ_UP",z6e="FAQ_DOWN",V6e="ROBOT_UP",G6e="ROBOT_DOWN",W6e="RATE_SUBMIT",q6e="RATE_CANCEL",mT="AUTO_CLOSED",gT="AGENT_CLOSED",kee="TRANSFER",Pee="TRANSFER_ACCEPT",Dee="TRANSFER_REJECT",Lee="AVAILABLE",W8="OFFLINE",$ee="REST",Y6e="org/group/",K6e="HELPCENTER",ng="NOTEBASE",q8="FAQ",Q6e="CHAT",mB="lastPath",X6e="ROLE_SUPER",Z6e="ROLE_ADMIN",J6e="ROLE_MEMBER",e7e="ROLE_AGENT",t7e="ARTICLE",Ux=Ic()(Md(kd(Pd((e,t)=>({accessToken:"",setAccessToken(n){localStorage.setItem(tg,n),e({accessToken:n})},getAccessToken(){return t().accessToken},removeAccessToken(){localStorage.removeItem(tg),e({accessToken:""})}})),{name:u6e}))),n7e=Ic()(Md(kd(Pd(e=>({settings:{playSound:!0,showNotifications:!0,openAtStartup:!1,colors:!1,proLayoutCollapsed:!0},currentMenu:"chat",setCurrentMenu(t){e({currentMenu:t})},setProLayoutCollapsed(t){e(n=>({settings:{...n.settings,proLayoutCollapsed:t}}))}})),{name:g6e})));var d0={},zve={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(zve);var xr=zve.exports,y5={};Object.defineProperty(y5,"__esModule",{value:!0});y5.default=void 0;var r7e={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"};y5.default=r7e;var _5={},zx={},S5={},Vve={exports:{}},Gve={exports:{}},Wve={exports:{}},qve={exports:{}};(function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(qve);var f0=qve.exports,Yve={exports:{}};(function(e){var t=f0.default;function n(r,i){if(t(r)!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var a=o.call(r,i||"default");if(t(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Yve);var i7e=Yve.exports;(function(e){var t=f0.default,n=i7e;function r(i){var o=n(i,"string");return t(o)=="symbol"?o:o+""}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Wve);var o7e=Wve.exports;(function(e){var t=o7e;function n(r,i,o){return(i=t(i))in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Gve);var Kve=Gve.exports;(function(e){var t=Kve;function n(i,o){var a=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);o&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(i,l).enumerable})),a.push.apply(a,s)}return a}function r(i){for(var o=1;o{r==="system"&&(window.matchMedia("(prefers-color-scheme: dark)").matches?n("dark"):n("light"),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",a=>{a.matches?n("dark"):n("light")}))},[]),p.useEffect(()=>{localStorage.setItem(Eee,i),i==="light"?n("light"):i==="dark"?n("dark"):i==="system"&&(window.matchMedia("(prefers-color-scheme: dark)").matches?n("dark"):n("light"))},[i]),p.useEffect(()=>{localStorage.setItem(Cee,t)},[t]),{themeName:t,setThemeName:n,themeMode:i,setThemeMode:o,isDarkMode:t==="dark",isLightMode:t==="light"}}function t0e(e,t){return function(){return e.apply(t,arguments)}}const{toString:Z7e}=Object.prototype,{getPrototypeOf:dW}=Object,k5=(e=>t=>{const n=Z7e.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Dd=e=>(e=e.toLowerCase(),t=>k5(t)===e),P5=e=>t=>typeof t===e,{isArray:rS}=Array,vT=P5("undefined");function J7e(e){return e!==null&&!vT(e)&&e.constructor!==null&&!vT(e.constructor)&&vc(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const n0e=Dd("ArrayBuffer");function eFe(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&n0e(e.buffer),t}const tFe=P5("string"),vc=P5("function"),r0e=P5("number"),D5=e=>e!==null&&typeof e=="object",nFe=e=>e===!0||e===!1,hA=e=>{if(k5(e)!=="object")return!1;const t=dW(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},rFe=Dd("Date"),iFe=Dd("File"),oFe=Dd("Blob"),aFe=Dd("FileList"),sFe=e=>D5(e)&&vc(e.pipe),lFe=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||vc(e.append)&&((t=k5(e))==="formdata"||t==="object"&&vc(e.toString)&&e.toString()==="[object FormData]"))},cFe=Dd("URLSearchParams"),[uFe,dFe,fFe,pFe]=["ReadableStream","Request","Response","Headers"].map(Dd),hFe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Kx(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),rS(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const P1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,o0e=e=>!vT(e)&&e!==P1;function gB(){const{caseless:e}=o0e(this)&&this||{},t={},n=(r,i)=>{const o=e&&i0e(t,i)||i;hA(t[o])&&hA(r)?t[o]=gB(t[o],r):hA(r)?t[o]=gB({},r):rS(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(Kx(t,(i,o)=>{n&&vc(i)?e[o]=t0e(i,n):e[o]=i},{allOwnKeys:r}),e),gFe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),vFe=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},bFe=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&dW(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},yFe=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},_Fe=e=>{if(!e)return null;if(rS(e))return e;let t=e.length;if(!r0e(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},SFe=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&dW(Uint8Array)),EFe=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},CFe=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},wFe=Dd("HTMLFormElement"),TFe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Uee=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),xFe=Dd("RegExp"),a0e=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Kx(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},OFe=e=>{a0e(e,(t,n)=>{if(vc(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(vc(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},RFe=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return rS(e)?r(e):r(String(e).split(t)),n},IFe=()=>{},AFe=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Y8="abcdefghijklmnopqrstuvwxyz",zee="0123456789",s0e={DIGIT:zee,ALPHA:Y8,ALPHA_DIGIT:Y8+Y8.toUpperCase()+zee},NFe=(e=16,t=s0e.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function MFe(e){return!!(e&&vc(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const kFe=e=>{const t=new Array(10),n=(r,i)=>{if(D5(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=rS(r)?[]:{};return Kx(r,(a,s)=>{const l=n(a,i+1);!vT(l)&&(o[s]=l)}),t[i]=void 0,o}}return r};return n(e,0)},PFe=Dd("AsyncFunction"),DFe=e=>e&&(D5(e)||vc(e))&&vc(e.then)&&vc(e.catch),l0e=((e,t)=>e?setImmediate:t?((n,r)=>(P1.addEventListener("message",({source:i,data:o})=>{i===P1&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),P1.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",vc(P1.postMessage)),LFe=typeof queueMicrotask<"u"?queueMicrotask.bind(P1):typeof process<"u"&&process.nextTick||l0e,zt={isArray:rS,isArrayBuffer:n0e,isBuffer:J7e,isFormData:lFe,isArrayBufferView:eFe,isString:tFe,isNumber:r0e,isBoolean:nFe,isObject:D5,isPlainObject:hA,isReadableStream:uFe,isRequest:dFe,isResponse:fFe,isHeaders:pFe,isUndefined:vT,isDate:rFe,isFile:iFe,isBlob:oFe,isRegExp:xFe,isFunction:vc,isStream:sFe,isURLSearchParams:cFe,isTypedArray:SFe,isFileList:aFe,forEach:Kx,merge:gB,extend:mFe,trim:hFe,stripBOM:gFe,inherits:vFe,toFlatObject:bFe,kindOf:k5,kindOfTest:Dd,endsWith:yFe,toArray:_Fe,forEachEntry:EFe,matchAll:CFe,isHTMLForm:wFe,hasOwnProperty:Uee,hasOwnProp:Uee,reduceDescriptors:a0e,freezeMethods:OFe,toObjectSet:RFe,toCamelCase:TFe,noop:IFe,toFiniteNumber:AFe,findKey:i0e,global:P1,isContextDefined:o0e,ALPHABET:s0e,generateString:NFe,isSpecCompliantForm:MFe,toJSONObject:kFe,isAsyncFn:PFe,isThenable:DFe,setImmediate:l0e,asap:LFe};function Ir(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}zt.inherits(Ir,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:zt.toJSONObject(this.config),code:this.code,status:this.status}}});const c0e=Ir.prototype,u0e={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{u0e[e]={value:e}});Object.defineProperties(Ir,u0e);Object.defineProperty(c0e,"isAxiosError",{value:!0});Ir.from=(e,t,n,r,i,o)=>{const a=Object.create(c0e);return zt.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),Ir.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const $Fe=null;function vB(e){return zt.isPlainObject(e)||zt.isArray(e)}function d0e(e){return zt.endsWith(e,"[]")?e.slice(0,-2):e}function Vee(e,t,n){return e?e.concat(t).map(function(i,o){return i=d0e(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function FFe(e){return zt.isArray(e)&&!e.some(vB)}const BFe=zt.toFlatObject(zt,{},null,function(t){return/^is[A-Z]/.test(t)});function L5(e,t,n){if(!zt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=zt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,v){return!zt.isUndefined(v[g])});const r=n.metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&zt.isSpecCompliantForm(t);if(!zt.isFunction(i))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(zt.isDate(m))return m.toISOString();if(!l&&zt.isBlob(m))throw new Ir("Blob is not supported. Use a Buffer instead.");return zt.isArrayBuffer(m)||zt.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,g,v){let y=m;if(m&&!v&&typeof m=="object"){if(zt.endsWith(g,"{}"))g=r?g:g.slice(0,-2),m=JSON.stringify(m);else if(zt.isArray(m)&&FFe(m)||(zt.isFileList(m)||zt.endsWith(g,"[]"))&&(y=zt.toArray(m)))return g=d0e(g),y.forEach(function(_,E){!(zt.isUndefined(_)||_===null)&&t.append(a===!0?Vee([g],E,o):a===null?g:g+"[]",c(_))}),!1}return vB(m)?!0:(t.append(Vee(v,g,o),c(m)),!1)}const d=[],f=Object.assign(BFe,{defaultVisitor:u,convertValue:c,isVisitable:vB});function h(m,g){if(!zt.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(m),zt.forEach(m,function(y,b){(!(zt.isUndefined(y)||y===null)&&i.call(t,y,zt.isString(b)?b.trim():b,g,f))===!0&&h(y,g?g.concat(b):[b])}),d.pop()}}if(!zt.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Gee(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function fW(e,t){this._pairs=[],e&&L5(e,this,t)}const f0e=fW.prototype;f0e.append=function(t,n){this._pairs.push([t,n])};f0e.toString=function(t){const n=t?function(r){return t.call(this,r,Gee)}:Gee;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function jFe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function p0e(e,t,n){if(!t)return e;const r=n&&n.encode||jFe;zt.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(t,n):o=zt.isURLSearchParams(t)?t.toString():new fW(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Wee{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){zt.forEach(this.handlers,function(r){r!==null&&t(r)})}}const h0e={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},HFe=typeof URLSearchParams<"u"?URLSearchParams:fW,UFe=typeof FormData<"u"?FormData:null,zFe=typeof Blob<"u"?Blob:null,VFe={isBrowser:!0,classes:{URLSearchParams:HFe,FormData:UFe,Blob:zFe},protocols:["http","https","file","blob","url","data"]},pW=typeof window<"u"&&typeof document<"u",bB=typeof navigator=="object"&&navigator||void 0,GFe=pW&&(!bB||["ReactNative","NativeScript","NS"].indexOf(bB.product)<0),WFe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",qFe=pW&&window.location.href||"http://localhost",YFe=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pW,hasStandardBrowserEnv:GFe,hasStandardBrowserWebWorkerEnv:WFe,navigator:bB,origin:qFe},Symbol.toStringTag,{value:"Module"})),ws={...YFe,...VFe};function KFe(e,t){return L5(e,new ws.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return ws.isNode&&zt.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function QFe(e){return zt.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function XFe(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return a=!a&&zt.isArray(i)?i.length:a,l?(zt.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!zt.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&zt.isArray(i[a])&&(i[a]=XFe(i[a])),!s)}if(zt.isFormData(e)&&zt.isFunction(e.entries)){const n={};return zt.forEachEntry(e,(r,i)=>{t(QFe(r),i,n,0)}),n}return null}function ZFe(e,t,n){if(zt.isString(e))try{return(t||JSON.parse)(e),zt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Qx={transitional:h0e,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=zt.isObject(t);if(o&&zt.isHTMLForm(t)&&(t=new FormData(t)),zt.isFormData(t))return i?JSON.stringify(m0e(t)):t;if(zt.isArrayBuffer(t)||zt.isBuffer(t)||zt.isStream(t)||zt.isFile(t)||zt.isBlob(t)||zt.isReadableStream(t))return t;if(zt.isArrayBufferView(t))return t.buffer;if(zt.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return KFe(t,this.formSerializer).toString();if((s=zt.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return L5(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),ZFe(t)):t}],transformResponse:[function(t){const n=this.transitional||Qx.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(zt.isResponse(t)||zt.isReadableStream(t))return t;if(t&&zt.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?Ir.from(s,Ir.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ws.classes.FormData,Blob:ws.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};zt.forEach(["delete","get","head","post","put","patch"],e=>{Qx.headers[e]={}});const JFe=zt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eBe=e=>{const t={};let n,r,i;return e&&e.split(` + `);const b=y.state[s];if(b==null)return;JSON.stringify(i.getState())!==JSON.stringify(b)&&h(b);return}i.dispatchFromDevtools&&typeof i.dispatch=="function"&&i.dispatch(y)});case"DISPATCH":switch(g.payload.type){case"RESET":return h(m),s===void 0?u==null?void 0:u.init(i.getState()):u==null?void 0:u.init(iR(l.name));case"COMMIT":if(s===void 0){u==null||u.init(i.getState());return}return u==null?void 0:u.init(iR(l.name));case"ROLLBACK":return H8(g.state,y=>{if(s===void 0){h(y),u==null||u.init(i.getState());return}h(y[s]),u==null||u.init(iR(l.name))});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return H8(g.state,y=>{if(s===void 0){h(y);return}JSON.stringify(i.getState())!==JSON.stringify(y[s])&&h(y[s])});case"IMPORT_STATE":{const{nextLiftedState:y}=g.payload,b=(v=y.computedStates.slice(-1)[0])==null?void 0:v.state;if(!b)return;h(s===void 0?b:b[s]),u==null||u.send(null,y);return}case"PAUSE_RECORDING":return f=!f}return}}),m},Md=A$e,H8=(e,t)=>{let n;try{n=JSON.parse(e)}catch(r){console.error("[zustand devtools middleware] Could not parse the received json",r)}n!==void 0&&t(n)};function N$e(e,t){let n;try{n=e()}catch{return}return{getItem:i=>{var o;const a=l=>l===null?null:JSON.parse(l,void 0),s=(o=n.getItem(i))!=null?o:null;return s instanceof Promise?s.then(a):a(s)},setItem:(i,o)=>n.setItem(i,JSON.stringify(o,void 0)),removeItem:i=>n.removeItem(i)}}const uT=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return uT(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return uT(r)(n)}}}},M$e=(e,t)=>(n,r,i)=>{let o={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:v=>v,version:0,merge:(v,y)=>({...y,...v}),...t},a=!1;const s=new Set,l=new Set;let c;try{c=o.getStorage()}catch{}if(!c)return e((...v)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),n(...v)},r,i);const u=uT(o.serialize),d=()=>{const v=o.partialize({...r()});let y;const b=u({state:v,version:o.version}).then(_=>c.setItem(o.name,_)).catch(_=>{y=_});if(y)throw y;return b},f=i.setState;i.setState=(v,y)=>{f(v,y),d()};const h=e((...v)=>{n(...v),d()},r,i);let m;const g=()=>{var v;if(!c)return;a=!1,s.forEach(b=>b(r()));const y=((v=o.onRehydrateStorage)==null?void 0:v.call(o,r()))||void 0;return uT(c.getItem.bind(c))(o.name).then(b=>{if(b)return o.deserialize(b)}).then(b=>{if(b)if(typeof b.version=="number"&&b.version!==o.version){if(o.migrate)return o.migrate(b.state,b.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return b.state}).then(b=>{var _;return m=o.merge(b,(_=r())!=null?_:h),n(m,!0),d()}).then(()=>{y==null||y(m,void 0),a=!0,l.forEach(b=>b(m))}).catch(b=>{y==null||y(void 0,b)})};return i.persist={setOptions:v=>{o={...o,...v},v.getStorage&&(c=v.getStorage())},clearStorage:()=>{c==null||c.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>g(),hasHydrated:()=>a,onHydrate:v=>(s.add(v),()=>{s.delete(v)}),onFinishHydration:v=>(l.add(v),()=>{l.delete(v)})},g(),m||h},k$e=(e,t)=>(n,r,i)=>{let o={storage:N$e(()=>localStorage),partialize:g=>g,version:0,merge:(g,v)=>({...v,...g}),...t},a=!1;const s=new Set,l=new Set;let c=o.storage;if(!c)return e((...g)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),n(...g)},r,i);const u=()=>{const g=o.partialize({...r()});return c.setItem(o.name,{state:g,version:o.version})},d=i.setState;i.setState=(g,v)=>{d(g,v),u()};const f=e((...g)=>{n(...g),u()},r,i);i.getInitialState=()=>f;let h;const m=()=>{var g,v;if(!c)return;a=!1,s.forEach(b=>{var _;return b((_=r())!=null?_:f)});const y=((v=o.onRehydrateStorage)==null?void 0:v.call(o,(g=r())!=null?g:f))||void 0;return uT(c.getItem.bind(c))(o.name).then(b=>{if(b)if(typeof b.version=="number"&&b.version!==o.version){if(o.migrate)return[!0,o.migrate(b.state,b.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,b.state];return[!1,void 0]}).then(b=>{var _;const[E,C]=b;if(h=o.merge(C,(_=r())!=null?_:f),n(h,!0),E)return u()}).then(()=>{y==null||y(h,void 0),h=r(),a=!0,l.forEach(b=>b(h))}).catch(b=>{y==null||y(void 0,b)})};return i.persist={setOptions:g=>{o={...o,...g},g.storage&&(c=g.storage)},clearStorage:()=>{c==null||c.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>m(),hasHydrated:()=>a,onHydrate:g=>(s.add(g),()=>{s.delete(g)}),onFinishHydration:g=>(l.add(g),()=>{l.delete(g)})},o.skipHydration||m(),h||f},P$e=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((uA?"open":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),M$e(e,t)):k$e(e,t),kd=P$e;var Nve=Symbol.for("immer-nothing"),fee=Symbol.for("immer-draftable"),Sc=Symbol.for("immer-state");function ed(e,...t){throw new Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`)}var e_=Object.getPrototypeOf;function t_(e){return!!e&&!!e[Sc]}function Mv(e){var t;return e?Mve(e)||Array.isArray(e)||!!e[fee]||!!((t=e.constructor)!=null&&t[fee])||gP(e)||vP(e):!1}var D$e=Object.prototype.constructor.toString();function Mve(e){if(!e||typeof e!="object")return!1;const t=e_(e);if(t===null)return!0;const n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object?!0:typeof n=="function"&&Function.toString.call(n)===D$e}function eM(e,t){mP(e)===0?Reflect.ownKeys(e).forEach(n=>{t(n,e[n],e)}):e.forEach((n,r)=>t(r,n,e))}function mP(e){const t=e[Sc];return t?t.type_:Array.isArray(e)?1:gP(e)?2:vP(e)?3:0}function YF(e,t){return mP(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function kve(e,t,n){const r=mP(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function L$e(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}function gP(e){return e instanceof Map}function vP(e){return e instanceof Set}function g1(e){return e.copy_||e.base_}function KF(e,t){if(gP(e))return new Map(e);if(vP(e))return new Set(e);if(Array.isArray(e))return Array.prototype.slice.call(e);const n=Mve(e);if(t===!0||t==="class_only"&&!n){const r=Object.getOwnPropertyDescriptors(e);delete r[Sc];let i=Reflect.ownKeys(r);for(let o=0;o1&&(e.set=e.add=e.clear=e.delete=$$e),Object.freeze(e),t&&Object.entries(e).forEach(([n,r])=>lW(r,!0))),e}function $$e(){ed(2)}function bP(e){return Object.isFrozen(e)}var F$e={};function kv(e){const t=F$e[e];return t||ed(0,e),t}var dT;function Pve(){return dT}function B$e(e,t){return{drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0}}function pee(e,t){t&&(kv("Patches"),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function QF(e){XF(e),e.drafts_.forEach(j$e),e.drafts_=null}function XF(e){e===dT&&(dT=e.parent_)}function hee(e){return dT=B$e(dT,e)}function j$e(e){const t=e[Sc];t.type_===0||t.type_===1?t.revoke_():t.revoked_=!0}function mee(e,t){t.unfinalizedDrafts_=t.drafts_.length;const n=t.drafts_[0];return e!==void 0&&e!==n?(n[Sc].modified_&&(QF(t),ed(4)),Mv(e)&&(e=tM(t,e),t.parent_||nM(t,e)),t.patches_&&kv("Patches").generateReplacementPatches_(n[Sc].base_,e,t.patches_,t.inversePatches_)):e=tM(t,n,[]),QF(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==Nve?e:void 0}function tM(e,t,n){if(bP(t))return t;const r=t[Sc];if(!r)return eM(t,(i,o)=>gee(e,r,t,i,o,n)),t;if(r.scope_!==e)return t;if(!r.modified_)return nM(e,r.base_,!0),r.base_;if(!r.finalized_){r.finalized_=!0,r.scope_.unfinalizedDrafts_--;const i=r.copy_;let o=i,a=!1;r.type_===3&&(o=new Set(i),i.clear(),a=!0),eM(o,(s,l)=>gee(e,r,i,s,l,n,a)),nM(e,i,!1),n&&e.patches_&&kv("Patches").generatePatches_(r,n,e.patches_,e.inversePatches_)}return r.copy_}function gee(e,t,n,r,i,o,a){if(t_(i)){const s=o&&t&&t.type_!==3&&!YF(t.assigned_,r)?o.concat(r):void 0,l=tM(e,i,s);if(kve(n,r,l),t_(l))e.canAutoFreeze_=!1;else return}else a&&n.add(i);if(Mv(i)&&!bP(i)){if(!e.immer_.autoFreeze_&&e.unfinalizedDrafts_<1)return;tM(e,i),(!t||!t.scope_.parent_)&&typeof r!="symbol"&&Object.prototype.propertyIsEnumerable.call(n,r)&&nM(e,i)}}function nM(e,t,n=!1){!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&lW(t,n)}function H$e(e,t){const n=Array.isArray(e),r={type_:n?1:0,scope_:t?t.scope_:Pve(),modified_:!1,finalized_:!1,assigned_:{},parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1};let i=r,o=cW;n&&(i=[r],o=fT);const{revoke:a,proxy:s}=Proxy.revocable(i,o);return r.draft_=s,r.revoke_=a,s}var cW={get(e,t){if(t===Sc)return e;const n=g1(e);if(!YF(n,t))return U$e(e,n,t);const r=n[t];return e.finalized_||!Mv(r)?r:r===U8(e.base_,t)?(z8(e),e.copy_[t]=JF(r,e)):r},has(e,t){return t in g1(e)},ownKeys(e){return Reflect.ownKeys(g1(e))},set(e,t,n){const r=Dve(g1(e),t);if(r!=null&&r.set)return r.set.call(e.draft_,n),!0;if(!e.modified_){const i=U8(g1(e),t),o=i==null?void 0:i[Sc];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_[t]=!1,!0;if(L$e(n,i)&&(n!==void 0||YF(e.base_,t)))return!0;z8(e),ZF(e)}return e.copy_[t]===n&&(n!==void 0||t in e.copy_)||Number.isNaN(n)&&Number.isNaN(e.copy_[t])||(e.copy_[t]=n,e.assigned_[t]=!0),!0},deleteProperty(e,t){return U8(e.base_,t)!==void 0||t in e.base_?(e.assigned_[t]=!1,z8(e),ZF(e)):delete e.assigned_[t],e.copy_&&delete e.copy_[t],!0},getOwnPropertyDescriptor(e,t){const n=g1(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&{writable:!0,configurable:e.type_!==1||t!=="length",enumerable:r.enumerable,value:n[t]}},defineProperty(){ed(11)},getPrototypeOf(e){return e_(e.base_)},setPrototypeOf(){ed(12)}},fT={};eM(cW,(e,t)=>{fT[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}});fT.deleteProperty=function(e,t){return fT.set.call(this,e,t,void 0)};fT.set=function(e,t,n){return cW.set.call(this,e[0],t,n,e[0])};function U8(e,t){const n=e[Sc];return(n?g1(n):e)[t]}function U$e(e,t,n){var i;const r=Dve(t,n);return r?"value"in r?r.value:(i=r.get)==null?void 0:i.call(e.draft_):void 0}function Dve(e,t){if(!(t in e))return;let n=e_(e);for(;n;){const r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=e_(n)}}function ZF(e){e.modified_||(e.modified_=!0,e.parent_&&ZF(e.parent_))}function z8(e){e.copy_||(e.copy_=KF(e.base_,e.scope_.immer_.useStrictShallowCopy_))}var z$e=class{constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.produce=(t,n,r)=>{if(typeof t=="function"&&typeof n!="function"){const o=n;n=t;const a=this;return function(l=o,...c){return a.produce(l,u=>n.call(this,u,...c))}}typeof n!="function"&&ed(6),r!==void 0&&typeof r!="function"&&ed(7);let i;if(Mv(t)){const o=hee(this),a=JF(t,void 0);let s=!0;try{i=n(a),s=!1}finally{s?QF(o):XF(o)}return pee(o,r),mee(i,o)}else if(!t||typeof t!="object"){if(i=n(t),i===void 0&&(i=t),i===Nve&&(i=void 0),this.autoFreeze_&&lW(i,!0),r){const o=[],a=[];kv("Patches").generateReplacementPatches_(t,i,o,a),r(o,a)}return i}else ed(1,t)},this.produceWithPatches=(t,n)=>{if(typeof t=="function")return(a,...s)=>this.produceWithPatches(a,l=>t(l,...s));let r,i;return[this.produce(t,n,(a,s)=>{r=a,i=s}),r,i]},typeof(e==null?void 0:e.autoFreeze)=="boolean"&&this.setAutoFreeze(e.autoFreeze),typeof(e==null?void 0:e.useStrictShallowCopy)=="boolean"&&this.setUseStrictShallowCopy(e.useStrictShallowCopy)}createDraft(e){Mv(e)||ed(8),t_(e)&&(e=V$e(e));const t=hee(this),n=JF(e,void 0);return n[Sc].isManual_=!0,XF(t),n}finishDraft(e,t){const n=e&&e[Sc];(!n||!n.isManual_)&&ed(9);const{scope_:r}=n;return pee(r,t),mee(void 0,r)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){const i=t[n];if(i.path.length===0&&i.op==="replace"){e=i.value;break}}n>-1&&(t=t.slice(n+1));const r=kv("Patches").applyPatches_;return t_(e)?r(e,t):this.produce(e,i=>r(i,t))}};function JF(e,t){const n=gP(e)?kv("MapSet").proxyMap_(e,t):vP(e)?kv("MapSet").proxySet_(e,t):H$e(e,t);return(t?t.scope_:Pve()).drafts_.push(n),n}function V$e(e){return t_(e)||ed(10,e),Lve(e)}function Lve(e){if(!Mv(e)||bP(e))return e;const t=e[Sc];let n;if(t){if(!t.modified_)return t.base_;t.finalized_=!0,n=KF(e,t.scope_.immer_.useStrictShallowCopy_)}else n=KF(e,!0);return eM(n,(r,i)=>{kve(n,r,Lve(i))}),t&&(t.finalized_=!1),n}var Ec=new z$e,G$e=Ec.produce;Ec.produceWithPatches.bind(Ec);Ec.setAutoFreeze.bind(Ec);Ec.setUseStrictShallowCopy.bind(Ec);Ec.applyPatches.bind(Ec);Ec.createDraft.bind(Ec);Ec.finishDraft.bind(Ec);const W$e=e=>(t,n,r)=>(r.setState=(i,o,...a)=>{const s=typeof i=="function"?G$e(i):i;return t(s,o,...a)},e(r.setState,n,r)),Pd=W$e,q$e="dev",$ve="open",vee="prod",Y$e="quanjing",Fve="prod-open";console.log("Current VITE_CONFIG_ENV:","prod-open");let Go;switch(Fve){case"dev":Go={API_URL:"http://127.0.0.1:9003",MQTT_URL:"ws://127.0.0.1:9885/websocket",HTML_URL:"http://127.0.0.1:9006",IS_DEBUG:!0,SERVER_MODE:q$e,CLIENT:"WEB",USER_PRIVACY_URL:"http://127.0.0.1:9003/protocol",SHOW_SWITCH_SERVER:!0,SHOW_SCAN_LOGIN:!0,LOGO_URL:"http://127.0.0.1:9003/logo.png",LOGO_NAME:"微语",SHOW_CREATE_GROUP:!0,SHOW_CREATE_LLM:!0,SHOW_CONTACTS:!0,SHOW_FAVORITE:!0,SHOW_TRIAL_TIP:!1};break;case"prod-open":Go={API_URL:"http://127.0.0.1:9003",MQTT_URL:"ws://127.0.0.1:9885/websocket",HTML_URL:"http://127.0.0.1:9003",IS_DEBUG:!1,SERVER_MODE:$ve,CLIENT:"WEB",USER_PRIVACY_URL:"http://127.0.0.1:9003/protocol",SHOW_SWITCH_SERVER:!0,SHOW_SCAN_LOGIN:!0,LOGO_URL:"http://127.0.0.1:9003/logo.png",LOGO_NAME:"微语",SHOW_CREATE_GROUP:!0,SHOW_CREATE_LLM:!0,SHOW_CONTACTS:!0,SHOW_FAVORITE:!0,SHOW_TRIAL_TIP:!1};break;case"prod-quanjing":Go={API_URL:"https://kf.gxzgt.com:9003",MQTT_URL:"wss://kf.gxzgt.com:9003/websocket",HTML_URL:"https://kf.gxzgt.com:9003",IS_DEBUG:!1,SERVER_MODE:Y$e,CLIENT:"WEB",USER_PRIVACY_URL:"https://zgtapp.zwfw.gxzf.gov.cn/zgt-h5/userProtocol/index.html",SHOW_SWITCH_SERVER:!1,SHOW_SCAN_LOGIN:!1,LOGO_URL:"https://kf.gxzgt.com:9003/assets/images/logos/zhiguitong.png",LOGO_NAME:"微语",SHOW_CREATE_GROUP:!1,SHOW_CREATE_LLM:!1,SHOW_CONTACTS:!1,SHOW_FAVORITE:!1,SHOW_TRIAL_TIP:!1};break;case"prod-web":Go={API_URL:"https://api.weiyuai.cn",MQTT_URL:"wss://api.weiyuai.cn/websocket",HTML_URL:"https://www.weiyuai.cn",IS_DEBUG:!1,SERVER_MODE:vee,CLIENT:"WEB",USER_PRIVACY_URL:"https://www.weiyuai.cn/protocol.html",SHOW_SWITCH_SERVER:!1,SHOW_SCAN_LOGIN:!0,LOGO_URL:"https://www.weiyuai.cn/logo.png",LOGO_NAME:"微语",SHOW_CREATE_GROUP:!0,SHOW_CREATE_LLM:!0,SHOW_CONTACTS:!0,SHOW_FAVORITE:!0,SHOW_TRIAL_TIP:!1};break;default:Go={API_URL:"https://api.weiyuai.cn",MQTT_URL:"wss://api.weiyuai.cn/websocket",HTML_URL:"https://www.weiyuai.cn",IS_DEBUG:!1,SERVER_MODE:vee,CLIENT:"ELECTRON",USER_PRIVACY_URL:"https://www.weiyuai.cn/protocol.html",SHOW_SWITCH_SERVER:!1,SHOW_SCAN_LOGIN:!0,LOGO_URL:"https://www.weiyuai.cn/logo.png",LOGO_NAME:"微语",SHOW_CREATE_GROUP:!0,SHOW_CREATE_LLM:!0,SHOW_CONTACTS:!0,SHOW_FAVORITE:!0,SHOW_TRIAL_TIP:!1}}console.log("config.API_BASE_URL: ",Fve,Go);const Ha=navigator.userAgent.toLowerCase().indexOf("electron")>-1,V8=Go.API_URL,bee=Go.MQTT_URL;Go.HTML_URL;const ud=Go.IS_DEBUG,K$e=Go.SERVER_MODE,wr=Go.CLIENT,Q$e=Go.USER_PRIVACY_URL,X$e=Go.SHOW_SWITCH_SERVER,Z$e=Go.SHOW_SCAN_LOGIN,J$e=Go.LOGO_URL,e6e=Go.LOGO_NAME;Go.SHOW_CREATE_GROUP;Go.SHOW_CREATE_LLM;Go.SHOW_CONTACTS;Go.SHOW_FAVORITE;Go.SHOW_TRIAL_TIP;const mu="BYTEDESK",yee="locale",_ee="mode",hy="team",Pv="agent",rM="personal",See="i18n.",oR="i18n.new.message",Bve="ANONYMOUS",oc="bytedesk_login_credentials",Eee="THEME_MODE_TYPE",Cee="THEME_NAME_TYPE",dA="PLAY_AUDIO",ew="NETWORK_STATUS_NOTIFICATION",tw="CONFIG_ENABLED_AGENT",fA="CONFIG_API_URL_AGENT",pA="CONFIG_WEBSOCKET_URL_AGENT",G8="CONFIG_HTML_URL_AGENT",n_="true",t6e="false",Xb="CONFIG_CUSTOM_ENABLED_AGENT",CC="CONFIG_CUSTOM_API_URL_AGENT",wC="CONFIG_CUSTOM_WEBSOCKET_URL_AGENT",n6e="CONFIG_PROPERTIES",r6e="SCREENSHOT_OK",i6e="EVENT_BUS_SERVER_ERROR_500",eg="EVENT_BUS_TOKEN_INVALID",pT="EVENT_BUS_MQTT_MESSAGE",eB="EVENT_BUS_MQTT_CONNECTED",tB="EVENT_BUS_MQTT_OFFLINE",nB="EVENT_BUS_MQTT_CLOSE",rB="EVENT_BUS_MQTT_DISCONNECTED",iB="EVENT_BUS_MQTT_ERROR",oB="EVENT_BUS_MQTT_END",jve="EVENT_BUS_MESSAGE_TYPE_STATUS",o6e="EVENT_BUS_MESSAGE_TYPE_TYPING",a6e="EVENT_BUS_MESSAGE_TYPE_PROCESSING",s6e="EVENT_BUS_MESSAGE_TYPE_STREAM",l6e="EVENT_BUS_MESSAGE_TYPE_PREVIEW",aB="EVENT_BUS_MESSAGE_TYPE_TRANSFER",sB="EVENT_BUS_MESSAGE_TYPE_TRANSFER_ACCEPT",lB="EVENT_BUS_MESSAGE_TYPE_TRANSFER_REJECT",c6e="EVENT_BUS_SCREEN_CAPTURE_IMAGE",u6e="AUTH_STORE",tg="ACCESS_TOKEN",d6e="ORGANIZATION_STORE",f6e="MEMBER_STORE",p6e="MESSAGE_STORE",h6e="CONTACT_STORE",m6e="USER_STORE",g6e="SETTINGS_STORE",v6e="THREAD_STORE",b6e="DEVICE_STORE",y6e="AGENT_STORE",_6e="WORKGROUP_STORE",S6e="member",Hve="device",E6e="MOBILE_LOGIN",C6e="MOBILE_RESET",w6e="MOBILE_VERIFY",T6e="EMAIL_RESET",x6e="EMAIL_VERIFY",O6e="PENDING",R6e="SCANNED",I6e="CONFIRMED",A6e="EXPIRED",N6e="https://cdn.weiyuai.cn/agent/assets/sound/dingdong.wav",M6e="https://cdn.weiyuai.cn/agent/assets/css/scrollbar.css",k6e="https://www.weiyuai.cn/download.html",wee="AGENT",Tee="USER",xee="AGENT",Oee="WORKGROUP",Ree="QUEUING",Iee="CLOSED",Aee="SENDING",cB="SUCCESS",P6e="TRANSFER_ACCEPT",D6e="TRANSFER_REJECT",uB="CONTINUE",Uve="SYSTEM",L6e="QUEUE",$6e="TEXT",F6e="IMAGE",B6e="FILE",j6e="AUDIO",H6e="VIDEO",dB="TYPING",fB="PROCESSING",hT="STREAM",Nee="PREVIEW",Mee="RECALL",pB="DELIVERED",hB="READ",U6e="FAQ_UP",z6e="FAQ_DOWN",V6e="ROBOT_UP",G6e="ROBOT_DOWN",W6e="RATE_SUBMIT",q6e="RATE_CANCEL",mT="AUTO_CLOSED",gT="AGENT_CLOSED",kee="TRANSFER",Pee="TRANSFER_ACCEPT",Dee="TRANSFER_REJECT",Lee="AVAILABLE",W8="OFFLINE",$ee="REST",Y6e="org/group/",K6e="HELPCENTER",ng="NOTEBASE",q8="FAQ",Q6e="CHAT",mB="lastPath",X6e="ROLE_SUPER",Z6e="ROLE_ADMIN",J6e="ROLE_MEMBER",e7e="ROLE_AGENT",t7e="ARTICLE",Ux=Ic()(Md(kd(Pd((e,t)=>({accessToken:"",setAccessToken(n){localStorage.setItem(tg,n),e({accessToken:n})},getAccessToken(){return t().accessToken},removeAccessToken(){localStorage.removeItem(tg),e({accessToken:""})}})),{name:u6e}))),n7e=Ic()(Md(kd(Pd(e=>({settings:{playSound:!0,showNotifications:!0,openAtStartup:!1,colors:!1,proLayoutCollapsed:!0},currentMenu:"chat",setCurrentMenu(t){e({currentMenu:t})},setProLayoutCollapsed(t){e(n=>({settings:{...n.settings,proLayoutCollapsed:t}}))}})),{name:g6e})));var d0={},zve={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(zve);var xr=zve.exports,yP={};Object.defineProperty(yP,"__esModule",{value:!0});yP.default=void 0;var r7e={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"};yP.default=r7e;var _P={},zx={},SP={},Vve={exports:{}},Gve={exports:{}},Wve={exports:{}},qve={exports:{}};(function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(qve);var f0=qve.exports,Yve={exports:{}};(function(e){var t=f0.default;function n(r,i){if(t(r)!="object"||!r)return r;var o=r[Symbol.toPrimitive];if(o!==void 0){var a=o.call(r,i||"default");if(t(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Yve);var i7e=Yve.exports;(function(e){var t=f0.default,n=i7e;function r(i){var o=n(i,"string");return t(o)=="symbol"?o:o+""}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports})(Wve);var o7e=Wve.exports;(function(e){var t=o7e;function n(r,i,o){return(i=t(i))in r?Object.defineProperty(r,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[i]=o,r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Gve);var Kve=Gve.exports;(function(e){var t=Kve;function n(i,o){var a=Object.keys(i);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(i);o&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(i,l).enumerable})),a.push.apply(a,s)}return a}function r(i){for(var o=1;o{r==="system"&&(window.matchMedia("(prefers-color-scheme: dark)").matches?n("dark"):n("light"),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",a=>{a.matches?n("dark"):n("light")}))},[]),p.useEffect(()=>{localStorage.setItem(Eee,i),i==="light"?n("light"):i==="dark"?n("dark"):i==="system"&&(window.matchMedia("(prefers-color-scheme: dark)").matches?n("dark"):n("light"))},[i]),p.useEffect(()=>{localStorage.setItem(Cee,t)},[t]),{themeName:t,setThemeName:n,themeMode:i,setThemeMode:o,isDarkMode:t==="dark",isLightMode:t==="light"}}function t0e(e,t){return function(){return e.apply(t,arguments)}}const{toString:Z7e}=Object.prototype,{getPrototypeOf:dW}=Object,kP=(e=>t=>{const n=Z7e.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Dd=e=>(e=e.toLowerCase(),t=>kP(t)===e),PP=e=>t=>typeof t===e,{isArray:rS}=Array,vT=PP("undefined");function J7e(e){return e!==null&&!vT(e)&&e.constructor!==null&&!vT(e.constructor)&&vc(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const n0e=Dd("ArrayBuffer");function eFe(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&n0e(e.buffer),t}const tFe=PP("string"),vc=PP("function"),r0e=PP("number"),DP=e=>e!==null&&typeof e=="object",nFe=e=>e===!0||e===!1,hA=e=>{if(kP(e)!=="object")return!1;const t=dW(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},rFe=Dd("Date"),iFe=Dd("File"),oFe=Dd("Blob"),aFe=Dd("FileList"),sFe=e=>DP(e)&&vc(e.pipe),lFe=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||vc(e.append)&&((t=kP(e))==="formdata"||t==="object"&&vc(e.toString)&&e.toString()==="[object FormData]"))},cFe=Dd("URLSearchParams"),[uFe,dFe,fFe,pFe]=["ReadableStream","Request","Response","Headers"].map(Dd),hFe=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Kx(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),rS(e))for(r=0,i=e.length;r0;)if(i=n[r],t===i.toLowerCase())return i;return null}const P1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,o0e=e=>!vT(e)&&e!==P1;function gB(){const{caseless:e}=o0e(this)&&this||{},t={},n=(r,i)=>{const o=e&&i0e(t,i)||i;hA(t[o])&&hA(r)?t[o]=gB(t[o],r):hA(r)?t[o]=gB({},r):rS(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r(Kx(t,(i,o)=>{n&&vc(i)?e[o]=t0e(i,n):e[o]=i},{allOwnKeys:r}),e),gFe=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),vFe=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},bFe=(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],(!r||r(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&dW(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},yFe=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},_Fe=e=>{if(!e)return null;if(rS(e))return e;let t=e.length;if(!r0e(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},SFe=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&dW(Uint8Array)),EFe=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},CFe=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},wFe=Dd("HTMLFormElement"),TFe=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Uee=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),xFe=Dd("RegExp"),a0e=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Kx(n,(i,o)=>{let a;(a=t(i,o,e))!==!1&&(r[o]=a||i)}),Object.defineProperties(e,r)},OFe=e=>{a0e(e,(t,n)=>{if(vc(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(vc(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},RFe=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return rS(e)?r(e):r(String(e).split(t)),n},IFe=()=>{},AFe=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Y8="abcdefghijklmnopqrstuvwxyz",zee="0123456789",s0e={DIGIT:zee,ALPHA:Y8,ALPHA_DIGIT:Y8+Y8.toUpperCase()+zee},NFe=(e=16,t=s0e.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function MFe(e){return!!(e&&vc(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const kFe=e=>{const t=new Array(10),n=(r,i)=>{if(DP(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[i]=r;const o=rS(r)?[]:{};return Kx(r,(a,s)=>{const l=n(a,i+1);!vT(l)&&(o[s]=l)}),t[i]=void 0,o}}return r};return n(e,0)},PFe=Dd("AsyncFunction"),DFe=e=>e&&(DP(e)||vc(e))&&vc(e.then)&&vc(e.catch),l0e=((e,t)=>e?setImmediate:t?((n,r)=>(P1.addEventListener("message",({source:i,data:o})=>{i===P1&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),P1.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",vc(P1.postMessage)),LFe=typeof queueMicrotask<"u"?queueMicrotask.bind(P1):typeof process<"u"&&process.nextTick||l0e,zt={isArray:rS,isArrayBuffer:n0e,isBuffer:J7e,isFormData:lFe,isArrayBufferView:eFe,isString:tFe,isNumber:r0e,isBoolean:nFe,isObject:DP,isPlainObject:hA,isReadableStream:uFe,isRequest:dFe,isResponse:fFe,isHeaders:pFe,isUndefined:vT,isDate:rFe,isFile:iFe,isBlob:oFe,isRegExp:xFe,isFunction:vc,isStream:sFe,isURLSearchParams:cFe,isTypedArray:SFe,isFileList:aFe,forEach:Kx,merge:gB,extend:mFe,trim:hFe,stripBOM:gFe,inherits:vFe,toFlatObject:bFe,kindOf:kP,kindOfTest:Dd,endsWith:yFe,toArray:_Fe,forEachEntry:EFe,matchAll:CFe,isHTMLForm:wFe,hasOwnProperty:Uee,hasOwnProp:Uee,reduceDescriptors:a0e,freezeMethods:OFe,toObjectSet:RFe,toCamelCase:TFe,noop:IFe,toFiniteNumber:AFe,findKey:i0e,global:P1,isContextDefined:o0e,ALPHABET:s0e,generateString:NFe,isSpecCompliantForm:MFe,toJSONObject:kFe,isAsyncFn:PFe,isThenable:DFe,setImmediate:l0e,asap:LFe};function Ir(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}zt.inherits(Ir,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:zt.toJSONObject(this.config),code:this.code,status:this.status}}});const c0e=Ir.prototype,u0e={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{u0e[e]={value:e}});Object.defineProperties(Ir,u0e);Object.defineProperty(c0e,"isAxiosError",{value:!0});Ir.from=(e,t,n,r,i,o)=>{const a=Object.create(c0e);return zt.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),Ir.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const $Fe=null;function vB(e){return zt.isPlainObject(e)||zt.isArray(e)}function d0e(e){return zt.endsWith(e,"[]")?e.slice(0,-2):e}function Vee(e,t,n){return e?e.concat(t).map(function(i,o){return i=d0e(i),!n&&o?"["+i+"]":i}).join(n?".":""):t}function FFe(e){return zt.isArray(e)&&!e.some(vB)}const BFe=zt.toFlatObject(zt,{},null,function(t){return/^is[A-Z]/.test(t)});function LP(e,t,n){if(!zt.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=zt.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,v){return!zt.isUndefined(v[g])});const r=n.metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&zt.isSpecCompliantForm(t);if(!zt.isFunction(i))throw new TypeError("visitor must be a function");function c(m){if(m===null)return"";if(zt.isDate(m))return m.toISOString();if(!l&&zt.isBlob(m))throw new Ir("Blob is not supported. Use a Buffer instead.");return zt.isArrayBuffer(m)||zt.isTypedArray(m)?l&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,g,v){let y=m;if(m&&!v&&typeof m=="object"){if(zt.endsWith(g,"{}"))g=r?g:g.slice(0,-2),m=JSON.stringify(m);else if(zt.isArray(m)&&FFe(m)||(zt.isFileList(m)||zt.endsWith(g,"[]"))&&(y=zt.toArray(m)))return g=d0e(g),y.forEach(function(_,E){!(zt.isUndefined(_)||_===null)&&t.append(a===!0?Vee([g],E,o):a===null?g:g+"[]",c(_))}),!1}return vB(m)?!0:(t.append(Vee(v,g,o),c(m)),!1)}const d=[],f=Object.assign(BFe,{defaultVisitor:u,convertValue:c,isVisitable:vB});function h(m,g){if(!zt.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(m),zt.forEach(m,function(y,b){(!(zt.isUndefined(y)||y===null)&&i.call(t,y,zt.isString(b)?b.trim():b,g,f))===!0&&h(y,g?g.concat(b):[b])}),d.pop()}}if(!zt.isObject(e))throw new TypeError("data must be an object");return h(e),t}function Gee(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function fW(e,t){this._pairs=[],e&&LP(e,this,t)}const f0e=fW.prototype;f0e.append=function(t,n){this._pairs.push([t,n])};f0e.toString=function(t){const n=t?function(r){return t.call(this,r,Gee)}:Gee;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function jFe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function p0e(e,t,n){if(!t)return e;const r=n&&n.encode||jFe;zt.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(t,n):o=zt.isURLSearchParams(t)?t.toString():new fW(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Wee{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){zt.forEach(this.handlers,function(r){r!==null&&t(r)})}}const h0e={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},HFe=typeof URLSearchParams<"u"?URLSearchParams:fW,UFe=typeof FormData<"u"?FormData:null,zFe=typeof Blob<"u"?Blob:null,VFe={isBrowser:!0,classes:{URLSearchParams:HFe,FormData:UFe,Blob:zFe},protocols:["http","https","file","blob","url","data"]},pW=typeof window<"u"&&typeof document<"u",bB=typeof navigator=="object"&&navigator||void 0,GFe=pW&&(!bB||["ReactNative","NativeScript","NS"].indexOf(bB.product)<0),WFe=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",qFe=pW&&window.location.href||"http://localhost",YFe=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:pW,hasStandardBrowserEnv:GFe,hasStandardBrowserWebWorkerEnv:WFe,navigator:bB,origin:qFe},Symbol.toStringTag,{value:"Module"})),ws={...YFe,...VFe};function KFe(e,t){return LP(e,new ws.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return ws.isNode&&zt.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function QFe(e){return zt.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function XFe(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r=n.length;return a=!a&&zt.isArray(i)?i.length:a,l?(zt.hasOwnProp(i,a)?i[a]=[i[a],r]:i[a]=r,!s):((!i[a]||!zt.isObject(i[a]))&&(i[a]=[]),t(n,r,i[a],o)&&zt.isArray(i[a])&&(i[a]=XFe(i[a])),!s)}if(zt.isFormData(e)&&zt.isFunction(e.entries)){const n={};return zt.forEachEntry(e,(r,i)=>{t(QFe(r),i,n,0)}),n}return null}function ZFe(e,t,n){if(zt.isString(e))try{return(t||JSON.parse)(e),zt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Qx={transitional:h0e,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,o=zt.isObject(t);if(o&&zt.isHTMLForm(t)&&(t=new FormData(t)),zt.isFormData(t))return i?JSON.stringify(m0e(t)):t;if(zt.isArrayBuffer(t)||zt.isBuffer(t)||zt.isStream(t)||zt.isFile(t)||zt.isBlob(t)||zt.isReadableStream(t))return t;if(zt.isArrayBufferView(t))return t.buffer;if(zt.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return KFe(t,this.formSerializer).toString();if((s=zt.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return LP(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||i?(n.setContentType("application/json",!1),ZFe(t)):t}],transformResponse:[function(t){const n=this.transitional||Qx.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(zt.isResponse(t)||zt.isReadableStream(t))return t;if(t&&zt.isString(t)&&(r&&!this.responseType||i)){const a=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?Ir.from(s,Ir.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ws.classes.FormData,Blob:ws.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};zt.forEach(["delete","get","head","post","put","patch"],e=>{Qx.headers[e]={}});const JFe=zt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eBe=e=>{const t={};let n,r,i;return e&&e.split(` `).forEach(function(a){i=a.indexOf(":"),n=a.substring(0,i).trim().toLowerCase(),r=a.substring(i+1).trim(),!(!n||t[n]&&JFe[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},qee=Symbol("internals");function wE(e){return e&&String(e).trim().toLowerCase()}function mA(e){return e===!1||e==null?e:zt.isArray(e)?e.map(mA):String(e)}function tBe(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const nBe=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function K8(e,t,n,r,i){if(zt.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!zt.isString(t)){if(zt.isString(r))return t.indexOf(r)!==-1;if(zt.isRegExp(r))return r.test(t)}}function rBe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function iBe(e,t){const n=zt.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,a){return this[r].call(this,t,i,o,a)},configurable:!0})})}class Rl{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(s,l,c){const u=wE(l);if(!u)throw new Error("header name must be a non-empty string");const d=zt.findKey(i,u);(!d||i[d]===void 0||c===!0||c===void 0&&i[d]!==!1)&&(i[d||l]=mA(s))}const a=(s,l)=>zt.forEach(s,(c,u)=>o(c,u,l));if(zt.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(zt.isString(t)&&(t=t.trim())&&!nBe(t))a(eBe(t),n);else if(zt.isHeaders(t))for(const[s,l]of t.entries())o(l,s,r);else t!=null&&o(n,t,r);return this}get(t,n){if(t=wE(t),t){const r=zt.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return tBe(i);if(zt.isFunction(n))return n.call(this,i,r);if(zt.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=wE(t),t){const r=zt.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||K8(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(a){if(a=wE(a),a){const s=zt.findKey(r,a);s&&(!n||K8(r,r[s],s,n))&&(delete r[s],i=!0)}}return zt.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||K8(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return zt.forEach(this,(i,o)=>{const a=zt.findKey(r,o);if(a){n[a]=mA(i),delete n[o];return}const s=t?rBe(o):String(o).trim();s!==o&&delete n[o],n[s]=mA(i),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return zt.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&zt.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[qee]=this[qee]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=wE(a);r[s]||(iBe(i,a),r[s]=!0)}return zt.isArray(t)?t.forEach(o):o(t),this}}Rl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);zt.reduceDescriptors(Rl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});zt.freezeMethods(Rl);function Q8(e,t){const n=this||Qx,r=t||n,i=Rl.from(r.headers);let o=r.data;return zt.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function g0e(e){return!!(e&&e.__CANCEL__)}function iS(e,t,n){Ir.call(this,e??"canceled",Ir.ERR_CANCELED,t,n),this.name="CanceledError"}zt.inherits(iS,Ir,{__CANCEL__:!0});function v0e(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Ir("Request failed with status code "+n.status,[Ir.ERR_BAD_REQUEST,Ir.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function oBe(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function aBe(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[o];a||(a=c),n[i]=l,r[i]=c;let d=o,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-a{n=u,i=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?a(c,u):(i=c,o||(o=setTimeout(()=>{o=null,a(i)},r-d)))},()=>i&&a(i)]}const iM=(e,t,n=3)=>{let r=0;const i=aBe(50,250);return sBe(o=>{const a=o.loaded,s=o.lengthComputable?o.total:void 0,l=a-r,c=i(l),u=a<=s;r=a;const d={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},Yee=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Kee=e=>(...t)=>zt.asap(()=>e(...t)),lBe=ws.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ws.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ws.origin),ws.navigator&&/(msie|trident)/i.test(ws.navigator.userAgent)):()=>!0,cBe=ws.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];zt.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),zt.isString(r)&&a.push("path="+r),zt.isString(i)&&a.push("domain="+i),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function uBe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function dBe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function b0e(e,t){return e&&!uBe(t)?dBe(e,t):t}const Qee=e=>e instanceof Rl?{...e}:e;function Dv(e,t){t=t||{};const n={};function r(c,u,d,f){return zt.isPlainObject(c)&&zt.isPlainObject(u)?zt.merge.call({caseless:f},c,u):zt.isPlainObject(u)?zt.merge({},u):zt.isArray(u)?u.slice():u}function i(c,u,d,f){if(zt.isUndefined(u)){if(!zt.isUndefined(c))return r(void 0,c,d,f)}else return r(c,u,d,f)}function o(c,u){if(!zt.isUndefined(u))return r(void 0,u)}function a(c,u){if(zt.isUndefined(u)){if(!zt.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u,d)=>i(Qee(c),Qee(u),d,!0)};return zt.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||i,f=d(e[u],t[u],u);zt.isUndefined(f)&&d!==s||(n[u]=f)}),n}const y0e=e=>{const t=Dv({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=Rl.from(a),t.url=p0e(b0e(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(zt.isFormData(n)){if(ws.hasStandardBrowserEnv||ws.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(ws.hasStandardBrowserEnv&&(r&&zt.isFunction(r)&&(r=r(t)),r||r!==!1&&lBe(t.url))){const c=i&&o&&cBe.read(o);c&&a.set(i,c)}return t},fBe=typeof XMLHttpRequest<"u",pBe=fBe&&function(e){return new Promise(function(n,r){const i=y0e(e);let o=i.data;const a=Rl.from(i.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:c}=i,u,d,f,h,m;function g(){h&&h(),m&&m(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(i.method.toUpperCase(),i.url,!0),v.timeout=i.timeout;function y(){if(!v)return;const _=Rl.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),C={data:!s||s==="text"||s==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:_,config:e,request:v};v0e(function(w){n(w),g()},function(w){r(w),g()},C),v=null}"onloadend"in v?v.onloadend=y:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(y)},v.onabort=function(){v&&(r(new Ir("Request aborted",Ir.ECONNABORTED,e,v)),v=null)},v.onerror=function(){r(new Ir("Network Error",Ir.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let E=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const C=i.transitional||h0e;i.timeoutErrorMessage&&(E=i.timeoutErrorMessage),r(new Ir(E,C.clarifyTimeoutError?Ir.ETIMEDOUT:Ir.ECONNABORTED,e,v)),v=null},o===void 0&&a.setContentType(null),"setRequestHeader"in v&&zt.forEach(a.toJSON(),function(E,C){v.setRequestHeader(C,E)}),zt.isUndefined(i.withCredentials)||(v.withCredentials=!!i.withCredentials),s&&s!=="json"&&(v.responseType=i.responseType),c&&([f,m]=iM(c,!0),v.addEventListener("progress",f)),l&&v.upload&&([d,h]=iM(l),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(u=_=>{v&&(r(!_||_.type?new iS(null,e,v):_),v.abort(),v=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const b=oBe(i.url);if(b&&ws.protocols.indexOf(b)===-1){r(new Ir("Unsupported protocol "+b+":",Ir.ERR_BAD_REQUEST,e));return}v.send(o||null)})},hBe=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(c){if(!i){i=!0,s();const u=c instanceof Error?c:this.reason;r.abort(u instanceof Ir?u:new iS(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{a=null,o(new Ir(`timeout ${t} of ms exceeded`,Ir.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(o):c.removeEventListener("abort",o)}),e=null)};e.forEach(c=>c.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>zt.asap(s),l}},mBe=function*(e,t){let n=e.byteLength;if(n{const i=gBe(e,t);let o=0,a,s=l=>{a||(a=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await i.next();if(c){s(),l.close();return}let d=u.byteLength;if(n){let f=o+=d;n(f)}l.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(l){return s(l),i.return()}},{highWaterMark:2})},$5=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",_0e=$5&&typeof ReadableStream=="function",bBe=$5&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),S0e=(e,...t)=>{try{return!!e(...t)}catch{return!1}},yBe=_0e&&S0e(()=>{let e=!1;const t=new Request(ws.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Zee=64*1024,yB=_0e&&S0e(()=>zt.isReadableStream(new Response("").body)),oM={stream:yB&&(e=>e.body)};$5&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!oM[t]&&(oM[t]=zt.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Ir(`Response type '${t}' is not supported`,Ir.ERR_NOT_SUPPORT,r)})})})(new Response);const _Be=async e=>{if(e==null)return 0;if(zt.isBlob(e))return e.size;if(zt.isSpecCompliantForm(e))return(await new Request(ws.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(zt.isArrayBufferView(e)||zt.isArrayBuffer(e))return e.byteLength;if(zt.isURLSearchParams(e)&&(e=e+""),zt.isString(e))return(await bBe(e)).byteLength},SBe=async(e,t)=>{const n=zt.toFiniteNumber(e.getContentLength());return n??_Be(t)},EBe=$5&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=y0e(e);c=c?(c+"").toLowerCase():"text";let h=hBe([i,o&&o.toAbortSignal()],a),m;const g=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let v;try{if(l&&yBe&&n!=="get"&&n!=="head"&&(v=await SBe(u,r))!==0){let C=new Request(t,{method:"POST",body:r,duplex:"half"}),S;if(zt.isFormData(r)&&(S=C.headers.get("content-type"))&&u.setContentType(S),C.body){const[w,T]=Yee(v,iM(Kee(l)));r=Xee(C.body,Zee,w,T)}}zt.isString(d)||(d=d?"include":"omit");const y="credentials"in Request.prototype;m=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:y?d:void 0});let b=await fetch(m);const _=yB&&(c==="stream"||c==="response");if(yB&&(s||_&&g)){const C={};["status","statusText","headers"].forEach(O=>{C[O]=b[O]});const S=zt.toFiniteNumber(b.headers.get("content-length")),[w,T]=s&&Yee(S,iM(Kee(s),!0))||[];b=new Response(Xee(b.body,Zee,w,()=>{T&&T(),g&&g()}),C)}c=c||"text";let E=await oM[zt.findKey(oM,c)||"text"](b,e);return!_&&g&&g(),await new Promise((C,S)=>{v0e(C,S,{data:E,headers:Rl.from(b.headers),status:b.status,statusText:b.statusText,config:e,request:m})})}catch(y){throw g&&g(),y&&y.name==="TypeError"&&/fetch/i.test(y.message)?Object.assign(new Ir("Network Error",Ir.ERR_NETWORK,e,m),{cause:y.cause||y}):Ir.from(y,y&&y.code,e,m)}}),_B={http:$Fe,xhr:pBe,fetch:EBe};zt.forEach(_B,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Jee=e=>`- ${e}`,CBe=e=>zt.isFunction(e)||e===null||e===!1,E0e={getAdapter:e=>{e=zt.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[qee]=this[qee]={accessors:{}}).accessors,i=this.prototype;function o(a){const s=wE(a);r[s]||(iBe(i,a),r[s]=!0)}return zt.isArray(t)?t.forEach(o):o(t),this}}Rl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);zt.reduceDescriptors(Rl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});zt.freezeMethods(Rl);function Q8(e,t){const n=this||Qx,r=t||n,i=Rl.from(r.headers);let o=r.data;return zt.forEach(e,function(s){o=s.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function g0e(e){return!!(e&&e.__CANCEL__)}function iS(e,t,n){Ir.call(this,e??"canceled",Ir.ERR_CANCELED,t,n),this.name="CanceledError"}zt.inherits(iS,Ir,{__CANCEL__:!0});function v0e(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Ir("Request failed with status code "+n.status,[Ir.ERR_BAD_REQUEST,Ir.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function oBe(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function aBe(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[o];a||(a=c),n[i]=l,r[i]=c;let d=o,f=0;for(;d!==i;)f+=n[d++],d=d%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),c-a{n=u,i=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=r?a(c,u):(i=c,o||(o=setTimeout(()=>{o=null,a(i)},r-d)))},()=>i&&a(i)]}const iM=(e,t,n=3)=>{let r=0;const i=aBe(50,250);return sBe(o=>{const a=o.loaded,s=o.lengthComputable?o.total:void 0,l=a-r,c=i(l),u=a<=s;r=a;const d={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},Yee=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Kee=e=>(...t)=>zt.asap(()=>e(...t)),lBe=ws.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ws.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ws.origin),ws.navigator&&/(msie|trident)/i.test(ws.navigator.userAgent)):()=>!0,cBe=ws.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];zt.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),zt.isString(r)&&a.push("path="+r),zt.isString(i)&&a.push("domain="+i),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function uBe(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function dBe(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function b0e(e,t){return e&&!uBe(t)?dBe(e,t):t}const Qee=e=>e instanceof Rl?{...e}:e;function Dv(e,t){t=t||{};const n={};function r(c,u,d,f){return zt.isPlainObject(c)&&zt.isPlainObject(u)?zt.merge.call({caseless:f},c,u):zt.isPlainObject(u)?zt.merge({},u):zt.isArray(u)?u.slice():u}function i(c,u,d,f){if(zt.isUndefined(u)){if(!zt.isUndefined(c))return r(void 0,c,d,f)}else return r(c,u,d,f)}function o(c,u){if(!zt.isUndefined(u))return r(void 0,u)}function a(c,u){if(zt.isUndefined(u)){if(!zt.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function s(c,u,d){if(d in t)return r(c,u);if(d in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u,d)=>i(Qee(c),Qee(u),d,!0)};return zt.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||i,f=d(e[u],t[u],u);zt.isUndefined(f)&&d!==s||(n[u]=f)}),n}const y0e=e=>{const t=Dv({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=Rl.from(a),t.url=p0e(b0e(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(zt.isFormData(n)){if(ws.hasStandardBrowserEnv||ws.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(ws.hasStandardBrowserEnv&&(r&&zt.isFunction(r)&&(r=r(t)),r||r!==!1&&lBe(t.url))){const c=i&&o&&cBe.read(o);c&&a.set(i,c)}return t},fBe=typeof XMLHttpRequest<"u",pBe=fBe&&function(e){return new Promise(function(n,r){const i=y0e(e);let o=i.data;const a=Rl.from(i.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:c}=i,u,d,f,h,m;function g(){h&&h(),m&&m(),i.cancelToken&&i.cancelToken.unsubscribe(u),i.signal&&i.signal.removeEventListener("abort",u)}let v=new XMLHttpRequest;v.open(i.method.toUpperCase(),i.url,!0),v.timeout=i.timeout;function y(){if(!v)return;const _=Rl.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),C={data:!s||s==="text"||s==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:_,config:e,request:v};v0e(function(w){n(w),g()},function(w){r(w),g()},C),v=null}"onloadend"in v?v.onloadend=y:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(y)},v.onabort=function(){v&&(r(new Ir("Request aborted",Ir.ECONNABORTED,e,v)),v=null)},v.onerror=function(){r(new Ir("Network Error",Ir.ERR_NETWORK,e,v)),v=null},v.ontimeout=function(){let E=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const C=i.transitional||h0e;i.timeoutErrorMessage&&(E=i.timeoutErrorMessage),r(new Ir(E,C.clarifyTimeoutError?Ir.ETIMEDOUT:Ir.ECONNABORTED,e,v)),v=null},o===void 0&&a.setContentType(null),"setRequestHeader"in v&&zt.forEach(a.toJSON(),function(E,C){v.setRequestHeader(C,E)}),zt.isUndefined(i.withCredentials)||(v.withCredentials=!!i.withCredentials),s&&s!=="json"&&(v.responseType=i.responseType),c&&([f,m]=iM(c,!0),v.addEventListener("progress",f)),l&&v.upload&&([d,h]=iM(l),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",h)),(i.cancelToken||i.signal)&&(u=_=>{v&&(r(!_||_.type?new iS(null,e,v):_),v.abort(),v=null)},i.cancelToken&&i.cancelToken.subscribe(u),i.signal&&(i.signal.aborted?u():i.signal.addEventListener("abort",u)));const b=oBe(i.url);if(b&&ws.protocols.indexOf(b)===-1){r(new Ir("Unsupported protocol "+b+":",Ir.ERR_BAD_REQUEST,e));return}v.send(o||null)})},hBe=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(c){if(!i){i=!0,s();const u=c instanceof Error?c:this.reason;r.abort(u instanceof Ir?u:new iS(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{a=null,o(new Ir(`timeout ${t} of ms exceeded`,Ir.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(o):c.removeEventListener("abort",o)}),e=null)};e.forEach(c=>c.addEventListener("abort",o));const{signal:l}=r;return l.unsubscribe=()=>zt.asap(s),l}},mBe=function*(e,t){let n=e.byteLength;if(n{const i=gBe(e,t);let o=0,a,s=l=>{a||(a=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await i.next();if(c){s(),l.close();return}let d=u.byteLength;if(n){let f=o+=d;n(f)}l.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(l){return s(l),i.return()}},{highWaterMark:2})},$P=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",_0e=$P&&typeof ReadableStream=="function",bBe=$P&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),S0e=(e,...t)=>{try{return!!e(...t)}catch{return!1}},yBe=_0e&&S0e(()=>{let e=!1;const t=new Request(ws.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Zee=64*1024,yB=_0e&&S0e(()=>zt.isReadableStream(new Response("").body)),oM={stream:yB&&(e=>e.body)};$P&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!oM[t]&&(oM[t]=zt.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Ir(`Response type '${t}' is not supported`,Ir.ERR_NOT_SUPPORT,r)})})})(new Response);const _Be=async e=>{if(e==null)return 0;if(zt.isBlob(e))return e.size;if(zt.isSpecCompliantForm(e))return(await new Request(ws.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(zt.isArrayBufferView(e)||zt.isArrayBuffer(e))return e.byteLength;if(zt.isURLSearchParams(e)&&(e=e+""),zt.isString(e))return(await bBe(e)).byteLength},SBe=async(e,t)=>{const n=zt.toFiniteNumber(e.getContentLength());return n??_Be(t)},EBe=$P&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=y0e(e);c=c?(c+"").toLowerCase():"text";let h=hBe([i,o&&o.toAbortSignal()],a),m;const g=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let v;try{if(l&&yBe&&n!=="get"&&n!=="head"&&(v=await SBe(u,r))!==0){let C=new Request(t,{method:"POST",body:r,duplex:"half"}),S;if(zt.isFormData(r)&&(S=C.headers.get("content-type"))&&u.setContentType(S),C.body){const[w,T]=Yee(v,iM(Kee(l)));r=Xee(C.body,Zee,w,T)}}zt.isString(d)||(d=d?"include":"omit");const y="credentials"in Request.prototype;m=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:y?d:void 0});let b=await fetch(m);const _=yB&&(c==="stream"||c==="response");if(yB&&(s||_&&g)){const C={};["status","statusText","headers"].forEach(O=>{C[O]=b[O]});const S=zt.toFiniteNumber(b.headers.get("content-length")),[w,T]=s&&Yee(S,iM(Kee(s),!0))||[];b=new Response(Xee(b.body,Zee,w,()=>{T&&T(),g&&g()}),C)}c=c||"text";let E=await oM[zt.findKey(oM,c)||"text"](b,e);return!_&&g&&g(),await new Promise((C,S)=>{v0e(C,S,{data:E,headers:Rl.from(b.headers),status:b.status,statusText:b.statusText,config:e,request:m})})}catch(y){throw g&&g(),y&&y.name==="TypeError"&&/fetch/i.test(y.message)?Object.assign(new Ir("Network Error",Ir.ERR_NETWORK,e,m),{cause:y.cause||y}):Ir.from(y,y&&y.code,e,m)}}),_B={http:$Fe,xhr:pBe,fetch:EBe};zt.forEach(_B,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Jee=e=>`- ${e}`,CBe=e=>zt.isFunction(e)||e===null||e===!1,E0e={getAdapter:e=>{e=zt.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : `+o.map(Jee).join(` -`):" "+Jee(o[0]):"as no adapter specified";throw new Ir("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:_B};function X8(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new iS(null,e)}function ete(e){return X8(e),e.headers=Rl.from(e.headers),e.data=Q8.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),E0e.getAdapter(e.adapter||Qx.adapter)(e).then(function(r){return X8(e),r.data=Q8.call(e,e.transformResponse,r),r.headers=Rl.from(r.headers),r},function(r){return g0e(r)||(X8(e),r&&r.response&&(r.response.data=Q8.call(e,e.transformResponse,r.response),r.response.headers=Rl.from(r.response.headers))),Promise.reject(r)})}const C0e="1.7.9",F5={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{F5[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const tte={};F5.transitional=function(t,n,r){function i(o,a){return"[Axios v"+C0e+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,s)=>{if(t===!1)throw new Ir(i(a," has been removed"+(n?" in "+n:"")),Ir.ERR_DEPRECATED);return n&&!tte[a]&&(tte[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,s):!0}};F5.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function wBe(e,t,n){if(typeof e!="object")throw new Ir("options must be an object",Ir.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const s=e[o],l=s===void 0||a(s,o,e);if(l!==!0)throw new Ir("option "+o+" must be "+l,Ir.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ir("Unknown option "+o,Ir.ERR_BAD_OPTION)}}const gA={assertOptions:wBe,validators:F5},Yd=gA.validators;class iv{constructor(t){this.defaults=t,this.interceptors={request:new Wee,response:new Wee}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Dv(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&gA.assertOptions(r,{silentJSONParsing:Yd.transitional(Yd.boolean),forcedJSONParsing:Yd.transitional(Yd.boolean),clarifyTimeoutError:Yd.transitional(Yd.boolean)},!1),i!=null&&(zt.isFunction(i)?n.paramsSerializer={serialize:i}:gA.assertOptions(i,{encode:Yd.function,serialize:Yd.function},!0)),gA.assertOptions(n,{baseUrl:Yd.spelling("baseURL"),withXsrfToken:Yd.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&zt.merge(o.common,o[n.method]);o&&zt.forEach(["delete","get","head","post","put","patch","common"],m=>{delete o[m]}),n.headers=Rl.concat(a,o);const s=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let u,d=0,f;if(!l){const m=[ete.bind(this),void 0];for(m.unshift.apply(m,s),m.push.apply(m,c),f=m.length,u=Promise.resolve(n);d{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{r.subscribe(s),o=s}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,s){r.reason||(r.reason=new iS(o,a,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new hW(function(i){t=i}),cancel:t}}}function TBe(e){return function(n){return e.apply(null,n)}}function xBe(e){return zt.isObject(e)&&e.isAxiosError===!0}const SB={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(SB).forEach(([e,t])=>{SB[t]=e});function w0e(e){const t=new iv(e),n=t0e(iv.prototype.request,t);return zt.extend(n,iv.prototype,t,{allOwnKeys:!0}),zt.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return w0e(Dv(e,i))},n}const ra=w0e(Qx);ra.Axios=iv;ra.CanceledError=iS;ra.CancelToken=hW;ra.isCancel=g0e;ra.VERSION=C0e;ra.toFormData=L5;ra.AxiosError=Ir;ra.Cancel=ra.CanceledError;ra.all=function(t){return Promise.all(t)};ra.spread=TBe;ra.isAxiosError=xBe;ra.mergeConfig=Dv;ra.AxiosHeaders=Rl;ra.formToJSON=e=>m0e(zt.isHTMLForm(e)?new FormData(e):e);ra.getAdapter=E0e.getAdapter;ra.HttpStatusCode=SB;ra.default=ra;function OBe(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(i){i(n)}),(r=e.get("*"))&&r.slice().map(function(i){i(t,n)})}}}const vr=OBe();async function RBe(){return $r("/config/bytedesk/properties",{method:"GET",params:{client:wr}})}async function T0e(){try{const t=(await ra.get("/notebase/config.json")).data;if(t.enabled)console.log("config enabled: ",t),localStorage.setItem(tw,n_),localStorage.setItem(fA,t.apiUrl),localStorage.setItem(pA,t.websocketUrl),localStorage.setItem(G8,t.htmlUrl);else if(K$e===$ve){console.log("config opensource");const n=window.location.port,r=window.location.protocol+"//"+window.location.hostname+":"+n,i="ws://"+window.location.hostname+":9885/websocket";console.log("apiUrl: ",r," port:",n," websocketUrl:",i),localStorage.setItem(tw,n_),localStorage.setItem(fA,r),localStorage.setItem(pA,i),localStorage.setItem(G8,r)}else console.log("config disabled"),localStorage.setItem(tw,t6e),localStorage.removeItem(fA),localStorage.removeItem(pA),localStorage.removeItem(G8)}catch(e){console.log("loadConfig error: ",e)}}function B5(){const e=localStorage.getItem(Xb);if(console.log("custom_enabled: ",e),e===n_){const n=localStorage.getItem(CC);return n===null?V8:n}if(localStorage.getItem(tw)===n_){const n=localStorage.getItem(fA);return n===null?V8:n}return V8}function nw(){return B5()+"/api/v1/upload/file"}function IBe(){const e=localStorage.getItem(Xb);if(console.log("custom_enabled: ",e),e===n_){const r=localStorage.getItem(wC);return r===null?bee:r}const t=localStorage.getItem(tw),n=localStorage.getItem(pA);return t===n_?n:bee}async function x0e(){const e=await RBe();return console.log("getConfigProperties response: ",e.data.data),e.data.code===200?(localStorage.setItem(n6e,JSON.stringify(e.data.data)),e.data.data):null}const $r=ra.create({timeout:2e4,baseURL:B5(),paramsSerializer:{indexes:null}});$r.interceptors.request.use(e=>{e.baseURL=B5();const t=localStorage.getItem(tg);return t&&t.length>10&&e.url.startsWith("/api")&&(e.headers.Authorization=`Bearer ${t}`),!t&&e.url.startsWith("/api")?Promise.reject(ABe):e},e=>(console.debug("request error",e),e.response.status===403&&vr.emit(eg,"403"),e.response.status===401&&vr.emit(eg,"401"),Promise.reject(e)));$r.interceptors.response.use(e=>e,e=>{var t,n,r;if(console.debug("response error",e),e!=null&&e.response)switch((t=e==null?void 0:e.response)==null?void 0:t.status){case 400:console.log("axios interception error 400"),vr.emit(eg,"400");break;case 401:console.log("axios interception error 401"),vr.emit(eg,"401");break;case 403:console.log("axios interception error 403"),vr.emit(eg,"403");break;case 500:console.log("axios interception error 500"),vr.emit(i6e,"500");break;case 601:console.log("axios interception error 601",e.message);break}return Promise.resolve({message:e==null?void 0:e.message,code:(n=e==null?void 0:e.response)==null?void 0:n.status,data:{message:e==null?void 0:e.message,code:(r=e==null?void 0:e.response)==null?void 0:r.status,data:!1}})});const Z8={data:null,status:601,statusText:Bve,headers:{},config:{headers:void 0},request:null},ABe={message:"匿名用户,无需访问服务器接口",name:Bve,code:"601",config:Z8.config,request:Z8.request,response:Z8,isAxiosError:!0,toJSON:function(){return{message:this.message,name:this.name,code:this.code,config:this.config,request:this.request,response:this.response}}};async function NBe(e){return $r("/api/v1/agent/query",{method:"GET",params:{orgUid:e,client:wr}})}async function MBe(e){return $r("/api/v1/agent/update",{method:"POST",data:{...e,client:wr}})}async function kBe(e){return $r("/api/v1/agent/update/status",{method:"POST",data:{...e,client:wr}})}async function PBe(e){return $r("/api/v1/message/unread/query",{method:"GET",params:{userUid:e,client:wr}})}async function DBe(e){return $r("/api/v1/message/rest/send",{method:"POST",data:{json:e,client:wr}})}var mW=Object.defineProperty,LBe=Object.getOwnPropertyDescriptor,$Be=Object.getOwnPropertyNames,FBe=Object.prototype.hasOwnProperty,ls=(e,t)=>()=>(e&&(t=e(e=0)),t),sn=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),h0=(e,t)=>{for(var n in t)mW(e,n,{get:t[n],enumerable:!0})},BBe=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of $Be(t))!FBe.call(e,i)&&i!==n&&mW(e,i,{get:()=>t[i],enumerable:!(r=LBe(t,i))||r.enumerable});return e},Hi=e=>BBe(mW({},"__esModule",{value:!0}),e),Jt=ls(()=>{}),_i={};h0(_i,{_debugEnd:()=>ej,_debugProcess:()=>JB,_events:()=>mj,_eventsCount:()=>gj,_exiting:()=>BB,_fatalExceptions:()=>QB,_getActiveHandles:()=>k0e,_getActiveRequests:()=>M0e,_kill:()=>UB,_linkedBinding:()=>A0e,_maxListeners:()=>hj,_preload_modules:()=>fj,_rawDebug:()=>LB,_startProfilerIdleNotifier:()=>tj,_stopProfilerIdleNotifier:()=>nj,_tickCallback:()=>ZB,abort:()=>aj,addListener:()=>vj,allowedNodeEnvironmentFlags:()=>YB,arch:()=>CB,argv:()=>xB,argv0:()=>dj,assert:()=>P0e,binding:()=>NB,chdir:()=>PB,config:()=>jB,cpuUsage:()=>TC,cwd:()=>kB,debugPort:()=>uj,default:()=>vW,dlopen:()=>N0e,domain:()=>FB,emit:()=>Ej,emitWarning:()=>AB,env:()=>TB,execArgv:()=>OB,execPath:()=>cj,exit:()=>WB,features:()=>KB,hasUncaughtExceptionCaptureCallback:()=>D0e,hrtime:()=>vA,kill:()=>GB,listeners:()=>$0e,memoryUsage:()=>VB,moduleLoadList:()=>$B,nextTick:()=>R0e,off:()=>yj,on:()=>bp,once:()=>bj,openStdin:()=>qB,pid:()=>sj,platform:()=>wB,ppid:()=>lj,prependListener:()=>Cj,prependOnceListener:()=>wj,reallyExit:()=>HB,release:()=>DB,removeAllListeners:()=>Sj,removeListener:()=>_j,resourceUsage:()=>zB,setSourceMapsEnabled:()=>pj,setUncaughtExceptionCaptureCallback:()=>XB,stderr:()=>ij,stdin:()=>oj,stdout:()=>rj,title:()=>EB,umask:()=>MB,uptime:()=>L0e,version:()=>RB,versions:()=>IB});function gW(e){throw new Error("Node.js process "+e+" is not supported by JSPM core outside of Node.js")}function jBe(){!ov||!D1||(ov=!1,D1.length?bf=D1.concat(bf):rw=-1,bf.length&&O0e())}function O0e(){if(!ov){var e=setTimeout(jBe,0);ov=!0;for(var t=bf.length;t;){for(D1=bf,bf=[];++rw1)for(var n=1;n{Jt(),tn(),en(),bf=[],ov=!1,rw=-1,I0e.prototype.run=function(){this.fun.apply(null,this.array)},EB="browser",CB="x64",wB="browser",TB={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},xB=["/usr/bin/node"],OB=[],RB="v16.8.0",IB={},AB=function(e,t){console.warn((t?t+": ":"")+e)},NB=function(e){gW("binding")},MB=function(e){return 0},kB=function(){return"/"},PB=function(e){},DB={name:"node",sourceUrl:"",headersUrl:"",libUrl:""},LB=vs,$B=[],FB={},BB=!1,jB={},HB=vs,UB=vs,TC=function(){return{}},zB=TC,VB=TC,GB=vs,WB=vs,qB=vs,YB={},KB={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},QB=vs,XB=vs,ZB=vs,JB=vs,ej=vs,tj=vs,nj=vs,rj=void 0,ij=void 0,oj=void 0,aj=vs,sj=2,lj=1,cj="/bin/usr/node",uj=9229,dj="node",fj=[],pj=vs,Dp={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0},Dp.now===void 0&&(J8=Date.now(),Dp.timing&&Dp.timing.navigationStart&&(J8=Dp.timing.navigationStart),Dp.now=()=>Date.now()-J8),bA=1e9,vA.bigint=function(e){var t=vA(e);return typeof BigInt>"u"?t[0]*bA+t[1]:BigInt(t[0]*bA)+BigInt(t[1])},hj=10,mj={},gj=0,vj=bp,bj=bp,yj=bp,_j=bp,Sj=bp,Ej=vs,Cj=bp,wj=bp,vW={version:RB,versions:IB,arch:CB,platform:wB,release:DB,_rawDebug:LB,moduleLoadList:$B,binding:NB,_linkedBinding:A0e,_events:mj,_eventsCount:gj,_maxListeners:hj,on:bp,addListener:vj,once:bj,off:yj,removeListener:_j,removeAllListeners:Sj,emit:Ej,prependListener:Cj,prependOnceListener:wj,listeners:$0e,domain:FB,_exiting:BB,config:jB,dlopen:N0e,uptime:L0e,_getActiveRequests:M0e,_getActiveHandles:k0e,reallyExit:HB,_kill:UB,cpuUsage:TC,resourceUsage:zB,memoryUsage:VB,kill:GB,exit:WB,openStdin:qB,allowedNodeEnvironmentFlags:YB,assert:P0e,features:KB,_fatalExceptions:QB,setUncaughtExceptionCaptureCallback:XB,hasUncaughtExceptionCaptureCallback:D0e,emitWarning:AB,nextTick:R0e,_tickCallback:ZB,_debugProcess:JB,_debugEnd:ej,_startProfilerIdleNotifier:tj,_stopProfilerIdleNotifier:nj,stdout:rj,stdin:oj,stderr:ij,abort:aj,umask:MB,chdir:PB,cwd:kB,env:TB,title:EB,argv:xB,execArgv:OB,pid:sj,ppid:lj,execPath:cj,debugPort:uj,hrtime:vA,argv0:dj,_preload_modules:fj,setSourceMapsEnabled:pj}}),en=ls(()=>{HBe()}),cs={};h0(cs,{Buffer:()=>aM,INSPECT_MAX_BYTES:()=>F0e,default:()=>yp,kMaxLength:()=>B0e});function UBe(){if(Tj)return xb;Tj=!0,xb.byteLength=s,xb.toByteArray=c,xb.fromByteArray=f;for(var e=[],t=[],n=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=r.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var g=h.indexOf("=");g===-1&&(g=m);var v=g===m?0:4-g%4;return[g,v]}function s(h){var m=a(h),g=m[0],v=m[1];return(g+v)*3/4-v}function l(h,m,g){return(m+g)*3/4-g}function c(h){var m,g=a(h),v=g[0],y=g[1],b=new n(l(h,v,y)),_=0,E=y>0?v-4:v,C;for(C=0;C>16&255,b[_++]=m>>8&255,b[_++]=m&255;return y===2&&(m=t[h.charCodeAt(C)]<<2|t[h.charCodeAt(C+1)]>>4,b[_++]=m&255),y===1&&(m=t[h.charCodeAt(C)]<<10|t[h.charCodeAt(C+1)]<<4|t[h.charCodeAt(C+2)]>>2,b[_++]=m>>8&255,b[_++]=m&255),b}function u(h){return e[h>>18&63]+e[h>>12&63]+e[h>>6&63]+e[h&63]}function d(h,m,g){for(var v,y=[],b=m;bE?E:_+b));return v===1?(m=h[g-1],y.push(e[m>>2]+e[m<<4&63]+"==")):v===2&&(m=(h[g-2]<<8)+h[g-1],y.push(e[m>>10]+e[m>>4&63]+e[m<<2&63]+"=")),y.join("")}return xb}function zBe(){return xj?xC:(xj=!0,xC.read=function(e,t,n,r,i){var o,a,s=i*8-r-1,l=(1<>1,u=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-u)-1,h>>=-u,u+=s;u>0;o=o*256+e[t+d],d+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=a*256+e[t+d],d+=f,u-=8);if(o===0)o=1-c;else{if(o===l)return a?NaN:(h?-1:1)*(1/0);a=a+Math.pow(2,r),o=o-c}return(h?-1:1)*a*Math.pow(2,o-r)},xC.write=function(e,t,n,r,i,o){var a,s,l,c=o*8-i-1,u=(1<>1,f=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,m=r?1:-1,g=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a=a+d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=s&255,h+=m,s/=256,i-=8);for(a=a<0;e[n+h]=a&255,h+=m,a/=256,c-=8);e[n+h-m]|=g*128},xC)}function VBe(){if(Oj)return Kh;Oj=!0;let e=UBe(),t=zBe(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Kh.Buffer=a,Kh.SlowBuffer=y,Kh.INSPECT_MAX_BYTES=50;let r=2147483647;Kh.kMaxLength=r,a.TYPED_ARRAY_SUPPORT=i(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{let z=new Uint8Array(1),D={foo:function(){return 42}};return Object.setPrototypeOf(D,Uint8Array.prototype),Object.setPrototypeOf(z,D),z.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function o(z){if(z>r)throw new RangeError('The value "'+z+'" is invalid for option "size"');let D=new Uint8Array(z);return Object.setPrototypeOf(D,a.prototype),D}function a(z,D,q){if(typeof z=="number"){if(typeof D=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(z)}return s(z,D,q)}a.poolSize=8192;function s(z,D,q){if(typeof z=="string")return d(z,D);if(ArrayBuffer.isView(z))return h(z);if(z==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof z);if(me(z,ArrayBuffer)||z&&me(z.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(me(z,SharedArrayBuffer)||z&&me(z.buffer,SharedArrayBuffer)))return m(z,D,q);if(typeof z=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let oe=z.valueOf&&z.valueOf();if(oe!=null&&oe!==z)return a.from(oe,D,q);let ye=g(z);if(ye)return ye;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof z[Symbol.toPrimitive]=="function")return a.from(z[Symbol.toPrimitive]("string"),D,q);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof z)}a.from=function(z,D,q){return s(z,D,q)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function l(z){if(typeof z!="number")throw new TypeError('"size" argument must be of type number');if(z<0)throw new RangeError('The value "'+z+'" is invalid for option "size"')}function c(z,D,q){return l(z),z<=0?o(z):D!==void 0?typeof q=="string"?o(z).fill(D,q):o(z).fill(D):o(z)}a.alloc=function(z,D,q){return c(z,D,q)};function u(z){return l(z),o(z<0?0:v(z)|0)}a.allocUnsafe=function(z){return u(z)},a.allocUnsafeSlow=function(z){return u(z)};function d(z,D){if((typeof D!="string"||D==="")&&(D="utf8"),!a.isEncoding(D))throw new TypeError("Unknown encoding: "+D);let q=b(z,D)|0,oe=o(q),ye=oe.write(z,D);return ye!==q&&(oe=oe.slice(0,ye)),oe}function f(z){let D=z.length<0?0:v(z.length)|0,q=o(D);for(let oe=0;oe=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return z|0}function y(z){return+z!=z&&(z=0),a.alloc(+z)}a.isBuffer=function(z){return z!=null&&z._isBuffer===!0&&z!==a.prototype},a.compare=function(z,D){if(me(z,Uint8Array)&&(z=a.from(z,z.offset,z.byteLength)),me(D,Uint8Array)&&(D=a.from(D,D.offset,D.byteLength)),!a.isBuffer(z)||!a.isBuffer(D))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(z===D)return 0;let q=z.length,oe=D.length;for(let ye=0,ce=Math.min(q,oe);yeoe.length?(a.isBuffer(ce)||(ce=a.from(ce)),ce.copy(oe,ye)):Uint8Array.prototype.set.call(oe,ce,ye);else if(a.isBuffer(ce))ce.copy(oe,ye);else throw new TypeError('"list" argument must be an Array of Buffers');ye+=ce.length}return oe};function b(z,D){if(a.isBuffer(z))return z.length;if(ArrayBuffer.isView(z)||me(z,ArrayBuffer))return z.byteLength;if(typeof z!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof z);let q=z.length,oe=arguments.length>2&&arguments[2]===!0;if(!oe&&q===0)return 0;let ye=!1;for(;;)switch(D){case"ascii":case"latin1":case"binary":return q;case"utf8":case"utf-8":return ue(z).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q*2;case"hex":return q>>>1;case"base64":return Te(z).length;default:if(ye)return oe?-1:ue(z).length;D=(""+D).toLowerCase(),ye=!0}}a.byteLength=b;function _(z,D,q){let oe=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((q===void 0||q>this.length)&&(q=this.length),q<=0)||(q>>>=0,D>>>=0,q<=D))return"";for(z||(z="utf8");;)switch(z){case"hex":return L(this,D,q);case"utf8":case"utf-8":return M(this,D,q);case"ascii":return k(this,D,q);case"latin1":case"binary":return N(this,D,q);case"base64":return I(this,D,q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V(this,D,q);default:if(oe)throw new TypeError("Unknown encoding: "+z);z=(z+"").toLowerCase(),oe=!0}}a.prototype._isBuffer=!0;function E(z,D,q){let oe=z[D];z[D]=z[q],z[q]=oe}a.prototype.swap16=function(){let z=this.length;if(z%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let D=0;DD&&(z+=" ... "),""},n&&(a.prototype[n]=a.prototype.inspect),a.prototype.compare=function(z,D,q,oe,ye){if(me(z,Uint8Array)&&(z=a.from(z,z.offset,z.byteLength)),!a.isBuffer(z))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof z);if(D===void 0&&(D=0),q===void 0&&(q=z?z.length:0),oe===void 0&&(oe=0),ye===void 0&&(ye=this.length),D<0||q>z.length||oe<0||ye>this.length)throw new RangeError("out of range index");if(oe>=ye&&D>=q)return 0;if(oe>=ye)return-1;if(D>=q)return 1;if(D>>>=0,q>>>=0,oe>>>=0,ye>>>=0,this===z)return 0;let ce=ye-oe,Be=q-D,Ve=Math.min(ce,Be),re=this.slice(oe,ye),Me=z.slice(D,q);for(let je=0;je2147483647?q=2147483647:q<-2147483648&&(q=-2147483648),q=+q,be(q)&&(q=ye?0:z.length-1),q<0&&(q=z.length+q),q>=z.length){if(ye)return-1;q=z.length-1}else if(q<0)if(ye)q=0;else return-1;if(typeof D=="string"&&(D=a.from(D,oe)),a.isBuffer(D))return D.length===0?-1:S(z,D,q,oe,ye);if(typeof D=="number")return D=D&255,typeof Uint8Array.prototype.indexOf=="function"?ye?Uint8Array.prototype.indexOf.call(z,D,q):Uint8Array.prototype.lastIndexOf.call(z,D,q):S(z,[D],q,oe,ye);throw new TypeError("val must be string, number or Buffer")}function S(z,D,q,oe,ye){let ce=1,Be=z.length,Ve=D.length;if(oe!==void 0&&(oe=String(oe).toLowerCase(),oe==="ucs2"||oe==="ucs-2"||oe==="utf16le"||oe==="utf-16le")){if(z.length<2||D.length<2)return-1;ce=2,Be/=2,Ve/=2,q/=2}function re(je,ke){return ce===1?je[ke]:je.readUInt16BE(ke*ce)}let Me;if(ye){let je=-1;for(Me=q;MeBe&&(q=Be-Ve),Me=q;Me>=0;Me--){let je=!0;for(let ke=0;keye&&(oe=ye)):oe=ye;let ce=D.length;oe>ce/2&&(oe=ce/2);let Be;for(Be=0;Be>>0,isFinite(q)?(q=q>>>0,oe===void 0&&(oe="utf8")):(oe=q,q=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let ye=this.length-D;if((q===void 0||q>ye)&&(q=ye),z.length>0&&(q<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");oe||(oe="utf8");let ce=!1;for(;;)switch(oe){case"hex":return w(this,z,D,q);case"utf8":case"utf-8":return T(this,z,D,q);case"ascii":case"latin1":case"binary":return O(this,z,D,q);case"base64":return x(this,z,D,q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,z,D,q);default:if(ce)throw new TypeError("Unknown encoding: "+oe);oe=(""+oe).toLowerCase(),ce=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function I(z,D,q){return D===0&&q===z.length?e.fromByteArray(z):e.fromByteArray(z.slice(D,q))}function M(z,D,q){q=Math.min(z.length,q);let oe=[],ye=D;for(;ye239?4:ce>223?3:ce>191?2:1;if(ye+Ve<=q){let re,Me,je,ke;switch(Ve){case 1:ce<128&&(Be=ce);break;case 2:re=z[ye+1],(re&192)===128&&(ke=(ce&31)<<6|re&63,ke>127&&(Be=ke));break;case 3:re=z[ye+1],Me=z[ye+2],(re&192)===128&&(Me&192)===128&&(ke=(ce&15)<<12|(re&63)<<6|Me&63,ke>2047&&(ke<55296||ke>57343)&&(Be=ke));break;case 4:re=z[ye+1],Me=z[ye+2],je=z[ye+3],(re&192)===128&&(Me&192)===128&&(je&192)===128&&(ke=(ce&15)<<18|(re&63)<<12|(Me&63)<<6|je&63,ke>65535&&ke<1114112&&(Be=ke))}}Be===null?(Be=65533,Ve=1):Be>65535&&(Be-=65536,oe.push(Be>>>10&1023|55296),Be=56320|Be&1023),oe.push(Be),ye+=Ve}return P(oe)}let B=4096;function P(z){let D=z.length;if(D<=B)return String.fromCharCode.apply(String,z);let q="",oe=0;for(;oeoe)&&(q=oe);let ye="";for(let ce=D;ceq&&(z=q),D<0?(D+=q,D<0&&(D=0)):D>q&&(D=q),Dq)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(z,D,q){z=z>>>0,D=D>>>0,q||$(z,D,this.length);let oe=this[z],ye=1,ce=0;for(;++ce>>0,D=D>>>0,q||$(z,D,this.length);let oe=this[z+--D],ye=1;for(;D>0&&(ye*=256);)oe+=this[z+--D]*ye;return oe},a.prototype.readUint8=a.prototype.readUInt8=function(z,D){return z=z>>>0,D||$(z,1,this.length),this[z]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(z,D){return z=z>>>0,D||$(z,2,this.length),this[z]|this[z+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(z,D){return z=z>>>0,D||$(z,2,this.length),this[z]<<8|this[z+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(z,D){return z=z>>>0,D||$(z,4,this.length),(this[z]|this[z+1]<<8|this[z+2]<<16)+this[z+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(z,D){return z=z>>>0,D||$(z,4,this.length),this[z]*16777216+(this[z+1]<<16|this[z+2]<<8|this[z+3])},a.prototype.readBigUInt64LE=Re(function(z){z=z>>>0,le(z,"offset");let D=this[z],q=this[z+7];(D===void 0||q===void 0)&&de(z,this.length-8);let oe=D+this[++z]*2**8+this[++z]*2**16+this[++z]*2**24,ye=this[++z]+this[++z]*2**8+this[++z]*2**16+q*2**24;return BigInt(oe)+(BigInt(ye)<>>0,le(z,"offset");let D=this[z],q=this[z+7];(D===void 0||q===void 0)&&de(z,this.length-8);let oe=D*2**24+this[++z]*2**16+this[++z]*2**8+this[++z],ye=this[++z]*2**24+this[++z]*2**16+this[++z]*2**8+q;return(BigInt(oe)<>>0,D=D>>>0,q||$(z,D,this.length);let oe=this[z],ye=1,ce=0;for(;++ce=ye&&(oe-=Math.pow(2,8*D)),oe},a.prototype.readIntBE=function(z,D,q){z=z>>>0,D=D>>>0,q||$(z,D,this.length);let oe=D,ye=1,ce=this[z+--oe];for(;oe>0&&(ye*=256);)ce+=this[z+--oe]*ye;return ye*=128,ce>=ye&&(ce-=Math.pow(2,8*D)),ce},a.prototype.readInt8=function(z,D){return z=z>>>0,D||$(z,1,this.length),this[z]&128?(255-this[z]+1)*-1:this[z]},a.prototype.readInt16LE=function(z,D){z=z>>>0,D||$(z,2,this.length);let q=this[z]|this[z+1]<<8;return q&32768?q|4294901760:q},a.prototype.readInt16BE=function(z,D){z=z>>>0,D||$(z,2,this.length);let q=this[z+1]|this[z]<<8;return q&32768?q|4294901760:q},a.prototype.readInt32LE=function(z,D){return z=z>>>0,D||$(z,4,this.length),this[z]|this[z+1]<<8|this[z+2]<<16|this[z+3]<<24},a.prototype.readInt32BE=function(z,D){return z=z>>>0,D||$(z,4,this.length),this[z]<<24|this[z+1]<<16|this[z+2]<<8|this[z+3]},a.prototype.readBigInt64LE=Re(function(z){z=z>>>0,le(z,"offset");let D=this[z],q=this[z+7];(D===void 0||q===void 0)&&de(z,this.length-8);let oe=this[z+4]+this[z+5]*2**8+this[z+6]*2**16+(q<<24);return(BigInt(oe)<>>0,le(z,"offset");let D=this[z],q=this[z+7];(D===void 0||q===void 0)&&de(z,this.length-8);let oe=(D<<24)+this[++z]*2**16+this[++z]*2**8+this[++z];return(BigInt(oe)<>>0,D||$(z,4,this.length),t.read(this,z,!0,23,4)},a.prototype.readFloatBE=function(z,D){return z=z>>>0,D||$(z,4,this.length),t.read(this,z,!1,23,4)},a.prototype.readDoubleLE=function(z,D){return z=z>>>0,D||$(z,8,this.length),t.read(this,z,!0,52,8)},a.prototype.readDoubleBE=function(z,D){return z=z>>>0,D||$(z,8,this.length),t.read(this,z,!1,52,8)};function W(z,D,q,oe,ye,ce){if(!a.isBuffer(z))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>ye||Dz.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(z,D,q,oe){if(z=+z,D=D>>>0,q=q>>>0,!oe){let Be=Math.pow(2,8*q)-1;W(this,z,D,q,Be,0)}let ye=1,ce=0;for(this[D]=z&255;++ce>>0,q=q>>>0,!oe){let Be=Math.pow(2,8*q)-1;W(this,z,D,q,Be,0)}let ye=q-1,ce=1;for(this[D+ye]=z&255;--ye>=0&&(ce*=256);)this[D+ye]=z/ce&255;return D+q},a.prototype.writeUint8=a.prototype.writeUInt8=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,1,255,0),this[D]=z&255,D+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,2,65535,0),this[D]=z&255,this[D+1]=z>>>8,D+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,2,65535,0),this[D]=z>>>8,this[D+1]=z&255,D+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,4,4294967295,0),this[D+3]=z>>>24,this[D+2]=z>>>16,this[D+1]=z>>>8,this[D]=z&255,D+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,4,4294967295,0),this[D]=z>>>24,this[D+1]=z>>>16,this[D+2]=z>>>8,this[D+3]=z&255,D+4};function j(z,D,q,oe,ye){pe(D,oe,ye,z,q,7);let ce=Number(D&BigInt(4294967295));z[q++]=ce,ce=ce>>8,z[q++]=ce,ce=ce>>8,z[q++]=ce,ce=ce>>8,z[q++]=ce;let Be=Number(D>>BigInt(32)&BigInt(4294967295));return z[q++]=Be,Be=Be>>8,z[q++]=Be,Be=Be>>8,z[q++]=Be,Be=Be>>8,z[q++]=Be,q}function U(z,D,q,oe,ye){pe(D,oe,ye,z,q,7);let ce=Number(D&BigInt(4294967295));z[q+7]=ce,ce=ce>>8,z[q+6]=ce,ce=ce>>8,z[q+5]=ce,ce=ce>>8,z[q+4]=ce;let Be=Number(D>>BigInt(32)&BigInt(4294967295));return z[q+3]=Be,Be=Be>>8,z[q+2]=Be,Be=Be>>8,z[q+1]=Be,Be=Be>>8,z[q]=Be,q+8}a.prototype.writeBigUInt64LE=Re(function(z,D=0){return j(this,z,D,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=Re(function(z,D=0){return U(this,z,D,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(z,D,q,oe){if(z=+z,D=D>>>0,!oe){let Ve=Math.pow(2,8*q-1);W(this,z,D,q,Ve-1,-Ve)}let ye=0,ce=1,Be=0;for(this[D]=z&255;++ye>0)-Be&255;return D+q},a.prototype.writeIntBE=function(z,D,q,oe){if(z=+z,D=D>>>0,!oe){let Ve=Math.pow(2,8*q-1);W(this,z,D,q,Ve-1,-Ve)}let ye=q-1,ce=1,Be=0;for(this[D+ye]=z&255;--ye>=0&&(ce*=256);)z<0&&Be===0&&this[D+ye+1]!==0&&(Be=1),this[D+ye]=(z/ce>>0)-Be&255;return D+q},a.prototype.writeInt8=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,1,127,-128),z<0&&(z=255+z+1),this[D]=z&255,D+1},a.prototype.writeInt16LE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,2,32767,-32768),this[D]=z&255,this[D+1]=z>>>8,D+2},a.prototype.writeInt16BE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,2,32767,-32768),this[D]=z>>>8,this[D+1]=z&255,D+2},a.prototype.writeInt32LE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,4,2147483647,-2147483648),this[D]=z&255,this[D+1]=z>>>8,this[D+2]=z>>>16,this[D+3]=z>>>24,D+4},a.prototype.writeInt32BE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,4,2147483647,-2147483648),z<0&&(z=4294967295+z+1),this[D]=z>>>24,this[D+1]=z>>>16,this[D+2]=z>>>8,this[D+3]=z&255,D+4},a.prototype.writeBigInt64LE=Re(function(z,D=0){return j(this,z,D,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=Re(function(z,D=0){return U(this,z,D,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Z(z,D,q,oe,ye,ce){if(q+oe>z.length)throw new RangeError("Index out of range");if(q<0)throw new RangeError("Index out of range")}function te(z,D,q,oe,ye){return D=+D,q=q>>>0,ye||Z(z,D,q,4),t.write(z,D,q,oe,23,4),q+4}a.prototype.writeFloatLE=function(z,D,q){return te(this,z,D,!0,q)},a.prototype.writeFloatBE=function(z,D,q){return te(this,z,D,!1,q)};function ae(z,D,q,oe,ye){return D=+D,q=q>>>0,ye||Z(z,D,q,8),t.write(z,D,q,oe,52,8),q+8}a.prototype.writeDoubleLE=function(z,D,q){return ae(this,z,D,!0,q)},a.prototype.writeDoubleBE=function(z,D,q){return ae(this,z,D,!1,q)},a.prototype.copy=function(z,D,q,oe){if(!a.isBuffer(z))throw new TypeError("argument should be a Buffer");if(q||(q=0),!oe&&oe!==0&&(oe=this.length),D>=z.length&&(D=z.length),D||(D=0),oe>0&&oe=this.length)throw new RangeError("Index out of range");if(oe<0)throw new RangeError("sourceEnd out of bounds");oe>this.length&&(oe=this.length),z.length-D>>0,q=q===void 0?this.length:q>>>0,z||(z=0);let ye;if(typeof z=="number")for(ye=D;ye2**32?ye=ie(String(q)):typeof q=="bigint"&&(ye=String(q),(q>BigInt(2)**BigInt(32)||q<-(BigInt(2)**BigInt(32)))&&(ye=ie(ye)),ye+="n"),oe+=` It must be ${D}. Received ${ye}`,oe},RangeError);function ie(z){let D="",q=z.length,oe=z[0]==="-"?1:0;for(;q>=oe+4;q-=3)D=`_${z.slice(q-3,q)}${D}`;return`${z.slice(0,q)}${D}`}function he(z,D,q){le(D,"offset"),(z[D]===void 0||z[D+q]===void 0)&&de(D,z.length-(q+1))}function pe(z,D,q,oe,ye,ce){if(z>q||z= 0${Be} and < 2${Be} ** ${(ce+1)*8}${Be}`:Ve=`>= -(2${Be} ** ${(ce+1)*8-1}${Be}) and < 2 ** ${(ce+1)*8-1}${Be}`,new K.ERR_OUT_OF_RANGE("value",Ve,z)}he(oe,ye,ce)}function le(z,D){if(typeof z!="number")throw new K.ERR_INVALID_ARG_TYPE(D,"number",z)}function de(z,D,q){throw Math.floor(z)!==z?(le(z,q),new K.ERR_OUT_OF_RANGE("offset","an integer",z)):D<0?new K.ERR_BUFFER_OUT_OF_BOUNDS:new K.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${D}`,z)}let ve=/[^+/0-9A-Za-z-_]/g;function ne(z){if(z=z.split("=")[0],z=z.trim().replace(ve,""),z.length<2)return"";for(;z.length%4!==0;)z=z+"=";return z}function ue(z,D){D=D||1/0;let q,oe=z.length,ye=null,ce=[];for(let Be=0;Be55295&&q<57344){if(!ye){if(q>56319){(D-=3)>-1&&ce.push(239,191,189);continue}else if(Be+1===oe){(D-=3)>-1&&ce.push(239,191,189);continue}ye=q;continue}if(q<56320){(D-=3)>-1&&ce.push(239,191,189),ye=q;continue}q=(ye-55296<<10|q-56320)+65536}else ye&&(D-=3)>-1&&ce.push(239,191,189);if(ye=null,q<128){if((D-=1)<0)break;ce.push(q)}else if(q<2048){if((D-=2)<0)break;ce.push(q>>6|192,q&63|128)}else if(q<65536){if((D-=3)<0)break;ce.push(q>>12|224,q>>6&63|128,q&63|128)}else if(q<1114112){if((D-=4)<0)break;ce.push(q>>18|240,q>>12&63|128,q>>6&63|128,q&63|128)}else throw new Error("Invalid code point")}return ce}function ge(z){let D=[];for(let q=0;q>8,ye=q%256,ce.push(ye),ce.push(oe);return ce}function Te(z){return e.toByteArray(ne(z))}function Se(z,D,q,oe){let ye;for(ye=0;ye=D.length||ye>=z.length);++ye)D[ye+q]=z[ye];return ye}function me(z,D){return z instanceof D||z!=null&&z.constructor!=null&&z.constructor.name!=null&&z.constructor.name===D.name}function be(z){return z!==z}let _e=function(){let z="0123456789abcdef",D=new Array(256);for(let q=0;q<16;++q){let oe=q*16;for(let ye=0;ye<16;++ye)D[oe+ye]=z[q]+z[ye]}return D}();function Re(z){return typeof BigInt>"u"?De:z}function De(){throw new Error("BigInt not supported")}return Kh}var xb,Tj,xC,xj,Kh,Oj,yp,aM,F0e,B0e,us=ls(()=>{Jt(),tn(),en(),xb={},Tj=!1,xC={},xj=!1,Kh={},Oj=!1,yp=VBe(),yp.Buffer,yp.SlowBuffer,yp.INSPECT_MAX_BYTES,yp.kMaxLength,aM=yp.Buffer,F0e=yp.INSPECT_MAX_BYTES,B0e=yp.kMaxLength}),tn=ls(()=>{us()}),GBe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(n){this.aliasToTopic={},this.max=n}put(n,r){return r===0||r>this.max?!1:(this.aliasToTopic[r]=n,this.length=Object.keys(this.aliasToTopic).length,!0)}getTopicByAlias(n){return this.aliasToTopic[n]}clear(){this.aliasToTopic={}}};e.default=t}),Oa=sn((e,t)=>{Jt(),tn(),en(),t.exports={ArrayIsArray(n){return Array.isArray(n)},ArrayPrototypeIncludes(n,r){return n.includes(r)},ArrayPrototypeIndexOf(n,r){return n.indexOf(r)},ArrayPrototypeJoin(n,r){return n.join(r)},ArrayPrototypeMap(n,r){return n.map(r)},ArrayPrototypePop(n,r){return n.pop(r)},ArrayPrototypePush(n,r){return n.push(r)},ArrayPrototypeSlice(n,r,i){return n.slice(r,i)},Error,FunctionPrototypeCall(n,r,...i){return n.call(r,...i)},FunctionPrototypeSymbolHasInstance(n,r){return Function.prototype[Symbol.hasInstance].call(n,r)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(n,r){return Object.defineProperties(n,r)},ObjectDefineProperty(n,r,i){return Object.defineProperty(n,r,i)},ObjectGetOwnPropertyDescriptor(n,r){return Object.getOwnPropertyDescriptor(n,r)},ObjectKeys(n){return Object.keys(n)},ObjectSetPrototypeOf(n,r){return Object.setPrototypeOf(n,r)},Promise,PromisePrototypeCatch(n,r){return n.catch(r)},PromisePrototypeThen(n,r,i){return n.then(r,i)},PromiseReject(n){return Promise.reject(n)},ReflectApply:Reflect.apply,RegExpPrototypeTest(n,r){return n.test(r)},SafeSet:Set,String,StringPrototypeSlice(n,r,i){return n.slice(r,i)},StringPrototypeToLowerCase(n){return n.toLowerCase()},StringPrototypeToUpperCase(n){return n.toUpperCase()},StringPrototypeTrim(n){return n.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet(n,r,i){return n.set(r,i)},Uint8Array}}),ih=sn((e,t)=>{Jt(),tn(),en();var n=(us(),Hi(cs)),r=Object.getPrototypeOf(async function(){}).constructor,i=globalThis.Blob||n.Blob,o=typeof i<"u"?function(s){return s instanceof i}:function(s){return!1},a=class extends Error{constructor(s){if(!Array.isArray(s))throw new TypeError(`Expected input to be an Array, got ${typeof s}`);let l="";for(let c=0;c{s=c,l=u}),resolve:s,reject:l}},promisify(s){return new Promise((l,c)=>{s((u,...d)=>u?c(u):l(...d))})},debuglog(){return function(){}},format(s,...l){return s.replace(/%([sdifj])/g,function(...[c,u]){let d=l.shift();return u==="f"?d.toFixed(6):u==="j"?JSON.stringify(d):u==="s"&&typeof d=="object"?`${d.constructor!==Object?d.constructor.name:""} {}`.trim():d.toString()})},inspect(s){switch(typeof s){case"string":if(s.includes("'"))if(s.includes('"')){if(!s.includes("`")&&!s.includes("${"))return`\`${s}\``}else return`"${s}"`;return`'${s}'`;case"number":return isNaN(s)?"NaN":Object.is(s,-0)?String(s):s;case"bigint":return`${String(s)}n`;case"boolean":case"undefined":return String(s);case"object":return"{}"}},types:{isAsyncFunction(s){return s instanceof r},isArrayBufferView(s){return ArrayBuffer.isView(s)}},isBlob:o},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}),bW=sn((e,t)=>{Jt(),tn(),en();var{AbortController:n,AbortSignal:r}=typeof self<"u"?self:typeof window<"u"?window:void 0;t.exports=n,t.exports.AbortSignal=r,t.exports.default=n}),Ll=sn((e,t)=>{Jt(),tn(),en();var{format:n,inspect:r,AggregateError:i}=ih(),o=globalThis.AggregateError||i,a=Symbol("kIsNodeError"),s=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,c="__node_internal_",u={};function d(b,_){if(!b)throw new u.ERR_INTERNAL_ASSERTION(_)}function f(b){let _="",E=b.length,C=b[0]==="-"?1:0;for(;E>=C+4;E-=3)_=`_${b.slice(E-3,E)}${_}`;return`${b.slice(0,E)}${_}`}function h(b,_,E){if(typeof _=="function")return d(_.length<=E.length,`Code: ${b}; The provided arguments length (${E.length}) does not match the required ones (${_.length}).`),_(...E);let C=(_.match(/%[dfijoOs]/g)||[]).length;return d(C===E.length,`Code: ${b}; The provided arguments length (${E.length}) does not match the required ones (${C}).`),E.length===0?_:n(_,...E)}function m(b,_,E){E||(E=Error);class C extends E{constructor(...w){super(h(b,_,w))}toString(){return`${this.name} [${b}]: ${this.message}`}}Object.defineProperties(C.prototype,{name:{value:E.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${b}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),C.prototype.code=b,C.prototype[a]=!0,u[b]=C}function g(b){let _=c+b.name;return Object.defineProperty(b,"name",{value:_}),b}function v(b,_){if(b&&_&&b!==_){if(Array.isArray(_.errors))return _.errors.push(b),_;let E=new o([_,b],_.message);return E.code=_.code,E}return b||_}var y=class extends Error{constructor(b="The operation was aborted",_=void 0){if(_!==void 0&&typeof _!="object")throw new u.ERR_INVALID_ARG_TYPE("options","Object",_);super(b,_),this.code="ABORT_ERR",this.name="AbortError"}};m("ERR_ASSERTION","%s",Error),m("ERR_INVALID_ARG_TYPE",(b,_,E)=>{d(typeof b=="string","'name' must be a string"),Array.isArray(_)||(_=[_]);let C="The ";b.endsWith(" argument")?C+=`${b} `:C+=`"${b}" ${b.includes(".")?"property":"argument"} `,C+="must be ";let S=[],w=[],T=[];for(let x of _)d(typeof x=="string","All expected entries have to be of type string"),s.includes(x)?S.push(x.toLowerCase()):l.test(x)?w.push(x):(d(x!=="object",'The value "object" should be written as "Object"'),T.push(x));if(w.length>0){let x=S.indexOf("object");x!==-1&&(S.splice(S,x,1),w.push("Object"))}if(S.length>0){switch(S.length){case 1:C+=`of type ${S[0]}`;break;case 2:C+=`one of type ${S[0]} or ${S[1]}`;break;default:{let x=S.pop();C+=`one of type ${S.join(", ")}, or ${x}`}}(w.length>0||T.length>0)&&(C+=" or ")}if(w.length>0){switch(w.length){case 1:C+=`an instance of ${w[0]}`;break;case 2:C+=`an instance of ${w[0]} or ${w[1]}`;break;default:{let x=w.pop();C+=`an instance of ${w.join(", ")}, or ${x}`}}T.length>0&&(C+=" or ")}switch(T.length){case 0:break;case 1:T[0].toLowerCase()!==T[0]&&(C+="an "),C+=`${T[0]}`;break;case 2:C+=`one of ${T[0]} or ${T[1]}`;break;default:{let x=T.pop();C+=`one of ${T.join(", ")}, or ${x}`}}if(E==null)C+=`. Received ${E}`;else if(typeof E=="function"&&E.name)C+=`. Received function ${E.name}`;else if(typeof E=="object"){var O;if((O=E.constructor)!==null&&O!==void 0&&O.name)C+=`. Received an instance of ${E.constructor.name}`;else{let x=r(E,{depth:-1});C+=`. Received ${x}`}}else{let x=r(E,{colors:!1});x.length>25&&(x=`${x.slice(0,25)}...`),C+=`. Received type ${typeof E} (${x})`}return C},TypeError),m("ERR_INVALID_ARG_VALUE",(b,_,E="is invalid")=>{let C=r(_);return C.length>128&&(C=C.slice(0,128)+"..."),`The ${b.includes(".")?"property":"argument"} '${b}' ${E}. Received ${C}`},TypeError),m("ERR_INVALID_RETURN_VALUE",(b,_,E)=>{var C;let S=E!=null&&(C=E.constructor)!==null&&C!==void 0&&C.name?`instance of ${E.constructor.name}`:`type ${typeof E}`;return`Expected ${b} to be returned from the "${_}" function but got ${S}.`},TypeError),m("ERR_MISSING_ARGS",(...b)=>{d(b.length>0,"At least one arg needs to be specified");let _,E=b.length;switch(b=(Array.isArray(b)?b:[b]).map(C=>`"${C}"`).join(" or "),E){case 1:_+=`The ${b[0]} argument`;break;case 2:_+=`The ${b[0]} and ${b[1]} arguments`;break;default:{let C=b.pop();_+=`The ${b.join(", ")}, and ${C} arguments`}break}return`${_} must be specified`},TypeError),m("ERR_OUT_OF_RANGE",(b,_,E)=>{d(_,'Missing "range" argument');let C;return Number.isInteger(E)&&Math.abs(E)>2**32?C=f(String(E)):typeof E=="bigint"?(C=String(E),(E>2n**32n||E<-(2n**32n))&&(C=f(C)),C+="n"):C=r(E),`The value of "${b}" is out of range. It must be ${_}. Received ${C}`},RangeError),m("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),m("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),m("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),m("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),m("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),m("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),m("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),m("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),m("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),m("ERR_STREAM_WRITE_AFTER_END","write after end",Error),m("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),t.exports={AbortError:y,aggregateTwoErrors:g(v),hideStackFrames:g,codes:u}}),j5=sn((e,t)=>{Jt(),tn(),en();var{ArrayIsArray:n,ArrayPrototypeIncludes:r,ArrayPrototypeJoin:i,ArrayPrototypeMap:o,NumberIsInteger:a,NumberIsNaN:s,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:c,NumberParseInt:u,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:f,String:h,StringPrototypeToUpperCase:m,StringPrototypeTrim:g}=Oa(),{hideStackFrames:v,codes:{ERR_SOCKET_BAD_PORT:y,ERR_INVALID_ARG_TYPE:b,ERR_INVALID_ARG_VALUE:_,ERR_OUT_OF_RANGE:E,ERR_UNKNOWN_SIGNAL:C}}=Ll(),{normalizeEncoding:S}=ih(),{isAsyncFunction:w,isArrayBufferView:T}=ih().types,O={};function x(Se){return Se===(Se|0)}function A(Se){return Se===Se>>>0}var I=/^[0-7]+$/,M="must be a 32-bit unsigned integer or an octal string";function B(Se,me,be){if(typeof Se>"u"&&(Se=be),typeof Se=="string"){if(f(I,Se)===null)throw new _(me,Se,M);Se=u(Se,8)}return N(Se,me),Se}var P=v((Se,me,be=c,_e=l)=>{if(typeof Se!="number")throw new b(me,"number",Se);if(!a(Se))throw new E(me,"an integer",Se);if(Se_e)throw new E(me,`>= ${be} && <= ${_e}`,Se)}),k=v((Se,me,be=-2147483648,_e=2147483647)=>{if(typeof Se!="number")throw new b(me,"number",Se);if(!a(Se))throw new E(me,"an integer",Se);if(Se_e)throw new E(me,`>= ${be} && <= ${_e}`,Se)}),N=v((Se,me,be=!1)=>{if(typeof Se!="number")throw new b(me,"number",Se);if(!a(Se))throw new E(me,"an integer",Se);let _e=be?1:0,Re=4294967295;if(Se<_e||Se>Re)throw new E(me,`>= ${_e} && <= ${Re}`,Se)});function L(Se,me){if(typeof Se!="string")throw new b(me,"string",Se)}function V(Se,me,be=void 0,_e){if(typeof Se!="number")throw new b(me,"number",Se);if(be!=null&&Se_e||(be!=null||_e!=null)&&s(Se))throw new E(me,`${be!=null?`>= ${be}`:""}${be!=null&&_e!=null?" && ":""}${_e!=null?`<= ${_e}`:""}`,Se)}var $=v((Se,me,be)=>{if(!r(be,Se)){let _e="must be one of: "+i(o(be,Re=>typeof Re=="string"?`'${Re}'`:h(Re)),", ");throw new _(me,Se,_e)}});function W(Se,me){if(typeof Se!="boolean")throw new b(me,"boolean",Se)}function j(Se,me,be){return Se==null||!d(Se,me)?be:Se[me]}var U=v((Se,me,be=null)=>{let _e=j(be,"allowArray",!1),Re=j(be,"allowFunction",!1);if(!j(be,"nullable",!1)&&Se===null||!_e&&n(Se)||typeof Se!="object"&&(!Re||typeof Se!="function"))throw new b(me,"Object",Se)}),Z=v((Se,me)=>{if(Se!=null&&typeof Se!="object"&&typeof Se!="function")throw new b(me,"a dictionary",Se)}),te=v((Se,me,be=0)=>{if(!n(Se))throw new b(me,"Array",Se);if(Se.length{if(!T(Se))throw new b(me,["Buffer","TypedArray","DataView"],Se)});function he(Se,me){let be=S(me),_e=Se.length;if(be==="hex"&&_e%2!==0)throw new _("encoding",me,`is invalid for data of length ${_e}`)}function pe(Se,me="Port",be=!0){if(typeof Se!="number"&&typeof Se!="string"||typeof Se=="string"&&g(Se).length===0||+Se!==+Se>>>0||Se>65535||Se===0&&!be)throw new y(me,Se,be);return Se|0}var le=v((Se,me)=>{if(Se!==void 0&&(Se===null||typeof Se!="object"||!("aborted"in Se)))throw new b(me,"AbortSignal",Se)}),de=v((Se,me)=>{if(typeof Se!="function")throw new b(me,"Function",Se)}),ve=v((Se,me)=>{if(typeof Se!="function"||w(Se))throw new b(me,"Function",Se)}),ne=v((Se,me)=>{if(Se!==void 0)throw new b(me,"undefined",Se)});function ue(Se,me,be){if(!r(be,Se))throw new b(me,`('${i(be,"|")}')`,Se)}var ge=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function Ce(Se,me){if(typeof Se>"u"||!f(ge,Se))throw new _(me,Se,'must be an array or string of format "; rel=preload; as=style"')}function Te(Se){if(typeof Se=="string")return Ce(Se,"hints"),Se;if(n(Se)){let me=Se.length,be="";if(me===0)return be;for(let _e=0;_e; rel=preload; as=style"')}t.exports={isInt32:x,isUint32:A,parseFileMode:B,validateArray:te,validateStringArray:ae,validateBooleanArray:K,validateBoolean:W,validateBuffer:ie,validateDictionary:Z,validateEncoding:he,validateFunction:de,validateInt32:k,validateInteger:P,validateNumber:V,validateObject:U,validateOneOf:$,validatePlainFunction:ve,validatePort:pe,validateSignalName:Q,validateString:L,validateUint32:N,validateUndefined:ne,validateUnion:ue,validateAbortSignal:le,validateLinkHeaderValue:Te}}),m0=sn((e,t)=>{Jt(),tn(),en();var n=t.exports={},r,i;function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?r=setTimeout:r=o}catch{r=o}try{typeof clearTimeout=="function"?i=clearTimeout:i=a}catch{i=a}})();function s(y){if(r===setTimeout)return setTimeout(y,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(y,0);try{return r(y,0)}catch{try{return r.call(null,y,0)}catch{return r.call(this,y,0)}}}function l(y){if(i===clearTimeout)return clearTimeout(y);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(y);try{return i(y)}catch{try{return i.call(null,y)}catch{return i.call(this,y)}}}var c=[],u=!1,d,f=-1;function h(){!u||!d||(u=!1,d.length?c=d.concat(c):f=-1,c.length&&m())}function m(){if(!u){var y=s(h);u=!0;for(var b=c.length;b;){for(d=c,c=[];++f1)for(var _=1;_{Jt(),tn(),en();var{Symbol:n,SymbolAsyncIterator:r,SymbolIterator:i,SymbolFor:o}=Oa(),a=n("kDestroyed"),s=n("kIsErrored"),l=n("kIsReadable"),c=n("kIsDisturbed"),u=o("nodejs.webstream.isClosedPromise"),d=o("nodejs.webstream.controllerErrorFunction");function f(j,U=!1){var Z;return!!(j&&typeof j.pipe=="function"&&typeof j.on=="function"&&(!U||typeof j.pause=="function"&&typeof j.resume=="function")&&(!j._writableState||((Z=j._readableState)===null||Z===void 0?void 0:Z.readable)!==!1)&&(!j._writableState||j._readableState))}function h(j){var U;return!!(j&&typeof j.write=="function"&&typeof j.on=="function"&&(!j._readableState||((U=j._writableState)===null||U===void 0?void 0:U.writable)!==!1))}function m(j){return!!(j&&typeof j.pipe=="function"&&j._readableState&&typeof j.on=="function"&&typeof j.write=="function")}function g(j){return j&&(j._readableState||j._writableState||typeof j.write=="function"&&typeof j.on=="function"||typeof j.pipe=="function"&&typeof j.on=="function")}function v(j){return!!(j&&!g(j)&&typeof j.pipeThrough=="function"&&typeof j.getReader=="function"&&typeof j.cancel=="function")}function y(j){return!!(j&&!g(j)&&typeof j.getWriter=="function"&&typeof j.abort=="function")}function b(j){return!!(j&&!g(j)&&typeof j.readable=="object"&&typeof j.writable=="object")}function _(j){return v(j)||y(j)||b(j)}function E(j,U){return j==null?!1:U===!0?typeof j[r]=="function":U===!1?typeof j[i]=="function":typeof j[r]=="function"||typeof j[i]=="function"}function C(j){if(!g(j))return null;let U=j._writableState,Z=j._readableState,te=U||Z;return!!(j.destroyed||j[a]||te!=null&&te.destroyed)}function S(j){if(!h(j))return null;if(j.writableEnded===!0)return!0;let U=j._writableState;return U!=null&&U.errored?!1:typeof(U==null?void 0:U.ended)!="boolean"?null:U.ended}function w(j,U){if(!h(j))return null;if(j.writableFinished===!0)return!0;let Z=j._writableState;return Z!=null&&Z.errored?!1:typeof(Z==null?void 0:Z.finished)!="boolean"?null:!!(Z.finished||U===!1&&Z.ended===!0&&Z.length===0)}function T(j){if(!f(j))return null;if(j.readableEnded===!0)return!0;let U=j._readableState;return!U||U.errored?!1:typeof(U==null?void 0:U.ended)!="boolean"?null:U.ended}function O(j,U){if(!f(j))return null;let Z=j._readableState;return Z!=null&&Z.errored?!1:typeof(Z==null?void 0:Z.endEmitted)!="boolean"?null:!!(Z.endEmitted||U===!1&&Z.ended===!0&&Z.length===0)}function x(j){return j&&j[l]!=null?j[l]:typeof(j==null?void 0:j.readable)!="boolean"?null:C(j)?!1:f(j)&&j.readable&&!O(j)}function A(j){return typeof(j==null?void 0:j.writable)!="boolean"?null:C(j)?!1:h(j)&&j.writable&&!S(j)}function I(j,U){return g(j)?C(j)?!0:!((U==null?void 0:U.readable)!==!1&&x(j)||(U==null?void 0:U.writable)!==!1&&A(j)):null}function M(j){var U,Z;return g(j)?j.writableErrored?j.writableErrored:(U=(Z=j._writableState)===null||Z===void 0?void 0:Z.errored)!==null&&U!==void 0?U:null:null}function B(j){var U,Z;return g(j)?j.readableErrored?j.readableErrored:(U=(Z=j._readableState)===null||Z===void 0?void 0:Z.errored)!==null&&U!==void 0?U:null:null}function P(j){if(!g(j))return null;if(typeof j.closed=="boolean")return j.closed;let U=j._writableState,Z=j._readableState;return typeof(U==null?void 0:U.closed)=="boolean"||typeof(Z==null?void 0:Z.closed)=="boolean"?(U==null?void 0:U.closed)||(Z==null?void 0:Z.closed):typeof j._closed=="boolean"&&k(j)?j._closed:null}function k(j){return typeof j._closed=="boolean"&&typeof j._defaultKeepAlive=="boolean"&&typeof j._removedConnection=="boolean"&&typeof j._removedContLen=="boolean"}function N(j){return typeof j._sent100=="boolean"&&k(j)}function L(j){var U;return typeof j._consuming=="boolean"&&typeof j._dumped=="boolean"&&((U=j.req)===null||U===void 0?void 0:U.upgradeOrConnect)===void 0}function V(j){if(!g(j))return null;let U=j._writableState,Z=j._readableState,te=U||Z;return!te&&N(j)||!!(te&&te.autoDestroy&&te.emitClose&&te.closed===!1)}function $(j){var U;return!!(j&&((U=j[c])!==null&&U!==void 0?U:j.readableDidRead||j.readableAborted))}function W(j){var U,Z,te,ae,K,Q,ie,he,pe,le;return!!(j&&((U=(Z=(te=(ae=(K=(Q=j[s])!==null&&Q!==void 0?Q:j.readableErrored)!==null&&K!==void 0?K:j.writableErrored)!==null&&ae!==void 0?ae:(ie=j._readableState)===null||ie===void 0?void 0:ie.errorEmitted)!==null&&te!==void 0?te:(he=j._writableState)===null||he===void 0?void 0:he.errorEmitted)!==null&&Z!==void 0?Z:(pe=j._readableState)===null||pe===void 0?void 0:pe.errored)!==null&&U!==void 0?U:!((le=j._writableState)===null||le===void 0)&&le.errored))}t.exports={kDestroyed:a,isDisturbed:$,kIsDisturbed:c,isErrored:W,kIsErrored:s,isReadable:x,kIsReadable:l,kIsClosedPromise:u,kControllerErrorFunction:d,isClosed:P,isDestroyed:C,isDuplexNodeStream:m,isFinished:I,isIterable:E,isReadableNodeStream:f,isReadableStream:v,isReadableEnded:T,isReadableFinished:O,isReadableErrored:B,isNodeStream:g,isWebStream:_,isWritable:A,isWritableNodeStream:h,isWritableStream:y,isWritableEnded:S,isWritableFinished:w,isWritableErrored:M,isServerRequest:L,isServerResponse:N,willEmitClose:V,isTransformStream:b}}),Rg=sn((e,t)=>{Jt(),tn(),en();var n=m0(),{AbortError:r,codes:i}=Ll(),{ERR_INVALID_ARG_TYPE:o,ERR_STREAM_PREMATURE_CLOSE:a}=i,{kEmptyObject:s,once:l}=ih(),{validateAbortSignal:c,validateFunction:u,validateObject:d,validateBoolean:f}=j5(),{Promise:h,PromisePrototypeThen:m}=Oa(),{isClosed:g,isReadable:v,isReadableNodeStream:y,isReadableStream:b,isReadableFinished:_,isReadableErrored:E,isWritable:C,isWritableNodeStream:S,isWritableStream:w,isWritableFinished:T,isWritableErrored:O,isNodeStream:x,willEmitClose:A,kIsClosedPromise:I}=yh();function M(L){return L.setHeader&&typeof L.abort=="function"}var B=()=>{};function P(L,V,$){var W,j;if(arguments.length===2?($=V,V=s):V==null?V=s:d(V,"options"),u($,"callback"),c(V.signal,"options.signal"),$=l($),b(L)||w(L))return k(L,V,$);if(!x(L))throw new o("stream",["ReadableStream","WritableStream","Stream"],L);let U=(W=V.readable)!==null&&W!==void 0?W:y(L),Z=(j=V.writable)!==null&&j!==void 0?j:S(L),te=L._writableState,ae=L._readableState,K=()=>{L.writable||he()},Q=A(L)&&y(L)===U&&S(L)===Z,ie=T(L,!1),he=()=>{ie=!0,L.destroyed&&(Q=!1),!(Q&&(!L.readable||U))&&(!U||pe)&&$.call(L)},pe=_(L,!1),le=()=>{pe=!0,L.destroyed&&(Q=!1),!(Q&&(!L.writable||Z))&&(!Z||ie)&&$.call(L)},de=Te=>{$.call(L,Te)},ve=g(L),ne=()=>{ve=!0;let Te=O(L)||E(L);if(Te&&typeof Te!="boolean")return $.call(L,Te);if(U&&!pe&&y(L,!0)&&!_(L,!1))return $.call(L,new a);if(Z&&!ie&&!T(L,!1))return $.call(L,new a);$.call(L)},ue=()=>{ve=!0;let Te=O(L)||E(L);if(Te&&typeof Te!="boolean")return $.call(L,Te);$.call(L)},ge=()=>{L.req.on("finish",he)};M(L)?(L.on("complete",he),Q||L.on("abort",ne),L.req?ge():L.on("request",ge)):Z&&!te&&(L.on("end",K),L.on("close",K)),!Q&&typeof L.aborted=="boolean"&&L.on("aborted",ne),L.on("end",le),L.on("finish",he),V.error!==!1&&L.on("error",de),L.on("close",ne),ve?n.nextTick(ne):te!=null&&te.errorEmitted||ae!=null&&ae.errorEmitted?Q||n.nextTick(ue):(!U&&(!Q||v(L))&&(ie||C(L)===!1)||!Z&&(!Q||C(L))&&(pe||v(L)===!1)||ae&&L.req&&L.aborted)&&n.nextTick(ue);let Ce=()=>{$=B,L.removeListener("aborted",ne),L.removeListener("complete",he),L.removeListener("abort",ne),L.removeListener("request",ge),L.req&&L.req.removeListener("finish",he),L.removeListener("end",K),L.removeListener("close",K),L.removeListener("finish",he),L.removeListener("end",le),L.removeListener("error",de),L.removeListener("close",ne)};if(V.signal&&!ve){let Te=()=>{let Se=$;Ce(),Se.call(L,new r(void 0,{cause:V.signal.reason}))};if(V.signal.aborted)n.nextTick(Te);else{let Se=$;$=l((...me)=>{V.signal.removeEventListener("abort",Te),Se.apply(L,me)}),V.signal.addEventListener("abort",Te)}}return Ce}function k(L,V,$){let W=!1,j=B;if(V.signal)if(j=()=>{W=!0,$.call(L,new r(void 0,{cause:V.signal.reason}))},V.signal.aborted)n.nextTick(j);else{let Z=$;$=l((...te)=>{V.signal.removeEventListener("abort",j),Z.apply(L,te)}),V.signal.addEventListener("abort",j)}let U=(...Z)=>{W||n.nextTick(()=>$.apply(L,Z))};return m(L[I].promise,U,U),B}function N(L,V){var $;let W=!1;return V===null&&(V=s),($=V)!==null&&$!==void 0&&$.cleanup&&(f(V.cleanup,"cleanup"),W=V.cleanup),new h((j,U)=>{let Z=P(L,V,te=>{W&&Z(),te?U(te):j()})})}t.exports=P,t.exports.finished=N}),oS=sn((e,t)=>{Jt(),tn(),en();var n=m0(),{aggregateTwoErrors:r,codes:{ERR_MULTIPLE_CALLBACK:i},AbortError:o}=Ll(),{Symbol:a}=Oa(),{kDestroyed:s,isDestroyed:l,isFinished:c,isServerRequest:u}=yh(),d=a("kDestroy"),f=a("kConstruct");function h(I,M,B){I&&(I.stack,M&&!M.errored&&(M.errored=I),B&&!B.errored&&(B.errored=I))}function m(I,M){let B=this._readableState,P=this._writableState,k=P||B;return P!=null&&P.destroyed||B!=null&&B.destroyed?(typeof M=="function"&&M(),this):(h(I,P,B),P&&(P.destroyed=!0),B&&(B.destroyed=!0),k.constructed?g(this,I,M):this.once(d,function(N){g(this,r(N,I),M)}),this)}function g(I,M,B){let P=!1;function k(N){if(P)return;P=!0;let L=I._readableState,V=I._writableState;h(N,V,L),V&&(V.closed=!0),L&&(L.closed=!0),typeof B=="function"&&B(N),N?n.nextTick(v,I,N):n.nextTick(y,I)}try{I._destroy(M||null,k)}catch(N){k(N)}}function v(I,M){b(I,M),y(I)}function y(I){let M=I._readableState,B=I._writableState;B&&(B.closeEmitted=!0),M&&(M.closeEmitted=!0),(B!=null&&B.emitClose||M!=null&&M.emitClose)&&I.emit("close")}function b(I,M){let B=I._readableState,P=I._writableState;P!=null&&P.errorEmitted||B!=null&&B.errorEmitted||(P&&(P.errorEmitted=!0),B&&(B.errorEmitted=!0),I.emit("error",M))}function _(){let I=this._readableState,M=this._writableState;I&&(I.constructed=!0,I.closed=!1,I.closeEmitted=!1,I.destroyed=!1,I.errored=null,I.errorEmitted=!1,I.reading=!1,I.ended=I.readable===!1,I.endEmitted=I.readable===!1),M&&(M.constructed=!0,M.destroyed=!1,M.closed=!1,M.closeEmitted=!1,M.errored=null,M.errorEmitted=!1,M.finalCalled=!1,M.prefinished=!1,M.ended=M.writable===!1,M.ending=M.writable===!1,M.finished=M.writable===!1)}function E(I,M,B){let P=I._readableState,k=I._writableState;if(k!=null&&k.destroyed||P!=null&&P.destroyed)return this;P!=null&&P.autoDestroy||k!=null&&k.autoDestroy?I.destroy(M):M&&(M.stack,k&&!k.errored&&(k.errored=M),P&&!P.errored&&(P.errored=M),B?n.nextTick(b,I,M):b(I,M))}function C(I,M){if(typeof I._construct!="function")return;let B=I._readableState,P=I._writableState;B&&(B.constructed=!1),P&&(P.constructed=!1),I.once(f,M),!(I.listenerCount(f)>1)&&n.nextTick(S,I)}function S(I){let M=!1;function B(P){if(M){E(I,P??new i);return}M=!0;let k=I._readableState,N=I._writableState,L=N||k;k&&(k.constructed=!0),N&&(N.constructed=!0),L.destroyed?I.emit(d,P):P?E(I,P,!0):n.nextTick(w,I)}try{I._construct(P=>{n.nextTick(B,P)})}catch(P){n.nextTick(B,P)}}function w(I){I.emit(f)}function T(I){return(I==null?void 0:I.setHeader)&&typeof I.abort=="function"}function O(I){I.emit("close")}function x(I,M){I.emit("error",M),n.nextTick(O,I)}function A(I,M){!I||l(I)||(!M&&!c(I)&&(M=new o),u(I)?(I.socket=null,I.destroy(M)):T(I)?I.abort():T(I.req)?I.req.abort():typeof I.destroy=="function"?I.destroy(M):typeof I.close=="function"?I.close():M?n.nextTick(x,I,M):n.nextTick(O,I),I.destroyed||(I[s]=!0))}t.exports={construct:C,destroyer:A,destroy:m,undestroy:_,errorOrDestroy:E}});function Ni(){Ni.init.call(this)}function yA(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function j0e(e){return e._maxListeners===void 0?Ni.defaultMaxListeners:e._maxListeners}function nte(e,t,n,r){var i,o,a,s;if(yA(n),(o=e._events)===void 0?(o=e._events=Object.create(null),e._eventsCount=0):(o.newListener!==void 0&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),a===void 0)a=o[t]=n,++e._eventsCount;else if(typeof a=="function"?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=j0e(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function WBe(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function rte(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=WBe.bind(r);return i.listener=n,r.wrapFn=i,i}function ite(e,t,n){var r=e._events;if(r===void 0)return[];var i=r[t];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?function(o){for(var a=new Array(o.length),s=0;s{Jt(),tn(),en(),Qg=typeof Reflect=="object"?Reflect:null,eL=Qg&&typeof Qg.apply=="function"?Qg.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)},ste=Qg&&typeof Qg.ownKeys=="function"?Qg.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},tL=Number.isNaN||function(e){return e!=e},ate=Ni,Ni.EventEmitter=Ni,Ni.prototype._events=void 0,Ni.prototype._eventsCount=0,Ni.prototype._maxListeners=void 0,nL=10,Object.defineProperty(Ni,"defaultMaxListeners",{enumerable:!0,get:function(){return nL},set:function(e){if(typeof e!="number"||e<0||tL(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");nL=e}}),Ni.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Ni.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||tL(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},Ni.prototype.getMaxListeners=function(){return j0e(this)},Ni.prototype.emit=function(e){for(var t=[],n=1;n0&&(o=t[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var s=i[e];if(s===void 0)return!1;if(typeof s=="function")eL(s,this,t);else{var l=s.length,c=H0e(s,l);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;i===0?n.shift():function(s,l){for(;l+1=0;r--)this.removeListener(e,t[r]);return this},Ni.prototype.listeners=function(e){return ite(this,e,!0)},Ni.prototype.rawListeners=function(e){return ite(this,e,!1)},Ni.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):ote.call(e,t)},Ni.prototype.listenerCount=ote,Ni.prototype.eventNames=function(){return this._eventsCount>0?ste(this._events):[]},rc=ate,rc.EventEmitter,rc.defaultMaxListeners,rc.init,rc.listenerCount,rc.EventEmitter,rc.defaultMaxListeners,rc.init,rc.listenerCount}),g0={};h0(g0,{EventEmitter:()=>U0e,default:()=>rc,defaultMaxListeners:()=>z0e,init:()=>V0e,listenerCount:()=>G0e,on:()=>W0e,once:()=>q0e});var U0e,z0e,V0e,G0e,W0e,q0e,aS=ls(()=>{Jt(),tn(),en(),lte(),lte(),rc.once=function(e,t){return new Promise((n,r)=>{function i(...a){o!==void 0&&e.removeListener("error",o),n(a)}let o;t!=="error"&&(o=a=>{e.removeListener(name,i),r(a)},e.once("error",o)),e.once(t,i)})},rc.on=function(e,t){let n=[],r=[],i=null,o=!1,a={async next(){let c=n.shift();if(c)return createIterResult(c,!1);if(i){let u=Promise.reject(i);return i=null,u}return o?createIterResult(void 0,!0):new Promise((u,d)=>r.push({resolve:u,reject:d}))},async return(){e.removeListener(t,s),e.removeListener("error",l),o=!0;for(let c of r)c.resolve(createIterResult(void 0,!0));return createIterResult(void 0,!0)},throw(c){i=c,e.removeListener(t,s),e.removeListener("error",l)},[Symbol.asyncIterator](){return this}};return e.on(t,s),e.on("error",l),a;function s(...c){let u=r.shift();u?u.resolve(createIterResult(c,!1)):n.push(c)}function l(c){o=!0;let u=r.shift();u?u.reject(c):i=c,a.return()}},{EventEmitter:U0e,defaultMaxListeners:z0e,init:V0e,listenerCount:G0e,on:W0e,once:q0e}=rc}),yW=sn((e,t)=>{Jt(),tn(),en();var{ArrayIsArray:n,ObjectSetPrototypeOf:r}=Oa(),{EventEmitter:i}=(aS(),Hi(g0));function o(s){i.call(this,s)}r(o.prototype,i.prototype),r(o,i),o.prototype.pipe=function(s,l){let c=this;function u(y){s.writable&&s.write(y)===!1&&c.pause&&c.pause()}c.on("data",u);function d(){c.readable&&c.resume&&c.resume()}s.on("drain",d),!s._isStdio&&(!l||l.end!==!1)&&(c.on("end",h),c.on("close",m));let f=!1;function h(){f||(f=!0,s.end())}function m(){f||(f=!0,typeof s.destroy=="function"&&s.destroy())}function g(y){v(),i.listenerCount(this,"error")===0&&this.emit("error",y)}a(c,"error",g),a(s,"error",g);function v(){c.removeListener("data",u),s.removeListener("drain",d),c.removeListener("end",h),c.removeListener("close",m),c.removeListener("error",g),s.removeListener("error",g),c.removeListener("end",v),c.removeListener("close",v),s.removeListener("close",v)}return c.on("end",v),c.on("close",v),s.on("close",v),s.emit("pipe",c),s};function a(s,l,c){if(typeof s.prependListener=="function")return s.prependListener(l,c);!s._events||!s._events[l]?s.on(l,c):n(s._events[l])?s._events[l].unshift(c):s._events[l]=[c,s._events[l]]}t.exports={Stream:o,prependListener:a}}),H5=sn((e,t)=>{Jt(),tn(),en();var{AbortError:n,codes:r}=Ll(),{isNodeStream:i,isWebStream:o,kControllerErrorFunction:a}=yh(),s=Rg(),{ERR_INVALID_ARG_TYPE:l}=r,c=(u,d)=>{if(typeof u!="object"||!("aborted"in u))throw new l(d,"AbortSignal",u)};t.exports.addAbortSignal=function(u,d){if(c(u,"signal"),!i(d)&&!o(d))throw new l("stream",["ReadableStream","WritableStream","Stream"],d);return t.exports.addAbortSignalNoValidate(u,d)},t.exports.addAbortSignalNoValidate=function(u,d){if(typeof u!="object"||!("aborted"in u))return d;let f=i(d)?()=>{d.destroy(new n(void 0,{cause:u.reason}))}:()=>{d[a](new n(void 0,{cause:u.reason}))};return u.aborted?f():(u.addEventListener("abort",f),s(d,()=>u.removeEventListener("abort",f))),d}}),qBe=sn((e,t)=>{Jt(),tn(),en();var{StringPrototypeSlice:n,SymbolIterator:r,TypedArrayPrototypeSet:i,Uint8Array:o}=Oa(),{Buffer:a}=(us(),Hi(cs)),{inspect:s}=ih();t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(l){let c={data:l,next:null};this.length>0?this.tail.next=c:this.head=c,this.tail=c,++this.length}unshift(l){let c={data:l,next:this.head};this.length===0&&(this.tail=c),this.head=c,++this.length}shift(){if(this.length===0)return;let l=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,l}clear(){this.head=this.tail=null,this.length=0}join(l){if(this.length===0)return"";let c=this.head,u=""+c.data;for(;(c=c.next)!==null;)u+=l+c.data;return u}concat(l){if(this.length===0)return a.alloc(0);let c=a.allocUnsafe(l>>>0),u=this.head,d=0;for(;u;)i(c,u.data,d),d+=u.data.length,u=u.next;return c}consume(l,c){let u=this.head.data;if(lf.length)c+=f,l-=f.length;else{l===f.length?(c+=f,++d,u.next?this.head=u.next:this.head=this.tail=null):(c+=n(f,0,l),this.head=u,u.data=n(f,l));break}++d}while((u=u.next)!==null);return this.length-=d,c}_getBuffer(l){let c=a.allocUnsafe(l),u=l,d=this.head,f=0;do{let h=d.data;if(l>h.length)i(c,h,u-l),l-=h.length;else{l===h.length?(i(c,h,u-l),++f,d.next?this.head=d.next:this.head=this.tail=null):(i(c,new o(h.buffer,h.byteOffset,l),u-l),this.head=d,d.data=h.slice(l));break}++f}while((d=d.next)!==null);return this.length-=f,c}[Symbol.for("nodejs.util.inspect.custom")](l,c){return s(this,{...c,depth:0,customInspect:!1})}}}),_W=sn((e,t)=>{Jt(),tn(),en();var{MathFloor:n,NumberIsInteger:r}=Oa(),{ERR_INVALID_ARG_VALUE:i}=Ll().codes;function o(l,c,u){return l.highWaterMark!=null?l.highWaterMark:c?l[u]:null}function a(l){return l?16:16*1024}function s(l,c,u,d){let f=o(c,d,u);if(f!=null){if(!r(f)||f<0){let h=d?`options.${u}`:"options.highWaterMark";throw new i(h,f)}return n(f)}return a(l.objectMode)}t.exports={getHighWaterMark:s,getDefaultHighWaterMark:a}});function cte(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return n===-1&&(n=t),[n,n===t?0:4-n%4]}function YBe(e,t,n){for(var r,i,o=[],a=t;a>18&63]+Qu[i>>12&63]+Qu[i>>6&63]+Qu[63&i]);return o.join("")}function jp(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,rn.prototype),t}function rn(e,t,n){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Rj(e)}return Y0e(e,t,n)}function Y0e(e,t,n){if(typeof e=="string")return function(o,a){if(typeof a=="string"&&a!==""||(a="utf8"),!rn.isEncoding(a))throw new TypeError("Unknown encoding: "+a);var s=0|Q0e(o,a),l=jp(s),c=l.write(o,a);return c!==s&&(l=l.slice(0,c)),l}(e,t);if(ArrayBuffer.isView(e))return rL(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Hp(e,ArrayBuffer)||e&&Hp(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Hp(e,SharedArrayBuffer)||e&&Hp(e.buffer,SharedArrayBuffer)))return KBe(e,t,n);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return rn.from(r,t,n);var i=function(o){if(rn.isBuffer(o)){var a=0|SW(o.length),s=jp(a);return s.length===0||o.copy(s,0,0,a),s}if(o.length!==void 0)return typeof o.length!="number"||EW(o.length)?jp(0):rL(o);if(o.type==="Buffer"&&Array.isArray(o.data))return rL(o.data)}(e);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return rn.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function K0e(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Rj(e){return K0e(e),jp(e<0?0:0|SW(e))}function rL(e){for(var t=e.length<0?0:0|SW(e.length),n=jp(t),r=0;r=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function Q0e(e,t){if(rn.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Hp(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Ij(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ebe(e).length;default:if(i)return r?-1:Ij(e).length;t=(""+t).toLowerCase(),i=!0}}function QBe(e,t,n){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return oje(this,t,n);case"utf8":case"utf-8":return Z0e(this,t,n);case"ascii":return rje(this,t,n);case"latin1":case"binary":return ije(this,t,n);case"base64":return nje(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return aje(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Xg(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function ute(e,t,n,r,i){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),EW(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if(typeof t=="string"&&(t=rn.from(t,r)),rn.isBuffer(t))return t.length===0?-1:dte(e,t,n,r,i);if(typeof t=="number")return t&=255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):dte(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function dte(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(r!==void 0&&((r=String(r).toLowerCase())==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(h,m){return a===1?h[m]:h.readUInt16BE(m*a)}if(i){var u=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var d=!0,f=0;fi&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a>8,l=a%256,c.push(l),c.push(s);return c}(t,e.length-n),e,n,r)}function nje(e,t,n){return t===0&&n===e.length?sM.fromByteArray(e):sM.fromByteArray(e.slice(t,n))}function Z0e(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}u===null?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(f){var h=f.length;if(h<=4096)return String.fromCharCode.apply(String,f);for(var m="",g=0;gr)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function sl(e,t,n,r,i,o){if(!rn.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function J0e(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function fte(e,t,n,r,i){return t=+t,n>>>=0,i||J0e(e,0,n,4),C1.write(e,t,n,r,23,4),n+4}function pte(e,t,n,r,i){return t=+t,n>>>=0,i||J0e(e,0,n,8),C1.write(e,t,n,r,52,8),n+8}function Ij(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function ebe(e){return sM.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(tbe,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function U5(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Hp(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function EW(e){return e!=e}function hte(e,t){for(var n in e)t[n]=e[n]}function Zg(e,t,n){return Fu(e,t,n)}function TE(e){var t;switch(this.encoding=function(n){var r=function(i){if(!i)return"utf8";for(var o;;)switch(i){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return i;default:if(o)return;i=(""+i).toLowerCase(),o=!0}}(n);if(typeof r!="string"&&(lM.isEncoding===Aj||!Aj(n)))throw new Error("Unknown encoding: "+n);return r||n}(e),this.encoding){case"utf16le":this.text=lje,this.end=cje,t=4;break;case"utf8":this.fillLast=sje,t=4;break;case"base64":this.text=uje,this.end=dje,t=3;break;default:return this.write=fje,this.end=pje,void 0}this.lastNeed=0,this.lastTotal=0,this.lastChar=lM.allocUnsafe(t)}function iL(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function sje(e){var t=this.lastTotal-this.lastNeed,n=function(r,i,o){if((192&i[0])!=128)return r.lastNeed=0,"�";if(r.lastNeed>1&&i.length>1){if((192&i[1])!=128)return r.lastNeed=1,"�";if(r.lastNeed>2&&i.length>2&&(192&i[2])!=128)return r.lastNeed=2,"�"}}(this,e);return n!==void 0?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length,void 0)}function lje(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function cje(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function uje(e,t){var n=(e.length-t)%3;return n===0?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function dje(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function fje(e){return e.toString(this.encoding)}function pje(e){return e&&e.length?this.write(e):""}var mte,Qu,Vl,gte,sR,Jg,vte,bte,Kd,sM,C1,oL,tbe,nbe,xE,OE,Fu,yte,Zb,lM,Aj,_te=ls(()=>{for(Jt(),tn(),en(),mte={byteLength:function(e){var t=cte(e),n=t[0],r=t[1];return 3*(n+r)/4-r},toByteArray:function(e){var t,n,r=cte(e),i=r[0],o=r[1],a=new gte(function(c,u,d){return 3*(u+d)/4-d}(0,i,o)),s=0,l=o>0?i-4:i;for(n=0;n>16&255,a[s++]=t>>8&255,a[s++]=255&t;return o===2&&(t=Vl[e.charCodeAt(n)]<<2|Vl[e.charCodeAt(n+1)]>>4,a[s++]=255&t),o===1&&(t=Vl[e.charCodeAt(n)]<<10|Vl[e.charCodeAt(n+1)]<<4|Vl[e.charCodeAt(n+2)]>>2,a[s++]=t>>8&255,a[s++]=255&t),a},fromByteArray:function(e){for(var t,n=e.length,r=n%3,i=[],o=0,a=n-r;oa?a:o+16383));return r===1?(t=e[n-1],i.push(Qu[t>>2]+Qu[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(Qu[t>>10]+Qu[t>>4&63]+Qu[t<<2&63]+"=")),i.join("")}},Qu=[],Vl=[],gte=typeof Uint8Array<"u"?Uint8Array:Array,sR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Jg=0,vte=sR.length;Jg>1,u=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-u)-1,h>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=f,u-=8);if(o===0)o=1-c;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)},write:function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<>1,f=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,m=r?1:-1,g=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=m,s/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=m,a/=256,c-=8);e[n+h-m]|=128*g}},Kd={},sM=mte,C1=bte,oL=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null,Kd.Buffer=rn,Kd.SlowBuffer=function(e){return+e!=e&&(e=0),rn.alloc(+e)},Kd.INSPECT_MAX_BYTES=50,Kd.kMaxLength=2147483647,rn.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}(),rn.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(rn.prototype,"parent",{enumerable:!0,get:function(){if(rn.isBuffer(this))return this.buffer}}),Object.defineProperty(rn.prototype,"offset",{enumerable:!0,get:function(){if(rn.isBuffer(this))return this.byteOffset}}),rn.poolSize=8192,rn.from=function(e,t,n){return Y0e(e,t,n)},Object.setPrototypeOf(rn.prototype,Uint8Array.prototype),Object.setPrototypeOf(rn,Uint8Array),rn.alloc=function(e,t,n){return function(r,i,o){return K0e(r),r<=0?jp(r):i!==void 0?typeof o=="string"?jp(r).fill(i,o):jp(r).fill(i):jp(r)}(e,t,n)},rn.allocUnsafe=function(e){return Rj(e)},rn.allocUnsafeSlow=function(e){return Rj(e)},rn.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==rn.prototype},rn.compare=function(e,t){if(Hp(e,Uint8Array)&&(e=rn.from(e,e.offset,e.byteLength)),Hp(t,Uint8Array)&&(t=rn.from(t,t.offset,t.byteLength)),!rn.isBuffer(e)||!rn.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);it&&(e+=" ... "),""},oL&&(rn.prototype[oL]=rn.prototype.inspect),rn.prototype.compare=function(e,t,n,r,i){if(Hp(e,Uint8Array)&&(e=rn.from(e,e.offset,e.byteLength)),!rn.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),u=0;u>>=0,isFinite(n)?(n>>>=0,r===void 0&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return XBe(this,e,t,n);case"utf8":case"utf-8":return ZBe(this,e,t,n);case"ascii":return X0e(this,e,t,n);case"latin1":case"binary":return JBe(this,e,t,n);case"base64":return eje(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tje(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},rn.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},rn.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=t===void 0?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||Ma(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||Ma(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},rn.prototype.readUInt8=function(e,t){return e>>>=0,t||Ma(e,1,this.length),this[e]},rn.prototype.readUInt16LE=function(e,t){return e>>>=0,t||Ma(e,2,this.length),this[e]|this[e+1]<<8},rn.prototype.readUInt16BE=function(e,t){return e>>>=0,t||Ma(e,2,this.length),this[e]<<8|this[e+1]},rn.prototype.readUInt32LE=function(e,t){return e>>>=0,t||Ma(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},rn.prototype.readUInt32BE=function(e,t){return e>>>=0,t||Ma(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},rn.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||Ma(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},rn.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||Ma(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},rn.prototype.readInt8=function(e,t){return e>>>=0,t||Ma(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},rn.prototype.readInt16LE=function(e,t){e>>>=0,t||Ma(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},rn.prototype.readInt16BE=function(e,t){e>>>=0,t||Ma(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},rn.prototype.readInt32LE=function(e,t){return e>>>=0,t||Ma(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},rn.prototype.readInt32BE=function(e,t){return e>>>=0,t||Ma(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},rn.prototype.readFloatLE=function(e,t){return e>>>=0,t||Ma(e,4,this.length),C1.read(this,e,!0,23,4)},rn.prototype.readFloatBE=function(e,t){return e>>>=0,t||Ma(e,4,this.length),C1.read(this,e,!1,23,4)},rn.prototype.readDoubleLE=function(e,t){return e>>>=0,t||Ma(e,8,this.length),C1.read(this,e,!0,52,8)},rn.prototype.readDoubleBE=function(e,t){return e>>>=0,t||Ma(e,8,this.length),C1.read(this,e,!1,52,8)},rn.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||sl(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,r||sl(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},rn.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,1,255,0),this[t]=255&e,t+1},rn.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},rn.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},rn.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},rn.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},rn.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);sl(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},rn.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);sl(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&s===0&&this[t+o+1]!==0&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},rn.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},rn.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},rn.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},rn.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},rn.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},rn.prototype.writeFloatLE=function(e,t,n){return fte(this,e,t,!0,n)},rn.prototype.writeFloatBE=function(e,t,n){return fte(this,e,t,!1,n)},rn.prototype.writeDoubleLE=function(e,t,n){return pte(this,e,t,!0,n)},rn.prototype.writeDoubleBE=function(e,t,n){return pte(this,e,t,!1,n)},rn.prototype.copy=function(e,t,n,r){if(!rn.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||r===0||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return i},rn.prototype.fill=function(e,t,n,r){if(typeof e=="string"){if(typeof t=="string"?(r=t,t=0,n=this.length):typeof n=="string"&&(r=n,n=this.length),r!==void 0&&typeof r!="string")throw new TypeError("encoding must be a string");if(typeof r=="string"&&!rn.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(e.length===1){var i=e.charCodeAt(0);(r==="utf8"&&i<128||r==="latin1")&&(e=i)}}else typeof e=="number"?e&=255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length>>=0,n=n===void 0?this.length:n>>>0,e||(e=0),typeof e=="number")for(o=t;o=0?(l>0&&(i.lastNeed=l-1),l):--s=0?(l>0&&(i.lastNeed=l-2),l):--s=0?(l>0&&(l===2?l=0:i.lastNeed=l-3),l):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},TE.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},Zb.StringDecoder,Zb.StringDecoder}),rbe={};h0(rbe,{StringDecoder:()=>ibe,default:()=>Zb});var ibe,hje=ls(()=>{Jt(),tn(),en(),_te(),_te(),ibe=Zb.StringDecoder}),obe=sn((e,t)=>{Jt(),tn(),en();var n=m0(),{PromisePrototypeThen:r,SymbolAsyncIterator:i,SymbolIterator:o}=Oa(),{Buffer:a}=(us(),Hi(cs)),{ERR_INVALID_ARG_TYPE:s,ERR_STREAM_NULL_VALUES:l}=Ll().codes;function c(u,d,f){let h;if(typeof d=="string"||d instanceof a)return new u({objectMode:!0,...f,read(){this.push(d),this.push(null)}});let m;if(d&&d[i])m=!0,h=d[i]();else if(d&&d[o])m=!1,h=d[o]();else throw new s("iterable",["Iterable"],d);let g=new u({objectMode:!0,highWaterMark:1,...f}),v=!1;g._read=function(){v||(v=!0,b())},g._destroy=function(_,E){r(y(_),()=>n.nextTick(E,_),C=>n.nextTick(E,C||_))};async function y(_){let E=_!=null,C=typeof h.throw=="function";if(E&&C){let{value:S,done:w}=await h.throw(_);if(await S,w)return}if(typeof h.return=="function"){let{value:S}=await h.return();await S}}async function b(){for(;;){try{let{value:_,done:E}=m?await h.next():h.next();if(E)g.push(null);else{let C=_&&typeof _.then=="function"?await _:_;if(C===null)throw v=!1,new l;if(g.push(C))continue;v=!1}}catch(_){g.destroy(_)}break}}return g}t.exports=c}),z5=sn((e,t)=>{Jt(),tn(),en();var n=m0(),{ArrayPrototypeIndexOf:r,NumberIsInteger:i,NumberIsNaN:o,NumberParseInt:a,ObjectDefineProperties:s,ObjectKeys:l,ObjectSetPrototypeOf:c,Promise:u,SafeSet:d,SymbolAsyncIterator:f,Symbol:h}=Oa();t.exports=j,j.ReadableState=W;var{EventEmitter:m}=(aS(),Hi(g0)),{Stream:g,prependListener:v}=yW(),{Buffer:y}=(us(),Hi(cs)),{addAbortSignal:b}=H5(),_=Rg(),E=ih().debuglog("stream",D=>{E=D}),C=qBe(),S=oS(),{getHighWaterMark:w,getDefaultHighWaterMark:T}=_W(),{aggregateTwoErrors:O,codes:{ERR_INVALID_ARG_TYPE:x,ERR_METHOD_NOT_IMPLEMENTED:A,ERR_OUT_OF_RANGE:I,ERR_STREAM_PUSH_AFTER_EOF:M,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:B}}=Ll(),{validateObject:P}=j5(),k=h("kPaused"),{StringDecoder:N}=(hje(),Hi(rbe)),L=obe();c(j.prototype,g.prototype),c(j,g);var V=()=>{},{errorOrDestroy:$}=S;function W(D,q,oe){typeof oe!="boolean"&&(oe=q instanceof oh()),this.objectMode=!!(D&&D.objectMode),oe&&(this.objectMode=this.objectMode||!!(D&&D.readableObjectMode)),this.highWaterMark=D?w(this,D,"readableHighWaterMark",oe):T(!1),this.buffer=new C,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[k]=null,this.errorEmitted=!1,this.emitClose=!D||D.emitClose!==!1,this.autoDestroy=!D||D.autoDestroy!==!1,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=D&&D.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,D&&D.encoding&&(this.decoder=new N(D.encoding),this.encoding=D.encoding)}function j(D){if(!(this instanceof j))return new j(D);let q=this instanceof oh();this._readableState=new W(D,this,q),D&&(typeof D.read=="function"&&(this._read=D.read),typeof D.destroy=="function"&&(this._destroy=D.destroy),typeof D.construct=="function"&&(this._construct=D.construct),D.signal&&!q&&b(D.signal,this)),g.call(this,D),S.construct(this,()=>{this._readableState.needReadable&&pe(this,this._readableState)})}j.prototype.destroy=S.destroy,j.prototype._undestroy=S.undestroy,j.prototype._destroy=function(D,q){q(D)},j.prototype[m.captureRejectionSymbol]=function(D){this.destroy(D)},j.prototype.push=function(D,q){return U(this,D,q,!1)},j.prototype.unshift=function(D,q){return U(this,D,q,!0)};function U(D,q,oe,ye){E("readableAddChunk",q);let ce=D._readableState,Be;if(ce.objectMode||(typeof q=="string"?(oe=oe||ce.defaultEncoding,ce.encoding!==oe&&(ye&&ce.encoding?q=y.from(q,oe).toString(ce.encoding):(q=y.from(q,oe),oe=""))):q instanceof y?oe="":g._isUint8Array(q)?(q=g._uint8ArrayToBuffer(q),oe=""):q!=null&&(Be=new x("chunk",["string","Buffer","Uint8Array"],q))),Be)$(D,Be);else if(q===null)ce.reading=!1,Q(D,ce);else if(ce.objectMode||q&&q.length>0)if(ye)if(ce.endEmitted)$(D,new B);else{if(ce.destroyed||ce.errored)return!1;Z(D,ce,q,!0)}else if(ce.ended)$(D,new M);else{if(ce.destroyed||ce.errored)return!1;ce.reading=!1,ce.decoder&&!oe?(q=ce.decoder.write(q),ce.objectMode||q.length!==0?Z(D,ce,q,!1):pe(D,ce)):Z(D,ce,q,!1)}else ye||(ce.reading=!1,pe(D,ce));return!ce.ended&&(ce.length0?(q.multiAwaitDrain?q.awaitDrainWriters.clear():q.awaitDrainWriters=null,q.dataEmitted=!0,D.emit("data",oe)):(q.length+=q.objectMode?1:oe.length,ye?q.buffer.unshift(oe):q.buffer.push(oe),q.needReadable&&ie(D)),pe(D,q)}j.prototype.isPaused=function(){let D=this._readableState;return D[k]===!0||D.flowing===!1},j.prototype.setEncoding=function(D){let q=new N(D);this._readableState.decoder=q,this._readableState.encoding=this._readableState.decoder.encoding;let oe=this._readableState.buffer,ye="";for(let ce of oe)ye+=q.write(ce);return oe.clear(),ye!==""&&oe.push(ye),this._readableState.length=ye.length,this};var te=1073741824;function ae(D){if(D>te)throw new I("size","<= 1GiB",D);return D--,D|=D>>>1,D|=D>>>2,D|=D>>>4,D|=D>>>8,D|=D>>>16,D++,D}function K(D,q){return D<=0||q.length===0&&q.ended?0:q.objectMode?1:o(D)?q.flowing&&q.length?q.buffer.first().length:q.length:D<=q.length?D:q.ended?q.length:0}j.prototype.read=function(D){E("read",D),D===void 0?D=NaN:i(D)||(D=a(D,10));let q=this._readableState,oe=D;if(D>q.highWaterMark&&(q.highWaterMark=ae(D)),D!==0&&(q.emittedReadable=!1),D===0&&q.needReadable&&((q.highWaterMark!==0?q.length>=q.highWaterMark:q.length>0)||q.ended))return E("read: emitReadable",q.length,q.ended),q.length===0&&q.ended?be(this):ie(this),null;if(D=K(D,q),D===0&&q.ended)return q.length===0&&be(this),null;let ye=q.needReadable;if(E("need readable",ye),(q.length===0||q.length-D0?ce=me(D,q):ce=null,ce===null?(q.needReadable=q.length<=q.highWaterMark,D=0):(q.length-=D,q.multiAwaitDrain?q.awaitDrainWriters.clear():q.awaitDrainWriters=null),q.length===0&&(q.ended||(q.needReadable=!0),oe!==D&&q.ended&&be(this)),ce!==null&&!q.errorEmitted&&!q.closeEmitted&&(q.dataEmitted=!0,this.emit("data",ce)),ce};function Q(D,q){if(E("onEofChunk"),!q.ended){if(q.decoder){let oe=q.decoder.end();oe&&oe.length&&(q.buffer.push(oe),q.length+=q.objectMode?1:oe.length)}q.ended=!0,q.sync?ie(D):(q.needReadable=!1,q.emittedReadable=!0,he(D))}}function ie(D){let q=D._readableState;E("emitReadable",q.needReadable,q.emittedReadable),q.needReadable=!1,q.emittedReadable||(E("emitReadable",q.flowing),q.emittedReadable=!0,n.nextTick(he,D))}function he(D){let q=D._readableState;E("emitReadable_",q.destroyed,q.length,q.ended),!q.destroyed&&!q.errored&&(q.length||q.ended)&&(D.emit("readable"),q.emittedReadable=!1),q.needReadable=!q.flowing&&!q.ended&&q.length<=q.highWaterMark,Ce(D)}function pe(D,q){!q.readingMore&&q.constructed&&(q.readingMore=!0,n.nextTick(le,D,q))}function le(D,q){for(;!q.reading&&!q.ended&&(q.length1&&ye.pipes.includes(D)&&(E("false write response, pause",ye.awaitDrainWriters.size),ye.awaitDrainWriters.add(D)),oe.pause()),re||(re=de(oe,D),D.on("drain",re))}oe.on("data",Ge);function Ge(pt){E("ondata");let Ct=D.write(pt);E("dest.write",Ct),Ct===!1&&ke()}function Ue(pt){if(E("onerror",pt),at(),D.removeListener("error",Ue),D.listenerCount("error")===0){let Ct=D._writableState||D._readableState;Ct&&!Ct.errorEmitted?$(D,pt):D.emit("error",pt)}}v(D,"error",Ue);function qe(){D.removeListener("finish",At),at()}D.once("close",qe);function At(){E("onfinish"),D.removeListener("close",qe),at()}D.once("finish",At);function at(){E("unpipe"),oe.unpipe(D)}return D.emit("pipe",oe),D.writableNeedDrain===!0?ye.flowing&&ke():ye.flowing||(E("pipe resume"),oe.resume()),D};function de(D,q){return function(){let oe=D._readableState;oe.awaitDrainWriters===q?(E("pipeOnDrain",1),oe.awaitDrainWriters=null):oe.multiAwaitDrain&&(E("pipeOnDrain",oe.awaitDrainWriters.size),oe.awaitDrainWriters.delete(q)),(!oe.awaitDrainWriters||oe.awaitDrainWriters.size===0)&&D.listenerCount("data")&&D.resume()}}j.prototype.unpipe=function(D){let q=this._readableState,oe={hasUnpiped:!1};if(q.pipes.length===0)return this;if(!D){let ce=q.pipes;q.pipes=[],this.pause();for(let Be=0;Be0,ye.flowing!==!1&&this.resume()):D==="readable"&&!ye.endEmitted&&!ye.readableListening&&(ye.readableListening=ye.needReadable=!0,ye.flowing=!1,ye.emittedReadable=!1,E("on readable",ye.length,ye.reading),ye.length?ie(this):ye.reading||n.nextTick(ne,this)),oe},j.prototype.addListener=j.prototype.on,j.prototype.removeListener=function(D,q){let oe=g.prototype.removeListener.call(this,D,q);return D==="readable"&&n.nextTick(ve,this),oe},j.prototype.off=j.prototype.removeListener,j.prototype.removeAllListeners=function(D){let q=g.prototype.removeAllListeners.apply(this,arguments);return(D==="readable"||D===void 0)&&n.nextTick(ve,this),q};function ve(D){let q=D._readableState;q.readableListening=D.listenerCount("readable")>0,q.resumeScheduled&&q[k]===!1?q.flowing=!0:D.listenerCount("data")>0?D.resume():q.readableListening||(q.flowing=null)}function ne(D){E("readable nexttick read 0"),D.read(0)}j.prototype.resume=function(){let D=this._readableState;return D.flowing||(E("resume"),D.flowing=!D.readableListening,ue(this,D)),D[k]=!1,this};function ue(D,q){q.resumeScheduled||(q.resumeScheduled=!0,n.nextTick(ge,D,q))}function ge(D,q){E("resume",q.reading),q.reading||D.read(0),q.resumeScheduled=!1,D.emit("resume"),Ce(D),q.flowing&&!q.reading&&D.read(0)}j.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[k]=!0,this};function Ce(D){let q=D._readableState;for(E("flow",q.flowing);q.flowing&&D.read()!==null;);}j.prototype.wrap=function(D){let q=!1;D.on("data",ye=>{!this.push(ye)&&D.pause&&(q=!0,D.pause())}),D.on("end",()=>{this.push(null)}),D.on("error",ye=>{$(this,ye)}),D.on("close",()=>{this.destroy()}),D.on("destroy",()=>{this.destroy()}),this._read=()=>{q&&D.resume&&(q=!1,D.resume())};let oe=l(D);for(let ye=1;ye{ce=Ve?O(ce,Ve):null,oe(),oe=V});try{for(;;){let Ve=D.destroyed?null:D.read();if(Ve!==null)yield Ve;else{if(ce)throw ce;if(ce===null)return;await new u(ye)}}}catch(Ve){throw ce=O(ce,Ve),ce}finally{(ce||(q==null?void 0:q.destroyOnReturn)!==!1)&&(ce===void 0||D._readableState.autoDestroy)?S.destroyer(D,null):(D.off("readable",ye),Be())}}s(j.prototype,{readable:{__proto__:null,get(){let D=this._readableState;return!!D&&D.readable!==!1&&!D.destroyed&&!D.errorEmitted&&!D.endEmitted},set(D){this._readableState&&(this._readableState.readable=!!D)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(D){this._readableState&&(this._readableState.flowing=D)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(D){this._readableState&&(this._readableState.destroyed=D)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),s(W.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[k]!==!1},set(D){this[k]=!!D}}}),j._fromList=me;function me(D,q){if(q.length===0)return null;let oe;return q.objectMode?oe=q.buffer.shift():!D||D>=q.length?(q.decoder?oe=q.buffer.join(""):q.buffer.length===1?oe=q.buffer.first():oe=q.buffer.concat(q.length),q.buffer.clear()):oe=q.buffer.consume(D,q.decoder),oe}function be(D){let q=D._readableState;E("endReadable",q.endEmitted),q.endEmitted||(q.ended=!0,n.nextTick(_e,q,D))}function _e(D,q){if(E("endReadableNT",D.endEmitted,D.length),!D.errored&&!D.closeEmitted&&!D.endEmitted&&D.length===0){if(D.endEmitted=!0,q.emit("end"),q.writable&&q.allowHalfOpen===!1)n.nextTick(Re,q);else if(D.autoDestroy){let oe=q._writableState;(!oe||oe.autoDestroy&&(oe.finished||oe.writable===!1))&&q.destroy()}}}function Re(D){D.writable&&!D.writableEnded&&!D.destroyed&&D.end()}j.from=function(D,q){return L(j,D,q)};var De;function z(){return De===void 0&&(De={}),De}j.fromWeb=function(D,q){return z().newStreamReadableFromReadableStream(D,q)},j.toWeb=function(D,q){return z().newReadableStreamFromStreamReadable(D,q)},j.wrap=function(D,q){var oe,ye;return new j({objectMode:(oe=(ye=D.readableObjectMode)!==null&&ye!==void 0?ye:D.objectMode)!==null&&oe!==void 0?oe:!0,...q,destroy(ce,Be){S.destroyer(D,ce),Be(ce)}}).wrap(D)}}),abe=sn((e,t)=>{Jt(),tn(),en();var n=m0(),{ArrayPrototypeSlice:r,Error:i,FunctionPrototypeSymbolHasInstance:o,ObjectDefineProperty:a,ObjectDefineProperties:s,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:c,Symbol:u,SymbolHasInstance:d}=Oa();t.exports=N,N.WritableState=P;var{EventEmitter:f}=(aS(),Hi(g0)),h=yW().Stream,{Buffer:m}=(us(),Hi(cs)),g=oS(),{addAbortSignal:v}=H5(),{getHighWaterMark:y,getDefaultHighWaterMark:b}=_W(),{ERR_INVALID_ARG_TYPE:_,ERR_METHOD_NOT_IMPLEMENTED:E,ERR_MULTIPLE_CALLBACK:C,ERR_STREAM_CANNOT_PIPE:S,ERR_STREAM_DESTROYED:w,ERR_STREAM_ALREADY_FINISHED:T,ERR_STREAM_NULL_VALUES:O,ERR_STREAM_WRITE_AFTER_END:x,ERR_UNKNOWN_ENCODING:A}=Ll().codes,{errorOrDestroy:I}=g;l(N.prototype,h.prototype),l(N,h);function M(){}var B=u("kOnFinished");function P(ne,ue,ge){typeof ge!="boolean"&&(ge=ue instanceof oh()),this.objectMode=!!(ne&&ne.objectMode),ge&&(this.objectMode=this.objectMode||!!(ne&&ne.writableObjectMode)),this.highWaterMark=ne?y(this,ne,"writableHighWaterMark",ge):b(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let Ce=!!(ne&&ne.decodeStrings===!1);this.decodeStrings=!Ce,this.defaultEncoding=ne&&ne.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=j.bind(void 0,ue),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,k(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!ne||ne.emitClose!==!1,this.autoDestroy=!ne||ne.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[B]=[]}function k(ne){ne.buffered=[],ne.bufferedIndex=0,ne.allBuffers=!0,ne.allNoop=!0}P.prototype.getBuffer=function(){return r(this.buffered,this.bufferedIndex)},a(P.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function N(ne){let ue=this instanceof oh();if(!ue&&!o(N,this))return new N(ne);this._writableState=new P(ne,this,ue),ne&&(typeof ne.write=="function"&&(this._write=ne.write),typeof ne.writev=="function"&&(this._writev=ne.writev),typeof ne.destroy=="function"&&(this._destroy=ne.destroy),typeof ne.final=="function"&&(this._final=ne.final),typeof ne.construct=="function"&&(this._construct=ne.construct),ne.signal&&v(ne.signal,this)),h.call(this,ne),g.construct(this,()=>{let ge=this._writableState;ge.writing||ae(this,ge),he(this,ge)})}a(N,d,{__proto__:null,value:function(ne){return o(this,ne)?!0:this!==N?!1:ne&&ne._writableState instanceof P}}),N.prototype.pipe=function(){I(this,new S)};function L(ne,ue,ge,Ce){let Te=ne._writableState;if(typeof ge=="function")Ce=ge,ge=Te.defaultEncoding;else{if(!ge)ge=Te.defaultEncoding;else if(ge!=="buffer"&&!m.isEncoding(ge))throw new A(ge);typeof Ce!="function"&&(Ce=M)}if(ue===null)throw new O;if(!Te.objectMode)if(typeof ue=="string")Te.decodeStrings!==!1&&(ue=m.from(ue,ge),ge="buffer");else if(ue instanceof m)ge="buffer";else if(h._isUint8Array(ue))ue=h._uint8ArrayToBuffer(ue),ge="buffer";else throw new _("chunk",["string","Buffer","Uint8Array"],ue);let Se;return Te.ending?Se=new x:Te.destroyed&&(Se=new w("write")),Se?(n.nextTick(Ce,Se),I(ne,Se,!0),Se):(Te.pendingcb++,V(ne,Te,ue,ge,Ce))}N.prototype.write=function(ne,ue,ge){return L(this,ne,ue,ge)===!0},N.prototype.cork=function(){this._writableState.corked++},N.prototype.uncork=function(){let ne=this._writableState;ne.corked&&(ne.corked--,ne.writing||ae(this,ne))},N.prototype.setDefaultEncoding=function(ne){if(typeof ne=="string"&&(ne=c(ne)),!m.isEncoding(ne))throw new A(ne);return this._writableState.defaultEncoding=ne,this};function V(ne,ue,ge,Ce,Te){let Se=ue.objectMode?1:ge.length;ue.length+=Se;let me=ue.lengthge.bufferedIndex&&ae(ne,ge),Ce?ge.afterWriteTickInfo!==null&&ge.afterWriteTickInfo.cb===Te?ge.afterWriteTickInfo.count++:(ge.afterWriteTickInfo={count:1,cb:Te,stream:ne,state:ge},n.nextTick(U,ge.afterWriteTickInfo)):Z(ne,ge,1,Te))}function U({stream:ne,state:ue,count:ge,cb:Ce}){return ue.afterWriteTickInfo=null,Z(ne,ue,ge,Ce)}function Z(ne,ue,ge,Ce){for(!ue.ending&&!ne.destroyed&&ue.length===0&&ue.needDrain&&(ue.needDrain=!1,ne.emit("drain"));ge-- >0;)ue.pendingcb--,Ce();ue.destroyed&&te(ue),he(ne,ue)}function te(ne){if(ne.writing)return;for(let Te=ne.bufferedIndex;Te1&&ne._writev){ue.pendingcb-=Se-1;let be=ue.allNoop?M:Re=>{for(let De=me;De256?(ge.splice(0,me),ue.bufferedIndex=0):ue.bufferedIndex=me}ue.bufferProcessing=!1}N.prototype._write=function(ne,ue,ge){if(this._writev)this._writev([{chunk:ne,encoding:ue}],ge);else throw new E("_write()")},N.prototype._writev=null,N.prototype.end=function(ne,ue,ge){let Ce=this._writableState;typeof ne=="function"?(ge=ne,ne=null,ue=null):typeof ue=="function"&&(ge=ue,ue=null);let Te;if(ne!=null){let Se=L(this,ne,ue);Se instanceof i&&(Te=Se)}return Ce.corked&&(Ce.corked=1,this.uncork()),Te||(!Ce.errored&&!Ce.ending?(Ce.ending=!0,he(this,Ce,!0),Ce.ended=!0):Ce.finished?Te=new T("end"):Ce.destroyed&&(Te=new w("end"))),typeof ge=="function"&&(Te||Ce.finished?n.nextTick(ge,Te):Ce[B].push(ge)),this};function K(ne){return ne.ending&&!ne.destroyed&&ne.constructed&&ne.length===0&&!ne.errored&&ne.buffered.length===0&&!ne.finished&&!ne.writing&&!ne.errorEmitted&&!ne.closeEmitted}function Q(ne,ue){let ge=!1;function Ce(Te){if(ge){I(ne,Te??C());return}if(ge=!0,ue.pendingcb--,Te){let Se=ue[B].splice(0);for(let me=0;me{K(Te)?pe(Ce,Te):Te.pendingcb--},ne,ue)):K(ue)&&(ue.pendingcb++,pe(ne,ue))))}function pe(ne,ue){ue.pendingcb--,ue.finished=!0;let ge=ue[B].splice(0);for(let Ce=0;Ce{Jt(),tn(),en();var n=m0(),r=(us(),Hi(cs)),{isReadable:i,isWritable:o,isIterable:a,isNodeStream:s,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:u}=yh(),d=Rg(),{AbortError:f,codes:{ERR_INVALID_ARG_TYPE:h,ERR_INVALID_RETURN_VALUE:m}}=Ll(),{destroyer:g}=oS(),v=oh(),y=z5(),{createDeferredPromise:b}=ih(),_=obe(),E=globalThis.Blob||r.Blob,C=typeof E<"u"?function(A){return A instanceof E}:function(A){return!1},S=globalThis.AbortController||bW().AbortController,{FunctionPrototypeCall:w}=Oa(),T=class extends v{constructor(A){super(A),(A==null?void 0:A.readable)===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),(A==null?void 0:A.writable)===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}};t.exports=function A(I,M){if(u(I))return I;if(l(I))return x({readable:I});if(c(I))return x({writable:I});if(s(I))return x({writable:!1,readable:!1});if(typeof I=="function"){let{value:P,write:k,final:N,destroy:L}=O(I);if(a(P))return _(T,P,{objectMode:!0,write:k,final:N,destroy:L});let V=P==null?void 0:P.then;if(typeof V=="function"){let $,W=w(V,P,j=>{if(j!=null)throw new m("nully","body",j)},j=>{g($,j)});return $=new T({objectMode:!0,readable:!1,write:k,final(j){N(async()=>{try{await W,n.nextTick(j,null)}catch(U){n.nextTick(j,U)}})},destroy:L})}throw new m("Iterable, AsyncIterable or AsyncFunction",M,P)}if(C(I))return A(I.arrayBuffer());if(a(I))return _(T,I,{objectMode:!0,writable:!1});if(typeof(I==null?void 0:I.writable)=="object"||typeof(I==null?void 0:I.readable)=="object"){let P=I!=null&&I.readable?l(I==null?void 0:I.readable)?I==null?void 0:I.readable:A(I.readable):void 0,k=I!=null&&I.writable?c(I==null?void 0:I.writable)?I==null?void 0:I.writable:A(I.writable):void 0;return x({readable:P,writable:k})}let B=I==null?void 0:I.then;if(typeof B=="function"){let P;return w(B,I,k=>{k!=null&&P.push(k),P.push(null)},k=>{g(P,k)}),P=new T({objectMode:!0,writable:!1,read(){}})}throw new h(M,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],I)};function O(A){let{promise:I,resolve:M}=b(),B=new S,P=B.signal;return{value:A(async function*(){for(;;){let k=I;I=null;let{chunk:N,done:L,cb:V}=await k;if(n.nextTick(V),L)return;if(P.aborted)throw new f(void 0,{cause:P.reason});({promise:I,resolve:M}=b()),yield N}}(),{signal:P}),write(k,N,L){let V=M;M=null,V({chunk:k,done:!1,cb:L})},final(k){let N=M;M=null,N({done:!0,cb:k})},destroy(k,N){B.abort(),N(k)}}}function x(A){let I=A.readable&&typeof A.readable.read!="function"?y.wrap(A.readable):A.readable,M=A.writable,B=!!i(I),P=!!o(M),k,N,L,V,$;function W(j){let U=V;V=null,U?U(j):j&&$.destroy(j)}return $=new T({readableObjectMode:!!(I!=null&&I.readableObjectMode),writableObjectMode:!!(M!=null&&M.writableObjectMode),readable:B,writable:P}),P&&(d(M,j=>{P=!1,j&&g(I,j),W(j)}),$._write=function(j,U,Z){M.write(j,U)?Z():k=Z},$._final=function(j){M.end(),N=j},M.on("drain",function(){if(k){let j=k;k=null,j()}}),M.on("finish",function(){if(N){let j=N;N=null,j()}})),B&&(d(I,j=>{B=!1,j&&g(I,j),W(j)}),I.on("readable",function(){if(L){let j=L;L=null,j()}}),I.on("end",function(){$.push(null)}),$._read=function(){for(;;){let j=I.read();if(j===null){L=$._read;return}if(!$.push(j))return}}),$._destroy=function(j,U){!j&&V!==null&&(j=new f),L=null,k=null,N=null,V===null?U(j):(V=U,g(M,j),g(I,j))},$}}),oh=sn((e,t)=>{Jt(),tn(),en();var{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:r,ObjectKeys:i,ObjectSetPrototypeOf:o}=Oa();t.exports=l;var a=z5(),s=abe();o(l.prototype,a.prototype),o(l,a);{let f=i(s.prototype);for(let h=0;h{Jt(),tn(),en();var{ObjectSetPrototypeOf:n,Symbol:r}=Oa();t.exports=l;var{ERR_METHOD_NOT_IMPLEMENTED:i}=Ll().codes,o=oh(),{getHighWaterMark:a}=_W();n(l.prototype,o.prototype),n(l,o);var s=r("kCallback");function l(d){if(!(this instanceof l))return new l(d);let f=d?a(this,d,"readableHighWaterMark",!0):null;f===0&&(d={...d,highWaterMark:null,readableHighWaterMark:f,writableHighWaterMark:d.writableHighWaterMark||0}),o.call(this,d),this._readableState.sync=!1,this[s]=null,d&&(typeof d.transform=="function"&&(this._transform=d.transform),typeof d.flush=="function"&&(this._flush=d.flush)),this.on("prefinish",u)}function c(d){typeof this._flush=="function"&&!this.destroyed?this._flush((f,h)=>{if(f){d?d(f):this.destroy(f);return}h!=null&&this.push(h),this.push(null),d&&d()}):(this.push(null),d&&d())}function u(){this._final!==c&&c.call(this)}l.prototype._final=c,l.prototype._transform=function(d,f,h){throw new i("_transform()")},l.prototype._write=function(d,f,h){let m=this._readableState,g=this._writableState,v=m.length;this._transform(d,f,(y,b)=>{if(y){h(y);return}b!=null&&this.push(b),g.ended||v===m.length||m.length{Jt(),tn(),en();var{ObjectSetPrototypeOf:n}=Oa();t.exports=i;var r=sbe();n(i.prototype,r.prototype),n(i,r);function i(o){if(!(this instanceof i))return new i(o);r.call(this,o)}i.prototype._transform=function(o,a,s){s(null,o)}}),CW=sn((e,t)=>{Jt(),tn(),en();var n=m0(),{ArrayIsArray:r,Promise:i,SymbolAsyncIterator:o}=Oa(),a=Rg(),{once:s}=ih(),l=oS(),c=oh(),{aggregateTwoErrors:u,codes:{ERR_INVALID_ARG_TYPE:d,ERR_INVALID_RETURN_VALUE:f,ERR_MISSING_ARGS:h,ERR_STREAM_DESTROYED:m,ERR_STREAM_PREMATURE_CLOSE:g},AbortError:v}=Ll(),{validateFunction:y,validateAbortSignal:b}=j5(),{isIterable:_,isReadable:E,isReadableNodeStream:C,isNodeStream:S,isTransformStream:w,isWebStream:T,isReadableStream:O,isReadableEnded:x}=yh(),A=globalThis.AbortController||bW().AbortController,I,M;function B(U,Z,te){let ae=!1;U.on("close",()=>{ae=!0});let K=a(U,{readable:Z,writable:te},Q=>{ae=!Q});return{destroy:Q=>{ae||(ae=!0,l.destroyer(U,Q||new m("pipe")))},cleanup:K}}function P(U){return y(U[U.length-1],"streams[stream.length - 1]"),U.pop()}function k(U){if(_(U))return U;if(C(U))return N(U);throw new d("val",["Readable","Iterable","AsyncIterable"],U)}async function*N(U){M||(M=z5()),yield*M.prototype[o].call(U)}async function L(U,Z,te,{end:ae}){let K,Q=null,ie=le=>{if(le&&(K=le),Q){let de=Q;Q=null,de()}},he=()=>new i((le,de)=>{K?de(K):Q=()=>{K?de(K):le()}});Z.on("drain",ie);let pe=a(Z,{readable:!1},ie);try{Z.writableNeedDrain&&await he();for await(let le of U)Z.write(le)||await he();ae&&Z.end(),await he(),te()}catch(le){te(K!==le?u(K,le):le)}finally{pe(),Z.off("drain",ie)}}async function V(U,Z,te,{end:ae}){w(Z)&&(Z=Z.writable);let K=Z.getWriter();try{for await(let Q of U)await K.ready,K.write(Q).catch(()=>{});await K.ready,ae&&await K.close(),te()}catch(Q){try{await K.abort(Q),te(Q)}catch(ie){te(ie)}}}function $(...U){return W(U,s(P(U)))}function W(U,Z,te){if(U.length===1&&r(U[0])&&(U=U[0]),U.length<2)throw new h("streams");let ae=new A,K=ae.signal,Q=te==null?void 0:te.signal,ie=[];b(Q,"options.signal");function he(){ue(new v)}Q==null||Q.addEventListener("abort",he);let pe,le,de=[],ve=0;function ne(Se){ue(Se,--ve===0)}function ue(Se,me){if(Se&&(!pe||pe.code==="ERR_STREAM_PREMATURE_CLOSE")&&(pe=Se),!(!pe&&!me)){for(;de.length;)de.shift()(pe);Q==null||Q.removeEventListener("abort",he),ae.abort(),me&&(pe||ie.forEach(be=>be()),n.nextTick(Z,pe,le))}}let ge;for(let Se=0;Se0,Re=be||(te==null?void 0:te.end)!==!1,De=Se===U.length-1;if(S(me)){let z=function(D){D&&D.name!=="AbortError"&&D.code!=="ERR_STREAM_PREMATURE_CLOSE"&&ne(D)};if(Re){let{destroy:D,cleanup:q}=B(me,be,_e);de.push(D),E(me)&&De&&ie.push(q)}me.on("error",z),E(me)&&De&&ie.push(()=>{me.removeListener("error",z)})}if(Se===0)if(typeof me=="function"){if(ge=me({signal:K}),!_(ge))throw new f("Iterable, AsyncIterable or Stream","source",ge)}else _(me)||C(me)||w(me)?ge=me:ge=c.from(me);else if(typeof me=="function"){if(w(ge)){var Ce;ge=k((Ce=ge)===null||Ce===void 0?void 0:Ce.readable)}else ge=k(ge);if(ge=me(ge,{signal:K}),be){if(!_(ge,!0))throw new f("AsyncIterable",`transform[${Se-1}]`,ge)}else{var Te;I||(I=lbe());let z=new I({objectMode:!0}),D=(Te=ge)===null||Te===void 0?void 0:Te.then;if(typeof D=="function")ve++,D.call(ge,ye=>{le=ye,ye!=null&&z.write(ye),Re&&z.end(),n.nextTick(ne)},ye=>{z.destroy(ye),n.nextTick(ne,ye)});else if(_(ge,!0))ve++,L(ge,z,ne,{end:Re});else if(O(ge)||w(ge)){let ye=ge.readable||ge;ve++,L(ye,z,ne,{end:Re})}else throw new f("AsyncIterable or Promise","destination",ge);ge=z;let{destroy:q,cleanup:oe}=B(ge,!1,!0);de.push(q),De&&ie.push(oe)}}else if(S(me)){if(C(ge)){ve+=2;let z=j(ge,me,ne,{end:Re});E(me)&&De&&ie.push(z)}else if(w(ge)||O(ge)){let z=ge.readable||ge;ve++,L(z,me,ne,{end:Re})}else if(_(ge))ve++,L(ge,me,ne,{end:Re});else throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],ge);ge=me}else if(T(me)){if(C(ge))ve++,V(k(ge),me,ne,{end:Re});else if(O(ge)||_(ge))ve++,V(ge,me,ne,{end:Re});else if(w(ge))ve++,V(ge.readable,me,ne,{end:Re});else throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],ge);ge=me}else ge=c.from(me)}return(K!=null&&K.aborted||Q!=null&&Q.aborted)&&n.nextTick(he),ge}function j(U,Z,te,{end:ae}){let K=!1;if(Z.on("close",()=>{K||te(new g)}),U.pipe(Z,{end:!1}),ae){let Q=function(){K=!0,Z.end()};x(U)?n.nextTick(Q):U.once("end",Q)}else te();return a(U,{readable:!0,writable:!1},Q=>{let ie=U._readableState;Q&&Q.code==="ERR_STREAM_PREMATURE_CLOSE"&&ie&&ie.ended&&!ie.errored&&!ie.errorEmitted?U.once("end",te).once("error",te):te(Q)}),a(Z,{readable:!1,writable:!0},te)}t.exports={pipelineImpl:W,pipeline:$}}),cbe=sn((e,t)=>{Jt(),tn(),en();var{pipeline:n}=CW(),r=oh(),{destroyer:i}=oS(),{isNodeStream:o,isReadable:a,isWritable:s,isWebStream:l,isTransformStream:c,isWritableStream:u,isReadableStream:d}=yh(),{AbortError:f,codes:{ERR_INVALID_ARG_VALUE:h,ERR_MISSING_ARGS:m}}=Ll(),g=Rg();t.exports=function(...v){if(v.length===0)throw new m("streams");if(v.length===1)return r.from(v[0]);let y=[...v];if(typeof v[0]=="function"&&(v[0]=r.from(v[0])),typeof v[v.length-1]=="function"){let I=v.length-1;v[I]=r.from(v[I])}for(let I=0;I0&&!(s(v[I])||u(v[I])||c(v[I])))throw new h(`streams[${I}]`,y[I],"must be writable")}let b,_,E,C,S;function w(I){let M=C;C=null,M?M(I):I?S.destroy(I):!A&&!x&&S.destroy()}let T=v[0],O=n(v,w),x=!!(s(T)||u(T)||c(T)),A=!!(a(O)||d(O)||c(O));if(S=new r({writableObjectMode:!!(T!=null&&T.writableObjectMode),readableObjectMode:!!(O!=null&&O.writableObjectMode),writable:x,readable:A}),x){if(o(T))S._write=function(M,B,P){T.write(M,B)?P():b=P},S._final=function(M){T.end(),_=M},T.on("drain",function(){if(b){let M=b;b=null,M()}});else if(l(T)){let M=(c(T)?T.writable:T).getWriter();S._write=async function(B,P,k){try{await M.ready,M.write(B).catch(()=>{}),k()}catch(N){k(N)}},S._final=async function(B){try{await M.ready,M.close().catch(()=>{}),_=B}catch(P){B(P)}}}let I=c(O)?O.readable:O;g(I,()=>{if(_){let M=_;_=null,M()}})}if(A){if(o(O))O.on("readable",function(){if(E){let I=E;E=null,I()}}),O.on("end",function(){S.push(null)}),S._read=function(){for(;;){let I=O.read();if(I===null){E=S._read;return}if(!S.push(I))return}};else if(l(O)){let I=(c(O)?O.readable:O).getReader();S._read=async function(){for(;;)try{let{value:M,done:B}=await I.read();if(!S.push(M))return;if(B){S.push(null);return}}catch{return}}}}return S._destroy=function(I,M){!I&&C!==null&&(I=new f),E=null,b=null,_=null,C===null?M(I):(C=M,o(O)&&i(O,I))},S}}),gje=sn((e,t)=>{Jt(),tn(),en();var n=globalThis.AbortController||bW().AbortController,{codes:{ERR_INVALID_ARG_VALUE:r,ERR_INVALID_ARG_TYPE:i,ERR_MISSING_ARGS:o,ERR_OUT_OF_RANGE:a},AbortError:s}=Ll(),{validateAbortSignal:l,validateInteger:c,validateObject:u}=j5(),d=Oa().Symbol("kWeak"),{finished:f}=Rg(),h=cbe(),{addAbortSignalNoValidate:m}=H5(),{isWritable:g,isNodeStream:v}=yh(),{ArrayPrototypePush:y,MathFloor:b,Number:_,NumberIsNaN:E,Promise:C,PromiseReject:S,PromisePrototypeThen:w,Symbol:T}=Oa(),O=T("kEmpty"),x=T("kEof");function A(ae,K){if(K!=null&&u(K,"options"),(K==null?void 0:K.signal)!=null&&l(K.signal,"options.signal"),v(ae)&&!g(ae))throw new r("stream",ae,"must be writable");let Q=h(this,ae);return K!=null&&K.signal&&m(K.signal,Q),Q}function I(ae,K){if(typeof ae!="function")throw new i("fn",["Function","AsyncFunction"],ae);K!=null&&u(K,"options"),(K==null?void 0:K.signal)!=null&&l(K.signal,"options.signal");let Q=1;return(K==null?void 0:K.concurrency)!=null&&(Q=b(K.concurrency)),c(Q,"concurrency",1),(async function*(){var ie,he;let pe=new n,le=this,de=[],ve=pe.signal,ne={signal:ve},ue=()=>pe.abort();K!=null&&(ie=K.signal)!==null&&ie!==void 0&&ie.aborted&&ue(),K==null||(he=K.signal)===null||he===void 0||he.addEventListener("abort",ue);let ge,Ce,Te=!1;function Se(){Te=!0}async function me(){try{for await(let Re of le){var be;if(Te)return;if(ve.aborted)throw new s;try{Re=ae(Re,ne)}catch(De){Re=S(De)}Re!==O&&(typeof((be=Re)===null||be===void 0?void 0:be.catch)=="function"&&Re.catch(Se),de.push(Re),ge&&(ge(),ge=null),!Te&&de.length&&de.length>=Q&&await new C(De=>{Ce=De}))}de.push(x)}catch(Re){let De=S(Re);w(De,void 0,Se),de.push(De)}finally{var _e;Te=!0,ge&&(ge(),ge=null),K==null||(_e=K.signal)===null||_e===void 0||_e.removeEventListener("abort",ue)}}me();try{for(;;){for(;de.length>0;){let be=await de[0];if(be===x)return;if(ve.aborted)throw new s;be!==O&&(yield be),de.shift(),Ce&&(Ce(),Ce=null)}await new C(be=>{ge=be})}}finally{pe.abort(),Te=!0,Ce&&(Ce(),Ce=null)}}).call(this)}function M(ae=void 0){return ae!=null&&u(ae,"options"),(ae==null?void 0:ae.signal)!=null&&l(ae.signal,"options.signal"),(async function*(){let K=0;for await(let ie of this){var Q;if(ae!=null&&(Q=ae.signal)!==null&&Q!==void 0&&Q.aborted)throw new s({cause:ae.signal.reason});yield[K++,ie]}}).call(this)}async function B(ae,K=void 0){for await(let Q of L.call(this,ae,K))return!0;return!1}async function P(ae,K=void 0){if(typeof ae!="function")throw new i("fn",["Function","AsyncFunction"],ae);return!await B.call(this,async(...Q)=>!await ae(...Q),K)}async function k(ae,K){for await(let Q of L.call(this,ae,K))return Q}async function N(ae,K){if(typeof ae!="function")throw new i("fn",["Function","AsyncFunction"],ae);async function Q(ie,he){return await ae(ie,he),O}for await(let ie of I.call(this,Q,K));}function L(ae,K){if(typeof ae!="function")throw new i("fn",["Function","AsyncFunction"],ae);async function Q(ie,he){return await ae(ie,he)?ie:O}return I.call(this,Q,K)}var V=class extends o{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function $(ae,K,Q){var ie;if(typeof ae!="function")throw new i("reducer",["Function","AsyncFunction"],ae);Q!=null&&u(Q,"options"),(Q==null?void 0:Q.signal)!=null&&l(Q.signal,"options.signal");let he=arguments.length>1;if(Q!=null&&(ie=Q.signal)!==null&&ie!==void 0&&ie.aborted){let ne=new s(void 0,{cause:Q.signal.reason});throw this.once("error",()=>{}),await f(this.destroy(ne)),ne}let pe=new n,le=pe.signal;if(Q!=null&&Q.signal){let ne={once:!0,[d]:this};Q.signal.addEventListener("abort",()=>pe.abort(),ne)}let de=!1;try{for await(let ne of this){var ve;if(de=!0,Q!=null&&(ve=Q.signal)!==null&&ve!==void 0&&ve.aborted)throw new s;he?K=await ae(K,ne,{signal:le}):(K=ne,he=!0)}if(!de&&!he)throw new V}finally{pe.abort()}return K}async function W(ae){ae!=null&&u(ae,"options"),(ae==null?void 0:ae.signal)!=null&&l(ae.signal,"options.signal");let K=[];for await(let ie of this){var Q;if(ae!=null&&(Q=ae.signal)!==null&&Q!==void 0&&Q.aborted)throw new s(void 0,{cause:ae.signal.reason});y(K,ie)}return K}function j(ae,K){let Q=I.call(this,ae,K);return(async function*(){for await(let ie of Q)yield*ie}).call(this)}function U(ae){if(ae=_(ae),E(ae))return 0;if(ae<0)throw new a("number",">= 0",ae);return ae}function Z(ae,K=void 0){return K!=null&&u(K,"options"),(K==null?void 0:K.signal)!=null&&l(K.signal,"options.signal"),ae=U(ae),(async function*(){var Q;if(K!=null&&(Q=K.signal)!==null&&Q!==void 0&&Q.aborted)throw new s;for await(let he of this){var ie;if(K!=null&&(ie=K.signal)!==null&&ie!==void 0&&ie.aborted)throw new s;ae--<=0&&(yield he)}}).call(this)}function te(ae,K=void 0){return K!=null&&u(K,"options"),(K==null?void 0:K.signal)!=null&&l(K.signal,"options.signal"),ae=U(ae),(async function*(){var Q;if(K!=null&&(Q=K.signal)!==null&&Q!==void 0&&Q.aborted)throw new s;for await(let he of this){var ie;if(K!=null&&(ie=K.signal)!==null&&ie!==void 0&&ie.aborted)throw new s;if(ae-- >0)yield he;else return}}).call(this)}t.exports.streamReturningOperators={asIndexedPairs:M,drop:Z,filter:L,flatMap:j,map:I,take:te,compose:A},t.exports.promiseReturningOperators={every:P,forEach:N,reduce:$,toArray:W,some:B,find:k}}),ube=sn((e,t)=>{Jt(),tn(),en();var{ArrayPrototypePop:n,Promise:r}=Oa(),{isIterable:i,isNodeStream:o,isWebStream:a}=yh(),{pipelineImpl:s}=CW(),{finished:l}=Rg();dbe();function c(...u){return new r((d,f)=>{let h,m,g=u[u.length-1];if(g&&typeof g=="object"&&!o(g)&&!i(g)&&!a(g)){let v=n(u);h=v.signal,m=v.end}s(u,(v,y)=>{v?f(v):d(y)},{signal:h,end:m})})}t.exports={finished:l,pipeline:c}}),dbe=sn((e,t)=>{Jt(),tn(),en();var{Buffer:n}=(us(),Hi(cs)),{ObjectDefineProperty:r,ObjectKeys:i,ReflectApply:o}=Oa(),{promisify:{custom:a}}=ih(),{streamReturningOperators:s,promiseReturningOperators:l}=gje(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=Ll(),u=cbe(),{pipeline:d}=CW(),{destroyer:f}=oS(),h=Rg(),m=ube(),g=yh(),v=t.exports=yW().Stream;v.isDisturbed=g.isDisturbed,v.isErrored=g.isErrored,v.isReadable=g.isReadable,v.Readable=z5();for(let b of i(s)){let _=function(...C){if(new.target)throw c();return v.Readable.from(o(E,this,C))},E=s[b];r(_,"name",{__proto__:null,value:E.name}),r(_,"length",{__proto__:null,value:E.length}),r(v.Readable.prototype,b,{__proto__:null,value:_,enumerable:!1,configurable:!0,writable:!0})}for(let b of i(l)){let _=function(...C){if(new.target)throw c();return o(E,this,C)},E=l[b];r(_,"name",{__proto__:null,value:E.name}),r(_,"length",{__proto__:null,value:E.length}),r(v.Readable.prototype,b,{__proto__:null,value:_,enumerable:!1,configurable:!0,writable:!0})}v.Writable=abe(),v.Duplex=oh(),v.Transform=sbe(),v.PassThrough=lbe(),v.pipeline=d;var{addAbortSignal:y}=H5();v.addAbortSignal=y,v.finished=h,v.destroy=f,v.compose=u,r(v,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return m}}),r(d,a,{__proto__:null,enumerable:!0,get(){return m.pipeline}}),r(h,a,{__proto__:null,enumerable:!0,get(){return m.finished}}),v.Stream=v,v._isUint8Array=function(b){return b instanceof Uint8Array},v._uint8ArrayToBuffer=function(b){return n.from(b.buffer,b.byteOffset,b.byteLength)}}),v0=sn((e,t)=>{Jt(),tn(),en();var n=dbe(),r=ube(),i=n.Readable.destroy;t.exports=n.Readable,t.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,t.exports._isUint8Array=n._isUint8Array,t.exports.isDisturbed=n.isDisturbed,t.exports.isErrored=n.isErrored,t.exports.isReadable=n.isReadable,t.exports.Readable=n.Readable,t.exports.Writable=n.Writable,t.exports.Duplex=n.Duplex,t.exports.Transform=n.Transform,t.exports.PassThrough=n.PassThrough,t.exports.addAbortSignal=n.addAbortSignal,t.exports.finished=n.finished,t.exports.destroy=n.destroy,t.exports.destroy=i,t.exports.pipeline=n.pipeline,t.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get(){return r}}),t.exports.Stream=n.Stream,t.exports.default=t.exports}),vje=sn((e,t)=>{Jt(),tn(),en(),typeof Object.create=="function"?t.exports=function(n,r){r&&(n.super_=r,n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(n,r){if(r){n.super_=r;var i=function(){};i.prototype=r.prototype,n.prototype=new i,n.prototype.constructor=n}}}),bje=sn((e,t)=>{Jt(),tn(),en();var{Buffer:n}=(us(),Hi(cs)),r=Symbol.for("BufferList");function i(o){if(!(this instanceof i))return new i(o);i._init.call(this,o)}i._init=function(o){Object.defineProperty(this,r,{value:!0}),this._bufs=[],this.length=0,o&&this.append(o)},i.prototype._new=function(o){return new i(o)},i.prototype._offset=function(o){if(o===0)return[0,0];let a=0;for(let s=0;sthis.length||o<0)return;let a=this._offset(o);return this._bufs[a[0]][a[1]]},i.prototype.slice=function(o,a){return typeof o=="number"&&o<0&&(o+=this.length),typeof a=="number"&&a<0&&(a+=this.length),this.copy(null,0,o,a)},i.prototype.copy=function(o,a,s,l){if((typeof s!="number"||s<0)&&(s=0),(typeof l!="number"||l>this.length)&&(l=this.length),s>=this.length||l<=0)return o||n.alloc(0);let c=!!o,u=this._offset(s),d=l-s,f=d,h=c&&a||0,m=u[1];if(s===0&&l===this.length){if(!c)return this._bufs.length===1?this._bufs[0]:n.concat(this._bufs,this.length);for(let g=0;gv)this._bufs[g].copy(o,h,m),h+=v;else{this._bufs[g].copy(o,h,m,m+f),h+=v;break}f-=v,m&&(m=0)}return o.length>h?o.slice(0,h):o},i.prototype.shallowSlice=function(o,a){if(o=o||0,a=typeof a!="number"?this.length:a,o<0&&(o+=this.length),a<0&&(a+=this.length),o===a)return this._new();let s=this._offset(o),l=this._offset(a),c=this._bufs.slice(s[0],l[0]+1);return l[1]===0?c.pop():c[c.length-1]=c[c.length-1].slice(0,l[1]),s[1]!==0&&(c[0]=c[0].slice(s[1])),this._new(c)},i.prototype.toString=function(o,a,s){return this.slice(a,s).toString(o)},i.prototype.consume=function(o){if(o=Math.trunc(o),Number.isNaN(o)||o<=0)return this;for(;this._bufs.length;)if(o>=this._bufs[0].length)o-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(o),this.length-=o;break}return this},i.prototype.duplicate=function(){let o=this._new();for(let a=0;athis.length?this.length:a;let l=this._offset(a),c=l[0],u=l[1];for(;c=o.length){let f=d.indexOf(o,u);if(f!==-1)return this._reverseOffset([c,f]);u=d.length-o.length+1}else{let f=this._reverseOffset([c,u]);if(this._match(f,o))return f;u++}u=0}return-1},i.prototype._match=function(o,a){if(this.length-o{Jt(),tn(),en();var n=v0().Duplex,r=vje(),i=bje();function o(a){if(!(this instanceof o))return new o(a);if(typeof a=="function"){this._callback=a;let s=(function(l){this._callback&&(this._callback(l),this._callback=null)}).bind(this);this.on("pipe",function(l){l.on("error",s)}),this.on("unpipe",function(l){l.removeListener("error",s)}),a=null}i._init.call(this,a),n.call(this)}r(o,n),Object.assign(o.prototype,i.prototype),o.prototype._new=function(a){return new o(a)},o.prototype._write=function(a,s,l){this._appendBuffer(a),typeof l=="function"&&l()},o.prototype._read=function(a){if(!this.length)return this.push(null);a=Math.min(a,this.length),this.push(this.slice(0,a)),this.consume(a)},o.prototype.end=function(a){n.prototype.end.call(this,a),this._callback&&(this._callback(null,this.slice()),this._callback=null)},o.prototype._destroy=function(a,s){this._bufs.length=0,this.length=0,s(a)},o.prototype._isBufferList=function(a){return a instanceof o||a instanceof i||o.isBufferList(a)},o.isBufferList=i.isBufferList,t.exports=o,t.exports.BufferListStream=o,t.exports.BufferList=i}),_je=sn((e,t)=>{Jt(),tn(),en();var n=class{constructor(){this.cmd=null,this.retain=!1,this.qos=0,this.dup=!1,this.length=-1,this.topic=null,this.payload=null}};t.exports=n}),fbe=sn((e,t)=>{Jt(),tn(),en();var n=t.exports,{Buffer:r}=(us(),Hi(cs));n.types={0:"reserved",1:"connect",2:"connack",3:"publish",4:"puback",5:"pubrec",6:"pubrel",7:"pubcomp",8:"subscribe",9:"suback",10:"unsubscribe",11:"unsuback",12:"pingreq",13:"pingresp",14:"disconnect",15:"auth"},n.requiredHeaderFlags={1:0,2:0,4:0,5:0,6:2,7:0,8:2,9:0,10:2,11:0,12:0,13:0,14:0,15:0},n.requiredHeaderFlagsErrors={};for(let o in n.requiredHeaderFlags){let a=n.requiredHeaderFlags[o];n.requiredHeaderFlagsErrors[o]="Invalid header flag bits, must be 0x"+a.toString(16)+" for "+n.types[o]+" packet"}n.codes={};for(let o in n.types){let a=n.types[o];n.codes[a]=o}n.CMD_SHIFT=4,n.CMD_MASK=240,n.DUP_MASK=8,n.QOS_MASK=3,n.QOS_SHIFT=1,n.RETAIN_MASK=1,n.VARBYTEINT_MASK=127,n.VARBYTEINT_FIN_MASK=128,n.VARBYTEINT_MAX=268435455,n.SESSIONPRESENT_MASK=1,n.SESSIONPRESENT_HEADER=r.from([n.SESSIONPRESENT_MASK]),n.CONNACK_HEADER=r.from([n.codes.connack<[0,1].map(s=>[0,1].map(l=>{let c=r.alloc(1);return c.writeUInt8(n.codes[o]<r.from([o])),n.EMPTY={pingreq:r.from([n.codes.pingreq<<4,0]),pingresp:r.from([n.codes.pingresp<<4,0]),disconnect:r.from([n.codes.disconnect<<4,0])},n.MQTT5_PUBACK_PUBREC_CODES={0:"Success",16:"No matching subscribers",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",144:"Topic Name invalid",145:"Packet identifier in use",151:"Quota exceeded",153:"Payload format invalid"},n.MQTT5_PUBREL_PUBCOMP_CODES={0:"Success",146:"Packet Identifier not found"},n.MQTT5_SUBACK_CODES={0:"Granted QoS 0",1:"Granted QoS 1",2:"Granted QoS 2",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use",151:"Quota exceeded",158:"Shared Subscriptions not supported",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},n.MQTT5_UNSUBACK_CODES={0:"Success",17:"No subscription existed",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use"},n.MQTT5_DISCONNECT_CODES={0:"Normal disconnection",4:"Disconnect with Will Message",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",135:"Not authorized",137:"Server busy",139:"Server shutting down",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},n.MQTT5_AUTH_CODES={0:"Success",24:"Continue authentication",25:"Re-authenticate"}}),Sje=sn((e,t)=>{Jt(),tn(),en();var n=1e3,r=n*60,i=r*60,o=i*24,a=o*7,s=o*365.25;t.exports=function(f,h){h=h||{};var m=typeof f;if(m==="string"&&f.length>0)return l(f);if(m==="number"&&isFinite(f))return h.long?u(f):c(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))};function l(f){if(f=String(f),!(f.length>100)){var h=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(f);if(h){var m=parseFloat(h[1]),g=(h[2]||"ms").toLowerCase();switch(g){case"years":case"year":case"yrs":case"yr":case"y":return m*s;case"weeks":case"week":case"w":return m*a;case"days":case"day":case"d":return m*o;case"hours":case"hour":case"hrs":case"hr":case"h":return m*i;case"minutes":case"minute":case"mins":case"min":case"m":return m*r;case"seconds":case"second":case"secs":case"sec":case"s":return m*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return m;default:return}}}}function c(f){var h=Math.abs(f);return h>=o?Math.round(f/o)+"d":h>=i?Math.round(f/i)+"h":h>=r?Math.round(f/r)+"m":h>=n?Math.round(f/n)+"s":f+"ms"}function u(f){var h=Math.abs(f);return h>=o?d(f,h,o,"day"):h>=i?d(f,h,i,"hour"):h>=r?d(f,h,r,"minute"):h>=n?d(f,h,n,"second"):f+" ms"}function d(f,h,m,g){var v=h>=m*1.5;return Math.round(f/m)+" "+g+(v?"s":"")}}),Eje=sn((e,t)=>{Jt(),tn(),en();function n(r){o.debug=o,o.default=o,o.coerce=d,o.disable=l,o.enable=s,o.enabled=c,o.humanize=Sje(),o.destroy=f,Object.keys(r).forEach(h=>{o[h]=r[h]}),o.names=[],o.skips=[],o.formatters={};function i(h){let m=0;for(let g=0;g{if(T==="%%")return"%";w++;let x=o.formatters[O];if(typeof x=="function"){let A=_[w];T=x.call(E,A),_.splice(w,1),w--}return T}),o.formatArgs.call(E,_),(E.log||o.log).apply(E,_)}return b.namespace=h,b.useColors=o.useColors(),b.color=o.selectColor(h),b.extend=a,b.destroy=o.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>g!==null?g:(v!==o.namespaces&&(v=o.namespaces,y=o.enabled(h)),y),set:_=>{g=_}}),typeof o.init=="function"&&o.init(b),b}function a(h,m){let g=o(this.namespace+(typeof m>"u"?":":m)+h);return g.log=this.log,g}function s(h){o.save(h),o.namespaces=h,o.names=[],o.skips=[];let m,g=(typeof h=="string"?h:"").split(/[\s,]+/),v=g.length;for(m=0;m"-"+m)].join(",");return o.enable(""),h}function c(h){if(h[h.length-1]==="*")return!0;let m,g;for(m=0,g=o.skips.length;m{Jt(),tn(),en(),e.formatArgs=r,e.save=i,e.load=o,e.useColors=n,e.storage=a(),e.destroy=(()=>{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let c="color: "+this.color;l.splice(1,0,c,"color: inherit");let u=0,d=0;l[0].replace(/%[a-zA-Z%]/g,f=>{f!=="%%"&&(u++,f==="%c"&&(d=u))}),l.splice(d,0,c)}e.log=console.debug||console.log||(()=>{});function i(l){try{l?e.storage.setItem("debug",l):e.storage.removeItem("debug")}catch{}}function o(){let l;try{l=e.storage.getItem("debug")}catch{}return!l&&typeof _i<"u"&&"env"in _i&&(l=_i.env.DEBUG),l}function a(){try{return localStorage}catch{}}t.exports=Eje()(e);var{formatters:s}=t.exports;s.j=function(l){try{return JSON.stringify(l)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}}}),Cje=sn((e,t)=>{Jt(),tn(),en();var n=yje(),{EventEmitter:r}=(aS(),Hi(g0)),i=_je(),o=fbe(),a=ah()("mqtt-packet:parser"),s=class Nj extends r{constructor(){super(),this.parser=this.constructor.parser}static parser(c){return this instanceof Nj?(this.settings=c||{},this._states=["_parseHeader","_parseLength","_parsePayload","_newPacket"],this._resetState(),this):new Nj().parser(c)}_resetState(){a("_resetState: resetting packet, error, _list, and _stateCounter"),this.packet=new i,this.error=null,this._list=n(),this._stateCounter=0}parse(c){for(this.error&&this._resetState(),this._list.append(c),a("parse: current state: %s",this._states[this._stateCounter]);(this.packet.length!==-1||this._list.length>0)&&this[this._states[this._stateCounter]]()&&!this.error;)this._stateCounter++,a("parse: state complete. _stateCounter is now: %d",this._stateCounter),a("parse: packet.length: %d, buffer list length: %d",this.packet.length,this._list.length),this._stateCounter>=this._states.length&&(this._stateCounter=0);return a("parse: exited while loop. packet: %d, buffer list length: %d",this.packet.length,this._list.length),this._list.length}_parseHeader(){let c=this._list.readUInt8(0),u=c>>o.CMD_SHIFT;this.packet.cmd=o.types[u];let d=c&15,f=o.requiredHeaderFlags[u];return f!=null&&d!==f?this._emitError(new Error(o.requiredHeaderFlagsErrors[u])):(this.packet.retain=(c&o.RETAIN_MASK)!==0,this.packet.qos=c>>o.QOS_SHIFT&o.QOS_MASK,this.packet.qos>2?this._emitError(new Error("Packet must not have both QoS bits set to 1")):(this.packet.dup=(c&o.DUP_MASK)!==0,a("_parseHeader: packet: %o",this.packet),this._list.consume(1),!0))}_parseLength(){let c=this._parseVarByteNum(!0);return c&&(this.packet.length=c.value,this._list.consume(c.bytes)),a("_parseLength %d",c.value),!!c}_parsePayload(){a("_parsePayload: payload %O",this._list);let c=!1;if(this.packet.length===0||this._list.length>=this.packet.length){switch(this._pos=0,this.packet.cmd){case"connect":this._parseConnect();break;case"connack":this._parseConnack();break;case"publish":this._parsePublish();break;case"puback":case"pubrec":case"pubrel":case"pubcomp":this._parseConfirmation();break;case"subscribe":this._parseSubscribe();break;case"suback":this._parseSuback();break;case"unsubscribe":this._parseUnsubscribe();break;case"unsuback":this._parseUnsuback();break;case"pingreq":case"pingresp":break;case"disconnect":this._parseDisconnect();break;case"auth":this._parseAuth();break;default:this._emitError(new Error("Not supported"))}c=!0}return a("_parsePayload complete result: %s",c),c}_parseConnect(){a("_parseConnect");let c,u,d,f,h={},m=this.packet,g=this._parseString();if(g===null)return this._emitError(new Error("Cannot parse protocolId"));if(g!=="MQTT"&&g!=="MQIsdp")return this._emitError(new Error("Invalid protocolId"));if(m.protocolId=g,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(m.protocolVersion=this._list.readUInt8(this._pos),m.protocolVersion>=128&&(m.bridgeMode=!0,m.protocolVersion=m.protocolVersion-128),m.protocolVersion!==3&&m.protocolVersion!==4&&m.protocolVersion!==5)return this._emitError(new Error("Invalid protocol version"));if(this._pos++,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(this._list.readUInt8(this._pos)&1)return this._emitError(new Error("Connect flag bit 0 must be 0, but got 1"));h.username=this._list.readUInt8(this._pos)&o.USERNAME_MASK,h.password=this._list.readUInt8(this._pos)&o.PASSWORD_MASK,h.will=this._list.readUInt8(this._pos)&o.WILL_FLAG_MASK;let v=!!(this._list.readUInt8(this._pos)&o.WILL_RETAIN_MASK),y=(this._list.readUInt8(this._pos)&o.WILL_QOS_MASK)>>o.WILL_QOS_SHIFT;if(h.will)m.will={},m.will.retain=v,m.will.qos=y;else{if(v)return this._emitError(new Error("Will Retain Flag must be set to zero when Will Flag is set to 0"));if(y)return this._emitError(new Error("Will QoS must be set to zero when Will Flag is set to 0"))}if(m.clean=(this._list.readUInt8(this._pos)&o.CLEAN_SESSION_MASK)!==0,this._pos++,m.keepalive=this._parseNum(),m.keepalive===-1)return this._emitError(new Error("Packet too short"));if(m.protocolVersion===5){let _=this._parseProperties();Object.getOwnPropertyNames(_).length&&(m.properties=_)}let b=this._parseString();if(b===null)return this._emitError(new Error("Packet too short"));if(m.clientId=b,a("_parseConnect: packet.clientId: %s",m.clientId),h.will){if(m.protocolVersion===5){let _=this._parseProperties();Object.getOwnPropertyNames(_).length&&(m.will.properties=_)}if(c=this._parseString(),c===null)return this._emitError(new Error("Cannot parse will topic"));if(m.will.topic=c,a("_parseConnect: packet.will.topic: %s",m.will.topic),u=this._parseBuffer(),u===null)return this._emitError(new Error("Cannot parse will payload"));m.will.payload=u,a("_parseConnect: packet.will.paylaod: %s",m.will.payload)}if(h.username){if(f=this._parseString(),f===null)return this._emitError(new Error("Cannot parse username"));m.username=f,a("_parseConnect: packet.username: %s",m.username)}if(h.password){if(d=this._parseBuffer(),d===null)return this._emitError(new Error("Cannot parse password"));m.password=d}return this.settings=m,a("_parseConnect: complete"),m}_parseConnack(){a("_parseConnack");let c=this.packet;if(this._list.length<1)return null;let u=this._list.readUInt8(this._pos++);if(u>1)return this._emitError(new Error("Invalid connack flags, bits 7-1 must be set to 0"));if(c.sessionPresent=!!(u&o.SESSIONPRESENT_MASK),this.settings.protocolVersion===5)this._list.length>=2?c.reasonCode=this._list.readUInt8(this._pos++):c.reasonCode=0;else{if(this._list.length<2)return null;c.returnCode=this._list.readUInt8(this._pos++)}if(c.returnCode===-1||c.reasonCode===-1)return this._emitError(new Error("Cannot parse return code"));if(this.settings.protocolVersion===5){let d=this._parseProperties();Object.getOwnPropertyNames(d).length&&(c.properties=d)}a("_parseConnack: complete")}_parsePublish(){a("_parsePublish");let c=this.packet;if(c.topic=this._parseString(),c.topic===null)return this._emitError(new Error("Cannot parse topic"));if(!(c.qos>0&&!this._parseMessageId())){if(this.settings.protocolVersion===5){let u=this._parseProperties();Object.getOwnPropertyNames(u).length&&(c.properties=u)}c.payload=this._list.slice(this._pos,c.length),a("_parsePublish: payload from buffer list: %o",c.payload)}}_parseSubscribe(){a("_parseSubscribe");let c=this.packet,u,d,f,h,m,g,v;if(c.subscriptions=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let y=this._parseProperties();Object.getOwnPropertyNames(y).length&&(c.properties=y)}if(c.length<=0)return this._emitError(new Error("Malformed subscribe, no payload specified"));for(;this._pos=c.length)return this._emitError(new Error("Malformed Subscribe Payload"));if(d=this._parseByte(),this.settings.protocolVersion===5){if(d&192)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-6 must be 0"))}else if(d&252)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-2 must be 0"));if(f=d&o.SUBSCRIBE_OPTIONS_QOS_MASK,f>2)return this._emitError(new Error("Invalid subscribe QoS, must be <= 2"));if(g=(d>>o.SUBSCRIBE_OPTIONS_NL_SHIFT&o.SUBSCRIBE_OPTIONS_NL_MASK)!==0,m=(d>>o.SUBSCRIBE_OPTIONS_RAP_SHIFT&o.SUBSCRIBE_OPTIONS_RAP_MASK)!==0,h=d>>o.SUBSCRIBE_OPTIONS_RH_SHIFT&o.SUBSCRIBE_OPTIONS_RH_MASK,h>2)return this._emitError(new Error("Invalid retain handling, must be <= 2"));v={topic:u,qos:f},this.settings.protocolVersion===5?(v.nl=g,v.rap=m,v.rh=h):this.settings.bridgeMode&&(v.rh=0,v.rap=!0,v.nl=!0),a("_parseSubscribe: push subscription `%s` to subscription",v),c.subscriptions.push(v)}}}_parseSuback(){a("_parseSuback");let c=this.packet;if(this.packet.granted=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let u=this._parseProperties();Object.getOwnPropertyNames(u).length&&(c.properties=u)}if(c.length<=0)return this._emitError(new Error("Malformed suback, no payload specified"));for(;this._pos2&&u!==128)return this._emitError(new Error("Invalid suback QoS, must be 0, 1, 2 or 128"));this.packet.granted.push(u)}}}_parseUnsubscribe(){a("_parseUnsubscribe");let c=this.packet;if(c.unsubscriptions=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let u=this._parseProperties();Object.getOwnPropertyNames(u).length&&(c.properties=u)}if(c.length<=0)return this._emitError(new Error("Malformed unsubscribe, no payload specified"));for(;this._pos2){switch(c.reasonCode=this._parseByte(),this.packet.cmd){case"puback":case"pubrec":if(!o.MQTT5_PUBACK_PUBREC_CODES[c.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break;case"pubrel":case"pubcomp":if(!o.MQTT5_PUBREL_PUBCOMP_CODES[c.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break}a("_parseConfirmation: packet.reasonCode `%d`",c.reasonCode)}else c.reasonCode=0;if(c.length>3){let u=this._parseProperties();Object.getOwnPropertyNames(u).length&&(c.properties=u)}}return!0}_parseDisconnect(){let c=this.packet;if(a("_parseDisconnect"),this.settings.protocolVersion===5){this._list.length>0?(c.reasonCode=this._parseByte(),o.MQTT5_DISCONNECT_CODES[c.reasonCode]||this._emitError(new Error("Invalid disconnect reason code"))):c.reasonCode=0;let u=this._parseProperties();Object.getOwnPropertyNames(u).length&&(c.properties=u)}return a("_parseDisconnect result: true"),!0}_parseAuth(){a("_parseAuth");let c=this.packet;if(this.settings.protocolVersion!==5)return this._emitError(new Error("Not supported auth packet for this version MQTT"));if(c.reasonCode=this._parseByte(),!o.MQTT5_AUTH_CODES[c.reasonCode])return this._emitError(new Error("Invalid auth reason code"));let u=this._parseProperties();return Object.getOwnPropertyNames(u).length&&(c.properties=u),a("_parseAuth: result: true"),!0}_parseMessageId(){let c=this.packet;return c.messageId=this._parseNum(),c.messageId===null?(this._emitError(new Error("Cannot parse messageId")),!1):(a("_parseMessageId: packet.messageId %d",c.messageId),!0)}_parseString(c){let u=this._parseNum(),d=u+this._pos;if(u===-1||d>this._list.length||d>this.packet.length)return null;let f=this._list.toString("utf8",this._pos,d);return this._pos+=u,a("_parseString: result: %s",f),f}_parseStringPair(){return a("_parseStringPair"),{name:this._parseString(),value:this._parseString()}}_parseBuffer(){let c=this._parseNum(),u=c+this._pos;if(c===-1||u>this._list.length||u>this.packet.length)return null;let d=this._list.slice(this._pos,u);return this._pos+=c,a("_parseBuffer: result: %o",d),d}_parseNum(){if(this._list.length-this._pos<2)return-1;let c=this._list.readUInt16BE(this._pos);return this._pos+=2,a("_parseNum: result: %s",c),c}_parse4ByteNum(){if(this._list.length-this._pos<4)return-1;let c=this._list.readUInt32BE(this._pos);return this._pos+=4,a("_parse4ByteNum: result: %s",c),c}_parseVarByteNum(c){a("_parseVarByteNum");let u=4,d=0,f=1,h=0,m=!1,g,v=this._pos?this._pos:0;for(;d=d&&this._emitError(new Error("Invalid variable byte integer")),v&&(this._pos+=d),m?c?m={bytes:d,value:h}:m=h:m=!1,a("_parseVarByteNum: result: %o",m),m}_parseByte(){let c;return this._pos{Jt(),tn(),en();var{Buffer:n}=(us(),Hi(cs)),r=65536,i={},o=n.isBuffer(n.from([1,2]).subarray(0,1));function a(u){let d=n.allocUnsafe(2);return d.writeUInt8(u>>8,0),d.writeUInt8(u&255,1),d}function s(){for(let u=0;u0&&(d=d|128),h.writeUInt8(d,f++);while(u>0&&f<4);return u>0&&(f=0),o?h.subarray(0,f):h.slice(0,f)}function c(u){let d=n.allocUnsafe(4);return d.writeUInt32BE(u,0),d}t.exports={cache:i,generateCache:s,generateNumber:a,genBufVariableByteInt:l,generate4ByteBuffer:c}}),Tje=sn((e,t)=>{Jt(),tn(),en(),typeof _i>"u"||!_i.version||_i.version.indexOf("v0.")===0||_i.version.indexOf("v1.")===0&&_i.version.indexOf("v1.8.")!==0?t.exports={nextTick:n}:t.exports=_i;function n(r,i,o,a){if(typeof r!="function")throw new TypeError('"callback" argument must be a function');var s=arguments.length,l,c;switch(s){case 0:case 1:return _i.nextTick(r);case 2:return _i.nextTick(function(){r.call(null,i)});case 3:return _i.nextTick(function(){r.call(null,i,o)});case 4:return _i.nextTick(function(){r.call(null,i,o,a)});default:for(l=new Array(s-1),c=0;c{Jt(),tn(),en();var n=fbe(),{Buffer:r}=(us(),Hi(cs)),i=r.allocUnsafe(0),o=r.from([0]),a=wje(),s=Tje().nextTick,l=ah()("mqtt-packet:writeToStream"),c=a.cache,u=a.generateNumber,d=a.generateCache,f=a.genBufVariableByteInt,h=a.generate4ByteBuffer,m=N,g=!0;function v(K,Q,ie){switch(l("generate called"),Q.cork&&(Q.cork(),s(y,Q)),g&&(g=!1,d()),l("generate: packet.cmd: %s",K.cmd),K.cmd){case"connect":return b(K,Q);case"connack":return _(K,Q,ie);case"publish":return E(K,Q,ie);case"puback":case"pubrec":case"pubrel":case"pubcomp":return C(K,Q,ie);case"subscribe":return S(K,Q,ie);case"suback":return w(K,Q,ie);case"unsubscribe":return T(K,Q,ie);case"unsuback":return O(K,Q,ie);case"pingreq":case"pingresp":return x(K,Q);case"disconnect":return A(K,Q,ie);case"auth":return I(K,Q,ie);default:return Q.destroy(new Error("Unknown command")),!1}}Object.defineProperty(v,"cacheNumbers",{get(){return m===N},set(K){K?((!c||Object.keys(c).length===0)&&(g=!0),m=N):(g=!1,m=L)}});function y(K){K.uncork()}function b(K,Q,ie){let he=K||{},pe=he.protocolId||"MQTT",le=he.protocolVersion||4,de=he.will,ve=he.clean,ne=he.keepalive||0,ue=he.clientId||"",ge=he.username,Ce=he.password,Te=he.properties;ve===void 0&&(ve=!0);let Se=0;if(!pe||typeof pe!="string"&&!r.isBuffer(pe))return Q.destroy(new Error("Invalid protocolId")),!1;if(Se+=pe.length+2,le!==3&&le!==4&&le!==5)return Q.destroy(new Error("Invalid protocol version")),!1;if(Se+=1,(typeof ue=="string"||r.isBuffer(ue))&&(ue||le>=4)&&(ue||ve))Se+=r.byteLength(ue)+2;else{if(le<4)return Q.destroy(new Error("clientId must be supplied before 3.1.1")),!1;if(ve*1===0)return Q.destroy(new Error("clientId must be given if cleanSession set to 0")),!1}if(typeof ne!="number"||ne<0||ne>65535||ne%1!==0)return Q.destroy(new Error("Invalid keepalive")),!1;Se+=2,Se+=1;let me,be;if(le===5){if(me=W(Q,Te),!me)return!1;Se+=me.length}if(de){if(typeof de!="object")return Q.destroy(new Error("Invalid will")),!1;if(!de.topic||typeof de.topic!="string")return Q.destroy(new Error("Invalid will topic")),!1;if(Se+=r.byteLength(de.topic)+2,Se+=2,de.payload)if(de.payload.length>=0)typeof de.payload=="string"?Se+=r.byteLength(de.payload):Se+=de.payload.length;else return Q.destroy(new Error("Invalid will payload")),!1;if(be={},le===5){if(be=W(Q,de.properties),!be)return!1;Se+=be.length}}let _e=!1;if(ge!=null)if(ae(ge))_e=!0,Se+=r.byteLength(ge)+2;else return Q.destroy(new Error("Invalid username")),!1;if(Ce!=null){if(!_e)return Q.destroy(new Error("Username is required to use password")),!1;if(ae(Ce))Se+=te(Ce)+2;else return Q.destroy(new Error("Invalid password")),!1}Q.write(n.CONNECT_HEADER),B(Q,Se),$(Q,pe),he.bridgeMode&&(le+=128),Q.write(le===131?n.VERSION131:le===132?n.VERSION132:le===4?n.VERSION4:le===5?n.VERSION5:n.VERSION3);let Re=0;return Re|=ge!=null?n.USERNAME_MASK:0,Re|=Ce!=null?n.PASSWORD_MASK:0,Re|=de&&de.retain?n.WILL_RETAIN_MASK:0,Re|=de&&de.qos?de.qos<0&&m(Q,ue),Te==null||Te.write(),l("publish: payload: %o",ne),Q.write(ne)}function C(K,Q,ie){let he=ie?ie.protocolVersion:4,pe=K||{},le=pe.cmd||"puback",de=pe.messageId,ve=pe.dup&&le==="pubrel"?n.DUP_MASK:0,ne=0,ue=pe.reasonCode,ge=pe.properties,Ce=he===5?3:2;if(le==="pubrel"&&(ne=1),typeof de!="number")return Q.destroy(new Error("Invalid messageId")),!1;let Te=null;if(he===5&&typeof ge=="object"){if(Te=j(Q,ge,ie,Ce),!Te)return!1;Ce+=Te.length}return Q.write(n.ACKS[le][ne][ve][0]),Ce===3&&(Ce+=ue!==0?1:-1),B(Q,Ce),m(Q,de),he===5&&Ce!==2&&Q.write(r.from([ue])),Te!==null?Te.write():Ce===4&&Q.write(r.from([0])),!0}function S(K,Q,ie){l("subscribe: packet: ");let he=ie?ie.protocolVersion:4,pe=K||{},le=pe.dup?n.DUP_MASK:0,de=pe.messageId,ve=pe.subscriptions,ne=pe.properties,ue=0;if(typeof de!="number")return Q.destroy(new Error("Invalid messageId")),!1;ue+=2;let ge=null;if(he===5){if(ge=W(Q,ne),!ge)return!1;ue+=ge.length}if(typeof ve=="object"&&ve.length)for(let Te=0;Te2)return Q.destroy(new Error("Invalid subscriptions - invalid Retain Handling")),!1}ue+=r.byteLength(Se)+2+1}else return Q.destroy(new Error("Invalid subscriptions")),!1;l("subscribe: writing to stream: %o",n.SUBSCRIBE_HEADER),Q.write(n.SUBSCRIBE_HEADER[1][le?1:0][0]),B(Q,ue),m(Q,de),ge!==null&&ge.write();let Ce=!0;for(let Te of ve){let Se=Te.topic,me=Te.qos,be=+Te.nl,_e=+Te.rap,Re=Te.rh,De;P(Q,Se),De=n.SUBSCRIBE_OPTIONS_QOS[me],he===5&&(De|=be?n.SUBSCRIBE_OPTIONS_NL:0,De|=_e?n.SUBSCRIBE_OPTIONS_RAP:0,De|=Re?n.SUBSCRIBE_OPTIONS_RH[Re]:0),Ce=Q.write(r.from([De]))}return Ce}function w(K,Q,ie){let he=ie?ie.protocolVersion:4,pe=K||{},le=pe.messageId,de=pe.granted,ve=pe.properties,ne=0;if(typeof le!="number")return Q.destroy(new Error("Invalid messageId")),!1;if(ne+=2,typeof de=="object"&&de.length)for(let ge=0;gen.VARBYTEINT_MAX)return K.destroy(new Error(`Invalid variable byte integer: ${Q}`)),!1;let ie=M[Q];return ie||(ie=f(Q),Q<16384&&(M[Q]=ie)),l("writeVarByteInt: writing to stream: %o",ie),K.write(ie)}function P(K,Q){let ie=r.byteLength(Q);return m(K,ie),l("writeString: %s",Q),K.write(Q,"utf8")}function k(K,Q,ie){P(K,Q),P(K,ie)}function N(K,Q){return l("writeNumberCached: number: %d",Q),l("writeNumberCached: %o",c[Q]),K.write(c[Q])}function L(K,Q){let ie=u(Q);return l("writeNumberGenerated: %o",ie),K.write(ie)}function V(K,Q){let ie=h(Q);return l("write4ByteNumber: %o",ie),K.write(ie)}function $(K,Q){typeof Q=="string"?P(K,Q):Q?(m(K,Q.length),K.write(Q)):m(K,0)}function W(K,Q){if(typeof Q!="object"||Q.length!=null)return{length:1,write(){Z(K,{},0)}};let ie=0;function he(pe,le){let de=n.propertiesTypes[pe],ve=0;switch(de){case"byte":{if(typeof le!="boolean")return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=2;break}case"int8":{if(typeof le!="number"||le<0||le>255)return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=2;break}case"binary":{if(le&&le===null)return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=1+r.byteLength(le)+2;break}case"int16":{if(typeof le!="number"||le<0||le>65535)return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=3;break}case"int32":{if(typeof le!="number"||le<0||le>4294967295)return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=5;break}case"var":{if(typeof le!="number"||le<0||le>268435455)return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=1+r.byteLength(f(le));break}case"string":{if(typeof le!="string")return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=3+r.byteLength(le.toString());break}case"pair":{if(typeof le!="object")return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=Object.getOwnPropertyNames(le).reduce((ne,ue)=>{let ge=le[ue];return Array.isArray(ge)?ne+=ge.reduce((Ce,Te)=>(Ce+=3+r.byteLength(ue.toString())+2+r.byteLength(Te.toString()),Ce),0):ne+=3+r.byteLength(ue.toString())+2+r.byteLength(le[ue].toString()),ne},0);break}default:return K.destroy(new Error(`Invalid property ${pe}: ${le}`)),!1}return ve}if(Q)for(let pe in Q){let le=0,de=0,ve=Q[pe];if(Array.isArray(ve))for(let ne=0;nele;){let ve=pe.shift();if(ve&&Q[ve])delete Q[ve],de=W(K,Q);else return!1}return de}function U(K,Q,ie){switch(n.propertiesTypes[Q]){case"byte":{K.write(r.from([n.properties[Q]])),K.write(r.from([+ie]));break}case"int8":{K.write(r.from([n.properties[Q]])),K.write(r.from([ie]));break}case"binary":{K.write(r.from([n.properties[Q]])),$(K,ie);break}case"int16":{K.write(r.from([n.properties[Q]])),m(K,ie);break}case"int32":{K.write(r.from([n.properties[Q]])),V(K,ie);break}case"var":{K.write(r.from([n.properties[Q]])),B(K,ie);break}case"string":{K.write(r.from([n.properties[Q]])),P(K,ie);break}case"pair":{Object.getOwnPropertyNames(ie).forEach(he=>{let pe=ie[he];Array.isArray(pe)?pe.forEach(le=>{K.write(r.from([n.properties[Q]])),k(K,he.toString(),le.toString())}):(K.write(r.from([n.properties[Q]])),k(K,he.toString(),pe.toString()))});break}default:return K.destroy(new Error(`Invalid property ${Q} value: ${ie}`)),!1}}function Z(K,Q,ie){B(K,ie);for(let he in Q)if(Object.prototype.hasOwnProperty.call(Q,he)&&Q[he]!==null){let pe=Q[he];if(Array.isArray(pe))for(let le=0;le{Jt(),tn(),en();var n=pbe(),{EventEmitter:r}=(aS(),Hi(g0)),{Buffer:i}=(us(),Hi(cs));function o(s,l){let c=new a;return n(s,c,l),c.concat()}var a=class extends r{constructor(){super(),this._array=new Array(20),this._i=0}write(s){return this._array[this._i++]=s,!0}concat(){let s=0,l=new Array(this._array.length),c=this._array,u=0,d;for(d=0;d{Jt(),tn(),en(),e.parser=Cje().parser,e.generate=xje(),e.writeToStream=pbe()}),hbe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(){this.nextId=Math.max(1,Math.floor(Math.random()*65535))}allocate(){let n=this.nextId++;return this.nextId===65536&&(this.nextId=1),n}getLastAllocated(){return this.nextId===1?65535:this.nextId-1}register(n){return!0}deallocate(n){}clear(){}};e.default=t}),Rje=sn((e,t)=>{Jt(),tn(),en(),t.exports=r;function n(o){return o instanceof aM?aM.from(o):new o.constructor(o.buffer.slice(),o.byteOffset,o.length)}function r(o){if(o=o||{},o.circles)return i(o);return o.proto?l:s;function a(c,u){for(var d=Object.keys(c),f=new Array(d.length),h=0;h{Jt(),tn(),en(),t.exports=Rje()()}),Aje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0}),e.validateTopics=e.validateTopic=void 0;function t(r){let i=r.split("/");for(let o=0;o{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=v0(),n={objectMode:!0},r={clean:!0},i=class{constructor(o){this.options=o||{},this.options=Object.assign(Object.assign({},r),o),this._inflights=new Map}put(o,a){return this._inflights.set(o.messageId,o),a&&a(),this}createStream(){let o=new t.Readable(n),a=[],s=!1,l=0;return this._inflights.forEach((c,u)=>{a.push(c)}),o._read=()=>{!s&&l{if(!s)return s=!0,setTimeout(()=>{o.emit("close")},0),o},o}del(o,a){let s=this._inflights.get(o.messageId);return s?(this._inflights.delete(o.messageId),a(null,s)):a&&a(new Error("missing packet")),this}get(o,a){let s=this._inflights.get(o.messageId);return s?a(null,s):a&&a(new Error("missing packet")),this}close(o){this.options.clean&&(this._inflights=null),o&&o()}};e.default=i}),Nje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=[0,16,128,131,135,144,145,151,153],n=(r,i,o)=>{r.log("handlePublish: packet %o",i),o=typeof o<"u"?o:r.noop;let a=i.topic.toString(),s=i.payload,{qos:l}=i,{messageId:c}=i,{options:u}=r;if(r.options.protocolVersion===5){let d;if(i.properties&&(d=i.properties.topicAlias),typeof d<"u")if(a.length===0)if(d>0&&d<=65535){let f=r.topicAliasRecv.getTopicByAlias(d);if(f)a=f,r.log("handlePublish :: topic complemented by alias. topic: %s - alias: %d",a,d);else{r.log("handlePublish :: unregistered topic alias. alias: %d",d),r.emit("error",new Error("Received unregistered Topic Alias"));return}}else{r.log("handlePublish :: topic alias out of range. alias: %d",d),r.emit("error",new Error("Received Topic Alias is out of range"));return}else if(r.topicAliasRecv.put(a,d))r.log("handlePublish :: registered topic: %s - alias: %d",a,d);else{r.log("handlePublish :: topic alias out of range. alias: %d",d),r.emit("error",new Error("Received Topic Alias is out of range"));return}}switch(r.log("handlePublish: qos %d",l),l){case 2:{u.customHandleAcks(a,s,i,(d,f)=>{if(typeof d=="number"&&(f=d,d=null),d)return r.emit("error",d);if(t.indexOf(f)===-1)return r.emit("error",new Error("Wrong reason code for pubrec"));f?r._sendPacket({cmd:"pubrec",messageId:c,reasonCode:f},o):r.incomingStore.put(i,()=>{r._sendPacket({cmd:"pubrec",messageId:c},o)})});break}case 1:{u.customHandleAcks(a,s,i,(d,f)=>{if(typeof d=="number"&&(f=d,d=null),d)return r.emit("error",d);if(t.indexOf(f)===-1)return r.emit("error",new Error("Wrong reason code for puback"));f||r.emit("message",a,s,i),r.handleMessage(i,h=>{if(h)return o&&o(h);r._sendPacket({cmd:"puback",messageId:c,reasonCode:f},o)})});break}case 0:r.emit("message",a,s,i),r.handleMessage(i,o);break;default:r.log("handlePublish: unknown QoS. Doing nothing.");break}};e.default=n}),Mje=sn((e,t)=>{t.exports={version:"5.10.3"}}),sS=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0}),e.MQTTJS_VERSION=e.nextTick=e.applyMixin=e.ErrorWithReasonCode=void 0;var t=class gbe extends Error{constructor(i,o){super(i),this.code=o,Object.setPrototypeOf(this,gbe.prototype),Object.getPrototypeOf(this).name="ErrorWithReasonCode"}};e.ErrorWithReasonCode=t;function n(r,i,o=!1){var a;let s=[i];for(;;){let l=s[0],c=Object.getPrototypeOf(l);if(c!=null&&c.prototype)s.unshift(c);else break}for(let l of s)for(let c of Object.getOwnPropertyNames(l.prototype))(o||c!=="constructor")&&Object.defineProperty(r.prototype,c,(a=Object.getOwnPropertyDescriptor(l.prototype,c))!==null&&a!==void 0?a:Object.create(null))}e.applyMixin=n,e.nextTick=typeof(_i==null?void 0:_i.nextTick)=="function"?_i.nextTick:r=>{setTimeout(r,0)},e.MQTTJS_VERSION=Mje().version}),V5=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=void 0;var t=sS();e.ReasonCodes={0:"",1:"Unacceptable protocol version",2:"Identifier rejected",3:"Server unavailable",4:"Bad username or password",5:"Not authorized",16:"No matching subscribers",17:"No subscription existed",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",132:"Unsupported Protocol Version",133:"Client Identifier not valid",134:"Bad User Name or Password",135:"Not authorized",136:"Server unavailable",137:"Server busy",138:"Banned",139:"Server shutting down",140:"Bad authentication method",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",145:"Packet identifier in use",146:"Packet Identifier not found",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"};var n=(r,i)=>{let{messageId:o}=i,a=i.cmd,s=null,l=r.outgoing[o]?r.outgoing[o].cb:null,c=null;if(!l){r.log("_handleAck :: Server sent an ack in error. Ignoring.");return}switch(r.log("_handleAck :: packet type",a),a){case"pubcomp":case"puback":{let u=i.reasonCode;u&&u>0&&u!==16?(c=new t.ErrorWithReasonCode(`Publish error: ${e.ReasonCodes[u]}`,u),r._removeOutgoingAndStoreMessage(o,()=>{l(c,i)})):r._removeOutgoingAndStoreMessage(o,l);break}case"pubrec":{s={cmd:"pubrel",qos:2,messageId:o};let u=i.reasonCode;u&&u>0&&u!==16?(c=new t.ErrorWithReasonCode(`Publish error: ${e.ReasonCodes[u]}`,u),r._removeOutgoingAndStoreMessage(o,()=>{l(c,i)})):r._sendPacket(s);break}case"suback":{delete r.outgoing[o],r.messageIdProvider.deallocate(o);let u=i.granted;for(let d=0;d{delete r._resubscribeTopics[m]})}}delete r.messageIdToTopic[o],r._invokeStoreProcessingQueue(),l(c,i);break}case"unsuback":{delete r.outgoing[o],r.messageIdProvider.deallocate(o),r._invokeStoreProcessingQueue(),l(null,i);break}default:r.emit("error",new Error("unrecognized packet type"))}r.disconnecting&&Object.keys(r.outgoing).length===0&&r.emit("outgoingEmpty")};e.default=n}),kje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=sS(),n=V5(),r=(i,o)=>{let{options:a}=i,s=a.protocolVersion,l=s===5?o.reasonCode:o.returnCode;if(s!==5){let c=new t.ErrorWithReasonCode(`Protocol error: Auth packets are only supported in MQTT 5. Your version:${s}`,l);i.emit("error",c);return}i.handleAuth(o,(c,u)=>{if(c){i.emit("error",c);return}if(l===24)i.reconnecting=!1,i._sendPacket(u);else{let d=new t.ErrorWithReasonCode(`Connection refused: ${n.ReasonCodes[l]}`,l);i.emit("error",d)}})};e.default=r}),Pje=sn(e=>{var h,m,g,v,y,b,_,E,C,S,w,T,O,x,A,I,M,B,P,k,N,L,V,$,W,j,Mj,Z,te,ae,K,vbe,ie,he,pe,Qh,Xh,kj,_A,SA,ho,Pj,OC,Se;Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCache=void 0;var t=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,n=new Set,r=typeof _i=="object"&&_i?_i:{},i=(me,be,_e,Re)=>{typeof r.emitWarning=="function"?r.emitWarning(me,be,_e,Re):console.error(`[${_e}] ${be}: ${me}`)},o=globalThis.AbortController,a=globalThis.AbortSignal;if(typeof o>"u"){a=class{constructor(){ai(this,"onabort");ai(this,"_onabort",[]);ai(this,"reason");ai(this,"aborted",!1)}addEventListener(_e,Re){this._onabort.push(Re)}},o=class{constructor(){ai(this,"signal",new a);be()}abort(_e){var Re,De;if(!this.signal.aborted){this.signal.reason=_e,this.signal.aborted=!0;for(let z of this.signal._onabort)z(_e);(De=(Re=this.signal).onabort)==null||De.call(Re,_e)}}};let me=((h=r.env)==null?void 0:h.LRU_CACHE_IGNORE_AC_WARNING)!=="1",be=()=>{me&&(me=!1,i("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",be))}}var s=me=>!n.has(me),l=me=>me&&me===Math.floor(me)&&me>0&&isFinite(me),c=me=>l(me)?me<=Math.pow(2,8)?Uint8Array:me<=Math.pow(2,16)?Uint16Array:me<=Math.pow(2,32)?Uint32Array:me<=Number.MAX_SAFE_INTEGER?u:null:null,u=class extends Array{constructor(me){super(me),this.fill(0)}},d=(m=class{constructor(be,_e){ai(this,"heap");ai(this,"length");if(!Fe(m,g))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new _e(be),this.length=0}static create(be){let _e=c(be);if(!_e)return[];yn(m,g,!0);let Re=new m(be,_e);return yn(m,g,!1),Re}push(be){this.heap[this.length++]=be}pop(){return this.heap[--this.length]}},g=new WeakMap,zn(m,g,!1),m),f=(Se=class{constructor(be){zn(this,j);zn(this,v);zn(this,y);zn(this,b);zn(this,_);zn(this,E);ai(this,"ttl");ai(this,"ttlResolution");ai(this,"ttlAutopurge");ai(this,"updateAgeOnGet");ai(this,"updateAgeOnHas");ai(this,"allowStale");ai(this,"noDisposeOnSet");ai(this,"noUpdateTTL");ai(this,"maxEntrySize");ai(this,"sizeCalculation");ai(this,"noDeleteOnFetchRejection");ai(this,"noDeleteOnStaleGet");ai(this,"allowStaleOnFetchAbort");ai(this,"allowStaleOnFetchRejection");ai(this,"ignoreFetchAbort");zn(this,C);zn(this,S);zn(this,w);zn(this,T);zn(this,O);zn(this,x);zn(this,A);zn(this,I);zn(this,M);zn(this,B);zn(this,P);zn(this,k);zn(this,N);zn(this,L);zn(this,V);zn(this,$);zn(this,W);zn(this,Z,()=>{});zn(this,te,()=>{});zn(this,ae,()=>{});zn(this,K,()=>!1);zn(this,ie,be=>{});zn(this,he,(be,_e,Re)=>{});zn(this,pe,(be,_e,Re,De)=>{if(Re||De)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});let{max:_e=0,ttl:Re,ttlResolution:De=1,ttlAutopurge:z,updateAgeOnGet:D,updateAgeOnHas:q,allowStale:oe,dispose:ye,disposeAfter:ce,noDisposeOnSet:Be,noUpdateTTL:Ve,maxSize:re=0,maxEntrySize:Me=0,sizeCalculation:je,fetchMethod:ke,noDeleteOnFetchRejection:Ge,noDeleteOnStaleGet:Ue,allowStaleOnFetchRejection:qe,allowStaleOnFetchAbort:At,ignoreFetchAbort:at}=be;if(_e!==0&&!l(_e))throw new TypeError("max option must be a nonnegative integer");let pt=_e?c(_e):Array;if(!pt)throw new Error("invalid max value: "+_e);if(yn(this,v,_e),yn(this,y,re),this.maxEntrySize=Me||Fe(this,y),this.sizeCalculation=je,this.sizeCalculation){if(!Fe(this,y)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(ke!==void 0&&typeof ke!="function")throw new TypeError("fetchMethod must be a function if specified");if(yn(this,E,ke),yn(this,$,!!ke),yn(this,w,new Map),yn(this,T,new Array(_e).fill(void 0)),yn(this,O,new Array(_e).fill(void 0)),yn(this,x,new pt(_e)),yn(this,A,new pt(_e)),yn(this,I,0),yn(this,M,0),yn(this,B,d.create(_e)),yn(this,C,0),yn(this,S,0),typeof ye=="function"&&yn(this,b,ye),typeof ce=="function"?(yn(this,_,ce),yn(this,P,[])):(yn(this,_,void 0),yn(this,P,void 0)),yn(this,V,!!Fe(this,b)),yn(this,W,!!Fe(this,_)),this.noDisposeOnSet=!!Be,this.noUpdateTTL=!!Ve,this.noDeleteOnFetchRejection=!!Ge,this.allowStaleOnFetchRejection=!!qe,this.allowStaleOnFetchAbort=!!At,this.ignoreFetchAbort=!!at,this.maxEntrySize!==0){if(Fe(this,y)!==0&&!l(Fe(this,y)))throw new TypeError("maxSize must be a positive integer if specified");if(!l(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");Dn(this,j,vbe).call(this)}if(this.allowStale=!!oe,this.noDeleteOnStaleGet=!!Ue,this.updateAgeOnGet=!!D,this.updateAgeOnHas=!!q,this.ttlResolution=l(De)||De===0?De:1,this.ttlAutopurge=!!z,this.ttl=Re||0,this.ttl){if(!l(this.ttl))throw new TypeError("ttl must be a positive integer if specified");Dn(this,j,Mj).call(this)}if(Fe(this,v)===0&&this.ttl===0&&Fe(this,y)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!Fe(this,v)&&!Fe(this,y)){let Ct="LRU_CACHE_UNBOUNDED";s(Ct)&&(n.add(Ct),i("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",Ct,Se))}}static unsafeExposeInternals(be){return{starts:Fe(be,N),ttls:Fe(be,L),sizes:Fe(be,k),keyMap:Fe(be,w),keyList:Fe(be,T),valList:Fe(be,O),next:Fe(be,x),prev:Fe(be,A),get head(){return Fe(be,I)},get tail(){return Fe(be,M)},free:Fe(be,B),isBackgroundFetch:_e=>{var Re;return Dn(Re=be,j,ho).call(Re,_e)},backgroundFetch:(_e,Re,De,z)=>{var D;return Dn(D=be,j,SA).call(D,_e,Re,De,z)},moveToTail:_e=>{var Re;return Dn(Re=be,j,OC).call(Re,_e)},indexes:_e=>{var Re;return Dn(Re=be,j,Qh).call(Re,_e)},rindexes:_e=>{var Re;return Dn(Re=be,j,Xh).call(Re,_e)},isStale:_e=>{var Re;return Fe(Re=be,K).call(Re,_e)}}}get max(){return Fe(this,v)}get maxSize(){return Fe(this,y)}get calculatedSize(){return Fe(this,S)}get size(){return Fe(this,C)}get fetchMethod(){return Fe(this,E)}get dispose(){return Fe(this,b)}get disposeAfter(){return Fe(this,_)}getRemainingTTL(be){return Fe(this,w).has(be)?1/0:0}*entries(){for(let be of Dn(this,j,Qh).call(this))Fe(this,O)[be]!==void 0&&Fe(this,T)[be]!==void 0&&!Dn(this,j,ho).call(this,Fe(this,O)[be])&&(yield[Fe(this,T)[be],Fe(this,O)[be]])}*rentries(){for(let be of Dn(this,j,Xh).call(this))Fe(this,O)[be]!==void 0&&Fe(this,T)[be]!==void 0&&!Dn(this,j,ho).call(this,Fe(this,O)[be])&&(yield[Fe(this,T)[be],Fe(this,O)[be]])}*keys(){for(let be of Dn(this,j,Qh).call(this)){let _e=Fe(this,T)[be];_e!==void 0&&!Dn(this,j,ho).call(this,Fe(this,O)[be])&&(yield _e)}}*rkeys(){for(let be of Dn(this,j,Xh).call(this)){let _e=Fe(this,T)[be];_e!==void 0&&!Dn(this,j,ho).call(this,Fe(this,O)[be])&&(yield _e)}}*values(){for(let be of Dn(this,j,Qh).call(this))Fe(this,O)[be]!==void 0&&!Dn(this,j,ho).call(this,Fe(this,O)[be])&&(yield Fe(this,O)[be])}*rvalues(){for(let be of Dn(this,j,Xh).call(this))Fe(this,O)[be]!==void 0&&!Dn(this,j,ho).call(this,Fe(this,O)[be])&&(yield Fe(this,O)[be])}[Symbol.iterator](){return this.entries()}find(be,_e={}){for(let Re of Dn(this,j,Qh).call(this)){let De=Fe(this,O)[Re],z=Dn(this,j,ho).call(this,De)?De.__staleWhileFetching:De;if(z!==void 0&&be(z,Fe(this,T)[Re],this))return this.get(Fe(this,T)[Re],_e)}}forEach(be,_e=this){for(let Re of Dn(this,j,Qh).call(this)){let De=Fe(this,O)[Re],z=Dn(this,j,ho).call(this,De)?De.__staleWhileFetching:De;z!==void 0&&be.call(_e,z,Fe(this,T)[Re],this)}}rforEach(be,_e=this){for(let Re of Dn(this,j,Xh).call(this)){let De=Fe(this,O)[Re],z=Dn(this,j,ho).call(this,De)?De.__staleWhileFetching:De;z!==void 0&&be.call(_e,z,Fe(this,T)[Re],this)}}purgeStale(){let be=!1;for(let _e of Dn(this,j,Xh).call(this,{allowStale:!0}))Fe(this,K).call(this,_e)&&(this.delete(Fe(this,T)[_e]),be=!0);return be}dump(){let be=[];for(let _e of Dn(this,j,Qh).call(this,{allowStale:!0})){let Re=Fe(this,T)[_e],De=Fe(this,O)[_e],z=Dn(this,j,ho).call(this,De)?De.__staleWhileFetching:De;if(z===void 0||Re===void 0)continue;let D={value:z};if(Fe(this,L)&&Fe(this,N)){D.ttl=Fe(this,L)[_e];let q=t.now()-Fe(this,N)[_e];D.start=Math.floor(Date.now()-q)}Fe(this,k)&&(D.size=Fe(this,k)[_e]),be.unshift([Re,D])}return be}load(be){this.clear();for(let[_e,Re]of be){if(Re.start){let De=Date.now()-Re.start;Re.start=t.now()-De}this.set(_e,Re.value,Re)}}set(be,_e,Re={}){var Ve,re,Me,je,ke;if(_e===void 0)return this.delete(be),this;let{ttl:De=this.ttl,start:z,noDisposeOnSet:D=this.noDisposeOnSet,sizeCalculation:q=this.sizeCalculation,status:oe}=Re,{noUpdateTTL:ye=this.noUpdateTTL}=Re,ce=Fe(this,pe).call(this,be,_e,Re.size||0,q);if(this.maxEntrySize&&ce>this.maxEntrySize)return oe&&(oe.set="miss",oe.maxEntrySizeExceeded=!0),this.delete(be),this;let Be=Fe(this,C)===0?void 0:Fe(this,w).get(be);if(Be===void 0)Be=Fe(this,C)===0?Fe(this,M):Fe(this,B).length!==0?Fe(this,B).pop():Fe(this,C)===Fe(this,v)?Dn(this,j,_A).call(this,!1):Fe(this,C),Fe(this,T)[Be]=be,Fe(this,O)[Be]=_e,Fe(this,w).set(be,Be),Fe(this,x)[Fe(this,M)]=Be,Fe(this,A)[Be]=Fe(this,M),yn(this,M,Be),Kg(this,C)._++,Fe(this,he).call(this,Be,ce,oe),oe&&(oe.set="add"),ye=!1;else{Dn(this,j,OC).call(this,Be);let Ge=Fe(this,O)[Be];if(_e!==Ge){if(Fe(this,$)&&Dn(this,j,ho).call(this,Ge)){Ge.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:Ue}=Ge;Ue!==void 0&&!D&&(Fe(this,V)&&((Ve=Fe(this,b))==null||Ve.call(this,Ue,be,"set")),Fe(this,W)&&((re=Fe(this,P))==null||re.push([Ue,be,"set"])))}else D||(Fe(this,V)&&((Me=Fe(this,b))==null||Me.call(this,Ge,be,"set")),Fe(this,W)&&((je=Fe(this,P))==null||je.push([Ge,be,"set"])));if(Fe(this,ie).call(this,Be),Fe(this,he).call(this,Be,ce,oe),Fe(this,O)[Be]=_e,oe){oe.set="replace";let Ue=Ge&&Dn(this,j,ho).call(this,Ge)?Ge.__staleWhileFetching:Ge;Ue!==void 0&&(oe.oldValue=Ue)}}else oe&&(oe.set="update")}if(De!==0&&!Fe(this,L)&&Dn(this,j,Mj).call(this),Fe(this,L)&&(ye||Fe(this,ae).call(this,Be,De,z),oe&&Fe(this,te).call(this,oe,Be)),!D&&Fe(this,W)&&Fe(this,P)){let Ge=Fe(this,P),Ue;for(;Ue=Ge==null?void 0:Ge.shift();)(ke=Fe(this,_))==null||ke.call(this,...Ue)}return this}pop(){var be;try{for(;Fe(this,C);){let _e=Fe(this,O)[Fe(this,I)];if(Dn(this,j,_A).call(this,!0),Dn(this,j,ho).call(this,_e)){if(_e.__staleWhileFetching)return _e.__staleWhileFetching}else if(_e!==void 0)return _e}}finally{if(Fe(this,W)&&Fe(this,P)){let _e=Fe(this,P),Re;for(;Re=_e==null?void 0:_e.shift();)(be=Fe(this,_))==null||be.call(this,...Re)}}}has(be,_e={}){let{updateAgeOnHas:Re=this.updateAgeOnHas,status:De}=_e,z=Fe(this,w).get(be);if(z!==void 0){let D=Fe(this,O)[z];if(Dn(this,j,ho).call(this,D)&&D.__staleWhileFetching===void 0)return!1;if(Fe(this,K).call(this,z))De&&(De.has="stale",Fe(this,te).call(this,De,z));else return Re&&Fe(this,Z).call(this,z),De&&(De.has="hit",Fe(this,te).call(this,De,z)),!0}else De&&(De.has="miss");return!1}peek(be,_e={}){let{allowStale:Re=this.allowStale}=_e,De=Fe(this,w).get(be);if(De!==void 0&&(Re||!Fe(this,K).call(this,De))){let z=Fe(this,O)[De];return Dn(this,j,ho).call(this,z)?z.__staleWhileFetching:z}}async fetch(be,_e={}){let{allowStale:Re=this.allowStale,updateAgeOnGet:De=this.updateAgeOnGet,noDeleteOnStaleGet:z=this.noDeleteOnStaleGet,ttl:D=this.ttl,noDisposeOnSet:q=this.noDisposeOnSet,size:oe=0,sizeCalculation:ye=this.sizeCalculation,noUpdateTTL:ce=this.noUpdateTTL,noDeleteOnFetchRejection:Be=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:Ve=this.allowStaleOnFetchRejection,ignoreFetchAbort:re=this.ignoreFetchAbort,allowStaleOnFetchAbort:Me=this.allowStaleOnFetchAbort,context:je,forceRefresh:ke=!1,status:Ge,signal:Ue}=_e;if(!Fe(this,$))return Ge&&(Ge.fetch="get"),this.get(be,{allowStale:Re,updateAgeOnGet:De,noDeleteOnStaleGet:z,status:Ge});let qe={allowStale:Re,updateAgeOnGet:De,noDeleteOnStaleGet:z,ttl:D,noDisposeOnSet:q,size:oe,sizeCalculation:ye,noUpdateTTL:ce,noDeleteOnFetchRejection:Be,allowStaleOnFetchRejection:Ve,allowStaleOnFetchAbort:Me,ignoreFetchAbort:re,status:Ge,signal:Ue},At=Fe(this,w).get(be);if(At===void 0){Ge&&(Ge.fetch="miss");let at=Dn(this,j,SA).call(this,be,At,qe,je);return at.__returned=at}else{let at=Fe(this,O)[At];if(Dn(this,j,ho).call(this,at)){let Vt=Re&&at.__staleWhileFetching!==void 0;return Ge&&(Ge.fetch="inflight",Vt&&(Ge.returnedStale=!0)),Vt?at.__staleWhileFetching:at.__returned=at}let pt=Fe(this,K).call(this,At);if(!ke&&!pt)return Ge&&(Ge.fetch="hit"),Dn(this,j,OC).call(this,At),De&&Fe(this,Z).call(this,At),Ge&&Fe(this,te).call(this,Ge,At),at;let Ct=Dn(this,j,SA).call(this,be,At,qe,je),bt=Ct.__staleWhileFetching!==void 0&ℜreturn Ge&&(Ge.fetch=pt?"stale":"refresh",bt&&pt&&(Ge.returnedStale=!0)),bt?Ct.__staleWhileFetching:Ct.__returned=Ct}}get(be,_e={}){let{allowStale:Re=this.allowStale,updateAgeOnGet:De=this.updateAgeOnGet,noDeleteOnStaleGet:z=this.noDeleteOnStaleGet,status:D}=_e,q=Fe(this,w).get(be);if(q!==void 0){let oe=Fe(this,O)[q],ye=Dn(this,j,ho).call(this,oe);return D&&Fe(this,te).call(this,D,q),Fe(this,K).call(this,q)?(D&&(D.get="stale"),ye?(D&&Re&&oe.__staleWhileFetching!==void 0&&(D.returnedStale=!0),Re?oe.__staleWhileFetching:void 0):(z||this.delete(be),D&&Re&&(D.returnedStale=!0),Re?oe:void 0)):(D&&(D.get="hit"),ye?oe.__staleWhileFetching:(Dn(this,j,OC).call(this,q),De&&Fe(this,Z).call(this,q),oe))}else D&&(D.get="miss")}delete(be){var Re,De,z,D;let _e=!1;if(Fe(this,C)!==0){let q=Fe(this,w).get(be);if(q!==void 0)if(_e=!0,Fe(this,C)===1)this.clear();else{Fe(this,ie).call(this,q);let oe=Fe(this,O)[q];Dn(this,j,ho).call(this,oe)?oe.__abortController.abort(new Error("deleted")):(Fe(this,V)||Fe(this,W))&&(Fe(this,V)&&((Re=Fe(this,b))==null||Re.call(this,oe,be,"delete")),Fe(this,W)&&((De=Fe(this,P))==null||De.push([oe,be,"delete"]))),Fe(this,w).delete(be),Fe(this,T)[q]=void 0,Fe(this,O)[q]=void 0,q===Fe(this,M)?yn(this,M,Fe(this,A)[q]):q===Fe(this,I)?yn(this,I,Fe(this,x)[q]):(Fe(this,x)[Fe(this,A)[q]]=Fe(this,x)[q],Fe(this,A)[Fe(this,x)[q]]=Fe(this,A)[q]),Kg(this,C)._--,Fe(this,B).push(q)}}if(Fe(this,W)&&((z=Fe(this,P))!=null&&z.length)){let q=Fe(this,P),oe;for(;oe=q==null?void 0:q.shift();)(D=Fe(this,_))==null||D.call(this,...oe)}return _e}clear(){var be,_e,Re;for(let De of Dn(this,j,Xh).call(this,{allowStale:!0})){let z=Fe(this,O)[De];if(Dn(this,j,ho).call(this,z))z.__abortController.abort(new Error("deleted"));else{let D=Fe(this,T)[De];Fe(this,V)&&((be=Fe(this,b))==null||be.call(this,z,D,"delete")),Fe(this,W)&&((_e=Fe(this,P))==null||_e.push([z,D,"delete"]))}}if(Fe(this,w).clear(),Fe(this,O).fill(void 0),Fe(this,T).fill(void 0),Fe(this,L)&&Fe(this,N)&&(Fe(this,L).fill(0),Fe(this,N).fill(0)),Fe(this,k)&&Fe(this,k).fill(0),yn(this,I,0),yn(this,M,0),Fe(this,B).length=0,yn(this,S,0),yn(this,C,0),Fe(this,W)&&Fe(this,P)){let De=Fe(this,P),z;for(;z=De==null?void 0:De.shift();)(Re=Fe(this,_))==null||Re.call(this,...z)}}},v=new WeakMap,y=new WeakMap,b=new WeakMap,_=new WeakMap,E=new WeakMap,C=new WeakMap,S=new WeakMap,w=new WeakMap,T=new WeakMap,O=new WeakMap,x=new WeakMap,A=new WeakMap,I=new WeakMap,M=new WeakMap,B=new WeakMap,P=new WeakMap,k=new WeakMap,N=new WeakMap,L=new WeakMap,V=new WeakMap,$=new WeakMap,W=new WeakMap,j=new WeakSet,Mj=function(){let be=new u(Fe(this,v)),_e=new u(Fe(this,v));yn(this,L,be),yn(this,N,_e),yn(this,ae,(z,D,q=t.now())=>{if(_e[z]=D!==0?q:0,be[z]=D,D!==0&&this.ttlAutopurge){let oe=setTimeout(()=>{Fe(this,K).call(this,z)&&this.delete(Fe(this,T)[z])},D+1);oe.unref&&oe.unref()}}),yn(this,Z,z=>{_e[z]=be[z]!==0?t.now():0}),yn(this,te,(z,D)=>{if(be[D]){let q=be[D],oe=_e[D];z.ttl=q,z.start=oe,z.now=Re||De();let ye=z.now-oe;z.remainingTTL=q-ye}});let Re=0,De=()=>{let z=t.now();if(this.ttlResolution>0){Re=z;let D=setTimeout(()=>Re=0,this.ttlResolution);D.unref&&D.unref()}return z};this.getRemainingTTL=z=>{let D=Fe(this,w).get(z);if(D===void 0)return 0;let q=be[D],oe=_e[D];if(q===0||oe===0)return 1/0;let ye=(Re||De())-oe;return q-ye},yn(this,K,z=>be[z]!==0&&_e[z]!==0&&(Re||De())-_e[z]>be[z])},Z=new WeakMap,te=new WeakMap,ae=new WeakMap,K=new WeakMap,vbe=function(){let be=new u(Fe(this,v));yn(this,S,0),yn(this,k,be),yn(this,ie,_e=>{yn(this,S,Fe(this,S)-be[_e]),be[_e]=0}),yn(this,pe,(_e,Re,De,z)=>{if(Dn(this,j,ho).call(this,Re))return 0;if(!l(De))if(z){if(typeof z!="function")throw new TypeError("sizeCalculation must be a function");if(De=z(Re,_e),!l(De))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return De}),yn(this,he,(_e,Re,De)=>{if(be[_e]=Re,Fe(this,y)){let z=Fe(this,y)-be[_e];for(;Fe(this,S)>z;)Dn(this,j,_A).call(this,!0)}yn(this,S,Fe(this,S)+be[_e]),De&&(De.entrySize=Re,De.totalCalculatedSize=Fe(this,S))})},ie=new WeakMap,he=new WeakMap,pe=new WeakMap,Qh=function*({allowStale:be=this.allowStale}={}){if(Fe(this,C))for(let _e=Fe(this,M);!(!Dn(this,j,kj).call(this,_e)||((be||!Fe(this,K).call(this,_e))&&(yield _e),_e===Fe(this,I)));)_e=Fe(this,A)[_e]},Xh=function*({allowStale:be=this.allowStale}={}){if(Fe(this,C))for(let _e=Fe(this,I);!(!Dn(this,j,kj).call(this,_e)||((be||!Fe(this,K).call(this,_e))&&(yield _e),_e===Fe(this,M)));)_e=Fe(this,x)[_e]},kj=function(be){return be!==void 0&&Fe(this,w).get(Fe(this,T)[be])===be},_A=function(be){var z,D;let _e=Fe(this,I),Re=Fe(this,T)[_e],De=Fe(this,O)[_e];return Fe(this,$)&&Dn(this,j,ho).call(this,De)?De.__abortController.abort(new Error("evicted")):(Fe(this,V)||Fe(this,W))&&(Fe(this,V)&&((z=Fe(this,b))==null||z.call(this,De,Re,"evict")),Fe(this,W)&&((D=Fe(this,P))==null||D.push([De,Re,"evict"]))),Fe(this,ie).call(this,_e),be&&(Fe(this,T)[_e]=void 0,Fe(this,O)[_e]=void 0,Fe(this,B).push(_e)),Fe(this,C)===1?(yn(this,I,yn(this,M,0)),Fe(this,B).length=0):yn(this,I,Fe(this,x)[_e]),Fe(this,w).delete(Re),Kg(this,C)._--,_e},SA=function(be,_e,Re,De){let z=_e===void 0?void 0:Fe(this,O)[_e];if(Dn(this,j,ho).call(this,z))return z;let D=new o,{signal:q}=Re;q==null||q.addEventListener("abort",()=>D.abort(q.reason),{signal:D.signal});let oe={signal:D.signal,options:Re,context:De},ye=(je,ke=!1)=>{let{aborted:Ge}=D.signal,Ue=Re.ignoreFetchAbort&&je!==void 0;if(Re.status&&(Ge&&!ke?(Re.status.fetchAborted=!0,Re.status.fetchError=D.signal.reason,Ue&&(Re.status.fetchAbortIgnored=!0)):Re.status.fetchResolved=!0),Ge&&!Ue&&!ke)return Be(D.signal.reason);let qe=re;return Fe(this,O)[_e]===re&&(je===void 0?qe.__staleWhileFetching?Fe(this,O)[_e]=qe.__staleWhileFetching:this.delete(be):(Re.status&&(Re.status.fetchUpdated=!0),this.set(be,je,oe.options))),je},ce=je=>(Re.status&&(Re.status.fetchRejected=!0,Re.status.fetchError=je),Be(je)),Be=je=>{let{aborted:ke}=D.signal,Ge=ke&&Re.allowStaleOnFetchAbort,Ue=Ge||Re.allowStaleOnFetchRejection,qe=Ue||Re.noDeleteOnFetchRejection,At=re;if(Fe(this,O)[_e]===re&&(!qe||At.__staleWhileFetching===void 0?this.delete(be):Ge||(Fe(this,O)[_e]=At.__staleWhileFetching)),Ue)return Re.status&&At.__staleWhileFetching!==void 0&&(Re.status.returnedStale=!0),At.__staleWhileFetching;if(At.__returned===At)throw je},Ve=(je,ke)=>{var Ue;let Ge=(Ue=Fe(this,E))==null?void 0:Ue.call(this,be,z,oe);Ge&&Ge instanceof Promise&&Ge.then(qe=>je(qe===void 0?void 0:qe),ke),D.signal.addEventListener("abort",()=>{(!Re.ignoreFetchAbort||Re.allowStaleOnFetchAbort)&&(je(void 0),Re.allowStaleOnFetchAbort&&(je=qe=>ye(qe,!0)))})};Re.status&&(Re.status.fetchDispatched=!0);let re=new Promise(Ve).then(ye,ce),Me=Object.assign(re,{__abortController:D,__staleWhileFetching:z,__returned:void 0});return _e===void 0?(this.set(be,Me,{...oe.options,status:void 0}),_e=Fe(this,w).get(be)):Fe(this,O)[_e]=Me,Me},ho=function(be){if(!Fe(this,$))return!1;let _e=be;return!!_e&&_e instanceof Promise&&_e.hasOwnProperty("__staleWhileFetching")&&_e.__abortController instanceof o},Pj=function(be,_e){Fe(this,A)[_e]=be,Fe(this,x)[be]=_e},OC=function(be){be!==Fe(this,M)&&(be===Fe(this,I)?yn(this,I,Fe(this,x)[be]):Dn(this,j,Pj).call(this,Fe(this,A)[be],Fe(this,x)[be]),Dn(this,j,Pj).call(this,Fe(this,M),be),yn(this,M,be))},Se);e.LRUCache=f}),_h=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.ContainerIterator=e.Container=e.Base=void 0;var t=class{constructor(i=0){this.iteratorType=i}equals(i){return this.o===i.o}};e.ContainerIterator=t;var n=class{constructor(){this.i=0}get length(){return this.i}size(){return this.i}empty(){return this.i===0}};e.Base=n;var r=class extends n{};e.Container=r}),Dje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=_h(),n=class extends t.Base{constructor(i=[]){super(),this.S=[];let o=this;i.forEach(function(a){o.push(a)})}clear(){this.i=0,this.S=[]}push(i){return this.S.push(i),this.i+=1,this.i}pop(){if(this.i!==0)return this.i-=1,this.S.pop()}top(){return this.S[this.i-1]}},r=n;e.default=r}),Lje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=_h(),n=class extends t.Base{constructor(i=[]){super(),this.j=0,this.q=[];let o=this;i.forEach(function(a){o.push(a)})}clear(){this.q=[],this.i=this.j=0}push(i){let o=this.q.length;if(this.j/o>.5&&this.j+this.i>=o&&o>4096){let a=this.i;for(let s=0;s{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=_h(),n=class extends t.Base{constructor(i=[],o=function(s,l){return s>l?-1:s>1;for(let l=this.i-1>>1;l>=0;--l)this.k(l,s)}m(i){let o=this.C[i];for(;i>0;){let a=i-1>>1,s=this.C[a];if(this.v(s,o)<=0)break;this.C[i]=s,i=a}this.C[i]=o}k(i,o){let a=this.C[i];for(;i0&&(s=l,c=this.C[l]),this.v(c,a)>=0)break;this.C[i]=c,i=s}this.C[i]=a}clear(){this.i=0,this.C.length=0}push(i){this.C.push(i),this.m(this.i),this.i+=1}pop(){if(this.i===0)return;let i=this.C[0],o=this.C.pop();return this.i-=1,this.i&&(this.C[0]=o,this.k(0,this.i>>1)),i}top(){return this.C[0]}find(i){return this.C.indexOf(i)>=0}remove(i){let o=this.C.indexOf(i);return o<0?!1:(o===0?this.pop():o===this.i-1?(this.C.pop(),this.i-=1):(this.C.splice(o,1,this.C.pop()),this.i-=1,this.m(o),this.k(o,this.i>>1)),!0)}updateItem(i){let o=this.C.indexOf(i);return o<0?!1:(this.m(o),this.k(o,this.i>>1),!0)}toArray(){return[...this.C]}},r=n;e.default=r}),wW=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=_h(),n=class extends t.Container{},r=n;e.default=r}),Sh=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.throwIteratorAccessError=t;function t(){throw new RangeError("Iterator access denied!")}}),bbe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.RandomIterator=void 0;var t=_h(),n=Sh(),r=class extends t.ContainerIterator{constructor(i,o){super(o),this.o=i,this.iteratorType===0?(this.pre=function(){return this.o===0&&(0,n.throwIteratorAccessError)(),this.o-=1,this},this.next=function(){return this.o===this.container.size()&&(0,n.throwIteratorAccessError)(),this.o+=1,this}):(this.pre=function(){return this.o===this.container.size()-1&&(0,n.throwIteratorAccessError)(),this.o+=1,this},this.next=function(){return this.o===-1&&(0,n.throwIteratorAccessError)(),this.o-=1,this})}get pointer(){return this.container.getElementByPos(this.o)}set pointer(i){this.container.setElementByPos(this.o,i)}};e.RandomIterator=r}),Fje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=r(wW()),n=bbe();function r(s){return s&&s.t?s:{default:s}}var i=class ybe extends n.RandomIterator{constructor(l,c,u){super(l,u),this.container=c}copy(){return new ybe(this.o,this.container,this.iteratorType)}},o=class extends t.default{constructor(s=[],l=!0){if(super(),Array.isArray(s))this.J=l?[...s]:s,this.i=s.length;else{this.J=[];let c=this;s.forEach(function(u){c.pushBack(u)})}}clear(){this.i=0,this.J.length=0}begin(){return new i(0,this)}end(){return new i(this.i,this)}rBegin(){return new i(this.i-1,this,1)}rEnd(){return new i(-1,this,1)}front(){return this.J[0]}back(){return this.J[this.i-1]}getElementByPos(s){if(s<0||s>this.i-1)throw new RangeError;return this.J[s]}eraseElementByPos(s){if(s<0||s>this.i-1)throw new RangeError;return this.J.splice(s,1),this.i-=1,this.i}eraseElementByValue(s){let l=0;for(let c=0;cthis.i-1)throw new RangeError;this.J[s]=l}insert(s,l,c=1){if(s<0||s>this.i)throw new RangeError;return this.J.splice(s,0,...new Array(c).fill(l)),this.i+=c,this.i}find(s){for(let l=0;l{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=i(wW()),n=_h(),r=Sh();function i(l){return l&&l.t?l:{default:l}}var o=class _be extends n.ContainerIterator{constructor(c,u,d,f){super(f),this.o=c,this.h=u,this.container=d,this.iteratorType===0?(this.pre=function(){return this.o.L===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.L,this})}get pointer(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o.l}set pointer(c){this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o.l=c}copy(){return new _be(this.o,this.h,this.container,this.iteratorType)}},a=class extends t.default{constructor(l=[]){super(),this.h={},this.p=this._=this.h.L=this.h.B=this.h;let c=this;l.forEach(function(u){c.pushBack(u)})}V(l){let{L:c,B:u}=l;c.B=u,u.L=c,l===this.p&&(this.p=u),l===this._&&(this._=c),this.i-=1}G(l,c){let u=c.B,d={l,L:c,B:u};c.B=d,u.L=d,c===this.h&&(this.p=d),u===this.h&&(this._=d),this.i+=1}clear(){this.i=0,this.p=this._=this.h.L=this.h.B=this.h}begin(){return new o(this.p,this.h,this)}end(){return new o(this.h,this.h,this)}rBegin(){return new o(this._,this.h,this,1)}rEnd(){return new o(this.h,this.h,this,1)}front(){return this.p.l}back(){return this._.l}getElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let c=this.p;for(;l--;)c=c.B;return c.l}eraseElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let c=this.p;for(;l--;)c=c.B;return this.V(c),this.i}eraseElementByValue(l){let c=this.p;for(;c!==this.h;)c.l===l&&this.V(c),c=c.B;return this.i}eraseElementByIterator(l){let c=l.o;return c===this.h&&(0,r.throwIteratorAccessError)(),l=l.next(),this.V(c),l}pushBack(l){return this.G(l,this._),this.i}popBack(){if(this.i===0)return;let l=this._.l;return this.V(this._),l}pushFront(l){return this.G(l,this.h),this.i}popFront(){if(this.i===0)return;let l=this.p.l;return this.V(this.p),l}setElementByPos(l,c){if(l<0||l>this.i-1)throw new RangeError;let u=this.p;for(;l--;)u=u.B;u.l=c}insert(l,c,u=1){if(l<0||l>this.i)throw new RangeError;if(u<=0)return this.i;if(l===0)for(;u--;)this.pushFront(c);else if(l===this.i)for(;u--;)this.pushBack(c);else{let d=this.p;for(let h=1;h{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=r(wW()),n=bbe();function r(s){return s&&s.t?s:{default:s}}var i=class Sbe extends n.RandomIterator{constructor(l,c,u){super(l,u),this.container=c}copy(){return new Sbe(this.o,this.container,this.iteratorType)}},o=class extends t.default{constructor(s=[],l=4096){super(),this.j=0,this.D=0,this.R=0,this.N=0,this.P=0,this.A=[];let c=(()=>{if(typeof s.length=="number")return s.length;if(typeof s.size=="number")return s.size;if(typeof s.size=="function")return s.size();throw new TypeError("Cannot get the length or size of the container")})();this.F=l,this.P=Math.max(Math.ceil(c/this.F),1);for(let f=0;f>1)-(u>>1),this.D=this.N=this.F-c%this.F>>1;let d=this;s.forEach(function(f){d.pushBack(f)})}T(){let s=[],l=Math.max(this.P>>1,1);for(let c=0;c>1}begin(){return new i(0,this)}end(){return new i(this.i,this)}rBegin(){return new i(this.i-1,this,1)}rEnd(){return new i(-1,this,1)}front(){if(this.i!==0)return this.A[this.j][this.D]}back(){if(this.i!==0)return this.A[this.R][this.N]}pushBack(s){return this.i&&(this.N0?this.N-=1:this.R>0?(this.R-=1,this.N=this.F-1):(this.R=this.P-1,this.N=this.F-1)),this.i-=1,s}pushFront(s){return this.i&&(this.D>0?this.D-=1:this.j>0?(this.j-=1,this.D=this.F-1):(this.j=this.P-1,this.D=this.F-1),this.j===this.R&&this.D===this.N&&this.T()),this.i+=1,this.A[this.j][this.D]=s,this.i}popFront(){if(this.i===0)return;let s=this.A[this.j][this.D];return this.i!==1&&(this.Dthis.i-1)throw new RangeError;let{curNodeBucketIndex:l,curNodePointerIndex:c}=this.O(s);return this.A[l][c]}setElementByPos(s,l){if(s<0||s>this.i-1)throw new RangeError;let{curNodeBucketIndex:c,curNodePointerIndex:u}=this.O(s);this.A[c][u]=l}insert(s,l,c=1){if(s<0||s>this.i)throw new RangeError;if(s===0)for(;c--;)this.pushFront(l);else if(s===this.i)for(;c--;)this.pushBack(l);else{let u=[];for(let d=s;dthis.i-1)throw new RangeError;if(s===0)this.popFront();else if(s===this.i-1)this.popBack();else{let l=[];for(let u=s+1;us;)this.popBack();return this.i}sort(s){let l=[];for(let c=0;c{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.TreeNodeEnableIndex=e.TreeNode=void 0;var t=class{constructor(r,i){this.ee=1,this.u=void 0,this.l=void 0,this.U=void 0,this.W=void 0,this.tt=void 0,this.u=r,this.l=i}L(){let r=this;if(r.ee===1&&r.tt.tt===r)r=r.W;else if(r.U)for(r=r.U;r.W;)r=r.W;else{let i=r.tt;for(;i.U===r;)r=i,i=r.tt;r=i}return r}B(){let r=this;if(r.W){for(r=r.W;r.U;)r=r.U;return r}else{let i=r.tt;for(;i.W===r;)r=i,i=r.tt;return r.W!==i?i:r}}te(){let r=this.tt,i=this.W,o=i.U;return r.tt===this?r.tt=i:r.U===this?r.U=i:r.W=i,i.tt=r,i.U=this,this.tt=i,this.W=o,o&&(o.tt=this),i}se(){let r=this.tt,i=this.U,o=i.W;return r.tt===this?r.tt=i:r.U===this?r.U=i:r.W=i,i.tt=r,i.W=this,this.tt=i,this.U=o,o&&(o.tt=this),i}};e.TreeNode=t;var n=class extends t{constructor(){super(...arguments),this.rt=1}te(){let r=super.te();return this.ie(),r.ie(),r}se(){let r=super.se();return this.ie(),r.ie(),r}ie(){this.rt=1,this.U&&(this.rt+=this.U.rt),this.W&&(this.rt+=this.W.rt)}};e.TreeNodeEnableIndex=n}),Ebe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Hje(),n=_h(),r=Sh(),i=class extends n.Container{constructor(a=function(l,c){return lc?1:0},s=!1){super(),this.Y=void 0,this.v=a,s?(this.re=t.TreeNodeEnableIndex,this.M=function(l,c,u){let d=this.ne(l,c,u);if(d){let f=d.tt;for(;f!==this.h;)f.rt+=1,f=f.tt;let h=this.he(d);if(h){let{parentNode:m,grandParent:g,curNode:v}=h;m.ie(),g.ie(),v.ie()}}return this.i},this.V=function(l){let c=this.fe(l);for(;c!==this.h;)c.rt-=1,c=c.tt}):(this.re=t.TreeNode,this.M=function(l,c,u){let d=this.ne(l,c,u);return d&&this.he(d),this.i},this.V=this.fe),this.h=new this.re}X(a,s){let l=this.h;for(;a;){let c=this.v(a.u,s);if(c<0)a=a.W;else if(c>0)l=a,a=a.U;else return a}return l}Z(a,s){let l=this.h;for(;a;)this.v(a.u,s)<=0?a=a.W:(l=a,a=a.U);return l}$(a,s){let l=this.h;for(;a;){let c=this.v(a.u,s);if(c<0)l=a,a=a.W;else if(c>0)a=a.U;else return a}return l}rr(a,s){let l=this.h;for(;a;)this.v(a.u,s)<0?(l=a,a=a.W):a=a.U;return l}ue(a){for(;;){let s=a.tt;if(s===this.h)return;if(a.ee===1){a.ee=0;return}if(a===s.U){let l=s.W;if(l.ee===1)l.ee=0,s.ee=1,s===this.Y?this.Y=s.te():s.te();else if(l.W&&l.W.ee===1){l.ee=s.ee,s.ee=0,l.W.ee=0,s===this.Y?this.Y=s.te():s.te();return}else l.U&&l.U.ee===1?(l.ee=1,l.U.ee=0,l.se()):(l.ee=1,a=s)}else{let l=s.U;if(l.ee===1)l.ee=0,s.ee=1,s===this.Y?this.Y=s.se():s.se();else if(l.U&&l.U.ee===1){l.ee=s.ee,s.ee=0,l.U.ee=0,s===this.Y?this.Y=s.se():s.se();return}else l.W&&l.W.ee===1?(l.ee=1,l.W.ee=0,l.te()):(l.ee=1,a=s)}}}fe(a){if(this.i===1)return this.clear(),this.h;let s=a;for(;s.U||s.W;){if(s.W)for(s=s.W;s.U;)s=s.U;else s=s.U;[a.u,s.u]=[s.u,a.u],[a.l,s.l]=[s.l,a.l],a=s}this.h.U===s?this.h.U=s.tt:this.h.W===s&&(this.h.W=s.tt),this.ue(s);let l=s.tt;return s===l.U?l.U=void 0:l.W=void 0,this.i-=1,this.Y.ee=0,l}oe(a,s){return a===void 0?!1:this.oe(a.U,s)||s(a)?!0:this.oe(a.W,s)}he(a){for(;;){let s=a.tt;if(s.ee===0)return;let l=s.tt;if(s===l.U){let c=l.W;if(c&&c.ee===1){if(c.ee=s.ee=0,l===this.Y)return;l.ee=1,a=l;continue}else if(a===s.W){if(a.ee=0,a.U&&(a.U.tt=s),a.W&&(a.W.tt=l),s.W=a.U,l.U=a.W,a.U=s,a.W=l,l===this.Y)this.Y=a,this.h.tt=a;else{let u=l.tt;u.U===l?u.U=a:u.W=a}return a.tt=l.tt,s.tt=a,l.tt=a,l.ee=1,{parentNode:s,grandParent:l,curNode:a}}else s.ee=0,l===this.Y?this.Y=l.se():l.se(),l.ee=1}else{let c=l.U;if(c&&c.ee===1){if(c.ee=s.ee=0,l===this.Y)return;l.ee=1,a=l;continue}else if(a===s.U){if(a.ee=0,a.U&&(a.U.tt=l),a.W&&(a.W.tt=s),l.W=a.U,s.U=a.W,a.U=l,a.W=s,l===this.Y)this.Y=a,this.h.tt=a;else{let u=l.tt;u.U===l?u.U=a:u.W=a}return a.tt=l.tt,s.tt=a,l.tt=a,l.ee=1,{parentNode:s,grandParent:l,curNode:a}}else s.ee=0,l===this.Y?this.Y=l.te():l.te(),l.ee=1}return}}ne(a,s,l){if(this.Y===void 0){this.i+=1,this.Y=new this.re(a,s),this.Y.ee=0,this.Y.tt=this.h,this.h.tt=this.Y,this.h.U=this.Y,this.h.W=this.Y;return}let c,u=this.h.U,d=this.v(u.u,a);if(d===0){u.l=s;return}else if(d>0)u.U=new this.re(a,s),u.U.tt=u,c=u.U,this.h.U=c;else{let f=this.h.W,h=this.v(f.u,a);if(h===0){f.l=s;return}else if(h<0)f.W=new this.re(a,s),f.W.tt=f,c=f.W,this.h.W=c;else{if(l!==void 0){let m=l.o;if(m!==this.h){let g=this.v(m.u,a);if(g===0){m.l=s;return}else if(g>0){let v=m.L(),y=this.v(v.u,a);if(y===0){v.l=s;return}else y<0&&(c=new this.re(a,s),v.W===void 0?(v.W=c,c.tt=v):(m.U=c,c.tt=m))}}}if(c===void 0)for(c=this.Y;;){let m=this.v(c.u,a);if(m>0){if(c.U===void 0){c.U=new this.re(a,s),c.U.tt=c,c=c.U;break}c=c.U}else if(m<0){if(c.W===void 0){c.W=new this.re(a,s),c.W.tt=c,c=c.W;break}c=c.W}else{c.l=s;return}}}}return this.i+=1,c}I(a,s){for(;a;){let l=this.v(a.u,s);if(l<0)a=a.W;else if(l>0)a=a.U;else return a}return a||this.h}clear(){this.i=0,this.Y=void 0,this.h.tt=void 0,this.h.U=this.h.W=void 0}updateKeyByIterator(a,s){let l=a.o;if(l===this.h&&(0,r.throwIteratorAccessError)(),this.i===1)return l.u=s,!0;if(l===this.h.U)return this.v(l.B().u,s)>0?(l.u=s,!0):!1;if(l===this.h.W)return this.v(l.L().u,s)<0?(l.u=s,!0):!1;let c=l.L().u;if(this.v(c,s)>=0)return!1;let u=l.B().u;return this.v(u,s)<=0?!1:(l.u=s,!0)}eraseElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;let s=0,l=this;return this.oe(this.Y,function(c){return a===s?(l.V(c),!0):(s+=1,!1)}),this.i}eraseElementByKey(a){if(this.i===0)return!1;let s=this.I(this.Y,a);return s===this.h?!1:(this.V(s),!0)}eraseElementByIterator(a){let s=a.o;s===this.h&&(0,r.throwIteratorAccessError)();let l=s.W===void 0;return a.iteratorType===0?l&&a.next():(!l||s.U===void 0)&&a.next(),this.V(s),a}forEach(a){let s=0;for(let l of this)a(l,s++,this)}getElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;let s,l=0;for(let c of this){if(l===a){s=c;break}l+=1}return s}getHeight(){if(this.i===0)return 0;let a=function(s){return s?Math.max(a(s.U),a(s.W))+1:0};return a(this.Y)}},o=i;e.default=o}),Cbe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=_h(),n=Sh(),r=class extends t.ContainerIterator{constructor(o,a,s){super(s),this.o=o,this.h=a,this.iteratorType===0?(this.pre=function(){return this.o===this.h.U&&(0,n.throwIteratorAccessError)(),this.o=this.o.L(),this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B(),this}):(this.pre=function(){return this.o===this.h.W&&(0,n.throwIteratorAccessError)(),this.o=this.o.B(),this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L(),this})}get index(){let o=this.o,a=this.h.tt;if(o===this.h)return a?a.rt-1:0;let s=0;for(o.U&&(s+=o.U.rt);o!==a;){let l=o.tt;o===l.W&&(s+=1,l.U&&(s+=l.U.rt)),o=l}return s}},i=r;e.default=i}),Uje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=i(Ebe()),n=i(Cbe()),r=Sh();function i(l){return l&&l.t?l:{default:l}}var o=class wbe extends n.default{constructor(c,u,d,f){super(c,u,f),this.container=d}get pointer(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o.u}copy(){return new wbe(this.o,this.h,this.container,this.iteratorType)}},a=class extends t.default{constructor(l=[],c,u){super(c,u);let d=this;l.forEach(function(f){d.insert(f)})}*K(l){l!==void 0&&(yield*this.K(l.U),yield l.u,yield*this.K(l.W))}begin(){return new o(this.h.U||this.h,this.h,this)}end(){return new o(this.h,this.h,this)}rBegin(){return new o(this.h.W||this.h,this.h,this,1)}rEnd(){return new o(this.h,this.h,this,1)}front(){return this.h.U?this.h.U.u:void 0}back(){return this.h.W?this.h.W.u:void 0}insert(l,c){return this.M(l,void 0,c)}find(l){let c=this.I(this.Y,l);return new o(c,this.h,this)}lowerBound(l){let c=this.X(this.Y,l);return new o(c,this.h,this)}upperBound(l){let c=this.Z(this.Y,l);return new o(c,this.h,this)}reverseLowerBound(l){let c=this.$(this.Y,l);return new o(c,this.h,this)}reverseUpperBound(l){let c=this.rr(this.Y,l);return new o(c,this.h,this)}union(l){let c=this;return l.forEach(function(u){c.insert(u)}),this.i}[Symbol.iterator](){return this.K(this.Y)}},s=a;e.default=s}),zje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=i(Ebe()),n=i(Cbe()),r=Sh();function i(l){return l&&l.t?l:{default:l}}var o=class Tbe extends n.default{constructor(c,u,d,f){super(c,u,f),this.container=d}get pointer(){this.o===this.h&&(0,r.throwIteratorAccessError)();let c=this;return new Proxy([],{get(u,d){if(d==="0")return c.o.u;if(d==="1")return c.o.l},set(u,d,f){if(d!=="1")throw new TypeError("props must be 1");return c.o.l=f,!0}})}copy(){return new Tbe(this.o,this.h,this.container,this.iteratorType)}},a=class extends t.default{constructor(l=[],c,u){super(c,u);let d=this;l.forEach(function(f){d.setElement(f[0],f[1])})}*K(l){l!==void 0&&(yield*this.K(l.U),yield[l.u,l.l],yield*this.K(l.W))}begin(){return new o(this.h.U||this.h,this.h,this)}end(){return new o(this.h,this.h,this)}rBegin(){return new o(this.h.W||this.h,this.h,this,1)}rEnd(){return new o(this.h,this.h,this,1)}front(){if(this.i===0)return;let l=this.h.U;return[l.u,l.l]}back(){if(this.i===0)return;let l=this.h.W;return[l.u,l.l]}lowerBound(l){let c=this.X(this.Y,l);return new o(c,this.h,this)}upperBound(l){let c=this.Z(this.Y,l);return new o(c,this.h,this)}reverseLowerBound(l){let c=this.$(this.Y,l);return new o(c,this.h,this)}reverseUpperBound(l){let c=this.rr(this.Y,l);return new o(c,this.h,this)}setElement(l,c,u){return this.M(l,c,u)}find(l){let c=this.I(this.Y,l);return new o(c,this.h,this)}getElementByKey(l){return this.I(this.Y,l).l}union(l){let c=this;return l.forEach(function(u){c.setElement(u[0],u[1])}),this.i}[Symbol.iterator](){return this.K(this.Y)}},s=a;e.default=s}),xbe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=t;function t(n){let r=typeof n;return r==="object"&&n!==null||r==="function"}}),Obe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.HashContainerIterator=e.HashContainer=void 0;var t=_h(),n=i(xbe()),r=Sh();function i(s){return s&&s.t?s:{default:s}}var o=class extends t.ContainerIterator{constructor(s,l,c){super(c),this.o=s,this.h=l,this.iteratorType===0?(this.pre=function(){return this.o.L===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.L,this})}};e.HashContainerIterator=o;var a=class extends t.Container{constructor(){super(),this.H=[],this.g={},this.HASH_TAG=Symbol("@@HASH_TAG"),Object.setPrototypeOf(this.g,null),this.h={},this.h.L=this.h.B=this.p=this._=this.h}V(s){let{L:l,B:c}=s;l.B=c,c.L=l,s===this.p&&(this.p=c),s===this._&&(this._=l),this.i-=1}M(s,l,c){c===void 0&&(c=(0,n.default)(s));let u;if(c){let d=s[this.HASH_TAG];if(d!==void 0)return this.H[d].l=l,this.i;Object.defineProperty(s,this.HASH_TAG,{value:this.H.length,configurable:!0}),u={u:s,l,L:this._,B:this.h},this.H.push(u)}else{let d=this.g[s];if(d)return d.l=l,this.i;u={u:s,l,L:this._,B:this.h},this.g[s]=u}return this.i===0?(this.p=u,this.h.B=u):this._.B=u,this._=u,this.h.L=u,++this.i}I(s,l){if(l===void 0&&(l=(0,n.default)(s)),l){let c=s[this.HASH_TAG];return c===void 0?this.h:this.H[c]}else return this.g[s]||this.h}clear(){let s=this.HASH_TAG;this.H.forEach(function(l){delete l.u[s]}),this.H=[],this.g={},Object.setPrototypeOf(this.g,null),this.i=0,this.p=this._=this.h.L=this.h.B=this.h}eraseElementByKey(s,l){let c;if(l===void 0&&(l=(0,n.default)(s)),l){let u=s[this.HASH_TAG];if(u===void 0)return!1;delete s[this.HASH_TAG],c=this.H[u],delete this.H[u]}else{if(c=this.g[s],c===void 0)return!1;delete this.g[s]}return this.V(c),!0}eraseElementByIterator(s){let l=s.o;return l===this.h&&(0,r.throwIteratorAccessError)(),this.V(l),s.next()}eraseElementByPos(s){if(s<0||s>this.i-1)throw new RangeError;let l=this.p;for(;s--;)l=l.B;return this.V(l),this.i}};e.HashContainer=a}),Vje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Obe(),n=Sh(),r=class Rbe extends t.HashContainerIterator{constructor(s,l,c,u){super(s,l,u),this.container=c}get pointer(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.u}copy(){return new Rbe(this.o,this.h,this.container,this.iteratorType)}},i=class extends t.HashContainer{constructor(a=[]){super();let s=this;a.forEach(function(l){s.insert(l)})}begin(){return new r(this.p,this.h,this)}end(){return new r(this.h,this.h,this)}rBegin(){return new r(this._,this.h,this,1)}rEnd(){return new r(this.h,this.h,this,1)}front(){return this.p.u}back(){return this._.u}insert(a,s){return this.M(a,void 0,s)}getElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;let s=this.p;for(;a--;)s=s.B;return s.u}find(a,s){let l=this.I(a,s);return new r(l,this.h,this)}forEach(a){let s=0,l=this.p;for(;l!==this.h;)a(l.u,s++,this),l=l.B}[Symbol.iterator](){return(function*(){let a=this.p;for(;a!==this.h;)yield a.u,a=a.B}).bind(this)()}},o=i;e.default=o}),Gje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Obe(),n=i(xbe()),r=Sh();function i(l){return l&&l.t?l:{default:l}}var o=class Ibe extends t.HashContainerIterator{constructor(c,u,d,f){super(c,u,f),this.container=d}get pointer(){this.o===this.h&&(0,r.throwIteratorAccessError)();let c=this;return new Proxy([],{get(u,d){if(d==="0")return c.o.u;if(d==="1")return c.o.l},set(u,d,f){if(d!=="1")throw new TypeError("props must be 1");return c.o.l=f,!0}})}copy(){return new Ibe(this.o,this.h,this.container,this.iteratorType)}},a=class extends t.HashContainer{constructor(l=[]){super();let c=this;l.forEach(function(u){c.setElement(u[0],u[1])})}begin(){return new o(this.p,this.h,this)}end(){return new o(this.h,this.h,this)}rBegin(){return new o(this._,this.h,this,1)}rEnd(){return new o(this.h,this.h,this,1)}front(){if(this.i!==0)return[this.p.u,this.p.l]}back(){if(this.i!==0)return[this._.u,this._.l]}setElement(l,c,u){return this.M(l,c,u)}getElementByKey(l,c){if(c===void 0&&(c=(0,n.default)(l)),c){let d=l[this.HASH_TAG];return d!==void 0?this.H[d].l:void 0}let u=this.g[l];return u?u.l:void 0}getElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let c=this.p;for(;l--;)c=c.B;return[c.u,c.l]}find(l,c){let u=this.I(l,c);return new o(u,this.h,this)}forEach(l){let c=0,u=this.p;for(;u!==this.h;)l([u.u,u.l],c++,this),u=u.B}[Symbol.iterator](){return(function*(){let l=this.p;for(;l!==this.h;)yield[l.u,l.l],l=l.B}).bind(this)()}},s=a;e.default=s}),Wje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),Object.defineProperty(e,"Deque",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"HashMap",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"HashSet",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"LinkList",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"OrderedMap",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"OrderedSet",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"PriorityQueue",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"Queue",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Stack",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"Vector",{enumerable:!0,get:function(){return i.default}});var t=d(Dje()),n=d(Lje()),r=d($je()),i=d(Fje()),o=d(Bje()),a=d(jje()),s=d(Uje()),l=d(zje()),c=d(Vje()),u=d(Gje());function d(f){return f&&f.t?f:{default:f}}}),qje=sn((e,t)=>{Jt(),tn(),en();var n=Wje().OrderedSet,r=ah()("number-allocator:trace"),i=ah()("number-allocator:error");function o(s,l){this.low=s,this.high=l}o.prototype.equals=function(s){return this.low===s.low&&this.high===s.high},o.prototype.compare=function(s){return this.lowc.compare(u)),r("Create"),this.clear()}a.prototype.firstVacant=function(){return this.ss.size()===0?null:this.ss.front().low},a.prototype.alloc=function(){if(this.ss.size()===0)return r("alloc():empty"),null;let s=this.ss.begin(),l=s.pointer.low,c=s.pointer.high,u=l;return u+1<=c?this.ss.updateKeyByIterator(s,new o(l+1,c)):this.ss.eraseElementByPos(0),r("alloc():"+u),u},a.prototype.use=function(s){let l=new o(s,s),c=this.ss.lowerBound(l);if(!c.equals(this.ss.end())){let u=c.pointer.low,d=c.pointer.high;return c.pointer.equals(l)?(this.ss.eraseElementByIterator(c),r("use():"+s),!0):u>s?!1:u===s?(this.ss.updateKeyByIterator(c,new o(u+1,d)),r("use():"+s),!0):d===s?(this.ss.updateKeyByIterator(c,new o(u,d-1)),r("use():"+s),!0):(this.ss.updateKeyByIterator(c,new o(s+1,d)),this.ss.insert(new o(u,s-1)),r("use():"+s),!0)}return r("use():failed"),!1},a.prototype.free=function(s){if(sthis.max){i("free():"+s+" is out of range");return}let l=new o(s,s),c=this.ss.upperBound(l);if(c.equals(this.ss.end())){if(c.equals(this.ss.begin())){this.ss.insert(l);return}c.pre();let u=c.pointer.high;c.pointer.high+1===s?this.ss.updateKeyByIterator(c,new o(u,s)):this.ss.insert(l)}else if(c.equals(this.ss.begin()))if(s+1===c.pointer.low){let u=c.pointer.high;this.ss.updateKeyByIterator(c,new o(s,u))}else this.ss.insert(l);else{let u=c.pointer.low,d=c.pointer.high;c.pre();let f=c.pointer.low;c.pointer.high+1===s?s+1===u?(this.ss.eraseElementByIterator(c),this.ss.updateKeyByIterator(c,new o(f,d))):this.ss.updateKeyByIterator(c,new o(f,s)):s+1===u?(this.ss.eraseElementByIterator(c.next()),this.ss.insert(new o(s,d))):this.ss.insert(l)}r("free():"+s)},a.prototype.clear=function(){r("clear()"),this.ss.clear(),this.ss.insert(new o(this.min,this.max))},a.prototype.intervalCount=function(){return this.ss.size()},a.prototype.dump=function(){console.log("length:"+this.ss.size());for(let s of this.ss)console.log(s)},t.exports=a}),Abe=sn((e,t)=>{Jt(),tn(),en();var n=qje();t.exports.NumberAllocator=n}),Yje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pje(),n=Abe(),r=class{constructor(i){i>0&&(this.aliasToTopic=new t.LRUCache({max:i}),this.topicToAlias={},this.numberAllocator=new n.NumberAllocator(1,i),this.max=i,this.length=0)}put(i,o){if(o===0||o>this.max)return!1;let a=this.aliasToTopic.get(o);return a&&delete this.topicToAlias[a],this.aliasToTopic.set(o,i),this.topicToAlias[i]=o,this.numberAllocator.use(o),this.length=this.aliasToTopic.size,!0}getTopicByAlias(i){return this.aliasToTopic.get(i)}getAliasByTopic(i){let o=this.topicToAlias[i];return typeof o<"u"&&this.aliasToTopic.get(o),o}clear(){this.aliasToTopic.clear(),this.topicToAlias={},this.numberAllocator.clear(),this.length=0}getLruAlias(){return this.numberAllocator.firstVacant()||[...this.aliasToTopic.keys()][this.aliasToTopic.size-1]}};e.default=r}),Kje=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var n=V5(),r=t(Yje()),i=sS(),o=(a,s)=>{a.log("_handleConnack");let{options:l}=a,c=l.protocolVersion===5?s.reasonCode:s.returnCode;if(clearTimeout(a.connackTimer),delete a.topicAliasSend,s.properties){if(s.properties.topicAliasMaximum){if(s.properties.topicAliasMaximum>65535){a.emit("error",new Error("topicAliasMaximum from broker is out of range"));return}s.properties.topicAliasMaximum>0&&(a.topicAliasSend=new r.default(s.properties.topicAliasMaximum))}s.properties.serverKeepAlive&&l.keepalive&&(l.keepalive=s.properties.serverKeepAlive),s.properties.maximumPacketSize&&(l.properties||(l.properties={}),l.properties.maximumPacketSize=s.properties.maximumPacketSize)}if(c===0)a.reconnecting=!1,a._onConnect(s);else if(c>0){let u=new i.ErrorWithReasonCode(`Connection refused: ${n.ReasonCodes[c]}`,c);a.emit("error",u),a.options.reconnectOnConnackError&&a._cleanUp(!0)}};e.default=o}),Qje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=(n,r,i)=>{n.log("handling pubrel packet");let o=typeof i<"u"?i:n.noop,{messageId:a}=r,s={cmd:"pubcomp",messageId:a};n.incomingStore.get(r,(l,c)=>{l?n._sendPacket(s,o):(n.emit("message",c.topic,c.payload,c),n.handleMessage(c,u=>{if(u)return o(u);n.incomingStore.del(c,n.noop),n._sendPacket(s,o)}))})};e.default=t}),Xje=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0});var n=t(Nje()),r=t(kje()),i=t(Kje()),o=t(V5()),a=t(Qje()),s=(l,c,u)=>{let{options:d}=l;if(d.protocolVersion===5&&d.properties&&d.properties.maximumPacketSize&&d.properties.maximumPacketSize{Jt(),tn(),en();var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0}),e.TypedEventEmitter=void 0;var n=t((aS(),Hi(g0))),r=sS(),i=class{};e.TypedEventEmitter=i,(0,r.applyMixin)(i,n.default)}),G5=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0}),e.isReactNativeBrowser=e.isWebWorker=void 0;var t=()=>{var o;return typeof window<"u"?typeof navigator<"u"&&((o=navigator.userAgent)===null||o===void 0?void 0:o.toLowerCase().indexOf(" electron/"))>-1&&_i!=null&&_i.versions?!Object.prototype.hasOwnProperty.call(_i.versions,"electron"):typeof window.document<"u":!1},n=()=>{var o,a;return!!(typeof self=="object"&&!((a=(o=self==null?void 0:self.constructor)===null||o===void 0?void 0:o.name)===null||a===void 0)&&a.includes("WorkerGlobalScope"))},r=()=>typeof navigator<"u"&&navigator.product==="ReactNative",i=t()||n()||r();e.isWebWorker=n(),e.isReactNativeBrowser=r(),e.default=i}),Jje=sn((e,t)=>{Jt(),tn(),en(),function(n,r){typeof e=="object"&&typeof t<"u"?r(e):typeof define=="function"&&define.amd?define(["exports"],r):(n=typeof globalThis<"u"?globalThis:n||self,r(n.fastUniqueNumbers={}))}(e,function(n){var r=function(h){return function(m){var g=h(m);return m.add(g),g}},i=function(h){return function(m,g){return h.set(m,g),g}},o=Number.MAX_SAFE_INTEGER===void 0?9007199254740991:Number.MAX_SAFE_INTEGER,a=536870912,s=a*2,l=function(h,m){return function(g){var v=m.get(g),y=v===void 0?g.size:vo)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;g.has(y);)y=Math.floor(Math.random()*o);return h(g,y)}},c=new WeakMap,u=i(c),d=l(u,c),f=r(d);n.addUniqueNumber=f,n.generateUniqueNumber=d})}),eHe=sn((e,t)=>{Jt(),tn(),en(),function(n,r){typeof e=="object"&&typeof t<"u"?r(e,Jje()):typeof define=="function"&&define.amd?define(["exports","fast-unique-numbers"],r):(n=typeof globalThis<"u"?globalThis:n||self,r(n.workerTimersBroker={},n.fastUniqueNumbers))}(e,function(n,r){var i=function(s){return s.method!==void 0&&s.method==="call"},o=function(s){return s.error===null&&typeof s.id=="number"},a=function(s){var l=new Map([[0,function(){}]]),c=new Map([[0,function(){}]]),u=new Map,d=new Worker(s);d.addEventListener("message",function(v){var y=v.data;if(i(y)){var b=y.params,_=b.timerId,E=b.timerType;if(E==="interval"){var C=l.get(_);if(typeof C=="number"){var S=u.get(C);if(S===void 0||S.timerId!==_||S.timerType!==E)throw new Error("The timer is in an undefined state.")}else if(typeof C<"u")C();else throw new Error("The timer is in an undefined state.")}else if(E==="timeout"){var w=c.get(_);if(typeof w=="number"){var T=u.get(w);if(T===void 0||T.timerId!==_||T.timerType!==E)throw new Error("The timer is in an undefined state.")}else if(typeof w<"u")w(),c.delete(_);else throw new Error("The timer is in an undefined state.")}}else if(o(y)){var O=y.id,x=u.get(O);if(x===void 0)throw new Error("The timer is in an undefined state.");var A=x.timerId,I=x.timerType;u.delete(O),I==="interval"?l.delete(A):c.delete(A)}else{var M=y.error.message;throw new Error(M)}});var f=function(v){var y=r.generateUniqueNumber(u);u.set(y,{timerId:v,timerType:"interval"}),l.set(v,y),d.postMessage({id:y,method:"clear",params:{timerId:v,timerType:"interval"}})},h=function(v){var y=r.generateUniqueNumber(u);u.set(y,{timerId:v,timerType:"timeout"}),c.set(v,y),d.postMessage({id:y,method:"clear",params:{timerId:v,timerType:"timeout"}})},m=function(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,b=r.generateUniqueNumber(l);return l.set(b,function(){v(),typeof l.get(b)=="function"&&d.postMessage({id:null,method:"set",params:{delay:y,now:performance.now(),timerId:b,timerType:"interval"}})}),d.postMessage({id:null,method:"set",params:{delay:y,now:performance.now(),timerId:b,timerType:"interval"}}),b},g=function(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,b=r.generateUniqueNumber(c);return c.set(b,v),d.postMessage({id:null,method:"set",params:{delay:y,now:performance.now(),timerId:b,timerType:"timeout"}}),b};return{clearInterval:f,clearTimeout:h,setInterval:m,setTimeout:g}};n.load=a})}),tHe=sn((e,t)=>{Jt(),tn(),en(),function(n,r){typeof e=="object"&&typeof t<"u"?r(e,eHe()):typeof define=="function"&&define.amd?define(["exports","worker-timers-broker"],r):(n=typeof globalThis<"u"?globalThis:n||self,r(n.workerTimers={},n.workerTimersBroker))}(e,function(n,r){var i=function(d,f){var h=null;return function(){if(h!==null)return h;var m=new Blob([f],{type:"application/javascript; charset=utf-8"}),g=URL.createObjectURL(m);return h=d(g),setTimeout(function(){return URL.revokeObjectURL(g)}),h}},o=`(()=>{var e={472:(e,t,r)=>{var o,i;void 0===(i="function"==typeof(o=function(){"use strict";var e=new Map,t=new Map,r=function(t){var r=e.get(t);if(void 0===r)throw new Error('There is no interval scheduled with the given id "'.concat(t,'".'));clearTimeout(r),e.delete(t)},o=function(e){var r=t.get(e);if(void 0===r)throw new Error('There is no timeout scheduled with the given id "'.concat(e,'".'));clearTimeout(r),t.delete(e)},i=function(e,t){var r,o=performance.now();return{expected:o+(r=e-Math.max(0,o-t)),remainingDelay:r}},n=function e(t,r,o,i){var n=performance.now();n>o?postMessage({id:null,method:"call",params:{timerId:r,timerType:i}}):t.set(r,setTimeout(e,o-n,t,r,o,i))},a=function(t,r,o){var a=i(t,o),s=a.expected,d=a.remainingDelay;e.set(r,setTimeout(n,d,e,r,s,"interval"))},s=function(e,r,o){var a=i(e,o),s=a.expected,d=a.remainingDelay;t.set(r,setTimeout(n,d,t,r,s,"timeout"))};addEventListener("message",(function(e){var t=e.data;try{if("clear"===t.method){var i=t.id,n=t.params,d=n.timerId,c=n.timerType;if("interval"===c)r(d),postMessage({error:null,id:i});else{if("timeout"!==c)throw new Error('The given type "'.concat(c,'" is not supported'));o(d),postMessage({error:null,id:i})}}else{if("set"!==t.method)throw new Error('The given method "'.concat(t.method,'" is not supported'));var u=t.params,l=u.delay,p=u.now,m=u.timerId,v=u.timerType;if("interval"===v)a(l,m,p);else{if("timeout"!==v)throw new Error('The given type "'.concat(v,'" is not supported'));s(l,m,p)}}}catch(e){postMessage({error:{message:e.message},id:t.id,result:null})}}))})?o.call(t,r,t,e):o)||(e.exports=i)}},t={};function r(o){var i=t[o];if(void 0!==i)return i.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";r(472)})()})();`,a=i(r.load,o),s=function(d){return a().clearInterval(d)},l=function(d){return a().clearTimeout(d)},c=function(){var d;return(d=a()).setInterval.apply(d,arguments)},u=function(){var d;return(d=a()).setTimeout.apply(d,arguments)};n.clearInterval=s,n.clearTimeout=l,n.setInterval=c,n.setTimeout=u})}),nHe=sn(e=>{Jt(),tn(),en();var t=e&&e.__createBinding||(Object.create?function(c,u,d,f){f===void 0&&(f=d);var h=Object.getOwnPropertyDescriptor(u,d);(!h||("get"in h?!u.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return u[d]}}),Object.defineProperty(c,f,h)}:function(c,u,d,f){f===void 0&&(f=d),c[f]=u[d]}),n=e&&e.__setModuleDefault||(Object.create?function(c,u){Object.defineProperty(c,"default",{enumerable:!0,value:u})}:function(c,u){c.default=u}),r=e&&e.__importStar||function(c){if(c&&c.__esModule)return c;var u={};if(c!=null)for(var d in c)d!=="default"&&Object.prototype.hasOwnProperty.call(c,d)&&t(u,c,d);return n(u,c),u};Object.defineProperty(e,"__esModule",{value:!0});var i=r(G5()),o=tHe(),a={set:o.setInterval,clear:o.clearInterval},s={set:(c,u)=>setInterval(c,u),clear:c=>clearInterval(c)},l=c=>{switch(c){case"native":return s;case"worker":return a;case"auto":default:return i.default&&!i.isWebWorker&&!i.isReactNativeBrowser?a:s}};e.default=l}),Nbe=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var n=t(nHe()),r=class{get keepaliveTimeoutTimestamp(){return this._keepaliveTimeoutTimestamp}get intervalEvery(){return this._intervalEvery}get keepalive(){return this._keepalive}constructor(i,o){this.destroyed=!1,this.client=i,this.timer=typeof o=="object"&&"set"in o&&"clear"in o?o:(0,n.default)(o),this.setKeepalive(i.options.keepalive)}clear(){this.timerId&&(this.timer.clear(this.timerId),this.timerId=null)}setKeepalive(i){if(i*=1e3,isNaN(i)||i<=0||i>2147483647)throw new Error(`Keepalive value must be an integer between 0 and 2147483647. Provided value is ${i}`);this._keepalive=i,this.reschedule(),this.client.log(`KeepaliveManager: set keepalive to ${i}ms`)}destroy(){this.clear(),this.destroyed=!0}reschedule(){if(this.destroyed)return;this.clear(),this.counter=0;let i=Math.ceil(this._keepalive*1.5);this._keepaliveTimeoutTimestamp=Date.now()+i,this._intervalEvery=Math.ceil(this._keepalive/2),this.timerId=this.timer.set(()=>{this.destroyed||(this.counter+=1,this.counter===2?this.client.sendPing():this.counter>2&&this.client.onKeepaliveTimeout())},this._intervalEvery)}};e.default=r}),Dj=sn(e=>{Jt(),tn(),en();var t=e&&e.__createBinding||(Object.create?function(C,S,w,T){T===void 0&&(T=w);var O=Object.getOwnPropertyDescriptor(S,w);(!O||("get"in O?!S.__esModule:O.writable||O.configurable))&&(O={enumerable:!0,get:function(){return S[w]}}),Object.defineProperty(C,T,O)}:function(C,S,w,T){T===void 0&&(T=w),C[T]=S[w]}),n=e&&e.__setModuleDefault||(Object.create?function(C,S){Object.defineProperty(C,"default",{enumerable:!0,value:S})}:function(C,S){C.default=S}),r=e&&e.__importStar||function(C){if(C&&C.__esModule)return C;var S={};if(C!=null)for(var w in C)w!=="default"&&Object.prototype.hasOwnProperty.call(C,w)&&t(S,C,w);return n(S,C),S},i=e&&e.__importDefault||function(C){return C&&C.__esModule?C:{default:C}};Object.defineProperty(e,"__esModule",{value:!0});var o=i(GBe()),a=i(Oje()),s=i(hbe()),l=v0(),c=i(Ije()),u=r(Aje()),d=i(ah()),f=i(mbe()),h=i(Xje()),m=sS(),g=Zje(),v=i(Nbe()),y=r(G5()),b=globalThis.setImmediate||((...C)=>{let S=C.shift();(0,m.nextTick)(()=>{S(...C)})}),_={keepalive:60,reschedulePings:!0,protocolId:"MQTT",protocolVersion:4,reconnectPeriod:1e3,connectTimeout:30*1e3,clean:!0,resubscribe:!0,writeCache:!0,timerVariant:"auto"},E=class Lj extends g.TypedEventEmitter{static defaultId(){return`mqttjs_${Math.random().toString(16).substr(2,8)}`}constructor(S,w){super(),this.options=w||{};for(let T in _)typeof this.options[T]>"u"?this.options[T]=_[T]:this.options[T]=w[T];this.log=this.options.log||(0,d.default)("mqttjs:client"),this.noop=this._noop.bind(this),this.log("MqttClient :: version:",Lj.VERSION),y.isWebWorker?this.log("MqttClient :: environment","webworker"):this.log("MqttClient :: environment",y.default?"browser":"node"),this.log("MqttClient :: options.protocol",w.protocol),this.log("MqttClient :: options.protocolVersion",w.protocolVersion),this.log("MqttClient :: options.username",w.username),this.log("MqttClient :: options.keepalive",w.keepalive),this.log("MqttClient :: options.reconnectPeriod",w.reconnectPeriod),this.log("MqttClient :: options.rejectUnauthorized",w.rejectUnauthorized),this.log("MqttClient :: options.properties.topicAliasMaximum",w.properties?w.properties.topicAliasMaximum:void 0),this.options.clientId=typeof w.clientId=="string"?w.clientId:Lj.defaultId(),this.log("MqttClient :: clientId",this.options.clientId),this.options.customHandleAcks=w.protocolVersion===5&&w.customHandleAcks?w.customHandleAcks:(...T)=>{T[3](null,0)},this.options.writeCache||(a.default.writeToStream.cacheNumbers=!1),this.streamBuilder=S,this.messageIdProvider=typeof this.options.messageIdProvider>"u"?new s.default:this.options.messageIdProvider,this.outgoingStore=w.outgoingStore||new f.default,this.incomingStore=w.incomingStore||new f.default,this.queueQoSZero=w.queueQoSZero===void 0?!0:w.queueQoSZero,this._resubscribeTopics={},this.messageIdToTopic={},this.keepaliveManager=null,this.connected=!1,this.disconnecting=!1,this.reconnecting=!1,this.queue=[],this.connackTimer=null,this.reconnectTimer=null,this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={},this._storeProcessingQueue=[],this.outgoing={},this._firstConnection=!0,w.properties&&w.properties.topicAliasMaximum>0&&(w.properties.topicAliasMaximum>65535?this.log("MqttClient :: options.properties.topicAliasMaximum is out of range"):this.topicAliasRecv=new o.default(w.properties.topicAliasMaximum)),this.on("connect",()=>{let{queue:T}=this,O=()=>{let x=T.shift();this.log("deliver :: entry %o",x);let A=null;if(!x){this._resubscribe();return}A=x.packet,this.log("deliver :: call _sendPacket for %o",A);let I=!0;A.messageId&&A.messageId!==0&&(this.messageIdProvider.register(A.messageId)||(I=!1)),I?this._sendPacket(A,M=>{x.cb&&x.cb(M),O()}):(this.log("messageId: %d has already used. The message is skipped and removed.",A.messageId),O())};this.log("connect :: sending queued packets"),O()}),this.on("close",()=>{this.log("close :: connected set to `false`"),this.connected=!1,this.log("close :: clearing connackTimer"),clearTimeout(this.connackTimer),this._destroyKeepaliveManager(),this.topicAliasRecv&&this.topicAliasRecv.clear(),this.log("close :: calling _setupReconnect"),this._setupReconnect()}),this.options.manualConnect||(this.log("MqttClient :: setting up stream"),this.connect())}handleAuth(S,w){w()}handleMessage(S,w){w()}_nextId(){return this.messageIdProvider.allocate()}getLastMessageId(){return this.messageIdProvider.getLastAllocated()}connect(){var S;let w=new l.Writable,T=a.default.parser(this.options),O=null,x=[];this.log("connect :: calling method to clear reconnect"),this._clearReconnect(),this.disconnected&&!this.reconnecting&&(this.incomingStore=this.options.incomingStore||new f.default,this.outgoingStore=this.options.outgoingStore||new f.default,this.disconnecting=!1,this.disconnected=!1),this.log("connect :: using streamBuilder provided to client to create stream"),this.stream=this.streamBuilder(this),T.on("packet",P=>{this.log("parser :: on packet push to packets array."),x.push(P)});let A=()=>{this.log("work :: getting next packet in queue");let P=x.shift();if(P)this.log("work :: packet pulled from queue"),(0,h.default)(this,P,I);else{this.log("work :: no packets in queue");let k=O;O=null,this.log("work :: done flag is %s",!!k),k&&k()}},I=()=>{if(x.length)(0,m.nextTick)(A);else{let P=O;O=null,P()}};w._write=(P,k,N)=>{O=N,this.log("writable stream :: parsing buffer"),T.parse(P),A()};let M=P=>{this.log("streamErrorHandler :: error",P.message),P.code?(this.log("streamErrorHandler :: emitting error"),this.emit("error",P)):this.noop(P)};this.log("connect :: pipe stream to writable stream"),this.stream.pipe(w),this.stream.on("error",M),this.stream.on("close",()=>{this.log("(%s)stream :: on close",this.options.clientId),this._flushVolatile(),this.log("stream: emit close to MqttClient"),this.emit("close")}),this.log("connect: sending packet `connect`");let B={cmd:"connect",protocolId:this.options.protocolId,protocolVersion:this.options.protocolVersion,clean:this.options.clean,clientId:this.options.clientId,keepalive:this.options.keepalive,username:this.options.username,password:this.options.password,properties:this.options.properties};if(this.options.will&&(B.will=Object.assign(Object.assign({},this.options.will),{payload:(S=this.options.will)===null||S===void 0?void 0:S.payload})),this.topicAliasRecv&&(B.properties||(B.properties={}),this.topicAliasRecv&&(B.properties.topicAliasMaximum=this.topicAliasRecv.max)),this._writePacket(B),T.on("error",this.emit.bind(this,"error")),this.options.properties){if(!this.options.properties.authenticationMethod&&this.options.properties.authenticationData)return this.end(()=>this.emit("error",new Error("Packet has no Authentication Method"))),this;if(this.options.properties.authenticationMethod&&this.options.authPacket&&typeof this.options.authPacket=="object"){let P=Object.assign({cmd:"auth",reasonCode:0},this.options.authPacket);this._writePacket(P)}}return this.stream.setMaxListeners(1e3),clearTimeout(this.connackTimer),this.connackTimer=setTimeout(()=>{this.log("!!connectTimeout hit!! Calling _cleanUp with force `true`"),this.emit("error",new Error("connack timeout")),this._cleanUp(!0)},this.options.connectTimeout),this}publish(S,w,T,O){this.log("publish :: message `%s` to topic `%s`",w,S);let{options:x}=this;typeof T=="function"&&(O=T,T=null),T=T||{},T=Object.assign(Object.assign({},{qos:0,retain:!1,dup:!1}),T);let{qos:A,retain:I,dup:M,properties:B,cbStorePut:P}=T;if(this._checkDisconnecting(O))return this;let k=()=>{let N=0;if((A===1||A===2)&&(N=this._nextId(),N===null))return this.log("No messageId left"),!1;let L={cmd:"publish",topic:S,payload:w,qos:A,retain:I,messageId:N,dup:M};switch(x.protocolVersion===5&&(L.properties=B),this.log("publish :: qos",A),A){case 1:case 2:this.outgoing[L.messageId]={volatile:!1,cb:O||this.noop},this.log("MqttClient:publish: packet cmd: %s",L.cmd),this._sendPacket(L,void 0,P);break;default:this.log("MqttClient:publish: packet cmd: %s",L.cmd),this._sendPacket(L,O,P);break}return!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!k())&&this._storeProcessingQueue.push({invoke:k,cbStorePut:T.cbStorePut,callback:O}),this}publishAsync(S,w,T){return new Promise((O,x)=>{this.publish(S,w,T,(A,I)=>{A?x(A):O(I)})})}subscribe(S,w,T){let O=this.options.protocolVersion;typeof w=="function"&&(T=w),T=T||this.noop;let x=!1,A=[];typeof S=="string"?(S=[S],A=S):Array.isArray(S)?A=S:typeof S=="object"&&(x=S.resubscribe,delete S.resubscribe,A=Object.keys(S));let I=u.validateTopics(A);if(I!==null)return b(T,new Error(`Invalid topic ${I}`)),this;if(this._checkDisconnecting(T))return this.log("subscribe: discconecting true"),this;let M={qos:0};O===5&&(M.nl=!1,M.rap=!1,M.rh=0),w=Object.assign(Object.assign({},M),w);let B=w.properties,P=[],k=(L,V)=>{if(V=V||w,!Object.prototype.hasOwnProperty.call(this._resubscribeTopics,L)||this._resubscribeTopics[L].qos{this.log("subscribe: array topic %s",L),k(L)}):Object.keys(S).forEach(L=>{this.log("subscribe: object topic %s, %o",L,S[L]),k(L,S[L])}),!P.length)return T(null,[]),this;let N=()=>{let L=this._nextId();if(L===null)return this.log("No messageId left"),!1;let V={cmd:"subscribe",subscriptions:P,messageId:L};if(B&&(V.properties=B),this.options.resubscribe){this.log("subscribe :: resubscribe true");let $=[];P.forEach(W=>{if(this.options.reconnectPeriod>0){let j={qos:W.qos};O===5&&(j.nl=W.nl||!1,j.rap=W.rap||!1,j.rh=W.rh||0,j.properties=W.properties),this._resubscribeTopics[W.topic]=j,$.push(W.topic)}}),this.messageIdToTopic[V.messageId]=$}return this.outgoing[V.messageId]={volatile:!0,cb($,W){if(!$){let{granted:j}=W;for(let U=0;U0||!N())&&this._storeProcessingQueue.push({invoke:N,callback:T}),this}subscribeAsync(S,w){return new Promise((T,O)=>{this.subscribe(S,w,(x,A)=>{x?O(x):T(A)})})}unsubscribe(S,w,T){typeof S=="string"&&(S=[S]),typeof w=="function"&&(T=w),T=T||this.noop;let O=u.validateTopics(S);if(O!==null)return b(T,new Error(`Invalid topic ${O}`)),this;if(this._checkDisconnecting(T))return this;let x=()=>{let A=this._nextId();if(A===null)return this.log("No messageId left"),!1;let I={cmd:"unsubscribe",messageId:A,unsubscriptions:[]};return typeof S=="string"?I.unsubscriptions=[S]:Array.isArray(S)&&(I.unsubscriptions=S),this.options.resubscribe&&I.unsubscriptions.forEach(M=>{delete this._resubscribeTopics[M]}),typeof w=="object"&&w.properties&&(I.properties=w.properties),this.outgoing[I.messageId]={volatile:!0,cb:T},this.log("unsubscribe: call _sendPacket"),this._sendPacket(I),!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!x())&&this._storeProcessingQueue.push({invoke:x,callback:T}),this}unsubscribeAsync(S,w){return new Promise((T,O)=>{this.unsubscribe(S,w,(x,A)=>{x?O(x):T(A)})})}end(S,w,T){this.log("end :: (%s)",this.options.clientId),(S==null||typeof S!="boolean")&&(T=T||w,w=S,S=!1),typeof w!="object"&&(T=T||w,w=null),this.log("end :: cb? %s",!!T),(!T||typeof T!="function")&&(T=this.noop);let O=()=>{this.log("end :: closeStores: closing incoming and outgoing stores"),this.disconnected=!0,this.incomingStore.close(A=>{this.outgoingStore.close(I=>{if(this.log("end :: closeStores: emitting end"),this.emit("end"),T){let M=A||I;this.log("end :: closeStores: invoking callback with args"),T(M)}})}),this._deferredReconnect?this._deferredReconnect():(this.options.reconnectPeriod===0||this.options.manualConnect)&&(this.disconnecting=!1)},x=()=>{this.log("end :: (%s) :: finish :: calling _cleanUp with force %s",this.options.clientId,S),this._cleanUp(S,()=>{this.log("end :: finish :: calling process.nextTick on closeStores"),(0,m.nextTick)(O)},w)};return this.disconnecting?(T(),this):(this._clearReconnect(),this.disconnecting=!0,!S&&Object.keys(this.outgoing).length>0?(this.log("end :: (%s) :: calling finish in 10ms once outgoing is empty",this.options.clientId),this.once("outgoingEmpty",setTimeout.bind(null,x,10))):(this.log("end :: (%s) :: immediately calling finish",this.options.clientId),x()),this)}endAsync(S,w){return new Promise((T,O)=>{this.end(S,w,x=>{x?O(x):T()})})}removeOutgoingMessage(S){if(this.outgoing[S]){let{cb:w}=this.outgoing[S];this._removeOutgoingAndStoreMessage(S,()=>{w(new Error("Message removed"))})}return this}reconnect(S){this.log("client reconnect");let w=()=>{S?(this.options.incomingStore=S.incomingStore,this.options.outgoingStore=S.outgoingStore):(this.options.incomingStore=null,this.options.outgoingStore=null),this.incomingStore=this.options.incomingStore||new f.default,this.outgoingStore=this.options.outgoingStore||new f.default,this.disconnecting=!1,this.disconnected=!1,this._deferredReconnect=null,this._reconnect()};return this.disconnecting&&!this.disconnected?this._deferredReconnect=w:w(),this}_flushVolatile(){this.outgoing&&(this.log("_flushVolatile :: deleting volatile messages from the queue and setting their callbacks as error function"),Object.keys(this.outgoing).forEach(S=>{this.outgoing[S].volatile&&typeof this.outgoing[S].cb=="function"&&(this.outgoing[S].cb(new Error("Connection closed")),delete this.outgoing[S])}))}_flush(){this.outgoing&&(this.log("_flush: queue exists? %b",!!this.outgoing),Object.keys(this.outgoing).forEach(S=>{typeof this.outgoing[S].cb=="function"&&(this.outgoing[S].cb(new Error("Connection closed")),delete this.outgoing[S])}))}_removeTopicAliasAndRecoverTopicName(S){let w;S.properties&&(w=S.properties.topicAlias);let T=S.topic.toString();if(this.log("_removeTopicAliasAndRecoverTopicName :: alias %d, topic %o",w,T),T.length===0){if(typeof w>"u")return new Error("Unregistered Topic Alias");if(T=this.topicAliasSend.getTopicByAlias(w),typeof T>"u")return new Error("Unregistered Topic Alias");S.topic=T}w&&delete S.properties.topicAlias}_checkDisconnecting(S){return this.disconnecting&&(S&&S!==this.noop?S(new Error("client disconnecting")):this.emit("error",new Error("client disconnecting"))),this.disconnecting}_reconnect(){this.log("_reconnect: emitting reconnect to client"),this.emit("reconnect"),this.connected?(this.end(()=>{this.connect()}),this.log("client already connected. disconnecting first.")):(this.log("_reconnect: calling connect"),this.connect())}_setupReconnect(){!this.disconnecting&&!this.reconnectTimer&&this.options.reconnectPeriod>0?(this.reconnecting||(this.log("_setupReconnect :: emit `offline` state"),this.emit("offline"),this.log("_setupReconnect :: set `reconnecting` to `true`"),this.reconnecting=!0),this.log("_setupReconnect :: setting reconnectTimer for %d ms",this.options.reconnectPeriod),this.reconnectTimer=setInterval(()=>{this.log("reconnectTimer :: reconnect triggered!"),this._reconnect()},this.options.reconnectPeriod)):this.log("_setupReconnect :: doing nothing...")}_clearReconnect(){this.log("_clearReconnect : clearing reconnect timer"),this.reconnectTimer&&(clearInterval(this.reconnectTimer),this.reconnectTimer=null)}_cleanUp(S,w,T={}){if(w&&(this.log("_cleanUp :: done callback provided for on stream close"),this.stream.on("close",w)),this.log("_cleanUp :: forced? %s",S),S)this.options.reconnectPeriod===0&&this.options.clean&&this._flush(),this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),this.stream.destroy();else{let O=Object.assign({cmd:"disconnect"},T);this.log("_cleanUp :: (%s) :: call _sendPacket with disconnect packet",this.options.clientId),this._sendPacket(O,()=>{this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),b(()=>{this.stream.end(()=>{this.log("_cleanUp :: (%s) :: stream destroyed",this.options.clientId)})})})}!this.disconnecting&&!this.reconnecting&&(this.log("_cleanUp :: client not disconnecting/reconnecting. Clearing and resetting reconnect."),this._clearReconnect(),this._setupReconnect()),this._destroyKeepaliveManager(),w&&!this.connected&&(this.log("_cleanUp :: (%s) :: removing stream `done` callback `close` listener",this.options.clientId),this.stream.removeListener("close",w),w())}_storeAndSend(S,w,T){this.log("storeAndSend :: store packet with cmd %s to outgoingStore",S.cmd);let O=S,x;if(O.cmd==="publish"&&(O=(0,c.default)(S),x=this._removeTopicAliasAndRecoverTopicName(O),x))return w&&w(x);this.outgoingStore.put(O,A=>{if(A)return w&&w(A);T(),this._writePacket(S,w)})}_applyTopicAlias(S){if(this.options.protocolVersion===5&&S.cmd==="publish"){let w;S.properties&&(w=S.properties.topicAlias);let T=S.topic.toString();if(this.topicAliasSend)if(w){if(T.length!==0&&(this.log("applyTopicAlias :: register topic: %s - alias: %d",T,w),!this.topicAliasSend.put(T,w)))return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",T,w),new Error("Sending Topic Alias out of range")}else T.length!==0&&(this.options.autoAssignTopicAlias?(w=this.topicAliasSend.getAliasByTopic(T),w?(S.topic="",S.properties=Object.assign(Object.assign({},S.properties),{topicAlias:w}),this.log("applyTopicAlias :: auto assign(use) topic: %s - alias: %d",T,w)):(w=this.topicAliasSend.getLruAlias(),this.topicAliasSend.put(T,w),S.properties=Object.assign(Object.assign({},S.properties),{topicAlias:w}),this.log("applyTopicAlias :: auto assign topic: %s - alias: %d",T,w))):this.options.autoUseTopicAlias&&(w=this.topicAliasSend.getAliasByTopic(T),w&&(S.topic="",S.properties=Object.assign(Object.assign({},S.properties),{topicAlias:w}),this.log("applyTopicAlias :: auto use topic: %s - alias: %d",T,w))));else if(w)return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",T,w),new Error("Sending Topic Alias out of range")}}_noop(S){this.log("noop ::",S)}_writePacket(S,w){this.log("_writePacket :: packet: %O",S),this.log("_writePacket :: emitting `packetsend`"),this.emit("packetsend",S),this.log("_writePacket :: writing to stream");let T=a.default.writeToStream(S,this.stream,this.options);this.log("_writePacket :: writeToStream result %s",T),!T&&w&&w!==this.noop?(this.log("_writePacket :: handle events on `drain` once through callback."),this.stream.once("drain",w)):w&&(this.log("_writePacket :: invoking cb"),w())}_sendPacket(S,w,T,O){this.log("_sendPacket :: (%s) :: start",this.options.clientId),T=T||this.noop,w=w||this.noop;let x=this._applyTopicAlias(S);if(x){w(x);return}if(!this.connected){if(S.cmd==="auth"){this._writePacket(S,w);return}this.log("_sendPacket :: client not connected. Storing packet offline."),this._storePacket(S,w,T);return}if(O){this._writePacket(S,w);return}switch(S.cmd){case"publish":break;case"pubrel":this._storeAndSend(S,w,T);return;default:this._writePacket(S,w);return}switch(S.qos){case 2:case 1:this._storeAndSend(S,w,T);break;case 0:default:this._writePacket(S,w);break}this.log("_sendPacket :: (%s) :: end",this.options.clientId)}_storePacket(S,w,T){this.log("_storePacket :: packet: %o",S),this.log("_storePacket :: cb? %s",!!w),T=T||this.noop;let O=S;if(O.cmd==="publish"){O=(0,c.default)(S);let A=this._removeTopicAliasAndRecoverTopicName(O);if(A)return w&&w(A)}let x=O.qos||0;x===0&&this.queueQoSZero||O.cmd!=="publish"?this.queue.push({packet:O,cb:w}):x>0?(w=this.outgoing[O.messageId]?this.outgoing[O.messageId].cb:null,this.outgoingStore.put(O,A=>{if(A)return w&&w(A);T()})):w&&w(new Error("No connection to broker"))}_setupKeepaliveManager(){this.log("_setupKeepaliveManager :: keepalive %d (seconds)",this.options.keepalive),!this.keepaliveManager&&this.options.keepalive&&(this.keepaliveManager=new v.default(this,this.options.timerVariant))}_destroyKeepaliveManager(){this.keepaliveManager&&(this.log("_destroyKeepaliveManager :: destroying keepalive manager"),this.keepaliveManager.destroy(),this.keepaliveManager=null)}reschedulePing(S=!1){this.keepaliveManager&&this.options.keepalive&&(S||this.options.reschedulePings)&&this._reschedulePing()}_reschedulePing(){this.log("_reschedulePing :: rescheduling ping"),this.keepaliveManager.reschedule()}sendPing(){this.log("_sendPing :: sending pingreq"),this._sendPacket({cmd:"pingreq"})}onKeepaliveTimeout(){this.emit("error",new Error("Keepalive timeout")),this.log("onKeepaliveTimeout :: calling _cleanUp with force true"),this._cleanUp(!0)}_resubscribe(){this.log("_resubscribe");let S=Object.keys(this._resubscribeTopics);if(!this._firstConnection&&(this.options.clean||this.options.protocolVersion>=4&&!this.connackPacket.sessionPresent)&&S.length>0)if(this.options.resubscribe)if(this.options.protocolVersion===5){this.log("_resubscribe: protocolVersion 5");for(let w=0;w{let T=this.outgoingStore.createStream(),O=()=>{T.destroy(),T=null,this._flushStoreProcessingQueue(),x()},x=()=>{this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={}};this.once("close",O),T.on("error",I=>{x(),this._flushStoreProcessingQueue(),this.removeListener("close",O),this.emit("error",I)});let A=()=>{if(!T)return;let I=T.read(1),M;if(!I){T.once("readable",A);return}if(this._storeProcessing=!0,this._packetIdsDuringStoreProcessing[I.messageId]){A();return}!this.disconnecting&&!this.reconnectTimer?(M=this.outgoing[I.messageId]?this.outgoing[I.messageId].cb:null,this.outgoing[I.messageId]={volatile:!1,cb(B,P){M&&M(B,P),A()}},this._packetIdsDuringStoreProcessing[I.messageId]=!0,this.messageIdProvider.register(I.messageId)?this._sendPacket(I,void 0,void 0,!0):this.log("messageId: %d has already used.",I.messageId)):T.destroy&&T.destroy()};T.on("end",()=>{let I=!0;for(let M in this._packetIdsDuringStoreProcessing)if(!this._packetIdsDuringStoreProcessing[M]){I=!1;break}this.removeListener("close",O),I?(x(),this._invokeAllStoreProcessingQueue(),this.emit("connect",S)):w()}),A()};w()}_invokeStoreProcessingQueue(){if(!this._storeProcessing&&this._storeProcessingQueue.length>0){let S=this._storeProcessingQueue[0];if(S&&S.invoke())return this._storeProcessingQueue.shift(),!0}return!1}_invokeAllStoreProcessingQueue(){for(;this._invokeStoreProcessingQueue(););}_flushStoreProcessingQueue(){for(let S of this._storeProcessingQueue)S.cbStorePut&&S.cbStorePut(new Error("Connection closed")),S.callback&&S.callback(new Error("Connection closed"));this._storeProcessingQueue.splice(0)}_removeOutgoingAndStoreMessage(S,w){delete this.outgoing[S],this.outgoingStore.del({messageId:S},(T,O)=>{w(T,O),this.messageIdProvider.deallocate(S),this._invokeStoreProcessingQueue()})}};E.VERSION=m.MQTTJS_VERSION,e.default=E}),rHe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=Abe(),n=class{constructor(){this.numberAllocator=new t.NumberAllocator(1,65535)}allocate(){return this.lastId=this.numberAllocator.alloc(),this.lastId}getLastAllocated(){return this.lastId}register(r){return this.numberAllocator.use(r)}deallocate(r){this.numberAllocator.free(r)}clear(){this.numberAllocator.clear()}};e.default=n});function e1(e){throw new RangeError(kbe[e])}function Ste(e,t){let n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);let i=function(o,a){let s=[],l=o.length;for(;l--;)s[l]=a(o[l]);return s}((e=e.replace(Mbe,".")).split("."),t).join(".");return r+i}function Ete(e){let t=[],n=0,r=e.length;for(;n=55296&&i<=56319&&n{Jt(),tn(),en(),Cte=/^xn--/,wte=/[^\0-\x7E]/,Mbe=/[\x2E\u3002\uFF0E\uFF61]/g,kbe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Lu=Math.floor,lR=String.fromCharCode,aL=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},sL=function(e,t,n){let r=0;for(e=n?Lu(e/700):e>>1,e+=Lu(e/t);e>455;r+=36)e=Lu(e/35);return Lu(r+36*e/(e+38))},lL=function(e){let t=[],n=e.length,r=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let l=0;l=128&&e1("not-basic"),t.push(e.charCodeAt(l));for(let l=a>0?a+1:0;l=n&&e1("invalid-input");let h=(s=e.charCodeAt(l++))-48<10?s-22:s-65<26?s-65:s-97<26?s-97:36;(h>=36||h>Lu((2147483647-r)/d))&&e1("overflow"),r+=h*d;let m=f<=o?1:f>=o+26?26:f-o;if(hLu(2147483647/g)&&e1("overflow"),d*=g}let u=t.length+1;o=sL(r-c,u,c==0),Lu(r/u)>2147483647-i&&e1("overflow"),i+=Lu(r/u),r%=u,t.splice(r++,0,i)}var s;return String.fromCodePoint(...t)},cL=function(e){let t=[],n=(e=Ete(e)).length,r=128,i=0,o=72;for(let l of e)l<128&&t.push(lR(l));let a=t.length,s=a;for(a&&t.push("-");s=r&&uLu((2147483647-i)/c)&&e1("overflow"),i+=(l-r)*c,r=l;for(let u of e)if(u2147483647&&e1("overflow"),u==r){let d=i;for(let f=36;;f+=36){let h=f<=o?1:f>=o+26?26:f-o;if(dString.fromCodePoint(...e)},decode:lL,encode:cL,toASCII:function(e){return Ste(e,function(t){return wte.test(t)?"xn--"+cL(t):t})},toUnicode:function(e){return Ste(e,function(t){return Cte.test(t)?lL(t.slice(4).toLowerCase()):t})}},Zh.decode,Zh.encode,Zh.toASCII,Zh.toUnicode,Zh.ucs2,Zh.version});function oHe(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Tte,q0,xte,Zd,aHe=ls(()=>{Jt(),tn(),en(),Tte=function(e,t,n,r){t=t||"&",n=n||"=";var i={};if(typeof e!="string"||e.length===0)return i;var o=/\+/g;e=e.split(t);var a=1e3;r&&typeof r.maxKeys=="number"&&(a=r.maxKeys);var s=e.length;a>0&&s>a&&(s=a);for(var l=0;l=0?(c=h.substr(0,m),u=h.substr(m+1)):(c=h,u=""),d=decodeURIComponent(c),f=decodeURIComponent(u),oHe(i,d)?Array.isArray(i[d])?i[d].push(f):i[d]=[i[d],f]:i[d]=f}return i},q0=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},xte=function(e,t,n,r){return t=t||"&",n=n||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(i){var o=encodeURIComponent(q0(i))+n;return Array.isArray(e[i])?e[i].map(function(a){return o+encodeURIComponent(q0(a))}).join(t):o+encodeURIComponent(q0(e[i]))}).join(t):r?encodeURIComponent(q0(r))+n+encodeURIComponent(q0(e)):""},Zd={},Zd.decode=Zd.parse=Tte,Zd.encode=Zd.stringify=xte,Zd.decode,Zd.encode,Zd.parse,Zd.stringify});function $j(){throw new Error("setTimeout has not been defined")}function Fj(){throw new Error("clearTimeout has not been defined")}function Pbe(e){if(Op===setTimeout)return setTimeout(e,0);if((Op===$j||!Op)&&setTimeout)return Op=setTimeout,setTimeout(e,0);try{return Op(e,0)}catch{try{return Op.call(null,e,0)}catch{return Op.call(this||av,e,0)}}}function sHe(){sv&&L1&&(sv=!1,L1.length?yf=L1.concat(yf):iw=-1,yf.length&&Dbe())}function Dbe(){if(!sv){var e=Pbe(sHe);sv=!0;for(var t=yf.length;t;){for(L1=yf,yf=[];++iw{Jt(),tn(),en(),av=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global,Lo=Rte={},function(){try{Op=typeof setTimeout=="function"?setTimeout:$j}catch{Op=$j}try{Rp=typeof clearTimeout=="function"?clearTimeout:Fj}catch{Rp=Fj}}(),yf=[],sv=!1,iw=-1,Lo.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n1)for(var y=1;y{Jt(),tn(),en(),EA={},Bj=!1,v1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global,mo=cHe(),mo.platform="browser",mo.addListener,mo.argv,mo.binding,mo.browser,mo.chdir,mo.cwd,mo.emit,mo.env,mo.listeners,mo.nextTick,mo.off,mo.on,mo.once,mo.prependListener,mo.prependOnceListener,mo.removeAllListeners,mo.removeListener,mo.title,mo.umask,mo.version,mo.versions});function uHe(){if(jj)return CA;jj=!0;var e=mo;function t(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function n(o,a){for(var s="",l=0,c=-1,u=0,d,f=0;f<=o.length;++f){if(f2){var h=s.lastIndexOf("/");if(h!==s.length-1){h===-1?(s="",l=0):(s=s.slice(0,h),l=s.length-1-s.lastIndexOf("/")),c=f,u=0;continue}}else if(s.length===2||s.length===1){s="",l=0,c=f,u=0;continue}}a&&(s.length>0?s+="/..":s="..",l=2)}else s.length>0?s+="/"+o.slice(c+1,f):s=o.slice(c+1,f),l=f-c-1;c=f,u=0}else d===46&&u!==-1?++u:u=-1}return s}function r(o,a){var s=a.dir||a.root,l=a.base||(a.name||"")+(a.ext||"");return s?s===a.root?s+l:s+o+l:l}var i={resolve:function(){for(var o="",a=!1,s,l=arguments.length-1;l>=-1&&!a;l--){var c;l>=0?c=arguments[l]:(s===void 0&&(s=e.cwd()),c=s),t(c),c.length!==0&&(o=c+"/"+o,a=c.charCodeAt(0)===47)}return o=n(o,!a),a?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(o){if(t(o),o.length===0)return".";var a=o.charCodeAt(0)===47,s=o.charCodeAt(o.length-1)===47;return o=n(o,!a),o.length===0&&!a&&(o="."),o.length>0&&s&&(o+="/"),a?"/"+o:o},isAbsolute:function(o){return t(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,a=0;a0&&(o===void 0?o=s:o+="/"+s)}return o===void 0?".":i.normalize(o)},relative:function(o,a){if(t(o),t(a),o===a||(o=i.resolve(o),a=i.resolve(a),o===a))return"";for(var s=1;sh){if(a.charCodeAt(u+g)===47)return a.slice(u+g+1);if(g===0)return a.slice(u+g)}else c>h&&(o.charCodeAt(s+g)===47?m=g:g===0&&(m=0));break}var v=o.charCodeAt(s+g),y=a.charCodeAt(u+g);if(v!==y)break;v===47&&(m=g)}var b="";for(g=s+m+1;g<=l;++g)(g===l||o.charCodeAt(g)===47)&&(b.length===0?b+="..":b+="/..");return b.length>0?b+a.slice(u+m):(u+=m,a.charCodeAt(u)===47&&++u,a.slice(u))},_makeLong:function(o){return o},dirname:function(o){if(t(o),o.length===0)return".";for(var a=o.charCodeAt(0),s=a===47,l=-1,c=!0,u=o.length-1;u>=1;--u)if(a=o.charCodeAt(u),a===47){if(!c){l=u;break}}else c=!1;return l===-1?s?"/":".":s&&l===1?"//":o.slice(0,l)},basename:function(o,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');t(o);var s=0,l=-1,c=!0,u;if(a!==void 0&&a.length>0&&a.length<=o.length){if(a.length===o.length&&a===o)return"";var d=a.length-1,f=-1;for(u=o.length-1;u>=0;--u){var h=o.charCodeAt(u);if(h===47){if(!c){s=u+1;break}}else f===-1&&(c=!1,f=u+1),d>=0&&(h===a.charCodeAt(d)?--d===-1&&(l=u):(d=-1,l=f))}return s===l?l=f:l===-1&&(l=o.length),o.slice(s,l)}else{for(u=o.length-1;u>=0;--u)if(o.charCodeAt(u)===47){if(!c){s=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":o.slice(s,l)}},extname:function(o){t(o);for(var a=-1,s=0,l=-1,c=!0,u=0,d=o.length-1;d>=0;--d){var f=o.charCodeAt(d);if(f===47){if(!c){s=d+1;break}continue}l===-1&&(c=!1,l=d+1),f===46?a===-1?a=d:u!==1&&(u=1):a!==-1&&(u=-1)}return a===-1||l===-1||u===0||u===1&&a===l-1&&a===s+1?"":o.slice(a,l)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return r("/",o)},parse:function(o){t(o);var a={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return a;var s=o.charCodeAt(0),l=s===47,c;l?(a.root="/",c=1):c=0;for(var u=-1,d=0,f=-1,h=!0,m=o.length-1,g=0;m>=c;--m){if(s=o.charCodeAt(m),s===47){if(!h){d=m+1;break}continue}f===-1&&(h=!1,f=m+1),s===46?u===-1?u=m:g!==1&&(g=1):u!==-1&&(g=-1)}return u===-1||f===-1||g===0||g===1&&u===f-1&&u===d+1?f!==-1&&(d===0&&l?a.base=a.name=o.slice(1,f):a.base=a.name=o.slice(d,f)):(d===0&&l?(a.name=o.slice(1,u),a.base=o.slice(1,f)):(a.name=o.slice(d,u),a.base=o.slice(d,f)),a.ext=o.slice(u,f)),d>0?a.dir=o.slice(0,d-1):l&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,CA=i,CA}var CA,jj,Hj,dHe=ls(()=>{Jt(),tn(),en(),Lbe(),CA={},jj=!1,Hj=uHe()}),$be={};h0($be,{URL:()=>tye,Url:()=>Qbe,default:()=>Ai,fileURLToPath:()=>Fbe,format:()=>Xbe,parse:()=>eye,pathToFileURL:()=>Bbe,resolve:()=>Zbe,resolveObject:()=>Jbe});function Uc(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function RE(e,t,n){if(e&&Bu.isObject(e)&&e instanceof Uc)return e;var r=new Uc;return r.parse(e,t,n),r}function fHe(){if(Uj)return wA;Uj=!0;var e=xo;function t(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function n(o,a){for(var s="",l=0,c=-1,u=0,d,f=0;f<=o.length;++f){if(f2){var h=s.lastIndexOf("/");if(h!==s.length-1){h===-1?(s="",l=0):(s=s.slice(0,h),l=s.length-1-s.lastIndexOf("/")),c=f,u=0;continue}}else if(s.length===2||s.length===1){s="",l=0,c=f,u=0;continue}}a&&(s.length>0?s+="/..":s="..",l=2)}else s.length>0?s+="/"+o.slice(c+1,f):s=o.slice(c+1,f),l=f-c-1;c=f,u=0}else d===46&&u!==-1?++u:u=-1}return s}function r(o,a){var s=a.dir||a.root,l=a.base||(a.name||"")+(a.ext||"");return s?s===a.root?s+l:s+o+l:l}var i={resolve:function(){for(var o="",a=!1,s,l=arguments.length-1;l>=-1&&!a;l--){var c;l>=0?c=arguments[l]:(s===void 0&&(s=e.cwd()),c=s),t(c),c.length!==0&&(o=c+"/"+o,a=c.charCodeAt(0)===47)}return o=n(o,!a),a?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(o){if(t(o),o.length===0)return".";var a=o.charCodeAt(0)===47,s=o.charCodeAt(o.length-1)===47;return o=n(o,!a),o.length===0&&!a&&(o="."),o.length>0&&s&&(o+="/"),a?"/"+o:o},isAbsolute:function(o){return t(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,a=0;a0&&(o===void 0?o=s:o+="/"+s)}return o===void 0?".":i.normalize(o)},relative:function(o,a){if(t(o),t(a),o===a||(o=i.resolve(o),a=i.resolve(a),o===a))return"";for(var s=1;sh){if(a.charCodeAt(u+g)===47)return a.slice(u+g+1);if(g===0)return a.slice(u+g)}else c>h&&(o.charCodeAt(s+g)===47?m=g:g===0&&(m=0));break}var v=o.charCodeAt(s+g),y=a.charCodeAt(u+g);if(v!==y)break;v===47&&(m=g)}var b="";for(g=s+m+1;g<=l;++g)(g===l||o.charCodeAt(g)===47)&&(b.length===0?b+="..":b+="/..");return b.length>0?b+a.slice(u+m):(u+=m,a.charCodeAt(u)===47&&++u,a.slice(u))},_makeLong:function(o){return o},dirname:function(o){if(t(o),o.length===0)return".";for(var a=o.charCodeAt(0),s=a===47,l=-1,c=!0,u=o.length-1;u>=1;--u)if(a=o.charCodeAt(u),a===47){if(!c){l=u;break}}else c=!1;return l===-1?s?"/":".":s&&l===1?"//":o.slice(0,l)},basename:function(o,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');t(o);var s=0,l=-1,c=!0,u;if(a!==void 0&&a.length>0&&a.length<=o.length){if(a.length===o.length&&a===o)return"";var d=a.length-1,f=-1;for(u=o.length-1;u>=0;--u){var h=o.charCodeAt(u);if(h===47){if(!c){s=u+1;break}}else f===-1&&(c=!1,f=u+1),d>=0&&(h===a.charCodeAt(d)?--d===-1&&(l=u):(d=-1,l=f))}return s===l?l=f:l===-1&&(l=o.length),o.slice(s,l)}else{for(u=o.length-1;u>=0;--u)if(o.charCodeAt(u)===47){if(!c){s=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":o.slice(s,l)}},extname:function(o){t(o);for(var a=-1,s=0,l=-1,c=!0,u=0,d=o.length-1;d>=0;--d){var f=o.charCodeAt(d);if(f===47){if(!c){s=d+1;break}continue}l===-1&&(c=!1,l=d+1),f===46?a===-1?a=d:u!==1&&(u=1):a!==-1&&(u=-1)}return a===-1||l===-1||u===0||u===1&&a===l-1&&a===s+1?"":o.slice(a,l)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return r("/",o)},parse:function(o){t(o);var a={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return a;var s=o.charCodeAt(0),l=s===47,c;l?(a.root="/",c=1):c=0;for(var u=-1,d=0,f=-1,h=!0,m=o.length-1,g=0;m>=c;--m){if(s=o.charCodeAt(m),s===47){if(!h){d=m+1;break}continue}f===-1&&(h=!1,f=m+1),s===46?u===-1?u=m:g!==1&&(g=1):u!==-1&&(g=-1)}return u===-1||f===-1||g===0||g===1&&u===f-1&&u===d+1?f!==-1&&(d===0&&l?a.base=a.name=o.slice(1,f):a.base=a.name=o.slice(d,f)):(d===0&&l?(a.name=o.slice(1,u),a.base=o.slice(1,f)):(a.name=o.slice(d,u),a.base=o.slice(d,f)),a.ext=o.slice(u,f)),d>0?a.dir=o.slice(0,d-1):l&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,wA=i,wA}function pHe(e){if(typeof e=="string")e=new URL(e);else if(!(e instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(e.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return cM?hHe(e):mHe(e)}function hHe(e){let t=e.hostname,n=e.pathname;for(let r=0;rzbe||i!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return n.slice(1)}}function mHe(e){if(e.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let n=0;n{FP[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const tte={};FP.transitional=function(t,n,r){function i(o,a){return"[Axios v"+C0e+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,s)=>{if(t===!1)throw new Ir(i(a," has been removed"+(n?" in "+n:"")),Ir.ERR_DEPRECATED);return n&&!tte[a]&&(tte[a]=!0,console.warn(i(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,s):!0}};FP.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function wBe(e,t,n){if(typeof e!="object")throw new Ir("options must be an object",Ir.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const s=e[o],l=s===void 0||a(s,o,e);if(l!==!0)throw new Ir("option "+o+" must be "+l,Ir.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Ir("Unknown option "+o,Ir.ERR_BAD_OPTION)}}const gA={assertOptions:wBe,validators:FP},Yd=gA.validators;class iv{constructor(t){this.defaults=t,this.interceptors={request:new Wee,response:new Wee}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=i.stack?i.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=` +`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Dv(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&gA.assertOptions(r,{silentJSONParsing:Yd.transitional(Yd.boolean),forcedJSONParsing:Yd.transitional(Yd.boolean),clarifyTimeoutError:Yd.transitional(Yd.boolean)},!1),i!=null&&(zt.isFunction(i)?n.paramsSerializer={serialize:i}:gA.assertOptions(i,{encode:Yd.function,serialize:Yd.function},!0)),gA.assertOptions(n,{baseUrl:Yd.spelling("baseURL"),withXsrfToken:Yd.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&zt.merge(o.common,o[n.method]);o&&zt.forEach(["delete","get","head","post","put","patch","common"],m=>{delete o[m]}),n.headers=Rl.concat(a,o);const s=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let u,d=0,f;if(!l){const m=[ete.bind(this),void 0];for(m.unshift.apply(m,s),m.push.apply(m,c),f=m.length,u=Promise.resolve(n);d{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const a=new Promise(s=>{r.subscribe(s),o=s}).then(i);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,s){r.reason||(r.reason=new iS(o,a,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new hW(function(i){t=i}),cancel:t}}}function TBe(e){return function(n){return e.apply(null,n)}}function xBe(e){return zt.isObject(e)&&e.isAxiosError===!0}const SB={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(SB).forEach(([e,t])=>{SB[t]=e});function w0e(e){const t=new iv(e),n=t0e(iv.prototype.request,t);return zt.extend(n,iv.prototype,t,{allOwnKeys:!0}),zt.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return w0e(Dv(e,i))},n}const ra=w0e(Qx);ra.Axios=iv;ra.CanceledError=iS;ra.CancelToken=hW;ra.isCancel=g0e;ra.VERSION=C0e;ra.toFormData=LP;ra.AxiosError=Ir;ra.Cancel=ra.CanceledError;ra.all=function(t){return Promise.all(t)};ra.spread=TBe;ra.isAxiosError=xBe;ra.mergeConfig=Dv;ra.AxiosHeaders=Rl;ra.formToJSON=e=>m0e(zt.isHTMLForm(e)?new FormData(e):e);ra.getAdapter=E0e.getAdapter;ra.HttpStatusCode=SB;ra.default=ra;function OBe(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(i){i(n)}),(r=e.get("*"))&&r.slice().map(function(i){i(t,n)})}}}const vr=OBe();async function RBe(){return $r("/config/bytedesk/properties",{method:"GET",params:{client:wr}})}async function T0e(){try{const t=(await ra.get("/notebase/config.json")).data;if(t.enabled)console.log("config enabled: ",t),localStorage.setItem(tw,n_),localStorage.setItem(fA,t.apiUrl),localStorage.setItem(pA,t.websocketUrl),localStorage.setItem(G8,t.htmlUrl);else if(K$e===$ve){console.log("config opensource");const n=window.location.port,r=window.location.protocol+"//"+window.location.hostname+":"+n,i="ws://"+window.location.hostname+":9885/websocket";console.log("apiUrl: ",r," port:",n," websocketUrl:",i),localStorage.setItem(tw,n_),localStorage.setItem(fA,r),localStorage.setItem(pA,i),localStorage.setItem(G8,r)}else console.log("config disabled"),localStorage.setItem(tw,t6e),localStorage.removeItem(fA),localStorage.removeItem(pA),localStorage.removeItem(G8)}catch(e){console.log("loadConfig error: ",e)}}function BP(){const e=localStorage.getItem(Xb);if(console.log("custom_enabled: ",e),e===n_){const n=localStorage.getItem(CC);return n===null?V8:n}if(localStorage.getItem(tw)===n_){const n=localStorage.getItem(fA);return n===null?V8:n}return V8}function nw(){return BP()+"/api/v1/upload/file"}function IBe(){const e=localStorage.getItem(Xb);if(console.log("custom_enabled: ",e),e===n_){const r=localStorage.getItem(wC);return r===null?bee:r}const t=localStorage.getItem(tw),n=localStorage.getItem(pA);return t===n_?n:bee}async function x0e(){const e=await RBe();return console.log("getConfigProperties response: ",e.data.data),e.data.code===200?(localStorage.setItem(n6e,JSON.stringify(e.data.data)),e.data.data):null}const $r=ra.create({timeout:2e4,baseURL:BP(),paramsSerializer:{indexes:null}});$r.interceptors.request.use(e=>{e.baseURL=BP();const t=localStorage.getItem(tg);return t&&t.length>10&&e.url.startsWith("/api")&&(e.headers.Authorization=`Bearer ${t}`),!t&&e.url.startsWith("/api")?Promise.reject(ABe):e},e=>(console.debug("request error",e),e.response.status===403&&vr.emit(eg,"403"),e.response.status===401&&vr.emit(eg,"401"),Promise.reject(e)));$r.interceptors.response.use(e=>e,e=>{var t,n,r;if(console.debug("response error",e),e!=null&&e.response)switch((t=e==null?void 0:e.response)==null?void 0:t.status){case 400:console.log("axios interception error 400"),vr.emit(eg,"400");break;case 401:console.log("axios interception error 401"),vr.emit(eg,"401");break;case 403:console.log("axios interception error 403"),vr.emit(eg,"403");break;case 500:console.log("axios interception error 500"),vr.emit(i6e,"500");break;case 601:console.log("axios interception error 601",e.message);break}return Promise.resolve({message:e==null?void 0:e.message,code:(n=e==null?void 0:e.response)==null?void 0:n.status,data:{message:e==null?void 0:e.message,code:(r=e==null?void 0:e.response)==null?void 0:r.status,data:!1}})});const Z8={data:null,status:601,statusText:Bve,headers:{},config:{headers:void 0},request:null},ABe={message:"匿名用户,无需访问服务器接口",name:Bve,code:"601",config:Z8.config,request:Z8.request,response:Z8,isAxiosError:!0,toJSON:function(){return{message:this.message,name:this.name,code:this.code,config:this.config,request:this.request,response:this.response}}};async function NBe(e){return $r("/api/v1/agent/query",{method:"GET",params:{orgUid:e,client:wr}})}async function MBe(e){return $r("/api/v1/agent/update",{method:"POST",data:{...e,client:wr}})}async function kBe(e){return $r("/api/v1/agent/update/status",{method:"POST",data:{...e,client:wr}})}async function PBe(e){return $r("/api/v1/message/unread/query",{method:"GET",params:{userUid:e,client:wr}})}async function DBe(e){return $r("/api/v1/message/rest/send",{method:"POST",data:{json:e,client:wr}})}var mW=Object.defineProperty,LBe=Object.getOwnPropertyDescriptor,$Be=Object.getOwnPropertyNames,FBe=Object.prototype.hasOwnProperty,ls=(e,t)=>()=>(e&&(t=e(e=0)),t),sn=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),h0=(e,t)=>{for(var n in t)mW(e,n,{get:t[n],enumerable:!0})},BBe=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of $Be(t))!FBe.call(e,i)&&i!==n&&mW(e,i,{get:()=>t[i],enumerable:!(r=LBe(t,i))||r.enumerable});return e},Hi=e=>BBe(mW({},"__esModule",{value:!0}),e),Jt=ls(()=>{}),_i={};h0(_i,{_debugEnd:()=>ej,_debugProcess:()=>JB,_events:()=>mj,_eventsCount:()=>gj,_exiting:()=>BB,_fatalExceptions:()=>QB,_getActiveHandles:()=>k0e,_getActiveRequests:()=>M0e,_kill:()=>UB,_linkedBinding:()=>A0e,_maxListeners:()=>hj,_preload_modules:()=>fj,_rawDebug:()=>LB,_startProfilerIdleNotifier:()=>tj,_stopProfilerIdleNotifier:()=>nj,_tickCallback:()=>ZB,abort:()=>aj,addListener:()=>vj,allowedNodeEnvironmentFlags:()=>YB,arch:()=>CB,argv:()=>xB,argv0:()=>dj,assert:()=>P0e,binding:()=>NB,chdir:()=>PB,config:()=>jB,cpuUsage:()=>TC,cwd:()=>kB,debugPort:()=>uj,default:()=>vW,dlopen:()=>N0e,domain:()=>FB,emit:()=>Ej,emitWarning:()=>AB,env:()=>TB,execArgv:()=>OB,execPath:()=>cj,exit:()=>WB,features:()=>KB,hasUncaughtExceptionCaptureCallback:()=>D0e,hrtime:()=>vA,kill:()=>GB,listeners:()=>$0e,memoryUsage:()=>VB,moduleLoadList:()=>$B,nextTick:()=>R0e,off:()=>yj,on:()=>bp,once:()=>bj,openStdin:()=>qB,pid:()=>sj,platform:()=>wB,ppid:()=>lj,prependListener:()=>Cj,prependOnceListener:()=>wj,reallyExit:()=>HB,release:()=>DB,removeAllListeners:()=>Sj,removeListener:()=>_j,resourceUsage:()=>zB,setSourceMapsEnabled:()=>pj,setUncaughtExceptionCaptureCallback:()=>XB,stderr:()=>ij,stdin:()=>oj,stdout:()=>rj,title:()=>EB,umask:()=>MB,uptime:()=>L0e,version:()=>RB,versions:()=>IB});function gW(e){throw new Error("Node.js process "+e+" is not supported by JSPM core outside of Node.js")}function jBe(){!ov||!D1||(ov=!1,D1.length?bf=D1.concat(bf):rw=-1,bf.length&&O0e())}function O0e(){if(!ov){var e=setTimeout(jBe,0);ov=!0;for(var t=bf.length;t;){for(D1=bf,bf=[];++rw1)for(var n=1;n{Jt(),tn(),en(),bf=[],ov=!1,rw=-1,I0e.prototype.run=function(){this.fun.apply(null,this.array)},EB="browser",CB="x64",wB="browser",TB={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},xB=["/usr/bin/node"],OB=[],RB="v16.8.0",IB={},AB=function(e,t){console.warn((t?t+": ":"")+e)},NB=function(e){gW("binding")},MB=function(e){return 0},kB=function(){return"/"},PB=function(e){},DB={name:"node",sourceUrl:"",headersUrl:"",libUrl:""},LB=vs,$B=[],FB={},BB=!1,jB={},HB=vs,UB=vs,TC=function(){return{}},zB=TC,VB=TC,GB=vs,WB=vs,qB=vs,YB={},KB={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},QB=vs,XB=vs,ZB=vs,JB=vs,ej=vs,tj=vs,nj=vs,rj=void 0,ij=void 0,oj=void 0,aj=vs,sj=2,lj=1,cj="/bin/usr/node",uj=9229,dj="node",fj=[],pj=vs,Dp={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0},Dp.now===void 0&&(J8=Date.now(),Dp.timing&&Dp.timing.navigationStart&&(J8=Dp.timing.navigationStart),Dp.now=()=>Date.now()-J8),bA=1e9,vA.bigint=function(e){var t=vA(e);return typeof BigInt>"u"?t[0]*bA+t[1]:BigInt(t[0]*bA)+BigInt(t[1])},hj=10,mj={},gj=0,vj=bp,bj=bp,yj=bp,_j=bp,Sj=bp,Ej=vs,Cj=bp,wj=bp,vW={version:RB,versions:IB,arch:CB,platform:wB,release:DB,_rawDebug:LB,moduleLoadList:$B,binding:NB,_linkedBinding:A0e,_events:mj,_eventsCount:gj,_maxListeners:hj,on:bp,addListener:vj,once:bj,off:yj,removeListener:_j,removeAllListeners:Sj,emit:Ej,prependListener:Cj,prependOnceListener:wj,listeners:$0e,domain:FB,_exiting:BB,config:jB,dlopen:N0e,uptime:L0e,_getActiveRequests:M0e,_getActiveHandles:k0e,reallyExit:HB,_kill:UB,cpuUsage:TC,resourceUsage:zB,memoryUsage:VB,kill:GB,exit:WB,openStdin:qB,allowedNodeEnvironmentFlags:YB,assert:P0e,features:KB,_fatalExceptions:QB,setUncaughtExceptionCaptureCallback:XB,hasUncaughtExceptionCaptureCallback:D0e,emitWarning:AB,nextTick:R0e,_tickCallback:ZB,_debugProcess:JB,_debugEnd:ej,_startProfilerIdleNotifier:tj,_stopProfilerIdleNotifier:nj,stdout:rj,stdin:oj,stderr:ij,abort:aj,umask:MB,chdir:PB,cwd:kB,env:TB,title:EB,argv:xB,execArgv:OB,pid:sj,ppid:lj,execPath:cj,debugPort:uj,hrtime:vA,argv0:dj,_preload_modules:fj,setSourceMapsEnabled:pj}}),en=ls(()=>{HBe()}),cs={};h0(cs,{Buffer:()=>aM,INSPECT_MAX_BYTES:()=>F0e,default:()=>yp,kMaxLength:()=>B0e});function UBe(){if(Tj)return xb;Tj=!0,xb.byteLength=s,xb.toByteArray=c,xb.fromByteArray=f;for(var e=[],t=[],n=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=r.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var g=h.indexOf("=");g===-1&&(g=m);var v=g===m?0:4-g%4;return[g,v]}function s(h){var m=a(h),g=m[0],v=m[1];return(g+v)*3/4-v}function l(h,m,g){return(m+g)*3/4-g}function c(h){var m,g=a(h),v=g[0],y=g[1],b=new n(l(h,v,y)),_=0,E=y>0?v-4:v,C;for(C=0;C>16&255,b[_++]=m>>8&255,b[_++]=m&255;return y===2&&(m=t[h.charCodeAt(C)]<<2|t[h.charCodeAt(C+1)]>>4,b[_++]=m&255),y===1&&(m=t[h.charCodeAt(C)]<<10|t[h.charCodeAt(C+1)]<<4|t[h.charCodeAt(C+2)]>>2,b[_++]=m>>8&255,b[_++]=m&255),b}function u(h){return e[h>>18&63]+e[h>>12&63]+e[h>>6&63]+e[h&63]}function d(h,m,g){for(var v,y=[],b=m;bE?E:_+b));return v===1?(m=h[g-1],y.push(e[m>>2]+e[m<<4&63]+"==")):v===2&&(m=(h[g-2]<<8)+h[g-1],y.push(e[m>>10]+e[m>>4&63]+e[m<<2&63]+"=")),y.join("")}return xb}function zBe(){return xj?xC:(xj=!0,xC.read=function(e,t,n,r,i){var o,a,s=i*8-r-1,l=(1<>1,u=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-u)-1,h>>=-u,u+=s;u>0;o=o*256+e[t+d],d+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=a*256+e[t+d],d+=f,u-=8);if(o===0)o=1-c;else{if(o===l)return a?NaN:(h?-1:1)*(1/0);a=a+Math.pow(2,r),o=o-c}return(h?-1:1)*a*Math.pow(2,o-r)},xC.write=function(e,t,n,r,i,o){var a,s,l,c=o*8-i-1,u=(1<>1,f=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,m=r?1:-1,g=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?t+=f/l:t+=f*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a=a+d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=s&255,h+=m,s/=256,i-=8);for(a=a<0;e[n+h]=a&255,h+=m,a/=256,c-=8);e[n+h-m]|=g*128},xC)}function VBe(){if(Oj)return Kh;Oj=!0;let e=UBe(),t=zBe(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Kh.Buffer=a,Kh.SlowBuffer=y,Kh.INSPECT_MAX_BYTES=50;let r=2147483647;Kh.kMaxLength=r,a.TYPED_ARRAY_SUPPORT=i(),!a.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{let z=new Uint8Array(1),D={foo:function(){return 42}};return Object.setPrototypeOf(D,Uint8Array.prototype),Object.setPrototypeOf(z,D),z.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function o(z){if(z>r)throw new RangeError('The value "'+z+'" is invalid for option "size"');let D=new Uint8Array(z);return Object.setPrototypeOf(D,a.prototype),D}function a(z,D,q){if(typeof z=="number"){if(typeof D=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(z)}return s(z,D,q)}a.poolSize=8192;function s(z,D,q){if(typeof z=="string")return d(z,D);if(ArrayBuffer.isView(z))return h(z);if(z==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof z);if(me(z,ArrayBuffer)||z&&me(z.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(me(z,SharedArrayBuffer)||z&&me(z.buffer,SharedArrayBuffer)))return m(z,D,q);if(typeof z=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let oe=z.valueOf&&z.valueOf();if(oe!=null&&oe!==z)return a.from(oe,D,q);let ye=g(z);if(ye)return ye;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof z[Symbol.toPrimitive]=="function")return a.from(z[Symbol.toPrimitive]("string"),D,q);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof z)}a.from=function(z,D,q){return s(z,D,q)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function l(z){if(typeof z!="number")throw new TypeError('"size" argument must be of type number');if(z<0)throw new RangeError('The value "'+z+'" is invalid for option "size"')}function c(z,D,q){return l(z),z<=0?o(z):D!==void 0?typeof q=="string"?o(z).fill(D,q):o(z).fill(D):o(z)}a.alloc=function(z,D,q){return c(z,D,q)};function u(z){return l(z),o(z<0?0:v(z)|0)}a.allocUnsafe=function(z){return u(z)},a.allocUnsafeSlow=function(z){return u(z)};function d(z,D){if((typeof D!="string"||D==="")&&(D="utf8"),!a.isEncoding(D))throw new TypeError("Unknown encoding: "+D);let q=b(z,D)|0,oe=o(q),ye=oe.write(z,D);return ye!==q&&(oe=oe.slice(0,ye)),oe}function f(z){let D=z.length<0?0:v(z.length)|0,q=o(D);for(let oe=0;oe=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return z|0}function y(z){return+z!=z&&(z=0),a.alloc(+z)}a.isBuffer=function(z){return z!=null&&z._isBuffer===!0&&z!==a.prototype},a.compare=function(z,D){if(me(z,Uint8Array)&&(z=a.from(z,z.offset,z.byteLength)),me(D,Uint8Array)&&(D=a.from(D,D.offset,D.byteLength)),!a.isBuffer(z)||!a.isBuffer(D))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(z===D)return 0;let q=z.length,oe=D.length;for(let ye=0,ce=Math.min(q,oe);yeoe.length?(a.isBuffer(ce)||(ce=a.from(ce)),ce.copy(oe,ye)):Uint8Array.prototype.set.call(oe,ce,ye);else if(a.isBuffer(ce))ce.copy(oe,ye);else throw new TypeError('"list" argument must be an Array of Buffers');ye+=ce.length}return oe};function b(z,D){if(a.isBuffer(z))return z.length;if(ArrayBuffer.isView(z)||me(z,ArrayBuffer))return z.byteLength;if(typeof z!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof z);let q=z.length,oe=arguments.length>2&&arguments[2]===!0;if(!oe&&q===0)return 0;let ye=!1;for(;;)switch(D){case"ascii":case"latin1":case"binary":return q;case"utf8":case"utf-8":return ue(z).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q*2;case"hex":return q>>>1;case"base64":return Te(z).length;default:if(ye)return oe?-1:ue(z).length;D=(""+D).toLowerCase(),ye=!0}}a.byteLength=b;function _(z,D,q){let oe=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((q===void 0||q>this.length)&&(q=this.length),q<=0)||(q>>>=0,D>>>=0,q<=D))return"";for(z||(z="utf8");;)switch(z){case"hex":return L(this,D,q);case"utf8":case"utf-8":return M(this,D,q);case"ascii":return k(this,D,q);case"latin1":case"binary":return N(this,D,q);case"base64":return I(this,D,q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return V(this,D,q);default:if(oe)throw new TypeError("Unknown encoding: "+z);z=(z+"").toLowerCase(),oe=!0}}a.prototype._isBuffer=!0;function E(z,D,q){let oe=z[D];z[D]=z[q],z[q]=oe}a.prototype.swap16=function(){let z=this.length;if(z%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let D=0;DD&&(z+=" ... "),""},n&&(a.prototype[n]=a.prototype.inspect),a.prototype.compare=function(z,D,q,oe,ye){if(me(z,Uint8Array)&&(z=a.from(z,z.offset,z.byteLength)),!a.isBuffer(z))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof z);if(D===void 0&&(D=0),q===void 0&&(q=z?z.length:0),oe===void 0&&(oe=0),ye===void 0&&(ye=this.length),D<0||q>z.length||oe<0||ye>this.length)throw new RangeError("out of range index");if(oe>=ye&&D>=q)return 0;if(oe>=ye)return-1;if(D>=q)return 1;if(D>>>=0,q>>>=0,oe>>>=0,ye>>>=0,this===z)return 0;let ce=ye-oe,Be=q-D,Ve=Math.min(ce,Be),re=this.slice(oe,ye),Me=z.slice(D,q);for(let je=0;je2147483647?q=2147483647:q<-2147483648&&(q=-2147483648),q=+q,be(q)&&(q=ye?0:z.length-1),q<0&&(q=z.length+q),q>=z.length){if(ye)return-1;q=z.length-1}else if(q<0)if(ye)q=0;else return-1;if(typeof D=="string"&&(D=a.from(D,oe)),a.isBuffer(D))return D.length===0?-1:S(z,D,q,oe,ye);if(typeof D=="number")return D=D&255,typeof Uint8Array.prototype.indexOf=="function"?ye?Uint8Array.prototype.indexOf.call(z,D,q):Uint8Array.prototype.lastIndexOf.call(z,D,q):S(z,[D],q,oe,ye);throw new TypeError("val must be string, number or Buffer")}function S(z,D,q,oe,ye){let ce=1,Be=z.length,Ve=D.length;if(oe!==void 0&&(oe=String(oe).toLowerCase(),oe==="ucs2"||oe==="ucs-2"||oe==="utf16le"||oe==="utf-16le")){if(z.length<2||D.length<2)return-1;ce=2,Be/=2,Ve/=2,q/=2}function re(je,ke){return ce===1?je[ke]:je.readUInt16BE(ke*ce)}let Me;if(ye){let je=-1;for(Me=q;MeBe&&(q=Be-Ve),Me=q;Me>=0;Me--){let je=!0;for(let ke=0;keye&&(oe=ye)):oe=ye;let ce=D.length;oe>ce/2&&(oe=ce/2);let Be;for(Be=0;Be>>0,isFinite(q)?(q=q>>>0,oe===void 0&&(oe="utf8")):(oe=q,q=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let ye=this.length-D;if((q===void 0||q>ye)&&(q=ye),z.length>0&&(q<0||D<0)||D>this.length)throw new RangeError("Attempt to write outside buffer bounds");oe||(oe="utf8");let ce=!1;for(;;)switch(oe){case"hex":return w(this,z,D,q);case"utf8":case"utf-8":return T(this,z,D,q);case"ascii":case"latin1":case"binary":return O(this,z,D,q);case"base64":return x(this,z,D,q);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,z,D,q);default:if(ce)throw new TypeError("Unknown encoding: "+oe);oe=(""+oe).toLowerCase(),ce=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function I(z,D,q){return D===0&&q===z.length?e.fromByteArray(z):e.fromByteArray(z.slice(D,q))}function M(z,D,q){q=Math.min(z.length,q);let oe=[],ye=D;for(;ye239?4:ce>223?3:ce>191?2:1;if(ye+Ve<=q){let re,Me,je,ke;switch(Ve){case 1:ce<128&&(Be=ce);break;case 2:re=z[ye+1],(re&192)===128&&(ke=(ce&31)<<6|re&63,ke>127&&(Be=ke));break;case 3:re=z[ye+1],Me=z[ye+2],(re&192)===128&&(Me&192)===128&&(ke=(ce&15)<<12|(re&63)<<6|Me&63,ke>2047&&(ke<55296||ke>57343)&&(Be=ke));break;case 4:re=z[ye+1],Me=z[ye+2],je=z[ye+3],(re&192)===128&&(Me&192)===128&&(je&192)===128&&(ke=(ce&15)<<18|(re&63)<<12|(Me&63)<<6|je&63,ke>65535&&ke<1114112&&(Be=ke))}}Be===null?(Be=65533,Ve=1):Be>65535&&(Be-=65536,oe.push(Be>>>10&1023|55296),Be=56320|Be&1023),oe.push(Be),ye+=Ve}return P(oe)}let B=4096;function P(z){let D=z.length;if(D<=B)return String.fromCharCode.apply(String,z);let q="",oe=0;for(;oeoe)&&(q=oe);let ye="";for(let ce=D;ceq&&(z=q),D<0?(D+=q,D<0&&(D=0)):D>q&&(D=q),Dq)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(z,D,q){z=z>>>0,D=D>>>0,q||$(z,D,this.length);let oe=this[z],ye=1,ce=0;for(;++ce>>0,D=D>>>0,q||$(z,D,this.length);let oe=this[z+--D],ye=1;for(;D>0&&(ye*=256);)oe+=this[z+--D]*ye;return oe},a.prototype.readUint8=a.prototype.readUInt8=function(z,D){return z=z>>>0,D||$(z,1,this.length),this[z]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(z,D){return z=z>>>0,D||$(z,2,this.length),this[z]|this[z+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(z,D){return z=z>>>0,D||$(z,2,this.length),this[z]<<8|this[z+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(z,D){return z=z>>>0,D||$(z,4,this.length),(this[z]|this[z+1]<<8|this[z+2]<<16)+this[z+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(z,D){return z=z>>>0,D||$(z,4,this.length),this[z]*16777216+(this[z+1]<<16|this[z+2]<<8|this[z+3])},a.prototype.readBigUInt64LE=Re(function(z){z=z>>>0,le(z,"offset");let D=this[z],q=this[z+7];(D===void 0||q===void 0)&&de(z,this.length-8);let oe=D+this[++z]*2**8+this[++z]*2**16+this[++z]*2**24,ye=this[++z]+this[++z]*2**8+this[++z]*2**16+q*2**24;return BigInt(oe)+(BigInt(ye)<>>0,le(z,"offset");let D=this[z],q=this[z+7];(D===void 0||q===void 0)&&de(z,this.length-8);let oe=D*2**24+this[++z]*2**16+this[++z]*2**8+this[++z],ye=this[++z]*2**24+this[++z]*2**16+this[++z]*2**8+q;return(BigInt(oe)<>>0,D=D>>>0,q||$(z,D,this.length);let oe=this[z],ye=1,ce=0;for(;++ce=ye&&(oe-=Math.pow(2,8*D)),oe},a.prototype.readIntBE=function(z,D,q){z=z>>>0,D=D>>>0,q||$(z,D,this.length);let oe=D,ye=1,ce=this[z+--oe];for(;oe>0&&(ye*=256);)ce+=this[z+--oe]*ye;return ye*=128,ce>=ye&&(ce-=Math.pow(2,8*D)),ce},a.prototype.readInt8=function(z,D){return z=z>>>0,D||$(z,1,this.length),this[z]&128?(255-this[z]+1)*-1:this[z]},a.prototype.readInt16LE=function(z,D){z=z>>>0,D||$(z,2,this.length);let q=this[z]|this[z+1]<<8;return q&32768?q|4294901760:q},a.prototype.readInt16BE=function(z,D){z=z>>>0,D||$(z,2,this.length);let q=this[z+1]|this[z]<<8;return q&32768?q|4294901760:q},a.prototype.readInt32LE=function(z,D){return z=z>>>0,D||$(z,4,this.length),this[z]|this[z+1]<<8|this[z+2]<<16|this[z+3]<<24},a.prototype.readInt32BE=function(z,D){return z=z>>>0,D||$(z,4,this.length),this[z]<<24|this[z+1]<<16|this[z+2]<<8|this[z+3]},a.prototype.readBigInt64LE=Re(function(z){z=z>>>0,le(z,"offset");let D=this[z],q=this[z+7];(D===void 0||q===void 0)&&de(z,this.length-8);let oe=this[z+4]+this[z+5]*2**8+this[z+6]*2**16+(q<<24);return(BigInt(oe)<>>0,le(z,"offset");let D=this[z],q=this[z+7];(D===void 0||q===void 0)&&de(z,this.length-8);let oe=(D<<24)+this[++z]*2**16+this[++z]*2**8+this[++z];return(BigInt(oe)<>>0,D||$(z,4,this.length),t.read(this,z,!0,23,4)},a.prototype.readFloatBE=function(z,D){return z=z>>>0,D||$(z,4,this.length),t.read(this,z,!1,23,4)},a.prototype.readDoubleLE=function(z,D){return z=z>>>0,D||$(z,8,this.length),t.read(this,z,!0,52,8)},a.prototype.readDoubleBE=function(z,D){return z=z>>>0,D||$(z,8,this.length),t.read(this,z,!1,52,8)};function W(z,D,q,oe,ye,ce){if(!a.isBuffer(z))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>ye||Dz.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(z,D,q,oe){if(z=+z,D=D>>>0,q=q>>>0,!oe){let Be=Math.pow(2,8*q)-1;W(this,z,D,q,Be,0)}let ye=1,ce=0;for(this[D]=z&255;++ce>>0,q=q>>>0,!oe){let Be=Math.pow(2,8*q)-1;W(this,z,D,q,Be,0)}let ye=q-1,ce=1;for(this[D+ye]=z&255;--ye>=0&&(ce*=256);)this[D+ye]=z/ce&255;return D+q},a.prototype.writeUint8=a.prototype.writeUInt8=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,1,255,0),this[D]=z&255,D+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,2,65535,0),this[D]=z&255,this[D+1]=z>>>8,D+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,2,65535,0),this[D]=z>>>8,this[D+1]=z&255,D+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,4,4294967295,0),this[D+3]=z>>>24,this[D+2]=z>>>16,this[D+1]=z>>>8,this[D]=z&255,D+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,4,4294967295,0),this[D]=z>>>24,this[D+1]=z>>>16,this[D+2]=z>>>8,this[D+3]=z&255,D+4};function j(z,D,q,oe,ye){pe(D,oe,ye,z,q,7);let ce=Number(D&BigInt(4294967295));z[q++]=ce,ce=ce>>8,z[q++]=ce,ce=ce>>8,z[q++]=ce,ce=ce>>8,z[q++]=ce;let Be=Number(D>>BigInt(32)&BigInt(4294967295));return z[q++]=Be,Be=Be>>8,z[q++]=Be,Be=Be>>8,z[q++]=Be,Be=Be>>8,z[q++]=Be,q}function U(z,D,q,oe,ye){pe(D,oe,ye,z,q,7);let ce=Number(D&BigInt(4294967295));z[q+7]=ce,ce=ce>>8,z[q+6]=ce,ce=ce>>8,z[q+5]=ce,ce=ce>>8,z[q+4]=ce;let Be=Number(D>>BigInt(32)&BigInt(4294967295));return z[q+3]=Be,Be=Be>>8,z[q+2]=Be,Be=Be>>8,z[q+1]=Be,Be=Be>>8,z[q]=Be,q+8}a.prototype.writeBigUInt64LE=Re(function(z,D=0){return j(this,z,D,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=Re(function(z,D=0){return U(this,z,D,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(z,D,q,oe){if(z=+z,D=D>>>0,!oe){let Ve=Math.pow(2,8*q-1);W(this,z,D,q,Ve-1,-Ve)}let ye=0,ce=1,Be=0;for(this[D]=z&255;++ye>0)-Be&255;return D+q},a.prototype.writeIntBE=function(z,D,q,oe){if(z=+z,D=D>>>0,!oe){let Ve=Math.pow(2,8*q-1);W(this,z,D,q,Ve-1,-Ve)}let ye=q-1,ce=1,Be=0;for(this[D+ye]=z&255;--ye>=0&&(ce*=256);)z<0&&Be===0&&this[D+ye+1]!==0&&(Be=1),this[D+ye]=(z/ce>>0)-Be&255;return D+q},a.prototype.writeInt8=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,1,127,-128),z<0&&(z=255+z+1),this[D]=z&255,D+1},a.prototype.writeInt16LE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,2,32767,-32768),this[D]=z&255,this[D+1]=z>>>8,D+2},a.prototype.writeInt16BE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,2,32767,-32768),this[D]=z>>>8,this[D+1]=z&255,D+2},a.prototype.writeInt32LE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,4,2147483647,-2147483648),this[D]=z&255,this[D+1]=z>>>8,this[D+2]=z>>>16,this[D+3]=z>>>24,D+4},a.prototype.writeInt32BE=function(z,D,q){return z=+z,D=D>>>0,q||W(this,z,D,4,2147483647,-2147483648),z<0&&(z=4294967295+z+1),this[D]=z>>>24,this[D+1]=z>>>16,this[D+2]=z>>>8,this[D+3]=z&255,D+4},a.prototype.writeBigInt64LE=Re(function(z,D=0){return j(this,z,D,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=Re(function(z,D=0){return U(this,z,D,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Z(z,D,q,oe,ye,ce){if(q+oe>z.length)throw new RangeError("Index out of range");if(q<0)throw new RangeError("Index out of range")}function te(z,D,q,oe,ye){return D=+D,q=q>>>0,ye||Z(z,D,q,4),t.write(z,D,q,oe,23,4),q+4}a.prototype.writeFloatLE=function(z,D,q){return te(this,z,D,!0,q)},a.prototype.writeFloatBE=function(z,D,q){return te(this,z,D,!1,q)};function ae(z,D,q,oe,ye){return D=+D,q=q>>>0,ye||Z(z,D,q,8),t.write(z,D,q,oe,52,8),q+8}a.prototype.writeDoubleLE=function(z,D,q){return ae(this,z,D,!0,q)},a.prototype.writeDoubleBE=function(z,D,q){return ae(this,z,D,!1,q)},a.prototype.copy=function(z,D,q,oe){if(!a.isBuffer(z))throw new TypeError("argument should be a Buffer");if(q||(q=0),!oe&&oe!==0&&(oe=this.length),D>=z.length&&(D=z.length),D||(D=0),oe>0&&oe=this.length)throw new RangeError("Index out of range");if(oe<0)throw new RangeError("sourceEnd out of bounds");oe>this.length&&(oe=this.length),z.length-D>>0,q=q===void 0?this.length:q>>>0,z||(z=0);let ye;if(typeof z=="number")for(ye=D;ye2**32?ye=ie(String(q)):typeof q=="bigint"&&(ye=String(q),(q>BigInt(2)**BigInt(32)||q<-(BigInt(2)**BigInt(32)))&&(ye=ie(ye)),ye+="n"),oe+=` It must be ${D}. Received ${ye}`,oe},RangeError);function ie(z){let D="",q=z.length,oe=z[0]==="-"?1:0;for(;q>=oe+4;q-=3)D=`_${z.slice(q-3,q)}${D}`;return`${z.slice(0,q)}${D}`}function he(z,D,q){le(D,"offset"),(z[D]===void 0||z[D+q]===void 0)&&de(D,z.length-(q+1))}function pe(z,D,q,oe,ye,ce){if(z>q||z= 0${Be} and < 2${Be} ** ${(ce+1)*8}${Be}`:Ve=`>= -(2${Be} ** ${(ce+1)*8-1}${Be}) and < 2 ** ${(ce+1)*8-1}${Be}`,new K.ERR_OUT_OF_RANGE("value",Ve,z)}he(oe,ye,ce)}function le(z,D){if(typeof z!="number")throw new K.ERR_INVALID_ARG_TYPE(D,"number",z)}function de(z,D,q){throw Math.floor(z)!==z?(le(z,q),new K.ERR_OUT_OF_RANGE("offset","an integer",z)):D<0?new K.ERR_BUFFER_OUT_OF_BOUNDS:new K.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${D}`,z)}let ve=/[^+/0-9A-Za-z-_]/g;function ne(z){if(z=z.split("=")[0],z=z.trim().replace(ve,""),z.length<2)return"";for(;z.length%4!==0;)z=z+"=";return z}function ue(z,D){D=D||1/0;let q,oe=z.length,ye=null,ce=[];for(let Be=0;Be55295&&q<57344){if(!ye){if(q>56319){(D-=3)>-1&&ce.push(239,191,189);continue}else if(Be+1===oe){(D-=3)>-1&&ce.push(239,191,189);continue}ye=q;continue}if(q<56320){(D-=3)>-1&&ce.push(239,191,189),ye=q;continue}q=(ye-55296<<10|q-56320)+65536}else ye&&(D-=3)>-1&&ce.push(239,191,189);if(ye=null,q<128){if((D-=1)<0)break;ce.push(q)}else if(q<2048){if((D-=2)<0)break;ce.push(q>>6|192,q&63|128)}else if(q<65536){if((D-=3)<0)break;ce.push(q>>12|224,q>>6&63|128,q&63|128)}else if(q<1114112){if((D-=4)<0)break;ce.push(q>>18|240,q>>12&63|128,q>>6&63|128,q&63|128)}else throw new Error("Invalid code point")}return ce}function ge(z){let D=[];for(let q=0;q>8,ye=q%256,ce.push(ye),ce.push(oe);return ce}function Te(z){return e.toByteArray(ne(z))}function Se(z,D,q,oe){let ye;for(ye=0;ye=D.length||ye>=z.length);++ye)D[ye+q]=z[ye];return ye}function me(z,D){return z instanceof D||z!=null&&z.constructor!=null&&z.constructor.name!=null&&z.constructor.name===D.name}function be(z){return z!==z}let _e=function(){let z="0123456789abcdef",D=new Array(256);for(let q=0;q<16;++q){let oe=q*16;for(let ye=0;ye<16;++ye)D[oe+ye]=z[q]+z[ye]}return D}();function Re(z){return typeof BigInt>"u"?De:z}function De(){throw new Error("BigInt not supported")}return Kh}var xb,Tj,xC,xj,Kh,Oj,yp,aM,F0e,B0e,us=ls(()=>{Jt(),tn(),en(),xb={},Tj=!1,xC={},xj=!1,Kh={},Oj=!1,yp=VBe(),yp.Buffer,yp.SlowBuffer,yp.INSPECT_MAX_BYTES,yp.kMaxLength,aM=yp.Buffer,F0e=yp.INSPECT_MAX_BYTES,B0e=yp.kMaxLength}),tn=ls(()=>{us()}),GBe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(n){this.aliasToTopic={},this.max=n}put(n,r){return r===0||r>this.max?!1:(this.aliasToTopic[r]=n,this.length=Object.keys(this.aliasToTopic).length,!0)}getTopicByAlias(n){return this.aliasToTopic[n]}clear(){this.aliasToTopic={}}};e.default=t}),Oa=sn((e,t)=>{Jt(),tn(),en(),t.exports={ArrayIsArray(n){return Array.isArray(n)},ArrayPrototypeIncludes(n,r){return n.includes(r)},ArrayPrototypeIndexOf(n,r){return n.indexOf(r)},ArrayPrototypeJoin(n,r){return n.join(r)},ArrayPrototypeMap(n,r){return n.map(r)},ArrayPrototypePop(n,r){return n.pop(r)},ArrayPrototypePush(n,r){return n.push(r)},ArrayPrototypeSlice(n,r,i){return n.slice(r,i)},Error,FunctionPrototypeCall(n,r,...i){return n.call(r,...i)},FunctionPrototypeSymbolHasInstance(n,r){return Function.prototype[Symbol.hasInstance].call(n,r)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(n,r){return Object.defineProperties(n,r)},ObjectDefineProperty(n,r,i){return Object.defineProperty(n,r,i)},ObjectGetOwnPropertyDescriptor(n,r){return Object.getOwnPropertyDescriptor(n,r)},ObjectKeys(n){return Object.keys(n)},ObjectSetPrototypeOf(n,r){return Object.setPrototypeOf(n,r)},Promise,PromisePrototypeCatch(n,r){return n.catch(r)},PromisePrototypeThen(n,r,i){return n.then(r,i)},PromiseReject(n){return Promise.reject(n)},ReflectApply:Reflect.apply,RegExpPrototypeTest(n,r){return n.test(r)},SafeSet:Set,String,StringPrototypeSlice(n,r,i){return n.slice(r,i)},StringPrototypeToLowerCase(n){return n.toLowerCase()},StringPrototypeToUpperCase(n){return n.toUpperCase()},StringPrototypeTrim(n){return n.trim()},Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet(n,r,i){return n.set(r,i)},Uint8Array}}),ih=sn((e,t)=>{Jt(),tn(),en();var n=(us(),Hi(cs)),r=Object.getPrototypeOf(async function(){}).constructor,i=globalThis.Blob||n.Blob,o=typeof i<"u"?function(s){return s instanceof i}:function(s){return!1},a=class extends Error{constructor(s){if(!Array.isArray(s))throw new TypeError(`Expected input to be an Array, got ${typeof s}`);let l="";for(let c=0;c{s=c,l=u}),resolve:s,reject:l}},promisify(s){return new Promise((l,c)=>{s((u,...d)=>u?c(u):l(...d))})},debuglog(){return function(){}},format(s,...l){return s.replace(/%([sdifj])/g,function(...[c,u]){let d=l.shift();return u==="f"?d.toFixed(6):u==="j"?JSON.stringify(d):u==="s"&&typeof d=="object"?`${d.constructor!==Object?d.constructor.name:""} {}`.trim():d.toString()})},inspect(s){switch(typeof s){case"string":if(s.includes("'"))if(s.includes('"')){if(!s.includes("`")&&!s.includes("${"))return`\`${s}\``}else return`"${s}"`;return`'${s}'`;case"number":return isNaN(s)?"NaN":Object.is(s,-0)?String(s):s;case"bigint":return`${String(s)}n`;case"boolean":case"undefined":return String(s);case"object":return"{}"}},types:{isAsyncFunction(s){return s instanceof r},isArrayBufferView(s){return ArrayBuffer.isView(s)}},isBlob:o},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}),bW=sn((e,t)=>{Jt(),tn(),en();var{AbortController:n,AbortSignal:r}=typeof self<"u"?self:typeof window<"u"?window:void 0;t.exports=n,t.exports.AbortSignal=r,t.exports.default=n}),Ll=sn((e,t)=>{Jt(),tn(),en();var{format:n,inspect:r,AggregateError:i}=ih(),o=globalThis.AggregateError||i,a=Symbol("kIsNodeError"),s=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,c="__node_internal_",u={};function d(b,_){if(!b)throw new u.ERR_INTERNAL_ASSERTION(_)}function f(b){let _="",E=b.length,C=b[0]==="-"?1:0;for(;E>=C+4;E-=3)_=`_${b.slice(E-3,E)}${_}`;return`${b.slice(0,E)}${_}`}function h(b,_,E){if(typeof _=="function")return d(_.length<=E.length,`Code: ${b}; The provided arguments length (${E.length}) does not match the required ones (${_.length}).`),_(...E);let C=(_.match(/%[dfijoOs]/g)||[]).length;return d(C===E.length,`Code: ${b}; The provided arguments length (${E.length}) does not match the required ones (${C}).`),E.length===0?_:n(_,...E)}function m(b,_,E){E||(E=Error);class C extends E{constructor(...w){super(h(b,_,w))}toString(){return`${this.name} [${b}]: ${this.message}`}}Object.defineProperties(C.prototype,{name:{value:E.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${b}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),C.prototype.code=b,C.prototype[a]=!0,u[b]=C}function g(b){let _=c+b.name;return Object.defineProperty(b,"name",{value:_}),b}function v(b,_){if(b&&_&&b!==_){if(Array.isArray(_.errors))return _.errors.push(b),_;let E=new o([_,b],_.message);return E.code=_.code,E}return b||_}var y=class extends Error{constructor(b="The operation was aborted",_=void 0){if(_!==void 0&&typeof _!="object")throw new u.ERR_INVALID_ARG_TYPE("options","Object",_);super(b,_),this.code="ABORT_ERR",this.name="AbortError"}};m("ERR_ASSERTION","%s",Error),m("ERR_INVALID_ARG_TYPE",(b,_,E)=>{d(typeof b=="string","'name' must be a string"),Array.isArray(_)||(_=[_]);let C="The ";b.endsWith(" argument")?C+=`${b} `:C+=`"${b}" ${b.includes(".")?"property":"argument"} `,C+="must be ";let S=[],w=[],T=[];for(let x of _)d(typeof x=="string","All expected entries have to be of type string"),s.includes(x)?S.push(x.toLowerCase()):l.test(x)?w.push(x):(d(x!=="object",'The value "object" should be written as "Object"'),T.push(x));if(w.length>0){let x=S.indexOf("object");x!==-1&&(S.splice(S,x,1),w.push("Object"))}if(S.length>0){switch(S.length){case 1:C+=`of type ${S[0]}`;break;case 2:C+=`one of type ${S[0]} or ${S[1]}`;break;default:{let x=S.pop();C+=`one of type ${S.join(", ")}, or ${x}`}}(w.length>0||T.length>0)&&(C+=" or ")}if(w.length>0){switch(w.length){case 1:C+=`an instance of ${w[0]}`;break;case 2:C+=`an instance of ${w[0]} or ${w[1]}`;break;default:{let x=w.pop();C+=`an instance of ${w.join(", ")}, or ${x}`}}T.length>0&&(C+=" or ")}switch(T.length){case 0:break;case 1:T[0].toLowerCase()!==T[0]&&(C+="an "),C+=`${T[0]}`;break;case 2:C+=`one of ${T[0]} or ${T[1]}`;break;default:{let x=T.pop();C+=`one of ${T.join(", ")}, or ${x}`}}if(E==null)C+=`. Received ${E}`;else if(typeof E=="function"&&E.name)C+=`. Received function ${E.name}`;else if(typeof E=="object"){var O;if((O=E.constructor)!==null&&O!==void 0&&O.name)C+=`. Received an instance of ${E.constructor.name}`;else{let x=r(E,{depth:-1});C+=`. Received ${x}`}}else{let x=r(E,{colors:!1});x.length>25&&(x=`${x.slice(0,25)}...`),C+=`. Received type ${typeof E} (${x})`}return C},TypeError),m("ERR_INVALID_ARG_VALUE",(b,_,E="is invalid")=>{let C=r(_);return C.length>128&&(C=C.slice(0,128)+"..."),`The ${b.includes(".")?"property":"argument"} '${b}' ${E}. Received ${C}`},TypeError),m("ERR_INVALID_RETURN_VALUE",(b,_,E)=>{var C;let S=E!=null&&(C=E.constructor)!==null&&C!==void 0&&C.name?`instance of ${E.constructor.name}`:`type ${typeof E}`;return`Expected ${b} to be returned from the "${_}" function but got ${S}.`},TypeError),m("ERR_MISSING_ARGS",(...b)=>{d(b.length>0,"At least one arg needs to be specified");let _,E=b.length;switch(b=(Array.isArray(b)?b:[b]).map(C=>`"${C}"`).join(" or "),E){case 1:_+=`The ${b[0]} argument`;break;case 2:_+=`The ${b[0]} and ${b[1]} arguments`;break;default:{let C=b.pop();_+=`The ${b.join(", ")}, and ${C} arguments`}break}return`${_} must be specified`},TypeError),m("ERR_OUT_OF_RANGE",(b,_,E)=>{d(_,'Missing "range" argument');let C;return Number.isInteger(E)&&Math.abs(E)>2**32?C=f(String(E)):typeof E=="bigint"?(C=String(E),(E>2n**32n||E<-(2n**32n))&&(C=f(C)),C+="n"):C=r(E),`The value of "${b}" is out of range. It must be ${_}. Received ${C}`},RangeError),m("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),m("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),m("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),m("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),m("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),m("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),m("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),m("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),m("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),m("ERR_STREAM_WRITE_AFTER_END","write after end",Error),m("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),t.exports={AbortError:y,aggregateTwoErrors:g(v),hideStackFrames:g,codes:u}}),jP=sn((e,t)=>{Jt(),tn(),en();var{ArrayIsArray:n,ArrayPrototypeIncludes:r,ArrayPrototypeJoin:i,ArrayPrototypeMap:o,NumberIsInteger:a,NumberIsNaN:s,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:c,NumberParseInt:u,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:f,String:h,StringPrototypeToUpperCase:m,StringPrototypeTrim:g}=Oa(),{hideStackFrames:v,codes:{ERR_SOCKET_BAD_PORT:y,ERR_INVALID_ARG_TYPE:b,ERR_INVALID_ARG_VALUE:_,ERR_OUT_OF_RANGE:E,ERR_UNKNOWN_SIGNAL:C}}=Ll(),{normalizeEncoding:S}=ih(),{isAsyncFunction:w,isArrayBufferView:T}=ih().types,O={};function x(Se){return Se===(Se|0)}function A(Se){return Se===Se>>>0}var I=/^[0-7]+$/,M="must be a 32-bit unsigned integer or an octal string";function B(Se,me,be){if(typeof Se>"u"&&(Se=be),typeof Se=="string"){if(f(I,Se)===null)throw new _(me,Se,M);Se=u(Se,8)}return N(Se,me),Se}var P=v((Se,me,be=c,_e=l)=>{if(typeof Se!="number")throw new b(me,"number",Se);if(!a(Se))throw new E(me,"an integer",Se);if(Se_e)throw new E(me,`>= ${be} && <= ${_e}`,Se)}),k=v((Se,me,be=-2147483648,_e=2147483647)=>{if(typeof Se!="number")throw new b(me,"number",Se);if(!a(Se))throw new E(me,"an integer",Se);if(Se_e)throw new E(me,`>= ${be} && <= ${_e}`,Se)}),N=v((Se,me,be=!1)=>{if(typeof Se!="number")throw new b(me,"number",Se);if(!a(Se))throw new E(me,"an integer",Se);let _e=be?1:0,Re=4294967295;if(Se<_e||Se>Re)throw new E(me,`>= ${_e} && <= ${Re}`,Se)});function L(Se,me){if(typeof Se!="string")throw new b(me,"string",Se)}function V(Se,me,be=void 0,_e){if(typeof Se!="number")throw new b(me,"number",Se);if(be!=null&&Se_e||(be!=null||_e!=null)&&s(Se))throw new E(me,`${be!=null?`>= ${be}`:""}${be!=null&&_e!=null?" && ":""}${_e!=null?`<= ${_e}`:""}`,Se)}var $=v((Se,me,be)=>{if(!r(be,Se)){let _e="must be one of: "+i(o(be,Re=>typeof Re=="string"?`'${Re}'`:h(Re)),", ");throw new _(me,Se,_e)}});function W(Se,me){if(typeof Se!="boolean")throw new b(me,"boolean",Se)}function j(Se,me,be){return Se==null||!d(Se,me)?be:Se[me]}var U=v((Se,me,be=null)=>{let _e=j(be,"allowArray",!1),Re=j(be,"allowFunction",!1);if(!j(be,"nullable",!1)&&Se===null||!_e&&n(Se)||typeof Se!="object"&&(!Re||typeof Se!="function"))throw new b(me,"Object",Se)}),Z=v((Se,me)=>{if(Se!=null&&typeof Se!="object"&&typeof Se!="function")throw new b(me,"a dictionary",Se)}),te=v((Se,me,be=0)=>{if(!n(Se))throw new b(me,"Array",Se);if(Se.length{if(!T(Se))throw new b(me,["Buffer","TypedArray","DataView"],Se)});function he(Se,me){let be=S(me),_e=Se.length;if(be==="hex"&&_e%2!==0)throw new _("encoding",me,`is invalid for data of length ${_e}`)}function pe(Se,me="Port",be=!0){if(typeof Se!="number"&&typeof Se!="string"||typeof Se=="string"&&g(Se).length===0||+Se!==+Se>>>0||Se>65535||Se===0&&!be)throw new y(me,Se,be);return Se|0}var le=v((Se,me)=>{if(Se!==void 0&&(Se===null||typeof Se!="object"||!("aborted"in Se)))throw new b(me,"AbortSignal",Se)}),de=v((Se,me)=>{if(typeof Se!="function")throw new b(me,"Function",Se)}),ve=v((Se,me)=>{if(typeof Se!="function"||w(Se))throw new b(me,"Function",Se)}),ne=v((Se,me)=>{if(Se!==void 0)throw new b(me,"undefined",Se)});function ue(Se,me,be){if(!r(be,Se))throw new b(me,`('${i(be,"|")}')`,Se)}var ge=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function Ce(Se,me){if(typeof Se>"u"||!f(ge,Se))throw new _(me,Se,'must be an array or string of format "; rel=preload; as=style"')}function Te(Se){if(typeof Se=="string")return Ce(Se,"hints"),Se;if(n(Se)){let me=Se.length,be="";if(me===0)return be;for(let _e=0;_e; rel=preload; as=style"')}t.exports={isInt32:x,isUint32:A,parseFileMode:B,validateArray:te,validateStringArray:ae,validateBooleanArray:K,validateBoolean:W,validateBuffer:ie,validateDictionary:Z,validateEncoding:he,validateFunction:de,validateInt32:k,validateInteger:P,validateNumber:V,validateObject:U,validateOneOf:$,validatePlainFunction:ve,validatePort:pe,validateSignalName:Q,validateString:L,validateUint32:N,validateUndefined:ne,validateUnion:ue,validateAbortSignal:le,validateLinkHeaderValue:Te}}),m0=sn((e,t)=>{Jt(),tn(),en();var n=t.exports={},r,i;function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?r=setTimeout:r=o}catch{r=o}try{typeof clearTimeout=="function"?i=clearTimeout:i=a}catch{i=a}})();function s(y){if(r===setTimeout)return setTimeout(y,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(y,0);try{return r(y,0)}catch{try{return r.call(null,y,0)}catch{return r.call(this,y,0)}}}function l(y){if(i===clearTimeout)return clearTimeout(y);if((i===a||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(y);try{return i(y)}catch{try{return i.call(null,y)}catch{return i.call(this,y)}}}var c=[],u=!1,d,f=-1;function h(){!u||!d||(u=!1,d.length?c=d.concat(c):f=-1,c.length&&m())}function m(){if(!u){var y=s(h);u=!0;for(var b=c.length;b;){for(d=c,c=[];++f1)for(var _=1;_{Jt(),tn(),en();var{Symbol:n,SymbolAsyncIterator:r,SymbolIterator:i,SymbolFor:o}=Oa(),a=n("kDestroyed"),s=n("kIsErrored"),l=n("kIsReadable"),c=n("kIsDisturbed"),u=o("nodejs.webstream.isClosedPromise"),d=o("nodejs.webstream.controllerErrorFunction");function f(j,U=!1){var Z;return!!(j&&typeof j.pipe=="function"&&typeof j.on=="function"&&(!U||typeof j.pause=="function"&&typeof j.resume=="function")&&(!j._writableState||((Z=j._readableState)===null||Z===void 0?void 0:Z.readable)!==!1)&&(!j._writableState||j._readableState))}function h(j){var U;return!!(j&&typeof j.write=="function"&&typeof j.on=="function"&&(!j._readableState||((U=j._writableState)===null||U===void 0?void 0:U.writable)!==!1))}function m(j){return!!(j&&typeof j.pipe=="function"&&j._readableState&&typeof j.on=="function"&&typeof j.write=="function")}function g(j){return j&&(j._readableState||j._writableState||typeof j.write=="function"&&typeof j.on=="function"||typeof j.pipe=="function"&&typeof j.on=="function")}function v(j){return!!(j&&!g(j)&&typeof j.pipeThrough=="function"&&typeof j.getReader=="function"&&typeof j.cancel=="function")}function y(j){return!!(j&&!g(j)&&typeof j.getWriter=="function"&&typeof j.abort=="function")}function b(j){return!!(j&&!g(j)&&typeof j.readable=="object"&&typeof j.writable=="object")}function _(j){return v(j)||y(j)||b(j)}function E(j,U){return j==null?!1:U===!0?typeof j[r]=="function":U===!1?typeof j[i]=="function":typeof j[r]=="function"||typeof j[i]=="function"}function C(j){if(!g(j))return null;let U=j._writableState,Z=j._readableState,te=U||Z;return!!(j.destroyed||j[a]||te!=null&&te.destroyed)}function S(j){if(!h(j))return null;if(j.writableEnded===!0)return!0;let U=j._writableState;return U!=null&&U.errored?!1:typeof(U==null?void 0:U.ended)!="boolean"?null:U.ended}function w(j,U){if(!h(j))return null;if(j.writableFinished===!0)return!0;let Z=j._writableState;return Z!=null&&Z.errored?!1:typeof(Z==null?void 0:Z.finished)!="boolean"?null:!!(Z.finished||U===!1&&Z.ended===!0&&Z.length===0)}function T(j){if(!f(j))return null;if(j.readableEnded===!0)return!0;let U=j._readableState;return!U||U.errored?!1:typeof(U==null?void 0:U.ended)!="boolean"?null:U.ended}function O(j,U){if(!f(j))return null;let Z=j._readableState;return Z!=null&&Z.errored?!1:typeof(Z==null?void 0:Z.endEmitted)!="boolean"?null:!!(Z.endEmitted||U===!1&&Z.ended===!0&&Z.length===0)}function x(j){return j&&j[l]!=null?j[l]:typeof(j==null?void 0:j.readable)!="boolean"?null:C(j)?!1:f(j)&&j.readable&&!O(j)}function A(j){return typeof(j==null?void 0:j.writable)!="boolean"?null:C(j)?!1:h(j)&&j.writable&&!S(j)}function I(j,U){return g(j)?C(j)?!0:!((U==null?void 0:U.readable)!==!1&&x(j)||(U==null?void 0:U.writable)!==!1&&A(j)):null}function M(j){var U,Z;return g(j)?j.writableErrored?j.writableErrored:(U=(Z=j._writableState)===null||Z===void 0?void 0:Z.errored)!==null&&U!==void 0?U:null:null}function B(j){var U,Z;return g(j)?j.readableErrored?j.readableErrored:(U=(Z=j._readableState)===null||Z===void 0?void 0:Z.errored)!==null&&U!==void 0?U:null:null}function P(j){if(!g(j))return null;if(typeof j.closed=="boolean")return j.closed;let U=j._writableState,Z=j._readableState;return typeof(U==null?void 0:U.closed)=="boolean"||typeof(Z==null?void 0:Z.closed)=="boolean"?(U==null?void 0:U.closed)||(Z==null?void 0:Z.closed):typeof j._closed=="boolean"&&k(j)?j._closed:null}function k(j){return typeof j._closed=="boolean"&&typeof j._defaultKeepAlive=="boolean"&&typeof j._removedConnection=="boolean"&&typeof j._removedContLen=="boolean"}function N(j){return typeof j._sent100=="boolean"&&k(j)}function L(j){var U;return typeof j._consuming=="boolean"&&typeof j._dumped=="boolean"&&((U=j.req)===null||U===void 0?void 0:U.upgradeOrConnect)===void 0}function V(j){if(!g(j))return null;let U=j._writableState,Z=j._readableState,te=U||Z;return!te&&N(j)||!!(te&&te.autoDestroy&&te.emitClose&&te.closed===!1)}function $(j){var U;return!!(j&&((U=j[c])!==null&&U!==void 0?U:j.readableDidRead||j.readableAborted))}function W(j){var U,Z,te,ae,K,Q,ie,he,pe,le;return!!(j&&((U=(Z=(te=(ae=(K=(Q=j[s])!==null&&Q!==void 0?Q:j.readableErrored)!==null&&K!==void 0?K:j.writableErrored)!==null&&ae!==void 0?ae:(ie=j._readableState)===null||ie===void 0?void 0:ie.errorEmitted)!==null&&te!==void 0?te:(he=j._writableState)===null||he===void 0?void 0:he.errorEmitted)!==null&&Z!==void 0?Z:(pe=j._readableState)===null||pe===void 0?void 0:pe.errored)!==null&&U!==void 0?U:!((le=j._writableState)===null||le===void 0)&&le.errored))}t.exports={kDestroyed:a,isDisturbed:$,kIsDisturbed:c,isErrored:W,kIsErrored:s,isReadable:x,kIsReadable:l,kIsClosedPromise:u,kControllerErrorFunction:d,isClosed:P,isDestroyed:C,isDuplexNodeStream:m,isFinished:I,isIterable:E,isReadableNodeStream:f,isReadableStream:v,isReadableEnded:T,isReadableFinished:O,isReadableErrored:B,isNodeStream:g,isWebStream:_,isWritable:A,isWritableNodeStream:h,isWritableStream:y,isWritableEnded:S,isWritableFinished:w,isWritableErrored:M,isServerRequest:L,isServerResponse:N,willEmitClose:V,isTransformStream:b}}),Rg=sn((e,t)=>{Jt(),tn(),en();var n=m0(),{AbortError:r,codes:i}=Ll(),{ERR_INVALID_ARG_TYPE:o,ERR_STREAM_PREMATURE_CLOSE:a}=i,{kEmptyObject:s,once:l}=ih(),{validateAbortSignal:c,validateFunction:u,validateObject:d,validateBoolean:f}=jP(),{Promise:h,PromisePrototypeThen:m}=Oa(),{isClosed:g,isReadable:v,isReadableNodeStream:y,isReadableStream:b,isReadableFinished:_,isReadableErrored:E,isWritable:C,isWritableNodeStream:S,isWritableStream:w,isWritableFinished:T,isWritableErrored:O,isNodeStream:x,willEmitClose:A,kIsClosedPromise:I}=yh();function M(L){return L.setHeader&&typeof L.abort=="function"}var B=()=>{};function P(L,V,$){var W,j;if(arguments.length===2?($=V,V=s):V==null?V=s:d(V,"options"),u($,"callback"),c(V.signal,"options.signal"),$=l($),b(L)||w(L))return k(L,V,$);if(!x(L))throw new o("stream",["ReadableStream","WritableStream","Stream"],L);let U=(W=V.readable)!==null&&W!==void 0?W:y(L),Z=(j=V.writable)!==null&&j!==void 0?j:S(L),te=L._writableState,ae=L._readableState,K=()=>{L.writable||he()},Q=A(L)&&y(L)===U&&S(L)===Z,ie=T(L,!1),he=()=>{ie=!0,L.destroyed&&(Q=!1),!(Q&&(!L.readable||U))&&(!U||pe)&&$.call(L)},pe=_(L,!1),le=()=>{pe=!0,L.destroyed&&(Q=!1),!(Q&&(!L.writable||Z))&&(!Z||ie)&&$.call(L)},de=Te=>{$.call(L,Te)},ve=g(L),ne=()=>{ve=!0;let Te=O(L)||E(L);if(Te&&typeof Te!="boolean")return $.call(L,Te);if(U&&!pe&&y(L,!0)&&!_(L,!1))return $.call(L,new a);if(Z&&!ie&&!T(L,!1))return $.call(L,new a);$.call(L)},ue=()=>{ve=!0;let Te=O(L)||E(L);if(Te&&typeof Te!="boolean")return $.call(L,Te);$.call(L)},ge=()=>{L.req.on("finish",he)};M(L)?(L.on("complete",he),Q||L.on("abort",ne),L.req?ge():L.on("request",ge)):Z&&!te&&(L.on("end",K),L.on("close",K)),!Q&&typeof L.aborted=="boolean"&&L.on("aborted",ne),L.on("end",le),L.on("finish",he),V.error!==!1&&L.on("error",de),L.on("close",ne),ve?n.nextTick(ne):te!=null&&te.errorEmitted||ae!=null&&ae.errorEmitted?Q||n.nextTick(ue):(!U&&(!Q||v(L))&&(ie||C(L)===!1)||!Z&&(!Q||C(L))&&(pe||v(L)===!1)||ae&&L.req&&L.aborted)&&n.nextTick(ue);let Ce=()=>{$=B,L.removeListener("aborted",ne),L.removeListener("complete",he),L.removeListener("abort",ne),L.removeListener("request",ge),L.req&&L.req.removeListener("finish",he),L.removeListener("end",K),L.removeListener("close",K),L.removeListener("finish",he),L.removeListener("end",le),L.removeListener("error",de),L.removeListener("close",ne)};if(V.signal&&!ve){let Te=()=>{let Se=$;Ce(),Se.call(L,new r(void 0,{cause:V.signal.reason}))};if(V.signal.aborted)n.nextTick(Te);else{let Se=$;$=l((...me)=>{V.signal.removeEventListener("abort",Te),Se.apply(L,me)}),V.signal.addEventListener("abort",Te)}}return Ce}function k(L,V,$){let W=!1,j=B;if(V.signal)if(j=()=>{W=!0,$.call(L,new r(void 0,{cause:V.signal.reason}))},V.signal.aborted)n.nextTick(j);else{let Z=$;$=l((...te)=>{V.signal.removeEventListener("abort",j),Z.apply(L,te)}),V.signal.addEventListener("abort",j)}let U=(...Z)=>{W||n.nextTick(()=>$.apply(L,Z))};return m(L[I].promise,U,U),B}function N(L,V){var $;let W=!1;return V===null&&(V=s),($=V)!==null&&$!==void 0&&$.cleanup&&(f(V.cleanup,"cleanup"),W=V.cleanup),new h((j,U)=>{let Z=P(L,V,te=>{W&&Z(),te?U(te):j()})})}t.exports=P,t.exports.finished=N}),oS=sn((e,t)=>{Jt(),tn(),en();var n=m0(),{aggregateTwoErrors:r,codes:{ERR_MULTIPLE_CALLBACK:i},AbortError:o}=Ll(),{Symbol:a}=Oa(),{kDestroyed:s,isDestroyed:l,isFinished:c,isServerRequest:u}=yh(),d=a("kDestroy"),f=a("kConstruct");function h(I,M,B){I&&(I.stack,M&&!M.errored&&(M.errored=I),B&&!B.errored&&(B.errored=I))}function m(I,M){let B=this._readableState,P=this._writableState,k=P||B;return P!=null&&P.destroyed||B!=null&&B.destroyed?(typeof M=="function"&&M(),this):(h(I,P,B),P&&(P.destroyed=!0),B&&(B.destroyed=!0),k.constructed?g(this,I,M):this.once(d,function(N){g(this,r(N,I),M)}),this)}function g(I,M,B){let P=!1;function k(N){if(P)return;P=!0;let L=I._readableState,V=I._writableState;h(N,V,L),V&&(V.closed=!0),L&&(L.closed=!0),typeof B=="function"&&B(N),N?n.nextTick(v,I,N):n.nextTick(y,I)}try{I._destroy(M||null,k)}catch(N){k(N)}}function v(I,M){b(I,M),y(I)}function y(I){let M=I._readableState,B=I._writableState;B&&(B.closeEmitted=!0),M&&(M.closeEmitted=!0),(B!=null&&B.emitClose||M!=null&&M.emitClose)&&I.emit("close")}function b(I,M){let B=I._readableState,P=I._writableState;P!=null&&P.errorEmitted||B!=null&&B.errorEmitted||(P&&(P.errorEmitted=!0),B&&(B.errorEmitted=!0),I.emit("error",M))}function _(){let I=this._readableState,M=this._writableState;I&&(I.constructed=!0,I.closed=!1,I.closeEmitted=!1,I.destroyed=!1,I.errored=null,I.errorEmitted=!1,I.reading=!1,I.ended=I.readable===!1,I.endEmitted=I.readable===!1),M&&(M.constructed=!0,M.destroyed=!1,M.closed=!1,M.closeEmitted=!1,M.errored=null,M.errorEmitted=!1,M.finalCalled=!1,M.prefinished=!1,M.ended=M.writable===!1,M.ending=M.writable===!1,M.finished=M.writable===!1)}function E(I,M,B){let P=I._readableState,k=I._writableState;if(k!=null&&k.destroyed||P!=null&&P.destroyed)return this;P!=null&&P.autoDestroy||k!=null&&k.autoDestroy?I.destroy(M):M&&(M.stack,k&&!k.errored&&(k.errored=M),P&&!P.errored&&(P.errored=M),B?n.nextTick(b,I,M):b(I,M))}function C(I,M){if(typeof I._construct!="function")return;let B=I._readableState,P=I._writableState;B&&(B.constructed=!1),P&&(P.constructed=!1),I.once(f,M),!(I.listenerCount(f)>1)&&n.nextTick(S,I)}function S(I){let M=!1;function B(P){if(M){E(I,P??new i);return}M=!0;let k=I._readableState,N=I._writableState,L=N||k;k&&(k.constructed=!0),N&&(N.constructed=!0),L.destroyed?I.emit(d,P):P?E(I,P,!0):n.nextTick(w,I)}try{I._construct(P=>{n.nextTick(B,P)})}catch(P){n.nextTick(B,P)}}function w(I){I.emit(f)}function T(I){return(I==null?void 0:I.setHeader)&&typeof I.abort=="function"}function O(I){I.emit("close")}function x(I,M){I.emit("error",M),n.nextTick(O,I)}function A(I,M){!I||l(I)||(!M&&!c(I)&&(M=new o),u(I)?(I.socket=null,I.destroy(M)):T(I)?I.abort():T(I.req)?I.req.abort():typeof I.destroy=="function"?I.destroy(M):typeof I.close=="function"?I.close():M?n.nextTick(x,I,M):n.nextTick(O,I),I.destroyed||(I[s]=!0))}t.exports={construct:C,destroyer:A,destroy:m,undestroy:_,errorOrDestroy:E}});function Ni(){Ni.init.call(this)}function yA(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function j0e(e){return e._maxListeners===void 0?Ni.defaultMaxListeners:e._maxListeners}function nte(e,t,n,r){var i,o,a,s;if(yA(n),(o=e._events)===void 0?(o=e._events=Object.create(null),e._eventsCount=0):(o.newListener!==void 0&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),a===void 0)a=o[t]=n,++e._eventsCount;else if(typeof a=="function"?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=j0e(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function WBe(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function rte(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=WBe.bind(r);return i.listener=n,r.wrapFn=i,i}function ite(e,t,n){var r=e._events;if(r===void 0)return[];var i=r[t];return i===void 0?[]:typeof i=="function"?n?[i.listener||i]:[i]:n?function(o){for(var a=new Array(o.length),s=0;s{Jt(),tn(),en(),Qg=typeof Reflect=="object"?Reflect:null,eL=Qg&&typeof Qg.apply=="function"?Qg.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)},ste=Qg&&typeof Qg.ownKeys=="function"?Qg.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},tL=Number.isNaN||function(e){return e!=e},ate=Ni,Ni.EventEmitter=Ni,Ni.prototype._events=void 0,Ni.prototype._eventsCount=0,Ni.prototype._maxListeners=void 0,nL=10,Object.defineProperty(Ni,"defaultMaxListeners",{enumerable:!0,get:function(){return nL},set:function(e){if(typeof e!="number"||e<0||tL(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");nL=e}}),Ni.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Ni.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||tL(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},Ni.prototype.getMaxListeners=function(){return j0e(this)},Ni.prototype.emit=function(e){for(var t=[],n=1;n0&&(o=t[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var s=i[e];if(s===void 0)return!1;if(typeof s=="function")eL(s,this,t);else{var l=s.length,c=H0e(s,l);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;i===0?n.shift():function(s,l){for(;l+1=0;r--)this.removeListener(e,t[r]);return this},Ni.prototype.listeners=function(e){return ite(this,e,!0)},Ni.prototype.rawListeners=function(e){return ite(this,e,!1)},Ni.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):ote.call(e,t)},Ni.prototype.listenerCount=ote,Ni.prototype.eventNames=function(){return this._eventsCount>0?ste(this._events):[]},rc=ate,rc.EventEmitter,rc.defaultMaxListeners,rc.init,rc.listenerCount,rc.EventEmitter,rc.defaultMaxListeners,rc.init,rc.listenerCount}),g0={};h0(g0,{EventEmitter:()=>U0e,default:()=>rc,defaultMaxListeners:()=>z0e,init:()=>V0e,listenerCount:()=>G0e,on:()=>W0e,once:()=>q0e});var U0e,z0e,V0e,G0e,W0e,q0e,aS=ls(()=>{Jt(),tn(),en(),lte(),lte(),rc.once=function(e,t){return new Promise((n,r)=>{function i(...a){o!==void 0&&e.removeListener("error",o),n(a)}let o;t!=="error"&&(o=a=>{e.removeListener(name,i),r(a)},e.once("error",o)),e.once(t,i)})},rc.on=function(e,t){let n=[],r=[],i=null,o=!1,a={async next(){let c=n.shift();if(c)return createIterResult(c,!1);if(i){let u=Promise.reject(i);return i=null,u}return o?createIterResult(void 0,!0):new Promise((u,d)=>r.push({resolve:u,reject:d}))},async return(){e.removeListener(t,s),e.removeListener("error",l),o=!0;for(let c of r)c.resolve(createIterResult(void 0,!0));return createIterResult(void 0,!0)},throw(c){i=c,e.removeListener(t,s),e.removeListener("error",l)},[Symbol.asyncIterator](){return this}};return e.on(t,s),e.on("error",l),a;function s(...c){let u=r.shift();u?u.resolve(createIterResult(c,!1)):n.push(c)}function l(c){o=!0;let u=r.shift();u?u.reject(c):i=c,a.return()}},{EventEmitter:U0e,defaultMaxListeners:z0e,init:V0e,listenerCount:G0e,on:W0e,once:q0e}=rc}),yW=sn((e,t)=>{Jt(),tn(),en();var{ArrayIsArray:n,ObjectSetPrototypeOf:r}=Oa(),{EventEmitter:i}=(aS(),Hi(g0));function o(s){i.call(this,s)}r(o.prototype,i.prototype),r(o,i),o.prototype.pipe=function(s,l){let c=this;function u(y){s.writable&&s.write(y)===!1&&c.pause&&c.pause()}c.on("data",u);function d(){c.readable&&c.resume&&c.resume()}s.on("drain",d),!s._isStdio&&(!l||l.end!==!1)&&(c.on("end",h),c.on("close",m));let f=!1;function h(){f||(f=!0,s.end())}function m(){f||(f=!0,typeof s.destroy=="function"&&s.destroy())}function g(y){v(),i.listenerCount(this,"error")===0&&this.emit("error",y)}a(c,"error",g),a(s,"error",g);function v(){c.removeListener("data",u),s.removeListener("drain",d),c.removeListener("end",h),c.removeListener("close",m),c.removeListener("error",g),s.removeListener("error",g),c.removeListener("end",v),c.removeListener("close",v),s.removeListener("close",v)}return c.on("end",v),c.on("close",v),s.on("close",v),s.emit("pipe",c),s};function a(s,l,c){if(typeof s.prependListener=="function")return s.prependListener(l,c);!s._events||!s._events[l]?s.on(l,c):n(s._events[l])?s._events[l].unshift(c):s._events[l]=[c,s._events[l]]}t.exports={Stream:o,prependListener:a}}),HP=sn((e,t)=>{Jt(),tn(),en();var{AbortError:n,codes:r}=Ll(),{isNodeStream:i,isWebStream:o,kControllerErrorFunction:a}=yh(),s=Rg(),{ERR_INVALID_ARG_TYPE:l}=r,c=(u,d)=>{if(typeof u!="object"||!("aborted"in u))throw new l(d,"AbortSignal",u)};t.exports.addAbortSignal=function(u,d){if(c(u,"signal"),!i(d)&&!o(d))throw new l("stream",["ReadableStream","WritableStream","Stream"],d);return t.exports.addAbortSignalNoValidate(u,d)},t.exports.addAbortSignalNoValidate=function(u,d){if(typeof u!="object"||!("aborted"in u))return d;let f=i(d)?()=>{d.destroy(new n(void 0,{cause:u.reason}))}:()=>{d[a](new n(void 0,{cause:u.reason}))};return u.aborted?f():(u.addEventListener("abort",f),s(d,()=>u.removeEventListener("abort",f))),d}}),qBe=sn((e,t)=>{Jt(),tn(),en();var{StringPrototypeSlice:n,SymbolIterator:r,TypedArrayPrototypeSet:i,Uint8Array:o}=Oa(),{Buffer:a}=(us(),Hi(cs)),{inspect:s}=ih();t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(l){let c={data:l,next:null};this.length>0?this.tail.next=c:this.head=c,this.tail=c,++this.length}unshift(l){let c={data:l,next:this.head};this.length===0&&(this.tail=c),this.head=c,++this.length}shift(){if(this.length===0)return;let l=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,l}clear(){this.head=this.tail=null,this.length=0}join(l){if(this.length===0)return"";let c=this.head,u=""+c.data;for(;(c=c.next)!==null;)u+=l+c.data;return u}concat(l){if(this.length===0)return a.alloc(0);let c=a.allocUnsafe(l>>>0),u=this.head,d=0;for(;u;)i(c,u.data,d),d+=u.data.length,u=u.next;return c}consume(l,c){let u=this.head.data;if(lf.length)c+=f,l-=f.length;else{l===f.length?(c+=f,++d,u.next?this.head=u.next:this.head=this.tail=null):(c+=n(f,0,l),this.head=u,u.data=n(f,l));break}++d}while((u=u.next)!==null);return this.length-=d,c}_getBuffer(l){let c=a.allocUnsafe(l),u=l,d=this.head,f=0;do{let h=d.data;if(l>h.length)i(c,h,u-l),l-=h.length;else{l===h.length?(i(c,h,u-l),++f,d.next?this.head=d.next:this.head=this.tail=null):(i(c,new o(h.buffer,h.byteOffset,l),u-l),this.head=d,d.data=h.slice(l));break}++f}while((d=d.next)!==null);return this.length-=f,c}[Symbol.for("nodejs.util.inspect.custom")](l,c){return s(this,{...c,depth:0,customInspect:!1})}}}),_W=sn((e,t)=>{Jt(),tn(),en();var{MathFloor:n,NumberIsInteger:r}=Oa(),{ERR_INVALID_ARG_VALUE:i}=Ll().codes;function o(l,c,u){return l.highWaterMark!=null?l.highWaterMark:c?l[u]:null}function a(l){return l?16:16*1024}function s(l,c,u,d){let f=o(c,d,u);if(f!=null){if(!r(f)||f<0){let h=d?`options.${u}`:"options.highWaterMark";throw new i(h,f)}return n(f)}return a(l.objectMode)}t.exports={getHighWaterMark:s,getDefaultHighWaterMark:a}});function cte(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return n===-1&&(n=t),[n,n===t?0:4-n%4]}function YBe(e,t,n){for(var r,i,o=[],a=t;a>18&63]+Qu[i>>12&63]+Qu[i>>6&63]+Qu[63&i]);return o.join("")}function jp(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,rn.prototype),t}function rn(e,t,n){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Rj(e)}return Y0e(e,t,n)}function Y0e(e,t,n){if(typeof e=="string")return function(o,a){if(typeof a=="string"&&a!==""||(a="utf8"),!rn.isEncoding(a))throw new TypeError("Unknown encoding: "+a);var s=0|Q0e(o,a),l=jp(s),c=l.write(o,a);return c!==s&&(l=l.slice(0,c)),l}(e,t);if(ArrayBuffer.isView(e))return rL(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(Hp(e,ArrayBuffer)||e&&Hp(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Hp(e,SharedArrayBuffer)||e&&Hp(e.buffer,SharedArrayBuffer)))return KBe(e,t,n);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return rn.from(r,t,n);var i=function(o){if(rn.isBuffer(o)){var a=0|SW(o.length),s=jp(a);return s.length===0||o.copy(s,0,0,a),s}if(o.length!==void 0)return typeof o.length!="number"||EW(o.length)?jp(0):rL(o);if(o.type==="Buffer"&&Array.isArray(o.data))return rL(o.data)}(e);if(i)return i;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return rn.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function K0e(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function Rj(e){return K0e(e),jp(e<0?0:0|SW(e))}function rL(e){for(var t=e.length<0?0:0|SW(e.length),n=jp(t),r=0;r=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function Q0e(e,t){if(rn.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Hp(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Ij(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ebe(e).length;default:if(i)return r?-1:Ij(e).length;t=(""+t).toLowerCase(),i=!0}}function QBe(e,t,n){var r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return oje(this,t,n);case"utf8":case"utf-8":return Z0e(this,t,n);case"ascii":return rje(this,t,n);case"latin1":case"binary":return ije(this,t,n);case"base64":return nje(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return aje(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function Xg(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function ute(e,t,n,r,i){if(e.length===0)return-1;if(typeof n=="string"?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),EW(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if(typeof t=="string"&&(t=rn.from(t,r)),rn.isBuffer(t))return t.length===0?-1:dte(e,t,n,r,i);if(typeof t=="number")return t&=255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):dte(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function dte(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(r!==void 0&&((r=String(r).toLowerCase())==="ucs2"||r==="ucs-2"||r==="utf16le"||r==="utf-16le")){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(h,m){return a===1?h[m]:h.readUInt16BE(m*a)}if(i){var u=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var d=!0,f=0;fi&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a>8,l=a%256,c.push(l),c.push(s);return c}(t,e.length-n),e,n,r)}function nje(e,t,n){return t===0&&n===e.length?sM.fromByteArray(e):sM.fromByteArray(e.slice(t,n))}function Z0e(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}u===null?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(f){var h=f.length;if(h<=4096)return String.fromCharCode.apply(String,f);for(var m="",g=0;gr)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function sl(e,t,n,r,i,o){if(!rn.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function J0e(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function fte(e,t,n,r,i){return t=+t,n>>>=0,i||J0e(e,0,n,4),C1.write(e,t,n,r,23,4),n+4}function pte(e,t,n,r,i){return t=+t,n>>>=0,i||J0e(e,0,n,8),C1.write(e,t,n,r,52,8),n+8}function Ij(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function ebe(e){return sM.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(tbe,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function UP(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function Hp(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function EW(e){return e!=e}function hte(e,t){for(var n in e)t[n]=e[n]}function Zg(e,t,n){return Fu(e,t,n)}function TE(e){var t;switch(this.encoding=function(n){var r=function(i){if(!i)return"utf8";for(var o;;)switch(i){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return i;default:if(o)return;i=(""+i).toLowerCase(),o=!0}}(n);if(typeof r!="string"&&(lM.isEncoding===Aj||!Aj(n)))throw new Error("Unknown encoding: "+n);return r||n}(e),this.encoding){case"utf16le":this.text=lje,this.end=cje,t=4;break;case"utf8":this.fillLast=sje,t=4;break;case"base64":this.text=uje,this.end=dje,t=3;break;default:return this.write=fje,this.end=pje,void 0}this.lastNeed=0,this.lastTotal=0,this.lastChar=lM.allocUnsafe(t)}function iL(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function sje(e){var t=this.lastTotal-this.lastNeed,n=function(r,i,o){if((192&i[0])!=128)return r.lastNeed=0,"�";if(r.lastNeed>1&&i.length>1){if((192&i[1])!=128)return r.lastNeed=1,"�";if(r.lastNeed>2&&i.length>2&&(192&i[2])!=128)return r.lastNeed=2,"�"}}(this,e);return n!==void 0?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length,void 0)}function lje(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function cje(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function uje(e,t){var n=(e.length-t)%3;return n===0?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function dje(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function fje(e){return e.toString(this.encoding)}function pje(e){return e&&e.length?this.write(e):""}var mte,Qu,Vl,gte,sR,Jg,vte,bte,Kd,sM,C1,oL,tbe,nbe,xE,OE,Fu,yte,Zb,lM,Aj,_te=ls(()=>{for(Jt(),tn(),en(),mte={byteLength:function(e){var t=cte(e),n=t[0],r=t[1];return 3*(n+r)/4-r},toByteArray:function(e){var t,n,r=cte(e),i=r[0],o=r[1],a=new gte(function(c,u,d){return 3*(u+d)/4-d}(0,i,o)),s=0,l=o>0?i-4:i;for(n=0;n>16&255,a[s++]=t>>8&255,a[s++]=255&t;return o===2&&(t=Vl[e.charCodeAt(n)]<<2|Vl[e.charCodeAt(n+1)]>>4,a[s++]=255&t),o===1&&(t=Vl[e.charCodeAt(n)]<<10|Vl[e.charCodeAt(n+1)]<<4|Vl[e.charCodeAt(n+2)]>>2,a[s++]=t>>8&255,a[s++]=255&t),a},fromByteArray:function(e){for(var t,n=e.length,r=n%3,i=[],o=0,a=n-r;oa?a:o+16383));return r===1?(t=e[n-1],i.push(Qu[t>>2]+Qu[t<<4&63]+"==")):r===2&&(t=(e[n-2]<<8)+e[n-1],i.push(Qu[t>>10]+Qu[t>>4&63]+Qu[t<<2&63]+"=")),i.join("")}},Qu=[],Vl=[],gte=typeof Uint8Array<"u"?Uint8Array:Array,sR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Jg=0,vte=sR.length;Jg>1,u=-7,d=n?i-1:0,f=n?-1:1,h=e[t+d];for(d+=f,o=h&(1<<-u)-1,h>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=f,u-=8);if(o===0)o=1-c;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)},write:function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<>1,f=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,m=r?1:-1,g=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=m,s/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=m,a/=256,c-=8);e[n+h-m]|=128*g}},Kd={},sM=mte,C1=bte,oL=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null,Kd.Buffer=rn,Kd.SlowBuffer=function(e){return+e!=e&&(e=0),rn.alloc(+e)},Kd.INSPECT_MAX_BYTES=50,Kd.kMaxLength=2147483647,rn.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}(),rn.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(rn.prototype,"parent",{enumerable:!0,get:function(){if(rn.isBuffer(this))return this.buffer}}),Object.defineProperty(rn.prototype,"offset",{enumerable:!0,get:function(){if(rn.isBuffer(this))return this.byteOffset}}),rn.poolSize=8192,rn.from=function(e,t,n){return Y0e(e,t,n)},Object.setPrototypeOf(rn.prototype,Uint8Array.prototype),Object.setPrototypeOf(rn,Uint8Array),rn.alloc=function(e,t,n){return function(r,i,o){return K0e(r),r<=0?jp(r):i!==void 0?typeof o=="string"?jp(r).fill(i,o):jp(r).fill(i):jp(r)}(e,t,n)},rn.allocUnsafe=function(e){return Rj(e)},rn.allocUnsafeSlow=function(e){return Rj(e)},rn.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==rn.prototype},rn.compare=function(e,t){if(Hp(e,Uint8Array)&&(e=rn.from(e,e.offset,e.byteLength)),Hp(t,Uint8Array)&&(t=rn.from(t,t.offset,t.byteLength)),!rn.isBuffer(e)||!rn.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);it&&(e+=" ... "),""},oL&&(rn.prototype[oL]=rn.prototype.inspect),rn.prototype.compare=function(e,t,n,r,i){if(Hp(e,Uint8Array)&&(e=rn.from(e,e.offset,e.byteLength)),!rn.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),u=0;u>>=0,isFinite(n)?(n>>>=0,r===void 0&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return XBe(this,e,t,n);case"utf8":case"utf-8":return ZBe(this,e,t,n);case"ascii":return X0e(this,e,t,n);case"latin1":case"binary":return JBe(this,e,t,n);case"base64":return eje(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return tje(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},rn.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},rn.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=t===void 0?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||Ma(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||Ma(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},rn.prototype.readUInt8=function(e,t){return e>>>=0,t||Ma(e,1,this.length),this[e]},rn.prototype.readUInt16LE=function(e,t){return e>>>=0,t||Ma(e,2,this.length),this[e]|this[e+1]<<8},rn.prototype.readUInt16BE=function(e,t){return e>>>=0,t||Ma(e,2,this.length),this[e]<<8|this[e+1]},rn.prototype.readUInt32LE=function(e,t){return e>>>=0,t||Ma(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},rn.prototype.readUInt32BE=function(e,t){return e>>>=0,t||Ma(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},rn.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||Ma(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},rn.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||Ma(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},rn.prototype.readInt8=function(e,t){return e>>>=0,t||Ma(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},rn.prototype.readInt16LE=function(e,t){e>>>=0,t||Ma(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},rn.prototype.readInt16BE=function(e,t){e>>>=0,t||Ma(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},rn.prototype.readInt32LE=function(e,t){return e>>>=0,t||Ma(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},rn.prototype.readInt32BE=function(e,t){return e>>>=0,t||Ma(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},rn.prototype.readFloatLE=function(e,t){return e>>>=0,t||Ma(e,4,this.length),C1.read(this,e,!0,23,4)},rn.prototype.readFloatBE=function(e,t){return e>>>=0,t||Ma(e,4,this.length),C1.read(this,e,!1,23,4)},rn.prototype.readDoubleLE=function(e,t){return e>>>=0,t||Ma(e,8,this.length),C1.read(this,e,!0,52,8)},rn.prototype.readDoubleBE=function(e,t){return e>>>=0,t||Ma(e,8,this.length),C1.read(this,e,!1,52,8)},rn.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||sl(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,r||sl(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},rn.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,1,255,0),this[t]=255&e,t+1},rn.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},rn.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},rn.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},rn.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},rn.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);sl(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},rn.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);sl(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&s===0&&this[t+o+1]!==0&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},rn.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},rn.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},rn.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},rn.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},rn.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||sl(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},rn.prototype.writeFloatLE=function(e,t,n){return fte(this,e,t,!0,n)},rn.prototype.writeFloatBE=function(e,t,n){return fte(this,e,t,!1,n)},rn.prototype.writeDoubleLE=function(e,t,n){return pte(this,e,t,!0,n)},rn.prototype.writeDoubleBE=function(e,t,n){return pte(this,e,t,!1,n)},rn.prototype.copy=function(e,t,n,r){if(!rn.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||r===0||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return i},rn.prototype.fill=function(e,t,n,r){if(typeof e=="string"){if(typeof t=="string"?(r=t,t=0,n=this.length):typeof n=="string"&&(r=n,n=this.length),r!==void 0&&typeof r!="string")throw new TypeError("encoding must be a string");if(typeof r=="string"&&!rn.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(e.length===1){var i=e.charCodeAt(0);(r==="utf8"&&i<128||r==="latin1")&&(e=i)}}else typeof e=="number"?e&=255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length>>=0,n=n===void 0?this.length:n>>>0,e||(e=0),typeof e=="number")for(o=t;o=0?(l>0&&(i.lastNeed=l-1),l):--s=0?(l>0&&(i.lastNeed=l-2),l):--s=0?(l>0&&(l===2?l=0:i.lastNeed=l-3),l):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},TE.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},Zb.StringDecoder,Zb.StringDecoder}),rbe={};h0(rbe,{StringDecoder:()=>ibe,default:()=>Zb});var ibe,hje=ls(()=>{Jt(),tn(),en(),_te(),_te(),ibe=Zb.StringDecoder}),obe=sn((e,t)=>{Jt(),tn(),en();var n=m0(),{PromisePrototypeThen:r,SymbolAsyncIterator:i,SymbolIterator:o}=Oa(),{Buffer:a}=(us(),Hi(cs)),{ERR_INVALID_ARG_TYPE:s,ERR_STREAM_NULL_VALUES:l}=Ll().codes;function c(u,d,f){let h;if(typeof d=="string"||d instanceof a)return new u({objectMode:!0,...f,read(){this.push(d),this.push(null)}});let m;if(d&&d[i])m=!0,h=d[i]();else if(d&&d[o])m=!1,h=d[o]();else throw new s("iterable",["Iterable"],d);let g=new u({objectMode:!0,highWaterMark:1,...f}),v=!1;g._read=function(){v||(v=!0,b())},g._destroy=function(_,E){r(y(_),()=>n.nextTick(E,_),C=>n.nextTick(E,C||_))};async function y(_){let E=_!=null,C=typeof h.throw=="function";if(E&&C){let{value:S,done:w}=await h.throw(_);if(await S,w)return}if(typeof h.return=="function"){let{value:S}=await h.return();await S}}async function b(){for(;;){try{let{value:_,done:E}=m?await h.next():h.next();if(E)g.push(null);else{let C=_&&typeof _.then=="function"?await _:_;if(C===null)throw v=!1,new l;if(g.push(C))continue;v=!1}}catch(_){g.destroy(_)}break}}return g}t.exports=c}),zP=sn((e,t)=>{Jt(),tn(),en();var n=m0(),{ArrayPrototypeIndexOf:r,NumberIsInteger:i,NumberIsNaN:o,NumberParseInt:a,ObjectDefineProperties:s,ObjectKeys:l,ObjectSetPrototypeOf:c,Promise:u,SafeSet:d,SymbolAsyncIterator:f,Symbol:h}=Oa();t.exports=j,j.ReadableState=W;var{EventEmitter:m}=(aS(),Hi(g0)),{Stream:g,prependListener:v}=yW(),{Buffer:y}=(us(),Hi(cs)),{addAbortSignal:b}=HP(),_=Rg(),E=ih().debuglog("stream",D=>{E=D}),C=qBe(),S=oS(),{getHighWaterMark:w,getDefaultHighWaterMark:T}=_W(),{aggregateTwoErrors:O,codes:{ERR_INVALID_ARG_TYPE:x,ERR_METHOD_NOT_IMPLEMENTED:A,ERR_OUT_OF_RANGE:I,ERR_STREAM_PUSH_AFTER_EOF:M,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:B}}=Ll(),{validateObject:P}=jP(),k=h("kPaused"),{StringDecoder:N}=(hje(),Hi(rbe)),L=obe();c(j.prototype,g.prototype),c(j,g);var V=()=>{},{errorOrDestroy:$}=S;function W(D,q,oe){typeof oe!="boolean"&&(oe=q instanceof oh()),this.objectMode=!!(D&&D.objectMode),oe&&(this.objectMode=this.objectMode||!!(D&&D.readableObjectMode)),this.highWaterMark=D?w(this,D,"readableHighWaterMark",oe):T(!1),this.buffer=new C,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[k]=null,this.errorEmitted=!1,this.emitClose=!D||D.emitClose!==!1,this.autoDestroy=!D||D.autoDestroy!==!1,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=D&&D.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,D&&D.encoding&&(this.decoder=new N(D.encoding),this.encoding=D.encoding)}function j(D){if(!(this instanceof j))return new j(D);let q=this instanceof oh();this._readableState=new W(D,this,q),D&&(typeof D.read=="function"&&(this._read=D.read),typeof D.destroy=="function"&&(this._destroy=D.destroy),typeof D.construct=="function"&&(this._construct=D.construct),D.signal&&!q&&b(D.signal,this)),g.call(this,D),S.construct(this,()=>{this._readableState.needReadable&&pe(this,this._readableState)})}j.prototype.destroy=S.destroy,j.prototype._undestroy=S.undestroy,j.prototype._destroy=function(D,q){q(D)},j.prototype[m.captureRejectionSymbol]=function(D){this.destroy(D)},j.prototype.push=function(D,q){return U(this,D,q,!1)},j.prototype.unshift=function(D,q){return U(this,D,q,!0)};function U(D,q,oe,ye){E("readableAddChunk",q);let ce=D._readableState,Be;if(ce.objectMode||(typeof q=="string"?(oe=oe||ce.defaultEncoding,ce.encoding!==oe&&(ye&&ce.encoding?q=y.from(q,oe).toString(ce.encoding):(q=y.from(q,oe),oe=""))):q instanceof y?oe="":g._isUint8Array(q)?(q=g._uint8ArrayToBuffer(q),oe=""):q!=null&&(Be=new x("chunk",["string","Buffer","Uint8Array"],q))),Be)$(D,Be);else if(q===null)ce.reading=!1,Q(D,ce);else if(ce.objectMode||q&&q.length>0)if(ye)if(ce.endEmitted)$(D,new B);else{if(ce.destroyed||ce.errored)return!1;Z(D,ce,q,!0)}else if(ce.ended)$(D,new M);else{if(ce.destroyed||ce.errored)return!1;ce.reading=!1,ce.decoder&&!oe?(q=ce.decoder.write(q),ce.objectMode||q.length!==0?Z(D,ce,q,!1):pe(D,ce)):Z(D,ce,q,!1)}else ye||(ce.reading=!1,pe(D,ce));return!ce.ended&&(ce.length0?(q.multiAwaitDrain?q.awaitDrainWriters.clear():q.awaitDrainWriters=null,q.dataEmitted=!0,D.emit("data",oe)):(q.length+=q.objectMode?1:oe.length,ye?q.buffer.unshift(oe):q.buffer.push(oe),q.needReadable&&ie(D)),pe(D,q)}j.prototype.isPaused=function(){let D=this._readableState;return D[k]===!0||D.flowing===!1},j.prototype.setEncoding=function(D){let q=new N(D);this._readableState.decoder=q,this._readableState.encoding=this._readableState.decoder.encoding;let oe=this._readableState.buffer,ye="";for(let ce of oe)ye+=q.write(ce);return oe.clear(),ye!==""&&oe.push(ye),this._readableState.length=ye.length,this};var te=1073741824;function ae(D){if(D>te)throw new I("size","<= 1GiB",D);return D--,D|=D>>>1,D|=D>>>2,D|=D>>>4,D|=D>>>8,D|=D>>>16,D++,D}function K(D,q){return D<=0||q.length===0&&q.ended?0:q.objectMode?1:o(D)?q.flowing&&q.length?q.buffer.first().length:q.length:D<=q.length?D:q.ended?q.length:0}j.prototype.read=function(D){E("read",D),D===void 0?D=NaN:i(D)||(D=a(D,10));let q=this._readableState,oe=D;if(D>q.highWaterMark&&(q.highWaterMark=ae(D)),D!==0&&(q.emittedReadable=!1),D===0&&q.needReadable&&((q.highWaterMark!==0?q.length>=q.highWaterMark:q.length>0)||q.ended))return E("read: emitReadable",q.length,q.ended),q.length===0&&q.ended?be(this):ie(this),null;if(D=K(D,q),D===0&&q.ended)return q.length===0&&be(this),null;let ye=q.needReadable;if(E("need readable",ye),(q.length===0||q.length-D0?ce=me(D,q):ce=null,ce===null?(q.needReadable=q.length<=q.highWaterMark,D=0):(q.length-=D,q.multiAwaitDrain?q.awaitDrainWriters.clear():q.awaitDrainWriters=null),q.length===0&&(q.ended||(q.needReadable=!0),oe!==D&&q.ended&&be(this)),ce!==null&&!q.errorEmitted&&!q.closeEmitted&&(q.dataEmitted=!0,this.emit("data",ce)),ce};function Q(D,q){if(E("onEofChunk"),!q.ended){if(q.decoder){let oe=q.decoder.end();oe&&oe.length&&(q.buffer.push(oe),q.length+=q.objectMode?1:oe.length)}q.ended=!0,q.sync?ie(D):(q.needReadable=!1,q.emittedReadable=!0,he(D))}}function ie(D){let q=D._readableState;E("emitReadable",q.needReadable,q.emittedReadable),q.needReadable=!1,q.emittedReadable||(E("emitReadable",q.flowing),q.emittedReadable=!0,n.nextTick(he,D))}function he(D){let q=D._readableState;E("emitReadable_",q.destroyed,q.length,q.ended),!q.destroyed&&!q.errored&&(q.length||q.ended)&&(D.emit("readable"),q.emittedReadable=!1),q.needReadable=!q.flowing&&!q.ended&&q.length<=q.highWaterMark,Ce(D)}function pe(D,q){!q.readingMore&&q.constructed&&(q.readingMore=!0,n.nextTick(le,D,q))}function le(D,q){for(;!q.reading&&!q.ended&&(q.length1&&ye.pipes.includes(D)&&(E("false write response, pause",ye.awaitDrainWriters.size),ye.awaitDrainWriters.add(D)),oe.pause()),re||(re=de(oe,D),D.on("drain",re))}oe.on("data",Ge);function Ge(pt){E("ondata");let Ct=D.write(pt);E("dest.write",Ct),Ct===!1&&ke()}function Ue(pt){if(E("onerror",pt),at(),D.removeListener("error",Ue),D.listenerCount("error")===0){let Ct=D._writableState||D._readableState;Ct&&!Ct.errorEmitted?$(D,pt):D.emit("error",pt)}}v(D,"error",Ue);function qe(){D.removeListener("finish",At),at()}D.once("close",qe);function At(){E("onfinish"),D.removeListener("close",qe),at()}D.once("finish",At);function at(){E("unpipe"),oe.unpipe(D)}return D.emit("pipe",oe),D.writableNeedDrain===!0?ye.flowing&&ke():ye.flowing||(E("pipe resume"),oe.resume()),D};function de(D,q){return function(){let oe=D._readableState;oe.awaitDrainWriters===q?(E("pipeOnDrain",1),oe.awaitDrainWriters=null):oe.multiAwaitDrain&&(E("pipeOnDrain",oe.awaitDrainWriters.size),oe.awaitDrainWriters.delete(q)),(!oe.awaitDrainWriters||oe.awaitDrainWriters.size===0)&&D.listenerCount("data")&&D.resume()}}j.prototype.unpipe=function(D){let q=this._readableState,oe={hasUnpiped:!1};if(q.pipes.length===0)return this;if(!D){let ce=q.pipes;q.pipes=[],this.pause();for(let Be=0;Be0,ye.flowing!==!1&&this.resume()):D==="readable"&&!ye.endEmitted&&!ye.readableListening&&(ye.readableListening=ye.needReadable=!0,ye.flowing=!1,ye.emittedReadable=!1,E("on readable",ye.length,ye.reading),ye.length?ie(this):ye.reading||n.nextTick(ne,this)),oe},j.prototype.addListener=j.prototype.on,j.prototype.removeListener=function(D,q){let oe=g.prototype.removeListener.call(this,D,q);return D==="readable"&&n.nextTick(ve,this),oe},j.prototype.off=j.prototype.removeListener,j.prototype.removeAllListeners=function(D){let q=g.prototype.removeAllListeners.apply(this,arguments);return(D==="readable"||D===void 0)&&n.nextTick(ve,this),q};function ve(D){let q=D._readableState;q.readableListening=D.listenerCount("readable")>0,q.resumeScheduled&&q[k]===!1?q.flowing=!0:D.listenerCount("data")>0?D.resume():q.readableListening||(q.flowing=null)}function ne(D){E("readable nexttick read 0"),D.read(0)}j.prototype.resume=function(){let D=this._readableState;return D.flowing||(E("resume"),D.flowing=!D.readableListening,ue(this,D)),D[k]=!1,this};function ue(D,q){q.resumeScheduled||(q.resumeScheduled=!0,n.nextTick(ge,D,q))}function ge(D,q){E("resume",q.reading),q.reading||D.read(0),q.resumeScheduled=!1,D.emit("resume"),Ce(D),q.flowing&&!q.reading&&D.read(0)}j.prototype.pause=function(){return E("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(E("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[k]=!0,this};function Ce(D){let q=D._readableState;for(E("flow",q.flowing);q.flowing&&D.read()!==null;);}j.prototype.wrap=function(D){let q=!1;D.on("data",ye=>{!this.push(ye)&&D.pause&&(q=!0,D.pause())}),D.on("end",()=>{this.push(null)}),D.on("error",ye=>{$(this,ye)}),D.on("close",()=>{this.destroy()}),D.on("destroy",()=>{this.destroy()}),this._read=()=>{q&&D.resume&&(q=!1,D.resume())};let oe=l(D);for(let ye=1;ye{ce=Ve?O(ce,Ve):null,oe(),oe=V});try{for(;;){let Ve=D.destroyed?null:D.read();if(Ve!==null)yield Ve;else{if(ce)throw ce;if(ce===null)return;await new u(ye)}}}catch(Ve){throw ce=O(ce,Ve),ce}finally{(ce||(q==null?void 0:q.destroyOnReturn)!==!1)&&(ce===void 0||D._readableState.autoDestroy)?S.destroyer(D,null):(D.off("readable",ye),Be())}}s(j.prototype,{readable:{__proto__:null,get(){let D=this._readableState;return!!D&&D.readable!==!1&&!D.destroyed&&!D.errorEmitted&&!D.endEmitted},set(D){this._readableState&&(this._readableState.readable=!!D)}},readableDidRead:{__proto__:null,enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:!1,get:function(){return this._readableState.flowing},set:function(D){this._readableState&&(this._readableState.flowing=D)}},readableLength:{__proto__:null,enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:!1}},destroyed:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(D){this._readableState&&(this._readableState.destroyed=D)}},readableEnded:{__proto__:null,enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),s(W.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[k]!==!1},set(D){this[k]=!!D}}}),j._fromList=me;function me(D,q){if(q.length===0)return null;let oe;return q.objectMode?oe=q.buffer.shift():!D||D>=q.length?(q.decoder?oe=q.buffer.join(""):q.buffer.length===1?oe=q.buffer.first():oe=q.buffer.concat(q.length),q.buffer.clear()):oe=q.buffer.consume(D,q.decoder),oe}function be(D){let q=D._readableState;E("endReadable",q.endEmitted),q.endEmitted||(q.ended=!0,n.nextTick(_e,q,D))}function _e(D,q){if(E("endReadableNT",D.endEmitted,D.length),!D.errored&&!D.closeEmitted&&!D.endEmitted&&D.length===0){if(D.endEmitted=!0,q.emit("end"),q.writable&&q.allowHalfOpen===!1)n.nextTick(Re,q);else if(D.autoDestroy){let oe=q._writableState;(!oe||oe.autoDestroy&&(oe.finished||oe.writable===!1))&&q.destroy()}}}function Re(D){D.writable&&!D.writableEnded&&!D.destroyed&&D.end()}j.from=function(D,q){return L(j,D,q)};var De;function z(){return De===void 0&&(De={}),De}j.fromWeb=function(D,q){return z().newStreamReadableFromReadableStream(D,q)},j.toWeb=function(D,q){return z().newReadableStreamFromStreamReadable(D,q)},j.wrap=function(D,q){var oe,ye;return new j({objectMode:(oe=(ye=D.readableObjectMode)!==null&&ye!==void 0?ye:D.objectMode)!==null&&oe!==void 0?oe:!0,...q,destroy(ce,Be){S.destroyer(D,ce),Be(ce)}}).wrap(D)}}),abe=sn((e,t)=>{Jt(),tn(),en();var n=m0(),{ArrayPrototypeSlice:r,Error:i,FunctionPrototypeSymbolHasInstance:o,ObjectDefineProperty:a,ObjectDefineProperties:s,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:c,Symbol:u,SymbolHasInstance:d}=Oa();t.exports=N,N.WritableState=P;var{EventEmitter:f}=(aS(),Hi(g0)),h=yW().Stream,{Buffer:m}=(us(),Hi(cs)),g=oS(),{addAbortSignal:v}=HP(),{getHighWaterMark:y,getDefaultHighWaterMark:b}=_W(),{ERR_INVALID_ARG_TYPE:_,ERR_METHOD_NOT_IMPLEMENTED:E,ERR_MULTIPLE_CALLBACK:C,ERR_STREAM_CANNOT_PIPE:S,ERR_STREAM_DESTROYED:w,ERR_STREAM_ALREADY_FINISHED:T,ERR_STREAM_NULL_VALUES:O,ERR_STREAM_WRITE_AFTER_END:x,ERR_UNKNOWN_ENCODING:A}=Ll().codes,{errorOrDestroy:I}=g;l(N.prototype,h.prototype),l(N,h);function M(){}var B=u("kOnFinished");function P(ne,ue,ge){typeof ge!="boolean"&&(ge=ue instanceof oh()),this.objectMode=!!(ne&&ne.objectMode),ge&&(this.objectMode=this.objectMode||!!(ne&&ne.writableObjectMode)),this.highWaterMark=ne?y(this,ne,"writableHighWaterMark",ge):b(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let Ce=!!(ne&&ne.decodeStrings===!1);this.decodeStrings=!Ce,this.defaultEncoding=ne&&ne.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=j.bind(void 0,ue),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,k(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!ne||ne.emitClose!==!1,this.autoDestroy=!ne||ne.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[B]=[]}function k(ne){ne.buffered=[],ne.bufferedIndex=0,ne.allBuffers=!0,ne.allNoop=!0}P.prototype.getBuffer=function(){return r(this.buffered,this.bufferedIndex)},a(P.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function N(ne){let ue=this instanceof oh();if(!ue&&!o(N,this))return new N(ne);this._writableState=new P(ne,this,ue),ne&&(typeof ne.write=="function"&&(this._write=ne.write),typeof ne.writev=="function"&&(this._writev=ne.writev),typeof ne.destroy=="function"&&(this._destroy=ne.destroy),typeof ne.final=="function"&&(this._final=ne.final),typeof ne.construct=="function"&&(this._construct=ne.construct),ne.signal&&v(ne.signal,this)),h.call(this,ne),g.construct(this,()=>{let ge=this._writableState;ge.writing||ae(this,ge),he(this,ge)})}a(N,d,{__proto__:null,value:function(ne){return o(this,ne)?!0:this!==N?!1:ne&&ne._writableState instanceof P}}),N.prototype.pipe=function(){I(this,new S)};function L(ne,ue,ge,Ce){let Te=ne._writableState;if(typeof ge=="function")Ce=ge,ge=Te.defaultEncoding;else{if(!ge)ge=Te.defaultEncoding;else if(ge!=="buffer"&&!m.isEncoding(ge))throw new A(ge);typeof Ce!="function"&&(Ce=M)}if(ue===null)throw new O;if(!Te.objectMode)if(typeof ue=="string")Te.decodeStrings!==!1&&(ue=m.from(ue,ge),ge="buffer");else if(ue instanceof m)ge="buffer";else if(h._isUint8Array(ue))ue=h._uint8ArrayToBuffer(ue),ge="buffer";else throw new _("chunk",["string","Buffer","Uint8Array"],ue);let Se;return Te.ending?Se=new x:Te.destroyed&&(Se=new w("write")),Se?(n.nextTick(Ce,Se),I(ne,Se,!0),Se):(Te.pendingcb++,V(ne,Te,ue,ge,Ce))}N.prototype.write=function(ne,ue,ge){return L(this,ne,ue,ge)===!0},N.prototype.cork=function(){this._writableState.corked++},N.prototype.uncork=function(){let ne=this._writableState;ne.corked&&(ne.corked--,ne.writing||ae(this,ne))},N.prototype.setDefaultEncoding=function(ne){if(typeof ne=="string"&&(ne=c(ne)),!m.isEncoding(ne))throw new A(ne);return this._writableState.defaultEncoding=ne,this};function V(ne,ue,ge,Ce,Te){let Se=ue.objectMode?1:ge.length;ue.length+=Se;let me=ue.lengthge.bufferedIndex&&ae(ne,ge),Ce?ge.afterWriteTickInfo!==null&&ge.afterWriteTickInfo.cb===Te?ge.afterWriteTickInfo.count++:(ge.afterWriteTickInfo={count:1,cb:Te,stream:ne,state:ge},n.nextTick(U,ge.afterWriteTickInfo)):Z(ne,ge,1,Te))}function U({stream:ne,state:ue,count:ge,cb:Ce}){return ue.afterWriteTickInfo=null,Z(ne,ue,ge,Ce)}function Z(ne,ue,ge,Ce){for(!ue.ending&&!ne.destroyed&&ue.length===0&&ue.needDrain&&(ue.needDrain=!1,ne.emit("drain"));ge-- >0;)ue.pendingcb--,Ce();ue.destroyed&&te(ue),he(ne,ue)}function te(ne){if(ne.writing)return;for(let Te=ne.bufferedIndex;Te1&&ne._writev){ue.pendingcb-=Se-1;let be=ue.allNoop?M:Re=>{for(let De=me;De256?(ge.splice(0,me),ue.bufferedIndex=0):ue.bufferedIndex=me}ue.bufferProcessing=!1}N.prototype._write=function(ne,ue,ge){if(this._writev)this._writev([{chunk:ne,encoding:ue}],ge);else throw new E("_write()")},N.prototype._writev=null,N.prototype.end=function(ne,ue,ge){let Ce=this._writableState;typeof ne=="function"?(ge=ne,ne=null,ue=null):typeof ue=="function"&&(ge=ue,ue=null);let Te;if(ne!=null){let Se=L(this,ne,ue);Se instanceof i&&(Te=Se)}return Ce.corked&&(Ce.corked=1,this.uncork()),Te||(!Ce.errored&&!Ce.ending?(Ce.ending=!0,he(this,Ce,!0),Ce.ended=!0):Ce.finished?Te=new T("end"):Ce.destroyed&&(Te=new w("end"))),typeof ge=="function"&&(Te||Ce.finished?n.nextTick(ge,Te):Ce[B].push(ge)),this};function K(ne){return ne.ending&&!ne.destroyed&&ne.constructed&&ne.length===0&&!ne.errored&&ne.buffered.length===0&&!ne.finished&&!ne.writing&&!ne.errorEmitted&&!ne.closeEmitted}function Q(ne,ue){let ge=!1;function Ce(Te){if(ge){I(ne,Te??C());return}if(ge=!0,ue.pendingcb--,Te){let Se=ue[B].splice(0);for(let me=0;me{K(Te)?pe(Ce,Te):Te.pendingcb--},ne,ue)):K(ue)&&(ue.pendingcb++,pe(ne,ue))))}function pe(ne,ue){ue.pendingcb--,ue.finished=!0;let ge=ue[B].splice(0);for(let Ce=0;Ce{Jt(),tn(),en();var n=m0(),r=(us(),Hi(cs)),{isReadable:i,isWritable:o,isIterable:a,isNodeStream:s,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:u}=yh(),d=Rg(),{AbortError:f,codes:{ERR_INVALID_ARG_TYPE:h,ERR_INVALID_RETURN_VALUE:m}}=Ll(),{destroyer:g}=oS(),v=oh(),y=zP(),{createDeferredPromise:b}=ih(),_=obe(),E=globalThis.Blob||r.Blob,C=typeof E<"u"?function(A){return A instanceof E}:function(A){return!1},S=globalThis.AbortController||bW().AbortController,{FunctionPrototypeCall:w}=Oa(),T=class extends v{constructor(A){super(A),(A==null?void 0:A.readable)===!1&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),(A==null?void 0:A.writable)===!1&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}};t.exports=function A(I,M){if(u(I))return I;if(l(I))return x({readable:I});if(c(I))return x({writable:I});if(s(I))return x({writable:!1,readable:!1});if(typeof I=="function"){let{value:P,write:k,final:N,destroy:L}=O(I);if(a(P))return _(T,P,{objectMode:!0,write:k,final:N,destroy:L});let V=P==null?void 0:P.then;if(typeof V=="function"){let $,W=w(V,P,j=>{if(j!=null)throw new m("nully","body",j)},j=>{g($,j)});return $=new T({objectMode:!0,readable:!1,write:k,final(j){N(async()=>{try{await W,n.nextTick(j,null)}catch(U){n.nextTick(j,U)}})},destroy:L})}throw new m("Iterable, AsyncIterable or AsyncFunction",M,P)}if(C(I))return A(I.arrayBuffer());if(a(I))return _(T,I,{objectMode:!0,writable:!1});if(typeof(I==null?void 0:I.writable)=="object"||typeof(I==null?void 0:I.readable)=="object"){let P=I!=null&&I.readable?l(I==null?void 0:I.readable)?I==null?void 0:I.readable:A(I.readable):void 0,k=I!=null&&I.writable?c(I==null?void 0:I.writable)?I==null?void 0:I.writable:A(I.writable):void 0;return x({readable:P,writable:k})}let B=I==null?void 0:I.then;if(typeof B=="function"){let P;return w(B,I,k=>{k!=null&&P.push(k),P.push(null)},k=>{g(P,k)}),P=new T({objectMode:!0,writable:!1,read(){}})}throw new h(M,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],I)};function O(A){let{promise:I,resolve:M}=b(),B=new S,P=B.signal;return{value:A(async function*(){for(;;){let k=I;I=null;let{chunk:N,done:L,cb:V}=await k;if(n.nextTick(V),L)return;if(P.aborted)throw new f(void 0,{cause:P.reason});({promise:I,resolve:M}=b()),yield N}}(),{signal:P}),write(k,N,L){let V=M;M=null,V({chunk:k,done:!1,cb:L})},final(k){let N=M;M=null,N({done:!0,cb:k})},destroy(k,N){B.abort(),N(k)}}}function x(A){let I=A.readable&&typeof A.readable.read!="function"?y.wrap(A.readable):A.readable,M=A.writable,B=!!i(I),P=!!o(M),k,N,L,V,$;function W(j){let U=V;V=null,U?U(j):j&&$.destroy(j)}return $=new T({readableObjectMode:!!(I!=null&&I.readableObjectMode),writableObjectMode:!!(M!=null&&M.writableObjectMode),readable:B,writable:P}),P&&(d(M,j=>{P=!1,j&&g(I,j),W(j)}),$._write=function(j,U,Z){M.write(j,U)?Z():k=Z},$._final=function(j){M.end(),N=j},M.on("drain",function(){if(k){let j=k;k=null,j()}}),M.on("finish",function(){if(N){let j=N;N=null,j()}})),B&&(d(I,j=>{B=!1,j&&g(I,j),W(j)}),I.on("readable",function(){if(L){let j=L;L=null,j()}}),I.on("end",function(){$.push(null)}),$._read=function(){for(;;){let j=I.read();if(j===null){L=$._read;return}if(!$.push(j))return}}),$._destroy=function(j,U){!j&&V!==null&&(j=new f),L=null,k=null,N=null,V===null?U(j):(V=U,g(M,j),g(I,j))},$}}),oh=sn((e,t)=>{Jt(),tn(),en();var{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:r,ObjectKeys:i,ObjectSetPrototypeOf:o}=Oa();t.exports=l;var a=zP(),s=abe();o(l.prototype,a.prototype),o(l,a);{let f=i(s.prototype);for(let h=0;h{Jt(),tn(),en();var{ObjectSetPrototypeOf:n,Symbol:r}=Oa();t.exports=l;var{ERR_METHOD_NOT_IMPLEMENTED:i}=Ll().codes,o=oh(),{getHighWaterMark:a}=_W();n(l.prototype,o.prototype),n(l,o);var s=r("kCallback");function l(d){if(!(this instanceof l))return new l(d);let f=d?a(this,d,"readableHighWaterMark",!0):null;f===0&&(d={...d,highWaterMark:null,readableHighWaterMark:f,writableHighWaterMark:d.writableHighWaterMark||0}),o.call(this,d),this._readableState.sync=!1,this[s]=null,d&&(typeof d.transform=="function"&&(this._transform=d.transform),typeof d.flush=="function"&&(this._flush=d.flush)),this.on("prefinish",u)}function c(d){typeof this._flush=="function"&&!this.destroyed?this._flush((f,h)=>{if(f){d?d(f):this.destroy(f);return}h!=null&&this.push(h),this.push(null),d&&d()}):(this.push(null),d&&d())}function u(){this._final!==c&&c.call(this)}l.prototype._final=c,l.prototype._transform=function(d,f,h){throw new i("_transform()")},l.prototype._write=function(d,f,h){let m=this._readableState,g=this._writableState,v=m.length;this._transform(d,f,(y,b)=>{if(y){h(y);return}b!=null&&this.push(b),g.ended||v===m.length||m.length{Jt(),tn(),en();var{ObjectSetPrototypeOf:n}=Oa();t.exports=i;var r=sbe();n(i.prototype,r.prototype),n(i,r);function i(o){if(!(this instanceof i))return new i(o);r.call(this,o)}i.prototype._transform=function(o,a,s){s(null,o)}}),CW=sn((e,t)=>{Jt(),tn(),en();var n=m0(),{ArrayIsArray:r,Promise:i,SymbolAsyncIterator:o}=Oa(),a=Rg(),{once:s}=ih(),l=oS(),c=oh(),{aggregateTwoErrors:u,codes:{ERR_INVALID_ARG_TYPE:d,ERR_INVALID_RETURN_VALUE:f,ERR_MISSING_ARGS:h,ERR_STREAM_DESTROYED:m,ERR_STREAM_PREMATURE_CLOSE:g},AbortError:v}=Ll(),{validateFunction:y,validateAbortSignal:b}=jP(),{isIterable:_,isReadable:E,isReadableNodeStream:C,isNodeStream:S,isTransformStream:w,isWebStream:T,isReadableStream:O,isReadableEnded:x}=yh(),A=globalThis.AbortController||bW().AbortController,I,M;function B(U,Z,te){let ae=!1;U.on("close",()=>{ae=!0});let K=a(U,{readable:Z,writable:te},Q=>{ae=!Q});return{destroy:Q=>{ae||(ae=!0,l.destroyer(U,Q||new m("pipe")))},cleanup:K}}function P(U){return y(U[U.length-1],"streams[stream.length - 1]"),U.pop()}function k(U){if(_(U))return U;if(C(U))return N(U);throw new d("val",["Readable","Iterable","AsyncIterable"],U)}async function*N(U){M||(M=zP()),yield*M.prototype[o].call(U)}async function L(U,Z,te,{end:ae}){let K,Q=null,ie=le=>{if(le&&(K=le),Q){let de=Q;Q=null,de()}},he=()=>new i((le,de)=>{K?de(K):Q=()=>{K?de(K):le()}});Z.on("drain",ie);let pe=a(Z,{readable:!1},ie);try{Z.writableNeedDrain&&await he();for await(let le of U)Z.write(le)||await he();ae&&Z.end(),await he(),te()}catch(le){te(K!==le?u(K,le):le)}finally{pe(),Z.off("drain",ie)}}async function V(U,Z,te,{end:ae}){w(Z)&&(Z=Z.writable);let K=Z.getWriter();try{for await(let Q of U)await K.ready,K.write(Q).catch(()=>{});await K.ready,ae&&await K.close(),te()}catch(Q){try{await K.abort(Q),te(Q)}catch(ie){te(ie)}}}function $(...U){return W(U,s(P(U)))}function W(U,Z,te){if(U.length===1&&r(U[0])&&(U=U[0]),U.length<2)throw new h("streams");let ae=new A,K=ae.signal,Q=te==null?void 0:te.signal,ie=[];b(Q,"options.signal");function he(){ue(new v)}Q==null||Q.addEventListener("abort",he);let pe,le,de=[],ve=0;function ne(Se){ue(Se,--ve===0)}function ue(Se,me){if(Se&&(!pe||pe.code==="ERR_STREAM_PREMATURE_CLOSE")&&(pe=Se),!(!pe&&!me)){for(;de.length;)de.shift()(pe);Q==null||Q.removeEventListener("abort",he),ae.abort(),me&&(pe||ie.forEach(be=>be()),n.nextTick(Z,pe,le))}}let ge;for(let Se=0;Se0,Re=be||(te==null?void 0:te.end)!==!1,De=Se===U.length-1;if(S(me)){let z=function(D){D&&D.name!=="AbortError"&&D.code!=="ERR_STREAM_PREMATURE_CLOSE"&&ne(D)};if(Re){let{destroy:D,cleanup:q}=B(me,be,_e);de.push(D),E(me)&&De&&ie.push(q)}me.on("error",z),E(me)&&De&&ie.push(()=>{me.removeListener("error",z)})}if(Se===0)if(typeof me=="function"){if(ge=me({signal:K}),!_(ge))throw new f("Iterable, AsyncIterable or Stream","source",ge)}else _(me)||C(me)||w(me)?ge=me:ge=c.from(me);else if(typeof me=="function"){if(w(ge)){var Ce;ge=k((Ce=ge)===null||Ce===void 0?void 0:Ce.readable)}else ge=k(ge);if(ge=me(ge,{signal:K}),be){if(!_(ge,!0))throw new f("AsyncIterable",`transform[${Se-1}]`,ge)}else{var Te;I||(I=lbe());let z=new I({objectMode:!0}),D=(Te=ge)===null||Te===void 0?void 0:Te.then;if(typeof D=="function")ve++,D.call(ge,ye=>{le=ye,ye!=null&&z.write(ye),Re&&z.end(),n.nextTick(ne)},ye=>{z.destroy(ye),n.nextTick(ne,ye)});else if(_(ge,!0))ve++,L(ge,z,ne,{end:Re});else if(O(ge)||w(ge)){let ye=ge.readable||ge;ve++,L(ye,z,ne,{end:Re})}else throw new f("AsyncIterable or Promise","destination",ge);ge=z;let{destroy:q,cleanup:oe}=B(ge,!1,!0);de.push(q),De&&ie.push(oe)}}else if(S(me)){if(C(ge)){ve+=2;let z=j(ge,me,ne,{end:Re});E(me)&&De&&ie.push(z)}else if(w(ge)||O(ge)){let z=ge.readable||ge;ve++,L(z,me,ne,{end:Re})}else if(_(ge))ve++,L(ge,me,ne,{end:Re});else throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],ge);ge=me}else if(T(me)){if(C(ge))ve++,V(k(ge),me,ne,{end:Re});else if(O(ge)||_(ge))ve++,V(ge,me,ne,{end:Re});else if(w(ge))ve++,V(ge.readable,me,ne,{end:Re});else throw new d("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],ge);ge=me}else ge=c.from(me)}return(K!=null&&K.aborted||Q!=null&&Q.aborted)&&n.nextTick(he),ge}function j(U,Z,te,{end:ae}){let K=!1;if(Z.on("close",()=>{K||te(new g)}),U.pipe(Z,{end:!1}),ae){let Q=function(){K=!0,Z.end()};x(U)?n.nextTick(Q):U.once("end",Q)}else te();return a(U,{readable:!0,writable:!1},Q=>{let ie=U._readableState;Q&&Q.code==="ERR_STREAM_PREMATURE_CLOSE"&&ie&&ie.ended&&!ie.errored&&!ie.errorEmitted?U.once("end",te).once("error",te):te(Q)}),a(Z,{readable:!1,writable:!0},te)}t.exports={pipelineImpl:W,pipeline:$}}),cbe=sn((e,t)=>{Jt(),tn(),en();var{pipeline:n}=CW(),r=oh(),{destroyer:i}=oS(),{isNodeStream:o,isReadable:a,isWritable:s,isWebStream:l,isTransformStream:c,isWritableStream:u,isReadableStream:d}=yh(),{AbortError:f,codes:{ERR_INVALID_ARG_VALUE:h,ERR_MISSING_ARGS:m}}=Ll(),g=Rg();t.exports=function(...v){if(v.length===0)throw new m("streams");if(v.length===1)return r.from(v[0]);let y=[...v];if(typeof v[0]=="function"&&(v[0]=r.from(v[0])),typeof v[v.length-1]=="function"){let I=v.length-1;v[I]=r.from(v[I])}for(let I=0;I0&&!(s(v[I])||u(v[I])||c(v[I])))throw new h(`streams[${I}]`,y[I],"must be writable")}let b,_,E,C,S;function w(I){let M=C;C=null,M?M(I):I?S.destroy(I):!A&&!x&&S.destroy()}let T=v[0],O=n(v,w),x=!!(s(T)||u(T)||c(T)),A=!!(a(O)||d(O)||c(O));if(S=new r({writableObjectMode:!!(T!=null&&T.writableObjectMode),readableObjectMode:!!(O!=null&&O.writableObjectMode),writable:x,readable:A}),x){if(o(T))S._write=function(M,B,P){T.write(M,B)?P():b=P},S._final=function(M){T.end(),_=M},T.on("drain",function(){if(b){let M=b;b=null,M()}});else if(l(T)){let M=(c(T)?T.writable:T).getWriter();S._write=async function(B,P,k){try{await M.ready,M.write(B).catch(()=>{}),k()}catch(N){k(N)}},S._final=async function(B){try{await M.ready,M.close().catch(()=>{}),_=B}catch(P){B(P)}}}let I=c(O)?O.readable:O;g(I,()=>{if(_){let M=_;_=null,M()}})}if(A){if(o(O))O.on("readable",function(){if(E){let I=E;E=null,I()}}),O.on("end",function(){S.push(null)}),S._read=function(){for(;;){let I=O.read();if(I===null){E=S._read;return}if(!S.push(I))return}};else if(l(O)){let I=(c(O)?O.readable:O).getReader();S._read=async function(){for(;;)try{let{value:M,done:B}=await I.read();if(!S.push(M))return;if(B){S.push(null);return}}catch{return}}}}return S._destroy=function(I,M){!I&&C!==null&&(I=new f),E=null,b=null,_=null,C===null?M(I):(C=M,o(O)&&i(O,I))},S}}),gje=sn((e,t)=>{Jt(),tn(),en();var n=globalThis.AbortController||bW().AbortController,{codes:{ERR_INVALID_ARG_VALUE:r,ERR_INVALID_ARG_TYPE:i,ERR_MISSING_ARGS:o,ERR_OUT_OF_RANGE:a},AbortError:s}=Ll(),{validateAbortSignal:l,validateInteger:c,validateObject:u}=jP(),d=Oa().Symbol("kWeak"),{finished:f}=Rg(),h=cbe(),{addAbortSignalNoValidate:m}=HP(),{isWritable:g,isNodeStream:v}=yh(),{ArrayPrototypePush:y,MathFloor:b,Number:_,NumberIsNaN:E,Promise:C,PromiseReject:S,PromisePrototypeThen:w,Symbol:T}=Oa(),O=T("kEmpty"),x=T("kEof");function A(ae,K){if(K!=null&&u(K,"options"),(K==null?void 0:K.signal)!=null&&l(K.signal,"options.signal"),v(ae)&&!g(ae))throw new r("stream",ae,"must be writable");let Q=h(this,ae);return K!=null&&K.signal&&m(K.signal,Q),Q}function I(ae,K){if(typeof ae!="function")throw new i("fn",["Function","AsyncFunction"],ae);K!=null&&u(K,"options"),(K==null?void 0:K.signal)!=null&&l(K.signal,"options.signal");let Q=1;return(K==null?void 0:K.concurrency)!=null&&(Q=b(K.concurrency)),c(Q,"concurrency",1),(async function*(){var ie,he;let pe=new n,le=this,de=[],ve=pe.signal,ne={signal:ve},ue=()=>pe.abort();K!=null&&(ie=K.signal)!==null&&ie!==void 0&&ie.aborted&&ue(),K==null||(he=K.signal)===null||he===void 0||he.addEventListener("abort",ue);let ge,Ce,Te=!1;function Se(){Te=!0}async function me(){try{for await(let Re of le){var be;if(Te)return;if(ve.aborted)throw new s;try{Re=ae(Re,ne)}catch(De){Re=S(De)}Re!==O&&(typeof((be=Re)===null||be===void 0?void 0:be.catch)=="function"&&Re.catch(Se),de.push(Re),ge&&(ge(),ge=null),!Te&&de.length&&de.length>=Q&&await new C(De=>{Ce=De}))}de.push(x)}catch(Re){let De=S(Re);w(De,void 0,Se),de.push(De)}finally{var _e;Te=!0,ge&&(ge(),ge=null),K==null||(_e=K.signal)===null||_e===void 0||_e.removeEventListener("abort",ue)}}me();try{for(;;){for(;de.length>0;){let be=await de[0];if(be===x)return;if(ve.aborted)throw new s;be!==O&&(yield be),de.shift(),Ce&&(Ce(),Ce=null)}await new C(be=>{ge=be})}}finally{pe.abort(),Te=!0,Ce&&(Ce(),Ce=null)}}).call(this)}function M(ae=void 0){return ae!=null&&u(ae,"options"),(ae==null?void 0:ae.signal)!=null&&l(ae.signal,"options.signal"),(async function*(){let K=0;for await(let ie of this){var Q;if(ae!=null&&(Q=ae.signal)!==null&&Q!==void 0&&Q.aborted)throw new s({cause:ae.signal.reason});yield[K++,ie]}}).call(this)}async function B(ae,K=void 0){for await(let Q of L.call(this,ae,K))return!0;return!1}async function P(ae,K=void 0){if(typeof ae!="function")throw new i("fn",["Function","AsyncFunction"],ae);return!await B.call(this,async(...Q)=>!await ae(...Q),K)}async function k(ae,K){for await(let Q of L.call(this,ae,K))return Q}async function N(ae,K){if(typeof ae!="function")throw new i("fn",["Function","AsyncFunction"],ae);async function Q(ie,he){return await ae(ie,he),O}for await(let ie of I.call(this,Q,K));}function L(ae,K){if(typeof ae!="function")throw new i("fn",["Function","AsyncFunction"],ae);async function Q(ie,he){return await ae(ie,he)?ie:O}return I.call(this,Q,K)}var V=class extends o{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};async function $(ae,K,Q){var ie;if(typeof ae!="function")throw new i("reducer",["Function","AsyncFunction"],ae);Q!=null&&u(Q,"options"),(Q==null?void 0:Q.signal)!=null&&l(Q.signal,"options.signal");let he=arguments.length>1;if(Q!=null&&(ie=Q.signal)!==null&&ie!==void 0&&ie.aborted){let ne=new s(void 0,{cause:Q.signal.reason});throw this.once("error",()=>{}),await f(this.destroy(ne)),ne}let pe=new n,le=pe.signal;if(Q!=null&&Q.signal){let ne={once:!0,[d]:this};Q.signal.addEventListener("abort",()=>pe.abort(),ne)}let de=!1;try{for await(let ne of this){var ve;if(de=!0,Q!=null&&(ve=Q.signal)!==null&&ve!==void 0&&ve.aborted)throw new s;he?K=await ae(K,ne,{signal:le}):(K=ne,he=!0)}if(!de&&!he)throw new V}finally{pe.abort()}return K}async function W(ae){ae!=null&&u(ae,"options"),(ae==null?void 0:ae.signal)!=null&&l(ae.signal,"options.signal");let K=[];for await(let ie of this){var Q;if(ae!=null&&(Q=ae.signal)!==null&&Q!==void 0&&Q.aborted)throw new s(void 0,{cause:ae.signal.reason});y(K,ie)}return K}function j(ae,K){let Q=I.call(this,ae,K);return(async function*(){for await(let ie of Q)yield*ie}).call(this)}function U(ae){if(ae=_(ae),E(ae))return 0;if(ae<0)throw new a("number",">= 0",ae);return ae}function Z(ae,K=void 0){return K!=null&&u(K,"options"),(K==null?void 0:K.signal)!=null&&l(K.signal,"options.signal"),ae=U(ae),(async function*(){var Q;if(K!=null&&(Q=K.signal)!==null&&Q!==void 0&&Q.aborted)throw new s;for await(let he of this){var ie;if(K!=null&&(ie=K.signal)!==null&&ie!==void 0&&ie.aborted)throw new s;ae--<=0&&(yield he)}}).call(this)}function te(ae,K=void 0){return K!=null&&u(K,"options"),(K==null?void 0:K.signal)!=null&&l(K.signal,"options.signal"),ae=U(ae),(async function*(){var Q;if(K!=null&&(Q=K.signal)!==null&&Q!==void 0&&Q.aborted)throw new s;for await(let he of this){var ie;if(K!=null&&(ie=K.signal)!==null&&ie!==void 0&&ie.aborted)throw new s;if(ae-- >0)yield he;else return}}).call(this)}t.exports.streamReturningOperators={asIndexedPairs:M,drop:Z,filter:L,flatMap:j,map:I,take:te,compose:A},t.exports.promiseReturningOperators={every:P,forEach:N,reduce:$,toArray:W,some:B,find:k}}),ube=sn((e,t)=>{Jt(),tn(),en();var{ArrayPrototypePop:n,Promise:r}=Oa(),{isIterable:i,isNodeStream:o,isWebStream:a}=yh(),{pipelineImpl:s}=CW(),{finished:l}=Rg();dbe();function c(...u){return new r((d,f)=>{let h,m,g=u[u.length-1];if(g&&typeof g=="object"&&!o(g)&&!i(g)&&!a(g)){let v=n(u);h=v.signal,m=v.end}s(u,(v,y)=>{v?f(v):d(y)},{signal:h,end:m})})}t.exports={finished:l,pipeline:c}}),dbe=sn((e,t)=>{Jt(),tn(),en();var{Buffer:n}=(us(),Hi(cs)),{ObjectDefineProperty:r,ObjectKeys:i,ReflectApply:o}=Oa(),{promisify:{custom:a}}=ih(),{streamReturningOperators:s,promiseReturningOperators:l}=gje(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=Ll(),u=cbe(),{pipeline:d}=CW(),{destroyer:f}=oS(),h=Rg(),m=ube(),g=yh(),v=t.exports=yW().Stream;v.isDisturbed=g.isDisturbed,v.isErrored=g.isErrored,v.isReadable=g.isReadable,v.Readable=zP();for(let b of i(s)){let _=function(...C){if(new.target)throw c();return v.Readable.from(o(E,this,C))},E=s[b];r(_,"name",{__proto__:null,value:E.name}),r(_,"length",{__proto__:null,value:E.length}),r(v.Readable.prototype,b,{__proto__:null,value:_,enumerable:!1,configurable:!0,writable:!0})}for(let b of i(l)){let _=function(...C){if(new.target)throw c();return o(E,this,C)},E=l[b];r(_,"name",{__proto__:null,value:E.name}),r(_,"length",{__proto__:null,value:E.length}),r(v.Readable.prototype,b,{__proto__:null,value:_,enumerable:!1,configurable:!0,writable:!0})}v.Writable=abe(),v.Duplex=oh(),v.Transform=sbe(),v.PassThrough=lbe(),v.pipeline=d;var{addAbortSignal:y}=HP();v.addAbortSignal=y,v.finished=h,v.destroy=f,v.compose=u,r(v,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return m}}),r(d,a,{__proto__:null,enumerable:!0,get(){return m.pipeline}}),r(h,a,{__proto__:null,enumerable:!0,get(){return m.finished}}),v.Stream=v,v._isUint8Array=function(b){return b instanceof Uint8Array},v._uint8ArrayToBuffer=function(b){return n.from(b.buffer,b.byteOffset,b.byteLength)}}),v0=sn((e,t)=>{Jt(),tn(),en();var n=dbe(),r=ube(),i=n.Readable.destroy;t.exports=n.Readable,t.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,t.exports._isUint8Array=n._isUint8Array,t.exports.isDisturbed=n.isDisturbed,t.exports.isErrored=n.isErrored,t.exports.isReadable=n.isReadable,t.exports.Readable=n.Readable,t.exports.Writable=n.Writable,t.exports.Duplex=n.Duplex,t.exports.Transform=n.Transform,t.exports.PassThrough=n.PassThrough,t.exports.addAbortSignal=n.addAbortSignal,t.exports.finished=n.finished,t.exports.destroy=n.destroy,t.exports.destroy=i,t.exports.pipeline=n.pipeline,t.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get(){return r}}),t.exports.Stream=n.Stream,t.exports.default=t.exports}),vje=sn((e,t)=>{Jt(),tn(),en(),typeof Object.create=="function"?t.exports=function(n,r){r&&(n.super_=r,n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(n,r){if(r){n.super_=r;var i=function(){};i.prototype=r.prototype,n.prototype=new i,n.prototype.constructor=n}}}),bje=sn((e,t)=>{Jt(),tn(),en();var{Buffer:n}=(us(),Hi(cs)),r=Symbol.for("BufferList");function i(o){if(!(this instanceof i))return new i(o);i._init.call(this,o)}i._init=function(o){Object.defineProperty(this,r,{value:!0}),this._bufs=[],this.length=0,o&&this.append(o)},i.prototype._new=function(o){return new i(o)},i.prototype._offset=function(o){if(o===0)return[0,0];let a=0;for(let s=0;sthis.length||o<0)return;let a=this._offset(o);return this._bufs[a[0]][a[1]]},i.prototype.slice=function(o,a){return typeof o=="number"&&o<0&&(o+=this.length),typeof a=="number"&&a<0&&(a+=this.length),this.copy(null,0,o,a)},i.prototype.copy=function(o,a,s,l){if((typeof s!="number"||s<0)&&(s=0),(typeof l!="number"||l>this.length)&&(l=this.length),s>=this.length||l<=0)return o||n.alloc(0);let c=!!o,u=this._offset(s),d=l-s,f=d,h=c&&a||0,m=u[1];if(s===0&&l===this.length){if(!c)return this._bufs.length===1?this._bufs[0]:n.concat(this._bufs,this.length);for(let g=0;gv)this._bufs[g].copy(o,h,m),h+=v;else{this._bufs[g].copy(o,h,m,m+f),h+=v;break}f-=v,m&&(m=0)}return o.length>h?o.slice(0,h):o},i.prototype.shallowSlice=function(o,a){if(o=o||0,a=typeof a!="number"?this.length:a,o<0&&(o+=this.length),a<0&&(a+=this.length),o===a)return this._new();let s=this._offset(o),l=this._offset(a),c=this._bufs.slice(s[0],l[0]+1);return l[1]===0?c.pop():c[c.length-1]=c[c.length-1].slice(0,l[1]),s[1]!==0&&(c[0]=c[0].slice(s[1])),this._new(c)},i.prototype.toString=function(o,a,s){return this.slice(a,s).toString(o)},i.prototype.consume=function(o){if(o=Math.trunc(o),Number.isNaN(o)||o<=0)return this;for(;this._bufs.length;)if(o>=this._bufs[0].length)o-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift();else{this._bufs[0]=this._bufs[0].slice(o),this.length-=o;break}return this},i.prototype.duplicate=function(){let o=this._new();for(let a=0;athis.length?this.length:a;let l=this._offset(a),c=l[0],u=l[1];for(;c=o.length){let f=d.indexOf(o,u);if(f!==-1)return this._reverseOffset([c,f]);u=d.length-o.length+1}else{let f=this._reverseOffset([c,u]);if(this._match(f,o))return f;u++}u=0}return-1},i.prototype._match=function(o,a){if(this.length-o{Jt(),tn(),en();var n=v0().Duplex,r=vje(),i=bje();function o(a){if(!(this instanceof o))return new o(a);if(typeof a=="function"){this._callback=a;let s=(function(l){this._callback&&(this._callback(l),this._callback=null)}).bind(this);this.on("pipe",function(l){l.on("error",s)}),this.on("unpipe",function(l){l.removeListener("error",s)}),a=null}i._init.call(this,a),n.call(this)}r(o,n),Object.assign(o.prototype,i.prototype),o.prototype._new=function(a){return new o(a)},o.prototype._write=function(a,s,l){this._appendBuffer(a),typeof l=="function"&&l()},o.prototype._read=function(a){if(!this.length)return this.push(null);a=Math.min(a,this.length),this.push(this.slice(0,a)),this.consume(a)},o.prototype.end=function(a){n.prototype.end.call(this,a),this._callback&&(this._callback(null,this.slice()),this._callback=null)},o.prototype._destroy=function(a,s){this._bufs.length=0,this.length=0,s(a)},o.prototype._isBufferList=function(a){return a instanceof o||a instanceof i||o.isBufferList(a)},o.isBufferList=i.isBufferList,t.exports=o,t.exports.BufferListStream=o,t.exports.BufferList=i}),_je=sn((e,t)=>{Jt(),tn(),en();var n=class{constructor(){this.cmd=null,this.retain=!1,this.qos=0,this.dup=!1,this.length=-1,this.topic=null,this.payload=null}};t.exports=n}),fbe=sn((e,t)=>{Jt(),tn(),en();var n=t.exports,{Buffer:r}=(us(),Hi(cs));n.types={0:"reserved",1:"connect",2:"connack",3:"publish",4:"puback",5:"pubrec",6:"pubrel",7:"pubcomp",8:"subscribe",9:"suback",10:"unsubscribe",11:"unsuback",12:"pingreq",13:"pingresp",14:"disconnect",15:"auth"},n.requiredHeaderFlags={1:0,2:0,4:0,5:0,6:2,7:0,8:2,9:0,10:2,11:0,12:0,13:0,14:0,15:0},n.requiredHeaderFlagsErrors={};for(let o in n.requiredHeaderFlags){let a=n.requiredHeaderFlags[o];n.requiredHeaderFlagsErrors[o]="Invalid header flag bits, must be 0x"+a.toString(16)+" for "+n.types[o]+" packet"}n.codes={};for(let o in n.types){let a=n.types[o];n.codes[a]=o}n.CMD_SHIFT=4,n.CMD_MASK=240,n.DUP_MASK=8,n.QOS_MASK=3,n.QOS_SHIFT=1,n.RETAIN_MASK=1,n.VARBYTEINT_MASK=127,n.VARBYTEINT_FIN_MASK=128,n.VARBYTEINT_MAX=268435455,n.SESSIONPRESENT_MASK=1,n.SESSIONPRESENT_HEADER=r.from([n.SESSIONPRESENT_MASK]),n.CONNACK_HEADER=r.from([n.codes.connack<[0,1].map(s=>[0,1].map(l=>{let c=r.alloc(1);return c.writeUInt8(n.codes[o]<r.from([o])),n.EMPTY={pingreq:r.from([n.codes.pingreq<<4,0]),pingresp:r.from([n.codes.pingresp<<4,0]),disconnect:r.from([n.codes.disconnect<<4,0])},n.MQTT5_PUBACK_PUBREC_CODES={0:"Success",16:"No matching subscribers",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",144:"Topic Name invalid",145:"Packet identifier in use",151:"Quota exceeded",153:"Payload format invalid"},n.MQTT5_PUBREL_PUBCOMP_CODES={0:"Success",146:"Packet Identifier not found"},n.MQTT5_SUBACK_CODES={0:"Granted QoS 0",1:"Granted QoS 1",2:"Granted QoS 2",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use",151:"Quota exceeded",158:"Shared Subscriptions not supported",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},n.MQTT5_UNSUBACK_CODES={0:"Success",17:"No subscription existed",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use"},n.MQTT5_DISCONNECT_CODES={0:"Normal disconnection",4:"Disconnect with Will Message",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",135:"Not authorized",137:"Server busy",139:"Server shutting down",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},n.MQTT5_AUTH_CODES={0:"Success",24:"Continue authentication",25:"Re-authenticate"}}),Sje=sn((e,t)=>{Jt(),tn(),en();var n=1e3,r=n*60,i=r*60,o=i*24,a=o*7,s=o*365.25;t.exports=function(f,h){h=h||{};var m=typeof f;if(m==="string"&&f.length>0)return l(f);if(m==="number"&&isFinite(f))return h.long?u(f):c(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))};function l(f){if(f=String(f),!(f.length>100)){var h=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(f);if(h){var m=parseFloat(h[1]),g=(h[2]||"ms").toLowerCase();switch(g){case"years":case"year":case"yrs":case"yr":case"y":return m*s;case"weeks":case"week":case"w":return m*a;case"days":case"day":case"d":return m*o;case"hours":case"hour":case"hrs":case"hr":case"h":return m*i;case"minutes":case"minute":case"mins":case"min":case"m":return m*r;case"seconds":case"second":case"secs":case"sec":case"s":return m*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return m;default:return}}}}function c(f){var h=Math.abs(f);return h>=o?Math.round(f/o)+"d":h>=i?Math.round(f/i)+"h":h>=r?Math.round(f/r)+"m":h>=n?Math.round(f/n)+"s":f+"ms"}function u(f){var h=Math.abs(f);return h>=o?d(f,h,o,"day"):h>=i?d(f,h,i,"hour"):h>=r?d(f,h,r,"minute"):h>=n?d(f,h,n,"second"):f+" ms"}function d(f,h,m,g){var v=h>=m*1.5;return Math.round(f/m)+" "+g+(v?"s":"")}}),Eje=sn((e,t)=>{Jt(),tn(),en();function n(r){o.debug=o,o.default=o,o.coerce=d,o.disable=l,o.enable=s,o.enabled=c,o.humanize=Sje(),o.destroy=f,Object.keys(r).forEach(h=>{o[h]=r[h]}),o.names=[],o.skips=[],o.formatters={};function i(h){let m=0;for(let g=0;g{if(T==="%%")return"%";w++;let x=o.formatters[O];if(typeof x=="function"){let A=_[w];T=x.call(E,A),_.splice(w,1),w--}return T}),o.formatArgs.call(E,_),(E.log||o.log).apply(E,_)}return b.namespace=h,b.useColors=o.useColors(),b.color=o.selectColor(h),b.extend=a,b.destroy=o.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>g!==null?g:(v!==o.namespaces&&(v=o.namespaces,y=o.enabled(h)),y),set:_=>{g=_}}),typeof o.init=="function"&&o.init(b),b}function a(h,m){let g=o(this.namespace+(typeof m>"u"?":":m)+h);return g.log=this.log,g}function s(h){o.save(h),o.namespaces=h,o.names=[],o.skips=[];let m,g=(typeof h=="string"?h:"").split(/[\s,]+/),v=g.length;for(m=0;m"-"+m)].join(",");return o.enable(""),h}function c(h){if(h[h.length-1]==="*")return!0;let m,g;for(m=0,g=o.skips.length;m{Jt(),tn(),en(),e.formatArgs=r,e.save=i,e.load=o,e.useColors=n,e.storage=a(),e.destroy=(()=>{let l=!1;return()=>{l||(l=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function n(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(l){if(l[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+l[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let c="color: "+this.color;l.splice(1,0,c,"color: inherit");let u=0,d=0;l[0].replace(/%[a-zA-Z%]/g,f=>{f!=="%%"&&(u++,f==="%c"&&(d=u))}),l.splice(d,0,c)}e.log=console.debug||console.log||(()=>{});function i(l){try{l?e.storage.setItem("debug",l):e.storage.removeItem("debug")}catch{}}function o(){let l;try{l=e.storage.getItem("debug")}catch{}return!l&&typeof _i<"u"&&"env"in _i&&(l=_i.env.DEBUG),l}function a(){try{return localStorage}catch{}}t.exports=Eje()(e);var{formatters:s}=t.exports;s.j=function(l){try{return JSON.stringify(l)}catch(c){return"[UnexpectedJSONParseError]: "+c.message}}}),Cje=sn((e,t)=>{Jt(),tn(),en();var n=yje(),{EventEmitter:r}=(aS(),Hi(g0)),i=_je(),o=fbe(),a=ah()("mqtt-packet:parser"),s=class Nj extends r{constructor(){super(),this.parser=this.constructor.parser}static parser(c){return this instanceof Nj?(this.settings=c||{},this._states=["_parseHeader","_parseLength","_parsePayload","_newPacket"],this._resetState(),this):new Nj().parser(c)}_resetState(){a("_resetState: resetting packet, error, _list, and _stateCounter"),this.packet=new i,this.error=null,this._list=n(),this._stateCounter=0}parse(c){for(this.error&&this._resetState(),this._list.append(c),a("parse: current state: %s",this._states[this._stateCounter]);(this.packet.length!==-1||this._list.length>0)&&this[this._states[this._stateCounter]]()&&!this.error;)this._stateCounter++,a("parse: state complete. _stateCounter is now: %d",this._stateCounter),a("parse: packet.length: %d, buffer list length: %d",this.packet.length,this._list.length),this._stateCounter>=this._states.length&&(this._stateCounter=0);return a("parse: exited while loop. packet: %d, buffer list length: %d",this.packet.length,this._list.length),this._list.length}_parseHeader(){let c=this._list.readUInt8(0),u=c>>o.CMD_SHIFT;this.packet.cmd=o.types[u];let d=c&15,f=o.requiredHeaderFlags[u];return f!=null&&d!==f?this._emitError(new Error(o.requiredHeaderFlagsErrors[u])):(this.packet.retain=(c&o.RETAIN_MASK)!==0,this.packet.qos=c>>o.QOS_SHIFT&o.QOS_MASK,this.packet.qos>2?this._emitError(new Error("Packet must not have both QoS bits set to 1")):(this.packet.dup=(c&o.DUP_MASK)!==0,a("_parseHeader: packet: %o",this.packet),this._list.consume(1),!0))}_parseLength(){let c=this._parseVarByteNum(!0);return c&&(this.packet.length=c.value,this._list.consume(c.bytes)),a("_parseLength %d",c.value),!!c}_parsePayload(){a("_parsePayload: payload %O",this._list);let c=!1;if(this.packet.length===0||this._list.length>=this.packet.length){switch(this._pos=0,this.packet.cmd){case"connect":this._parseConnect();break;case"connack":this._parseConnack();break;case"publish":this._parsePublish();break;case"puback":case"pubrec":case"pubrel":case"pubcomp":this._parseConfirmation();break;case"subscribe":this._parseSubscribe();break;case"suback":this._parseSuback();break;case"unsubscribe":this._parseUnsubscribe();break;case"unsuback":this._parseUnsuback();break;case"pingreq":case"pingresp":break;case"disconnect":this._parseDisconnect();break;case"auth":this._parseAuth();break;default:this._emitError(new Error("Not supported"))}c=!0}return a("_parsePayload complete result: %s",c),c}_parseConnect(){a("_parseConnect");let c,u,d,f,h={},m=this.packet,g=this._parseString();if(g===null)return this._emitError(new Error("Cannot parse protocolId"));if(g!=="MQTT"&&g!=="MQIsdp")return this._emitError(new Error("Invalid protocolId"));if(m.protocolId=g,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(m.protocolVersion=this._list.readUInt8(this._pos),m.protocolVersion>=128&&(m.bridgeMode=!0,m.protocolVersion=m.protocolVersion-128),m.protocolVersion!==3&&m.protocolVersion!==4&&m.protocolVersion!==5)return this._emitError(new Error("Invalid protocol version"));if(this._pos++,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(this._list.readUInt8(this._pos)&1)return this._emitError(new Error("Connect flag bit 0 must be 0, but got 1"));h.username=this._list.readUInt8(this._pos)&o.USERNAME_MASK,h.password=this._list.readUInt8(this._pos)&o.PASSWORD_MASK,h.will=this._list.readUInt8(this._pos)&o.WILL_FLAG_MASK;let v=!!(this._list.readUInt8(this._pos)&o.WILL_RETAIN_MASK),y=(this._list.readUInt8(this._pos)&o.WILL_QOS_MASK)>>o.WILL_QOS_SHIFT;if(h.will)m.will={},m.will.retain=v,m.will.qos=y;else{if(v)return this._emitError(new Error("Will Retain Flag must be set to zero when Will Flag is set to 0"));if(y)return this._emitError(new Error("Will QoS must be set to zero when Will Flag is set to 0"))}if(m.clean=(this._list.readUInt8(this._pos)&o.CLEAN_SESSION_MASK)!==0,this._pos++,m.keepalive=this._parseNum(),m.keepalive===-1)return this._emitError(new Error("Packet too short"));if(m.protocolVersion===5){let _=this._parseProperties();Object.getOwnPropertyNames(_).length&&(m.properties=_)}let b=this._parseString();if(b===null)return this._emitError(new Error("Packet too short"));if(m.clientId=b,a("_parseConnect: packet.clientId: %s",m.clientId),h.will){if(m.protocolVersion===5){let _=this._parseProperties();Object.getOwnPropertyNames(_).length&&(m.will.properties=_)}if(c=this._parseString(),c===null)return this._emitError(new Error("Cannot parse will topic"));if(m.will.topic=c,a("_parseConnect: packet.will.topic: %s",m.will.topic),u=this._parseBuffer(),u===null)return this._emitError(new Error("Cannot parse will payload"));m.will.payload=u,a("_parseConnect: packet.will.paylaod: %s",m.will.payload)}if(h.username){if(f=this._parseString(),f===null)return this._emitError(new Error("Cannot parse username"));m.username=f,a("_parseConnect: packet.username: %s",m.username)}if(h.password){if(d=this._parseBuffer(),d===null)return this._emitError(new Error("Cannot parse password"));m.password=d}return this.settings=m,a("_parseConnect: complete"),m}_parseConnack(){a("_parseConnack");let c=this.packet;if(this._list.length<1)return null;let u=this._list.readUInt8(this._pos++);if(u>1)return this._emitError(new Error("Invalid connack flags, bits 7-1 must be set to 0"));if(c.sessionPresent=!!(u&o.SESSIONPRESENT_MASK),this.settings.protocolVersion===5)this._list.length>=2?c.reasonCode=this._list.readUInt8(this._pos++):c.reasonCode=0;else{if(this._list.length<2)return null;c.returnCode=this._list.readUInt8(this._pos++)}if(c.returnCode===-1||c.reasonCode===-1)return this._emitError(new Error("Cannot parse return code"));if(this.settings.protocolVersion===5){let d=this._parseProperties();Object.getOwnPropertyNames(d).length&&(c.properties=d)}a("_parseConnack: complete")}_parsePublish(){a("_parsePublish");let c=this.packet;if(c.topic=this._parseString(),c.topic===null)return this._emitError(new Error("Cannot parse topic"));if(!(c.qos>0&&!this._parseMessageId())){if(this.settings.protocolVersion===5){let u=this._parseProperties();Object.getOwnPropertyNames(u).length&&(c.properties=u)}c.payload=this._list.slice(this._pos,c.length),a("_parsePublish: payload from buffer list: %o",c.payload)}}_parseSubscribe(){a("_parseSubscribe");let c=this.packet,u,d,f,h,m,g,v;if(c.subscriptions=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let y=this._parseProperties();Object.getOwnPropertyNames(y).length&&(c.properties=y)}if(c.length<=0)return this._emitError(new Error("Malformed subscribe, no payload specified"));for(;this._pos=c.length)return this._emitError(new Error("Malformed Subscribe Payload"));if(d=this._parseByte(),this.settings.protocolVersion===5){if(d&192)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-6 must be 0"))}else if(d&252)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-2 must be 0"));if(f=d&o.SUBSCRIBE_OPTIONS_QOS_MASK,f>2)return this._emitError(new Error("Invalid subscribe QoS, must be <= 2"));if(g=(d>>o.SUBSCRIBE_OPTIONS_NL_SHIFT&o.SUBSCRIBE_OPTIONS_NL_MASK)!==0,m=(d>>o.SUBSCRIBE_OPTIONS_RAP_SHIFT&o.SUBSCRIBE_OPTIONS_RAP_MASK)!==0,h=d>>o.SUBSCRIBE_OPTIONS_RH_SHIFT&o.SUBSCRIBE_OPTIONS_RH_MASK,h>2)return this._emitError(new Error("Invalid retain handling, must be <= 2"));v={topic:u,qos:f},this.settings.protocolVersion===5?(v.nl=g,v.rap=m,v.rh=h):this.settings.bridgeMode&&(v.rh=0,v.rap=!0,v.nl=!0),a("_parseSubscribe: push subscription `%s` to subscription",v),c.subscriptions.push(v)}}}_parseSuback(){a("_parseSuback");let c=this.packet;if(this.packet.granted=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let u=this._parseProperties();Object.getOwnPropertyNames(u).length&&(c.properties=u)}if(c.length<=0)return this._emitError(new Error("Malformed suback, no payload specified"));for(;this._pos2&&u!==128)return this._emitError(new Error("Invalid suback QoS, must be 0, 1, 2 or 128"));this.packet.granted.push(u)}}}_parseUnsubscribe(){a("_parseUnsubscribe");let c=this.packet;if(c.unsubscriptions=[],!!this._parseMessageId()){if(this.settings.protocolVersion===5){let u=this._parseProperties();Object.getOwnPropertyNames(u).length&&(c.properties=u)}if(c.length<=0)return this._emitError(new Error("Malformed unsubscribe, no payload specified"));for(;this._pos2){switch(c.reasonCode=this._parseByte(),this.packet.cmd){case"puback":case"pubrec":if(!o.MQTT5_PUBACK_PUBREC_CODES[c.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break;case"pubrel":case"pubcomp":if(!o.MQTT5_PUBREL_PUBCOMP_CODES[c.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break}a("_parseConfirmation: packet.reasonCode `%d`",c.reasonCode)}else c.reasonCode=0;if(c.length>3){let u=this._parseProperties();Object.getOwnPropertyNames(u).length&&(c.properties=u)}}return!0}_parseDisconnect(){let c=this.packet;if(a("_parseDisconnect"),this.settings.protocolVersion===5){this._list.length>0?(c.reasonCode=this._parseByte(),o.MQTT5_DISCONNECT_CODES[c.reasonCode]||this._emitError(new Error("Invalid disconnect reason code"))):c.reasonCode=0;let u=this._parseProperties();Object.getOwnPropertyNames(u).length&&(c.properties=u)}return a("_parseDisconnect result: true"),!0}_parseAuth(){a("_parseAuth");let c=this.packet;if(this.settings.protocolVersion!==5)return this._emitError(new Error("Not supported auth packet for this version MQTT"));if(c.reasonCode=this._parseByte(),!o.MQTT5_AUTH_CODES[c.reasonCode])return this._emitError(new Error("Invalid auth reason code"));let u=this._parseProperties();return Object.getOwnPropertyNames(u).length&&(c.properties=u),a("_parseAuth: result: true"),!0}_parseMessageId(){let c=this.packet;return c.messageId=this._parseNum(),c.messageId===null?(this._emitError(new Error("Cannot parse messageId")),!1):(a("_parseMessageId: packet.messageId %d",c.messageId),!0)}_parseString(c){let u=this._parseNum(),d=u+this._pos;if(u===-1||d>this._list.length||d>this.packet.length)return null;let f=this._list.toString("utf8",this._pos,d);return this._pos+=u,a("_parseString: result: %s",f),f}_parseStringPair(){return a("_parseStringPair"),{name:this._parseString(),value:this._parseString()}}_parseBuffer(){let c=this._parseNum(),u=c+this._pos;if(c===-1||u>this._list.length||u>this.packet.length)return null;let d=this._list.slice(this._pos,u);return this._pos+=c,a("_parseBuffer: result: %o",d),d}_parseNum(){if(this._list.length-this._pos<2)return-1;let c=this._list.readUInt16BE(this._pos);return this._pos+=2,a("_parseNum: result: %s",c),c}_parse4ByteNum(){if(this._list.length-this._pos<4)return-1;let c=this._list.readUInt32BE(this._pos);return this._pos+=4,a("_parse4ByteNum: result: %s",c),c}_parseVarByteNum(c){a("_parseVarByteNum");let u=4,d=0,f=1,h=0,m=!1,g,v=this._pos?this._pos:0;for(;d=d&&this._emitError(new Error("Invalid variable byte integer")),v&&(this._pos+=d),m?c?m={bytes:d,value:h}:m=h:m=!1,a("_parseVarByteNum: result: %o",m),m}_parseByte(){let c;return this._pos{Jt(),tn(),en();var{Buffer:n}=(us(),Hi(cs)),r=65536,i={},o=n.isBuffer(n.from([1,2]).subarray(0,1));function a(u){let d=n.allocUnsafe(2);return d.writeUInt8(u>>8,0),d.writeUInt8(u&255,1),d}function s(){for(let u=0;u0&&(d=d|128),h.writeUInt8(d,f++);while(u>0&&f<4);return u>0&&(f=0),o?h.subarray(0,f):h.slice(0,f)}function c(u){let d=n.allocUnsafe(4);return d.writeUInt32BE(u,0),d}t.exports={cache:i,generateCache:s,generateNumber:a,genBufVariableByteInt:l,generate4ByteBuffer:c}}),Tje=sn((e,t)=>{Jt(),tn(),en(),typeof _i>"u"||!_i.version||_i.version.indexOf("v0.")===0||_i.version.indexOf("v1.")===0&&_i.version.indexOf("v1.8.")!==0?t.exports={nextTick:n}:t.exports=_i;function n(r,i,o,a){if(typeof r!="function")throw new TypeError('"callback" argument must be a function');var s=arguments.length,l,c;switch(s){case 0:case 1:return _i.nextTick(r);case 2:return _i.nextTick(function(){r.call(null,i)});case 3:return _i.nextTick(function(){r.call(null,i,o)});case 4:return _i.nextTick(function(){r.call(null,i,o,a)});default:for(l=new Array(s-1),c=0;c{Jt(),tn(),en();var n=fbe(),{Buffer:r}=(us(),Hi(cs)),i=r.allocUnsafe(0),o=r.from([0]),a=wje(),s=Tje().nextTick,l=ah()("mqtt-packet:writeToStream"),c=a.cache,u=a.generateNumber,d=a.generateCache,f=a.genBufVariableByteInt,h=a.generate4ByteBuffer,m=N,g=!0;function v(K,Q,ie){switch(l("generate called"),Q.cork&&(Q.cork(),s(y,Q)),g&&(g=!1,d()),l("generate: packet.cmd: %s",K.cmd),K.cmd){case"connect":return b(K,Q);case"connack":return _(K,Q,ie);case"publish":return E(K,Q,ie);case"puback":case"pubrec":case"pubrel":case"pubcomp":return C(K,Q,ie);case"subscribe":return S(K,Q,ie);case"suback":return w(K,Q,ie);case"unsubscribe":return T(K,Q,ie);case"unsuback":return O(K,Q,ie);case"pingreq":case"pingresp":return x(K,Q);case"disconnect":return A(K,Q,ie);case"auth":return I(K,Q,ie);default:return Q.destroy(new Error("Unknown command")),!1}}Object.defineProperty(v,"cacheNumbers",{get(){return m===N},set(K){K?((!c||Object.keys(c).length===0)&&(g=!0),m=N):(g=!1,m=L)}});function y(K){K.uncork()}function b(K,Q,ie){let he=K||{},pe=he.protocolId||"MQTT",le=he.protocolVersion||4,de=he.will,ve=he.clean,ne=he.keepalive||0,ue=he.clientId||"",ge=he.username,Ce=he.password,Te=he.properties;ve===void 0&&(ve=!0);let Se=0;if(!pe||typeof pe!="string"&&!r.isBuffer(pe))return Q.destroy(new Error("Invalid protocolId")),!1;if(Se+=pe.length+2,le!==3&&le!==4&&le!==5)return Q.destroy(new Error("Invalid protocol version")),!1;if(Se+=1,(typeof ue=="string"||r.isBuffer(ue))&&(ue||le>=4)&&(ue||ve))Se+=r.byteLength(ue)+2;else{if(le<4)return Q.destroy(new Error("clientId must be supplied before 3.1.1")),!1;if(ve*1===0)return Q.destroy(new Error("clientId must be given if cleanSession set to 0")),!1}if(typeof ne!="number"||ne<0||ne>65535||ne%1!==0)return Q.destroy(new Error("Invalid keepalive")),!1;Se+=2,Se+=1;let me,be;if(le===5){if(me=W(Q,Te),!me)return!1;Se+=me.length}if(de){if(typeof de!="object")return Q.destroy(new Error("Invalid will")),!1;if(!de.topic||typeof de.topic!="string")return Q.destroy(new Error("Invalid will topic")),!1;if(Se+=r.byteLength(de.topic)+2,Se+=2,de.payload)if(de.payload.length>=0)typeof de.payload=="string"?Se+=r.byteLength(de.payload):Se+=de.payload.length;else return Q.destroy(new Error("Invalid will payload")),!1;if(be={},le===5){if(be=W(Q,de.properties),!be)return!1;Se+=be.length}}let _e=!1;if(ge!=null)if(ae(ge))_e=!0,Se+=r.byteLength(ge)+2;else return Q.destroy(new Error("Invalid username")),!1;if(Ce!=null){if(!_e)return Q.destroy(new Error("Username is required to use password")),!1;if(ae(Ce))Se+=te(Ce)+2;else return Q.destroy(new Error("Invalid password")),!1}Q.write(n.CONNECT_HEADER),B(Q,Se),$(Q,pe),he.bridgeMode&&(le+=128),Q.write(le===131?n.VERSION131:le===132?n.VERSION132:le===4?n.VERSION4:le===5?n.VERSION5:n.VERSION3);let Re=0;return Re|=ge!=null?n.USERNAME_MASK:0,Re|=Ce!=null?n.PASSWORD_MASK:0,Re|=de&&de.retain?n.WILL_RETAIN_MASK:0,Re|=de&&de.qos?de.qos<0&&m(Q,ue),Te==null||Te.write(),l("publish: payload: %o",ne),Q.write(ne)}function C(K,Q,ie){let he=ie?ie.protocolVersion:4,pe=K||{},le=pe.cmd||"puback",de=pe.messageId,ve=pe.dup&&le==="pubrel"?n.DUP_MASK:0,ne=0,ue=pe.reasonCode,ge=pe.properties,Ce=he===5?3:2;if(le==="pubrel"&&(ne=1),typeof de!="number")return Q.destroy(new Error("Invalid messageId")),!1;let Te=null;if(he===5&&typeof ge=="object"){if(Te=j(Q,ge,ie,Ce),!Te)return!1;Ce+=Te.length}return Q.write(n.ACKS[le][ne][ve][0]),Ce===3&&(Ce+=ue!==0?1:-1),B(Q,Ce),m(Q,de),he===5&&Ce!==2&&Q.write(r.from([ue])),Te!==null?Te.write():Ce===4&&Q.write(r.from([0])),!0}function S(K,Q,ie){l("subscribe: packet: ");let he=ie?ie.protocolVersion:4,pe=K||{},le=pe.dup?n.DUP_MASK:0,de=pe.messageId,ve=pe.subscriptions,ne=pe.properties,ue=0;if(typeof de!="number")return Q.destroy(new Error("Invalid messageId")),!1;ue+=2;let ge=null;if(he===5){if(ge=W(Q,ne),!ge)return!1;ue+=ge.length}if(typeof ve=="object"&&ve.length)for(let Te=0;Te2)return Q.destroy(new Error("Invalid subscriptions - invalid Retain Handling")),!1}ue+=r.byteLength(Se)+2+1}else return Q.destroy(new Error("Invalid subscriptions")),!1;l("subscribe: writing to stream: %o",n.SUBSCRIBE_HEADER),Q.write(n.SUBSCRIBE_HEADER[1][le?1:0][0]),B(Q,ue),m(Q,de),ge!==null&&ge.write();let Ce=!0;for(let Te of ve){let Se=Te.topic,me=Te.qos,be=+Te.nl,_e=+Te.rap,Re=Te.rh,De;P(Q,Se),De=n.SUBSCRIBE_OPTIONS_QOS[me],he===5&&(De|=be?n.SUBSCRIBE_OPTIONS_NL:0,De|=_e?n.SUBSCRIBE_OPTIONS_RAP:0,De|=Re?n.SUBSCRIBE_OPTIONS_RH[Re]:0),Ce=Q.write(r.from([De]))}return Ce}function w(K,Q,ie){let he=ie?ie.protocolVersion:4,pe=K||{},le=pe.messageId,de=pe.granted,ve=pe.properties,ne=0;if(typeof le!="number")return Q.destroy(new Error("Invalid messageId")),!1;if(ne+=2,typeof de=="object"&&de.length)for(let ge=0;gen.VARBYTEINT_MAX)return K.destroy(new Error(`Invalid variable byte integer: ${Q}`)),!1;let ie=M[Q];return ie||(ie=f(Q),Q<16384&&(M[Q]=ie)),l("writeVarByteInt: writing to stream: %o",ie),K.write(ie)}function P(K,Q){let ie=r.byteLength(Q);return m(K,ie),l("writeString: %s",Q),K.write(Q,"utf8")}function k(K,Q,ie){P(K,Q),P(K,ie)}function N(K,Q){return l("writeNumberCached: number: %d",Q),l("writeNumberCached: %o",c[Q]),K.write(c[Q])}function L(K,Q){let ie=u(Q);return l("writeNumberGenerated: %o",ie),K.write(ie)}function V(K,Q){let ie=h(Q);return l("write4ByteNumber: %o",ie),K.write(ie)}function $(K,Q){typeof Q=="string"?P(K,Q):Q?(m(K,Q.length),K.write(Q)):m(K,0)}function W(K,Q){if(typeof Q!="object"||Q.length!=null)return{length:1,write(){Z(K,{},0)}};let ie=0;function he(pe,le){let de=n.propertiesTypes[pe],ve=0;switch(de){case"byte":{if(typeof le!="boolean")return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=2;break}case"int8":{if(typeof le!="number"||le<0||le>255)return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=2;break}case"binary":{if(le&&le===null)return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=1+r.byteLength(le)+2;break}case"int16":{if(typeof le!="number"||le<0||le>65535)return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=3;break}case"int32":{if(typeof le!="number"||le<0||le>4294967295)return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=5;break}case"var":{if(typeof le!="number"||le<0||le>268435455)return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=1+r.byteLength(f(le));break}case"string":{if(typeof le!="string")return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=3+r.byteLength(le.toString());break}case"pair":{if(typeof le!="object")return K.destroy(new Error(`Invalid ${pe}: ${le}`)),!1;ve+=Object.getOwnPropertyNames(le).reduce((ne,ue)=>{let ge=le[ue];return Array.isArray(ge)?ne+=ge.reduce((Ce,Te)=>(Ce+=3+r.byteLength(ue.toString())+2+r.byteLength(Te.toString()),Ce),0):ne+=3+r.byteLength(ue.toString())+2+r.byteLength(le[ue].toString()),ne},0);break}default:return K.destroy(new Error(`Invalid property ${pe}: ${le}`)),!1}return ve}if(Q)for(let pe in Q){let le=0,de=0,ve=Q[pe];if(Array.isArray(ve))for(let ne=0;nele;){let ve=pe.shift();if(ve&&Q[ve])delete Q[ve],de=W(K,Q);else return!1}return de}function U(K,Q,ie){switch(n.propertiesTypes[Q]){case"byte":{K.write(r.from([n.properties[Q]])),K.write(r.from([+ie]));break}case"int8":{K.write(r.from([n.properties[Q]])),K.write(r.from([ie]));break}case"binary":{K.write(r.from([n.properties[Q]])),$(K,ie);break}case"int16":{K.write(r.from([n.properties[Q]])),m(K,ie);break}case"int32":{K.write(r.from([n.properties[Q]])),V(K,ie);break}case"var":{K.write(r.from([n.properties[Q]])),B(K,ie);break}case"string":{K.write(r.from([n.properties[Q]])),P(K,ie);break}case"pair":{Object.getOwnPropertyNames(ie).forEach(he=>{let pe=ie[he];Array.isArray(pe)?pe.forEach(le=>{K.write(r.from([n.properties[Q]])),k(K,he.toString(),le.toString())}):(K.write(r.from([n.properties[Q]])),k(K,he.toString(),pe.toString()))});break}default:return K.destroy(new Error(`Invalid property ${Q} value: ${ie}`)),!1}}function Z(K,Q,ie){B(K,ie);for(let he in Q)if(Object.prototype.hasOwnProperty.call(Q,he)&&Q[he]!==null){let pe=Q[he];if(Array.isArray(pe))for(let le=0;le{Jt(),tn(),en();var n=pbe(),{EventEmitter:r}=(aS(),Hi(g0)),{Buffer:i}=(us(),Hi(cs));function o(s,l){let c=new a;return n(s,c,l),c.concat()}var a=class extends r{constructor(){super(),this._array=new Array(20),this._i=0}write(s){return this._array[this._i++]=s,!0}concat(){let s=0,l=new Array(this._array.length),c=this._array,u=0,d;for(d=0;d{Jt(),tn(),en(),e.parser=Cje().parser,e.generate=xje(),e.writeToStream=pbe()}),hbe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=class{constructor(){this.nextId=Math.max(1,Math.floor(Math.random()*65535))}allocate(){let n=this.nextId++;return this.nextId===65536&&(this.nextId=1),n}getLastAllocated(){return this.nextId===1?65535:this.nextId-1}register(n){return!0}deallocate(n){}clear(){}};e.default=t}),Rje=sn((e,t)=>{Jt(),tn(),en(),t.exports=r;function n(o){return o instanceof aM?aM.from(o):new o.constructor(o.buffer.slice(),o.byteOffset,o.length)}function r(o){if(o=o||{},o.circles)return i(o);return o.proto?l:s;function a(c,u){for(var d=Object.keys(c),f=new Array(d.length),h=0;h{Jt(),tn(),en(),t.exports=Rje()()}),Aje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0}),e.validateTopics=e.validateTopic=void 0;function t(r){let i=r.split("/");for(let o=0;o{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=v0(),n={objectMode:!0},r={clean:!0},i=class{constructor(o){this.options=o||{},this.options=Object.assign(Object.assign({},r),o),this._inflights=new Map}put(o,a){return this._inflights.set(o.messageId,o),a&&a(),this}createStream(){let o=new t.Readable(n),a=[],s=!1,l=0;return this._inflights.forEach((c,u)=>{a.push(c)}),o._read=()=>{!s&&l{if(!s)return s=!0,setTimeout(()=>{o.emit("close")},0),o},o}del(o,a){let s=this._inflights.get(o.messageId);return s?(this._inflights.delete(o.messageId),a(null,s)):a&&a(new Error("missing packet")),this}get(o,a){let s=this._inflights.get(o.messageId);return s?a(null,s):a&&a(new Error("missing packet")),this}close(o){this.options.clean&&(this._inflights=null),o&&o()}};e.default=i}),Nje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=[0,16,128,131,135,144,145,151,153],n=(r,i,o)=>{r.log("handlePublish: packet %o",i),o=typeof o<"u"?o:r.noop;let a=i.topic.toString(),s=i.payload,{qos:l}=i,{messageId:c}=i,{options:u}=r;if(r.options.protocolVersion===5){let d;if(i.properties&&(d=i.properties.topicAlias),typeof d<"u")if(a.length===0)if(d>0&&d<=65535){let f=r.topicAliasRecv.getTopicByAlias(d);if(f)a=f,r.log("handlePublish :: topic complemented by alias. topic: %s - alias: %d",a,d);else{r.log("handlePublish :: unregistered topic alias. alias: %d",d),r.emit("error",new Error("Received unregistered Topic Alias"));return}}else{r.log("handlePublish :: topic alias out of range. alias: %d",d),r.emit("error",new Error("Received Topic Alias is out of range"));return}else if(r.topicAliasRecv.put(a,d))r.log("handlePublish :: registered topic: %s - alias: %d",a,d);else{r.log("handlePublish :: topic alias out of range. alias: %d",d),r.emit("error",new Error("Received Topic Alias is out of range"));return}}switch(r.log("handlePublish: qos %d",l),l){case 2:{u.customHandleAcks(a,s,i,(d,f)=>{if(typeof d=="number"&&(f=d,d=null),d)return r.emit("error",d);if(t.indexOf(f)===-1)return r.emit("error",new Error("Wrong reason code for pubrec"));f?r._sendPacket({cmd:"pubrec",messageId:c,reasonCode:f},o):r.incomingStore.put(i,()=>{r._sendPacket({cmd:"pubrec",messageId:c},o)})});break}case 1:{u.customHandleAcks(a,s,i,(d,f)=>{if(typeof d=="number"&&(f=d,d=null),d)return r.emit("error",d);if(t.indexOf(f)===-1)return r.emit("error",new Error("Wrong reason code for puback"));f||r.emit("message",a,s,i),r.handleMessage(i,h=>{if(h)return o&&o(h);r._sendPacket({cmd:"puback",messageId:c,reasonCode:f},o)})});break}case 0:r.emit("message",a,s,i),r.handleMessage(i,o);break;default:r.log("handlePublish: unknown QoS. Doing nothing.");break}};e.default=n}),Mje=sn((e,t)=>{t.exports={version:"5.10.3"}}),sS=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0}),e.MQTTJS_VERSION=e.nextTick=e.applyMixin=e.ErrorWithReasonCode=void 0;var t=class gbe extends Error{constructor(i,o){super(i),this.code=o,Object.setPrototypeOf(this,gbe.prototype),Object.getPrototypeOf(this).name="ErrorWithReasonCode"}};e.ErrorWithReasonCode=t;function n(r,i,o=!1){var a;let s=[i];for(;;){let l=s[0],c=Object.getPrototypeOf(l);if(c!=null&&c.prototype)s.unshift(c);else break}for(let l of s)for(let c of Object.getOwnPropertyNames(l.prototype))(o||c!=="constructor")&&Object.defineProperty(r.prototype,c,(a=Object.getOwnPropertyDescriptor(l.prototype,c))!==null&&a!==void 0?a:Object.create(null))}e.applyMixin=n,e.nextTick=typeof(_i==null?void 0:_i.nextTick)=="function"?_i.nextTick:r=>{setTimeout(r,0)},e.MQTTJS_VERSION=Mje().version}),VP=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=void 0;var t=sS();e.ReasonCodes={0:"",1:"Unacceptable protocol version",2:"Identifier rejected",3:"Server unavailable",4:"Bad username or password",5:"Not authorized",16:"No matching subscribers",17:"No subscription existed",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",132:"Unsupported Protocol Version",133:"Client Identifier not valid",134:"Bad User Name or Password",135:"Not authorized",136:"Server unavailable",137:"Server busy",138:"Banned",139:"Server shutting down",140:"Bad authentication method",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",145:"Packet identifier in use",146:"Packet Identifier not found",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"};var n=(r,i)=>{let{messageId:o}=i,a=i.cmd,s=null,l=r.outgoing[o]?r.outgoing[o].cb:null,c=null;if(!l){r.log("_handleAck :: Server sent an ack in error. Ignoring.");return}switch(r.log("_handleAck :: packet type",a),a){case"pubcomp":case"puback":{let u=i.reasonCode;u&&u>0&&u!==16?(c=new t.ErrorWithReasonCode(`Publish error: ${e.ReasonCodes[u]}`,u),r._removeOutgoingAndStoreMessage(o,()=>{l(c,i)})):r._removeOutgoingAndStoreMessage(o,l);break}case"pubrec":{s={cmd:"pubrel",qos:2,messageId:o};let u=i.reasonCode;u&&u>0&&u!==16?(c=new t.ErrorWithReasonCode(`Publish error: ${e.ReasonCodes[u]}`,u),r._removeOutgoingAndStoreMessage(o,()=>{l(c,i)})):r._sendPacket(s);break}case"suback":{delete r.outgoing[o],r.messageIdProvider.deallocate(o);let u=i.granted;for(let d=0;d{delete r._resubscribeTopics[m]})}}delete r.messageIdToTopic[o],r._invokeStoreProcessingQueue(),l(c,i);break}case"unsuback":{delete r.outgoing[o],r.messageIdProvider.deallocate(o),r._invokeStoreProcessingQueue(),l(null,i);break}default:r.emit("error",new Error("unrecognized packet type"))}r.disconnecting&&Object.keys(r.outgoing).length===0&&r.emit("outgoingEmpty")};e.default=n}),kje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=sS(),n=VP(),r=(i,o)=>{let{options:a}=i,s=a.protocolVersion,l=s===5?o.reasonCode:o.returnCode;if(s!==5){let c=new t.ErrorWithReasonCode(`Protocol error: Auth packets are only supported in MQTT 5. Your version:${s}`,l);i.emit("error",c);return}i.handleAuth(o,(c,u)=>{if(c){i.emit("error",c);return}if(l===24)i.reconnecting=!1,i._sendPacket(u);else{let d=new t.ErrorWithReasonCode(`Connection refused: ${n.ReasonCodes[l]}`,l);i.emit("error",d)}})};e.default=r}),Pje=sn(e=>{var h,m,g,v,y,b,_,E,C,S,w,T,O,x,A,I,M,B,P,k,N,L,V,$,W,j,Mj,Z,te,ae,K,vbe,ie,he,pe,Qh,Xh,kj,_A,SA,ho,Pj,OC,Se;Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCache=void 0;var t=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,n=new Set,r=typeof _i=="object"&&_i?_i:{},i=(me,be,_e,Re)=>{typeof r.emitWarning=="function"?r.emitWarning(me,be,_e,Re):console.error(`[${_e}] ${be}: ${me}`)},o=globalThis.AbortController,a=globalThis.AbortSignal;if(typeof o>"u"){a=class{constructor(){ai(this,"onabort");ai(this,"_onabort",[]);ai(this,"reason");ai(this,"aborted",!1)}addEventListener(_e,Re){this._onabort.push(Re)}},o=class{constructor(){ai(this,"signal",new a);be()}abort(_e){var Re,De;if(!this.signal.aborted){this.signal.reason=_e,this.signal.aborted=!0;for(let z of this.signal._onabort)z(_e);(De=(Re=this.signal).onabort)==null||De.call(Re,_e)}}};let me=((h=r.env)==null?void 0:h.LRU_CACHE_IGNORE_AC_WARNING)!=="1",be=()=>{me&&(me=!1,i("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",be))}}var s=me=>!n.has(me),l=me=>me&&me===Math.floor(me)&&me>0&&isFinite(me),c=me=>l(me)?me<=Math.pow(2,8)?Uint8Array:me<=Math.pow(2,16)?Uint16Array:me<=Math.pow(2,32)?Uint32Array:me<=Number.MAX_SAFE_INTEGER?u:null:null,u=class extends Array{constructor(me){super(me),this.fill(0)}},d=(m=class{constructor(be,_e){ai(this,"heap");ai(this,"length");if(!Fe(m,g))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new _e(be),this.length=0}static create(be){let _e=c(be);if(!_e)return[];yn(m,g,!0);let Re=new m(be,_e);return yn(m,g,!1),Re}push(be){this.heap[this.length++]=be}pop(){return this.heap[--this.length]}},g=new WeakMap,zn(m,g,!1),m),f=(Se=class{constructor(be){zn(this,j);zn(this,v);zn(this,y);zn(this,b);zn(this,_);zn(this,E);ai(this,"ttl");ai(this,"ttlResolution");ai(this,"ttlAutopurge");ai(this,"updateAgeOnGet");ai(this,"updateAgeOnHas");ai(this,"allowStale");ai(this,"noDisposeOnSet");ai(this,"noUpdateTTL");ai(this,"maxEntrySize");ai(this,"sizeCalculation");ai(this,"noDeleteOnFetchRejection");ai(this,"noDeleteOnStaleGet");ai(this,"allowStaleOnFetchAbort");ai(this,"allowStaleOnFetchRejection");ai(this,"ignoreFetchAbort");zn(this,C);zn(this,S);zn(this,w);zn(this,T);zn(this,O);zn(this,x);zn(this,A);zn(this,I);zn(this,M);zn(this,B);zn(this,P);zn(this,k);zn(this,N);zn(this,L);zn(this,V);zn(this,$);zn(this,W);zn(this,Z,()=>{});zn(this,te,()=>{});zn(this,ae,()=>{});zn(this,K,()=>!1);zn(this,ie,be=>{});zn(this,he,(be,_e,Re)=>{});zn(this,pe,(be,_e,Re,De)=>{if(Re||De)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});let{max:_e=0,ttl:Re,ttlResolution:De=1,ttlAutopurge:z,updateAgeOnGet:D,updateAgeOnHas:q,allowStale:oe,dispose:ye,disposeAfter:ce,noDisposeOnSet:Be,noUpdateTTL:Ve,maxSize:re=0,maxEntrySize:Me=0,sizeCalculation:je,fetchMethod:ke,noDeleteOnFetchRejection:Ge,noDeleteOnStaleGet:Ue,allowStaleOnFetchRejection:qe,allowStaleOnFetchAbort:At,ignoreFetchAbort:at}=be;if(_e!==0&&!l(_e))throw new TypeError("max option must be a nonnegative integer");let pt=_e?c(_e):Array;if(!pt)throw new Error("invalid max value: "+_e);if(yn(this,v,_e),yn(this,y,re),this.maxEntrySize=Me||Fe(this,y),this.sizeCalculation=je,this.sizeCalculation){if(!Fe(this,y)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(ke!==void 0&&typeof ke!="function")throw new TypeError("fetchMethod must be a function if specified");if(yn(this,E,ke),yn(this,$,!!ke),yn(this,w,new Map),yn(this,T,new Array(_e).fill(void 0)),yn(this,O,new Array(_e).fill(void 0)),yn(this,x,new pt(_e)),yn(this,A,new pt(_e)),yn(this,I,0),yn(this,M,0),yn(this,B,d.create(_e)),yn(this,C,0),yn(this,S,0),typeof ye=="function"&&yn(this,b,ye),typeof ce=="function"?(yn(this,_,ce),yn(this,P,[])):(yn(this,_,void 0),yn(this,P,void 0)),yn(this,V,!!Fe(this,b)),yn(this,W,!!Fe(this,_)),this.noDisposeOnSet=!!Be,this.noUpdateTTL=!!Ve,this.noDeleteOnFetchRejection=!!Ge,this.allowStaleOnFetchRejection=!!qe,this.allowStaleOnFetchAbort=!!At,this.ignoreFetchAbort=!!at,this.maxEntrySize!==0){if(Fe(this,y)!==0&&!l(Fe(this,y)))throw new TypeError("maxSize must be a positive integer if specified");if(!l(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");Dn(this,j,vbe).call(this)}if(this.allowStale=!!oe,this.noDeleteOnStaleGet=!!Ue,this.updateAgeOnGet=!!D,this.updateAgeOnHas=!!q,this.ttlResolution=l(De)||De===0?De:1,this.ttlAutopurge=!!z,this.ttl=Re||0,this.ttl){if(!l(this.ttl))throw new TypeError("ttl must be a positive integer if specified");Dn(this,j,Mj).call(this)}if(Fe(this,v)===0&&this.ttl===0&&Fe(this,y)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!Fe(this,v)&&!Fe(this,y)){let Ct="LRU_CACHE_UNBOUNDED";s(Ct)&&(n.add(Ct),i("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",Ct,Se))}}static unsafeExposeInternals(be){return{starts:Fe(be,N),ttls:Fe(be,L),sizes:Fe(be,k),keyMap:Fe(be,w),keyList:Fe(be,T),valList:Fe(be,O),next:Fe(be,x),prev:Fe(be,A),get head(){return Fe(be,I)},get tail(){return Fe(be,M)},free:Fe(be,B),isBackgroundFetch:_e=>{var Re;return Dn(Re=be,j,ho).call(Re,_e)},backgroundFetch:(_e,Re,De,z)=>{var D;return Dn(D=be,j,SA).call(D,_e,Re,De,z)},moveToTail:_e=>{var Re;return Dn(Re=be,j,OC).call(Re,_e)},indexes:_e=>{var Re;return Dn(Re=be,j,Qh).call(Re,_e)},rindexes:_e=>{var Re;return Dn(Re=be,j,Xh).call(Re,_e)},isStale:_e=>{var Re;return Fe(Re=be,K).call(Re,_e)}}}get max(){return Fe(this,v)}get maxSize(){return Fe(this,y)}get calculatedSize(){return Fe(this,S)}get size(){return Fe(this,C)}get fetchMethod(){return Fe(this,E)}get dispose(){return Fe(this,b)}get disposeAfter(){return Fe(this,_)}getRemainingTTL(be){return Fe(this,w).has(be)?1/0:0}*entries(){for(let be of Dn(this,j,Qh).call(this))Fe(this,O)[be]!==void 0&&Fe(this,T)[be]!==void 0&&!Dn(this,j,ho).call(this,Fe(this,O)[be])&&(yield[Fe(this,T)[be],Fe(this,O)[be]])}*rentries(){for(let be of Dn(this,j,Xh).call(this))Fe(this,O)[be]!==void 0&&Fe(this,T)[be]!==void 0&&!Dn(this,j,ho).call(this,Fe(this,O)[be])&&(yield[Fe(this,T)[be],Fe(this,O)[be]])}*keys(){for(let be of Dn(this,j,Qh).call(this)){let _e=Fe(this,T)[be];_e!==void 0&&!Dn(this,j,ho).call(this,Fe(this,O)[be])&&(yield _e)}}*rkeys(){for(let be of Dn(this,j,Xh).call(this)){let _e=Fe(this,T)[be];_e!==void 0&&!Dn(this,j,ho).call(this,Fe(this,O)[be])&&(yield _e)}}*values(){for(let be of Dn(this,j,Qh).call(this))Fe(this,O)[be]!==void 0&&!Dn(this,j,ho).call(this,Fe(this,O)[be])&&(yield Fe(this,O)[be])}*rvalues(){for(let be of Dn(this,j,Xh).call(this))Fe(this,O)[be]!==void 0&&!Dn(this,j,ho).call(this,Fe(this,O)[be])&&(yield Fe(this,O)[be])}[Symbol.iterator](){return this.entries()}find(be,_e={}){for(let Re of Dn(this,j,Qh).call(this)){let De=Fe(this,O)[Re],z=Dn(this,j,ho).call(this,De)?De.__staleWhileFetching:De;if(z!==void 0&&be(z,Fe(this,T)[Re],this))return this.get(Fe(this,T)[Re],_e)}}forEach(be,_e=this){for(let Re of Dn(this,j,Qh).call(this)){let De=Fe(this,O)[Re],z=Dn(this,j,ho).call(this,De)?De.__staleWhileFetching:De;z!==void 0&&be.call(_e,z,Fe(this,T)[Re],this)}}rforEach(be,_e=this){for(let Re of Dn(this,j,Xh).call(this)){let De=Fe(this,O)[Re],z=Dn(this,j,ho).call(this,De)?De.__staleWhileFetching:De;z!==void 0&&be.call(_e,z,Fe(this,T)[Re],this)}}purgeStale(){let be=!1;for(let _e of Dn(this,j,Xh).call(this,{allowStale:!0}))Fe(this,K).call(this,_e)&&(this.delete(Fe(this,T)[_e]),be=!0);return be}dump(){let be=[];for(let _e of Dn(this,j,Qh).call(this,{allowStale:!0})){let Re=Fe(this,T)[_e],De=Fe(this,O)[_e],z=Dn(this,j,ho).call(this,De)?De.__staleWhileFetching:De;if(z===void 0||Re===void 0)continue;let D={value:z};if(Fe(this,L)&&Fe(this,N)){D.ttl=Fe(this,L)[_e];let q=t.now()-Fe(this,N)[_e];D.start=Math.floor(Date.now()-q)}Fe(this,k)&&(D.size=Fe(this,k)[_e]),be.unshift([Re,D])}return be}load(be){this.clear();for(let[_e,Re]of be){if(Re.start){let De=Date.now()-Re.start;Re.start=t.now()-De}this.set(_e,Re.value,Re)}}set(be,_e,Re={}){var Ve,re,Me,je,ke;if(_e===void 0)return this.delete(be),this;let{ttl:De=this.ttl,start:z,noDisposeOnSet:D=this.noDisposeOnSet,sizeCalculation:q=this.sizeCalculation,status:oe}=Re,{noUpdateTTL:ye=this.noUpdateTTL}=Re,ce=Fe(this,pe).call(this,be,_e,Re.size||0,q);if(this.maxEntrySize&&ce>this.maxEntrySize)return oe&&(oe.set="miss",oe.maxEntrySizeExceeded=!0),this.delete(be),this;let Be=Fe(this,C)===0?void 0:Fe(this,w).get(be);if(Be===void 0)Be=Fe(this,C)===0?Fe(this,M):Fe(this,B).length!==0?Fe(this,B).pop():Fe(this,C)===Fe(this,v)?Dn(this,j,_A).call(this,!1):Fe(this,C),Fe(this,T)[Be]=be,Fe(this,O)[Be]=_e,Fe(this,w).set(be,Be),Fe(this,x)[Fe(this,M)]=Be,Fe(this,A)[Be]=Fe(this,M),yn(this,M,Be),Kg(this,C)._++,Fe(this,he).call(this,Be,ce,oe),oe&&(oe.set="add"),ye=!1;else{Dn(this,j,OC).call(this,Be);let Ge=Fe(this,O)[Be];if(_e!==Ge){if(Fe(this,$)&&Dn(this,j,ho).call(this,Ge)){Ge.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:Ue}=Ge;Ue!==void 0&&!D&&(Fe(this,V)&&((Ve=Fe(this,b))==null||Ve.call(this,Ue,be,"set")),Fe(this,W)&&((re=Fe(this,P))==null||re.push([Ue,be,"set"])))}else D||(Fe(this,V)&&((Me=Fe(this,b))==null||Me.call(this,Ge,be,"set")),Fe(this,W)&&((je=Fe(this,P))==null||je.push([Ge,be,"set"])));if(Fe(this,ie).call(this,Be),Fe(this,he).call(this,Be,ce,oe),Fe(this,O)[Be]=_e,oe){oe.set="replace";let Ue=Ge&&Dn(this,j,ho).call(this,Ge)?Ge.__staleWhileFetching:Ge;Ue!==void 0&&(oe.oldValue=Ue)}}else oe&&(oe.set="update")}if(De!==0&&!Fe(this,L)&&Dn(this,j,Mj).call(this),Fe(this,L)&&(ye||Fe(this,ae).call(this,Be,De,z),oe&&Fe(this,te).call(this,oe,Be)),!D&&Fe(this,W)&&Fe(this,P)){let Ge=Fe(this,P),Ue;for(;Ue=Ge==null?void 0:Ge.shift();)(ke=Fe(this,_))==null||ke.call(this,...Ue)}return this}pop(){var be;try{for(;Fe(this,C);){let _e=Fe(this,O)[Fe(this,I)];if(Dn(this,j,_A).call(this,!0),Dn(this,j,ho).call(this,_e)){if(_e.__staleWhileFetching)return _e.__staleWhileFetching}else if(_e!==void 0)return _e}}finally{if(Fe(this,W)&&Fe(this,P)){let _e=Fe(this,P),Re;for(;Re=_e==null?void 0:_e.shift();)(be=Fe(this,_))==null||be.call(this,...Re)}}}has(be,_e={}){let{updateAgeOnHas:Re=this.updateAgeOnHas,status:De}=_e,z=Fe(this,w).get(be);if(z!==void 0){let D=Fe(this,O)[z];if(Dn(this,j,ho).call(this,D)&&D.__staleWhileFetching===void 0)return!1;if(Fe(this,K).call(this,z))De&&(De.has="stale",Fe(this,te).call(this,De,z));else return Re&&Fe(this,Z).call(this,z),De&&(De.has="hit",Fe(this,te).call(this,De,z)),!0}else De&&(De.has="miss");return!1}peek(be,_e={}){let{allowStale:Re=this.allowStale}=_e,De=Fe(this,w).get(be);if(De!==void 0&&(Re||!Fe(this,K).call(this,De))){let z=Fe(this,O)[De];return Dn(this,j,ho).call(this,z)?z.__staleWhileFetching:z}}async fetch(be,_e={}){let{allowStale:Re=this.allowStale,updateAgeOnGet:De=this.updateAgeOnGet,noDeleteOnStaleGet:z=this.noDeleteOnStaleGet,ttl:D=this.ttl,noDisposeOnSet:q=this.noDisposeOnSet,size:oe=0,sizeCalculation:ye=this.sizeCalculation,noUpdateTTL:ce=this.noUpdateTTL,noDeleteOnFetchRejection:Be=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:Ve=this.allowStaleOnFetchRejection,ignoreFetchAbort:re=this.ignoreFetchAbort,allowStaleOnFetchAbort:Me=this.allowStaleOnFetchAbort,context:je,forceRefresh:ke=!1,status:Ge,signal:Ue}=_e;if(!Fe(this,$))return Ge&&(Ge.fetch="get"),this.get(be,{allowStale:Re,updateAgeOnGet:De,noDeleteOnStaleGet:z,status:Ge});let qe={allowStale:Re,updateAgeOnGet:De,noDeleteOnStaleGet:z,ttl:D,noDisposeOnSet:q,size:oe,sizeCalculation:ye,noUpdateTTL:ce,noDeleteOnFetchRejection:Be,allowStaleOnFetchRejection:Ve,allowStaleOnFetchAbort:Me,ignoreFetchAbort:re,status:Ge,signal:Ue},At=Fe(this,w).get(be);if(At===void 0){Ge&&(Ge.fetch="miss");let at=Dn(this,j,SA).call(this,be,At,qe,je);return at.__returned=at}else{let at=Fe(this,O)[At];if(Dn(this,j,ho).call(this,at)){let Vt=Re&&at.__staleWhileFetching!==void 0;return Ge&&(Ge.fetch="inflight",Vt&&(Ge.returnedStale=!0)),Vt?at.__staleWhileFetching:at.__returned=at}let pt=Fe(this,K).call(this,At);if(!ke&&!pt)return Ge&&(Ge.fetch="hit"),Dn(this,j,OC).call(this,At),De&&Fe(this,Z).call(this,At),Ge&&Fe(this,te).call(this,Ge,At),at;let Ct=Dn(this,j,SA).call(this,be,At,qe,je),bt=Ct.__staleWhileFetching!==void 0&ℜreturn Ge&&(Ge.fetch=pt?"stale":"refresh",bt&&pt&&(Ge.returnedStale=!0)),bt?Ct.__staleWhileFetching:Ct.__returned=Ct}}get(be,_e={}){let{allowStale:Re=this.allowStale,updateAgeOnGet:De=this.updateAgeOnGet,noDeleteOnStaleGet:z=this.noDeleteOnStaleGet,status:D}=_e,q=Fe(this,w).get(be);if(q!==void 0){let oe=Fe(this,O)[q],ye=Dn(this,j,ho).call(this,oe);return D&&Fe(this,te).call(this,D,q),Fe(this,K).call(this,q)?(D&&(D.get="stale"),ye?(D&&Re&&oe.__staleWhileFetching!==void 0&&(D.returnedStale=!0),Re?oe.__staleWhileFetching:void 0):(z||this.delete(be),D&&Re&&(D.returnedStale=!0),Re?oe:void 0)):(D&&(D.get="hit"),ye?oe.__staleWhileFetching:(Dn(this,j,OC).call(this,q),De&&Fe(this,Z).call(this,q),oe))}else D&&(D.get="miss")}delete(be){var Re,De,z,D;let _e=!1;if(Fe(this,C)!==0){let q=Fe(this,w).get(be);if(q!==void 0)if(_e=!0,Fe(this,C)===1)this.clear();else{Fe(this,ie).call(this,q);let oe=Fe(this,O)[q];Dn(this,j,ho).call(this,oe)?oe.__abortController.abort(new Error("deleted")):(Fe(this,V)||Fe(this,W))&&(Fe(this,V)&&((Re=Fe(this,b))==null||Re.call(this,oe,be,"delete")),Fe(this,W)&&((De=Fe(this,P))==null||De.push([oe,be,"delete"]))),Fe(this,w).delete(be),Fe(this,T)[q]=void 0,Fe(this,O)[q]=void 0,q===Fe(this,M)?yn(this,M,Fe(this,A)[q]):q===Fe(this,I)?yn(this,I,Fe(this,x)[q]):(Fe(this,x)[Fe(this,A)[q]]=Fe(this,x)[q],Fe(this,A)[Fe(this,x)[q]]=Fe(this,A)[q]),Kg(this,C)._--,Fe(this,B).push(q)}}if(Fe(this,W)&&((z=Fe(this,P))!=null&&z.length)){let q=Fe(this,P),oe;for(;oe=q==null?void 0:q.shift();)(D=Fe(this,_))==null||D.call(this,...oe)}return _e}clear(){var be,_e,Re;for(let De of Dn(this,j,Xh).call(this,{allowStale:!0})){let z=Fe(this,O)[De];if(Dn(this,j,ho).call(this,z))z.__abortController.abort(new Error("deleted"));else{let D=Fe(this,T)[De];Fe(this,V)&&((be=Fe(this,b))==null||be.call(this,z,D,"delete")),Fe(this,W)&&((_e=Fe(this,P))==null||_e.push([z,D,"delete"]))}}if(Fe(this,w).clear(),Fe(this,O).fill(void 0),Fe(this,T).fill(void 0),Fe(this,L)&&Fe(this,N)&&(Fe(this,L).fill(0),Fe(this,N).fill(0)),Fe(this,k)&&Fe(this,k).fill(0),yn(this,I,0),yn(this,M,0),Fe(this,B).length=0,yn(this,S,0),yn(this,C,0),Fe(this,W)&&Fe(this,P)){let De=Fe(this,P),z;for(;z=De==null?void 0:De.shift();)(Re=Fe(this,_))==null||Re.call(this,...z)}}},v=new WeakMap,y=new WeakMap,b=new WeakMap,_=new WeakMap,E=new WeakMap,C=new WeakMap,S=new WeakMap,w=new WeakMap,T=new WeakMap,O=new WeakMap,x=new WeakMap,A=new WeakMap,I=new WeakMap,M=new WeakMap,B=new WeakMap,P=new WeakMap,k=new WeakMap,N=new WeakMap,L=new WeakMap,V=new WeakMap,$=new WeakMap,W=new WeakMap,j=new WeakSet,Mj=function(){let be=new u(Fe(this,v)),_e=new u(Fe(this,v));yn(this,L,be),yn(this,N,_e),yn(this,ae,(z,D,q=t.now())=>{if(_e[z]=D!==0?q:0,be[z]=D,D!==0&&this.ttlAutopurge){let oe=setTimeout(()=>{Fe(this,K).call(this,z)&&this.delete(Fe(this,T)[z])},D+1);oe.unref&&oe.unref()}}),yn(this,Z,z=>{_e[z]=be[z]!==0?t.now():0}),yn(this,te,(z,D)=>{if(be[D]){let q=be[D],oe=_e[D];z.ttl=q,z.start=oe,z.now=Re||De();let ye=z.now-oe;z.remainingTTL=q-ye}});let Re=0,De=()=>{let z=t.now();if(this.ttlResolution>0){Re=z;let D=setTimeout(()=>Re=0,this.ttlResolution);D.unref&&D.unref()}return z};this.getRemainingTTL=z=>{let D=Fe(this,w).get(z);if(D===void 0)return 0;let q=be[D],oe=_e[D];if(q===0||oe===0)return 1/0;let ye=(Re||De())-oe;return q-ye},yn(this,K,z=>be[z]!==0&&_e[z]!==0&&(Re||De())-_e[z]>be[z])},Z=new WeakMap,te=new WeakMap,ae=new WeakMap,K=new WeakMap,vbe=function(){let be=new u(Fe(this,v));yn(this,S,0),yn(this,k,be),yn(this,ie,_e=>{yn(this,S,Fe(this,S)-be[_e]),be[_e]=0}),yn(this,pe,(_e,Re,De,z)=>{if(Dn(this,j,ho).call(this,Re))return 0;if(!l(De))if(z){if(typeof z!="function")throw new TypeError("sizeCalculation must be a function");if(De=z(Re,_e),!l(De))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return De}),yn(this,he,(_e,Re,De)=>{if(be[_e]=Re,Fe(this,y)){let z=Fe(this,y)-be[_e];for(;Fe(this,S)>z;)Dn(this,j,_A).call(this,!0)}yn(this,S,Fe(this,S)+be[_e]),De&&(De.entrySize=Re,De.totalCalculatedSize=Fe(this,S))})},ie=new WeakMap,he=new WeakMap,pe=new WeakMap,Qh=function*({allowStale:be=this.allowStale}={}){if(Fe(this,C))for(let _e=Fe(this,M);!(!Dn(this,j,kj).call(this,_e)||((be||!Fe(this,K).call(this,_e))&&(yield _e),_e===Fe(this,I)));)_e=Fe(this,A)[_e]},Xh=function*({allowStale:be=this.allowStale}={}){if(Fe(this,C))for(let _e=Fe(this,I);!(!Dn(this,j,kj).call(this,_e)||((be||!Fe(this,K).call(this,_e))&&(yield _e),_e===Fe(this,M)));)_e=Fe(this,x)[_e]},kj=function(be){return be!==void 0&&Fe(this,w).get(Fe(this,T)[be])===be},_A=function(be){var z,D;let _e=Fe(this,I),Re=Fe(this,T)[_e],De=Fe(this,O)[_e];return Fe(this,$)&&Dn(this,j,ho).call(this,De)?De.__abortController.abort(new Error("evicted")):(Fe(this,V)||Fe(this,W))&&(Fe(this,V)&&((z=Fe(this,b))==null||z.call(this,De,Re,"evict")),Fe(this,W)&&((D=Fe(this,P))==null||D.push([De,Re,"evict"]))),Fe(this,ie).call(this,_e),be&&(Fe(this,T)[_e]=void 0,Fe(this,O)[_e]=void 0,Fe(this,B).push(_e)),Fe(this,C)===1?(yn(this,I,yn(this,M,0)),Fe(this,B).length=0):yn(this,I,Fe(this,x)[_e]),Fe(this,w).delete(Re),Kg(this,C)._--,_e},SA=function(be,_e,Re,De){let z=_e===void 0?void 0:Fe(this,O)[_e];if(Dn(this,j,ho).call(this,z))return z;let D=new o,{signal:q}=Re;q==null||q.addEventListener("abort",()=>D.abort(q.reason),{signal:D.signal});let oe={signal:D.signal,options:Re,context:De},ye=(je,ke=!1)=>{let{aborted:Ge}=D.signal,Ue=Re.ignoreFetchAbort&&je!==void 0;if(Re.status&&(Ge&&!ke?(Re.status.fetchAborted=!0,Re.status.fetchError=D.signal.reason,Ue&&(Re.status.fetchAbortIgnored=!0)):Re.status.fetchResolved=!0),Ge&&!Ue&&!ke)return Be(D.signal.reason);let qe=re;return Fe(this,O)[_e]===re&&(je===void 0?qe.__staleWhileFetching?Fe(this,O)[_e]=qe.__staleWhileFetching:this.delete(be):(Re.status&&(Re.status.fetchUpdated=!0),this.set(be,je,oe.options))),je},ce=je=>(Re.status&&(Re.status.fetchRejected=!0,Re.status.fetchError=je),Be(je)),Be=je=>{let{aborted:ke}=D.signal,Ge=ke&&Re.allowStaleOnFetchAbort,Ue=Ge||Re.allowStaleOnFetchRejection,qe=Ue||Re.noDeleteOnFetchRejection,At=re;if(Fe(this,O)[_e]===re&&(!qe||At.__staleWhileFetching===void 0?this.delete(be):Ge||(Fe(this,O)[_e]=At.__staleWhileFetching)),Ue)return Re.status&&At.__staleWhileFetching!==void 0&&(Re.status.returnedStale=!0),At.__staleWhileFetching;if(At.__returned===At)throw je},Ve=(je,ke)=>{var Ue;let Ge=(Ue=Fe(this,E))==null?void 0:Ue.call(this,be,z,oe);Ge&&Ge instanceof Promise&&Ge.then(qe=>je(qe===void 0?void 0:qe),ke),D.signal.addEventListener("abort",()=>{(!Re.ignoreFetchAbort||Re.allowStaleOnFetchAbort)&&(je(void 0),Re.allowStaleOnFetchAbort&&(je=qe=>ye(qe,!0)))})};Re.status&&(Re.status.fetchDispatched=!0);let re=new Promise(Ve).then(ye,ce),Me=Object.assign(re,{__abortController:D,__staleWhileFetching:z,__returned:void 0});return _e===void 0?(this.set(be,Me,{...oe.options,status:void 0}),_e=Fe(this,w).get(be)):Fe(this,O)[_e]=Me,Me},ho=function(be){if(!Fe(this,$))return!1;let _e=be;return!!_e&&_e instanceof Promise&&_e.hasOwnProperty("__staleWhileFetching")&&_e.__abortController instanceof o},Pj=function(be,_e){Fe(this,A)[_e]=be,Fe(this,x)[be]=_e},OC=function(be){be!==Fe(this,M)&&(be===Fe(this,I)?yn(this,I,Fe(this,x)[be]):Dn(this,j,Pj).call(this,Fe(this,A)[be],Fe(this,x)[be]),Dn(this,j,Pj).call(this,Fe(this,M),be),yn(this,M,be))},Se);e.LRUCache=f}),_h=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.ContainerIterator=e.Container=e.Base=void 0;var t=class{constructor(i=0){this.iteratorType=i}equals(i){return this.o===i.o}};e.ContainerIterator=t;var n=class{constructor(){this.i=0}get length(){return this.i}size(){return this.i}empty(){return this.i===0}};e.Base=n;var r=class extends n{};e.Container=r}),Dje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=_h(),n=class extends t.Base{constructor(i=[]){super(),this.S=[];let o=this;i.forEach(function(a){o.push(a)})}clear(){this.i=0,this.S=[]}push(i){return this.S.push(i),this.i+=1,this.i}pop(){if(this.i!==0)return this.i-=1,this.S.pop()}top(){return this.S[this.i-1]}},r=n;e.default=r}),Lje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=_h(),n=class extends t.Base{constructor(i=[]){super(),this.j=0,this.q=[];let o=this;i.forEach(function(a){o.push(a)})}clear(){this.q=[],this.i=this.j=0}push(i){let o=this.q.length;if(this.j/o>.5&&this.j+this.i>=o&&o>4096){let a=this.i;for(let s=0;s{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=_h(),n=class extends t.Base{constructor(i=[],o=function(s,l){return s>l?-1:s>1;for(let l=this.i-1>>1;l>=0;--l)this.k(l,s)}m(i){let o=this.C[i];for(;i>0;){let a=i-1>>1,s=this.C[a];if(this.v(s,o)<=0)break;this.C[i]=s,i=a}this.C[i]=o}k(i,o){let a=this.C[i];for(;i0&&(s=l,c=this.C[l]),this.v(c,a)>=0)break;this.C[i]=c,i=s}this.C[i]=a}clear(){this.i=0,this.C.length=0}push(i){this.C.push(i),this.m(this.i),this.i+=1}pop(){if(this.i===0)return;let i=this.C[0],o=this.C.pop();return this.i-=1,this.i&&(this.C[0]=o,this.k(0,this.i>>1)),i}top(){return this.C[0]}find(i){return this.C.indexOf(i)>=0}remove(i){let o=this.C.indexOf(i);return o<0?!1:(o===0?this.pop():o===this.i-1?(this.C.pop(),this.i-=1):(this.C.splice(o,1,this.C.pop()),this.i-=1,this.m(o),this.k(o,this.i>>1)),!0)}updateItem(i){let o=this.C.indexOf(i);return o<0?!1:(this.m(o),this.k(o,this.i>>1),!0)}toArray(){return[...this.C]}},r=n;e.default=r}),wW=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=_h(),n=class extends t.Container{},r=n;e.default=r}),Sh=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.throwIteratorAccessError=t;function t(){throw new RangeError("Iterator access denied!")}}),bbe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.RandomIterator=void 0;var t=_h(),n=Sh(),r=class extends t.ContainerIterator{constructor(i,o){super(o),this.o=i,this.iteratorType===0?(this.pre=function(){return this.o===0&&(0,n.throwIteratorAccessError)(),this.o-=1,this},this.next=function(){return this.o===this.container.size()&&(0,n.throwIteratorAccessError)(),this.o+=1,this}):(this.pre=function(){return this.o===this.container.size()-1&&(0,n.throwIteratorAccessError)(),this.o+=1,this},this.next=function(){return this.o===-1&&(0,n.throwIteratorAccessError)(),this.o-=1,this})}get pointer(){return this.container.getElementByPos(this.o)}set pointer(i){this.container.setElementByPos(this.o,i)}};e.RandomIterator=r}),Fje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=r(wW()),n=bbe();function r(s){return s&&s.t?s:{default:s}}var i=class ybe extends n.RandomIterator{constructor(l,c,u){super(l,u),this.container=c}copy(){return new ybe(this.o,this.container,this.iteratorType)}},o=class extends t.default{constructor(s=[],l=!0){if(super(),Array.isArray(s))this.J=l?[...s]:s,this.i=s.length;else{this.J=[];let c=this;s.forEach(function(u){c.pushBack(u)})}}clear(){this.i=0,this.J.length=0}begin(){return new i(0,this)}end(){return new i(this.i,this)}rBegin(){return new i(this.i-1,this,1)}rEnd(){return new i(-1,this,1)}front(){return this.J[0]}back(){return this.J[this.i-1]}getElementByPos(s){if(s<0||s>this.i-1)throw new RangeError;return this.J[s]}eraseElementByPos(s){if(s<0||s>this.i-1)throw new RangeError;return this.J.splice(s,1),this.i-=1,this.i}eraseElementByValue(s){let l=0;for(let c=0;cthis.i-1)throw new RangeError;this.J[s]=l}insert(s,l,c=1){if(s<0||s>this.i)throw new RangeError;return this.J.splice(s,0,...new Array(c).fill(l)),this.i+=c,this.i}find(s){for(let l=0;l{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=i(wW()),n=_h(),r=Sh();function i(l){return l&&l.t?l:{default:l}}var o=class _be extends n.ContainerIterator{constructor(c,u,d,f){super(f),this.o=c,this.h=u,this.container=d,this.iteratorType===0?(this.pre=function(){return this.o.L===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.L,this})}get pointer(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o.l}set pointer(c){this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o.l=c}copy(){return new _be(this.o,this.h,this.container,this.iteratorType)}},a=class extends t.default{constructor(l=[]){super(),this.h={},this.p=this._=this.h.L=this.h.B=this.h;let c=this;l.forEach(function(u){c.pushBack(u)})}V(l){let{L:c,B:u}=l;c.B=u,u.L=c,l===this.p&&(this.p=u),l===this._&&(this._=c),this.i-=1}G(l,c){let u=c.B,d={l,L:c,B:u};c.B=d,u.L=d,c===this.h&&(this.p=d),u===this.h&&(this._=d),this.i+=1}clear(){this.i=0,this.p=this._=this.h.L=this.h.B=this.h}begin(){return new o(this.p,this.h,this)}end(){return new o(this.h,this.h,this)}rBegin(){return new o(this._,this.h,this,1)}rEnd(){return new o(this.h,this.h,this,1)}front(){return this.p.l}back(){return this._.l}getElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let c=this.p;for(;l--;)c=c.B;return c.l}eraseElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let c=this.p;for(;l--;)c=c.B;return this.V(c),this.i}eraseElementByValue(l){let c=this.p;for(;c!==this.h;)c.l===l&&this.V(c),c=c.B;return this.i}eraseElementByIterator(l){let c=l.o;return c===this.h&&(0,r.throwIteratorAccessError)(),l=l.next(),this.V(c),l}pushBack(l){return this.G(l,this._),this.i}popBack(){if(this.i===0)return;let l=this._.l;return this.V(this._),l}pushFront(l){return this.G(l,this.h),this.i}popFront(){if(this.i===0)return;let l=this.p.l;return this.V(this.p),l}setElementByPos(l,c){if(l<0||l>this.i-1)throw new RangeError;let u=this.p;for(;l--;)u=u.B;u.l=c}insert(l,c,u=1){if(l<0||l>this.i)throw new RangeError;if(u<=0)return this.i;if(l===0)for(;u--;)this.pushFront(c);else if(l===this.i)for(;u--;)this.pushBack(c);else{let d=this.p;for(let h=1;h{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=r(wW()),n=bbe();function r(s){return s&&s.t?s:{default:s}}var i=class Sbe extends n.RandomIterator{constructor(l,c,u){super(l,u),this.container=c}copy(){return new Sbe(this.o,this.container,this.iteratorType)}},o=class extends t.default{constructor(s=[],l=4096){super(),this.j=0,this.D=0,this.R=0,this.N=0,this.P=0,this.A=[];let c=(()=>{if(typeof s.length=="number")return s.length;if(typeof s.size=="number")return s.size;if(typeof s.size=="function")return s.size();throw new TypeError("Cannot get the length or size of the container")})();this.F=l,this.P=Math.max(Math.ceil(c/this.F),1);for(let f=0;f>1)-(u>>1),this.D=this.N=this.F-c%this.F>>1;let d=this;s.forEach(function(f){d.pushBack(f)})}T(){let s=[],l=Math.max(this.P>>1,1);for(let c=0;c>1}begin(){return new i(0,this)}end(){return new i(this.i,this)}rBegin(){return new i(this.i-1,this,1)}rEnd(){return new i(-1,this,1)}front(){if(this.i!==0)return this.A[this.j][this.D]}back(){if(this.i!==0)return this.A[this.R][this.N]}pushBack(s){return this.i&&(this.N0?this.N-=1:this.R>0?(this.R-=1,this.N=this.F-1):(this.R=this.P-1,this.N=this.F-1)),this.i-=1,s}pushFront(s){return this.i&&(this.D>0?this.D-=1:this.j>0?(this.j-=1,this.D=this.F-1):(this.j=this.P-1,this.D=this.F-1),this.j===this.R&&this.D===this.N&&this.T()),this.i+=1,this.A[this.j][this.D]=s,this.i}popFront(){if(this.i===0)return;let s=this.A[this.j][this.D];return this.i!==1&&(this.Dthis.i-1)throw new RangeError;let{curNodeBucketIndex:l,curNodePointerIndex:c}=this.O(s);return this.A[l][c]}setElementByPos(s,l){if(s<0||s>this.i-1)throw new RangeError;let{curNodeBucketIndex:c,curNodePointerIndex:u}=this.O(s);this.A[c][u]=l}insert(s,l,c=1){if(s<0||s>this.i)throw new RangeError;if(s===0)for(;c--;)this.pushFront(l);else if(s===this.i)for(;c--;)this.pushBack(l);else{let u=[];for(let d=s;dthis.i-1)throw new RangeError;if(s===0)this.popFront();else if(s===this.i-1)this.popBack();else{let l=[];for(let u=s+1;us;)this.popBack();return this.i}sort(s){let l=[];for(let c=0;c{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.TreeNodeEnableIndex=e.TreeNode=void 0;var t=class{constructor(r,i){this.ee=1,this.u=void 0,this.l=void 0,this.U=void 0,this.W=void 0,this.tt=void 0,this.u=r,this.l=i}L(){let r=this;if(r.ee===1&&r.tt.tt===r)r=r.W;else if(r.U)for(r=r.U;r.W;)r=r.W;else{let i=r.tt;for(;i.U===r;)r=i,i=r.tt;r=i}return r}B(){let r=this;if(r.W){for(r=r.W;r.U;)r=r.U;return r}else{let i=r.tt;for(;i.W===r;)r=i,i=r.tt;return r.W!==i?i:r}}te(){let r=this.tt,i=this.W,o=i.U;return r.tt===this?r.tt=i:r.U===this?r.U=i:r.W=i,i.tt=r,i.U=this,this.tt=i,this.W=o,o&&(o.tt=this),i}se(){let r=this.tt,i=this.U,o=i.W;return r.tt===this?r.tt=i:r.U===this?r.U=i:r.W=i,i.tt=r,i.W=this,this.tt=i,this.U=o,o&&(o.tt=this),i}};e.TreeNode=t;var n=class extends t{constructor(){super(...arguments),this.rt=1}te(){let r=super.te();return this.ie(),r.ie(),r}se(){let r=super.se();return this.ie(),r.ie(),r}ie(){this.rt=1,this.U&&(this.rt+=this.U.rt),this.W&&(this.rt+=this.W.rt)}};e.TreeNodeEnableIndex=n}),Ebe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Hje(),n=_h(),r=Sh(),i=class extends n.Container{constructor(a=function(l,c){return lc?1:0},s=!1){super(),this.Y=void 0,this.v=a,s?(this.re=t.TreeNodeEnableIndex,this.M=function(l,c,u){let d=this.ne(l,c,u);if(d){let f=d.tt;for(;f!==this.h;)f.rt+=1,f=f.tt;let h=this.he(d);if(h){let{parentNode:m,grandParent:g,curNode:v}=h;m.ie(),g.ie(),v.ie()}}return this.i},this.V=function(l){let c=this.fe(l);for(;c!==this.h;)c.rt-=1,c=c.tt}):(this.re=t.TreeNode,this.M=function(l,c,u){let d=this.ne(l,c,u);return d&&this.he(d),this.i},this.V=this.fe),this.h=new this.re}X(a,s){let l=this.h;for(;a;){let c=this.v(a.u,s);if(c<0)a=a.W;else if(c>0)l=a,a=a.U;else return a}return l}Z(a,s){let l=this.h;for(;a;)this.v(a.u,s)<=0?a=a.W:(l=a,a=a.U);return l}$(a,s){let l=this.h;for(;a;){let c=this.v(a.u,s);if(c<0)l=a,a=a.W;else if(c>0)a=a.U;else return a}return l}rr(a,s){let l=this.h;for(;a;)this.v(a.u,s)<0?(l=a,a=a.W):a=a.U;return l}ue(a){for(;;){let s=a.tt;if(s===this.h)return;if(a.ee===1){a.ee=0;return}if(a===s.U){let l=s.W;if(l.ee===1)l.ee=0,s.ee=1,s===this.Y?this.Y=s.te():s.te();else if(l.W&&l.W.ee===1){l.ee=s.ee,s.ee=0,l.W.ee=0,s===this.Y?this.Y=s.te():s.te();return}else l.U&&l.U.ee===1?(l.ee=1,l.U.ee=0,l.se()):(l.ee=1,a=s)}else{let l=s.U;if(l.ee===1)l.ee=0,s.ee=1,s===this.Y?this.Y=s.se():s.se();else if(l.U&&l.U.ee===1){l.ee=s.ee,s.ee=0,l.U.ee=0,s===this.Y?this.Y=s.se():s.se();return}else l.W&&l.W.ee===1?(l.ee=1,l.W.ee=0,l.te()):(l.ee=1,a=s)}}}fe(a){if(this.i===1)return this.clear(),this.h;let s=a;for(;s.U||s.W;){if(s.W)for(s=s.W;s.U;)s=s.U;else s=s.U;[a.u,s.u]=[s.u,a.u],[a.l,s.l]=[s.l,a.l],a=s}this.h.U===s?this.h.U=s.tt:this.h.W===s&&(this.h.W=s.tt),this.ue(s);let l=s.tt;return s===l.U?l.U=void 0:l.W=void 0,this.i-=1,this.Y.ee=0,l}oe(a,s){return a===void 0?!1:this.oe(a.U,s)||s(a)?!0:this.oe(a.W,s)}he(a){for(;;){let s=a.tt;if(s.ee===0)return;let l=s.tt;if(s===l.U){let c=l.W;if(c&&c.ee===1){if(c.ee=s.ee=0,l===this.Y)return;l.ee=1,a=l;continue}else if(a===s.W){if(a.ee=0,a.U&&(a.U.tt=s),a.W&&(a.W.tt=l),s.W=a.U,l.U=a.W,a.U=s,a.W=l,l===this.Y)this.Y=a,this.h.tt=a;else{let u=l.tt;u.U===l?u.U=a:u.W=a}return a.tt=l.tt,s.tt=a,l.tt=a,l.ee=1,{parentNode:s,grandParent:l,curNode:a}}else s.ee=0,l===this.Y?this.Y=l.se():l.se(),l.ee=1}else{let c=l.U;if(c&&c.ee===1){if(c.ee=s.ee=0,l===this.Y)return;l.ee=1,a=l;continue}else if(a===s.U){if(a.ee=0,a.U&&(a.U.tt=l),a.W&&(a.W.tt=s),l.W=a.U,s.U=a.W,a.U=l,a.W=s,l===this.Y)this.Y=a,this.h.tt=a;else{let u=l.tt;u.U===l?u.U=a:u.W=a}return a.tt=l.tt,s.tt=a,l.tt=a,l.ee=1,{parentNode:s,grandParent:l,curNode:a}}else s.ee=0,l===this.Y?this.Y=l.te():l.te(),l.ee=1}return}}ne(a,s,l){if(this.Y===void 0){this.i+=1,this.Y=new this.re(a,s),this.Y.ee=0,this.Y.tt=this.h,this.h.tt=this.Y,this.h.U=this.Y,this.h.W=this.Y;return}let c,u=this.h.U,d=this.v(u.u,a);if(d===0){u.l=s;return}else if(d>0)u.U=new this.re(a,s),u.U.tt=u,c=u.U,this.h.U=c;else{let f=this.h.W,h=this.v(f.u,a);if(h===0){f.l=s;return}else if(h<0)f.W=new this.re(a,s),f.W.tt=f,c=f.W,this.h.W=c;else{if(l!==void 0){let m=l.o;if(m!==this.h){let g=this.v(m.u,a);if(g===0){m.l=s;return}else if(g>0){let v=m.L(),y=this.v(v.u,a);if(y===0){v.l=s;return}else y<0&&(c=new this.re(a,s),v.W===void 0?(v.W=c,c.tt=v):(m.U=c,c.tt=m))}}}if(c===void 0)for(c=this.Y;;){let m=this.v(c.u,a);if(m>0){if(c.U===void 0){c.U=new this.re(a,s),c.U.tt=c,c=c.U;break}c=c.U}else if(m<0){if(c.W===void 0){c.W=new this.re(a,s),c.W.tt=c,c=c.W;break}c=c.W}else{c.l=s;return}}}}return this.i+=1,c}I(a,s){for(;a;){let l=this.v(a.u,s);if(l<0)a=a.W;else if(l>0)a=a.U;else return a}return a||this.h}clear(){this.i=0,this.Y=void 0,this.h.tt=void 0,this.h.U=this.h.W=void 0}updateKeyByIterator(a,s){let l=a.o;if(l===this.h&&(0,r.throwIteratorAccessError)(),this.i===1)return l.u=s,!0;if(l===this.h.U)return this.v(l.B().u,s)>0?(l.u=s,!0):!1;if(l===this.h.W)return this.v(l.L().u,s)<0?(l.u=s,!0):!1;let c=l.L().u;if(this.v(c,s)>=0)return!1;let u=l.B().u;return this.v(u,s)<=0?!1:(l.u=s,!0)}eraseElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;let s=0,l=this;return this.oe(this.Y,function(c){return a===s?(l.V(c),!0):(s+=1,!1)}),this.i}eraseElementByKey(a){if(this.i===0)return!1;let s=this.I(this.Y,a);return s===this.h?!1:(this.V(s),!0)}eraseElementByIterator(a){let s=a.o;s===this.h&&(0,r.throwIteratorAccessError)();let l=s.W===void 0;return a.iteratorType===0?l&&a.next():(!l||s.U===void 0)&&a.next(),this.V(s),a}forEach(a){let s=0;for(let l of this)a(l,s++,this)}getElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;let s,l=0;for(let c of this){if(l===a){s=c;break}l+=1}return s}getHeight(){if(this.i===0)return 0;let a=function(s){return s?Math.max(a(s.U),a(s.W))+1:0};return a(this.Y)}},o=i;e.default=o}),Cbe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=_h(),n=Sh(),r=class extends t.ContainerIterator{constructor(o,a,s){super(s),this.o=o,this.h=a,this.iteratorType===0?(this.pre=function(){return this.o===this.h.U&&(0,n.throwIteratorAccessError)(),this.o=this.o.L(),this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B(),this}):(this.pre=function(){return this.o===this.h.W&&(0,n.throwIteratorAccessError)(),this.o=this.o.B(),this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L(),this})}get index(){let o=this.o,a=this.h.tt;if(o===this.h)return a?a.rt-1:0;let s=0;for(o.U&&(s+=o.U.rt);o!==a;){let l=o.tt;o===l.W&&(s+=1,l.U&&(s+=l.U.rt)),o=l}return s}},i=r;e.default=i}),Uje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=i(Ebe()),n=i(Cbe()),r=Sh();function i(l){return l&&l.t?l:{default:l}}var o=class wbe extends n.default{constructor(c,u,d,f){super(c,u,f),this.container=d}get pointer(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o.u}copy(){return new wbe(this.o,this.h,this.container,this.iteratorType)}},a=class extends t.default{constructor(l=[],c,u){super(c,u);let d=this;l.forEach(function(f){d.insert(f)})}*K(l){l!==void 0&&(yield*this.K(l.U),yield l.u,yield*this.K(l.W))}begin(){return new o(this.h.U||this.h,this.h,this)}end(){return new o(this.h,this.h,this)}rBegin(){return new o(this.h.W||this.h,this.h,this,1)}rEnd(){return new o(this.h,this.h,this,1)}front(){return this.h.U?this.h.U.u:void 0}back(){return this.h.W?this.h.W.u:void 0}insert(l,c){return this.M(l,void 0,c)}find(l){let c=this.I(this.Y,l);return new o(c,this.h,this)}lowerBound(l){let c=this.X(this.Y,l);return new o(c,this.h,this)}upperBound(l){let c=this.Z(this.Y,l);return new o(c,this.h,this)}reverseLowerBound(l){let c=this.$(this.Y,l);return new o(c,this.h,this)}reverseUpperBound(l){let c=this.rr(this.Y,l);return new o(c,this.h,this)}union(l){let c=this;return l.forEach(function(u){c.insert(u)}),this.i}[Symbol.iterator](){return this.K(this.Y)}},s=a;e.default=s}),zje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=i(Ebe()),n=i(Cbe()),r=Sh();function i(l){return l&&l.t?l:{default:l}}var o=class Tbe extends n.default{constructor(c,u,d,f){super(c,u,f),this.container=d}get pointer(){this.o===this.h&&(0,r.throwIteratorAccessError)();let c=this;return new Proxy([],{get(u,d){if(d==="0")return c.o.u;if(d==="1")return c.o.l},set(u,d,f){if(d!=="1")throw new TypeError("props must be 1");return c.o.l=f,!0}})}copy(){return new Tbe(this.o,this.h,this.container,this.iteratorType)}},a=class extends t.default{constructor(l=[],c,u){super(c,u);let d=this;l.forEach(function(f){d.setElement(f[0],f[1])})}*K(l){l!==void 0&&(yield*this.K(l.U),yield[l.u,l.l],yield*this.K(l.W))}begin(){return new o(this.h.U||this.h,this.h,this)}end(){return new o(this.h,this.h,this)}rBegin(){return new o(this.h.W||this.h,this.h,this,1)}rEnd(){return new o(this.h,this.h,this,1)}front(){if(this.i===0)return;let l=this.h.U;return[l.u,l.l]}back(){if(this.i===0)return;let l=this.h.W;return[l.u,l.l]}lowerBound(l){let c=this.X(this.Y,l);return new o(c,this.h,this)}upperBound(l){let c=this.Z(this.Y,l);return new o(c,this.h,this)}reverseLowerBound(l){let c=this.$(this.Y,l);return new o(c,this.h,this)}reverseUpperBound(l){let c=this.rr(this.Y,l);return new o(c,this.h,this)}setElement(l,c,u){return this.M(l,c,u)}find(l){let c=this.I(this.Y,l);return new o(c,this.h,this)}getElementByKey(l){return this.I(this.Y,l).l}union(l){let c=this;return l.forEach(function(u){c.setElement(u[0],u[1])}),this.i}[Symbol.iterator](){return this.K(this.Y)}},s=a;e.default=s}),xbe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=t;function t(n){let r=typeof n;return r==="object"&&n!==null||r==="function"}}),Obe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.HashContainerIterator=e.HashContainer=void 0;var t=_h(),n=i(xbe()),r=Sh();function i(s){return s&&s.t?s:{default:s}}var o=class extends t.ContainerIterator{constructor(s,l,c){super(c),this.o=s,this.h=l,this.iteratorType===0?(this.pre=function(){return this.o.L===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o=this.o.L,this})}};e.HashContainerIterator=o;var a=class extends t.Container{constructor(){super(),this.H=[],this.g={},this.HASH_TAG=Symbol("@@HASH_TAG"),Object.setPrototypeOf(this.g,null),this.h={},this.h.L=this.h.B=this.p=this._=this.h}V(s){let{L:l,B:c}=s;l.B=c,c.L=l,s===this.p&&(this.p=c),s===this._&&(this._=l),this.i-=1}M(s,l,c){c===void 0&&(c=(0,n.default)(s));let u;if(c){let d=s[this.HASH_TAG];if(d!==void 0)return this.H[d].l=l,this.i;Object.defineProperty(s,this.HASH_TAG,{value:this.H.length,configurable:!0}),u={u:s,l,L:this._,B:this.h},this.H.push(u)}else{let d=this.g[s];if(d)return d.l=l,this.i;u={u:s,l,L:this._,B:this.h},this.g[s]=u}return this.i===0?(this.p=u,this.h.B=u):this._.B=u,this._=u,this.h.L=u,++this.i}I(s,l){if(l===void 0&&(l=(0,n.default)(s)),l){let c=s[this.HASH_TAG];return c===void 0?this.h:this.H[c]}else return this.g[s]||this.h}clear(){let s=this.HASH_TAG;this.H.forEach(function(l){delete l.u[s]}),this.H=[],this.g={},Object.setPrototypeOf(this.g,null),this.i=0,this.p=this._=this.h.L=this.h.B=this.h}eraseElementByKey(s,l){let c;if(l===void 0&&(l=(0,n.default)(s)),l){let u=s[this.HASH_TAG];if(u===void 0)return!1;delete s[this.HASH_TAG],c=this.H[u],delete this.H[u]}else{if(c=this.g[s],c===void 0)return!1;delete this.g[s]}return this.V(c),!0}eraseElementByIterator(s){let l=s.o;return l===this.h&&(0,r.throwIteratorAccessError)(),this.V(l),s.next()}eraseElementByPos(s){if(s<0||s>this.i-1)throw new RangeError;let l=this.p;for(;s--;)l=l.B;return this.V(l),this.i}};e.HashContainer=a}),Vje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Obe(),n=Sh(),r=class Rbe extends t.HashContainerIterator{constructor(s,l,c,u){super(s,l,u),this.container=c}get pointer(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.u}copy(){return new Rbe(this.o,this.h,this.container,this.iteratorType)}},i=class extends t.HashContainer{constructor(a=[]){super();let s=this;a.forEach(function(l){s.insert(l)})}begin(){return new r(this.p,this.h,this)}end(){return new r(this.h,this.h,this)}rBegin(){return new r(this._,this.h,this,1)}rEnd(){return new r(this.h,this.h,this,1)}front(){return this.p.u}back(){return this._.u}insert(a,s){return this.M(a,void 0,s)}getElementByPos(a){if(a<0||a>this.i-1)throw new RangeError;let s=this.p;for(;a--;)s=s.B;return s.u}find(a,s){let l=this.I(a,s);return new r(l,this.h,this)}forEach(a){let s=0,l=this.p;for(;l!==this.h;)a(l.u,s++,this),l=l.B}[Symbol.iterator](){return(function*(){let a=this.p;for(;a!==this.h;)yield a.u,a=a.B}).bind(this)()}},o=i;e.default=o}),Gje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Obe(),n=i(xbe()),r=Sh();function i(l){return l&&l.t?l:{default:l}}var o=class Ibe extends t.HashContainerIterator{constructor(c,u,d,f){super(c,u,f),this.container=d}get pointer(){this.o===this.h&&(0,r.throwIteratorAccessError)();let c=this;return new Proxy([],{get(u,d){if(d==="0")return c.o.u;if(d==="1")return c.o.l},set(u,d,f){if(d!=="1")throw new TypeError("props must be 1");return c.o.l=f,!0}})}copy(){return new Ibe(this.o,this.h,this.container,this.iteratorType)}},a=class extends t.HashContainer{constructor(l=[]){super();let c=this;l.forEach(function(u){c.setElement(u[0],u[1])})}begin(){return new o(this.p,this.h,this)}end(){return new o(this.h,this.h,this)}rBegin(){return new o(this._,this.h,this,1)}rEnd(){return new o(this.h,this.h,this,1)}front(){if(this.i!==0)return[this.p.u,this.p.l]}back(){if(this.i!==0)return[this._.u,this._.l]}setElement(l,c,u){return this.M(l,c,u)}getElementByKey(l,c){if(c===void 0&&(c=(0,n.default)(l)),c){let d=l[this.HASH_TAG];return d!==void 0?this.H[d].l:void 0}let u=this.g[l];return u?u.l:void 0}getElementByPos(l){if(l<0||l>this.i-1)throw new RangeError;let c=this.p;for(;l--;)c=c.B;return[c.u,c.l]}find(l,c){let u=this.I(l,c);return new o(u,this.h,this)}forEach(l){let c=0,u=this.p;for(;u!==this.h;)l([u.u,u.l],c++,this),u=u.B}[Symbol.iterator](){return(function*(){let l=this.p;for(;l!==this.h;)yield[l.u,l.l],l=l.B}).bind(this)()}},s=a;e.default=s}),Wje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"t",{value:!0}),Object.defineProperty(e,"Deque",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"HashMap",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"HashSet",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"LinkList",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"OrderedMap",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"OrderedSet",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"PriorityQueue",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"Queue",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Stack",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"Vector",{enumerable:!0,get:function(){return i.default}});var t=d(Dje()),n=d(Lje()),r=d($je()),i=d(Fje()),o=d(Bje()),a=d(jje()),s=d(Uje()),l=d(zje()),c=d(Vje()),u=d(Gje());function d(f){return f&&f.t?f:{default:f}}}),qje=sn((e,t)=>{Jt(),tn(),en();var n=Wje().OrderedSet,r=ah()("number-allocator:trace"),i=ah()("number-allocator:error");function o(s,l){this.low=s,this.high=l}o.prototype.equals=function(s){return this.low===s.low&&this.high===s.high},o.prototype.compare=function(s){return this.lowc.compare(u)),r("Create"),this.clear()}a.prototype.firstVacant=function(){return this.ss.size()===0?null:this.ss.front().low},a.prototype.alloc=function(){if(this.ss.size()===0)return r("alloc():empty"),null;let s=this.ss.begin(),l=s.pointer.low,c=s.pointer.high,u=l;return u+1<=c?this.ss.updateKeyByIterator(s,new o(l+1,c)):this.ss.eraseElementByPos(0),r("alloc():"+u),u},a.prototype.use=function(s){let l=new o(s,s),c=this.ss.lowerBound(l);if(!c.equals(this.ss.end())){let u=c.pointer.low,d=c.pointer.high;return c.pointer.equals(l)?(this.ss.eraseElementByIterator(c),r("use():"+s),!0):u>s?!1:u===s?(this.ss.updateKeyByIterator(c,new o(u+1,d)),r("use():"+s),!0):d===s?(this.ss.updateKeyByIterator(c,new o(u,d-1)),r("use():"+s),!0):(this.ss.updateKeyByIterator(c,new o(s+1,d)),this.ss.insert(new o(u,s-1)),r("use():"+s),!0)}return r("use():failed"),!1},a.prototype.free=function(s){if(sthis.max){i("free():"+s+" is out of range");return}let l=new o(s,s),c=this.ss.upperBound(l);if(c.equals(this.ss.end())){if(c.equals(this.ss.begin())){this.ss.insert(l);return}c.pre();let u=c.pointer.high;c.pointer.high+1===s?this.ss.updateKeyByIterator(c,new o(u,s)):this.ss.insert(l)}else if(c.equals(this.ss.begin()))if(s+1===c.pointer.low){let u=c.pointer.high;this.ss.updateKeyByIterator(c,new o(s,u))}else this.ss.insert(l);else{let u=c.pointer.low,d=c.pointer.high;c.pre();let f=c.pointer.low;c.pointer.high+1===s?s+1===u?(this.ss.eraseElementByIterator(c),this.ss.updateKeyByIterator(c,new o(f,d))):this.ss.updateKeyByIterator(c,new o(f,s)):s+1===u?(this.ss.eraseElementByIterator(c.next()),this.ss.insert(new o(s,d))):this.ss.insert(l)}r("free():"+s)},a.prototype.clear=function(){r("clear()"),this.ss.clear(),this.ss.insert(new o(this.min,this.max))},a.prototype.intervalCount=function(){return this.ss.size()},a.prototype.dump=function(){console.log("length:"+this.ss.size());for(let s of this.ss)console.log(s)},t.exports=a}),Abe=sn((e,t)=>{Jt(),tn(),en();var n=qje();t.exports.NumberAllocator=n}),Yje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=Pje(),n=Abe(),r=class{constructor(i){i>0&&(this.aliasToTopic=new t.LRUCache({max:i}),this.topicToAlias={},this.numberAllocator=new n.NumberAllocator(1,i),this.max=i,this.length=0)}put(i,o){if(o===0||o>this.max)return!1;let a=this.aliasToTopic.get(o);return a&&delete this.topicToAlias[a],this.aliasToTopic.set(o,i),this.topicToAlias[i]=o,this.numberAllocator.use(o),this.length=this.aliasToTopic.size,!0}getTopicByAlias(i){return this.aliasToTopic.get(i)}getAliasByTopic(i){let o=this.topicToAlias[i];return typeof o<"u"&&this.aliasToTopic.get(o),o}clear(){this.aliasToTopic.clear(),this.topicToAlias={},this.numberAllocator.clear(),this.length=0}getLruAlias(){return this.numberAllocator.firstVacant()||[...this.aliasToTopic.keys()][this.aliasToTopic.size-1]}};e.default=r}),Kje=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var n=VP(),r=t(Yje()),i=sS(),o=(a,s)=>{a.log("_handleConnack");let{options:l}=a,c=l.protocolVersion===5?s.reasonCode:s.returnCode;if(clearTimeout(a.connackTimer),delete a.topicAliasSend,s.properties){if(s.properties.topicAliasMaximum){if(s.properties.topicAliasMaximum>65535){a.emit("error",new Error("topicAliasMaximum from broker is out of range"));return}s.properties.topicAliasMaximum>0&&(a.topicAliasSend=new r.default(s.properties.topicAliasMaximum))}s.properties.serverKeepAlive&&l.keepalive&&(l.keepalive=s.properties.serverKeepAlive),s.properties.maximumPacketSize&&(l.properties||(l.properties={}),l.properties.maximumPacketSize=s.properties.maximumPacketSize)}if(c===0)a.reconnecting=!1,a._onConnect(s);else if(c>0){let u=new i.ErrorWithReasonCode(`Connection refused: ${n.ReasonCodes[c]}`,c);a.emit("error",u),a.options.reconnectOnConnackError&&a._cleanUp(!0)}};e.default=o}),Qje=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=(n,r,i)=>{n.log("handling pubrel packet");let o=typeof i<"u"?i:n.noop,{messageId:a}=r,s={cmd:"pubcomp",messageId:a};n.incomingStore.get(r,(l,c)=>{l?n._sendPacket(s,o):(n.emit("message",c.topic,c.payload,c),n.handleMessage(c,u=>{if(u)return o(u);n.incomingStore.del(c,n.noop),n._sendPacket(s,o)}))})};e.default=t}),Xje=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0});var n=t(Nje()),r=t(kje()),i=t(Kje()),o=t(VP()),a=t(Qje()),s=(l,c,u)=>{let{options:d}=l;if(d.protocolVersion===5&&d.properties&&d.properties.maximumPacketSize&&d.properties.maximumPacketSize{Jt(),tn(),en();var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0}),e.TypedEventEmitter=void 0;var n=t((aS(),Hi(g0))),r=sS(),i=class{};e.TypedEventEmitter=i,(0,r.applyMixin)(i,n.default)}),GP=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0}),e.isReactNativeBrowser=e.isWebWorker=void 0;var t=()=>{var o;return typeof window<"u"?typeof navigator<"u"&&((o=navigator.userAgent)===null||o===void 0?void 0:o.toLowerCase().indexOf(" electron/"))>-1&&_i!=null&&_i.versions?!Object.prototype.hasOwnProperty.call(_i.versions,"electron"):typeof window.document<"u":!1},n=()=>{var o,a;return!!(typeof self=="object"&&!((a=(o=self==null?void 0:self.constructor)===null||o===void 0?void 0:o.name)===null||a===void 0)&&a.includes("WorkerGlobalScope"))},r=()=>typeof navigator<"u"&&navigator.product==="ReactNative",i=t()||n()||r();e.isWebWorker=n(),e.isReactNativeBrowser=r(),e.default=i}),Jje=sn((e,t)=>{Jt(),tn(),en(),function(n,r){typeof e=="object"&&typeof t<"u"?r(e):typeof define=="function"&&define.amd?define(["exports"],r):(n=typeof globalThis<"u"?globalThis:n||self,r(n.fastUniqueNumbers={}))}(e,function(n){var r=function(h){return function(m){var g=h(m);return m.add(g),g}},i=function(h){return function(m,g){return h.set(m,g),g}},o=Number.MAX_SAFE_INTEGER===void 0?9007199254740991:Number.MAX_SAFE_INTEGER,a=536870912,s=a*2,l=function(h,m){return function(g){var v=m.get(g),y=v===void 0?g.size:vo)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;g.has(y);)y=Math.floor(Math.random()*o);return h(g,y)}},c=new WeakMap,u=i(c),d=l(u,c),f=r(d);n.addUniqueNumber=f,n.generateUniqueNumber=d})}),eHe=sn((e,t)=>{Jt(),tn(),en(),function(n,r){typeof e=="object"&&typeof t<"u"?r(e,Jje()):typeof define=="function"&&define.amd?define(["exports","fast-unique-numbers"],r):(n=typeof globalThis<"u"?globalThis:n||self,r(n.workerTimersBroker={},n.fastUniqueNumbers))}(e,function(n,r){var i=function(s){return s.method!==void 0&&s.method==="call"},o=function(s){return s.error===null&&typeof s.id=="number"},a=function(s){var l=new Map([[0,function(){}]]),c=new Map([[0,function(){}]]),u=new Map,d=new Worker(s);d.addEventListener("message",function(v){var y=v.data;if(i(y)){var b=y.params,_=b.timerId,E=b.timerType;if(E==="interval"){var C=l.get(_);if(typeof C=="number"){var S=u.get(C);if(S===void 0||S.timerId!==_||S.timerType!==E)throw new Error("The timer is in an undefined state.")}else if(typeof C<"u")C();else throw new Error("The timer is in an undefined state.")}else if(E==="timeout"){var w=c.get(_);if(typeof w=="number"){var T=u.get(w);if(T===void 0||T.timerId!==_||T.timerType!==E)throw new Error("The timer is in an undefined state.")}else if(typeof w<"u")w(),c.delete(_);else throw new Error("The timer is in an undefined state.")}}else if(o(y)){var O=y.id,x=u.get(O);if(x===void 0)throw new Error("The timer is in an undefined state.");var A=x.timerId,I=x.timerType;u.delete(O),I==="interval"?l.delete(A):c.delete(A)}else{var M=y.error.message;throw new Error(M)}});var f=function(v){var y=r.generateUniqueNumber(u);u.set(y,{timerId:v,timerType:"interval"}),l.set(v,y),d.postMessage({id:y,method:"clear",params:{timerId:v,timerType:"interval"}})},h=function(v){var y=r.generateUniqueNumber(u);u.set(y,{timerId:v,timerType:"timeout"}),c.set(v,y),d.postMessage({id:y,method:"clear",params:{timerId:v,timerType:"timeout"}})},m=function(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,b=r.generateUniqueNumber(l);return l.set(b,function(){v(),typeof l.get(b)=="function"&&d.postMessage({id:null,method:"set",params:{delay:y,now:performance.now(),timerId:b,timerType:"interval"}})}),d.postMessage({id:null,method:"set",params:{delay:y,now:performance.now(),timerId:b,timerType:"interval"}}),b},g=function(v){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,b=r.generateUniqueNumber(c);return c.set(b,v),d.postMessage({id:null,method:"set",params:{delay:y,now:performance.now(),timerId:b,timerType:"timeout"}}),b};return{clearInterval:f,clearTimeout:h,setInterval:m,setTimeout:g}};n.load=a})}),tHe=sn((e,t)=>{Jt(),tn(),en(),function(n,r){typeof e=="object"&&typeof t<"u"?r(e,eHe()):typeof define=="function"&&define.amd?define(["exports","worker-timers-broker"],r):(n=typeof globalThis<"u"?globalThis:n||self,r(n.workerTimers={},n.workerTimersBroker))}(e,function(n,r){var i=function(d,f){var h=null;return function(){if(h!==null)return h;var m=new Blob([f],{type:"application/javascript; charset=utf-8"}),g=URL.createObjectURL(m);return h=d(g),setTimeout(function(){return URL.revokeObjectURL(g)}),h}},o=`(()=>{var e={472:(e,t,r)=>{var o,i;void 0===(i="function"==typeof(o=function(){"use strict";var e=new Map,t=new Map,r=function(t){var r=e.get(t);if(void 0===r)throw new Error('There is no interval scheduled with the given id "'.concat(t,'".'));clearTimeout(r),e.delete(t)},o=function(e){var r=t.get(e);if(void 0===r)throw new Error('There is no timeout scheduled with the given id "'.concat(e,'".'));clearTimeout(r),t.delete(e)},i=function(e,t){var r,o=performance.now();return{expected:o+(r=e-Math.max(0,o-t)),remainingDelay:r}},n=function e(t,r,o,i){var n=performance.now();n>o?postMessage({id:null,method:"call",params:{timerId:r,timerType:i}}):t.set(r,setTimeout(e,o-n,t,r,o,i))},a=function(t,r,o){var a=i(t,o),s=a.expected,d=a.remainingDelay;e.set(r,setTimeout(n,d,e,r,s,"interval"))},s=function(e,r,o){var a=i(e,o),s=a.expected,d=a.remainingDelay;t.set(r,setTimeout(n,d,t,r,s,"timeout"))};addEventListener("message",(function(e){var t=e.data;try{if("clear"===t.method){var i=t.id,n=t.params,d=n.timerId,c=n.timerType;if("interval"===c)r(d),postMessage({error:null,id:i});else{if("timeout"!==c)throw new Error('The given type "'.concat(c,'" is not supported'));o(d),postMessage({error:null,id:i})}}else{if("set"!==t.method)throw new Error('The given method "'.concat(t.method,'" is not supported'));var u=t.params,l=u.delay,p=u.now,m=u.timerId,v=u.timerType;if("interval"===v)a(l,m,p);else{if("timeout"!==v)throw new Error('The given type "'.concat(v,'" is not supported'));s(l,m,p)}}}catch(e){postMessage({error:{message:e.message},id:t.id,result:null})}}))})?o.call(t,r,t,e):o)||(e.exports=i)}},t={};function r(o){var i=t[o];if(void 0!==i)return i.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";r(472)})()})();`,a=i(r.load,o),s=function(d){return a().clearInterval(d)},l=function(d){return a().clearTimeout(d)},c=function(){var d;return(d=a()).setInterval.apply(d,arguments)},u=function(){var d;return(d=a()).setTimeout.apply(d,arguments)};n.clearInterval=s,n.clearTimeout=l,n.setInterval=c,n.setTimeout=u})}),nHe=sn(e=>{Jt(),tn(),en();var t=e&&e.__createBinding||(Object.create?function(c,u,d,f){f===void 0&&(f=d);var h=Object.getOwnPropertyDescriptor(u,d);(!h||("get"in h?!u.__esModule:h.writable||h.configurable))&&(h={enumerable:!0,get:function(){return u[d]}}),Object.defineProperty(c,f,h)}:function(c,u,d,f){f===void 0&&(f=d),c[f]=u[d]}),n=e&&e.__setModuleDefault||(Object.create?function(c,u){Object.defineProperty(c,"default",{enumerable:!0,value:u})}:function(c,u){c.default=u}),r=e&&e.__importStar||function(c){if(c&&c.__esModule)return c;var u={};if(c!=null)for(var d in c)d!=="default"&&Object.prototype.hasOwnProperty.call(c,d)&&t(u,c,d);return n(u,c),u};Object.defineProperty(e,"__esModule",{value:!0});var i=r(GP()),o=tHe(),a={set:o.setInterval,clear:o.clearInterval},s={set:(c,u)=>setInterval(c,u),clear:c=>clearInterval(c)},l=c=>{switch(c){case"native":return s;case"worker":return a;case"auto":default:return i.default&&!i.isWebWorker&&!i.isReactNativeBrowser?a:s}};e.default=l}),Nbe=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var n=t(nHe()),r=class{get keepaliveTimeoutTimestamp(){return this._keepaliveTimeoutTimestamp}get intervalEvery(){return this._intervalEvery}get keepalive(){return this._keepalive}constructor(i,o){this.destroyed=!1,this.client=i,this.timer=typeof o=="object"&&"set"in o&&"clear"in o?o:(0,n.default)(o),this.setKeepalive(i.options.keepalive)}clear(){this.timerId&&(this.timer.clear(this.timerId),this.timerId=null)}setKeepalive(i){if(i*=1e3,isNaN(i)||i<=0||i>2147483647)throw new Error(`Keepalive value must be an integer between 0 and 2147483647. Provided value is ${i}`);this._keepalive=i,this.reschedule(),this.client.log(`KeepaliveManager: set keepalive to ${i}ms`)}destroy(){this.clear(),this.destroyed=!0}reschedule(){if(this.destroyed)return;this.clear(),this.counter=0;let i=Math.ceil(this._keepalive*1.5);this._keepaliveTimeoutTimestamp=Date.now()+i,this._intervalEvery=Math.ceil(this._keepalive/2),this.timerId=this.timer.set(()=>{this.destroyed||(this.counter+=1,this.counter===2?this.client.sendPing():this.counter>2&&this.client.onKeepaliveTimeout())},this._intervalEvery)}};e.default=r}),Dj=sn(e=>{Jt(),tn(),en();var t=e&&e.__createBinding||(Object.create?function(C,S,w,T){T===void 0&&(T=w);var O=Object.getOwnPropertyDescriptor(S,w);(!O||("get"in O?!S.__esModule:O.writable||O.configurable))&&(O={enumerable:!0,get:function(){return S[w]}}),Object.defineProperty(C,T,O)}:function(C,S,w,T){T===void 0&&(T=w),C[T]=S[w]}),n=e&&e.__setModuleDefault||(Object.create?function(C,S){Object.defineProperty(C,"default",{enumerable:!0,value:S})}:function(C,S){C.default=S}),r=e&&e.__importStar||function(C){if(C&&C.__esModule)return C;var S={};if(C!=null)for(var w in C)w!=="default"&&Object.prototype.hasOwnProperty.call(C,w)&&t(S,C,w);return n(S,C),S},i=e&&e.__importDefault||function(C){return C&&C.__esModule?C:{default:C}};Object.defineProperty(e,"__esModule",{value:!0});var o=i(GBe()),a=i(Oje()),s=i(hbe()),l=v0(),c=i(Ije()),u=r(Aje()),d=i(ah()),f=i(mbe()),h=i(Xje()),m=sS(),g=Zje(),v=i(Nbe()),y=r(GP()),b=globalThis.setImmediate||((...C)=>{let S=C.shift();(0,m.nextTick)(()=>{S(...C)})}),_={keepalive:60,reschedulePings:!0,protocolId:"MQTT",protocolVersion:4,reconnectPeriod:1e3,connectTimeout:30*1e3,clean:!0,resubscribe:!0,writeCache:!0,timerVariant:"auto"},E=class Lj extends g.TypedEventEmitter{static defaultId(){return`mqttjs_${Math.random().toString(16).substr(2,8)}`}constructor(S,w){super(),this.options=w||{};for(let T in _)typeof this.options[T]>"u"?this.options[T]=_[T]:this.options[T]=w[T];this.log=this.options.log||(0,d.default)("mqttjs:client"),this.noop=this._noop.bind(this),this.log("MqttClient :: version:",Lj.VERSION),y.isWebWorker?this.log("MqttClient :: environment","webworker"):this.log("MqttClient :: environment",y.default?"browser":"node"),this.log("MqttClient :: options.protocol",w.protocol),this.log("MqttClient :: options.protocolVersion",w.protocolVersion),this.log("MqttClient :: options.username",w.username),this.log("MqttClient :: options.keepalive",w.keepalive),this.log("MqttClient :: options.reconnectPeriod",w.reconnectPeriod),this.log("MqttClient :: options.rejectUnauthorized",w.rejectUnauthorized),this.log("MqttClient :: options.properties.topicAliasMaximum",w.properties?w.properties.topicAliasMaximum:void 0),this.options.clientId=typeof w.clientId=="string"?w.clientId:Lj.defaultId(),this.log("MqttClient :: clientId",this.options.clientId),this.options.customHandleAcks=w.protocolVersion===5&&w.customHandleAcks?w.customHandleAcks:(...T)=>{T[3](null,0)},this.options.writeCache||(a.default.writeToStream.cacheNumbers=!1),this.streamBuilder=S,this.messageIdProvider=typeof this.options.messageIdProvider>"u"?new s.default:this.options.messageIdProvider,this.outgoingStore=w.outgoingStore||new f.default,this.incomingStore=w.incomingStore||new f.default,this.queueQoSZero=w.queueQoSZero===void 0?!0:w.queueQoSZero,this._resubscribeTopics={},this.messageIdToTopic={},this.keepaliveManager=null,this.connected=!1,this.disconnecting=!1,this.reconnecting=!1,this.queue=[],this.connackTimer=null,this.reconnectTimer=null,this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={},this._storeProcessingQueue=[],this.outgoing={},this._firstConnection=!0,w.properties&&w.properties.topicAliasMaximum>0&&(w.properties.topicAliasMaximum>65535?this.log("MqttClient :: options.properties.topicAliasMaximum is out of range"):this.topicAliasRecv=new o.default(w.properties.topicAliasMaximum)),this.on("connect",()=>{let{queue:T}=this,O=()=>{let x=T.shift();this.log("deliver :: entry %o",x);let A=null;if(!x){this._resubscribe();return}A=x.packet,this.log("deliver :: call _sendPacket for %o",A);let I=!0;A.messageId&&A.messageId!==0&&(this.messageIdProvider.register(A.messageId)||(I=!1)),I?this._sendPacket(A,M=>{x.cb&&x.cb(M),O()}):(this.log("messageId: %d has already used. The message is skipped and removed.",A.messageId),O())};this.log("connect :: sending queued packets"),O()}),this.on("close",()=>{this.log("close :: connected set to `false`"),this.connected=!1,this.log("close :: clearing connackTimer"),clearTimeout(this.connackTimer),this._destroyKeepaliveManager(),this.topicAliasRecv&&this.topicAliasRecv.clear(),this.log("close :: calling _setupReconnect"),this._setupReconnect()}),this.options.manualConnect||(this.log("MqttClient :: setting up stream"),this.connect())}handleAuth(S,w){w()}handleMessage(S,w){w()}_nextId(){return this.messageIdProvider.allocate()}getLastMessageId(){return this.messageIdProvider.getLastAllocated()}connect(){var S;let w=new l.Writable,T=a.default.parser(this.options),O=null,x=[];this.log("connect :: calling method to clear reconnect"),this._clearReconnect(),this.disconnected&&!this.reconnecting&&(this.incomingStore=this.options.incomingStore||new f.default,this.outgoingStore=this.options.outgoingStore||new f.default,this.disconnecting=!1,this.disconnected=!1),this.log("connect :: using streamBuilder provided to client to create stream"),this.stream=this.streamBuilder(this),T.on("packet",P=>{this.log("parser :: on packet push to packets array."),x.push(P)});let A=()=>{this.log("work :: getting next packet in queue");let P=x.shift();if(P)this.log("work :: packet pulled from queue"),(0,h.default)(this,P,I);else{this.log("work :: no packets in queue");let k=O;O=null,this.log("work :: done flag is %s",!!k),k&&k()}},I=()=>{if(x.length)(0,m.nextTick)(A);else{let P=O;O=null,P()}};w._write=(P,k,N)=>{O=N,this.log("writable stream :: parsing buffer"),T.parse(P),A()};let M=P=>{this.log("streamErrorHandler :: error",P.message),P.code?(this.log("streamErrorHandler :: emitting error"),this.emit("error",P)):this.noop(P)};this.log("connect :: pipe stream to writable stream"),this.stream.pipe(w),this.stream.on("error",M),this.stream.on("close",()=>{this.log("(%s)stream :: on close",this.options.clientId),this._flushVolatile(),this.log("stream: emit close to MqttClient"),this.emit("close")}),this.log("connect: sending packet `connect`");let B={cmd:"connect",protocolId:this.options.protocolId,protocolVersion:this.options.protocolVersion,clean:this.options.clean,clientId:this.options.clientId,keepalive:this.options.keepalive,username:this.options.username,password:this.options.password,properties:this.options.properties};if(this.options.will&&(B.will=Object.assign(Object.assign({},this.options.will),{payload:(S=this.options.will)===null||S===void 0?void 0:S.payload})),this.topicAliasRecv&&(B.properties||(B.properties={}),this.topicAliasRecv&&(B.properties.topicAliasMaximum=this.topicAliasRecv.max)),this._writePacket(B),T.on("error",this.emit.bind(this,"error")),this.options.properties){if(!this.options.properties.authenticationMethod&&this.options.properties.authenticationData)return this.end(()=>this.emit("error",new Error("Packet has no Authentication Method"))),this;if(this.options.properties.authenticationMethod&&this.options.authPacket&&typeof this.options.authPacket=="object"){let P=Object.assign({cmd:"auth",reasonCode:0},this.options.authPacket);this._writePacket(P)}}return this.stream.setMaxListeners(1e3),clearTimeout(this.connackTimer),this.connackTimer=setTimeout(()=>{this.log("!!connectTimeout hit!! Calling _cleanUp with force `true`"),this.emit("error",new Error("connack timeout")),this._cleanUp(!0)},this.options.connectTimeout),this}publish(S,w,T,O){this.log("publish :: message `%s` to topic `%s`",w,S);let{options:x}=this;typeof T=="function"&&(O=T,T=null),T=T||{},T=Object.assign(Object.assign({},{qos:0,retain:!1,dup:!1}),T);let{qos:A,retain:I,dup:M,properties:B,cbStorePut:P}=T;if(this._checkDisconnecting(O))return this;let k=()=>{let N=0;if((A===1||A===2)&&(N=this._nextId(),N===null))return this.log("No messageId left"),!1;let L={cmd:"publish",topic:S,payload:w,qos:A,retain:I,messageId:N,dup:M};switch(x.protocolVersion===5&&(L.properties=B),this.log("publish :: qos",A),A){case 1:case 2:this.outgoing[L.messageId]={volatile:!1,cb:O||this.noop},this.log("MqttClient:publish: packet cmd: %s",L.cmd),this._sendPacket(L,void 0,P);break;default:this.log("MqttClient:publish: packet cmd: %s",L.cmd),this._sendPacket(L,O,P);break}return!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!k())&&this._storeProcessingQueue.push({invoke:k,cbStorePut:T.cbStorePut,callback:O}),this}publishAsync(S,w,T){return new Promise((O,x)=>{this.publish(S,w,T,(A,I)=>{A?x(A):O(I)})})}subscribe(S,w,T){let O=this.options.protocolVersion;typeof w=="function"&&(T=w),T=T||this.noop;let x=!1,A=[];typeof S=="string"?(S=[S],A=S):Array.isArray(S)?A=S:typeof S=="object"&&(x=S.resubscribe,delete S.resubscribe,A=Object.keys(S));let I=u.validateTopics(A);if(I!==null)return b(T,new Error(`Invalid topic ${I}`)),this;if(this._checkDisconnecting(T))return this.log("subscribe: discconecting true"),this;let M={qos:0};O===5&&(M.nl=!1,M.rap=!1,M.rh=0),w=Object.assign(Object.assign({},M),w);let B=w.properties,P=[],k=(L,V)=>{if(V=V||w,!Object.prototype.hasOwnProperty.call(this._resubscribeTopics,L)||this._resubscribeTopics[L].qos{this.log("subscribe: array topic %s",L),k(L)}):Object.keys(S).forEach(L=>{this.log("subscribe: object topic %s, %o",L,S[L]),k(L,S[L])}),!P.length)return T(null,[]),this;let N=()=>{let L=this._nextId();if(L===null)return this.log("No messageId left"),!1;let V={cmd:"subscribe",subscriptions:P,messageId:L};if(B&&(V.properties=B),this.options.resubscribe){this.log("subscribe :: resubscribe true");let $=[];P.forEach(W=>{if(this.options.reconnectPeriod>0){let j={qos:W.qos};O===5&&(j.nl=W.nl||!1,j.rap=W.rap||!1,j.rh=W.rh||0,j.properties=W.properties),this._resubscribeTopics[W.topic]=j,$.push(W.topic)}}),this.messageIdToTopic[V.messageId]=$}return this.outgoing[V.messageId]={volatile:!0,cb($,W){if(!$){let{granted:j}=W;for(let U=0;U0||!N())&&this._storeProcessingQueue.push({invoke:N,callback:T}),this}subscribeAsync(S,w){return new Promise((T,O)=>{this.subscribe(S,w,(x,A)=>{x?O(x):T(A)})})}unsubscribe(S,w,T){typeof S=="string"&&(S=[S]),typeof w=="function"&&(T=w),T=T||this.noop;let O=u.validateTopics(S);if(O!==null)return b(T,new Error(`Invalid topic ${O}`)),this;if(this._checkDisconnecting(T))return this;let x=()=>{let A=this._nextId();if(A===null)return this.log("No messageId left"),!1;let I={cmd:"unsubscribe",messageId:A,unsubscriptions:[]};return typeof S=="string"?I.unsubscriptions=[S]:Array.isArray(S)&&(I.unsubscriptions=S),this.options.resubscribe&&I.unsubscriptions.forEach(M=>{delete this._resubscribeTopics[M]}),typeof w=="object"&&w.properties&&(I.properties=w.properties),this.outgoing[I.messageId]={volatile:!0,cb:T},this.log("unsubscribe: call _sendPacket"),this._sendPacket(I),!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!x())&&this._storeProcessingQueue.push({invoke:x,callback:T}),this}unsubscribeAsync(S,w){return new Promise((T,O)=>{this.unsubscribe(S,w,(x,A)=>{x?O(x):T(A)})})}end(S,w,T){this.log("end :: (%s)",this.options.clientId),(S==null||typeof S!="boolean")&&(T=T||w,w=S,S=!1),typeof w!="object"&&(T=T||w,w=null),this.log("end :: cb? %s",!!T),(!T||typeof T!="function")&&(T=this.noop);let O=()=>{this.log("end :: closeStores: closing incoming and outgoing stores"),this.disconnected=!0,this.incomingStore.close(A=>{this.outgoingStore.close(I=>{if(this.log("end :: closeStores: emitting end"),this.emit("end"),T){let M=A||I;this.log("end :: closeStores: invoking callback with args"),T(M)}})}),this._deferredReconnect?this._deferredReconnect():(this.options.reconnectPeriod===0||this.options.manualConnect)&&(this.disconnecting=!1)},x=()=>{this.log("end :: (%s) :: finish :: calling _cleanUp with force %s",this.options.clientId,S),this._cleanUp(S,()=>{this.log("end :: finish :: calling process.nextTick on closeStores"),(0,m.nextTick)(O)},w)};return this.disconnecting?(T(),this):(this._clearReconnect(),this.disconnecting=!0,!S&&Object.keys(this.outgoing).length>0?(this.log("end :: (%s) :: calling finish in 10ms once outgoing is empty",this.options.clientId),this.once("outgoingEmpty",setTimeout.bind(null,x,10))):(this.log("end :: (%s) :: immediately calling finish",this.options.clientId),x()),this)}endAsync(S,w){return new Promise((T,O)=>{this.end(S,w,x=>{x?O(x):T()})})}removeOutgoingMessage(S){if(this.outgoing[S]){let{cb:w}=this.outgoing[S];this._removeOutgoingAndStoreMessage(S,()=>{w(new Error("Message removed"))})}return this}reconnect(S){this.log("client reconnect");let w=()=>{S?(this.options.incomingStore=S.incomingStore,this.options.outgoingStore=S.outgoingStore):(this.options.incomingStore=null,this.options.outgoingStore=null),this.incomingStore=this.options.incomingStore||new f.default,this.outgoingStore=this.options.outgoingStore||new f.default,this.disconnecting=!1,this.disconnected=!1,this._deferredReconnect=null,this._reconnect()};return this.disconnecting&&!this.disconnected?this._deferredReconnect=w:w(),this}_flushVolatile(){this.outgoing&&(this.log("_flushVolatile :: deleting volatile messages from the queue and setting their callbacks as error function"),Object.keys(this.outgoing).forEach(S=>{this.outgoing[S].volatile&&typeof this.outgoing[S].cb=="function"&&(this.outgoing[S].cb(new Error("Connection closed")),delete this.outgoing[S])}))}_flush(){this.outgoing&&(this.log("_flush: queue exists? %b",!!this.outgoing),Object.keys(this.outgoing).forEach(S=>{typeof this.outgoing[S].cb=="function"&&(this.outgoing[S].cb(new Error("Connection closed")),delete this.outgoing[S])}))}_removeTopicAliasAndRecoverTopicName(S){let w;S.properties&&(w=S.properties.topicAlias);let T=S.topic.toString();if(this.log("_removeTopicAliasAndRecoverTopicName :: alias %d, topic %o",w,T),T.length===0){if(typeof w>"u")return new Error("Unregistered Topic Alias");if(T=this.topicAliasSend.getTopicByAlias(w),typeof T>"u")return new Error("Unregistered Topic Alias");S.topic=T}w&&delete S.properties.topicAlias}_checkDisconnecting(S){return this.disconnecting&&(S&&S!==this.noop?S(new Error("client disconnecting")):this.emit("error",new Error("client disconnecting"))),this.disconnecting}_reconnect(){this.log("_reconnect: emitting reconnect to client"),this.emit("reconnect"),this.connected?(this.end(()=>{this.connect()}),this.log("client already connected. disconnecting first.")):(this.log("_reconnect: calling connect"),this.connect())}_setupReconnect(){!this.disconnecting&&!this.reconnectTimer&&this.options.reconnectPeriod>0?(this.reconnecting||(this.log("_setupReconnect :: emit `offline` state"),this.emit("offline"),this.log("_setupReconnect :: set `reconnecting` to `true`"),this.reconnecting=!0),this.log("_setupReconnect :: setting reconnectTimer for %d ms",this.options.reconnectPeriod),this.reconnectTimer=setInterval(()=>{this.log("reconnectTimer :: reconnect triggered!"),this._reconnect()},this.options.reconnectPeriod)):this.log("_setupReconnect :: doing nothing...")}_clearReconnect(){this.log("_clearReconnect : clearing reconnect timer"),this.reconnectTimer&&(clearInterval(this.reconnectTimer),this.reconnectTimer=null)}_cleanUp(S,w,T={}){if(w&&(this.log("_cleanUp :: done callback provided for on stream close"),this.stream.on("close",w)),this.log("_cleanUp :: forced? %s",S),S)this.options.reconnectPeriod===0&&this.options.clean&&this._flush(),this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),this.stream.destroy();else{let O=Object.assign({cmd:"disconnect"},T);this.log("_cleanUp :: (%s) :: call _sendPacket with disconnect packet",this.options.clientId),this._sendPacket(O,()=>{this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),b(()=>{this.stream.end(()=>{this.log("_cleanUp :: (%s) :: stream destroyed",this.options.clientId)})})})}!this.disconnecting&&!this.reconnecting&&(this.log("_cleanUp :: client not disconnecting/reconnecting. Clearing and resetting reconnect."),this._clearReconnect(),this._setupReconnect()),this._destroyKeepaliveManager(),w&&!this.connected&&(this.log("_cleanUp :: (%s) :: removing stream `done` callback `close` listener",this.options.clientId),this.stream.removeListener("close",w),w())}_storeAndSend(S,w,T){this.log("storeAndSend :: store packet with cmd %s to outgoingStore",S.cmd);let O=S,x;if(O.cmd==="publish"&&(O=(0,c.default)(S),x=this._removeTopicAliasAndRecoverTopicName(O),x))return w&&w(x);this.outgoingStore.put(O,A=>{if(A)return w&&w(A);T(),this._writePacket(S,w)})}_applyTopicAlias(S){if(this.options.protocolVersion===5&&S.cmd==="publish"){let w;S.properties&&(w=S.properties.topicAlias);let T=S.topic.toString();if(this.topicAliasSend)if(w){if(T.length!==0&&(this.log("applyTopicAlias :: register topic: %s - alias: %d",T,w),!this.topicAliasSend.put(T,w)))return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",T,w),new Error("Sending Topic Alias out of range")}else T.length!==0&&(this.options.autoAssignTopicAlias?(w=this.topicAliasSend.getAliasByTopic(T),w?(S.topic="",S.properties=Object.assign(Object.assign({},S.properties),{topicAlias:w}),this.log("applyTopicAlias :: auto assign(use) topic: %s - alias: %d",T,w)):(w=this.topicAliasSend.getLruAlias(),this.topicAliasSend.put(T,w),S.properties=Object.assign(Object.assign({},S.properties),{topicAlias:w}),this.log("applyTopicAlias :: auto assign topic: %s - alias: %d",T,w))):this.options.autoUseTopicAlias&&(w=this.topicAliasSend.getAliasByTopic(T),w&&(S.topic="",S.properties=Object.assign(Object.assign({},S.properties),{topicAlias:w}),this.log("applyTopicAlias :: auto use topic: %s - alias: %d",T,w))));else if(w)return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",T,w),new Error("Sending Topic Alias out of range")}}_noop(S){this.log("noop ::",S)}_writePacket(S,w){this.log("_writePacket :: packet: %O",S),this.log("_writePacket :: emitting `packetsend`"),this.emit("packetsend",S),this.log("_writePacket :: writing to stream");let T=a.default.writeToStream(S,this.stream,this.options);this.log("_writePacket :: writeToStream result %s",T),!T&&w&&w!==this.noop?(this.log("_writePacket :: handle events on `drain` once through callback."),this.stream.once("drain",w)):w&&(this.log("_writePacket :: invoking cb"),w())}_sendPacket(S,w,T,O){this.log("_sendPacket :: (%s) :: start",this.options.clientId),T=T||this.noop,w=w||this.noop;let x=this._applyTopicAlias(S);if(x){w(x);return}if(!this.connected){if(S.cmd==="auth"){this._writePacket(S,w);return}this.log("_sendPacket :: client not connected. Storing packet offline."),this._storePacket(S,w,T);return}if(O){this._writePacket(S,w);return}switch(S.cmd){case"publish":break;case"pubrel":this._storeAndSend(S,w,T);return;default:this._writePacket(S,w);return}switch(S.qos){case 2:case 1:this._storeAndSend(S,w,T);break;case 0:default:this._writePacket(S,w);break}this.log("_sendPacket :: (%s) :: end",this.options.clientId)}_storePacket(S,w,T){this.log("_storePacket :: packet: %o",S),this.log("_storePacket :: cb? %s",!!w),T=T||this.noop;let O=S;if(O.cmd==="publish"){O=(0,c.default)(S);let A=this._removeTopicAliasAndRecoverTopicName(O);if(A)return w&&w(A)}let x=O.qos||0;x===0&&this.queueQoSZero||O.cmd!=="publish"?this.queue.push({packet:O,cb:w}):x>0?(w=this.outgoing[O.messageId]?this.outgoing[O.messageId].cb:null,this.outgoingStore.put(O,A=>{if(A)return w&&w(A);T()})):w&&w(new Error("No connection to broker"))}_setupKeepaliveManager(){this.log("_setupKeepaliveManager :: keepalive %d (seconds)",this.options.keepalive),!this.keepaliveManager&&this.options.keepalive&&(this.keepaliveManager=new v.default(this,this.options.timerVariant))}_destroyKeepaliveManager(){this.keepaliveManager&&(this.log("_destroyKeepaliveManager :: destroying keepalive manager"),this.keepaliveManager.destroy(),this.keepaliveManager=null)}reschedulePing(S=!1){this.keepaliveManager&&this.options.keepalive&&(S||this.options.reschedulePings)&&this._reschedulePing()}_reschedulePing(){this.log("_reschedulePing :: rescheduling ping"),this.keepaliveManager.reschedule()}sendPing(){this.log("_sendPing :: sending pingreq"),this._sendPacket({cmd:"pingreq"})}onKeepaliveTimeout(){this.emit("error",new Error("Keepalive timeout")),this.log("onKeepaliveTimeout :: calling _cleanUp with force true"),this._cleanUp(!0)}_resubscribe(){this.log("_resubscribe");let S=Object.keys(this._resubscribeTopics);if(!this._firstConnection&&(this.options.clean||this.options.protocolVersion>=4&&!this.connackPacket.sessionPresent)&&S.length>0)if(this.options.resubscribe)if(this.options.protocolVersion===5){this.log("_resubscribe: protocolVersion 5");for(let w=0;w{let T=this.outgoingStore.createStream(),O=()=>{T.destroy(),T=null,this._flushStoreProcessingQueue(),x()},x=()=>{this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={}};this.once("close",O),T.on("error",I=>{x(),this._flushStoreProcessingQueue(),this.removeListener("close",O),this.emit("error",I)});let A=()=>{if(!T)return;let I=T.read(1),M;if(!I){T.once("readable",A);return}if(this._storeProcessing=!0,this._packetIdsDuringStoreProcessing[I.messageId]){A();return}!this.disconnecting&&!this.reconnectTimer?(M=this.outgoing[I.messageId]?this.outgoing[I.messageId].cb:null,this.outgoing[I.messageId]={volatile:!1,cb(B,P){M&&M(B,P),A()}},this._packetIdsDuringStoreProcessing[I.messageId]=!0,this.messageIdProvider.register(I.messageId)?this._sendPacket(I,void 0,void 0,!0):this.log("messageId: %d has already used.",I.messageId)):T.destroy&&T.destroy()};T.on("end",()=>{let I=!0;for(let M in this._packetIdsDuringStoreProcessing)if(!this._packetIdsDuringStoreProcessing[M]){I=!1;break}this.removeListener("close",O),I?(x(),this._invokeAllStoreProcessingQueue(),this.emit("connect",S)):w()}),A()};w()}_invokeStoreProcessingQueue(){if(!this._storeProcessing&&this._storeProcessingQueue.length>0){let S=this._storeProcessingQueue[0];if(S&&S.invoke())return this._storeProcessingQueue.shift(),!0}return!1}_invokeAllStoreProcessingQueue(){for(;this._invokeStoreProcessingQueue(););}_flushStoreProcessingQueue(){for(let S of this._storeProcessingQueue)S.cbStorePut&&S.cbStorePut(new Error("Connection closed")),S.callback&&S.callback(new Error("Connection closed"));this._storeProcessingQueue.splice(0)}_removeOutgoingAndStoreMessage(S,w){delete this.outgoing[S],this.outgoingStore.del({messageId:S},(T,O)=>{w(T,O),this.messageIdProvider.deallocate(S),this._invokeStoreProcessingQueue()})}};E.VERSION=m.MQTTJS_VERSION,e.default=E}),rHe=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=Abe(),n=class{constructor(){this.numberAllocator=new t.NumberAllocator(1,65535)}allocate(){return this.lastId=this.numberAllocator.alloc(),this.lastId}getLastAllocated(){return this.lastId}register(r){return this.numberAllocator.use(r)}deallocate(r){this.numberAllocator.free(r)}clear(){this.numberAllocator.clear()}};e.default=n});function e1(e){throw new RangeError(kbe[e])}function Ste(e,t){let n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);let i=function(o,a){let s=[],l=o.length;for(;l--;)s[l]=a(o[l]);return s}((e=e.replace(Mbe,".")).split("."),t).join(".");return r+i}function Ete(e){let t=[],n=0,r=e.length;for(;n=55296&&i<=56319&&n{Jt(),tn(),en(),Cte=/^xn--/,wte=/[^\0-\x7E]/,Mbe=/[\x2E\u3002\uFF0E\uFF61]/g,kbe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Lu=Math.floor,lR=String.fromCharCode,aL=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},sL=function(e,t,n){let r=0;for(e=n?Lu(e/700):e>>1,e+=Lu(e/t);e>455;r+=36)e=Lu(e/35);return Lu(r+36*e/(e+38))},lL=function(e){let t=[],n=e.length,r=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let l=0;l=128&&e1("not-basic"),t.push(e.charCodeAt(l));for(let l=a>0?a+1:0;l=n&&e1("invalid-input");let h=(s=e.charCodeAt(l++))-48<10?s-22:s-65<26?s-65:s-97<26?s-97:36;(h>=36||h>Lu((2147483647-r)/d))&&e1("overflow"),r+=h*d;let m=f<=o?1:f>=o+26?26:f-o;if(hLu(2147483647/g)&&e1("overflow"),d*=g}let u=t.length+1;o=sL(r-c,u,c==0),Lu(r/u)>2147483647-i&&e1("overflow"),i+=Lu(r/u),r%=u,t.splice(r++,0,i)}var s;return String.fromCodePoint(...t)},cL=function(e){let t=[],n=(e=Ete(e)).length,r=128,i=0,o=72;for(let l of e)l<128&&t.push(lR(l));let a=t.length,s=a;for(a&&t.push("-");s=r&&uLu((2147483647-i)/c)&&e1("overflow"),i+=(l-r)*c,r=l;for(let u of e)if(u2147483647&&e1("overflow"),u==r){let d=i;for(let f=36;;f+=36){let h=f<=o?1:f>=o+26?26:f-o;if(dString.fromCodePoint(...e)},decode:lL,encode:cL,toASCII:function(e){return Ste(e,function(t){return wte.test(t)?"xn--"+cL(t):t})},toUnicode:function(e){return Ste(e,function(t){return Cte.test(t)?lL(t.slice(4).toLowerCase()):t})}},Zh.decode,Zh.encode,Zh.toASCII,Zh.toUnicode,Zh.ucs2,Zh.version});function oHe(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var Tte,q0,xte,Zd,aHe=ls(()=>{Jt(),tn(),en(),Tte=function(e,t,n,r){t=t||"&",n=n||"=";var i={};if(typeof e!="string"||e.length===0)return i;var o=/\+/g;e=e.split(t);var a=1e3;r&&typeof r.maxKeys=="number"&&(a=r.maxKeys);var s=e.length;a>0&&s>a&&(s=a);for(var l=0;l=0?(c=h.substr(0,m),u=h.substr(m+1)):(c=h,u=""),d=decodeURIComponent(c),f=decodeURIComponent(u),oHe(i,d)?Array.isArray(i[d])?i[d].push(f):i[d]=[i[d],f]:i[d]=f}return i},q0=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},xte=function(e,t,n,r){return t=t||"&",n=n||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(i){var o=encodeURIComponent(q0(i))+n;return Array.isArray(e[i])?e[i].map(function(a){return o+encodeURIComponent(q0(a))}).join(t):o+encodeURIComponent(q0(e[i]))}).join(t):r?encodeURIComponent(q0(r))+n+encodeURIComponent(q0(e)):""},Zd={},Zd.decode=Zd.parse=Tte,Zd.encode=Zd.stringify=xte,Zd.decode,Zd.encode,Zd.parse,Zd.stringify});function $j(){throw new Error("setTimeout has not been defined")}function Fj(){throw new Error("clearTimeout has not been defined")}function Pbe(e){if(Op===setTimeout)return setTimeout(e,0);if((Op===$j||!Op)&&setTimeout)return Op=setTimeout,setTimeout(e,0);try{return Op(e,0)}catch{try{return Op.call(null,e,0)}catch{return Op.call(this||av,e,0)}}}function sHe(){sv&&L1&&(sv=!1,L1.length?yf=L1.concat(yf):iw=-1,yf.length&&Dbe())}function Dbe(){if(!sv){var e=Pbe(sHe);sv=!0;for(var t=yf.length;t;){for(L1=yf,yf=[];++iw{Jt(),tn(),en(),av=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global,Lo=Rte={},function(){try{Op=typeof setTimeout=="function"?setTimeout:$j}catch{Op=$j}try{Rp=typeof clearTimeout=="function"?clearTimeout:Fj}catch{Rp=Fj}}(),yf=[],sv=!1,iw=-1,Lo.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n1)for(var y=1;y{Jt(),tn(),en(),EA={},Bj=!1,v1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:global,mo=cHe(),mo.platform="browser",mo.addListener,mo.argv,mo.binding,mo.browser,mo.chdir,mo.cwd,mo.emit,mo.env,mo.listeners,mo.nextTick,mo.off,mo.on,mo.once,mo.prependListener,mo.prependOnceListener,mo.removeAllListeners,mo.removeListener,mo.title,mo.umask,mo.version,mo.versions});function uHe(){if(jj)return CA;jj=!0;var e=mo;function t(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function n(o,a){for(var s="",l=0,c=-1,u=0,d,f=0;f<=o.length;++f){if(f2){var h=s.lastIndexOf("/");if(h!==s.length-1){h===-1?(s="",l=0):(s=s.slice(0,h),l=s.length-1-s.lastIndexOf("/")),c=f,u=0;continue}}else if(s.length===2||s.length===1){s="",l=0,c=f,u=0;continue}}a&&(s.length>0?s+="/..":s="..",l=2)}else s.length>0?s+="/"+o.slice(c+1,f):s=o.slice(c+1,f),l=f-c-1;c=f,u=0}else d===46&&u!==-1?++u:u=-1}return s}function r(o,a){var s=a.dir||a.root,l=a.base||(a.name||"")+(a.ext||"");return s?s===a.root?s+l:s+o+l:l}var i={resolve:function(){for(var o="",a=!1,s,l=arguments.length-1;l>=-1&&!a;l--){var c;l>=0?c=arguments[l]:(s===void 0&&(s=e.cwd()),c=s),t(c),c.length!==0&&(o=c+"/"+o,a=c.charCodeAt(0)===47)}return o=n(o,!a),a?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(o){if(t(o),o.length===0)return".";var a=o.charCodeAt(0)===47,s=o.charCodeAt(o.length-1)===47;return o=n(o,!a),o.length===0&&!a&&(o="."),o.length>0&&s&&(o+="/"),a?"/"+o:o},isAbsolute:function(o){return t(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,a=0;a0&&(o===void 0?o=s:o+="/"+s)}return o===void 0?".":i.normalize(o)},relative:function(o,a){if(t(o),t(a),o===a||(o=i.resolve(o),a=i.resolve(a),o===a))return"";for(var s=1;sh){if(a.charCodeAt(u+g)===47)return a.slice(u+g+1);if(g===0)return a.slice(u+g)}else c>h&&(o.charCodeAt(s+g)===47?m=g:g===0&&(m=0));break}var v=o.charCodeAt(s+g),y=a.charCodeAt(u+g);if(v!==y)break;v===47&&(m=g)}var b="";for(g=s+m+1;g<=l;++g)(g===l||o.charCodeAt(g)===47)&&(b.length===0?b+="..":b+="/..");return b.length>0?b+a.slice(u+m):(u+=m,a.charCodeAt(u)===47&&++u,a.slice(u))},_makeLong:function(o){return o},dirname:function(o){if(t(o),o.length===0)return".";for(var a=o.charCodeAt(0),s=a===47,l=-1,c=!0,u=o.length-1;u>=1;--u)if(a=o.charCodeAt(u),a===47){if(!c){l=u;break}}else c=!1;return l===-1?s?"/":".":s&&l===1?"//":o.slice(0,l)},basename:function(o,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');t(o);var s=0,l=-1,c=!0,u;if(a!==void 0&&a.length>0&&a.length<=o.length){if(a.length===o.length&&a===o)return"";var d=a.length-1,f=-1;for(u=o.length-1;u>=0;--u){var h=o.charCodeAt(u);if(h===47){if(!c){s=u+1;break}}else f===-1&&(c=!1,f=u+1),d>=0&&(h===a.charCodeAt(d)?--d===-1&&(l=u):(d=-1,l=f))}return s===l?l=f:l===-1&&(l=o.length),o.slice(s,l)}else{for(u=o.length-1;u>=0;--u)if(o.charCodeAt(u)===47){if(!c){s=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":o.slice(s,l)}},extname:function(o){t(o);for(var a=-1,s=0,l=-1,c=!0,u=0,d=o.length-1;d>=0;--d){var f=o.charCodeAt(d);if(f===47){if(!c){s=d+1;break}continue}l===-1&&(c=!1,l=d+1),f===46?a===-1?a=d:u!==1&&(u=1):a!==-1&&(u=-1)}return a===-1||l===-1||u===0||u===1&&a===l-1&&a===s+1?"":o.slice(a,l)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return r("/",o)},parse:function(o){t(o);var a={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return a;var s=o.charCodeAt(0),l=s===47,c;l?(a.root="/",c=1):c=0;for(var u=-1,d=0,f=-1,h=!0,m=o.length-1,g=0;m>=c;--m){if(s=o.charCodeAt(m),s===47){if(!h){d=m+1;break}continue}f===-1&&(h=!1,f=m+1),s===46?u===-1?u=m:g!==1&&(g=1):u!==-1&&(g=-1)}return u===-1||f===-1||g===0||g===1&&u===f-1&&u===d+1?f!==-1&&(d===0&&l?a.base=a.name=o.slice(1,f):a.base=a.name=o.slice(d,f)):(d===0&&l?(a.name=o.slice(1,u),a.base=o.slice(1,f)):(a.name=o.slice(d,u),a.base=o.slice(d,f)),a.ext=o.slice(u,f)),d>0?a.dir=o.slice(0,d-1):l&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,CA=i,CA}var CA,jj,Hj,dHe=ls(()=>{Jt(),tn(),en(),Lbe(),CA={},jj=!1,Hj=uHe()}),$be={};h0($be,{URL:()=>tye,Url:()=>Qbe,default:()=>Ai,fileURLToPath:()=>Fbe,format:()=>Xbe,parse:()=>eye,pathToFileURL:()=>Bbe,resolve:()=>Zbe,resolveObject:()=>Jbe});function Uc(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function RE(e,t,n){if(e&&Bu.isObject(e)&&e instanceof Uc)return e;var r=new Uc;return r.parse(e,t,n),r}function fHe(){if(Uj)return wA;Uj=!0;var e=xo;function t(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function n(o,a){for(var s="",l=0,c=-1,u=0,d,f=0;f<=o.length;++f){if(f2){var h=s.lastIndexOf("/");if(h!==s.length-1){h===-1?(s="",l=0):(s=s.slice(0,h),l=s.length-1-s.lastIndexOf("/")),c=f,u=0;continue}}else if(s.length===2||s.length===1){s="",l=0,c=f,u=0;continue}}a&&(s.length>0?s+="/..":s="..",l=2)}else s.length>0?s+="/"+o.slice(c+1,f):s=o.slice(c+1,f),l=f-c-1;c=f,u=0}else d===46&&u!==-1?++u:u=-1}return s}function r(o,a){var s=a.dir||a.root,l=a.base||(a.name||"")+(a.ext||"");return s?s===a.root?s+l:s+o+l:l}var i={resolve:function(){for(var o="",a=!1,s,l=arguments.length-1;l>=-1&&!a;l--){var c;l>=0?c=arguments[l]:(s===void 0&&(s=e.cwd()),c=s),t(c),c.length!==0&&(o=c+"/"+o,a=c.charCodeAt(0)===47)}return o=n(o,!a),a?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(o){if(t(o),o.length===0)return".";var a=o.charCodeAt(0)===47,s=o.charCodeAt(o.length-1)===47;return o=n(o,!a),o.length===0&&!a&&(o="."),o.length>0&&s&&(o+="/"),a?"/"+o:o},isAbsolute:function(o){return t(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,a=0;a0&&(o===void 0?o=s:o+="/"+s)}return o===void 0?".":i.normalize(o)},relative:function(o,a){if(t(o),t(a),o===a||(o=i.resolve(o),a=i.resolve(a),o===a))return"";for(var s=1;sh){if(a.charCodeAt(u+g)===47)return a.slice(u+g+1);if(g===0)return a.slice(u+g)}else c>h&&(o.charCodeAt(s+g)===47?m=g:g===0&&(m=0));break}var v=o.charCodeAt(s+g),y=a.charCodeAt(u+g);if(v!==y)break;v===47&&(m=g)}var b="";for(g=s+m+1;g<=l;++g)(g===l||o.charCodeAt(g)===47)&&(b.length===0?b+="..":b+="/..");return b.length>0?b+a.slice(u+m):(u+=m,a.charCodeAt(u)===47&&++u,a.slice(u))},_makeLong:function(o){return o},dirname:function(o){if(t(o),o.length===0)return".";for(var a=o.charCodeAt(0),s=a===47,l=-1,c=!0,u=o.length-1;u>=1;--u)if(a=o.charCodeAt(u),a===47){if(!c){l=u;break}}else c=!1;return l===-1?s?"/":".":s&&l===1?"//":o.slice(0,l)},basename:function(o,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');t(o);var s=0,l=-1,c=!0,u;if(a!==void 0&&a.length>0&&a.length<=o.length){if(a.length===o.length&&a===o)return"";var d=a.length-1,f=-1;for(u=o.length-1;u>=0;--u){var h=o.charCodeAt(u);if(h===47){if(!c){s=u+1;break}}else f===-1&&(c=!1,f=u+1),d>=0&&(h===a.charCodeAt(d)?--d===-1&&(l=u):(d=-1,l=f))}return s===l?l=f:l===-1&&(l=o.length),o.slice(s,l)}else{for(u=o.length-1;u>=0;--u)if(o.charCodeAt(u)===47){if(!c){s=u+1;break}}else l===-1&&(c=!1,l=u+1);return l===-1?"":o.slice(s,l)}},extname:function(o){t(o);for(var a=-1,s=0,l=-1,c=!0,u=0,d=o.length-1;d>=0;--d){var f=o.charCodeAt(d);if(f===47){if(!c){s=d+1;break}continue}l===-1&&(c=!1,l=d+1),f===46?a===-1?a=d:u!==1&&(u=1):a!==-1&&(u=-1)}return a===-1||l===-1||u===0||u===1&&a===l-1&&a===s+1?"":o.slice(a,l)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return r("/",o)},parse:function(o){t(o);var a={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return a;var s=o.charCodeAt(0),l=s===47,c;l?(a.root="/",c=1):c=0;for(var u=-1,d=0,f=-1,h=!0,m=o.length-1,g=0;m>=c;--m){if(s=o.charCodeAt(m),s===47){if(!h){d=m+1;break}continue}f===-1&&(h=!1,f=m+1),s===46?u===-1?u=m:g!==1&&(g=1):u!==-1&&(g=-1)}return u===-1||f===-1||g===0||g===1&&u===f-1&&u===d+1?f!==-1&&(d===0&&l?a.base=a.name=o.slice(1,f):a.base=a.name=o.slice(d,f)):(d===0&&l?(a.name=o.slice(1,u),a.base=o.slice(1,f)):(a.name=o.slice(d,u),a.base=o.slice(d,f)),a.ext=o.slice(u,f)),d>0?a.dir=o.slice(0,d-1):l&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,wA=i,wA}function pHe(e){if(typeof e=="string")e=new URL(e);else if(!(e instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(e.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return cM?hHe(e):mHe(e)}function hHe(e){let t=e.hostname,n=e.pathname;for(let r=0;rzbe||i!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return n.slice(1)}}function mHe(e){if(e.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let n=0;noye||i!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return n.slice(1)}}function bHe(e){if(e.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let n=0;n{Jt(),tn(),en(),iHe(),aHe(),lHe(),dHe(),Lbe(),Ai={},Ite=Zh,Bu={isString:function(e){return typeof e=="string"},isObject:function(e){return typeof e=="object"&&e!==null},isNull:function(e){return e===null},isNullOrUndefined:function(e){return e==null}},Ai.parse=RE,Ai.resolve=function(e,t){return RE(e,!1,!0).resolve(t)},Ai.resolveObject=function(e,t){return e?RE(e,!1,!0).resolveObject(t):t},Ai.format=function(e){return Bu.isString(e)&&(e=RE(e)),e instanceof Uc?e.format():Uc.prototype.format.call(e)},Ai.Url=Uc,Ate=/^([a-z0-9.+-]+:)/i,Nte=/:[0-9]*$/,Mte=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,kte=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` -`," "]),cR=["'"].concat(kte),uL=["%","/","?",";","#"].concat(cR),dL=["/","?","#"],fL=/^[+a-z0-9A-Z_-]{0,63}$/,Pte=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Dte={javascript:!0,"javascript:":!0},uR={javascript:!0,"javascript:":!0},t1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},dR=Zd,Uc.prototype.parse=function(e,t,n){if(!Bu.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=r!==-1&&r127?E+="x":E+=_[C];if(!E.match(fL)){var w=y.slice(0,m),T=y.slice(m+1),O=_.match(Pte);O&&(w.push(O[1]),T.unshift(O[2])),T.length&&(a="/"+T.join(".")+a),this.hostname=w.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),v||(this.hostname=Ite.toASCII(this.hostname));var x=this.port?":"+this.port:"",A=this.hostname||"";this.host=A+x,this.href+=this.host,v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),a[0]!=="/"&&(a="/"+a))}if(!Dte[c])for(m=0,b=cR.length;m0)&&n.host.split("@"))&&(n.auth=O.shift(),n.host=n.hostname=O.shift())),n.search=e.search,n.query=e.query,Bu.isNull(n.pathname)&&Bu.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=_.slice(-1)[0],S=(n.host||e.host||_.length>1)&&(C==="."||C==="..")||C==="",w=0,T=_.length;T>=0;T--)(C=_[T])==="."?_.splice(T,1):C===".."?(_.splice(T,1),w++):w&&(_.splice(T,1),w--);if(!y&&!b)for(;w--;w)_.unshift("..");!y||_[0]===""||_[0]&&_[0].charAt(0)==="/"||_.unshift(""),S&&_.join("/").substr(-1)!=="/"&&_.push("");var O,x=_[0]===""||_[0]&&_[0].charAt(0)==="/";return E&&(n.hostname=n.host=x?"":_.length?_.shift():"",(O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=O.shift(),n.host=n.hostname=O.shift())),(y=y||n.host&&_.length)&&!x&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),Bu.isNull(n.pathname)&&Bu.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},Uc.prototype.parseHost=function(){var e=this.host,t=Nte.exec(e);t&&((t=t[0])!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},Ai.Url,Ai.format,Ai.resolve,Ai.resolveObject,wA={},Uj=!1,zj=fHe(),Lte=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0,Ai.URL=typeof URL<"u"?URL:null,Ai.pathToFileURL=gHe,Ai.fileURLToPath=pHe,Ai.Url,Ai.format,Ai.resolve,Ai.resolveObject,Ai.URL,jbe=92,Hbe=47,Ube=97,zbe=122,cM=Lte==="win32",Vbe=/\//g,Gbe=/%/g,Wbe=/\\/g,qbe=/\n/g,Ybe=/\r/g,Kbe=/\t/g,$te=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0,Ai.URL=typeof URL<"u"?URL:null,Ai.pathToFileURL=Bbe,Ai.fileURLToPath=Fbe,Qbe=Ai.Url,Xbe=Ai.format,Zbe=Ai.resolve,Jbe=Ai.resolveObject,eye=Ai.parse,tye=Ai.URL,nye=92,rye=47,iye=97,oye=122,uM=$te==="win32",aye=/\//g,sye=/%/g,lye=/\\/g,cye=/\n/g,uye=/\r/g,dye=/\t/g}),_He=sn((e,t)=>{Jt(),tn(),en(),t.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}}),TW=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0}),e.BufferedDuplex=e.writev=void 0;var t=v0(),n=(us(),Hi(cs));function r(o,a){let s=new Array(o.length);for(let l=0;l{this.destroyed||this.push(l)})}_read(o){this.proxy.read(o)}_write(o,a,s){this.isSocketOpen?this.writeToProxy(o,a,s):this.writeQueue.push({chunk:o,encoding:a,cb:s})}_final(o){this.writeQueue=[],this.proxy.end(o)}_destroy(o,a){this.writeQueue=[],this.proxy.destroy(),a(o)}socketReady(){this.emit("connect"),this.isSocketOpen=!0,this.processWriteQueue()}writeToProxy(o,a,s){this.proxy.write(o,a)===!1?this.proxy.once("drain",s):s()}processWriteQueue(){for(;this.writeQueue.length>0;){let{chunk:o,encoding:a,cb:s}=this.writeQueue.shift();this.writeToProxy(o,a,s)}}};e.BufferedDuplex=i}),fR=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(e,"__esModule",{value:!0}),e.streamBuilder=e.browserStreamBuilder=void 0;var n=(us(),Hi(cs)),r=t(_He()),i=t(ah()),o=v0(),a=t(G5()),s=TW(),l=(0,i.default)("mqttjs:ws"),c=["rejectUnauthorized","ca","cert","key","pfx","passphrase"];function u(y,b){let _=`${y.protocol}://${y.hostname}:${y.port}${y.path}`;return typeof y.transformWsUrl=="function"&&(_=y.transformWsUrl(_,y,b)),_}function d(y){let b=y;return y.port||(y.protocol==="wss"?b.port=443:b.port=80),y.path||(b.path="/"),y.wsOptions||(b.wsOptions={}),!a.default&&!y.forceNativeWebSocket&&y.protocol==="wss"&&c.forEach(_=>{Object.prototype.hasOwnProperty.call(y,_)&&!Object.prototype.hasOwnProperty.call(y.wsOptions,_)&&(b.wsOptions[_]=y[_])}),b}function f(y){let b=d(y);if(b.hostname||(b.hostname=b.host),!b.hostname){if(typeof document>"u")throw new Error("Could not determine host. Specify host manually.");let _=new URL(document.URL);b.hostname=_.hostname,b.port||(b.port=Number(_.port))}return b.objectMode===void 0&&(b.objectMode=!(b.binary===!0||b.binary===void 0)),b}function h(y,b,_){l("createWebSocket"),l(`protocol: ${_.protocolId} ${_.protocolVersion}`);let E=_.protocolId==="MQIsdp"&&_.protocolVersion===3?"mqttv3.1":"mqtt";l(`creating new Websocket for url: ${b} and protocol: ${E}`);let C;return _.createWebsocket?C=_.createWebsocket(b,[E],_):C=new r.default(b,[E],_.wsOptions),C}function m(y,b){let _=b.protocolId==="MQIsdp"&&b.protocolVersion===3?"mqttv3.1":"mqtt",E=u(b,y),C;return b.createWebsocket?C=b.createWebsocket(E,[_],b):C=new WebSocket(E,[_]),C.binaryType="arraybuffer",C}var g=(y,b)=>{l("streamBuilder");let _=d(b);_.hostname=_.hostname||_.host||"localhost";let E=u(_,y),C=h(y,E,_),S=r.default.createWebSocketStream(C,_.wsOptions);return S.url=E,C.on("close",()=>{S.destroy()}),S};e.streamBuilder=g;var v=(y,b)=>{l("browserStreamBuilder");let _,E=f(b).browserBufferSize||1024*512,C=b.browserBufferTimeout||1e3,S=!b.objectMode,w=m(y,b),T=x(b,P,k);b.objectMode||(T._writev=s.writev.bind(T)),T.on("close",()=>{w.close()});let O=typeof w.addEventListener<"u";w.readyState===w.OPEN?(_=T,_.socket=w):(_=new s.BufferedDuplex(b,T,w),O?w.addEventListener("open",A):w.onopen=A),O?(w.addEventListener("close",I),w.addEventListener("error",M),w.addEventListener("message",B)):(w.onclose=I,w.onerror=M,w.onmessage=B);function x(N,L,V){let $=new o.Transform({objectMode:N.objectMode});return $._write=L,$._flush=V,$}function A(){l("WebSocket onOpen"),_ instanceof s.BufferedDuplex&&_.socketReady()}function I(N){l("WebSocket onClose",N),_.end(),_.destroy()}function M(N){l("WebSocket onError",N);let L=new Error("WebSocket error");L.event=N,_.destroy(L)}async function B(N){let{data:L}=N;L instanceof ArrayBuffer?L=n.Buffer.from(L):L instanceof Blob?L=n.Buffer.from(await new Response(L).arrayBuffer()):L=n.Buffer.from(L,"utf8"),T&&!T.destroyed&&T.push(L)}function P(N,L,V){if(w.bufferedAmount>E){setTimeout(P,C,N,L,V);return}S&&typeof N=="string"&&(N=n.Buffer.from(N,"utf8"));try{w.send(N)}catch($){return V($)}V()}function k(N){w.close(),N()}return _};e.browserStreamBuilder=v}),xW={};h0(xW,{Server:()=>vo,Socket:()=>vo,Stream:()=>vo,_createServerHandle:()=>vo,_normalizeArgs:()=>vo,_setSimultaneousAccepts:()=>vo,connect:()=>vo,createConnection:()=>vo,createServer:()=>vo,default:()=>fye,isIP:()=>vo,isIPv4:()=>vo,isIPv6:()=>vo});function vo(){throw new Error("Node.js net module is not supported by JSPM core outside of Node.js")}var fye,pye=ls(()=>{Jt(),tn(),en(),fye={_createServerHandle:vo,_normalizeArgs:vo,_setSimultaneousAccepts:vo,connect:vo,createConnection:vo,createServer:vo,isIP:vo,isIPv4:vo,isIPv6:vo,Server:vo,Socket:vo,Stream:vo}}),Fte=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var n=t((pye(),Hi(xW))),r=t(ah()),i=(0,r.default)("mqttjs:tcp"),o=(a,s)=>{s.port=s.port||1883,s.hostname=s.hostname||s.host||"localhost";let{port:l,path:c}=s,u=s.hostname;return i("port %d and host %s",l,u),n.default.createConnection({port:l,host:u,path:c})};e.default=o}),hye={};h0(hye,{default:()=>mye});var mye,SHe=ls(()=>{Jt(),tn(),en(),mye={}}),Bte=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0});var n=t((SHe(),Hi(hye))),r=t((pye(),Hi(xW))),i=t(ah()),o=(0,i.default)("mqttjs:tls"),a=(s,l)=>{l.port=l.port||8883,l.host=l.hostname||l.host||"localhost",r.default.isIP(l.host)===0&&(l.servername=l.host),l.rejectUnauthorized=l.rejectUnauthorized!==!1,delete l.path,o("port %d host %s rejectUnauthorized %b",l.port,l.host,l.rejectUnauthorized);let c=n.default.connect(l);c.on("secureConnect",()=>{l.rejectUnauthorized&&!c.authorized?c.emit("error",new Error("TLS not authorized")):c.removeListener("error",u)});function u(d){l.rejectUnauthorized&&s.emit("error",d),c.end()}return c.on("error",u),c};e.default=a}),jte=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=(us(),Hi(cs)),n=v0(),r=TW(),i,o,a;function s(){let f=new n.Transform;return f._write=(h,m,g)=>{i.send({data:h.buffer,success(){g()},fail(v){g(new Error(v))}})},f._flush=h=>{i.close({success(){h()}})},f}function l(f){f.hostname||(f.hostname="localhost"),f.path||(f.path="/"),f.wsOptions||(f.wsOptions={})}function c(f,h){let m=f.protocol==="wxs"?"wss":"ws",g=`${m}://${f.hostname}${f.path}`;return f.port&&f.port!==80&&f.port!==443&&(g=`${m}://${f.hostname}:${f.port}${f.path}`),typeof f.transformWsUrl=="function"&&(g=f.transformWsUrl(g,f,h)),g}function u(){i.onOpen(()=>{a.socketReady()}),i.onMessage(f=>{let{data:h}=f;h instanceof ArrayBuffer?h=t.Buffer.from(h):h=t.Buffer.from(h,"utf8"),o.push(h)}),i.onClose(()=>{a.emit("close"),a.end(),a.destroy()}),i.onError(f=>{let h=new Error(f.errMsg);a.destroy(h)})}var d=(f,h)=>{if(h.hostname=h.hostname||h.host,!h.hostname)throw new Error("Could not determine host. Specify host manually.");let m=h.protocolId==="MQIsdp"&&h.protocolVersion===3?"mqttv3.1":"mqtt";l(h);let g=c(h,f);i=wx.connectSocket({url:g,protocols:[m]}),o=s(),a=new r.BufferedDuplex(h,o,i),a._destroy=(y,b)=>{i.close({success(){b&&b(y)}})};let v=a.destroy;return a.destroy=(y,b)=>(a.destroy=v,setTimeout(()=>{i.close({fail(){a._destroy(y,b)}})},0),a),u(),a};e.default=d}),Hte=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=(us(),Hi(cs)),n=v0(),r=TW(),i,o,a,s=!1;function l(){let h=new n.Transform;return h._write=(m,g,v)=>{i.sendSocketMessage({data:m.buffer,success(){v()},fail(){v(new Error)}})},h._flush=m=>{i.closeSocket({success(){m()}})},h}function c(h){h.hostname||(h.hostname="localhost"),h.path||(h.path="/"),h.wsOptions||(h.wsOptions={})}function u(h,m){let g=h.protocol==="alis"?"wss":"ws",v=`${g}://${h.hostname}${h.path}`;return h.port&&h.port!==80&&h.port!==443&&(v=`${g}://${h.hostname}:${h.port}${h.path}`),typeof h.transformWsUrl=="function"&&(v=h.transformWsUrl(v,h,m)),v}function d(){s||(s=!0,i.onSocketOpen(()=>{a.socketReady()}),i.onSocketMessage(h=>{if(typeof h.data=="string"){let m=t.Buffer.from(h.data,"base64");o.push(m)}else{let m=new FileReader;m.addEventListener("load",()=>{let g=m.result;g instanceof ArrayBuffer?g=t.Buffer.from(g):g=t.Buffer.from(g,"utf8"),o.push(g)}),m.readAsArrayBuffer(h.data)}}),i.onSocketClose(()=>{a.end(),a.destroy()}),i.onSocketError(h=>{a.destroy(h)}))}var f=(h,m)=>{if(m.hostname=m.hostname||m.host,!m.hostname)throw new Error("Could not determine host. Specify host manually.");let g=m.protocolId==="MQIsdp"&&m.protocolVersion===3?"mqttv3.1":"mqtt";c(m);let v=u(m,h);return i=m.my,i.connectSocket({url:v,protocols:g}),o=l(),a=new r.BufferedDuplex(m,o,i),d(),a};e.default=f}),EHe=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.connectAsync=void 0;var n=t(ah()),r=t((yHe(),Hi($be))),i=t(Dj()),o=t(G5());typeof(_i==null?void 0:_i.nextTick)!="function"&&(_i.nextTick=setImmediate);var a=(0,n.default)("mqttjs"),s=null;function l(d){let f;d.auth&&(f=d.auth.match(/^(.+):(.+)$/),f?(d.username=f[1],d.password=f[2]):d.username=d.auth)}function c(d,f){var h,m,g,v;if(a("connecting to an MQTT broker..."),typeof d=="object"&&!f&&(f=d,d=""),f=f||{},d&&typeof d=="string"){let _=r.default.parse(d,!0),E={};if(_.port!=null&&(E.port=Number(_.port)),E.host=_.hostname,E.query=_.query,E.auth=_.auth,E.protocol=_.protocol,E.path=_.path,E.protocol=(h=E.protocol)===null||h===void 0?void 0:h.replace(/:$/,""),f=Object.assign(Object.assign({},E),f),!f.protocol)throw new Error("Missing protocol")}if(f.unixSocket=f.unixSocket||((m=f.protocol)===null||m===void 0?void 0:m.includes("+unix")),f.unixSocket?f.protocol=f.protocol.replace("+unix",""):!(!((g=f.protocol)===null||g===void 0)&&g.startsWith("ws"))&&!(!((v=f.protocol)===null||v===void 0)&&v.startsWith("wx"))&&delete f.path,l(f),f.query&&typeof f.query.clientId=="string"&&(f.clientId=f.query.clientId),f.cert&&f.key)if(f.protocol){if(["mqtts","wss","wxs","alis"].indexOf(f.protocol)===-1)switch(f.protocol){case"mqtt":f.protocol="mqtts";break;case"ws":f.protocol="wss";break;case"wx":f.protocol="wxs";break;case"ali":f.protocol="alis";break;default:throw new Error(`Unknown protocol for secure connection: "${f.protocol}"!`)}}else throw new Error("Missing secure protocol key");if(s||(s={},!o.default&&!f.forceNativeWebSocket?(s.ws=fR().streamBuilder,s.wss=fR().streamBuilder,s.mqtt=Fte().default,s.tcp=Fte().default,s.ssl=Bte().default,s.tls=s.ssl,s.mqtts=Bte().default):(s.ws=fR().browserStreamBuilder,s.wss=fR().browserStreamBuilder,s.wx=jte().default,s.wxs=jte().default,s.ali=Hte().default,s.alis=Hte().default)),!s[f.protocol]){let _=["mqtts","wss"].indexOf(f.protocol)!==-1;f.protocol=["mqtt","mqtts","ws","wss","wx","wxs","ali","alis"].filter((E,C)=>_&&C%2===0?!1:typeof s[E]=="function")[0]}if(f.clean===!1&&!f.clientId)throw new Error("Missing clientId for unclean clients");f.protocol&&(f.defaultProtocol=f.protocol);function y(_){return f.servers&&((!_._reconnectCount||_._reconnectCount===f.servers.length)&&(_._reconnectCount=0),f.host=f.servers[_._reconnectCount].host,f.port=f.servers[_._reconnectCount].port,f.protocol=f.servers[_._reconnectCount].protocol?f.servers[_._reconnectCount].protocol:f.defaultProtocol,f.hostname=f.host,_._reconnectCount++),a("calling streambuilder for",f.protocol),s[f.protocol](_,f)}let b=new i.default(y,f);return b.on("error",()=>{}),b}function u(d,f,h=!0){return new Promise((m,g)=>{let v=c(d,f),y={connect:_=>{b(),m(v)},end:()=>{b(),m(v)},error:_=>{b(),v.end(),g(_)}};h===!1&&(y.close=()=>{y.error(new Error("Couldn't connect to server"))});function b(){Object.keys(y).forEach(_=>{v.off(_,y[_])})}Object.keys(y).forEach(_=>{v.on(_,y[_])})})}e.connectAsync=u,e.default=c}),Ute=sn(e=>{Jt(),tn(),en();var t=e&&e.__createBinding||(Object.create?function(h,m,g,v){v===void 0&&(v=g);var y=Object.getOwnPropertyDescriptor(m,g);(!y||("get"in y?!m.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return m[g]}}),Object.defineProperty(h,v,y)}:function(h,m,g,v){v===void 0&&(v=g),h[v]=m[g]}),n=e&&e.__setModuleDefault||(Object.create?function(h,m){Object.defineProperty(h,"default",{enumerable:!0,value:m})}:function(h,m){h.default=m}),r=e&&e.__importStar||function(h){if(h&&h.__esModule)return h;var m={};if(h!=null)for(var g in h)g!=="default"&&Object.prototype.hasOwnProperty.call(h,g)&&t(m,h,g);return n(m,h),m},i=e&&e.__exportStar||function(h,m){for(var g in h)g!=="default"&&!Object.prototype.hasOwnProperty.call(m,g)&&t(m,h,g)},o=e&&e.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=e.KeepaliveManager=e.UniqueMessageIdProvider=e.DefaultMessageIdProvider=e.Store=e.MqttClient=e.connectAsync=e.connect=e.Client=void 0;var a=o(Dj());e.MqttClient=a.default;var s=o(hbe());e.DefaultMessageIdProvider=s.default;var l=o(rHe());e.UniqueMessageIdProvider=l.default;var c=o(mbe());e.Store=c.default;var u=r(EHe());e.connect=u.default,Object.defineProperty(e,"connectAsync",{enumerable:!0,get:function(){return u.connectAsync}});var d=o(Nbe());e.KeepaliveManager=d.default,e.Client=a.default,i(Dj(),e),i(sS(),e);var f=V5();Object.defineProperty(e,"ReasonCodes",{enumerable:!0,get:function(){return f.ReasonCodes}})}),CHe=sn(e=>{Jt(),tn(),en();var t=e&&e.__createBinding||(Object.create?function(a,s,l,c){c===void 0&&(c=l);var u=Object.getOwnPropertyDescriptor(s,l);(!u||("get"in u?!s.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return s[l]}}),Object.defineProperty(a,c,u)}:function(a,s,l,c){c===void 0&&(c=l),a[c]=s[l]}),n=e&&e.__setModuleDefault||(Object.create?function(a,s){Object.defineProperty(a,"default",{enumerable:!0,value:s})}:function(a,s){a.default=s}),r=e&&e.__importStar||function(a){if(a&&a.__esModule)return a;var s={};if(a!=null)for(var l in a)l!=="default"&&Object.prototype.hasOwnProperty.call(a,l)&&t(s,a,l);return n(s,a),s},i=e&&e.__exportStar||function(a,s){for(var l in a)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,a,l)};Object.defineProperty(e,"__esModule",{value:!0});var o=r(Ute());e.default=o,i(Ute(),e)});const wHe=CHe();/*! Bundled license information: +`," "]),cR=["'"].concat(kte),uL=["%","/","?",";","#"].concat(cR),dL=["/","?","#"],fL=/^[+a-z0-9A-Z_-]{0,63}$/,Pte=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Dte={javascript:!0,"javascript:":!0},uR={javascript:!0,"javascript:":!0},t1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},dR=Zd,Uc.prototype.parse=function(e,t,n){if(!Bu.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=r!==-1&&r127?E+="x":E+=_[C];if(!E.match(fL)){var w=y.slice(0,m),T=y.slice(m+1),O=_.match(Pte);O&&(w.push(O[1]),T.unshift(O[2])),T.length&&(a="/"+T.join(".")+a),this.hostname=w.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),v||(this.hostname=Ite.toASCII(this.hostname));var x=this.port?":"+this.port:"",A=this.hostname||"";this.host=A+x,this.href+=this.host,v&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),a[0]!=="/"&&(a="/"+a))}if(!Dte[c])for(m=0,b=cR.length;m0)&&n.host.split("@"))&&(n.auth=O.shift(),n.host=n.hostname=O.shift())),n.search=e.search,n.query=e.query,Bu.isNull(n.pathname)&&Bu.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!_.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var C=_.slice(-1)[0],S=(n.host||e.host||_.length>1)&&(C==="."||C==="..")||C==="",w=0,T=_.length;T>=0;T--)(C=_[T])==="."?_.splice(T,1):C===".."?(_.splice(T,1),w++):w&&(_.splice(T,1),w--);if(!y&&!b)for(;w--;w)_.unshift("..");!y||_[0]===""||_[0]&&_[0].charAt(0)==="/"||_.unshift(""),S&&_.join("/").substr(-1)!=="/"&&_.push("");var O,x=_[0]===""||_[0]&&_[0].charAt(0)==="/";return E&&(n.hostname=n.host=x?"":_.length?_.shift():"",(O=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=O.shift(),n.host=n.hostname=O.shift())),(y=y||n.host&&_.length)&&!x&&_.unshift(""),_.length?n.pathname=_.join("/"):(n.pathname=null,n.path=null),Bu.isNull(n.pathname)&&Bu.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},Uc.prototype.parseHost=function(){var e=this.host,t=Nte.exec(e);t&&((t=t[0])!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},Ai.Url,Ai.format,Ai.resolve,Ai.resolveObject,wA={},Uj=!1,zj=fHe(),Lte=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0,Ai.URL=typeof URL<"u"?URL:null,Ai.pathToFileURL=gHe,Ai.fileURLToPath=pHe,Ai.Url,Ai.format,Ai.resolve,Ai.resolveObject,Ai.URL,jbe=92,Hbe=47,Ube=97,zbe=122,cM=Lte==="win32",Vbe=/\//g,Gbe=/%/g,Wbe=/\\/g,qbe=/\n/g,Ybe=/\r/g,Kbe=/\t/g,$te=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0,Ai.URL=typeof URL<"u"?URL:null,Ai.pathToFileURL=Bbe,Ai.fileURLToPath=Fbe,Qbe=Ai.Url,Xbe=Ai.format,Zbe=Ai.resolve,Jbe=Ai.resolveObject,eye=Ai.parse,tye=Ai.URL,nye=92,rye=47,iye=97,oye=122,uM=$te==="win32",aye=/\//g,sye=/%/g,lye=/\\/g,cye=/\n/g,uye=/\r/g,dye=/\t/g}),_He=sn((e,t)=>{Jt(),tn(),en(),t.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}}),TW=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0}),e.BufferedDuplex=e.writev=void 0;var t=v0(),n=(us(),Hi(cs));function r(o,a){let s=new Array(o.length);for(let l=0;l{this.destroyed||this.push(l)})}_read(o){this.proxy.read(o)}_write(o,a,s){this.isSocketOpen?this.writeToProxy(o,a,s):this.writeQueue.push({chunk:o,encoding:a,cb:s})}_final(o){this.writeQueue=[],this.proxy.end(o)}_destroy(o,a){this.writeQueue=[],this.proxy.destroy(),a(o)}socketReady(){this.emit("connect"),this.isSocketOpen=!0,this.processWriteQueue()}writeToProxy(o,a,s){this.proxy.write(o,a)===!1?this.proxy.once("drain",s):s()}processWriteQueue(){for(;this.writeQueue.length>0;){let{chunk:o,encoding:a,cb:s}=this.writeQueue.shift();this.writeToProxy(o,a,s)}}};e.BufferedDuplex=i}),fR=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(y){return y&&y.__esModule?y:{default:y}};Object.defineProperty(e,"__esModule",{value:!0}),e.streamBuilder=e.browserStreamBuilder=void 0;var n=(us(),Hi(cs)),r=t(_He()),i=t(ah()),o=v0(),a=t(GP()),s=TW(),l=(0,i.default)("mqttjs:ws"),c=["rejectUnauthorized","ca","cert","key","pfx","passphrase"];function u(y,b){let _=`${y.protocol}://${y.hostname}:${y.port}${y.path}`;return typeof y.transformWsUrl=="function"&&(_=y.transformWsUrl(_,y,b)),_}function d(y){let b=y;return y.port||(y.protocol==="wss"?b.port=443:b.port=80),y.path||(b.path="/"),y.wsOptions||(b.wsOptions={}),!a.default&&!y.forceNativeWebSocket&&y.protocol==="wss"&&c.forEach(_=>{Object.prototype.hasOwnProperty.call(y,_)&&!Object.prototype.hasOwnProperty.call(y.wsOptions,_)&&(b.wsOptions[_]=y[_])}),b}function f(y){let b=d(y);if(b.hostname||(b.hostname=b.host),!b.hostname){if(typeof document>"u")throw new Error("Could not determine host. Specify host manually.");let _=new URL(document.URL);b.hostname=_.hostname,b.port||(b.port=Number(_.port))}return b.objectMode===void 0&&(b.objectMode=!(b.binary===!0||b.binary===void 0)),b}function h(y,b,_){l("createWebSocket"),l(`protocol: ${_.protocolId} ${_.protocolVersion}`);let E=_.protocolId==="MQIsdp"&&_.protocolVersion===3?"mqttv3.1":"mqtt";l(`creating new Websocket for url: ${b} and protocol: ${E}`);let C;return _.createWebsocket?C=_.createWebsocket(b,[E],_):C=new r.default(b,[E],_.wsOptions),C}function m(y,b){let _=b.protocolId==="MQIsdp"&&b.protocolVersion===3?"mqttv3.1":"mqtt",E=u(b,y),C;return b.createWebsocket?C=b.createWebsocket(E,[_],b):C=new WebSocket(E,[_]),C.binaryType="arraybuffer",C}var g=(y,b)=>{l("streamBuilder");let _=d(b);_.hostname=_.hostname||_.host||"localhost";let E=u(_,y),C=h(y,E,_),S=r.default.createWebSocketStream(C,_.wsOptions);return S.url=E,C.on("close",()=>{S.destroy()}),S};e.streamBuilder=g;var v=(y,b)=>{l("browserStreamBuilder");let _,E=f(b).browserBufferSize||1024*512,C=b.browserBufferTimeout||1e3,S=!b.objectMode,w=m(y,b),T=x(b,P,k);b.objectMode||(T._writev=s.writev.bind(T)),T.on("close",()=>{w.close()});let O=typeof w.addEventListener<"u";w.readyState===w.OPEN?(_=T,_.socket=w):(_=new s.BufferedDuplex(b,T,w),O?w.addEventListener("open",A):w.onopen=A),O?(w.addEventListener("close",I),w.addEventListener("error",M),w.addEventListener("message",B)):(w.onclose=I,w.onerror=M,w.onmessage=B);function x(N,L,V){let $=new o.Transform({objectMode:N.objectMode});return $._write=L,$._flush=V,$}function A(){l("WebSocket onOpen"),_ instanceof s.BufferedDuplex&&_.socketReady()}function I(N){l("WebSocket onClose",N),_.end(),_.destroy()}function M(N){l("WebSocket onError",N);let L=new Error("WebSocket error");L.event=N,_.destroy(L)}async function B(N){let{data:L}=N;L instanceof ArrayBuffer?L=n.Buffer.from(L):L instanceof Blob?L=n.Buffer.from(await new Response(L).arrayBuffer()):L=n.Buffer.from(L,"utf8"),T&&!T.destroyed&&T.push(L)}function P(N,L,V){if(w.bufferedAmount>E){setTimeout(P,C,N,L,V);return}S&&typeof N=="string"&&(N=n.Buffer.from(N,"utf8"));try{w.send(N)}catch($){return V($)}V()}function k(N){w.close(),N()}return _};e.browserStreamBuilder=v}),xW={};h0(xW,{Server:()=>vo,Socket:()=>vo,Stream:()=>vo,_createServerHandle:()=>vo,_normalizeArgs:()=>vo,_setSimultaneousAccepts:()=>vo,connect:()=>vo,createConnection:()=>vo,createServer:()=>vo,default:()=>fye,isIP:()=>vo,isIPv4:()=>vo,isIPv6:()=>vo});function vo(){throw new Error("Node.js net module is not supported by JSPM core outside of Node.js")}var fye,pye=ls(()=>{Jt(),tn(),en(),fye={_createServerHandle:vo,_normalizeArgs:vo,_setSimultaneousAccepts:vo,connect:vo,createConnection:vo,createServer:vo,isIP:vo,isIPv4:vo,isIPv6:vo,Server:vo,Socket:vo,Stream:vo}}),Fte=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var n=t((pye(),Hi(xW))),r=t(ah()),i=(0,r.default)("mqttjs:tcp"),o=(a,s)=>{s.port=s.port||1883,s.hostname=s.hostname||s.host||"localhost";let{port:l,path:c}=s,u=s.hostname;return i("port %d and host %s",l,u),n.default.createConnection({port:l,host:u,path:c})};e.default=o}),hye={};h0(hye,{default:()=>mye});var mye,SHe=ls(()=>{Jt(),tn(),en(),mye={}}),Bte=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(e,"__esModule",{value:!0});var n=t((SHe(),Hi(hye))),r=t((pye(),Hi(xW))),i=t(ah()),o=(0,i.default)("mqttjs:tls"),a=(s,l)=>{l.port=l.port||8883,l.host=l.hostname||l.host||"localhost",r.default.isIP(l.host)===0&&(l.servername=l.host),l.rejectUnauthorized=l.rejectUnauthorized!==!1,delete l.path,o("port %d host %s rejectUnauthorized %b",l.port,l.host,l.rejectUnauthorized);let c=n.default.connect(l);c.on("secureConnect",()=>{l.rejectUnauthorized&&!c.authorized?c.emit("error",new Error("TLS not authorized")):c.removeListener("error",u)});function u(d){l.rejectUnauthorized&&s.emit("error",d),c.end()}return c.on("error",u),c};e.default=a}),jte=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=(us(),Hi(cs)),n=v0(),r=TW(),i,o,a;function s(){let f=new n.Transform;return f._write=(h,m,g)=>{i.send({data:h.buffer,success(){g()},fail(v){g(new Error(v))}})},f._flush=h=>{i.close({success(){h()}})},f}function l(f){f.hostname||(f.hostname="localhost"),f.path||(f.path="/"),f.wsOptions||(f.wsOptions={})}function c(f,h){let m=f.protocol==="wxs"?"wss":"ws",g=`${m}://${f.hostname}${f.path}`;return f.port&&f.port!==80&&f.port!==443&&(g=`${m}://${f.hostname}:${f.port}${f.path}`),typeof f.transformWsUrl=="function"&&(g=f.transformWsUrl(g,f,h)),g}function u(){i.onOpen(()=>{a.socketReady()}),i.onMessage(f=>{let{data:h}=f;h instanceof ArrayBuffer?h=t.Buffer.from(h):h=t.Buffer.from(h,"utf8"),o.push(h)}),i.onClose(()=>{a.emit("close"),a.end(),a.destroy()}),i.onError(f=>{let h=new Error(f.errMsg);a.destroy(h)})}var d=(f,h)=>{if(h.hostname=h.hostname||h.host,!h.hostname)throw new Error("Could not determine host. Specify host manually.");let m=h.protocolId==="MQIsdp"&&h.protocolVersion===3?"mqttv3.1":"mqtt";l(h);let g=c(h,f);i=wx.connectSocket({url:g,protocols:[m]}),o=s(),a=new r.BufferedDuplex(h,o,i),a._destroy=(y,b)=>{i.close({success(){b&&b(y)}})};let v=a.destroy;return a.destroy=(y,b)=>(a.destroy=v,setTimeout(()=>{i.close({fail(){a._destroy(y,b)}})},0),a),u(),a};e.default=d}),Hte=sn(e=>{Jt(),tn(),en(),Object.defineProperty(e,"__esModule",{value:!0});var t=(us(),Hi(cs)),n=v0(),r=TW(),i,o,a,s=!1;function l(){let h=new n.Transform;return h._write=(m,g,v)=>{i.sendSocketMessage({data:m.buffer,success(){v()},fail(){v(new Error)}})},h._flush=m=>{i.closeSocket({success(){m()}})},h}function c(h){h.hostname||(h.hostname="localhost"),h.path||(h.path="/"),h.wsOptions||(h.wsOptions={})}function u(h,m){let g=h.protocol==="alis"?"wss":"ws",v=`${g}://${h.hostname}${h.path}`;return h.port&&h.port!==80&&h.port!==443&&(v=`${g}://${h.hostname}:${h.port}${h.path}`),typeof h.transformWsUrl=="function"&&(v=h.transformWsUrl(v,h,m)),v}function d(){s||(s=!0,i.onSocketOpen(()=>{a.socketReady()}),i.onSocketMessage(h=>{if(typeof h.data=="string"){let m=t.Buffer.from(h.data,"base64");o.push(m)}else{let m=new FileReader;m.addEventListener("load",()=>{let g=m.result;g instanceof ArrayBuffer?g=t.Buffer.from(g):g=t.Buffer.from(g,"utf8"),o.push(g)}),m.readAsArrayBuffer(h.data)}}),i.onSocketClose(()=>{a.end(),a.destroy()}),i.onSocketError(h=>{a.destroy(h)}))}var f=(h,m)=>{if(m.hostname=m.hostname||m.host,!m.hostname)throw new Error("Could not determine host. Specify host manually.");let g=m.protocolId==="MQIsdp"&&m.protocolVersion===3?"mqttv3.1":"mqtt";c(m);let v=u(m,h);return i=m.my,i.connectSocket({url:v,protocols:g}),o=l(),a=new r.BufferedDuplex(m,o,i),d(),a};e.default=f}),EHe=sn(e=>{Jt(),tn(),en();var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.connectAsync=void 0;var n=t(ah()),r=t((yHe(),Hi($be))),i=t(Dj()),o=t(GP());typeof(_i==null?void 0:_i.nextTick)!="function"&&(_i.nextTick=setImmediate);var a=(0,n.default)("mqttjs"),s=null;function l(d){let f;d.auth&&(f=d.auth.match(/^(.+):(.+)$/),f?(d.username=f[1],d.password=f[2]):d.username=d.auth)}function c(d,f){var h,m,g,v;if(a("connecting to an MQTT broker..."),typeof d=="object"&&!f&&(f=d,d=""),f=f||{},d&&typeof d=="string"){let _=r.default.parse(d,!0),E={};if(_.port!=null&&(E.port=Number(_.port)),E.host=_.hostname,E.query=_.query,E.auth=_.auth,E.protocol=_.protocol,E.path=_.path,E.protocol=(h=E.protocol)===null||h===void 0?void 0:h.replace(/:$/,""),f=Object.assign(Object.assign({},E),f),!f.protocol)throw new Error("Missing protocol")}if(f.unixSocket=f.unixSocket||((m=f.protocol)===null||m===void 0?void 0:m.includes("+unix")),f.unixSocket?f.protocol=f.protocol.replace("+unix",""):!(!((g=f.protocol)===null||g===void 0)&&g.startsWith("ws"))&&!(!((v=f.protocol)===null||v===void 0)&&v.startsWith("wx"))&&delete f.path,l(f),f.query&&typeof f.query.clientId=="string"&&(f.clientId=f.query.clientId),f.cert&&f.key)if(f.protocol){if(["mqtts","wss","wxs","alis"].indexOf(f.protocol)===-1)switch(f.protocol){case"mqtt":f.protocol="mqtts";break;case"ws":f.protocol="wss";break;case"wx":f.protocol="wxs";break;case"ali":f.protocol="alis";break;default:throw new Error(`Unknown protocol for secure connection: "${f.protocol}"!`)}}else throw new Error("Missing secure protocol key");if(s||(s={},!o.default&&!f.forceNativeWebSocket?(s.ws=fR().streamBuilder,s.wss=fR().streamBuilder,s.mqtt=Fte().default,s.tcp=Fte().default,s.ssl=Bte().default,s.tls=s.ssl,s.mqtts=Bte().default):(s.ws=fR().browserStreamBuilder,s.wss=fR().browserStreamBuilder,s.wx=jte().default,s.wxs=jte().default,s.ali=Hte().default,s.alis=Hte().default)),!s[f.protocol]){let _=["mqtts","wss"].indexOf(f.protocol)!==-1;f.protocol=["mqtt","mqtts","ws","wss","wx","wxs","ali","alis"].filter((E,C)=>_&&C%2===0?!1:typeof s[E]=="function")[0]}if(f.clean===!1&&!f.clientId)throw new Error("Missing clientId for unclean clients");f.protocol&&(f.defaultProtocol=f.protocol);function y(_){return f.servers&&((!_._reconnectCount||_._reconnectCount===f.servers.length)&&(_._reconnectCount=0),f.host=f.servers[_._reconnectCount].host,f.port=f.servers[_._reconnectCount].port,f.protocol=f.servers[_._reconnectCount].protocol?f.servers[_._reconnectCount].protocol:f.defaultProtocol,f.hostname=f.host,_._reconnectCount++),a("calling streambuilder for",f.protocol),s[f.protocol](_,f)}let b=new i.default(y,f);return b.on("error",()=>{}),b}function u(d,f,h=!0){return new Promise((m,g)=>{let v=c(d,f),y={connect:_=>{b(),m(v)},end:()=>{b(),m(v)},error:_=>{b(),v.end(),g(_)}};h===!1&&(y.close=()=>{y.error(new Error("Couldn't connect to server"))});function b(){Object.keys(y).forEach(_=>{v.off(_,y[_])})}Object.keys(y).forEach(_=>{v.on(_,y[_])})})}e.connectAsync=u,e.default=c}),Ute=sn(e=>{Jt(),tn(),en();var t=e&&e.__createBinding||(Object.create?function(h,m,g,v){v===void 0&&(v=g);var y=Object.getOwnPropertyDescriptor(m,g);(!y||("get"in y?!m.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return m[g]}}),Object.defineProperty(h,v,y)}:function(h,m,g,v){v===void 0&&(v=g),h[v]=m[g]}),n=e&&e.__setModuleDefault||(Object.create?function(h,m){Object.defineProperty(h,"default",{enumerable:!0,value:m})}:function(h,m){h.default=m}),r=e&&e.__importStar||function(h){if(h&&h.__esModule)return h;var m={};if(h!=null)for(var g in h)g!=="default"&&Object.prototype.hasOwnProperty.call(h,g)&&t(m,h,g);return n(m,h),m},i=e&&e.__exportStar||function(h,m){for(var g in h)g!=="default"&&!Object.prototype.hasOwnProperty.call(m,g)&&t(m,h,g)},o=e&&e.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=e.KeepaliveManager=e.UniqueMessageIdProvider=e.DefaultMessageIdProvider=e.Store=e.MqttClient=e.connectAsync=e.connect=e.Client=void 0;var a=o(Dj());e.MqttClient=a.default;var s=o(hbe());e.DefaultMessageIdProvider=s.default;var l=o(rHe());e.UniqueMessageIdProvider=l.default;var c=o(mbe());e.Store=c.default;var u=r(EHe());e.connect=u.default,Object.defineProperty(e,"connectAsync",{enumerable:!0,get:function(){return u.connectAsync}});var d=o(Nbe());e.KeepaliveManager=d.default,e.Client=a.default,i(Dj(),e),i(sS(),e);var f=VP();Object.defineProperty(e,"ReasonCodes",{enumerable:!0,get:function(){return f.ReasonCodes}})}),CHe=sn(e=>{Jt(),tn(),en();var t=e&&e.__createBinding||(Object.create?function(a,s,l,c){c===void 0&&(c=l);var u=Object.getOwnPropertyDescriptor(s,l);(!u||("get"in u?!s.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return s[l]}}),Object.defineProperty(a,c,u)}:function(a,s,l,c){c===void 0&&(c=l),a[c]=s[l]}),n=e&&e.__setModuleDefault||(Object.create?function(a,s){Object.defineProperty(a,"default",{enumerable:!0,value:s})}:function(a,s){a.default=s}),r=e&&e.__importStar||function(a){if(a&&a.__esModule)return a;var s={};if(a!=null)for(var l in a)l!=="default"&&Object.prototype.hasOwnProperty.call(a,l)&&t(s,a,l);return n(s,a),s},i=e&&e.__exportStar||function(a,s){for(var l in a)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,a,l)};Object.defineProperty(e,"__esModule",{value:!0});var o=r(Ute());e.default=o,i(Ute(),e)});const wHe=CHe();/*! Bundled license information: @jspm/core/nodelibs/browser/buffer.js: (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *) @@ -75,15 +75,15 @@ Error generating stack: `+o.message+` //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT //! momentjs.com -var vye;function En(){return vye.apply(null,arguments)}function IHe(e){vye=e}function Sd(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function lv(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function pi(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function MW(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(pi(e,t))return!1;return!0}function hl(e){return e===void 0}function sh(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Xx(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function bye(e,t){var n=[],r,i=e.length;for(r=0;r>>0,r;for(r=0;r0)for(n=0;n>>0,r;for(r=0;r0)for(n=0;n=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var LW=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,pR=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,hL={},my={};function ir(e,t,n,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),e&&(my[e]=i),t&&(my[t[0]]=function(){return Lf(i.apply(this,arguments),t[1],t[2])}),n&&(my[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function PHe(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function DHe(e){var t=e.match(LW),n,r;for(n=0,r=t.length;n=0&&pR.test(e);)e=e.replace(pR,r),pR.lastIndex=0,n-=1;return e}var LHe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function $He(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(LW).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var FHe="Invalid date";function BHe(){return this._invalidDate}var jHe="%d",HHe=/\d{1,2}/;function UHe(e){return this._ordinal.replace("%d",e)}var zHe={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function VHe(e,t,n,r){var i=this._relativeTime[n];return Gf(i)?i(e,t,n,r):i.replace(/%d/i,e)}function GHe(e,t){var n=this._relativeTime[e>0?"future":"past"];return Gf(n)?n(t):n.replace(/%s/i,t)}var qte={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function xu(e){return typeof e=="string"?qte[e]||qte[e.toLowerCase()]:void 0}function $W(e){var t={},n,r;for(r in e)pi(e,r)&&(n=xu(r),n&&(t[n]=e[r]));return t}var WHe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function qHe(e){var t=[],n;for(n in e)pi(e,n)&&t.push({unit:n,priority:WHe[n]});return t.sort(function(r,i){return r.priority-i.priority}),t}var Eye=/\d/,Ac=/\d\d/,Cye=/\d{3}/,FW=/\d{4}/,q5=/[+-]?\d{6}/,po=/\d\d?/,wye=/\d\d\d\d?/,Tye=/\d\d\d\d\d\d?/,Y5=/\d{1,3}/,BW=/\d{1,4}/,K5=/[+-]?\d{1,6}/,lS=/\d+/,Q5=/[+-]?\d+/,YHe=/Z|[+-]\d\d:?\d\d/gi,X5=/Z|[+-]\d\d(?::?\d\d)?/gi,KHe=/[+-]?\d+(\.\d{1,3})?/,Jx=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,cS=/^[1-9]\d?/,jW=/^([1-9]\d|\d)/,dM;dM={};function jn(e,t,n){dM[e]=Gf(t)?t:function(r,i){return r&&n?n:t}}function QHe(e,t){return pi(dM,e)?dM[e](t._strict,t._locale):new RegExp(XHe(e))}function XHe(e){return Yp(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,i,o){return n||r||i||o}))}function Yp(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function eu(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Wr(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=eu(t)),n}var Qj={};function Li(e,t){var n,r=t,i;for(typeof e=="string"&&(e=[e]),sh(t)&&(r=function(o,a){a[t]=Wr(o)}),i=e.length,n=0;n68?1900:2e3)};var xye=uS("FullYear",!0);function tUe(){return Z5(this.year())}function uS(e,t){return function(n){return n!=null?(Oye(this,e,n),En.updateOffset(this,t),this):bT(this,e)}}function bT(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Oye(e,t,n){var r,i,o,a,s;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}o=n,a=e.month(),s=e.date(),s=s===29&&a===1&&!Z5(o)?28:s,i?r.setUTCFullYear(o,a,s):r.setFullYear(o,a,s)}}function nUe(e){return e=xu(e),Gf(this[e])?this[e]():this}function rUe(e,t){if(typeof e=="object"){e=$W(e);var n=qHe(e),r,i=n.length;for(r=0;r=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function yT(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function fM(e,t,n){var r=7+t-n,i=(7+yT(e,0,r).getUTCDay()-t)%7;return-i+r-1}function kye(e,t,n,r,i){var o=(7+n-r)%7,a=fM(e,r,i),s=1+7*(t-1)+o+a,l,c;return s<=0?(l=e-1,c=ow(l)+s):s>ow(e)?(l=e+1,c=s-ow(e)):(l=e,c=s),{year:l,dayOfYear:c}}function _T(e,t,n){var r=fM(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,o,a;return i<1?(a=e.year()-1,o=i+Kp(a,t,n)):i>Kp(e.year(),t,n)?(o=i-Kp(e.year(),t,n),a=e.year()+1):(a=e.year(),o=i),{week:o,year:a}}function Kp(e,t,n){var r=fM(e,t,n),i=fM(e+1,t,n);return(ow(e)-r+i)/7}ir("w",["ww",2],"wo","week");ir("W",["WW",2],"Wo","isoWeek");jn("w",po,cS);jn("ww",po,Ac);jn("W",po,cS);jn("WW",po,Ac);e2(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=Wr(e)});function gUe(e){return _T(e,this._week.dow,this._week.doy).week}var vUe={dow:0,doy:6};function bUe(){return this._week.dow}function yUe(){return this._week.doy}function _Ue(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function SUe(e){var t=_T(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}ir("d",0,"do","day");ir("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});ir("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});ir("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});ir("e",0,0,"weekday");ir("E",0,0,"isoWeekday");jn("d",po);jn("e",po);jn("E",po);jn("dd",function(e,t){return t.weekdaysMinRegex(e)});jn("ddd",function(e,t){return t.weekdaysShortRegex(e)});jn("dddd",function(e,t){return t.weekdaysRegex(e)});e2(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);i!=null?t.d=i:Nr(n).invalidWeekday=e});e2(["d","e","E"],function(e,t,n,r){t[r]=Wr(e)});function EUe(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function CUe(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function UW(e,t){return e.slice(t,7).concat(e.slice(0,t))}var wUe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pye="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),TUe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xUe=Jx,OUe=Jx,RUe=Jx;function IUe(e,t){var n=Sd(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?UW(n,this._week.dow):e?n[e.day()]:n}function AUe(e){return e===!0?UW(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function NUe(e){return e===!0?UW(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function MUe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=Vf([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?t==="dddd"?(i=Jo.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=Jo.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=Jo.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=Jo.call(this._weekdaysParse,a),i!==-1||(i=Jo.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=Jo.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=Jo.call(this._shortWeekdaysParse,a),i!==-1||(i=Jo.call(this._weekdaysParse,a),i!==-1)?i:(i=Jo.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=Jo.call(this._minWeekdaysParse,a),i!==-1||(i=Jo.call(this._weekdaysParse,a),i!==-1)?i:(i=Jo.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function kUe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return MUe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=Vf([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function PUe(e){if(!this.isValid())return e!=null?this:NaN;var t=bT(this,"Day");return e!=null?(e=EUe(e,this.localeData()),this.add(e-t,"d")):t}function DUe(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function LUe(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=CUe(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function $Ue(e){return this._weekdaysParseExact?(pi(this,"_weekdaysRegex")||zW.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(pi(this,"_weekdaysRegex")||(this._weekdaysRegex=xUe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function FUe(e){return this._weekdaysParseExact?(pi(this,"_weekdaysRegex")||zW.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(pi(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=OUe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function BUe(e){return this._weekdaysParseExact?(pi(this,"_weekdaysRegex")||zW.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(pi(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=RUe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function zW(){function e(u,d){return d.length-u.length}var t=[],n=[],r=[],i=[],o,a,s,l,c;for(o=0;o<7;o++)a=Vf([2e3,1]).day(o),s=Yp(this.weekdaysMin(a,"")),l=Yp(this.weekdaysShort(a,"")),c=Yp(this.weekdays(a,"")),t.push(s),n.push(l),r.push(c),i.push(s),i.push(l),i.push(c);t.sort(e),n.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function VW(){return this.hours()%12||12}function jUe(){return this.hours()||24}ir("H",["HH",2],0,"hour");ir("h",["hh",2],0,VW);ir("k",["kk",2],0,jUe);ir("hmm",0,0,function(){return""+VW.apply(this)+Lf(this.minutes(),2)});ir("hmmss",0,0,function(){return""+VW.apply(this)+Lf(this.minutes(),2)+Lf(this.seconds(),2)});ir("Hmm",0,0,function(){return""+this.hours()+Lf(this.minutes(),2)});ir("Hmmss",0,0,function(){return""+this.hours()+Lf(this.minutes(),2)+Lf(this.seconds(),2)});function Dye(e,t){ir(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Dye("a",!0);Dye("A",!1);function Lye(e,t){return t._meridiemParse}jn("a",Lye);jn("A",Lye);jn("H",po,jW);jn("h",po,cS);jn("k",po,cS);jn("HH",po,Ac);jn("hh",po,Ac);jn("kk",po,Ac);jn("hmm",wye);jn("hmmss",Tye);jn("Hmm",wye);jn("Hmmss",Tye);Li(["H","HH"],wa);Li(["k","kk"],function(e,t,n){var r=Wr(e);t[wa]=r===24?0:r});Li(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});Li(["h","hh"],function(e,t,n){t[wa]=Wr(e),Nr(n).bigHour=!0});Li("hmm",function(e,t,n){var r=e.length-2;t[wa]=Wr(e.substr(0,r)),t[rd]=Wr(e.substr(r)),Nr(n).bigHour=!0});Li("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[wa]=Wr(e.substr(0,r)),t[rd]=Wr(e.substr(r,2)),t[zp]=Wr(e.substr(i)),Nr(n).bigHour=!0});Li("Hmm",function(e,t,n){var r=e.length-2;t[wa]=Wr(e.substr(0,r)),t[rd]=Wr(e.substr(r))});Li("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[wa]=Wr(e.substr(0,r)),t[rd]=Wr(e.substr(r,2)),t[zp]=Wr(e.substr(i))});function HUe(e){return(e+"").toLowerCase().charAt(0)==="p"}var UUe=/[ap]\.?m?\.?/i,zUe=uS("Hours",!0);function VUe(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var $ye={calendar:MHe,longDateFormat:LHe,invalidDate:FHe,ordinal:jHe,dayOfMonthOrdinalParse:HHe,relativeTime:zHe,months:oUe,monthsShort:Rye,week:vUe,weekdays:wUe,weekdaysMin:TUe,weekdaysShort:Pye,meridiemParse:UUe},go={},IE={},ST;function GUe(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(i=J5(o.slice(0,n).join("-")),i)return i;if(r&&r.length>=n&&GUe(o,r)>=n-1)break;n--}t++}return ST}function qUe(e){return!!(e&&e.match("^[^/\\\\]*$"))}function J5(e){var t=null,n;if(go[e]===void 0&&typeof module<"u"&&module&&module.exports&&qUe(e))try{t=ST._abbr,n=require,n("./locale/"+e),rg(t)}catch{go[e]=null}return go[e]}function rg(e,t){var n;return e&&(hl(t)?n=Eh(e):n=GW(e,t),n?ST=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ST._abbr}function GW(e,t){if(t!==null){var n,r=$ye;if(t.abbr=e,go[e]!=null)_ye("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=go[e]._config;else if(t.parentLocale!=null)if(go[t.parentLocale]!=null)r=go[t.parentLocale]._config;else if(n=J5(t.parentLocale),n!=null)r=n._config;else return IE[t.parentLocale]||(IE[t.parentLocale]=[]),IE[t.parentLocale].push({name:e,config:t}),null;return go[e]=new DW(Yj(r,t)),IE[e]&&IE[e].forEach(function(i){GW(i.name,i.config)}),rg(e),go[e]}else return delete go[e],null}function YUe(e,t){if(t!=null){var n,r,i=$ye;go[e]!=null&&go[e].parentLocale!=null?go[e].set(Yj(go[e]._config,t)):(r=J5(e),r!=null&&(i=r._config),t=Yj(i,t),r==null&&(t.abbr=e),n=new DW(t),n.parentLocale=go[e],go[e]=n),rg(e)}else go[e]!=null&&(go[e].parentLocale!=null?(go[e]=go[e].parentLocale,e===rg()&&rg(e)):go[e]!=null&&delete go[e]);return go[e]}function Eh(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ST;if(!Sd(e)){if(t=J5(e),t)return t;e=[e]}return WUe(e)}function KUe(){return Kj(go)}function WW(e){var t,n=e._a;return n&&Nr(e).overflow===-2&&(t=n[Up]<0||n[Up]>11?Up:n[gf]<1||n[gf]>HW(n[Is],n[Up])?gf:n[wa]<0||n[wa]>24||n[wa]===24&&(n[rd]!==0||n[zp]!==0||n[$1]!==0)?wa:n[rd]<0||n[rd]>59?rd:n[zp]<0||n[zp]>59?zp:n[$1]<0||n[$1]>999?$1:-1,Nr(e)._overflowDayOfYear&&(tgf)&&(t=gf),Nr(e)._overflowWeeks&&t===-1&&(t=JHe),Nr(e)._overflowWeekday&&t===-1&&(t=eUe),Nr(e).overflow=t),e}var QUe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,XUe=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ZUe=/Z|[+-]\d\d(?::?\d\d)?/,hR=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],mL=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],JUe=/^\/?Date\((-?\d+)/i,eze=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,tze={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Fye(e){var t,n,r=e._i,i=QUe.exec(r)||XUe.exec(r),o,a,s,l,c=hR.length,u=mL.length;if(i){for(Nr(e).iso=!0,t=0,n=c;tow(a)||e._dayOfYear===0)&&(Nr(e)._overflowDayOfYear=!0),n=yT(a,0,e._dayOfYear),e._a[Up]=n.getUTCMonth(),e._a[gf]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[wa]===24&&e._a[rd]===0&&e._a[zp]===0&&e._a[$1]===0&&(e._nextDay=!0,e._a[wa]=0),e._d=(e._useUTC?yT:mUe).apply(null,r),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[wa]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==o&&(Nr(e).weekdayMismatch=!0)}}function cze(e){var t,n,r,i,o,a,s,l,c;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(o=1,a=4,n=Ob(t.GG,e._a[Is],_T(uo(),1,4).year),r=Ob(t.W,1),i=Ob(t.E,1),(i<1||i>7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,c=_T(uo(),o,a),n=Ob(t.gg,e._a[Is],c.year),r=Ob(t.w,c.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),r<1||r>Kp(n,o,a)?Nr(e)._overflowWeeks=!0:l!=null?Nr(e)._overflowWeekday=!0:(s=kye(n,r,i,o,a),e._a[Is]=s.year,e._dayOfYear=s.dayOfYear)}En.ISO_8601=function(){};En.RFC_2822=function(){};function YW(e){if(e._f===En.ISO_8601){Fye(e);return}if(e._f===En.RFC_2822){Bye(e);return}e._a=[],Nr(e).empty=!0;var t=""+e._i,n,r,i,o,a,s=t.length,l=0,c,u;for(i=Sye(e._f,e._locale).match(LW)||[],u=i.length,n=0;n0&&Nr(e).unusedInput.push(a),t=t.slice(t.indexOf(r)+r.length),l+=r.length),my[o]?(r?Nr(e).empty=!1:Nr(e).unusedTokens.push(o),ZHe(o,r,e)):e._strict&&!r&&Nr(e).unusedTokens.push(o);Nr(e).charsLeftOver=s-l,t.length>0&&Nr(e).unusedInput.push(t),e._a[wa]<=12&&Nr(e).bigHour===!0&&e._a[wa]>0&&(Nr(e).bigHour=void 0),Nr(e).parsedDateParts=e._a.slice(0),Nr(e).meridiem=e._meridiem,e._a[wa]=uze(e._locale,e._a[wa],e._meridiem),c=Nr(e).era,c!==null&&(e._a[Is]=e._locale.erasConvertYear(c,e._a[Is])),qW(e),WW(e)}function uze(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function dze(e){var t,n,r,i,o,a,s=!1,l=e._f.length;if(l===0){Nr(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;ithis?this:e:W5()});function Uye(e,t){var n,r;if(t.length===1&&Sd(t[0])&&(t=t[0]),!t.length)return uo();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Mze(){if(!hl(this._isDSTShifted))return this._isDSTShifted;var e={},t;return PW(e,this),e=jye(e),e._a?(t=e._isUTC?Vf(e._a):uo(e._a),this._isDSTShifted=this.isValid()&&Cze(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function kze(){return this.isValid()?!this._isUTC:!1}function Pze(){return this.isValid()?this._isUTC:!1}function Vye(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Dze=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Lze=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ld(e,t){var n=e,r=null,i,o,a;return xA(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:sh(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Dze.exec(e))?(i=r[1]==="-"?-1:1,n={y:0,d:Wr(r[gf])*i,h:Wr(r[wa])*i,m:Wr(r[rd])*i,s:Wr(r[zp])*i,ms:Wr(Xj(r[$1]*1e3))*i}):(r=Lze.exec(e))?(i=r[1]==="-"?-1:1,n={y:n1(r[2],i),M:n1(r[3],i),w:n1(r[4],i),d:n1(r[5],i),h:n1(r[6],i),m:n1(r[7],i),s:n1(r[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=$ze(uo(n.from),uo(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),o=new eP(n),xA(e)&&pi(e,"_locale")&&(o._locale=e._locale),xA(e)&&pi(e,"_isValid")&&(o._isValid=e._isValid),o}Ld.fn=eP.prototype;Ld.invalid=Eze;function n1(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Kte(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function $ze(e,t){var n;return e.isValid()&&t.isValid()?(t=QW(t,e),e.isBefore(t)?n=Kte(e,t):(n=Kte(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Gye(e,t){return function(n,r){var i,o;return r!==null&&!isNaN(+r)&&(_ye(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),i=Ld(n,r),Wye(this,i,e),this}}function Wye(e,t,n,r){var i=t._milliseconds,o=Xj(t._days),a=Xj(t._months);e.isValid()&&(r=r??!0,a&&Aye(e,bT(e,"Month")+a*n),o&&Oye(e,"Date",bT(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&En.updateOffset(e,o||a))}var Fze=Gye(1,"add"),Bze=Gye(-1,"subtract");function qye(e){return typeof e=="string"||e instanceof String}function jze(e){return Ed(e)||Xx(e)||qye(e)||sh(e)||Uze(e)||Hze(e)||e===null||e===void 0}function Hze(e){var t=lv(e)&&!MW(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,o,a=r.length;for(i=0;in.valueOf():n.valueOf()9999?TA(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Gf(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",TA(n,"Z")):TA(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function nVe(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,i,o;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]',this.format(n+r+i+o)}function rVe(e){e||(e=this.isUtc()?En.defaultFormatUtc:En.defaultFormat);var t=TA(this,e);return this.localeData().postformat(t)}function iVe(e,t){return this.isValid()&&(Ed(e)&&e.isValid()||uo(e).isValid())?Ld({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oVe(e){return this.from(uo(),e)}function aVe(e,t){return this.isValid()&&(Ed(e)&&e.isValid()||uo(e).isValid())?Ld({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function sVe(e){return this.to(uo(),e)}function Yye(e){var t;return e===void 0?this._locale._abbr:(t=Eh(e),t!=null&&(this._locale=t),this)}var Kye=Tu("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Qye(){return this._locale}var pM=1e3,gy=60*pM,hM=60*gy,Xye=(365*400+97)*24*hM;function vy(e,t){return(e%t+t)%t}function Zye(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-Xye:new Date(e,t,n).valueOf()}function Jye(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-Xye:Date.UTC(e,t,n)}function lVe(e){var t,n;if(e=xu(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Jye:Zye,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=vy(t+(this._isUTC?0:this.utcOffset()*gy),hM);break;case"minute":t=this._d.valueOf(),t-=vy(t,gy);break;case"second":t=this._d.valueOf(),t-=vy(t,pM);break}return this._d.setTime(t),En.updateOffset(this,!0),this}function cVe(e){var t,n;if(e=xu(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Jye:Zye,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hM-vy(t+(this._isUTC?0:this.utcOffset()*gy),hM)-1;break;case"minute":t=this._d.valueOf(),t+=gy-vy(t,gy)-1;break;case"second":t=this._d.valueOf(),t+=pM-vy(t,pM)-1;break}return this._d.setTime(t),En.updateOffset(this,!0),this}function uVe(){return this._d.valueOf()-(this._offset||0)*6e4}function dVe(){return Math.floor(this.valueOf()/1e3)}function fVe(){return new Date(this.valueOf())}function pVe(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function hVe(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function mVe(){return this.isValid()?this.toISOString():null}function gVe(){return kW(this)}function vVe(){return Nm({},Nr(this))}function bVe(){return Nr(this).overflow}function yVe(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ir("N",0,0,"eraAbbr");ir("NN",0,0,"eraAbbr");ir("NNN",0,0,"eraAbbr");ir("NNNN",0,0,"eraName");ir("NNNNN",0,0,"eraNarrow");ir("y",["y",1],"yo","eraYear");ir("y",["yy",2],0,"eraYear");ir("y",["yyy",3],0,"eraYear");ir("y",["yyyy",4],0,"eraYear");jn("N",XW);jn("NN",XW);jn("NNN",XW);jn("NNNN",AVe);jn("NNNNN",NVe);Li(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?Nr(n).era=i:Nr(n).invalidEra=e});jn("y",lS);jn("yy",lS);jn("yyy",lS);jn("yyyy",lS);jn("yo",MVe);Li(["y","yy","yyy","yyyy"],Is);Li(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Is]=n._locale.eraYearOrdinalParse(e,i):t[Is]=parseInt(e,10)});function _Ve(e,t){var n,r,i,o=this._eras||Eh("en")._eras;for(n=0,r=o.length;n=0)return o[r]}function EVe(e,t){var n=e.since<=e.until?1:-1;return t===void 0?En(e.since).year():En(e.since).year()+(t-e.offset)*n}function CVe(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;eo&&(t=o),BVe.call(this,e,t,n,r,i))}function BVe(e,t,n,r,i){var o=kye(e,t,n,r,i),a=yT(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}ir("Q",0,"Qo","quarter");jn("Q",Eye);Li("Q",function(e,t){t[Up]=(Wr(e)-1)*3});function jVe(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}ir("D",["DD",2],"Do","date");jn("D",po,cS);jn("DD",po,Ac);jn("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});Li(["D","DD"],gf);Li("Do",function(e,t){t[gf]=Wr(e.match(po)[0])});var t_e=uS("Date",!0);ir("DDD",["DDDD",3],"DDDo","dayOfYear");jn("DDD",Y5);jn("DDDD",Cye);Li(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Wr(e)});function HVe(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}ir("m",["mm",2],0,"minute");jn("m",po,jW);jn("mm",po,Ac);Li(["m","mm"],rd);var UVe=uS("Minutes",!1);ir("s",["ss",2],0,"second");jn("s",po,jW);jn("ss",po,Ac);Li(["s","ss"],zp);var zVe=uS("Seconds",!1);ir("S",0,0,function(){return~~(this.millisecond()/100)});ir(0,["SS",2],0,function(){return~~(this.millisecond()/10)});ir(0,["SSS",3],0,"millisecond");ir(0,["SSSS",4],0,function(){return this.millisecond()*10});ir(0,["SSSSS",5],0,function(){return this.millisecond()*100});ir(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});ir(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});ir(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});ir(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});jn("S",Y5,Eye);jn("SS",Y5,Ac);jn("SSS",Y5,Cye);var Mm,n_e;for(Mm="SSSS";Mm.length<=9;Mm+="S")jn(Mm,lS);function VVe(e,t){t[$1]=Wr(("0."+e)*1e3)}for(Mm="S";Mm.length<=9;Mm+="S")Li(Mm,VVe);n_e=uS("Milliseconds",!1);ir("z",0,0,"zoneAbbr");ir("zz",0,0,"zoneName");function GVe(){return this._isUTC?"UTC":""}function WVe(){return this._isUTC?"Coordinated Universal Time":""}var pn=Zx.prototype;pn.add=Fze;pn.calendar=Gze;pn.clone=Wze;pn.diff=Jze;pn.endOf=cVe;pn.format=rVe;pn.from=iVe;pn.fromNow=oVe;pn.to=aVe;pn.toNow=sVe;pn.get=nUe;pn.invalidAt=bVe;pn.isAfter=qze;pn.isBefore=Yze;pn.isBetween=Kze;pn.isSame=Qze;pn.isSameOrAfter=Xze;pn.isSameOrBefore=Zze;pn.isValid=gVe;pn.lang=Kye;pn.locale=Yye;pn.localeData=Qye;pn.max=gze;pn.min=mze;pn.parsingFlags=vVe;pn.set=rUe;pn.startOf=lVe;pn.subtract=Bze;pn.toArray=pVe;pn.toObject=hVe;pn.toDate=fVe;pn.toISOString=tVe;pn.inspect=nVe;typeof Symbol<"u"&&Symbol.for!=null&&(pn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});pn.toJSON=mVe;pn.toString=eVe;pn.unix=dVe;pn.valueOf=uVe;pn.creationData=yVe;pn.eraName=CVe;pn.eraNarrow=wVe;pn.eraAbbr=TVe;pn.eraYear=xVe;pn.year=xye;pn.isLeapYear=tUe;pn.weekYear=kVe;pn.isoWeekYear=PVe;pn.quarter=pn.quarters=jVe;pn.month=Nye;pn.daysInMonth=fUe;pn.week=pn.weeks=_Ue;pn.isoWeek=pn.isoWeeks=SUe;pn.weeksInYear=$Ve;pn.weeksInWeekYear=FVe;pn.isoWeeksInYear=DVe;pn.isoWeeksInISOWeekYear=LVe;pn.date=t_e;pn.day=pn.days=PUe;pn.weekday=DUe;pn.isoWeekday=LUe;pn.dayOfYear=HVe;pn.hour=pn.hours=zUe;pn.minute=pn.minutes=UVe;pn.second=pn.seconds=zVe;pn.millisecond=pn.milliseconds=n_e;pn.utcOffset=Tze;pn.utc=Oze;pn.local=Rze;pn.parseZone=Ize;pn.hasAlignedHourOffset=Aze;pn.isDST=Nze;pn.isLocal=kze;pn.isUtcOffset=Pze;pn.isUtc=Vye;pn.isUTC=Vye;pn.zoneAbbr=GVe;pn.zoneName=WVe;pn.dates=Tu("dates accessor is deprecated. Use date instead.",t_e);pn.months=Tu("months accessor is deprecated. Use month instead",Nye);pn.years=Tu("years accessor is deprecated. Use year instead",xye);pn.zone=Tu("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",xze);pn.isDSTShifted=Tu("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Mze);function qVe(e){return uo(e*1e3)}function YVe(){return uo.apply(null,arguments).parseZone()}function r_e(e){return e}var hi=DW.prototype;hi.calendar=kHe;hi.longDateFormat=$He;hi.invalidDate=BHe;hi.ordinal=UHe;hi.preparse=r_e;hi.postformat=r_e;hi.relativeTime=VHe;hi.pastFuture=GHe;hi.set=NHe;hi.eras=_Ve;hi.erasParse=SVe;hi.erasConvertYear=EVe;hi.erasAbbrRegex=RVe;hi.erasNameRegex=OVe;hi.erasNarrowRegex=IVe;hi.months=lUe;hi.monthsShort=cUe;hi.monthsParse=dUe;hi.monthsRegex=hUe;hi.monthsShortRegex=pUe;hi.week=gUe;hi.firstDayOfYear=yUe;hi.firstDayOfWeek=bUe;hi.weekdays=IUe;hi.weekdaysMin=NUe;hi.weekdaysShort=AUe;hi.weekdaysParse=kUe;hi.weekdaysRegex=$Ue;hi.weekdaysShortRegex=FUe;hi.weekdaysMinRegex=BUe;hi.isPM=HUe;hi.meridiem=VUe;function mM(e,t,n,r){var i=Eh(),o=Vf().set(r,t);return i[n](o,e)}function i_e(e,t,n){if(sh(e)&&(t=e,e=void 0),e=e||"",t!=null)return mM(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=mM(e,r,n,"month");return i}function JW(e,t,n,r){typeof e=="boolean"?(sh(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,sh(t)&&(n=t,t=void 0),t=t||"");var i=Eh(),o=e?i._week.dow:0,a,s=[];if(n!=null)return mM(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=mM(t,(a+o)%7,r,"day");return s}function KVe(e,t){return i_e(e,t,"months")}function QVe(e,t){return i_e(e,t,"monthsShort")}function XVe(e,t,n){return JW(e,t,n,"weekdays")}function ZVe(e,t,n){return JW(e,t,n,"weekdaysShort")}function JVe(e,t,n){return JW(e,t,n,"weekdaysMin")}rg("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=Wr(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});En.lang=Tu("moment.lang is deprecated. Use moment.locale instead.",rg);En.langData=Tu("moment.langData is deprecated. Use moment.localeData instead.",Eh);var ap=Math.abs;function eGe(){var e=this._data;return this._milliseconds=ap(this._milliseconds),this._days=ap(this._days),this._months=ap(this._months),e.milliseconds=ap(e.milliseconds),e.seconds=ap(e.seconds),e.minutes=ap(e.minutes),e.hours=ap(e.hours),e.months=ap(e.months),e.years=ap(e.years),this}function o_e(e,t,n,r){var i=Ld(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function tGe(e,t){return o_e(this,e,t,1)}function nGe(e,t){return o_e(this,e,t,-1)}function Qte(e){return e<0?Math.floor(e):Math.ceil(e)}function rGe(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,o,a,s,l;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Qte(Jj(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,i=eu(e/1e3),r.seconds=i%60,o=eu(i/60),r.minutes=o%60,a=eu(o/60),r.hours=a%24,t+=eu(a/24),l=eu(a_e(t)),n+=l,t-=Qte(Jj(l)),s=eu(n/12),n%=12,r.days=t,r.months=n,r.years=s,this}function a_e(e){return e*4800/146097}function Jj(e){return e*146097/4800}function iGe(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=xu(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+a_e(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Jj(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Ch(e){return function(){return this.as(e)}}var s_e=Ch("ms"),oGe=Ch("s"),aGe=Ch("m"),sGe=Ch("h"),lGe=Ch("d"),cGe=Ch("w"),uGe=Ch("M"),dGe=Ch("Q"),fGe=Ch("y"),pGe=s_e;function hGe(){return Ld(this)}function mGe(e){return e=xu(e),this.isValid()?this[e+"s"]():NaN}function b0(e){return function(){return this.isValid()?this._data[e]:NaN}}var gGe=b0("milliseconds"),vGe=b0("seconds"),bGe=b0("minutes"),yGe=b0("hours"),_Ge=b0("days"),SGe=b0("months"),EGe=b0("years");function CGe(){return eu(this.days()/7)}var Ip=Math.round,Jb={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function wGe(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function TGe(e,t,n,r){var i=Ld(e).abs(),o=Ip(i.as("s")),a=Ip(i.as("m")),s=Ip(i.as("h")),l=Ip(i.as("d")),c=Ip(i.as("M")),u=Ip(i.as("w")),d=Ip(i.as("y")),f=o<=n.ss&&["s",o]||o0,f[4]=r,wGe.apply(null,f)}function xGe(e){return e===void 0?Ip:typeof e=="function"?(Ip=e,!0):!1}function OGe(e,t){return Jb[e]===void 0?!1:t===void 0?Jb[e]:(Jb[e]=t,e==="s"&&(Jb.ss=t-1),!0)}function RGe(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Jb,i,o;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},Jb,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),o=TGe(this,!n,r,i),n&&(o=i.pastFuture(+this,o)),i.postformat(o)}var gL=Math.abs;function Y0(e){return(e>0)-(e<0)||+e}function nP(){if(!this.isValid())return this.localeData().invalidDate();var e=gL(this._milliseconds)/1e3,t=gL(this._days),n=gL(this._months),r,i,o,a,s=this.asSeconds(),l,c,u,d;return s?(r=eu(e/60),i=eu(r/60),e%=60,r%=60,o=eu(n/12),n%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=s<0?"-":"",c=Y0(this._months)!==Y0(s)?"-":"",u=Y0(this._days)!==Y0(s)?"-":"",d=Y0(this._milliseconds)!==Y0(s)?"-":"",l+"P"+(o?c+o+"Y":"")+(n?c+n+"M":"")+(t?u+t+"D":"")+(i||r||e?"T":"")+(i?d+i+"H":"")+(r?d+r+"M":"")+(e?d+a+"S":"")):"P0D"}var ri=eP.prototype;ri.isValid=Sze;ri.abs=eGe;ri.add=tGe;ri.subtract=nGe;ri.as=iGe;ri.asMilliseconds=s_e;ri.asSeconds=oGe;ri.asMinutes=aGe;ri.asHours=sGe;ri.asDays=lGe;ri.asWeeks=cGe;ri.asMonths=uGe;ri.asQuarters=dGe;ri.asYears=fGe;ri.valueOf=pGe;ri._bubble=rGe;ri.clone=hGe;ri.get=mGe;ri.milliseconds=gGe;ri.seconds=vGe;ri.minutes=bGe;ri.hours=yGe;ri.days=_Ge;ri.weeks=CGe;ri.months=SGe;ri.years=EGe;ri.humanize=RGe;ri.toISOString=nP;ri.toString=nP;ri.toJSON=nP;ri.locale=Yye;ri.localeData=Qye;ri.toIsoString=Tu("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",nP);ri.lang=Kye;ir("X",0,0,"unix");ir("x",0,0,"valueOf");jn("x",Q5);jn("X",KHe);Li("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});Li("x",function(e,t,n){n._d=new Date(Wr(e))});//! moment.js -En.version="2.30.1";IHe(uo);En.fn=pn;En.min=vze;En.max=bze;En.now=yze;En.utc=Vf;En.unix=qVe;En.months=KVe;En.isDate=Xx;En.locale=rg;En.invalid=W5;En.duration=Ld;En.isMoment=Ed;En.weekdays=XVe;En.parseZone=YVe;En.localeData=Eh;En.isDuration=xA;En.monthsShort=QVe;En.weekdaysMin=JVe;En.defineLocale=GW;En.updateLocale=YUe;En.locales=KUe;En.weekdaysShort=ZVe;En.normalizeUnits=xu;En.relativeTimeRounding=xGe;En.relativeTimeThreshold=OGe;En.calendarFormat=Vze;En.prototype=pn;En.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};let mR;const IGe=new Uint8Array(16);function AGe(){if(!mR&&(mR=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!mR))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return mR(IGe)}const Ya=[];for(let e=0;e<256;++e)Ya.push((e+256).toString(16).slice(1));function NGe(e,t=0){return Ya[e[t+0]]+Ya[e[t+1]]+Ya[e[t+2]]+Ya[e[t+3]]+"-"+Ya[e[t+4]]+Ya[e[t+5]]+"-"+Ya[e[t+6]]+Ya[e[t+7]]+"-"+Ya[e[t+8]]+Ya[e[t+9]]+"-"+Ya[e[t+10]]+Ya[e[t+11]]+Ya[e[t+12]]+Ya[e[t+13]]+Ya[e[t+14]]+Ya[e[t+15]]}const MGe=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Xte={randomUUID:MGe};function kGe(e,t,n){if(Xte.randomUUID&&!t&&!e)return Xte.randomUUID();e=e||{};const r=e.random||(e.rng||AGe)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,NGe(r)}const PGe="1.1.7";function DGe(){return PGe}function LGe(){const e=localStorage.getItem(dA);(e===null||e==="true")&&new Audio(N6e).play()}function $Ge(){return En().format("YYYY-MM-DD HH:mm:ss")}function rP(){return kGe().replaceAll(/-/g,"")}function K0(e){return e.endsWith("/")?e.slice(0,-1):e}function Zte(e,t){return e.length>t?e.slice(0,t-3)+"...":e}function FGe(e){if($6e===e||F6e===e||B6e===e||j6e===e||H6e===e)return!0}function BGe(e){return e===mT||e===gT}function jGe(e){return e===mT||e===gT}function HGe(e){return e.startsWith(Y6e)}function l_e(){console.log("%cWelcome to Bytedesk","font-family:Arial; color:#3370ff ; font-size:18px; font-weight:bold;","GitHub:https://github.com/bytedesk/bytedesk")}function UGe(){return["undo","redo","brush","eraser","|","bold","italic","underline","strike","link","code","hr","todo","emoji","font-color","|","image","video","attachment","quote","code-block","table"]}const $l=Ic()(Md(kd(Pd(e=>({orgTree:[],currentOrg:{uid:"",name:"",logo:"",description:""},setCurrentOrg(t){e({currentOrg:t})},deleteOrg:()=>e({currentOrg:{uid:"",name:"",logo:"",description:""}})})),{name:d6e}))),id=Ic()(Md(kd(Pd((e,t)=>({threads:[],queuingThreads:[],currentThread:{uid:"",user:{uid:"",nickname:"",avatar:""},topic:"",content:"",type:"",unreadCount:0,extra:"",updatedAt:""},currentQueuingThread:{uid:"",user:{uid:"",nickname:"",avatar:""}},threadResult:{data:{content:[],last:!0}},showQueueButton:!1,showQueueList:!1,showRightPanel:!1,loading:!1,error:null,searchText:"",pagination:{pageNumber:0,pageSize:100,total:0},filters:{},addThread(n){var i,o;if(n.status===Ree)return t().addQueuingThread(n),0;if(t().threads.some(a=>a.topic===n.topic))if(((i=t().currentThread)==null?void 0:i.topic)===""||((o=t().currentThread)==null?void 0:o.topic)!==n.topic){for(let a=0;aa.topic!==n.topic)]}),n.unreadCount}else{const a=t().threads.map(s=>s.topic===n.topic?(n.top=s.top,n.mute=s.mute,n.unread=s.unread,n.agent=s.agent,n):s);return e({threads:a}),0}else return n.unreadCount=1,e({threads:[n,...t().threads]}),n.unreadCount},addThreadWithMessage(n,r){var s,l;if(r.type===L6e)return t().addQueuingThread(n),0;const i=t().threads.some(c=>c.topic===n.topic),o=!BGe(r.type);if(jGe(r.type)&&(n.status=Iee),i)if(((s=t().currentThread)==null?void 0:s.topic)===""||((l=t().currentThread)==null?void 0:l.topic)!==n.topic){for(let c=0;cc.topic!==n.topic)]}),n.unreadCount}else{const c=t().threads.map(u=>u.topic===n.topic?(n.top=u.top,n.mute=u.mute,n.unread=u.unread,n.agent=u.agent,n):u);return e({threads:c}),0}else return o&&(n.unreadCount=1),e({threads:[n,...t().threads]}),n.unreadCount},addQueuingThread(n){t().queuingThreads.some(i=>i.topic===n.topic)||e({queuingThreads:[n,...t().queuingThreads]})},updateThreadContent(n,r){let i=null;const o=t().threads.map(a=>a.topic===n?(i={...a,unreadCount:a.unreadCount+1,content:r},i):a);return e({threads:o}),i},updateThreadStatus(n,r){let i=null;const o=t().threads.map(a=>a.topic===n?(i={...a,status:r},i):a);return e({threads:o}),i},removeThread(n){e({threads:[...t().threads.filter(r=>(r==null?void 0:r.uid)!==(n==null?void 0:n.uid))]})},closeThread(n){const r=t().threads.map(i=>i.topic===n?{...i,state:Iee}:i);e({threads:r})},addThreads(n){for(let r=0;ra.topic===i.topic))e({threads:[...t().threads,i]});else{const a=t().threads.map(s=>s.topic===i.topic?{...i,unreadCount:s.unreadCount}:s);e({threads:a})}}},setThreads(n){e(r=>{r.threads=n})},setQueuingThreads(n){e(r=>{r.queuingThreads=n})},setCurrentThread(n){e(o=>{o.showQueueList=!1});const r={...n,unreadCount:0},i=t().threads.map(o=>o.topic===r.topic?r:o);e(o=>{o.currentThread=r,o.threads=i})},setCurrentQueuingThread(n){e(r=>{r.currentQueuingThread=n})},setThreadResult(n){e(r=>{r.threadResult=n})},getUnreadCount(){return t().threads.reduce((n,r)=>{var i;return r.unreadCount>0&&r.topic!==((i=t().currentThread)==null?void 0:i.topic)?n+r.unreadCount:n},0)},setShowQueueButton(n){e(r=>{r.showQueueButton=n})},setShowQueueList(n){e(r=>{r.showQueueList=n,r.showRightPanel=!1})},setShowRightPanel(n){e(r=>{r.showRightPanel=n})},resetThreads(){e(n=>{n.threads=[],n.queuingThreads=[],n.currentThread={uid:"",user:{uid:"",nickname:"",avatar:""},topic:"",content:"",type:"",unreadCount:0,extra:"",updatedAt:""},n.currentQueuingThread={uid:"",user:{uid:"",nickname:"",avatar:""}},n.threadResult={data:{content:[],last:!0}},n.showQueueButton=!1,n.showQueueList=!1,n.showRightPanel=!1})},setLoading:n=>e({loading:n}),setError:n=>e({error:n}),setSearchText:n=>e({searchText:n}),setFilter:(n,r)=>e(i=>{i.filters[n]=r}),clearFilters:()=>e({filters:{}}),refreshThreads:async()=>{const{currentOrg:n}=$l.getState();if(n!=null&&n.uid){const{threadService:r}=await NW(async()=>{const{threadService:i}=await import("./threadService-BuSENpl7.js");return{threadService:i}},[]);await r.loadThreads(n.uid)}},setPagination:n=>e({pagination:n})})),{name:v6e}))),wh=Ic()(Md(kd(Pd((e,t)=>({messageList:[],addMessage(n){if(t().messageList.some(i=>i.uid===n.uid)){if(n.type===hT){const o=t().messageList.findIndex(a=>a.type===hT&&a.uid===n.uid);if(o!==-1){const a=[...t().messageList];a[o].content+=n.content,e({messageList:a});return}}const i=t().messageList.findIndex(o=>o.uid===n.uid);if(i!==-1){const o=[...t().messageList];o[i]=n,e({messageList:o})}}else{const i=t().messageList[t().messageList.length-1];if(i&&n.type===uB&&i.type===uB){const o=t().messageList.findIndex(s=>s.uid===i.uid),a=[...t().messageList];a[o]=n,e({messageList:a})}else e({messageList:[...t().messageList,n]})}t().sortMessageList()},addMessageList(n){const r=[];for(let o=0;ol.uid===a.uid)||r.unshift(a)}const i=[...r,...t().messageList].sort((o,a)=>{const s=En(o.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf(),l=En(a.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf();return s-l});console.log("sortedMessageList",i),e({messageList:i})},updateMessageStatus(n,r){const i=t().messageList.findIndex(o=>o.uid===n);if(i!==-1){const o=[...t().messageList];o[i].status=r,e({messageList:o})}},updateMessage(n){const r=t().messageList.findIndex(i=>i.uid===n.uid);if(r!==-1){const i=[...t().messageList];i[r].content=n.content,e({messageList:i})}else console.log("找不到该消息")},deleteMessage(n){const r=t().messageList.findIndex(i=>i.uid===n);if(r!==-1){const i=[...t().messageList];i.splice(r,1),e({messageList:i})}},recallMessage(n){const r=t().messageList.findIndex(i=>i.uid===n);if(r!==-1){const i=[...t().messageList];i[r].type=Uve,i[r].content="该消息已被撤回",e({messageList:i})}},sortMessageList(){const n=t().messageList.sort((r,i)=>{const o=En(r.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf(),a=En(i.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf();return o-a});e({messageList:n})},resetMessageList(){e({messageList:[]})}})),{name:p6e}))),Ra=Ic()(Md(kd(Pd((e,t)=>({userInfo:{uid:"",nickname:"",avatar:""},deviceUid:"",setUserInfo:n=>{e({userInfo:n})},setDeviceUid(n){e({deviceUid:n})},resetUserInfo(){e({userInfo:{uid:t().userInfo.uid,nickname:"",avatar:""}})}})),{name:m6e}))),y0=Ic()(Md(kd(Pd((e,t)=>({agentResult:{data:{content:[]}},agentInfo:{uid:"",orgUid:""},insertAgent(n){e(r=>{r.agentResult.data.content.unshift(n)})},updateAgent(n){e(r=>{const i=r.agentResult.data.content,o=i.findIndex(a=>a.uid===n.uid);o!==-1?i[o]=n:console.warn(`Agent with uid ${n.uid} not found.`)})},deleteAgent(n){e(r=>{const i=r.agentResult.data.content,o=i.findIndex(a=>a.uid===n.uid);o!==-1?i.splice(o,1):console.warn(`Agent with uid ${n.uid} not found.`)})},setAgentResult:n=>{e({agentResult:n})},setAgentInfo(n){e({agentInfo:n})},deleteAgentInfo(n){const r=t().agentResult.data.content,i=r.findIndex(o=>o.uid===n);i!==-1?e({agentResult:{...t().agentResult,data:{content:[...r.slice(0,i),...r.slice(i+1)]}}}):console.warn("Agent not found in cache:",n),t().agentInfo.uid===n&&e({agentInfo:{uid:"",orgUid:""}})},resetAgentInfo(){e({agentResult:{data:{content:[]}},agentInfo:{uid:"",orgUid:""}})}})),{name:y6e})));var c_e={exports:{}};/*! +`+new Error().stack),n=!1}return t.apply(this,arguments)},t)}var Wte={};function _ye(e,t){En.deprecationHandler!=null&&En.deprecationHandler(e,t),Wte[e]||(yye(t),Wte[e]=!0)}En.suppressDeprecationWarnings=!1;En.deprecationHandler=null;function Gf(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function NHe(e){var t,n;for(n in e)pi(e,n)&&(t=e[n],Gf(t)?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Yj(e,t){var n=Nm({},e),r;for(r in t)pi(t,r)&&(lv(e[r])&&lv(t[r])?(n[r]={},Nm(n[r],e[r]),Nm(n[r],t[r])):t[r]!=null?n[r]=t[r]:delete n[r]);for(r in e)pi(e,r)&&!pi(t,r)&&lv(e[r])&&(n[r]=Nm({},n[r]));return n}function DW(e){e!=null&&this.set(e)}var Kj;Object.keys?Kj=Object.keys:Kj=function(e){var t,n=[];for(t in e)pi(e,t)&&n.push(t);return n};var MHe={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function kHe(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return Gf(r)?r.call(t,n):r}function Lf(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var LW=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,pR=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,hL={},my={};function ir(e,t,n,r){var i=r;typeof r=="string"&&(i=function(){return this[r]()}),e&&(my[e]=i),t&&(my[t[0]]=function(){return Lf(i.apply(this,arguments),t[1],t[2])}),n&&(my[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function PHe(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function DHe(e){var t=e.match(LW),n,r;for(n=0,r=t.length;n=0&&pR.test(e);)e=e.replace(pR,r),pR.lastIndex=0,n-=1;return e}var LHe={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function $He(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(LW).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var FHe="Invalid date";function BHe(){return this._invalidDate}var jHe="%d",HHe=/\d{1,2}/;function UHe(e){return this._ordinal.replace("%d",e)}var zHe={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function VHe(e,t,n,r){var i=this._relativeTime[n];return Gf(i)?i(e,t,n,r):i.replace(/%d/i,e)}function GHe(e,t){var n=this._relativeTime[e>0?"future":"past"];return Gf(n)?n(t):n.replace(/%s/i,t)}var qte={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function xu(e){return typeof e=="string"?qte[e]||qte[e.toLowerCase()]:void 0}function $W(e){var t={},n,r;for(r in e)pi(e,r)&&(n=xu(r),n&&(t[n]=e[r]));return t}var WHe={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function qHe(e){var t=[],n;for(n in e)pi(e,n)&&t.push({unit:n,priority:WHe[n]});return t.sort(function(r,i){return r.priority-i.priority}),t}var Eye=/\d/,Ac=/\d\d/,Cye=/\d{3}/,FW=/\d{4}/,qP=/[+-]?\d{6}/,po=/\d\d?/,wye=/\d\d\d\d?/,Tye=/\d\d\d\d\d\d?/,YP=/\d{1,3}/,BW=/\d{1,4}/,KP=/[+-]?\d{1,6}/,lS=/\d+/,QP=/[+-]?\d+/,YHe=/Z|[+-]\d\d:?\d\d/gi,XP=/Z|[+-]\d\d(?::?\d\d)?/gi,KHe=/[+-]?\d+(\.\d{1,3})?/,Jx=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,cS=/^[1-9]\d?/,jW=/^([1-9]\d|\d)/,dM;dM={};function jn(e,t,n){dM[e]=Gf(t)?t:function(r,i){return r&&n?n:t}}function QHe(e,t){return pi(dM,e)?dM[e](t._strict,t._locale):new RegExp(XHe(e))}function XHe(e){return Yp(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,i,o){return n||r||i||o}))}function Yp(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function eu(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Wr(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=eu(t)),n}var Qj={};function Li(e,t){var n,r=t,i;for(typeof e=="string"&&(e=[e]),sh(t)&&(r=function(o,a){a[t]=Wr(o)}),i=e.length,n=0;n68?1900:2e3)};var xye=uS("FullYear",!0);function tUe(){return ZP(this.year())}function uS(e,t){return function(n){return n!=null?(Oye(this,e,n),En.updateOffset(this,t),this):bT(this,e)}}function bT(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function Oye(e,t,n){var r,i,o,a,s;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,i=e._isUTC,t){case"Milliseconds":return void(i?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(i?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(i?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(i?r.setUTCHours(n):r.setHours(n));case"Date":return void(i?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}o=n,a=e.month(),s=e.date(),s=s===29&&a===1&&!ZP(o)?28:s,i?r.setUTCFullYear(o,a,s):r.setFullYear(o,a,s)}}function nUe(e){return e=xu(e),Gf(this[e])?this[e]():this}function rUe(e,t){if(typeof e=="object"){e=$W(e);var n=qHe(e),r,i=n.length;for(r=0;r=0?(s=new Date(e+400,t,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,i,o,a),s}function yT(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function fM(e,t,n){var r=7+t-n,i=(7+yT(e,0,r).getUTCDay()-t)%7;return-i+r-1}function kye(e,t,n,r,i){var o=(7+n-r)%7,a=fM(e,r,i),s=1+7*(t-1)+o+a,l,c;return s<=0?(l=e-1,c=ow(l)+s):s>ow(e)?(l=e+1,c=s-ow(e)):(l=e,c=s),{year:l,dayOfYear:c}}function _T(e,t,n){var r=fM(e.year(),t,n),i=Math.floor((e.dayOfYear()-r-1)/7)+1,o,a;return i<1?(a=e.year()-1,o=i+Kp(a,t,n)):i>Kp(e.year(),t,n)?(o=i-Kp(e.year(),t,n),a=e.year()+1):(a=e.year(),o=i),{week:o,year:a}}function Kp(e,t,n){var r=fM(e,t,n),i=fM(e+1,t,n);return(ow(e)-r+i)/7}ir("w",["ww",2],"wo","week");ir("W",["WW",2],"Wo","isoWeek");jn("w",po,cS);jn("ww",po,Ac);jn("W",po,cS);jn("WW",po,Ac);e2(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=Wr(e)});function gUe(e){return _T(e,this._week.dow,this._week.doy).week}var vUe={dow:0,doy:6};function bUe(){return this._week.dow}function yUe(){return this._week.doy}function _Ue(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function SUe(e){var t=_T(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}ir("d",0,"do","day");ir("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});ir("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});ir("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});ir("e",0,0,"weekday");ir("E",0,0,"isoWeekday");jn("d",po);jn("e",po);jn("E",po);jn("dd",function(e,t){return t.weekdaysMinRegex(e)});jn("ddd",function(e,t){return t.weekdaysShortRegex(e)});jn("dddd",function(e,t){return t.weekdaysRegex(e)});e2(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);i!=null?t.d=i:Nr(n).invalidWeekday=e});e2(["d","e","E"],function(e,t,n,r){t[r]=Wr(e)});function EUe(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function CUe(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function UW(e,t){return e.slice(t,7).concat(e.slice(0,t))}var wUe="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Pye="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),TUe="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xUe=Jx,OUe=Jx,RUe=Jx;function IUe(e,t){var n=Sd(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?UW(n,this._week.dow):e?n[e.day()]:n}function AUe(e){return e===!0?UW(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function NUe(e){return e===!0?UW(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function MUe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=Vf([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?t==="dddd"?(i=Jo.call(this._weekdaysParse,a),i!==-1?i:null):t==="ddd"?(i=Jo.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=Jo.call(this._minWeekdaysParse,a),i!==-1?i:null):t==="dddd"?(i=Jo.call(this._weekdaysParse,a),i!==-1||(i=Jo.call(this._shortWeekdaysParse,a),i!==-1)?i:(i=Jo.call(this._minWeekdaysParse,a),i!==-1?i:null)):t==="ddd"?(i=Jo.call(this._shortWeekdaysParse,a),i!==-1||(i=Jo.call(this._weekdaysParse,a),i!==-1)?i:(i=Jo.call(this._minWeekdaysParse,a),i!==-1?i:null)):(i=Jo.call(this._minWeekdaysParse,a),i!==-1||(i=Jo.call(this._weekdaysParse,a),i!==-1)?i:(i=Jo.call(this._shortWeekdaysParse,a),i!==-1?i:null))}function kUe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return MUe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=Vf([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function PUe(e){if(!this.isValid())return e!=null?this:NaN;var t=bT(this,"Day");return e!=null?(e=EUe(e,this.localeData()),this.add(e-t,"d")):t}function DUe(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function LUe(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=CUe(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function $Ue(e){return this._weekdaysParseExact?(pi(this,"_weekdaysRegex")||zW.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(pi(this,"_weekdaysRegex")||(this._weekdaysRegex=xUe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function FUe(e){return this._weekdaysParseExact?(pi(this,"_weekdaysRegex")||zW.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(pi(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=OUe),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function BUe(e){return this._weekdaysParseExact?(pi(this,"_weekdaysRegex")||zW.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(pi(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=RUe),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function zW(){function e(u,d){return d.length-u.length}var t=[],n=[],r=[],i=[],o,a,s,l,c;for(o=0;o<7;o++)a=Vf([2e3,1]).day(o),s=Yp(this.weekdaysMin(a,"")),l=Yp(this.weekdaysShort(a,"")),c=Yp(this.weekdays(a,"")),t.push(s),n.push(l),r.push(c),i.push(s),i.push(l),i.push(c);t.sort(e),n.sort(e),r.sort(e),i.sort(e),this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function VW(){return this.hours()%12||12}function jUe(){return this.hours()||24}ir("H",["HH",2],0,"hour");ir("h",["hh",2],0,VW);ir("k",["kk",2],0,jUe);ir("hmm",0,0,function(){return""+VW.apply(this)+Lf(this.minutes(),2)});ir("hmmss",0,0,function(){return""+VW.apply(this)+Lf(this.minutes(),2)+Lf(this.seconds(),2)});ir("Hmm",0,0,function(){return""+this.hours()+Lf(this.minutes(),2)});ir("Hmmss",0,0,function(){return""+this.hours()+Lf(this.minutes(),2)+Lf(this.seconds(),2)});function Dye(e,t){ir(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}Dye("a",!0);Dye("A",!1);function Lye(e,t){return t._meridiemParse}jn("a",Lye);jn("A",Lye);jn("H",po,jW);jn("h",po,cS);jn("k",po,cS);jn("HH",po,Ac);jn("hh",po,Ac);jn("kk",po,Ac);jn("hmm",wye);jn("hmmss",Tye);jn("Hmm",wye);jn("Hmmss",Tye);Li(["H","HH"],wa);Li(["k","kk"],function(e,t,n){var r=Wr(e);t[wa]=r===24?0:r});Li(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});Li(["h","hh"],function(e,t,n){t[wa]=Wr(e),Nr(n).bigHour=!0});Li("hmm",function(e,t,n){var r=e.length-2;t[wa]=Wr(e.substr(0,r)),t[rd]=Wr(e.substr(r)),Nr(n).bigHour=!0});Li("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[wa]=Wr(e.substr(0,r)),t[rd]=Wr(e.substr(r,2)),t[zp]=Wr(e.substr(i)),Nr(n).bigHour=!0});Li("Hmm",function(e,t,n){var r=e.length-2;t[wa]=Wr(e.substr(0,r)),t[rd]=Wr(e.substr(r))});Li("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[wa]=Wr(e.substr(0,r)),t[rd]=Wr(e.substr(r,2)),t[zp]=Wr(e.substr(i))});function HUe(e){return(e+"").toLowerCase().charAt(0)==="p"}var UUe=/[ap]\.?m?\.?/i,zUe=uS("Hours",!0);function VUe(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var $ye={calendar:MHe,longDateFormat:LHe,invalidDate:FHe,ordinal:jHe,dayOfMonthOrdinalParse:HHe,relativeTime:zHe,months:oUe,monthsShort:Rye,week:vUe,weekdays:wUe,weekdaysMin:TUe,weekdaysShort:Pye,meridiemParse:UUe},go={},IE={},ST;function GUe(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(i=JP(o.slice(0,n).join("-")),i)return i;if(r&&r.length>=n&&GUe(o,r)>=n-1)break;n--}t++}return ST}function qUe(e){return!!(e&&e.match("^[^/\\\\]*$"))}function JP(e){var t=null,n;if(go[e]===void 0&&typeof module<"u"&&module&&module.exports&&qUe(e))try{t=ST._abbr,n=require,n("./locale/"+e),rg(t)}catch{go[e]=null}return go[e]}function rg(e,t){var n;return e&&(hl(t)?n=Eh(e):n=GW(e,t),n?ST=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ST._abbr}function GW(e,t){if(t!==null){var n,r=$ye;if(t.abbr=e,go[e]!=null)_ye("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=go[e]._config;else if(t.parentLocale!=null)if(go[t.parentLocale]!=null)r=go[t.parentLocale]._config;else if(n=JP(t.parentLocale),n!=null)r=n._config;else return IE[t.parentLocale]||(IE[t.parentLocale]=[]),IE[t.parentLocale].push({name:e,config:t}),null;return go[e]=new DW(Yj(r,t)),IE[e]&&IE[e].forEach(function(i){GW(i.name,i.config)}),rg(e),go[e]}else return delete go[e],null}function YUe(e,t){if(t!=null){var n,r,i=$ye;go[e]!=null&&go[e].parentLocale!=null?go[e].set(Yj(go[e]._config,t)):(r=JP(e),r!=null&&(i=r._config),t=Yj(i,t),r==null&&(t.abbr=e),n=new DW(t),n.parentLocale=go[e],go[e]=n),rg(e)}else go[e]!=null&&(go[e].parentLocale!=null?(go[e]=go[e].parentLocale,e===rg()&&rg(e)):go[e]!=null&&delete go[e]);return go[e]}function Eh(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ST;if(!Sd(e)){if(t=JP(e),t)return t;e=[e]}return WUe(e)}function KUe(){return Kj(go)}function WW(e){var t,n=e._a;return n&&Nr(e).overflow===-2&&(t=n[Up]<0||n[Up]>11?Up:n[gf]<1||n[gf]>HW(n[Is],n[Up])?gf:n[wa]<0||n[wa]>24||n[wa]===24&&(n[rd]!==0||n[zp]!==0||n[$1]!==0)?wa:n[rd]<0||n[rd]>59?rd:n[zp]<0||n[zp]>59?zp:n[$1]<0||n[$1]>999?$1:-1,Nr(e)._overflowDayOfYear&&(tgf)&&(t=gf),Nr(e)._overflowWeeks&&t===-1&&(t=JHe),Nr(e)._overflowWeekday&&t===-1&&(t=eUe),Nr(e).overflow=t),e}var QUe=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,XUe=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ZUe=/Z|[+-]\d\d(?::?\d\d)?/,hR=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],mL=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],JUe=/^\/?Date\((-?\d+)/i,eze=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,tze={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Fye(e){var t,n,r=e._i,i=QUe.exec(r)||XUe.exec(r),o,a,s,l,c=hR.length,u=mL.length;if(i){for(Nr(e).iso=!0,t=0,n=c;tow(a)||e._dayOfYear===0)&&(Nr(e)._overflowDayOfYear=!0),n=yT(a,0,e._dayOfYear),e._a[Up]=n.getUTCMonth(),e._a[gf]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=i[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[wa]===24&&e._a[rd]===0&&e._a[zp]===0&&e._a[$1]===0&&(e._nextDay=!0,e._a[wa]=0),e._d=(e._useUTC?yT:mUe).apply(null,r),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[wa]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==o&&(Nr(e).weekdayMismatch=!0)}}function cze(e){var t,n,r,i,o,a,s,l,c;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(o=1,a=4,n=Ob(t.GG,e._a[Is],_T(uo(),1,4).year),r=Ob(t.W,1),i=Ob(t.E,1),(i<1||i>7)&&(l=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,c=_T(uo(),o,a),n=Ob(t.gg,e._a[Is],c.year),r=Ob(t.w,c.week),t.d!=null?(i=t.d,(i<0||i>6)&&(l=!0)):t.e!=null?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o),r<1||r>Kp(n,o,a)?Nr(e)._overflowWeeks=!0:l!=null?Nr(e)._overflowWeekday=!0:(s=kye(n,r,i,o,a),e._a[Is]=s.year,e._dayOfYear=s.dayOfYear)}En.ISO_8601=function(){};En.RFC_2822=function(){};function YW(e){if(e._f===En.ISO_8601){Fye(e);return}if(e._f===En.RFC_2822){Bye(e);return}e._a=[],Nr(e).empty=!0;var t=""+e._i,n,r,i,o,a,s=t.length,l=0,c,u;for(i=Sye(e._f,e._locale).match(LW)||[],u=i.length,n=0;n0&&Nr(e).unusedInput.push(a),t=t.slice(t.indexOf(r)+r.length),l+=r.length),my[o]?(r?Nr(e).empty=!1:Nr(e).unusedTokens.push(o),ZHe(o,r,e)):e._strict&&!r&&Nr(e).unusedTokens.push(o);Nr(e).charsLeftOver=s-l,t.length>0&&Nr(e).unusedInput.push(t),e._a[wa]<=12&&Nr(e).bigHour===!0&&e._a[wa]>0&&(Nr(e).bigHour=void 0),Nr(e).parsedDateParts=e._a.slice(0),Nr(e).meridiem=e._meridiem,e._a[wa]=uze(e._locale,e._a[wa],e._meridiem),c=Nr(e).era,c!==null&&(e._a[Is]=e._locale.erasConvertYear(c,e._a[Is])),qW(e),WW(e)}function uze(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function dze(e){var t,n,r,i,o,a,s=!1,l=e._f.length;if(l===0){Nr(e).invalidFormat=!0,e._d=new Date(NaN);return}for(i=0;ithis?this:e:WP()});function Uye(e,t){var n,r;if(t.length===1&&Sd(t[0])&&(t=t[0]),!t.length)return uo();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Mze(){if(!hl(this._isDSTShifted))return this._isDSTShifted;var e={},t;return PW(e,this),e=jye(e),e._a?(t=e._isUTC?Vf(e._a):uo(e._a),this._isDSTShifted=this.isValid()&&Cze(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function kze(){return this.isValid()?!this._isUTC:!1}function Pze(){return this.isValid()?this._isUTC:!1}function Vye(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Dze=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Lze=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ld(e,t){var n=e,r=null,i,o,a;return xA(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:sh(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=Dze.exec(e))?(i=r[1]==="-"?-1:1,n={y:0,d:Wr(r[gf])*i,h:Wr(r[wa])*i,m:Wr(r[rd])*i,s:Wr(r[zp])*i,ms:Wr(Xj(r[$1]*1e3))*i}):(r=Lze.exec(e))?(i=r[1]==="-"?-1:1,n={y:n1(r[2],i),M:n1(r[3],i),w:n1(r[4],i),d:n1(r[5],i),h:n1(r[6],i),m:n1(r[7],i),s:n1(r[8],i)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(a=$ze(uo(n.from),uo(n.to)),n={},n.ms=a.milliseconds,n.M=a.months),o=new e5(n),xA(e)&&pi(e,"_locale")&&(o._locale=e._locale),xA(e)&&pi(e,"_isValid")&&(o._isValid=e._isValid),o}Ld.fn=e5.prototype;Ld.invalid=Eze;function n1(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Kte(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function $ze(e,t){var n;return e.isValid()&&t.isValid()?(t=QW(t,e),e.isBefore(t)?n=Kte(e,t):(n=Kte(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Gye(e,t){return function(n,r){var i,o;return r!==null&&!isNaN(+r)&&(_ye(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),i=Ld(n,r),Wye(this,i,e),this}}function Wye(e,t,n,r){var i=t._milliseconds,o=Xj(t._days),a=Xj(t._months);e.isValid()&&(r=r??!0,a&&Aye(e,bT(e,"Month")+a*n),o&&Oye(e,"Date",bT(e,"Date")+o*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&En.updateOffset(e,o||a))}var Fze=Gye(1,"add"),Bze=Gye(-1,"subtract");function qye(e){return typeof e=="string"||e instanceof String}function jze(e){return Ed(e)||Xx(e)||qye(e)||sh(e)||Uze(e)||Hze(e)||e===null||e===void 0}function Hze(e){var t=lv(e)&&!MW(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],i,o,a=r.length;for(i=0;in.valueOf():n.valueOf()9999?TA(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Gf(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",TA(n,"Z")):TA(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function nVe(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,i,o;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",o=t+'[")]',this.format(n+r+i+o)}function rVe(e){e||(e=this.isUtc()?En.defaultFormatUtc:En.defaultFormat);var t=TA(this,e);return this.localeData().postformat(t)}function iVe(e,t){return this.isValid()&&(Ed(e)&&e.isValid()||uo(e).isValid())?Ld({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oVe(e){return this.from(uo(),e)}function aVe(e,t){return this.isValid()&&(Ed(e)&&e.isValid()||uo(e).isValid())?Ld({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function sVe(e){return this.to(uo(),e)}function Yye(e){var t;return e===void 0?this._locale._abbr:(t=Eh(e),t!=null&&(this._locale=t),this)}var Kye=Tu("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function Qye(){return this._locale}var pM=1e3,gy=60*pM,hM=60*gy,Xye=(365*400+97)*24*hM;function vy(e,t){return(e%t+t)%t}function Zye(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-Xye:new Date(e,t,n).valueOf()}function Jye(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-Xye:Date.UTC(e,t,n)}function lVe(e){var t,n;if(e=xu(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Jye:Zye,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=vy(t+(this._isUTC?0:this.utcOffset()*gy),hM);break;case"minute":t=this._d.valueOf(),t-=vy(t,gy);break;case"second":t=this._d.valueOf(),t-=vy(t,pM);break}return this._d.setTime(t),En.updateOffset(this,!0),this}function cVe(e){var t,n;if(e=xu(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Jye:Zye,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hM-vy(t+(this._isUTC?0:this.utcOffset()*gy),hM)-1;break;case"minute":t=this._d.valueOf(),t+=gy-vy(t,gy)-1;break;case"second":t=this._d.valueOf(),t+=pM-vy(t,pM)-1;break}return this._d.setTime(t),En.updateOffset(this,!0),this}function uVe(){return this._d.valueOf()-(this._offset||0)*6e4}function dVe(){return Math.floor(this.valueOf()/1e3)}function fVe(){return new Date(this.valueOf())}function pVe(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function hVe(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function mVe(){return this.isValid()?this.toISOString():null}function gVe(){return kW(this)}function vVe(){return Nm({},Nr(this))}function bVe(){return Nr(this).overflow}function yVe(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}ir("N",0,0,"eraAbbr");ir("NN",0,0,"eraAbbr");ir("NNN",0,0,"eraAbbr");ir("NNNN",0,0,"eraName");ir("NNNNN",0,0,"eraNarrow");ir("y",["y",1],"yo","eraYear");ir("y",["yy",2],0,"eraYear");ir("y",["yyy",3],0,"eraYear");ir("y",["yyyy",4],0,"eraYear");jn("N",XW);jn("NN",XW);jn("NNN",XW);jn("NNNN",AVe);jn("NNNNN",NVe);Li(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?Nr(n).era=i:Nr(n).invalidEra=e});jn("y",lS);jn("yy",lS);jn("yyy",lS);jn("yyyy",lS);jn("yo",MVe);Li(["y","yy","yyy","yyyy"],Is);Li(["yo"],function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Is]=n._locale.eraYearOrdinalParse(e,i):t[Is]=parseInt(e,10)});function _Ve(e,t){var n,r,i,o=this._eras||Eh("en")._eras;for(n=0,r=o.length;n=0)return o[r]}function EVe(e,t){var n=e.since<=e.until?1:-1;return t===void 0?En(e.since).year():En(e.since).year()+(t-e.offset)*n}function CVe(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;eo&&(t=o),BVe.call(this,e,t,n,r,i))}function BVe(e,t,n,r,i){var o=kye(e,t,n,r,i),a=yT(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}ir("Q",0,"Qo","quarter");jn("Q",Eye);Li("Q",function(e,t){t[Up]=(Wr(e)-1)*3});function jVe(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}ir("D",["DD",2],"Do","date");jn("D",po,cS);jn("DD",po,Ac);jn("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});Li(["D","DD"],gf);Li("Do",function(e,t){t[gf]=Wr(e.match(po)[0])});var t_e=uS("Date",!0);ir("DDD",["DDDD",3],"DDDo","dayOfYear");jn("DDD",YP);jn("DDDD",Cye);Li(["DDD","DDDD"],function(e,t,n){n._dayOfYear=Wr(e)});function HVe(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}ir("m",["mm",2],0,"minute");jn("m",po,jW);jn("mm",po,Ac);Li(["m","mm"],rd);var UVe=uS("Minutes",!1);ir("s",["ss",2],0,"second");jn("s",po,jW);jn("ss",po,Ac);Li(["s","ss"],zp);var zVe=uS("Seconds",!1);ir("S",0,0,function(){return~~(this.millisecond()/100)});ir(0,["SS",2],0,function(){return~~(this.millisecond()/10)});ir(0,["SSS",3],0,"millisecond");ir(0,["SSSS",4],0,function(){return this.millisecond()*10});ir(0,["SSSSS",5],0,function(){return this.millisecond()*100});ir(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});ir(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});ir(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});ir(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});jn("S",YP,Eye);jn("SS",YP,Ac);jn("SSS",YP,Cye);var Mm,n_e;for(Mm="SSSS";Mm.length<=9;Mm+="S")jn(Mm,lS);function VVe(e,t){t[$1]=Wr(("0."+e)*1e3)}for(Mm="S";Mm.length<=9;Mm+="S")Li(Mm,VVe);n_e=uS("Milliseconds",!1);ir("z",0,0,"zoneAbbr");ir("zz",0,0,"zoneName");function GVe(){return this._isUTC?"UTC":""}function WVe(){return this._isUTC?"Coordinated Universal Time":""}var pn=Zx.prototype;pn.add=Fze;pn.calendar=Gze;pn.clone=Wze;pn.diff=Jze;pn.endOf=cVe;pn.format=rVe;pn.from=iVe;pn.fromNow=oVe;pn.to=aVe;pn.toNow=sVe;pn.get=nUe;pn.invalidAt=bVe;pn.isAfter=qze;pn.isBefore=Yze;pn.isBetween=Kze;pn.isSame=Qze;pn.isSameOrAfter=Xze;pn.isSameOrBefore=Zze;pn.isValid=gVe;pn.lang=Kye;pn.locale=Yye;pn.localeData=Qye;pn.max=gze;pn.min=mze;pn.parsingFlags=vVe;pn.set=rUe;pn.startOf=lVe;pn.subtract=Bze;pn.toArray=pVe;pn.toObject=hVe;pn.toDate=fVe;pn.toISOString=tVe;pn.inspect=nVe;typeof Symbol<"u"&&Symbol.for!=null&&(pn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});pn.toJSON=mVe;pn.toString=eVe;pn.unix=dVe;pn.valueOf=uVe;pn.creationData=yVe;pn.eraName=CVe;pn.eraNarrow=wVe;pn.eraAbbr=TVe;pn.eraYear=xVe;pn.year=xye;pn.isLeapYear=tUe;pn.weekYear=kVe;pn.isoWeekYear=PVe;pn.quarter=pn.quarters=jVe;pn.month=Nye;pn.daysInMonth=fUe;pn.week=pn.weeks=_Ue;pn.isoWeek=pn.isoWeeks=SUe;pn.weeksInYear=$Ve;pn.weeksInWeekYear=FVe;pn.isoWeeksInYear=DVe;pn.isoWeeksInISOWeekYear=LVe;pn.date=t_e;pn.day=pn.days=PUe;pn.weekday=DUe;pn.isoWeekday=LUe;pn.dayOfYear=HVe;pn.hour=pn.hours=zUe;pn.minute=pn.minutes=UVe;pn.second=pn.seconds=zVe;pn.millisecond=pn.milliseconds=n_e;pn.utcOffset=Tze;pn.utc=Oze;pn.local=Rze;pn.parseZone=Ize;pn.hasAlignedHourOffset=Aze;pn.isDST=Nze;pn.isLocal=kze;pn.isUtcOffset=Pze;pn.isUtc=Vye;pn.isUTC=Vye;pn.zoneAbbr=GVe;pn.zoneName=WVe;pn.dates=Tu("dates accessor is deprecated. Use date instead.",t_e);pn.months=Tu("months accessor is deprecated. Use month instead",Nye);pn.years=Tu("years accessor is deprecated. Use year instead",xye);pn.zone=Tu("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",xze);pn.isDSTShifted=Tu("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Mze);function qVe(e){return uo(e*1e3)}function YVe(){return uo.apply(null,arguments).parseZone()}function r_e(e){return e}var hi=DW.prototype;hi.calendar=kHe;hi.longDateFormat=$He;hi.invalidDate=BHe;hi.ordinal=UHe;hi.preparse=r_e;hi.postformat=r_e;hi.relativeTime=VHe;hi.pastFuture=GHe;hi.set=NHe;hi.eras=_Ve;hi.erasParse=SVe;hi.erasConvertYear=EVe;hi.erasAbbrRegex=RVe;hi.erasNameRegex=OVe;hi.erasNarrowRegex=IVe;hi.months=lUe;hi.monthsShort=cUe;hi.monthsParse=dUe;hi.monthsRegex=hUe;hi.monthsShortRegex=pUe;hi.week=gUe;hi.firstDayOfYear=yUe;hi.firstDayOfWeek=bUe;hi.weekdays=IUe;hi.weekdaysMin=NUe;hi.weekdaysShort=AUe;hi.weekdaysParse=kUe;hi.weekdaysRegex=$Ue;hi.weekdaysShortRegex=FUe;hi.weekdaysMinRegex=BUe;hi.isPM=HUe;hi.meridiem=VUe;function mM(e,t,n,r){var i=Eh(),o=Vf().set(r,t);return i[n](o,e)}function i_e(e,t,n){if(sh(e)&&(t=e,e=void 0),e=e||"",t!=null)return mM(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=mM(e,r,n,"month");return i}function JW(e,t,n,r){typeof e=="boolean"?(sh(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,sh(t)&&(n=t,t=void 0),t=t||"");var i=Eh(),o=e?i._week.dow:0,a,s=[];if(n!=null)return mM(t,(n+o)%7,r,"day");for(a=0;a<7;a++)s[a]=mM(t,(a+o)%7,r,"day");return s}function KVe(e,t){return i_e(e,t,"months")}function QVe(e,t){return i_e(e,t,"monthsShort")}function XVe(e,t,n){return JW(e,t,n,"weekdays")}function ZVe(e,t,n){return JW(e,t,n,"weekdaysShort")}function JVe(e,t,n){return JW(e,t,n,"weekdaysMin")}rg("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=Wr(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});En.lang=Tu("moment.lang is deprecated. Use moment.locale instead.",rg);En.langData=Tu("moment.langData is deprecated. Use moment.localeData instead.",Eh);var ap=Math.abs;function eGe(){var e=this._data;return this._milliseconds=ap(this._milliseconds),this._days=ap(this._days),this._months=ap(this._months),e.milliseconds=ap(e.milliseconds),e.seconds=ap(e.seconds),e.minutes=ap(e.minutes),e.hours=ap(e.hours),e.months=ap(e.months),e.years=ap(e.years),this}function o_e(e,t,n,r){var i=Ld(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function tGe(e,t){return o_e(this,e,t,1)}function nGe(e,t){return o_e(this,e,t,-1)}function Qte(e){return e<0?Math.floor(e):Math.ceil(e)}function rGe(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,i,o,a,s,l;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=Qte(Jj(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,i=eu(e/1e3),r.seconds=i%60,o=eu(i/60),r.minutes=o%60,a=eu(o/60),r.hours=a%24,t+=eu(a/24),l=eu(a_e(t)),n+=l,t-=Qte(Jj(l)),s=eu(n/12),n%=12,r.days=t,r.months=n,r.years=s,this}function a_e(e){return e*4800/146097}function Jj(e){return e*146097/4800}function iGe(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=xu(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+a_e(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Jj(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function Ch(e){return function(){return this.as(e)}}var s_e=Ch("ms"),oGe=Ch("s"),aGe=Ch("m"),sGe=Ch("h"),lGe=Ch("d"),cGe=Ch("w"),uGe=Ch("M"),dGe=Ch("Q"),fGe=Ch("y"),pGe=s_e;function hGe(){return Ld(this)}function mGe(e){return e=xu(e),this.isValid()?this[e+"s"]():NaN}function b0(e){return function(){return this.isValid()?this._data[e]:NaN}}var gGe=b0("milliseconds"),vGe=b0("seconds"),bGe=b0("minutes"),yGe=b0("hours"),_Ge=b0("days"),SGe=b0("months"),EGe=b0("years");function CGe(){return eu(this.days()/7)}var Ip=Math.round,Jb={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function wGe(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function TGe(e,t,n,r){var i=Ld(e).abs(),o=Ip(i.as("s")),a=Ip(i.as("m")),s=Ip(i.as("h")),l=Ip(i.as("d")),c=Ip(i.as("M")),u=Ip(i.as("w")),d=Ip(i.as("y")),f=o<=n.ss&&["s",o]||o0,f[4]=r,wGe.apply(null,f)}function xGe(e){return e===void 0?Ip:typeof e=="function"?(Ip=e,!0):!1}function OGe(e,t){return Jb[e]===void 0?!1:t===void 0?Jb[e]:(Jb[e]=t,e==="s"&&(Jb.ss=t-1),!0)}function RGe(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=Jb,i,o;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},Jb,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),i=this.localeData(),o=TGe(this,!n,r,i),n&&(o=i.pastFuture(+this,o)),i.postformat(o)}var gL=Math.abs;function Y0(e){return(e>0)-(e<0)||+e}function n5(){if(!this.isValid())return this.localeData().invalidDate();var e=gL(this._milliseconds)/1e3,t=gL(this._days),n=gL(this._months),r,i,o,a,s=this.asSeconds(),l,c,u,d;return s?(r=eu(e/60),i=eu(r/60),e%=60,r%=60,o=eu(n/12),n%=12,a=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=s<0?"-":"",c=Y0(this._months)!==Y0(s)?"-":"",u=Y0(this._days)!==Y0(s)?"-":"",d=Y0(this._milliseconds)!==Y0(s)?"-":"",l+"P"+(o?c+o+"Y":"")+(n?c+n+"M":"")+(t?u+t+"D":"")+(i||r||e?"T":"")+(i?d+i+"H":"")+(r?d+r+"M":"")+(e?d+a+"S":"")):"P0D"}var ri=e5.prototype;ri.isValid=Sze;ri.abs=eGe;ri.add=tGe;ri.subtract=nGe;ri.as=iGe;ri.asMilliseconds=s_e;ri.asSeconds=oGe;ri.asMinutes=aGe;ri.asHours=sGe;ri.asDays=lGe;ri.asWeeks=cGe;ri.asMonths=uGe;ri.asQuarters=dGe;ri.asYears=fGe;ri.valueOf=pGe;ri._bubble=rGe;ri.clone=hGe;ri.get=mGe;ri.milliseconds=gGe;ri.seconds=vGe;ri.minutes=bGe;ri.hours=yGe;ri.days=_Ge;ri.weeks=CGe;ri.months=SGe;ri.years=EGe;ri.humanize=RGe;ri.toISOString=n5;ri.toString=n5;ri.toJSON=n5;ri.locale=Yye;ri.localeData=Qye;ri.toIsoString=Tu("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",n5);ri.lang=Kye;ir("X",0,0,"unix");ir("x",0,0,"valueOf");jn("x",QP);jn("X",KHe);Li("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});Li("x",function(e,t,n){n._d=new Date(Wr(e))});//! moment.js +En.version="2.30.1";IHe(uo);En.fn=pn;En.min=vze;En.max=bze;En.now=yze;En.utc=Vf;En.unix=qVe;En.months=KVe;En.isDate=Xx;En.locale=rg;En.invalid=WP;En.duration=Ld;En.isMoment=Ed;En.weekdays=XVe;En.parseZone=YVe;En.localeData=Eh;En.isDuration=xA;En.monthsShort=QVe;En.weekdaysMin=JVe;En.defineLocale=GW;En.updateLocale=YUe;En.locales=KUe;En.weekdaysShort=ZVe;En.normalizeUnits=xu;En.relativeTimeRounding=xGe;En.relativeTimeThreshold=OGe;En.calendarFormat=Vze;En.prototype=pn;En.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};let mR;const IGe=new Uint8Array(16);function AGe(){if(!mR&&(mR=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!mR))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return mR(IGe)}const Ya=[];for(let e=0;e<256;++e)Ya.push((e+256).toString(16).slice(1));function NGe(e,t=0){return Ya[e[t+0]]+Ya[e[t+1]]+Ya[e[t+2]]+Ya[e[t+3]]+"-"+Ya[e[t+4]]+Ya[e[t+5]]+"-"+Ya[e[t+6]]+Ya[e[t+7]]+"-"+Ya[e[t+8]]+Ya[e[t+9]]+"-"+Ya[e[t+10]]+Ya[e[t+11]]+Ya[e[t+12]]+Ya[e[t+13]]+Ya[e[t+14]]+Ya[e[t+15]]}const MGe=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Xte={randomUUID:MGe};function kGe(e,t,n){if(Xte.randomUUID&&!t&&!e)return Xte.randomUUID();e=e||{};const r=e.random||(e.rng||AGe)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,NGe(r)}const PGe="1.1.8";function DGe(){return PGe}function LGe(){const e=localStorage.getItem(dA);(e===null||e==="true")&&new Audio(N6e).play()}function $Ge(){return En().format("YYYY-MM-DD HH:mm:ss")}function r5(){return kGe().replaceAll(/-/g,"")}function K0(e){return e.endsWith("/")?e.slice(0,-1):e}function Zte(e,t){return e.length>t?e.slice(0,t-3)+"...":e}function FGe(e){if($6e===e||F6e===e||B6e===e||j6e===e||H6e===e)return!0}function BGe(e){return e===mT||e===gT}function jGe(e){return e===mT||e===gT}function HGe(e){return e.startsWith(Y6e)}function l_e(){console.log("%cWelcome to Bytedesk","font-family:Arial; color:#3370ff ; font-size:18px; font-weight:bold;","GitHub:https://github.com/bytedesk/bytedesk")}function UGe(){return["undo","redo","brush","eraser","|","bold","italic","underline","strike","link","code","hr","todo","emoji","font-color","|","image","video","attachment","quote","code-block","table"]}const $l=Ic()(Md(kd(Pd(e=>({orgTree:[],currentOrg:{uid:"",name:"",logo:"",description:""},setCurrentOrg(t){e({currentOrg:t})},deleteOrg:()=>e({currentOrg:{uid:"",name:"",logo:"",description:""}})})),{name:d6e}))),id=Ic()(Md(kd(Pd((e,t)=>({threads:[],queuingThreads:[],currentThread:{uid:"",user:{uid:"",nickname:"",avatar:""},topic:"",content:"",type:"",unreadCount:0,extra:"",updatedAt:""},currentQueuingThread:{uid:"",user:{uid:"",nickname:"",avatar:""}},threadResult:{data:{content:[],last:!0}},showQueueButton:!1,showQueueList:!1,showRightPanel:!1,loading:!1,error:null,searchText:"",pagination:{pageNumber:0,pageSize:100,total:0},filters:{},addThread(n){var i,o;if(n.status===Ree)return t().addQueuingThread(n),0;if(t().threads.some(a=>a.topic===n.topic))if(((i=t().currentThread)==null?void 0:i.topic)===""||((o=t().currentThread)==null?void 0:o.topic)!==n.topic){for(let a=0;aa.topic!==n.topic)]}),n.unreadCount}else{const a=t().threads.map(s=>s.topic===n.topic?(n.top=s.top,n.mute=s.mute,n.unread=s.unread,n.agent=s.agent,n):s);return e({threads:a}),0}else return n.unreadCount=1,e({threads:[n,...t().threads]}),n.unreadCount},addThreadWithMessage(n,r){var s,l;if(r.type===L6e)return t().addQueuingThread(n),0;const i=t().threads.some(c=>c.topic===n.topic),o=!BGe(r.type);if(jGe(r.type)&&(n.status=Iee),i)if(((s=t().currentThread)==null?void 0:s.topic)===""||((l=t().currentThread)==null?void 0:l.topic)!==n.topic){for(let c=0;cc.topic!==n.topic)]}),n.unreadCount}else{const c=t().threads.map(u=>u.topic===n.topic?(n.top=u.top,n.mute=u.mute,n.unread=u.unread,n.agent=u.agent,n):u);return e({threads:c}),0}else return o&&(n.unreadCount=1),e({threads:[n,...t().threads]}),n.unreadCount},addQueuingThread(n){t().queuingThreads.some(i=>i.topic===n.topic)||e({queuingThreads:[n,...t().queuingThreads]})},updateThreadContent(n,r){let i=null;const o=t().threads.map(a=>a.topic===n?(i={...a,unreadCount:a.unreadCount+1,content:r},i):a);return e({threads:o}),i},updateThreadStatus(n,r){let i=null;const o=t().threads.map(a=>a.topic===n?(i={...a,status:r},i):a);return e({threads:o}),i},removeThread(n){e({threads:[...t().threads.filter(r=>(r==null?void 0:r.uid)!==(n==null?void 0:n.uid))]})},closeThread(n){const r=t().threads.map(i=>i.topic===n?{...i,state:Iee}:i);e({threads:r})},addThreads(n){for(let r=0;ra.topic===i.topic))e({threads:[...t().threads,i]});else{const a=t().threads.map(s=>s.topic===i.topic?{...i,unreadCount:s.unreadCount}:s);e({threads:a})}}},setThreads(n){e(r=>{r.threads=n})},setQueuingThreads(n){e(r=>{r.queuingThreads=n})},setCurrentThread(n){e(o=>{o.showQueueList=!1});const r={...n,unreadCount:0},i=t().threads.map(o=>o.topic===r.topic?r:o);e(o=>{o.currentThread=r,o.threads=i})},setCurrentQueuingThread(n){e(r=>{r.currentQueuingThread=n})},setThreadResult(n){e(r=>{r.threadResult=n})},getUnreadCount(){return t().threads.reduce((n,r)=>{var i;return r.unreadCount>0&&r.topic!==((i=t().currentThread)==null?void 0:i.topic)?n+r.unreadCount:n},0)},setShowQueueButton(n){e(r=>{r.showQueueButton=n})},setShowQueueList(n){e(r=>{r.showQueueList=n,r.showRightPanel=!1})},setShowRightPanel(n){e(r=>{r.showRightPanel=n})},resetThreads(){e(n=>{n.threads=[],n.queuingThreads=[],n.currentThread={uid:"",user:{uid:"",nickname:"",avatar:""},topic:"",content:"",type:"",unreadCount:0,extra:"",updatedAt:""},n.currentQueuingThread={uid:"",user:{uid:"",nickname:"",avatar:""}},n.threadResult={data:{content:[],last:!0}},n.showQueueButton=!1,n.showQueueList=!1,n.showRightPanel=!1})},setLoading:n=>e({loading:n}),setError:n=>e({error:n}),setSearchText:n=>e({searchText:n}),setFilter:(n,r)=>e(i=>{i.filters[n]=r}),clearFilters:()=>e({filters:{}}),refreshThreads:async()=>{const{currentOrg:n}=$l.getState();if(n!=null&&n.uid){const{threadService:r}=await NW(async()=>{const{threadService:i}=await import("./threadService-RbTpiYIo.js");return{threadService:i}},[]);await r.loadThreads(n.uid)}},setPagination:n=>e({pagination:n})})),{name:v6e}))),wh=Ic()(Md(kd(Pd((e,t)=>({messageList:[],addMessage(n){if(t().messageList.some(i=>i.uid===n.uid)){if(n.type===hT){const o=t().messageList.findIndex(a=>a.type===hT&&a.uid===n.uid);if(o!==-1){const a=[...t().messageList];a[o].content+=n.content,e({messageList:a});return}}const i=t().messageList.findIndex(o=>o.uid===n.uid);if(i!==-1){const o=[...t().messageList];o[i]=n,e({messageList:o})}}else{const i=t().messageList[t().messageList.length-1];if(i&&n.type===uB&&i.type===uB){const o=t().messageList.findIndex(s=>s.uid===i.uid),a=[...t().messageList];a[o]=n,e({messageList:a})}else e({messageList:[...t().messageList,n]})}t().sortMessageList()},addMessageList(n){const r=[];for(let o=0;ol.uid===a.uid)||r.unshift(a)}const i=[...r,...t().messageList].sort((o,a)=>{const s=En(o.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf(),l=En(a.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf();return s-l});console.log("sortedMessageList",i),e({messageList:i})},updateMessageStatus(n,r){const i=t().messageList.findIndex(o=>o.uid===n);if(i!==-1){const o=[...t().messageList];o[i].status=r,e({messageList:o})}},updateMessage(n){const r=t().messageList.findIndex(i=>i.uid===n.uid);if(r!==-1){const i=[...t().messageList];i[r].content=n.content,e({messageList:i})}else console.log("找不到该消息")},deleteMessage(n){const r=t().messageList.findIndex(i=>i.uid===n);if(r!==-1){const i=[...t().messageList];i.splice(r,1),e({messageList:i})}},recallMessage(n){const r=t().messageList.findIndex(i=>i.uid===n);if(r!==-1){const i=[...t().messageList];i[r].type=Uve,i[r].content="该消息已被撤回",e({messageList:i})}},sortMessageList(){const n=t().messageList.sort((r,i)=>{const o=En(r.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf(),a=En(i.createdAt,"YYYY-MM-DD HH:mm:ss").valueOf();return o-a});e({messageList:n})},resetMessageList(){e({messageList:[]})}})),{name:p6e}))),Ra=Ic()(Md(kd(Pd((e,t)=>({userInfo:{uid:"",nickname:"",avatar:""},deviceUid:"",setUserInfo:n=>{e({userInfo:n})},setDeviceUid(n){e({deviceUid:n})},resetUserInfo(){e({userInfo:{uid:t().userInfo.uid,nickname:"",avatar:""}})}})),{name:m6e}))),y0=Ic()(Md(kd(Pd((e,t)=>({agentResult:{data:{content:[]}},agentInfo:{uid:"",orgUid:""},insertAgent(n){e(r=>{r.agentResult.data.content.unshift(n)})},updateAgent(n){e(r=>{const i=r.agentResult.data.content,o=i.findIndex(a=>a.uid===n.uid);o!==-1?i[o]=n:console.warn(`Agent with uid ${n.uid} not found.`)})},deleteAgent(n){e(r=>{const i=r.agentResult.data.content,o=i.findIndex(a=>a.uid===n.uid);o!==-1?i.splice(o,1):console.warn(`Agent with uid ${n.uid} not found.`)})},setAgentResult:n=>{e({agentResult:n})},setAgentInfo(n){e({agentInfo:n})},deleteAgentInfo(n){const r=t().agentResult.data.content,i=r.findIndex(o=>o.uid===n);i!==-1?e({agentResult:{...t().agentResult,data:{content:[...r.slice(0,i),...r.slice(i+1)]}}}):console.warn("Agent not found in cache:",n),t().agentInfo.uid===n&&e({agentInfo:{uid:"",orgUid:""}})},resetAgentInfo(){e({agentResult:{data:{content:[]}},agentInfo:{uid:"",orgUid:""}})}})),{name:y6e})));var c_e={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",a=0;a1&&arguments[1]!==void 0?arguments[1]:{},n=[];return se.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(ko(r)):u_e(r)&&r.props?n=n.concat(ko(r.props.children,t)):n.push(r))}),n}var eH={},WGe=function(t){};function qGe(e,t){}function YGe(e,t){}function KGe(){eH={}}function d_e(e,t,n){!t&&!eH[n]&&(e(!1,n),eH[n]=!0)}function Yr(e,t){d_e(qGe,e,t)}function ET(e,t){d_e(YGe,e,t)}Yr.preMessage=WGe;Yr.resetWarned=KGe;Yr.noteOnce=ET;function QGe(e,t){if(Gt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Gt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function f_e(e){var t=QGe(e,"string");return Gt(t)=="symbol"?t:t+""}function ee(e,t,n){return(t=f_e(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jte(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function G(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},n=[];return se.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(ko(r)):u_e(r)&&r.props?n=n.concat(ko(r.props.children,t)):n.push(r))}),n}var eH={},WGe=function(t){};function qGe(e,t){}function YGe(e,t){}function KGe(){eH={}}function d_e(e,t,n){!t&&!eH[n]&&(e(!1,n),eH[n]=!0)}function Yr(e,t){d_e(qGe,e,t)}function ET(e,t){d_e(YGe,e,t)}Yr.preMessage=WGe;Yr.resetWarned=KGe;Yr.noteOnce=ET;function QGe(e,t){if(Gt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Gt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function f_e(e){var t=QGe(e,"string");return Gt(t)=="symbol"?t:t+""}function ee(e,t,n){return(t=f_e(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jte(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function G(e){for(var t=1;t0},e.prototype.connect_=function(){!nH||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),aWe?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!nH||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,i=oWe.some(function(o){return!!~r.indexOf(o)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),g_e=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof r_(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new mWe(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof r_(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new gWe(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),b_e=typeof WeakMap<"u"?new WeakMap:new m_e,y_e=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=sWe.getInstance(),r=new vWe(t,n,this);b_e.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){y_e.prototype[e]=function(){var t;return(t=b_e.get(this))[e].apply(t,arguments)}});var bWe=function(){return typeof gM.ResizeObserver<"u"?gM.ResizeObserver:y_e}(),km=new Map;function yWe(e){e.forEach(function(t){var n,r=t.target;(n=km.get(r))===null||n===void 0||n.forEach(function(i){return i(r)})})}var __e=new bWe(yWe);function _We(e,t){km.has(e)||(km.set(e,new Set),__e.observe(e)),km.get(e).add(t)}function SWe(e,t){km.has(e)&&(km.get(e).delete(t),km.get(e).size||(__e.unobserve(e),km.delete(e)))}function Kr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tne(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;nne+=1;var r=nne;function i(o){if(o===0)T_e(r),t();else{var a=C_e(function(){i(o-1)});rq.set(r,a)}}return i(n),r};nr.cancel=function(e){var t=rq.get(e);return T_e(e),w_e(t)};function x_e(e){if(Array.isArray(e))return e}function IWe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function O_e(){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 Ie(e,t){return x_e(e)||IWe(e,t)||bP(e,t)||O_e()}function xT(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function dS(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function AWe(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var rne="data-rc-order",ine="data-rc-priority",NWe="rc-util-key",iH=new Map;function R_e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):NWe}function yP(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function MWe(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function iq(e){return Array.from((iH.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function I_e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!dS())return null;var n=t.csp,r=t.prepend,i=t.priority,o=i===void 0?0:i,a=MWe(r),s=a==="prependQueue",l=document.createElement("style");l.setAttribute(rne,a),s&&o&&l.setAttribute(ine,"".concat(o)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var c=yP(t),u=c.firstChild;if(r){if(s){var d=(t.styles||iq(c)).filter(function(f){if(!["prepend","prependQueue"].includes(f.getAttribute(rne)))return!1;var h=Number(f.getAttribute(ine)||0);return o>=h});if(d.length)return c.insertBefore(l,d[d.length-1].nextSibling),l}c.insertBefore(l,u)}else c.appendChild(l);return l}function A_e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=yP(t);return(t.styles||iq(n)).find(function(r){return r.getAttribute(R_e(t))===e})}function oq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=A_e(e,t);if(n){var r=yP(t);r.removeChild(n)}}function kWe(e,t){var n=iH.get(e);if(!n||!AWe(document,n)){var r=I_e("",t),i=r.parentNode;iH.set(e,i),e.removeChild(r)}}function by(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=yP(n),i=iq(r),o=G(G({},n),{},{styles:i});kWe(r,o);var a=A_e(t,o);if(a){var s,l;if((s=o.csp)!==null&&s!==void 0&&s.nonce&&a.nonce!==((l=o.csp)===null||l===void 0?void 0:l.nonce)){var c;a.nonce=(c=o.csp)===null||c===void 0?void 0:c.nonce}return a.innerHTML!==e&&(a.innerHTML=e),a}var u=I_e(e,o);return u.setAttribute(R_e(o),t),u}function PWe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Dt(e,t){if(e==null)return{};var n,r,i=PWe(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(o,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(o);if(t2(!l,"Warning: There may be circular references"),l)return!1;if(o===a)return!0;if(n&&s>1)return!1;r.add(o);var c=s+1;if(Array.isArray(o)){if(!Array.isArray(a)||o.length!==a.length)return!1;for(var u=0;u1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return n.forEach(function(s){if(!a)a=void 0;else{var l;a=(l=a)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(r=a)!==null&&r!==void 0&&r.value&&o&&(a.value[1]=this.cacheCallTimes++),(i=a)===null||i===void 0?void 0:i.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var i=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(c,u){var d=Ie(c,2),f=d[1];return i.internalGet(u)[1]0,void 0),ane+=1}return Qr(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,i){return i(n,r)},void 0)}}]),e}(),yL=new sq;function $v(e){var t=Array.isArray(e)?e:[e];return yL.has(t)||yL.set(t,new lq(t)),yL.get(t)}var QWe=new WeakMap,_L={};function XWe(e,t){for(var n=QWe,r=0;r3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(o)return e;var a=G(G({},i),{},(r={},ee(r,i_,t),ee(r,dd,n),r)),s=Object.keys(a).map(function(l){var c=a[l];return c?"".concat(l,'="').concat(c,'"'):null}).filter(function(l){return l}).join(" ");return"")}var lw=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).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()},eqe=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(i){var o=Ie(i,2),a=o[0],s=o[1];return"".concat(a,":").concat(s,";")}).join(""),"}"):""},L_e=function(t,n,r){var i={},o={};return Object.entries(t).forEach(function(a){var s,l,c=Ie(a,2),u=c[0],d=c[1];if(r!=null&&(s=r.preserve)!==null&&s!==void 0&&s[u])o[u]=d;else if((typeof d=="string"||typeof d=="number")&&!(r!=null&&(l=r.ignore)!==null&&l!==void 0&&l[u])){var f,h=lw(u,r==null?void 0:r.prefix);i[h]=typeof d=="number"&&!(r!=null&&(f=r.unitless)!==null&&f!==void 0&&f[u])?"".concat(d,"px"):String(d),o[u]="var(".concat(h,")")}}),[o,eqe(i,n,{scope:r==null?void 0:r.scope})]},cne=dS()?p.useLayoutEffect:p.useEffect,tqe=function(t,n){var r=p.useRef(!0);cne(function(){return t(r.current)},n),cne(function(){return r.current=!1,function(){r.current=!0}},[])},nqe=G({},$x),une=nqe.useInsertionEffect,rqe=function(t,n,r){p.useMemo(t,r),tqe(function(){return n(!0)},r)},iqe=une?function(e,t,n){return une(function(){return e(),t()},n)}:rqe,oqe=G({},$x),aqe=oqe.useInsertionEffect,sqe=function(t){var n=[],r=!1;function i(o){r||n.push(o)}return p.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(o){return o()})}},t),i},lqe=function(){return function(t){t()}},cqe=typeof aqe<"u"?sqe:lqe;function cq(e,t,n,r,i){var o=p.useContext(o_),a=o.cache,s=[e].concat(nt(t)),l=aH(s),c=cqe([l]),u=function(m){a.opUpdate(l,function(g){var v=g||[void 0,void 0],y=Ie(v,2),b=y[0],_=b===void 0?0:b,E=y[1],C=E,S=C||n(),w=[_,S];return m?m(w):w})};p.useMemo(function(){u()},[l]);var d=a.opGet(l),f=d[1];return iqe(function(){i==null||i(f)},function(h){return u(function(m){var g=Ie(m,2),v=g[0],y=g[1];return h&&v===0&&(i==null||i(f)),[v+1,y]}),function(){a.opUpdate(l,function(m){var g=m||[],v=Ie(g,2),y=v[0],b=y===void 0?0:y,_=v[1],E=b-1;return E===0?(c(function(){(h||!a.opGet(l))&&(r==null||r(_,!1))}),null):[b-1,_]})}},[l]),f}var uqe={},dqe="css",w1=new Map;function fqe(e){w1.set(e,(w1.get(e)||0)+1)}function pqe(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(i_,'="').concat(e,'"]'));n.forEach(function(r){if(r[Pm]===t){var i;(i=r.parentNode)===null||i===void 0||i.removeChild(r)}})}}var hqe=0;function mqe(e,t){w1.set(e,(w1.get(e)||0)-1);var n=Array.from(w1.keys()),r=n.filter(function(i){var o=w1.get(i)||0;return o<=0});n.length-r.length>hqe&&r.forEach(function(i){pqe(i,t),w1.delete(i)})}var uq=function(t,n,r,i){var o=r.getDerivativeToken(t),a=G(G({},o),n);return i&&(a=i(a)),a},$_e="token";function dq(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=p.useContext(o_),i=r.cache.instanceId,o=r.container,a=n.salt,s=a===void 0?"":a,l=n.override,c=l===void 0?uqe:l,u=n.formatToken,d=n.getComputedToken,f=n.cssVar,h=XWe(function(){return Object.assign.apply(Object,[{}].concat(nt(t)))},t),m=sw(h),g=sw(c),v=f?sw(f):"",y=cq($_e,[s,e.id,m,g,v],function(){var b,_=d?d(h,c,e):uq(h,c,e,u),E=G({},_),C="";if(f){var S=L_e(_,f.key,{prefix:f.prefix,ignore:f.ignore,unitless:f.unitless,preserve:f.preserve}),w=Ie(S,2);_=w[0],C=w[1]}var T=lne(_,s);_._tokenKey=T,E._tokenKey=lne(E,s);var O=(b=f==null?void 0:f.key)!==null&&b!==void 0?b:T;_._themeKey=O,fqe(O);var x="".concat(dqe,"-").concat(xT(T));return _._hashId=x,[_,x,E,C,(f==null?void 0:f.key)||""]},function(b){mqe(b[0]._themeKey,i)},function(b){var _=Ie(b,4),E=_[0],C=_[3];if(f&&C){var S=by(C,xT("css-variables-".concat(E._themeKey)),{mark:dd,prepend:"queue",attachTo:o,priority:-999});S[Pm]=i,S.setAttribute(i_,E._themeKey)}});return y}var gqe=function(t,n,r){var i=Ie(t,5),o=i[2],a=i[3],s=i[4],l=r||{},c=l.plain;if(!a)return null;var u=o._tokenKey,d=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},h=OT(a,s,u,f,c);return[d,u,h]},F_e={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},B_e="comm",j_e="rule",H_e="decl",vqe="@import",bqe="@keyframes",yqe="@layer",U_e=Math.abs,fq=String.fromCharCode;function z_e(e){return e.trim()}function RA(e,t,n){return e.replace(t,n)}function _qe(e,t,n){return e.indexOf(t,n)}function RT(e,t){return e.charCodeAt(t)|0}function s_(e,t,n){return e.slice(t,n)}function sf(e){return e.length}function Sqe(e){return e.length}function gR(e,t){return t.push(e),e}var _P=1,l_=1,V_e=0,gu=0,da=0,fS="";function pq(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:_P,column:l_,length:a,return:"",siblings:s}}function Eqe(){return da}function Cqe(){return da=gu>0?RT(fS,--gu):0,l_--,da===10&&(l_=1,_P--),da}function fd(){return da=gu2||IT(da)>3?"":" "}function Oqe(e,t){for(;--t&&fd()&&!(da<48||da>102||da>57&&da<65||da>70&&da<97););return SP(e,IA()+(t<6&&Dm()==32&&fd()==32))}function lH(e){for(;fd();)switch(da){case e:return gu;case 34:case 39:e!==34&&e!==39&&lH(da);break;case 40:e===41&&lH(e);break;case 92:fd();break}return gu}function Rqe(e,t){for(;fd()&&e+da!==57;)if(e+da===84&&Dm()===47)break;return"/*"+SP(t,gu-1)+"*"+fq(e===47?e:fd())}function Iqe(e){for(;!IT(Dm());)fd();return SP(e,gu)}function Aqe(e){return Tqe(AA("",null,null,null,[""],e=wqe(e),0,[0],e))}function AA(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,f=0,h=0,m=0,g=1,v=1,y=1,b=0,_="",E=i,C=o,S=r,w=_;v;)switch(m=b,b=fd()){case 40:if(m!=108&&RT(w,d-1)==58){_qe(w+=RA(CL(b),"&","&\f"),"&\f",U_e(c?s[c-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:w+=CL(b);break;case 9:case 10:case 13:case 32:w+=xqe(m);break;case 92:w+=Oqe(IA()-1,7);continue;case 47:switch(Dm()){case 42:case 47:gR(Nqe(Rqe(fd(),IA()),t,n,l),l),(IT(m||1)==5||IT(Dm()||1)==5)&&sf(w)&&s_(w,-1,void 0)!==" "&&(w+=" ");break;default:w+="/"}break;case 123*g:s[c++]=sf(w)*y;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+u:y==-1&&(w=RA(w,/\f/g,"")),h>0&&(sf(w)-d||g===0&&m===47)&&gR(h>32?fne(w+";",r,n,d-1,l):fne(RA(w," ","")+";",r,n,d-2,l),l);break;case 59:w+=";";default:if(gR(S=dne(w,t,n,c,u,i,s,_,E=[],C=[],d,o),o),b===123)if(u===0)AA(w,t,S,S,E,o,d,s,C);else switch(f===99&&RT(w,3)===110?100:f){case 100:case 108:case 109:case 115:AA(e,S,S,r&&gR(dne(e,S,S,0,0,i,s,_,i,E=[],d,C),C),i,C,d,s,r?E:C);break;default:AA(w,S,S,S,[""],C,0,s,C)}}c=u=h=0,g=y=1,_=w="",d=a;break;case 58:d=1+sf(w),h=m;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&Cqe()==125)continue}switch(w+=fq(b),b*g){case 38:y=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(sf(w)-1)*y,y=1;break;case 64:Dm()===45&&(w+=CL(fd())),f=Dm(),u=d=sf(_=w+=Iqe(IA())),b++;break;case 45:m===45&&sf(w)==2&&(g=0)}}return o}function dne(e,t,n,r,i,o,a,s,l,c,u,d){for(var f=i-1,h=i===0?o:[""],m=Sqe(h),g=0,v=0,y=0;g0?h[b]+" "+_:RA(_,/&\f/g,h[b])))&&(l[y++]=E);return pq(e,t,n,i===0?j_e:s,l,c,u,d)}function Nqe(e,t,n,r){return pq(e,t,n,B_e,fq(Eqe()),s_(e,2,-2),0,r)}function fne(e,t,n,r,i){return pq(e,t,n,H_e,s_(e,0,r),s_(e,r+1,-1),r,i)}function cH(e,t){for(var n="",r=0;r1}function Pqe(e){return e.parentSelectors.reduce(function(t,n){return t?n.includes("&")?n.replace(/&/g,t):"".concat(t," ").concat(n):n},"")}var Dqe=function(t,n,r){var i=Pqe(r),o=i.match(/:not\([^)]*\)/g)||[];o.length>0&&o.some(kqe)&&F1("Concat ':not' selector not support in legacy browsers.",r)},Lqe=function(t,n,r){switch(t){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":F1("You seem to be using non-logical property '".concat(t,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof n=="string"){var i=n.split(" ").map(function(s){return s.trim()});i.length===4&&i[1]!==i[3]&&F1("You seem to be using '".concat(t,"' property with different left ").concat(t," and right ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return;case"clear":case"textAlign":(n==="left"||n==="right")&&F1("You seem to be using non-logical value '".concat(n,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"borderRadius":if(typeof n=="string"){var o=n.split("/").map(function(s){return s.trim()}),a=o.reduce(function(s,l){if(s)return s;var c=l.split(" ").map(function(u){return u.trim()});return c.length>=2&&c[0]!==c[1]||c.length===3&&c[1]!==c[2]||c.length===4&&c[2]!==c[3]?!0:s},!1);a&&F1("You seem to be using non-logical value '".concat(n,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return}},$qe=function(t,n,r){(typeof n=="string"&&/NaN/g.test(n)||Number.isNaN(n))&&F1("Unexpected 'NaN' in property '".concat(t,": ").concat(n,"'."),r)},Fqe=function(t,n,r){r.parentSelectors.some(function(i){var o=i.split(",");return o.some(function(a){return a.split("&").length>2})})&&F1("Should not use more than one `&` in a selector.",r)},cw="data-ant-cssinjs-cache-path",G_e="_FILE_STYLE__";function Bqe(e){return Object.keys(e).map(function(t){var n=e[t];return"".concat(t,":").concat(n)}).join(";")}var cv,W_e=!0;function jqe(){if(!cv&&(cv={},dS())){var e=document.createElement("div");e.className=cw,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(i){var o=i.split(":"),a=Ie(o,2),s=a[0],l=a[1];cv[s]=l});var n=document.querySelector("style[".concat(cw,"]"));if(n){var r;W_e=!1,(r=n.parentNode)===null||r===void 0||r.removeChild(n)}document.body.removeChild(e)}}function Hqe(e){return jqe(),!!cv[e]}function Uqe(e){var t=cv[e],n=null;if(t&&dS())if(W_e)n=G_e;else{var r=document.querySelector("style[".concat(dd,'="').concat(cv[e],'"]'));r?n=r.innerHTML:delete cv[e]}return[n,t]}var zqe="_skip_check_",q_e="_multi_value_";function NA(e){var t=cH(Aqe(e),Mqe);return t.replace(/\{%%%\:[^;];}/g,";")}function Vqe(e){return Gt(e)==="object"&&e&&(zqe in e||q_e in e)}function pne(e,t,n){if(!t)return e;var r=".".concat(t),i=n==="low"?":where(".concat(r,")"):r,o=e.split(",").map(function(a){var s,l=a.trim().split(/\s+/),c=l[0]||"",u=((s=c.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return c="".concat(u).concat(i).concat(c.slice(u.length)),[c].concat(nt(l.slice(1))).join(" ")});return o.join(",")}var Gqe=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},i=r.root,o=r.injectHash,a=r.parentSelectors,s=n.hashId,l=n.layer;n.path;var c=n.hashPriority,u=n.transformers,d=u===void 0?[]:u;n.linters;var f="",h={};function m(y){var b=y.getName(s);if(!h[b]){var _=e(y.style,n,{root:!1,parentSelectors:a}),E=Ie(_,1),C=E[0];h[b]="@keyframes ".concat(y.getName(s)).concat(C)}}function g(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return y.forEach(function(_){Array.isArray(_)?g(_,b):_&&b.push(_)}),b}var v=g(Array.isArray(t)?t:[t]);return v.forEach(function(y){var b=typeof y=="string"&&!i?{}:y;if(typeof b=="string")f+="".concat(b,` + */var eq=Symbol.for("react.element"),tq=Symbol.for("react.portal"),a5=Symbol.for("react.fragment"),s5=Symbol.for("react.strict_mode"),l5=Symbol.for("react.profiler"),c5=Symbol.for("react.provider"),u5=Symbol.for("react.context"),XGe=Symbol.for("react.server_context"),d5=Symbol.for("react.forward_ref"),f5=Symbol.for("react.suspense"),p5=Symbol.for("react.suspense_list"),h5=Symbol.for("react.memo"),m5=Symbol.for("react.lazy"),ZGe=Symbol.for("react.offscreen"),h_e;h_e=Symbol.for("react.module.reference");function Ou(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case eq:switch(e=e.type,e){case a5:case l5:case s5:case f5:case p5:return e;default:switch(e=e&&e.$$typeof,e){case XGe:case u5:case d5:case m5:case h5:case c5:return e;default:return t}}case tq:return t}}}Oi.ContextConsumer=u5;Oi.ContextProvider=c5;Oi.Element=eq;Oi.ForwardRef=d5;Oi.Fragment=a5;Oi.Lazy=m5;Oi.Memo=h5;Oi.Portal=tq;Oi.Profiler=l5;Oi.StrictMode=s5;Oi.Suspense=f5;Oi.SuspenseList=p5;Oi.isAsyncMode=function(){return!1};Oi.isConcurrentMode=function(){return!1};Oi.isContextConsumer=function(e){return Ou(e)===u5};Oi.isContextProvider=function(e){return Ou(e)===c5};Oi.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===eq};Oi.isForwardRef=function(e){return Ou(e)===d5};Oi.isFragment=function(e){return Ou(e)===a5};Oi.isLazy=function(e){return Ou(e)===m5};Oi.isMemo=function(e){return Ou(e)===h5};Oi.isPortal=function(e){return Ou(e)===tq};Oi.isProfiler=function(e){return Ou(e)===l5};Oi.isStrictMode=function(e){return Ou(e)===s5};Oi.isSuspense=function(e){return Ou(e)===f5};Oi.isSuspenseList=function(e){return Ou(e)===p5};Oi.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===a5||e===l5||e===s5||e===f5||e===p5||e===ZGe||typeof e=="object"&&e!==null&&(e.$$typeof===m5||e.$$typeof===h5||e.$$typeof===c5||e.$$typeof===u5||e.$$typeof===d5||e.$$typeof===h_e||e.getModuleId!==void 0)};Oi.typeOf=Ou;p_e.exports=Oi;var vL=p_e.exports;function lh(e,t,n){var r=p.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}var wT=function(t,n){typeof t=="function"?t(n):Gt(t)==="object"&&t&&"current"in t&&(t.current=n)},aa=function(){for(var t=arguments.length,n=new Array(t),r=0;r0},e.prototype.connect_=function(){!nH||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),aWe?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!nH||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(t){var n=t.propertyName,r=n===void 0?"":n,i=oWe.some(function(o){return!!~r.indexOf(o)});i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),g_e=function(e,t){for(var n=0,r=Object.keys(t);n"u"||!(Element instanceof Object))){if(!(t instanceof r_(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)||(n.set(t,new mWe(t)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof r_(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var n=this.observations_;n.has(t)&&(n.delete(t),n.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(n){n.isActive()&&t.activeObservations_.push(n)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,n=this.activeObservations_.map(function(r){return new gWe(r.target,r.broadcastRect())});this.callback_.call(t,n,t),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),b_e=typeof WeakMap<"u"?new WeakMap:new m_e,y_e=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=sWe.getInstance(),r=new vWe(t,n,this);b_e.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){y_e.prototype[e]=function(){var t;return(t=b_e.get(this))[e].apply(t,arguments)}});var bWe=function(){return typeof gM.ResizeObserver<"u"?gM.ResizeObserver:y_e}(),km=new Map;function yWe(e){e.forEach(function(t){var n,r=t.target;(n=km.get(r))===null||n===void 0||n.forEach(function(i){return i(r)})})}var __e=new bWe(yWe);function _We(e,t){km.has(e)||(km.set(e,new Set),__e.observe(e)),km.get(e).add(t)}function SWe(e,t){km.has(e)&&(km.get(e).delete(t),km.get(e).size||(__e.unobserve(e),km.delete(e)))}function Kr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tne(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&arguments[1]!==void 0?arguments[1]:1;nne+=1;var r=nne;function i(o){if(o===0)T_e(r),t();else{var a=C_e(function(){i(o-1)});rq.set(r,a)}}return i(n),r};nr.cancel=function(e){var t=rq.get(e);return T_e(e),w_e(t)};function x_e(e){if(Array.isArray(e))return e}function IWe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,i,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(u){c=!0,i=u}finally{try{if(!l&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return s}}function O_e(){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 Ie(e,t){return x_e(e)||IWe(e,t)||b5(e,t)||O_e()}function xT(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}function dS(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function AWe(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var rne="data-rc-order",ine="data-rc-priority",NWe="rc-util-key",iH=new Map;function R_e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):NWe}function y5(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function MWe(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function iq(e){return Array.from((iH.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function I_e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!dS())return null;var n=t.csp,r=t.prepend,i=t.priority,o=i===void 0?0:i,a=MWe(r),s=a==="prependQueue",l=document.createElement("style");l.setAttribute(rne,a),s&&o&&l.setAttribute(ine,"".concat(o)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var c=y5(t),u=c.firstChild;if(r){if(s){var d=(t.styles||iq(c)).filter(function(f){if(!["prepend","prependQueue"].includes(f.getAttribute(rne)))return!1;var h=Number(f.getAttribute(ine)||0);return o>=h});if(d.length)return c.insertBefore(l,d[d.length-1].nextSibling),l}c.insertBefore(l,u)}else c.appendChild(l);return l}function A_e(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=y5(t);return(t.styles||iq(n)).find(function(r){return r.getAttribute(R_e(t))===e})}function oq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=A_e(e,t);if(n){var r=y5(t);r.removeChild(n)}}function kWe(e,t){var n=iH.get(e);if(!n||!AWe(document,n)){var r=I_e("",t),i=r.parentNode;iH.set(e,i),e.removeChild(r)}}function by(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=y5(n),i=iq(r),o=G(G({},n),{},{styles:i});kWe(r,o);var a=A_e(t,o);if(a){var s,l;if((s=o.csp)!==null&&s!==void 0&&s.nonce&&a.nonce!==((l=o.csp)===null||l===void 0?void 0:l.nonce)){var c;a.nonce=(c=o.csp)===null||c===void 0?void 0:c.nonce}return a.innerHTML!==e&&(a.innerHTML=e),a}var u=I_e(e,o);return u.setAttribute(R_e(o),t),u}function PWe(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Dt(e,t){if(e==null)return{};var n,r,i=PWe(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(o,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(o);if(t2(!l,"Warning: There may be circular references"),l)return!1;if(o===a)return!0;if(n&&s>1)return!1;r.add(o);var c=s+1;if(Array.isArray(o)){if(!Array.isArray(a)||o.length!==a.length)return!1;for(var u=0;u1&&arguments[1]!==void 0?arguments[1]:!1,a={map:this.cache};return n.forEach(function(s){if(!a)a=void 0;else{var l;a=(l=a)===null||l===void 0||(l=l.map)===null||l===void 0?void 0:l.get(s)}}),(r=a)!==null&&r!==void 0&&r.value&&o&&(a.value[1]=this.cacheCallTimes++),(i=a)===null||i===void 0?void 0:i.value}},{key:"get",value:function(n){var r;return(r=this.internalGet(n,!0))===null||r===void 0?void 0:r[0]}},{key:"has",value:function(n){return!!this.internalGet(n)}},{key:"set",value:function(n,r){var i=this;if(!this.has(n)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce(function(c,u){var d=Ie(c,2),f=d[1];return i.internalGet(u)[1]0,void 0),ane+=1}return Qr(e,[{key:"getDerivativeToken",value:function(n){return this.derivatives.reduce(function(r,i){return i(n,r)},void 0)}}]),e}(),yL=new sq;function $v(e){var t=Array.isArray(e)?e:[e];return yL.has(t)||yL.set(t,new lq(t)),yL.get(t)}var QWe=new WeakMap,_L={};function XWe(e,t){for(var n=QWe,r=0;r3&&arguments[3]!==void 0?arguments[3]:{},o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;if(o)return e;var a=G(G({},i),{},(r={},ee(r,i_,t),ee(r,dd,n),r)),s=Object.keys(a).map(function(l){var c=a[l];return c?"".concat(l,'="').concat(c,'"'):null}).filter(function(l){return l}).join(" ");return"")}var lw=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return"--".concat(n?"".concat(n,"-"):"").concat(t).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()},eqe=function(t,n,r){return Object.keys(t).length?".".concat(n).concat(r!=null&&r.scope?".".concat(r.scope):"","{").concat(Object.entries(t).map(function(i){var o=Ie(i,2),a=o[0],s=o[1];return"".concat(a,":").concat(s,";")}).join(""),"}"):""},L_e=function(t,n,r){var i={},o={};return Object.entries(t).forEach(function(a){var s,l,c=Ie(a,2),u=c[0],d=c[1];if(r!=null&&(s=r.preserve)!==null&&s!==void 0&&s[u])o[u]=d;else if((typeof d=="string"||typeof d=="number")&&!(r!=null&&(l=r.ignore)!==null&&l!==void 0&&l[u])){var f,h=lw(u,r==null?void 0:r.prefix);i[h]=typeof d=="number"&&!(r!=null&&(f=r.unitless)!==null&&f!==void 0&&f[u])?"".concat(d,"px"):String(d),o[u]="var(".concat(h,")")}}),[o,eqe(i,n,{scope:r==null?void 0:r.scope})]},cne=dS()?p.useLayoutEffect:p.useEffect,tqe=function(t,n){var r=p.useRef(!0);cne(function(){return t(r.current)},n),cne(function(){return r.current=!1,function(){r.current=!0}},[])},nqe=G({},$x),une=nqe.useInsertionEffect,rqe=function(t,n,r){p.useMemo(t,r),tqe(function(){return n(!0)},r)},iqe=une?function(e,t,n){return une(function(){return e(),t()},n)}:rqe,oqe=G({},$x),aqe=oqe.useInsertionEffect,sqe=function(t){var n=[],r=!1;function i(o){r||n.push(o)}return p.useEffect(function(){return r=!1,function(){r=!0,n.length&&n.forEach(function(o){return o()})}},t),i},lqe=function(){return function(t){t()}},cqe=typeof aqe<"u"?sqe:lqe;function cq(e,t,n,r,i){var o=p.useContext(o_),a=o.cache,s=[e].concat(nt(t)),l=aH(s),c=cqe([l]),u=function(m){a.opUpdate(l,function(g){var v=g||[void 0,void 0],y=Ie(v,2),b=y[0],_=b===void 0?0:b,E=y[1],C=E,S=C||n(),w=[_,S];return m?m(w):w})};p.useMemo(function(){u()},[l]);var d=a.opGet(l),f=d[1];return iqe(function(){i==null||i(f)},function(h){return u(function(m){var g=Ie(m,2),v=g[0],y=g[1];return h&&v===0&&(i==null||i(f)),[v+1,y]}),function(){a.opUpdate(l,function(m){var g=m||[],v=Ie(g,2),y=v[0],b=y===void 0?0:y,_=v[1],E=b-1;return E===0?(c(function(){(h||!a.opGet(l))&&(r==null||r(_,!1))}),null):[b-1,_]})}},[l]),f}var uqe={},dqe="css",w1=new Map;function fqe(e){w1.set(e,(w1.get(e)||0)+1)}function pqe(e,t){if(typeof document<"u"){var n=document.querySelectorAll("style[".concat(i_,'="').concat(e,'"]'));n.forEach(function(r){if(r[Pm]===t){var i;(i=r.parentNode)===null||i===void 0||i.removeChild(r)}})}}var hqe=0;function mqe(e,t){w1.set(e,(w1.get(e)||0)-1);var n=Array.from(w1.keys()),r=n.filter(function(i){var o=w1.get(i)||0;return o<=0});n.length-r.length>hqe&&r.forEach(function(i){pqe(i,t),w1.delete(i)})}var uq=function(t,n,r,i){var o=r.getDerivativeToken(t),a=G(G({},o),n);return i&&(a=i(a)),a},$_e="token";function dq(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=p.useContext(o_),i=r.cache.instanceId,o=r.container,a=n.salt,s=a===void 0?"":a,l=n.override,c=l===void 0?uqe:l,u=n.formatToken,d=n.getComputedToken,f=n.cssVar,h=XWe(function(){return Object.assign.apply(Object,[{}].concat(nt(t)))},t),m=sw(h),g=sw(c),v=f?sw(f):"",y=cq($_e,[s,e.id,m,g,v],function(){var b,_=d?d(h,c,e):uq(h,c,e,u),E=G({},_),C="";if(f){var S=L_e(_,f.key,{prefix:f.prefix,ignore:f.ignore,unitless:f.unitless,preserve:f.preserve}),w=Ie(S,2);_=w[0],C=w[1]}var T=lne(_,s);_._tokenKey=T,E._tokenKey=lne(E,s);var O=(b=f==null?void 0:f.key)!==null&&b!==void 0?b:T;_._themeKey=O,fqe(O);var x="".concat(dqe,"-").concat(xT(T));return _._hashId=x,[_,x,E,C,(f==null?void 0:f.key)||""]},function(b){mqe(b[0]._themeKey,i)},function(b){var _=Ie(b,4),E=_[0],C=_[3];if(f&&C){var S=by(C,xT("css-variables-".concat(E._themeKey)),{mark:dd,prepend:"queue",attachTo:o,priority:-999});S[Pm]=i,S.setAttribute(i_,E._themeKey)}});return y}var gqe=function(t,n,r){var i=Ie(t,5),o=i[2],a=i[3],s=i[4],l=r||{},c=l.plain;if(!a)return null;var u=o._tokenKey,d=-999,f={"data-rc-order":"prependQueue","data-rc-priority":"".concat(d)},h=OT(a,s,u,f,c);return[d,u,h]},F_e={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},B_e="comm",j_e="rule",H_e="decl",vqe="@import",bqe="@keyframes",yqe="@layer",U_e=Math.abs,fq=String.fromCharCode;function z_e(e){return e.trim()}function RA(e,t,n){return e.replace(t,n)}function _qe(e,t,n){return e.indexOf(t,n)}function RT(e,t){return e.charCodeAt(t)|0}function s_(e,t,n){return e.slice(t,n)}function sf(e){return e.length}function Sqe(e){return e.length}function gR(e,t){return t.push(e),e}var _5=1,l_=1,V_e=0,gu=0,da=0,fS="";function pq(e,t,n,r,i,o,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:_5,column:l_,length:a,return:"",siblings:s}}function Eqe(){return da}function Cqe(){return da=gu>0?RT(fS,--gu):0,l_--,da===10&&(l_=1,_5--),da}function fd(){return da=gu2||IT(da)>3?"":" "}function Oqe(e,t){for(;--t&&fd()&&!(da<48||da>102||da>57&&da<65||da>70&&da<97););return S5(e,IA()+(t<6&&Dm()==32&&fd()==32))}function lH(e){for(;fd();)switch(da){case e:return gu;case 34:case 39:e!==34&&e!==39&&lH(da);break;case 40:e===41&&lH(e);break;case 92:fd();break}return gu}function Rqe(e,t){for(;fd()&&e+da!==57;)if(e+da===84&&Dm()===47)break;return"/*"+S5(t,gu-1)+"*"+fq(e===47?e:fd())}function Iqe(e){for(;!IT(Dm());)fd();return S5(e,gu)}function Aqe(e){return Tqe(AA("",null,null,null,[""],e=wqe(e),0,[0],e))}function AA(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,f=0,h=0,m=0,g=1,v=1,y=1,b=0,_="",E=i,C=o,S=r,w=_;v;)switch(m=b,b=fd()){case 40:if(m!=108&&RT(w,d-1)==58){_qe(w+=RA(CL(b),"&","&\f"),"&\f",U_e(c?s[c-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:w+=CL(b);break;case 9:case 10:case 13:case 32:w+=xqe(m);break;case 92:w+=Oqe(IA()-1,7);continue;case 47:switch(Dm()){case 42:case 47:gR(Nqe(Rqe(fd(),IA()),t,n,l),l),(IT(m||1)==5||IT(Dm()||1)==5)&&sf(w)&&s_(w,-1,void 0)!==" "&&(w+=" ");break;default:w+="/"}break;case 123*g:s[c++]=sf(w)*y;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+u:y==-1&&(w=RA(w,/\f/g,"")),h>0&&(sf(w)-d||g===0&&m===47)&&gR(h>32?fne(w+";",r,n,d-1,l):fne(RA(w," ","")+";",r,n,d-2,l),l);break;case 59:w+=";";default:if(gR(S=dne(w,t,n,c,u,i,s,_,E=[],C=[],d,o),o),b===123)if(u===0)AA(w,t,S,S,E,o,d,s,C);else switch(f===99&&RT(w,3)===110?100:f){case 100:case 108:case 109:case 115:AA(e,S,S,r&&gR(dne(e,S,S,0,0,i,s,_,i,E=[],d,C),C),i,C,d,s,r?E:C);break;default:AA(w,S,S,S,[""],C,0,s,C)}}c=u=h=0,g=y=1,_=w="",d=a;break;case 58:d=1+sf(w),h=m;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&Cqe()==125)continue}switch(w+=fq(b),b*g){case 38:y=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(sf(w)-1)*y,y=1;break;case 64:Dm()===45&&(w+=CL(fd())),f=Dm(),u=d=sf(_=w+=Iqe(IA())),b++;break;case 45:m===45&&sf(w)==2&&(g=0)}}return o}function dne(e,t,n,r,i,o,a,s,l,c,u,d){for(var f=i-1,h=i===0?o:[""],m=Sqe(h),g=0,v=0,y=0;g0?h[b]+" "+_:RA(_,/&\f/g,h[b])))&&(l[y++]=E);return pq(e,t,n,i===0?j_e:s,l,c,u,d)}function Nqe(e,t,n,r){return pq(e,t,n,B_e,fq(Eqe()),s_(e,2,-2),0,r)}function fne(e,t,n,r,i){return pq(e,t,n,H_e,s_(e,0,r),s_(e,r+1,-1),r,i)}function cH(e,t){for(var n="",r=0;r1}function Pqe(e){return e.parentSelectors.reduce(function(t,n){return t?n.includes("&")?n.replace(/&/g,t):"".concat(t," ").concat(n):n},"")}var Dqe=function(t,n,r){var i=Pqe(r),o=i.match(/:not\([^)]*\)/g)||[];o.length>0&&o.some(kqe)&&F1("Concat ':not' selector not support in legacy browsers.",r)},Lqe=function(t,n,r){switch(t){case"marginLeft":case"marginRight":case"paddingLeft":case"paddingRight":case"left":case"right":case"borderLeft":case"borderLeftWidth":case"borderLeftStyle":case"borderLeftColor":case"borderRight":case"borderRightWidth":case"borderRightStyle":case"borderRightColor":case"borderTopLeftRadius":case"borderTopRightRadius":case"borderBottomLeftRadius":case"borderBottomRightRadius":F1("You seem to be using non-logical property '".concat(t,"' which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"margin":case"padding":case"borderWidth":case"borderStyle":if(typeof n=="string"){var i=n.split(" ").map(function(s){return s.trim()});i.length===4&&i[1]!==i[3]&&F1("You seem to be using '".concat(t,"' property with different left ").concat(t," and right ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return;case"clear":case"textAlign":(n==="left"||n==="right")&&F1("You seem to be using non-logical value '".concat(n,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r);return;case"borderRadius":if(typeof n=="string"){var o=n.split("/").map(function(s){return s.trim()}),a=o.reduce(function(s,l){if(s)return s;var c=l.split(" ").map(function(u){return u.trim()});return c.length>=2&&c[0]!==c[1]||c.length===3&&c[1]!==c[2]||c.length===4&&c[2]!==c[3]?!0:s},!1);a&&F1("You seem to be using non-logical value '".concat(n,"' of ").concat(t,", which is not compatible with RTL mode. Please use logical properties and values instead. For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties."),r)}return}},$qe=function(t,n,r){(typeof n=="string"&&/NaN/g.test(n)||Number.isNaN(n))&&F1("Unexpected 'NaN' in property '".concat(t,": ").concat(n,"'."),r)},Fqe=function(t,n,r){r.parentSelectors.some(function(i){var o=i.split(",");return o.some(function(a){return a.split("&").length>2})})&&F1("Should not use more than one `&` in a selector.",r)},cw="data-ant-cssinjs-cache-path",G_e="_FILE_STYLE__";function Bqe(e){return Object.keys(e).map(function(t){var n=e[t];return"".concat(t,":").concat(n)}).join(";")}var cv,W_e=!0;function jqe(){if(!cv&&(cv={},dS())){var e=document.createElement("div");e.className=cw,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";t=t.replace(/^"/,"").replace(/"$/,""),t.split(";").forEach(function(i){var o=i.split(":"),a=Ie(o,2),s=a[0],l=a[1];cv[s]=l});var n=document.querySelector("style[".concat(cw,"]"));if(n){var r;W_e=!1,(r=n.parentNode)===null||r===void 0||r.removeChild(n)}document.body.removeChild(e)}}function Hqe(e){return jqe(),!!cv[e]}function Uqe(e){var t=cv[e],n=null;if(t&&dS())if(W_e)n=G_e;else{var r=document.querySelector("style[".concat(dd,'="').concat(cv[e],'"]'));r?n=r.innerHTML:delete cv[e]}return[n,t]}var zqe="_skip_check_",q_e="_multi_value_";function NA(e){var t=cH(Aqe(e),Mqe);return t.replace(/\{%%%\:[^;];}/g,";")}function Vqe(e){return Gt(e)==="object"&&e&&(zqe in e||q_e in e)}function pne(e,t,n){if(!t)return e;var r=".".concat(t),i=n==="low"?":where(".concat(r,")"):r,o=e.split(",").map(function(a){var s,l=a.trim().split(/\s+/),c=l[0]||"",u=((s=c.match(/^\w+/))===null||s===void 0?void 0:s[0])||"";return c="".concat(u).concat(i).concat(c.slice(u.length)),[c].concat(nt(l.slice(1))).join(" ")});return o.join(",")}var Gqe=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{root:!0,parentSelectors:[]},i=r.root,o=r.injectHash,a=r.parentSelectors,s=n.hashId,l=n.layer;n.path;var c=n.hashPriority,u=n.transformers,d=u===void 0?[]:u;n.linters;var f="",h={};function m(y){var b=y.getName(s);if(!h[b]){var _=e(y.style,n,{root:!1,parentSelectors:a}),E=Ie(_,1),C=E[0];h[b]="@keyframes ".concat(y.getName(s)).concat(C)}}function g(y){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return y.forEach(function(_){Array.isArray(_)?g(_,b):_&&b.push(_)}),b}var v=g(Array.isArray(t)?t:[t]);return v.forEach(function(y){var b=typeof y=="string"&&!i?{}:y;if(typeof b=="string")f+="".concat(b,` `);else if(b._keyframe)m(b);else{var _=d.reduce(function(E,C){var S;return(C==null||(S=C.visit)===null||S===void 0?void 0:S.call(C,E))||E},b);Object.keys(_).forEach(function(E){var C=_[E];if(Gt(C)==="object"&&C&&(E!=="animationName"||!C._keyframe)&&!Vqe(C)){var S=!1,w=E.trim(),T=!1;(i||o)&&s?w.startsWith("@")?S=!0:w==="&"?w=pne("",s,c):w=pne(E,s,c):i&&!s&&(w==="&"||w==="")&&(w="",T=!0);var O=e(C,n,{root:T,injectHash:S,parentSelectors:[].concat(nt(a),[w])}),x=Ie(O,2),A=x[0],I=x[1];h=G(G({},h),I),f+="".concat(w).concat(A)}else{let P=function(k,N){var L=k.replace(/[A-Z]/g,function($){return"-".concat($.toLowerCase())}),V=N;!F_e[k]&&typeof V=="number"&&V!==0&&(V="".concat(V,"px")),k==="animationName"&&N!==null&&N!==void 0&&N._keyframe&&(m(N),V=N.getName(s)),f+="".concat(L,":").concat(V,";")};var M,B=(M=C==null?void 0:C.value)!==null&&M!==void 0?M:C;Gt(C)==="object"&&C!==null&&C!==void 0&&C[q_e]&&Array.isArray(B)?B.forEach(function(k){P(E,k)}):P(E,B)}})}}),i?l&&(f="@layer ".concat(l.name," {").concat(f,"}"),l.dependencies&&(h["@layer ".concat(l.name)]=l.dependencies.map(function(y){return"@layer ".concat(y,", ").concat(l.name,";")}).join(` -`))):f="{".concat(f,"}"),[f,h]};function Y_e(e,t){return xT("".concat(e.join("%")).concat(t))}function Wqe(){return null}var K_e="style";function c_(e,t){var n=e.token,r=e.path,i=e.hashId,o=e.layer,a=e.nonce,s=e.clientOnly,l=e.order,c=l===void 0?0:l,u=p.useContext(o_),d=u.autoClear;u.mock;var f=u.defaultCache,h=u.hashPriority,m=u.container,g=u.ssrInline,v=u.transformers,y=u.linters,b=u.cache,_=u.layer,E=n._tokenKey,C=[E];_&&C.push("layer"),C.push.apply(C,nt(r));var S=sH,w=cq(K_e,C,function(){var I=C.join("|");if(Hqe(I)){var M=Uqe(I),B=Ie(M,2),P=B[0],k=B[1];if(P)return[P,E,k,{},s,c]}var N=t(),L=Gqe(N,{hashId:i,hashPriority:h,layer:_?o:void 0,path:r.join("-"),transformers:v,linters:y}),V=Ie(L,2),$=V[0],W=V[1],j=NA($),U=Y_e(C,j);return[j,E,U,W,s,c]},function(I,M){var B=Ie(I,3),P=B[2];(M||d)&&sH&&oq(P,{mark:dd})},function(I){var M=Ie(I,4),B=M[0];M[1];var P=M[2],k=M[3];if(S&&B!==G_e){var N={mark:dd,prepend:_?!1:"queue",attachTo:m,priority:c},L=typeof a=="function"?a():a;L&&(N.csp={nonce:L});var V=[],$=[];Object.keys(k).forEach(function(j){j.startsWith("@layer")?V.push(j):$.push(j)}),V.forEach(function(j){by(NA(k[j]),"_layer-".concat(j),G(G({},N),{},{prepend:!0}))});var W=by(B,P,N);W[Pm]=b.instanceId,W.setAttribute(i_,E),$.forEach(function(j){by(NA(k[j]),"_effect-".concat(j),N)})}}),T=Ie(w,3),O=T[0],x=T[1],A=T[2];return function(I){var M;if(!g||S||!f)M=p.createElement(Wqe,null);else{var B;M=p.createElement("style",Ke({},(B={},ee(B,i_,x),ee(B,dd,A),B),{dangerouslySetInnerHTML:{__html:O}}))}return p.createElement(p.Fragment,null,M,I)}}var qqe=function(t,n,r){var i=Ie(t,6),o=i[0],a=i[1],s=i[2],l=i[3],c=i[4],u=i[5],d=r||{},f=d.plain;if(c)return null;var h=o,m={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return h=OT(o,a,s,m,f),l&&Object.keys(l).forEach(function(g){if(!n[g]){n[g]=!0;var v=NA(l[g]),y=OT(v,a,"_effect-".concat(g),m,f);g.startsWith("@layer")?h=y+h:h+=y}}),[u,s,h]},Q_e="cssVar",X_e=function(t,n){var r=t.key,i=t.prefix,o=t.unitless,a=t.ignore,s=t.token,l=t.scope,c=l===void 0?"":l,u=p.useContext(o_),d=u.cache.instanceId,f=u.container,h=s._tokenKey,m=[].concat(nt(t.path),[r,c,h]),g=cq(Q_e,m,function(){var v=n(),y=L_e(v,r,{prefix:i,unitless:o,ignore:a,scope:c}),b=Ie(y,2),_=b[0],E=b[1],C=Y_e(m,E);return[_,E,C,r]},function(v){var y=Ie(v,3),b=y[2];sH&&oq(b,{mark:dd})},function(v){var y=Ie(v,3),b=y[1],_=y[2];if(b){var E=by(b,_,{mark:dd,prepend:"queue",attachTo:f,priority:-999});E[Pm]=d,E.setAttribute(i_,r)}});return g},Yqe=function(t,n,r){var i=Ie(t,4),o=i[1],a=i[2],s=i[3],l=r||{},c=l.plain;if(!o)return null;var u=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},f=OT(o,s,a,d,c);return[u,a,f]},NE,Kqe=(NE={},ee(NE,K_e,qqe),ee(NE,$_e,gqe),ee(NE,Q_e,Yqe),NE);function Qqe(e){return e!==null}function Xqe(e,t){var n=typeof t=="boolean"?{plain:t}:t||{},r=n.plain,i=r===void 0?!1:r,o=n.types,a=o===void 0?["style","token","cssVar"]:o,s=new RegExp("^(".concat((typeof a=="string"?[a]:a).join("|"),")%")),l=Array.from(e.cache.keys()).filter(function(f){return s.test(f)}),c={},u={},d="";return l.map(function(f){var h=f.replace(s,"").replace(/%/g,"|"),m=f.split("%"),g=Ie(m,1),v=g[0],y=Kqe[v],b=y(e.cache.get(f)[1],c,{plain:i});if(!b)return null;var _=Ie(b,3),E=_[0],C=_[1],S=_[2];return f.startsWith("style")&&(u[h]=C),[E,S]}).filter(Qqe).sort(function(f,h){var m=Ie(f,1),g=m[0],v=Ie(h,1),y=v[0];return g-y}).forEach(function(f){var h=Ie(f,2),m=h[1];d+=m}),d+=OT(".".concat(cw,'{content:"').concat(Bqe(u),'";}'),void 0,void 0,ee({},cw,cw),i),d}var fr=function(){function e(t,n){Kr(this,e),ee(this,"name",void 0),ee(this,"style",void 0),ee(this,"_keyframe",!0),this.name=t,this.style=n}return Qr(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Zqe(e){if(typeof e=="number")return[[e],!1];var t=String(e).trim(),n=t.match(/(.*)(!important)/),r=(n?n[1]:t).trim().split(/\s+/),i=[],o=0;return[r.reduce(function(a,s){if(s.includes("(")||s.includes(")")){var l=s.split("(").length-1,c=s.split(")").length-1;o+=l-c}return o>=0&&i.push(s),o===0&&(a.push(i.join(" ")),i=[]),a},[]),!!n]}function Q0(e){return e.notSplit=!0,e}var Jqe={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Q0(["borderTop","borderBottom"]),borderBlockStart:Q0(["borderTop"]),borderBlockEnd:Q0(["borderBottom"]),borderInline:Q0(["borderLeft","borderRight"]),borderInlineStart:Q0(["borderLeft"]),borderInlineEnd:Q0(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function vR(e,t){var n=e;return t&&(n="".concat(n," !important")),{_skip_check_:!0,value:n}}var eYe={visit:function(t){var n={};return Object.keys(t).forEach(function(r){var i=t[r],o=Jqe[r];if(o&&(typeof i=="number"||typeof i=="string")){var a=Zqe(i),s=Ie(a,2),l=s[0],c=s[1];o.length&&o.notSplit?o.forEach(function(u){n[u]=vR(i,c)}):o.length===1?n[o[0]]=vR(l[0],c):o.length===2?o.forEach(function(u,d){var f;n[u]=vR((f=l[d])!==null&&f!==void 0?f:l[0],c)}):o.length===4?o.forEach(function(u,d){var f,h;n[u]=vR((f=(h=l[d])!==null&&h!==void 0?h:l[d-2])!==null&&f!==void 0?f:l[0],c)}):n[r]=i}else n[r]=i}),n}},wL=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function tYe(e,t){var n=Math.pow(10,t+1),r=Math.floor(e*n);return Math.round(r/10)*10/n}var nYe=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.rootValue,r=n===void 0?16:n,i=t.precision,o=i===void 0?5:i,a=t.mediaQuery,s=a===void 0?!1:a,l=function(d,f){if(!f)return d;var h=parseFloat(f);if(h<=1)return d;var m=tYe(h/r,o);return"".concat(m,"rem")},c=function(d){var f=G({},d);return Object.entries(d).forEach(function(h){var m=Ie(h,2),g=m[0],v=m[1];if(typeof v=="string"&&v.includes("px")){var y=v.replace(wL,l);f[g]=y}!F_e[g]&&typeof v=="number"&&v!==0&&(f[g]="".concat(v,"px").replace(wL,l));var b=g.trim();if(b.startsWith("@")&&b.includes("px")&&s){var _=g.replace(wL,l);f[_]=f[g],delete f[g]}}),f};return{visit:c}},rYe={supportModernCSS:function(){return ZWe()&&JWe()}};const iYe=Object.freeze(Object.defineProperty({__proto__:null,Keyframes:fr,NaNLinter:$qe,StyleProvider:VWe,Theme:lq,_experimental:rYe,createCache:aq,createTheme:$v,extractStyle:Xqe,genCalc:YWe,getComputedToken:uq,legacyLogicalPropertiesTransformer:eYe,legacyNotSelectorLinter:Dqe,logicalPropertiesLinter:Lqe,parentSelectorLinter:Fqe,px2remTransformer:nYe,token2CSSVar:lw,unit:Ae,useCSSVarRegister:X_e,useCacheToken:dq,useStyleRegister:c_},Symbol.toStringTag,{value:"Module"}));var EP=p.createContext({});function Z_e(e){return x_e(e)||E_e(e)||bP(e)||O_e()}function Ao(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Ao(e,t.slice(0,-1))?e:J_e(e,t,n,r)}function oYe(e){return Gt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function hne(e){return Array.isArray(e)?[]:{}}var aYe=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function B1(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=sYe,e},eSe=p.createContext(void 0);var tSe={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"},nSe={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},cYe=G(G({},nSe),{},{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",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const rSe={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},bM={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"]},cYe),timePickerLocale:Object.assign({},rSe)},Gl="${label} is not a valid ${type}",Cc={locale:"en",Pagination:tSe,DatePicker:bM,TimePicker:rSe,Calendar:bM,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Gl,method:Gl,array:Gl,object:Gl,number:Gl,date:Gl,boolean:Gl,integer:Gl,float:Gl,regexp:Gl,email:Gl,url:Gl,hex:Gl},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let MA=Object.assign({},Cc.Modal),kA=[];const mne=()=>kA.reduce((e,t)=>Object.assign(Object.assign({},e),t),Cc.Modal);function uYe(e){if(e){const t=Object.assign({},e);return kA.push(t),MA=mne(),()=>{kA=kA.filter(n=>n!==t),MA=mne()}}MA=Object.assign({},Cc.Modal)}function iSe(){return MA}const hq=p.createContext(void 0),ds=(e,t)=>{const n=p.useContext(hq),r=p.useMemo(()=>{var o;const a=t||Cc[e],s=(o=n==null?void 0:n[e])!==null&&o!==void 0?o:{};return Object.assign(Object.assign({},typeof a=="function"?a():a),s||{})},[e,t,n]),i=p.useMemo(()=>{const o=n==null?void 0:n.locale;return n!=null&&n.exist&&!o?Cc.locale:o},[n]);return[r,i]},dYe="internalMark",fYe=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;p.useEffect(()=>uYe(t==null?void 0:t.Modal),[t]);const i=p.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return p.createElement(hq.Provider,{value:i},n)},ka=Math.round;function TL(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(i=>parseFloat(i));for(let i=0;i<3;i+=1)r[i]=t(r[i]||0,n[i]||"",i);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const gne=(e,t,n)=>n===0?e:e/100;function ME(e,t){const n=t||255;return e>n?n:e<0?0:e}class rr{constructor(t){ee(this,"isValid",!0),ee(this,"r",0),ee(this,"g",0),ee(this,"b",0),ee(this,"a",1),ee(this,"_h",void 0),ee(this,"_s",void 0),ee(this,"_l",void 0),ee(this,"_v",void 0),ee(this,"_max",void 0),ee(this,"_min",void 0),ee(this,"_brightness",void 0);function n(r){return r[0]in t&&r[1]in t&&r[2]in t}if(t)if(typeof t=="string"){let i=function(o){return r.startsWith(o)};const r=t.trim();/^#?[A-F\d]{3,8}$/i.test(r)?this.fromHexString(r):i("rgb")?this.fromRgbString(r):i("hsl")?this.fromHslString(r):(i("hsv")||i("hsb"))&&this.fromHsvString(r)}else if(t instanceof rr)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=ME(t.r),this.g=ME(t.g),this.b=ME(t.b),this.a=typeof t.a=="number"?ME(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(o){const a=o/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)}const n=t(this.r),r=t(this.g),i=t(this.b);return .2126*n+.7152*r+.0722*i}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=ka(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const n=this.getHue(),r=this.getSaturation();let i=this.getLightness()-t/100;return i<0&&(i=0),this._c({h:n,s:r,l:i,a:this.a})}lighten(t=10){const n=this.getHue(),r=this.getSaturation();let i=this.getLightness()+t/100;return i>1&&(i=1),this._c({h:n,s:r,l:i,a:this.a})}mix(t,n=50){const r=this._c(t),i=n/100,o=s=>(r[s]-this[s])*i+this[s],a={r:ka(o("r")),g:ka(o("g")),b:ka(o("b")),a:ka(o("a")*100)/100};return this._c(a)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),r=this.a+n.a*(1-this.a),i=o=>ka((this[o]*this.a+n[o]*n.a*(1-this.a))/r);return this._c({r:i("r"),g:i("g"),b:i("b"),a:r})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const r=(this.g||0).toString(16);t+=r.length===2?r:"0"+r;const i=(this.b||0).toString(16);if(t+=i.length===2?i:"0"+i,typeof this.a=="number"&&this.a>=0&&this.a<1){const o=ka(this.a*255).toString(16);t+=o.length===2?o:"0"+o}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=ka(this.getSaturation()*100),r=ka(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${r}%,${this.a})`:`hsl(${t},${n}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,r){const i=this.clone();return i[t]=ME(n,r),i}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function r(i,o){return parseInt(n[i]+n[o||i],16)}n.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=n[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=n[6]?r(6,7)/255:1)}fromHsl({h:t,s:n,l:r,a:i}){if(this._h=t%360,this._s=n,this._l=r,this.a=typeof i=="number"?i:1,n<=0){const f=ka(r*255);this.r=f,this.g=f,this.b=f}let o=0,a=0,s=0;const l=t/60,c=(1-Math.abs(2*r-1))*n,u=c*(1-Math.abs(l%2-1));l>=0&&l<1?(o=c,a=u):l>=1&&l<2?(o=u,a=c):l>=2&&l<3?(a=c,s=u):l>=3&&l<4?(a=u,s=c):l>=4&&l<5?(o=u,s=c):l>=5&&l<6&&(o=c,s=u);const d=r-c/2;this.r=ka((o+d)*255),this.g=ka((a+d)*255),this.b=ka((s+d)*255)}fromHsv({h:t,s:n,v:r,a:i}){this._h=t%360,this._s=n,this._v=r,this.a=typeof i=="number"?i:1;const o=ka(r*255);if(this.r=o,this.g=o,this.b=o,n<=0)return;const a=t/60,s=Math.floor(a),l=a-s,c=ka(r*(1-n)*255),u=ka(r*(1-n*l)*255),d=ka(r*(1-n*(1-l))*255);switch(s){case 0:this.g=d,this.b=c;break;case 1:this.r=u,this.b=c;break;case 2:this.r=c,this.b=d;break;case 3:this.r=c,this.g=u;break;case 4:this.r=d,this.g=c;break;case 5:default:this.g=c,this.b=u;break}}fromHsvString(t){const n=TL(t,gne);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=TL(t,gne);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=TL(t,(r,i)=>i.includes("%")?ka(r/100*255):r);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}const pYe=Object.freeze(Object.defineProperty({__proto__:null,FastColor:rr},Symbol.toStringTag,{value:"Module"}));var bR=2,vne=.16,hYe=.05,mYe=.05,gYe=.15,oSe=5,aSe=4,vYe=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function bne(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-bR*t:Math.round(e.h)+bR*t:r=n?Math.round(e.h)+bR*t:Math.round(e.h)-bR*t,r<0?r+=360:r>=360&&(r-=360),r}function yne(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-vne*t:t===aSe?r=e.s+vne:r=e.s+hYe*t,r>1&&(r=1),n&&t===oSe&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(r*100)/100}function _ne(e,t,n){var r;return n?r=e.v+mYe*t:r=e.v-gYe*t,r=Math.max(0,Math.min(1,r)),Math.round(r*100)/100}function hg(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=new rr(e),i=r.toHsv(),o=oSe;o>0;o-=1){var a=new rr({h:bne(i,o,!0),s:yne(i,o,!0),v:_ne(i,o,!0)});n.push(a)}n.push(r);for(var s=1;s<=aSe;s+=1){var l=new rr({h:bne(i,s),s:yne(i,s),v:_ne(i,s)});n.push(l)}return t.theme==="dark"?vYe.map(function(c){var u=c.index,d=c.amount;return new rr(t.backgroundColor||"#141414").mix(n[u],d).toHexString()}):n.map(function(c){return c.toHexString()})}var uv={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"},yM=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];yM.primary=yM[5];var _M=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];_M.primary=_M[5];var SM=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];SM.primary=SM[5];var AT=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];AT.primary=AT[5];var EM=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];EM.primary=EM[5];var CM=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];CM.primary=CM[5];var wM=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];wM.primary=wM[5];var TM=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];TM.primary=TM[5];var Fv=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Fv.primary=Fv[5];var xM=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];xM.primary=xM[5];var OM=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];OM.primary=OM[5];var RM=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];RM.primary=RM[5];var NT=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];NT.primary=NT[5];var bYe=NT,PA={red:yM,volcano:_M,orange:SM,gold:AT,yellow:EM,lime:CM,green:wM,cyan:TM,blue:Fv,geekblue:xM,purple:OM,magenta:RM,grey:NT},IM=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];IM.primary=IM[5];var AM=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];AM.primary=AM[5];var NM=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];NM.primary=NM[5];var MM=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];MM.primary=MM[5];var kM=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];kM.primary=kM[5];var PM=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];PM.primary=PM[5];var DM=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];DM.primary=DM[5];var LM=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];LM.primary=LM[5];var $M=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];$M.primary=$M[5];var FM=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];FM.primary=FM[5];var BM=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];BM.primary=BM[5];var jM=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];jM.primary=jM[5];var HM=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];HM.primary=HM[5];var yYe={red:IM,volcano:AM,orange:NM,gold:MM,yellow:kM,lime:PM,green:DM,cyan:LM,blue:$M,geekblue:FM,purple:BM,magenta:jM,grey:HM};const _Ye=Object.freeze(Object.defineProperty({__proto__:null,blue:Fv,blueDark:$M,cyan:TM,cyanDark:LM,geekblue:xM,geekblueDark:FM,generate:hg,gold:AT,goldDark:MM,gray:bYe,green:wM,greenDark:DM,grey:NT,greyDark:HM,lime:CM,limeDark:PM,magenta:RM,magentaDark:jM,orange:SM,orangeDark:NM,presetDarkPalettes:yYe,presetPalettes:PA,presetPrimaryColors:uv,purple:OM,purpleDark:BM,red:yM,redDark:IM,volcano:_M,volcanoDark:AM,yellow:EM,yellowDark:kM},Symbol.toStringTag,{value:"Module"})),mq={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"},u_=Object.assign(Object.assign({},mq),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:`-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, +`))):f="{".concat(f,"}"),[f,h]};function Y_e(e,t){return xT("".concat(e.join("%")).concat(t))}function Wqe(){return null}var K_e="style";function c_(e,t){var n=e.token,r=e.path,i=e.hashId,o=e.layer,a=e.nonce,s=e.clientOnly,l=e.order,c=l===void 0?0:l,u=p.useContext(o_),d=u.autoClear;u.mock;var f=u.defaultCache,h=u.hashPriority,m=u.container,g=u.ssrInline,v=u.transformers,y=u.linters,b=u.cache,_=u.layer,E=n._tokenKey,C=[E];_&&C.push("layer"),C.push.apply(C,nt(r));var S=sH,w=cq(K_e,C,function(){var I=C.join("|");if(Hqe(I)){var M=Uqe(I),B=Ie(M,2),P=B[0],k=B[1];if(P)return[P,E,k,{},s,c]}var N=t(),L=Gqe(N,{hashId:i,hashPriority:h,layer:_?o:void 0,path:r.join("-"),transformers:v,linters:y}),V=Ie(L,2),$=V[0],W=V[1],j=NA($),U=Y_e(C,j);return[j,E,U,W,s,c]},function(I,M){var B=Ie(I,3),P=B[2];(M||d)&&sH&&oq(P,{mark:dd})},function(I){var M=Ie(I,4),B=M[0];M[1];var P=M[2],k=M[3];if(S&&B!==G_e){var N={mark:dd,prepend:_?!1:"queue",attachTo:m,priority:c},L=typeof a=="function"?a():a;L&&(N.csp={nonce:L});var V=[],$=[];Object.keys(k).forEach(function(j){j.startsWith("@layer")?V.push(j):$.push(j)}),V.forEach(function(j){by(NA(k[j]),"_layer-".concat(j),G(G({},N),{},{prepend:!0}))});var W=by(B,P,N);W[Pm]=b.instanceId,W.setAttribute(i_,E),$.forEach(function(j){by(NA(k[j]),"_effect-".concat(j),N)})}}),T=Ie(w,3),O=T[0],x=T[1],A=T[2];return function(I){var M;if(!g||S||!f)M=p.createElement(Wqe,null);else{var B;M=p.createElement("style",Ke({},(B={},ee(B,i_,x),ee(B,dd,A),B),{dangerouslySetInnerHTML:{__html:O}}))}return p.createElement(p.Fragment,null,M,I)}}var qqe=function(t,n,r){var i=Ie(t,6),o=i[0],a=i[1],s=i[2],l=i[3],c=i[4],u=i[5],d=r||{},f=d.plain;if(c)return null;var h=o,m={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return h=OT(o,a,s,m,f),l&&Object.keys(l).forEach(function(g){if(!n[g]){n[g]=!0;var v=NA(l[g]),y=OT(v,a,"_effect-".concat(g),m,f);g.startsWith("@layer")?h=y+h:h+=y}}),[u,s,h]},Q_e="cssVar",X_e=function(t,n){var r=t.key,i=t.prefix,o=t.unitless,a=t.ignore,s=t.token,l=t.scope,c=l===void 0?"":l,u=p.useContext(o_),d=u.cache.instanceId,f=u.container,h=s._tokenKey,m=[].concat(nt(t.path),[r,c,h]),g=cq(Q_e,m,function(){var v=n(),y=L_e(v,r,{prefix:i,unitless:o,ignore:a,scope:c}),b=Ie(y,2),_=b[0],E=b[1],C=Y_e(m,E);return[_,E,C,r]},function(v){var y=Ie(v,3),b=y[2];sH&&oq(b,{mark:dd})},function(v){var y=Ie(v,3),b=y[1],_=y[2];if(b){var E=by(b,_,{mark:dd,prepend:"queue",attachTo:f,priority:-999});E[Pm]=d,E.setAttribute(i_,r)}});return g},Yqe=function(t,n,r){var i=Ie(t,4),o=i[1],a=i[2],s=i[3],l=r||{},c=l.plain;if(!o)return null;var u=-999,d={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)},f=OT(o,s,a,d,c);return[u,a,f]},NE,Kqe=(NE={},ee(NE,K_e,qqe),ee(NE,$_e,gqe),ee(NE,Q_e,Yqe),NE);function Qqe(e){return e!==null}function Xqe(e,t){var n=typeof t=="boolean"?{plain:t}:t||{},r=n.plain,i=r===void 0?!1:r,o=n.types,a=o===void 0?["style","token","cssVar"]:o,s=new RegExp("^(".concat((typeof a=="string"?[a]:a).join("|"),")%")),l=Array.from(e.cache.keys()).filter(function(f){return s.test(f)}),c={},u={},d="";return l.map(function(f){var h=f.replace(s,"").replace(/%/g,"|"),m=f.split("%"),g=Ie(m,1),v=g[0],y=Kqe[v],b=y(e.cache.get(f)[1],c,{plain:i});if(!b)return null;var _=Ie(b,3),E=_[0],C=_[1],S=_[2];return f.startsWith("style")&&(u[h]=C),[E,S]}).filter(Qqe).sort(function(f,h){var m=Ie(f,1),g=m[0],v=Ie(h,1),y=v[0];return g-y}).forEach(function(f){var h=Ie(f,2),m=h[1];d+=m}),d+=OT(".".concat(cw,'{content:"').concat(Bqe(u),'";}'),void 0,void 0,ee({},cw,cw),i),d}var fr=function(){function e(t,n){Kr(this,e),ee(this,"name",void 0),ee(this,"style",void 0),ee(this,"_keyframe",!0),this.name=t,this.style=n}return Qr(e,[{key:"getName",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return n?"".concat(n,"-").concat(this.name):this.name}}]),e}();function Zqe(e){if(typeof e=="number")return[[e],!1];var t=String(e).trim(),n=t.match(/(.*)(!important)/),r=(n?n[1]:t).trim().split(/\s+/),i=[],o=0;return[r.reduce(function(a,s){if(s.includes("(")||s.includes(")")){var l=s.split("(").length-1,c=s.split(")").length-1;o+=l-c}return o>=0&&i.push(s),o===0&&(a.push(i.join(" ")),i=[]),a},[]),!!n]}function Q0(e){return e.notSplit=!0,e}var Jqe={inset:["top","right","bottom","left"],insetBlock:["top","bottom"],insetBlockStart:["top"],insetBlockEnd:["bottom"],insetInline:["left","right"],insetInlineStart:["left"],insetInlineEnd:["right"],marginBlock:["marginTop","marginBottom"],marginBlockStart:["marginTop"],marginBlockEnd:["marginBottom"],marginInline:["marginLeft","marginRight"],marginInlineStart:["marginLeft"],marginInlineEnd:["marginRight"],paddingBlock:["paddingTop","paddingBottom"],paddingBlockStart:["paddingTop"],paddingBlockEnd:["paddingBottom"],paddingInline:["paddingLeft","paddingRight"],paddingInlineStart:["paddingLeft"],paddingInlineEnd:["paddingRight"],borderBlock:Q0(["borderTop","borderBottom"]),borderBlockStart:Q0(["borderTop"]),borderBlockEnd:Q0(["borderBottom"]),borderInline:Q0(["borderLeft","borderRight"]),borderInlineStart:Q0(["borderLeft"]),borderInlineEnd:Q0(["borderRight"]),borderBlockWidth:["borderTopWidth","borderBottomWidth"],borderBlockStartWidth:["borderTopWidth"],borderBlockEndWidth:["borderBottomWidth"],borderInlineWidth:["borderLeftWidth","borderRightWidth"],borderInlineStartWidth:["borderLeftWidth"],borderInlineEndWidth:["borderRightWidth"],borderBlockStyle:["borderTopStyle","borderBottomStyle"],borderBlockStartStyle:["borderTopStyle"],borderBlockEndStyle:["borderBottomStyle"],borderInlineStyle:["borderLeftStyle","borderRightStyle"],borderInlineStartStyle:["borderLeftStyle"],borderInlineEndStyle:["borderRightStyle"],borderBlockColor:["borderTopColor","borderBottomColor"],borderBlockStartColor:["borderTopColor"],borderBlockEndColor:["borderBottomColor"],borderInlineColor:["borderLeftColor","borderRightColor"],borderInlineStartColor:["borderLeftColor"],borderInlineEndColor:["borderRightColor"],borderStartStartRadius:["borderTopLeftRadius"],borderStartEndRadius:["borderTopRightRadius"],borderEndStartRadius:["borderBottomLeftRadius"],borderEndEndRadius:["borderBottomRightRadius"]};function vR(e,t){var n=e;return t&&(n="".concat(n," !important")),{_skip_check_:!0,value:n}}var eYe={visit:function(t){var n={};return Object.keys(t).forEach(function(r){var i=t[r],o=Jqe[r];if(o&&(typeof i=="number"||typeof i=="string")){var a=Zqe(i),s=Ie(a,2),l=s[0],c=s[1];o.length&&o.notSplit?o.forEach(function(u){n[u]=vR(i,c)}):o.length===1?n[o[0]]=vR(l[0],c):o.length===2?o.forEach(function(u,d){var f;n[u]=vR((f=l[d])!==null&&f!==void 0?f:l[0],c)}):o.length===4?o.forEach(function(u,d){var f,h;n[u]=vR((f=(h=l[d])!==null&&h!==void 0?h:l[d-2])!==null&&f!==void 0?f:l[0],c)}):n[r]=i}else n[r]=i}),n}},wL=/url\([^)]+\)|var\([^)]+\)|(\d*\.?\d+)px/g;function tYe(e,t){var n=Math.pow(10,t+1),r=Math.floor(e*n);return Math.round(r/10)*10/n}var nYe=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.rootValue,r=n===void 0?16:n,i=t.precision,o=i===void 0?5:i,a=t.mediaQuery,s=a===void 0?!1:a,l=function(d,f){if(!f)return d;var h=parseFloat(f);if(h<=1)return d;var m=tYe(h/r,o);return"".concat(m,"rem")},c=function(d){var f=G({},d);return Object.entries(d).forEach(function(h){var m=Ie(h,2),g=m[0],v=m[1];if(typeof v=="string"&&v.includes("px")){var y=v.replace(wL,l);f[g]=y}!F_e[g]&&typeof v=="number"&&v!==0&&(f[g]="".concat(v,"px").replace(wL,l));var b=g.trim();if(b.startsWith("@")&&b.includes("px")&&s){var _=g.replace(wL,l);f[_]=f[g],delete f[g]}}),f};return{visit:c}},rYe={supportModernCSS:function(){return ZWe()&&JWe()}};const iYe=Object.freeze(Object.defineProperty({__proto__:null,Keyframes:fr,NaNLinter:$qe,StyleProvider:VWe,Theme:lq,_experimental:rYe,createCache:aq,createTheme:$v,extractStyle:Xqe,genCalc:YWe,getComputedToken:uq,legacyLogicalPropertiesTransformer:eYe,legacyNotSelectorLinter:Dqe,logicalPropertiesLinter:Lqe,parentSelectorLinter:Fqe,px2remTransformer:nYe,token2CSSVar:lw,unit:Ae,useCSSVarRegister:X_e,useCacheToken:dq,useStyleRegister:c_},Symbol.toStringTag,{value:"Module"}));var E5=p.createContext({});function Z_e(e){return x_e(e)||E_e(e)||b5(e)||O_e()}function Ao(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!Ao(e,t.slice(0,-1))?e:J_e(e,t,n,r)}function oYe(e){return Gt(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function hne(e){return Array.isArray(e)?[]:{}}var aYe=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function B1(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=sYe,e},eSe=p.createContext(void 0);var tSe={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"},nSe={yearFormat:"YYYY",dayFormat:"D",cellMeridiemFormat:"A",monthBeforeYear:!0},cYe=G(G({},nSe),{},{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",dateFormat:"M/D/YYYY",dateTimeFormat:"M/D/YYYY HH:mm:ss",previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"});const rSe={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},bM={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"]},cYe),timePickerLocale:Object.assign({},rSe)},Gl="${label} is not a valid ${type}",Cc={locale:"en",Pagination:tSe,DatePicker:bM,TimePicker:rSe,Calendar:bM,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:Gl,method:Gl,array:Gl,object:Gl,number:Gl,date:Gl,boolean:Gl,integer:Gl,float:Gl,regexp:Gl,email:Gl,url:Gl,hex:Gl},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty",transparent:"Transparent",singleColor:"Single",gradientColor:"Gradient"}};let MA=Object.assign({},Cc.Modal),kA=[];const mne=()=>kA.reduce((e,t)=>Object.assign(Object.assign({},e),t),Cc.Modal);function uYe(e){if(e){const t=Object.assign({},e);return kA.push(t),MA=mne(),()=>{kA=kA.filter(n=>n!==t),MA=mne()}}MA=Object.assign({},Cc.Modal)}function iSe(){return MA}const hq=p.createContext(void 0),ds=(e,t)=>{const n=p.useContext(hq),r=p.useMemo(()=>{var o;const a=t||Cc[e],s=(o=n==null?void 0:n[e])!==null&&o!==void 0?o:{};return Object.assign(Object.assign({},typeof a=="function"?a():a),s||{})},[e,t,n]),i=p.useMemo(()=>{const o=n==null?void 0:n.locale;return n!=null&&n.exist&&!o?Cc.locale:o},[n]);return[r,i]},dYe="internalMark",fYe=e=>{const{locale:t={},children:n,_ANT_MARK__:r}=e;p.useEffect(()=>uYe(t==null?void 0:t.Modal),[t]);const i=p.useMemo(()=>Object.assign(Object.assign({},t),{exist:!0}),[t]);return p.createElement(hq.Provider,{value:i},n)},ka=Math.round;function TL(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map(i=>parseFloat(i));for(let i=0;i<3;i+=1)r[i]=t(r[i]||0,n[i]||"",i);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const gne=(e,t,n)=>n===0?e:e/100;function ME(e,t){const n=t||255;return e>n?n:e<0?0:e}class rr{constructor(t){ee(this,"isValid",!0),ee(this,"r",0),ee(this,"g",0),ee(this,"b",0),ee(this,"a",1),ee(this,"_h",void 0),ee(this,"_s",void 0),ee(this,"_l",void 0),ee(this,"_v",void 0),ee(this,"_max",void 0),ee(this,"_min",void 0),ee(this,"_brightness",void 0);function n(r){return r[0]in t&&r[1]in t&&r[2]in t}if(t)if(typeof t=="string"){let i=function(o){return r.startsWith(o)};const r=t.trim();/^#?[A-F\d]{3,8}$/i.test(r)?this.fromHexString(r):i("rgb")?this.fromRgbString(r):i("hsl")?this.fromHslString(r):(i("hsv")||i("hsb"))&&this.fromHsvString(r)}else if(t instanceof rr)this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a,this._h=t._h,this._s=t._s,this._l=t._l,this._v=t._v;else if(n("rgb"))this.r=ME(t.r),this.g=ME(t.g),this.b=ME(t.b),this.a=typeof t.a=="number"?ME(t.a,1):1;else if(n("hsl"))this.fromHsl(t);else if(n("hsv"))this.fromHsv(t);else throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(t))}setR(t){return this._sc("r",t)}setG(t){return this._sc("g",t)}setB(t){return this._sc("b",t)}setA(t){return this._sc("a",t,1)}setHue(t){const n=this.toHsv();return n.h=t,this._c(n)}getLuminance(){function t(o){const a=o/255;return a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4)}const n=t(this.r),r=t(this.g),i=t(this.b);return .2126*n+.7152*r+.0722*i}getHue(){if(typeof this._h>"u"){const t=this.getMax()-this.getMin();t===0?this._h=0:this._h=ka(60*(this.r===this.getMax()?(this.g-this.b)/t+(this.g"u"){const t=this.getMax()-this.getMin();t===0?this._s=0:this._s=t/this.getMax()}return this._s}getLightness(){return typeof this._l>"u"&&(this._l=(this.getMax()+this.getMin())/510),this._l}getValue(){return typeof this._v>"u"&&(this._v=this.getMax()/255),this._v}getBrightness(){return typeof this._brightness>"u"&&(this._brightness=(this.r*299+this.g*587+this.b*114)/1e3),this._brightness}darken(t=10){const n=this.getHue(),r=this.getSaturation();let i=this.getLightness()-t/100;return i<0&&(i=0),this._c({h:n,s:r,l:i,a:this.a})}lighten(t=10){const n=this.getHue(),r=this.getSaturation();let i=this.getLightness()+t/100;return i>1&&(i=1),this._c({h:n,s:r,l:i,a:this.a})}mix(t,n=50){const r=this._c(t),i=n/100,o=s=>(r[s]-this[s])*i+this[s],a={r:ka(o("r")),g:ka(o("g")),b:ka(o("b")),a:ka(o("a")*100)/100};return this._c(a)}tint(t=10){return this.mix({r:255,g:255,b:255,a:1},t)}shade(t=10){return this.mix({r:0,g:0,b:0,a:1},t)}onBackground(t){const n=this._c(t),r=this.a+n.a*(1-this.a),i=o=>ka((this[o]*this.a+n[o]*n.a*(1-this.a))/r);return this._c({r:i("r"),g:i("g"),b:i("b"),a:r})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(t){return this.r===t.r&&this.g===t.g&&this.b===t.b&&this.a===t.a}clone(){return this._c(this)}toHexString(){let t="#";const n=(this.r||0).toString(16);t+=n.length===2?n:"0"+n;const r=(this.g||0).toString(16);t+=r.length===2?r:"0"+r;const i=(this.b||0).toString(16);if(t+=i.length===2?i:"0"+i,typeof this.a=="number"&&this.a>=0&&this.a<1){const o=ka(this.a*255).toString(16);t+=o.length===2?o:"0"+o}return t}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const t=this.getHue(),n=ka(this.getSaturation()*100),r=ka(this.getLightness()*100);return this.a!==1?`hsla(${t},${n}%,${r}%,${this.a})`:`hsl(${t},${n}%,${r}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return this.a!==1?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(t,n,r){const i=this.clone();return i[t]=ME(n,r),i}_c(t){return new this.constructor(t)}getMax(){return typeof this._max>"u"&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return typeof this._min>"u"&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(t){const n=t.replace("#","");function r(i,o){return parseInt(n[i]+n[o||i],16)}n.length<6?(this.r=r(0),this.g=r(1),this.b=r(2),this.a=n[3]?r(3)/255:1):(this.r=r(0,1),this.g=r(2,3),this.b=r(4,5),this.a=n[6]?r(6,7)/255:1)}fromHsl({h:t,s:n,l:r,a:i}){if(this._h=t%360,this._s=n,this._l=r,this.a=typeof i=="number"?i:1,n<=0){const f=ka(r*255);this.r=f,this.g=f,this.b=f}let o=0,a=0,s=0;const l=t/60,c=(1-Math.abs(2*r-1))*n,u=c*(1-Math.abs(l%2-1));l>=0&&l<1?(o=c,a=u):l>=1&&l<2?(o=u,a=c):l>=2&&l<3?(a=c,s=u):l>=3&&l<4?(a=u,s=c):l>=4&&l<5?(o=u,s=c):l>=5&&l<6&&(o=c,s=u);const d=r-c/2;this.r=ka((o+d)*255),this.g=ka((a+d)*255),this.b=ka((s+d)*255)}fromHsv({h:t,s:n,v:r,a:i}){this._h=t%360,this._s=n,this._v=r,this.a=typeof i=="number"?i:1;const o=ka(r*255);if(this.r=o,this.g=o,this.b=o,n<=0)return;const a=t/60,s=Math.floor(a),l=a-s,c=ka(r*(1-n)*255),u=ka(r*(1-n*l)*255),d=ka(r*(1-n*(1-l))*255);switch(s){case 0:this.g=d,this.b=c;break;case 1:this.r=u,this.b=c;break;case 2:this.r=c,this.b=d;break;case 3:this.r=c,this.g=u;break;case 4:this.r=d,this.g=c;break;case 5:default:this.g=c,this.b=u;break}}fromHsvString(t){const n=TL(t,gne);this.fromHsv({h:n[0],s:n[1],v:n[2],a:n[3]})}fromHslString(t){const n=TL(t,gne);this.fromHsl({h:n[0],s:n[1],l:n[2],a:n[3]})}fromRgbString(t){const n=TL(t,(r,i)=>i.includes("%")?ka(r/100*255):r);this.r=n[0],this.g=n[1],this.b=n[2],this.a=n[3]}}const pYe=Object.freeze(Object.defineProperty({__proto__:null,FastColor:rr},Symbol.toStringTag,{value:"Module"}));var bR=2,vne=.16,hYe=.05,mYe=.05,gYe=.15,oSe=5,aSe=4,vYe=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function bne(e,t,n){var r;return Math.round(e.h)>=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-bR*t:Math.round(e.h)+bR*t:r=n?Math.round(e.h)+bR*t:Math.round(e.h)-bR*t,r<0?r+=360:r>=360&&(r-=360),r}function yne(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-vne*t:t===aSe?r=e.s+vne:r=e.s+hYe*t,r>1&&(r=1),n&&t===oSe&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(r*100)/100}function _ne(e,t,n){var r;return n?r=e.v+mYe*t:r=e.v-gYe*t,r=Math.max(0,Math.min(1,r)),Math.round(r*100)/100}function hg(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=new rr(e),i=r.toHsv(),o=oSe;o>0;o-=1){var a=new rr({h:bne(i,o,!0),s:yne(i,o,!0),v:_ne(i,o,!0)});n.push(a)}n.push(r);for(var s=1;s<=aSe;s+=1){var l=new rr({h:bne(i,s),s:yne(i,s),v:_ne(i,s)});n.push(l)}return t.theme==="dark"?vYe.map(function(c){var u=c.index,d=c.amount;return new rr(t.backgroundColor||"#141414").mix(n[u],d).toHexString()}):n.map(function(c){return c.toHexString()})}var uv={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"},yM=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];yM.primary=yM[5];var _M=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];_M.primary=_M[5];var SM=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];SM.primary=SM[5];var AT=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];AT.primary=AT[5];var EM=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];EM.primary=EM[5];var CM=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];CM.primary=CM[5];var wM=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];wM.primary=wM[5];var TM=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];TM.primary=TM[5];var Fv=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];Fv.primary=Fv[5];var xM=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];xM.primary=xM[5];var OM=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];OM.primary=OM[5];var RM=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];RM.primary=RM[5];var NT=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];NT.primary=NT[5];var bYe=NT,PA={red:yM,volcano:_M,orange:SM,gold:AT,yellow:EM,lime:CM,green:wM,cyan:TM,blue:Fv,geekblue:xM,purple:OM,magenta:RM,grey:NT},IM=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];IM.primary=IM[5];var AM=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];AM.primary=AM[5];var NM=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];NM.primary=NM[5];var MM=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];MM.primary=MM[5];var kM=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];kM.primary=kM[5];var PM=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];PM.primary=PM[5];var DM=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];DM.primary=DM[5];var LM=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];LM.primary=LM[5];var $M=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];$M.primary=$M[5];var FM=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];FM.primary=FM[5];var BM=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];BM.primary=BM[5];var jM=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];jM.primary=jM[5];var HM=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];HM.primary=HM[5];var yYe={red:IM,volcano:AM,orange:NM,gold:MM,yellow:kM,lime:PM,green:DM,cyan:LM,blue:$M,geekblue:FM,purple:BM,magenta:jM,grey:HM};const _Ye=Object.freeze(Object.defineProperty({__proto__:null,blue:Fv,blueDark:$M,cyan:TM,cyanDark:LM,geekblue:xM,geekblueDark:FM,generate:hg,gold:AT,goldDark:MM,gray:bYe,green:wM,greenDark:DM,grey:NT,greyDark:HM,lime:CM,limeDark:PM,magenta:RM,magentaDark:jM,orange:SM,orangeDark:NM,presetDarkPalettes:yYe,presetPalettes:PA,presetPrimaryColors:uv,purple:OM,purpleDark:BM,red:yM,redDark:IM,volcano:_M,volcanoDark:AM,yellow:EM,yellowDark:kM},Symbol.toStringTag,{value:"Module"})),mq={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"},u_=Object.assign(Object.assign({},mq),{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 sSe(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:i,colorWarning:o,colorError:a,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,d=n(l),f=n(i),h=n(o),m=n(a),g=n(s),v=r(c,u),y=e.colorLink||e.colorInfo,b=n(y),_=new rr(m[1]).mix(new rr(m[3]),50).toHexString();return Object.assign(Object.assign({},v),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:_,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new rr("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}const SYe=e=>{let t=e,n=e,r=e,i=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?i=4:e>=8&&(i=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:i}};function EYe(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:i}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:i+1},SYe(r))}const lSe=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function DA(e){return(e+8)/e}function CYe(e){const t=new Array(10).fill(null).map((n,r)=>{const i=r-1,o=e*Math.pow(Math.E,i/5),a=r>1?Math.floor(o):Math.ceil(o);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:DA(n)}))}const cSe=e=>{const t=CYe(e),n=t.map(u=>u.size),r=t.map(u=>u.lineHeight),i=n[1],o=n[0],a=n[2],s=r[1],l=r[0],c=r[2];return{fontSizeSM:o,fontSize:i,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*i),fontHeightLG:Math.round(c*a),fontHeightSM:Math.round(l*o),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function wYe(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const Lc=(e,t)=>new rr(e).setA(t).toRgbString(),kE=(e,t)=>new rr(e).darken(t).toHexString(),TYe=e=>{const t=hg(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},xYe=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Lc(r,.88),colorTextSecondary:Lc(r,.65),colorTextTertiary:Lc(r,.45),colorTextQuaternary:Lc(r,.25),colorFill:Lc(r,.15),colorFillSecondary:Lc(r,.06),colorFillTertiary:Lc(r,.04),colorFillQuaternary:Lc(r,.02),colorBgSolid:Lc(r,1),colorBgSolidHover:Lc(r,.75),colorBgSolidActive:Lc(r,.95),colorBgLayout:kE(n,4),colorBgContainer:kE(n,0),colorBgElevated:kE(n,0),colorBgSpotlight:Lc(r,.85),colorBgBlur:"transparent",colorBorder:kE(n,15),colorBorderSecondary:kE(n,6)}};function n2(e){uv.pink=uv.magenta,PA.pink=PA.magenta;const t=Object.keys(mq).map(n=>{const r=e[n]===uv[n]?PA[n]:hg(e[n]);return new Array(10).fill(1).reduce((i,o,a)=>(i[`${n}-${a+1}`]=r[a],i[`${n}${a+1}`]=r[a],i),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),sSe(e,{generateColorPalettes:TYe,generateNeutralColorPalettes:xYe})),cSe(e.fontSize)),wYe(e)),lSe(e)),EYe(e))}const uSe=$v(n2),MT={token:u_,override:{override:u_},hashed:!0},gq=se.createContext(MT),kT="ant",CP="anticon",OYe=["outlined","borderless","filled"],RYe=(e,t)=>t||(e?`${kT}-${e}`:kT),Xt=p.createContext({getPrefixCls:RYe,iconPrefixCls:CP});function Xs(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function uH(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var Sne="data-rc-order",Ene="data-rc-priority",IYe="rc-util-key",dH=new Map;function dSe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):IYe}function wP(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function AYe(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function vq(e){return Array.from((dH.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function fSe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Xs())return null;var n=t.csp,r=t.prepend,i=t.priority,o=i===void 0?0:i,a=AYe(r),s=a==="prependQueue",l=document.createElement("style");l.setAttribute(Sne,a),s&&o&&l.setAttribute(Ene,"".concat(o)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var c=wP(t),u=c.firstChild;if(r){if(s){var d=(t.styles||vq(c)).filter(function(f){if(!["prepend","prependQueue"].includes(f.getAttribute(Sne)))return!1;var h=Number(f.getAttribute(Ene)||0);return o>=h});if(d.length)return c.insertBefore(l,d[d.length-1].nextSibling),l}c.insertBefore(l,u)}else c.appendChild(l);return l}function pSe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=wP(t);return(t.styles||vq(n)).find(function(r){return r.getAttribute(dSe(t))===e})}function fH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=pSe(e,t);if(n){var r=wP(t);r.removeChild(n)}}function NYe(e,t){var n=dH.get(e);if(!n||!uH(document,n)){var r=fSe("",t),i=r.parentNode;dH.set(e,i),e.removeChild(r)}}function TP(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=wP(n),i=vq(r),o=G(G({},n),{},{styles:i});NYe(r,o);var a=pSe(t,o);if(a){var s,l;if((s=o.csp)!==null&&s!==void 0&&s.nonce&&a.nonce!==((l=o.csp)===null||l===void 0?void 0:l.nonce)){var c;a.nonce=(c=o.csp)===null||c===void 0?void 0:c.nonce}return a.innerHTML!==e&&(a.innerHTML=e),a}var u=fSe(e,o);return u.setAttribute(dSe(o),t),u}const MYe=`-ant-${Date.now()}-${Math.random()}`;function kYe(e,t){const n={},r=(a,s)=>{let l=a.clone();return l=(s==null?void 0:s(l))||l,l.toRgbString()},i=(a,s)=>{const l=new rr(a),c=hg(l.toRgbString());n[`${s}-color`]=r(l),n[`${s}-color-disabled`]=c[1],n[`${s}-color-hover`]=c[4],n[`${s}-color-active`]=c[6],n[`${s}-color-outline`]=l.clone().setA(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=c[0],n[`${s}-color-deprecated-border`]=c[2]};if(t.primaryColor){i(t.primaryColor,"primary");const a=new rr(t.primaryColor),s=hg(a.toRgbString());s.forEach((c,u)=>{n[`primary-${u+1}`]=c}),n["primary-color-deprecated-l-35"]=r(a,c=>c.lighten(35)),n["primary-color-deprecated-l-20"]=r(a,c=>c.lighten(20)),n["primary-color-deprecated-t-20"]=r(a,c=>c.tint(20)),n["primary-color-deprecated-t-50"]=r(a,c=>c.tint(50)),n["primary-color-deprecated-f-12"]=r(a,c=>c.setA(c.a*.12));const l=new rr(s[0]);n["primary-color-active-deprecated-f-30"]=r(l,c=>c.setA(c.a*.3)),n["primary-color-active-deprecated-d-02"]=r(l,c=>c.darken(2))}return t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.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});function sSe(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:i,colorWarning:o,colorError:a,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,d=n(l),f=n(i),h=n(o),m=n(a),g=n(s),v=r(c,u),y=e.colorLink||e.colorInfo,b=n(y),_=new rr(m[1]).mix(new rr(m[3]),50).toHexString();return Object.assign(Object.assign({},v),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:_,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new rr("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}const SYe=e=>{let t=e,n=e,r=e,i=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?i=4:e>=8&&(i=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:i}};function EYe(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:i}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:i+1},SYe(r))}const lSe=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};function DA(e){return(e+8)/e}function CYe(e){const t=new Array(10).fill(null).map((n,r)=>{const i=r-1,o=e*Math.pow(Math.E,i/5),a=r>1?Math.floor(o):Math.ceil(o);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:DA(n)}))}const cSe=e=>{const t=CYe(e),n=t.map(u=>u.size),r=t.map(u=>u.lineHeight),i=n[1],o=n[0],a=n[2],s=r[1],l=r[0],c=r[2];return{fontSizeSM:o,fontSize:i,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*i),fontHeightLG:Math.round(c*a),fontHeightSM:Math.round(l*o),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};function wYe(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}const Lc=(e,t)=>new rr(e).setA(t).toRgbString(),kE=(e,t)=>new rr(e).darken(t).toHexString(),TYe=e=>{const t=hg(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},xYe=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:Lc(r,.88),colorTextSecondary:Lc(r,.65),colorTextTertiary:Lc(r,.45),colorTextQuaternary:Lc(r,.25),colorFill:Lc(r,.15),colorFillSecondary:Lc(r,.06),colorFillTertiary:Lc(r,.04),colorFillQuaternary:Lc(r,.02),colorBgSolid:Lc(r,1),colorBgSolidHover:Lc(r,.75),colorBgSolidActive:Lc(r,.95),colorBgLayout:kE(n,4),colorBgContainer:kE(n,0),colorBgElevated:kE(n,0),colorBgSpotlight:Lc(r,.85),colorBgBlur:"transparent",colorBorder:kE(n,15),colorBorderSecondary:kE(n,6)}};function n2(e){uv.pink=uv.magenta,PA.pink=PA.magenta;const t=Object.keys(mq).map(n=>{const r=e[n]===uv[n]?PA[n]:hg(e[n]);return new Array(10).fill(1).reduce((i,o,a)=>(i[`${n}-${a+1}`]=r[a],i[`${n}${a+1}`]=r[a],i),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),sSe(e,{generateColorPalettes:TYe,generateNeutralColorPalettes:xYe})),cSe(e.fontSize)),wYe(e)),lSe(e)),EYe(e))}const uSe=$v(n2),MT={token:u_,override:{override:u_},hashed:!0},gq=se.createContext(MT),kT="ant",C5="anticon",OYe=["outlined","borderless","filled"],RYe=(e,t)=>t||(e?`${kT}-${e}`:kT),Xt=p.createContext({getPrefixCls:RYe,iconPrefixCls:C5});function Xs(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function uH(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}var Sne="data-rc-order",Ene="data-rc-priority",IYe="rc-util-key",dH=new Map;function dSe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):IYe}function w5(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function AYe(e){return e==="queue"?"prependQueue":e?"prepend":"append"}function vq(e){return Array.from((dH.get(e)||e).children).filter(function(t){return t.tagName==="STYLE"})}function fSe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!Xs())return null;var n=t.csp,r=t.prepend,i=t.priority,o=i===void 0?0:i,a=AYe(r),s=a==="prependQueue",l=document.createElement("style");l.setAttribute(Sne,a),s&&o&&l.setAttribute(Ene,"".concat(o)),n!=null&&n.nonce&&(l.nonce=n==null?void 0:n.nonce),l.innerHTML=e;var c=w5(t),u=c.firstChild;if(r){if(s){var d=(t.styles||vq(c)).filter(function(f){if(!["prepend","prependQueue"].includes(f.getAttribute(Sne)))return!1;var h=Number(f.getAttribute(Ene)||0);return o>=h});if(d.length)return c.insertBefore(l,d[d.length-1].nextSibling),l}c.insertBefore(l,u)}else c.appendChild(l);return l}function pSe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=w5(t);return(t.styles||vq(n)).find(function(r){return r.getAttribute(dSe(t))===e})}function fH(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=pSe(e,t);if(n){var r=w5(t);r.removeChild(n)}}function NYe(e,t){var n=dH.get(e);if(!n||!uH(document,n)){var r=fSe("",t),i=r.parentNode;dH.set(e,i),e.removeChild(r)}}function T5(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=w5(n),i=vq(r),o=G(G({},n),{},{styles:i});NYe(r,o);var a=pSe(t,o);if(a){var s,l;if((s=o.csp)!==null&&s!==void 0&&s.nonce&&a.nonce!==((l=o.csp)===null||l===void 0?void 0:l.nonce)){var c;a.nonce=(c=o.csp)===null||c===void 0?void 0:c.nonce}return a.innerHTML!==e&&(a.innerHTML=e),a}var u=fSe(e,o);return u.setAttribute(dSe(o),t),u}const MYe=`-ant-${Date.now()}-${Math.random()}`;function kYe(e,t){const n={},r=(a,s)=>{let l=a.clone();return l=(s==null?void 0:s(l))||l,l.toRgbString()},i=(a,s)=>{const l=new rr(a),c=hg(l.toRgbString());n[`${s}-color`]=r(l),n[`${s}-color-disabled`]=c[1],n[`${s}-color-hover`]=c[4],n[`${s}-color-active`]=c[6],n[`${s}-color-outline`]=l.clone().setA(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=c[0],n[`${s}-color-deprecated-border`]=c[2]};if(t.primaryColor){i(t.primaryColor,"primary");const a=new rr(t.primaryColor),s=hg(a.toRgbString());s.forEach((c,u)=>{n[`primary-${u+1}`]=c}),n["primary-color-deprecated-l-35"]=r(a,c=>c.lighten(35)),n["primary-color-deprecated-l-20"]=r(a,c=>c.lighten(20)),n["primary-color-deprecated-t-20"]=r(a,c=>c.tint(20)),n["primary-color-deprecated-t-50"]=r(a,c=>c.tint(50)),n["primary-color-deprecated-f-12"]=r(a,c=>c.setA(c.a*.12));const l=new rr(s[0]);n["primary-color-active-deprecated-f-30"]=r(l,c=>c.setA(c.a*.3)),n["primary-color-active-deprecated-d-02"]=r(l,c=>c.darken(2))}return t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info"),` :root { ${Object.keys(n).map(a=>`--${e}-${a}: ${n[a]};`).join(` `)} } - `.trim()}function PYe(e,t){const n=kYe(e,t);Xs()&&TP(n,`${MYe}-dynamic-theme`)}const Wo=p.createContext(!1),bq=e=>{let{children:t,disabled:n}=e;const r=p.useContext(Wo);return p.createElement(Wo.Provider,{value:n??r},t)},Bv=p.createContext(void 0),DYe=e=>{let{children:t,size:n}=e;const r=p.useContext(Bv);return p.createElement(Bv.Provider,{value:n||r},t)};function LYe(){const e=p.useContext(Wo),t=p.useContext(Bv);return{componentDisabled:e,componentSize:t}}function vu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(o,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(o);if(Yr(!l,"Warning: There may be circular references"),l)return!1;if(o===a)return!0;if(n&&s>1)return!1;r.add(o);var c=s+1;if(Array.isArray(o)){if(!Array.isArray(a)||o.length!==a.length)return!1;for(var u=0;u1e4){var r=Date.now();this.lastAccessBeat.forEach(function(i,o){r-i>UYe&&(n.map.delete(o),n.lastAccessBeat.delete(o))}),this.accessBeat=0}}}]),e}(),One=new zYe;function VYe(e,t){return se.useMemo(function(){var n=One.get(t);if(n)return n;var r=e();return One.set(t,r),r},t)}var GYe=function(){return{}};function ySe(e){var t=e.useCSP,n=t===void 0?GYe:t,r=e.useToken,i=e.usePrefix,o=e.getResetStyles,a=e.getCommonStyle,s=e.getCompUnitless;function l(f,h,m,g){var v=Array.isArray(f)?f[0]:f;function y(T){return"".concat(String(v)).concat(T.slice(0,1).toUpperCase()).concat(T.slice(1))}var b=(g==null?void 0:g.unitless)||{},_=typeof s=="function"?s(f):{},E=G(G({},_),{},ee({},y("zIndexPopup"),!0));Object.keys(b).forEach(function(T){E[y(T)]=b[T]});var C=G(G({},g),{},{unitless:E,prefixToken:y}),S=u(f,h,m,C),w=c(v,m,C);return function(T){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:T,x=S(T,O),A=Ie(x,2),I=A[1],M=w(O),B=Ie(M,2),P=B[0],k=B[1];return[P,I,k]}}function c(f,h,m){var g=m.unitless,v=m.injectStyle,y=v===void 0?!0:v,b=m.prefixToken,_=m.ignore,E=function(w){var T=w.rootCls,O=w.cssVar,x=O===void 0?{}:O,A=r(),I=A.realToken;return X_e({path:[f],prefix:x.prefix,key:x.key,unitless:g,ignore:_,token:I,scope:T},function(){var M=xne(f,I,h),B=Tne(f,I,M,{deprecatedTokens:m==null?void 0:m.deprecatedTokens});return Object.keys(M).forEach(function(P){B[b(P)]=B[P],delete B[P]}),B}),null},C=function(w){var T=r(),O=T.cssVar;return[function(x){return y&&O?se.createElement(se.Fragment,null,se.createElement(E,{rootCls:w,cssVar:O,component:f}),x):x},O==null?void 0:O.key]};return C}function u(f,h,m){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=Array.isArray(f)?f:[f,f],y=Ie(v,1),b=y[0],_=v.join("-"),E=e.layer||{name:"antd"};return function(C){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C,w=r(),T=w.theme,O=w.realToken,x=w.hashId,A=w.token,I=w.cssVar,M=i(),B=M.rootPrefixCls,P=M.iconPrefixCls,k=n(),N=I?"css":"js",L=VYe(function(){var Z=new Set;return I&&Object.keys(g.unitless||{}).forEach(function(te){Z.add(lw(te,I.prefix)),Z.add(lw(te,Cne(b,I.prefix)))}),gSe(N,Z)},[N,b,I==null?void 0:I.prefix]),V=HYe(N),$=V.max,W=V.min,j={theme:T,token:A,hashId:x,nonce:function(){return k.nonce},clientOnly:g.clientOnly,layer:E,order:g.order||-999};typeof o=="function"&&c_(G(G({},j),{},{clientOnly:!1,path:["Shared",B]}),function(){return o(A,{prefix:{rootPrefixCls:B,iconPrefixCls:P},csp:k})});var U=c_(G(G({},j),{},{path:[_,C,P]}),function(){if(g.injectStyle===!1)return[];var Z=bSe(A),te=Z.token,ae=Z.flush,K=xne(b,O,m),Q=".".concat(C),ie=Tne(b,O,K,{deprecatedTokens:g.deprecatedTokens});I&&K&&Gt(K)==="object"&&Object.keys(K).forEach(function(de){K[de]="var(".concat(lw(de,Cne(b,I.prefix)),")")});var he=Kn(te,{componentCls:Q,prefixCls:C,iconCls:".".concat(P),antCls:".".concat(B),calc:L,max:$,min:W},I?K:ie),pe=h(he,{hashId:x,prefixCls:C,rootPrefixCls:B,iconPrefixCls:P});ae(b,ie);var le=typeof a=="function"?a(he,C,S,g.resetFont):null;return[g.resetStyle===!1?null:le,pe]});return[U,x]}}function d(f,h,m){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=u(f,h,m,G({resetStyle:!1,order:-998},g)),y=function(_){var E=_.prefixCls,C=_.rootCls,S=C===void 0?E:C;return v(E,S),null};return y}return{genStyleHooks:l,genSubStyleComponent:d,genComponentStyleHook:u}}const WYe=Object.freeze(Object.defineProperty({__proto__:null,genCalc:gSe,genStyleUtils:ySe,mergeToken:Kn,statistic:hH,statisticToken:bSe},Symbol.toStringTag,{value:"Module"})),Hv=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],ch="5.23.2";function RL(e){return e>=0&&e<=255}function yR(e,t){const{r:n,g:r,b:i,a:o}=new rr(e).toRgb();if(o<1)return e;const{r:a,g:s,b:l}=new rr(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-a*(1-c))/c),d=Math.round((r-s*(1-c))/c),f=Math.round((i-l*(1-c))/c);if(RL(u)&&RL(d)&&RL(f))return new rr({r:u,g:d,b:f,a:Math.round(c*100)/100}).toRgbString()}return new rr({r:n,g:r,b:i,a:1}).toRgbString()}var qYe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{delete r[f]});const i=Object.assign(Object.assign({},n),r),o=480,a=576,s=768,l=992,c=1200,u=1600;if(i.motion===!1){const f="0s";i.motionDurationFast=f,i.motionDurationMid=f,i.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},i),{colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:yR(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:yR(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:yR(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidthFocus:i.lineWidth*3,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:yR(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.sizeXXL,boxShadow:` + `.trim()}function PYe(e,t){const n=kYe(e,t);Xs()&&T5(n,`${MYe}-dynamic-theme`)}const Wo=p.createContext(!1),bq=e=>{let{children:t,disabled:n}=e;const r=p.useContext(Wo);return p.createElement(Wo.Provider,{value:n??r},t)},Bv=p.createContext(void 0),DYe=e=>{let{children:t,size:n}=e;const r=p.useContext(Bv);return p.createElement(Bv.Provider,{value:n||r},t)};function LYe(){const e=p.useContext(Wo),t=p.useContext(Bv);return{componentDisabled:e,componentSize:t}}function vu(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=new Set;function i(o,a){var s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,l=r.has(o);if(Yr(!l,"Warning: There may be circular references"),l)return!1;if(o===a)return!0;if(n&&s>1)return!1;r.add(o);var c=s+1;if(Array.isArray(o)){if(!Array.isArray(a)||o.length!==a.length)return!1;for(var u=0;u1e4){var r=Date.now();this.lastAccessBeat.forEach(function(i,o){r-i>UYe&&(n.map.delete(o),n.lastAccessBeat.delete(o))}),this.accessBeat=0}}}]),e}(),One=new zYe;function VYe(e,t){return se.useMemo(function(){var n=One.get(t);if(n)return n;var r=e();return One.set(t,r),r},t)}var GYe=function(){return{}};function ySe(e){var t=e.useCSP,n=t===void 0?GYe:t,r=e.useToken,i=e.usePrefix,o=e.getResetStyles,a=e.getCommonStyle,s=e.getCompUnitless;function l(f,h,m,g){var v=Array.isArray(f)?f[0]:f;function y(T){return"".concat(String(v)).concat(T.slice(0,1).toUpperCase()).concat(T.slice(1))}var b=(g==null?void 0:g.unitless)||{},_=typeof s=="function"?s(f):{},E=G(G({},_),{},ee({},y("zIndexPopup"),!0));Object.keys(b).forEach(function(T){E[y(T)]=b[T]});var C=G(G({},g),{},{unitless:E,prefixToken:y}),S=u(f,h,m,C),w=c(v,m,C);return function(T){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:T,x=S(T,O),A=Ie(x,2),I=A[1],M=w(O),B=Ie(M,2),P=B[0],k=B[1];return[P,I,k]}}function c(f,h,m){var g=m.unitless,v=m.injectStyle,y=v===void 0?!0:v,b=m.prefixToken,_=m.ignore,E=function(w){var T=w.rootCls,O=w.cssVar,x=O===void 0?{}:O,A=r(),I=A.realToken;return X_e({path:[f],prefix:x.prefix,key:x.key,unitless:g,ignore:_,token:I,scope:T},function(){var M=xne(f,I,h),B=Tne(f,I,M,{deprecatedTokens:m==null?void 0:m.deprecatedTokens});return Object.keys(M).forEach(function(P){B[b(P)]=B[P],delete B[P]}),B}),null},C=function(w){var T=r(),O=T.cssVar;return[function(x){return y&&O?se.createElement(se.Fragment,null,se.createElement(E,{rootCls:w,cssVar:O,component:f}),x):x},O==null?void 0:O.key]};return C}function u(f,h,m){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=Array.isArray(f)?f:[f,f],y=Ie(v,1),b=y[0],_=v.join("-"),E=e.layer||{name:"antd"};return function(C){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:C,w=r(),T=w.theme,O=w.realToken,x=w.hashId,A=w.token,I=w.cssVar,M=i(),B=M.rootPrefixCls,P=M.iconPrefixCls,k=n(),N=I?"css":"js",L=VYe(function(){var Z=new Set;return I&&Object.keys(g.unitless||{}).forEach(function(te){Z.add(lw(te,I.prefix)),Z.add(lw(te,Cne(b,I.prefix)))}),gSe(N,Z)},[N,b,I==null?void 0:I.prefix]),V=HYe(N),$=V.max,W=V.min,j={theme:T,token:A,hashId:x,nonce:function(){return k.nonce},clientOnly:g.clientOnly,layer:E,order:g.order||-999};typeof o=="function"&&c_(G(G({},j),{},{clientOnly:!1,path:["Shared",B]}),function(){return o(A,{prefix:{rootPrefixCls:B,iconPrefixCls:P},csp:k})});var U=c_(G(G({},j),{},{path:[_,C,P]}),function(){if(g.injectStyle===!1)return[];var Z=bSe(A),te=Z.token,ae=Z.flush,K=xne(b,O,m),Q=".".concat(C),ie=Tne(b,O,K,{deprecatedTokens:g.deprecatedTokens});I&&K&&Gt(K)==="object"&&Object.keys(K).forEach(function(de){K[de]="var(".concat(lw(de,Cne(b,I.prefix)),")")});var he=Kn(te,{componentCls:Q,prefixCls:C,iconCls:".".concat(P),antCls:".".concat(B),calc:L,max:$,min:W},I?K:ie),pe=h(he,{hashId:x,prefixCls:C,rootPrefixCls:B,iconPrefixCls:P});ae(b,ie);var le=typeof a=="function"?a(he,C,S,g.resetFont):null;return[g.resetStyle===!1?null:le,pe]});return[U,x]}}function d(f,h,m){var g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},v=u(f,h,m,G({resetStyle:!1,order:-998},g)),y=function(_){var E=_.prefixCls,C=_.rootCls,S=C===void 0?E:C;return v(E,S),null};return y}return{genStyleHooks:l,genSubStyleComponent:d,genComponentStyleHook:u}}const WYe=Object.freeze(Object.defineProperty({__proto__:null,genCalc:gSe,genStyleUtils:ySe,mergeToken:Kn,statistic:hH,statisticToken:bSe},Symbol.toStringTag,{value:"Module"})),Hv=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"],ch="5.23.2";function RL(e){return e>=0&&e<=255}function yR(e,t){const{r:n,g:r,b:i,a:o}=new rr(e).toRgb();if(o<1)return e;const{r:a,g:s,b:l}=new rr(t).toRgb();for(let c=.01;c<=1;c+=.01){const u=Math.round((n-a*(1-c))/c),d=Math.round((r-s*(1-c))/c),f=Math.round((i-l*(1-c))/c);if(RL(u)&&RL(d)&&RL(f))return new rr({r:u,g:d,b:f,a:Math.round(c*100)/100}).toRgbString()}return new rr({r:n,g:r,b:i,a:1}).toRgbString()}var qYe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{delete r[f]});const i=Object.assign(Object.assign({},n),r),o=480,a=576,s=768,l=992,c=1200,u=1600;if(i.motion===!1){const f="0s";i.motionDurationFast=f,i.motionDurationMid=f,i.motionDurationSlow=f}return Object.assign(Object.assign(Object.assign({},i),{colorFillContent:i.colorFillSecondary,colorFillContentHover:i.colorFill,colorFillAlter:i.colorFillQuaternary,colorBgContainerDisabled:i.colorFillTertiary,colorBorderBg:i.colorBgContainer,colorSplit:yR(i.colorBorderSecondary,i.colorBgContainer),colorTextPlaceholder:i.colorTextQuaternary,colorTextDisabled:i.colorTextQuaternary,colorTextHeading:i.colorText,colorTextLabel:i.colorTextSecondary,colorTextDescription:i.colorTextTertiary,colorTextLightSolid:i.colorWhite,colorHighlight:i.colorError,colorBgTextHover:i.colorFillSecondary,colorBgTextActive:i.colorFill,colorIcon:i.colorTextTertiary,colorIconHover:i.colorText,colorErrorOutline:yR(i.colorErrorBg,i.colorBgContainer),colorWarningOutline:yR(i.colorWarningBg,i.colorBgContainer),fontSizeIcon:i.fontSizeSM,lineWidthFocus:i.lineWidth*3,lineWidth:i.lineWidth,controlOutlineWidth:i.lineWidth*2,controlInteractiveSize:i.controlHeight/2,controlItemBgHover:i.colorFillTertiary,controlItemBgActive:i.colorPrimaryBg,controlItemBgActiveHover:i.colorPrimaryBgHover,controlItemBgActiveDisabled:i.colorFill,controlTmpOutline:i.colorFillQuaternary,controlOutline:yR(i.colorPrimaryBg,i.colorBgContainer),lineType:i.lineType,borderRadius:i.borderRadius,borderRadiusXS:i.borderRadiusXS,borderRadiusSM:i.borderRadiusSM,borderRadiusLG:i.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:i.sizeXXS,paddingXS:i.sizeXS,paddingSM:i.sizeSM,padding:i.size,paddingMD:i.sizeMD,paddingLG:i.sizeLG,paddingXL:i.sizeXL,paddingContentHorizontalLG:i.sizeLG,paddingContentVerticalLG:i.sizeMS,paddingContentHorizontal:i.sizeMS,paddingContentVertical:i.sizeSM,paddingContentHorizontalSM:i.size,paddingContentVerticalSM:i.sizeXS,marginXXS:i.sizeXXS,marginXS:i.sizeXS,marginSM:i.sizeSM,margin:i.size,marginMD:i.sizeMD,marginLG:i.sizeLG,marginXL:i.sizeXL,marginXXL:i.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) @@ -134,7 +134,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)"}),r)}var Rne=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const r=n.getDerivativeToken(e),{override:i}=t,o=Rne(t,["override"]);let a=Object.assign(Object.assign({},r),{override:i});return a=yq(a),o&&Object.entries(o).forEach(s=>{let[l,c]=s;const{theme:u}=c,d=Rne(c,["theme"]);let f=d;u&&(f=SSe(Object.assign(Object.assign({},a),d),{override:d},u)),a[l]=f}),a};function qo(){const{token:e,hashed:t,theme:n,override:r,cssVar:i}=se.useContext(gq),o=`${ch}-${t||""}`,a=n||uSe,[s,l,c]=dq(a,[u_,e],{salt:o,override:r,getComputedToken:SSe,formatToken:yq,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:_Se,ignore:YYe,preserve:KYe}});return[a,c,t?l:"",s,i]}const kl={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},gr=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},_0=()=>({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"}}),wd=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),QYe=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),XYe=(e,t,n,r)=>{const i=`[class^="${t}"], [class*=" ${t}"]`,o=n?`.${n}`:i,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[o]:Object.assign(Object.assign(Object.assign({},s),a),{[i]:a})}},Td=(e,t)=>({outline:`${Ae(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:t??1,transition:"outline-offset 0s, outline 0s"}),Zs=(e,t)=>({"&:focus-visible":Object.assign({},Td(e,t))}),ESe=e=>({[`.${e}`]:Object.assign(Object.assign({},_0()),{[`.${e} .${e}-icon`]:{display:"block"}})}),_q=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},Zs(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),{genStyleHooks:lr,genComponentStyleHook:CSe,genSubStyleComponent:pS}=ySe({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=p.useContext(Xt);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,i]=qo();return{theme:e,realToken:t,hashId:n,token:r,cssVar:i}},useCSP:()=>{const{csp:e}=p.useContext(Xt);return e??{}},getResetStyles:(e,t)=>{var n;return[{"&":QYe(e)},ESe((n=t==null?void 0:t.prefix.iconPrefixCls)!==null&&n!==void 0?n:CP)]},getCommonStyle:XYe,getCompUnitless:()=>_Se});function xP(e,t){return Hv.reduce((n,r)=>{const i=e[`${r}1`],o=e[`${r}3`],a=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:i,lightBorderColor:o,darkColor:a,textColor:s}))},{})}const ZYe=(e,t)=>{const[n,r]=qo();return c_({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[ESe(e)])},JYe=Object.assign({},$x),{useId:Ine}=JYe,eKe=()=>"",tKe=typeof Ine>"u"?eKe:Ine;function nKe(e,t,n){var r;Wf();const i=e||{},o=i.inherit===!1||!t?Object.assign(Object.assign({},MT),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:MT.hashed,cssVar:t==null?void 0:t.cssVar}):t,a=tKe();return lh(()=>{var s,l;if(!e)return t;const c=Object.assign({},o.components);Object.keys(e.components||{}).forEach(f=>{c[f]=Object.assign(Object.assign({},c[f]),e.components[f])});const u=`css-var-${a.replace(/:/g,"")}`,d=((s=i.cssVar)!==null&&s!==void 0?s:o.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof o.cssVar=="object"?o.cssVar:{}),typeof i.cssVar=="object"?i.cssVar:{}),{key:typeof i.cssVar=="object"&&((l=i.cssVar)===null||l===void 0?void 0:l.key)||u});return Object.assign(Object.assign(Object.assign({},o),i),{token:Object.assign(Object.assign({},o.token),i.token),components:c,cssVar:d})},[i,o],(s,l)=>s.some((c,u)=>{const d=l[u];return!vu(c,d,!0)}))}var rKe=["children"],wSe=p.createContext({});function TSe(e){var t=e.children,n=Dt(e,rKe);return p.createElement(wSe.Provider,{value:n},t)}var iKe=function(e){Ds(n,e);var t=ol(n);function n(){return Kr(this,n),t.apply(this,arguments)}return Qr(n,[{key:"render",value:function(){return this.props.children}}]),n}(p.Component);function oKe(e){var t=p.useReducer(function(s){return s+1},0),n=Ie(t,2),r=n[1],i=p.useRef(e),o=Yn(function(){return i.current}),a=Yn(function(s){i.current=typeof s=="function"?s(i.current):s,r()});return[o,a]}var Jh="none",_R="appear",SR="enter",ER="leave",Ane="none",Xu="prepare",ey="start",ty="active",Sq="end",xSe="prepared";function Nne(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function aKe(e,t){var n={animationend:Nne("Animation","AnimationEnd"),transitionend:Nne("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var sKe=aKe(Xs(),typeof window<"u"?window:{}),OSe={};if(Xs()){var lKe=document.createElement("div");OSe=lKe.style}var CR={};function RSe(e){if(CR[e])return CR[e];var t=sKe[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i1&&arguments[1]!==void 0?arguments[1]:2;t();var o=nr(function(){i<=1?r({isCanceled:function(){return o!==e.current}}):n(r,i-1)});e.current=o}return p.useEffect(function(){return function(){t()}},[]),[n,t]};var dKe=[Xu,ey,ty,Sq],fKe=[Xu,xSe],kSe=!1,pKe=!0;function PSe(e){return e===ty||e===Sq}const hKe=function(e,t,n){var r=jv(Ane),i=Ie(r,2),o=i[0],a=i[1],s=uKe(),l=Ie(s,2),c=l[0],u=l[1];function d(){a(Xu,!0)}var f=t?fKe:dKe;return MSe(function(){if(o!==Ane&&o!==Sq){var h=f.indexOf(o),m=f[h+1],g=n(o);g===kSe?a(m,!0):m&&c(function(v){function y(){v.isCanceled()||a(m,!0)}g===!0?y():Promise.resolve(g).then(y)})}},[e,o]),p.useEffect(function(){return function(){u()}},[]),[d,o]};function mKe(e,t,n,r){var i=r.motionEnter,o=i===void 0?!0:i,a=r.motionAppear,s=a===void 0?!0:a,l=r.motionLeave,c=l===void 0?!0:l,u=r.motionDeadline,d=r.motionLeaveImmediately,f=r.onAppearPrepare,h=r.onEnterPrepare,m=r.onLeavePrepare,g=r.onAppearStart,v=r.onEnterStart,y=r.onLeaveStart,b=r.onAppearActive,_=r.onEnterActive,E=r.onLeaveActive,C=r.onAppearEnd,S=r.onEnterEnd,w=r.onLeaveEnd,T=r.onVisibleChanged,O=jv(),x=Ie(O,2),A=x[0],I=x[1],M=oKe(Jh),B=Ie(M,2),P=B[0],k=B[1],N=jv(null),L=Ie(N,2),V=L[0],$=L[1],W=P(),j=p.useRef(!1),U=p.useRef(null);function Z(){return n()}var te=p.useRef(!1);function ae(){k(Jh),$(null,!0)}var K=Yn(function(me){var be=P();if(be!==Jh){var _e=Z();if(!(me&&!me.deadline&&me.target!==_e)){var Re=te.current,De;be===_R&&Re?De=C==null?void 0:C(_e,me):be===SR&&Re?De=S==null?void 0:S(_e,me):be===ER&&Re&&(De=w==null?void 0:w(_e,me)),Re&&De!==!1&&ae()}}}),Q=cKe(K),ie=Ie(Q,1),he=ie[0],pe=function(be){switch(be){case _R:return ee(ee(ee({},Xu,f),ey,g),ty,b);case SR:return ee(ee(ee({},Xu,h),ey,v),ty,_);case ER:return ee(ee(ee({},Xu,m),ey,y),ty,E);default:return{}}},le=p.useMemo(function(){return pe(W)},[W]),de=hKe(W,!e,function(me){if(me===Xu){var be=le[Xu];return be?be(Z()):kSe}if(ue in le){var _e;$(((_e=le[ue])===null||_e===void 0?void 0:_e.call(le,Z(),null))||null)}return ue===ty&&W!==Jh&&(he(Z()),u>0&&(clearTimeout(U.current),U.current=setTimeout(function(){K({deadline:!0})},u))),ue===xSe&&ae(),pKe}),ve=Ie(de,2),ne=ve[0],ue=ve[1],ge=PSe(ue);te.current=ge;var Ce=p.useRef(null);MSe(function(){if(!(j.current&&Ce.current===t)){I(t);var me=j.current;j.current=!0;var be;!me&&t&&s&&(be=_R),me&&t&&o&&(be=SR),(me&&!t&&c||!me&&d&&!t&&c)&&(be=ER);var _e=pe(be);be&&(e||_e[Xu])?(k(be),ne()):k(Jh),Ce.current=t}},[t]),p.useEffect(function(){(W===_R&&!s||W===SR&&!o||W===ER&&!c)&&k(Jh)},[s,o,c]),p.useEffect(function(){return function(){j.current=!1,clearTimeout(U.current)}},[]);var Te=p.useRef(!1);p.useEffect(function(){A&&(Te.current=!0),A!==void 0&&W===Jh&&((Te.current||A)&&(T==null||T(A)),Te.current=!0)},[A,W]);var Se=V;return le[Xu]&&ue===ey&&(Se=G({transition:"none"},Se)),[W,ue,Se,A??t]}function gKe(e){var t=e;Gt(e)==="object"&&(t=e.transitionSupport);function n(i,o){return!!(i.motionName&&t&&o!==!1)}var r=p.forwardRef(function(i,o){var a=i.visible,s=a===void 0?!0:a,l=i.removeOnLeave,c=l===void 0?!0:l,u=i.forceRender,d=i.children,f=i.motionName,h=i.leavedClassName,m=i.eventProps,g=p.useContext(wSe),v=g.motion,y=n(i,v),b=p.useRef(),_=p.useRef();function E(){try{return b.current instanceof HTMLElement?b.current:aw(_.current)}catch{return null}}var C=mKe(y,s,E,i),S=Ie(C,4),w=S[0],T=S[1],O=S[2],x=S[3],A=p.useRef(x);x&&(A.current=!0);var I=p.useCallback(function(L){b.current=L,wT(o,L)},[o]),M,B=G(G({},m),{},{visible:s});if(!d)M=null;else if(w===Jh)x?M=d(G({},B),I):!c&&A.current&&h?M=d(G(G({},B),{},{className:h}),I):u||!c&&!h?M=d(G(G({},B),{},{style:{display:"none"}}),I):M=null;else{var P;T===Xu?P="prepare":PSe(T)?P="active":T===ey&&(P="start");var k=Pne(f,"".concat(w,"-").concat(P));M=d(G(G({},B),{},{className:xe(Pne(f,w),ee(ee({},k,k&&P),f,typeof f=="string")),style:O}),I)}if(p.isValidElement(M)&&Cd(M)){var N=Ig(M);N||(M=p.cloneElement(M,{ref:I}))}return p.createElement(iKe,{ref:_},M)});return r.displayName="CSSMotion",r}const ia=gKe(NSe);var mH="add",gH="keep",vH="remove",IL="removed";function vKe(e){var t;return e&&Gt(e)==="object"&&"key"in e?t=e:t={key:e},G(G({},t),{},{key:String(t.key)})}function bH(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(vKe)}function bKe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,i=t.length,o=bH(e),a=bH(t);o.forEach(function(c){for(var u=!1,d=r;d1});return l.forEach(function(c){n=n.filter(function(u){var d=u.key,f=u.status;return d!==c||f!==vH}),n.forEach(function(u){u.key===c&&(u.status=gH)})}),n}var yKe=["component","children","onVisibleChanged","onAllRemoved"],_Ke=["status"],SKe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function EKe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ia,n=function(r){Ds(o,r);var i=ol(o);function o(){var a;Kr(this,o);for(var s=arguments.length,l=new Array(s),c=0;cnull;var xKe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it.endsWith("Color"))}const AKe=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:i}=e;t!==void 0&&(UM=t),n!==void 0&&(DSe=n),"holderRender"in e&&($Se=i),r&&(IKe(r)?PYe(LA(),r):LSe=r)},FSe=()=>({getPrefixCls:(e,t)=>t||(e?`${LA()}-${e}`:LA()),getIconPrefixCls:RKe,getRootPrefixCls:()=>UM||LA(),getTheme:()=>LSe,holderRender:$Se}),NKe=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:i,anchor:o,form:a,locale:s,componentSize:l,direction:c,space:u,splitter:d,virtual:f,dropdownMatchSelectWidth:h,popupMatchSelectWidth:m,popupOverflow:g,legacyLocale:v,parentContext:y,iconPrefixCls:b,theme:_,componentDisabled:E,segmented:C,statistic:S,spin:w,calendar:T,carousel:O,cascader:x,collapse:A,typography:I,checkbox:M,descriptions:B,divider:P,drawer:k,skeleton:N,steps:L,image:V,layout:$,list:W,mentions:j,modal:U,progress:Z,result:te,slider:ae,breadcrumb:K,menu:Q,pagination:ie,input:he,textArea:pe,empty:le,badge:de,radio:ve,rate:ne,switch:ue,transfer:ge,avatar:Ce,message:Te,tag:Se,table:me,card:be,tabs:_e,timeline:Re,timePicker:De,upload:z,notification:D,tree:q,colorPicker:oe,datePicker:ye,rangePicker:ce,flex:Be,wave:Ve,dropdown:re,warning:Me,tour:je,tooltip:ke,popover:Ge,popconfirm:Ue,floatButtonGroup:qe,variant:At,inputNumber:at,treeSelect:pt}=e,Ct=p.useCallback((_t,Bt)=>{const{prefixCls:Nt}=e;if(Bt)return Bt;const vt=Nt||y.getPrefixCls("");return _t?`${vt}-${_t}`:vt},[y.getPrefixCls,e.prefixCls]),bt=b||y.iconPrefixCls||CP,Vt=n||y.csp;ZYe(bt,Vt);const Tt=nKe(_,y.theme,{prefixCls:Ct("")}),Ot={csp:Vt,autoInsertSpaceInButton:r,alert:i,anchor:o,locale:s||v,direction:c,space:u,splitter:d,virtual:f,popupMatchSelectWidth:m??h,popupOverflow:g,getPrefixCls:Ct,iconPrefixCls:bt,theme:Tt,segmented:C,statistic:S,spin:w,calendar:T,carousel:O,cascader:x,collapse:A,typography:I,checkbox:M,descriptions:B,divider:P,drawer:k,skeleton:N,steps:L,image:V,input:he,textArea:pe,layout:$,list:W,mentions:j,modal:U,progress:Z,result:te,slider:ae,breadcrumb:K,menu:Q,pagination:ie,empty:le,badge:de,radio:ve,rate:ne,switch:ue,transfer:ge,avatar:Ce,message:Te,tag:Se,table:me,card:be,tabs:_e,timeline:Re,timePicker:De,upload:z,notification:D,tree:q,colorPicker:oe,datePicker:ye,rangePicker:ce,flex:Be,wave:Ve,dropdown:re,warning:Me,tour:je,tooltip:ke,popover:Ge,popconfirm:Ue,floatButtonGroup:qe,variant:At,inputNumber:at,treeSelect:pt},Ut=Object.assign({},y);Object.keys(Ot).forEach(_t=>{Ot[_t]!==void 0&&(Ut[_t]=Ot[_t])}),OKe.forEach(_t=>{const Bt=e[_t];Bt&&(Ut[_t]=Bt)}),typeof r<"u"&&(Ut.button=Object.assign({autoInsertSpace:r},Ut.button));const ze=lh(()=>Ut,Ut,(_t,Bt)=>{const Nt=Object.keys(_t),vt=Object.keys(Bt);return Nt.length!==vt.length||Nt.some(ht=>_t[ht]!==Bt[ht])}),Ye=p.useMemo(()=>({prefixCls:bt,csp:Vt}),[bt,Vt]);let He=p.createElement(p.Fragment,null,p.createElement(TKe,{dropdownMatchSelectWidth:h}),t);const Ze=p.useMemo(()=>{var _t,Bt,Nt,vt;return B1(((_t=Cc.Form)===null||_t===void 0?void 0:_t.defaultValidateMessages)||{},((Nt=(Bt=ze.locale)===null||Bt===void 0?void 0:Bt.Form)===null||Nt===void 0?void 0:Nt.defaultValidateMessages)||{},((vt=ze.form)===null||vt===void 0?void 0:vt.validateMessages)||{},(a==null?void 0:a.validateMessages)||{})},[ze,a==null?void 0:a.validateMessages]);Object.keys(Ze).length>0&&(He=p.createElement(eSe.Provider,{value:Ze},He)),s&&(He=p.createElement(fYe,{locale:s,_ANT_MARK__:dYe},He)),(bt||Vt)&&(He=p.createElement(EP.Provider,{value:Ye},He)),l&&(He=p.createElement(DYe,{size:l},He)),He=p.createElement(wKe,null,He);const yt=p.useMemo(()=>{const _t=Tt||{},{algorithm:Bt,token:Nt,components:vt,cssVar:ht}=_t,kt=xKe(_t,["algorithm","token","components","cssVar"]),Et=Bt&&(!Array.isArray(Bt)||Bt.length>0)?$v(Bt):uSe,Yt={};Object.entries(vt||{}).forEach(Rt=>{let[Ht,wt]=Rt;const St=Object.assign({},wt);"algorithm"in St&&(St.algorithm===!0?St.theme=Et:(Array.isArray(St.algorithm)||typeof St.algorithm=="function")&&(St.theme=$v(St.algorithm)),delete St.algorithm),Yt[Ht]=St});const ct=Object.assign(Object.assign({},u_),Nt);return Object.assign(Object.assign({},kt),{theme:Et,token:ct,components:Yt,override:Object.assign({override:ct},Yt),cssVar:ht})},[Tt]);return _&&(He=p.createElement(gq.Provider,{value:yt},He)),ze.warning&&(He=p.createElement(lYe.Provider,{value:ze.warning},He)),E!==void 0&&(He=p.createElement(bq,{disabled:E},He)),p.createElement(Xt.Provider,{value:ze},He)},Ln=e=>{const t=p.useContext(Xt),n=p.useContext(hq);return p.createElement(NKe,Object.assign({parentContext:t,legacyLocale:n},e))};Ln.ConfigContext=Xt;Ln.SizeContext=Bv;Ln.config=AKe;Ln.useConfig=LYe;Object.defineProperty(Ln,"SizeContext",{get:()=>Bv});var MKe={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"};function BSe(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function kKe(e){return BSe(e)instanceof ShadowRoot}function zM(e){return kKe(e)?BSe(e):null}function PKe(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function yH(e,t){Yr(e,"[@ant-design/icons] ".concat(t))}function Dne(e){return Gt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(Gt(e.icon)==="object"||typeof e.icon=="function")}function Lne(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[PKe(n)]=r}return t},{})}function _H(e,t,n){return n?se.createElement(e.tag,G(G({key:t},Lne(e.attrs)),n),(e.children||[]).map(function(r,i){return _H(r,"".concat(t,"-").concat(e.tag,"-").concat(i))})):se.createElement(e.tag,G({key:t},Lne(e.attrs)),(e.children||[]).map(function(r,i){return _H(r,"".concat(t,"-").concat(e.tag,"-").concat(i))}))}function jSe(e){return hg(e)[0]}function HSe(e){return e?Array.isArray(e)?e:[e]:[]}var DKe={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},LKe=` + `,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)"}),r)}var Rne=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const r=n.getDerivativeToken(e),{override:i}=t,o=Rne(t,["override"]);let a=Object.assign(Object.assign({},r),{override:i});return a=yq(a),o&&Object.entries(o).forEach(s=>{let[l,c]=s;const{theme:u}=c,d=Rne(c,["theme"]);let f=d;u&&(f=SSe(Object.assign(Object.assign({},a),d),{override:d},u)),a[l]=f}),a};function qo(){const{token:e,hashed:t,theme:n,override:r,cssVar:i}=se.useContext(gq),o=`${ch}-${t||""}`,a=n||uSe,[s,l,c]=dq(a,[u_,e],{salt:o,override:r,getComputedToken:SSe,formatToken:yq,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:_Se,ignore:YYe,preserve:KYe}});return[a,c,t?l:"",s,i]}const kl={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},gr=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},_0=()=>({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"}}),wd=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),QYe=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),XYe=(e,t,n,r)=>{const i=`[class^="${t}"], [class*=" ${t}"]`,o=n?`.${n}`:i,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[o]:Object.assign(Object.assign(Object.assign({},s),a),{[i]:a})}},Td=(e,t)=>({outline:`${Ae(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:t??1,transition:"outline-offset 0s, outline 0s"}),Zs=(e,t)=>({"&:focus-visible":Object.assign({},Td(e,t))}),ESe=e=>({[`.${e}`]:Object.assign(Object.assign({},_0()),{[`.${e} .${e}-icon`]:{display:"block"}})}),_q=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},Zs(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}}),{genStyleHooks:lr,genComponentStyleHook:CSe,genSubStyleComponent:pS}=ySe({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=p.useContext(Xt);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,i]=qo();return{theme:e,realToken:t,hashId:n,token:r,cssVar:i}},useCSP:()=>{const{csp:e}=p.useContext(Xt);return e??{}},getResetStyles:(e,t)=>{var n;return[{"&":QYe(e)},ESe((n=t==null?void 0:t.prefix.iconPrefixCls)!==null&&n!==void 0?n:C5)]},getCommonStyle:XYe,getCompUnitless:()=>_Se});function x5(e,t){return Hv.reduce((n,r)=>{const i=e[`${r}1`],o=e[`${r}3`],a=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:i,lightBorderColor:o,darkColor:a,textColor:s}))},{})}const ZYe=(e,t)=>{const[n,r]=qo();return c_({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[ESe(e)])},JYe=Object.assign({},$x),{useId:Ine}=JYe,eKe=()=>"",tKe=typeof Ine>"u"?eKe:Ine;function nKe(e,t,n){var r;Wf();const i=e||{},o=i.inherit===!1||!t?Object.assign(Object.assign({},MT),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:MT.hashed,cssVar:t==null?void 0:t.cssVar}):t,a=tKe();return lh(()=>{var s,l;if(!e)return t;const c=Object.assign({},o.components);Object.keys(e.components||{}).forEach(f=>{c[f]=Object.assign(Object.assign({},c[f]),e.components[f])});const u=`css-var-${a.replace(/:/g,"")}`,d=((s=i.cssVar)!==null&&s!==void 0?s:o.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof o.cssVar=="object"?o.cssVar:{}),typeof i.cssVar=="object"?i.cssVar:{}),{key:typeof i.cssVar=="object"&&((l=i.cssVar)===null||l===void 0?void 0:l.key)||u});return Object.assign(Object.assign(Object.assign({},o),i),{token:Object.assign(Object.assign({},o.token),i.token),components:c,cssVar:d})},[i,o],(s,l)=>s.some((c,u)=>{const d=l[u];return!vu(c,d,!0)}))}var rKe=["children"],wSe=p.createContext({});function TSe(e){var t=e.children,n=Dt(e,rKe);return p.createElement(wSe.Provider,{value:n},t)}var iKe=function(e){Ds(n,e);var t=ol(n);function n(){return Kr(this,n),t.apply(this,arguments)}return Qr(n,[{key:"render",value:function(){return this.props.children}}]),n}(p.Component);function oKe(e){var t=p.useReducer(function(s){return s+1},0),n=Ie(t,2),r=n[1],i=p.useRef(e),o=Yn(function(){return i.current}),a=Yn(function(s){i.current=typeof s=="function"?s(i.current):s,r()});return[o,a]}var Jh="none",_R="appear",SR="enter",ER="leave",Ane="none",Xu="prepare",ey="start",ty="active",Sq="end",xSe="prepared";function Nne(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}function aKe(e,t){var n={animationend:Nne("Animation","AnimationEnd"),transitionend:Nne("Transition","TransitionEnd")};return e&&("AnimationEvent"in t||delete n.animationend.animation,"TransitionEvent"in t||delete n.transitionend.transition),n}var sKe=aKe(Xs(),typeof window<"u"?window:{}),OSe={};if(Xs()){var lKe=document.createElement("div");OSe=lKe.style}var CR={};function RSe(e){if(CR[e])return CR[e];var t=sKe[e];if(t)for(var n=Object.keys(t),r=n.length,i=0;i1&&arguments[1]!==void 0?arguments[1]:2;t();var o=nr(function(){i<=1?r({isCanceled:function(){return o!==e.current}}):n(r,i-1)});e.current=o}return p.useEffect(function(){return function(){t()}},[]),[n,t]};var dKe=[Xu,ey,ty,Sq],fKe=[Xu,xSe],kSe=!1,pKe=!0;function PSe(e){return e===ty||e===Sq}const hKe=function(e,t,n){var r=jv(Ane),i=Ie(r,2),o=i[0],a=i[1],s=uKe(),l=Ie(s,2),c=l[0],u=l[1];function d(){a(Xu,!0)}var f=t?fKe:dKe;return MSe(function(){if(o!==Ane&&o!==Sq){var h=f.indexOf(o),m=f[h+1],g=n(o);g===kSe?a(m,!0):m&&c(function(v){function y(){v.isCanceled()||a(m,!0)}g===!0?y():Promise.resolve(g).then(y)})}},[e,o]),p.useEffect(function(){return function(){u()}},[]),[d,o]};function mKe(e,t,n,r){var i=r.motionEnter,o=i===void 0?!0:i,a=r.motionAppear,s=a===void 0?!0:a,l=r.motionLeave,c=l===void 0?!0:l,u=r.motionDeadline,d=r.motionLeaveImmediately,f=r.onAppearPrepare,h=r.onEnterPrepare,m=r.onLeavePrepare,g=r.onAppearStart,v=r.onEnterStart,y=r.onLeaveStart,b=r.onAppearActive,_=r.onEnterActive,E=r.onLeaveActive,C=r.onAppearEnd,S=r.onEnterEnd,w=r.onLeaveEnd,T=r.onVisibleChanged,O=jv(),x=Ie(O,2),A=x[0],I=x[1],M=oKe(Jh),B=Ie(M,2),P=B[0],k=B[1],N=jv(null),L=Ie(N,2),V=L[0],$=L[1],W=P(),j=p.useRef(!1),U=p.useRef(null);function Z(){return n()}var te=p.useRef(!1);function ae(){k(Jh),$(null,!0)}var K=Yn(function(me){var be=P();if(be!==Jh){var _e=Z();if(!(me&&!me.deadline&&me.target!==_e)){var Re=te.current,De;be===_R&&Re?De=C==null?void 0:C(_e,me):be===SR&&Re?De=S==null?void 0:S(_e,me):be===ER&&Re&&(De=w==null?void 0:w(_e,me)),Re&&De!==!1&&ae()}}}),Q=cKe(K),ie=Ie(Q,1),he=ie[0],pe=function(be){switch(be){case _R:return ee(ee(ee({},Xu,f),ey,g),ty,b);case SR:return ee(ee(ee({},Xu,h),ey,v),ty,_);case ER:return ee(ee(ee({},Xu,m),ey,y),ty,E);default:return{}}},le=p.useMemo(function(){return pe(W)},[W]),de=hKe(W,!e,function(me){if(me===Xu){var be=le[Xu];return be?be(Z()):kSe}if(ue in le){var _e;$(((_e=le[ue])===null||_e===void 0?void 0:_e.call(le,Z(),null))||null)}return ue===ty&&W!==Jh&&(he(Z()),u>0&&(clearTimeout(U.current),U.current=setTimeout(function(){K({deadline:!0})},u))),ue===xSe&&ae(),pKe}),ve=Ie(de,2),ne=ve[0],ue=ve[1],ge=PSe(ue);te.current=ge;var Ce=p.useRef(null);MSe(function(){if(!(j.current&&Ce.current===t)){I(t);var me=j.current;j.current=!0;var be;!me&&t&&s&&(be=_R),me&&t&&o&&(be=SR),(me&&!t&&c||!me&&d&&!t&&c)&&(be=ER);var _e=pe(be);be&&(e||_e[Xu])?(k(be),ne()):k(Jh),Ce.current=t}},[t]),p.useEffect(function(){(W===_R&&!s||W===SR&&!o||W===ER&&!c)&&k(Jh)},[s,o,c]),p.useEffect(function(){return function(){j.current=!1,clearTimeout(U.current)}},[]);var Te=p.useRef(!1);p.useEffect(function(){A&&(Te.current=!0),A!==void 0&&W===Jh&&((Te.current||A)&&(T==null||T(A)),Te.current=!0)},[A,W]);var Se=V;return le[Xu]&&ue===ey&&(Se=G({transition:"none"},Se)),[W,ue,Se,A??t]}function gKe(e){var t=e;Gt(e)==="object"&&(t=e.transitionSupport);function n(i,o){return!!(i.motionName&&t&&o!==!1)}var r=p.forwardRef(function(i,o){var a=i.visible,s=a===void 0?!0:a,l=i.removeOnLeave,c=l===void 0?!0:l,u=i.forceRender,d=i.children,f=i.motionName,h=i.leavedClassName,m=i.eventProps,g=p.useContext(wSe),v=g.motion,y=n(i,v),b=p.useRef(),_=p.useRef();function E(){try{return b.current instanceof HTMLElement?b.current:aw(_.current)}catch{return null}}var C=mKe(y,s,E,i),S=Ie(C,4),w=S[0],T=S[1],O=S[2],x=S[3],A=p.useRef(x);x&&(A.current=!0);var I=p.useCallback(function(L){b.current=L,wT(o,L)},[o]),M,B=G(G({},m),{},{visible:s});if(!d)M=null;else if(w===Jh)x?M=d(G({},B),I):!c&&A.current&&h?M=d(G(G({},B),{},{className:h}),I):u||!c&&!h?M=d(G(G({},B),{},{style:{display:"none"}}),I):M=null;else{var P;T===Xu?P="prepare":PSe(T)?P="active":T===ey&&(P="start");var k=Pne(f,"".concat(w,"-").concat(P));M=d(G(G({},B),{},{className:xe(Pne(f,w),ee(ee({},k,k&&P),f,typeof f=="string")),style:O}),I)}if(p.isValidElement(M)&&Cd(M)){var N=Ig(M);N||(M=p.cloneElement(M,{ref:I}))}return p.createElement(iKe,{ref:_},M)});return r.displayName="CSSMotion",r}const ia=gKe(NSe);var mH="add",gH="keep",vH="remove",IL="removed";function vKe(e){var t;return e&&Gt(e)==="object"&&"key"in e?t=e:t={key:e},G(G({},t),{},{key:String(t.key)})}function bH(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(vKe)}function bKe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,i=t.length,o=bH(e),a=bH(t);o.forEach(function(c){for(var u=!1,d=r;d1});return l.forEach(function(c){n=n.filter(function(u){var d=u.key,f=u.status;return d!==c||f!==vH}),n.forEach(function(u){u.key===c&&(u.status=gH)})}),n}var yKe=["component","children","onVisibleChanged","onAllRemoved"],_Ke=["status"],SKe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function EKe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ia,n=function(r){Ds(o,r);var i=ol(o);function o(){var a;Kr(this,o);for(var s=arguments.length,l=new Array(s),c=0;cnull;var xKe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it.endsWith("Color"))}const AKe=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:i}=e;t!==void 0&&(UM=t),n!==void 0&&(DSe=n),"holderRender"in e&&($Se=i),r&&(IKe(r)?PYe(LA(),r):LSe=r)},FSe=()=>({getPrefixCls:(e,t)=>t||(e?`${LA()}-${e}`:LA()),getIconPrefixCls:RKe,getRootPrefixCls:()=>UM||LA(),getTheme:()=>LSe,holderRender:$Se}),NKe=e=>{const{children:t,csp:n,autoInsertSpaceInButton:r,alert:i,anchor:o,form:a,locale:s,componentSize:l,direction:c,space:u,splitter:d,virtual:f,dropdownMatchSelectWidth:h,popupMatchSelectWidth:m,popupOverflow:g,legacyLocale:v,parentContext:y,iconPrefixCls:b,theme:_,componentDisabled:E,segmented:C,statistic:S,spin:w,calendar:T,carousel:O,cascader:x,collapse:A,typography:I,checkbox:M,descriptions:B,divider:P,drawer:k,skeleton:N,steps:L,image:V,layout:$,list:W,mentions:j,modal:U,progress:Z,result:te,slider:ae,breadcrumb:K,menu:Q,pagination:ie,input:he,textArea:pe,empty:le,badge:de,radio:ve,rate:ne,switch:ue,transfer:ge,avatar:Ce,message:Te,tag:Se,table:me,card:be,tabs:_e,timeline:Re,timePicker:De,upload:z,notification:D,tree:q,colorPicker:oe,datePicker:ye,rangePicker:ce,flex:Be,wave:Ve,dropdown:re,warning:Me,tour:je,tooltip:ke,popover:Ge,popconfirm:Ue,floatButtonGroup:qe,variant:At,inputNumber:at,treeSelect:pt}=e,Ct=p.useCallback((_t,Bt)=>{const{prefixCls:Nt}=e;if(Bt)return Bt;const vt=Nt||y.getPrefixCls("");return _t?`${vt}-${_t}`:vt},[y.getPrefixCls,e.prefixCls]),bt=b||y.iconPrefixCls||C5,Vt=n||y.csp;ZYe(bt,Vt);const Tt=nKe(_,y.theme,{prefixCls:Ct("")}),Ot={csp:Vt,autoInsertSpaceInButton:r,alert:i,anchor:o,locale:s||v,direction:c,space:u,splitter:d,virtual:f,popupMatchSelectWidth:m??h,popupOverflow:g,getPrefixCls:Ct,iconPrefixCls:bt,theme:Tt,segmented:C,statistic:S,spin:w,calendar:T,carousel:O,cascader:x,collapse:A,typography:I,checkbox:M,descriptions:B,divider:P,drawer:k,skeleton:N,steps:L,image:V,input:he,textArea:pe,layout:$,list:W,mentions:j,modal:U,progress:Z,result:te,slider:ae,breadcrumb:K,menu:Q,pagination:ie,empty:le,badge:de,radio:ve,rate:ne,switch:ue,transfer:ge,avatar:Ce,message:Te,tag:Se,table:me,card:be,tabs:_e,timeline:Re,timePicker:De,upload:z,notification:D,tree:q,colorPicker:oe,datePicker:ye,rangePicker:ce,flex:Be,wave:Ve,dropdown:re,warning:Me,tour:je,tooltip:ke,popover:Ge,popconfirm:Ue,floatButtonGroup:qe,variant:At,inputNumber:at,treeSelect:pt},Ut=Object.assign({},y);Object.keys(Ot).forEach(_t=>{Ot[_t]!==void 0&&(Ut[_t]=Ot[_t])}),OKe.forEach(_t=>{const Bt=e[_t];Bt&&(Ut[_t]=Bt)}),typeof r<"u"&&(Ut.button=Object.assign({autoInsertSpace:r},Ut.button));const ze=lh(()=>Ut,Ut,(_t,Bt)=>{const Nt=Object.keys(_t),vt=Object.keys(Bt);return Nt.length!==vt.length||Nt.some(ht=>_t[ht]!==Bt[ht])}),Ye=p.useMemo(()=>({prefixCls:bt,csp:Vt}),[bt,Vt]);let He=p.createElement(p.Fragment,null,p.createElement(TKe,{dropdownMatchSelectWidth:h}),t);const Ze=p.useMemo(()=>{var _t,Bt,Nt,vt;return B1(((_t=Cc.Form)===null||_t===void 0?void 0:_t.defaultValidateMessages)||{},((Nt=(Bt=ze.locale)===null||Bt===void 0?void 0:Bt.Form)===null||Nt===void 0?void 0:Nt.defaultValidateMessages)||{},((vt=ze.form)===null||vt===void 0?void 0:vt.validateMessages)||{},(a==null?void 0:a.validateMessages)||{})},[ze,a==null?void 0:a.validateMessages]);Object.keys(Ze).length>0&&(He=p.createElement(eSe.Provider,{value:Ze},He)),s&&(He=p.createElement(fYe,{locale:s,_ANT_MARK__:dYe},He)),(bt||Vt)&&(He=p.createElement(E5.Provider,{value:Ye},He)),l&&(He=p.createElement(DYe,{size:l},He)),He=p.createElement(wKe,null,He);const yt=p.useMemo(()=>{const _t=Tt||{},{algorithm:Bt,token:Nt,components:vt,cssVar:ht}=_t,kt=xKe(_t,["algorithm","token","components","cssVar"]),Et=Bt&&(!Array.isArray(Bt)||Bt.length>0)?$v(Bt):uSe,Yt={};Object.entries(vt||{}).forEach(Rt=>{let[Ht,wt]=Rt;const St=Object.assign({},wt);"algorithm"in St&&(St.algorithm===!0?St.theme=Et:(Array.isArray(St.algorithm)||typeof St.algorithm=="function")&&(St.theme=$v(St.algorithm)),delete St.algorithm),Yt[Ht]=St});const ct=Object.assign(Object.assign({},u_),Nt);return Object.assign(Object.assign({},kt),{theme:Et,token:ct,components:Yt,override:Object.assign({override:ct},Yt),cssVar:ht})},[Tt]);return _&&(He=p.createElement(gq.Provider,{value:yt},He)),ze.warning&&(He=p.createElement(lYe.Provider,{value:ze.warning},He)),E!==void 0&&(He=p.createElement(bq,{disabled:E},He)),p.createElement(Xt.Provider,{value:ze},He)},Ln=e=>{const t=p.useContext(Xt),n=p.useContext(hq);return p.createElement(NKe,Object.assign({parentContext:t,legacyLocale:n},e))};Ln.ConfigContext=Xt;Ln.SizeContext=Bv;Ln.config=AKe;Ln.useConfig=LYe;Object.defineProperty(Ln,"SizeContext",{get:()=>Bv});var MKe={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"};function BSe(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}function kKe(e){return BSe(e)instanceof ShadowRoot}function zM(e){return kKe(e)?BSe(e):null}function PKe(e){return e.replace(/-(.)/g,function(t,n){return n.toUpperCase()})}function yH(e,t){Yr(e,"[@ant-design/icons] ".concat(t))}function Dne(e){return Gt(e)==="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(Gt(e.icon)==="object"||typeof e.icon=="function")}function Lne(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=e[n];switch(n){case"class":t.className=r,delete t.class;break;default:delete t[n],t[PKe(n)]=r}return t},{})}function _H(e,t,n){return n?se.createElement(e.tag,G(G({key:t},Lne(e.attrs)),n),(e.children||[]).map(function(r,i){return _H(r,"".concat(t,"-").concat(e.tag,"-").concat(i))})):se.createElement(e.tag,G({key:t},Lne(e.attrs)),(e.children||[]).map(function(r,i){return _H(r,"".concat(t,"-").concat(e.tag,"-").concat(i))}))}function jSe(e){return hg(e)[0]}function HSe(e){return e?Array.isArray(e)?e:[e]:[]}var DKe={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},LKe=` .anticon { display: inline-flex; align-items: center; @@ -189,9 +189,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho transform: rotate(360deg); } } -`,USe=function(t){var n=p.useContext(EP),r=n.csp,i=n.prefixCls,o=n.layer,a=LKe;i&&(a=a.replace(/anticon/g,i)),o&&(a="@layer ".concat(o,` { +`,USe=function(t){var n=p.useContext(E5),r=n.csp,i=n.prefixCls,o=n.layer,a=LKe;i&&(a=a.replace(/anticon/g,i)),o&&(a="@layer ".concat(o,` { `).concat(a,` -}`)),p.useEffect(function(){var s=t.current,l=zM(s);TP(a,"@ant-design-icons",{prepend:!o,csp:r,attachTo:l})},[])},$Ke=["icon","className","onClick","style","primaryColor","secondaryColor"],uw={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function FKe(e){var t=e.primaryColor,n=e.secondaryColor;uw.primaryColor=t,uw.secondaryColor=n||jSe(t),uw.calculated=!!n}function BKe(){return G({},uw)}var hS=function(t){var n=t.icon,r=t.className,i=t.onClick,o=t.style,a=t.primaryColor,s=t.secondaryColor,l=Dt(t,$Ke),c=p.useRef(),u=uw;if(a&&(u={primaryColor:a,secondaryColor:s||jSe(a)}),USe(c),yH(Dne(n),"icon should be icon definiton, but got ".concat(n)),!Dne(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=G(G({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),_H(d.icon,"svg-".concat(d.name),G(G({className:r,onClick:i,style:o,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};hS.displayName="IconReact";hS.getTwoToneColors=BKe;hS.setTwoToneColors=FKe;function zSe(e){var t=HSe(e),n=Ie(t,2),r=n[0],i=n[1];return hS.setTwoToneColors({primaryColor:r,secondaryColor:i})}function jKe(){var e=hS.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var HKe=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];zSe(Fv.primary);var Nn=p.forwardRef(function(e,t){var n=e.className,r=e.icon,i=e.spin,o=e.rotate,a=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=Dt(e,HKe),u=p.useContext(EP),d=u.prefixCls,f=d===void 0?"anticon":d,h=u.rootClassName,m=xe(h,f,ee(ee({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!i||r.name==="loading"),n),g=a;g===void 0&&s&&(g=-1);var v=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,y=HSe(l),b=Ie(y,2),_=b[0],E=b[1];return p.createElement("span",Ke({role:"img","aria-label":r.name},c,{ref:t,tabIndex:g,onClick:s,className:m}),p.createElement(hS,{icon:r,primaryColor:_,secondaryColor:E,style:v}))});Nn.displayName="AntdIcon";Nn.getTwoToneColor=jKe;Nn.setTwoToneColor=zSe;var UKe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:MKe}))},S0=p.forwardRef(UKe),zKe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},VKe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:zKe}))},qf=p.forwardRef(VKe),GKe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},WKe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:GKe}))},Yf=p.forwardRef(WKe),qKe={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 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},YKe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:qKe}))},Ag=p.forwardRef(YKe),KKe={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 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},QKe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:KKe}))},RP=p.forwardRef(QKe),XKe=`accept acceptCharset accessKey action allowFullScreen allowTransparency +}`)),p.useEffect(function(){var s=t.current,l=zM(s);T5(a,"@ant-design-icons",{prepend:!o,csp:r,attachTo:l})},[])},$Ke=["icon","className","onClick","style","primaryColor","secondaryColor"],uw={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function FKe(e){var t=e.primaryColor,n=e.secondaryColor;uw.primaryColor=t,uw.secondaryColor=n||jSe(t),uw.calculated=!!n}function BKe(){return G({},uw)}var hS=function(t){var n=t.icon,r=t.className,i=t.onClick,o=t.style,a=t.primaryColor,s=t.secondaryColor,l=Dt(t,$Ke),c=p.useRef(),u=uw;if(a&&(u={primaryColor:a,secondaryColor:s||jSe(a)}),USe(c),yH(Dne(n),"icon should be icon definiton, but got ".concat(n)),!Dne(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=G(G({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),_H(d.icon,"svg-".concat(d.name),G(G({className:r,onClick:i,style:o,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};hS.displayName="IconReact";hS.getTwoToneColors=BKe;hS.setTwoToneColors=FKe;function zSe(e){var t=HSe(e),n=Ie(t,2),r=n[0],i=n[1];return hS.setTwoToneColors({primaryColor:r,secondaryColor:i})}function jKe(){var e=hS.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var HKe=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];zSe(Fv.primary);var Nn=p.forwardRef(function(e,t){var n=e.className,r=e.icon,i=e.spin,o=e.rotate,a=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=Dt(e,HKe),u=p.useContext(E5),d=u.prefixCls,f=d===void 0?"anticon":d,h=u.rootClassName,m=xe(h,f,ee(ee({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!i||r.name==="loading"),n),g=a;g===void 0&&s&&(g=-1);var v=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,y=HSe(l),b=Ie(y,2),_=b[0],E=b[1];return p.createElement("span",Ke({role:"img","aria-label":r.name},c,{ref:t,tabIndex:g,onClick:s,className:m}),p.createElement(hS,{icon:r,primaryColor:_,secondaryColor:E,style:v}))});Nn.displayName="AntdIcon";Nn.getTwoToneColor=jKe;Nn.setTwoToneColor=zSe;var UKe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:MKe}))},S0=p.forwardRef(UKe),zKe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},VKe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:zKe}))},qf=p.forwardRef(VKe),GKe={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},WKe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:GKe}))},Yf=p.forwardRef(WKe),qKe={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 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},YKe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:qKe}))},Ag=p.forwardRef(YKe),KKe={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 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},QKe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:KKe}))},R5=p.forwardRef(QKe),XKe=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable @@ -210,31 +210,31 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,JKe="".concat(XKe," ").concat(ZKe).split(/[\s\n]+/),eQe="aria-",tQe="data-";function $ne(e,t){return e.indexOf(t)===0}function xi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n;t===!1?n={aria:!0,data:!0,attr:!0}:t===!0?n={aria:!0}:n=G({},t);var r={};return Object.keys(e).forEach(function(i){(n.aria&&(i==="role"||$ne(i,eQe))||n.data&&$ne(i,tQe)||n.attr&&JKe.includes(i))&&(r[i]=e[i])}),r}function VSe(e){return e&&se.isValidElement(e)&&e.type===se.Fragment}const Eq=(e,t,n)=>se.isValidElement(e)?se.cloneElement(e,typeof n=="function"?n(e.props||{}):n):t;function Eo(e,t){return Eq(e,e,t)}const wR=(e,t,n,r,i)=>({background:e,border:`${Ae(r.lineWidth)} ${r.lineType} ${t}`,[`${i}-icon`]:{color:n}}),nQe=e=>{const{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:i,fontSize:o,fontSizeLG:a,lineHeight:s,borderRadiusLG:l,motionEaseInOutCirc:c,withDescriptionIconSize:u,colorText:d,colorTextHeading:f,withDescriptionPadding:h,defaultPadding:m}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{position:"relative",display:"flex",alignItems:"center",padding:m,wordWrap:"break-word",borderRadius:l,[`&${t}-rtl`]:{direction:"rtl"},[`${t}-content`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:o,lineHeight:s},"&-message":{color:f},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:`max-height ${n} ${c}, opacity ${n} ${c}, padding-top ${n} ${c}, padding-bottom ${n} ${c}, - margin-bottom ${n} ${c}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:h,[`${t}-icon`]:{marginInlineEnd:i,fontSize:u,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:f,fontSize:a},[`${t}-description`]:{display:"block",color:d}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},rQe=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:i,colorWarning:o,colorWarningBorder:a,colorWarningBg:s,colorError:l,colorErrorBorder:c,colorErrorBg:u,colorInfo:d,colorInfoBorder:f,colorInfoBg:h}=e;return{[t]:{"&-success":wR(i,r,n,e,t),"&-info":wR(h,f,d,e,t),"&-warning":wR(s,a,o,e,t),"&-error":Object.assign(Object.assign({},wR(u,c,l,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},iQe=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:i,fontSizeIcon:o,colorIcon:a,colorIconHover:s}=e;return{[t]:{"&-action":{marginInlineStart:i},[`${t}-close-icon`]:{marginInlineStart:i,padding:0,overflow:"hidden",fontSize:o,lineHeight:Ae(o),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:a,transition:`color ${r}`,"&:hover":{color:s}}},"&-close-text":{color:a,transition:`color ${r}`,"&:hover":{color:s}}}}},oQe=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),aQe=lr("Alert",e=>[nQe(e),rQe(e),iQe(e)],oQe);var Fne=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{icon:t,prefixCls:n,type:r}=e,i=sQe[r]||null;return t?Eq(t,p.createElement("span",{className:`${n}-icon`},t),()=>({className:xe(`${n}-icon`,t.props.className)})):p.createElement(i,{className:`${n}-icon`})},cQe=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:i,ariaProps:o}=e,a=r===!0||r===void 0?p.createElement(Yf,null):r;return t?p.createElement("button",Object.assign({type:"button",onClick:i,className:`${n}-close-icon`,tabIndex:0},o),a):null},GSe=p.forwardRef((e,t)=>{const{description:n,prefixCls:r,message:i,banner:o,className:a,rootClassName:s,style:l,onMouseEnter:c,onMouseLeave:u,onClick:d,afterClose:f,showIcon:h,closable:m,closeText:g,closeIcon:v,action:y,id:b}=e,_=Fne(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[E,C]=p.useState(!1),S=p.useRef(null);p.useImperativeHandle(t,()=>({nativeElement:S.current}));const{getPrefixCls:w,direction:T,alert:O}=p.useContext(Xt),x=w("alert",r),[A,I,M]=aQe(x),B=j=>{var U;C(!0),(U=e.onClose)===null||U===void 0||U.call(e,j)},P=p.useMemo(()=>e.type!==void 0?e.type:o?"warning":"info",[e.type,o]),k=p.useMemo(()=>typeof m=="object"&&m.closeIcon||g?!0:typeof m=="boolean"?m:v!==!1&&v!==null&&v!==void 0?!0:!!(O!=null&&O.closable),[g,v,m,O==null?void 0:O.closable]),N=o&&h===void 0?!0:h,L=xe(x,`${x}-${P}`,{[`${x}-with-description`]:!!n,[`${x}-no-icon`]:!N,[`${x}-banner`]:!!o,[`${x}-rtl`]:T==="rtl"},O==null?void 0:O.className,a,s,M,I),V=xi(_,{aria:!0,data:!0}),$=p.useMemo(()=>{var j,U;return typeof m=="object"&&m.closeIcon?m.closeIcon:g||(v!==void 0?v:typeof(O==null?void 0:O.closable)=="object"&&(!((j=O==null?void 0:O.closable)===null||j===void 0)&&j.closeIcon)?(U=O==null?void 0:O.closable)===null||U===void 0?void 0:U.closeIcon:O==null?void 0:O.closeIcon)},[v,m,g,O==null?void 0:O.closeIcon]),W=p.useMemo(()=>{const j=m??(O==null?void 0:O.closable);return typeof j=="object"?Fne(j,["closeIcon"]):{}},[m,O==null?void 0:O.closable]);return A(p.createElement(ia,{visible:!E,motionName:`${x}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:j=>({maxHeight:j.offsetHeight}),onLeaveEnd:f},(j,U)=>{let{className:Z,style:te}=j;return p.createElement("div",Object.assign({id:b,ref:aa(S,U),"data-show":!E,className:xe(L,Z),style:Object.assign(Object.assign(Object.assign({},O==null?void 0:O.style),l),te),onMouseEnter:c,onMouseLeave:u,onClick:d,role:"alert"},V),N?p.createElement(lQe,{description:n,icon:e.icon,prefixCls:x,type:P}):null,p.createElement("div",{className:`${x}-content`},i?p.createElement("div",{className:`${x}-message`},i):null,n?p.createElement("div",{className:`${x}-description`},n):null),y?p.createElement("div",{className:`${x}-action`},y):null,p.createElement(cQe,{isClosable:k,prefixCls:x,closeIcon:$,handleClose:B,ariaProps:W}))}))});function uQe(e,t,n){return t=Lv(t),S_e(e,vP()?Reflect.construct(t,n||[],Lv(e).constructor):t.apply(e,n))}let dQe=function(e){function t(){var n;return Kr(this,t),n=uQe(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return Ds(t,e),Qr(t,[{key:"componentDidCatch",value:function(r,i){this.setState({error:r,info:i})}},{key:"render",value:function(){const{message:r,description:i,id:o,children:a}=this.props,{error:s,info:l}=this.state,c=(l==null?void 0:l.componentStack)||null,u=typeof r>"u"?(s||"").toString():r,d=typeof i>"u"?c:i;return s?p.createElement(GSe,{id:o,type:"error",message:u,description:p.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},d)}):a}}])}(p.Component);const WSe=GSe;WSe.ErrorBoundary=dQe;const Bne=e=>typeof e=="object"&&e!=null&&e.nodeType===1,jne=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",AL=(e,t)=>{if(e.clientHeight{const i=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!i&&(i.clientHeightot||o>e&&a=t&&s>=n?o-e-r:a>t&&sn?a-t+i:0,fQe=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},Hne=(e,t)=>{var n,r,i,o;if(typeof document>"u")return[];const{scrollMode:a,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d=typeof c=="function"?c:k=>k!==c;if(!Bne(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,h=[];let m=e;for(;Bne(m)&&d(m);){if(m=fQe(m),m===f){h.push(m);break}m!=null&&m===document.body&&AL(m)&&!AL(document.documentElement)||m!=null&&AL(m,u)&&h.push(m)}const g=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,v=(o=(i=window.visualViewport)==null?void 0:i.height)!=null?o:innerHeight,{scrollX:y,scrollY:b}=window,{height:_,width:E,top:C,right:S,bottom:w,left:T}=e.getBoundingClientRect(),{top:O,right:x,bottom:A,left:I}=(k=>{const N=window.getComputedStyle(k);return{top:parseFloat(N.scrollMarginTop)||0,right:parseFloat(N.scrollMarginRight)||0,bottom:parseFloat(N.scrollMarginBottom)||0,left:parseFloat(N.scrollMarginLeft)||0}})(e);let M=s==="start"||s==="nearest"?C-O:s==="end"?w+A:C+_/2-O+A,B=l==="center"?T+E/2-I+x:l==="end"?S+x:T-I;const P=[];for(let k=0;k=0&&T>=0&&w<=v&&S<=g&&C>=$&&w<=j&&T>=U&&S<=W)return P;const Z=getComputedStyle(N),te=parseInt(Z.borderLeftWidth,10),ae=parseInt(Z.borderTopWidth,10),K=parseInt(Z.borderRightWidth,10),Q=parseInt(Z.borderBottomWidth,10);let ie=0,he=0;const pe="offsetWidth"in N?N.offsetWidth-N.clientWidth-te-K:0,le="offsetHeight"in N?N.offsetHeight-N.clientHeight-ae-Q:0,de="offsetWidth"in N?N.offsetWidth===0?0:V/N.offsetWidth:0,ve="offsetHeight"in N?N.offsetHeight===0?0:L/N.offsetHeight:0;if(f===N)ie=s==="start"?M:s==="end"?M-v:s==="nearest"?TR(b,b+v,v,ae,Q,b+M,b+M+_,_):M-v/2,he=l==="start"?B:l==="center"?B-g/2:l==="end"?B-g:TR(y,y+g,g,te,K,y+B,y+B+E,E),ie=Math.max(0,ie+b),he=Math.max(0,he+y);else{ie=s==="start"?M-$-ae:s==="end"?M-j+Q+le:s==="nearest"?TR($,j,L,ae,Q+le,M,M+_,_):M-($+L/2)+le/2,he=l==="start"?B-U-te:l==="center"?B-(U+V/2)+pe/2:l==="end"?B-W+K+pe:TR(U,W,V,te,K+pe,B,B+E,E);const{scrollLeft:ne,scrollTop:ue}=N;ie=ve===0?0:Math.max(0,Math.min(ue+ie/ve,N.scrollHeight-L/ve+le)),he=de===0?0:Math.max(0,Math.min(ne+he/de,N.scrollWidth-V/de+pe)),M+=ue-ie,B+=ne-he}P.push({el:N,top:ie,left:he})}return P},pQe=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function hQe(e,t){if(!e.isConnected||!(i=>{let o=i;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;const n=(i=>{const o=window.getComputedStyle(i);return{top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})(e);if((i=>typeof i=="object"&&typeof i.behavior=="function")(t))return t.behavior(Hne(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:i,top:o,left:a}of Hne(e,pQe(t))){const s=o-n.top+n.bottom,l=a-n.left+n.right;i.scroll({top:s,left:l,behavior:r})}}function SH(e){return e!=null&&e===e.window}const mQe=e=>{var t,n;if(typeof window>"u")return 0;let r=0;return SH(e)?r=e.pageYOffset:e instanceof Document?r=e.documentElement.scrollTop:(e instanceof HTMLElement||e)&&(r=e.scrollTop),e&&!SH(e)&&typeof r!="number"&&(r=(n=((t=e.ownerDocument)!==null&&t!==void 0?t:e).documentElement)===null||n===void 0?void 0:n.scrollTop),r};function gQe(e,t,n,r){const i=n-t;return e/=r/2,e<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t}function vQe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:i=450}=t,o=n(),a=mQe(o),s=Date.now(),l=()=>{const u=Date.now()-s,d=gQe(u>i?i:u,a,e,i);SH(o)?o.scrollTo(window.pageXOffset,d):o instanceof Document||o.constructor.name==="HTMLDocument"?o.documentElement.scrollTop=d:o.scrollTop=d,u{const[,,,,t]=qo();return t?`${e}-css-var`:""};var dt={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(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=dt.F1&&n<=dt.F12)return!1;switch(n){case dt.ALT:case dt.CAPS_LOCK:case dt.CONTEXT_MENU:case dt.CTRL:case dt.DOWN:case dt.END:case dt.ESC:case dt.HOME:case dt.INSERT:case dt.LEFT:case dt.MAC_FF_META:case dt.META:case dt.NUMLOCK:case dt.NUM_CENTER:case dt.PAGE_DOWN:case dt.PAGE_UP:case dt.PAUSE:case dt.PRINT_SCREEN:case dt.RIGHT:case dt.SHIFT:case dt.UP:case dt.WIN_KEY:case dt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=dt.ZERO&&t<=dt.NINE||t>=dt.NUM_ZERO&&t<=dt.NUM_MULTIPLY||t>=dt.A&&t<=dt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case dt.SPACE:case dt.QUESTION_MARK:case dt.NUM_PLUS:case dt.NUM_MINUS:case dt.NUM_PERIOD:case dt.NUM_DIVISION:case dt.SEMICOLON:case dt.DASH:case dt.EQUALS:case dt.COMMA:case dt.PERIOD:case dt.SLASH:case dt.APOSTROPHE:case dt.SINGLE_QUOTE:case dt.OPEN_SQUARE_BRACKET:case dt.BACKSLASH:case dt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},qSe=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.className,o=e.duration,a=o===void 0?4.5:o,s=e.showProgress,l=e.pauseOnHover,c=l===void 0?!0:l,u=e.eventKey,d=e.content,f=e.closable,h=e.closeIcon,m=h===void 0?"x":h,g=e.props,v=e.onClick,y=e.onNoticeClose,b=e.times,_=e.hovering,E=p.useState(!1),C=Ie(E,2),S=C[0],w=C[1],T=p.useState(0),O=Ie(T,2),x=O[0],A=O[1],I=p.useState(0),M=Ie(I,2),B=M[0],P=M[1],k=_||S,N=a>0&&s,L=function(){y(u)},V=function(te){(te.key==="Enter"||te.code==="Enter"||te.keyCode===dt.ENTER)&&L()};p.useEffect(function(){if(!k&&a>0){var Z=Date.now()-B,te=setTimeout(function(){L()},a*1e3-B);return function(){c&&clearTimeout(te),P(Date.now()-Z)}}},[a,k,b]),p.useEffect(function(){if(!k&&N&&(c||B===0)){var Z=performance.now(),te,ae=function K(){cancelAnimationFrame(te),te=requestAnimationFrame(function(Q){var ie=Q+B-Z,he=Math.min(ie/(a*1e3),1);A(he*100),he<1&&K()})};return ae(),function(){c&&cancelAnimationFrame(te)}}},[a,B,k,N,b]);var $=p.useMemo(function(){return Gt(f)==="object"&&f!==null?f:f?{closeIcon:m}:{}},[f,m]),W=xi($,!0),j=100-(!x||x<0?0:x>100?100:x),U="".concat(n,"-notice");return p.createElement("div",Ke({},g,{ref:t,className:xe(U,i,ee({},"".concat(U,"-closable"),f)),style:r,onMouseEnter:function(te){var ae;w(!0),g==null||(ae=g.onMouseEnter)===null||ae===void 0||ae.call(g,te)},onMouseLeave:function(te){var ae;w(!1),g==null||(ae=g.onMouseLeave)===null||ae===void 0||ae.call(g,te)},onClick:v}),p.createElement("div",{className:"".concat(U,"-content")},d),f&&p.createElement("a",Ke({tabIndex:0,className:"".concat(U,"-close"),onKeyDown:V,"aria-label":"Close"},W,{onClick:function(te){te.preventDefault(),te.stopPropagation(),L()}}),$.closeIcon),N&&p.createElement("progress",{className:"".concat(U,"-progress"),max:"100",value:j},j+"%"))}),YSe=se.createContext({}),KSe=function(t){var n=t.children,r=t.classNames;return se.createElement(YSe.Provider,{value:{classNames:r}},n)},Une=8,zne=3,Vne=16,bQe=function(t){var n={offset:Une,threshold:zne,gap:Vne};if(t&&Gt(t)==="object"){var r,i,o;n.offset=(r=t.offset)!==null&&r!==void 0?r:Une,n.threshold=(i=t.threshold)!==null&&i!==void 0?i:zne,n.gap=(o=t.gap)!==null&&o!==void 0?o:Vne}return[!!t,n]},yQe=["className","style","classNames","styles"],_Qe=function(t){var n=t.configList,r=t.placement,i=t.prefixCls,o=t.className,a=t.style,s=t.motion,l=t.onAllNoticeRemoved,c=t.onNoticeClose,u=t.stack,d=p.useContext(YSe),f=d.classNames,h=p.useRef({}),m=p.useState(null),g=Ie(m,2),v=g[0],y=g[1],b=p.useState([]),_=Ie(b,2),E=_[0],C=_[1],S=n.map(function(k){return{config:k,key:String(k.key)}}),w=bQe(u),T=Ie(w,2),O=T[0],x=T[1],A=x.offset,I=x.threshold,M=x.gap,B=O&&(E.length>0||S.length<=I),P=typeof s=="function"?s(r):s;return p.useEffect(function(){O&&E.length>1&&C(function(k){return k.filter(function(N){return S.some(function(L){var V=L.key;return N===V})})})},[E,S,O]),p.useEffect(function(){var k;if(O&&h.current[(k=S[S.length-1])===null||k===void 0?void 0:k.key]){var N;y(h.current[(N=S[S.length-1])===null||N===void 0?void 0:N.key])}},[S,O]),se.createElement(OP,Ke({key:r,className:xe(i,"".concat(i,"-").concat(r),f==null?void 0:f.list,o,ee(ee({},"".concat(i,"-stack"),!!O),"".concat(i,"-stack-expanded"),B)),style:a,keys:S,motionAppear:!0},P,{onAllRemoved:function(){l(r)}}),function(k,N){var L=k.config,V=k.className,$=k.style,W=k.index,j=L,U=j.key,Z=j.times,te=String(U),ae=L,K=ae.className,Q=ae.style,ie=ae.classNames,he=ae.styles,pe=Dt(ae,yQe),le=S.findIndex(function(Re){return Re.key===te}),de={};if(O){var ve=S.length-1-(le>-1?le:W-1),ne=r==="top"||r==="bottom"?"-50%":"0";if(ve>0){var ue,ge,Ce;de.height=B?(ue=h.current[te])===null||ue===void 0?void 0:ue.offsetHeight:v==null?void 0:v.offsetHeight;for(var Te=0,Se=0;Se-1?h.current[te]=De:delete h.current[te]},prefixCls:i,classNames:ie,styles:he,className:xe(K,f==null?void 0:f.notice),style:Q,times:Z,key:U,eventKey:U,onNoticeClose:c,hovering:O&&E.length>0})))})},SQe=p.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,i=e.container,o=e.motion,a=e.maxCount,s=e.className,l=e.style,c=e.onAllRemoved,u=e.stack,d=e.renderNotifications,f=p.useState([]),h=Ie(f,2),m=h[0],g=h[1],v=function(O){var x,A=m.find(function(I){return I.key===O});A==null||(x=A.onClose)===null||x===void 0||x.call(A),g(function(I){return I.filter(function(M){return M.key!==O})})};p.useImperativeHandle(t,function(){return{open:function(O){g(function(x){var A=nt(x),I=A.findIndex(function(P){return P.key===O.key}),M=G({},O);if(I>=0){var B;M.times=(((B=x[I])===null||B===void 0?void 0:B.times)||0)+1,A[I]=M}else M.times=0,A.push(M);return a>0&&A.length>a&&(A=A.slice(-a)),A})},close:function(O){v(O)},destroy:function(){g([])}}});var y=p.useState({}),b=Ie(y,2),_=b[0],E=b[1];p.useEffect(function(){var T={};m.forEach(function(O){var x=O.placement,A=x===void 0?"topRight":x;A&&(T[A]=T[A]||[],T[A].push(O))}),Object.keys(_).forEach(function(O){T[O]=T[O]||[]}),E(T)},[m]);var C=function(O){E(function(x){var A=G({},x),I=A[O]||[];return I.length||delete A[O],A})},S=p.useRef(!1);if(p.useEffect(function(){Object.keys(_).length>0?S.current=!0:S.current&&(c==null||c(),S.current=!1)},[_]),!i)return null;var w=Object.keys(_);return Ml.createPortal(p.createElement(p.Fragment,null,w.map(function(T){var O=_[T],x=p.createElement(_Qe,{key:T,configList:O,placement:T,prefixCls:r,className:s==null?void 0:s(T),style:l==null?void 0:l(T),motion:o,onNoticeClose:v,onAllNoticeRemoved:C,stack:u});return d?d(x,{prefixCls:r,key:T}):x})),i)}),EQe=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],CQe=function(){return document.body},Gne=0;function wQe(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?CQe:t,r=e.motion,i=e.prefixCls,o=e.maxCount,a=e.className,s=e.style,l=e.onAllRemoved,c=e.stack,u=e.renderNotifications,d=Dt(e,EQe),f=p.useState(),h=Ie(f,2),m=h[0],g=h[1],v=p.useRef(),y=p.createElement(SQe,{container:m,ref:v,prefixCls:i,motion:r,maxCount:o,className:a,style:s,onAllRemoved:l,stack:c,renderNotifications:u}),b=p.useState([]),_=Ie(b,2),E=_[0],C=_[1],S=p.useMemo(function(){return{open:function(T){var O=wQe(d,T);(O.key===null||O.key===void 0)&&(O.key="rc-notification-".concat(Gne),Gne+=1),C(function(x){return[].concat(nt(x),[{type:"open",config:O}])})},close:function(T){C(function(O){return[].concat(nt(O),[{type:"close",key:T}])})},destroy:function(){C(function(T){return[].concat(nt(T),[{type:"destroy"}])})}}},[]);return p.useEffect(function(){g(n())}),p.useEffect(function(){v.current&&E.length&&(E.forEach(function(w){switch(w.type){case"open":v.current.open(w.config);break;case"close":v.current.close(w.key);break;case"destroy":v.current.destroy();break}}),C(function(w){return w.filter(function(T){return!E.includes(T)})}))},[E]),[S,y]}var TQe={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"},xQe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:TQe}))},xd=p.forwardRef(xQe);const r2=se.createContext(void 0),em=100,OQe=10,Cq=em*OQe,XSe={Modal:em,Drawer:em,Popover:em,Popconfirm:em,Tooltip:em,Tour:em,FloatButton:em},RQe={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function IQe(e){return e in XSe}const Ru=(e,t)=>{const[,n]=qo(),r=se.useContext(r2),i=IQe(e);let o;if(t!==void 0)o=[t,t];else{let a=r??0;i?a+=(r?0:n.zIndexPopupBase)+XSe[e]:a+=RQe[e],o=[r===void 0?t:a,a]}return o},AQe=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:i,colorSuccess:o,colorError:a,colorWarning:s,colorInfo:l,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:d,marginXS:f,paddingXS:h,borderRadiusLG:m,zIndexPopup:g,contentPadding:v,contentBg:y}=e,b=`${t}-notice`,_=new fr("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:h,transform:"translateY(0)",opacity:1}}),E=new fr("MessageMoveOut",{"0%":{maxHeight:e.height,padding:h,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),C={padding:h,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:f,fontSize:c},[`${b}-content`]:{display:"inline-block",padding:v,background:y,borderRadius:m,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:o},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, + margin-bottom ${n} ${c}`},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0}}),[`${t}-with-description`]:{alignItems:"flex-start",padding:h,[`${t}-icon`]:{marginInlineEnd:i,fontSize:u,lineHeight:0},[`${t}-message`]:{display:"block",marginBottom:r,color:f,fontSize:a},[`${t}-description`]:{display:"block",color:d}},[`${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}},rQe=e=>{const{componentCls:t,colorSuccess:n,colorSuccessBorder:r,colorSuccessBg:i,colorWarning:o,colorWarningBorder:a,colorWarningBg:s,colorError:l,colorErrorBorder:c,colorErrorBg:u,colorInfo:d,colorInfoBorder:f,colorInfoBg:h}=e;return{[t]:{"&-success":wR(i,r,n,e,t),"&-info":wR(h,f,d,e,t),"&-warning":wR(s,a,o,e,t),"&-error":Object.assign(Object.assign({},wR(u,c,l,e,t)),{[`${t}-description > pre`]:{margin:0,padding:0}})}}},iQe=e=>{const{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:i,fontSizeIcon:o,colorIcon:a,colorIconHover:s}=e;return{[t]:{"&-action":{marginInlineStart:i},[`${t}-close-icon`]:{marginInlineStart:i,padding:0,overflow:"hidden",fontSize:o,lineHeight:Ae(o),backgroundColor:"transparent",border:"none",outline:"none",cursor:"pointer",[`${n}-close`]:{color:a,transition:`color ${r}`,"&:hover":{color:s}}},"&-close-text":{color:a,transition:`color ${r}`,"&:hover":{color:s}}}}},oQe=e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`}),aQe=lr("Alert",e=>[nQe(e),rQe(e),iQe(e)],oQe);var Fne=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{icon:t,prefixCls:n,type:r}=e,i=sQe[r]||null;return t?Eq(t,p.createElement("span",{className:`${n}-icon`},t),()=>({className:xe(`${n}-icon`,t.props.className)})):p.createElement(i,{className:`${n}-icon`})},cQe=e=>{const{isClosable:t,prefixCls:n,closeIcon:r,handleClose:i,ariaProps:o}=e,a=r===!0||r===void 0?p.createElement(Yf,null):r;return t?p.createElement("button",Object.assign({type:"button",onClick:i,className:`${n}-close-icon`,tabIndex:0},o),a):null},GSe=p.forwardRef((e,t)=>{const{description:n,prefixCls:r,message:i,banner:o,className:a,rootClassName:s,style:l,onMouseEnter:c,onMouseLeave:u,onClick:d,afterClose:f,showIcon:h,closable:m,closeText:g,closeIcon:v,action:y,id:b}=e,_=Fne(e,["description","prefixCls","message","banner","className","rootClassName","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action","id"]),[E,C]=p.useState(!1),S=p.useRef(null);p.useImperativeHandle(t,()=>({nativeElement:S.current}));const{getPrefixCls:w,direction:T,alert:O}=p.useContext(Xt),x=w("alert",r),[A,I,M]=aQe(x),B=j=>{var U;C(!0),(U=e.onClose)===null||U===void 0||U.call(e,j)},P=p.useMemo(()=>e.type!==void 0?e.type:o?"warning":"info",[e.type,o]),k=p.useMemo(()=>typeof m=="object"&&m.closeIcon||g?!0:typeof m=="boolean"?m:v!==!1&&v!==null&&v!==void 0?!0:!!(O!=null&&O.closable),[g,v,m,O==null?void 0:O.closable]),N=o&&h===void 0?!0:h,L=xe(x,`${x}-${P}`,{[`${x}-with-description`]:!!n,[`${x}-no-icon`]:!N,[`${x}-banner`]:!!o,[`${x}-rtl`]:T==="rtl"},O==null?void 0:O.className,a,s,M,I),V=xi(_,{aria:!0,data:!0}),$=p.useMemo(()=>{var j,U;return typeof m=="object"&&m.closeIcon?m.closeIcon:g||(v!==void 0?v:typeof(O==null?void 0:O.closable)=="object"&&(!((j=O==null?void 0:O.closable)===null||j===void 0)&&j.closeIcon)?(U=O==null?void 0:O.closable)===null||U===void 0?void 0:U.closeIcon:O==null?void 0:O.closeIcon)},[v,m,g,O==null?void 0:O.closeIcon]),W=p.useMemo(()=>{const j=m??(O==null?void 0:O.closable);return typeof j=="object"?Fne(j,["closeIcon"]):{}},[m,O==null?void 0:O.closable]);return A(p.createElement(ia,{visible:!E,motionName:`${x}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:j=>({maxHeight:j.offsetHeight}),onLeaveEnd:f},(j,U)=>{let{className:Z,style:te}=j;return p.createElement("div",Object.assign({id:b,ref:aa(S,U),"data-show":!E,className:xe(L,Z),style:Object.assign(Object.assign(Object.assign({},O==null?void 0:O.style),l),te),onMouseEnter:c,onMouseLeave:u,onClick:d,role:"alert"},V),N?p.createElement(lQe,{description:n,icon:e.icon,prefixCls:x,type:P}):null,p.createElement("div",{className:`${x}-content`},i?p.createElement("div",{className:`${x}-message`},i):null,n?p.createElement("div",{className:`${x}-description`},n):null),y?p.createElement("div",{className:`${x}-action`},y):null,p.createElement(cQe,{isClosable:k,prefixCls:x,closeIcon:$,handleClose:B,ariaProps:W}))}))});function uQe(e,t,n){return t=Lv(t),S_e(e,v5()?Reflect.construct(t,n||[],Lv(e).constructor):t.apply(e,n))}let dQe=function(e){function t(){var n;return Kr(this,t),n=uQe(this,t,arguments),n.state={error:void 0,info:{componentStack:""}},n}return Ds(t,e),Qr(t,[{key:"componentDidCatch",value:function(r,i){this.setState({error:r,info:i})}},{key:"render",value:function(){const{message:r,description:i,id:o,children:a}=this.props,{error:s,info:l}=this.state,c=(l==null?void 0:l.componentStack)||null,u=typeof r>"u"?(s||"").toString():r,d=typeof i>"u"?c:i;return s?p.createElement(GSe,{id:o,type:"error",message:u,description:p.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},d)}):a}}])}(p.Component);const WSe=GSe;WSe.ErrorBoundary=dQe;const Bne=e=>typeof e=="object"&&e!=null&&e.nodeType===1,jne=(e,t)=>(!t||e!=="hidden")&&e!=="visible"&&e!=="clip",AL=(e,t)=>{if(e.clientHeight{const i=(o=>{if(!o.ownerDocument||!o.ownerDocument.defaultView)return null;try{return o.ownerDocument.defaultView.frameElement}catch{return null}})(r);return!!i&&(i.clientHeightot||o>e&&a=t&&s>=n?o-e-r:a>t&&sn?a-t+i:0,fQe=e=>{const t=e.parentElement;return t??(e.getRootNode().host||null)},Hne=(e,t)=>{var n,r,i,o;if(typeof document>"u")return[];const{scrollMode:a,block:s,inline:l,boundary:c,skipOverflowHiddenElements:u}=t,d=typeof c=="function"?c:k=>k!==c;if(!Bne(e))throw new TypeError("Invalid target");const f=document.scrollingElement||document.documentElement,h=[];let m=e;for(;Bne(m)&&d(m);){if(m=fQe(m),m===f){h.push(m);break}m!=null&&m===document.body&&AL(m)&&!AL(document.documentElement)||m!=null&&AL(m,u)&&h.push(m)}const g=(r=(n=window.visualViewport)==null?void 0:n.width)!=null?r:innerWidth,v=(o=(i=window.visualViewport)==null?void 0:i.height)!=null?o:innerHeight,{scrollX:y,scrollY:b}=window,{height:_,width:E,top:C,right:S,bottom:w,left:T}=e.getBoundingClientRect(),{top:O,right:x,bottom:A,left:I}=(k=>{const N=window.getComputedStyle(k);return{top:parseFloat(N.scrollMarginTop)||0,right:parseFloat(N.scrollMarginRight)||0,bottom:parseFloat(N.scrollMarginBottom)||0,left:parseFloat(N.scrollMarginLeft)||0}})(e);let M=s==="start"||s==="nearest"?C-O:s==="end"?w+A:C+_/2-O+A,B=l==="center"?T+E/2-I+x:l==="end"?S+x:T-I;const P=[];for(let k=0;k=0&&T>=0&&w<=v&&S<=g&&C>=$&&w<=j&&T>=U&&S<=W)return P;const Z=getComputedStyle(N),te=parseInt(Z.borderLeftWidth,10),ae=parseInt(Z.borderTopWidth,10),K=parseInt(Z.borderRightWidth,10),Q=parseInt(Z.borderBottomWidth,10);let ie=0,he=0;const pe="offsetWidth"in N?N.offsetWidth-N.clientWidth-te-K:0,le="offsetHeight"in N?N.offsetHeight-N.clientHeight-ae-Q:0,de="offsetWidth"in N?N.offsetWidth===0?0:V/N.offsetWidth:0,ve="offsetHeight"in N?N.offsetHeight===0?0:L/N.offsetHeight:0;if(f===N)ie=s==="start"?M:s==="end"?M-v:s==="nearest"?TR(b,b+v,v,ae,Q,b+M,b+M+_,_):M-v/2,he=l==="start"?B:l==="center"?B-g/2:l==="end"?B-g:TR(y,y+g,g,te,K,y+B,y+B+E,E),ie=Math.max(0,ie+b),he=Math.max(0,he+y);else{ie=s==="start"?M-$-ae:s==="end"?M-j+Q+le:s==="nearest"?TR($,j,L,ae,Q+le,M,M+_,_):M-($+L/2)+le/2,he=l==="start"?B-U-te:l==="center"?B-(U+V/2)+pe/2:l==="end"?B-W+K+pe:TR(U,W,V,te,K+pe,B,B+E,E);const{scrollLeft:ne,scrollTop:ue}=N;ie=ve===0?0:Math.max(0,Math.min(ue+ie/ve,N.scrollHeight-L/ve+le)),he=de===0?0:Math.max(0,Math.min(ne+he/de,N.scrollWidth-V/de+pe)),M+=ue-ie,B+=ne-he}P.push({el:N,top:ie,left:he})}return P},pQe=e=>e===!1?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&Object.keys(t).length!==0)(e)?e:{block:"start",inline:"nearest"};function hQe(e,t){if(!e.isConnected||!(i=>{let o=i;for(;o&&o.parentNode;){if(o.parentNode===document)return!0;o=o.parentNode instanceof ShadowRoot?o.parentNode.host:o.parentNode}return!1})(e))return;const n=(i=>{const o=window.getComputedStyle(i);return{top:parseFloat(o.scrollMarginTop)||0,right:parseFloat(o.scrollMarginRight)||0,bottom:parseFloat(o.scrollMarginBottom)||0,left:parseFloat(o.scrollMarginLeft)||0}})(e);if((i=>typeof i=="object"&&typeof i.behavior=="function")(t))return t.behavior(Hne(e,t));const r=typeof t=="boolean"||t==null?void 0:t.behavior;for(const{el:i,top:o,left:a}of Hne(e,pQe(t))){const s=o-n.top+n.bottom,l=a-n.left+n.right;i.scroll({top:s,left:l,behavior:r})}}function SH(e){return e!=null&&e===e.window}const mQe=e=>{var t,n;if(typeof window>"u")return 0;let r=0;return SH(e)?r=e.pageYOffset:e instanceof Document?r=e.documentElement.scrollTop:(e instanceof HTMLElement||e)&&(r=e.scrollTop),e&&!SH(e)&&typeof r!="number"&&(r=(n=((t=e.ownerDocument)!==null&&t!==void 0?t:e).documentElement)===null||n===void 0?void 0:n.scrollTop),r};function gQe(e,t,n,r){const i=n-t;return e/=r/2,e<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t}function vQe(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:n=()=>window,callback:r,duration:i=450}=t,o=n(),a=mQe(o),s=Date.now(),l=()=>{const u=Date.now()-s,d=gQe(u>i?i:u,a,e,i);SH(o)?o.scrollTo(window.pageXOffset,d):o instanceof Document||o.constructor.name==="HTMLDocument"?o.documentElement.scrollTop=d:o.scrollTop=d,u{const[,,,,t]=qo();return t?`${e}-css-var`:""};var dt={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(t){var n=t.keyCode;if(t.altKey&&!t.ctrlKey||t.metaKey||n>=dt.F1&&n<=dt.F12)return!1;switch(n){case dt.ALT:case dt.CAPS_LOCK:case dt.CONTEXT_MENU:case dt.CTRL:case dt.DOWN:case dt.END:case dt.ESC:case dt.HOME:case dt.INSERT:case dt.LEFT:case dt.MAC_FF_META:case dt.META:case dt.NUMLOCK:case dt.NUM_CENTER:case dt.PAGE_DOWN:case dt.PAGE_UP:case dt.PAUSE:case dt.PRINT_SCREEN:case dt.RIGHT:case dt.SHIFT:case dt.UP:case dt.WIN_KEY:case dt.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(t){if(t>=dt.ZERO&&t<=dt.NINE||t>=dt.NUM_ZERO&&t<=dt.NUM_MULTIPLY||t>=dt.A&&t<=dt.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&t===0)return!0;switch(t){case dt.SPACE:case dt.QUESTION_MARK:case dt.NUM_PLUS:case dt.NUM_MINUS:case dt.NUM_PERIOD:case dt.NUM_DIVISION:case dt.SEMICOLON:case dt.DASH:case dt.EQUALS:case dt.COMMA:case dt.PERIOD:case dt.SLASH:case dt.APOSTROPHE:case dt.SINGLE_QUOTE:case dt.OPEN_SQUARE_BRACKET:case dt.BACKSLASH:case dt.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},qSe=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.style,i=e.className,o=e.duration,a=o===void 0?4.5:o,s=e.showProgress,l=e.pauseOnHover,c=l===void 0?!0:l,u=e.eventKey,d=e.content,f=e.closable,h=e.closeIcon,m=h===void 0?"x":h,g=e.props,v=e.onClick,y=e.onNoticeClose,b=e.times,_=e.hovering,E=p.useState(!1),C=Ie(E,2),S=C[0],w=C[1],T=p.useState(0),O=Ie(T,2),x=O[0],A=O[1],I=p.useState(0),M=Ie(I,2),B=M[0],P=M[1],k=_||S,N=a>0&&s,L=function(){y(u)},V=function(te){(te.key==="Enter"||te.code==="Enter"||te.keyCode===dt.ENTER)&&L()};p.useEffect(function(){if(!k&&a>0){var Z=Date.now()-B,te=setTimeout(function(){L()},a*1e3-B);return function(){c&&clearTimeout(te),P(Date.now()-Z)}}},[a,k,b]),p.useEffect(function(){if(!k&&N&&(c||B===0)){var Z=performance.now(),te,ae=function K(){cancelAnimationFrame(te),te=requestAnimationFrame(function(Q){var ie=Q+B-Z,he=Math.min(ie/(a*1e3),1);A(he*100),he<1&&K()})};return ae(),function(){c&&cancelAnimationFrame(te)}}},[a,B,k,N,b]);var $=p.useMemo(function(){return Gt(f)==="object"&&f!==null?f:f?{closeIcon:m}:{}},[f,m]),W=xi($,!0),j=100-(!x||x<0?0:x>100?100:x),U="".concat(n,"-notice");return p.createElement("div",Ke({},g,{ref:t,className:xe(U,i,ee({},"".concat(U,"-closable"),f)),style:r,onMouseEnter:function(te){var ae;w(!0),g==null||(ae=g.onMouseEnter)===null||ae===void 0||ae.call(g,te)},onMouseLeave:function(te){var ae;w(!1),g==null||(ae=g.onMouseLeave)===null||ae===void 0||ae.call(g,te)},onClick:v}),p.createElement("div",{className:"".concat(U,"-content")},d),f&&p.createElement("a",Ke({tabIndex:0,className:"".concat(U,"-close"),onKeyDown:V,"aria-label":"Close"},W,{onClick:function(te){te.preventDefault(),te.stopPropagation(),L()}}),$.closeIcon),N&&p.createElement("progress",{className:"".concat(U,"-progress"),max:"100",value:j},j+"%"))}),YSe=se.createContext({}),KSe=function(t){var n=t.children,r=t.classNames;return se.createElement(YSe.Provider,{value:{classNames:r}},n)},Une=8,zne=3,Vne=16,bQe=function(t){var n={offset:Une,threshold:zne,gap:Vne};if(t&&Gt(t)==="object"){var r,i,o;n.offset=(r=t.offset)!==null&&r!==void 0?r:Une,n.threshold=(i=t.threshold)!==null&&i!==void 0?i:zne,n.gap=(o=t.gap)!==null&&o!==void 0?o:Vne}return[!!t,n]},yQe=["className","style","classNames","styles"],_Qe=function(t){var n=t.configList,r=t.placement,i=t.prefixCls,o=t.className,a=t.style,s=t.motion,l=t.onAllNoticeRemoved,c=t.onNoticeClose,u=t.stack,d=p.useContext(YSe),f=d.classNames,h=p.useRef({}),m=p.useState(null),g=Ie(m,2),v=g[0],y=g[1],b=p.useState([]),_=Ie(b,2),E=_[0],C=_[1],S=n.map(function(k){return{config:k,key:String(k.key)}}),w=bQe(u),T=Ie(w,2),O=T[0],x=T[1],A=x.offset,I=x.threshold,M=x.gap,B=O&&(E.length>0||S.length<=I),P=typeof s=="function"?s(r):s;return p.useEffect(function(){O&&E.length>1&&C(function(k){return k.filter(function(N){return S.some(function(L){var V=L.key;return N===V})})})},[E,S,O]),p.useEffect(function(){var k;if(O&&h.current[(k=S[S.length-1])===null||k===void 0?void 0:k.key]){var N;y(h.current[(N=S[S.length-1])===null||N===void 0?void 0:N.key])}},[S,O]),se.createElement(O5,Ke({key:r,className:xe(i,"".concat(i,"-").concat(r),f==null?void 0:f.list,o,ee(ee({},"".concat(i,"-stack"),!!O),"".concat(i,"-stack-expanded"),B)),style:a,keys:S,motionAppear:!0},P,{onAllRemoved:function(){l(r)}}),function(k,N){var L=k.config,V=k.className,$=k.style,W=k.index,j=L,U=j.key,Z=j.times,te=String(U),ae=L,K=ae.className,Q=ae.style,ie=ae.classNames,he=ae.styles,pe=Dt(ae,yQe),le=S.findIndex(function(Re){return Re.key===te}),de={};if(O){var ve=S.length-1-(le>-1?le:W-1),ne=r==="top"||r==="bottom"?"-50%":"0";if(ve>0){var ue,ge,Ce;de.height=B?(ue=h.current[te])===null||ue===void 0?void 0:ue.offsetHeight:v==null?void 0:v.offsetHeight;for(var Te=0,Se=0;Se-1?h.current[te]=De:delete h.current[te]},prefixCls:i,classNames:ie,styles:he,className:xe(K,f==null?void 0:f.notice),style:Q,times:Z,key:U,eventKey:U,onNoticeClose:c,hovering:O&&E.length>0})))})},SQe=p.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-notification":n,i=e.container,o=e.motion,a=e.maxCount,s=e.className,l=e.style,c=e.onAllRemoved,u=e.stack,d=e.renderNotifications,f=p.useState([]),h=Ie(f,2),m=h[0],g=h[1],v=function(O){var x,A=m.find(function(I){return I.key===O});A==null||(x=A.onClose)===null||x===void 0||x.call(A),g(function(I){return I.filter(function(M){return M.key!==O})})};p.useImperativeHandle(t,function(){return{open:function(O){g(function(x){var A=nt(x),I=A.findIndex(function(P){return P.key===O.key}),M=G({},O);if(I>=0){var B;M.times=(((B=x[I])===null||B===void 0?void 0:B.times)||0)+1,A[I]=M}else M.times=0,A.push(M);return a>0&&A.length>a&&(A=A.slice(-a)),A})},close:function(O){v(O)},destroy:function(){g([])}}});var y=p.useState({}),b=Ie(y,2),_=b[0],E=b[1];p.useEffect(function(){var T={};m.forEach(function(O){var x=O.placement,A=x===void 0?"topRight":x;A&&(T[A]=T[A]||[],T[A].push(O))}),Object.keys(_).forEach(function(O){T[O]=T[O]||[]}),E(T)},[m]);var C=function(O){E(function(x){var A=G({},x),I=A[O]||[];return I.length||delete A[O],A})},S=p.useRef(!1);if(p.useEffect(function(){Object.keys(_).length>0?S.current=!0:S.current&&(c==null||c(),S.current=!1)},[_]),!i)return null;var w=Object.keys(_);return Ml.createPortal(p.createElement(p.Fragment,null,w.map(function(T){var O=_[T],x=p.createElement(_Qe,{key:T,configList:O,placement:T,prefixCls:r,className:s==null?void 0:s(T),style:l==null?void 0:l(T),motion:o,onNoticeClose:v,onAllNoticeRemoved:C,stack:u});return d?d(x,{prefixCls:r,key:T}):x})),i)}),EQe=["getContainer","motion","prefixCls","maxCount","className","style","onAllRemoved","stack","renderNotifications"],CQe=function(){return document.body},Gne=0;function wQe(){for(var e={},t=arguments.length,n=new Array(t),r=0;r0&&arguments[0]!==void 0?arguments[0]:{},t=e.getContainer,n=t===void 0?CQe:t,r=e.motion,i=e.prefixCls,o=e.maxCount,a=e.className,s=e.style,l=e.onAllRemoved,c=e.stack,u=e.renderNotifications,d=Dt(e,EQe),f=p.useState(),h=Ie(f,2),m=h[0],g=h[1],v=p.useRef(),y=p.createElement(SQe,{container:m,ref:v,prefixCls:i,motion:r,maxCount:o,className:a,style:s,onAllRemoved:l,stack:c,renderNotifications:u}),b=p.useState([]),_=Ie(b,2),E=_[0],C=_[1],S=p.useMemo(function(){return{open:function(T){var O=wQe(d,T);(O.key===null||O.key===void 0)&&(O.key="rc-notification-".concat(Gne),Gne+=1),C(function(x){return[].concat(nt(x),[{type:"open",config:O}])})},close:function(T){C(function(O){return[].concat(nt(O),[{type:"close",key:T}])})},destroy:function(){C(function(T){return[].concat(nt(T),[{type:"destroy"}])})}}},[]);return p.useEffect(function(){g(n())}),p.useEffect(function(){v.current&&E.length&&(E.forEach(function(w){switch(w.type){case"open":v.current.open(w.config);break;case"close":v.current.close(w.key);break;case"destroy":v.current.destroy();break}}),C(function(w){return w.filter(function(T){return!E.includes(T)})}))},[E]),[S,y]}var TQe={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"},xQe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:TQe}))},xd=p.forwardRef(xQe);const r2=se.createContext(void 0),em=100,OQe=10,Cq=em*OQe,XSe={Modal:em,Drawer:em,Popover:em,Popconfirm:em,Tooltip:em,Tour:em,FloatButton:em},RQe={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function IQe(e){return e in XSe}const Ru=(e,t)=>{const[,n]=qo(),r=se.useContext(r2),i=IQe(e);let o;if(t!==void 0)o=[t,t];else{let a=r??0;i?a+=(r?0:n.zIndexPopupBase)+XSe[e]:a+=RQe[e],o=[r===void 0?t:a,a]}return o},AQe=e=>{const{componentCls:t,iconCls:n,boxShadow:r,colorText:i,colorSuccess:o,colorError:a,colorWarning:s,colorInfo:l,fontSizeLG:c,motionEaseInOutCirc:u,motionDurationSlow:d,marginXS:f,paddingXS:h,borderRadiusLG:m,zIndexPopup:g,contentPadding:v,contentBg:y}=e,b=`${t}-notice`,_=new fr("MessageMoveIn",{"0%":{padding:0,transform:"translateY(-100%)",opacity:0},"100%":{padding:h,transform:"translateY(0)",opacity:1}}),E=new fr("MessageMoveOut",{"0%":{maxHeight:e.height,padding:h,opacity:1},"100%":{maxHeight:0,padding:0,opacity:0}}),C={padding:h,textAlign:"center",[`${t}-custom-content`]:{display:"flex",alignItems:"center"},[`${t}-custom-content > ${n}`]:{marginInlineEnd:f,fontSize:c},[`${b}-content`]:{display:"inline-block",padding:v,background:y,borderRadius:m,boxShadow:r,pointerEvents:"all"},[`${t}-success > ${n}`]:{color:o},[`${t}-error > ${n}`]:{color:a},[`${t}-warning > ${n}`]:{color:s},[`${t}-info > ${n}, ${t}-loading > ${n}`]:{color:l}};return[{[t]:Object.assign(Object.assign({},gr(e)),{color:i,position:"fixed",top:f,width:"100%",pointerEvents:"none",zIndex:g,[`${t}-move-up`]:{animationFillMode:"forwards"},[` ${t}-move-up-appear, ${t}-move-up-enter `]:{animationName:_,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[` ${t}-move-up-appear${t}-move-up-appear-active, ${t}-move-up-enter${t}-move-up-enter-active - `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:E,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${b}-wrapper`]:Object.assign({},C)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},C),{padding:0,textAlign:"start"})}]},NQe=e=>({zIndexPopup:e.zIndexPopupBase+Cq+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),ZSe=lr("Message",e=>{const t=Kn(e,{height:150});return[AQe(t)]},NQe);var MQe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{prefixCls:t,type:n,icon:r,children:i}=e;return p.createElement("div",{className:xe(`${t}-custom-content`,`${t}-${n}`)},r||kQe[n],p.createElement("span",null,i))},PQe=e=>{const{prefixCls:t,className:n,type:r,icon:i,content:o}=e,a=MQe(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=p.useContext(Xt),l=t||s("message"),c=ui(l),[u,d,f]=ZSe(l,c);return u(p.createElement(qSe,Object.assign({},a,{prefixCls:l,className:xe(n,d,`${l}-notice-pure-panel`,f,c),eventKey:"pure",duration:null,content:p.createElement(JSe,{prefixCls:l,type:r,icon:i},o)})))};function DQe(e,t){return{motionName:t??`${e}-move-up`}}function wq(e){let t;const n=new Promise(i=>{t=e(()=>{i(!0)})}),r=()=>{t==null||t()};return r.then=(i,o)=>n.then(i,o),r.promise=n,r}var LQe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{children:t,prefixCls:n}=e;const r=ui(n),[i,o,a]=ZSe(n,r);return i(p.createElement(KSe,{classNames:{list:xe(o,a,r)}},t))},jQe=(e,t)=>{let{prefixCls:n,key:r}=t;return p.createElement(BQe,{prefixCls:n,key:r},e)},HQe=p.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:i,maxCount:o,duration:a=FQe,rtl:s,transitionName:l,onAllRemoved:c}=e,{getPrefixCls:u,getPopupContainer:d,message:f,direction:h}=p.useContext(Xt),m=r||u("message"),g=()=>({left:"50%",transform:"translateX(-50%)",top:n??$Qe}),v=()=>xe({[`${m}-rtl`]:s??h==="rtl"}),y=()=>DQe(m,l),b=p.createElement("span",{className:`${m}-close-x`},p.createElement(Yf,{className:`${m}-close-icon`})),[_,E]=QSe({prefixCls:m,style:g,className:v,motion:y,closable:!1,closeIcon:b,duration:a,getContainer:()=>(i==null?void 0:i())||(d==null?void 0:d())||document.body,maxCount:o,onAllRemoved:c,renderNotifications:jQe});return p.useImperativeHandle(t,()=>Object.assign(Object.assign({},_),{prefixCls:m,message:f})),E});let Wne=0;function eEe(e){const t=p.useRef(null);return Wf(),[p.useMemo(()=>{const r=l=>{var c;(c=t.current)===null||c===void 0||c.close(l)},i=l=>{if(!t.current){const S=()=>{};return S.then=()=>{},S}const{open:c,prefixCls:u,message:d}=t.current,f=`${u}-notice`,{content:h,icon:m,type:g,key:v,className:y,style:b,onClose:_}=l,E=LQe(l,["content","icon","type","key","className","style","onClose"]);let C=v;return C==null&&(Wne+=1,C=`antd-message-${Wne}`),wq(S=>(c(Object.assign(Object.assign({},E),{key:C,content:p.createElement(JSe,{prefixCls:u,type:g,icon:m},h),placement:"top",className:xe(g&&`${f}-${g}`,y,d==null?void 0:d.className),style:Object.assign(Object.assign({},d==null?void 0:d.style),b),onClose:()=>{_==null||_(),S()}})),()=>{r(C)}))},a={open:i,destroy:l=>{var c;l!==void 0?r(l):(c=t.current)===null||c===void 0||c.destroy()}};return["info","success","warning","error","loading"].forEach(l=>{const c=(u,d,f)=>{let h;u&&typeof u=="object"&&"content"in u?h=u:h={content:u};let m,g;typeof d=="function"?g=d:(m=d,g=f);const v=Object.assign(Object.assign({onClose:g,duration:m},h),{type:l});return i(v)};a[l]=c}),a},[]),p.createElement(HQe,Object.assign({key:"message-holder"},e,{ref:t}))]}function tEe(e){return eEe(e)}function UQe(){const[e,t]=p.useState([]),n=p.useCallback(r=>(t(i=>[].concat(nt(i),[r])),()=>{t(i=>i.filter(o=>o!==r))}),[]);return[e,n]}function pr(){pr=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(k,N,L){k[N]=L.value},o=typeof Symbol=="function"?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(k,N,L){return Object.defineProperty(k,N,{value:L,enumerable:!0,configurable:!0,writable:!0}),k[N]}try{c({},"")}catch{c=function(L,V,$){return L[V]=$}}function u(k,N,L,V){var $=N&&N.prototype instanceof y?N:y,W=Object.create($.prototype),j=new B(V||[]);return i(W,"_invoke",{value:x(k,L,j)}),W}function d(k,N,L){try{return{type:"normal",arg:k.call(N,L)}}catch(V){return{type:"throw",arg:V}}}t.wrap=u;var f="suspendedStart",h="suspendedYield",m="executing",g="completed",v={};function y(){}function b(){}function _(){}var E={};c(E,a,function(){return this});var C=Object.getPrototypeOf,S=C&&C(C(P([])));S&&S!==n&&r.call(S,a)&&(E=S);var w=_.prototype=y.prototype=Object.create(E);function T(k){["next","throw","return"].forEach(function(N){c(k,N,function(L){return this._invoke(N,L)})})}function O(k,N){function L($,W,j,U){var Z=d(k[$],k,W);if(Z.type!=="throw"){var te=Z.arg,ae=te.value;return ae&&Gt(ae)=="object"&&r.call(ae,"__await")?N.resolve(ae.__await).then(function(K){L("next",K,j,U)},function(K){L("throw",K,j,U)}):N.resolve(ae).then(function(K){te.value=K,j(te)},function(K){return L("throw",K,j,U)})}U(Z.arg)}var V;i(this,"_invoke",{value:function(W,j){function U(){return new N(function(Z,te){L(W,j,Z,te)})}return V=V?V.then(U,U):U()}})}function x(k,N,L){var V=f;return function($,W){if(V===m)throw Error("Generator is already running");if(V===g){if($==="throw")throw W;return{value:e,done:!0}}for(L.method=$,L.arg=W;;){var j=L.delegate;if(j){var U=A(j,L);if(U){if(U===v)continue;return U}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if(V===f)throw V=g,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);V=m;var Z=d(k,N,L);if(Z.type==="normal"){if(V=L.done?g:h,Z.arg===v)continue;return{value:Z.arg,done:L.done}}Z.type==="throw"&&(V=g,L.method="throw",L.arg=Z.arg)}}}function A(k,N){var L=N.method,V=k.iterator[L];if(V===e)return N.delegate=null,L==="throw"&&k.iterator.return&&(N.method="return",N.arg=e,A(k,N),N.method==="throw")||L!=="return"&&(N.method="throw",N.arg=new TypeError("The iterator does not provide a '"+L+"' method")),v;var $=d(V,k.iterator,N.arg);if($.type==="throw")return N.method="throw",N.arg=$.arg,N.delegate=null,v;var W=$.arg;return W?W.done?(N[k.resultName]=W.value,N.next=k.nextLoc,N.method!=="return"&&(N.method="next",N.arg=e),N.delegate=null,v):W:(N.method="throw",N.arg=new TypeError("iterator result is not an object"),N.delegate=null,v)}function I(k){var N={tryLoc:k[0]};1 in k&&(N.catchLoc=k[1]),2 in k&&(N.finallyLoc=k[2],N.afterLoc=k[3]),this.tryEntries.push(N)}function M(k){var N=k.completion||{};N.type="normal",delete N.arg,k.completion=N}function B(k){this.tryEntries=[{tryLoc:"root"}],k.forEach(I,this),this.reset(!0)}function P(k){if(k||k===""){var N=k[a];if(N)return N.call(k);if(typeof k.next=="function")return k;if(!isNaN(k.length)){var L=-1,V=function $(){for(;++L=0;--$){var W=this.tryEntries[$],j=W.completion;if(W.tryLoc==="root")return V("end");if(W.tryLoc<=this.prev){var U=r.call(W,"catchLoc"),Z=r.call(W,"finallyLoc");if(U&&Z){if(this.prev=0;--V){var $=this.tryEntries[V];if($.tryLoc<=this.prev&&r.call($,"finallyLoc")&&this.prev<$.finallyLoc){var W=$;break}}W&&(N==="break"||N==="continue")&&W.tryLoc<=L&&L<=W.finallyLoc&&(W=null);var j=W?W.completion:{};return j.type=N,j.arg=L,W?(this.method="next",this.next=W.finallyLoc,v):this.complete(j)},complete:function(N,L){if(N.type==="throw")throw N.arg;return N.type==="break"||N.type==="continue"?this.next=N.arg:N.type==="return"?(this.rval=this.arg=N.arg,this.method="return",this.next="end"):N.type==="normal"&&L&&(this.next=L),v},finish:function(N){for(var L=this.tryEntries.length-1;L>=0;--L){var V=this.tryEntries[L];if(V.finallyLoc===N)return this.complete(V.completion,V.afterLoc),M(V),v}},catch:function(N){for(var L=this.tryEntries.length-1;L>=0;--L){var V=this.tryEntries[L];if(V.tryLoc===N){var $=V.completion;if($.type==="throw"){var W=$.arg;M(V)}return W}}throw Error("illegal catch attempt")},delegateYield:function(N,L,V){return this.delegate={iterator:P(N),resultName:L,nextLoc:V},this.method==="next"&&(this.arg=e),v}},t}function qne(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function co(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(l){qne(o,r,i,a,s,"next",l)}function s(l){qne(o,r,i,a,s,"throw",l)}a(void 0)})}}var i2=G({},wve),zQe=i2.version,NL=i2.render,VQe=i2.unmountComponentAtNode,IP;try{var GQe=Number((zQe||"").split(".")[0]);GQe>=18&&(IP=i2.createRoot)}catch{}function Yne(e){var t=i2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&Gt(t)==="object"&&(t.usingClientEntryPoint=e)}var VM="__rc_react_root__";function WQe(e,t){Yne(!0);var n=t[VM]||IP(t);Yne(!1),n.render(e),t[VM]=n}function qQe(e,t){NL==null||NL(e,t)}function YQe(e,t){if(IP){WQe(e,t);return}qQe(e,t)}function KQe(e){return EH.apply(this,arguments)}function EH(){return EH=co(pr().mark(function e(t){return pr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var i;(i=t[VM])===null||i===void 0||i.unmount(),delete t[VM]}));case 1:case"end":return r.stop()}},e)})),EH.apply(this,arguments)}function QQe(e){VQe(e)}function XQe(e){return CH.apply(this,arguments)}function CH(){return CH=co(pr().mark(function e(t){return pr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(IP===void 0){r.next=2;break}return r.abrupt("return",KQe(t));case 2:QQe(t);case 3:case"end":return r.stop()}},e)})),CH.apply(this,arguments)}const ZQe=(e,t)=>(YQe(e,t),()=>XQe(t));let JQe=ZQe;function Tq(){return JQe}const ML=()=>({height:0,opacity:0}),Kne=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},eXe=e=>({height:e?e.offsetHeight:0}),kL=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",d_=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:kT}-motion-collapse`,onAppearStart:ML,onEnterStart:ML,onAppearActive:Kne,onEnterActive:Kne,onLeaveStart:eXe,onLeaveActive:ML,onAppearEnd:kL,onEnterEnd:kL,onLeaveEnd:kL,motionDeadline:500}},Va=(e,t,n)=>n!==void 0?n:`${e}-${t}`,mS=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var i=e.getBoundingClientRect(),o=i.width,a=i.height;if(o||a)return!0}}return!1},tXe=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},nXe=CSe("Wave",e=>[tXe(e)]),AP=`${kT}-wave-target`;function PL(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function rXe(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return PL(t)?t:PL(n)?n:PL(r)?r:null}function DL(e){return Number.isNaN(e)?0:e}const iXe=e=>{const{className:t,target:n,component:r,registerUnmount:i}=e,o=p.useRef(null),a=p.useRef(null);p.useEffect(()=>{a.current=i()},[]);const[s,l]=p.useState(null),[c,u]=p.useState([]),[d,f]=p.useState(0),[h,m]=p.useState(0),[g,v]=p.useState(0),[y,b]=p.useState(0),[_,E]=p.useState(!1),C={left:d,top:h,width:g,height:y,borderRadius:c.map(T=>`${T}px`).join(" ")};s&&(C["--wave-color"]=s);function S(){const T=getComputedStyle(n);l(rXe(n));const O=T.position==="static",{borderLeftWidth:x,borderTopWidth:A}=T;f(O?n.offsetLeft:DL(-parseFloat(x))),m(O?n.offsetTop:DL(-parseFloat(A))),v(n.offsetWidth),b(n.offsetHeight);const{borderTopLeftRadius:I,borderTopRightRadius:M,borderBottomLeftRadius:B,borderBottomRightRadius:P}=T;u([I,M,P,B].map(k=>DL(parseFloat(k))))}if(p.useEffect(()=>{if(n){const T=nr(()=>{S(),E(!0)});let O;return typeof ResizeObserver<"u"&&(O=new ResizeObserver(S),O.observe(n)),()=>{nr.cancel(T),O==null||O.disconnect()}}},[]),!_)return null;const w=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(AP));return p.createElement(ia,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(T,O)=>{var x,A;if(O.deadline||O.propertyName==="opacity"){const I=(x=o.current)===null||x===void 0?void 0:x.parentElement;(A=a.current)===null||A===void 0||A.call(a).then(()=>{I==null||I.remove()})}return!1}},(T,O)=>{let{className:x}=T;return p.createElement("div",{ref:aa(o,O),className:xe(t,x,{"wave-quick":w}),style:C})})},oXe=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",e==null||e.insertBefore(i,e==null?void 0:e.firstChild);const o=Tq();let a=null;function s(){return a}a=o(p.createElement(iXe,Object.assign({},t,{target:e,registerUnmount:s})),i)},aXe=(e,t,n)=>{const{wave:r}=p.useContext(Xt),[,i,o]=qo(),a=Yn(c=>{const u=e.current;if(r!=null&&r.disabled||!u)return;const d=u.querySelector(`.${AP}`)||u,{showEffect:f}=r||{};(f||oXe)(d,{className:t,token:i,component:n,event:c,hashId:o})}),s=p.useRef(null);return c=>{nr.cancel(s.current),s.current=nr(()=>{a(c)})}},o2=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:i}=p.useContext(Xt),o=p.useRef(null),a=i("wave"),[,s]=nXe(a),l=aXe(o,xe(a,s),r);if(se.useEffect(()=>{const u=o.current;if(!u||u.nodeType!==1||n)return;const d=f=>{!mS(f.target)||!u.getAttribute||u.getAttribute("disabled")||u.disabled||u.className.includes("disabled")||u.className.includes("-leave")||l(f)};return u.addEventListener("click",d,!0),()=>{u.removeEventListener("click",d,!0)}},[n]),!se.isValidElement(t))return t??null;const c=Cd(t)?aa(Ig(t),o):o;return Eo(t,{ref:c})},Co=e=>{const t=se.useContext(Bv);return se.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},sXe=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},lXe=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{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"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},cXe=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},nEe=lr("Space",e=>{const t=Kn(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[lXe(t),cXe(t),sXe(t)]},()=>({}),{resetStyle:!1});var rEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=p.useContext(NP),r=p.useMemo(()=>{if(!n)return"";const{compactDirection:i,isFirstItem:o,isLastItem:a}=n,s=i==="vertical"?"-vertical-":"-";return xe(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:o,[`${e}-compact${s}last-item`]:a,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},uXe=e=>{let{children:t}=e;return p.createElement(NP.Provider,{value:null},t)},dXe=e=>{var{children:t}=e,n=rEe(e,["children"]);return p.createElement(NP.Provider,{value:n},t)},fXe=e=>{const{getPrefixCls:t,direction:n}=p.useContext(Xt),{size:r,direction:i,block:o,prefixCls:a,className:s,rootClassName:l,children:c}=e,u=rEe(e,["size","direction","block","prefixCls","className","rootClassName","children"]),d=Co(_=>r??_),f=t("space-compact",a),[h,m]=nEe(f),g=xe(f,m,{[`${f}-rtl`]:n==="rtl",[`${f}-block`]:o,[`${f}-vertical`]:i==="vertical"},s,l),v=p.useContext(NP),y=ko(c),b=p.useMemo(()=>y.map((_,E)=>{const C=(_==null?void 0:_.key)||`${f}-item-${E}`;return p.createElement(dXe,{key:C,compactSize:d,compactDirection:i,isFirstItem:E===0&&(!v||(v==null?void 0:v.isFirstItem)),isLastItem:E===y.length-1&&(!v||(v==null?void 0:v.isLastItem))},_)}),[r,y,v]);return y.length===0?null:h(p.createElement("div",Object.assign({className:g},u),b))};var pXe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:t,direction:n}=p.useContext(Xt),{prefixCls:r,size:i,className:o}=e,a=pXe(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=qo();let c="";switch(i){case"large":c="lg";break;case"small":c="sm";break}const u=xe(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:n==="rtl"},o,l);return p.createElement(iEe.Provider,{value:i},p.createElement("div",Object.assign({},a,{className:u})))},Qne=/^[\u4E00-\u9FA5]{2}$/,wH=Qne.test.bind(Qne);function xq(e){return e==="danger"?{danger:!0}:{type:e}}function Xne(e){return typeof e=="string"}function LL(e){return e==="text"||e==="link"}function mXe(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&Xne(e.type)&&wH(e.props.children)?Eo(e,{children:e.props.children.split("").join(n)}):Xne(e)?wH(e)?se.createElement("span",null,e.split("").join(n)):se.createElement("span",null,e):VSe(e)?se.createElement("span",null,e):e}function gXe(e,t){let n=!1;const r=[];return se.Children.forEach(e,i=>{const o=typeof i,a=o==="string"||o==="number";if(n&&a){const s=r.length-1,l=r[s];r[s]=`${l}${i}`}else r.push(i);n=a}),se.Children.map(r,i=>mXe(i,t))}["default","primary","danger"].concat(nt(Hv));const TH=p.forwardRef((e,t)=>{const{className:n,style:r,children:i,prefixCls:o}=e,a=xe(`${o}-icon`,n);return se.createElement("span",{ref:t,className:a,style:r},i)}),Zne=p.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:i,iconClassName:o}=e,a=xe(`${n}-loading-icon`,r);return se.createElement(TH,{prefixCls:n,className:a,style:i,ref:t},se.createElement(xd,{className:o}))}),$L=()=>({width:0,opacity:0,transform:"scale(0)"}),FL=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),vXe=e=>{const{prefixCls:t,loading:n,existIcon:r,className:i,style:o,mount:a}=e,s=!!n;return r?se.createElement(Zne,{prefixCls:t,className:i,style:o}):se.createElement(ia,{visible:s,motionName:`${t}-loading-icon-motion`,motionAppear:!a,motionEnter:!a,motionLeave:!a,removeOnLeave:!0,onAppearStart:$L,onAppearActive:FL,onEnterStart:$L,onEnterActive:FL,onLeaveStart:FL,onLeaveActive:$L},(l,c)=>{let{className:u,style:d}=l;const f=Object.assign(Object.assign({},o),d);return se.createElement(Zne,{prefixCls:t,className:xe(i,u),style:f,ref:c})})},Jne=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),bXe=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:i,colorErrorHover:o}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},Jne(`${t}-primary`,i),Jne(`${t}-danger`,o)]}};var yXe=["b"],_Xe=["v"],BL=function(t){return Math.round(Number(t||0))},SXe=function(t){if(t instanceof rr)return t;if(t&&Gt(t)==="object"&&"h"in t&&"b"in t){var n=t,r=n.b,i=Dt(n,yXe);return G(G({},i),{},{v:r})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},Od=function(e){Ds(n,e);var t=ol(n);function n(r){return Kr(this,n),t.call(this,SXe(r))}return Qr(n,[{key:"toHsbString",value:function(){var i=this.toHsb(),o=BL(i.s*100),a=BL(i.b*100),s=BL(i.h),l=i.a,c="hsb(".concat(s,", ").concat(o,"%, ").concat(a,"%)"),u="hsba(".concat(s,", ").concat(o,"%, ").concat(a,"%, ").concat(l.toFixed(l===0?0:2),")");return l===1?c:u}},{key:"toHsb",value:function(){var i=this.toHsv(),o=i.v,a=Dt(i,_Xe);return G(G({},a),{},{b:o,a:this.a})}}]),n}(rr),EXe="rc-color-picker",yy=function(t){return t instanceof Od?t:new Od(t)},CXe=yy("#1677ff"),oEe=function(t){var n=t.offset,r=t.targetRef,i=t.containerRef,o=t.color,a=t.type,s=i.current.getBoundingClientRect(),l=s.width,c=s.height,u=r.current.getBoundingClientRect(),d=u.width,f=u.height,h=d/2,m=f/2,g=(n.x+h)/l,v=1-(n.y+m)/c,y=o.toHsb(),b=g,_=(n.x+h)/l*360;if(a)switch(a){case"hue":return yy(G(G({},y),{},{h:_<=0?0:_}));case"alpha":return yy(G(G({},y),{},{a:b<=0?0:b}))}return yy({h:y.h,s:g<=0?0:g,b:v>=1?1:v,a:y.a})},aEe=function(t,n){var r=t.toHsb();switch(n){case"hue":return{x:r.h/360*100,y:50};case"alpha":return{x:t.a*100,y:50};default:return{x:r.s*100,y:(1-r.b)*100}}},Oq=function(t){var n=t.color,r=t.prefixCls,i=t.className,o=t.style,a=t.onClick,s="".concat(r,"-color-block");return se.createElement("div",{className:xe(s,i),style:o,onClick:a},se.createElement("div",{className:"".concat(s,"-inner"),style:{background:n}}))};function wXe(e){var t="touches"in e?e.touches[0]:e,n=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,r=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-n,pageY:t.pageY-r}}function sEe(e){var t=e.targetRef,n=e.containerRef,r=e.direction,i=e.onDragChange,o=e.onDragChangeComplete,a=e.calculate,s=e.color,l=e.disabledDrag,c=p.useState({x:0,y:0}),u=Ie(c,2),d=u[0],f=u[1],h=p.useRef(null),m=p.useRef(null);p.useEffect(function(){f(a())},[s]),p.useEffect(function(){return function(){document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",m.current),document.removeEventListener("touchmove",h.current),document.removeEventListener("touchend",m.current),h.current=null,m.current=null}},[]);var g=function(E){var C=wXe(E),S=C.pageX,w=C.pageY,T=n.current.getBoundingClientRect(),O=T.x,x=T.y,A=T.width,I=T.height,M=t.current.getBoundingClientRect(),B=M.width,P=M.height,k=B/2,N=P/2,L=Math.max(0,Math.min(S-O,A))-k,V=Math.max(0,Math.min(w-x,I))-N,$={x:L,y:r==="x"?d.y:V};if(B===0&&P===0||B!==P)return!1;i==null||i($)},v=function(E){E.preventDefault(),g(E)},y=function(E){E.preventDefault(),document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",m.current),document.removeEventListener("touchmove",h.current),document.removeEventListener("touchend",m.current),h.current=null,m.current=null,o==null||o()},b=function(E){document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",m.current),!l&&(g(E),document.addEventListener("mousemove",v),document.addEventListener("mouseup",y),document.addEventListener("touchmove",v),document.addEventListener("touchend",y),h.current=v,m.current=y)};return[d,b]}var lEe=function(t){var n=t.size,r=n===void 0?"default":n,i=t.color,o=t.prefixCls;return se.createElement("div",{className:xe("".concat(o,"-handler"),ee({},"".concat(o,"-handler-sm"),r==="small")),style:{backgroundColor:i}})},cEe=function(t){var n=t.children,r=t.style,i=t.prefixCls;return se.createElement("div",{className:"".concat(i,"-palette"),style:G({position:"relative"},r)},n)},uEe=p.forwardRef(function(e,t){var n=e.children,r=e.x,i=e.y;return se.createElement("div",{ref:t,style:{position:"absolute",left:"".concat(r,"%"),top:"".concat(i,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},n)}),TXe=function(t){var n=t.color,r=t.onChange,i=t.prefixCls,o=t.onChangeComplete,a=t.disabled,s=p.useRef(),l=p.useRef(),c=p.useRef(n),u=Yn(function(g){var v=oEe({offset:g,targetRef:l,containerRef:s,color:n});c.current=v,r(v)}),d=sEe({color:n,containerRef:s,targetRef:l,calculate:function(){return aEe(n)},onDragChange:u,onDragChangeComplete:function(){return o==null?void 0:o(c.current)},disabledDrag:a}),f=Ie(d,2),h=f[0],m=f[1];return se.createElement("div",{ref:s,className:"".concat(i,"-select"),onMouseDown:m,onTouchStart:m},se.createElement(cEe,{prefixCls:i},se.createElement(uEe,{x:h.x,y:h.y,ref:l},se.createElement(lEe,{color:n.toRgbString(),prefixCls:i})),se.createElement("div",{className:"".concat(i,"-saturation"),style:{backgroundColor:"hsl(".concat(n.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},xXe=function(t,n){var r=Pn(t,{value:n}),i=Ie(r,2),o=i[0],a=i[1],s=p.useMemo(function(){return yy(o)},[o]);return[s,a]},OXe=function(t){var n=t.colors,r=t.children,i=t.direction,o=i===void 0?"to right":i,a=t.type,s=t.prefixCls,l=p.useMemo(function(){return n.map(function(c,u){var d=yy(c);return a==="alpha"&&u===n.length-1&&(d=new Od(d.setA(1))),d.toRgbString()}).join(",")},[n,a]);return se.createElement("div",{className:"".concat(s,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(o,", ").concat(l,")")}},r)},RXe=function(t){var n=t.prefixCls,r=t.colors,i=t.disabled,o=t.onChange,a=t.onChangeComplete,s=t.color,l=t.type,c=p.useRef(),u=p.useRef(),d=p.useRef(s),f=function(C){return l==="hue"?C.getHue():C.a*100},h=Yn(function(E){var C=oEe({offset:E,targetRef:u,containerRef:c,color:s,type:l});d.current=C,o(f(C))}),m=sEe({color:s,targetRef:u,containerRef:c,calculate:function(){return aEe(s,l)},onDragChange:h,onDragChangeComplete:function(){a(f(d.current))},direction:"x",disabledDrag:i}),g=Ie(m,2),v=g[0],y=g[1],b=se.useMemo(function(){if(l==="hue"){var E=s.toHsb();E.s=1,E.b=1,E.a=1;var C=new Od(E);return C}return s},[s,l]),_=se.useMemo(function(){return r.map(function(E){return"".concat(E.color," ").concat(E.percent,"%")})},[r]);return se.createElement("div",{ref:c,className:xe("".concat(n,"-slider"),"".concat(n,"-slider-").concat(l)),onMouseDown:y,onTouchStart:y},se.createElement(cEe,{prefixCls:n},se.createElement(uEe,{x:v.x,y:v.y,ref:u},se.createElement(lEe,{size:"small",color:b.toHexString(),prefixCls:n})),se.createElement(OXe,{colors:_,type:l,prefixCls:n})))};function IXe(e){return p.useMemo(function(){var t=e||{},n=t.slider;return[n||RXe]},[e])}var AXe=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],NXe=p.forwardRef(function(e,t){var n=e.value,r=e.defaultValue,i=e.prefixCls,o=i===void 0?EXe:i,a=e.onChange,s=e.onChangeComplete,l=e.className,c=e.style,u=e.panelRender,d=e.disabledAlpha,f=d===void 0?!1:d,h=e.disabled,m=h===void 0?!1:h,g=e.components,v=IXe(g),y=Ie(v,1),b=y[0],_=xXe(r||CXe,n),E=Ie(_,2),C=E[0],S=E[1],w=p.useMemo(function(){return C.setA(1).toRgbString()},[C]),T=function(V,$){n||S(V),a==null||a(V,$)},O=function(V){return new Od(C.setHue(V))},x=function(V){return new Od(C.setA(V/100))},A=function(V){T(O(V),{type:"hue",value:V})},I=function(V){T(x(V),{type:"alpha",value:V})},M=function(V){s&&s(O(V))},B=function(V){s&&s(x(V))},P=xe("".concat(o,"-panel"),l,ee({},"".concat(o,"-panel-disabled"),m)),k={prefixCls:o,disabled:m,color:C},N=se.createElement(se.Fragment,null,se.createElement(TXe,Ke({onChange:T},k,{onChangeComplete:s})),se.createElement("div",{className:"".concat(o,"-slider-container")},se.createElement("div",{className:xe("".concat(o,"-slider-group"),ee({},"".concat(o,"-slider-group-disabled-alpha"),f))},se.createElement(b,Ke({},k,{type:"hue",colors:AXe,min:0,max:359,value:C.getHue(),onChange:A,onChangeComplete:M})),!f&&se.createElement(b,Ke({},k,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:w}],min:0,max:100,value:C.a*100,onChange:I,onChangeComplete:B}))),se.createElement(Oq,{color:C.toRgbString(),prefixCls:o})));return se.createElement("div",{className:P,style:c,ref:t},typeof u=="function"?u(N):N)});const RC=(e,t)=>(e==null?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",MXe=(e,t)=>e?RC(e,t):"";let pc=function(){function e(t){Kr(this,e);var n;if(this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=(n=t.colors)===null||n===void 0?void 0:n.map(i=>({color:new e(i.color),percent:i.percent})),this.cleared=t.cleared;return}const r=Array.isArray(t);r&&t.length?(this.colors=t.map(i=>{let{color:o,percent:a}=i;return{color:new e(o),percent:a}}),this.metaColor=new Od(this.colors[0].color.metaColor)):this.metaColor=new Od(r?"":t),(!t||r&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return Qr(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return MXe(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:n}=this;return n?`linear-gradient(90deg, ${n.map(i=>`${i.color.toRgbString()} ${i.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(n){return!n||this.isGradient()!==n.isGradient()?!1:this.isGradient()?this.colors.length===n.colors.length&&this.colors.every((r,i)=>{const o=n.colors[i];return r.percent===o.percent&&r.color.equals(o.color)}):this.toHexString()===n.toHexString()}}])}();var kXe={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"},PXe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:kXe}))},uh=p.forwardRef(PXe),dEe=se.forwardRef(function(e,t){var n=e.prefixCls,r=e.forceRender,i=e.className,o=e.style,a=e.children,s=e.isActive,l=e.role,c=e.classNames,u=e.styles,d=se.useState(s||r),f=Ie(d,2),h=f[0],m=f[1];return se.useEffect(function(){(r||s)&&m(!0)},[r,s]),h?se.createElement("div",{ref:t,className:xe("".concat(n,"-content"),ee(ee({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),i),style:o,role:l},se.createElement("div",{className:xe("".concat(n,"-content-box"),c==null?void 0:c.body),style:u==null?void 0:u.body},a)):null});dEe.displayName="PanelContent";var DXe=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],fEe=se.forwardRef(function(e,t){var n=e.showArrow,r=n===void 0?!0:n,i=e.headerClass,o=e.isActive,a=e.onItemClick,s=e.forceRender,l=e.className,c=e.classNames,u=c===void 0?{}:c,d=e.styles,f=d===void 0?{}:d,h=e.prefixCls,m=e.collapsible,g=e.accordion,v=e.panelKey,y=e.extra,b=e.header,_=e.expandIcon,E=e.openMotion,C=e.destroyInactivePanel,S=e.children,w=Dt(e,DXe),T=m==="disabled",O=y!=null&&typeof y!="boolean",x=ee(ee(ee({onClick:function(){a==null||a(v)},onKeyDown:function(N){(N.key==="Enter"||N.keyCode===dt.ENTER||N.which===dt.ENTER)&&(a==null||a(v))},role:g?"tab":"button"},"aria-expanded",o),"aria-disabled",T),"tabIndex",T?-1:0),A=typeof _=="function"?_(e):se.createElement("i",{className:"arrow"}),I=A&&se.createElement("div",Ke({className:"".concat(h,"-expand-icon")},["header","icon"].includes(m)?x:{}),A),M=xe("".concat(h,"-item"),ee(ee({},"".concat(h,"-item-active"),o),"".concat(h,"-item-disabled"),T),l),B=xe(i,"".concat(h,"-header"),ee({},"".concat(h,"-collapsible-").concat(m),!!m),u.header),P=G({className:B,style:f.header},["header","icon"].includes(m)?{}:x);return se.createElement("div",Ke({},w,{ref:t,className:M}),se.createElement("div",P,r&&I,se.createElement("span",Ke({className:"".concat(h,"-header-text")},m==="header"?x:{}),b),O&&se.createElement("div",{className:"".concat(h,"-extra")},y)),se.createElement(ia,Ke({visible:o,leavedClassName:"".concat(h,"-content-hidden")},E,{forceRender:s,removeOnLeave:C}),function(k,N){var L=k.className,V=k.style;return se.createElement(dEe,{ref:N,prefixCls:h,className:L,classNames:u,style:V,styles:f,isActive:o,forceRender:s,role:g?"tabpanel":void 0},S)}))}),LXe=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],$Xe=function(t,n){var r=n.prefixCls,i=n.accordion,o=n.collapsible,a=n.destroyInactivePanel,s=n.onItemClick,l=n.activeKey,c=n.openMotion,u=n.expandIcon;return t.map(function(d,f){var h=d.children,m=d.label,g=d.key,v=d.collapsible,y=d.onItemClick,b=d.destroyInactivePanel,_=Dt(d,LXe),E=String(g??f),C=v??o,S=b??a,w=function(x){C!=="disabled"&&(s(x),y==null||y(x))},T=!1;return i?T=l[0]===E:T=l.indexOf(E)>-1,se.createElement(fEe,Ke({},_,{prefixCls:r,key:E,panelKey:E,isActive:T,accordion:i,openMotion:c,expandIcon:u,header:m,collapsible:C,onItemClick:w,destroyInactivePanel:S}),h)})},FXe=function(t,n,r){if(!t)return null;var i=r.prefixCls,o=r.accordion,a=r.collapsible,s=r.destroyInactivePanel,l=r.onItemClick,c=r.activeKey,u=r.openMotion,d=r.expandIcon,f=t.key||String(n),h=t.props,m=h.header,g=h.headerClass,v=h.destroyInactivePanel,y=h.collapsible,b=h.onItemClick,_=!1;o?_=c[0]===f:_=c.indexOf(f)>-1;var E=y??a,C=function(T){E!=="disabled"&&(l(T),b==null||b(T))},S={key:f,panelKey:f,header:m,headerClass:g,isActive:_,prefixCls:i,destroyInactivePanel:v??s,openMotion:u,accordion:o,children:t.props.children,onItemClick:C,expandIcon:d,collapsible:E};return typeof t.type=="string"?t:(Object.keys(S).forEach(function(w){typeof S[w]>"u"&&delete S[w]}),se.cloneElement(t,S))};function BXe(e,t,n){return Array.isArray(e)?$Xe(e,n):ko(t).map(function(r,i){return FXe(r,i,n)})}function jXe(e){var t=e;if(!Array.isArray(t)){var n=Gt(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var HXe=se.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-collapse":n,i=e.destroyInactivePanel,o=i===void 0?!1:i,a=e.style,s=e.accordion,l=e.className,c=e.children,u=e.collapsible,d=e.openMotion,f=e.expandIcon,h=e.activeKey,m=e.defaultActiveKey,g=e.onChange,v=e.items,y=xe(r,l),b=Pn([],{value:h,onChange:function(O){return g==null?void 0:g(O)},defaultValue:m,postState:jXe}),_=Ie(b,2),E=_[0],C=_[1],S=function(O){return C(function(){if(s)return E[0]===O?[]:[O];var x=E.indexOf(O),A=x>-1;return A?E.filter(function(I){return I!==O}):[].concat(nt(E),[O])})};Yr(!c,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var w=BXe(v,c,{prefixCls:r,accordion:s,openMotion:d,expandIcon:f,collapsible:u,destroyInactivePanel:o,onItemClick:S,activeKey:E});return se.createElement("div",Ke({ref:t,className:y,style:a,role:s?"tablist":void 0},xi(e,{aria:!0,data:!0})),w)});const Rq=Object.assign(HXe,{Panel:fEe});Rq.Panel;const UXe=p.forwardRef((e,t)=>{const{getPrefixCls:n}=p.useContext(Xt),{prefixCls:r,className:i,showArrow:o=!0}=e,a=n("collapse",r),s=xe({[`${a}-no-arrow`]:!o},i);return p.createElement(Rq.Panel,Object.assign({ref:t},e,{prefixCls:a,className:s}))}),a2=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, + `]:{animationPlayState:"running"},[`${t}-move-up-leave`]:{animationName:E,animationDuration:d,animationPlayState:"paused",animationTimingFunction:u},[`${t}-move-up-leave${t}-move-up-leave-active`]:{animationPlayState:"running"},"&-rtl":{direction:"rtl",span:{direction:"rtl"}}})},{[t]:{[`${b}-wrapper`]:Object.assign({},C)}},{[`${t}-notice-pure-panel`]:Object.assign(Object.assign({},C),{padding:0,textAlign:"start"})}]},NQe=e=>({zIndexPopup:e.zIndexPopupBase+Cq+10,contentBg:e.colorBgElevated,contentPadding:`${(e.controlHeightLG-e.fontSize*e.lineHeight)/2}px ${e.paddingSM}px`}),ZSe=lr("Message",e=>{const t=Kn(e,{height:150});return[AQe(t)]},NQe);var MQe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{prefixCls:t,type:n,icon:r,children:i}=e;return p.createElement("div",{className:xe(`${t}-custom-content`,`${t}-${n}`)},r||kQe[n],p.createElement("span",null,i))},PQe=e=>{const{prefixCls:t,className:n,type:r,icon:i,content:o}=e,a=MQe(e,["prefixCls","className","type","icon","content"]),{getPrefixCls:s}=p.useContext(Xt),l=t||s("message"),c=ui(l),[u,d,f]=ZSe(l,c);return u(p.createElement(qSe,Object.assign({},a,{prefixCls:l,className:xe(n,d,`${l}-notice-pure-panel`,f,c),eventKey:"pure",duration:null,content:p.createElement(JSe,{prefixCls:l,type:r,icon:i},o)})))};function DQe(e,t){return{motionName:t??`${e}-move-up`}}function wq(e){let t;const n=new Promise(i=>{t=e(()=>{i(!0)})}),r=()=>{t==null||t()};return r.then=(i,o)=>n.then(i,o),r.promise=n,r}var LQe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{children:t,prefixCls:n}=e;const r=ui(n),[i,o,a]=ZSe(n,r);return i(p.createElement(KSe,{classNames:{list:xe(o,a,r)}},t))},jQe=(e,t)=>{let{prefixCls:n,key:r}=t;return p.createElement(BQe,{prefixCls:n,key:r},e)},HQe=p.forwardRef((e,t)=>{const{top:n,prefixCls:r,getContainer:i,maxCount:o,duration:a=FQe,rtl:s,transitionName:l,onAllRemoved:c}=e,{getPrefixCls:u,getPopupContainer:d,message:f,direction:h}=p.useContext(Xt),m=r||u("message"),g=()=>({left:"50%",transform:"translateX(-50%)",top:n??$Qe}),v=()=>xe({[`${m}-rtl`]:s??h==="rtl"}),y=()=>DQe(m,l),b=p.createElement("span",{className:`${m}-close-x`},p.createElement(Yf,{className:`${m}-close-icon`})),[_,E]=QSe({prefixCls:m,style:g,className:v,motion:y,closable:!1,closeIcon:b,duration:a,getContainer:()=>(i==null?void 0:i())||(d==null?void 0:d())||document.body,maxCount:o,onAllRemoved:c,renderNotifications:jQe});return p.useImperativeHandle(t,()=>Object.assign(Object.assign({},_),{prefixCls:m,message:f})),E});let Wne=0;function eEe(e){const t=p.useRef(null);return Wf(),[p.useMemo(()=>{const r=l=>{var c;(c=t.current)===null||c===void 0||c.close(l)},i=l=>{if(!t.current){const S=()=>{};return S.then=()=>{},S}const{open:c,prefixCls:u,message:d}=t.current,f=`${u}-notice`,{content:h,icon:m,type:g,key:v,className:y,style:b,onClose:_}=l,E=LQe(l,["content","icon","type","key","className","style","onClose"]);let C=v;return C==null&&(Wne+=1,C=`antd-message-${Wne}`),wq(S=>(c(Object.assign(Object.assign({},E),{key:C,content:p.createElement(JSe,{prefixCls:u,type:g,icon:m},h),placement:"top",className:xe(g&&`${f}-${g}`,y,d==null?void 0:d.className),style:Object.assign(Object.assign({},d==null?void 0:d.style),b),onClose:()=>{_==null||_(),S()}})),()=>{r(C)}))},a={open:i,destroy:l=>{var c;l!==void 0?r(l):(c=t.current)===null||c===void 0||c.destroy()}};return["info","success","warning","error","loading"].forEach(l=>{const c=(u,d,f)=>{let h;u&&typeof u=="object"&&"content"in u?h=u:h={content:u};let m,g;typeof d=="function"?g=d:(m=d,g=f);const v=Object.assign(Object.assign({onClose:g,duration:m},h),{type:l});return i(v)};a[l]=c}),a},[]),p.createElement(HQe,Object.assign({key:"message-holder"},e,{ref:t}))]}function tEe(e){return eEe(e)}function UQe(){const[e,t]=p.useState([]),n=p.useCallback(r=>(t(i=>[].concat(nt(i),[r])),()=>{t(i=>i.filter(o=>o!==r))}),[]);return[e,n]}function pr(){pr=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(k,N,L){k[N]=L.value},o=typeof Symbol=="function"?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(k,N,L){return Object.defineProperty(k,N,{value:L,enumerable:!0,configurable:!0,writable:!0}),k[N]}try{c({},"")}catch{c=function(L,V,$){return L[V]=$}}function u(k,N,L,V){var $=N&&N.prototype instanceof y?N:y,W=Object.create($.prototype),j=new B(V||[]);return i(W,"_invoke",{value:x(k,L,j)}),W}function d(k,N,L){try{return{type:"normal",arg:k.call(N,L)}}catch(V){return{type:"throw",arg:V}}}t.wrap=u;var f="suspendedStart",h="suspendedYield",m="executing",g="completed",v={};function y(){}function b(){}function _(){}var E={};c(E,a,function(){return this});var C=Object.getPrototypeOf,S=C&&C(C(P([])));S&&S!==n&&r.call(S,a)&&(E=S);var w=_.prototype=y.prototype=Object.create(E);function T(k){["next","throw","return"].forEach(function(N){c(k,N,function(L){return this._invoke(N,L)})})}function O(k,N){function L($,W,j,U){var Z=d(k[$],k,W);if(Z.type!=="throw"){var te=Z.arg,ae=te.value;return ae&&Gt(ae)=="object"&&r.call(ae,"__await")?N.resolve(ae.__await).then(function(K){L("next",K,j,U)},function(K){L("throw",K,j,U)}):N.resolve(ae).then(function(K){te.value=K,j(te)},function(K){return L("throw",K,j,U)})}U(Z.arg)}var V;i(this,"_invoke",{value:function(W,j){function U(){return new N(function(Z,te){L(W,j,Z,te)})}return V=V?V.then(U,U):U()}})}function x(k,N,L){var V=f;return function($,W){if(V===m)throw Error("Generator is already running");if(V===g){if($==="throw")throw W;return{value:e,done:!0}}for(L.method=$,L.arg=W;;){var j=L.delegate;if(j){var U=A(j,L);if(U){if(U===v)continue;return U}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if(V===f)throw V=g,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);V=m;var Z=d(k,N,L);if(Z.type==="normal"){if(V=L.done?g:h,Z.arg===v)continue;return{value:Z.arg,done:L.done}}Z.type==="throw"&&(V=g,L.method="throw",L.arg=Z.arg)}}}function A(k,N){var L=N.method,V=k.iterator[L];if(V===e)return N.delegate=null,L==="throw"&&k.iterator.return&&(N.method="return",N.arg=e,A(k,N),N.method==="throw")||L!=="return"&&(N.method="throw",N.arg=new TypeError("The iterator does not provide a '"+L+"' method")),v;var $=d(V,k.iterator,N.arg);if($.type==="throw")return N.method="throw",N.arg=$.arg,N.delegate=null,v;var W=$.arg;return W?W.done?(N[k.resultName]=W.value,N.next=k.nextLoc,N.method!=="return"&&(N.method="next",N.arg=e),N.delegate=null,v):W:(N.method="throw",N.arg=new TypeError("iterator result is not an object"),N.delegate=null,v)}function I(k){var N={tryLoc:k[0]};1 in k&&(N.catchLoc=k[1]),2 in k&&(N.finallyLoc=k[2],N.afterLoc=k[3]),this.tryEntries.push(N)}function M(k){var N=k.completion||{};N.type="normal",delete N.arg,k.completion=N}function B(k){this.tryEntries=[{tryLoc:"root"}],k.forEach(I,this),this.reset(!0)}function P(k){if(k||k===""){var N=k[a];if(N)return N.call(k);if(typeof k.next=="function")return k;if(!isNaN(k.length)){var L=-1,V=function $(){for(;++L=0;--$){var W=this.tryEntries[$],j=W.completion;if(W.tryLoc==="root")return V("end");if(W.tryLoc<=this.prev){var U=r.call(W,"catchLoc"),Z=r.call(W,"finallyLoc");if(U&&Z){if(this.prev=0;--V){var $=this.tryEntries[V];if($.tryLoc<=this.prev&&r.call($,"finallyLoc")&&this.prev<$.finallyLoc){var W=$;break}}W&&(N==="break"||N==="continue")&&W.tryLoc<=L&&L<=W.finallyLoc&&(W=null);var j=W?W.completion:{};return j.type=N,j.arg=L,W?(this.method="next",this.next=W.finallyLoc,v):this.complete(j)},complete:function(N,L){if(N.type==="throw")throw N.arg;return N.type==="break"||N.type==="continue"?this.next=N.arg:N.type==="return"?(this.rval=this.arg=N.arg,this.method="return",this.next="end"):N.type==="normal"&&L&&(this.next=L),v},finish:function(N){for(var L=this.tryEntries.length-1;L>=0;--L){var V=this.tryEntries[L];if(V.finallyLoc===N)return this.complete(V.completion,V.afterLoc),M(V),v}},catch:function(N){for(var L=this.tryEntries.length-1;L>=0;--L){var V=this.tryEntries[L];if(V.tryLoc===N){var $=V.completion;if($.type==="throw"){var W=$.arg;M(V)}return W}}throw Error("illegal catch attempt")},delegateYield:function(N,L,V){return this.delegate={iterator:P(N),resultName:L,nextLoc:V},this.method==="next"&&(this.arg=e),v}},t}function qne(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(r,i)}function co(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(l){qne(o,r,i,a,s,"next",l)}function s(l){qne(o,r,i,a,s,"throw",l)}a(void 0)})}}var i2=G({},wve),zQe=i2.version,NL=i2.render,VQe=i2.unmountComponentAtNode,I5;try{var GQe=Number((zQe||"").split(".")[0]);GQe>=18&&(I5=i2.createRoot)}catch{}function Yne(e){var t=i2.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&Gt(t)==="object"&&(t.usingClientEntryPoint=e)}var VM="__rc_react_root__";function WQe(e,t){Yne(!0);var n=t[VM]||I5(t);Yne(!1),n.render(e),t[VM]=n}function qQe(e,t){NL==null||NL(e,t)}function YQe(e,t){if(I5){WQe(e,t);return}qQe(e,t)}function KQe(e){return EH.apply(this,arguments)}function EH(){return EH=co(pr().mark(function e(t){return pr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.abrupt("return",Promise.resolve().then(function(){var i;(i=t[VM])===null||i===void 0||i.unmount(),delete t[VM]}));case 1:case"end":return r.stop()}},e)})),EH.apply(this,arguments)}function QQe(e){VQe(e)}function XQe(e){return CH.apply(this,arguments)}function CH(){return CH=co(pr().mark(function e(t){return pr().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(I5===void 0){r.next=2;break}return r.abrupt("return",KQe(t));case 2:QQe(t);case 3:case"end":return r.stop()}},e)})),CH.apply(this,arguments)}const ZQe=(e,t)=>(YQe(e,t),()=>XQe(t));let JQe=ZQe;function Tq(){return JQe}const ML=()=>({height:0,opacity:0}),Kne=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},eXe=e=>({height:e?e.offsetHeight:0}),kL=(e,t)=>(t==null?void 0:t.deadline)===!0||t.propertyName==="height",d_=function(){return{motionName:`${arguments.length>0&&arguments[0]!==void 0?arguments[0]:kT}-motion-collapse`,onAppearStart:ML,onEnterStart:ML,onAppearActive:Kne,onEnterActive:Kne,onLeaveStart:eXe,onLeaveActive:ML,onAppearEnd:kL,onEnterEnd:kL,onLeaveEnd:kL,motionDeadline:500}},Va=(e,t,n)=>n!==void 0?n:`${e}-${t}`,mS=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var i=e.getBoundingClientRect(),o=i.width,a=i.height;if(o||a)return!0}}return!1},tXe=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},nXe=CSe("Wave",e=>[tXe(e)]),A5=`${kT}-wave-target`;function PL(e){return e&&e!=="#fff"&&e!=="#ffffff"&&e!=="rgb(255, 255, 255)"&&e!=="rgba(255, 255, 255, 1)"&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&e!=="transparent"}function rXe(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return PL(t)?t:PL(n)?n:PL(r)?r:null}function DL(e){return Number.isNaN(e)?0:e}const iXe=e=>{const{className:t,target:n,component:r,registerUnmount:i}=e,o=p.useRef(null),a=p.useRef(null);p.useEffect(()=>{a.current=i()},[]);const[s,l]=p.useState(null),[c,u]=p.useState([]),[d,f]=p.useState(0),[h,m]=p.useState(0),[g,v]=p.useState(0),[y,b]=p.useState(0),[_,E]=p.useState(!1),C={left:d,top:h,width:g,height:y,borderRadius:c.map(T=>`${T}px`).join(" ")};s&&(C["--wave-color"]=s);function S(){const T=getComputedStyle(n);l(rXe(n));const O=T.position==="static",{borderLeftWidth:x,borderTopWidth:A}=T;f(O?n.offsetLeft:DL(-parseFloat(x))),m(O?n.offsetTop:DL(-parseFloat(A))),v(n.offsetWidth),b(n.offsetHeight);const{borderTopLeftRadius:I,borderTopRightRadius:M,borderBottomLeftRadius:B,borderBottomRightRadius:P}=T;u([I,M,P,B].map(k=>DL(parseFloat(k))))}if(p.useEffect(()=>{if(n){const T=nr(()=>{S(),E(!0)});let O;return typeof ResizeObserver<"u"&&(O=new ResizeObserver(S),O.observe(n)),()=>{nr.cancel(T),O==null||O.disconnect()}}},[]),!_)return null;const w=(r==="Checkbox"||r==="Radio")&&(n==null?void 0:n.classList.contains(A5));return p.createElement(ia,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(T,O)=>{var x,A;if(O.deadline||O.propertyName==="opacity"){const I=(x=o.current)===null||x===void 0?void 0:x.parentElement;(A=a.current)===null||A===void 0||A.call(a).then(()=>{I==null||I.remove()})}return!1}},(T,O)=>{let{className:x}=T;return p.createElement("div",{ref:aa(o,O),className:xe(t,x,{"wave-quick":w}),style:C})})},oXe=(e,t)=>{var n;const{component:r}=t;if(r==="Checkbox"&&!(!((n=e.querySelector("input"))===null||n===void 0)&&n.checked))return;const i=document.createElement("div");i.style.position="absolute",i.style.left="0px",i.style.top="0px",e==null||e.insertBefore(i,e==null?void 0:e.firstChild);const o=Tq();let a=null;function s(){return a}a=o(p.createElement(iXe,Object.assign({},t,{target:e,registerUnmount:s})),i)},aXe=(e,t,n)=>{const{wave:r}=p.useContext(Xt),[,i,o]=qo(),a=Yn(c=>{const u=e.current;if(r!=null&&r.disabled||!u)return;const d=u.querySelector(`.${A5}`)||u,{showEffect:f}=r||{};(f||oXe)(d,{className:t,token:i,component:n,event:c,hashId:o})}),s=p.useRef(null);return c=>{nr.cancel(s.current),s.current=nr(()=>{a(c)})}},o2=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:i}=p.useContext(Xt),o=p.useRef(null),a=i("wave"),[,s]=nXe(a),l=aXe(o,xe(a,s),r);if(se.useEffect(()=>{const u=o.current;if(!u||u.nodeType!==1||n)return;const d=f=>{!mS(f.target)||!u.getAttribute||u.getAttribute("disabled")||u.disabled||u.className.includes("disabled")||u.className.includes("-leave")||l(f)};return u.addEventListener("click",d,!0),()=>{u.removeEventListener("click",d,!0)}},[n]),!se.isValidElement(t))return t??null;const c=Cd(t)?aa(Ig(t),o):o;return Eo(t,{ref:c})},Co=e=>{const t=se.useContext(Bv);return se.useMemo(()=>e?typeof e=="string"?e??t:e instanceof Function?e(t):t:t,[e,t])},sXe=e=>{const{componentCls:t}=e;return{[t]:{"&-block":{display:"flex",width:"100%"},"&-vertical":{flexDirection:"column"}}}},lXe=e=>{const{componentCls:t,antCls:n}=e;return{[t]:{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"}},[`${t}-item:empty`]:{display:"none"},[`${t}-item > ${n}-badge-not-a-wrapper:only-child`]:{display:"block"}}}},cXe=e=>{const{componentCls:t}=e;return{[t]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}},nEe=lr("Space",e=>{const t=Kn(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[lXe(t),cXe(t),sXe(t)]},()=>({}),{resetStyle:!1});var rEe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=p.useContext(N5),r=p.useMemo(()=>{if(!n)return"";const{compactDirection:i,isFirstItem:o,isLastItem:a}=n,s=i==="vertical"?"-vertical-":"-";return xe(`${e}-compact${s}item`,{[`${e}-compact${s}first-item`]:o,[`${e}-compact${s}last-item`]:a,[`${e}-compact${s}item-rtl`]:t==="rtl"})},[e,t,n]);return{compactSize:n==null?void 0:n.compactSize,compactDirection:n==null?void 0:n.compactDirection,compactItemClassnames:r}},uXe=e=>{let{children:t}=e;return p.createElement(N5.Provider,{value:null},t)},dXe=e=>{var{children:t}=e,n=rEe(e,["children"]);return p.createElement(N5.Provider,{value:n},t)},fXe=e=>{const{getPrefixCls:t,direction:n}=p.useContext(Xt),{size:r,direction:i,block:o,prefixCls:a,className:s,rootClassName:l,children:c}=e,u=rEe(e,["size","direction","block","prefixCls","className","rootClassName","children"]),d=Co(_=>r??_),f=t("space-compact",a),[h,m]=nEe(f),g=xe(f,m,{[`${f}-rtl`]:n==="rtl",[`${f}-block`]:o,[`${f}-vertical`]:i==="vertical"},s,l),v=p.useContext(N5),y=ko(c),b=p.useMemo(()=>y.map((_,E)=>{const C=(_==null?void 0:_.key)||`${f}-item-${E}`;return p.createElement(dXe,{key:C,compactSize:d,compactDirection:i,isFirstItem:E===0&&(!v||(v==null?void 0:v.isFirstItem)),isLastItem:E===y.length-1&&(!v||(v==null?void 0:v.isLastItem))},_)}),[r,y,v]);return y.length===0?null:h(p.createElement("div",Object.assign({className:g},u),b))};var pXe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:t,direction:n}=p.useContext(Xt),{prefixCls:r,size:i,className:o}=e,a=pXe(e,["prefixCls","size","className"]),s=t("btn-group",r),[,,l]=qo();let c="";switch(i){case"large":c="lg";break;case"small":c="sm";break}const u=xe(s,{[`${s}-${c}`]:c,[`${s}-rtl`]:n==="rtl"},o,l);return p.createElement(iEe.Provider,{value:i},p.createElement("div",Object.assign({},a,{className:u})))},Qne=/^[\u4E00-\u9FA5]{2}$/,wH=Qne.test.bind(Qne);function xq(e){return e==="danger"?{danger:!0}:{type:e}}function Xne(e){return typeof e=="string"}function LL(e){return e==="text"||e==="link"}function mXe(e,t){if(e==null)return;const n=t?" ":"";return typeof e!="string"&&typeof e!="number"&&Xne(e.type)&&wH(e.props.children)?Eo(e,{children:e.props.children.split("").join(n)}):Xne(e)?wH(e)?se.createElement("span",null,e.split("").join(n)):se.createElement("span",null,e):VSe(e)?se.createElement("span",null,e):e}function gXe(e,t){let n=!1;const r=[];return se.Children.forEach(e,i=>{const o=typeof i,a=o==="string"||o==="number";if(n&&a){const s=r.length-1,l=r[s];r[s]=`${l}${i}`}else r.push(i);n=a}),se.Children.map(r,i=>mXe(i,t))}["default","primary","danger"].concat(nt(Hv));const TH=p.forwardRef((e,t)=>{const{className:n,style:r,children:i,prefixCls:o}=e,a=xe(`${o}-icon`,n);return se.createElement("span",{ref:t,className:a,style:r},i)}),Zne=p.forwardRef((e,t)=>{const{prefixCls:n,className:r,style:i,iconClassName:o}=e,a=xe(`${n}-loading-icon`,r);return se.createElement(TH,{prefixCls:n,className:a,style:i,ref:t},se.createElement(xd,{className:o}))}),$L=()=>({width:0,opacity:0,transform:"scale(0)"}),FL=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),vXe=e=>{const{prefixCls:t,loading:n,existIcon:r,className:i,style:o,mount:a}=e,s=!!n;return r?se.createElement(Zne,{prefixCls:t,className:i,style:o}):se.createElement(ia,{visible:s,motionName:`${t}-loading-icon-motion`,motionAppear:!a,motionEnter:!a,motionLeave:!a,removeOnLeave:!0,onAppearStart:$L,onAppearActive:FL,onEnterStart:$L,onEnterActive:FL,onLeaveStart:FL,onLeaveActive:$L},(l,c)=>{let{className:u,style:d}=l;const f=Object.assign(Object.assign({},o),d);return se.createElement(Zne,{prefixCls:t,className:xe(i,u),style:f,ref:c})})},Jne=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),bXe=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:i,colorErrorHover:o}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover, &:focus, &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},Jne(`${t}-primary`,i),Jne(`${t}-danger`,o)]}};var yXe=["b"],_Xe=["v"],BL=function(t){return Math.round(Number(t||0))},SXe=function(t){if(t instanceof rr)return t;if(t&&Gt(t)==="object"&&"h"in t&&"b"in t){var n=t,r=n.b,i=Dt(n,yXe);return G(G({},i),{},{v:r})}return typeof t=="string"&&/hsb/.test(t)?t.replace(/hsb/,"hsv"):t},Od=function(e){Ds(n,e);var t=ol(n);function n(r){return Kr(this,n),t.call(this,SXe(r))}return Qr(n,[{key:"toHsbString",value:function(){var i=this.toHsb(),o=BL(i.s*100),a=BL(i.b*100),s=BL(i.h),l=i.a,c="hsb(".concat(s,", ").concat(o,"%, ").concat(a,"%)"),u="hsba(".concat(s,", ").concat(o,"%, ").concat(a,"%, ").concat(l.toFixed(l===0?0:2),")");return l===1?c:u}},{key:"toHsb",value:function(){var i=this.toHsv(),o=i.v,a=Dt(i,_Xe);return G(G({},a),{},{b:o,a:this.a})}}]),n}(rr),EXe="rc-color-picker",yy=function(t){return t instanceof Od?t:new Od(t)},CXe=yy("#1677ff"),oEe=function(t){var n=t.offset,r=t.targetRef,i=t.containerRef,o=t.color,a=t.type,s=i.current.getBoundingClientRect(),l=s.width,c=s.height,u=r.current.getBoundingClientRect(),d=u.width,f=u.height,h=d/2,m=f/2,g=(n.x+h)/l,v=1-(n.y+m)/c,y=o.toHsb(),b=g,_=(n.x+h)/l*360;if(a)switch(a){case"hue":return yy(G(G({},y),{},{h:_<=0?0:_}));case"alpha":return yy(G(G({},y),{},{a:b<=0?0:b}))}return yy({h:y.h,s:g<=0?0:g,b:v>=1?1:v,a:y.a})},aEe=function(t,n){var r=t.toHsb();switch(n){case"hue":return{x:r.h/360*100,y:50};case"alpha":return{x:t.a*100,y:50};default:return{x:r.s*100,y:(1-r.b)*100}}},Oq=function(t){var n=t.color,r=t.prefixCls,i=t.className,o=t.style,a=t.onClick,s="".concat(r,"-color-block");return se.createElement("div",{className:xe(s,i),style:o,onClick:a},se.createElement("div",{className:"".concat(s,"-inner"),style:{background:n}}))};function wXe(e){var t="touches"in e?e.touches[0]:e,n=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,r=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-n,pageY:t.pageY-r}}function sEe(e){var t=e.targetRef,n=e.containerRef,r=e.direction,i=e.onDragChange,o=e.onDragChangeComplete,a=e.calculate,s=e.color,l=e.disabledDrag,c=p.useState({x:0,y:0}),u=Ie(c,2),d=u[0],f=u[1],h=p.useRef(null),m=p.useRef(null);p.useEffect(function(){f(a())},[s]),p.useEffect(function(){return function(){document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",m.current),document.removeEventListener("touchmove",h.current),document.removeEventListener("touchend",m.current),h.current=null,m.current=null}},[]);var g=function(E){var C=wXe(E),S=C.pageX,w=C.pageY,T=n.current.getBoundingClientRect(),O=T.x,x=T.y,A=T.width,I=T.height,M=t.current.getBoundingClientRect(),B=M.width,P=M.height,k=B/2,N=P/2,L=Math.max(0,Math.min(S-O,A))-k,V=Math.max(0,Math.min(w-x,I))-N,$={x:L,y:r==="x"?d.y:V};if(B===0&&P===0||B!==P)return!1;i==null||i($)},v=function(E){E.preventDefault(),g(E)},y=function(E){E.preventDefault(),document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",m.current),document.removeEventListener("touchmove",h.current),document.removeEventListener("touchend",m.current),h.current=null,m.current=null,o==null||o()},b=function(E){document.removeEventListener("mousemove",h.current),document.removeEventListener("mouseup",m.current),!l&&(g(E),document.addEventListener("mousemove",v),document.addEventListener("mouseup",y),document.addEventListener("touchmove",v),document.addEventListener("touchend",y),h.current=v,m.current=y)};return[d,b]}var lEe=function(t){var n=t.size,r=n===void 0?"default":n,i=t.color,o=t.prefixCls;return se.createElement("div",{className:xe("".concat(o,"-handler"),ee({},"".concat(o,"-handler-sm"),r==="small")),style:{backgroundColor:i}})},cEe=function(t){var n=t.children,r=t.style,i=t.prefixCls;return se.createElement("div",{className:"".concat(i,"-palette"),style:G({position:"relative"},r)},n)},uEe=p.forwardRef(function(e,t){var n=e.children,r=e.x,i=e.y;return se.createElement("div",{ref:t,style:{position:"absolute",left:"".concat(r,"%"),top:"".concat(i,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},n)}),TXe=function(t){var n=t.color,r=t.onChange,i=t.prefixCls,o=t.onChangeComplete,a=t.disabled,s=p.useRef(),l=p.useRef(),c=p.useRef(n),u=Yn(function(g){var v=oEe({offset:g,targetRef:l,containerRef:s,color:n});c.current=v,r(v)}),d=sEe({color:n,containerRef:s,targetRef:l,calculate:function(){return aEe(n)},onDragChange:u,onDragChangeComplete:function(){return o==null?void 0:o(c.current)},disabledDrag:a}),f=Ie(d,2),h=f[0],m=f[1];return se.createElement("div",{ref:s,className:"".concat(i,"-select"),onMouseDown:m,onTouchStart:m},se.createElement(cEe,{prefixCls:i},se.createElement(uEe,{x:h.x,y:h.y,ref:l},se.createElement(lEe,{color:n.toRgbString(),prefixCls:i})),se.createElement("div",{className:"".concat(i,"-saturation"),style:{backgroundColor:"hsl(".concat(n.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},xXe=function(t,n){var r=Pn(t,{value:n}),i=Ie(r,2),o=i[0],a=i[1],s=p.useMemo(function(){return yy(o)},[o]);return[s,a]},OXe=function(t){var n=t.colors,r=t.children,i=t.direction,o=i===void 0?"to right":i,a=t.type,s=t.prefixCls,l=p.useMemo(function(){return n.map(function(c,u){var d=yy(c);return a==="alpha"&&u===n.length-1&&(d=new Od(d.setA(1))),d.toRgbString()}).join(",")},[n,a]);return se.createElement("div",{className:"".concat(s,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(o,", ").concat(l,")")}},r)},RXe=function(t){var n=t.prefixCls,r=t.colors,i=t.disabled,o=t.onChange,a=t.onChangeComplete,s=t.color,l=t.type,c=p.useRef(),u=p.useRef(),d=p.useRef(s),f=function(C){return l==="hue"?C.getHue():C.a*100},h=Yn(function(E){var C=oEe({offset:E,targetRef:u,containerRef:c,color:s,type:l});d.current=C,o(f(C))}),m=sEe({color:s,targetRef:u,containerRef:c,calculate:function(){return aEe(s,l)},onDragChange:h,onDragChangeComplete:function(){a(f(d.current))},direction:"x",disabledDrag:i}),g=Ie(m,2),v=g[0],y=g[1],b=se.useMemo(function(){if(l==="hue"){var E=s.toHsb();E.s=1,E.b=1,E.a=1;var C=new Od(E);return C}return s},[s,l]),_=se.useMemo(function(){return r.map(function(E){return"".concat(E.color," ").concat(E.percent,"%")})},[r]);return se.createElement("div",{ref:c,className:xe("".concat(n,"-slider"),"".concat(n,"-slider-").concat(l)),onMouseDown:y,onTouchStart:y},se.createElement(cEe,{prefixCls:n},se.createElement(uEe,{x:v.x,y:v.y,ref:u},se.createElement(lEe,{size:"small",color:b.toHexString(),prefixCls:n})),se.createElement(OXe,{colors:_,type:l,prefixCls:n})))};function IXe(e){return p.useMemo(function(){var t=e||{},n=t.slider;return[n||RXe]},[e])}var AXe=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],NXe=p.forwardRef(function(e,t){var n=e.value,r=e.defaultValue,i=e.prefixCls,o=i===void 0?EXe:i,a=e.onChange,s=e.onChangeComplete,l=e.className,c=e.style,u=e.panelRender,d=e.disabledAlpha,f=d===void 0?!1:d,h=e.disabled,m=h===void 0?!1:h,g=e.components,v=IXe(g),y=Ie(v,1),b=y[0],_=xXe(r||CXe,n),E=Ie(_,2),C=E[0],S=E[1],w=p.useMemo(function(){return C.setA(1).toRgbString()},[C]),T=function(V,$){n||S(V),a==null||a(V,$)},O=function(V){return new Od(C.setHue(V))},x=function(V){return new Od(C.setA(V/100))},A=function(V){T(O(V),{type:"hue",value:V})},I=function(V){T(x(V),{type:"alpha",value:V})},M=function(V){s&&s(O(V))},B=function(V){s&&s(x(V))},P=xe("".concat(o,"-panel"),l,ee({},"".concat(o,"-panel-disabled"),m)),k={prefixCls:o,disabled:m,color:C},N=se.createElement(se.Fragment,null,se.createElement(TXe,Ke({onChange:T},k,{onChangeComplete:s})),se.createElement("div",{className:"".concat(o,"-slider-container")},se.createElement("div",{className:xe("".concat(o,"-slider-group"),ee({},"".concat(o,"-slider-group-disabled-alpha"),f))},se.createElement(b,Ke({},k,{type:"hue",colors:AXe,min:0,max:359,value:C.getHue(),onChange:A,onChangeComplete:M})),!f&&se.createElement(b,Ke({},k,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:w}],min:0,max:100,value:C.a*100,onChange:I,onChangeComplete:B}))),se.createElement(Oq,{color:C.toRgbString(),prefixCls:o})));return se.createElement("div",{className:P,style:c,ref:t},typeof u=="function"?u(N):N)});const RC=(e,t)=>(e==null?void 0:e.replace(/[^\w/]/g,"").slice(0,t?8:6))||"",MXe=(e,t)=>e?RC(e,t):"";let pc=function(){function e(t){Kr(this,e);var n;if(this.cleared=!1,t instanceof e){this.metaColor=t.metaColor.clone(),this.colors=(n=t.colors)===null||n===void 0?void 0:n.map(i=>({color:new e(i.color),percent:i.percent})),this.cleared=t.cleared;return}const r=Array.isArray(t);r&&t.length?(this.colors=t.map(i=>{let{color:o,percent:a}=i;return{color:new e(o),percent:a}}),this.metaColor=new Od(this.colors[0].color.metaColor)):this.metaColor=new Od(r?"":t),(!t||r&&!this.colors)&&(this.metaColor=this.metaColor.setA(0),this.cleared=!0)}return Qr(e,[{key:"toHsb",value:function(){return this.metaColor.toHsb()}},{key:"toHsbString",value:function(){return this.metaColor.toHsbString()}},{key:"toHex",value:function(){return MXe(this.toHexString(),this.metaColor.a<1)}},{key:"toHexString",value:function(){return this.metaColor.toHexString()}},{key:"toRgb",value:function(){return this.metaColor.toRgb()}},{key:"toRgbString",value:function(){return this.metaColor.toRgbString()}},{key:"isGradient",value:function(){return!!this.colors&&!this.cleared}},{key:"getColors",value:function(){return this.colors||[{color:this,percent:0}]}},{key:"toCssString",value:function(){const{colors:n}=this;return n?`linear-gradient(90deg, ${n.map(i=>`${i.color.toRgbString()} ${i.percent}%`).join(", ")})`:this.metaColor.toRgbString()}},{key:"equals",value:function(n){return!n||this.isGradient()!==n.isGradient()?!1:this.isGradient()?this.colors.length===n.colors.length&&this.colors.every((r,i)=>{const o=n.colors[i];return r.percent===o.percent&&r.color.equals(o.color)}):this.toHexString()===n.toHexString()}}])}();var kXe={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"},PXe=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:kXe}))},uh=p.forwardRef(PXe),dEe=se.forwardRef(function(e,t){var n=e.prefixCls,r=e.forceRender,i=e.className,o=e.style,a=e.children,s=e.isActive,l=e.role,c=e.classNames,u=e.styles,d=se.useState(s||r),f=Ie(d,2),h=f[0],m=f[1];return se.useEffect(function(){(r||s)&&m(!0)},[r,s]),h?se.createElement("div",{ref:t,className:xe("".concat(n,"-content"),ee(ee({},"".concat(n,"-content-active"),s),"".concat(n,"-content-inactive"),!s),i),style:o,role:l},se.createElement("div",{className:xe("".concat(n,"-content-box"),c==null?void 0:c.body),style:u==null?void 0:u.body},a)):null});dEe.displayName="PanelContent";var DXe=["showArrow","headerClass","isActive","onItemClick","forceRender","className","classNames","styles","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],fEe=se.forwardRef(function(e,t){var n=e.showArrow,r=n===void 0?!0:n,i=e.headerClass,o=e.isActive,a=e.onItemClick,s=e.forceRender,l=e.className,c=e.classNames,u=c===void 0?{}:c,d=e.styles,f=d===void 0?{}:d,h=e.prefixCls,m=e.collapsible,g=e.accordion,v=e.panelKey,y=e.extra,b=e.header,_=e.expandIcon,E=e.openMotion,C=e.destroyInactivePanel,S=e.children,w=Dt(e,DXe),T=m==="disabled",O=y!=null&&typeof y!="boolean",x=ee(ee(ee({onClick:function(){a==null||a(v)},onKeyDown:function(N){(N.key==="Enter"||N.keyCode===dt.ENTER||N.which===dt.ENTER)&&(a==null||a(v))},role:g?"tab":"button"},"aria-expanded",o),"aria-disabled",T),"tabIndex",T?-1:0),A=typeof _=="function"?_(e):se.createElement("i",{className:"arrow"}),I=A&&se.createElement("div",Ke({className:"".concat(h,"-expand-icon")},["header","icon"].includes(m)?x:{}),A),M=xe("".concat(h,"-item"),ee(ee({},"".concat(h,"-item-active"),o),"".concat(h,"-item-disabled"),T),l),B=xe(i,"".concat(h,"-header"),ee({},"".concat(h,"-collapsible-").concat(m),!!m),u.header),P=G({className:B,style:f.header},["header","icon"].includes(m)?{}:x);return se.createElement("div",Ke({},w,{ref:t,className:M}),se.createElement("div",P,r&&I,se.createElement("span",Ke({className:"".concat(h,"-header-text")},m==="header"?x:{}),b),O&&se.createElement("div",{className:"".concat(h,"-extra")},y)),se.createElement(ia,Ke({visible:o,leavedClassName:"".concat(h,"-content-hidden")},E,{forceRender:s,removeOnLeave:C}),function(k,N){var L=k.className,V=k.style;return se.createElement(dEe,{ref:N,prefixCls:h,className:L,classNames:u,style:V,styles:f,isActive:o,forceRender:s,role:g?"tabpanel":void 0},S)}))}),LXe=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],$Xe=function(t,n){var r=n.prefixCls,i=n.accordion,o=n.collapsible,a=n.destroyInactivePanel,s=n.onItemClick,l=n.activeKey,c=n.openMotion,u=n.expandIcon;return t.map(function(d,f){var h=d.children,m=d.label,g=d.key,v=d.collapsible,y=d.onItemClick,b=d.destroyInactivePanel,_=Dt(d,LXe),E=String(g??f),C=v??o,S=b??a,w=function(x){C!=="disabled"&&(s(x),y==null||y(x))},T=!1;return i?T=l[0]===E:T=l.indexOf(E)>-1,se.createElement(fEe,Ke({},_,{prefixCls:r,key:E,panelKey:E,isActive:T,accordion:i,openMotion:c,expandIcon:u,header:m,collapsible:C,onItemClick:w,destroyInactivePanel:S}),h)})},FXe=function(t,n,r){if(!t)return null;var i=r.prefixCls,o=r.accordion,a=r.collapsible,s=r.destroyInactivePanel,l=r.onItemClick,c=r.activeKey,u=r.openMotion,d=r.expandIcon,f=t.key||String(n),h=t.props,m=h.header,g=h.headerClass,v=h.destroyInactivePanel,y=h.collapsible,b=h.onItemClick,_=!1;o?_=c[0]===f:_=c.indexOf(f)>-1;var E=y??a,C=function(T){E!=="disabled"&&(l(T),b==null||b(T))},S={key:f,panelKey:f,header:m,headerClass:g,isActive:_,prefixCls:i,destroyInactivePanel:v??s,openMotion:u,accordion:o,children:t.props.children,onItemClick:C,expandIcon:d,collapsible:E};return typeof t.type=="string"?t:(Object.keys(S).forEach(function(w){typeof S[w]>"u"&&delete S[w]}),se.cloneElement(t,S))};function BXe(e,t,n){return Array.isArray(e)?$Xe(e,n):ko(t).map(function(r,i){return FXe(r,i,n)})}function jXe(e){var t=e;if(!Array.isArray(t)){var n=Gt(t);t=n==="number"||n==="string"?[t]:[]}return t.map(function(r){return String(r)})}var HXe=se.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-collapse":n,i=e.destroyInactivePanel,o=i===void 0?!1:i,a=e.style,s=e.accordion,l=e.className,c=e.children,u=e.collapsible,d=e.openMotion,f=e.expandIcon,h=e.activeKey,m=e.defaultActiveKey,g=e.onChange,v=e.items,y=xe(r,l),b=Pn([],{value:h,onChange:function(O){return g==null?void 0:g(O)},defaultValue:m,postState:jXe}),_=Ie(b,2),E=_[0],C=_[1],S=function(O){return C(function(){if(s)return E[0]===O?[]:[O];var x=E.indexOf(O),A=x>-1;return A?E.filter(function(I){return I!==O}):[].concat(nt(E),[O])})};Yr(!c,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var w=BXe(v,c,{prefixCls:r,accordion:s,openMotion:d,expandIcon:f,collapsible:u,destroyInactivePanel:o,onItemClick:S,activeKey:E});return se.createElement("div",Ke({ref:t,className:y,style:a,role:s?"tablist":void 0},xi(e,{aria:!0,data:!0})),w)});const Rq=Object.assign(HXe,{Panel:fEe});Rq.Panel;const UXe=p.forwardRef((e,t)=>{const{getPrefixCls:n}=p.useContext(Xt),{prefixCls:r,className:i,showArrow:o=!0}=e,a=n("collapse",r),s=xe({[`${a}-no-arrow`]:!o},i);return p.createElement(Rq.Panel,Object.assign({ref:t},e,{prefixCls:a,className:s}))}),a2=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut}, - opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),zXe=e=>({animationDuration:e,animationFillMode:"both"}),VXe=e=>({animationDuration:e,animationFillMode:"both"}),MP=function(e,t,n,r){const o=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` + opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}}),zXe=e=>({animationDuration:e,animationFillMode:"both"}),VXe=e=>({animationDuration:e,animationFillMode:"both"}),M5=function(e,t,n,r){const o=(arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1)?"&":"";return{[` ${o}${e}-enter, ${o}${e}-appear `]:Object.assign(Object.assign({},zXe(r)),{animationPlayState:"paused"}),[`${o}${e}-leave`]:Object.assign(Object.assign({},VXe(r)),{animationPlayState:"paused"}),[` ${o}${e}-enter${e}-enter-active, ${o}${e}-appear${e}-appear-active - `]:{animationName:t,animationPlayState:"running"},[`${o}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},GXe=new fr("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),WXe=new fr("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),Iq=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,i=t?"&":"";return[MP(r,GXe,WXe,e.motionDurationMid,t),{[` + `]:{animationName:t,animationPlayState:"running"},[`${o}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}},GXe=new fr("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),WXe=new fr("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),Iq=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const{antCls:n}=e,r=`${n}-fade`,i=t?"&":"";return[M5(r,GXe,WXe,e.motionDurationMid,t),{[` ${i}${r}-enter, ${i}${r}-appear - `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${r}-leave`]:{animationTimingFunction:"linear"}}]},qXe=new fr("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),YXe=new fr("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),KXe=new fr("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),QXe=new fr("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),XXe=new fr("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ZXe=new fr("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),JXe=new fr("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eZe=new fr("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),tZe={"move-up":{inKeyframes:JXe,outKeyframes:eZe},"move-down":{inKeyframes:qXe,outKeyframes:YXe},"move-left":{inKeyframes:KXe,outKeyframes:QXe},"move-right":{inKeyframes:XXe,outKeyframes:ZXe}},f_=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=tZe[t];return[MP(r,i,o,e.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:"linear"},[`${i}${r}-leave`]:{animationTimingFunction:"linear"}}]},qXe=new fr("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),YXe=new fr("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),KXe=new fr("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),QXe=new fr("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),XXe=new fr("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),ZXe=new fr("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),JXe=new fr("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),eZe=new fr("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),tZe={"move-up":{inKeyframes:JXe,outKeyframes:eZe},"move-down":{inKeyframes:qXe,outKeyframes:YXe},"move-left":{inKeyframes:KXe,outKeyframes:QXe},"move-right":{inKeyframes:XXe,outKeyframes:ZXe}},f_=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=tZe[t];return[M5(r,i,o,e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},kP=new fr("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),PP=new fr("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),DP=new fr("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),LP=new fr("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),nZe=new fr("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),rZe=new fr("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),iZe=new fr("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),oZe=new fr("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),aZe={"slide-up":{inKeyframes:kP,outKeyframes:PP},"slide-down":{inKeyframes:DP,outKeyframes:LP},"slide-left":{inKeyframes:nZe,outKeyframes:rZe},"slide-right":{inKeyframes:iZe,outKeyframes:oZe}},$f=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=aZe[t];return[MP(r,i,o,e.motionDurationMid),{[` + `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},k5=new fr("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),P5=new fr("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),D5=new fr("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),L5=new fr("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),nZe=new fr("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),rZe=new fr("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),iZe=new fr("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),oZe=new fr("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),aZe={"slide-up":{inKeyframes:k5,outKeyframes:P5},"slide-down":{inKeyframes:D5,outKeyframes:L5},"slide-left":{inKeyframes:nZe,outKeyframes:rZe},"slide-right":{inKeyframes:iZe,outKeyframes:oZe}},$f=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=aZe[t];return[M5(r,i,o,e.motionDurationMid),{[` ${r}-enter, ${r}-appear - `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},Aq=new fr("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),sZe=new fr("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),ere=new fr("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),tre=new fr("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),lZe=new fr("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),cZe=new fr("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),uZe=new fr("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),dZe=new fr("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),fZe=new fr("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),pZe=new fr("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),hZe=new fr("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),mZe=new fr("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),gZe={zoom:{inKeyframes:Aq,outKeyframes:sZe},"zoom-big":{inKeyframes:ere,outKeyframes:tre},"zoom-big-fast":{inKeyframes:ere,outKeyframes:tre},"zoom-left":{inKeyframes:uZe,outKeyframes:dZe},"zoom-right":{inKeyframes:fZe,outKeyframes:pZe},"zoom-up":{inKeyframes:lZe,outKeyframes:cZe},"zoom-down":{inKeyframes:hZe,outKeyframes:mZe}},gS=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=gZe[t];return[MP(r,i,o,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` + `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]},Aq=new fr("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),sZe=new fr("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),ere=new fr("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),tre=new fr("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),lZe=new fr("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),cZe=new fr("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),uZe=new fr("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),dZe=new fr("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}}),fZe=new fr("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),pZe=new fr("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}}),hZe=new fr("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),mZe=new fr("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}}),gZe={zoom:{inKeyframes:Aq,outKeyframes:sZe},"zoom-big":{inKeyframes:ere,outKeyframes:tre},"zoom-big-fast":{inKeyframes:ere,outKeyframes:tre},"zoom-left":{inKeyframes:uZe,outKeyframes:dZe},"zoom-right":{inKeyframes:fZe,outKeyframes:pZe},"zoom-up":{inKeyframes:lZe,outKeyframes:cZe},"zoom-down":{inKeyframes:hZe,outKeyframes:mZe}},gS=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:o}=gZe[t];return[M5(r,i,o,t==="zoom-big-fast"?e.motionDurationFast:e.motionDurationMid),{[` ${r}-enter, ${r}-appear `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]},vZe=e=>{const{componentCls:t,contentBg:n,padding:r,headerBg:i,headerPadding:o,collapseHeaderPaddingSM:a,collapseHeaderPaddingLG:s,collapsePanelBorderRadius:l,lineWidth:c,lineType:u,colorBorder:d,colorText:f,colorTextHeading:h,colorTextDisabled:m,fontSizeLG:g,lineHeight:v,lineHeightLG:y,marginSM:b,paddingSM:_,paddingLG:E,paddingXS:C,motionDurationSlow:S,fontSizeIcon:w,contentPadding:T,fontHeight:O,fontHeightLG:x}=e,A=`${Ae(c)} ${u} ${d}`;return{[t]:Object.assign(Object.assign({},gr(e)),{backgroundColor:i,border:A,borderRadius:l,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:A,"&:first-child":{[` @@ -244,38 +244,38 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho & > ${t}-header`]:{borderRadius:`0 0 ${Ae(l)} ${Ae(l)}`}},[`> ${t}-header`]:Object.assign(Object.assign({position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:o,color:h,lineHeight:v,cursor:"pointer",transition:`all ${S}, visibility 0s`},Zs(e)),{[`> ${t}-header-text`]:{flex:"auto"},[`${t}-expand-icon`]:{height:O,display:"flex",alignItems:"center",paddingInlineEnd:b},[`${t}-arrow`]:Object.assign(Object.assign({},_0()),{fontSize:w,transition:`transform ${S}`,svg:{transition:`transform ${S}`}}),[`${t}-header-text`]:{marginInlineEnd:"auto"}}),[`${t}-collapsible-header`]:{cursor:"default",[`${t}-header-text`]:{flex:"none",cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-content`]:{color:f,backgroundColor:n,borderTop:A,[`& > ${t}-content-box`]:{padding:T},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:a,paddingInlineStart:C,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(_).sub(C).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:_}}},"&-large":{[`> ${t}-item`]:{fontSize:g,lineHeight:y,[`> ${t}-header`]:{padding:s,paddingInlineStart:r,[`> ${t}-expand-icon`]:{height:x,marginInlineStart:e.calc(E).sub(r).equal()}},[`> ${t}-content > ${t}-content-box`]:{padding:E}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-content`]:{borderRadius:`0 0 ${Ae(l)} ${Ae(l)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"\n &,\n & > .arrow\n ":{color:m,cursor:"not-allowed"}},[`&${t}-icon-position-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:b}}}}})}},bZe=e=>{const{componentCls:t}=e,n=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[n]:{transform:"rotate(180deg)"}}}},yZe=e=>{const{componentCls:t,headerBg:n,paddingXXS:r,colorBorder:i}=e;return{[`${t}-borderless`]:{backgroundColor:n,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${i}`},[` > ${t}-item:last-child, > ${t}-item:last-child ${t}-header - `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},_Ze=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},SZe=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),EZe=lr("Collapse",e=>{const t=Kn(e,{collapseHeaderPaddingSM:`${Ae(e.paddingXS)} ${Ae(e.paddingSM)}`,collapseHeaderPaddingLG:`${Ae(e.padding)} ${Ae(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[vZe(t),yZe(t),_Ze(t),bZe(t),a2(t)]},SZe),CZe=p.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,collapse:i}=p.useContext(Xt),{prefixCls:o,className:a,rootClassName:s,style:l,bordered:c=!0,ghost:u,size:d,expandIconPosition:f="start",children:h,expandIcon:m}=e,g=Co(A=>{var I;return(I=d??A)!==null&&I!==void 0?I:"middle"}),v=n("collapse",o),y=n(),[b,_,E]=EZe(v),C=p.useMemo(()=>f==="left"?"start":f==="right"?"end":f,[f]),S=m??(i==null?void 0:i.expandIcon),w=p.useCallback(function(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const I=typeof S=="function"?S(A):p.createElement(uh,{rotate:A.isActive?r==="rtl"?-90:90:void 0,"aria-label":A.isActive?"expanded":"collapsed"});return Eo(I,()=>{var M;return{className:xe((M=I==null?void 0:I.props)===null||M===void 0?void 0:M.className,`${v}-arrow`)}})},[S,v]),T=xe(`${v}-icon-position-${C}`,{[`${v}-borderless`]:!c,[`${v}-rtl`]:r==="rtl",[`${v}-ghost`]:!!u,[`${v}-${g}`]:g!=="middle"},i==null?void 0:i.className,a,s,_,E),O=Object.assign(Object.assign({},d_(y)),{motionAppear:!1,leavedClassName:`${v}-content-hidden`}),x=p.useMemo(()=>h?ko(h).map((A,I)=>{var M,B;const P=A.props;if(P!=null&&P.disabled){const k=(M=A.key)!==null&&M!==void 0?M:String(I),N=Object.assign(Object.assign({},ur(A.props,["disabled"])),{key:k,collapsible:(B=P.collapsible)!==null&&B!==void 0?B:"disabled"});return Eo(A,N)}return A}):null,[h]);return b(p.createElement(Rq,Object.assign({ref:t,openMotion:O},ur(e,["rootClassName"]),{expandIcon:w,prefixCls:v,className:T,style:Object.assign(Object.assign({},i==null?void 0:i.style),l)}),x))}),wZe=Object.assign(CZe,{Panel:UXe}),Ns=e=>e instanceof pc?e:new pc(e),$A=e=>Math.round(Number(e||0)),Nq=e=>$A(e.toHsb().a*100),FA=(e,t)=>{const n=e.toRgb();if(!n.r&&!n.g&&!n.b){const r=e.toHsb();return r.a=1,Ns(r)}return n.a=1,Ns(n)},pEe=(e,t)=>{const n=[{percent:0,color:e[0].color}].concat(nt(e),[{percent:100,color:e[e.length-1].color}]);for(let r=0;re.map(t=>(t.colors=t.colors.map(Ns),t)),hEe=(e,t)=>{const{r:n,g:r,b:i,a:o}=e.toRgb(),a=new Od(e.toRgbString()).onBackground(t).toHsv();return o<=.5?a.v>.5:n*.299+r*.587+i*.114>192},nre=(e,t)=>{var n;return`panel-${(n=e.key)!==null&&n!==void 0?n:t}`},TZe=e=>{let{prefixCls:t,presets:n,value:r,onChange:i}=e;const[o]=ds("ColorPicker"),[,a]=qo(),[s]=Pn(jL(n),{value:jL(n),postState:jL}),l=`${t}-presets`,c=p.useMemo(()=>s.reduce((f,h,m)=>{const{defaultOpen:g=!0}=h;return g&&f.push(nre(h,m)),f},[]),[s]),u=f=>{i==null||i(f)},d=s.map((f,h)=>{var m;return{key:nre(f,h),label:se.createElement("div",{className:`${l}-label`},f==null?void 0:f.label),children:se.createElement("div",{className:`${l}-items`},Array.isArray(f==null?void 0:f.colors)&&((m=f.colors)===null||m===void 0?void 0:m.length)>0?f.colors.map((g,v)=>se.createElement(Oq,{key:`preset-${v}-${g.toHexString()}`,color:Ns(g).toRgbString(),prefixCls:t,className:xe(`${l}-color`,{[`${l}-color-checked`]:g.toHexString()===(r==null?void 0:r.toHexString()),[`${l}-color-bright`]:hEe(g,a.colorBgElevated)}),onClick:()=>u(g)})):se.createElement("span",{className:`${l}-empty`},o.presetEmpty))}});return se.createElement("div",{className:l},se.createElement(wZe,{defaultActiveKey:c,ghost:!0,items:d}))},mEe=e=>{const{paddingInline:t,onlyIconSize:n}=e;return Kn(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},gEe=e=>{var t,n,r,i,o,a;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,u=(i=e.contentLineHeight)!==null&&i!==void 0?i:DA(s),d=(o=e.contentLineHeightSM)!==null&&o!==void 0?o:DA(l),f=(a=e.contentLineHeightLG)!==null&&a!==void 0?a:DA(c),h=hEe(new pc(e.colorBgSolid),"#fff")?"#000":"#fff";return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:h,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-s*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*f)/2-e.lineWidth,0)}},xZe=e=>{const{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:i,motionDurationSlow:o,motionEaseInOut:a,marginXS:s,calc:l}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${Ae(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:_0(),"> a":{color:"currentColor"},"&:not(:disabled)":Zs(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"},[`&${t}-round`]:{width:"auto"}},[`&${t}-loading`]:{opacity:i,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map(c=>`${c} ${o} ${a}`).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:l(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:l(s).mul(-1).equal()}}}}}},vEe=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),OZe=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),RZe=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),IZe=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Mq=(e,t,n,r,i,o,a,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},vEe(e,Object.assign({background:t},a),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:i||void 0,borderColor:o||void 0}})}),AZe=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},IZe(e))}),NZe=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),$P=(e,t,n,r)=>{const o=r&&["link","text"].includes(r)?NZe:AZe;return Object.assign(Object.assign({},o(e)),vEe(e.componentCls,t,n))},FP=(e,t,n,r,i)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},$P(e,r,i))}),BP=(e,t,n,r,i)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},$P(e,r,i))}),jP=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),HP=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},$P(e,n,r))}),mg=(e,t,n,r,i)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},$P(e,r,i,n))}),MZe=e=>{const{componentCls:t}=e;return Hv.reduce((n,r)=>{const i=e[`${r}6`],o=e[`${r}1`],a=e[`${r}5`],s=e[`${r}2`],l=e[`${r}3`],c=e[`${r}7`],u=`0 ${Ae(e.controlOutlineWidth)} 0 ${e[`${r}1`]}`;return Object.assign(Object.assign({},n),{[`&${t}-color-${r}`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:i,boxShadow:u},FP(e,e.colorTextLightSolid,i,{background:a},{background:c})),BP(e,i,e.colorBgContainer,{color:a,borderColor:a,background:e.colorBgContainer},{color:c,borderColor:c,background:e.colorBgContainer})),jP(e)),HP(e,o,{background:s},{background:l})),mg(e,i,"link",{color:a},{color:c})),mg(e,i,"text",{color:a,background:o},{color:c,background:l}))})},{})},kZe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},FP(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),jP(e)),HP(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),mg(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Mq(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),PZe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},BP(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),jP(e)),HP(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),mg(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),Mq(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),DZe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},FP(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),BP(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),jP(e)),HP(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),mg(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),mg(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),Mq(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),LZe=e=>{const{componentCls:t}=e;return Object.assign({[`${t}-color-default`]:kZe(e),[`${t}-color-primary`]:PZe(e),[`${t}-color-dangerous`]:DZe(e)},MZe(e))},$Ze=e=>Object.assign(Object.assign(Object.assign(Object.assign({},BP(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),mg(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),FP(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),mg(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),kq=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:i,borderRadius:o,buttonPaddingHorizontal:a,iconCls:s,buttonPaddingVertical:l,buttonIconOnlyFontSize:c}=e;return[{[t]:{fontSize:i,height:r,padding:`${Ae(l)} ${Ae(a)}`,borderRadius:o,[`&${n}-icon-only`]:{width:r,[s]:{fontSize:c}}}},{[`${n}${n}-circle${t}`]:OZe(e)},{[`${n}${n}-round${t}`]:RZe(e)}]},FZe=e=>{const t=Kn(e,{fontSize:e.contentFontSize});return kq(t,e.componentCls)},BZe=e=>{const t=Kn(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return kq(t,`${e.componentCls}-sm`)},jZe=e=>{const t=Kn(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return kq(t,`${e.componentCls}-lg`)},HZe=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},UZe=lr("Button",e=>{const t=mEe(e);return[xZe(t),FZe(t),BZe(t),jZe(t),HZe(t),LZe(t),$Ze(t),bXe(t)]},gEe,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function zZe(e,t,n){const{focusElCls:r,focus:i,borderElCls:o}=n,a=o?"> *":"",s=["hover",i?"focus":null,"active"].filter(Boolean).map(l=>`&:${l} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function VZe(e,t,n){const{borderElCls:r}=n,i=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function E0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},zZe(e,r,t)),VZe(n,r,t))}}function GZe(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function WZe(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function qZe(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},GZe(e,t)),WZe(e.componentCls,t))}}const YZe=e=>{const{componentCls:t,colorPrimaryHover:n,lineWidth:r,calc:i}=e,o=i(r).mul(-1).equal(),a=s=>{const l=`${t}-compact${s?"-vertical":""}-item${t}-primary:not([disabled])`;return{[`${l} + ${l}::before`]:{position:"absolute",top:s?o:0,insetInlineStart:s?0:o,backgroundColor:n,content:'""',width:s?"100%":r,height:s?r:"100%"}}};return Object.assign(Object.assign({},a()),a(!0))},KZe=pS(["Button","compact"],e=>{const t=mEe(e);return[E0(t),qZe(t),YZe(t)]},gEe);var QZe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r,i,o;const{loading:a=!1,prefixCls:s,color:l,variant:c,type:u,danger:d=!1,shape:f="default",size:h,styles:m,disabled:g,className:v,rootClassName:y,children:b,icon:_,iconPosition:E="start",ghost:C=!1,block:S=!1,htmlType:w="button",classNames:T,style:O={},autoInsertSpace:x,autoFocus:A}=e,I=QZe(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),M=u||"default",[B,P]=p.useMemo(()=>{if(l&&c)return[l,c];const Ve=ZZe[M]||[];return d?["danger",Ve[1]]:Ve},[u,l,c,d]),N=B==="danger"?"dangerous":B,{getPrefixCls:L,direction:V,button:$}=p.useContext(Xt),W=(n=x??($==null?void 0:$.autoInsertSpace))!==null&&n!==void 0?n:!0,j=L("btn",s),[U,Z,te]=UZe(j),ae=p.useContext(Wo),K=g??ae,Q=p.useContext(iEe),ie=p.useMemo(()=>XZe(a),[a]),[he,pe]=p.useState(ie.loading),[le,de]=p.useState(!1),ve=p.useRef(null),ne=$d(t,ve),ue=p.Children.count(b)===1&&!_&&!LL(P),ge=p.useRef(!0);se.useEffect(()=>(ge.current=!1,()=>{ge.current=!0}),[]),p.useEffect(()=>{let Ve=null;ie.delay>0?Ve=setTimeout(()=>{Ve=null,pe(!0)},ie.delay):pe(ie.loading);function re(){Ve&&(clearTimeout(Ve),Ve=null)}return re},[ie]),p.useEffect(()=>{if(!ve.current||!W)return;const Ve=ve.current.textContent||"";ue&&wH(Ve)?le||de(!0):le&&de(!1)}),p.useEffect(()=>{A&&ve.current&&ve.current.focus()},[]);const Ce=se.useCallback(Ve=>{var re;if(he||K){Ve.preventDefault();return}(re=e.onClick)===null||re===void 0||re.call(e,Ve)},[e.onClick,he,K]),{compactSize:Te,compactItemClassnames:Se}=Fd(j,V),me={large:"lg",small:"sm",middle:void 0},be=Co(Ve=>{var re,Me;return(Me=(re=h??Te)!==null&&re!==void 0?re:Q)!==null&&Me!==void 0?Me:Ve}),_e=be&&(r=me[be])!==null&&r!==void 0?r:"",Re=he?"loading":_,De=ur(I,["navigate"]),z=xe(j,Z,te,{[`${j}-${f}`]:f!=="default"&&f,[`${j}-${M}`]:M,[`${j}-dangerous`]:d,[`${j}-color-${N}`]:N,[`${j}-variant-${P}`]:P,[`${j}-${_e}`]:_e,[`${j}-icon-only`]:!b&&b!==0&&!!Re,[`${j}-background-ghost`]:C&&!LL(P),[`${j}-loading`]:he,[`${j}-two-chinese-chars`]:le&&W&&!he,[`${j}-block`]:S,[`${j}-rtl`]:V==="rtl",[`${j}-icon-end`]:E==="end"},Se,v,y,$==null?void 0:$.className),D=Object.assign(Object.assign({},$==null?void 0:$.style),O),q=xe(T==null?void 0:T.icon,(i=$==null?void 0:$.classNames)===null||i===void 0?void 0:i.icon),oe=Object.assign(Object.assign({},(m==null?void 0:m.icon)||{}),((o=$==null?void 0:$.styles)===null||o===void 0?void 0:o.icon)||{}),ye=_&&!he?se.createElement(TH,{prefixCls:j,className:q,style:oe},_):typeof a=="object"&&a.icon?se.createElement(TH,{prefixCls:j,className:q,style:oe},a.icon):se.createElement(vXe,{existIcon:!!_,prefixCls:j,loading:he,mount:ge.current}),ce=b||b===0?gXe(b,ue&&W):null;if(De.href!==void 0)return U(se.createElement("a",Object.assign({},De,{className:xe(z,{[`${j}-disabled`]:K}),href:K?void 0:De.href,style:D,onClick:Ce,ref:ne,tabIndex:K?-1:0}),ye,ce));let Be=se.createElement("button",Object.assign({},I,{type:w,className:z,style:D,onClick:Ce,disabled:K,ref:ne}),ye,ce,Se&&se.createElement(KZe,{prefixCls:j}));return LL(P)||(Be=se.createElement(o2,{component:"Button",disabled:he},Be)),U(Be)}),$n=JZe;$n.Group=hXe;$n.__ANT_BUTTON=!0;function HL(e){return!!(e!=null&&e.then)}const Pq=e=>{const{type:t,children:n,prefixCls:r,buttonProps:i,close:o,autoFocus:a,emitEvent:s,isSilent:l,quitOnNullishReturnValue:c,actionFn:u}=e,d=p.useRef(!1),f=p.useRef(null),[h,m]=jv(!1),g=function(){o==null||o.apply(void 0,arguments)};p.useEffect(()=>{let b=null;return a&&(b=setTimeout(()=>{var _;(_=f.current)===null||_===void 0||_.focus({preventScroll:!0})})),()=>{b&&clearTimeout(b)}},[]);const v=b=>{HL(b)&&(m(!0),b.then(function(){m(!1,!0),g.apply(void 0,arguments),d.current=!1},_=>{if(m(!1,!0),d.current=!1,!(l!=null&&l()))return Promise.reject(_)}))},y=b=>{if(d.current)return;if(d.current=!0,!u){g();return}let _;if(s){if(_=u(b),c&&!HL(_)){d.current=!1,g(b);return}}else if(u.length)_=u(o),d.current=!1;else if(_=u(),!HL(_)){g();return}v(_)};return p.createElement($n,Object.assign({},xq(t),{onClick:y,loading:h,prefixCls:r},i,{ref:f}),n)},s2=se.createContext({}),{Provider:bEe}=s2,rre=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:o,close:a,onCancel:s,onConfirm:l}=p.useContext(s2);return i?se.createElement(Pq,{isSilent:r,actionFn:s,close:function(){a==null||a.apply(void 0,arguments),l==null||l(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${o}-btn`},n):null},ire=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:o,okType:a,onConfirm:s,onOk:l}=p.useContext(s2);return se.createElement(Pq,{isSilent:n,type:a||"primary",actionFn:l,close:function(){t==null||t.apply(void 0,arguments),s==null||s(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${i}-btn`},o)};var yEe=p.createContext(null),ore=[];function eJe(e,t){var n=p.useState(function(){if(!Xs())return null;var m=document.createElement("div");return m}),r=Ie(n,1),i=r[0],o=p.useRef(!1),a=p.useContext(yEe),s=p.useState(ore),l=Ie(s,2),c=l[0],u=l[1],d=a||(o.current?void 0:function(m){u(function(g){var v=[m].concat(nt(g));return v})});function f(){i.parentElement||document.body.appendChild(i),o.current=!0}function h(){var m;(m=i.parentElement)===null||m===void 0||m.removeChild(i),o.current=!1}return ar(function(){return e?a?a(f):f():h(),h},[e]),ar(function(){c.length&&(c.forEach(function(m){return m()}),u(ore))},[c]),[i,d]}var UL;function _Ee(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var i,o;if(e){var a=getComputedStyle(e);r.scrollbarColor=a.scrollbarColor,r.scrollbarWidth=a.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(s.width,10),c=parseInt(s.height,10);try{var u=l?"width: ".concat(s.width,";"):"",d=c?"height: ".concat(s.height,";"):"";TP(` + `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${t}-item > ${t}-content > ${t}-content-box`]:{paddingTop:r}}}},_Ze=e=>{const{componentCls:t,paddingSM:n}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-content`]:{backgroundColor:"transparent",border:0,[`> ${t}-content-box`]:{paddingBlock:n}}}}}},SZe=e=>({headerPadding:`${e.paddingSM}px ${e.padding}px`,headerBg:e.colorFillAlter,contentPadding:`${e.padding}px 16px`,contentBg:e.colorBgContainer}),EZe=lr("Collapse",e=>{const t=Kn(e,{collapseHeaderPaddingSM:`${Ae(e.paddingXS)} ${Ae(e.paddingSM)}`,collapseHeaderPaddingLG:`${Ae(e.padding)} ${Ae(e.paddingLG)}`,collapsePanelBorderRadius:e.borderRadiusLG});return[vZe(t),yZe(t),_Ze(t),bZe(t),a2(t)]},SZe),CZe=p.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r,collapse:i}=p.useContext(Xt),{prefixCls:o,className:a,rootClassName:s,style:l,bordered:c=!0,ghost:u,size:d,expandIconPosition:f="start",children:h,expandIcon:m}=e,g=Co(A=>{var I;return(I=d??A)!==null&&I!==void 0?I:"middle"}),v=n("collapse",o),y=n(),[b,_,E]=EZe(v),C=p.useMemo(()=>f==="left"?"start":f==="right"?"end":f,[f]),S=m??(i==null?void 0:i.expandIcon),w=p.useCallback(function(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const I=typeof S=="function"?S(A):p.createElement(uh,{rotate:A.isActive?r==="rtl"?-90:90:void 0,"aria-label":A.isActive?"expanded":"collapsed"});return Eo(I,()=>{var M;return{className:xe((M=I==null?void 0:I.props)===null||M===void 0?void 0:M.className,`${v}-arrow`)}})},[S,v]),T=xe(`${v}-icon-position-${C}`,{[`${v}-borderless`]:!c,[`${v}-rtl`]:r==="rtl",[`${v}-ghost`]:!!u,[`${v}-${g}`]:g!=="middle"},i==null?void 0:i.className,a,s,_,E),O=Object.assign(Object.assign({},d_(y)),{motionAppear:!1,leavedClassName:`${v}-content-hidden`}),x=p.useMemo(()=>h?ko(h).map((A,I)=>{var M,B;const P=A.props;if(P!=null&&P.disabled){const k=(M=A.key)!==null&&M!==void 0?M:String(I),N=Object.assign(Object.assign({},ur(A.props,["disabled"])),{key:k,collapsible:(B=P.collapsible)!==null&&B!==void 0?B:"disabled"});return Eo(A,N)}return A}):null,[h]);return b(p.createElement(Rq,Object.assign({ref:t,openMotion:O},ur(e,["rootClassName"]),{expandIcon:w,prefixCls:v,className:T,style:Object.assign(Object.assign({},i==null?void 0:i.style),l)}),x))}),wZe=Object.assign(CZe,{Panel:UXe}),Ns=e=>e instanceof pc?e:new pc(e),$A=e=>Math.round(Number(e||0)),Nq=e=>$A(e.toHsb().a*100),FA=(e,t)=>{const n=e.toRgb();if(!n.r&&!n.g&&!n.b){const r=e.toHsb();return r.a=1,Ns(r)}return n.a=1,Ns(n)},pEe=(e,t)=>{const n=[{percent:0,color:e[0].color}].concat(nt(e),[{percent:100,color:e[e.length-1].color}]);for(let r=0;re.map(t=>(t.colors=t.colors.map(Ns),t)),hEe=(e,t)=>{const{r:n,g:r,b:i,a:o}=e.toRgb(),a=new Od(e.toRgbString()).onBackground(t).toHsv();return o<=.5?a.v>.5:n*.299+r*.587+i*.114>192},nre=(e,t)=>{var n;return`panel-${(n=e.key)!==null&&n!==void 0?n:t}`},TZe=e=>{let{prefixCls:t,presets:n,value:r,onChange:i}=e;const[o]=ds("ColorPicker"),[,a]=qo(),[s]=Pn(jL(n),{value:jL(n),postState:jL}),l=`${t}-presets`,c=p.useMemo(()=>s.reduce((f,h,m)=>{const{defaultOpen:g=!0}=h;return g&&f.push(nre(h,m)),f},[]),[s]),u=f=>{i==null||i(f)},d=s.map((f,h)=>{var m;return{key:nre(f,h),label:se.createElement("div",{className:`${l}-label`},f==null?void 0:f.label),children:se.createElement("div",{className:`${l}-items`},Array.isArray(f==null?void 0:f.colors)&&((m=f.colors)===null||m===void 0?void 0:m.length)>0?f.colors.map((g,v)=>se.createElement(Oq,{key:`preset-${v}-${g.toHexString()}`,color:Ns(g).toRgbString(),prefixCls:t,className:xe(`${l}-color`,{[`${l}-color-checked`]:g.toHexString()===(r==null?void 0:r.toHexString()),[`${l}-color-bright`]:hEe(g,a.colorBgElevated)}),onClick:()=>u(g)})):se.createElement("span",{className:`${l}-empty`},o.presetEmpty))}});return se.createElement("div",{className:l},se.createElement(wZe,{defaultActiveKey:c,ghost:!0,items:d}))},mEe=e=>{const{paddingInline:t,onlyIconSize:n}=e;return Kn(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:0,buttonIconOnlyFontSize:n})},gEe=e=>{var t,n,r,i,o,a;const s=(t=e.contentFontSize)!==null&&t!==void 0?t:e.fontSize,l=(n=e.contentFontSizeSM)!==null&&n!==void 0?n:e.fontSize,c=(r=e.contentFontSizeLG)!==null&&r!==void 0?r:e.fontSizeLG,u=(i=e.contentLineHeight)!==null&&i!==void 0?i:DA(s),d=(o=e.contentLineHeightSM)!==null&&o!==void 0?o:DA(l),f=(a=e.contentLineHeightLG)!==null&&a!==void 0?a:DA(c),h=hEe(new pc(e.colorBgSolid),"#fff")?"#000":"#fff";return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:"inherit",onlyIconSizeSM:"inherit",onlyIconSizeLG:"inherit",groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textTextColor:e.colorText,textTextHoverColor:e.colorText,textTextActiveColor:e.colorText,textHoverBg:e.colorFillTertiary,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,solidTextColor:h,contentFontSize:s,contentFontSizeSM:l,contentFontSizeLG:c,contentLineHeight:u,contentLineHeightSM:d,contentLineHeightLG:f,paddingBlock:Math.max((e.controlHeight-s*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*d)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-c*f)/2-e.lineWidth,0)}},xZe=e=>{const{componentCls:t,iconCls:n,fontWeight:r,opacityLoading:i,motionDurationSlow:o,motionEaseInOut:a,marginXS:s,calc:l}=e;return{[t]:{outline:"none",position:"relative",display:"inline-flex",gap:e.marginXS,alignItems:"center",justifyContent:"center",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${Ae(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},[`${t}-icon > svg`]:_0(),"> a":{color:"currentColor"},"&:not(:disabled)":Zs(e),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&${t}-icon-only`]:{paddingInline:0,[`&${t}-compact-item`]:{flex:"none"},[`&${t}-round`]:{width:"auto"}},[`&${t}-loading`]:{opacity:i,cursor:"default"},[`${t}-loading-icon`]:{transition:["width","opacity","margin"].map(c=>`${c} ${o} ${a}`).join(",")},[`&:not(${t}-icon-end)`]:{[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineEnd:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineEnd:0},"&-leave-start":{marginInlineEnd:0},"&-leave-active":{marginInlineEnd:l(s).mul(-1).equal()}}},"&-icon-end":{flexDirection:"row-reverse",[`${t}-loading-icon-motion`]:{"&-appear-start, &-enter-start":{marginInlineStart:l(s).mul(-1).equal()},"&-appear-active, &-enter-active":{marginInlineStart:0},"&-leave-start":{marginInlineStart:0},"&-leave-active":{marginInlineStart:l(s).mul(-1).equal()}}}}}},vEe=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),OZe=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),RZe=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),IZe=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Mq=(e,t,n,r,i,o,a,s)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},vEe(e,Object.assign({background:t},a),Object.assign({background:t},s))),{"&:disabled":{cursor:"not-allowed",color:i||void 0,borderColor:o||void 0}})}),AZe=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},IZe(e))}),NZe=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),$5=(e,t,n,r)=>{const o=r&&["link","text"].includes(r)?NZe:AZe;return Object.assign(Object.assign({},o(e)),vEe(e.componentCls,t,n))},F5=(e,t,n,r,i)=>({[`&${e.componentCls}-variant-solid`]:Object.assign({color:t,background:n},$5(e,r,i))}),B5=(e,t,n,r,i)=>({[`&${e.componentCls}-variant-outlined, &${e.componentCls}-variant-dashed`]:Object.assign({borderColor:t,background:n},$5(e,r,i))}),j5=e=>({[`&${e.componentCls}-variant-dashed`]:{borderStyle:"dashed"}}),H5=(e,t,n,r)=>({[`&${e.componentCls}-variant-filled`]:Object.assign({boxShadow:"none",background:t},$5(e,n,r))}),mg=(e,t,n,r,i)=>({[`&${e.componentCls}-variant-${n}`]:Object.assign({color:t,boxShadow:"none"},$5(e,r,i,n))}),MZe=e=>{const{componentCls:t}=e;return Hv.reduce((n,r)=>{const i=e[`${r}6`],o=e[`${r}1`],a=e[`${r}5`],s=e[`${r}2`],l=e[`${r}3`],c=e[`${r}7`],u=`0 ${Ae(e.controlOutlineWidth)} 0 ${e[`${r}1`]}`;return Object.assign(Object.assign({},n),{[`&${t}-color-${r}`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:i,boxShadow:u},F5(e,e.colorTextLightSolid,i,{background:a},{background:c})),B5(e,i,e.colorBgContainer,{color:a,borderColor:a,background:e.colorBgContainer},{color:c,borderColor:c,background:e.colorBgContainer})),j5(e)),H5(e,o,{background:s},{background:l})),mg(e,i,"link",{color:a},{color:c})),mg(e,i,"text",{color:a,background:o},{color:c,background:l}))})},{})},kZe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.defaultColor,boxShadow:e.defaultShadow},F5(e,e.solidTextColor,e.colorBgSolid,{color:e.solidTextColor,background:e.colorBgSolidHover},{color:e.solidTextColor,background:e.colorBgSolidActive})),j5(e)),H5(e,e.colorFillTertiary,{background:e.colorFillSecondary},{background:e.colorFill})),mg(e,e.textTextColor,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Mq(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),PZe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorPrimary,boxShadow:e.primaryShadow},B5(e,e.colorPrimary,e.colorBgContainer,{color:e.colorPrimaryTextHover,borderColor:e.colorPrimaryHover,background:e.colorBgContainer},{color:e.colorPrimaryTextActive,borderColor:e.colorPrimaryActive,background:e.colorBgContainer})),j5(e)),H5(e,e.colorPrimaryBg,{background:e.colorPrimaryBgHover},{background:e.colorPrimaryBorder})),mg(e,e.colorLink,"text",{color:e.colorPrimaryTextHover,background:e.colorPrimaryBg},{color:e.colorPrimaryTextActive,background:e.colorPrimaryBorder})),Mq(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),DZe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({color:e.colorError,boxShadow:e.dangerShadow},F5(e,e.dangerColor,e.colorError,{background:e.colorErrorHover},{background:e.colorErrorActive})),B5(e,e.colorError,e.colorBgContainer,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),j5(e)),H5(e,e.colorErrorBg,{background:e.colorErrorBgFilledHover},{background:e.colorErrorBgActive})),mg(e,e.colorError,"text",{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive})),mg(e,e.colorError,"link",{color:e.colorErrorHover},{color:e.colorErrorActive})),Mq(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),LZe=e=>{const{componentCls:t}=e;return Object.assign({[`${t}-color-default`]:kZe(e),[`${t}-color-primary`]:PZe(e),[`${t}-color-dangerous`]:DZe(e)},MZe(e))},$Ze=e=>Object.assign(Object.assign(Object.assign(Object.assign({},B5(e,e.defaultBorderColor,e.defaultBg,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),mg(e,e.textTextColor,"text",{color:e.textTextHoverColor,background:e.textHoverBg},{color:e.textTextActiveColor,background:e.colorBgTextActive})),F5(e,e.primaryColor,e.colorPrimary,{background:e.colorPrimaryHover,color:e.primaryColor},{background:e.colorPrimaryActive,color:e.primaryColor})),mg(e,e.colorLink,"link",{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),kq=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:i,borderRadius:o,buttonPaddingHorizontal:a,iconCls:s,buttonPaddingVertical:l,buttonIconOnlyFontSize:c}=e;return[{[t]:{fontSize:i,height:r,padding:`${Ae(l)} ${Ae(a)}`,borderRadius:o,[`&${n}-icon-only`]:{width:r,[s]:{fontSize:c}}}},{[`${n}${n}-circle${t}`]:OZe(e)},{[`${n}${n}-round${t}`]:RZe(e)}]},FZe=e=>{const t=Kn(e,{fontSize:e.contentFontSize});return kq(t,e.componentCls)},BZe=e=>{const t=Kn(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:0,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return kq(t,`${e.componentCls}-sm`)},jZe=e=>{const t=Kn(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:0,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return kq(t,`${e.componentCls}-lg`)},HZe=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},UZe=lr("Button",e=>{const t=mEe(e);return[xZe(t),FZe(t),BZe(t),jZe(t),HZe(t),LZe(t),$Ze(t),bXe(t)]},gEe,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});function zZe(e,t,n){const{focusElCls:r,focus:i,borderElCls:o}=n,a=o?"> *":"",s=["hover",i?"focus":null,"active"].filter(Boolean).map(l=>`&:${l} ${a}`).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[s]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function VZe(e,t,n){const{borderElCls:r}=n,i=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${i}, &${e}-sm ${i}, &${e}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function E0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{focus:!0};const{componentCls:n}=e,r=`${n}-compact`;return{[r]:Object.assign(Object.assign({},zZe(e,r,t)),VZe(n,r,t))}}function GZe(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function WZe(e,t){return{[`&-item:not(${t}-first-item):not(${t}-last-item)`]:{borderRadius:0},[`&-item${t}-first-item:not(${t}-last-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${t}-last-item:not(${t}-first-item)`]:{[`&, &${e}-sm, &${e}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}}function qZe(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},GZe(e,t)),WZe(e.componentCls,t))}}const YZe=e=>{const{componentCls:t,colorPrimaryHover:n,lineWidth:r,calc:i}=e,o=i(r).mul(-1).equal(),a=s=>{const l=`${t}-compact${s?"-vertical":""}-item${t}-primary:not([disabled])`;return{[`${l} + ${l}::before`]:{position:"absolute",top:s?o:0,insetInlineStart:s?0:o,backgroundColor:n,content:'""',width:s?"100%":r,height:s?r:"100%"}}};return Object.assign(Object.assign({},a()),a(!0))},KZe=pS(["Button","compact"],e=>{const t=mEe(e);return[E0(t),qZe(t),YZe(t)]},gEe);var QZe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r,i,o;const{loading:a=!1,prefixCls:s,color:l,variant:c,type:u,danger:d=!1,shape:f="default",size:h,styles:m,disabled:g,className:v,rootClassName:y,children:b,icon:_,iconPosition:E="start",ghost:C=!1,block:S=!1,htmlType:w="button",classNames:T,style:O={},autoInsertSpace:x,autoFocus:A}=e,I=QZe(e,["loading","prefixCls","color","variant","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace","autoFocus"]),M=u||"default",[B,P]=p.useMemo(()=>{if(l&&c)return[l,c];const Ve=ZZe[M]||[];return d?["danger",Ve[1]]:Ve},[u,l,c,d]),N=B==="danger"?"dangerous":B,{getPrefixCls:L,direction:V,button:$}=p.useContext(Xt),W=(n=x??($==null?void 0:$.autoInsertSpace))!==null&&n!==void 0?n:!0,j=L("btn",s),[U,Z,te]=UZe(j),ae=p.useContext(Wo),K=g??ae,Q=p.useContext(iEe),ie=p.useMemo(()=>XZe(a),[a]),[he,pe]=p.useState(ie.loading),[le,de]=p.useState(!1),ve=p.useRef(null),ne=$d(t,ve),ue=p.Children.count(b)===1&&!_&&!LL(P),ge=p.useRef(!0);se.useEffect(()=>(ge.current=!1,()=>{ge.current=!0}),[]),p.useEffect(()=>{let Ve=null;ie.delay>0?Ve=setTimeout(()=>{Ve=null,pe(!0)},ie.delay):pe(ie.loading);function re(){Ve&&(clearTimeout(Ve),Ve=null)}return re},[ie]),p.useEffect(()=>{if(!ve.current||!W)return;const Ve=ve.current.textContent||"";ue&&wH(Ve)?le||de(!0):le&&de(!1)}),p.useEffect(()=>{A&&ve.current&&ve.current.focus()},[]);const Ce=se.useCallback(Ve=>{var re;if(he||K){Ve.preventDefault();return}(re=e.onClick)===null||re===void 0||re.call(e,Ve)},[e.onClick,he,K]),{compactSize:Te,compactItemClassnames:Se}=Fd(j,V),me={large:"lg",small:"sm",middle:void 0},be=Co(Ve=>{var re,Me;return(Me=(re=h??Te)!==null&&re!==void 0?re:Q)!==null&&Me!==void 0?Me:Ve}),_e=be&&(r=me[be])!==null&&r!==void 0?r:"",Re=he?"loading":_,De=ur(I,["navigate"]),z=xe(j,Z,te,{[`${j}-${f}`]:f!=="default"&&f,[`${j}-${M}`]:M,[`${j}-dangerous`]:d,[`${j}-color-${N}`]:N,[`${j}-variant-${P}`]:P,[`${j}-${_e}`]:_e,[`${j}-icon-only`]:!b&&b!==0&&!!Re,[`${j}-background-ghost`]:C&&!LL(P),[`${j}-loading`]:he,[`${j}-two-chinese-chars`]:le&&W&&!he,[`${j}-block`]:S,[`${j}-rtl`]:V==="rtl",[`${j}-icon-end`]:E==="end"},Se,v,y,$==null?void 0:$.className),D=Object.assign(Object.assign({},$==null?void 0:$.style),O),q=xe(T==null?void 0:T.icon,(i=$==null?void 0:$.classNames)===null||i===void 0?void 0:i.icon),oe=Object.assign(Object.assign({},(m==null?void 0:m.icon)||{}),((o=$==null?void 0:$.styles)===null||o===void 0?void 0:o.icon)||{}),ye=_&&!he?se.createElement(TH,{prefixCls:j,className:q,style:oe},_):typeof a=="object"&&a.icon?se.createElement(TH,{prefixCls:j,className:q,style:oe},a.icon):se.createElement(vXe,{existIcon:!!_,prefixCls:j,loading:he,mount:ge.current}),ce=b||b===0?gXe(b,ue&&W):null;if(De.href!==void 0)return U(se.createElement("a",Object.assign({},De,{className:xe(z,{[`${j}-disabled`]:K}),href:K?void 0:De.href,style:D,onClick:Ce,ref:ne,tabIndex:K?-1:0}),ye,ce));let Be=se.createElement("button",Object.assign({},I,{type:w,className:z,style:D,onClick:Ce,disabled:K,ref:ne}),ye,ce,Se&&se.createElement(KZe,{prefixCls:j}));return LL(P)||(Be=se.createElement(o2,{component:"Button",disabled:he},Be)),U(Be)}),$n=JZe;$n.Group=hXe;$n.__ANT_BUTTON=!0;function HL(e){return!!(e!=null&&e.then)}const Pq=e=>{const{type:t,children:n,prefixCls:r,buttonProps:i,close:o,autoFocus:a,emitEvent:s,isSilent:l,quitOnNullishReturnValue:c,actionFn:u}=e,d=p.useRef(!1),f=p.useRef(null),[h,m]=jv(!1),g=function(){o==null||o.apply(void 0,arguments)};p.useEffect(()=>{let b=null;return a&&(b=setTimeout(()=>{var _;(_=f.current)===null||_===void 0||_.focus({preventScroll:!0})})),()=>{b&&clearTimeout(b)}},[]);const v=b=>{HL(b)&&(m(!0),b.then(function(){m(!1,!0),g.apply(void 0,arguments),d.current=!1},_=>{if(m(!1,!0),d.current=!1,!(l!=null&&l()))return Promise.reject(_)}))},y=b=>{if(d.current)return;if(d.current=!0,!u){g();return}let _;if(s){if(_=u(b),c&&!HL(_)){d.current=!1,g(b);return}}else if(u.length)_=u(o),d.current=!1;else if(_=u(),!HL(_)){g();return}v(_)};return p.createElement($n,Object.assign({},xq(t),{onClick:y,loading:h,prefixCls:r},i,{ref:f}),n)},s2=se.createContext({}),{Provider:bEe}=s2,rre=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:i,rootPrefixCls:o,close:a,onCancel:s,onConfirm:l}=p.useContext(s2);return i?se.createElement(Pq,{isSilent:r,actionFn:s,close:function(){a==null||a.apply(void 0,arguments),l==null||l(!1)},autoFocus:e==="cancel",buttonProps:t,prefixCls:`${o}-btn`},n):null},ire=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:i,okTextLocale:o,okType:a,onConfirm:s,onOk:l}=p.useContext(s2);return se.createElement(Pq,{isSilent:n,type:a||"primary",actionFn:l,close:function(){t==null||t.apply(void 0,arguments),s==null||s(!0)},autoFocus:e==="ok",buttonProps:r,prefixCls:`${i}-btn`},o)};var yEe=p.createContext(null),ore=[];function eJe(e,t){var n=p.useState(function(){if(!Xs())return null;var m=document.createElement("div");return m}),r=Ie(n,1),i=r[0],o=p.useRef(!1),a=p.useContext(yEe),s=p.useState(ore),l=Ie(s,2),c=l[0],u=l[1],d=a||(o.current?void 0:function(m){u(function(g){var v=[m].concat(nt(g));return v})});function f(){i.parentElement||document.body.appendChild(i),o.current=!0}function h(){var m;(m=i.parentElement)===null||m===void 0||m.removeChild(i),o.current=!1}return ar(function(){return e?a?a(f):f():h(),h},[e]),ar(function(){c.length&&(c.forEach(function(m){return m()}),u(ore))},[c]),[i,d]}var UL;function _Ee(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r=n.style;r.position="absolute",r.left="0",r.top="0",r.width="100px",r.height="100px",r.overflow="scroll";var i,o;if(e){var a=getComputedStyle(e);r.scrollbarColor=a.scrollbarColor,r.scrollbarWidth=a.scrollbarWidth;var s=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(s.width,10),c=parseInt(s.height,10);try{var u=l?"width: ".concat(s.width,";"):"",d=c?"height: ".concat(s.height,";"):"";T5(` #`.concat(t,`::-webkit-scrollbar { `).concat(u,` `).concat(d,` -}`),t)}catch(m){console.error(m),i=l,o=c}}document.body.appendChild(n);var f=e&&i&&!isNaN(i)?i:n.offsetWidth-n.clientWidth,h=e&&o&&!isNaN(o)?o:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),fH(t),{width:f,height:h}}function are(e){return typeof document>"u"?0:(UL===void 0&&(UL=_Ee()),UL.width)}function xH(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:_Ee(e)}function tJe(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var nJe="rc-util-locker-".concat(Date.now()),sre=0;function rJe(e){var t=!!e,n=p.useState(function(){return sre+=1,"".concat(nJe,"_").concat(sre)}),r=Ie(n,1),i=r[0];ar(function(){if(t){var o=xH(document.body).width,a=tJe();TP(` +}`),t)}catch(m){console.error(m),i=l,o=c}}document.body.appendChild(n);var f=e&&i&&!isNaN(i)?i:n.offsetWidth-n.clientWidth,h=e&&o&&!isNaN(o)?o:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),fH(t),{width:f,height:h}}function are(e){return typeof document>"u"?0:(UL===void 0&&(UL=_Ee()),UL.width)}function xH(e){return typeof document>"u"||!e||!(e instanceof Element)?{width:0,height:0}:_Ee(e)}function tJe(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var nJe="rc-util-locker-".concat(Date.now()),sre=0;function rJe(e){var t=!!e,n=p.useState(function(){return sre+=1,"".concat(nJe,"_").concat(sre)}),r=Ie(n,1),i=r[0];ar(function(){if(t){var o=xH(document.body).width,a=tJe();T5(` html body { overflow-y: hidden; `.concat(a?"width: calc(100% - ".concat(o,"px);"):"",` -}`),i)}else fH(i);return function(){fH(i)}},[t,i])}var iJe=!1;function oJe(e){return iJe}var lre=function(t){return t===!1?!1:!Xs()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},l2=p.forwardRef(function(e,t){var n=e.open,r=e.autoLock,i=e.getContainer;e.debug;var o=e.autoDestroy,a=o===void 0?!0:o,s=e.children,l=p.useState(n),c=Ie(l,2),u=c[0],d=c[1],f=u||n;p.useEffect(function(){(a||n)&&d(n)},[n,a]);var h=p.useState(function(){return lre(i)}),m=Ie(h,2),g=m[0],v=m[1];p.useEffect(function(){var A=lre(i);v(A??null)});var y=eJe(f&&!g),b=Ie(y,2),_=b[0],E=b[1],C=g??_;rJe(r&&n&&Xs()&&(C===_||C===document.body));var S=null;if(s&&Cd(s)&&t){var w=s;S=w.ref}var T=$d(S,t);if(!f||!Xs()||g===void 0)return null;var O=C===!1||oJe(),x=s;return t&&(x=p.cloneElement(s,{ref:T})),p.createElement(yEe.Provider,{value:E},O?x:Ml.createPortal(x,C))}),SEe=p.createContext({});function aJe(){var e=G({},$x);return e.useId}var cre=0,ure=aJe();const UP=ure?function(t){var n=ure();return t||n}:function(t){var n=p.useState("ssr-id"),r=Ie(n,2),i=r[0],o=r[1];return p.useEffect(function(){var a=cre;cre+=1,o("rc_unique_".concat(a))},[]),t||i};function dre(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function fre(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var i=e.document;n=i.documentElement[r],typeof n!="number"&&(n=i.body[r])}return n}function sJe(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=fre(i),n.top+=fre(i,!0),n}const lJe=p.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var cJe={width:0,height:0,overflow:"hidden",outline:"none"},uJe={outline:"none"},EEe=se.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.style,o=e.title,a=e.ariaId,s=e.footer,l=e.closable,c=e.closeIcon,u=e.onClose,d=e.children,f=e.bodyStyle,h=e.bodyProps,m=e.modalRender,g=e.onMouseDown,v=e.onMouseUp,y=e.holderRef,b=e.visible,_=e.forceRender,E=e.width,C=e.height,S=e.classNames,w=e.styles,T=se.useContext(SEe),O=T.panel,x=$d(y,O),A=p.useRef(),I=p.useRef();se.useImperativeHandle(t,function(){return{focus:function(){var j;(j=A.current)===null||j===void 0||j.focus({preventScroll:!0})},changeActive:function(j){var U=document,Z=U.activeElement;j&&Z===I.current?A.current.focus({preventScroll:!0}):!j&&Z===A.current&&I.current.focus({preventScroll:!0})}}});var M={};E!==void 0&&(M.width=E),C!==void 0&&(M.height=C);var B=s?se.createElement("div",{className:xe("".concat(n,"-footer"),S==null?void 0:S.footer),style:G({},w==null?void 0:w.footer)},s):null,P=o?se.createElement("div",{className:xe("".concat(n,"-header"),S==null?void 0:S.header),style:G({},w==null?void 0:w.header)},se.createElement("div",{className:"".concat(n,"-title"),id:a},o)):null,k=p.useMemo(function(){return Gt(l)==="object"&&l!==null?l:l?{closeIcon:c??se.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[l,c,n]),N=xi(k,!0),L=Gt(l)==="object"&&l.disabled,V=l?se.createElement("button",Ke({type:"button",onClick:u,"aria-label":"Close"},N,{className:"".concat(n,"-close"),disabled:L}),k.closeIcon):null,$=se.createElement("div",{className:xe("".concat(n,"-content"),S==null?void 0:S.content),style:w==null?void 0:w.content},V,P,se.createElement("div",Ke({className:xe("".concat(n,"-body"),S==null?void 0:S.body),style:G(G({},f),w==null?void 0:w.body)},h),d),B);return se.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":o?a:null,"aria-modal":"true",ref:x,style:G(G({},i),M),className:xe(n,r),onMouseDown:g,onMouseUp:v},se.createElement("div",{ref:A,tabIndex:0,style:uJe},se.createElement(lJe,{shouldUpdate:b||_},m?m($):$)),se.createElement("div",{tabIndex:0,ref:I,style:cJe}))}),CEe=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,i=e.style,o=e.className,a=e.visible,s=e.forceRender,l=e.destroyOnClose,c=e.motionName,u=e.ariaId,d=e.onVisibleChanged,f=e.mousePosition,h=p.useRef(),m=p.useState(),g=Ie(m,2),v=g[0],y=g[1],b={};v&&(b.transformOrigin=v);function _(){var E=sJe(h.current);y(f&&(f.x||f.y)?"".concat(f.x-E.left,"px ").concat(f.y-E.top,"px"):"")}return p.createElement(ia,{visible:a,onVisibleChanged:d,onAppearPrepare:_,onEnterPrepare:_,forceRender:s,motionName:c,removeOnLeave:l,ref:h},function(E,C){var S=E.className,w=E.style;return p.createElement(EEe,Ke({},e,{ref:t,title:r,ariaId:u,prefixCls:n,holderRef:C,style:G(G(G({},w),i),b),className:xe(o,S)}))})});CEe.displayName="Content";var dJe=function(t){var n=t.prefixCls,r=t.style,i=t.visible,o=t.maskProps,a=t.motionName,s=t.className;return p.createElement(ia,{key:"mask",visible:i,motionName:a,leavedClassName:"".concat(n,"-mask-hidden")},function(l,c){var u=l.className,d=l.style;return p.createElement("div",Ke({ref:c,style:G(G({},d),r),className:xe("".concat(n,"-mask"),u,s)},o))})},fJe=function(t){var n=t.prefixCls,r=n===void 0?"rc-dialog":n,i=t.zIndex,o=t.visible,a=o===void 0?!1:o,s=t.keyboard,l=s===void 0?!0:s,c=t.focusTriggerAfterClose,u=c===void 0?!0:c,d=t.wrapStyle,f=t.wrapClassName,h=t.wrapProps,m=t.onClose,g=t.afterOpenChange,v=t.afterClose,y=t.transitionName,b=t.animation,_=t.closable,E=_===void 0?!0:_,C=t.mask,S=C===void 0?!0:C,w=t.maskTransitionName,T=t.maskAnimation,O=t.maskClosable,x=O===void 0?!0:O,A=t.maskStyle,I=t.maskProps,M=t.rootClassName,B=t.classNames,P=t.styles,k=p.useRef(),N=p.useRef(),L=p.useRef(),V=p.useState(a),$=Ie(V,2),W=$[0],j=$[1],U=UP();function Z(){uH(N.current,document.activeElement)||(k.current=document.activeElement)}function te(){if(!uH(N.current,document.activeElement)){var ne;(ne=L.current)===null||ne===void 0||ne.focus()}}function ae(ne){if(ne)te();else{if(j(!1),S&&k.current&&u){try{k.current.focus({preventScroll:!0})}catch{}k.current=null}W&&(v==null||v())}g==null||g(ne)}function K(ne){m==null||m(ne)}var Q=p.useRef(!1),ie=p.useRef(),he=function(){clearTimeout(ie.current),Q.current=!0},pe=function(){ie.current=setTimeout(function(){Q.current=!1})},le=null;x&&(le=function(ue){Q.current?Q.current=!1:N.current===ue.target&&K(ue)});function de(ne){if(l&&ne.keyCode===dt.ESC){ne.stopPropagation(),K(ne);return}a&&ne.keyCode===dt.TAB&&L.current.changeActive(!ne.shiftKey)}p.useEffect(function(){a&&(j(!0),Z())},[a]),p.useEffect(function(){return function(){clearTimeout(ie.current)}},[]);var ve=G(G(G({zIndex:i},d),P==null?void 0:P.wrapper),{},{display:W?null:"none"});return p.createElement("div",Ke({className:xe("".concat(r,"-root"),M)},xi(t,{data:!0})),p.createElement(dJe,{prefixCls:r,visible:S&&a,motionName:dre(r,w,T),style:G(G({zIndex:i},A),P==null?void 0:P.mask),maskProps:I,className:B==null?void 0:B.mask}),p.createElement("div",Ke({tabIndex:-1,onKeyDown:de,className:xe("".concat(r,"-wrap"),f,B==null?void 0:B.wrapper),ref:N,onClick:le,style:ve},h),p.createElement(CEe,Ke({},t,{onMouseDown:he,onMouseUp:pe,ref:L,closable:E,ariaId:U,prefixCls:r,visible:a&&W,onClose:K,onVisibleChanged:ae,motionName:dre(r,y,b)}))))},Dq=function(t){var n=t.visible,r=t.getContainer,i=t.forceRender,o=t.destroyOnClose,a=o===void 0?!1:o,s=t.afterClose,l=t.panelRef,c=p.useState(n),u=Ie(c,2),d=u[0],f=u[1],h=p.useMemo(function(){return{panel:l}},[l]);return p.useEffect(function(){n&&f(!0)},[n]),!i&&a&&!d?null:p.createElement(SEe.Provider,{value:h},p.createElement(l2,{open:n||i||d,autoDestroy:!1,getContainer:r,autoLock:n||d},p.createElement(fJe,Ke({},t,{destroyOnClose:a,afterClose:function(){s==null||s(),f(!1)}}))))};Dq.displayName="Dialog";var j1="RC_FORM_INTERNAL_HOOKS",Ii=function(){Yr(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},gg=p.createContext({getFieldValue:Ii,getFieldsValue:Ii,getFieldError:Ii,getFieldWarning:Ii,getFieldsError:Ii,isFieldsTouched:Ii,isFieldTouched:Ii,isFieldValidating:Ii,isFieldsValidating:Ii,resetFields:Ii,setFields:Ii,setFieldValue:Ii,setFieldsValue:Ii,validateFields:Ii,submit:Ii,getInternalHooks:function(){return Ii(),{dispatch:Ii,initEntityValue:Ii,registerField:Ii,useSubscribe:Ii,setInitialValues:Ii,destroyForm:Ii,setCallbacks:Ii,registerWatch:Ii,getFields:Ii,setValidateMessages:Ii,setPreserve:Ii,getInitialValue:Ii}}}),PT=p.createContext(null);function OH(e){return e==null?[]:Array.isArray(e)?e:[e]}function pJe(e){return e&&!!e._init}function RH(){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 t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var IH=RH();function hJe(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function mJe(e,t,n){if(vP())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&TT(i,n.prototype),i}function AH(e){var t=typeof Map=="function"?new Map:void 0;return AH=function(r){if(r===null||!hJe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return mJe(r,arguments,Lv(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),TT(i,r)},AH(e)}var gJe=/%[sdj%]/g,vJe=function(){};function NH(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function hc(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=o)return s;switch(s){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return s}});return a}return e}function bJe(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Ia(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||bJe(t)&&typeof e=="string"&&!e)}function yJe(e,t,n){var r=[],i=0,o=e.length;function a(s){r.push.apply(r,nt(s||[])),i++,i===o&&n(r)}e.forEach(function(s){t(s,a)})}function pre(e,t,n){var r=0,i=e.length;function o(a){if(a&&a.length){n(a);return}var s=r;r=r+1,st.max?i.push(hc(o.messages[d].max,t.fullField,t.max)):s&&l&&(ut.max)&&i.push(hc(o.messages[d].range,t.fullField,t.min,t.max))},wEe=function(t,n,r,i,o,a){t.required&&(!r.hasOwnProperty(t.field)||Ia(n,a||t.type))&&i.push(hc(o.messages.required,t.fullField))},xR;const OJe=function(){if(xR)return xR;var e="[a-fA-F\\d:]",t=function(S){return S&&S.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],o="(?:%[0-9a-zA-Z]{1,})?",a="(?:".concat(i.join("|"),")").concat(o),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(a,"$)")),l=new RegExp("^".concat(n,"$")),c=new RegExp("^".concat(a,"$")),u=function(S){return S&&S.exact?s:new RegExp("(?:".concat(t(S)).concat(n).concat(t(S),")|(?:").concat(t(S)).concat(a).concat(t(S),")"),"g")};u.v4=function(C){return C&&C.exact?l:new RegExp("".concat(t(C)).concat(n).concat(t(C)),"g")},u.v6=function(C){return C&&C.exact?c:new RegExp("".concat(t(C)).concat(a).concat(t(C)),"g")};var d="(?:(?:[a-z]+:)?//)",f="(?:\\S+(?::\\S*)?@)?",h=u.v4().source,m=u.v6().source,g="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",y="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",b="(?::\\d{2,5})?",_='(?:[/?#][^\\s"]*)?',E="(?:".concat(d,"|www\\.)").concat(f,"(?:localhost|").concat(h,"|").concat(m,"|").concat(g).concat(v).concat(y,")").concat(b).concat(_);return xR=new RegExp("(?:^".concat(E,"$)"),"i"),xR};var vre={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},IC={integer:function(t){return IC.number(t)&&parseInt(t,10)===t},float:function(t){return IC.number(t)&&!IC.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return Gt(t)==="object"&&!IC.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(vre.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(OJe())},hex:function(t){return typeof t=="string"&&!!t.match(vre.hex)}},RJe=function(t,n,r,i,o){if(t.required&&n===void 0){wEe(t,n,r,i,o);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;a.indexOf(s)>-1?IC[s](n)||i.push(hc(o.messages.types[s],t.fullField,t.type)):s&&Gt(n)!==t.type&&i.push(hc(o.messages.types[s],t.fullField,t.type))},IJe=function(t,n,r,i,o){(/^\s+$/.test(n)||n==="")&&i.push(hc(o.messages.whitespace,t.fullField))};const qr={required:wEe,whitespace:IJe,type:RJe,range:xJe,enum:wJe,pattern:TJe};var AJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o)}r(a)},NJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();qr.required(t,n,i,a,o,"array"),n!=null&&(qr.type(t,n,i,a,o),qr.range(t,n,i,a,o))}r(a)},MJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&qr.type(t,n,i,a,o)}r(a)},kJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n,"date")&&!t.required)return r();if(qr.required(t,n,i,a,o),!Ia(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),qr.type(t,l,i,a,o),l&&qr.range(t,l.getTime(),i,a,o)}}r(a)},PJe="enum",DJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&qr[PJe](t,n,i,a,o)}r(a)},LJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&(qr.type(t,n,i,a,o),qr.range(t,n,i,a,o))}r(a)},$Je=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&(qr.type(t,n,i,a,o),qr.range(t,n,i,a,o))}r(a)},FJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&qr.type(t,n,i,a,o)}r(a)},BJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&(qr.type(t,n,i,a,o),qr.range(t,n,i,a,o))}r(a)},jJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&qr.type(t,n,i,a,o)}r(a)},HJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n,"string")&&!t.required)return r();qr.required(t,n,i,a,o),Ia(n,"string")||qr.pattern(t,n,i,a,o)}r(a)},UJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),Ia(n)||qr.type(t,n,i,a,o)}r(a)},zJe=function(t,n,r,i,o){var a=[],s=Array.isArray(n)?"array":Gt(n);qr.required(t,n,i,a,o,s),r(a)},VJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n,"string")&&!t.required)return r();qr.required(t,n,i,a,o,"string"),Ia(n,"string")||(qr.type(t,n,i,a,o),qr.range(t,n,i,a,o),qr.pattern(t,n,i,a,o),t.whitespace===!0&&qr.whitespace(t,n,i,a,o))}r(a)},zL=function(t,n,r,i,o){var a=t.type,s=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Ia(n,a)&&!t.required)return r();qr.required(t,n,i,s,o,a),Ia(n,a)||qr.type(t,n,i,s,o)}r(s)};const dw={string:VJe,method:FJe,number:BJe,boolean:MJe,regexp:UJe,integer:$Je,float:LJe,array:NJe,object:jJe,enum:DJe,pattern:HJe,date:kJe,url:zL,hex:zL,email:zL,required:zJe,any:AJe};var c2=function(){function e(t){Kr(this,e),ee(this,"rules",null),ee(this,"_messages",IH),this.define(t)}return Qr(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(Gt(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(i){var o=n[i];r.rules[i]=Array.isArray(o)?o:[o]})}},{key:"messages",value:function(n){return n&&(this._messages=gre(RH(),n)),this._messages}},{key:"validate",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},a=n,s=i,l=o;if(typeof s=="function"&&(l=s,s={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,a),Promise.resolve(a);function c(m){var g=[],v={};function y(_){if(Array.isArray(_)){var E;g=(E=g).concat.apply(E,nt(_))}else g.push(_)}for(var b=0;b0&&arguments[0]!==void 0?arguments[0]:[],T=Array.isArray(w)?w:[w];!s.suppressWarning&&T.length&&e.warning("async-validator:",T),T.length&&v.message!==void 0&&(T=[].concat(v.message));var O=T.map(mre(v,a));if(s.first&&O.length)return h[v.field]=1,g(O);if(!y)g(O);else{if(v.required&&!m.value)return v.message!==void 0?O=[].concat(v.message).map(mre(v,a)):s.error&&(O=[s.error(v,hc(s.messages.required,v.field))]),g(O);var x={};v.defaultField&&Object.keys(m.value).map(function(M){x[M]=v.defaultField}),x=G(G({},x),m.rule.fields);var A={};Object.keys(x).forEach(function(M){var B=x[M],P=Array.isArray(B)?B:[B];A[M]=P.map(b.bind(null,M))});var I=new e(A);I.messages(s.messages),m.rule.options&&(m.rule.options.messages=s.messages,m.rule.options.error=s.error),I.validate(m.value,m.rule.options||s,function(M){var B=[];O&&O.length&&B.push.apply(B,nt(O)),M&&M.length&&B.push.apply(B,nt(M)),g(B.length?B:null)})}}var E;if(v.asyncValidator)E=v.asyncValidator(v,m.value,_,m.source,s);else if(v.validator){try{E=v.validator(v,m.value,_,m.source,s)}catch(w){var C,S;(C=(S=console).error)===null||C===void 0||C.call(S,w),s.suppressValidatorError||setTimeout(function(){throw w},0),_(w.message)}E===!0?_():E===!1?_(typeof v.message=="function"?v.message(v.fullField||v.field):v.message||"".concat(v.fullField||v.field," fails")):E instanceof Array?_(E):E instanceof Error&&_(E.message)}E&&E.then&&E.then(function(){return _()},function(w){return _(w)})},function(m){c(m)},a)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!dw.hasOwnProperty(n.type))throw new Error(hc("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),i=r.indexOf("message");return i!==-1&&r.splice(i,1),r.length===1&&r[0]==="required"?dw.required:dw[this.getType(n)]||void 0}}]),e}();ee(c2,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");dw[t]=n});ee(c2,"warning",vJe);ee(c2,"messages",IH);ee(c2,"validators",dw);var Wl="'${name}' is not a valid ${type}",TEe={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Wl,method:Wl,array:Wl,object:Wl,number:Wl,date:Wl,boolean:Wl,integer:Wl,float:Wl,regexp:Wl,email:Wl,url:Wl,hex:Wl},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},bre=c2;function GJe(e,t){return e.replace(/\\?\$\{\w+\}/g,function(n){if(n.startsWith("\\"))return n.slice(1);var r=n.slice(2,-1);return t[r]})}var yre="CODE_LOGIC_ERROR";function MH(e,t,n,r,i){return kH.apply(this,arguments)}function kH(){return kH=co(pr().mark(function e(t,n,r,i,o){var a,s,l,c,u,d,f,h,m;return pr().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return a=G({},r),delete a.ruleIndex,bre.warning=function(){},a.validator&&(s=a.validator,a.validator=function(){try{return s.apply(void 0,arguments)}catch(y){return console.error(y),Promise.reject(yre)}}),l=null,a&&a.type==="array"&&a.defaultField&&(l=a.defaultField,delete a.defaultField),c=new bre(ee({},t,[a])),u=B1(TEe,i.validateMessages),c.messages(u),d=[],v.prev=10,v.next=13,Promise.resolve(c.validate(ee({},t,n),G({},i)));case 13:v.next=18;break;case 15:v.prev=15,v.t0=v.catch(10),v.t0.errors&&(d=v.t0.errors.map(function(y,b){var _=y.message,E=_===yre?u.default:_;return p.isValidElement(E)?p.cloneElement(E,{key:"error_".concat(b)}):E}));case 18:if(!(!d.length&&l)){v.next=23;break}return v.next=21,Promise.all(n.map(function(y,b){return MH("".concat(t,".").concat(b),y,l,i,o)}));case 21:return f=v.sent,v.abrupt("return",f.reduce(function(y,b){return[].concat(nt(y),nt(b))},[]));case 23:return h=G(G({},r),{},{name:t,enum:(r.enum||[]).join(", ")},o),m=d.map(function(y){return typeof y=="string"?GJe(y,h):y}),v.abrupt("return",m);case 26:case"end":return v.stop()}},e,null,[[10,15]])})),kH.apply(this,arguments)}function WJe(e,t,n,r,i,o){var a=e.join("."),s=n.map(function(u,d){var f=u.validator,h=G(G({},u),{},{ruleIndex:d});return f&&(h.validator=function(m,g,v){var y=!1,b=function(){for(var C=arguments.length,S=new Array(C),w=0;w2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return xEe(t,r,n)})}function xEe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,i){return e[i]===r})}function KJe(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||Gt(e)!=="object"||Gt(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),i=new Set([].concat(n,r));return nt(i).every(function(o){var a=e[o],s=t[o];return typeof a=="function"&&typeof s=="function"?!0:a===s})}function QJe(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&Gt(t.target)==="object"&&e in t.target?t.target[e]:t}function Sre(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var i=e[t],o=t-n;return o>0?[].concat(nt(e.slice(0,n)),[i],nt(e.slice(n,t)),nt(e.slice(t+1,r))):o<0?[].concat(nt(e.slice(0,t)),nt(e.slice(t+1,n+1)),[i],nt(e.slice(n+1,r))):e}var XJe=["name"],$c=[];function VL(e,t,n,r,i,o){return typeof e=="function"?e(t,n,"source"in o?{source:o.source}:{}):r!==i}var Lq=function(e){Ds(n,e);var t=ol(n);function n(r){var i;if(Kr(this,n),i=t.call(this,r),ee(cn(i),"state",{resetCount:0}),ee(cn(i),"cancelRegisterFunc",null),ee(cn(i),"mounted",!1),ee(cn(i),"touched",!1),ee(cn(i),"dirty",!1),ee(cn(i),"validatePromise",void 0),ee(cn(i),"prevValidating",void 0),ee(cn(i),"errors",$c),ee(cn(i),"warnings",$c),ee(cn(i),"cancelRegister",function(){var l=i.props,c=l.preserve,u=l.isListField,d=l.name;i.cancelRegisterFunc&&i.cancelRegisterFunc(u,c,Zo(d)),i.cancelRegisterFunc=null}),ee(cn(i),"getNamePath",function(){var l=i.props,c=l.name,u=l.fieldContext,d=u.prefixName,f=d===void 0?[]:d;return c!==void 0?[].concat(nt(f),nt(c)):[]}),ee(cn(i),"getRules",function(){var l=i.props,c=l.rules,u=c===void 0?[]:c,d=l.fieldContext;return u.map(function(f){return typeof f=="function"?f(d):f})}),ee(cn(i),"refresh",function(){i.mounted&&i.setState(function(l){var c=l.resetCount;return{resetCount:c+1}})}),ee(cn(i),"metaCache",null),ee(cn(i),"triggerMetaEvent",function(l){var c=i.props.onMetaChange;if(c){var u=G(G({},i.getMeta()),{},{destroy:l});vu(i.metaCache,u)||c(u),i.metaCache=u}else i.metaCache=null}),ee(cn(i),"onStoreChange",function(l,c,u){var d=i.props,f=d.shouldUpdate,h=d.dependencies,m=h===void 0?[]:h,g=d.onReset,v=u.store,y=i.getNamePath(),b=i.getValue(l),_=i.getValue(v),E=c&&_y(c,y);switch(u.type==="valueUpdate"&&u.source==="external"&&!vu(b,_)&&(i.touched=!0,i.dirty=!0,i.validatePromise=null,i.errors=$c,i.warnings=$c,i.triggerMetaEvent()),u.type){case"reset":if(!c||E){i.touched=!1,i.dirty=!1,i.validatePromise=void 0,i.errors=$c,i.warnings=$c,i.triggerMetaEvent(),g==null||g(),i.refresh();return}break;case"remove":{if(f&&VL(f,l,v,b,_,u)){i.reRender();return}break}case"setField":{var C=u.data;if(E){"touched"in C&&(i.touched=C.touched),"validating"in C&&!("originRCField"in C)&&(i.validatePromise=C.validating?Promise.resolve([]):null),"errors"in C&&(i.errors=C.errors||$c),"warnings"in C&&(i.warnings=C.warnings||$c),i.dirty=!0,i.triggerMetaEvent(),i.reRender();return}else if("value"in C&&_y(c,y,!0)){i.reRender();return}if(f&&!y.length&&VL(f,l,v,b,_,u)){i.reRender();return}break}case"dependenciesUpdate":{var S=m.map(Zo);if(S.some(function(w){return _y(u.relatedFields,w)})){i.reRender();return}break}default:if(E||(!m.length||y.length||f)&&VL(f,l,v,b,_,u)){i.reRender();return}break}f===!0&&i.reRender()}),ee(cn(i),"validateRules",function(l){var c=i.getNamePath(),u=i.getValue(),d=l||{},f=d.triggerName,h=d.validateOnly,m=h===void 0?!1:h,g=Promise.resolve().then(co(pr().mark(function v(){var y,b,_,E,C,S,w;return pr().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(i.mounted){O.next=2;break}return O.abrupt("return",[]);case 2:if(y=i.props,b=y.validateFirst,_=b===void 0?!1:b,E=y.messageVariables,C=y.validateDebounce,S=i.getRules(),f&&(S=S.filter(function(x){return x}).filter(function(x){var A=x.validateTrigger;if(!A)return!0;var I=OH(A);return I.includes(f)})),!(C&&f)){O.next=10;break}return O.next=8,new Promise(function(x){setTimeout(x,C)});case 8:if(i.validatePromise===g){O.next=10;break}return O.abrupt("return",[]);case 10:return w=WJe(c,u,S,l,_,E),w.catch(function(x){return x}).then(function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$c;if(i.validatePromise===g){var A;i.validatePromise=null;var I=[],M=[];(A=x.forEach)===null||A===void 0||A.call(x,function(B){var P=B.rule.warningOnly,k=B.errors,N=k===void 0?$c:k;P?M.push.apply(M,nt(N)):I.push.apply(I,nt(N))}),i.errors=I,i.warnings=M,i.triggerMetaEvent(),i.reRender()}}),O.abrupt("return",w);case 13:case"end":return O.stop()}},v)})));return m||(i.validatePromise=g,i.dirty=!0,i.errors=$c,i.warnings=$c,i.triggerMetaEvent(),i.reRender()),g}),ee(cn(i),"isFieldValidating",function(){return!!i.validatePromise}),ee(cn(i),"isFieldTouched",function(){return i.touched}),ee(cn(i),"isFieldDirty",function(){if(i.dirty||i.props.initialValue!==void 0)return!0;var l=i.props.fieldContext,c=l.getInternalHooks(j1),u=c.getInitialValue;return u(i.getNamePath())!==void 0}),ee(cn(i),"getErrors",function(){return i.errors}),ee(cn(i),"getWarnings",function(){return i.warnings}),ee(cn(i),"isListField",function(){return i.props.isListField}),ee(cn(i),"isList",function(){return i.props.isList}),ee(cn(i),"isPreserve",function(){return i.props.preserve}),ee(cn(i),"getMeta",function(){i.prevValidating=i.isFieldValidating();var l={touched:i.isFieldTouched(),validating:i.prevValidating,errors:i.errors,warnings:i.warnings,name:i.getNamePath(),validated:i.validatePromise===null};return l}),ee(cn(i),"getOnlyChild",function(l){if(typeof l=="function"){var c=i.getMeta();return G(G({},i.getOnlyChild(l(i.getControlled(),c,i.props.fieldContext))),{},{isFunction:!0})}var u=ko(l);return u.length!==1||!p.isValidElement(u[0])?{child:u,isFunction:!1}:{child:u[0],isFunction:!1}}),ee(cn(i),"getValue",function(l){var c=i.props.fieldContext.getFieldsValue,u=i.getNamePath();return Ao(l||c(!0),u)}),ee(cn(i),"getControlled",function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=i.props,u=c.name,d=c.trigger,f=c.validateTrigger,h=c.getValueFromEvent,m=c.normalize,g=c.valuePropName,v=c.getValueProps,y=c.fieldContext,b=f!==void 0?f:y.validateTrigger,_=i.getNamePath(),E=y.getInternalHooks,C=y.getFieldsValue,S=E(j1),w=S.dispatch,T=i.getValue(),O=v||function(B){return ee({},g,B)},x=l[d],A=u!==void 0?O(T):{},I=G(G({},l),A);I[d]=function(){i.touched=!0,i.dirty=!0,i.triggerMetaEvent();for(var B,P=arguments.length,k=new Array(P),N=0;N=0&&x<=A.length?(u.keys=[].concat(nt(u.keys.slice(0,x)),[u.id],nt(u.keys.slice(x))),_([].concat(nt(A.slice(0,x)),[O],nt(A.slice(x))))):(u.keys=[].concat(nt(u.keys),[u.id]),_([].concat(nt(A),[O]))),u.id+=1},remove:function(O){var x=C(),A=new Set(Array.isArray(O)?O:[O]);A.size<=0||(u.keys=u.keys.filter(function(I,M){return!A.has(M)}),_(x.filter(function(I,M){return!A.has(M)})))},move:function(O,x){if(O!==x){var A=C();O<0||O>=A.length||x<0||x>=A.length||(u.keys=Sre(u.keys,O,x),_(Sre(A,O,x)))}}},w=b||[];return Array.isArray(w)||(w=[]),r(w.map(function(T,O){var x=u.keys[O];return x===void 0&&(u.keys[O]=u.id,x=u.keys[O],u.id+=1),{name:O,key:x,isListField:!0}}),S,v)})))}function ZJe(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(i,o){e.forEach(function(a,s){a.catch(function(l){return t=!0,l}).then(function(l){n-=1,r[s]=l,!(n>0)&&(t&&o(r),i(r))})})}):Promise.resolve([])}var REe="__@field_split__";function GL(e){return e.map(function(t){return"".concat(Gt(t),":").concat(t)}).join(REe)}var Z0=function(){function e(){Kr(this,e),ee(this,"kvs",new Map)}return Qr(e,[{key:"set",value:function(n,r){this.kvs.set(GL(n),r)}},{key:"get",value:function(n){return this.kvs.get(GL(n))}},{key:"update",value:function(n,r){var i=this.get(n),o=r(i);o?this.set(n,o):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(GL(n))}},{key:"map",value:function(n){return nt(this.kvs.entries()).map(function(r){var i=Ie(r,2),o=i[0],a=i[1],s=o.split(REe);return n({key:s.map(function(l){var c=l.match(/^([^:]*):(.*)$/),u=Ie(c,3),d=u[1],f=u[2];return d==="number"?Number(f):f}),value:a})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var i=r.key,o=r.value;return n[i.join(".")]=o,null}),n}}]),e}(),JJe=["name"],eet=Qr(function e(t){var n=this;Kr(this,e),ee(this,"formHooked",!1),ee(this,"forceRootUpdate",void 0),ee(this,"subscribable",!0),ee(this,"store",{}),ee(this,"fieldEntities",[]),ee(this,"initialValues",{}),ee(this,"callbacks",{}),ee(this,"validateMessages",null),ee(this,"preserve",null),ee(this,"lastValidatePromise",null),ee(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),ee(this,"getInternalHooks",function(r){return r===j1?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(Yr(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),ee(this,"useSubscribe",function(r){n.subscribable=r}),ee(this,"prevWithoutPreserves",null),ee(this,"setInitialValues",function(r,i){if(n.initialValues=r||{},i){var o,a=B1(r,n.store);(o=n.prevWithoutPreserves)===null||o===void 0||o.map(function(s){var l=s.key;a=ea(a,l,Ao(r,l))}),n.prevWithoutPreserves=null,n.updateStore(a)}}),ee(this,"destroyForm",function(r){if(r)n.updateStore({});else{var i=new Z0;n.getFieldEntities(!0).forEach(function(o){n.isMergedPreserve(o.isPreserve())||i.set(o.getNamePath(),!0)}),n.prevWithoutPreserves=i}}),ee(this,"getInitialValue",function(r){var i=Ao(n.initialValues,r);return r.length?B1(i):i}),ee(this,"setCallbacks",function(r){n.callbacks=r}),ee(this,"setValidateMessages",function(r){n.validateMessages=r}),ee(this,"setPreserve",function(r){n.preserve=r}),ee(this,"watchList",[]),ee(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(i){return i!==r})}}),ee(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var i=n.getFieldsValue(),o=n.getFieldsValue(!0);n.watchList.forEach(function(a){a(i,o,r)})}}),ee(this,"timeoutId",null),ee(this,"warningUnhooked",function(){}),ee(this,"updateStore",function(r){n.store=r}),ee(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(i){return i.getNamePath().length}):n.fieldEntities}),ee(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=new Z0;return n.getFieldEntities(r).forEach(function(o){var a=o.getNamePath();i.set(a,o)}),i}),ee(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var i=n.getFieldsMap(!0);return r.map(function(o){var a=Zo(o);return i.get(a)||{INVALIDATE_NAME_PATH:Zo(o)}})}),ee(this,"getFieldsValue",function(r,i){n.warningUnhooked();var o,a,s;if(r===!0||Array.isArray(r)?(o=r,a=i):r&&Gt(r)==="object"&&(s=r.strict,a=r.filter),o===!0&&!a)return n.store;var l=n.getFieldEntitiesForNamePathList(Array.isArray(o)?o:null),c=[];return l.forEach(function(u){var d,f,h="INVALIDATE_NAME_PATH"in u?u.INVALIDATE_NAME_PATH:u.getNamePath();if(s){var m,g;if((m=(g=u).isList)!==null&&m!==void 0&&m.call(g))return}else if(!o&&(d=(f=u).isListField)!==null&&d!==void 0&&d.call(f))return;if(!a)c.push(h);else{var v="getMeta"in u?u.getMeta():null;a(v)&&c.push(h)}}),_re(n.store,c.map(Zo))}),ee(this,"getFieldValue",function(r){n.warningUnhooked();var i=Zo(r);return Ao(n.store,i)}),ee(this,"getFieldsError",function(r){n.warningUnhooked();var i=n.getFieldEntitiesForNamePathList(r);return i.map(function(o,a){return o&&!("INVALIDATE_NAME_PATH"in o)?{name:o.getNamePath(),errors:o.getErrors(),warnings:o.getWarnings()}:{name:Zo(r[a]),errors:[],warnings:[]}})}),ee(this,"getFieldError",function(r){n.warningUnhooked();var i=Zo(r),o=n.getFieldsError([i])[0];return o.errors}),ee(this,"getFieldWarning",function(r){n.warningUnhooked();var i=Zo(r),o=n.getFieldsError([i])[0];return o.warnings}),ee(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,i=new Array(r),o=0;o0&&arguments[0]!==void 0?arguments[0]:{},i=new Z0,o=n.getFieldEntities(!0);o.forEach(function(l){var c=l.props.initialValue,u=l.getNamePath();if(c!==void 0){var d=i.get(u)||new Set;d.add({entity:l,value:c}),i.set(u,d)}});var a=function(c){c.forEach(function(u){var d=u.props.initialValue;if(d!==void 0){var f=u.getNamePath(),h=n.getInitialValue(f);if(h!==void 0)Yr(!1,"Form already set 'initialValues' with path '".concat(f.join("."),"'. Field can not overwrite it."));else{var m=i.get(f);if(m&&m.size>1)Yr(!1,"Multiple Field with path '".concat(f.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(m){var g=n.getFieldValue(f),v=u.isListField();!v&&(!r.skipExist||g===void 0)&&n.updateStore(ea(n.store,f,nt(m)[0].value))}}}})},s;r.entities?s=r.entities:r.namePathList?(s=[],r.namePathList.forEach(function(l){var c=i.get(l);if(c){var u;(u=s).push.apply(u,nt(nt(c).map(function(d){return d.entity})))}})):s=o,a(s)}),ee(this,"resetFields",function(r){n.warningUnhooked();var i=n.store;if(!r){n.updateStore(B1(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(i,null,{type:"reset"}),n.notifyWatch();return}var o=r.map(Zo);o.forEach(function(a){var s=n.getInitialValue(a);n.updateStore(ea(n.store,a,s))}),n.resetWithFieldInitialValue({namePathList:o}),n.notifyObservers(i,o,{type:"reset"}),n.notifyWatch(o)}),ee(this,"setFields",function(r){n.warningUnhooked();var i=n.store,o=[];r.forEach(function(a){var s=a.name,l=Dt(a,JJe),c=Zo(s);o.push(c),"value"in l&&n.updateStore(ea(n.store,c,l.value)),n.notifyObservers(i,[c],{type:"setField",data:a})}),n.notifyWatch(o)}),ee(this,"getFields",function(){var r=n.getFieldEntities(!0),i=r.map(function(o){var a=o.getNamePath(),s=o.getMeta(),l=G(G({},s),{},{name:a,value:n.getFieldValue(a)});return Object.defineProperty(l,"originRCField",{value:!0}),l});return i}),ee(this,"initEntityValue",function(r){var i=r.props.initialValue;if(i!==void 0){var o=r.getNamePath(),a=Ao(n.store,o);a===void 0&&n.updateStore(ea(n.store,o,i))}}),ee(this,"isMergedPreserve",function(r){var i=r!==void 0?r:n.preserve;return i??!0}),ee(this,"registerField",function(r){n.fieldEntities.push(r);var i=r.getNamePath();if(n.notifyWatch([i]),r.props.initialValue!==void 0){var o=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(o,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(a,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(d){return d!==r}),!n.isMergedPreserve(s)&&(!a||l.length>1)){var c=a?void 0:n.getInitialValue(i);if(i.length&&n.getFieldValue(i)!==c&&n.fieldEntities.every(function(d){return!xEe(d.getNamePath(),i)})){var u=n.store;n.updateStore(ea(u,i,c,!0)),n.notifyObservers(u,[i],{type:"remove"}),n.triggerDependenciesUpdate(u,i)}}n.notifyWatch([i])}}),ee(this,"dispatch",function(r){switch(r.type){case"updateValue":{var i=r.namePath,o=r.value;n.updateValue(i,o);break}case"validateField":{var a=r.namePath,s=r.triggerName;n.validateFields([a],{triggerName:s});break}}}),ee(this,"notifyObservers",function(r,i,o){if(n.subscribable){var a=G(G({},o),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var l=s.onStoreChange;l(r,i,a)})}else n.forceRootUpdate()}),ee(this,"triggerDependenciesUpdate",function(r,i){var o=n.getDependencyChildrenFields(i);return o.length&&n.validateFields(o),n.notifyObservers(r,o,{type:"dependenciesUpdate",relatedFields:[i].concat(nt(o))}),o}),ee(this,"updateValue",function(r,i){var o=Zo(r),a=n.store;n.updateStore(ea(n.store,o,i)),n.notifyObservers(a,[o],{type:"valueUpdate",source:"internal"}),n.notifyWatch([o]);var s=n.triggerDependenciesUpdate(a,o),l=n.callbacks.onValuesChange;if(l){var c=_re(n.store,[o]);l(c,n.getFieldsValue())}n.triggerOnFieldsChange([o].concat(nt(s)))}),ee(this,"setFieldsValue",function(r){n.warningUnhooked();var i=n.store;if(r){var o=B1(n.store,r);n.updateStore(o)}n.notifyObservers(i,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),ee(this,"setFieldValue",function(r,i){n.setFields([{name:r,value:i,errors:[],warnings:[]}])}),ee(this,"getDependencyChildrenFields",function(r){var i=new Set,o=[],a=new Z0;n.getFieldEntities().forEach(function(l){var c=l.props.dependencies;(c||[]).forEach(function(u){var d=Zo(u);a.update(d,function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return f.add(l),f})})});var s=function l(c){var u=a.get(c)||new Set;u.forEach(function(d){if(!i.has(d)){i.add(d);var f=d.getNamePath();d.isFieldDirty()&&f.length&&(o.push(f),l(f))}})};return s(r),o}),ee(this,"triggerOnFieldsChange",function(r,i){var o=n.callbacks.onFieldsChange;if(o){var a=n.getFields();if(i){var s=new Z0;i.forEach(function(c){var u=c.name,d=c.errors;s.set(u,d)}),a.forEach(function(c){c.errors=s.get(c.name)||c.errors})}var l=a.filter(function(c){var u=c.name;return _y(r,u)});l.length&&o(l,a)}}),ee(this,"validateFields",function(r,i){n.warningUnhooked();var o,a;Array.isArray(r)||typeof r=="string"||typeof i=="string"?(o=r,a=i):a=r;var s=!!o,l=s?o.map(Zo):[],c=[],u=String(Date.now()),d=new Set,f=a||{},h=f.recursive,m=f.dirty;n.getFieldEntities(!0).forEach(function(b){if(s||l.push(b.getNamePath()),!(!b.props.rules||!b.props.rules.length)&&!(m&&!b.isFieldDirty())){var _=b.getNamePath();if(d.add(_.join(u)),!s||_y(l,_,h)){var E=b.validateRules(G({validateMessages:G(G({},TEe),n.validateMessages)},a));c.push(E.then(function(){return{name:_,errors:[],warnings:[]}}).catch(function(C){var S,w=[],T=[];return(S=C.forEach)===null||S===void 0||S.call(C,function(O){var x=O.rule.warningOnly,A=O.errors;x?T.push.apply(T,nt(A)):w.push.apply(w,nt(A))}),w.length?Promise.reject({name:_,errors:w,warnings:T}):{name:_,errors:w,warnings:T}}))}}});var g=ZJe(c);n.lastValidatePromise=g,g.catch(function(b){return b}).then(function(b){var _=b.map(function(E){var C=E.name;return C});n.notifyObservers(n.store,_,{type:"validateFinish"}),n.triggerOnFieldsChange(_,b)});var v=g.then(function(){return n.lastValidatePromise===g?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(b){var _=b.filter(function(E){return E&&E.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:_,outOfDate:n.lastValidatePromise!==g})});v.catch(function(b){return b});var y=l.filter(function(b){return d.has(b.join(u))});return n.triggerOnFieldsChange(y),v}),ee(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var i=n.callbacks.onFinish;if(i)try{i(r)}catch(o){console.error(o)}}).catch(function(r){var i=n.callbacks.onFinishFailed;i&&i(r)})}),this.forceRootUpdate=t});function Fq(e){var t=p.useRef(),n=p.useState({}),r=Ie(n,2),i=r[1];if(!t.current)if(e)t.current=e;else{var o=function(){i({})},a=new eet(o);t.current=a.getForm()}return[t.current]}var LH=p.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),IEe=function(t){var n=t.validateMessages,r=t.onFormChange,i=t.onFormFinish,o=t.children,a=p.useContext(LH),s=p.useRef({});return p.createElement(LH.Provider,{value:G(G({},a),{},{validateMessages:G(G({},a.validateMessages),n),triggerFormChange:function(c,u){r&&r(c,{changedFields:u,forms:s.current}),a.triggerFormChange(c,u)},triggerFormFinish:function(c,u){i&&i(c,{values:u,forms:s.current}),a.triggerFormFinish(c,u)},registerForm:function(c,u){c&&(s.current=G(G({},s.current),{},ee({},c,u))),a.registerForm(c,u)},unregisterForm:function(c){var u=G({},s.current);delete u[c],s.current=u,a.unregisterForm(c)}})},o)},tet=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],net=function(t,n){var r=t.name,i=t.initialValues,o=t.fields,a=t.form,s=t.preserve,l=t.children,c=t.component,u=c===void 0?"form":c,d=t.validateMessages,f=t.validateTrigger,h=f===void 0?"onChange":f,m=t.onValuesChange,g=t.onFieldsChange,v=t.onFinish,y=t.onFinishFailed,b=t.clearOnDestroy,_=Dt(t,tet),E=p.useRef(null),C=p.useContext(LH),S=Fq(a),w=Ie(S,1),T=w[0],O=T.getInternalHooks(j1),x=O.useSubscribe,A=O.setInitialValues,I=O.setCallbacks,M=O.setValidateMessages,B=O.setPreserve,P=O.destroyForm;p.useImperativeHandle(n,function(){return G(G({},T),{},{nativeElement:E.current})}),p.useEffect(function(){return C.registerForm(r,T),function(){C.unregisterForm(r)}},[C,T,r]),M(G(G({},C.validateMessages),d)),I({onValuesChange:m,onFieldsChange:function(Z){if(C.triggerFormChange(r,Z),g){for(var te=arguments.length,ae=new Array(te>1?te-1:0),K=1;K{}}),NEe=p.createContext(null),MEe=e=>{const t=ur(e,["prefixCls"]);return p.createElement(IEe,Object.assign({},t))},Bq=p.createContext({prefixCls:""}),oa=p.createContext({}),iet=e=>{let{children:t,status:n,override:r}=e;const i=p.useContext(oa),o=p.useMemo(()=>{const a=Object.assign({},i);return r&&delete a.isFormItemInput,n&&(delete a.status,delete a.hasFeedback,delete a.feedbackIcon),a},[n,r,i]);return p.createElement(oa.Provider,{value:o},t)},kEe=p.createContext(void 0),Rd=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let i=r;return n&&(i=se.createElement(iet,{override:!0,status:!0},i)),t&&(i=se.createElement(uXe,null,i)),i};function p_(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function Cre(e){const{closable:t,closeIcon:n}=e||{};return se.useMemo(()=>{if(!t&&(t===!1||n===!1||n===null))return!1;if(t===void 0&&n===void 0)return null;let r={closeIcon:typeof n!="boolean"&&n!==null?n:void 0};return t&&typeof t=="object"&&(r=Object.assign(Object.assign({},r),t)),r},[t,n])}function wre(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{i&&Object.keys(i).forEach(o=>{i[o]!==void 0&&(e[o]=i[o])})}),e}const oet={};function jq(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:oet;const r=Cre(e),i=Cre(t),o=typeof r!="boolean"?!!(r!=null&&r.disabled):!1,a=se.useMemo(()=>Object.assign({closeIcon:se.createElement(Yf,null)},n),[n]),s=se.useMemo(()=>r===!1?!1:r?wre(a,i,r):i===!1?!1:i?wre(a,i):a.closable?a:!1,[r,i,a]);return se.useMemo(()=>{if(s===!1)return[!1,null,o];const{closeIconRender:l}=a,{closeIcon:c}=s;let u=c;if(u!=null){l&&(u=l(c));const d=xi(s,!0);Object.keys(d).length&&(u=se.isValidElement(u)?se.cloneElement(u,d):se.createElement("span",Object.assign({},d),u))}return[!0,u,o]},[s,a])}var PEe=function(t){if(Xs()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],r=window.document.documentElement;return n.some(function(i){return i in r.style})}return!1},aet=function(t,n){if(!PEe(t))return!1;var r=document.createElement("div"),i=r.style[t];return r.style[t]=n,r.style[t]!==i};function $H(e,t){return!Array.isArray(e)&&t!==void 0?aet(e,t):PEe(e)}const set=()=>Xs()&&window.document.documentElement,zP=e=>{const{prefixCls:t,className:n,style:r,size:i,shape:o}=e,a=xe({[`${t}-lg`]:i==="large",[`${t}-sm`]:i==="small"}),s=xe({[`${t}-circle`]:o==="circle",[`${t}-square`]:o==="square",[`${t}-round`]:o==="round"}),l=p.useMemo(()=>typeof i=="number"?{width:i,height:i,lineHeight:`${i}px`}:{},[i]);return p.createElement("span",{className:xe(t,a,s,n),style:Object.assign(Object.assign({},l),r)})},cet=new fr("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),VP=e=>({height:e,lineHeight:Ae(e)}),Sy=e=>Object.assign({width:e},VP(e)),uet=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:cet,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),WL=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},VP(e)),det=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:i,controlHeightSM:o}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},Sy(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},Sy(i)),[`${t}${t}-sm`]:Object.assign({},Sy(o))}},fet=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:i,controlHeightSM:o,gradientFromColor:a,calc:s}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},WL(t,s)),[`${r}-lg`]:Object.assign({},WL(i,s)),[`${r}-sm`]:Object.assign({},WL(o,s))}},Tre=e=>Object.assign({width:e},VP(e)),pet=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:i,calc:o}=e;return{[t]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:r,borderRadius:i},Tre(o(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},Tre(n)),{maxWidth:o(n).mul(4).equal(),maxHeight:o(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},qL=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},YL=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},VP(e)),het=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:i,controlHeightSM:o,gradientFromColor:a,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},YL(r,s))},qL(e,r,n)),{[`${n}-lg`]:Object.assign({},YL(i,s))}),qL(e,i,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},YL(o,s))}),qL(e,o,`${n}-sm`))},met=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:i,skeletonButtonCls:o,skeletonInputCls:a,skeletonImageCls:s,controlHeight:l,controlHeightLG:c,controlHeightSM:u,gradientFromColor:d,padding:f,marginSM:h,borderRadius:m,titleHeight:g,blockRadius:v,paragraphLiHeight:y,controlHeightXS:b,paragraphMarginTop:_}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},Sy(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},Sy(c)),[`${n}-sm`]:Object.assign({},Sy(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:g,background:d,borderRadius:v,[`+ ${i}`]:{marginBlockStart:u}},[i]:{padding:0,"> li":{width:"100%",height:y,listStyle:"none",background:d,borderRadius:v,"+ li":{marginBlockStart:b}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${i} > li`]:{borderRadius:m}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:h,[`+ ${i}`]:{marginBlockStart:_}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},het(e)),det(e)),fet(e)),pet(e)),[`${t}${t}-block`]:{width:"100%",[o]:{width:"100%"},[a]:{width:"100%"}},[`${t}${t}-active`]:{[` +}`),i)}else fH(i);return function(){fH(i)}},[t,i])}var iJe=!1;function oJe(e){return iJe}var lre=function(t){return t===!1?!1:!Xs()||!t?null:typeof t=="string"?document.querySelector(t):typeof t=="function"?t():t},l2=p.forwardRef(function(e,t){var n=e.open,r=e.autoLock,i=e.getContainer;e.debug;var o=e.autoDestroy,a=o===void 0?!0:o,s=e.children,l=p.useState(n),c=Ie(l,2),u=c[0],d=c[1],f=u||n;p.useEffect(function(){(a||n)&&d(n)},[n,a]);var h=p.useState(function(){return lre(i)}),m=Ie(h,2),g=m[0],v=m[1];p.useEffect(function(){var A=lre(i);v(A??null)});var y=eJe(f&&!g),b=Ie(y,2),_=b[0],E=b[1],C=g??_;rJe(r&&n&&Xs()&&(C===_||C===document.body));var S=null;if(s&&Cd(s)&&t){var w=s;S=w.ref}var T=$d(S,t);if(!f||!Xs()||g===void 0)return null;var O=C===!1||oJe(),x=s;return t&&(x=p.cloneElement(s,{ref:T})),p.createElement(yEe.Provider,{value:E},O?x:Ml.createPortal(x,C))}),SEe=p.createContext({});function aJe(){var e=G({},$x);return e.useId}var cre=0,ure=aJe();const U5=ure?function(t){var n=ure();return t||n}:function(t){var n=p.useState("ssr-id"),r=Ie(n,2),i=r[0],o=r[1];return p.useEffect(function(){var a=cre;cre+=1,o("rc_unique_".concat(a))},[]),t||i};function dre(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function fre(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if(typeof n!="number"){var i=e.document;n=i.documentElement[r],typeof n!="number"&&(n=i.body[r])}return n}function sJe(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,i=r.defaultView||r.parentWindow;return n.left+=fre(i),n.top+=fre(i,!0),n}const lJe=p.memo(function(e){var t=e.children;return t},function(e,t){var n=t.shouldUpdate;return!n});var cJe={width:0,height:0,overflow:"hidden",outline:"none"},uJe={outline:"none"},EEe=se.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.style,o=e.title,a=e.ariaId,s=e.footer,l=e.closable,c=e.closeIcon,u=e.onClose,d=e.children,f=e.bodyStyle,h=e.bodyProps,m=e.modalRender,g=e.onMouseDown,v=e.onMouseUp,y=e.holderRef,b=e.visible,_=e.forceRender,E=e.width,C=e.height,S=e.classNames,w=e.styles,T=se.useContext(SEe),O=T.panel,x=$d(y,O),A=p.useRef(),I=p.useRef();se.useImperativeHandle(t,function(){return{focus:function(){var j;(j=A.current)===null||j===void 0||j.focus({preventScroll:!0})},changeActive:function(j){var U=document,Z=U.activeElement;j&&Z===I.current?A.current.focus({preventScroll:!0}):!j&&Z===A.current&&I.current.focus({preventScroll:!0})}}});var M={};E!==void 0&&(M.width=E),C!==void 0&&(M.height=C);var B=s?se.createElement("div",{className:xe("".concat(n,"-footer"),S==null?void 0:S.footer),style:G({},w==null?void 0:w.footer)},s):null,P=o?se.createElement("div",{className:xe("".concat(n,"-header"),S==null?void 0:S.header),style:G({},w==null?void 0:w.header)},se.createElement("div",{className:"".concat(n,"-title"),id:a},o)):null,k=p.useMemo(function(){return Gt(l)==="object"&&l!==null?l:l?{closeIcon:c??se.createElement("span",{className:"".concat(n,"-close-x")})}:{}},[l,c,n]),N=xi(k,!0),L=Gt(l)==="object"&&l.disabled,V=l?se.createElement("button",Ke({type:"button",onClick:u,"aria-label":"Close"},N,{className:"".concat(n,"-close"),disabled:L}),k.closeIcon):null,$=se.createElement("div",{className:xe("".concat(n,"-content"),S==null?void 0:S.content),style:w==null?void 0:w.content},V,P,se.createElement("div",Ke({className:xe("".concat(n,"-body"),S==null?void 0:S.body),style:G(G({},f),w==null?void 0:w.body)},h),d),B);return se.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":o?a:null,"aria-modal":"true",ref:x,style:G(G({},i),M),className:xe(n,r),onMouseDown:g,onMouseUp:v},se.createElement("div",{ref:A,tabIndex:0,style:uJe},se.createElement(lJe,{shouldUpdate:b||_},m?m($):$)),se.createElement("div",{tabIndex:0,ref:I,style:cJe}))}),CEe=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.title,i=e.style,o=e.className,a=e.visible,s=e.forceRender,l=e.destroyOnClose,c=e.motionName,u=e.ariaId,d=e.onVisibleChanged,f=e.mousePosition,h=p.useRef(),m=p.useState(),g=Ie(m,2),v=g[0],y=g[1],b={};v&&(b.transformOrigin=v);function _(){var E=sJe(h.current);y(f&&(f.x||f.y)?"".concat(f.x-E.left,"px ").concat(f.y-E.top,"px"):"")}return p.createElement(ia,{visible:a,onVisibleChanged:d,onAppearPrepare:_,onEnterPrepare:_,forceRender:s,motionName:c,removeOnLeave:l,ref:h},function(E,C){var S=E.className,w=E.style;return p.createElement(EEe,Ke({},e,{ref:t,title:r,ariaId:u,prefixCls:n,holderRef:C,style:G(G(G({},w),i),b),className:xe(o,S)}))})});CEe.displayName="Content";var dJe=function(t){var n=t.prefixCls,r=t.style,i=t.visible,o=t.maskProps,a=t.motionName,s=t.className;return p.createElement(ia,{key:"mask",visible:i,motionName:a,leavedClassName:"".concat(n,"-mask-hidden")},function(l,c){var u=l.className,d=l.style;return p.createElement("div",Ke({ref:c,style:G(G({},d),r),className:xe("".concat(n,"-mask"),u,s)},o))})},fJe=function(t){var n=t.prefixCls,r=n===void 0?"rc-dialog":n,i=t.zIndex,o=t.visible,a=o===void 0?!1:o,s=t.keyboard,l=s===void 0?!0:s,c=t.focusTriggerAfterClose,u=c===void 0?!0:c,d=t.wrapStyle,f=t.wrapClassName,h=t.wrapProps,m=t.onClose,g=t.afterOpenChange,v=t.afterClose,y=t.transitionName,b=t.animation,_=t.closable,E=_===void 0?!0:_,C=t.mask,S=C===void 0?!0:C,w=t.maskTransitionName,T=t.maskAnimation,O=t.maskClosable,x=O===void 0?!0:O,A=t.maskStyle,I=t.maskProps,M=t.rootClassName,B=t.classNames,P=t.styles,k=p.useRef(),N=p.useRef(),L=p.useRef(),V=p.useState(a),$=Ie(V,2),W=$[0],j=$[1],U=U5();function Z(){uH(N.current,document.activeElement)||(k.current=document.activeElement)}function te(){if(!uH(N.current,document.activeElement)){var ne;(ne=L.current)===null||ne===void 0||ne.focus()}}function ae(ne){if(ne)te();else{if(j(!1),S&&k.current&&u){try{k.current.focus({preventScroll:!0})}catch{}k.current=null}W&&(v==null||v())}g==null||g(ne)}function K(ne){m==null||m(ne)}var Q=p.useRef(!1),ie=p.useRef(),he=function(){clearTimeout(ie.current),Q.current=!0},pe=function(){ie.current=setTimeout(function(){Q.current=!1})},le=null;x&&(le=function(ue){Q.current?Q.current=!1:N.current===ue.target&&K(ue)});function de(ne){if(l&&ne.keyCode===dt.ESC){ne.stopPropagation(),K(ne);return}a&&ne.keyCode===dt.TAB&&L.current.changeActive(!ne.shiftKey)}p.useEffect(function(){a&&(j(!0),Z())},[a]),p.useEffect(function(){return function(){clearTimeout(ie.current)}},[]);var ve=G(G(G({zIndex:i},d),P==null?void 0:P.wrapper),{},{display:W?null:"none"});return p.createElement("div",Ke({className:xe("".concat(r,"-root"),M)},xi(t,{data:!0})),p.createElement(dJe,{prefixCls:r,visible:S&&a,motionName:dre(r,w,T),style:G(G({zIndex:i},A),P==null?void 0:P.mask),maskProps:I,className:B==null?void 0:B.mask}),p.createElement("div",Ke({tabIndex:-1,onKeyDown:de,className:xe("".concat(r,"-wrap"),f,B==null?void 0:B.wrapper),ref:N,onClick:le,style:ve},h),p.createElement(CEe,Ke({},t,{onMouseDown:he,onMouseUp:pe,ref:L,closable:E,ariaId:U,prefixCls:r,visible:a&&W,onClose:K,onVisibleChanged:ae,motionName:dre(r,y,b)}))))},Dq=function(t){var n=t.visible,r=t.getContainer,i=t.forceRender,o=t.destroyOnClose,a=o===void 0?!1:o,s=t.afterClose,l=t.panelRef,c=p.useState(n),u=Ie(c,2),d=u[0],f=u[1],h=p.useMemo(function(){return{panel:l}},[l]);return p.useEffect(function(){n&&f(!0)},[n]),!i&&a&&!d?null:p.createElement(SEe.Provider,{value:h},p.createElement(l2,{open:n||i||d,autoDestroy:!1,getContainer:r,autoLock:n||d},p.createElement(fJe,Ke({},t,{destroyOnClose:a,afterClose:function(){s==null||s(),f(!1)}}))))};Dq.displayName="Dialog";var j1="RC_FORM_INTERNAL_HOOKS",Ii=function(){Yr(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")},gg=p.createContext({getFieldValue:Ii,getFieldsValue:Ii,getFieldError:Ii,getFieldWarning:Ii,getFieldsError:Ii,isFieldsTouched:Ii,isFieldTouched:Ii,isFieldValidating:Ii,isFieldsValidating:Ii,resetFields:Ii,setFields:Ii,setFieldValue:Ii,setFieldsValue:Ii,validateFields:Ii,submit:Ii,getInternalHooks:function(){return Ii(),{dispatch:Ii,initEntityValue:Ii,registerField:Ii,useSubscribe:Ii,setInitialValues:Ii,destroyForm:Ii,setCallbacks:Ii,registerWatch:Ii,getFields:Ii,setValidateMessages:Ii,setPreserve:Ii,getInitialValue:Ii}}}),PT=p.createContext(null);function OH(e){return e==null?[]:Array.isArray(e)?e:[e]}function pJe(e){return e&&!!e._init}function RH(){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 t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var IH=RH();function hJe(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function mJe(e,t,n){if(v5())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var i=new(e.bind.apply(e,r));return n&&TT(i,n.prototype),i}function AH(e){var t=typeof Map=="function"?new Map:void 0;return AH=function(r){if(r===null||!hJe(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return mJe(r,arguments,Lv(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),TT(i,r)},AH(e)}var gJe=/%[sdj%]/g,vJe=function(){};function NH(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function hc(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=o)return s;switch(s){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return s}});return a}return e}function bJe(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Ia(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||bJe(t)&&typeof e=="string"&&!e)}function yJe(e,t,n){var r=[],i=0,o=e.length;function a(s){r.push.apply(r,nt(s||[])),i++,i===o&&n(r)}e.forEach(function(s){t(s,a)})}function pre(e,t,n){var r=0,i=e.length;function o(a){if(a&&a.length){n(a);return}var s=r;r=r+1,st.max?i.push(hc(o.messages[d].max,t.fullField,t.max)):s&&l&&(ut.max)&&i.push(hc(o.messages[d].range,t.fullField,t.min,t.max))},wEe=function(t,n,r,i,o,a){t.required&&(!r.hasOwnProperty(t.field)||Ia(n,a||t.type))&&i.push(hc(o.messages.required,t.fullField))},xR;const OJe=function(){if(xR)return xR;var e="[a-fA-F\\d:]",t=function(S){return S&&S.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],o="(?:%[0-9a-zA-Z]{1,})?",a="(?:".concat(i.join("|"),")").concat(o),s=new RegExp("(?:^".concat(n,"$)|(?:^").concat(a,"$)")),l=new RegExp("^".concat(n,"$")),c=new RegExp("^".concat(a,"$")),u=function(S){return S&&S.exact?s:new RegExp("(?:".concat(t(S)).concat(n).concat(t(S),")|(?:").concat(t(S)).concat(a).concat(t(S),")"),"g")};u.v4=function(C){return C&&C.exact?l:new RegExp("".concat(t(C)).concat(n).concat(t(C)),"g")},u.v6=function(C){return C&&C.exact?c:new RegExp("".concat(t(C)).concat(a).concat(t(C)),"g")};var d="(?:(?:[a-z]+:)?//)",f="(?:\\S+(?::\\S*)?@)?",h=u.v4().source,m=u.v6().source,g="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",y="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",b="(?::\\d{2,5})?",_='(?:[/?#][^\\s"]*)?',E="(?:".concat(d,"|www\\.)").concat(f,"(?:localhost|").concat(h,"|").concat(m,"|").concat(g).concat(v).concat(y,")").concat(b).concat(_);return xR=new RegExp("(?:^".concat(E,"$)"),"i"),xR};var vre={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},IC={integer:function(t){return IC.number(t)&&parseInt(t,10)===t},float:function(t){return IC.number(t)&&!IC.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return Gt(t)==="object"&&!IC.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(vre.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(OJe())},hex:function(t){return typeof t=="string"&&!!t.match(vre.hex)}},RJe=function(t,n,r,i,o){if(t.required&&n===void 0){wEe(t,n,r,i,o);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],s=t.type;a.indexOf(s)>-1?IC[s](n)||i.push(hc(o.messages.types[s],t.fullField,t.type)):s&&Gt(n)!==t.type&&i.push(hc(o.messages.types[s],t.fullField,t.type))},IJe=function(t,n,r,i,o){(/^\s+$/.test(n)||n==="")&&i.push(hc(o.messages.whitespace,t.fullField))};const qr={required:wEe,whitespace:IJe,type:RJe,range:xJe,enum:wJe,pattern:TJe};var AJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o)}r(a)},NJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n==null&&!t.required)return r();qr.required(t,n,i,a,o,"array"),n!=null&&(qr.type(t,n,i,a,o),qr.range(t,n,i,a,o))}r(a)},MJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&qr.type(t,n,i,a,o)}r(a)},kJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n,"date")&&!t.required)return r();if(qr.required(t,n,i,a,o),!Ia(n,"date")){var l;n instanceof Date?l=n:l=new Date(n),qr.type(t,l,i,a,o),l&&qr.range(t,l.getTime(),i,a,o)}}r(a)},PJe="enum",DJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&qr[PJe](t,n,i,a,o)}r(a)},LJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&(qr.type(t,n,i,a,o),qr.range(t,n,i,a,o))}r(a)},$Je=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&(qr.type(t,n,i,a,o),qr.range(t,n,i,a,o))}r(a)},FJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&qr.type(t,n,i,a,o)}r(a)},BJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(n===""&&(n=void 0),Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&(qr.type(t,n,i,a,o),qr.range(t,n,i,a,o))}r(a)},jJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),n!==void 0&&qr.type(t,n,i,a,o)}r(a)},HJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n,"string")&&!t.required)return r();qr.required(t,n,i,a,o),Ia(n,"string")||qr.pattern(t,n,i,a,o)}r(a)},UJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n)&&!t.required)return r();qr.required(t,n,i,a,o),Ia(n)||qr.type(t,n,i,a,o)}r(a)},zJe=function(t,n,r,i,o){var a=[],s=Array.isArray(n)?"array":Gt(n);qr.required(t,n,i,a,o,s),r(a)},VJe=function(t,n,r,i,o){var a=[],s=t.required||!t.required&&i.hasOwnProperty(t.field);if(s){if(Ia(n,"string")&&!t.required)return r();qr.required(t,n,i,a,o,"string"),Ia(n,"string")||(qr.type(t,n,i,a,o),qr.range(t,n,i,a,o),qr.pattern(t,n,i,a,o),t.whitespace===!0&&qr.whitespace(t,n,i,a,o))}r(a)},zL=function(t,n,r,i,o){var a=t.type,s=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Ia(n,a)&&!t.required)return r();qr.required(t,n,i,s,o,a),Ia(n,a)||qr.type(t,n,i,s,o)}r(s)};const dw={string:VJe,method:FJe,number:BJe,boolean:MJe,regexp:UJe,integer:$Je,float:LJe,array:NJe,object:jJe,enum:DJe,pattern:HJe,date:kJe,url:zL,hex:zL,email:zL,required:zJe,any:AJe};var c2=function(){function e(t){Kr(this,e),ee(this,"rules",null),ee(this,"_messages",IH),this.define(t)}return Qr(e,[{key:"define",value:function(n){var r=this;if(!n)throw new Error("Cannot configure a schema with no rules");if(Gt(n)!=="object"||Array.isArray(n))throw new Error("Rules must be an object");this.rules={},Object.keys(n).forEach(function(i){var o=n[i];r.rules[i]=Array.isArray(o)?o:[o]})}},{key:"messages",value:function(n){return n&&(this._messages=gre(RH(),n)),this._messages}},{key:"validate",value:function(n){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},a=n,s=i,l=o;if(typeof s=="function"&&(l=s,s={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,a),Promise.resolve(a);function c(m){var g=[],v={};function y(_){if(Array.isArray(_)){var E;g=(E=g).concat.apply(E,nt(_))}else g.push(_)}for(var b=0;b0&&arguments[0]!==void 0?arguments[0]:[],T=Array.isArray(w)?w:[w];!s.suppressWarning&&T.length&&e.warning("async-validator:",T),T.length&&v.message!==void 0&&(T=[].concat(v.message));var O=T.map(mre(v,a));if(s.first&&O.length)return h[v.field]=1,g(O);if(!y)g(O);else{if(v.required&&!m.value)return v.message!==void 0?O=[].concat(v.message).map(mre(v,a)):s.error&&(O=[s.error(v,hc(s.messages.required,v.field))]),g(O);var x={};v.defaultField&&Object.keys(m.value).map(function(M){x[M]=v.defaultField}),x=G(G({},x),m.rule.fields);var A={};Object.keys(x).forEach(function(M){var B=x[M],P=Array.isArray(B)?B:[B];A[M]=P.map(b.bind(null,M))});var I=new e(A);I.messages(s.messages),m.rule.options&&(m.rule.options.messages=s.messages,m.rule.options.error=s.error),I.validate(m.value,m.rule.options||s,function(M){var B=[];O&&O.length&&B.push.apply(B,nt(O)),M&&M.length&&B.push.apply(B,nt(M)),g(B.length?B:null)})}}var E;if(v.asyncValidator)E=v.asyncValidator(v,m.value,_,m.source,s);else if(v.validator){try{E=v.validator(v,m.value,_,m.source,s)}catch(w){var C,S;(C=(S=console).error)===null||C===void 0||C.call(S,w),s.suppressValidatorError||setTimeout(function(){throw w},0),_(w.message)}E===!0?_():E===!1?_(typeof v.message=="function"?v.message(v.fullField||v.field):v.message||"".concat(v.fullField||v.field," fails")):E instanceof Array?_(E):E instanceof Error&&_(E.message)}E&&E.then&&E.then(function(){return _()},function(w){return _(w)})},function(m){c(m)},a)}},{key:"getType",value:function(n){if(n.type===void 0&&n.pattern instanceof RegExp&&(n.type="pattern"),typeof n.validator!="function"&&n.type&&!dw.hasOwnProperty(n.type))throw new Error(hc("Unknown rule type %s",n.type));return n.type||"string"}},{key:"getValidationMethod",value:function(n){if(typeof n.validator=="function")return n.validator;var r=Object.keys(n),i=r.indexOf("message");return i!==-1&&r.splice(i,1),r.length===1&&r[0]==="required"?dw.required:dw[this.getType(n)]||void 0}}]),e}();ee(c2,"register",function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");dw[t]=n});ee(c2,"warning",vJe);ee(c2,"messages",IH);ee(c2,"validators",dw);var Wl="'${name}' is not a valid ${type}",TEe={default:"Validation error on field '${name}'",required:"'${name}' is required",enum:"'${name}' must be one of [${enum}]",whitespace:"'${name}' cannot be empty",date:{format:"'${name}' is invalid for format date",parse:"'${name}' could not be parsed as date",invalid:"'${name}' is invalid date"},types:{string:Wl,method:Wl,array:Wl,object:Wl,number:Wl,date:Wl,boolean:Wl,integer:Wl,float:Wl,regexp:Wl,email:Wl,url:Wl,hex:Wl},string:{len:"'${name}' must be exactly ${len} characters",min:"'${name}' must be at least ${min} characters",max:"'${name}' cannot be longer than ${max} characters",range:"'${name}' must be between ${min} and ${max} characters"},number:{len:"'${name}' must equal ${len}",min:"'${name}' cannot be less than ${min}",max:"'${name}' cannot be greater than ${max}",range:"'${name}' must be between ${min} and ${max}"},array:{len:"'${name}' must be exactly ${len} in length",min:"'${name}' cannot be less than ${min} in length",max:"'${name}' cannot be greater than ${max} in length",range:"'${name}' must be between ${min} and ${max} in length"},pattern:{mismatch:"'${name}' does not match pattern ${pattern}"}},bre=c2;function GJe(e,t){return e.replace(/\\?\$\{\w+\}/g,function(n){if(n.startsWith("\\"))return n.slice(1);var r=n.slice(2,-1);return t[r]})}var yre="CODE_LOGIC_ERROR";function MH(e,t,n,r,i){return kH.apply(this,arguments)}function kH(){return kH=co(pr().mark(function e(t,n,r,i,o){var a,s,l,c,u,d,f,h,m;return pr().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return a=G({},r),delete a.ruleIndex,bre.warning=function(){},a.validator&&(s=a.validator,a.validator=function(){try{return s.apply(void 0,arguments)}catch(y){return console.error(y),Promise.reject(yre)}}),l=null,a&&a.type==="array"&&a.defaultField&&(l=a.defaultField,delete a.defaultField),c=new bre(ee({},t,[a])),u=B1(TEe,i.validateMessages),c.messages(u),d=[],v.prev=10,v.next=13,Promise.resolve(c.validate(ee({},t,n),G({},i)));case 13:v.next=18;break;case 15:v.prev=15,v.t0=v.catch(10),v.t0.errors&&(d=v.t0.errors.map(function(y,b){var _=y.message,E=_===yre?u.default:_;return p.isValidElement(E)?p.cloneElement(E,{key:"error_".concat(b)}):E}));case 18:if(!(!d.length&&l)){v.next=23;break}return v.next=21,Promise.all(n.map(function(y,b){return MH("".concat(t,".").concat(b),y,l,i,o)}));case 21:return f=v.sent,v.abrupt("return",f.reduce(function(y,b){return[].concat(nt(y),nt(b))},[]));case 23:return h=G(G({},r),{},{name:t,enum:(r.enum||[]).join(", ")},o),m=d.map(function(y){return typeof y=="string"?GJe(y,h):y}),v.abrupt("return",m);case 26:case"end":return v.stop()}},e,null,[[10,15]])})),kH.apply(this,arguments)}function WJe(e,t,n,r,i,o){var a=e.join("."),s=n.map(function(u,d){var f=u.validator,h=G(G({},u),{},{ruleIndex:d});return f&&(h.validator=function(m,g,v){var y=!1,b=function(){for(var C=arguments.length,S=new Array(C),w=0;w2&&arguments[2]!==void 0?arguments[2]:!1;return e&&e.some(function(r){return xEe(t,r,n)})}function xEe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return!e||!t||!n&&e.length!==t.length?!1:t.every(function(r,i){return e[i]===r})}function KJe(e,t){if(e===t)return!0;if(!e&&t||e&&!t||!e||!t||Gt(e)!=="object"||Gt(t)!=="object")return!1;var n=Object.keys(e),r=Object.keys(t),i=new Set([].concat(n,r));return nt(i).every(function(o){var a=e[o],s=t[o];return typeof a=="function"&&typeof s=="function"?!0:a===s})}function QJe(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&Gt(t.target)==="object"&&e in t.target?t.target[e]:t}function Sre(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var i=e[t],o=t-n;return o>0?[].concat(nt(e.slice(0,n)),[i],nt(e.slice(n,t)),nt(e.slice(t+1,r))):o<0?[].concat(nt(e.slice(0,t)),nt(e.slice(t+1,n+1)),[i],nt(e.slice(n+1,r))):e}var XJe=["name"],$c=[];function VL(e,t,n,r,i,o){return typeof e=="function"?e(t,n,"source"in o?{source:o.source}:{}):r!==i}var Lq=function(e){Ds(n,e);var t=ol(n);function n(r){var i;if(Kr(this,n),i=t.call(this,r),ee(cn(i),"state",{resetCount:0}),ee(cn(i),"cancelRegisterFunc",null),ee(cn(i),"mounted",!1),ee(cn(i),"touched",!1),ee(cn(i),"dirty",!1),ee(cn(i),"validatePromise",void 0),ee(cn(i),"prevValidating",void 0),ee(cn(i),"errors",$c),ee(cn(i),"warnings",$c),ee(cn(i),"cancelRegister",function(){var l=i.props,c=l.preserve,u=l.isListField,d=l.name;i.cancelRegisterFunc&&i.cancelRegisterFunc(u,c,Zo(d)),i.cancelRegisterFunc=null}),ee(cn(i),"getNamePath",function(){var l=i.props,c=l.name,u=l.fieldContext,d=u.prefixName,f=d===void 0?[]:d;return c!==void 0?[].concat(nt(f),nt(c)):[]}),ee(cn(i),"getRules",function(){var l=i.props,c=l.rules,u=c===void 0?[]:c,d=l.fieldContext;return u.map(function(f){return typeof f=="function"?f(d):f})}),ee(cn(i),"refresh",function(){i.mounted&&i.setState(function(l){var c=l.resetCount;return{resetCount:c+1}})}),ee(cn(i),"metaCache",null),ee(cn(i),"triggerMetaEvent",function(l){var c=i.props.onMetaChange;if(c){var u=G(G({},i.getMeta()),{},{destroy:l});vu(i.metaCache,u)||c(u),i.metaCache=u}else i.metaCache=null}),ee(cn(i),"onStoreChange",function(l,c,u){var d=i.props,f=d.shouldUpdate,h=d.dependencies,m=h===void 0?[]:h,g=d.onReset,v=u.store,y=i.getNamePath(),b=i.getValue(l),_=i.getValue(v),E=c&&_y(c,y);switch(u.type==="valueUpdate"&&u.source==="external"&&!vu(b,_)&&(i.touched=!0,i.dirty=!0,i.validatePromise=null,i.errors=$c,i.warnings=$c,i.triggerMetaEvent()),u.type){case"reset":if(!c||E){i.touched=!1,i.dirty=!1,i.validatePromise=void 0,i.errors=$c,i.warnings=$c,i.triggerMetaEvent(),g==null||g(),i.refresh();return}break;case"remove":{if(f&&VL(f,l,v,b,_,u)){i.reRender();return}break}case"setField":{var C=u.data;if(E){"touched"in C&&(i.touched=C.touched),"validating"in C&&!("originRCField"in C)&&(i.validatePromise=C.validating?Promise.resolve([]):null),"errors"in C&&(i.errors=C.errors||$c),"warnings"in C&&(i.warnings=C.warnings||$c),i.dirty=!0,i.triggerMetaEvent(),i.reRender();return}else if("value"in C&&_y(c,y,!0)){i.reRender();return}if(f&&!y.length&&VL(f,l,v,b,_,u)){i.reRender();return}break}case"dependenciesUpdate":{var S=m.map(Zo);if(S.some(function(w){return _y(u.relatedFields,w)})){i.reRender();return}break}default:if(E||(!m.length||y.length||f)&&VL(f,l,v,b,_,u)){i.reRender();return}break}f===!0&&i.reRender()}),ee(cn(i),"validateRules",function(l){var c=i.getNamePath(),u=i.getValue(),d=l||{},f=d.triggerName,h=d.validateOnly,m=h===void 0?!1:h,g=Promise.resolve().then(co(pr().mark(function v(){var y,b,_,E,C,S,w;return pr().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:if(i.mounted){O.next=2;break}return O.abrupt("return",[]);case 2:if(y=i.props,b=y.validateFirst,_=b===void 0?!1:b,E=y.messageVariables,C=y.validateDebounce,S=i.getRules(),f&&(S=S.filter(function(x){return x}).filter(function(x){var A=x.validateTrigger;if(!A)return!0;var I=OH(A);return I.includes(f)})),!(C&&f)){O.next=10;break}return O.next=8,new Promise(function(x){setTimeout(x,C)});case 8:if(i.validatePromise===g){O.next=10;break}return O.abrupt("return",[]);case 10:return w=WJe(c,u,S,l,_,E),w.catch(function(x){return x}).then(function(){var x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$c;if(i.validatePromise===g){var A;i.validatePromise=null;var I=[],M=[];(A=x.forEach)===null||A===void 0||A.call(x,function(B){var P=B.rule.warningOnly,k=B.errors,N=k===void 0?$c:k;P?M.push.apply(M,nt(N)):I.push.apply(I,nt(N))}),i.errors=I,i.warnings=M,i.triggerMetaEvent(),i.reRender()}}),O.abrupt("return",w);case 13:case"end":return O.stop()}},v)})));return m||(i.validatePromise=g,i.dirty=!0,i.errors=$c,i.warnings=$c,i.triggerMetaEvent(),i.reRender()),g}),ee(cn(i),"isFieldValidating",function(){return!!i.validatePromise}),ee(cn(i),"isFieldTouched",function(){return i.touched}),ee(cn(i),"isFieldDirty",function(){if(i.dirty||i.props.initialValue!==void 0)return!0;var l=i.props.fieldContext,c=l.getInternalHooks(j1),u=c.getInitialValue;return u(i.getNamePath())!==void 0}),ee(cn(i),"getErrors",function(){return i.errors}),ee(cn(i),"getWarnings",function(){return i.warnings}),ee(cn(i),"isListField",function(){return i.props.isListField}),ee(cn(i),"isList",function(){return i.props.isList}),ee(cn(i),"isPreserve",function(){return i.props.preserve}),ee(cn(i),"getMeta",function(){i.prevValidating=i.isFieldValidating();var l={touched:i.isFieldTouched(),validating:i.prevValidating,errors:i.errors,warnings:i.warnings,name:i.getNamePath(),validated:i.validatePromise===null};return l}),ee(cn(i),"getOnlyChild",function(l){if(typeof l=="function"){var c=i.getMeta();return G(G({},i.getOnlyChild(l(i.getControlled(),c,i.props.fieldContext))),{},{isFunction:!0})}var u=ko(l);return u.length!==1||!p.isValidElement(u[0])?{child:u,isFunction:!1}:{child:u[0],isFunction:!1}}),ee(cn(i),"getValue",function(l){var c=i.props.fieldContext.getFieldsValue,u=i.getNamePath();return Ao(l||c(!0),u)}),ee(cn(i),"getControlled",function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=i.props,u=c.name,d=c.trigger,f=c.validateTrigger,h=c.getValueFromEvent,m=c.normalize,g=c.valuePropName,v=c.getValueProps,y=c.fieldContext,b=f!==void 0?f:y.validateTrigger,_=i.getNamePath(),E=y.getInternalHooks,C=y.getFieldsValue,S=E(j1),w=S.dispatch,T=i.getValue(),O=v||function(B){return ee({},g,B)},x=l[d],A=u!==void 0?O(T):{},I=G(G({},l),A);I[d]=function(){i.touched=!0,i.dirty=!0,i.triggerMetaEvent();for(var B,P=arguments.length,k=new Array(P),N=0;N=0&&x<=A.length?(u.keys=[].concat(nt(u.keys.slice(0,x)),[u.id],nt(u.keys.slice(x))),_([].concat(nt(A.slice(0,x)),[O],nt(A.slice(x))))):(u.keys=[].concat(nt(u.keys),[u.id]),_([].concat(nt(A),[O]))),u.id+=1},remove:function(O){var x=C(),A=new Set(Array.isArray(O)?O:[O]);A.size<=0||(u.keys=u.keys.filter(function(I,M){return!A.has(M)}),_(x.filter(function(I,M){return!A.has(M)})))},move:function(O,x){if(O!==x){var A=C();O<0||O>=A.length||x<0||x>=A.length||(u.keys=Sre(u.keys,O,x),_(Sre(A,O,x)))}}},w=b||[];return Array.isArray(w)||(w=[]),r(w.map(function(T,O){var x=u.keys[O];return x===void 0&&(u.keys[O]=u.id,x=u.keys[O],u.id+=1),{name:O,key:x,isListField:!0}}),S,v)})))}function ZJe(e){var t=!1,n=e.length,r=[];return e.length?new Promise(function(i,o){e.forEach(function(a,s){a.catch(function(l){return t=!0,l}).then(function(l){n-=1,r[s]=l,!(n>0)&&(t&&o(r),i(r))})})}):Promise.resolve([])}var REe="__@field_split__";function GL(e){return e.map(function(t){return"".concat(Gt(t),":").concat(t)}).join(REe)}var Z0=function(){function e(){Kr(this,e),ee(this,"kvs",new Map)}return Qr(e,[{key:"set",value:function(n,r){this.kvs.set(GL(n),r)}},{key:"get",value:function(n){return this.kvs.get(GL(n))}},{key:"update",value:function(n,r){var i=this.get(n),o=r(i);o?this.set(n,o):this.delete(n)}},{key:"delete",value:function(n){this.kvs.delete(GL(n))}},{key:"map",value:function(n){return nt(this.kvs.entries()).map(function(r){var i=Ie(r,2),o=i[0],a=i[1],s=o.split(REe);return n({key:s.map(function(l){var c=l.match(/^([^:]*):(.*)$/),u=Ie(c,3),d=u[1],f=u[2];return d==="number"?Number(f):f}),value:a})})}},{key:"toJSON",value:function(){var n={};return this.map(function(r){var i=r.key,o=r.value;return n[i.join(".")]=o,null}),n}}]),e}(),JJe=["name"],eet=Qr(function e(t){var n=this;Kr(this,e),ee(this,"formHooked",!1),ee(this,"forceRootUpdate",void 0),ee(this,"subscribable",!0),ee(this,"store",{}),ee(this,"fieldEntities",[]),ee(this,"initialValues",{}),ee(this,"callbacks",{}),ee(this,"validateMessages",null),ee(this,"preserve",null),ee(this,"lastValidatePromise",null),ee(this,"getForm",function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}}),ee(this,"getInternalHooks",function(r){return r===j1?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):(Yr(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)}),ee(this,"useSubscribe",function(r){n.subscribable=r}),ee(this,"prevWithoutPreserves",null),ee(this,"setInitialValues",function(r,i){if(n.initialValues=r||{},i){var o,a=B1(r,n.store);(o=n.prevWithoutPreserves)===null||o===void 0||o.map(function(s){var l=s.key;a=ea(a,l,Ao(r,l))}),n.prevWithoutPreserves=null,n.updateStore(a)}}),ee(this,"destroyForm",function(r){if(r)n.updateStore({});else{var i=new Z0;n.getFieldEntities(!0).forEach(function(o){n.isMergedPreserve(o.isPreserve())||i.set(o.getNamePath(),!0)}),n.prevWithoutPreserves=i}}),ee(this,"getInitialValue",function(r){var i=Ao(n.initialValues,r);return r.length?B1(i):i}),ee(this,"setCallbacks",function(r){n.callbacks=r}),ee(this,"setValidateMessages",function(r){n.validateMessages=r}),ee(this,"setPreserve",function(r){n.preserve=r}),ee(this,"watchList",[]),ee(this,"registerWatch",function(r){return n.watchList.push(r),function(){n.watchList=n.watchList.filter(function(i){return i!==r})}}),ee(this,"notifyWatch",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];if(n.watchList.length){var i=n.getFieldsValue(),o=n.getFieldsValue(!0);n.watchList.forEach(function(a){a(i,o,r)})}}),ee(this,"timeoutId",null),ee(this,"warningUnhooked",function(){}),ee(this,"updateStore",function(r){n.store=r}),ee(this,"getFieldEntities",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return r?n.fieldEntities.filter(function(i){return i.getNamePath().length}):n.fieldEntities}),ee(this,"getFieldsMap",function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=new Z0;return n.getFieldEntities(r).forEach(function(o){var a=o.getNamePath();i.set(a,o)}),i}),ee(this,"getFieldEntitiesForNamePathList",function(r){if(!r)return n.getFieldEntities(!0);var i=n.getFieldsMap(!0);return r.map(function(o){var a=Zo(o);return i.get(a)||{INVALIDATE_NAME_PATH:Zo(o)}})}),ee(this,"getFieldsValue",function(r,i){n.warningUnhooked();var o,a,s;if(r===!0||Array.isArray(r)?(o=r,a=i):r&&Gt(r)==="object"&&(s=r.strict,a=r.filter),o===!0&&!a)return n.store;var l=n.getFieldEntitiesForNamePathList(Array.isArray(o)?o:null),c=[];return l.forEach(function(u){var d,f,h="INVALIDATE_NAME_PATH"in u?u.INVALIDATE_NAME_PATH:u.getNamePath();if(s){var m,g;if((m=(g=u).isList)!==null&&m!==void 0&&m.call(g))return}else if(!o&&(d=(f=u).isListField)!==null&&d!==void 0&&d.call(f))return;if(!a)c.push(h);else{var v="getMeta"in u?u.getMeta():null;a(v)&&c.push(h)}}),_re(n.store,c.map(Zo))}),ee(this,"getFieldValue",function(r){n.warningUnhooked();var i=Zo(r);return Ao(n.store,i)}),ee(this,"getFieldsError",function(r){n.warningUnhooked();var i=n.getFieldEntitiesForNamePathList(r);return i.map(function(o,a){return o&&!("INVALIDATE_NAME_PATH"in o)?{name:o.getNamePath(),errors:o.getErrors(),warnings:o.getWarnings()}:{name:Zo(r[a]),errors:[],warnings:[]}})}),ee(this,"getFieldError",function(r){n.warningUnhooked();var i=Zo(r),o=n.getFieldsError([i])[0];return o.errors}),ee(this,"getFieldWarning",function(r){n.warningUnhooked();var i=Zo(r),o=n.getFieldsError([i])[0];return o.warnings}),ee(this,"isFieldsTouched",function(){n.warningUnhooked();for(var r=arguments.length,i=new Array(r),o=0;o0&&arguments[0]!==void 0?arguments[0]:{},i=new Z0,o=n.getFieldEntities(!0);o.forEach(function(l){var c=l.props.initialValue,u=l.getNamePath();if(c!==void 0){var d=i.get(u)||new Set;d.add({entity:l,value:c}),i.set(u,d)}});var a=function(c){c.forEach(function(u){var d=u.props.initialValue;if(d!==void 0){var f=u.getNamePath(),h=n.getInitialValue(f);if(h!==void 0)Yr(!1,"Form already set 'initialValues' with path '".concat(f.join("."),"'. Field can not overwrite it."));else{var m=i.get(f);if(m&&m.size>1)Yr(!1,"Multiple Field with path '".concat(f.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(m){var g=n.getFieldValue(f),v=u.isListField();!v&&(!r.skipExist||g===void 0)&&n.updateStore(ea(n.store,f,nt(m)[0].value))}}}})},s;r.entities?s=r.entities:r.namePathList?(s=[],r.namePathList.forEach(function(l){var c=i.get(l);if(c){var u;(u=s).push.apply(u,nt(nt(c).map(function(d){return d.entity})))}})):s=o,a(s)}),ee(this,"resetFields",function(r){n.warningUnhooked();var i=n.store;if(!r){n.updateStore(B1(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(i,null,{type:"reset"}),n.notifyWatch();return}var o=r.map(Zo);o.forEach(function(a){var s=n.getInitialValue(a);n.updateStore(ea(n.store,a,s))}),n.resetWithFieldInitialValue({namePathList:o}),n.notifyObservers(i,o,{type:"reset"}),n.notifyWatch(o)}),ee(this,"setFields",function(r){n.warningUnhooked();var i=n.store,o=[];r.forEach(function(a){var s=a.name,l=Dt(a,JJe),c=Zo(s);o.push(c),"value"in l&&n.updateStore(ea(n.store,c,l.value)),n.notifyObservers(i,[c],{type:"setField",data:a})}),n.notifyWatch(o)}),ee(this,"getFields",function(){var r=n.getFieldEntities(!0),i=r.map(function(o){var a=o.getNamePath(),s=o.getMeta(),l=G(G({},s),{},{name:a,value:n.getFieldValue(a)});return Object.defineProperty(l,"originRCField",{value:!0}),l});return i}),ee(this,"initEntityValue",function(r){var i=r.props.initialValue;if(i!==void 0){var o=r.getNamePath(),a=Ao(n.store,o);a===void 0&&n.updateStore(ea(n.store,o,i))}}),ee(this,"isMergedPreserve",function(r){var i=r!==void 0?r:n.preserve;return i??!0}),ee(this,"registerField",function(r){n.fieldEntities.push(r);var i=r.getNamePath();if(n.notifyWatch([i]),r.props.initialValue!==void 0){var o=n.store;n.resetWithFieldInitialValue({entities:[r],skipExist:!0}),n.notifyObservers(o,[r.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(a,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter(function(d){return d!==r}),!n.isMergedPreserve(s)&&(!a||l.length>1)){var c=a?void 0:n.getInitialValue(i);if(i.length&&n.getFieldValue(i)!==c&&n.fieldEntities.every(function(d){return!xEe(d.getNamePath(),i)})){var u=n.store;n.updateStore(ea(u,i,c,!0)),n.notifyObservers(u,[i],{type:"remove"}),n.triggerDependenciesUpdate(u,i)}}n.notifyWatch([i])}}),ee(this,"dispatch",function(r){switch(r.type){case"updateValue":{var i=r.namePath,o=r.value;n.updateValue(i,o);break}case"validateField":{var a=r.namePath,s=r.triggerName;n.validateFields([a],{triggerName:s});break}}}),ee(this,"notifyObservers",function(r,i,o){if(n.subscribable){var a=G(G({},o),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach(function(s){var l=s.onStoreChange;l(r,i,a)})}else n.forceRootUpdate()}),ee(this,"triggerDependenciesUpdate",function(r,i){var o=n.getDependencyChildrenFields(i);return o.length&&n.validateFields(o),n.notifyObservers(r,o,{type:"dependenciesUpdate",relatedFields:[i].concat(nt(o))}),o}),ee(this,"updateValue",function(r,i){var o=Zo(r),a=n.store;n.updateStore(ea(n.store,o,i)),n.notifyObservers(a,[o],{type:"valueUpdate",source:"internal"}),n.notifyWatch([o]);var s=n.triggerDependenciesUpdate(a,o),l=n.callbacks.onValuesChange;if(l){var c=_re(n.store,[o]);l(c,n.getFieldsValue())}n.triggerOnFieldsChange([o].concat(nt(s)))}),ee(this,"setFieldsValue",function(r){n.warningUnhooked();var i=n.store;if(r){var o=B1(n.store,r);n.updateStore(o)}n.notifyObservers(i,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()}),ee(this,"setFieldValue",function(r,i){n.setFields([{name:r,value:i,errors:[],warnings:[]}])}),ee(this,"getDependencyChildrenFields",function(r){var i=new Set,o=[],a=new Z0;n.getFieldEntities().forEach(function(l){var c=l.props.dependencies;(c||[]).forEach(function(u){var d=Zo(u);a.update(d,function(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:new Set;return f.add(l),f})})});var s=function l(c){var u=a.get(c)||new Set;u.forEach(function(d){if(!i.has(d)){i.add(d);var f=d.getNamePath();d.isFieldDirty()&&f.length&&(o.push(f),l(f))}})};return s(r),o}),ee(this,"triggerOnFieldsChange",function(r,i){var o=n.callbacks.onFieldsChange;if(o){var a=n.getFields();if(i){var s=new Z0;i.forEach(function(c){var u=c.name,d=c.errors;s.set(u,d)}),a.forEach(function(c){c.errors=s.get(c.name)||c.errors})}var l=a.filter(function(c){var u=c.name;return _y(r,u)});l.length&&o(l,a)}}),ee(this,"validateFields",function(r,i){n.warningUnhooked();var o,a;Array.isArray(r)||typeof r=="string"||typeof i=="string"?(o=r,a=i):a=r;var s=!!o,l=s?o.map(Zo):[],c=[],u=String(Date.now()),d=new Set,f=a||{},h=f.recursive,m=f.dirty;n.getFieldEntities(!0).forEach(function(b){if(s||l.push(b.getNamePath()),!(!b.props.rules||!b.props.rules.length)&&!(m&&!b.isFieldDirty())){var _=b.getNamePath();if(d.add(_.join(u)),!s||_y(l,_,h)){var E=b.validateRules(G({validateMessages:G(G({},TEe),n.validateMessages)},a));c.push(E.then(function(){return{name:_,errors:[],warnings:[]}}).catch(function(C){var S,w=[],T=[];return(S=C.forEach)===null||S===void 0||S.call(C,function(O){var x=O.rule.warningOnly,A=O.errors;x?T.push.apply(T,nt(A)):w.push.apply(w,nt(A))}),w.length?Promise.reject({name:_,errors:w,warnings:T}):{name:_,errors:w,warnings:T}}))}}});var g=ZJe(c);n.lastValidatePromise=g,g.catch(function(b){return b}).then(function(b){var _=b.map(function(E){var C=E.name;return C});n.notifyObservers(n.store,_,{type:"validateFinish"}),n.triggerOnFieldsChange(_,b)});var v=g.then(function(){return n.lastValidatePromise===g?Promise.resolve(n.getFieldsValue(l)):Promise.reject([])}).catch(function(b){var _=b.filter(function(E){return E&&E.errors.length});return Promise.reject({values:n.getFieldsValue(l),errorFields:_,outOfDate:n.lastValidatePromise!==g})});v.catch(function(b){return b});var y=l.filter(function(b){return d.has(b.join(u))});return n.triggerOnFieldsChange(y),v}),ee(this,"submit",function(){n.warningUnhooked(),n.validateFields().then(function(r){var i=n.callbacks.onFinish;if(i)try{i(r)}catch(o){console.error(o)}}).catch(function(r){var i=n.callbacks.onFinishFailed;i&&i(r)})}),this.forceRootUpdate=t});function Fq(e){var t=p.useRef(),n=p.useState({}),r=Ie(n,2),i=r[1];if(!t.current)if(e)t.current=e;else{var o=function(){i({})},a=new eet(o);t.current=a.getForm()}return[t.current]}var LH=p.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),IEe=function(t){var n=t.validateMessages,r=t.onFormChange,i=t.onFormFinish,o=t.children,a=p.useContext(LH),s=p.useRef({});return p.createElement(LH.Provider,{value:G(G({},a),{},{validateMessages:G(G({},a.validateMessages),n),triggerFormChange:function(c,u){r&&r(c,{changedFields:u,forms:s.current}),a.triggerFormChange(c,u)},triggerFormFinish:function(c,u){i&&i(c,{values:u,forms:s.current}),a.triggerFormFinish(c,u)},registerForm:function(c,u){c&&(s.current=G(G({},s.current),{},ee({},c,u))),a.registerForm(c,u)},unregisterForm:function(c){var u=G({},s.current);delete u[c],s.current=u,a.unregisterForm(c)}})},o)},tet=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed","clearOnDestroy"],net=function(t,n){var r=t.name,i=t.initialValues,o=t.fields,a=t.form,s=t.preserve,l=t.children,c=t.component,u=c===void 0?"form":c,d=t.validateMessages,f=t.validateTrigger,h=f===void 0?"onChange":f,m=t.onValuesChange,g=t.onFieldsChange,v=t.onFinish,y=t.onFinishFailed,b=t.clearOnDestroy,_=Dt(t,tet),E=p.useRef(null),C=p.useContext(LH),S=Fq(a),w=Ie(S,1),T=w[0],O=T.getInternalHooks(j1),x=O.useSubscribe,A=O.setInitialValues,I=O.setCallbacks,M=O.setValidateMessages,B=O.setPreserve,P=O.destroyForm;p.useImperativeHandle(n,function(){return G(G({},T),{},{nativeElement:E.current})}),p.useEffect(function(){return C.registerForm(r,T),function(){C.unregisterForm(r)}},[C,T,r]),M(G(G({},C.validateMessages),d)),I({onValuesChange:m,onFieldsChange:function(Z){if(C.triggerFormChange(r,Z),g){for(var te=arguments.length,ae=new Array(te>1?te-1:0),K=1;K{}}),NEe=p.createContext(null),MEe=e=>{const t=ur(e,["prefixCls"]);return p.createElement(IEe,Object.assign({},t))},Bq=p.createContext({prefixCls:""}),oa=p.createContext({}),iet=e=>{let{children:t,status:n,override:r}=e;const i=p.useContext(oa),o=p.useMemo(()=>{const a=Object.assign({},i);return r&&delete a.isFormItemInput,n&&(delete a.status,delete a.hasFeedback,delete a.feedbackIcon),a},[n,r,i]);return p.createElement(oa.Provider,{value:o},t)},kEe=p.createContext(void 0),Rd=e=>{const{space:t,form:n,children:r}=e;if(r==null)return null;let i=r;return n&&(i=se.createElement(iet,{override:!0,status:!0},i)),t&&(i=se.createElement(uXe,null,i)),i};function p_(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function Cre(e){const{closable:t,closeIcon:n}=e||{};return se.useMemo(()=>{if(!t&&(t===!1||n===!1||n===null))return!1;if(t===void 0&&n===void 0)return null;let r={closeIcon:typeof n!="boolean"&&n!==null?n:void 0};return t&&typeof t=="object"&&(r=Object.assign(Object.assign({},r),t)),r},[t,n])}function wre(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{i&&Object.keys(i).forEach(o=>{i[o]!==void 0&&(e[o]=i[o])})}),e}const oet={};function jq(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:oet;const r=Cre(e),i=Cre(t),o=typeof r!="boolean"?!!(r!=null&&r.disabled):!1,a=se.useMemo(()=>Object.assign({closeIcon:se.createElement(Yf,null)},n),[n]),s=se.useMemo(()=>r===!1?!1:r?wre(a,i,r):i===!1?!1:i?wre(a,i):a.closable?a:!1,[r,i,a]);return se.useMemo(()=>{if(s===!1)return[!1,null,o];const{closeIconRender:l}=a,{closeIcon:c}=s;let u=c;if(u!=null){l&&(u=l(c));const d=xi(s,!0);Object.keys(d).length&&(u=se.isValidElement(u)?se.cloneElement(u,d):se.createElement("span",Object.assign({},d),u))}return[!0,u,o]},[s,a])}var PEe=function(t){if(Xs()&&window.document.documentElement){var n=Array.isArray(t)?t:[t],r=window.document.documentElement;return n.some(function(i){return i in r.style})}return!1},aet=function(t,n){if(!PEe(t))return!1;var r=document.createElement("div"),i=r.style[t];return r.style[t]=n,r.style[t]!==i};function $H(e,t){return!Array.isArray(e)&&t!==void 0?aet(e,t):PEe(e)}const set=()=>Xs()&&window.document.documentElement,z5=e=>{const{prefixCls:t,className:n,style:r,size:i,shape:o}=e,a=xe({[`${t}-lg`]:i==="large",[`${t}-sm`]:i==="small"}),s=xe({[`${t}-circle`]:o==="circle",[`${t}-square`]:o==="square",[`${t}-round`]:o==="round"}),l=p.useMemo(()=>typeof i=="number"?{width:i,height:i,lineHeight:`${i}px`}:{},[i]);return p.createElement("span",{className:xe(t,a,s,n),style:Object.assign(Object.assign({},l),r)})},cet=new fr("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),V5=e=>({height:e,lineHeight:Ae(e)}),Sy=e=>Object.assign({width:e},V5(e)),uet=e=>({background:e.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:cet,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),WL=(e,t)=>Object.assign({width:t(e).mul(5).equal(),minWidth:t(e).mul(5).equal()},V5(e)),det=e=>{const{skeletonAvatarCls:t,gradientFromColor:n,controlHeight:r,controlHeightLG:i,controlHeightSM:o}=e;return{[t]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},Sy(r)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},Sy(i)),[`${t}${t}-sm`]:Object.assign({},Sy(o))}},fet=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:r,controlHeightLG:i,controlHeightSM:o,gradientFromColor:a,calc:s}=e;return{[r]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:n},WL(t,s)),[`${r}-lg`]:Object.assign({},WL(i,s)),[`${r}-sm`]:Object.assign({},WL(o,s))}},Tre=e=>Object.assign({width:e},V5(e)),pet=e=>{const{skeletonImageCls:t,imageSizeBase:n,gradientFromColor:r,borderRadiusSM:i,calc:o}=e;return{[t]:Object.assign(Object.assign({display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"middle",background:r,borderRadius:i},Tre(o(n).mul(2).equal())),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},Tre(n)),{maxWidth:o(n).mul(4).equal(),maxHeight:o(n).mul(4).equal()}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},qL=(e,t,n)=>{const{skeletonButtonCls:r}=e;return{[`${n}${r}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${r}-round`]:{borderRadius:t}}},YL=(e,t)=>Object.assign({width:t(e).mul(2).equal(),minWidth:t(e).mul(2).equal()},V5(e)),het=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:r,controlHeightLG:i,controlHeightSM:o,gradientFromColor:a,calc:s}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:a,borderRadius:t,width:s(r).mul(2).equal(),minWidth:s(r).mul(2).equal()},YL(r,s))},qL(e,r,n)),{[`${n}-lg`]:Object.assign({},YL(i,s))}),qL(e,i,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},YL(o,s))}),qL(e,o,`${n}-sm`))},met=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:r,skeletonParagraphCls:i,skeletonButtonCls:o,skeletonInputCls:a,skeletonImageCls:s,controlHeight:l,controlHeightLG:c,controlHeightSM:u,gradientFromColor:d,padding:f,marginSM:h,borderRadius:m,titleHeight:g,blockRadius:v,paragraphLiHeight:y,controlHeightXS:b,paragraphMarginTop:_}=e;return{[t]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:f,verticalAlign:"top",[n]:Object.assign({display:"inline-block",verticalAlign:"top",background:d},Sy(l)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},Sy(c)),[`${n}-sm`]:Object.assign({},Sy(u))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[r]:{width:"100%",height:g,background:d,borderRadius:v,[`+ ${i}`]:{marginBlockStart:u}},[i]:{padding:0,"> li":{width:"100%",height:y,listStyle:"none",background:d,borderRadius:v,"+ li":{marginBlockStart:b}}},[`${i}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${r}, ${i} > li`]:{borderRadius:m}}},[`${t}-with-avatar ${t}-content`]:{[r]:{marginBlockStart:h,[`+ ${i}`]:{marginBlockStart:_}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},het(e)),det(e)),fet(e)),pet(e)),[`${t}${t}-block`]:{width:"100%",[o]:{width:"100%"},[a]:{width:"100%"}},[`${t}${t}-active`]:{[` ${r}, ${i} > li, ${n}, ${o}, ${a}, ${s} - `]:Object.assign({},uet(e))}}},get=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,i=n;return{color:r,colorGradientEnd:i,gradientFromColor:r,gradientToColor:i,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},bS=lr("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Kn(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[met(r)]},get,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),vet=e=>{const{prefixCls:t,className:n,rootClassName:r,active:i,shape:o="circle",size:a="default"}=e,{getPrefixCls:s}=p.useContext(Xt),l=s("skeleton",t),[c,u,d]=bS(l),f=ur(e,["prefixCls","className"]),h=xe(l,`${l}-element`,{[`${l}-active`]:i},n,r,u,d);return c(p.createElement("div",{className:h},p.createElement(zP,Object.assign({prefixCls:`${l}-avatar`,shape:o,size:a},f))))},bet=e=>{const{prefixCls:t,className:n,rootClassName:r,active:i,block:o=!1,size:a="default"}=e,{getPrefixCls:s}=p.useContext(Xt),l=s("skeleton",t),[c,u,d]=bS(l),f=ur(e,["prefixCls"]),h=xe(l,`${l}-element`,{[`${l}-active`]:i,[`${l}-block`]:o},n,r,u,d);return c(p.createElement("div",{className:h},p.createElement(zP,Object.assign({prefixCls:`${l}-button`,size:a},f))))},yet="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",_et=e=>{const{prefixCls:t,className:n,rootClassName:r,style:i,active:o}=e,{getPrefixCls:a}=p.useContext(Xt),s=a("skeleton",t),[l,c,u]=bS(s),d=xe(s,`${s}-element`,{[`${s}-active`]:o},n,r,c,u);return l(p.createElement("div",{className:d},p.createElement("div",{className:xe(`${s}-image`,n),style:i},p.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},p.createElement("title",null,"Image placeholder"),p.createElement("path",{d:yet,className:`${s}-image-path`})))))},Eet=e=>{const{prefixCls:t,className:n,rootClassName:r,active:i,block:o,size:a="default"}=e,{getPrefixCls:s}=p.useContext(Xt),l=s("skeleton",t),[c,u,d]=bS(l),f=ur(e,["prefixCls"]),h=xe(l,`${l}-element`,{[`${l}-active`]:i,[`${l}-block`]:o},n,r,u,d);return c(p.createElement("div",{className:h},p.createElement(zP,Object.assign({prefixCls:`${l}-input`,size:a},f))))},Cet=e=>{const{prefixCls:t,className:n,rootClassName:r,style:i,active:o,children:a}=e,{getPrefixCls:s}=p.useContext(Xt),l=s("skeleton",t),[c,u,d]=bS(l),f=xe(l,`${l}-element`,{[`${l}-active`]:o},u,n,r,d);return c(p.createElement("div",{className:f},p.createElement("div",{className:xe(`${l}-image`,n),style:i},a)))},wet=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},Tet=e=>{const{prefixCls:t,className:n,style:r,rows:i}=e,o=nt(new Array(i)).map((a,s)=>p.createElement("li",{key:s,style:{width:wet(s,e)}}));return p.createElement("ul",{className:xe(t,n),style:r},o)},xet=e=>{let{prefixCls:t,className:n,width:r,style:i}=e;return p.createElement("h3",{className:xe(t,n),style:Object.assign({width:r},i)})};function KL(e){return e&&typeof e=="object"?e:{}}function Oet(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ret(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function Iet(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Th=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:i,style:o,children:a,avatar:s=!1,title:l=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:f,direction:h,skeleton:m}=p.useContext(Xt),g=f("skeleton",t),[v,y,b]=bS(g);if(n||!("loading"in e)){const _=!!s,E=!!l,C=!!c;let S;if(_){const O=Object.assign(Object.assign({prefixCls:`${g}-avatar`},Oet(E,C)),KL(s));S=p.createElement("div",{className:`${g}-header`},p.createElement(zP,Object.assign({},O)))}let w;if(E||C){let O;if(E){const A=Object.assign(Object.assign({prefixCls:`${g}-title`},Ret(_,C)),KL(l));O=p.createElement(xet,Object.assign({},A))}let x;if(C){const A=Object.assign(Object.assign({prefixCls:`${g}-paragraph`},Iet(_,E)),KL(c));x=p.createElement(Tet,Object.assign({},A))}w=p.createElement("div",{className:`${g}-content`},O,x)}const T=xe(g,{[`${g}-with-avatar`]:_,[`${g}-active`]:u,[`${g}-rtl`]:h==="rtl",[`${g}-round`]:d},m==null?void 0:m.className,r,i,y,b);return v(p.createElement("div",{className:T,style:Object.assign(Object.assign({},m==null?void 0:m.style),o)},S,w))}return a??null};Th.Button=bet;Th.Avatar=vet;Th.Input=Eet;Th.Image=_et;Th.Node=Cet;function xre(){}const Aet=p.createContext({add:xre,remove:xre});function DEe(e){const t=p.useContext(Aet),n=p.useRef(null);return Yn(i=>{if(i){const o=e?i.querySelector(e):i;t.add(o),n.current=o}else t.remove(n.current)})}const Ore=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=p.useContext(s2);return se.createElement($n,Object.assign({onClick:n},e),t)},Rre=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=p.useContext(s2);return se.createElement($n,Object.assign({},xq(n),{loading:e,onClick:i},t),r)};function LEe(e,t){return se.createElement("span",{className:`${e}-close-x`},t||se.createElement(Yf,{className:`${e}-close-icon`}))}const $Ee=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:i,onOk:o,onCancel:a,okButtonProps:s,cancelButtonProps:l,footer:c}=e,[u]=ds("Modal",iSe()),d=t||(u==null?void 0:u.okText),f=r||(u==null?void 0:u.cancelText),h={confirmLoading:i,okButtonProps:s,cancelButtonProps:l,okTextLocale:d,cancelTextLocale:f,okType:n,onOk:o,onCancel:a},m=se.useMemo(()=>h,nt(Object.values(h)));let g;return typeof c=="function"||typeof c>"u"?(g=se.createElement(se.Fragment,null,se.createElement(Ore,null),se.createElement(Rre,null)),typeof c=="function"&&(g=c(g,{OkBtn:Rre,CancelBtn:Ore})),g=se.createElement(bEe,{value:m},g)):g=c,se.createElement(bq,{disabled:!1},g)},Net=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},Met=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},ket=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:i}=e,o={};for(let a=i;a>=0;a--)a===0?(o[`${r}${t}-${a}`]={display:"none"},o[`${r}-push-${a}`]={insetInlineStart:"auto"},o[`${r}-pull-${a}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${a}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${a}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${a}`]={marginInlineStart:0},o[`${r}${t}-order-${a}`]={order:0}):(o[`${r}${t}-${a}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${a/i*100}%`,maxWidth:`${a/i*100}%`}],o[`${r}${t}-push-${a}`]={insetInlineStart:`${a/i*100}%`},o[`${r}${t}-pull-${a}`]={insetInlineEnd:`${a/i*100}%`},o[`${r}${t}-offset-${a}`]={marginInlineStart:`${a/i*100}%`},o[`${r}${t}-order-${a}`]={order:a});return o[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},o},FH=(e,t)=>ket(e,t),Pet=(e,t,n)=>({[`@media (min-width: ${Ae(t)})`]:Object.assign({},FH(e,n))}),Det=()=>({}),Let=()=>({}),$et=lr("Grid",Net,Det),FEe=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin}),Fet=lr("Grid",e=>{const t=Kn(e,{gridColumns:24}),n=FEe(t);return delete n.xs,[Met(t),FH(t,""),FH(t,"-xs"),Object.keys(n).map(r=>Pet(t,n[r],`-${r}`)).reduce((r,i)=>Object.assign(Object.assign({},r),i),{})]},Let);function Ire(e){return{position:e,inset:0}}const BEe=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},Ire("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},Ire("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:Iq(e)}]},Bet=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${Ae(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},gr(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${Ae(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:Ae(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},Zs(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${Ae(e.borderRadiusLG)} ${Ae(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${Ae(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, + `]:Object.assign({},uet(e))}}},get=e=>{const{colorFillContent:t,colorFill:n}=e,r=t,i=n;return{color:r,colorGradientEnd:i,gradientFromColor:r,gradientToColor:i,titleHeight:e.controlHeight/2,blockRadius:e.borderRadiusSM,paragraphMarginTop:e.marginLG+e.marginXXS,paragraphLiHeight:e.controlHeight/2}},bS=lr("Skeleton",e=>{const{componentCls:t,calc:n}=e,r=Kn(e,{skeletonAvatarCls:`${t}-avatar`,skeletonTitleCls:`${t}-title`,skeletonParagraphCls:`${t}-paragraph`,skeletonButtonCls:`${t}-button`,skeletonInputCls:`${t}-input`,skeletonImageCls:`${t}-image`,imageSizeBase:n(e.controlHeight).mul(1.5).equal(),borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${e.gradientFromColor} 25%, ${e.gradientToColor} 37%, ${e.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[met(r)]},get,{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),vet=e=>{const{prefixCls:t,className:n,rootClassName:r,active:i,shape:o="circle",size:a="default"}=e,{getPrefixCls:s}=p.useContext(Xt),l=s("skeleton",t),[c,u,d]=bS(l),f=ur(e,["prefixCls","className"]),h=xe(l,`${l}-element`,{[`${l}-active`]:i},n,r,u,d);return c(p.createElement("div",{className:h},p.createElement(z5,Object.assign({prefixCls:`${l}-avatar`,shape:o,size:a},f))))},bet=e=>{const{prefixCls:t,className:n,rootClassName:r,active:i,block:o=!1,size:a="default"}=e,{getPrefixCls:s}=p.useContext(Xt),l=s("skeleton",t),[c,u,d]=bS(l),f=ur(e,["prefixCls"]),h=xe(l,`${l}-element`,{[`${l}-active`]:i,[`${l}-block`]:o},n,r,u,d);return c(p.createElement("div",{className:h},p.createElement(z5,Object.assign({prefixCls:`${l}-button`,size:a},f))))},yet="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",_et=e=>{const{prefixCls:t,className:n,rootClassName:r,style:i,active:o}=e,{getPrefixCls:a}=p.useContext(Xt),s=a("skeleton",t),[l,c,u]=bS(s),d=xe(s,`${s}-element`,{[`${s}-active`]:o},n,r,c,u);return l(p.createElement("div",{className:d},p.createElement("div",{className:xe(`${s}-image`,n),style:i},p.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${s}-image-svg`},p.createElement("title",null,"Image placeholder"),p.createElement("path",{d:yet,className:`${s}-image-path`})))))},Eet=e=>{const{prefixCls:t,className:n,rootClassName:r,active:i,block:o,size:a="default"}=e,{getPrefixCls:s}=p.useContext(Xt),l=s("skeleton",t),[c,u,d]=bS(l),f=ur(e,["prefixCls"]),h=xe(l,`${l}-element`,{[`${l}-active`]:i,[`${l}-block`]:o},n,r,u,d);return c(p.createElement("div",{className:h},p.createElement(z5,Object.assign({prefixCls:`${l}-input`,size:a},f))))},Cet=e=>{const{prefixCls:t,className:n,rootClassName:r,style:i,active:o,children:a}=e,{getPrefixCls:s}=p.useContext(Xt),l=s("skeleton",t),[c,u,d]=bS(l),f=xe(l,`${l}-element`,{[`${l}-active`]:o},u,n,r,d);return c(p.createElement("div",{className:f},p.createElement("div",{className:xe(`${l}-image`,n),style:i},a)))},wet=(e,t)=>{const{width:n,rows:r=2}=t;if(Array.isArray(n))return n[e];if(r-1===e)return n},Tet=e=>{const{prefixCls:t,className:n,style:r,rows:i}=e,o=nt(new Array(i)).map((a,s)=>p.createElement("li",{key:s,style:{width:wet(s,e)}}));return p.createElement("ul",{className:xe(t,n),style:r},o)},xet=e=>{let{prefixCls:t,className:n,width:r,style:i}=e;return p.createElement("h3",{className:xe(t,n),style:Object.assign({width:r},i)})};function KL(e){return e&&typeof e=="object"?e:{}}function Oet(e,t){return e&&!t?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Ret(e,t){return!e&&t?{width:"38%"}:e&&t?{width:"50%"}:{}}function Iet(e,t){const n={};return(!e||!t)&&(n.width="61%"),!e&&t?n.rows=3:n.rows=2,n}const Th=e=>{const{prefixCls:t,loading:n,className:r,rootClassName:i,style:o,children:a,avatar:s=!1,title:l=!0,paragraph:c=!0,active:u,round:d}=e,{getPrefixCls:f,direction:h,skeleton:m}=p.useContext(Xt),g=f("skeleton",t),[v,y,b]=bS(g);if(n||!("loading"in e)){const _=!!s,E=!!l,C=!!c;let S;if(_){const O=Object.assign(Object.assign({prefixCls:`${g}-avatar`},Oet(E,C)),KL(s));S=p.createElement("div",{className:`${g}-header`},p.createElement(z5,Object.assign({},O)))}let w;if(E||C){let O;if(E){const A=Object.assign(Object.assign({prefixCls:`${g}-title`},Ret(_,C)),KL(l));O=p.createElement(xet,Object.assign({},A))}let x;if(C){const A=Object.assign(Object.assign({prefixCls:`${g}-paragraph`},Iet(_,E)),KL(c));x=p.createElement(Tet,Object.assign({},A))}w=p.createElement("div",{className:`${g}-content`},O,x)}const T=xe(g,{[`${g}-with-avatar`]:_,[`${g}-active`]:u,[`${g}-rtl`]:h==="rtl",[`${g}-round`]:d},m==null?void 0:m.className,r,i,y,b);return v(p.createElement("div",{className:T,style:Object.assign(Object.assign({},m==null?void 0:m.style),o)},S,w))}return a??null};Th.Button=bet;Th.Avatar=vet;Th.Input=Eet;Th.Image=_et;Th.Node=Cet;function xre(){}const Aet=p.createContext({add:xre,remove:xre});function DEe(e){const t=p.useContext(Aet),n=p.useRef(null);return Yn(i=>{if(i){const o=e?i.querySelector(e):i;t.add(o),n.current=o}else t.remove(n.current)})}const Ore=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=p.useContext(s2);return se.createElement($n,Object.assign({onClick:n},e),t)},Rre=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:i}=p.useContext(s2);return se.createElement($n,Object.assign({},xq(n),{loading:e,onClick:i},t),r)};function LEe(e,t){return se.createElement("span",{className:`${e}-close-x`},t||se.createElement(Yf,{className:`${e}-close-icon`}))}const $Ee=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:i,onOk:o,onCancel:a,okButtonProps:s,cancelButtonProps:l,footer:c}=e,[u]=ds("Modal",iSe()),d=t||(u==null?void 0:u.okText),f=r||(u==null?void 0:u.cancelText),h={confirmLoading:i,okButtonProps:s,cancelButtonProps:l,okTextLocale:d,cancelTextLocale:f,okType:n,onOk:o,onCancel:a},m=se.useMemo(()=>h,nt(Object.values(h)));let g;return typeof c=="function"||typeof c>"u"?(g=se.createElement(se.Fragment,null,se.createElement(Ore,null),se.createElement(Rre,null)),typeof c=="function"&&(g=c(g,{OkBtn:Rre,CancelBtn:Ore})),g=se.createElement(bEe,{value:m},g)):g=c,se.createElement(bq,{disabled:!1},g)},Net=e=>{const{componentCls:t}=e;return{[t]:{display:"flex",flexFlow:"row wrap",minWidth:0,"&::before, &::after":{display:"flex"},"&-no-wrap":{flexWrap:"nowrap"},"&-start":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"flex-end"},"&-space-between":{justifyContent:"space-between"},"&-space-around":{justifyContent:"space-around"},"&-space-evenly":{justifyContent:"space-evenly"},"&-top":{alignItems:"flex-start"},"&-middle":{alignItems:"center"},"&-bottom":{alignItems:"flex-end"}}}},Met=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",maxWidth:"100%",minHeight:1}}},ket=(e,t)=>{const{prefixCls:n,componentCls:r,gridColumns:i}=e,o={};for(let a=i;a>=0;a--)a===0?(o[`${r}${t}-${a}`]={display:"none"},o[`${r}-push-${a}`]={insetInlineStart:"auto"},o[`${r}-pull-${a}`]={insetInlineEnd:"auto"},o[`${r}${t}-push-${a}`]={insetInlineStart:"auto"},o[`${r}${t}-pull-${a}`]={insetInlineEnd:"auto"},o[`${r}${t}-offset-${a}`]={marginInlineStart:0},o[`${r}${t}-order-${a}`]={order:0}):(o[`${r}${t}-${a}`]=[{"--ant-display":"block",display:"block"},{display:"var(--ant-display)",flex:`0 0 ${a/i*100}%`,maxWidth:`${a/i*100}%`}],o[`${r}${t}-push-${a}`]={insetInlineStart:`${a/i*100}%`},o[`${r}${t}-pull-${a}`]={insetInlineEnd:`${a/i*100}%`},o[`${r}${t}-offset-${a}`]={marginInlineStart:`${a/i*100}%`},o[`${r}${t}-order-${a}`]={order:a});return o[`${r}${t}-flex`]={flex:`var(--${n}${t}-flex)`},o},FH=(e,t)=>ket(e,t),Pet=(e,t,n)=>({[`@media (min-width: ${Ae(t)})`]:Object.assign({},FH(e,n))}),Det=()=>({}),Let=()=>({}),$et=lr("Grid",Net,Det),FEe=e=>({xs:e.screenXSMin,sm:e.screenSMMin,md:e.screenMDMin,lg:e.screenLGMin,xl:e.screenXLMin,xxl:e.screenXXLMin}),Fet=lr("Grid",e=>{const t=Kn(e,{gridColumns:24}),n=FEe(t);return delete n.xs,[Met(t),FH(t,""),FH(t,"-xs"),Object.keys(n).map(r=>Pet(t,n[r],`-${r}`)).reduce((r,i)=>Object.assign(Object.assign({},r),i),{})]},Let);function Ire(e){return{position:e,inset:0}}const BEe=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},Ire("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},Ire("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:Iq(e)}]},Bet=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${Ae(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},gr(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${Ae(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:Ae(e.modalCloseBtnSize),justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:disabled":{pointerEvents:"none"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},Zs(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${Ae(e.borderRadiusLG)} ${Ae(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding,[`${t}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center",margin:`${Ae(e.margin)} auto`}},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content, ${t}-body, ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},jet=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},Het=e=>{const{componentCls:t}=e,n=FEe(e);delete n.xs;const r=Object.keys(n).map(i=>({[`@media (min-width: ${Ae(n[i])})`]:{width:`var(--${t.replace(".","")}-${i}-width)`}}));return{[`${t}-root`]:{[t]:[{width:`var(--${t.replace(".","")}-xs-width)`}].concat(nt(r))}}},jEe=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return Kn(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},HEe=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${Ae(e.paddingMD)} ${Ae(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${Ae(e.padding)} ${Ae(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${Ae(e.paddingXS)} ${Ae(e.padding)}`:0,footerBorderTop:e.wireframe?`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${Ae(e.borderRadiusLG)} ${Ae(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${Ae(e.padding*2)} ${Ae(e.padding*2)} ${Ae(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),UEe=lr("Modal",e=>{const t=jEe(e);return[Bet(t),jet(t),BEe(t),gS(t,"zoom"),Het(t)]},HEe,{unitless:{titleLineHeight:!0}});var Uet=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{BH={x:e.pageX,y:e.pageY},setTimeout(()=>{BH=null},100)};set()&&document.documentElement.addEventListener("click",zet,!0);const zEe=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:i,modal:o}=p.useContext(Xt),a=ae=>{const{onCancel:K}=e;K==null||K(ae)},s=ae=>{const{onOk:K}=e;K==null||K(ae)},{prefixCls:l,className:c,rootClassName:u,open:d,wrapClassName:f,centered:h,getContainer:m,focusTriggerAfterClose:g=!0,style:v,visible:y,width:b=520,footer:_,classNames:E,styles:C,children:S,loading:w}=e,T=Uet(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles","children","loading"]),O=r("modal",l),x=r(),A=ui(O),[I,M,B]=UEe(O,A),P=xe(f,{[`${O}-centered`]:!!h,[`${O}-wrap-rtl`]:i==="rtl"}),k=_!==null&&!w?p.createElement($Ee,Object.assign({},e,{onOk:s,onCancel:a})):null,[N,L,V]=jq(p_(e),p_(o),{closable:!0,closeIcon:p.createElement(Yf,{className:`${O}-close-icon`}),closeIconRender:ae=>LEe(O,ae)}),$=DEe(`.${O}-content`),[W,j]=Ru("Modal",T.zIndex),[U,Z]=p.useMemo(()=>b&&typeof b=="object"?[void 0,b]:[b,void 0],[b]),te=p.useMemo(()=>{const ae={};return Z&&Object.keys(Z).forEach(K=>{const Q=Z[K];Q!==void 0&&(ae[`--${O}-${K}-width`]=typeof Q=="number"?`${Q}px`:Q)}),ae},[Z]);return I(p.createElement(Rd,{form:!0,space:!0},p.createElement(r2.Provider,{value:j},p.createElement(Dq,Object.assign({width:U},T,{zIndex:W,getContainer:m===void 0?n:m,prefixCls:O,rootClassName:xe(M,u,B,A),footer:k,visible:d??y,mousePosition:(t=T.mousePosition)!==null&&t!==void 0?t:BH,onClose:a,closable:N&&{disabled:V,closeIcon:L},closeIcon:L,focusTriggerAfterClose:g,transitionName:Va(x,"zoom",e.transitionName),maskTransitionName:Va(x,"fade",e.maskTransitionName),className:xe(M,c,o==null?void 0:o.className),style:Object.assign(Object.assign(Object.assign({},o==null?void 0:o.style),v),te),classNames:Object.assign(Object.assign(Object.assign({},o==null?void 0:o.classNames),E),{wrapper:xe(P,E==null?void 0:E.wrapper)}),styles:Object.assign(Object.assign({},o==null?void 0:o.styles),C),panelRef:$}),w?p.createElement(Th,{active:!0,title:!1,paragraph:{rows:4},className:`${O}-body-skeleton`}):S))))},Vet=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:i,fontSize:o,lineHeight:a,modalTitleHeight:s,fontHeight:l,confirmBodyPadding:c}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${u}-body-wrapper`]:Object.assign({},wd()),[`&${t} ${t}-body`]:{padding:c},[`${u}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:i,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(l).sub(i).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(s).sub(i).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS,maxWidth:`calc(100% - ${Ae(e.marginSM)})`},[`${e.iconCls} + ${u}-paragraph`]:{maxWidth:`calc(100% - ${Ae(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${u}-content`]:{color:e.colorText,fontSize:o,lineHeight:a},[`${u}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls}, - ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},Get=pS(["Modal","confirm"],e=>{const t=jEe(e);return[Vet(t)]},HEe,{order:-1e3});var Wet=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ib,nt(Object.values(b))),E=p.createElement(p.Fragment,null,p.createElement(rre,null),p.createElement(ire,null)),C=e.title!==void 0&&e.title!==null,S=`${o}-body`;return p.createElement("div",{className:`${o}-body-wrapper`},p.createElement("div",{className:xe(S,{[`${S}-has-title`]:C})},d,p.createElement("div",{className:`${o}-paragraph`},C&&p.createElement("span",{className:`${o}-title`},e.title),p.createElement("div",{className:`${o}-content`},e.content))),l===void 0||typeof l=="function"?p.createElement(bEe,{value:_},p.createElement("div",{className:`${o}-btns`},typeof l=="function"?l(E,{OkBtn:ire,CancelBtn:rre}):E)):l,p.createElement(Get,{prefixCls:t}))}const qet=e=>{const{close:t,zIndex:n,maskStyle:r,direction:i,prefixCls:o,wrapClassName:a,rootPrefixCls:s,bodyStyle:l,closable:c=!1,onConfirm:u,styles:d}=e,f=`${o}-confirm`,h=e.width||416,m=e.style||{},g=e.mask===void 0?!0:e.mask,v=e.maskClosable===void 0?!1:e.maskClosable,y=xe(f,`${f}-${e.type}`,{[`${f}-rtl`]:i==="rtl"},e.className),[,b]=qo(),_=p.useMemo(()=>n!==void 0?n:b.zIndexPopupBase+Cq,[n,b]);return p.createElement(zEe,Object.assign({},e,{className:y,wrapClassName:xe({[`${f}-centered`]:!!e.centered},a),onCancel:()=>{t==null||t({triggerCancel:!0}),u==null||u(!1)},title:"",footer:null,transitionName:Va(s||"","zoom",e.transitionName),maskTransitionName:Va(s||"","fade",e.maskTransitionName),mask:g,maskClosable:v,style:m,styles:Object.assign({body:l,mask:r},d),width:h,zIndex:_,closable:c}),p.createElement(VEe,Object.assign({},e,{confirmPrefixCls:f})))},GEe=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:i}=e;return p.createElement(Ln,{prefixCls:t,iconPrefixCls:n,direction:r,theme:i},p.createElement(qet,Object.assign({},e)))},H1=[];let WEe="";function qEe(){return WEe}const Yet=e=>{var t,n;const{prefixCls:r,getContainer:i,direction:o}=e,a=iSe(),s=p.useContext(Xt),l=qEe()||s.getPrefixCls(),c=r||`${l}-modal`;let u=i;return u===!1&&(u=void 0),se.createElement(GEe,Object.assign({},e,{rootPrefixCls:l,prefixCls:c,iconPrefixCls:s.iconPrefixCls,theme:s.theme,direction:o??s.direction,locale:(n=(t=s.locale)===null||t===void 0?void 0:t.Modal)!==null&&n!==void 0?n:a,getContainer:u}))};function u2(e){const t=FSe(),n=document.createDocumentFragment();let r=Object.assign(Object.assign({},e),{close:l,open:!0}),i,o;function a(){for(var u,d=arguments.length,f=new Array(d),h=0;hv==null?void 0:v.triggerCancel)){var g;(u=e.onCancel)===null||u===void 0||(g=u).call.apply(g,[e,()=>{}].concat(nt(f.slice(1))))}for(let v=0;v{const d=t.getPrefixCls(void 0,qEe()),f=t.getIconPrefixCls(),h=t.getTheme(),m=se.createElement(Yet,Object.assign({},u));o=Tq()(se.createElement(Ln,{prefixCls:d,iconPrefixCls:f,theme:h},t.holderRender?t.holderRender(m):m),n)})}function l(){for(var u=arguments.length,d=new Array(u),f=0;f{typeof e.afterClose=="function"&&e.afterClose(),a.apply(this,d)}}),r.visible&&delete r.visible,s(r)}function c(u){typeof u=="function"?r=u(r):r=Object.assign(Object.assign({},r),u),s(r)}return s(r),H1.push(l),{destroy:l,update:c}}function YEe(e){return Object.assign(Object.assign({},e),{type:"warning"})}function KEe(e){return Object.assign(Object.assign({},e),{type:"info"})}function QEe(e){return Object.assign(Object.assign({},e),{type:"success"})}function XEe(e){return Object.assign(Object.assign({},e),{type:"error"})}function ZEe(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function Ket(e){let{rootPrefixCls:t}=e;WEe=t}var Qet=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,{afterClose:r,config:i}=e,o=Qet(e,["afterClose","config"]);const[a,s]=p.useState(!0),[l,c]=p.useState(i),{direction:u,getPrefixCls:d}=p.useContext(Xt),f=d("modal"),h=d(),m=()=>{var b;r(),(b=l.afterClose)===null||b===void 0||b.call(l)},g=function(){var b;s(!1);for(var _=arguments.length,E=new Array(_),C=0;C<_;C++)E[C]=arguments[C];if(E.some(T=>T==null?void 0:T.triggerCancel)){var w;(b=l.onCancel)===null||b===void 0||(w=b).call.apply(w,[l,()=>{}].concat(nt(E.slice(1))))}};p.useImperativeHandle(t,()=>({destroy:g,update:b=>{c(_=>Object.assign(Object.assign({},_),b))}}));const v=(n=l.okCancel)!==null&&n!==void 0?n:l.type==="confirm",[y]=ds("Modal",Cc.Modal);return p.createElement(GEe,Object.assign({prefixCls:f,rootPrefixCls:h},l,{close:g,open:a,afterClose:m,okText:l.okText||(v?y==null?void 0:y.okText:y==null?void 0:y.justOkText),direction:l.direction||u,cancelText:l.cancelText||(y==null?void 0:y.cancelText)},o))},Zet=p.forwardRef(Xet);let Are=0;const Jet=p.memo(p.forwardRef((e,t)=>{const[n,r]=UQe();return p.useImperativeHandle(t,()=>({patchElement:r}),[]),p.createElement(p.Fragment,null,n)}));function JEe(){const e=p.useRef(null),[t,n]=p.useState([]);p.useEffect(()=>{t.length&&(nt(t).forEach(a=>{a()}),n([]))},[t]);const r=p.useCallback(o=>function(s){var l;Are+=1;const c=p.createRef();let u;const d=new Promise(v=>{u=v});let f=!1,h;const m=p.createElement(Zet,{key:`modal-${Are}`,config:o(s),ref:c,afterClose:()=>{h==null||h()},isSilent:()=>f,onConfirm:v=>{u(v)}});return h=(l=e.current)===null||l===void 0?void 0:l.patchElement(m),h&&H1.push(h),{destroy:()=>{function v(){var y;(y=c.current)===null||y===void 0||y.destroy()}c.current?v():n(y=>[].concat(nt(y),[v]))},update:v=>{function y(){var b;(b=c.current)===null||b===void 0||b.update(v)}c.current?y():n(b=>[].concat(nt(b),[y]))},then:v=>(f=!0,d.then(v))}},[]);return[p.useMemo(()=>({info:r(KEe),success:r(QEe),error:r(XEe),warning:r(YEe),confirm:r(ZEe)}),[]),p.createElement(Jet,{key:"modal-holder",ref:e})]}const ett=e=>{const{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,i=`${t}-notice`,o=new fr("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),a=new fr("antNotificationTopFadeIn",{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}}),s=new fr("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),l=new fr("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[i]:{marginInline:"auto auto"}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:s}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:"auto",marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:l}}}}},ttt=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],ntt={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},rtt=(e,t)=>{const{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith("top")?"top":"bottom"]:0,[ntt[t]]:{value:0,_skip_check_:!0}}}}},itt=e=>{const t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)},ott=e=>{const t={};for(let n=1;n{const{componentCls:t}=e;return Object.assign({[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:Object.assign({transition:`all ${e.motionDurationSlow}, backdrop-filter 0s`,position:"absolute"},itt(e))},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:Object.assign({},ott(e))},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},ttt.map(n=>rtt(e,n)).reduce((n,r)=>Object.assign(Object.assign({},n),r),{}))},stt=e=>{const{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:i,notificationMarginBottom:o,borderRadiusLG:a,colorSuccess:s,colorInfo:l,colorWarning:c,colorError:u,colorTextHeading:d,notificationBg:f,notificationPadding:h,notificationMarginEdge:m,notificationProgressBg:g,notificationProgressHeight:v,fontSize:y,lineHeight:b,width:_,notificationIconSize:E,colorText:C}=e,S=`${n}-notice`;return{position:"relative",marginBottom:o,marginInlineStart:"auto",background:f,borderRadius:a,boxShadow:r,[S]:{padding:h,width:_,maxWidth:`calc(100vw - ${Ae(e.calc(m).mul(2).equal())})`,overflow:"hidden",lineHeight:b,wordWrap:"break-word"},[`${S}-message`]:{marginBottom:e.marginXS,color:d,fontSize:i,lineHeight:e.lineHeightLG},[`${S}-description`]:{fontSize:y,color:C},[`${S}-closable ${S}-message`]:{paddingInlineEnd:e.paddingLG},[`${S}-with-icon ${S}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(E).equal(),fontSize:i},[`${S}-with-icon ${S}-description`]:{marginInlineStart:e.calc(e.marginSM).add(E).equal(),fontSize:y},[`${S}-icon`]:{position:"absolute",fontSize:E,lineHeight:1,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:l},[`&-warning${t}`]:{color:c},[`&-error${t}`]:{color:u}},[`${S}-close`]:Object.assign({position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},Zs(e)),[`${S}-progress`]:{position:"absolute",display:"block",appearance:"none",WebkitAppearance:"none",inlineSize:`calc(100% - ${Ae(a)} * 2)`,left:{_skip_check_:!0,value:a},right:{_skip_check_:!0,value:a},bottom:0,blockSize:v,border:0,"&, &::-webkit-progress-bar":{borderRadius:a,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:g},"&::-webkit-progress-value":{borderRadius:a,background:g}},[`${S}-btn`]:{float:"right",marginTop:e.marginSM}}},ltt=e=>{const{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:i,motionEaseInOut:o}=e,a=`${t}-notice`,s=new fr("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},gr(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},[`${t}-hook-holder`]:{position:"relative"},[`${t}-fade-appear-prepare`]:{opacity:"0 !important"},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:o,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${t}-fade-leave`]:{animationTimingFunction:o,animationFillMode:"both",animationDuration:i,animationPlayState:"paused"},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:"running"},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:s,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${a}-btn`]:{float:"left"}}})},{[t]:{[`${a}-wrapper`]:Object.assign({},stt(e))}}]},ctt=e=>({zIndexPopup:e.zIndexPopupBase+Cq+50,width:384}),utt=e=>{const t=e.paddingMD,n=e.paddingLG;return Kn(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${Ae(e.paddingMD)} ${Ae(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`})},dtt=lr("Notification",e=>{const t=utt(e);return[ltt(t),ett(t),att(t)]},ctt);function eCe(e,t){return t===null||t===!1?null:t||p.createElement(Yf,{className:`${e}-close-icon`})}const ftt={success:S0,info:RP,error:qf,warning:Ag},ptt=e=>{const{prefixCls:t,icon:n,type:r,message:i,description:o,btn:a,role:s="alert"}=e;let l=null;return n?l=p.createElement("span",{className:`${t}-icon`},n):r&&(l=p.createElement(ftt[r]||null,{className:xe(`${t}-icon`,`${t}-icon-${r}`)})),p.createElement("div",{className:xe({[`${t}-with-icon`]:l}),role:s},l,p.createElement("div",{className:`${t}-message`},i),p.createElement("div",{className:`${t}-description`},o),a&&p.createElement("div",{className:`${t}-btn`},a))};function htt(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n};break}return r}function mtt(e){return{motionName:`${e}-fade`}}var gtt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{children:t,prefixCls:n}=e;const r=ui(n),[i,o,a]=dtt(n,r);return i(se.createElement(KSe,{classNames:{list:xe(o,a,r)}},t))},_tt=(e,t)=>{let{prefixCls:n,key:r}=t;return se.createElement(ytt,{prefixCls:n,key:r},e)},Stt=se.forwardRef((e,t)=>{const{top:n,bottom:r,prefixCls:i,getContainer:o,maxCount:a,rtl:s,onAllRemoved:l,stack:c,duration:u,pauseOnHover:d=!0,showProgress:f}=e,{getPrefixCls:h,getPopupContainer:m,notification:g,direction:v}=p.useContext(Xt),[,y]=qo(),b=i||h("notification"),_=T=>htt(T,n??Nre,r??Nre),E=()=>xe({[`${b}-rtl`]:s??v==="rtl"}),C=()=>mtt(b),[S,w]=QSe({prefixCls:b,style:_,className:E,motion:C,closable:!0,closeIcon:eCe(b),duration:u??vtt,getContainer:()=>(o==null?void 0:o())||(m==null?void 0:m())||document.body,maxCount:a,pauseOnHover:d,showProgress:f,onAllRemoved:l,renderNotifications:_tt,stack:c===!1?!1:{threshold:typeof c=="object"?c==null?void 0:c.threshold:void 0,offset:8,gap:y.margin}});return se.useImperativeHandle(t,()=>Object.assign(Object.assign({},S),{prefixCls:b,notification:g})),w});function Ett(e){const t=se.useRef(null);return Wf(),[se.useMemo(()=>{const r=s=>{var l;if(!t.current)return;const{open:c,prefixCls:u,notification:d}=t.current,f=`${u}-notice`,{message:h,description:m,icon:g,type:v,btn:y,className:b,style:_,role:E="alert",closeIcon:C,closable:S}=s,w=gtt(s,["message","description","icon","type","btn","className","style","role","closeIcon","closable"]),T=eCe(f,typeof C<"u"?C:d==null?void 0:d.closeIcon);return c(Object.assign(Object.assign({placement:(l=e==null?void 0:e.placement)!==null&&l!==void 0?l:btt},w),{content:se.createElement(ptt,{prefixCls:f,icon:g,type:v,message:h,description:m,btn:y,role:E}),className:xe(v&&`${f}-${v}`,b,d==null?void 0:d.className),style:Object.assign(Object.assign({},d==null?void 0:d.style),_),closeIcon:T,closable:S??!!T}))},o={open:r,destroy:s=>{var l,c;s!==void 0?(l=t.current)===null||l===void 0||l.close(s):(c=t.current)===null||c===void 0||c.destroy()}};return["success","info","warning","error"].forEach(s=>{o[s]=l=>r(Object.assign(Object.assign({},l),{type:s}))}),o},[]),se.createElement(Stt,Object.assign({key:"notification-holder"},e,{ref:t}))]}function Ctt(e){return Ett(e)}const jH=se.createContext({}),tCe=se.createContext({message:{},notification:{},modal:{}}),wtt=e=>{const{componentCls:t,colorText:n,fontSize:r,lineHeight:i,fontFamily:o}=e;return{[t]:{color:n,fontSize:r,lineHeight:i,fontFamily:o,[`&${t}-rtl`]:{direction:"rtl"}}}},Ttt=()=>({}),xtt=lr("App",wtt,Ttt),Ott=()=>se.useContext(tCe),GP=e=>{const{prefixCls:t,children:n,className:r,rootClassName:i,message:o,notification:a,style:s,component:l="div"}=e,{direction:c,getPrefixCls:u}=p.useContext(Xt),d=u("app",t),[f,h,m]=xtt(d),g=xe(h,d,r,i,m,{[`${d}-rtl`]:c==="rtl"}),v=p.useContext(jH),y=se.useMemo(()=>({message:Object.assign(Object.assign({},v.message),o),notification:Object.assign(Object.assign({},v.notification),a)}),[o,a,v.message,v.notification]),[b,_]=tEe(y.message),[E,C]=Ctt(y.notification),[S,w]=JEe(),T=se.useMemo(()=>({message:b,notification:E,modal:S}),[b,E,S]);Wf()(!(m&&l===!1),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");const O=l===!1?se.Fragment:l,x={className:g,style:s};return f(se.createElement(tCe.Provider,{value:T},se.createElement(jH.Provider,{value:y},se.createElement(O,Object.assign({},l===!1?void 0:x),w,_,C,n))))};GP.useApp=Ott;function nCe(e){return t=>p.createElement(Ln,{theme:{token:{motion:!1,zIndexPopupBase:0}}},p.createElement(e,Object.assign({},t)))}const Ng=(e,t,n,r,i)=>nCe(a=>{const{prefixCls:s,style:l}=a,c=p.useRef(null),[u,d]=p.useState(0),[f,h]=p.useState(0),[m,g]=Pn(!1,{value:a.open}),{getPrefixCls:v}=p.useContext(Xt),y=v(r||"select",s);p.useEffect(()=>{if(g(!0),typeof ResizeObserver<"u"){const E=new ResizeObserver(S=>{const w=S[0].target;d(w.offsetHeight+8),h(w.offsetWidth)}),C=setInterval(()=>{var S;const w=i?`.${i(y)}`:`.${y}-dropdown`,T=(S=c.current)===null||S===void 0?void 0:S.querySelector(w);T&&(clearInterval(C),E.observe(T))},10);return()=>{clearInterval(C),E.disconnect()}}},[]);let b=Object.assign(Object.assign({},a),{style:Object.assign(Object.assign({},l),{margin:0}),open:m,visible:m,getPopupContainer:()=>c.current});n&&(b=n(b)),t&&Object.assign(b,{[t]:{overflow:{adjustX:!1,adjustY:!1}}});const _={paddingBottom:u,position:"relative",minWidth:f};return p.createElement("div",{ref:c,style:_},p.createElement(e,Object.assign({},b)))}),WP=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=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(e)||/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(e==null?void 0:e.substr(0,4))};var qP=function(t){var n=t.className,r=t.customizeIcon,i=t.customizeIconProps,o=t.children,a=t.onMouseDown,s=t.onClick,l=typeof r=="function"?r(i):r;return p.createElement("span",{className:n,onMouseDown:function(u){u.preventDefault(),a==null||a(u)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},l!==void 0?l:p.createElement("span",{className:xe(n.split(/\s+/).map(function(c){return"".concat(c,"-icon")}))},o))},Rtt=function(t,n,r,i,o){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,s=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,c=se.useMemo(function(){if(Gt(i)==="object")return i.clearIcon;if(o)return o},[i,o]),u=se.useMemo(function(){return!!(!a&&i&&(r.length||s)&&!(l==="combobox"&&s===""))},[i,a,r.length,s,l]);return{allowClear:u,clearIcon:se.createElement(qP,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:c},"×")}},rCe=p.createContext(null);function Hq(){return p.useContext(rCe)}function Itt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=p.useState(!1),n=Ie(t,2),r=n[0],i=n[1],o=p.useRef(null),a=function(){window.clearTimeout(o.current)};p.useEffect(function(){return a},[]);var s=function(c,u){a(),o.current=window.setTimeout(function(){i(c),u&&u()},e)};return[r,s,a]}function iCe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=p.useRef(null),n=p.useRef(null);p.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(i){(i||t.current===null)&&(t.current=i),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function Att(e,t,n,r){var i=p.useRef(null);i.current={open:t,triggerOpen:n,customizedTrigger:r},p.useEffect(function(){function o(a){var s;if(!((s=i.current)!==null&&s!==void 0&&s.customizedTrigger)){var l=a.target;l.shadowRoot&&a.composed&&(l=a.composedPath()[0]||l),i.current.open&&e().filter(function(c){return c}).every(function(c){return!c.contains(l)&&c!==l})&&i.current.triggerOpen(!1)}}return window.addEventListener("mousedown",o),function(){return window.removeEventListener("mousedown",o)}},[])}function Ntt(e){return e&&![dt.ESC,dt.SHIFT,dt.BACKSPACE,dt.TAB,dt.WIN_KEY,dt.ALT,dt.META,dt.WIN_KEY_RIGHT,dt.CTRL,dt.SEMICOLON,dt.EQUALS,dt.CAPS_LOCK,dt.CONTEXT_MENU,dt.F1,dt.F2,dt.F3,dt.F4,dt.F5,dt.F6,dt.F7,dt.F8,dt.F9,dt.F10,dt.F11,dt.F12].includes(e)}var Mtt=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],J0=void 0;function ktt(e,t){var n=e.prefixCls,r=e.invalidate,i=e.item,o=e.renderItem,a=e.responsive,s=e.responsiveDisabled,l=e.registerSize,c=e.itemKey,u=e.className,d=e.style,f=e.children,h=e.display,m=e.order,g=e.component,v=g===void 0?"div":g,y=Dt(e,Mtt),b=a&&!h;function _(T){l(c,T)}p.useEffect(function(){return function(){_(null)}},[]);var E=o&&i!==J0?o(i):f,C;r||(C={opacity:b?0:1,height:b?0:J0,overflowY:b?"hidden":J0,order:a?m:J0,pointerEvents:b?"none":J0,position:b?"absolute":J0});var S={};b&&(S["aria-hidden"]=!0);var w=p.createElement(v,Ke({className:xe(!r&&n,u),style:G(G({},C),d)},S,y,{ref:t}),E);return a&&(w=p.createElement(xa,{onResize:function(O){var x=O.offsetWidth;_(x)},disabled:s},w)),w}var fw=p.forwardRef(ktt);fw.displayName="Item";function Ptt(e){if(typeof MessageChannel>"u")nr(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function Dtt(){var e=p.useRef(null),t=function(r){e.current||(e.current=[],Ptt(function(){Ml.unstable_batchedUpdates(function(){e.current.forEach(function(i){i()}),e.current=null})})),e.current.push(r)};return t}function PE(e,t){var n=p.useState(t),r=Ie(n,2),i=r[0],o=r[1],a=Yn(function(s){e(function(){o(s)})});return[i,a]}var GM=se.createContext(null),Ltt=["component"],$tt=["className"],Ftt=["className"],Btt=function(t,n){var r=p.useContext(GM);if(!r){var i=t.component,o=i===void 0?"div":i,a=Dt(t,Ltt);return p.createElement(o,Ke({},a,{ref:n}))}var s=r.className,l=Dt(r,$tt),c=t.className,u=Dt(t,Ftt);return p.createElement(GM.Provider,{value:null},p.createElement(fw,Ke({ref:n,className:xe(s,c)},l,u)))},oCe=p.forwardRef(Btt);oCe.displayName="RawItem";var jtt=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],aCe="responsive",sCe="invalidate";function Htt(e){return"+ ".concat(e.length," ...")}function Utt(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,i=e.data,o=i===void 0?[]:i,a=e.renderItem,s=e.renderRawItem,l=e.itemKey,c=e.itemWidth,u=c===void 0?10:c,d=e.ssr,f=e.style,h=e.className,m=e.maxCount,g=e.renderRest,v=e.renderRawRest,y=e.suffix,b=e.component,_=b===void 0?"div":b,E=e.itemComponent,C=e.onVisibleChange,S=Dt(e,jtt),w=d==="full",T=Dtt(),O=PE(T,null),x=Ie(O,2),A=x[0],I=x[1],M=A||0,B=PE(T,new Map),P=Ie(B,2),k=P[0],N=P[1],L=PE(T,0),V=Ie(L,2),$=V[0],W=V[1],j=PE(T,0),U=Ie(j,2),Z=U[0],te=U[1],ae=PE(T,0),K=Ie(ae,2),Q=K[0],ie=K[1],he=p.useState(null),pe=Ie(he,2),le=pe[0],de=pe[1],ve=p.useState(null),ne=Ie(ve,2),ue=ne[0],ge=ne[1],Ce=p.useMemo(function(){return ue===null&&w?Number.MAX_SAFE_INTEGER:ue||0},[ue,A]),Te=p.useState(!1),Se=Ie(Te,2),me=Se[0],be=Se[1],_e="".concat(r,"-item"),Re=Math.max($,Z),De=m===aCe,z=o.length&&De,D=m===sCe,q=z||typeof m=="number"&&o.length>m,oe=p.useMemo(function(){var Tt=o;return z?A===null&&w?Tt=o:Tt=o.slice(0,Math.min(o.length,M/u)):typeof m=="number"&&(Tt=o.slice(0,m)),Tt},[o,u,A,m,z]),ye=p.useMemo(function(){return z?o.slice(Ce+1):o.slice(oe.length)},[o,oe,z,Ce]),ce=p.useCallback(function(Tt,Ot){var Ut;return typeof l=="function"?l(Tt):(Ut=l&&(Tt==null?void 0:Tt[l]))!==null&&Ut!==void 0?Ut:Ot},[l]),Be=p.useCallback(a||function(Tt){return Tt},[a]);function Ve(Tt,Ot,Ut){ue===Tt&&(Ot===void 0||Ot===le)||(ge(Tt),Ut||(be(TtM){Ve(ze-1,Tt-Ye-Q+Z);break}}y&&Ge(0)+Q>M&&de(null)}},[M,k,Z,Q,ce,oe]);var Ue=me&&!!ye.length,qe={};le!==null&&z&&(qe={position:"absolute",left:le,top:0});var At={prefixCls:_e,responsive:z,component:E,invalidate:D},at=s?function(Tt,Ot){var Ut=ce(Tt,Ot);return p.createElement(GM.Provider,{key:Ut,value:G(G({},At),{},{order:Ot,item:Tt,itemKey:Ut,registerSize:Me,display:Ot<=Ce})},s(Tt,Ot))}:function(Tt,Ot){var Ut=ce(Tt,Ot);return p.createElement(fw,Ke({},At,{order:Ot,key:Ut,item:Tt,renderItem:Be,itemKey:Ut,registerSize:Me,display:Ot<=Ce}))},pt,Ct={order:Ue?Ce:Number.MAX_SAFE_INTEGER,className:"".concat(_e,"-rest"),registerSize:je,display:Ue};if(v)v&&(pt=p.createElement(GM.Provider,{value:G(G({},At),Ct)},v(ye)));else{var bt=g||Htt;pt=p.createElement(fw,Ke({},At,Ct),typeof bt=="function"?bt(ye):bt)}var Vt=p.createElement(_,Ke({className:xe(!D&&r,h),style:f,ref:t},S),oe.map(at),q?pt:null,y&&p.createElement(fw,Ke({},At,{responsive:De,responsiveDisabled:!z,order:Ce,className:"".concat(_e,"-suffix"),registerSize:ke,display:!0,style:qe}),y));return De&&(Vt=p.createElement(xa,{onResize:re,disabled:!z},Vt)),Vt}var pd=p.forwardRef(Utt);pd.displayName="Overflow";pd.Item=oCe;pd.RESPONSIVE=aCe;pd.INVALIDATE=sCe;var ztt=function(t,n){var r,i=t.prefixCls,o=t.id,a=t.inputElement,s=t.disabled,l=t.tabIndex,c=t.autoFocus,u=t.autoComplete,d=t.editable,f=t.activeDescendantId,h=t.value,m=t.maxLength,g=t.onKeyDown,v=t.onMouseDown,y=t.onChange,b=t.onPaste,_=t.onCompositionStart,E=t.onCompositionEnd,C=t.onBlur,S=t.open,w=t.attrs,T=a||p.createElement("input",null),O=T,x=O.ref,A=O.props,I=A.onKeyDown,M=A.onChange,B=A.onMouseDown,P=A.onCompositionStart,k=A.onCompositionEnd,N=A.onBlur,L=A.style;return"maxLength"in T.props,T=p.cloneElement(T,G(G(G({type:"search"},A),{},{id:o,ref:aa(n,x),disabled:s,tabIndex:l,autoComplete:u||"off",autoFocus:c,className:xe("".concat(i,"-selection-search-input"),(r=T)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":S||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":S?f:void 0},w),{},{value:d?h:"",maxLength:m,readOnly:!d,unselectable:d?null:"on",style:G(G({},L),{},{opacity:d?null:0}),onKeyDown:function($){g($),I&&I($)},onMouseDown:function($){v($),B&&B($)},onChange:function($){y($),M&&M($)},onCompositionStart:function($){_($),P&&P($)},onCompositionEnd:function($){E($),k&&k($)},onPaste:b,onBlur:function($){C($),N&&N($)}})),T},lCe=p.forwardRef(ztt);function cCe(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var Vtt=typeof window<"u"&&window.document&&window.document.documentElement,Gtt=Vtt;function Wtt(e){return e!=null}function qtt(e){return!e&&e!==0}function Mre(e){return["string","number"].includes(Gt(e))}function uCe(e){var t=void 0;return e&&(Mre(e.title)?t=e.title.toString():Mre(e.label)&&(t=e.label.toString())),t}function Ytt(e,t){Gtt?p.useLayoutEffect(e,t):p.useEffect(e,t)}function Ktt(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var kre=function(t){t.preventDefault(),t.stopPropagation()},Qtt=function(t){var n=t.id,r=t.prefixCls,i=t.values,o=t.open,a=t.searchValue,s=t.autoClearSearchValue,l=t.inputRef,c=t.placeholder,u=t.disabled,d=t.mode,f=t.showSearch,h=t.autoFocus,m=t.autoComplete,g=t.activeDescendantId,v=t.tabIndex,y=t.removeIcon,b=t.maxTagCount,_=t.maxTagTextLength,E=t.maxTagPlaceholder,C=E===void 0?function(ve){return"+ ".concat(ve.length," ...")}:E,S=t.tagRender,w=t.onToggleOpen,T=t.onRemove,O=t.onInputChange,x=t.onInputPaste,A=t.onInputKeyDown,I=t.onInputMouseDown,M=t.onInputCompositionStart,B=t.onInputCompositionEnd,P=t.onInputBlur,k=p.useRef(null),N=p.useState(0),L=Ie(N,2),V=L[0],$=L[1],W=p.useState(!1),j=Ie(W,2),U=j[0],Z=j[1],te="".concat(r,"-selection"),ae=o||d==="multiple"&&s===!1||d==="tags"?a:"",K=d==="tags"||d==="multiple"&&s===!1||f&&(o||U);Ytt(function(){$(k.current.scrollWidth)},[ae]);var Q=function(ne,ue,ge,Ce,Te){return p.createElement("span",{title:uCe(ne),className:xe("".concat(te,"-item"),ee({},"".concat(te,"-item-disabled"),ge))},p.createElement("span",{className:"".concat(te,"-item-content")},ue),Ce&&p.createElement(qP,{className:"".concat(te,"-item-remove"),onMouseDown:kre,onClick:Te,customizeIcon:y},"×"))},ie=function(ne,ue,ge,Ce,Te,Se){var me=function(_e){kre(_e),w(!o)};return p.createElement("span",{onMouseDown:me},S({label:ue,value:ne,disabled:ge,closable:Ce,onClose:Te,isMaxTag:!!Se}))},he=function(ne){var ue=ne.disabled,ge=ne.label,Ce=ne.value,Te=!u&&!ue,Se=ge;if(typeof _=="number"&&(typeof ge=="string"||typeof ge=="number")){var me=String(Se);me.length>_&&(Se="".concat(me.slice(0,_),"..."))}var be=function(Re){Re&&Re.stopPropagation(),T(ne)};return typeof S=="function"?ie(Ce,Se,ue,Te,be):Q(ne,Se,ue,Te,be)},pe=function(ne){if(!i.length)return null;var ue=typeof C=="function"?C(ne):C;return typeof S=="function"?ie(void 0,ue,!1,!1,void 0,!0):Q({title:ue},ue,!1)},le=p.createElement("div",{className:"".concat(te,"-search"),style:{width:V},onFocus:function(){Z(!0)},onBlur:function(){Z(!1)}},p.createElement(lCe,{ref:l,open:o,prefixCls:r,id:n,inputElement:null,disabled:u,autoFocus:h,autoComplete:m,editable:K,activeDescendantId:g,value:ae,onKeyDown:A,onMouseDown:I,onChange:O,onPaste:x,onCompositionStart:M,onCompositionEnd:B,onBlur:P,tabIndex:v,attrs:xi(t,!0)}),p.createElement("span",{ref:k,className:"".concat(te,"-search-mirror"),"aria-hidden":!0},ae," ")),de=p.createElement(pd,{prefixCls:"".concat(te,"-overflow"),data:i,renderItem:he,renderRest:pe,suffix:le,itemKey:Ktt,maxCount:b});return p.createElement("span",{className:"".concat(te,"-wrap")},de,!i.length&&!ae&&p.createElement("span",{className:"".concat(te,"-placeholder")},c))},Xtt=function(t){var n=t.inputElement,r=t.prefixCls,i=t.id,o=t.inputRef,a=t.disabled,s=t.autoFocus,l=t.autoComplete,c=t.activeDescendantId,u=t.mode,d=t.open,f=t.values,h=t.placeholder,m=t.tabIndex,g=t.showSearch,v=t.searchValue,y=t.activeValue,b=t.maxLength,_=t.onInputKeyDown,E=t.onInputMouseDown,C=t.onInputChange,S=t.onInputPaste,w=t.onInputCompositionStart,T=t.onInputCompositionEnd,O=t.onInputBlur,x=t.title,A=p.useState(!1),I=Ie(A,2),M=I[0],B=I[1],P=u==="combobox",k=P||g,N=f[0],L=v||"";P&&y&&!M&&(L=y),p.useEffect(function(){P&&B(!1)},[P,y]);var V=u!=="combobox"&&!d&&!g?!1:!!L,$=x===void 0?uCe(N):x,W=p.useMemo(function(){return N?null:p.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:V?{visibility:"hidden"}:void 0},h)},[N,V,h,r]);return p.createElement("span",{className:"".concat(r,"-selection-wrap")},p.createElement("span",{className:"".concat(r,"-selection-search")},p.createElement(lCe,{ref:o,prefixCls:r,id:i,open:d,inputElement:n,disabled:a,autoFocus:s,autoComplete:l,editable:k,activeDescendantId:c,value:L,onKeyDown:_,onMouseDown:E,onChange:function(U){B(!0),C(U)},onPaste:S,onCompositionStart:w,onCompositionEnd:T,onBlur:O,tabIndex:m,attrs:xi(t,!0),maxLength:P?b:void 0})),!P&&N?p.createElement("span",{className:"".concat(r,"-selection-item"),title:$,style:V?{visibility:"hidden"}:void 0},N.label):null,W)},Ztt=function(t,n){var r=p.useRef(null),i=p.useRef(!1),o=t.prefixCls,a=t.open,s=t.mode,l=t.showSearch,c=t.tokenWithEnter,u=t.disabled,d=t.prefix,f=t.autoClearSearchValue,h=t.onSearch,m=t.onSearchSubmit,g=t.onToggleOpen,v=t.onInputKeyDown,y=t.onInputBlur,b=t.domRef;p.useImperativeHandle(n,function(){return{focus:function($){r.current.focus($)},blur:function(){r.current.blur()}}});var _=iCe(0),E=Ie(_,2),C=E[0],S=E[1],w=function($){var W=$.which,j=r.current instanceof HTMLTextAreaElement;!j&&a&&(W===dt.UP||W===dt.DOWN)&&$.preventDefault(),v&&v($),W===dt.ENTER&&s==="tags"&&!i.current&&!a&&(m==null||m($.target.value)),!(j&&!a&&~[dt.UP,dt.DOWN,dt.LEFT,dt.RIGHT].indexOf(W))&&Ntt(W)&&g(!0)},T=function(){S(!0)},O=p.useRef(null),x=function($){h($,!0,i.current)!==!1&&g(!0)},A=function(){i.current=!0},I=function($){i.current=!1,s!=="combobox"&&x($.target.value)},M=function($){var W=$.target.value;if(c&&O.current&&/[\r\n]/.test(O.current)){var j=O.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");W=W.replace(j,O.current)}O.current=null,x(W)},B=function($){var W=$.clipboardData,j=W==null?void 0:W.getData("text");O.current=j||""},P=function($){var W=$.target;if(W!==r.current){var j=document.body.style.msTouchAction!==void 0;j?setTimeout(function(){r.current.focus()}):r.current.focus()}},k=function($){var W=C();$.target!==r.current&&!W&&!(s==="combobox"&&u)&&$.preventDefault(),(s!=="combobox"&&(!l||!W)||!a)&&(a&&f!==!1&&h("",!0,!1),g())},N={inputRef:r,onInputKeyDown:w,onInputMouseDown:T,onInputChange:M,onInputPaste:B,onInputCompositionStart:A,onInputCompositionEnd:I,onInputBlur:y},L=s==="multiple"||s==="tags"?p.createElement(Qtt,Ke({},t,N)):p.createElement(Xtt,Ke({},t,N));return p.createElement("div",{ref:b,className:"".concat(o,"-selector"),onClick:P,onMouseDown:k},d&&p.createElement("div",{className:"".concat(o,"-prefix")},d),L)},Jtt=p.forwardRef(Ztt);function ent(e){var t=e.prefixCls,n=e.align,r=e.arrow,i=e.arrowPos,o=r||{},a=o.className,s=o.content,l=i.x,c=l===void 0?0:l,u=i.y,d=u===void 0?0:u,f=p.useRef();if(!n||!n.points)return null;var h={position:"absolute"};if(n.autoArrow!==!1){var m=n.points[0],g=n.points[1],v=m[0],y=m[1],b=g[0],_=g[1];v===b||!["t","b"].includes(v)?h.top=d:v==="t"?h.top=0:h.bottom=0,y===_||!["l","r"].includes(y)?h.left=c:y==="l"?h.left=0:h.right=0}return p.createElement("div",{ref:f,className:xe("".concat(t,"-arrow"),a),style:h},s)}function tnt(e){var t=e.prefixCls,n=e.open,r=e.zIndex,i=e.mask,o=e.motion;return i?p.createElement(ia,Ke({},o,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(a){var s=a.className;return p.createElement("div",{style:{zIndex:r},className:xe("".concat(t,"-mask"),s)})}):null}var nnt=p.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),rnt=p.forwardRef(function(e,t){var n=e.popup,r=e.className,i=e.prefixCls,o=e.style,a=e.target,s=e.onVisibleChanged,l=e.open,c=e.keepDom,u=e.fresh,d=e.onClick,f=e.mask,h=e.arrow,m=e.arrowPos,g=e.align,v=e.motion,y=e.maskMotion,b=e.forceRender,_=e.getPopupContainer,E=e.autoDestroy,C=e.portal,S=e.zIndex,w=e.onMouseEnter,T=e.onMouseLeave,O=e.onPointerEnter,x=e.onPointerDownCapture,A=e.ready,I=e.offsetX,M=e.offsetY,B=e.offsetR,P=e.offsetB,k=e.onAlign,N=e.onPrepare,L=e.stretch,V=e.targetWidth,$=e.targetHeight,W=typeof n=="function"?n():n,j=l||c,U=(_==null?void 0:_.length)>0,Z=p.useState(!_||!U),te=Ie(Z,2),ae=te[0],K=te[1];if(ar(function(){!ae&&U&&a&&K(!0)},[ae,U,a]),!ae)return null;var Q="auto",ie={left:"-1000vw",top:"-1000vh",right:Q,bottom:Q};if(A||!l){var he,pe=g.points,le=g.dynamicInset||((he=g._experimental)===null||he===void 0?void 0:he.dynamicInset),de=le&&pe[0][1]==="r",ve=le&&pe[0][0]==="b";de?(ie.right=B,ie.left=Q):(ie.left=I,ie.right=Q),ve?(ie.bottom=P,ie.top=Q):(ie.top=M,ie.bottom=Q)}var ne={};return L&&(L.includes("height")&&$?ne.height=$:L.includes("minHeight")&&$&&(ne.minHeight=$),L.includes("width")&&V?ne.width=V:L.includes("minWidth")&&V&&(ne.minWidth=V)),l||(ne.pointerEvents="none"),p.createElement(C,{open:b||j,getContainer:_&&function(){return _(a)},autoDestroy:E},p.createElement(tnt,{prefixCls:i,open:l,zIndex:S,mask:f,motion:y}),p.createElement(xa,{onResize:k,disabled:!l},function(ue){return p.createElement(ia,Ke({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:b,leavedClassName:"".concat(i,"-hidden")},v,{onAppearPrepare:N,onEnterPrepare:N,visible:l,onVisibleChanged:function(Ce){var Te;v==null||(Te=v.onVisibleChanged)===null||Te===void 0||Te.call(v,Ce),s(Ce)}}),function(ge,Ce){var Te=ge.className,Se=ge.style,me=xe(i,Te,r);return p.createElement("div",{ref:aa(ue,t,Ce),className:me,style:G(G(G(G({"--arrow-x":"".concat(m.x||0,"px"),"--arrow-y":"".concat(m.y||0,"px")},ie),ne),Se),{},{boxSizing:"border-box",zIndex:S},o),onMouseEnter:w,onMouseLeave:T,onPointerEnter:O,onClick:d,onPointerDownCapture:x},h&&p.createElement(ent,{prefixCls:i,arrow:h,arrowPos:m,align:g}),p.createElement(nnt,{cache:!l&&!u},W))})}))}),int=p.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,i=Cd(n),o=p.useCallback(function(s){wT(t,r?r(s):s)},[r]),a=$d(o,Ig(n));return i?p.cloneElement(n,{ref:a}):n}),Pre=p.createContext(null);function Dre(e){return e?Array.isArray(e)?e:[e]:[]}function ont(e,t,n,r){return p.useMemo(function(){var i=Dre(n??t),o=Dre(r??t),a=new Set(i),s=new Set(o);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[a,s]},[e,t,n,r])}function ant(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function snt(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function DE(e){return DT(parseFloat(e),0)}function $re(e,t){var n=G({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var i=d2(r).getComputedStyle(r),o=i.overflow,a=i.overflowClipMargin,s=i.borderTopWidth,l=i.borderBottomWidth,c=i.borderLeftWidth,u=i.borderRightWidth,d=r.getBoundingClientRect(),f=r.offsetHeight,h=r.clientHeight,m=r.offsetWidth,g=r.clientWidth,v=DE(s),y=DE(l),b=DE(c),_=DE(u),E=DT(Math.round(d.width/m*1e3)/1e3),C=DT(Math.round(d.height/f*1e3)/1e3),S=(m-g-b-_)*E,w=(f-h-v-y)*C,T=v*C,O=y*C,x=b*E,A=_*E,I=0,M=0;if(o==="clip"){var B=DE(a);I=B*E,M=B*C}var P=d.x+x-I,k=d.y+T-M,N=P+d.width+2*I-x-A-S,L=k+d.height+2*M-T-O-w;n.left=Math.max(n.left,P),n.top=Math.max(n.top,k),n.right=Math.min(n.right,N),n.bottom=Math.min(n.bottom,L)}}),n}function Fre(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function Bre(e,t){var n=t||[],r=Ie(n,2),i=r[0],o=r[1];return[Fre(e.width,i),Fre(e.height,o)]}function jre(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function eb(e,t){var n=t[0],r=t[1],i,o;return n==="t"?o=e.y:n==="b"?o=e.y+e.height:o=e.y+e.height/2,r==="l"?i=e.x:r==="r"?i=e.x+e.width:i=e.x+e.width/2,{x:i,y:o}}function jh(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,i){return i===t?n[r]||"c":r}).join("")}function lnt(e,t,n,r,i,o,a){var s=p.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[r]||{}}),l=Ie(s,2),c=l[0],u=l[1],d=p.useRef(0),f=p.useMemo(function(){return t?HH(t):[]},[t]),h=p.useRef({}),m=function(){h.current={}};e||m();var g=Yn(function(){if(t&&n&&e){let Mn=function(Mr,Ko){var ga=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Re,bi=Z.x+Mr,va=Z.y+Ko,tp=bi+de,np=va+le,Vg=Math.max(bi,ga.left),kn=Math.max(va,ga.top),hr=Math.min(tp,ga.right),Zr=Math.min(np,ga.bottom);return Math.max(0,(hr-Vg)*(Zr-kn))},Qn=function(){Yt=Z.y+Ut,ct=Yt+le,Rt=Z.x+Ot,Ht=Rt+de};var b,_,E,C,S=t,w=S.ownerDocument,T=d2(S),O=T.getComputedStyle(S),x=O.width,A=O.height,I=O.position,M=S.style.left,B=S.style.top,P=S.style.right,k=S.style.bottom,N=S.style.overflow,L=G(G({},i[r]),o),V=w.createElement("div");(b=S.parentElement)===null||b===void 0||b.appendChild(V),V.style.left="".concat(S.offsetLeft,"px"),V.style.top="".concat(S.offsetTop,"px"),V.style.position=I,V.style.height="".concat(S.offsetHeight,"px"),V.style.width="".concat(S.offsetWidth,"px"),S.style.left="0",S.style.top="0",S.style.right="auto",S.style.bottom="auto",S.style.overflow="hidden";var $;if(Array.isArray(n))$={x:n[0],y:n[1],width:0,height:0};else{var W,j,U=n.getBoundingClientRect();U.x=(W=U.x)!==null&&W!==void 0?W:U.left,U.y=(j=U.y)!==null&&j!==void 0?j:U.top,$={x:U.x,y:U.y,width:U.width,height:U.height}}var Z=S.getBoundingClientRect();Z.x=(_=Z.x)!==null&&_!==void 0?_:Z.left,Z.y=(E=Z.y)!==null&&E!==void 0?E:Z.top;var te=w.documentElement,ae=te.clientWidth,K=te.clientHeight,Q=te.scrollWidth,ie=te.scrollHeight,he=te.scrollTop,pe=te.scrollLeft,le=Z.height,de=Z.width,ve=$.height,ne=$.width,ue={left:0,top:0,right:ae,bottom:K},ge={left:-pe,top:-he,right:Q-pe,bottom:ie-he},Ce=L.htmlRegion,Te="visible",Se="visibleFirst";Ce!=="scroll"&&Ce!==Se&&(Ce=Te);var me=Ce===Se,be=$re(ge,f),_e=$re(ue,f),Re=Ce===Te?_e:be,De=me?_e:Re;S.style.left="auto",S.style.top="auto",S.style.right="0",S.style.bottom="0";var z=S.getBoundingClientRect();S.style.left=M,S.style.top=B,S.style.right=P,S.style.bottom=k,S.style.overflow=N,(C=S.parentElement)===null||C===void 0||C.removeChild(V);var D=DT(Math.round(de/parseFloat(x)*1e3)/1e3),q=DT(Math.round(le/parseFloat(A)*1e3)/1e3);if(D===0||q===0||CT(n)&&!mS(n))return;var oe=L.offset,ye=L.targetOffset,ce=Bre(Z,oe),Be=Ie(ce,2),Ve=Be[0],re=Be[1],Me=Bre($,ye),je=Ie(Me,2),ke=je[0],Ge=je[1];$.x-=ke,$.y-=Ge;var Ue=L.points||[],qe=Ie(Ue,2),At=qe[0],at=qe[1],pt=jre(at),Ct=jre(At),bt=eb($,pt),Vt=eb(Z,Ct),Tt=G({},L),Ot=bt.x-Vt.x+Ve,Ut=bt.y-Vt.y+re,ze=Mn(Ot,Ut),Ye=Mn(Ot,Ut,_e),He=eb($,["t","l"]),Ze=eb(Z,["t","l"]),yt=eb($,["b","r"]),_t=eb(Z,["b","r"]),Bt=L.overflow||{},Nt=Bt.adjustX,vt=Bt.adjustY,ht=Bt.shiftX,kt=Bt.shiftY,Et=function(Ko){return typeof Ko=="boolean"?Ko:Ko>=0},Yt,ct,Rt,Ht;Qn();var wt=Et(vt),St=Ct[0]===pt[0];if(wt&&Ct[0]==="t"&&(ct>De.bottom||h.current.bt)){var jt=Ut;St?jt-=le-ve:jt=He.y-_t.y-re;var Pe=Mn(Ot,jt),Pt=Mn(Ot,jt,_e);Pe>ze||Pe===ze&&(!me||Pt>=Ye)?(h.current.bt=!0,Ut=jt,re=-re,Tt.points=[jh(Ct,0),jh(pt,0)]):h.current.bt=!1}if(wt&&Ct[0]==="b"&&(Ytze||Mt===ze&&(!me||It>=Ye)?(h.current.tb=!0,Ut=rt,re=-re,Tt.points=[jh(Ct,0),jh(pt,0)]):h.current.tb=!1}var xn=Et(Nt),Hn=Ct[1]===pt[1];if(xn&&Ct[1]==="l"&&(Ht>De.right||h.current.rl)){var R=Ot;Hn?R-=de-ne:R=He.x-_t.x-Ve;var F=Mn(R,Ut),J=Mn(R,Ut,_e);F>ze||F===ze&&(!me||J>=Ye)?(h.current.rl=!0,Ot=R,Ve=-Ve,Tt.points=[jh(Ct,1),jh(pt,1)]):h.current.rl=!1}if(xn&&Ct[1]==="r"&&(Rtze||$e===ze&&(!me||et>=Ye)?(h.current.lr=!0,Ot=Oe,Ve=-Ve,Tt.points=[jh(Ct,1),jh(pt,1)]):h.current.lr=!1}Qn();var $t=ht===!0?0:ht;typeof $t=="number"&&(Rt<_e.left&&(Ot-=Rt-_e.left-Ve,$.x+ne<_e.left+$t&&(Ot+=$.x-_e.left+ne-$t)),Ht>_e.right&&(Ot-=Ht-_e.right-Ve,$.x>_e.right-$t&&(Ot+=$.x-_e.right+$t)));var hn=kt===!0?0:kt;typeof hn=="number"&&(Yt<_e.top&&(Ut-=Yt-_e.top-re,$.y+ve<_e.top+hn&&(Ut+=$.y-_e.top+ve-hn)),ct>_e.bottom&&(Ut-=ct-_e.bottom-re,$.y>_e.bottom-hn&&(Ut+=$.y-_e.bottom+hn)));var Fn=Z.x+Ot,Xr=Fn+de,Lr=Z.y+Ut,vi=Lr+le,Sr=$.x,ln=Sr+ne,_n=$.y,Cr=_n+ve,on=Math.max(Fn,Sr),an=Math.min(Xr,ln),Gn=(on+an)/2,yr=Gn-Fn,oi=Math.max(Lr,_n),Zi=Math.min(vi,Cr),tr=(oi+Zi)/2,Fi=tr-Lr;a==null||a(t,Tt);var Jn=z.right-Z.x-(Ot+Z.width),fn=z.bottom-Z.y-(Ut+Z.height);D===1&&(Ot=Math.round(Ot),Jn=Math.round(Jn)),q===1&&(Ut=Math.round(Ut),fn=Math.round(fn));var wn={ready:!0,offsetX:Ot/D,offsetY:Ut/q,offsetR:Jn/D,offsetB:fn/q,arrowX:yr/D,arrowY:Fi/q,scaleX:D,scaleY:q,align:Tt};u(wn)}}),v=function(){d.current+=1;var _=d.current;Promise.resolve().then(function(){d.current===_&&g()})},y=function(){u(function(_){return G(G({},_),{},{ready:!1})})};return ar(y,[r]),ar(function(){e||y()},[e]),[c.ready,c.offsetX,c.offsetY,c.offsetR,c.offsetB,c.arrowX,c.arrowY,c.scaleX,c.scaleY,c.align,v]}function cnt(e,t,n,r,i){ar(function(){if(e&&t&&n){let d=function(){r(),i()};var o=t,a=n,s=HH(o),l=HH(a),c=d2(a),u=new Set([c].concat(nt(s),nt(l)));return u.forEach(function(f){f.addEventListener("scroll",d,{passive:!0})}),c.addEventListener("resize",d,{passive:!0}),r(),function(){u.forEach(function(f){f.removeEventListener("scroll",d),c.removeEventListener("resize",d)})}}},[e,t,n])}function unt(e,t,n,r,i,o,a,s){var l=p.useRef(e);l.current=e;var c=p.useRef(!1);p.useEffect(function(){if(t&&r&&(!i||o)){var d=function(){c.current=!1},f=function(v){var y;l.current&&!a(((y=v.composedPath)===null||y===void 0||(y=y.call(v))===null||y===void 0?void 0:y[0])||v.target)&&!c.current&&s(!1)},h=d2(r);h.addEventListener("pointerdown",d,!0),h.addEventListener("mousedown",f,!0),h.addEventListener("contextmenu",f,!0);var m=zM(n);return m&&(m.addEventListener("mousedown",f,!0),m.addEventListener("contextmenu",f,!0)),function(){h.removeEventListener("pointerdown",d,!0),h.removeEventListener("mousedown",f,!0),h.removeEventListener("contextmenu",f,!0),m&&(m.removeEventListener("mousedown",f,!0),m.removeEventListener("contextmenu",f,!0))}}},[t,n,r,i,o]);function u(){c.current=!0}return u}var dnt=["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 fnt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l2,t=p.forwardRef(function(n,r){var i=n.prefixCls,o=i===void 0?"rc-trigger-popup":i,a=n.children,s=n.action,l=s===void 0?"hover":s,c=n.showAction,u=n.hideAction,d=n.popupVisible,f=n.defaultPopupVisible,h=n.onPopupVisibleChange,m=n.afterPopupVisibleChange,g=n.mouseEnterDelay,v=n.mouseLeaveDelay,y=v===void 0?.1:v,b=n.focusDelay,_=n.blurDelay,E=n.mask,C=n.maskClosable,S=C===void 0?!0:C,w=n.getPopupContainer,T=n.forceRender,O=n.autoDestroy,x=n.destroyPopupOnHide,A=n.popup,I=n.popupClassName,M=n.popupStyle,B=n.popupPlacement,P=n.builtinPlacements,k=P===void 0?{}:P,N=n.popupAlign,L=n.zIndex,V=n.stretch,$=n.getPopupClassNameFromAlign,W=n.fresh,j=n.alignPoint,U=n.onPopupClick,Z=n.onPopupAlign,te=n.arrow,ae=n.popupMotion,K=n.maskMotion,Q=n.popupTransitionName,ie=n.popupAnimation,he=n.maskTransitionName,pe=n.maskAnimation,le=n.className,de=n.getTriggerDOMNode,ve=Dt(n,dnt),ne=O||x||!1,ue=p.useState(!1),ge=Ie(ue,2),Ce=ge[0],Te=ge[1];ar(function(){Te(WP())},[]);var Se=p.useRef({}),me=p.useContext(Pre),be=p.useMemo(function(){return{registerSubPopup:function(hr,Zr){Se.current[hr]=Zr,me==null||me.registerSubPopup(hr,Zr)}}},[me]),_e=UP(),Re=p.useState(null),De=Ie(Re,2),z=De[0],D=De[1],q=p.useRef(null),oe=Yn(function(kn){q.current=kn,CT(kn)&&z!==kn&&D(kn),me==null||me.registerSubPopup(_e,kn)}),ye=p.useState(null),ce=Ie(ye,2),Be=ce[0],Ve=ce[1],re=p.useRef(null),Me=Yn(function(kn){CT(kn)&&Be!==kn&&(Ve(kn),re.current=kn)}),je=p.Children.only(a),ke=(je==null?void 0:je.props)||{},Ge={},Ue=Yn(function(kn){var hr,Zr,To=Be;return(To==null?void 0:To.contains(kn))||((hr=zM(To))===null||hr===void 0?void 0:hr.host)===kn||kn===To||(z==null?void 0:z.contains(kn))||((Zr=zM(z))===null||Zr===void 0?void 0:Zr.host)===kn||kn===z||Object.values(Se.current).some(function(Ji){return(Ji==null?void 0:Ji.contains(kn))||kn===Ji})}),qe=Lre(o,ae,ie,Q),At=Lre(o,K,pe,he),at=p.useState(f||!1),pt=Ie(at,2),Ct=pt[0],bt=pt[1],Vt=d??Ct,Tt=Yn(function(kn){d===void 0&&bt(kn)});ar(function(){bt(d||!1)},[d]);var Ot=p.useRef(Vt);Ot.current=Vt;var Ut=p.useRef([]);Ut.current=[];var ze=Yn(function(kn){var hr;Tt(kn),((hr=Ut.current[Ut.current.length-1])!==null&&hr!==void 0?hr:Vt)!==kn&&(Ut.current.push(kn),h==null||h(kn))}),Ye=p.useRef(),He=function(){clearTimeout(Ye.current)},Ze=function(hr){var Zr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;He(),Zr===0?ze(hr):Ye.current=setTimeout(function(){ze(hr)},Zr*1e3)};p.useEffect(function(){return He},[]);var yt=p.useState(!1),_t=Ie(yt,2),Bt=_t[0],Nt=_t[1];ar(function(kn){(!kn||Vt)&&Nt(!0)},[Vt]);var vt=p.useState(null),ht=Ie(vt,2),kt=ht[0],Et=ht[1],Yt=p.useState(null),ct=Ie(Yt,2),Rt=ct[0],Ht=ct[1],wt=function(hr){Ht([hr.clientX,hr.clientY])},St=lnt(Vt,z,j&&Rt!==null?Rt:Be,B,k,N,Z),jt=Ie(St,11),Pe=jt[0],Pt=jt[1],rt=jt[2],Mt=jt[3],It=jt[4],xn=jt[5],Hn=jt[6],R=jt[7],F=jt[8],J=jt[9],Oe=jt[10],$e=ont(Ce,l,c,u),et=Ie($e,2),$t=et[0],hn=et[1],Fn=$t.has("click"),Xr=hn.has("click")||hn.has("contextMenu"),Lr=Yn(function(){Bt||Oe()}),vi=function(){Ot.current&&j&&Xr&&Ze(!1)};cnt(Vt,Be,z,Lr,vi),ar(function(){Lr()},[Rt,B]),ar(function(){Vt&&!(k!=null&&k[B])&&Lr()},[JSON.stringify(N)]);var Sr=p.useMemo(function(){var kn=snt(k,o,J,j);return xe(kn,$==null?void 0:$(J))},[J,$,k,o,j]);p.useImperativeHandle(r,function(){return{nativeElement:re.current,popupElement:q.current,forceAlign:Lr}});var ln=p.useState(0),_n=Ie(ln,2),Cr=_n[0],on=_n[1],an=p.useState(0),Gn=Ie(an,2),yr=Gn[0],oi=Gn[1],Zi=function(){if(V&&Be){var hr=Be.getBoundingClientRect();on(hr.width),oi(hr.height)}},tr=function(){Zi(),Lr()},Fi=function(hr){Nt(!1),Oe(),m==null||m(hr)},Jn=function(){return new Promise(function(hr){Zi(),Et(function(){return hr})})};ar(function(){kt&&(Oe(),kt(),Et(null))},[kt]);function fn(kn,hr,Zr,To){Ge[kn]=function(Ji){var $h;To==null||To(Ji),Ze(hr,Zr);for(var rp=arguments.length,V0=new Array(rp>1?rp-1:0),Gg=1;Gg1?Zr-1:0),Ji=1;Ji1?Zr-1:0),Ji=1;Ji1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,i=[],o=dCe(n,!1),a=o.label,s=o.value,l=o.options,c=o.groupLabel;function u(d,f){Array.isArray(d)&&d.forEach(function(h){if(f||!(l in h)){var m=h[s];i.push({key:Hre(h,i.length),groupOption:f,data:h,label:h[a],value:m})}else{var g=h[c];g===void 0&&r&&(g=h.label),i.push({key:Hre(h,i.length),group:!0,data:h,label:g}),u(h[l],!0)}})}return u(e,!1),i}function zH(e){var t=G({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Yr(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var bnt=function(t,n,r){if(!n||!n.length)return null;var i=!1,o=function s(l,c){var u=Z_e(c),d=u[0],f=u.slice(1);if(!d)return[l];var h=l.split(d);return i=i||h.length>1,h.reduce(function(m,g){return[].concat(nt(m),nt(s(g,f)))},[]).filter(Boolean)},a=o(t,n);return i?typeof r<"u"?a.slice(0,r):a:null},Uq=p.createContext(null);function ynt(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return p.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(i){var o=i.label,a=i.value;return["number","string"].includes(Gt(o))?o:a}).join(", ")),n.length>r?", ...":null)}var _nt=["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","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Snt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],VH=function(t){return t==="tags"||t==="multiple"},zq=p.forwardRef(function(e,t){var n,r=e.id,i=e.prefixCls,o=e.className,a=e.showSearch,s=e.tagRender,l=e.direction,c=e.omitDomProps,u=e.displayValues,d=e.onDisplayValuesChange,f=e.emptyOptions,h=e.notFoundContent,m=h===void 0?"Not Found":h,g=e.onClear,v=e.mode,y=e.disabled,b=e.loading,_=e.getInputElement,E=e.getRawInputElement,C=e.open,S=e.defaultOpen,w=e.onDropdownVisibleChange,T=e.activeValue,O=e.onActiveValueChange,x=e.activeDescendantId,A=e.searchValue,I=e.autoClearSearchValue,M=e.onSearch,B=e.onSearchSplit,P=e.tokenSeparators,k=e.allowClear,N=e.prefix,L=e.suffixIcon,V=e.clearIcon,$=e.OptionList,W=e.animation,j=e.transitionName,U=e.dropdownStyle,Z=e.dropdownClassName,te=e.dropdownMatchSelectWidth,ae=e.dropdownRender,K=e.dropdownAlign,Q=e.placement,ie=e.builtinPlacements,he=e.getPopupContainer,pe=e.showAction,le=pe===void 0?[]:pe,de=e.onFocus,ve=e.onBlur,ne=e.onKeyUp,ue=e.onKeyDown,ge=e.onMouseDown,Ce=Dt(e,_nt),Te=VH(v),Se=(a!==void 0?a:Te)||v==="combobox",me=G({},Ce);Snt.forEach(function(ln){delete me[ln]}),c==null||c.forEach(function(ln){delete me[ln]});var be=p.useState(!1),_e=Ie(be,2),Re=_e[0],De=_e[1];p.useEffect(function(){De(WP())},[]);var z=p.useRef(null),D=p.useRef(null),q=p.useRef(null),oe=p.useRef(null),ye=p.useRef(null),ce=p.useRef(!1),Be=Itt(),Ve=Ie(Be,3),re=Ve[0],Me=Ve[1],je=Ve[2];p.useImperativeHandle(t,function(){var ln,_n;return{focus:(ln=oe.current)===null||ln===void 0?void 0:ln.focus,blur:(_n=oe.current)===null||_n===void 0?void 0:_n.blur,scrollTo:function(on){var an;return(an=ye.current)===null||an===void 0?void 0:an.scrollTo(on)},nativeElement:z.current||D.current}});var ke=p.useMemo(function(){var ln;if(v!=="combobox")return A;var _n=(ln=u[0])===null||ln===void 0?void 0:ln.value;return typeof _n=="string"||typeof _n=="number"?String(_n):""},[A,v,u]),Ge=v==="combobox"&&typeof _=="function"&&_()||null,Ue=typeof E=="function"&&E(),qe=$d(D,Ue==null||(n=Ue.props)===null||n===void 0?void 0:n.ref),At=p.useState(!1),at=Ie(At,2),pt=at[0],Ct=at[1];ar(function(){Ct(!0)},[]);var bt=Pn(!1,{defaultValue:S,value:C}),Vt=Ie(bt,2),Tt=Vt[0],Ot=Vt[1],Ut=pt?Tt:!1,ze=!m&&f;(y||ze&&Ut&&v==="combobox")&&(Ut=!1);var Ye=ze?!1:Ut,He=p.useCallback(function(ln){var _n=ln!==void 0?ln:!Ut;y||(Ot(_n),Ut!==_n&&(w==null||w(_n)))},[y,Ut,Ot,w]),Ze=p.useMemo(function(){return(P||[]).some(function(ln){return[` + ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},Get=pS(["Modal","confirm"],e=>{const t=jEe(e);return[Vet(t)]},HEe,{order:-1e3});var Wet=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ib,nt(Object.values(b))),E=p.createElement(p.Fragment,null,p.createElement(rre,null),p.createElement(ire,null)),C=e.title!==void 0&&e.title!==null,S=`${o}-body`;return p.createElement("div",{className:`${o}-body-wrapper`},p.createElement("div",{className:xe(S,{[`${S}-has-title`]:C})},d,p.createElement("div",{className:`${o}-paragraph`},C&&p.createElement("span",{className:`${o}-title`},e.title),p.createElement("div",{className:`${o}-content`},e.content))),l===void 0||typeof l=="function"?p.createElement(bEe,{value:_},p.createElement("div",{className:`${o}-btns`},typeof l=="function"?l(E,{OkBtn:ire,CancelBtn:rre}):E)):l,p.createElement(Get,{prefixCls:t}))}const qet=e=>{const{close:t,zIndex:n,maskStyle:r,direction:i,prefixCls:o,wrapClassName:a,rootPrefixCls:s,bodyStyle:l,closable:c=!1,onConfirm:u,styles:d}=e,f=`${o}-confirm`,h=e.width||416,m=e.style||{},g=e.mask===void 0?!0:e.mask,v=e.maskClosable===void 0?!1:e.maskClosable,y=xe(f,`${f}-${e.type}`,{[`${f}-rtl`]:i==="rtl"},e.className),[,b]=qo(),_=p.useMemo(()=>n!==void 0?n:b.zIndexPopupBase+Cq,[n,b]);return p.createElement(zEe,Object.assign({},e,{className:y,wrapClassName:xe({[`${f}-centered`]:!!e.centered},a),onCancel:()=>{t==null||t({triggerCancel:!0}),u==null||u(!1)},title:"",footer:null,transitionName:Va(s||"","zoom",e.transitionName),maskTransitionName:Va(s||"","fade",e.maskTransitionName),mask:g,maskClosable:v,style:m,styles:Object.assign({body:l,mask:r},d),width:h,zIndex:_,closable:c}),p.createElement(VEe,Object.assign({},e,{confirmPrefixCls:f})))},GEe=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:i}=e;return p.createElement(Ln,{prefixCls:t,iconPrefixCls:n,direction:r,theme:i},p.createElement(qet,Object.assign({},e)))},H1=[];let WEe="";function qEe(){return WEe}const Yet=e=>{var t,n;const{prefixCls:r,getContainer:i,direction:o}=e,a=iSe(),s=p.useContext(Xt),l=qEe()||s.getPrefixCls(),c=r||`${l}-modal`;let u=i;return u===!1&&(u=void 0),se.createElement(GEe,Object.assign({},e,{rootPrefixCls:l,prefixCls:c,iconPrefixCls:s.iconPrefixCls,theme:s.theme,direction:o??s.direction,locale:(n=(t=s.locale)===null||t===void 0?void 0:t.Modal)!==null&&n!==void 0?n:a,getContainer:u}))};function u2(e){const t=FSe(),n=document.createDocumentFragment();let r=Object.assign(Object.assign({},e),{close:l,open:!0}),i,o;function a(){for(var u,d=arguments.length,f=new Array(d),h=0;hv==null?void 0:v.triggerCancel)){var g;(u=e.onCancel)===null||u===void 0||(g=u).call.apply(g,[e,()=>{}].concat(nt(f.slice(1))))}for(let v=0;v{const d=t.getPrefixCls(void 0,qEe()),f=t.getIconPrefixCls(),h=t.getTheme(),m=se.createElement(Yet,Object.assign({},u));o=Tq()(se.createElement(Ln,{prefixCls:d,iconPrefixCls:f,theme:h},t.holderRender?t.holderRender(m):m),n)})}function l(){for(var u=arguments.length,d=new Array(u),f=0;f{typeof e.afterClose=="function"&&e.afterClose(),a.apply(this,d)}}),r.visible&&delete r.visible,s(r)}function c(u){typeof u=="function"?r=u(r):r=Object.assign(Object.assign({},r),u),s(r)}return s(r),H1.push(l),{destroy:l,update:c}}function YEe(e){return Object.assign(Object.assign({},e),{type:"warning"})}function KEe(e){return Object.assign(Object.assign({},e),{type:"info"})}function QEe(e){return Object.assign(Object.assign({},e),{type:"success"})}function XEe(e){return Object.assign(Object.assign({},e),{type:"error"})}function ZEe(e){return Object.assign(Object.assign({},e),{type:"confirm"})}function Ket(e){let{rootPrefixCls:t}=e;WEe=t}var Qet=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,{afterClose:r,config:i}=e,o=Qet(e,["afterClose","config"]);const[a,s]=p.useState(!0),[l,c]=p.useState(i),{direction:u,getPrefixCls:d}=p.useContext(Xt),f=d("modal"),h=d(),m=()=>{var b;r(),(b=l.afterClose)===null||b===void 0||b.call(l)},g=function(){var b;s(!1);for(var _=arguments.length,E=new Array(_),C=0;C<_;C++)E[C]=arguments[C];if(E.some(T=>T==null?void 0:T.triggerCancel)){var w;(b=l.onCancel)===null||b===void 0||(w=b).call.apply(w,[l,()=>{}].concat(nt(E.slice(1))))}};p.useImperativeHandle(t,()=>({destroy:g,update:b=>{c(_=>Object.assign(Object.assign({},_),b))}}));const v=(n=l.okCancel)!==null&&n!==void 0?n:l.type==="confirm",[y]=ds("Modal",Cc.Modal);return p.createElement(GEe,Object.assign({prefixCls:f,rootPrefixCls:h},l,{close:g,open:a,afterClose:m,okText:l.okText||(v?y==null?void 0:y.okText:y==null?void 0:y.justOkText),direction:l.direction||u,cancelText:l.cancelText||(y==null?void 0:y.cancelText)},o))},Zet=p.forwardRef(Xet);let Are=0;const Jet=p.memo(p.forwardRef((e,t)=>{const[n,r]=UQe();return p.useImperativeHandle(t,()=>({patchElement:r}),[]),p.createElement(p.Fragment,null,n)}));function JEe(){const e=p.useRef(null),[t,n]=p.useState([]);p.useEffect(()=>{t.length&&(nt(t).forEach(a=>{a()}),n([]))},[t]);const r=p.useCallback(o=>function(s){var l;Are+=1;const c=p.createRef();let u;const d=new Promise(v=>{u=v});let f=!1,h;const m=p.createElement(Zet,{key:`modal-${Are}`,config:o(s),ref:c,afterClose:()=>{h==null||h()},isSilent:()=>f,onConfirm:v=>{u(v)}});return h=(l=e.current)===null||l===void 0?void 0:l.patchElement(m),h&&H1.push(h),{destroy:()=>{function v(){var y;(y=c.current)===null||y===void 0||y.destroy()}c.current?v():n(y=>[].concat(nt(y),[v]))},update:v=>{function y(){var b;(b=c.current)===null||b===void 0||b.update(v)}c.current?y():n(b=>[].concat(nt(b),[y]))},then:v=>(f=!0,d.then(v))}},[]);return[p.useMemo(()=>({info:r(KEe),success:r(QEe),error:r(XEe),warning:r(YEe),confirm:r(ZEe)}),[]),p.createElement(Jet,{key:"modal-holder",ref:e})]}const ett=e=>{const{componentCls:t,notificationMarginEdge:n,animationMaxHeight:r}=e,i=`${t}-notice`,o=new fr("antNotificationFadeIn",{"0%":{transform:"translate3d(100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}}),a=new fr("antNotificationTopFadeIn",{"0%":{top:-r,opacity:0},"100%":{top:0,opacity:1}}),s=new fr("antNotificationBottomFadeIn",{"0%":{bottom:e.calc(r).mul(-1).equal(),opacity:0},"100%":{bottom:0,opacity:1}}),l=new fr("antNotificationLeftFadeIn",{"0%":{transform:"translate3d(-100%, 0, 0)",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",opacity:1}});return{[t]:{[`&${t}-top, &${t}-bottom`]:{marginInline:0,[i]:{marginInline:"auto auto"}},[`&${t}-top`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:a}},[`&${t}-bottom`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:s}},[`&${t}-topRight, &${t}-bottomRight`]:{[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:o}},[`&${t}-topLeft, &${t}-bottomLeft`]:{marginRight:{value:0,_skip_check_:!0},marginLeft:{value:n,_skip_check_:!0},[i]:{marginInlineEnd:"auto",marginInlineStart:0},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationName:l}}}}},ttt=["top","topLeft","topRight","bottom","bottomLeft","bottomRight"],ntt={topLeft:"left",topRight:"right",bottomLeft:"left",bottomRight:"right",top:"left",bottom:"left"},rtt=(e,t)=>{const{componentCls:n}=e;return{[`${n}-${t}`]:{[`&${n}-stack > ${n}-notice-wrapper`]:{[t.startsWith("top")?"top":"bottom"]:0,[ntt[t]]:{value:0,_skip_check_:!0}}}}},itt=e=>{const t={};for(let n=1;n ${e.componentCls}-notice`]:{opacity:0,transition:`opacity ${e.motionDurationMid}`}};return Object.assign({[`&:not(:nth-last-child(-n+${e.notificationStackLayer}))`]:{opacity:0,overflow:"hidden",color:"transparent",pointerEvents:"none"}},t)},ott=e=>{const t={};for(let n=1;n{const{componentCls:t}=e;return Object.assign({[`${t}-stack`]:{[`& > ${t}-notice-wrapper`]:Object.assign({transition:`all ${e.motionDurationSlow}, backdrop-filter 0s`,position:"absolute"},itt(e))},[`${t}-stack:not(${t}-stack-expanded)`]:{[`& > ${t}-notice-wrapper`]:Object.assign({},ott(e))},[`${t}-stack${t}-stack-expanded`]:{[`& > ${t}-notice-wrapper`]:{"&:not(:nth-last-child(-n + 1))":{opacity:1,overflow:"unset",color:"inherit",pointerEvents:"auto",[`& > ${e.componentCls}-notice`]:{opacity:1}},"&:after":{content:'""',position:"absolute",height:e.margin,width:"100%",insetInline:0,bottom:e.calc(e.margin).mul(-1).equal(),background:"transparent",pointerEvents:"auto"}}}},ttt.map(n=>rtt(e,n)).reduce((n,r)=>Object.assign(Object.assign({},n),r),{}))},stt=e=>{const{iconCls:t,componentCls:n,boxShadow:r,fontSizeLG:i,notificationMarginBottom:o,borderRadiusLG:a,colorSuccess:s,colorInfo:l,colorWarning:c,colorError:u,colorTextHeading:d,notificationBg:f,notificationPadding:h,notificationMarginEdge:m,notificationProgressBg:g,notificationProgressHeight:v,fontSize:y,lineHeight:b,width:_,notificationIconSize:E,colorText:C}=e,S=`${n}-notice`;return{position:"relative",marginBottom:o,marginInlineStart:"auto",background:f,borderRadius:a,boxShadow:r,[S]:{padding:h,width:_,maxWidth:`calc(100vw - ${Ae(e.calc(m).mul(2).equal())})`,overflow:"hidden",lineHeight:b,wordWrap:"break-word"},[`${S}-message`]:{marginBottom:e.marginXS,color:d,fontSize:i,lineHeight:e.lineHeightLG},[`${S}-description`]:{fontSize:y,color:C},[`${S}-closable ${S}-message`]:{paddingInlineEnd:e.paddingLG},[`${S}-with-icon ${S}-message`]:{marginBottom:e.marginXS,marginInlineStart:e.calc(e.marginSM).add(E).equal(),fontSize:i},[`${S}-with-icon ${S}-description`]:{marginInlineStart:e.calc(e.marginSM).add(E).equal(),fontSize:y},[`${S}-icon`]:{position:"absolute",fontSize:E,lineHeight:1,[`&-success${t}`]:{color:s},[`&-info${t}`]:{color:l},[`&-warning${t}`]:{color:c},[`&-error${t}`]:{color:u}},[`${S}-close`]:Object.assign({position:"absolute",top:e.notificationPaddingVertical,insetInlineEnd:e.notificationPaddingHorizontal,color:e.colorIcon,outline:"none",width:e.notificationCloseButtonSize,height:e.notificationCloseButtonSize,borderRadius:e.borderRadiusSM,transition:`background-color ${e.motionDurationMid}, color ${e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:e.colorIconHover,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},Zs(e)),[`${S}-progress`]:{position:"absolute",display:"block",appearance:"none",WebkitAppearance:"none",inlineSize:`calc(100% - ${Ae(a)} * 2)`,left:{_skip_check_:!0,value:a},right:{_skip_check_:!0,value:a},bottom:0,blockSize:v,border:0,"&, &::-webkit-progress-bar":{borderRadius:a,backgroundColor:"rgba(0, 0, 0, 0.04)"},"&::-moz-progress-bar":{background:g},"&::-webkit-progress-value":{borderRadius:a,background:g}},[`${S}-btn`]:{float:"right",marginTop:e.marginSM}}},ltt=e=>{const{componentCls:t,notificationMarginBottom:n,notificationMarginEdge:r,motionDurationMid:i,motionEaseInOut:o}=e,a=`${t}-notice`,s=new fr("antNotificationFadeOut",{"0%":{maxHeight:e.animationMaxHeight,marginBottom:n},"100%":{maxHeight:0,marginBottom:0,paddingTop:0,paddingBottom:0,opacity:0}});return[{[t]:Object.assign(Object.assign({},gr(e)),{position:"fixed",zIndex:e.zIndexPopup,marginRight:{value:r,_skip_check_:!0},[`${t}-hook-holder`]:{position:"relative"},[`${t}-fade-appear-prepare`]:{opacity:"0 !important"},[`${t}-fade-enter, ${t}-fade-appear`]:{animationDuration:e.motionDurationMid,animationTimingFunction:o,animationFillMode:"both",opacity:0,animationPlayState:"paused"},[`${t}-fade-leave`]:{animationTimingFunction:o,animationFillMode:"both",animationDuration:i,animationPlayState:"paused"},[`${t}-fade-enter${t}-fade-enter-active, ${t}-fade-appear${t}-fade-appear-active`]:{animationPlayState:"running"},[`${t}-fade-leave${t}-fade-leave-active`]:{animationName:s,animationPlayState:"running"},"&-rtl":{direction:"rtl",[`${a}-btn`]:{float:"left"}}})},{[t]:{[`${a}-wrapper`]:Object.assign({},stt(e))}}]},ctt=e=>({zIndexPopup:e.zIndexPopupBase+Cq+50,width:384}),utt=e=>{const t=e.paddingMD,n=e.paddingLG;return Kn(e,{notificationBg:e.colorBgElevated,notificationPaddingVertical:t,notificationPaddingHorizontal:n,notificationIconSize:e.calc(e.fontSizeLG).mul(e.lineHeightLG).equal(),notificationCloseButtonSize:e.calc(e.controlHeightLG).mul(.55).equal(),notificationMarginBottom:e.margin,notificationPadding:`${Ae(e.paddingMD)} ${Ae(e.paddingContentHorizontalLG)}`,notificationMarginEdge:e.marginLG,animationMaxHeight:150,notificationStackLayer:3,notificationProgressHeight:2,notificationProgressBg:`linear-gradient(90deg, ${e.colorPrimaryBorderHover}, ${e.colorPrimary})`})},dtt=lr("Notification",e=>{const t=utt(e);return[ltt(t),ett(t),att(t)]},ctt);function eCe(e,t){return t===null||t===!1?null:t||p.createElement(Yf,{className:`${e}-close-icon`})}const ftt={success:S0,info:R5,error:qf,warning:Ag},ptt=e=>{const{prefixCls:t,icon:n,type:r,message:i,description:o,btn:a,role:s="alert"}=e;let l=null;return n?l=p.createElement("span",{className:`${t}-icon`},n):r&&(l=p.createElement(ftt[r]||null,{className:xe(`${t}-icon`,`${t}-icon-${r}`)})),p.createElement("div",{className:xe({[`${t}-with-icon`]:l}),role:s},l,p.createElement("div",{className:`${t}-message`},i),p.createElement("div",{className:`${t}-description`},o),a&&p.createElement("div",{className:`${t}-btn`},a))};function htt(e,t,n){let r;switch(e){case"top":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:t,bottom:"auto"};break;case"topLeft":r={left:0,top:t,bottom:"auto"};break;case"topRight":r={right:0,top:t,bottom:"auto"};break;case"bottom":r={left:"50%",transform:"translateX(-50%)",right:"auto",top:"auto",bottom:n};break;case"bottomLeft":r={left:0,top:"auto",bottom:n};break;default:r={right:0,top:"auto",bottom:n};break}return r}function mtt(e){return{motionName:`${e}-fade`}}var gtt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{children:t,prefixCls:n}=e;const r=ui(n),[i,o,a]=dtt(n,r);return i(se.createElement(KSe,{classNames:{list:xe(o,a,r)}},t))},_tt=(e,t)=>{let{prefixCls:n,key:r}=t;return se.createElement(ytt,{prefixCls:n,key:r},e)},Stt=se.forwardRef((e,t)=>{const{top:n,bottom:r,prefixCls:i,getContainer:o,maxCount:a,rtl:s,onAllRemoved:l,stack:c,duration:u,pauseOnHover:d=!0,showProgress:f}=e,{getPrefixCls:h,getPopupContainer:m,notification:g,direction:v}=p.useContext(Xt),[,y]=qo(),b=i||h("notification"),_=T=>htt(T,n??Nre,r??Nre),E=()=>xe({[`${b}-rtl`]:s??v==="rtl"}),C=()=>mtt(b),[S,w]=QSe({prefixCls:b,style:_,className:E,motion:C,closable:!0,closeIcon:eCe(b),duration:u??vtt,getContainer:()=>(o==null?void 0:o())||(m==null?void 0:m())||document.body,maxCount:a,pauseOnHover:d,showProgress:f,onAllRemoved:l,renderNotifications:_tt,stack:c===!1?!1:{threshold:typeof c=="object"?c==null?void 0:c.threshold:void 0,offset:8,gap:y.margin}});return se.useImperativeHandle(t,()=>Object.assign(Object.assign({},S),{prefixCls:b,notification:g})),w});function Ett(e){const t=se.useRef(null);return Wf(),[se.useMemo(()=>{const r=s=>{var l;if(!t.current)return;const{open:c,prefixCls:u,notification:d}=t.current,f=`${u}-notice`,{message:h,description:m,icon:g,type:v,btn:y,className:b,style:_,role:E="alert",closeIcon:C,closable:S}=s,w=gtt(s,["message","description","icon","type","btn","className","style","role","closeIcon","closable"]),T=eCe(f,typeof C<"u"?C:d==null?void 0:d.closeIcon);return c(Object.assign(Object.assign({placement:(l=e==null?void 0:e.placement)!==null&&l!==void 0?l:btt},w),{content:se.createElement(ptt,{prefixCls:f,icon:g,type:v,message:h,description:m,btn:y,role:E}),className:xe(v&&`${f}-${v}`,b,d==null?void 0:d.className),style:Object.assign(Object.assign({},d==null?void 0:d.style),_),closeIcon:T,closable:S??!!T}))},o={open:r,destroy:s=>{var l,c;s!==void 0?(l=t.current)===null||l===void 0||l.close(s):(c=t.current)===null||c===void 0||c.destroy()}};return["success","info","warning","error"].forEach(s=>{o[s]=l=>r(Object.assign(Object.assign({},l),{type:s}))}),o},[]),se.createElement(Stt,Object.assign({key:"notification-holder"},e,{ref:t}))]}function Ctt(e){return Ett(e)}const jH=se.createContext({}),tCe=se.createContext({message:{},notification:{},modal:{}}),wtt=e=>{const{componentCls:t,colorText:n,fontSize:r,lineHeight:i,fontFamily:o}=e;return{[t]:{color:n,fontSize:r,lineHeight:i,fontFamily:o,[`&${t}-rtl`]:{direction:"rtl"}}}},Ttt=()=>({}),xtt=lr("App",wtt,Ttt),Ott=()=>se.useContext(tCe),G5=e=>{const{prefixCls:t,children:n,className:r,rootClassName:i,message:o,notification:a,style:s,component:l="div"}=e,{direction:c,getPrefixCls:u}=p.useContext(Xt),d=u("app",t),[f,h,m]=xtt(d),g=xe(h,d,r,i,m,{[`${d}-rtl`]:c==="rtl"}),v=p.useContext(jH),y=se.useMemo(()=>({message:Object.assign(Object.assign({},v.message),o),notification:Object.assign(Object.assign({},v.notification),a)}),[o,a,v.message,v.notification]),[b,_]=tEe(y.message),[E,C]=Ctt(y.notification),[S,w]=JEe(),T=se.useMemo(()=>({message:b,notification:E,modal:S}),[b,E,S]);Wf()(!(m&&l===!1),"usage","When using cssVar, ensure `component` is assigned a valid React component string.");const O=l===!1?se.Fragment:l,x={className:g,style:s};return f(se.createElement(tCe.Provider,{value:T},se.createElement(jH.Provider,{value:y},se.createElement(O,Object.assign({},l===!1?void 0:x),w,_,C,n))))};G5.useApp=Ott;function nCe(e){return t=>p.createElement(Ln,{theme:{token:{motion:!1,zIndexPopupBase:0}}},p.createElement(e,Object.assign({},t)))}const Ng=(e,t,n,r,i)=>nCe(a=>{const{prefixCls:s,style:l}=a,c=p.useRef(null),[u,d]=p.useState(0),[f,h]=p.useState(0),[m,g]=Pn(!1,{value:a.open}),{getPrefixCls:v}=p.useContext(Xt),y=v(r||"select",s);p.useEffect(()=>{if(g(!0),typeof ResizeObserver<"u"){const E=new ResizeObserver(S=>{const w=S[0].target;d(w.offsetHeight+8),h(w.offsetWidth)}),C=setInterval(()=>{var S;const w=i?`.${i(y)}`:`.${y}-dropdown`,T=(S=c.current)===null||S===void 0?void 0:S.querySelector(w);T&&(clearInterval(C),E.observe(T))},10);return()=>{clearInterval(C),E.disconnect()}}},[]);let b=Object.assign(Object.assign({},a),{style:Object.assign(Object.assign({},l),{margin:0}),open:m,visible:m,getPopupContainer:()=>c.current});n&&(b=n(b)),t&&Object.assign(b,{[t]:{overflow:{adjustX:!1,adjustY:!1}}});const _={paddingBottom:u,position:"relative",minWidth:f};return p.createElement("div",{ref:c,style:_},p.createElement(e,Object.assign({},b)))}),W5=function(){if(typeof navigator>"u"||typeof window>"u")return!1;var e=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(e)||/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(e==null?void 0:e.substr(0,4))};var q5=function(t){var n=t.className,r=t.customizeIcon,i=t.customizeIconProps,o=t.children,a=t.onMouseDown,s=t.onClick,l=typeof r=="function"?r(i):r;return p.createElement("span",{className:n,onMouseDown:function(u){u.preventDefault(),a==null||a(u)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:s,"aria-hidden":!0},l!==void 0?l:p.createElement("span",{className:xe(n.split(/\s+/).map(function(c){return"".concat(c,"-icon")}))},o))},Rtt=function(t,n,r,i,o){var a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,s=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,c=se.useMemo(function(){if(Gt(i)==="object")return i.clearIcon;if(o)return o},[i,o]),u=se.useMemo(function(){return!!(!a&&i&&(r.length||s)&&!(l==="combobox"&&s===""))},[i,a,r.length,s,l]);return{allowClear:u,clearIcon:se.createElement(q5,{className:"".concat(t,"-clear"),onMouseDown:n,customizeIcon:c},"×")}},rCe=p.createContext(null);function Hq(){return p.useContext(rCe)}function Itt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,t=p.useState(!1),n=Ie(t,2),r=n[0],i=n[1],o=p.useRef(null),a=function(){window.clearTimeout(o.current)};p.useEffect(function(){return a},[]);var s=function(c,u){a(),o.current=window.setTimeout(function(){i(c),u&&u()},e)};return[r,s,a]}function iCe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,t=p.useRef(null),n=p.useRef(null);p.useEffect(function(){return function(){window.clearTimeout(n.current)}},[]);function r(i){(i||t.current===null)&&(t.current=i),window.clearTimeout(n.current),n.current=window.setTimeout(function(){t.current=null},e)}return[function(){return t.current},r]}function Att(e,t,n,r){var i=p.useRef(null);i.current={open:t,triggerOpen:n,customizedTrigger:r},p.useEffect(function(){function o(a){var s;if(!((s=i.current)!==null&&s!==void 0&&s.customizedTrigger)){var l=a.target;l.shadowRoot&&a.composed&&(l=a.composedPath()[0]||l),i.current.open&&e().filter(function(c){return c}).every(function(c){return!c.contains(l)&&c!==l})&&i.current.triggerOpen(!1)}}return window.addEventListener("mousedown",o),function(){return window.removeEventListener("mousedown",o)}},[])}function Ntt(e){return e&&![dt.ESC,dt.SHIFT,dt.BACKSPACE,dt.TAB,dt.WIN_KEY,dt.ALT,dt.META,dt.WIN_KEY_RIGHT,dt.CTRL,dt.SEMICOLON,dt.EQUALS,dt.CAPS_LOCK,dt.CONTEXT_MENU,dt.F1,dt.F2,dt.F3,dt.F4,dt.F5,dt.F6,dt.F7,dt.F8,dt.F9,dt.F10,dt.F11,dt.F12].includes(e)}var Mtt=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],J0=void 0;function ktt(e,t){var n=e.prefixCls,r=e.invalidate,i=e.item,o=e.renderItem,a=e.responsive,s=e.responsiveDisabled,l=e.registerSize,c=e.itemKey,u=e.className,d=e.style,f=e.children,h=e.display,m=e.order,g=e.component,v=g===void 0?"div":g,y=Dt(e,Mtt),b=a&&!h;function _(T){l(c,T)}p.useEffect(function(){return function(){_(null)}},[]);var E=o&&i!==J0?o(i):f,C;r||(C={opacity:b?0:1,height:b?0:J0,overflowY:b?"hidden":J0,order:a?m:J0,pointerEvents:b?"none":J0,position:b?"absolute":J0});var S={};b&&(S["aria-hidden"]=!0);var w=p.createElement(v,Ke({className:xe(!r&&n,u),style:G(G({},C),d)},S,y,{ref:t}),E);return a&&(w=p.createElement(xa,{onResize:function(O){var x=O.offsetWidth;_(x)},disabled:s},w)),w}var fw=p.forwardRef(ktt);fw.displayName="Item";function Ptt(e){if(typeof MessageChannel>"u")nr(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}function Dtt(){var e=p.useRef(null),t=function(r){e.current||(e.current=[],Ptt(function(){Ml.unstable_batchedUpdates(function(){e.current.forEach(function(i){i()}),e.current=null})})),e.current.push(r)};return t}function PE(e,t){var n=p.useState(t),r=Ie(n,2),i=r[0],o=r[1],a=Yn(function(s){e(function(){o(s)})});return[i,a]}var GM=se.createContext(null),Ltt=["component"],$tt=["className"],Ftt=["className"],Btt=function(t,n){var r=p.useContext(GM);if(!r){var i=t.component,o=i===void 0?"div":i,a=Dt(t,Ltt);return p.createElement(o,Ke({},a,{ref:n}))}var s=r.className,l=Dt(r,$tt),c=t.className,u=Dt(t,Ftt);return p.createElement(GM.Provider,{value:null},p.createElement(fw,Ke({ref:n,className:xe(s,c)},l,u)))},oCe=p.forwardRef(Btt);oCe.displayName="RawItem";var jtt=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],aCe="responsive",sCe="invalidate";function Htt(e){return"+ ".concat(e.length," ...")}function Utt(e,t){var n=e.prefixCls,r=n===void 0?"rc-overflow":n,i=e.data,o=i===void 0?[]:i,a=e.renderItem,s=e.renderRawItem,l=e.itemKey,c=e.itemWidth,u=c===void 0?10:c,d=e.ssr,f=e.style,h=e.className,m=e.maxCount,g=e.renderRest,v=e.renderRawRest,y=e.suffix,b=e.component,_=b===void 0?"div":b,E=e.itemComponent,C=e.onVisibleChange,S=Dt(e,jtt),w=d==="full",T=Dtt(),O=PE(T,null),x=Ie(O,2),A=x[0],I=x[1],M=A||0,B=PE(T,new Map),P=Ie(B,2),k=P[0],N=P[1],L=PE(T,0),V=Ie(L,2),$=V[0],W=V[1],j=PE(T,0),U=Ie(j,2),Z=U[0],te=U[1],ae=PE(T,0),K=Ie(ae,2),Q=K[0],ie=K[1],he=p.useState(null),pe=Ie(he,2),le=pe[0],de=pe[1],ve=p.useState(null),ne=Ie(ve,2),ue=ne[0],ge=ne[1],Ce=p.useMemo(function(){return ue===null&&w?Number.MAX_SAFE_INTEGER:ue||0},[ue,A]),Te=p.useState(!1),Se=Ie(Te,2),me=Se[0],be=Se[1],_e="".concat(r,"-item"),Re=Math.max($,Z),De=m===aCe,z=o.length&&De,D=m===sCe,q=z||typeof m=="number"&&o.length>m,oe=p.useMemo(function(){var Tt=o;return z?A===null&&w?Tt=o:Tt=o.slice(0,Math.min(o.length,M/u)):typeof m=="number"&&(Tt=o.slice(0,m)),Tt},[o,u,A,m,z]),ye=p.useMemo(function(){return z?o.slice(Ce+1):o.slice(oe.length)},[o,oe,z,Ce]),ce=p.useCallback(function(Tt,Ot){var Ut;return typeof l=="function"?l(Tt):(Ut=l&&(Tt==null?void 0:Tt[l]))!==null&&Ut!==void 0?Ut:Ot},[l]),Be=p.useCallback(a||function(Tt){return Tt},[a]);function Ve(Tt,Ot,Ut){ue===Tt&&(Ot===void 0||Ot===le)||(ge(Tt),Ut||(be(TtM){Ve(ze-1,Tt-Ye-Q+Z);break}}y&&Ge(0)+Q>M&&de(null)}},[M,k,Z,Q,ce,oe]);var Ue=me&&!!ye.length,qe={};le!==null&&z&&(qe={position:"absolute",left:le,top:0});var At={prefixCls:_e,responsive:z,component:E,invalidate:D},at=s?function(Tt,Ot){var Ut=ce(Tt,Ot);return p.createElement(GM.Provider,{key:Ut,value:G(G({},At),{},{order:Ot,item:Tt,itemKey:Ut,registerSize:Me,display:Ot<=Ce})},s(Tt,Ot))}:function(Tt,Ot){var Ut=ce(Tt,Ot);return p.createElement(fw,Ke({},At,{order:Ot,key:Ut,item:Tt,renderItem:Be,itemKey:Ut,registerSize:Me,display:Ot<=Ce}))},pt,Ct={order:Ue?Ce:Number.MAX_SAFE_INTEGER,className:"".concat(_e,"-rest"),registerSize:je,display:Ue};if(v)v&&(pt=p.createElement(GM.Provider,{value:G(G({},At),Ct)},v(ye)));else{var bt=g||Htt;pt=p.createElement(fw,Ke({},At,Ct),typeof bt=="function"?bt(ye):bt)}var Vt=p.createElement(_,Ke({className:xe(!D&&r,h),style:f,ref:t},S),oe.map(at),q?pt:null,y&&p.createElement(fw,Ke({},At,{responsive:De,responsiveDisabled:!z,order:Ce,className:"".concat(_e,"-suffix"),registerSize:ke,display:!0,style:qe}),y));return De&&(Vt=p.createElement(xa,{onResize:re,disabled:!z},Vt)),Vt}var pd=p.forwardRef(Utt);pd.displayName="Overflow";pd.Item=oCe;pd.RESPONSIVE=aCe;pd.INVALIDATE=sCe;var ztt=function(t,n){var r,i=t.prefixCls,o=t.id,a=t.inputElement,s=t.disabled,l=t.tabIndex,c=t.autoFocus,u=t.autoComplete,d=t.editable,f=t.activeDescendantId,h=t.value,m=t.maxLength,g=t.onKeyDown,v=t.onMouseDown,y=t.onChange,b=t.onPaste,_=t.onCompositionStart,E=t.onCompositionEnd,C=t.onBlur,S=t.open,w=t.attrs,T=a||p.createElement("input",null),O=T,x=O.ref,A=O.props,I=A.onKeyDown,M=A.onChange,B=A.onMouseDown,P=A.onCompositionStart,k=A.onCompositionEnd,N=A.onBlur,L=A.style;return"maxLength"in T.props,T=p.cloneElement(T,G(G(G({type:"search"},A),{},{id:o,ref:aa(n,x),disabled:s,tabIndex:l,autoComplete:u||"off",autoFocus:c,className:xe("".concat(i,"-selection-search-input"),(r=T)===null||r===void 0||(r=r.props)===null||r===void 0?void 0:r.className),role:"combobox","aria-expanded":S||!1,"aria-haspopup":"listbox","aria-owns":"".concat(o,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(o,"_list"),"aria-activedescendant":S?f:void 0},w),{},{value:d?h:"",maxLength:m,readOnly:!d,unselectable:d?null:"on",style:G(G({},L),{},{opacity:d?null:0}),onKeyDown:function($){g($),I&&I($)},onMouseDown:function($){v($),B&&B($)},onChange:function($){y($),M&&M($)},onCompositionStart:function($){_($),P&&P($)},onCompositionEnd:function($){E($),k&&k($)},onPaste:b,onBlur:function($){C($),N&&N($)}})),T},lCe=p.forwardRef(ztt);function cCe(e){return Array.isArray(e)?e:e!==void 0?[e]:[]}var Vtt=typeof window<"u"&&window.document&&window.document.documentElement,Gtt=Vtt;function Wtt(e){return e!=null}function qtt(e){return!e&&e!==0}function Mre(e){return["string","number"].includes(Gt(e))}function uCe(e){var t=void 0;return e&&(Mre(e.title)?t=e.title.toString():Mre(e.label)&&(t=e.label.toString())),t}function Ytt(e,t){Gtt?p.useLayoutEffect(e,t):p.useEffect(e,t)}function Ktt(e){var t;return(t=e.key)!==null&&t!==void 0?t:e.value}var kre=function(t){t.preventDefault(),t.stopPropagation()},Qtt=function(t){var n=t.id,r=t.prefixCls,i=t.values,o=t.open,a=t.searchValue,s=t.autoClearSearchValue,l=t.inputRef,c=t.placeholder,u=t.disabled,d=t.mode,f=t.showSearch,h=t.autoFocus,m=t.autoComplete,g=t.activeDescendantId,v=t.tabIndex,y=t.removeIcon,b=t.maxTagCount,_=t.maxTagTextLength,E=t.maxTagPlaceholder,C=E===void 0?function(ve){return"+ ".concat(ve.length," ...")}:E,S=t.tagRender,w=t.onToggleOpen,T=t.onRemove,O=t.onInputChange,x=t.onInputPaste,A=t.onInputKeyDown,I=t.onInputMouseDown,M=t.onInputCompositionStart,B=t.onInputCompositionEnd,P=t.onInputBlur,k=p.useRef(null),N=p.useState(0),L=Ie(N,2),V=L[0],$=L[1],W=p.useState(!1),j=Ie(W,2),U=j[0],Z=j[1],te="".concat(r,"-selection"),ae=o||d==="multiple"&&s===!1||d==="tags"?a:"",K=d==="tags"||d==="multiple"&&s===!1||f&&(o||U);Ytt(function(){$(k.current.scrollWidth)},[ae]);var Q=function(ne,ue,ge,Ce,Te){return p.createElement("span",{title:uCe(ne),className:xe("".concat(te,"-item"),ee({},"".concat(te,"-item-disabled"),ge))},p.createElement("span",{className:"".concat(te,"-item-content")},ue),Ce&&p.createElement(q5,{className:"".concat(te,"-item-remove"),onMouseDown:kre,onClick:Te,customizeIcon:y},"×"))},ie=function(ne,ue,ge,Ce,Te,Se){var me=function(_e){kre(_e),w(!o)};return p.createElement("span",{onMouseDown:me},S({label:ue,value:ne,disabled:ge,closable:Ce,onClose:Te,isMaxTag:!!Se}))},he=function(ne){var ue=ne.disabled,ge=ne.label,Ce=ne.value,Te=!u&&!ue,Se=ge;if(typeof _=="number"&&(typeof ge=="string"||typeof ge=="number")){var me=String(Se);me.length>_&&(Se="".concat(me.slice(0,_),"..."))}var be=function(Re){Re&&Re.stopPropagation(),T(ne)};return typeof S=="function"?ie(Ce,Se,ue,Te,be):Q(ne,Se,ue,Te,be)},pe=function(ne){if(!i.length)return null;var ue=typeof C=="function"?C(ne):C;return typeof S=="function"?ie(void 0,ue,!1,!1,void 0,!0):Q({title:ue},ue,!1)},le=p.createElement("div",{className:"".concat(te,"-search"),style:{width:V},onFocus:function(){Z(!0)},onBlur:function(){Z(!1)}},p.createElement(lCe,{ref:l,open:o,prefixCls:r,id:n,inputElement:null,disabled:u,autoFocus:h,autoComplete:m,editable:K,activeDescendantId:g,value:ae,onKeyDown:A,onMouseDown:I,onChange:O,onPaste:x,onCompositionStart:M,onCompositionEnd:B,onBlur:P,tabIndex:v,attrs:xi(t,!0)}),p.createElement("span",{ref:k,className:"".concat(te,"-search-mirror"),"aria-hidden":!0},ae," ")),de=p.createElement(pd,{prefixCls:"".concat(te,"-overflow"),data:i,renderItem:he,renderRest:pe,suffix:le,itemKey:Ktt,maxCount:b});return p.createElement("span",{className:"".concat(te,"-wrap")},de,!i.length&&!ae&&p.createElement("span",{className:"".concat(te,"-placeholder")},c))},Xtt=function(t){var n=t.inputElement,r=t.prefixCls,i=t.id,o=t.inputRef,a=t.disabled,s=t.autoFocus,l=t.autoComplete,c=t.activeDescendantId,u=t.mode,d=t.open,f=t.values,h=t.placeholder,m=t.tabIndex,g=t.showSearch,v=t.searchValue,y=t.activeValue,b=t.maxLength,_=t.onInputKeyDown,E=t.onInputMouseDown,C=t.onInputChange,S=t.onInputPaste,w=t.onInputCompositionStart,T=t.onInputCompositionEnd,O=t.onInputBlur,x=t.title,A=p.useState(!1),I=Ie(A,2),M=I[0],B=I[1],P=u==="combobox",k=P||g,N=f[0],L=v||"";P&&y&&!M&&(L=y),p.useEffect(function(){P&&B(!1)},[P,y]);var V=u!=="combobox"&&!d&&!g?!1:!!L,$=x===void 0?uCe(N):x,W=p.useMemo(function(){return N?null:p.createElement("span",{className:"".concat(r,"-selection-placeholder"),style:V?{visibility:"hidden"}:void 0},h)},[N,V,h,r]);return p.createElement("span",{className:"".concat(r,"-selection-wrap")},p.createElement("span",{className:"".concat(r,"-selection-search")},p.createElement(lCe,{ref:o,prefixCls:r,id:i,open:d,inputElement:n,disabled:a,autoFocus:s,autoComplete:l,editable:k,activeDescendantId:c,value:L,onKeyDown:_,onMouseDown:E,onChange:function(U){B(!0),C(U)},onPaste:S,onCompositionStart:w,onCompositionEnd:T,onBlur:O,tabIndex:m,attrs:xi(t,!0),maxLength:P?b:void 0})),!P&&N?p.createElement("span",{className:"".concat(r,"-selection-item"),title:$,style:V?{visibility:"hidden"}:void 0},N.label):null,W)},Ztt=function(t,n){var r=p.useRef(null),i=p.useRef(!1),o=t.prefixCls,a=t.open,s=t.mode,l=t.showSearch,c=t.tokenWithEnter,u=t.disabled,d=t.prefix,f=t.autoClearSearchValue,h=t.onSearch,m=t.onSearchSubmit,g=t.onToggleOpen,v=t.onInputKeyDown,y=t.onInputBlur,b=t.domRef;p.useImperativeHandle(n,function(){return{focus:function($){r.current.focus($)},blur:function(){r.current.blur()}}});var _=iCe(0),E=Ie(_,2),C=E[0],S=E[1],w=function($){var W=$.which,j=r.current instanceof HTMLTextAreaElement;!j&&a&&(W===dt.UP||W===dt.DOWN)&&$.preventDefault(),v&&v($),W===dt.ENTER&&s==="tags"&&!i.current&&!a&&(m==null||m($.target.value)),!(j&&!a&&~[dt.UP,dt.DOWN,dt.LEFT,dt.RIGHT].indexOf(W))&&Ntt(W)&&g(!0)},T=function(){S(!0)},O=p.useRef(null),x=function($){h($,!0,i.current)!==!1&&g(!0)},A=function(){i.current=!0},I=function($){i.current=!1,s!=="combobox"&&x($.target.value)},M=function($){var W=$.target.value;if(c&&O.current&&/[\r\n]/.test(O.current)){var j=O.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");W=W.replace(j,O.current)}O.current=null,x(W)},B=function($){var W=$.clipboardData,j=W==null?void 0:W.getData("text");O.current=j||""},P=function($){var W=$.target;if(W!==r.current){var j=document.body.style.msTouchAction!==void 0;j?setTimeout(function(){r.current.focus()}):r.current.focus()}},k=function($){var W=C();$.target!==r.current&&!W&&!(s==="combobox"&&u)&&$.preventDefault(),(s!=="combobox"&&(!l||!W)||!a)&&(a&&f!==!1&&h("",!0,!1),g())},N={inputRef:r,onInputKeyDown:w,onInputMouseDown:T,onInputChange:M,onInputPaste:B,onInputCompositionStart:A,onInputCompositionEnd:I,onInputBlur:y},L=s==="multiple"||s==="tags"?p.createElement(Qtt,Ke({},t,N)):p.createElement(Xtt,Ke({},t,N));return p.createElement("div",{ref:b,className:"".concat(o,"-selector"),onClick:P,onMouseDown:k},d&&p.createElement("div",{className:"".concat(o,"-prefix")},d),L)},Jtt=p.forwardRef(Ztt);function ent(e){var t=e.prefixCls,n=e.align,r=e.arrow,i=e.arrowPos,o=r||{},a=o.className,s=o.content,l=i.x,c=l===void 0?0:l,u=i.y,d=u===void 0?0:u,f=p.useRef();if(!n||!n.points)return null;var h={position:"absolute"};if(n.autoArrow!==!1){var m=n.points[0],g=n.points[1],v=m[0],y=m[1],b=g[0],_=g[1];v===b||!["t","b"].includes(v)?h.top=d:v==="t"?h.top=0:h.bottom=0,y===_||!["l","r"].includes(y)?h.left=c:y==="l"?h.left=0:h.right=0}return p.createElement("div",{ref:f,className:xe("".concat(t,"-arrow"),a),style:h},s)}function tnt(e){var t=e.prefixCls,n=e.open,r=e.zIndex,i=e.mask,o=e.motion;return i?p.createElement(ia,Ke({},o,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(a){var s=a.className;return p.createElement("div",{style:{zIndex:r},className:xe("".concat(t,"-mask"),s)})}):null}var nnt=p.memo(function(e){var t=e.children;return t},function(e,t){return t.cache}),rnt=p.forwardRef(function(e,t){var n=e.popup,r=e.className,i=e.prefixCls,o=e.style,a=e.target,s=e.onVisibleChanged,l=e.open,c=e.keepDom,u=e.fresh,d=e.onClick,f=e.mask,h=e.arrow,m=e.arrowPos,g=e.align,v=e.motion,y=e.maskMotion,b=e.forceRender,_=e.getPopupContainer,E=e.autoDestroy,C=e.portal,S=e.zIndex,w=e.onMouseEnter,T=e.onMouseLeave,O=e.onPointerEnter,x=e.onPointerDownCapture,A=e.ready,I=e.offsetX,M=e.offsetY,B=e.offsetR,P=e.offsetB,k=e.onAlign,N=e.onPrepare,L=e.stretch,V=e.targetWidth,$=e.targetHeight,W=typeof n=="function"?n():n,j=l||c,U=(_==null?void 0:_.length)>0,Z=p.useState(!_||!U),te=Ie(Z,2),ae=te[0],K=te[1];if(ar(function(){!ae&&U&&a&&K(!0)},[ae,U,a]),!ae)return null;var Q="auto",ie={left:"-1000vw",top:"-1000vh",right:Q,bottom:Q};if(A||!l){var he,pe=g.points,le=g.dynamicInset||((he=g._experimental)===null||he===void 0?void 0:he.dynamicInset),de=le&&pe[0][1]==="r",ve=le&&pe[0][0]==="b";de?(ie.right=B,ie.left=Q):(ie.left=I,ie.right=Q),ve?(ie.bottom=P,ie.top=Q):(ie.top=M,ie.bottom=Q)}var ne={};return L&&(L.includes("height")&&$?ne.height=$:L.includes("minHeight")&&$&&(ne.minHeight=$),L.includes("width")&&V?ne.width=V:L.includes("minWidth")&&V&&(ne.minWidth=V)),l||(ne.pointerEvents="none"),p.createElement(C,{open:b||j,getContainer:_&&function(){return _(a)},autoDestroy:E},p.createElement(tnt,{prefixCls:i,open:l,zIndex:S,mask:f,motion:y}),p.createElement(xa,{onResize:k,disabled:!l},function(ue){return p.createElement(ia,Ke({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:b,leavedClassName:"".concat(i,"-hidden")},v,{onAppearPrepare:N,onEnterPrepare:N,visible:l,onVisibleChanged:function(Ce){var Te;v==null||(Te=v.onVisibleChanged)===null||Te===void 0||Te.call(v,Ce),s(Ce)}}),function(ge,Ce){var Te=ge.className,Se=ge.style,me=xe(i,Te,r);return p.createElement("div",{ref:aa(ue,t,Ce),className:me,style:G(G(G(G({"--arrow-x":"".concat(m.x||0,"px"),"--arrow-y":"".concat(m.y||0,"px")},ie),ne),Se),{},{boxSizing:"border-box",zIndex:S},o),onMouseEnter:w,onMouseLeave:T,onPointerEnter:O,onClick:d,onPointerDownCapture:x},h&&p.createElement(ent,{prefixCls:i,arrow:h,arrowPos:m,align:g}),p.createElement(nnt,{cache:!l&&!u},W))})}))}),int=p.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,i=Cd(n),o=p.useCallback(function(s){wT(t,r?r(s):s)},[r]),a=$d(o,Ig(n));return i?p.cloneElement(n,{ref:a}):n}),Pre=p.createContext(null);function Dre(e){return e?Array.isArray(e)?e:[e]:[]}function ont(e,t,n,r){return p.useMemo(function(){var i=Dre(n??t),o=Dre(r??t),a=new Set(i),s=new Set(o);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[a,s]},[e,t,n,r])}function ant(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function snt(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(e)?t:e}function DE(e){return DT(parseFloat(e),0)}function $re(e,t){var n=G({},e);return(t||[]).forEach(function(r){if(!(r instanceof HTMLBodyElement||r instanceof HTMLHtmlElement)){var i=d2(r).getComputedStyle(r),o=i.overflow,a=i.overflowClipMargin,s=i.borderTopWidth,l=i.borderBottomWidth,c=i.borderLeftWidth,u=i.borderRightWidth,d=r.getBoundingClientRect(),f=r.offsetHeight,h=r.clientHeight,m=r.offsetWidth,g=r.clientWidth,v=DE(s),y=DE(l),b=DE(c),_=DE(u),E=DT(Math.round(d.width/m*1e3)/1e3),C=DT(Math.round(d.height/f*1e3)/1e3),S=(m-g-b-_)*E,w=(f-h-v-y)*C,T=v*C,O=y*C,x=b*E,A=_*E,I=0,M=0;if(o==="clip"){var B=DE(a);I=B*E,M=B*C}var P=d.x+x-I,k=d.y+T-M,N=P+d.width+2*I-x-A-S,L=k+d.height+2*M-T-O-w;n.left=Math.max(n.left,P),n.top=Math.max(n.top,k),n.right=Math.min(n.right,N),n.bottom=Math.min(n.bottom,L)}}),n}function Fre(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function Bre(e,t){var n=t||[],r=Ie(n,2),i=r[0],o=r[1];return[Fre(e.width,i),Fre(e.height,o)]}function jre(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[e[0],e[1]]}function eb(e,t){var n=t[0],r=t[1],i,o;return n==="t"?o=e.y:n==="b"?o=e.y+e.height:o=e.y+e.height/2,r==="l"?i=e.x:r==="r"?i=e.x+e.width:i=e.x+e.width/2,{x:i,y:o}}function jh(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(r,i){return i===t?n[r]||"c":r}).join("")}function lnt(e,t,n,r,i,o,a){var s=p.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:i[r]||{}}),l=Ie(s,2),c=l[0],u=l[1],d=p.useRef(0),f=p.useMemo(function(){return t?HH(t):[]},[t]),h=p.useRef({}),m=function(){h.current={}};e||m();var g=Yn(function(){if(t&&n&&e){let Mn=function(Mr,Ko){var ga=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Re,bi=Z.x+Mr,va=Z.y+Ko,tp=bi+de,np=va+le,Vg=Math.max(bi,ga.left),kn=Math.max(va,ga.top),hr=Math.min(tp,ga.right),Zr=Math.min(np,ga.bottom);return Math.max(0,(hr-Vg)*(Zr-kn))},Qn=function(){Yt=Z.y+Ut,ct=Yt+le,Rt=Z.x+Ot,Ht=Rt+de};var b,_,E,C,S=t,w=S.ownerDocument,T=d2(S),O=T.getComputedStyle(S),x=O.width,A=O.height,I=O.position,M=S.style.left,B=S.style.top,P=S.style.right,k=S.style.bottom,N=S.style.overflow,L=G(G({},i[r]),o),V=w.createElement("div");(b=S.parentElement)===null||b===void 0||b.appendChild(V),V.style.left="".concat(S.offsetLeft,"px"),V.style.top="".concat(S.offsetTop,"px"),V.style.position=I,V.style.height="".concat(S.offsetHeight,"px"),V.style.width="".concat(S.offsetWidth,"px"),S.style.left="0",S.style.top="0",S.style.right="auto",S.style.bottom="auto",S.style.overflow="hidden";var $;if(Array.isArray(n))$={x:n[0],y:n[1],width:0,height:0};else{var W,j,U=n.getBoundingClientRect();U.x=(W=U.x)!==null&&W!==void 0?W:U.left,U.y=(j=U.y)!==null&&j!==void 0?j:U.top,$={x:U.x,y:U.y,width:U.width,height:U.height}}var Z=S.getBoundingClientRect();Z.x=(_=Z.x)!==null&&_!==void 0?_:Z.left,Z.y=(E=Z.y)!==null&&E!==void 0?E:Z.top;var te=w.documentElement,ae=te.clientWidth,K=te.clientHeight,Q=te.scrollWidth,ie=te.scrollHeight,he=te.scrollTop,pe=te.scrollLeft,le=Z.height,de=Z.width,ve=$.height,ne=$.width,ue={left:0,top:0,right:ae,bottom:K},ge={left:-pe,top:-he,right:Q-pe,bottom:ie-he},Ce=L.htmlRegion,Te="visible",Se="visibleFirst";Ce!=="scroll"&&Ce!==Se&&(Ce=Te);var me=Ce===Se,be=$re(ge,f),_e=$re(ue,f),Re=Ce===Te?_e:be,De=me?_e:Re;S.style.left="auto",S.style.top="auto",S.style.right="0",S.style.bottom="0";var z=S.getBoundingClientRect();S.style.left=M,S.style.top=B,S.style.right=P,S.style.bottom=k,S.style.overflow=N,(C=S.parentElement)===null||C===void 0||C.removeChild(V);var D=DT(Math.round(de/parseFloat(x)*1e3)/1e3),q=DT(Math.round(le/parseFloat(A)*1e3)/1e3);if(D===0||q===0||CT(n)&&!mS(n))return;var oe=L.offset,ye=L.targetOffset,ce=Bre(Z,oe),Be=Ie(ce,2),Ve=Be[0],re=Be[1],Me=Bre($,ye),je=Ie(Me,2),ke=je[0],Ge=je[1];$.x-=ke,$.y-=Ge;var Ue=L.points||[],qe=Ie(Ue,2),At=qe[0],at=qe[1],pt=jre(at),Ct=jre(At),bt=eb($,pt),Vt=eb(Z,Ct),Tt=G({},L),Ot=bt.x-Vt.x+Ve,Ut=bt.y-Vt.y+re,ze=Mn(Ot,Ut),Ye=Mn(Ot,Ut,_e),He=eb($,["t","l"]),Ze=eb(Z,["t","l"]),yt=eb($,["b","r"]),_t=eb(Z,["b","r"]),Bt=L.overflow||{},Nt=Bt.adjustX,vt=Bt.adjustY,ht=Bt.shiftX,kt=Bt.shiftY,Et=function(Ko){return typeof Ko=="boolean"?Ko:Ko>=0},Yt,ct,Rt,Ht;Qn();var wt=Et(vt),St=Ct[0]===pt[0];if(wt&&Ct[0]==="t"&&(ct>De.bottom||h.current.bt)){var jt=Ut;St?jt-=le-ve:jt=He.y-_t.y-re;var Pe=Mn(Ot,jt),Pt=Mn(Ot,jt,_e);Pe>ze||Pe===ze&&(!me||Pt>=Ye)?(h.current.bt=!0,Ut=jt,re=-re,Tt.points=[jh(Ct,0),jh(pt,0)]):h.current.bt=!1}if(wt&&Ct[0]==="b"&&(Ytze||Mt===ze&&(!me||It>=Ye)?(h.current.tb=!0,Ut=rt,re=-re,Tt.points=[jh(Ct,0),jh(pt,0)]):h.current.tb=!1}var xn=Et(Nt),Hn=Ct[1]===pt[1];if(xn&&Ct[1]==="l"&&(Ht>De.right||h.current.rl)){var R=Ot;Hn?R-=de-ne:R=He.x-_t.x-Ve;var F=Mn(R,Ut),J=Mn(R,Ut,_e);F>ze||F===ze&&(!me||J>=Ye)?(h.current.rl=!0,Ot=R,Ve=-Ve,Tt.points=[jh(Ct,1),jh(pt,1)]):h.current.rl=!1}if(xn&&Ct[1]==="r"&&(Rtze||$e===ze&&(!me||et>=Ye)?(h.current.lr=!0,Ot=Oe,Ve=-Ve,Tt.points=[jh(Ct,1),jh(pt,1)]):h.current.lr=!1}Qn();var $t=ht===!0?0:ht;typeof $t=="number"&&(Rt<_e.left&&(Ot-=Rt-_e.left-Ve,$.x+ne<_e.left+$t&&(Ot+=$.x-_e.left+ne-$t)),Ht>_e.right&&(Ot-=Ht-_e.right-Ve,$.x>_e.right-$t&&(Ot+=$.x-_e.right+$t)));var hn=kt===!0?0:kt;typeof hn=="number"&&(Yt<_e.top&&(Ut-=Yt-_e.top-re,$.y+ve<_e.top+hn&&(Ut+=$.y-_e.top+ve-hn)),ct>_e.bottom&&(Ut-=ct-_e.bottom-re,$.y>_e.bottom-hn&&(Ut+=$.y-_e.bottom+hn)));var Fn=Z.x+Ot,Xr=Fn+de,Lr=Z.y+Ut,vi=Lr+le,Sr=$.x,ln=Sr+ne,_n=$.y,Cr=_n+ve,on=Math.max(Fn,Sr),an=Math.min(Xr,ln),Gn=(on+an)/2,yr=Gn-Fn,oi=Math.max(Lr,_n),Zi=Math.min(vi,Cr),tr=(oi+Zi)/2,Fi=tr-Lr;a==null||a(t,Tt);var Jn=z.right-Z.x-(Ot+Z.width),fn=z.bottom-Z.y-(Ut+Z.height);D===1&&(Ot=Math.round(Ot),Jn=Math.round(Jn)),q===1&&(Ut=Math.round(Ut),fn=Math.round(fn));var wn={ready:!0,offsetX:Ot/D,offsetY:Ut/q,offsetR:Jn/D,offsetB:fn/q,arrowX:yr/D,arrowY:Fi/q,scaleX:D,scaleY:q,align:Tt};u(wn)}}),v=function(){d.current+=1;var _=d.current;Promise.resolve().then(function(){d.current===_&&g()})},y=function(){u(function(_){return G(G({},_),{},{ready:!1})})};return ar(y,[r]),ar(function(){e||y()},[e]),[c.ready,c.offsetX,c.offsetY,c.offsetR,c.offsetB,c.arrowX,c.arrowY,c.scaleX,c.scaleY,c.align,v]}function cnt(e,t,n,r,i){ar(function(){if(e&&t&&n){let d=function(){r(),i()};var o=t,a=n,s=HH(o),l=HH(a),c=d2(a),u=new Set([c].concat(nt(s),nt(l)));return u.forEach(function(f){f.addEventListener("scroll",d,{passive:!0})}),c.addEventListener("resize",d,{passive:!0}),r(),function(){u.forEach(function(f){f.removeEventListener("scroll",d),c.removeEventListener("resize",d)})}}},[e,t,n])}function unt(e,t,n,r,i,o,a,s){var l=p.useRef(e);l.current=e;var c=p.useRef(!1);p.useEffect(function(){if(t&&r&&(!i||o)){var d=function(){c.current=!1},f=function(v){var y;l.current&&!a(((y=v.composedPath)===null||y===void 0||(y=y.call(v))===null||y===void 0?void 0:y[0])||v.target)&&!c.current&&s(!1)},h=d2(r);h.addEventListener("pointerdown",d,!0),h.addEventListener("mousedown",f,!0),h.addEventListener("contextmenu",f,!0);var m=zM(n);return m&&(m.addEventListener("mousedown",f,!0),m.addEventListener("contextmenu",f,!0)),function(){h.removeEventListener("pointerdown",d,!0),h.removeEventListener("mousedown",f,!0),h.removeEventListener("contextmenu",f,!0),m&&(m.removeEventListener("mousedown",f,!0),m.removeEventListener("contextmenu",f,!0))}}},[t,n,r,i,o]);function u(){c.current=!0}return u}var dnt=["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 fnt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:l2,t=p.forwardRef(function(n,r){var i=n.prefixCls,o=i===void 0?"rc-trigger-popup":i,a=n.children,s=n.action,l=s===void 0?"hover":s,c=n.showAction,u=n.hideAction,d=n.popupVisible,f=n.defaultPopupVisible,h=n.onPopupVisibleChange,m=n.afterPopupVisibleChange,g=n.mouseEnterDelay,v=n.mouseLeaveDelay,y=v===void 0?.1:v,b=n.focusDelay,_=n.blurDelay,E=n.mask,C=n.maskClosable,S=C===void 0?!0:C,w=n.getPopupContainer,T=n.forceRender,O=n.autoDestroy,x=n.destroyPopupOnHide,A=n.popup,I=n.popupClassName,M=n.popupStyle,B=n.popupPlacement,P=n.builtinPlacements,k=P===void 0?{}:P,N=n.popupAlign,L=n.zIndex,V=n.stretch,$=n.getPopupClassNameFromAlign,W=n.fresh,j=n.alignPoint,U=n.onPopupClick,Z=n.onPopupAlign,te=n.arrow,ae=n.popupMotion,K=n.maskMotion,Q=n.popupTransitionName,ie=n.popupAnimation,he=n.maskTransitionName,pe=n.maskAnimation,le=n.className,de=n.getTriggerDOMNode,ve=Dt(n,dnt),ne=O||x||!1,ue=p.useState(!1),ge=Ie(ue,2),Ce=ge[0],Te=ge[1];ar(function(){Te(W5())},[]);var Se=p.useRef({}),me=p.useContext(Pre),be=p.useMemo(function(){return{registerSubPopup:function(hr,Zr){Se.current[hr]=Zr,me==null||me.registerSubPopup(hr,Zr)}}},[me]),_e=U5(),Re=p.useState(null),De=Ie(Re,2),z=De[0],D=De[1],q=p.useRef(null),oe=Yn(function(kn){q.current=kn,CT(kn)&&z!==kn&&D(kn),me==null||me.registerSubPopup(_e,kn)}),ye=p.useState(null),ce=Ie(ye,2),Be=ce[0],Ve=ce[1],re=p.useRef(null),Me=Yn(function(kn){CT(kn)&&Be!==kn&&(Ve(kn),re.current=kn)}),je=p.Children.only(a),ke=(je==null?void 0:je.props)||{},Ge={},Ue=Yn(function(kn){var hr,Zr,To=Be;return(To==null?void 0:To.contains(kn))||((hr=zM(To))===null||hr===void 0?void 0:hr.host)===kn||kn===To||(z==null?void 0:z.contains(kn))||((Zr=zM(z))===null||Zr===void 0?void 0:Zr.host)===kn||kn===z||Object.values(Se.current).some(function(Ji){return(Ji==null?void 0:Ji.contains(kn))||kn===Ji})}),qe=Lre(o,ae,ie,Q),At=Lre(o,K,pe,he),at=p.useState(f||!1),pt=Ie(at,2),Ct=pt[0],bt=pt[1],Vt=d??Ct,Tt=Yn(function(kn){d===void 0&&bt(kn)});ar(function(){bt(d||!1)},[d]);var Ot=p.useRef(Vt);Ot.current=Vt;var Ut=p.useRef([]);Ut.current=[];var ze=Yn(function(kn){var hr;Tt(kn),((hr=Ut.current[Ut.current.length-1])!==null&&hr!==void 0?hr:Vt)!==kn&&(Ut.current.push(kn),h==null||h(kn))}),Ye=p.useRef(),He=function(){clearTimeout(Ye.current)},Ze=function(hr){var Zr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;He(),Zr===0?ze(hr):Ye.current=setTimeout(function(){ze(hr)},Zr*1e3)};p.useEffect(function(){return He},[]);var yt=p.useState(!1),_t=Ie(yt,2),Bt=_t[0],Nt=_t[1];ar(function(kn){(!kn||Vt)&&Nt(!0)},[Vt]);var vt=p.useState(null),ht=Ie(vt,2),kt=ht[0],Et=ht[1],Yt=p.useState(null),ct=Ie(Yt,2),Rt=ct[0],Ht=ct[1],wt=function(hr){Ht([hr.clientX,hr.clientY])},St=lnt(Vt,z,j&&Rt!==null?Rt:Be,B,k,N,Z),jt=Ie(St,11),Pe=jt[0],Pt=jt[1],rt=jt[2],Mt=jt[3],It=jt[4],xn=jt[5],Hn=jt[6],R=jt[7],F=jt[8],J=jt[9],Oe=jt[10],$e=ont(Ce,l,c,u),et=Ie($e,2),$t=et[0],hn=et[1],Fn=$t.has("click"),Xr=hn.has("click")||hn.has("contextMenu"),Lr=Yn(function(){Bt||Oe()}),vi=function(){Ot.current&&j&&Xr&&Ze(!1)};cnt(Vt,Be,z,Lr,vi),ar(function(){Lr()},[Rt,B]),ar(function(){Vt&&!(k!=null&&k[B])&&Lr()},[JSON.stringify(N)]);var Sr=p.useMemo(function(){var kn=snt(k,o,J,j);return xe(kn,$==null?void 0:$(J))},[J,$,k,o,j]);p.useImperativeHandle(r,function(){return{nativeElement:re.current,popupElement:q.current,forceAlign:Lr}});var ln=p.useState(0),_n=Ie(ln,2),Cr=_n[0],on=_n[1],an=p.useState(0),Gn=Ie(an,2),yr=Gn[0],oi=Gn[1],Zi=function(){if(V&&Be){var hr=Be.getBoundingClientRect();on(hr.width),oi(hr.height)}},tr=function(){Zi(),Lr()},Fi=function(hr){Nt(!1),Oe(),m==null||m(hr)},Jn=function(){return new Promise(function(hr){Zi(),Et(function(){return hr})})};ar(function(){kt&&(Oe(),kt(),Et(null))},[kt]);function fn(kn,hr,Zr,To){Ge[kn]=function(Ji){var $h;To==null||To(Ji),Ze(hr,Zr);for(var rp=arguments.length,V0=new Array(rp>1?rp-1:0),Gg=1;Gg1?Zr-1:0),Ji=1;Ji1?Zr-1:0),Ji=1;Ji1&&arguments[1]!==void 0?arguments[1]:{},n=t.fieldNames,r=t.childrenAsData,i=[],o=dCe(n,!1),a=o.label,s=o.value,l=o.options,c=o.groupLabel;function u(d,f){Array.isArray(d)&&d.forEach(function(h){if(f||!(l in h)){var m=h[s];i.push({key:Hre(h,i.length),groupOption:f,data:h,label:h[a],value:m})}else{var g=h[c];g===void 0&&r&&(g=h.label),i.push({key:Hre(h,i.length),group:!0,data:h,label:g}),u(h[l],!0)}})}return u(e,!1),i}function zH(e){var t=G({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Yr(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t}}),t}var bnt=function(t,n,r){if(!n||!n.length)return null;var i=!1,o=function s(l,c){var u=Z_e(c),d=u[0],f=u.slice(1);if(!d)return[l];var h=l.split(d);return i=i||h.length>1,h.reduce(function(m,g){return[].concat(nt(m),nt(s(g,f)))},[]).filter(Boolean)},a=o(t,n);return i?typeof r<"u"?a.slice(0,r):a:null},Uq=p.createContext(null);function ynt(e){var t=e.visible,n=e.values;if(!t)return null;var r=50;return p.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},"".concat(n.slice(0,r).map(function(i){var o=i.label,a=i.value;return["number","string"].includes(Gt(o))?o:a}).join(", ")),n.length>r?", ...":null)}var _nt=["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","prefix","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],Snt=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"],VH=function(t){return t==="tags"||t==="multiple"},zq=p.forwardRef(function(e,t){var n,r=e.id,i=e.prefixCls,o=e.className,a=e.showSearch,s=e.tagRender,l=e.direction,c=e.omitDomProps,u=e.displayValues,d=e.onDisplayValuesChange,f=e.emptyOptions,h=e.notFoundContent,m=h===void 0?"Not Found":h,g=e.onClear,v=e.mode,y=e.disabled,b=e.loading,_=e.getInputElement,E=e.getRawInputElement,C=e.open,S=e.defaultOpen,w=e.onDropdownVisibleChange,T=e.activeValue,O=e.onActiveValueChange,x=e.activeDescendantId,A=e.searchValue,I=e.autoClearSearchValue,M=e.onSearch,B=e.onSearchSplit,P=e.tokenSeparators,k=e.allowClear,N=e.prefix,L=e.suffixIcon,V=e.clearIcon,$=e.OptionList,W=e.animation,j=e.transitionName,U=e.dropdownStyle,Z=e.dropdownClassName,te=e.dropdownMatchSelectWidth,ae=e.dropdownRender,K=e.dropdownAlign,Q=e.placement,ie=e.builtinPlacements,he=e.getPopupContainer,pe=e.showAction,le=pe===void 0?[]:pe,de=e.onFocus,ve=e.onBlur,ne=e.onKeyUp,ue=e.onKeyDown,ge=e.onMouseDown,Ce=Dt(e,_nt),Te=VH(v),Se=(a!==void 0?a:Te)||v==="combobox",me=G({},Ce);Snt.forEach(function(ln){delete me[ln]}),c==null||c.forEach(function(ln){delete me[ln]});var be=p.useState(!1),_e=Ie(be,2),Re=_e[0],De=_e[1];p.useEffect(function(){De(W5())},[]);var z=p.useRef(null),D=p.useRef(null),q=p.useRef(null),oe=p.useRef(null),ye=p.useRef(null),ce=p.useRef(!1),Be=Itt(),Ve=Ie(Be,3),re=Ve[0],Me=Ve[1],je=Ve[2];p.useImperativeHandle(t,function(){var ln,_n;return{focus:(ln=oe.current)===null||ln===void 0?void 0:ln.focus,blur:(_n=oe.current)===null||_n===void 0?void 0:_n.blur,scrollTo:function(on){var an;return(an=ye.current)===null||an===void 0?void 0:an.scrollTo(on)},nativeElement:z.current||D.current}});var ke=p.useMemo(function(){var ln;if(v!=="combobox")return A;var _n=(ln=u[0])===null||ln===void 0?void 0:ln.value;return typeof _n=="string"||typeof _n=="number"?String(_n):""},[A,v,u]),Ge=v==="combobox"&&typeof _=="function"&&_()||null,Ue=typeof E=="function"&&E(),qe=$d(D,Ue==null||(n=Ue.props)===null||n===void 0?void 0:n.ref),At=p.useState(!1),at=Ie(At,2),pt=at[0],Ct=at[1];ar(function(){Ct(!0)},[]);var bt=Pn(!1,{defaultValue:S,value:C}),Vt=Ie(bt,2),Tt=Vt[0],Ot=Vt[1],Ut=pt?Tt:!1,ze=!m&&f;(y||ze&&Ut&&v==="combobox")&&(Ut=!1);var Ye=ze?!1:Ut,He=p.useCallback(function(ln){var _n=ln!==void 0?ln:!Ut;y||(Ot(_n),Ut!==_n&&(w==null||w(_n)))},[y,Ut,Ot,w]),Ze=p.useMemo(function(){return(P||[]).some(function(ln){return[` `,`\r -`].includes(ln)})},[P]),yt=p.useContext(Uq)||{},_t=yt.maxCount,Bt=yt.rawValues,Nt=function(_n,Cr,on){if(!(Te&&UH(_t)&&(Bt==null?void 0:Bt.size)>=_t)){var an=!0,Gn=_n;O==null||O(null);var yr=bnt(_n,P,UH(_t)?_t-Bt.size:void 0),oi=on?null:yr;return v!=="combobox"&&oi&&(Gn="",B==null||B(oi),He(!1),an=!1),M&&ke!==Gn&&M(Gn,{source:Cr?"typing":"effect"}),an}},vt=function(_n){!_n||!_n.trim()||M(_n,{source:"submit"})};p.useEffect(function(){!Ut&&!Te&&v!=="combobox"&&Nt("",!1,!1)},[Ut]),p.useEffect(function(){Tt&&y&&Ot(!1),y&&!ce.current&&Me(!1)},[y]);var ht=iCe(),kt=Ie(ht,2),Et=kt[0],Yt=kt[1],ct=p.useRef(!1),Rt=function(_n){var Cr=Et(),on=_n.key,an=on==="Enter";if(an&&(v!=="combobox"&&_n.preventDefault(),Ut||He(!0)),Yt(!!ke),on==="Backspace"&&!Cr&&Te&&!ke&&u.length){for(var Gn=nt(u),yr=null,oi=Gn.length-1;oi>=0;oi-=1){var Zi=Gn[oi];if(!Zi.disabled){Gn.splice(oi,1),yr=Zi;break}}yr&&d(Gn,{type:"remove",values:[yr]})}for(var tr=arguments.length,Fi=new Array(tr>1?tr-1:0),Jn=1;Jn1?Cr-1:0),an=1;an1?yr-1:0),Zi=1;Zi"u"?"undefined":Gt(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const pCe=function(e,t,n,r){var i=p.useRef(!1),o=p.useRef(null);function a(){clearTimeout(o.current),i.current=!0,o.current=setTimeout(function(){i.current=!1},50)}var s=p.useRef({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(l,c){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,d=l?c<0&&s.current.left||c>0&&s.current.right:c<0&&s.current.top||c>0&&s.current.bottom;return u&&d?(clearTimeout(o.current),i.current=!1):(!d||i.current)&&a(),!i.current&&d}};function xnt(e,t,n,r,i,o,a){var s=p.useRef(0),l=p.useRef(null),c=p.useRef(null),u=p.useRef(!1),d=pCe(t,n,r,i);function f(b,_){if(nr.cancel(l.current),!d(!1,_)){var E=b;if(!E._virtualHandled)E._virtualHandled=!0;else return;s.current+=_,c.current=_,Ure||E.preventDefault(),l.current=nr(function(){var C=u.current?10:1;a(s.current*C,!1),s.current=0})}}function h(b,_){a(_,!0),Ure||b.preventDefault()}var m=p.useRef(null),g=p.useRef(null);function v(b){if(e){nr.cancel(g.current),g.current=nr(function(){m.current=null},2);var _=b.deltaX,E=b.deltaY,C=b.shiftKey,S=_,w=E;(m.current==="sx"||!m.current&&C&&E&&!_)&&(S=E,w=0,m.current="sx");var T=Math.abs(S),O=Math.abs(w);m.current===null&&(m.current=o&&T>O?"x":"y"),m.current==="y"?f(b,w):h(b,S)}}function y(b){e&&(u.current=b.detail===c.current)}return[v,y]}function Ont(e,t,n,r){var i=p.useMemo(function(){return[new Map,[]]},[e,n.id,r]),o=Ie(i,2),a=o[0],s=o[1],l=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u,f=a.get(u),h=a.get(d);if(f===void 0||h===void 0)for(var m=e.length,g=s.length;g0&&arguments[0]!==void 0?arguments[0]:!1;u();var m=function(){s.current.forEach(function(v,y){if(v&&v.offsetParent){var b=aw(v),_=b.offsetHeight,E=getComputedStyle(b),C=E.marginTop,S=E.marginBottom,w=zre(C),T=zre(S),O=_+w+T;l.current.get(y)!==O&&l.current.set(y,O)}}),a(function(v){return v+1})};h?m():c.current=nr(m)}function f(h,m){var g=e(h);s.current.get(g),m?(s.current.set(g,m),d()):s.current.delete(g)}return p.useEffect(function(){return u},[]),[f,d,l.current,o]}var Vre=14/15;function Ant(e,t,n){var r=p.useRef(!1),i=p.useRef(0),o=p.useRef(0),a=p.useRef(null),s=p.useRef(null),l,c=function(h){if(r.current){var m=Math.ceil(h.touches[0].pageX),g=Math.ceil(h.touches[0].pageY),v=i.current-m,y=o.current-g,b=Math.abs(v)>Math.abs(y);b?i.current=m:o.current=g;var _=n(b,b?v:y,!1,h);_&&h.preventDefault(),clearInterval(s.current),_&&(s.current=setInterval(function(){b?v*=Vre:y*=Vre;var E=Math.floor(b?v:y);(!n(b,E,!0)||Math.abs(E)<=.1)&&clearInterval(s.current)},16))}},u=function(){r.current=!1,l()},d=function(h){l(),h.touches.length===1&&!r.current&&(r.current=!0,i.current=Math.ceil(h.touches[0].pageX),o.current=Math.ceil(h.touches[0].pageY),a.current=h.target,a.current.addEventListener("touchmove",c,{passive:!1}),a.current.addEventListener("touchend",u,{passive:!0}))};l=function(){a.current&&(a.current.removeEventListener("touchmove",c),a.current.removeEventListener("touchend",u))},ar(function(){return e&&t.current.addEventListener("touchstart",d,{passive:!0}),function(){var f;(f=t.current)===null||f===void 0||f.removeEventListener("touchstart",d),l(),clearInterval(s.current)}},[e])}var Nnt=10;function Mnt(e,t,n,r,i,o,a,s){var l=p.useRef(),c=p.useState(null),u=Ie(c,2),d=u[0],f=u[1];return ar(function(){if(d&&d.times=0;B-=1){var P=i(t[B]),k=n.get(P);if(k===void 0){b=!0;break}if(M-=k,M<=0)break}switch(C){case"top":E=w-v;break;case"bottom":E=T-y+v;break;default:{var N=e.current.scrollTop,L=N+y;wL&&(_="bottom")}}E!==null&&a(E),E!==d.lastTop&&(b=!0)}b&&f(G(G({},d),{},{times:d.times+1,targetAlign:_,lastTop:E}))}},[d,e.current]),function(h){if(h==null){s();return}if(nr.cancel(l.current),typeof h=="number")a(h);else if(h&&Gt(h)==="object"){var m,g=h.align;"index"in h?m=h.index:m=t.findIndex(function(b){return i(b)===h.key});var v=h.offset,y=v===void 0?0:v;f({times:0,index:m,offset:y,originAlign:g})}}}function Gre(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]}var Wre=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,i=e.scrollOffset,o=e.scrollRange,a=e.onStartMove,s=e.onStopMove,l=e.onScroll,c=e.horizontal,u=e.spinSize,d=e.containerSize,f=e.style,h=e.thumbStyle,m=p.useState(!1),g=Ie(m,2),v=g[0],y=g[1],b=p.useState(null),_=Ie(b,2),E=_[0],C=_[1],S=p.useState(null),w=Ie(S,2),T=w[0],O=w[1],x=!r,A=p.useRef(),I=p.useRef(),M=p.useState(!1),B=Ie(M,2),P=B[0],k=B[1],N=p.useRef(),L=function(){clearTimeout(N.current),k(!0),N.current=setTimeout(function(){k(!1)},3e3)},V=o-d||0,$=d-u||0,W=p.useMemo(function(){if(i===0||V===0)return 0;var he=i/V;return he*$},[i,V,$]),j=function(pe){pe.stopPropagation(),pe.preventDefault()},U=p.useRef({top:W,dragging:v,pageY:E,startTop:T});U.current={top:W,dragging:v,pageY:E,startTop:T};var Z=function(pe){y(!0),C(Gre(pe,c)),O(U.current.top),a(),pe.stopPropagation(),pe.preventDefault()};p.useEffect(function(){var he=function(ve){ve.preventDefault()},pe=A.current,le=I.current;return pe.addEventListener("touchstart",he,{passive:!1}),le.addEventListener("touchstart",Z,{passive:!1}),function(){pe.removeEventListener("touchstart",he),le.removeEventListener("touchstart",Z)}},[]);var te=p.useRef();te.current=V;var ae=p.useRef();ae.current=$,p.useEffect(function(){if(v){var he,pe=function(ve){var ne=U.current,ue=ne.dragging,ge=ne.pageY,Ce=ne.startTop;nr.cancel(he);var Te=A.current.getBoundingClientRect(),Se=d/(c?Te.width:Te.height);if(ue){var me=(Gre(ve,c)-ge)*Se,be=Ce;!x&&c?be-=me:be+=me;var _e=te.current,Re=ae.current,De=Re?be/Re:0,z=Math.ceil(De*_e);z=Math.max(z,0),z=Math.min(z,_e),he=nr(function(){l(z,c)})}},le=function(){y(!1),s()};return window.addEventListener("mousemove",pe,{passive:!0}),window.addEventListener("touchmove",pe,{passive:!0}),window.addEventListener("mouseup",le,{passive:!0}),window.addEventListener("touchend",le,{passive:!0}),function(){window.removeEventListener("mousemove",pe),window.removeEventListener("touchmove",pe),window.removeEventListener("mouseup",le),window.removeEventListener("touchend",le),nr.cancel(he)}}},[v]),p.useEffect(function(){return L(),function(){clearTimeout(N.current)}},[i]),p.useImperativeHandle(t,function(){return{delayHidden:L}});var K="".concat(n,"-scrollbar"),Q={position:"absolute",visibility:P?null:"hidden"},ie={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return c?(Q.height=8,Q.left=0,Q.right=0,Q.bottom=0,ie.height="100%",ie.width=u,x?ie.left=W:ie.right=W):(Q.width=8,Q.top=0,Q.bottom=0,x?Q.right=0:Q.left=0,ie.width="100%",ie.height=u,ie.top=W),p.createElement("div",{ref:A,className:xe(K,ee(ee(ee({},"".concat(K,"-horizontal"),c),"".concat(K,"-vertical"),!c),"".concat(K,"-visible"),P)),style:G(G({},Q),f),onMouseDown:j,onMouseMove:L},p.createElement("div",{ref:I,className:xe("".concat(K,"-thumb"),ee({},"".concat(K,"-thumb-moving"),v)),style:G(G({},ie),h),onMouseDown:Z}))}),knt=20;function qre(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,knt),Math.floor(n)}var Pnt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],Dnt=[],Lnt={overflowY:"auto",overflowAnchor:"none"};function $nt(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,i=e.className,o=e.height,a=e.itemHeight,s=e.fullHeight,l=s===void 0?!0:s,c=e.style,u=e.data,d=e.children,f=e.itemKey,h=e.virtual,m=e.direction,g=e.scrollWidth,v=e.component,y=v===void 0?"div":v,b=e.onScroll,_=e.onVirtualScroll,E=e.onVisibleChange,C=e.innerProps,S=e.extraRender,w=e.styles,T=Dt(e,Pnt),O=p.useCallback(function(wt){return typeof f=="function"?f(wt):wt==null?void 0:wt[f]},[f]),x=Int(O),A=Ie(x,4),I=A[0],M=A[1],B=A[2],P=A[3],k=!!(h!==!1&&o&&a),N=p.useMemo(function(){return Object.values(B.maps).reduce(function(wt,St){return wt+St},0)},[B.id,B.maps]),L=k&&u&&(Math.max(a*u.length,N)>o||!!g),V=m==="rtl",$=xe(r,ee({},"".concat(r,"-rtl"),V),i),W=u||Dnt,j=p.useRef(),U=p.useRef(),Z=p.useRef(),te=p.useState(0),ae=Ie(te,2),K=ae[0],Q=ae[1],ie=p.useState(0),he=Ie(ie,2),pe=he[0],le=he[1],de=p.useState(!1),ve=Ie(de,2),ne=ve[0],ue=ve[1],ge=function(){ue(!0)},Ce=function(){ue(!1)},Te={getKey:O};function Se(wt){Q(function(St){var jt;typeof wt=="function"?jt=wt(St):jt=wt;var Pe=at(jt);return j.current.scrollTop=Pe,Pe})}var me=p.useRef({start:0,end:W.length}),be=p.useRef(),_e=Tnt(W,O),Re=Ie(_e,1),De=Re[0];be.current=De;var z=p.useMemo(function(){if(!k)return{scrollHeight:void 0,start:0,end:W.length-1,offset:void 0};if(!L){var wt;return{scrollHeight:((wt=U.current)===null||wt===void 0?void 0:wt.offsetHeight)||0,start:0,end:W.length-1,offset:void 0}}for(var St=0,jt,Pe,Pt,rt=W.length,Mt=0;Mt=K&&jt===void 0&&(jt=Mt,Pe=St),R>K+o&&Pt===void 0&&(Pt=Mt),St=R}return jt===void 0&&(jt=0,Pe=0,Pt=Math.ceil(o/a)),Pt===void 0&&(Pt=W.length-1),Pt=Math.min(Pt+1,W.length-1),{scrollHeight:St,start:jt,end:Pt,offset:Pe}},[L,k,K,W,P,o]),D=z.scrollHeight,q=z.start,oe=z.end,ye=z.offset;me.current.start=q,me.current.end=oe;var ce=p.useState({width:0,height:o}),Be=Ie(ce,2),Ve=Be[0],re=Be[1],Me=function(St){re({width:St.offsetWidth,height:St.offsetHeight})},je=p.useRef(),ke=p.useRef(),Ge=p.useMemo(function(){return qre(Ve.width,g)},[Ve.width,g]),Ue=p.useMemo(function(){return qre(Ve.height,D)},[Ve.height,D]),qe=D-o,At=p.useRef(qe);At.current=qe;function at(wt){var St=wt;return Number.isNaN(At.current)||(St=Math.min(St,At.current)),St=Math.max(St,0),St}var pt=K<=0,Ct=K>=qe,bt=pe<=0,Vt=pe>=g,Tt=pCe(pt,Ct,bt,Vt),Ot=function(){return{x:V?-pe:pe,y:K}},Ut=p.useRef(Ot()),ze=Yn(function(wt){if(_){var St=G(G({},Ot()),wt);(Ut.current.x!==St.x||Ut.current.y!==St.y)&&(_(St),Ut.current=St)}});function Ye(wt,St){var jt=wt;St?(Ml.flushSync(function(){le(jt)}),ze()):Se(jt)}function He(wt){var St=wt.currentTarget.scrollTop;St!==K&&Se(St),b==null||b(wt),ze()}var Ze=function(St){var jt=St,Pe=g?g-Ve.width:0;return jt=Math.max(jt,0),jt=Math.min(jt,Pe),jt},yt=Yn(function(wt,St){St?(Ml.flushSync(function(){le(function(jt){var Pe=jt+(V?-wt:wt);return Ze(Pe)})}),ze()):Se(function(jt){var Pe=jt+wt;return Pe})}),_t=xnt(k,pt,Ct,bt,Vt,!!g,yt),Bt=Ie(_t,2),Nt=Bt[0],vt=Bt[1];Ant(k,j,function(wt,St,jt,Pe){var Pt=Pe;return Tt(wt,St,jt)?!1:!Pt||!Pt._virtualHandled?(Pt&&(Pt._virtualHandled=!0),Nt({preventDefault:function(){},deltaX:wt?St:0,deltaY:wt?0:St}),!0):!1}),ar(function(){function wt(jt){var Pe=pt&&jt.detail<0,Pt=Ct&&jt.detail>0;k&&!Pe&&!Pt&&jt.preventDefault()}var St=j.current;return St.addEventListener("wheel",Nt,{passive:!1}),St.addEventListener("DOMMouseScroll",vt,{passive:!0}),St.addEventListener("MozMousePixelScroll",wt,{passive:!1}),function(){St.removeEventListener("wheel",Nt),St.removeEventListener("DOMMouseScroll",vt),St.removeEventListener("MozMousePixelScroll",wt)}},[k,pt,Ct]),ar(function(){if(g){var wt=Ze(pe);le(wt),ze({x:wt})}},[Ve.width,g]);var ht=function(){var St,jt;(St=je.current)===null||St===void 0||St.delayHidden(),(jt=ke.current)===null||jt===void 0||jt.delayHidden()},kt=Mnt(j,W,B,a,O,function(){return M(!0)},Se,ht);p.useImperativeHandle(t,function(){return{nativeElement:Z.current,getScrollInfo:Ot,scrollTo:function(St){function jt(Pe){return Pe&&Gt(Pe)==="object"&&("left"in Pe||"top"in Pe)}jt(St)?(St.left!==void 0&&le(Ze(St.left)),kt(St.top)):kt(St)}}}),ar(function(){if(E){var wt=W.slice(q,oe+1);E(wt,W)}},[q,oe,W]);var Et=Ont(W,O,B,a),Yt=S==null?void 0:S({start:q,end:oe,virtual:L,offsetX:pe,offsetY:ye,rtl:V,getSize:Et}),ct=Cnt(W,q,oe,g,pe,I,d,Te),Rt=null;o&&(Rt=G(ee({},l?"height":"maxHeight",o),Lnt),k&&(Rt.overflowY="hidden",g&&(Rt.overflowX="hidden"),ne&&(Rt.pointerEvents="none")));var Ht={};return V&&(Ht.dir="rtl"),p.createElement("div",Ke({ref:Z,style:G(G({},c),{},{position:"relative"}),className:$},Ht,T),p.createElement(xa,{onResize:Me},p.createElement(y,{className:"".concat(r,"-holder"),style:Rt,ref:j,onScroll:He,onMouseEnter:ht},p.createElement(fCe,{prefixCls:r,height:D,offsetX:pe,offsetY:ye,scrollWidth:g,onInnerResize:M,ref:U,innerProps:C,rtl:V,extra:Yt},ct))),L&&D>o&&p.createElement(Wre,{ref:je,prefixCls:r,scrollOffset:K,scrollRange:D,rtl:V,onScroll:Ye,onStartMove:ge,onStopMove:Ce,spinSize:Ue,containerSize:Ve.height,style:w==null?void 0:w.verticalScrollBar,thumbStyle:w==null?void 0:w.verticalScrollBarThumb}),L&&g>Ve.width&&p.createElement(Wre,{ref:ke,prefixCls:r,scrollOffset:pe,scrollRange:g,rtl:V,onScroll:Ye,onStartMove:ge,onStopMove:Ce,spinSize:Ge,containerSize:Ve.width,horizontal:!0,style:w==null?void 0:w.horizontalScrollBar,thumbStyle:w==null?void 0:w.horizontalScrollBarThumb}))}var YP=p.forwardRef($nt);YP.displayName="List";function Fnt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Bnt=["disabled","title","children","style","className"];function Yre(e){return typeof e=="string"||typeof e=="number"}var jnt=function(t,n){var r=Hq(),i=r.prefixCls,o=r.id,a=r.open,s=r.multiple,l=r.mode,c=r.searchValue,u=r.toggleOpen,d=r.notFoundContent,f=r.onPopupScroll,h=p.useContext(Uq),m=h.maxCount,g=h.flattenOptions,v=h.onActiveValue,y=h.defaultActiveFirstOption,b=h.onSelect,_=h.menuItemSelectedIcon,E=h.rawValues,C=h.fieldNames,S=h.virtual,w=h.direction,T=h.listHeight,O=h.listItemHeight,x=h.optionRender,A="".concat(i,"-item"),I=lh(function(){return g},[a,g],function(pe,le){return le[0]&&pe[1]!==le[1]}),M=p.useRef(null),B=p.useMemo(function(){return s&&UH(m)&&(E==null?void 0:E.size)>=m},[s,m,E==null?void 0:E.size]),P=function(le){le.preventDefault()},k=function(le){var de;(de=M.current)===null||de===void 0||de.scrollTo(typeof le=="number"?{index:le}:le)},N=p.useCallback(function(pe){return l==="combobox"?!1:E.has(pe)},[l,nt(E).toString(),E.size]),L=function(le){for(var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ve=I.length,ne=0;ne1&&arguments[1]!==void 0?arguments[1]:!1;j(le);var ve={source:de?"keyboard":"mouse"},ne=I[le];if(!ne){v(null,-1,ve);return}v(ne.value,le,ve)};p.useEffect(function(){U(y!==!1?L(0):-1)},[I.length,c]);var Z=p.useCallback(function(pe){return l==="combobox"?String(pe).toLowerCase()===c.toLowerCase():E.has(pe)},[l,c,nt(E).toString(),E.size]);p.useEffect(function(){var pe=setTimeout(function(){if(!s&&a&&E.size===1){var de=Array.from(E)[0],ve=I.findIndex(function(ne){var ue=ne.data;return ue.value===de});ve!==-1&&(U(ve),k(ve))}});if(a){var le;(le=M.current)===null||le===void 0||le.scrollTo(void 0)}return function(){return clearTimeout(pe)}},[a,c]);var te=function(le){le!==void 0&&b(le,{selected:!E.has(le)}),s||u(!1)};if(p.useImperativeHandle(n,function(){return{onKeyDown:function(le){var de=le.which,ve=le.ctrlKey;switch(de){case dt.N:case dt.P:case dt.UP:case dt.DOWN:{var ne=0;if(de===dt.UP?ne=-1:de===dt.DOWN?ne=1:Fnt()&&ve&&(de===dt.N?ne=1:de===dt.P&&(ne=-1)),ne!==0){var ue=L(W+ne,ne);k(ue),U(ue,!0)}break}case dt.TAB:case dt.ENTER:{var ge,Ce=I[W];Ce&&!(Ce!=null&&(ge=Ce.data)!==null&&ge!==void 0&&ge.disabled)&&!B?te(Ce.value):te(void 0),a&&le.preventDefault();break}case dt.ESC:u(!1),a&&le.stopPropagation()}},onKeyUp:function(){},scrollTo:function(le){k(le)}}}),I.length===0)return p.createElement("div",{role:"listbox",id:"".concat(o,"_list"),className:"".concat(A,"-empty"),onMouseDown:P},d);var ae=Object.keys(C).map(function(pe){return C[pe]}),K=function(le){return le.label};function Q(pe,le){var de=pe.group;return{role:de?"presentation":"option",id:"".concat(o,"_list_").concat(le)}}var ie=function(le){var de=I[le];if(!de)return null;var ve=de.data||{},ne=ve.value,ue=de.group,ge=xi(ve,!0),Ce=K(de);return de?p.createElement("div",Ke({"aria-label":typeof Ce=="string"&&!ue?Ce:null},ge,{key:le},Q(de,le),{"aria-selected":Z(ne)}),ne):null},he={role:"listbox",id:"".concat(o,"_list")};return p.createElement(p.Fragment,null,S&&p.createElement("div",Ke({},he,{style:{height:0,width:0,overflow:"hidden"}}),ie(W-1),ie(W),ie(W+1)),p.createElement(YP,{itemKey:"key",ref:M,data:I,height:T,itemHeight:O,fullHeight:!1,onMouseDown:P,onScroll:f,virtual:S,direction:w,innerProps:S?null:he},function(pe,le){var de=pe.group,ve=pe.groupOption,ne=pe.data,ue=pe.label,ge=pe.value,Ce=ne.key;if(de){var Te,Se=(Te=ne.title)!==null&&Te!==void 0?Te:Yre(ue)?ue.toString():void 0;return p.createElement("div",{className:xe(A,"".concat(A,"-group"),ne.className),title:Se},ue!==void 0?ue:Ce)}var me=ne.disabled,be=ne.title;ne.children;var _e=ne.style,Re=ne.className,De=Dt(ne,Bnt),z=ur(De,ae),D=N(ge),q=me||!D&&B,oe="".concat(A,"-option"),ye=xe(A,oe,Re,ee(ee(ee(ee({},"".concat(oe,"-grouped"),ve),"".concat(oe,"-active"),W===le&&!q),"".concat(oe,"-disabled"),q),"".concat(oe,"-selected"),D)),ce=K(pe),Be=!_||typeof _=="function"||D,Ve=typeof ce=="number"?ce:ce||ge,re=Yre(Ve)?Ve.toString():void 0;return be!==void 0&&(re=be),p.createElement("div",Ke({},xi(z),S?{}:Q(pe,le),{"aria-selected":Z(ge),className:ye,title:re,onMouseMove:function(){W===le||q||U(le)},onClick:function(){q||te(ge)},style:_e}),p.createElement("div",{className:"".concat(oe,"-content")},typeof x=="function"?x(pe,{index:le}):Ve),p.isValidElement(_)||D,Be&&p.createElement(qP,{className:"".concat(A,"-option-state"),customizeIcon:_,customizeIconProps:{value:ge,disabled:q,isSelected:D}},D?"✓":null))}))},Hnt=p.forwardRef(jnt);const Unt=function(e,t){var n=p.useRef({values:new Map,options:new Map}),r=p.useMemo(function(){var o=n.current,a=o.values,s=o.options,l=e.map(function(d){if(d.label===void 0){var f;return G(G({},d),{},{label:(f=a.get(d.value))===null||f===void 0?void 0:f.label})}return d}),c=new Map,u=new Map;return l.forEach(function(d){c.set(d.value,d),u.set(d.value,t.get(d.value)||s.get(d.value))}),n.current.values=c,n.current.options=u,l},[e,t]),i=p.useCallback(function(o){return t.get(o)||n.current.options.get(o)},[t]);return[r,i]};function QL(e,t){return cCe(e).join("").toUpperCase().includes(t)}const znt=function(e,t,n,r,i){return p.useMemo(function(){if(!n||r===!1)return e;var o=t.options,a=t.label,s=t.value,l=[],c=typeof r=="function",u=n.toUpperCase(),d=c?r:function(h,m){return i?QL(m[i],u):m[o]?QL(m[a!=="children"?a:"label"],u):QL(m[s],u)},f=c?function(h){return zH(h)}:function(h){return h};return e.forEach(function(h){if(h[o]){var m=d(n,f(h));if(m)l.push(h);else{var g=h[o].filter(function(v){return d(n,f(v))});g.length&&l.push(G(G({},h),{},ee({},o,g)))}return}d(n,f(h))&&l.push(h)}),l},[e,r,i,n,t])};var Kre=0,Vnt=Xs();function Gnt(){var e;return Vnt?(e=Kre,Kre+=1):e="TEST_OR_SSR",e}function Wq(e){var t=p.useState(),n=Ie(t,2),r=n[0],i=n[1];return p.useEffect(function(){i("rc_select_".concat(Gnt()))},[]),e||r}var Wnt=["children","value"],qnt=["children"];function Ynt(e){var t=e,n=t.key,r=t.props,i=r.children,o=r.value,a=Dt(r,Wnt);return G({key:n,value:o!==void 0?o:n,children:i},a)}function hCe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ko(e).map(function(n,r){if(!p.isValidElement(n)||!n.type)return null;var i=n,o=i.type.isSelectOptGroup,a=i.key,s=i.props,l=s.children,c=Dt(s,qnt);return t||!o?Ynt(n):G(G({key:"__RC_SELECT_GRP__".concat(a===null?r:a,"__"),label:a},c),{},{options:hCe(l)})}).filter(function(n){return n})}var Knt=function(t,n,r,i,o){return p.useMemo(function(){var a=t,s=!t;s&&(a=hCe(n));var l=new Map,c=new Map,u=function(h,m,g){g&&typeof g=="string"&&h.set(m[g],m)},d=function f(h){for(var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,g=0;g0?He(_t.options):_t.options}):_t})},Ve=p.useMemo(function(){return b?Be(ce):ce},[ce,b,he]),re=p.useMemo(function(){return vnt(Ve,{fieldNames:K,childrenAsData:te})},[Ve,K,te]),Me=function(Ze){var yt=ue(Ze);if(Se(yt),$&&(yt.length!==Re.length||yt.some(function(Nt,vt){var ht;return((ht=Re[vt])===null||ht===void 0?void 0:ht.value)!==(Nt==null?void 0:Nt.value)}))){var _t=V?yt:yt.map(function(Nt){return Nt.value}),Bt=yt.map(function(Nt){return zH(De(Nt.value))});$(Z?_t:_t[0],Z?Bt:Bt[0])}},je=p.useState(null),ke=Ie(je,2),Ge=ke[0],Ue=ke[1],qe=p.useState(0),At=Ie(qe,2),at=At[0],pt=At[1],Ct=T!==void 0?T:r!=="combobox",bt=p.useCallback(function(He,Ze){var yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_t=yt.source,Bt=_t===void 0?"keyboard":_t;pt(Ze),a&&r==="combobox"&&He!==null&&Bt==="keyboard"&&Ue(String(He))},[a,r]),Vt=function(Ze,yt,_t){var Bt=function(){var wt,St=De(Ze);return[V?{label:St==null?void 0:St[K.label],value:Ze,key:(wt=St==null?void 0:St.key)!==null&&wt!==void 0?wt:Ze}:Ze,zH(St)]};if(yt&&h){var Nt=Bt(),vt=Ie(Nt,2),ht=vt[0],kt=vt[1];h(ht,kt)}else if(!yt&&m&&_t!=="clear"){var Et=Bt(),Yt=Ie(Et,2),ct=Yt[0],Rt=Yt[1];m(ct,Rt)}},Tt=Qre(function(He,Ze){var yt,_t=Z?Ze.selected:!0;_t?yt=Z?[].concat(nt(Re),[He]):[He]:yt=Re.filter(function(Bt){return Bt.value!==He}),Me(yt),Vt(He,_t),r==="combobox"?Ue(""):(!VH||f)&&(pe(""),Ue(""))}),Ot=function(Ze,yt){Me(Ze);var _t=yt.type,Bt=yt.values;(_t==="remove"||_t==="clear")&&Bt.forEach(function(Nt){Vt(Nt.value,!1,_t)})},Ut=function(Ze,yt){if(pe(Ze),Ue(null),yt.source==="submit"){var _t=(Ze||"").trim();if(_t){var Bt=Array.from(new Set([].concat(nt(D),[_t])));Me(Bt),Vt(_t,!0),pe("")}return}yt.source!=="blur"&&(r==="combobox"&&Me(Ze),u==null||u(Ze))},ze=function(Ze){var yt=Ze;r!=="tags"&&(yt=Ze.map(function(Bt){var Nt=ve.get(Bt);return Nt==null?void 0:Nt.value}).filter(function(Bt){return Bt!==void 0}));var _t=Array.from(new Set([].concat(nt(D),nt(yt))));Me(_t),_t.forEach(function(Bt){Vt(Bt,!0)})},Ye=p.useMemo(function(){var He=x!==!1&&v!==!1;return G(G({},le),{},{flattenOptions:re,onActiveValue:bt,defaultActiveFirstOption:Ct,onSelect:Tt,menuItemSelectedIcon:O,rawValues:D,fieldNames:K,virtual:He,direction:A,listHeight:M,listItemHeight:P,childrenAsData:te,maxCount:W,optionRender:S})},[W,le,re,bt,Ct,Tt,O,D,K,x,v,A,M,P,te,S]);return p.createElement(Uq.Provider,{value:Ye},p.createElement(zq,Ke({},j,{id:U,prefixCls:o,ref:t,omitDomProps:Xnt,mode:r,displayValues:z,onDisplayValuesChange:Ot,direction:A,searchValue:he,onSearch:Ut,autoClearSearchValue:f,onSearchSplit:ze,dropdownMatchSelectWidth:v,OptionList:Hnt,emptyOptions:!re.length,activeValue:Ge,activeDescendantId:"".concat(U,"_list_").concat(at)})))}),qq=Jnt;qq.Option=Gq;qq.OptGroup=Vq;function Id(e,t,n){return xe({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const xh=(e,t)=>t||e,ert=()=>{const[,e]=qo(),[t]=ds("Empty"),r=new rr(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return p.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},p.createElement("title",null,(t==null?void 0:t.description)||"Empty"),p.createElement("g",{fill:"none",fillRule:"evenodd"},p.createElement("g",{transform:"translate(24 31.67)"},p.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),p.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"}),p.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)"}),p.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"}),p.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"})),p.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"}),p.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},p.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),p.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},trt=()=>{const[,e]=qo(),[t]=ds("Empty"),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:i,colorBgContainer:o}=e,{borderColor:a,shadowColor:s,contentColor:l}=p.useMemo(()=>({borderColor:new rr(n).onBackground(o).toHexString(),shadowColor:new rr(r).onBackground(o).toHexString(),contentColor:new rr(i).onBackground(o).toHexString()}),[n,r,i,o]);return p.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},p.createElement("title",null,(t==null?void 0:t.description)||"Empty"),p.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},p.createElement("ellipse",{fill:s,cx:"32",cy:"33",rx:"32",ry:"7"}),p.createElement("g",{fillRule:"nonzero",stroke:a},p.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"}),p.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:l}))))},nrt=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:i,fontSize:o,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:o,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:i,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},rrt=lr("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,i=Kn(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[nrt(i)]});var irt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var t,n,r,i,o,a,s,l;const{className:c,rootClassName:u,prefixCls:d,image:f=mCe,description:h,children:m,imageStyle:g,style:v,classNames:y,styles:b}=e,_=irt(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:E,direction:C,empty:S}=p.useContext(Xt),w=E("empty",d),[T,O,x]=rrt(w),[A]=ds("Empty"),I=typeof h<"u"?h:A==null?void 0:A.description,M=typeof I=="string"?I:"empty";let B=null;return typeof f=="string"?B=p.createElement("img",{alt:M,src:f}):B=f,T(p.createElement("div",Object.assign({className:xe(O,x,w,S==null?void 0:S.className,{[`${w}-normal`]:f===gCe,[`${w}-rtl`]:C==="rtl"},c,u,(t=S==null?void 0:S.classNames)===null||t===void 0?void 0:t.root,y==null?void 0:y.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},(n=S==null?void 0:S.styles)===null||n===void 0?void 0:n.root),S==null?void 0:S.style),b==null?void 0:b.root),v)},_),p.createElement("div",{className:xe(`${w}-image`,(r=S==null?void 0:S.classNames)===null||r===void 0?void 0:r.image,y==null?void 0:y.image),style:Object.assign(Object.assign(Object.assign({},g),(i=S==null?void 0:S.styles)===null||i===void 0?void 0:i.image),b==null?void 0:b.image)},B),I&&p.createElement("div",{className:xe(`${w}-description`,(o=S==null?void 0:S.classNames)===null||o===void 0?void 0:o.description,y==null?void 0:y.description),style:Object.assign(Object.assign({},(a=S==null?void 0:S.styles)===null||a===void 0?void 0:a.description),b==null?void 0:b.description)},I),m&&p.createElement("div",{className:xe(`${w}-footer`,(s=S==null?void 0:S.classNames)===null||s===void 0?void 0:s.footer,y==null?void 0:y.footer),style:Object.assign(Object.assign({},(l=S==null?void 0:S.styles)===null||l===void 0?void 0:l.footer),b==null?void 0:b.footer)},m)))};Lp.PRESENTED_IMAGE_DEFAULT=mCe;Lp.PRESENTED_IMAGE_SIMPLE=gCe;const yS=e=>{const{componentName:t}=e,{getPrefixCls:n}=p.useContext(Xt),r=n("empty");switch(t){case"Table":case"List":return se.createElement(Lp,{image:Lp.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return se.createElement(Lp,{image:Lp.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return se.createElement(Lp,null)}},Oh=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var r,i;const{variant:o,[e]:a}=p.useContext(Xt),s=p.useContext(kEe),l=a==null?void 0:a.variant;let c;typeof t<"u"?c=t:n===!1?c="borderless":c=(i=(r=s??l)!==null&&r!==void 0?r:o)!==null&&i!==void 0?i:"outlined";const u=OYe.includes(c);return[c,u]},ort=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function Yq(e,t){return e||ort(t)}const Xre=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:i}=e;return{position:"relative",display:"block",minHeight:t,padding:i,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},art=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,i=`&${t}-slide-up-enter${t}-slide-up-enter-active`,o=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`,l=`${r}-option-selected`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},gr(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` +`].includes(ln)})},[P]),yt=p.useContext(Uq)||{},_t=yt.maxCount,Bt=yt.rawValues,Nt=function(_n,Cr,on){if(!(Te&&UH(_t)&&(Bt==null?void 0:Bt.size)>=_t)){var an=!0,Gn=_n;O==null||O(null);var yr=bnt(_n,P,UH(_t)?_t-Bt.size:void 0),oi=on?null:yr;return v!=="combobox"&&oi&&(Gn="",B==null||B(oi),He(!1),an=!1),M&&ke!==Gn&&M(Gn,{source:Cr?"typing":"effect"}),an}},vt=function(_n){!_n||!_n.trim()||M(_n,{source:"submit"})};p.useEffect(function(){!Ut&&!Te&&v!=="combobox"&&Nt("",!1,!1)},[Ut]),p.useEffect(function(){Tt&&y&&Ot(!1),y&&!ce.current&&Me(!1)},[y]);var ht=iCe(),kt=Ie(ht,2),Et=kt[0],Yt=kt[1],ct=p.useRef(!1),Rt=function(_n){var Cr=Et(),on=_n.key,an=on==="Enter";if(an&&(v!=="combobox"&&_n.preventDefault(),Ut||He(!0)),Yt(!!ke),on==="Backspace"&&!Cr&&Te&&!ke&&u.length){for(var Gn=nt(u),yr=null,oi=Gn.length-1;oi>=0;oi-=1){var Zi=Gn[oi];if(!Zi.disabled){Gn.splice(oi,1),yr=Zi;break}}yr&&d(Gn,{type:"remove",values:[yr]})}for(var tr=arguments.length,Fi=new Array(tr>1?tr-1:0),Jn=1;Jn1?Cr-1:0),an=1;an1?yr-1:0),Zi=1;Zi"u"?"undefined":Gt(navigator))==="object"&&/Firefox/i.test(navigator.userAgent);const pCe=function(e,t,n,r){var i=p.useRef(!1),o=p.useRef(null);function a(){clearTimeout(o.current),i.current=!0,o.current=setTimeout(function(){i.current=!1},50)}var s=p.useRef({top:e,bottom:t,left:n,right:r});return s.current.top=e,s.current.bottom=t,s.current.left=n,s.current.right=r,function(l,c){var u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,d=l?c<0&&s.current.left||c>0&&s.current.right:c<0&&s.current.top||c>0&&s.current.bottom;return u&&d?(clearTimeout(o.current),i.current=!1):(!d||i.current)&&a(),!i.current&&d}};function xnt(e,t,n,r,i,o,a){var s=p.useRef(0),l=p.useRef(null),c=p.useRef(null),u=p.useRef(!1),d=pCe(t,n,r,i);function f(b,_){if(nr.cancel(l.current),!d(!1,_)){var E=b;if(!E._virtualHandled)E._virtualHandled=!0;else return;s.current+=_,c.current=_,Ure||E.preventDefault(),l.current=nr(function(){var C=u.current?10:1;a(s.current*C,!1),s.current=0})}}function h(b,_){a(_,!0),Ure||b.preventDefault()}var m=p.useRef(null),g=p.useRef(null);function v(b){if(e){nr.cancel(g.current),g.current=nr(function(){m.current=null},2);var _=b.deltaX,E=b.deltaY,C=b.shiftKey,S=_,w=E;(m.current==="sx"||!m.current&&C&&E&&!_)&&(S=E,w=0,m.current="sx");var T=Math.abs(S),O=Math.abs(w);m.current===null&&(m.current=o&&T>O?"x":"y"),m.current==="y"?f(b,w):h(b,S)}}function y(b){e&&(u.current=b.detail===c.current)}return[v,y]}function Ont(e,t,n,r){var i=p.useMemo(function(){return[new Map,[]]},[e,n.id,r]),o=Ie(i,2),a=o[0],s=o[1],l=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u,f=a.get(u),h=a.get(d);if(f===void 0||h===void 0)for(var m=e.length,g=s.length;g0&&arguments[0]!==void 0?arguments[0]:!1;u();var m=function(){s.current.forEach(function(v,y){if(v&&v.offsetParent){var b=aw(v),_=b.offsetHeight,E=getComputedStyle(b),C=E.marginTop,S=E.marginBottom,w=zre(C),T=zre(S),O=_+w+T;l.current.get(y)!==O&&l.current.set(y,O)}}),a(function(v){return v+1})};h?m():c.current=nr(m)}function f(h,m){var g=e(h);s.current.get(g),m?(s.current.set(g,m),d()):s.current.delete(g)}return p.useEffect(function(){return u},[]),[f,d,l.current,o]}var Vre=14/15;function Ant(e,t,n){var r=p.useRef(!1),i=p.useRef(0),o=p.useRef(0),a=p.useRef(null),s=p.useRef(null),l,c=function(h){if(r.current){var m=Math.ceil(h.touches[0].pageX),g=Math.ceil(h.touches[0].pageY),v=i.current-m,y=o.current-g,b=Math.abs(v)>Math.abs(y);b?i.current=m:o.current=g;var _=n(b,b?v:y,!1,h);_&&h.preventDefault(),clearInterval(s.current),_&&(s.current=setInterval(function(){b?v*=Vre:y*=Vre;var E=Math.floor(b?v:y);(!n(b,E,!0)||Math.abs(E)<=.1)&&clearInterval(s.current)},16))}},u=function(){r.current=!1,l()},d=function(h){l(),h.touches.length===1&&!r.current&&(r.current=!0,i.current=Math.ceil(h.touches[0].pageX),o.current=Math.ceil(h.touches[0].pageY),a.current=h.target,a.current.addEventListener("touchmove",c,{passive:!1}),a.current.addEventListener("touchend",u,{passive:!0}))};l=function(){a.current&&(a.current.removeEventListener("touchmove",c),a.current.removeEventListener("touchend",u))},ar(function(){return e&&t.current.addEventListener("touchstart",d,{passive:!0}),function(){var f;(f=t.current)===null||f===void 0||f.removeEventListener("touchstart",d),l(),clearInterval(s.current)}},[e])}var Nnt=10;function Mnt(e,t,n,r,i,o,a,s){var l=p.useRef(),c=p.useState(null),u=Ie(c,2),d=u[0],f=u[1];return ar(function(){if(d&&d.times=0;B-=1){var P=i(t[B]),k=n.get(P);if(k===void 0){b=!0;break}if(M-=k,M<=0)break}switch(C){case"top":E=w-v;break;case"bottom":E=T-y+v;break;default:{var N=e.current.scrollTop,L=N+y;wL&&(_="bottom")}}E!==null&&a(E),E!==d.lastTop&&(b=!0)}b&&f(G(G({},d),{},{times:d.times+1,targetAlign:_,lastTop:E}))}},[d,e.current]),function(h){if(h==null){s();return}if(nr.cancel(l.current),typeof h=="number")a(h);else if(h&&Gt(h)==="object"){var m,g=h.align;"index"in h?m=h.index:m=t.findIndex(function(b){return i(b)===h.key});var v=h.offset,y=v===void 0?0:v;f({times:0,index:m,offset:y,originAlign:g})}}}function Gre(e,t){var n="touches"in e?e.touches[0]:e;return n[t?"pageX":"pageY"]}var Wre=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.rtl,i=e.scrollOffset,o=e.scrollRange,a=e.onStartMove,s=e.onStopMove,l=e.onScroll,c=e.horizontal,u=e.spinSize,d=e.containerSize,f=e.style,h=e.thumbStyle,m=p.useState(!1),g=Ie(m,2),v=g[0],y=g[1],b=p.useState(null),_=Ie(b,2),E=_[0],C=_[1],S=p.useState(null),w=Ie(S,2),T=w[0],O=w[1],x=!r,A=p.useRef(),I=p.useRef(),M=p.useState(!1),B=Ie(M,2),P=B[0],k=B[1],N=p.useRef(),L=function(){clearTimeout(N.current),k(!0),N.current=setTimeout(function(){k(!1)},3e3)},V=o-d||0,$=d-u||0,W=p.useMemo(function(){if(i===0||V===0)return 0;var he=i/V;return he*$},[i,V,$]),j=function(pe){pe.stopPropagation(),pe.preventDefault()},U=p.useRef({top:W,dragging:v,pageY:E,startTop:T});U.current={top:W,dragging:v,pageY:E,startTop:T};var Z=function(pe){y(!0),C(Gre(pe,c)),O(U.current.top),a(),pe.stopPropagation(),pe.preventDefault()};p.useEffect(function(){var he=function(ve){ve.preventDefault()},pe=A.current,le=I.current;return pe.addEventListener("touchstart",he,{passive:!1}),le.addEventListener("touchstart",Z,{passive:!1}),function(){pe.removeEventListener("touchstart",he),le.removeEventListener("touchstart",Z)}},[]);var te=p.useRef();te.current=V;var ae=p.useRef();ae.current=$,p.useEffect(function(){if(v){var he,pe=function(ve){var ne=U.current,ue=ne.dragging,ge=ne.pageY,Ce=ne.startTop;nr.cancel(he);var Te=A.current.getBoundingClientRect(),Se=d/(c?Te.width:Te.height);if(ue){var me=(Gre(ve,c)-ge)*Se,be=Ce;!x&&c?be-=me:be+=me;var _e=te.current,Re=ae.current,De=Re?be/Re:0,z=Math.ceil(De*_e);z=Math.max(z,0),z=Math.min(z,_e),he=nr(function(){l(z,c)})}},le=function(){y(!1),s()};return window.addEventListener("mousemove",pe,{passive:!0}),window.addEventListener("touchmove",pe,{passive:!0}),window.addEventListener("mouseup",le,{passive:!0}),window.addEventListener("touchend",le,{passive:!0}),function(){window.removeEventListener("mousemove",pe),window.removeEventListener("touchmove",pe),window.removeEventListener("mouseup",le),window.removeEventListener("touchend",le),nr.cancel(he)}}},[v]),p.useEffect(function(){return L(),function(){clearTimeout(N.current)}},[i]),p.useImperativeHandle(t,function(){return{delayHidden:L}});var K="".concat(n,"-scrollbar"),Q={position:"absolute",visibility:P?null:"hidden"},ie={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return c?(Q.height=8,Q.left=0,Q.right=0,Q.bottom=0,ie.height="100%",ie.width=u,x?ie.left=W:ie.right=W):(Q.width=8,Q.top=0,Q.bottom=0,x?Q.right=0:Q.left=0,ie.width="100%",ie.height=u,ie.top=W),p.createElement("div",{ref:A,className:xe(K,ee(ee(ee({},"".concat(K,"-horizontal"),c),"".concat(K,"-vertical"),!c),"".concat(K,"-visible"),P)),style:G(G({},Q),f),onMouseDown:j,onMouseMove:L},p.createElement("div",{ref:I,className:xe("".concat(K,"-thumb"),ee({},"".concat(K,"-thumb-moving"),v)),style:G(G({},ie),h),onMouseDown:Z}))}),knt=20;function qre(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e/t*e;return isNaN(n)&&(n=0),n=Math.max(n,knt),Math.floor(n)}var Pnt=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles"],Dnt=[],Lnt={overflowY:"auto",overflowAnchor:"none"};function $nt(e,t){var n=e.prefixCls,r=n===void 0?"rc-virtual-list":n,i=e.className,o=e.height,a=e.itemHeight,s=e.fullHeight,l=s===void 0?!0:s,c=e.style,u=e.data,d=e.children,f=e.itemKey,h=e.virtual,m=e.direction,g=e.scrollWidth,v=e.component,y=v===void 0?"div":v,b=e.onScroll,_=e.onVirtualScroll,E=e.onVisibleChange,C=e.innerProps,S=e.extraRender,w=e.styles,T=Dt(e,Pnt),O=p.useCallback(function(wt){return typeof f=="function"?f(wt):wt==null?void 0:wt[f]},[f]),x=Int(O),A=Ie(x,4),I=A[0],M=A[1],B=A[2],P=A[3],k=!!(h!==!1&&o&&a),N=p.useMemo(function(){return Object.values(B.maps).reduce(function(wt,St){return wt+St},0)},[B.id,B.maps]),L=k&&u&&(Math.max(a*u.length,N)>o||!!g),V=m==="rtl",$=xe(r,ee({},"".concat(r,"-rtl"),V),i),W=u||Dnt,j=p.useRef(),U=p.useRef(),Z=p.useRef(),te=p.useState(0),ae=Ie(te,2),K=ae[0],Q=ae[1],ie=p.useState(0),he=Ie(ie,2),pe=he[0],le=he[1],de=p.useState(!1),ve=Ie(de,2),ne=ve[0],ue=ve[1],ge=function(){ue(!0)},Ce=function(){ue(!1)},Te={getKey:O};function Se(wt){Q(function(St){var jt;typeof wt=="function"?jt=wt(St):jt=wt;var Pe=at(jt);return j.current.scrollTop=Pe,Pe})}var me=p.useRef({start:0,end:W.length}),be=p.useRef(),_e=Tnt(W,O),Re=Ie(_e,1),De=Re[0];be.current=De;var z=p.useMemo(function(){if(!k)return{scrollHeight:void 0,start:0,end:W.length-1,offset:void 0};if(!L){var wt;return{scrollHeight:((wt=U.current)===null||wt===void 0?void 0:wt.offsetHeight)||0,start:0,end:W.length-1,offset:void 0}}for(var St=0,jt,Pe,Pt,rt=W.length,Mt=0;Mt=K&&jt===void 0&&(jt=Mt,Pe=St),R>K+o&&Pt===void 0&&(Pt=Mt),St=R}return jt===void 0&&(jt=0,Pe=0,Pt=Math.ceil(o/a)),Pt===void 0&&(Pt=W.length-1),Pt=Math.min(Pt+1,W.length-1),{scrollHeight:St,start:jt,end:Pt,offset:Pe}},[L,k,K,W,P,o]),D=z.scrollHeight,q=z.start,oe=z.end,ye=z.offset;me.current.start=q,me.current.end=oe;var ce=p.useState({width:0,height:o}),Be=Ie(ce,2),Ve=Be[0],re=Be[1],Me=function(St){re({width:St.offsetWidth,height:St.offsetHeight})},je=p.useRef(),ke=p.useRef(),Ge=p.useMemo(function(){return qre(Ve.width,g)},[Ve.width,g]),Ue=p.useMemo(function(){return qre(Ve.height,D)},[Ve.height,D]),qe=D-o,At=p.useRef(qe);At.current=qe;function at(wt){var St=wt;return Number.isNaN(At.current)||(St=Math.min(St,At.current)),St=Math.max(St,0),St}var pt=K<=0,Ct=K>=qe,bt=pe<=0,Vt=pe>=g,Tt=pCe(pt,Ct,bt,Vt),Ot=function(){return{x:V?-pe:pe,y:K}},Ut=p.useRef(Ot()),ze=Yn(function(wt){if(_){var St=G(G({},Ot()),wt);(Ut.current.x!==St.x||Ut.current.y!==St.y)&&(_(St),Ut.current=St)}});function Ye(wt,St){var jt=wt;St?(Ml.flushSync(function(){le(jt)}),ze()):Se(jt)}function He(wt){var St=wt.currentTarget.scrollTop;St!==K&&Se(St),b==null||b(wt),ze()}var Ze=function(St){var jt=St,Pe=g?g-Ve.width:0;return jt=Math.max(jt,0),jt=Math.min(jt,Pe),jt},yt=Yn(function(wt,St){St?(Ml.flushSync(function(){le(function(jt){var Pe=jt+(V?-wt:wt);return Ze(Pe)})}),ze()):Se(function(jt){var Pe=jt+wt;return Pe})}),_t=xnt(k,pt,Ct,bt,Vt,!!g,yt),Bt=Ie(_t,2),Nt=Bt[0],vt=Bt[1];Ant(k,j,function(wt,St,jt,Pe){var Pt=Pe;return Tt(wt,St,jt)?!1:!Pt||!Pt._virtualHandled?(Pt&&(Pt._virtualHandled=!0),Nt({preventDefault:function(){},deltaX:wt?St:0,deltaY:wt?0:St}),!0):!1}),ar(function(){function wt(jt){var Pe=pt&&jt.detail<0,Pt=Ct&&jt.detail>0;k&&!Pe&&!Pt&&jt.preventDefault()}var St=j.current;return St.addEventListener("wheel",Nt,{passive:!1}),St.addEventListener("DOMMouseScroll",vt,{passive:!0}),St.addEventListener("MozMousePixelScroll",wt,{passive:!1}),function(){St.removeEventListener("wheel",Nt),St.removeEventListener("DOMMouseScroll",vt),St.removeEventListener("MozMousePixelScroll",wt)}},[k,pt,Ct]),ar(function(){if(g){var wt=Ze(pe);le(wt),ze({x:wt})}},[Ve.width,g]);var ht=function(){var St,jt;(St=je.current)===null||St===void 0||St.delayHidden(),(jt=ke.current)===null||jt===void 0||jt.delayHidden()},kt=Mnt(j,W,B,a,O,function(){return M(!0)},Se,ht);p.useImperativeHandle(t,function(){return{nativeElement:Z.current,getScrollInfo:Ot,scrollTo:function(St){function jt(Pe){return Pe&&Gt(Pe)==="object"&&("left"in Pe||"top"in Pe)}jt(St)?(St.left!==void 0&&le(Ze(St.left)),kt(St.top)):kt(St)}}}),ar(function(){if(E){var wt=W.slice(q,oe+1);E(wt,W)}},[q,oe,W]);var Et=Ont(W,O,B,a),Yt=S==null?void 0:S({start:q,end:oe,virtual:L,offsetX:pe,offsetY:ye,rtl:V,getSize:Et}),ct=Cnt(W,q,oe,g,pe,I,d,Te),Rt=null;o&&(Rt=G(ee({},l?"height":"maxHeight",o),Lnt),k&&(Rt.overflowY="hidden",g&&(Rt.overflowX="hidden"),ne&&(Rt.pointerEvents="none")));var Ht={};return V&&(Ht.dir="rtl"),p.createElement("div",Ke({ref:Z,style:G(G({},c),{},{position:"relative"}),className:$},Ht,T),p.createElement(xa,{onResize:Me},p.createElement(y,{className:"".concat(r,"-holder"),style:Rt,ref:j,onScroll:He,onMouseEnter:ht},p.createElement(fCe,{prefixCls:r,height:D,offsetX:pe,offsetY:ye,scrollWidth:g,onInnerResize:M,ref:U,innerProps:C,rtl:V,extra:Yt},ct))),L&&D>o&&p.createElement(Wre,{ref:je,prefixCls:r,scrollOffset:K,scrollRange:D,rtl:V,onScroll:Ye,onStartMove:ge,onStopMove:Ce,spinSize:Ue,containerSize:Ve.height,style:w==null?void 0:w.verticalScrollBar,thumbStyle:w==null?void 0:w.verticalScrollBarThumb}),L&&g>Ve.width&&p.createElement(Wre,{ref:ke,prefixCls:r,scrollOffset:pe,scrollRange:g,rtl:V,onScroll:Ye,onStartMove:ge,onStopMove:Ce,spinSize:Ge,containerSize:Ve.width,horizontal:!0,style:w==null?void 0:w.horizontalScrollBar,thumbStyle:w==null?void 0:w.horizontalScrollBarThumb}))}var Y5=p.forwardRef($nt);Y5.displayName="List";function Fnt(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var Bnt=["disabled","title","children","style","className"];function Yre(e){return typeof e=="string"||typeof e=="number"}var jnt=function(t,n){var r=Hq(),i=r.prefixCls,o=r.id,a=r.open,s=r.multiple,l=r.mode,c=r.searchValue,u=r.toggleOpen,d=r.notFoundContent,f=r.onPopupScroll,h=p.useContext(Uq),m=h.maxCount,g=h.flattenOptions,v=h.onActiveValue,y=h.defaultActiveFirstOption,b=h.onSelect,_=h.menuItemSelectedIcon,E=h.rawValues,C=h.fieldNames,S=h.virtual,w=h.direction,T=h.listHeight,O=h.listItemHeight,x=h.optionRender,A="".concat(i,"-item"),I=lh(function(){return g},[a,g],function(pe,le){return le[0]&&pe[1]!==le[1]}),M=p.useRef(null),B=p.useMemo(function(){return s&&UH(m)&&(E==null?void 0:E.size)>=m},[s,m,E==null?void 0:E.size]),P=function(le){le.preventDefault()},k=function(le){var de;(de=M.current)===null||de===void 0||de.scrollTo(typeof le=="number"?{index:le}:le)},N=p.useCallback(function(pe){return l==="combobox"?!1:E.has(pe)},[l,nt(E).toString(),E.size]),L=function(le){for(var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,ve=I.length,ne=0;ne1&&arguments[1]!==void 0?arguments[1]:!1;j(le);var ve={source:de?"keyboard":"mouse"},ne=I[le];if(!ne){v(null,-1,ve);return}v(ne.value,le,ve)};p.useEffect(function(){U(y!==!1?L(0):-1)},[I.length,c]);var Z=p.useCallback(function(pe){return l==="combobox"?String(pe).toLowerCase()===c.toLowerCase():E.has(pe)},[l,c,nt(E).toString(),E.size]);p.useEffect(function(){var pe=setTimeout(function(){if(!s&&a&&E.size===1){var de=Array.from(E)[0],ve=I.findIndex(function(ne){var ue=ne.data;return ue.value===de});ve!==-1&&(U(ve),k(ve))}});if(a){var le;(le=M.current)===null||le===void 0||le.scrollTo(void 0)}return function(){return clearTimeout(pe)}},[a,c]);var te=function(le){le!==void 0&&b(le,{selected:!E.has(le)}),s||u(!1)};if(p.useImperativeHandle(n,function(){return{onKeyDown:function(le){var de=le.which,ve=le.ctrlKey;switch(de){case dt.N:case dt.P:case dt.UP:case dt.DOWN:{var ne=0;if(de===dt.UP?ne=-1:de===dt.DOWN?ne=1:Fnt()&&ve&&(de===dt.N?ne=1:de===dt.P&&(ne=-1)),ne!==0){var ue=L(W+ne,ne);k(ue),U(ue,!0)}break}case dt.TAB:case dt.ENTER:{var ge,Ce=I[W];Ce&&!(Ce!=null&&(ge=Ce.data)!==null&&ge!==void 0&&ge.disabled)&&!B?te(Ce.value):te(void 0),a&&le.preventDefault();break}case dt.ESC:u(!1),a&&le.stopPropagation()}},onKeyUp:function(){},scrollTo:function(le){k(le)}}}),I.length===0)return p.createElement("div",{role:"listbox",id:"".concat(o,"_list"),className:"".concat(A,"-empty"),onMouseDown:P},d);var ae=Object.keys(C).map(function(pe){return C[pe]}),K=function(le){return le.label};function Q(pe,le){var de=pe.group;return{role:de?"presentation":"option",id:"".concat(o,"_list_").concat(le)}}var ie=function(le){var de=I[le];if(!de)return null;var ve=de.data||{},ne=ve.value,ue=de.group,ge=xi(ve,!0),Ce=K(de);return de?p.createElement("div",Ke({"aria-label":typeof Ce=="string"&&!ue?Ce:null},ge,{key:le},Q(de,le),{"aria-selected":Z(ne)}),ne):null},he={role:"listbox",id:"".concat(o,"_list")};return p.createElement(p.Fragment,null,S&&p.createElement("div",Ke({},he,{style:{height:0,width:0,overflow:"hidden"}}),ie(W-1),ie(W),ie(W+1)),p.createElement(Y5,{itemKey:"key",ref:M,data:I,height:T,itemHeight:O,fullHeight:!1,onMouseDown:P,onScroll:f,virtual:S,direction:w,innerProps:S?null:he},function(pe,le){var de=pe.group,ve=pe.groupOption,ne=pe.data,ue=pe.label,ge=pe.value,Ce=ne.key;if(de){var Te,Se=(Te=ne.title)!==null&&Te!==void 0?Te:Yre(ue)?ue.toString():void 0;return p.createElement("div",{className:xe(A,"".concat(A,"-group"),ne.className),title:Se},ue!==void 0?ue:Ce)}var me=ne.disabled,be=ne.title;ne.children;var _e=ne.style,Re=ne.className,De=Dt(ne,Bnt),z=ur(De,ae),D=N(ge),q=me||!D&&B,oe="".concat(A,"-option"),ye=xe(A,oe,Re,ee(ee(ee(ee({},"".concat(oe,"-grouped"),ve),"".concat(oe,"-active"),W===le&&!q),"".concat(oe,"-disabled"),q),"".concat(oe,"-selected"),D)),ce=K(pe),Be=!_||typeof _=="function"||D,Ve=typeof ce=="number"?ce:ce||ge,re=Yre(Ve)?Ve.toString():void 0;return be!==void 0&&(re=be),p.createElement("div",Ke({},xi(z),S?{}:Q(pe,le),{"aria-selected":Z(ge),className:ye,title:re,onMouseMove:function(){W===le||q||U(le)},onClick:function(){q||te(ge)},style:_e}),p.createElement("div",{className:"".concat(oe,"-content")},typeof x=="function"?x(pe,{index:le}):Ve),p.isValidElement(_)||D,Be&&p.createElement(q5,{className:"".concat(A,"-option-state"),customizeIcon:_,customizeIconProps:{value:ge,disabled:q,isSelected:D}},D?"✓":null))}))},Hnt=p.forwardRef(jnt);const Unt=function(e,t){var n=p.useRef({values:new Map,options:new Map}),r=p.useMemo(function(){var o=n.current,a=o.values,s=o.options,l=e.map(function(d){if(d.label===void 0){var f;return G(G({},d),{},{label:(f=a.get(d.value))===null||f===void 0?void 0:f.label})}return d}),c=new Map,u=new Map;return l.forEach(function(d){c.set(d.value,d),u.set(d.value,t.get(d.value)||s.get(d.value))}),n.current.values=c,n.current.options=u,l},[e,t]),i=p.useCallback(function(o){return t.get(o)||n.current.options.get(o)},[t]);return[r,i]};function QL(e,t){return cCe(e).join("").toUpperCase().includes(t)}const znt=function(e,t,n,r,i){return p.useMemo(function(){if(!n||r===!1)return e;var o=t.options,a=t.label,s=t.value,l=[],c=typeof r=="function",u=n.toUpperCase(),d=c?r:function(h,m){return i?QL(m[i],u):m[o]?QL(m[a!=="children"?a:"label"],u):QL(m[s],u)},f=c?function(h){return zH(h)}:function(h){return h};return e.forEach(function(h){if(h[o]){var m=d(n,f(h));if(m)l.push(h);else{var g=h[o].filter(function(v){return d(n,f(v))});g.length&&l.push(G(G({},h),{},ee({},o,g)))}return}d(n,f(h))&&l.push(h)}),l},[e,r,i,n,t])};var Kre=0,Vnt=Xs();function Gnt(){var e;return Vnt?(e=Kre,Kre+=1):e="TEST_OR_SSR",e}function Wq(e){var t=p.useState(),n=Ie(t,2),r=n[0],i=n[1];return p.useEffect(function(){i("rc_select_".concat(Gnt()))},[]),e||r}var Wnt=["children","value"],qnt=["children"];function Ynt(e){var t=e,n=t.key,r=t.props,i=r.children,o=r.value,a=Dt(r,Wnt);return G({key:n,value:o!==void 0?o:n,children:i},a)}function hCe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ko(e).map(function(n,r){if(!p.isValidElement(n)||!n.type)return null;var i=n,o=i.type.isSelectOptGroup,a=i.key,s=i.props,l=s.children,c=Dt(s,qnt);return t||!o?Ynt(n):G(G({key:"__RC_SELECT_GRP__".concat(a===null?r:a,"__"),label:a},c),{},{options:hCe(l)})}).filter(function(n){return n})}var Knt=function(t,n,r,i,o){return p.useMemo(function(){var a=t,s=!t;s&&(a=hCe(n));var l=new Map,c=new Map,u=function(h,m,g){g&&typeof g=="string"&&h.set(m[g],m)},d=function f(h){for(var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,g=0;g0?He(_t.options):_t.options}):_t})},Ve=p.useMemo(function(){return b?Be(ce):ce},[ce,b,he]),re=p.useMemo(function(){return vnt(Ve,{fieldNames:K,childrenAsData:te})},[Ve,K,te]),Me=function(Ze){var yt=ue(Ze);if(Se(yt),$&&(yt.length!==Re.length||yt.some(function(Nt,vt){var ht;return((ht=Re[vt])===null||ht===void 0?void 0:ht.value)!==(Nt==null?void 0:Nt.value)}))){var _t=V?yt:yt.map(function(Nt){return Nt.value}),Bt=yt.map(function(Nt){return zH(De(Nt.value))});$(Z?_t:_t[0],Z?Bt:Bt[0])}},je=p.useState(null),ke=Ie(je,2),Ge=ke[0],Ue=ke[1],qe=p.useState(0),At=Ie(qe,2),at=At[0],pt=At[1],Ct=T!==void 0?T:r!=="combobox",bt=p.useCallback(function(He,Ze){var yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_t=yt.source,Bt=_t===void 0?"keyboard":_t;pt(Ze),a&&r==="combobox"&&He!==null&&Bt==="keyboard"&&Ue(String(He))},[a,r]),Vt=function(Ze,yt,_t){var Bt=function(){var wt,St=De(Ze);return[V?{label:St==null?void 0:St[K.label],value:Ze,key:(wt=St==null?void 0:St.key)!==null&&wt!==void 0?wt:Ze}:Ze,zH(St)]};if(yt&&h){var Nt=Bt(),vt=Ie(Nt,2),ht=vt[0],kt=vt[1];h(ht,kt)}else if(!yt&&m&&_t!=="clear"){var Et=Bt(),Yt=Ie(Et,2),ct=Yt[0],Rt=Yt[1];m(ct,Rt)}},Tt=Qre(function(He,Ze){var yt,_t=Z?Ze.selected:!0;_t?yt=Z?[].concat(nt(Re),[He]):[He]:yt=Re.filter(function(Bt){return Bt.value!==He}),Me(yt),Vt(He,_t),r==="combobox"?Ue(""):(!VH||f)&&(pe(""),Ue(""))}),Ot=function(Ze,yt){Me(Ze);var _t=yt.type,Bt=yt.values;(_t==="remove"||_t==="clear")&&Bt.forEach(function(Nt){Vt(Nt.value,!1,_t)})},Ut=function(Ze,yt){if(pe(Ze),Ue(null),yt.source==="submit"){var _t=(Ze||"").trim();if(_t){var Bt=Array.from(new Set([].concat(nt(D),[_t])));Me(Bt),Vt(_t,!0),pe("")}return}yt.source!=="blur"&&(r==="combobox"&&Me(Ze),u==null||u(Ze))},ze=function(Ze){var yt=Ze;r!=="tags"&&(yt=Ze.map(function(Bt){var Nt=ve.get(Bt);return Nt==null?void 0:Nt.value}).filter(function(Bt){return Bt!==void 0}));var _t=Array.from(new Set([].concat(nt(D),nt(yt))));Me(_t),_t.forEach(function(Bt){Vt(Bt,!0)})},Ye=p.useMemo(function(){var He=x!==!1&&v!==!1;return G(G({},le),{},{flattenOptions:re,onActiveValue:bt,defaultActiveFirstOption:Ct,onSelect:Tt,menuItemSelectedIcon:O,rawValues:D,fieldNames:K,virtual:He,direction:A,listHeight:M,listItemHeight:P,childrenAsData:te,maxCount:W,optionRender:S})},[W,le,re,bt,Ct,Tt,O,D,K,x,v,A,M,P,te,S]);return p.createElement(Uq.Provider,{value:Ye},p.createElement(zq,Ke({},j,{id:U,prefixCls:o,ref:t,omitDomProps:Xnt,mode:r,displayValues:z,onDisplayValuesChange:Ot,direction:A,searchValue:he,onSearch:Ut,autoClearSearchValue:f,onSearchSplit:ze,dropdownMatchSelectWidth:v,OptionList:Hnt,emptyOptions:!re.length,activeValue:Ge,activeDescendantId:"".concat(U,"_list_").concat(at)})))}),qq=Jnt;qq.Option=Gq;qq.OptGroup=Vq;function Id(e,t,n){return xe({[`${e}-status-success`]:t==="success",[`${e}-status-warning`]:t==="warning",[`${e}-status-error`]:t==="error",[`${e}-status-validating`]:t==="validating",[`${e}-has-feedback`]:n})}const xh=(e,t)=>t||e,ert=()=>{const[,e]=qo(),[t]=ds("Empty"),r=new rr(e.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return p.createElement("svg",{style:r,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},p.createElement("title",null,(t==null?void 0:t.description)||"Empty"),p.createElement("g",{fill:"none",fillRule:"evenodd"},p.createElement("g",{transform:"translate(24 31.67)"},p.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),p.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"}),p.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)"}),p.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"}),p.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"})),p.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"}),p.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},p.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),p.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},trt=()=>{const[,e]=qo(),[t]=ds("Empty"),{colorFill:n,colorFillTertiary:r,colorFillQuaternary:i,colorBgContainer:o}=e,{borderColor:a,shadowColor:s,contentColor:l}=p.useMemo(()=>({borderColor:new rr(n).onBackground(o).toHexString(),shadowColor:new rr(r).onBackground(o).toHexString(),contentColor:new rr(i).onBackground(o).toHexString()}),[n,r,i,o]);return p.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},p.createElement("title",null,(t==null?void 0:t.description)||"Empty"),p.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},p.createElement("ellipse",{fill:s,cx:"32",cy:"33",rx:"32",ry:"7"}),p.createElement("g",{fillRule:"nonzero",stroke:a},p.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"}),p.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:l}))))},nrt=e=>{const{componentCls:t,margin:n,marginXS:r,marginXL:i,fontSize:o,lineHeight:a}=e;return{[t]:{marginInline:r,fontSize:o,lineHeight:a,textAlign:"center",[`${t}-image`]:{height:e.emptyImgHeight,marginBottom:r,opacity:e.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${t}-description`]:{color:e.colorTextDescription},[`${t}-footer`]:{marginTop:n},"&-normal":{marginBlock:i,color:e.colorTextDescription,[`${t}-description`]:{color:e.colorTextDescription},[`${t}-image`]:{height:e.emptyImgHeightMD}},"&-small":{marginBlock:r,color:e.colorTextDescription,[`${t}-image`]:{height:e.emptyImgHeightSM}}}}},rrt=lr("Empty",e=>{const{componentCls:t,controlHeightLG:n,calc:r}=e,i=Kn(e,{emptyImgCls:`${t}-img`,emptyImgHeight:r(n).mul(2.5).equal(),emptyImgHeightMD:n,emptyImgHeightSM:r(n).mul(.875).equal()});return[nrt(i)]});var irt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var t,n,r,i,o,a,s,l;const{className:c,rootClassName:u,prefixCls:d,image:f=mCe,description:h,children:m,imageStyle:g,style:v,classNames:y,styles:b}=e,_=irt(e,["className","rootClassName","prefixCls","image","description","children","imageStyle","style","classNames","styles"]),{getPrefixCls:E,direction:C,empty:S}=p.useContext(Xt),w=E("empty",d),[T,O,x]=rrt(w),[A]=ds("Empty"),I=typeof h<"u"?h:A==null?void 0:A.description,M=typeof I=="string"?I:"empty";let B=null;return typeof f=="string"?B=p.createElement("img",{alt:M,src:f}):B=f,T(p.createElement("div",Object.assign({className:xe(O,x,w,S==null?void 0:S.className,{[`${w}-normal`]:f===gCe,[`${w}-rtl`]:C==="rtl"},c,u,(t=S==null?void 0:S.classNames)===null||t===void 0?void 0:t.root,y==null?void 0:y.root),style:Object.assign(Object.assign(Object.assign(Object.assign({},(n=S==null?void 0:S.styles)===null||n===void 0?void 0:n.root),S==null?void 0:S.style),b==null?void 0:b.root),v)},_),p.createElement("div",{className:xe(`${w}-image`,(r=S==null?void 0:S.classNames)===null||r===void 0?void 0:r.image,y==null?void 0:y.image),style:Object.assign(Object.assign(Object.assign({},g),(i=S==null?void 0:S.styles)===null||i===void 0?void 0:i.image),b==null?void 0:b.image)},B),I&&p.createElement("div",{className:xe(`${w}-description`,(o=S==null?void 0:S.classNames)===null||o===void 0?void 0:o.description,y==null?void 0:y.description),style:Object.assign(Object.assign({},(a=S==null?void 0:S.styles)===null||a===void 0?void 0:a.description),b==null?void 0:b.description)},I),m&&p.createElement("div",{className:xe(`${w}-footer`,(s=S==null?void 0:S.classNames)===null||s===void 0?void 0:s.footer,y==null?void 0:y.footer),style:Object.assign(Object.assign({},(l=S==null?void 0:S.styles)===null||l===void 0?void 0:l.footer),b==null?void 0:b.footer)},m)))};Lp.PRESENTED_IMAGE_DEFAULT=mCe;Lp.PRESENTED_IMAGE_SIMPLE=gCe;const yS=e=>{const{componentName:t}=e,{getPrefixCls:n}=p.useContext(Xt),r=n("empty");switch(t){case"Table":case"List":return se.createElement(Lp,{image:Lp.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return se.createElement(Lp,{image:Lp.PRESENTED_IMAGE_SIMPLE,className:`${r}-small`});case"Table.filter":return null;default:return se.createElement(Lp,null)}},Oh=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;var r,i;const{variant:o,[e]:a}=p.useContext(Xt),s=p.useContext(kEe),l=a==null?void 0:a.variant;let c;typeof t<"u"?c=t:n===!1?c="borderless":c=(i=(r=s??l)!==null&&r!==void 0?r:o)!==null&&i!==void 0?i:"outlined";const u=OYe.includes(c);return[c,u]},ort=e=>{const n={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:e==="scroll"?"scroll":"visible",dynamicInset:!0};return{bottomLeft:Object.assign(Object.assign({},n),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},n),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},n),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},n),{points:["br","tr"],offset:[0,-4]})}};function Yq(e,t){return e||ort(t)}const Xre=e=>{const{optionHeight:t,optionFontSize:n,optionLineHeight:r,optionPadding:i}=e;return{position:"relative",display:"block",minHeight:t,padding:i,color:e.colorText,fontWeight:"normal",fontSize:n,lineHeight:r,boxSizing:"border-box"}},art=e=>{const{antCls:t,componentCls:n}=e,r=`${n}-item`,i=`&${t}-slide-up-enter${t}-slide-up-enter-active`,o=`&${t}-slide-up-appear${t}-slide-up-appear-active`,a=`&${t}-slide-up-leave${t}-slide-up-leave-active`,s=`${n}-dropdown-placement-`,l=`${r}-option-selected`;return[{[`${n}-dropdown`]:Object.assign(Object.assign({},gr(e)),{position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[` ${i}${s}bottomLeft, ${o}${s}bottomLeft - `]:{animationName:kP},[` + `]:{animationName:k5},[` ${i}${s}topLeft, ${o}${s}topLeft, ${i}${s}topRight, ${o}${s}topRight - `]:{animationName:DP},[`${a}${s}bottomLeft`]:{animationName:PP},[` + `]:{animationName:D5},[`${a}${s}bottomLeft`]:{animationName:P5},[` ${a}${s}topLeft, ${a}${s}topRight - `]:{animationName:LP},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},Xre(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},kl),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Xre(e)),{color:e.colorTextDisabled})}),[`${l}:has(+ ${l})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${l}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},$f(e,"slide-up"),$f(e,"slide-down"),f_(e,"move-up"),f_(e,"move-down")]},vCe=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:i}=e,o=e.max(e.calc(n).sub(r).equal(),0),a=e.max(e.calc(o).sub(i).equal(),0);return{basePadding:o,containerPadding:a,itemHeight:Ae(t),itemLineHeight:Ae(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},srt=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},bCe=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:i,paddingXS:o,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:s,colorIcon:l,colorIconHover:c,INTERNAL_FIXED_ITEM_MARGIN:u}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:u,borderRadius:r,cursor:"default",transition:`font-size ${i}, line-height ${i}, height ${i}`,marginInlineEnd:e.calc(u).mul(2).equal(),paddingInlineStart:o,paddingInlineEnd:e.calc(o).div(2).equal(),[`${t}-disabled&`]:{color:a,borderColor:s,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(o).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},_0()),{display:"inline-flex",alignItems:"center",color:l,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:c}})}}}},lrt=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,i=`${n}-selection-overflow`,o=e.multipleSelectItemHeight,a=srt(e),s=t?`${n}-${t}`:"",l=vCe(e);return{[`${n}-multiple${s}`]:Object.assign(Object.assign({},bCe(e)),{[`${n}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:l.basePadding,paddingBlock:l.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Ae(r)} 0`,lineHeight:Ae(o),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:l.itemHeight,lineHeight:Ae(l.itemLineHeight)},[`${n}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:Ae(o),marginBlock:r}},[`${n}-prefix`]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(l.basePadding).equal()},[`${i}-item + ${i}-item, + `]:{animationName:L5},"&-hidden":{display:"none"},[r]:Object.assign(Object.assign({},Xre(e)),{cursor:"pointer",transition:`background ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},kl),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${r}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected:not(${r}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${r}-option-state`]:{color:e.colorPrimary}},"&-disabled":{[`&${r}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":Object.assign(Object.assign({},Xre(e)),{color:e.colorTextDisabled})}),[`${l}:has(+ ${l})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${l}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}})},$f(e,"slide-up"),$f(e,"slide-down"),f_(e,"move-up"),f_(e,"move-down")]},vCe=e=>{const{multipleSelectItemHeight:t,paddingXXS:n,lineWidth:r,INTERNAL_FIXED_ITEM_MARGIN:i}=e,o=e.max(e.calc(n).sub(r).equal(),0),a=e.max(e.calc(o).sub(i).equal(),0);return{basePadding:o,containerPadding:a,itemHeight:Ae(t),itemLineHeight:Ae(e.calc(t).sub(e.calc(e.lineWidth).mul(2)).equal())}},srt=e=>{const{multipleSelectItemHeight:t,selectHeight:n,lineWidth:r}=e;return e.calc(n).sub(t).div(2).sub(r).equal()},bCe=e=>{const{componentCls:t,iconCls:n,borderRadiusSM:r,motionDurationSlow:i,paddingXS:o,multipleItemColorDisabled:a,multipleItemBorderColorDisabled:s,colorIcon:l,colorIconHover:c,INTERNAL_FIXED_ITEM_MARGIN:u}=e;return{[`${t}-selection-overflow`]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"},[`${t}-selection-item`]:{display:"flex",alignSelf:"center",flex:"none",boxSizing:"border-box",maxWidth:"100%",marginBlock:u,borderRadius:r,cursor:"default",transition:`font-size ${i}, line-height ${i}, height ${i}`,marginInlineEnd:e.calc(u).mul(2).equal(),paddingInlineStart:o,paddingInlineEnd:e.calc(o).div(2).equal(),[`${t}-disabled&`]:{color:a,borderColor:s,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:e.calc(o).div(2).equal(),overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},_0()),{display:"inline-flex",alignItems:"center",color:l,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${n}`]:{verticalAlign:"-0.2em"},"&:hover":{color:c}})}}}},lrt=(e,t)=>{const{componentCls:n,INTERNAL_FIXED_ITEM_MARGIN:r}=e,i=`${n}-selection-overflow`,o=e.multipleSelectItemHeight,a=srt(e),s=t?`${n}-${t}`:"",l=vCe(e);return{[`${n}-multiple${s}`]:Object.assign(Object.assign({},bCe(e)),{[`${n}-selector`]:{display:"flex",alignItems:"center",width:"100%",height:"100%",paddingInline:l.basePadding,paddingBlock:l.containerPadding,borderRadius:e.borderRadius,[`${n}-disabled&`]:{background:e.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${Ae(r)} 0`,lineHeight:Ae(o),visibility:"hidden",content:'"\\a0"'}},[`${n}-selection-item`]:{height:l.itemHeight,lineHeight:Ae(l.itemLineHeight)},[`${n}-selection-wrap`]:{alignSelf:"flex-start","&:after":{lineHeight:Ae(o),marginBlock:r}},[`${n}-prefix`]:{marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(l.basePadding).equal()},[`${i}-item + ${i}-item, ${n}-prefix + ${n}-selection-wrap `]:{[`${n}-selection-search`]:{marginInlineStart:0},[`${n}-selection-placeholder`]:{insetInlineStart:0}},[`${i}-item-suffix`]:{minHeight:l.itemHeight,marginBlock:r},[`${n}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(a).equal(),"\n &-input,\n &-mirror\n ":{height:o,fontFamily:e.fontFamily,lineHeight:Ae(o),transition:`all ${e.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${n}-selection-placeholder`]:{position:"absolute",top:"50%",insetInlineStart:e.calc(e.inputPaddingHorizontalBase).sub(l.basePadding).equal(),insetInlineEnd:e.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${e.motionDurationSlow}`}})}};function XL(e,t){const{componentCls:n}=e,r=t?`${n}-${t}`:"",i={[`${n}-multiple${r}`]:{fontSize:e.fontSize,[`${n}-selector`]:{[`${n}-show-search&`]:{cursor:"text"}},[` &${n}-show-arrow ${n}-selector, @@ -290,7 +290,7 @@ html body { `]:{paddingInlineEnd:e.showArrowPaddingInlineEnd},[`&${n}-open ${n}-selection-item`]:{color:e.colorTextPlaceholder},[`&:not(${n}-customize-input)`]:{[`${n}-selector`]:{width:"100%",height:"100%",alignItems:"center",padding:`0 ${Ae(r)}`,[`${n}-selection-search-input`]:{height:o},"&:after":{lineHeight:Ae(o)}}},[`&${n}-customize-input`]:{[`${n}-selector`]:{"&:after":{display:"none"},[`${n}-selection-search`]:{position:"static",width:"100%"},[`${n}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${Ae(r)}`,"&:after":{display:"none"}}}}}}}function urt(e){const{componentCls:t}=e,n=e.calc(e.controlPaddingHorizontalSM).sub(e.lineWidth).equal();return[ZL(e),ZL(Kn(e,{controlHeight:e.controlHeightSM,borderRadius:e.borderRadiusSM}),"sm"),{[`${t}-single${t}-sm`]:{[`&:not(${t}-customize-input)`]:{[`${t}-selector`]:{padding:`0 ${Ae(n)}`},[`&${t}-show-arrow ${t}-selection-search`]:{insetInlineEnd:e.calc(n).add(e.calc(e.fontSize).mul(1.5)).equal()},[` &${t}-show-arrow ${t}-selection-item, &${t}-show-arrow ${t}-selection-placeholder - `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},ZL(Kn(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const drt=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:i,controlHeightSM:o,controlHeightLG:a,paddingXXS:s,controlPaddingHorizontal:l,zIndexPopupBase:c,colorText:u,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:h,colorBgContainer:m,colorFillSecondary:g,colorBgContainerDisabled:v,colorTextDisabled:y,colorPrimaryHover:b,colorPrimary:_,controlOutline:E}=e,C=s*2,S=r*2,w=Math.min(i-C,i-S),T=Math.min(o-C,o-S),O=Math.min(a-C,a-S);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:c+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:h,optionPadding:`${(i-t*n)/2}px ${l}px`,optionFontSize:t,optionLineHeight:n,optionHeight:i,selectorBg:m,clearBg:m,singleItemHeightLG:a,multipleItemBg:g,multipleItemBorderColor:"transparent",multipleItemHeight:w,multipleItemHeightSM:T,multipleItemHeightLG:O,multipleSelectorBgDisabled:v,multipleItemColorDisabled:y,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:b,activeBorderColor:_,activeOutlineColor:E,selectAffixPadding:s}},yCe=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:i}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${Ae(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${Ae(i)} ${t.activeOutlineColor}`,outline:0},[`${n}-prefix`]:{color:t.color}}}},Zre=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},yCe(e,t))}),frt=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},yCe(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),Zre(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),Zre(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),_Ce=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${Ae(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},Jre=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},_Ce(e,t))}),prt=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},_Ce(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),Jre(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),Jre(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),hrt=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",border:`${Ae(e.lineWidth)} ${e.lineType} transparent`},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),mrt=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},frt(e)),prt(e)),hrt(e))}),grt=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},vrt=e=>{const{componentCls:t}=e;return{[`${t}-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"}}}},brt=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:i}=e;return{[n]:Object.assign(Object.assign({},gr(e)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},grt(e)),vrt(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},kl),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},kl),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},_0()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[i]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${n}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}}),[`${n}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}}}},yrt=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},brt(e),urt(e),crt(e),art(e),{[`${t}-rtl`]:{direction:"rtl"}},E0(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},Kq=lr("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Kn(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[yrt(r),mrt(r)]},drt,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var _rt={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"},Srt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:_rt}))},Qp=p.forwardRef(Srt),Ert={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"},Crt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Ert}))},p2=p.forwardRef(Crt),wrt={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"},Trt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:wrt}))},KP=p.forwardRef(Trt);function QP(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:i,loading:o,multiple:a,hasFeedback:s,prefixCls:l,showSuffixIcon:c,feedbackIcon:u,showArrow:d,componentName:f}=e;const h=n??p.createElement(qf,null),m=b=>t===null&&!s&&!d?null:p.createElement(p.Fragment,null,c!==!1&&b,s&&u);let g=null;if(t!==void 0)g=m(t);else if(o)g=m(p.createElement(xd,{spin:!0}));else{const b=`${l}-suffix`;g=_=>{let{open:E,showSearch:C}=_;return m(E&&C?p.createElement(KP,{className:b}):p.createElement(p2,{className:b}))}}let v=null;r!==void 0?v=r:a?v=p.createElement(Qp,null):v=null;let y=null;return i!==void 0?y=i:y=p.createElement(Yf,null),{clearIcon:h,suffixIcon:g,itemIcon:v,removeIcon:y}}function Qq(e,t){return t!==void 0?t:e!==null}var xrt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,bordered:i,className:o,rootClassName:a,getPopupContainer:s,popupClassName:l,dropdownClassName:c,listHeight:u=256,placement:d,listItemHeight:f,size:h,disabled:m,notFoundContent:g,status:v,builtinPlacements:y,dropdownMatchSelectWidth:b,popupMatchSelectWidth:_,direction:E,style:C,allowClear:S,variant:w,dropdownStyle:T,transitionName:O,tagRender:x,maxCount:A,prefix:I}=e,M=xrt(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:B,getPrefixCls:P,renderEmpty:k,direction:N,virtual:L,popupMatchSelectWidth:V,popupOverflow:$,select:W}=p.useContext(Xt),[,j]=qo(),U=f??(j==null?void 0:j.controlHeight),Z=P("select",r),te=P(),ae=E??N,{compactSize:K,compactItemClassnames:Q}=Fd(Z,ae),[ie,he]=Oh("select",w,i),pe=ui(Z),[le,de,ve]=Kq(Z,pe),ne=p.useMemo(()=>{const{mode:Ge}=e;if(Ge!=="combobox")return Ge===SCe?"combobox":Ge},[e.mode]),ue=ne==="multiple"||ne==="tags",ge=Qq(e.suffixIcon,e.showArrow),Ce=(n=_??b)!==null&&n!==void 0?n:V,{status:Te,hasFeedback:Se,isFormItemInput:me,feedbackIcon:be}=p.useContext(oa),_e=xh(Te,v);let Re;g!==void 0?Re=g:ne==="combobox"?Re=null:Re=(k==null?void 0:k("Select"))||p.createElement(yS,{componentName:"Select"});const{suffixIcon:De,itemIcon:z,removeIcon:D,clearIcon:q}=QP(Object.assign(Object.assign({},M),{multiple:ue,hasFeedback:Se,feedbackIcon:be,showSuffixIcon:ge,prefixCls:Z,componentName:"Select"})),oe=S===!0?{clearIcon:q}:S,ye=ur(M,["suffixIcon","itemIcon"]),ce=xe(l||c,{[`${Z}-dropdown-${ae}`]:ae==="rtl"},a,ve,pe,de),Be=Co(Ge=>{var Ue;return(Ue=h??K)!==null&&Ue!==void 0?Ue:Ge}),Ve=p.useContext(Wo),re=m??Ve,Me=xe({[`${Z}-lg`]:Be==="large",[`${Z}-sm`]:Be==="small",[`${Z}-rtl`]:ae==="rtl",[`${Z}-${ie}`]:he,[`${Z}-in-form-item`]:me},Id(Z,_e,Se),Q,W==null?void 0:W.className,o,a,ve,pe,de),je=p.useMemo(()=>d!==void 0?d:ae==="rtl"?"bottomRight":"bottomLeft",[d,ae]),[ke]=Ru("SelectLike",T==null?void 0:T.zIndex);return le(p.createElement(qq,Object.assign({ref:t,virtual:L,showSearch:W==null?void 0:W.showSearch},ye,{style:Object.assign(Object.assign({},W==null?void 0:W.style),C),dropdownMatchSelectWidth:Ce,transitionName:Va(te,"slide-up",O),builtinPlacements:Yq(y,$),listHeight:u,listItemHeight:U,mode:ne,prefixCls:Z,placement:je,direction:ae,prefix:I,suffixIcon:De,menuItemSelectedIcon:z,removeIcon:D,allowClear:oe,notFoundContent:Re,className:Me,getPopupContainer:s||B,dropdownClassName:ce,disabled:re,dropdownStyle:Object.assign(Object.assign({},T),{zIndex:ke}),maxCount:ue?A:void 0,tagRender:ue?x:void 0})))},bu=p.forwardRef(Ort),Rrt=Ng(bu,"dropdownAlign");bu.SECRET_COMBOBOX_MODE_DO_NOT_USE=SCe;bu.Option=Gq;bu.OptGroup=Vq;bu._InternalPanelDoNotUseOrYouWillBeFired=Rrt;const vg=["xxl","xl","lg","md","sm","xs"],Irt=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),Art=e=>{const t=e,n=[].concat(vg).reverse();return n.forEach((r,i)=>{const o=r.toUpperCase(),a=`screen${o}Min`,s=`screen${o}`;if(!(t[a]<=t[s]))throw new Error(`${a}<=${s} fails : !(${t[a]}<=${t[s]})`);if(i{const n=new Map;let r=-1,i={};return{matchHandlers:{},dispatch(o){return i=o,n.forEach(a=>a(i)),n.size>=1},subscribe(o){return n.size||this.register(),r+=1,n.set(r,o),o(i),r},unsubscribe(o){n.delete(o),n.size||this.unregister()},unregister(){Object.keys(t).forEach(o=>{const a=t[o],s=this.matchHandlers[a];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),n.clear()},register(){Object.keys(t).forEach(o=>{const a=t[o],s=c=>{let{matches:u}=c;this.dispatch(Object.assign(Object.assign({},i),{[o]:u}))},l=window.matchMedia(a);l.addListener(s),this.matchHandlers[a]={mql:l,listener:s},s(l)})},responsiveMap:t}},[e])}function Xq(){const[,e]=p.useReducer(t=>t+1,0);return e}function XP(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=p.useRef({}),n=Xq(),r=ECe();return ar(()=>{const i=r.subscribe(o=>{t.current=o,e&&n()});return()=>r.unsubscribe(i)},[]),t.current}const GH=p.createContext({}),Nrt=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:i,avatarColor:o,containerSize:a,containerSizeLG:s,containerSizeSM:l,textFontSize:c,textFontSizeLG:u,textFontSizeSM:d,borderRadius:f,borderRadiusLG:h,borderRadiusSM:m,lineWidth:g,lineType:v}=e,y=(b,_,E)=>({width:b,height:b,borderRadius:"50%",[`&${n}-square`]:{borderRadius:E},[`&${n}-icon`]:{fontSize:_,[`> ${r}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:o,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:i,border:`${Ae(g)} ${v} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),y(a,c,f)),{"&-lg":Object.assign({},y(s,u,h)),"&-sm":Object.assign({},y(l,d,m)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},Mrt=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:i}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:i}}}},krt=e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:i,fontSizeLG:o,fontSizeXL:a,fontSizeHeading3:s,marginXS:l,marginXXS:c,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((o+a)/2),textFontSizeLG:s,textFontSizeSM:i,groupSpace:c,groupOverlapping:-l,groupBorderColor:u}},CCe=lr("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=Kn(e,{avatarBg:n,avatarColor:t});return[Nrt(r),Mrt(r)]},krt);var Prt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const[n,r]=p.useState(1),[i,o]=p.useState(!1),[a,s]=p.useState(!0),l=p.useRef(null),c=p.useRef(null),u=aa(t,l),{getPrefixCls:d,avatar:f}=p.useContext(Xt),h=p.useContext(GH),m=()=>{if(!c.current||!l.current)return;const Q=c.current.offsetWidth,ie=l.current.offsetWidth;if(Q!==0&&ie!==0){const{gap:he=4}=e;he*2{o(!0)},[]),p.useEffect(()=>{s(!0),r(1)},[e.src]),p.useEffect(m,[e.gap]);const g=()=>{const{onError:Q}=e;(Q==null?void 0:Q())!==!1&&s(!1)},{prefixCls:v,shape:y,size:b,src:_,srcSet:E,icon:C,className:S,rootClassName:w,alt:T,draggable:O,children:x,crossOrigin:A}=e,I=Prt(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),M=Co(Q=>{var ie,he;return(he=(ie=b??(h==null?void 0:h.size))!==null&&ie!==void 0?ie:Q)!==null&&he!==void 0?he:"default"}),B=Object.keys(typeof M=="object"?M||{}:{}).some(Q=>["xs","sm","md","lg","xl","xxl"].includes(Q)),P=XP(B),k=p.useMemo(()=>{if(typeof M!="object")return{};const Q=vg.find(he=>P[he]),ie=M[Q];return ie?{width:ie,height:ie,fontSize:ie&&(C||x)?ie/2:18}:{}},[P,M]),N=d("avatar",v),L=ui(N),[V,$,W]=CCe(N,L),j=xe({[`${N}-lg`]:M==="large",[`${N}-sm`]:M==="small"}),U=p.isValidElement(_),Z=y||(h==null?void 0:h.shape)||"circle",te=xe(N,j,f==null?void 0:f.className,`${N}-${Z}`,{[`${N}-image`]:U||_&&a,[`${N}-icon`]:!!C},W,L,S,w,$),ae=typeof M=="number"?{width:M,height:M,fontSize:C?M/2:18}:{};let K;if(typeof _=="string"&&a)K=p.createElement("img",{src:_,draggable:O,srcSet:E,onError:g,alt:T,crossOrigin:A});else if(U)K=_;else if(C)K=C;else if(i||n!==1){const Q=`scale(${n})`,ie={msTransform:Q,WebkitTransform:Q,transform:Q};K=p.createElement(xa,{onResize:m},p.createElement("span",{className:`${N}-string`,ref:c,style:Object.assign({},ie)},x))}else K=p.createElement("span",{className:`${N}-string`,style:{opacity:0},ref:c},x);return delete I.onError,delete I.gap,V(p.createElement("span",Object.assign({},I,{style:Object.assign(Object.assign(Object.assign(Object.assign({},ae),k),f==null?void 0:f.style),I.style),className:te,ref:u}),K))},wCe=p.forwardRef(Drt),h_=e=>e?typeof e=="function"?e():e:null;function Zq(e){var t=e.children,n=e.prefixCls,r=e.id,i=e.overlayInnerStyle,o=e.bodyClassName,a=e.className,s=e.style;return p.createElement("div",{className:xe("".concat(n,"-content"),a),style:s},p.createElement("div",{className:xe("".concat(n,"-inner"),o),id:r,role:"tooltip",style:i},typeof t=="function"?t():t))}var tb={shiftX:64,adjustY:1},nb={adjustX:1,shiftY:!0},Fc=[0,0],Lrt={left:{points:["cr","cl"],overflow:nb,offset:[-4,0],targetOffset:Fc},right:{points:["cl","cr"],overflow:nb,offset:[4,0],targetOffset:Fc},top:{points:["bc","tc"],overflow:tb,offset:[0,-4],targetOffset:Fc},bottom:{points:["tc","bc"],overflow:tb,offset:[0,4],targetOffset:Fc},topLeft:{points:["bl","tl"],overflow:tb,offset:[0,-4],targetOffset:Fc},leftTop:{points:["tr","tl"],overflow:nb,offset:[-4,0],targetOffset:Fc},topRight:{points:["br","tr"],overflow:tb,offset:[0,-4],targetOffset:Fc},rightTop:{points:["tl","tr"],overflow:nb,offset:[4,0],targetOffset:Fc},bottomRight:{points:["tr","br"],overflow:tb,offset:[0,4],targetOffset:Fc},rightBottom:{points:["bl","br"],overflow:nb,offset:[4,0],targetOffset:Fc},bottomLeft:{points:["tl","bl"],overflow:tb,offset:[0,4],targetOffset:Fc},leftBottom:{points:["br","bl"],overflow:nb,offset:[-4,0],targetOffset:Fc}},$rt=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],Frt=function(t,n){var r=t.overlayClassName,i=t.trigger,o=i===void 0?["hover"]:i,a=t.mouseEnterDelay,s=a===void 0?0:a,l=t.mouseLeaveDelay,c=l===void 0?.1:l,u=t.overlayStyle,d=t.prefixCls,f=d===void 0?"rc-tooltip":d,h=t.children,m=t.onVisibleChange,g=t.afterVisibleChange,v=t.transitionName,y=t.animation,b=t.motion,_=t.placement,E=_===void 0?"right":_,C=t.align,S=C===void 0?{}:C,w=t.destroyTooltipOnHide,T=w===void 0?!1:w,O=t.defaultVisible,x=t.getTooltipContainer,A=t.overlayInnerStyle;t.arrowContent;var I=t.overlay,M=t.id,B=t.showArrow,P=B===void 0?!0:B,k=t.classNames,N=t.styles,L=Dt(t,$rt),V=p.useRef(null);p.useImperativeHandle(n,function(){return V.current});var $=G({},L);"visible"in t&&($.popupVisible=t.visible);var W=function(){return p.createElement(Zq,{key:"content",prefixCls:f,id:M,bodyClassName:k==null?void 0:k.body,overlayInnerStyle:G(G({},A),N==null?void 0:N.body)},I)};return p.createElement(f2,Ke({popupClassName:xe(r,k==null?void 0:k.root),prefixCls:f,popup:W,action:o,builtinPlacements:Lrt,popupPlacement:E,ref:V,popupAlign:S,getPopupContainer:x,onPopupVisibleChange:m,afterPopupVisibleChange:g,popupTransitionName:v,popupAnimation:y,popupMotion:b,defaultPopupVisible:O,autoDestroy:T,mouseLeaveDelay:c,popupStyle:G(G({},u),N==null?void 0:N.root),mouseEnterDelay:s,arrow:P},$),h)};const Brt=p.forwardRef(Frt);function ZP(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,i=t/2,o=0,a=i,s=r*1/Math.sqrt(2),l=i-r*(1-1/Math.sqrt(2)),c=i-n*(1/Math.sqrt(2)),u=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),d=2*i-c,f=u,h=2*i-s,m=l,g=2*i-o,v=a,y=i*Math.sqrt(2)+r*(Math.sqrt(2)-2),b=r*(Math.sqrt(2)-1),_=`polygon(${b}px 100%, 50% ${b}px, ${2*i-b}px 100%, ${b}px 100%)`,E=`path('M ${o} ${a} A ${r} ${r} 0 0 0 ${s} ${l} L ${c} ${u} A ${n} ${n} 0 0 1 ${d} ${f} L ${h} ${m} A ${r} ${r} 0 0 0 ${g} ${v} Z')`;return{arrowShadowWidth:y,arrowPath:E,arrowPolygon:_}}const TCe=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:i,arrowPath:o,arrowShadowWidth:a,borderRadiusXS:s,calc:l}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:l(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,o]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${Ae(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},xCe=8;function JP(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?xCe:r}}function OR(e,t){return e?t:{}}function Jq(e,t,n){const{componentCls:r,boxShadowPopoverArrow:i,arrowOffsetVertical:o,arrowOffsetHorizontal:a}=e,{arrowDistance:s=0,arrowPlacement:l={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},TCe(e,t,i)),{"&:before":{background:t}})]},OR(!!l.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":a,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:a}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${Ae(a)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}}})),OR(!!l.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":a,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:a}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${Ae(a)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}}})),OR(!!l.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:o},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:o}})),OR(!!l.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:o},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:o}}))}}function jrt(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const i=r&&typeof r=="object"?r:{},o={};switch(e){case"top":case"bottom":o.shiftX=t.arrowOffsetHorizontal*2+n,o.shiftY=!0,o.adjustY=!0;break;case"left":case"right":o.shiftY=t.arrowOffsetVertical*2+n,o.shiftX=!0,o.adjustX=!0;break}const a=Object.assign(Object.assign({},o),i);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}const eie={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"]}},Hrt={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"]}},Urt=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function OCe(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:i,borderRadius:o,visibleFirst:a}=e,s=t/2,l={};return Object.keys(eie).forEach(c=>{const u=r&&Hrt[c]||eie[c],d=Object.assign(Object.assign({},u),{offset:[0,0],dynamicInset:!0});switch(l[c]=d,Urt.has(c)&&(d.autoArrow=!1),c){case"top":case"topLeft":case"topRight":d.offset[1]=-s-i;break;case"bottom":case"bottomLeft":case"bottomRight":d.offset[1]=s+i;break;case"left":case"leftTop":case"leftBottom":d.offset[0]=-s-i;break;case"right":case"rightTop":case"rightBottom":d.offset[0]=s+i;break}const f=JP({contentRadius:o,limitVerticalRadius:!0});if(r)switch(c){case"topLeft":case"bottomLeft":d.offset[0]=-f.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":d.offset[0]=f.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":d.offset[1]=-f.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":d.offset[1]=f.arrowOffsetHorizontal*2-s;break}d.overflow=jrt(c,f,t,n),a&&(d.htmlRegion="visibleFirst")}),l}const zrt=e=>{const{calc:t,componentCls:n,tooltipMaxWidth:r,tooltipColor:i,tooltipBg:o,tooltipBorderRadius:a,zIndexPopup:s,controlHeight:l,boxShadowSecondary:c,paddingSM:u,paddingXS:d,arrowOffsetHorizontal:f,sizePopupArrow:h}=e,m=t(a).add(h).add(f).equal(),g=t(a).mul(2).add(h).equal();return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{position:"absolute",zIndex:s,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${n}-inner`]:{minWidth:g,minHeight:l,padding:`${Ae(e.calc(u).div(2).equal())} ${Ae(d)}`,color:i,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:a,boxShadow:c,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:m},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${n}-inner`]:{borderRadius:e.min(a,xCe)}},[`${n}-content`]:{position:"relative"}}),xP(e,(v,y)=>{let{darkColor:b}=y;return{[`&${n}-${v}`]:{[`${n}-inner`]:{backgroundColor:b},[`${n}-arrow`]:{"--antd-arrow-background-color":b}}}})),{"&-rtl":{direction:"rtl"}})},Jq(e,"var(--antd-arrow-background-color)"),{[`${n}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Vrt=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},JP({contentRadius:e.borderRadius,limitVerticalRadius:!0})),ZP(Kn(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),RCe=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return lr("Tooltip",r=>{const{borderRadius:i,colorTextLightSolid:o,colorBgSpotlight:a}=r,s=Kn(r,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:i,tooltipBg:a});return[zrt(s),gS(r,"zoom-big-fast")]},Vrt,{resetStyle:!1,injectStyle:t})(e)},Grt=Hv.map(e=>`${e}-inverse`),Wrt=["success","processing","error","default","warning"];function eD(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(nt(Grt),nt(Hv)).includes(e):Hv.includes(e)}function qrt(e){return Wrt.includes(e)}function ICe(e,t){const n=eD(t),r=xe({[`${e}-${t}`]:t&&n}),i={},o={};return t&&!n&&(i.background=t,o["--antd-arrow-background-color"]=t),{className:r,overlayStyle:i,arrowStyle:o}}const Yrt=e=>{const{prefixCls:t,className:n,placement:r="top",title:i,color:o,overlayInnerStyle:a}=e,{getPrefixCls:s}=p.useContext(Xt),l=s("tooltip",t),[c,u,d]=RCe(l),f=ICe(l,o),h=f.arrowStyle,m=Object.assign(Object.assign({},a),f.overlayStyle),g=xe(u,d,l,`${l}-pure`,`${l}-placement-${r}`,n,f.className);return c(p.createElement("div",{className:g,style:h},p.createElement("div",{className:`${l}-arrow`}),p.createElement(Zq,Object.assign({},e,{className:u,prefixCls:l,overlayInnerStyle:m}),i)))};var Krt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r,i,o,a,s;const{prefixCls:l,openClassName:c,getTooltipContainer:u,color:d,overlayInnerStyle:f,children:h,afterOpenChange:m,afterVisibleChange:g,destroyTooltipOnHide:v,arrow:y=!0,title:b,overlay:_,builtinPlacements:E,arrowPointAtCenter:C=!1,autoAdjustOverflow:S=!0}=e,w=!!y,[,T]=qo(),{getPopupContainer:O,getPrefixCls:x,direction:A,tooltip:I}=p.useContext(Xt),M=Wf(),B=p.useRef(null),P=()=>{var ye;(ye=B.current)===null||ye===void 0||ye.forceAlign()};p.useImperativeHandle(t,()=>{var ye;return{forceAlign:P,forcePopupAlign:()=>{M.deprecated(!1,"forcePopupAlign","forceAlign"),P()},nativeElement:(ye=B.current)===null||ye===void 0?void 0:ye.nativeElement}});const[k,N]=Pn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),L=!b&&!_&&b!==0,V=ye=>{var ce,Be;N(L?!1:ye),L||((ce=e.onOpenChange)===null||ce===void 0||ce.call(e,ye),(Be=e.onVisibleChange)===null||Be===void 0||Be.call(e,ye))},$=p.useMemo(()=>{var ye,ce;let Be=C;return typeof y=="object"&&(Be=(ce=(ye=y.pointAtCenter)!==null&&ye!==void 0?ye:y.arrowPointAtCenter)!==null&&ce!==void 0?ce:C),E||OCe({arrowPointAtCenter:Be,autoAdjustOverflow:S,arrowWidth:w?T.sizePopupArrow:0,borderRadius:T.borderRadius,offset:T.marginXXS,visibleFirst:!0})},[C,y,E,T]),W=p.useMemo(()=>b===0?b:_||b||"",[_,b]),j=p.createElement(Rd,{space:!0},typeof W=="function"?W():W),{getPopupContainer:U,placement:Z="top",mouseEnterDelay:te=.1,mouseLeaveDelay:ae=.1,overlayStyle:K,rootClassName:Q,overlayClassName:ie,styles:he,classNames:pe}=e,le=Krt(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),de=x("tooltip",l),ve=x(),ne=e["data-popover-inject"];let ue=k;!("open"in e)&&!("visible"in e)&&L&&(ue=!1);const ge=p.isValidElement(h)&&!VSe(h)?h:p.createElement("span",null,h),Ce=ge.props,Te=!Ce.className||typeof Ce.className=="string"?xe(Ce.className,c||`${de}-open`):Ce.className,[Se,me,be]=RCe(de,!ne),_e=ICe(de,d),Re=_e.arrowStyle,De=xe(ie,{[`${de}-rtl`]:A==="rtl"},_e.className,Q,me,be,I==null?void 0:I.className,(i=I==null?void 0:I.classNames)===null||i===void 0?void 0:i.root,pe==null?void 0:pe.root),z=xe((o=I==null?void 0:I.classNames)===null||o===void 0?void 0:o.body,pe==null?void 0:pe.body),[D,q]=Ru("Tooltip",le.zIndex),oe=p.createElement(Brt,Object.assign({},le,{zIndex:D,showArrow:w,placement:Z,mouseEnterDelay:te,mouseLeaveDelay:ae,prefixCls:de,classNames:{root:De,body:z},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Re),(a=I==null?void 0:I.styles)===null||a===void 0?void 0:a.root),I==null?void 0:I.style),K),he==null?void 0:he.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},(s=I==null?void 0:I.styles)===null||s===void 0?void 0:s.body),f),he==null?void 0:he.body),_e.overlayStyle)},getTooltipContainer:U||u||O,ref:B,builtinPlacements:$,overlay:j,visible:ue,onVisibleChange:V,afterVisibleChange:m??g,arrowContent:p.createElement("span",{className:`${de}-arrow-content`}),motion:{motionName:Va(ve,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!v}),ue?Eo(ge,{className:Te}):ge);return Se(p.createElement(r2.Provider,{value:q},oe))}),Aa=Qrt;Aa._InternalPanelDoNotUseOrYouWillBeFired=Yrt;const Xrt=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:i,innerPadding:o,boxShadowSecondary:a,colorTextHeading:s,borderRadiusLG:l,zIndexPopup:c,titleMarginBottom:u,colorBgElevated:d,popoverBg:f,titleBorderBottom:h,innerContentPadding:m,titlePadding:g}=e;return[{[t]:Object.assign(Object.assign({},gr(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":d,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:l,boxShadow:a,padding:o},[`${t}-title`]:{minWidth:r,marginBottom:u,color:s,fontWeight:i,borderBottom:h,padding:g},[`${t}-inner-content`]:{color:n,padding:m}})},Jq(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},Zrt=e=>{const{componentCls:t}=e;return{[t]:Hv.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},Jrt=e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:i,wireframe:o,zIndexPopupBase:a,borderRadiusLG:s,marginXS:l,lineType:c,colorSplit:u,paddingSM:d}=e,f=n-r,h=f/2,m=f/2-t,g=i;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:a+30},ZP(e)),JP({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:o?0:12,titleMarginBottom:o?0:l,titlePadding:o?`${h}px ${g}px ${m}px`:0,titleBorderBottom:o?`${t}px ${c} ${u}`:"none",innerContentPadding:o?`${d}px ${g}px`:0})},ACe=lr("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,r=Kn(e,{popoverBg:t,popoverColor:n});return[Xrt(r),Zrt(r),gS(r,"zoom-big")]},Jrt,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var eit=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{title:t,content:n,prefixCls:r}=e;return!t&&!n?null:p.createElement(p.Fragment,null,t&&p.createElement("div",{className:`${r}-title`},t),n&&p.createElement("div",{className:`${r}-inner-content`},n))},tit=e=>{const{hashId:t,prefixCls:n,className:r,style:i,placement:o="top",title:a,content:s,children:l}=e,c=h_(a),u=h_(s),d=xe(t,n,`${n}-pure`,`${n}-placement-${o}`,r);return p.createElement("div",{className:d,style:i},p.createElement("div",{className:`${n}-arrow`}),p.createElement(Zq,Object.assign({},e,{className:t,prefixCls:n}),l||p.createElement(NCe,{prefixCls:n,title:c,content:u})))},MCe=e=>{const{prefixCls:t,className:n}=e,r=eit(e,["prefixCls","className"]),{getPrefixCls:i}=p.useContext(Xt),o=i("popover",t),[a,s,l]=ACe(o);return a(p.createElement(tit,Object.assign({},r,{prefixCls:o,hashId:s,className:xe(n,l)})))};var nit=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r,i,o,a,s;const{prefixCls:l,title:c,content:u,overlayClassName:d,placement:f="top",trigger:h="hover",children:m,mouseEnterDelay:g=.1,mouseLeaveDelay:v=.1,onOpenChange:y,overlayStyle:b={},styles:_,classNames:E}=e,C=nit(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{popover:S,getPrefixCls:w}=p.useContext(Xt),T=w("popover",l),[O,x,A]=ACe(T),I=w(),M=xe(d,x,A,(n=S==null?void 0:S.classNames)===null||n===void 0?void 0:n.root,E==null?void 0:E.root),B=xe((r=S==null?void 0:S.classNames)===null||r===void 0?void 0:r.body,E==null?void 0:E.body),[P,k]=Pn(!1,{value:(i=e.open)!==null&&i!==void 0?i:e.visible,defaultValue:(o=e.defaultOpen)!==null&&o!==void 0?o:e.defaultVisible}),N=(j,U)=>{k(j,!0),y==null||y(j,U)},L=j=>{j.keyCode===dt.ESC&&N(!1,j)},V=j=>{N(j)},$=h_(c),W=h_(u);return O(p.createElement(Aa,Object.assign({placement:f,trigger:h,mouseEnterDelay:g,mouseLeaveDelay:v},C,{prefixCls:T,classNames:{root:M,body:B},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},(a=S==null?void 0:S.styles)===null||a===void 0?void 0:a.root),S==null?void 0:S.style),b),_==null?void 0:_.root),body:Object.assign(Object.assign({},(s=S==null?void 0:S.styles)===null||s===void 0?void 0:s.body),_==null?void 0:_.body)},ref:t,open:P,onOpenChange:V,overlay:$||W?p.createElement(NCe,{prefixCls:T,title:$,content:W}):null,transitionName:Va(I,"zoom-big",C.transitionName),"data-popover-inject":!0}),Eo(m,{onKeyDown:j=>{var U,Z;p.isValidElement(m)&&((Z=m==null?void 0:(U=m.props).onKeyDown)===null||Z===void 0||Z.call(U,j)),L(j)}})))}),yu=rit;yu._InternalPanelDoNotUseOrYouWillBeFired=MCe;const tie=e=>{const{size:t,shape:n}=p.useContext(GH),r=p.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return p.createElement(GH.Provider,{value:r},e.children)},iit=e=>{var t,n,r,i;const{getPrefixCls:o,direction:a}=p.useContext(Xt),{prefixCls:s,className:l,rootClassName:c,style:u,maxCount:d,maxStyle:f,size:h,shape:m,maxPopoverPlacement:g,maxPopoverTrigger:v,children:y,max:b}=e,_=o("avatar",s),E=`${_}-group`,C=ui(_),[S,w,T]=CCe(_,C),O=xe(E,{[`${E}-rtl`]:a==="rtl"},T,C,l,c,w),x=ko(y).map((M,B)=>Eo(M,{key:`avatar-key-${B}`})),A=(b==null?void 0:b.count)||d,I=x.length;if(A&&A{const{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:i,textFontSize:o,textFontSizeSM:a,statusSize:s,dotSize:l,textFontWeight:c,indicatorHeight:u,indicatorHeightSM:d,marginXS:f,calc:h}=e,m=`${r}-scroll-number`,g=xP(e,(v,y)=>{let{darkColor:b}=y;return{[`&${t} ${t}-color-${v}`]:{background:b,[`&:not(${t}-count)`]:{color:b},"a:hover &":{background:b}}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:u,height:u,color:e.badgeTextColor,fontWeight:c,fontSize:o,lineHeight:Ae(u),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:h(u).div(2).equal(),boxShadow:`0 0 0 ${Ae(i)} ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:d,height:d,fontSize:a,lineHeight:Ae(d),borderRadius:h(d).div(2).equal()},[`${t}-multiple-words`]:{padding:`0 ${Ae(e.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:l,minWidth:l,height:l,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${Ae(i)} ${e.badgeShadowColor}`},[`${t}-count, ${t}-dot, ${m}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:uit,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:i,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:oit,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:f,color:e.colorText,fontSize:e.fontSize}}}),g),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:ait,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:sit,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:lit,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:cit,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${m}-custom-component, ${t}-count`]:{transform:"none"},[`${m}-custom-component, ${m}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[m]:{overflow:"hidden",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack}`,[`${m}-only`]:{position:"relative",display:"inline-block",height:u,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${m}-only-unit`]:{height:u,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${m}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${m}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},kCe=e=>{const{fontHeight:t,lineWidth:n,marginXS:r,colorBorderBg:i}=e,o=t,a=n,s=e.colorTextLightSolid,l=e.colorError,c=e.colorErrorHover;return Kn(e,{badgeFontHeight:o,badgeShadowSize:a,badgeTextColor:s,badgeColor:l,badgeColorHover:c,badgeShadowColor:i,badgeProcessingDuration:"1.2s",badgeRibbonOffset:r,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},PCe=e=>{const{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:i}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*n)-2*i,indicatorHeightSM:t,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}},fit=lr("Badge",e=>{const t=kCe(e);return dit(t)},PCe),pit=e=>{const{antCls:t,badgeFontHeight:n,marginXS:r,badgeRibbonOffset:i,calc:o}=e,a=`${t}-ribbon`,s=`${t}-ribbon-wrapper`,l=xP(e,(c,u)=>{let{darkColor:d}=u;return{[`&${a}-color-${c}`]:{background:d,color:d}}});return{[s]:{position:"relative"},[a]:Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{position:"absolute",top:r,padding:`0 ${Ae(e.paddingXS)}`,color:e.colorPrimary,lineHeight:Ae(n),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${a}-text`]:{color:e.badgeTextColor},[`${a}-corner`]:{position:"absolute",top:"100%",width:i,height:i,color:"currentcolor",border:`${Ae(o(i).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),l),{[`&${a}-placement-end`]:{insetInlineEnd:o(i).mul(-1).equal(),borderEndEndRadius:0,[`${a}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${a}-placement-start`]:{insetInlineStart:o(i).mul(-1).equal(),borderEndStartRadius:0,[`${a}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},hit=lr(["Badge","Ribbon"],e=>{const t=kCe(e);return pit(t)},PCe),mit=e=>{const{className:t,prefixCls:n,style:r,color:i,children:o,text:a,placement:s="end",rootClassName:l}=e,{getPrefixCls:c,direction:u}=p.useContext(Xt),d=c("ribbon",n),f=`${d}-wrapper`,[h,m,g]=hit(d,f),v=eD(i,!1),y=xe(d,`${d}-placement-${s}`,{[`${d}-rtl`]:u==="rtl",[`${d}-color-${i}`]:v},t),b={},_={};return i&&!v&&(b.background=i,_.color=i),h(p.createElement("div",{className:xe(f,l,m,g)},o,p.createElement("div",{className:xe(y,m),style:Object.assign(Object.assign({},b),r)},p.createElement("span",{className:`${d}-text`},a),p.createElement("div",{className:`${d}-corner`,style:_}))))},nie=e=>{const{prefixCls:t,value:n,current:r,offset:i=0}=e;let o;return i&&(o={position:"absolute",top:`${i}00%`,left:0}),p.createElement("span",{style:o,className:xe(`${t}-only-unit`,{current:r})},n)};function git(e,t,n){let r=e,i=0;for(;(r+10)%10!==t;)r+=n,i+=n;return i}const vit=e=>{const{prefixCls:t,count:n,value:r}=e,i=Number(r),o=Math.abs(n),[a,s]=p.useState(i),[l,c]=p.useState(o),u=()=>{s(i),c(o)};p.useEffect(()=>{const h=setTimeout(u,1e3);return()=>clearTimeout(h)},[i]);let d,f;if(a===i||Number.isNaN(i)||Number.isNaN(a))d=[p.createElement(nie,Object.assign({},e,{key:i,current:!0}))],f={transition:"none"};else{d=[];const h=i+10,m=[];for(let b=i;b<=h;b+=1)m.push(b);const g=lb%10===a);d=(g<0?m.slice(0,v+1):m.slice(v)).map((b,_)=>{const E=b%10;return p.createElement(nie,Object.assign({},e,{key:b,value:E,offset:g<0?_-v:_,current:_===v}))}),f={transform:`translateY(${-git(a,i,g)}00%)`}}return p.createElement("span",{className:`${t}-only`,style:f,onTransitionEnd:u},d)};var bit=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,count:r,className:i,motionClassName:o,style:a,title:s,show:l,component:c="sup",children:u}=e,d=bit(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:f}=p.useContext(Xt),h=f("scroll-number",n),m=Object.assign(Object.assign({},d),{"data-show":l,style:a,className:xe(h,i,o),title:s});let g=r;if(r&&Number(r)%1===0){const v=String(r).split("");g=p.createElement("bdi",null,v.map((y,b)=>p.createElement(vit,{prefixCls:h,count:Number(r),value:y,key:v.length-b})))}return a!=null&&a.borderColor&&(m.style=Object.assign(Object.assign({},a),{boxShadow:`0 0 0 1px ${a.borderColor} inset`})),u?Eo(u,v=>({className:xe(`${h}-custom-component`,v==null?void 0:v.className,o)})):p.createElement(c,Object.assign({},m,{ref:t}),g)});var _it=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r,i,o,a;const{prefixCls:s,scrollNumberPrefixCls:l,children:c,status:u,text:d,color:f,count:h=null,overflowCount:m=99,dot:g=!1,size:v="default",title:y,offset:b,style:_,className:E,rootClassName:C,classNames:S,styles:w,showZero:T=!1}=e,O=_it(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:x,direction:A,badge:I}=p.useContext(Xt),M=x("badge",s),[B,P,k]=fit(M),N=h>m?`${m}+`:h,L=N==="0"||N===0,V=h===null||L&&!T,$=(u!=null||f!=null)&&V,W=g&&!L,j=W?"":N,U=p.useMemo(()=>(j==null||j===""||L&&!T)&&!W,[j,L,T,W]),Z=p.useRef(h);U||(Z.current=h);const te=Z.current,ae=p.useRef(j);U||(ae.current=j);const K=ae.current,Q=p.useRef(W);U||(Q.current=W);const ie=p.useMemo(()=>{if(!b)return Object.assign(Object.assign({},I==null?void 0:I.style),_);const ge={marginTop:b[1]};return A==="rtl"?ge.left=parseInt(b[0],10):ge.right=-parseInt(b[0],10),Object.assign(Object.assign(Object.assign({},ge),I==null?void 0:I.style),_)},[A,b,_,I==null?void 0:I.style]),he=y??(typeof te=="string"||typeof te=="number"?te:void 0),pe=U||!d?null:p.createElement("span",{className:`${M}-status-text`},d),le=!te||typeof te!="object"?void 0:Eo(te,ge=>({style:Object.assign(Object.assign({},ie),ge.style)})),de=eD(f,!1),ve=xe(S==null?void 0:S.indicator,(n=I==null?void 0:I.classNames)===null||n===void 0?void 0:n.indicator,{[`${M}-status-dot`]:$,[`${M}-status-${u}`]:!!u,[`${M}-color-${f}`]:de}),ne={};f&&!de&&(ne.color=f,ne.background=f);const ue=xe(M,{[`${M}-status`]:$,[`${M}-not-a-wrapper`]:!c,[`${M}-rtl`]:A==="rtl"},E,C,I==null?void 0:I.className,(r=I==null?void 0:I.classNames)===null||r===void 0?void 0:r.root,S==null?void 0:S.root,P,k);if(!c&&$){const ge=ie.color;return B(p.createElement("span",Object.assign({},O,{className:ue,style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.root),(i=I==null?void 0:I.styles)===null||i===void 0?void 0:i.root),ie)}),p.createElement("span",{className:ve,style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.indicator),(o=I==null?void 0:I.styles)===null||o===void 0?void 0:o.indicator),ne)}),d&&p.createElement("span",{style:{color:ge},className:`${M}-status-text`},d)))}return B(p.createElement("span",Object.assign({ref:t},O,{className:ue,style:Object.assign(Object.assign({},(a=I==null?void 0:I.styles)===null||a===void 0?void 0:a.root),w==null?void 0:w.root)}),c,p.createElement(ia,{visible:!U,motionName:`${M}-zoom`,motionAppear:!1,motionDeadline:1e3},ge=>{let{className:Ce}=ge;var Te,Se;const me=x("scroll-number",l),be=Q.current,_e=xe(S==null?void 0:S.indicator,(Te=I==null?void 0:I.classNames)===null||Te===void 0?void 0:Te.indicator,{[`${M}-dot`]:be,[`${M}-count`]:!be,[`${M}-count-sm`]:v==="small",[`${M}-multiple-words`]:!be&&K&&K.toString().length>1,[`${M}-status-${u}`]:!!u,[`${M}-color-${f}`]:de});let Re=Object.assign(Object.assign(Object.assign({},w==null?void 0:w.indicator),(Se=I==null?void 0:I.styles)===null||Se===void 0?void 0:Se.indicator),ie);return f&&!de&&(Re=Re||{},Re.background=f),p.createElement(yit,{prefixCls:me,show:!U,motionClassName:Ce,className:_e,count:K,title:he,style:Re,key:"scrollNumber"},le)}),pe))}),gl=Sit;gl.Ribbon=mit;var Eit=dt.ESC,Cit=dt.TAB;function wit(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,i=e.autoFocus,o=e.overlayRef,a=p.useRef(!1),s=function(){if(t){var d,f;(d=n.current)===null||d===void 0||(f=d.focus)===null||f===void 0||f.call(d),r==null||r(!1)}},l=function(){var d;return(d=o.current)!==null&&d!==void 0&&d.focus?(o.current.focus(),a.current=!0,!0):!1},c=function(d){switch(d.keyCode){case Eit:s();break;case Cit:{var f=!1;a.current||(f=l()),f?d.preventDefault():s();break}}};p.useEffect(function(){return t?(window.addEventListener("keydown",c),i&&nr(l,3),function(){window.removeEventListener("keydown",c),a.current=!1}):function(){a.current=!1}},[t])}var Tit=p.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,i=e.prefixCls,o=p.useMemo(function(){var s;return typeof n=="function"?s=n():s=n,s},[n]),a=aa(t,Ig(o));return se.createElement(se.Fragment,null,r&&se.createElement("div",{className:"".concat(i,"-arrow")}),se.cloneElement(o,{ref:Cd(o)?a:void 0}))}),rb={adjustX:1,adjustY:1},ib=[0,0],xit={topLeft:{points:["bl","tl"],overflow:rb,offset:[0,-4],targetOffset:ib},top:{points:["bc","tc"],overflow:rb,offset:[0,-4],targetOffset:ib},topRight:{points:["br","tr"],overflow:rb,offset:[0,-4],targetOffset:ib},bottomLeft:{points:["tl","bl"],overflow:rb,offset:[0,4],targetOffset:ib},bottom:{points:["tc","bc"],overflow:rb,offset:[0,4],targetOffset:ib},bottomRight:{points:["tr","br"],overflow:rb,offset:[0,4],targetOffset:ib}},Oit=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Rit(e,t){var n,r=e.arrow,i=r===void 0?!1:r,o=e.prefixCls,a=o===void 0?"rc-dropdown":o,s=e.transitionName,l=e.animation,c=e.align,u=e.placement,d=u===void 0?"bottomLeft":u,f=e.placements,h=f===void 0?xit:f,m=e.getPopupContainer,g=e.showAction,v=e.hideAction,y=e.overlayClassName,b=e.overlayStyle,_=e.visible,E=e.trigger,C=E===void 0?["hover"]:E,S=e.autoFocus,w=e.overlay,T=e.children,O=e.onVisibleChange,x=Dt(e,Oit),A=se.useState(),I=Ie(A,2),M=I[0],B=I[1],P="visible"in e?_:M,k=se.useRef(null),N=se.useRef(null),L=se.useRef(null);se.useImperativeHandle(t,function(){return k.current});var V=function(Q){B(Q),O==null||O(Q)};wit({visible:P,triggerRef:L,onVisibleChange:V,autoFocus:S,overlayRef:N});var $=function(Q){var ie=e.onOverlayClick;B(!1),ie&&ie(Q)},W=function(){return se.createElement(Tit,{ref:N,overlay:w,prefixCls:a,arrow:i})},j=function(){return typeof w=="function"?W:W()},U=function(){var Q=e.minOverlayWidthMatchTrigger,ie=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?Q:!ie},Z=function(){var Q=e.openClassName;return Q!==void 0?Q:"".concat(a,"-open")},te=se.cloneElement(T,{className:xe((n=T.props)===null||n===void 0?void 0:n.className,P&&Z()),ref:Cd(T)?aa(L,Ig(T)):void 0}),ae=v;return!ae&&C.indexOf("contextMenu")!==-1&&(ae=["click"]),se.createElement(f2,Ke({builtinPlacements:h},x,{prefixCls:a,ref:k,popupClassName:xe(y,ee({},"".concat(a,"-show-arrow"),i)),popupStyle:b,action:C,showAction:g,hideAction:ae,popupPlacement:d,popupAlign:c,popupTransitionName:s,popupAnimation:l,popupVisible:P,stretch:U()?"minWidth":"",popup:j(),onPopupVisibleChange:V,onPopupClick:$,getPopupContainer:m}),te)}const DCe=se.forwardRef(Rit),Iit=e=>typeof e!="object"&&typeof e!="function"||e===null;var LCe=p.createContext(null);function $Ce(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function FCe(e){var t=p.useContext(LCe);return $Ce(t,e)}var Ait=["children","locked"],Ad=p.createContext(null);function Nit(e,t){var n=G({},e);return Object.keys(t).forEach(function(r){var i=t[r];i!==void 0&&(n[r]=i)}),n}function LT(e){var t=e.children,n=e.locked,r=Dt(e,Ait),i=p.useContext(Ad),o=lh(function(){return Nit(i,r)},[i,r],function(a,s){return!n&&(a[0]!==s[0]||!vu(a[1],s[1],!0))});return p.createElement(Ad.Provider,{value:o},t)}var Mit=[],BCe=p.createContext(null);function tD(){return p.useContext(BCe)}var jCe=p.createContext(Mit);function _S(e){var t=p.useContext(jCe);return p.useMemo(function(){return e!==void 0?[].concat(nt(t),[e]):t},[t,e])}var HCe=p.createContext(null),eY=p.createContext({});function rie(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(mS(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),o=Number(i),a=null;return i&&!Number.isNaN(o)?a=o:r&&a===null&&(a=0),r&&e.disabled&&(a=null),a!==null&&(a>=0||t&&a<0)}return!1}function kit(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=nt(e.querySelectorAll("*")).filter(function(r){return rie(r,t)});return rie(e,t)&&n.unshift(e),n}var WH=dt.LEFT,qH=dt.RIGHT,YH=dt.UP,BA=dt.DOWN,jA=dt.ENTER,UCe=dt.ESC,LE=dt.HOME,$E=dt.END,iie=[YH,BA,WH,qH];function Pit(e,t,n,r){var i,o="prev",a="next",s="children",l="parent";if(e==="inline"&&r===jA)return{inlineTrigger:!0};var c=ee(ee({},YH,o),BA,a),u=ee(ee(ee(ee({},WH,n?a:o),qH,n?o:a),BA,s),jA,s),d=ee(ee(ee(ee(ee(ee({},YH,o),BA,a),jA,s),UCe,l),WH,n?s:l),qH,n?l:s),f={inline:c,horizontal:u,vertical:d,inlineSub:c,horizontalSub:d,verticalSub:d},h=(i=f["".concat(e).concat(t?"":"Sub")])===null||i===void 0?void 0:i[r];switch(h){case o:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case l:return{offset:-1,sibling:!1};case s:return{offset:1,sibling:!1};default:return null}}function Dit(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function Lit(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function tY(e,t){var n=kit(e,!0);return n.filter(function(r){return t.has(r)})}function oie(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var i=tY(e,t),o=i.length,a=i.findIndex(function(s){return n===s});return r<0?a===-1?a=o-1:a-=1:r>0&&(a+=1),a=(a+o)%o,i[a]}var KH=function(t,n){var r=new Set,i=new Map,o=new Map;return t.forEach(function(a){var s=document.querySelector("[data-menu-id='".concat($Ce(n,a),"']"));s&&(r.add(s),o.set(s,a),i.set(a,s))}),{elements:r,key2element:i,element2key:o}};function $it(e,t,n,r,i,o,a,s,l,c){var u=p.useRef(),d=p.useRef();d.current=t;var f=function(){nr.cancel(u.current)};return p.useEffect(function(){return function(){f()}},[]),function(h){var m=h.which;if([].concat(iie,[jA,UCe,LE,$E]).includes(m)){var g=o(),v=KH(g,r),y=v,b=y.elements,_=y.key2element,E=y.element2key,C=_.get(t),S=Lit(C,b),w=E.get(S),T=Pit(e,a(w,!0).length===1,n,m);if(!T&&m!==LE&&m!==$E)return;(iie.includes(m)||[LE,$E].includes(m))&&h.preventDefault();var O=function(N){if(N){var L=N,V=N.querySelector("a");V!=null&&V.getAttribute("href")&&(L=V);var $=E.get(N);s($),f(),u.current=nr(function(){d.current===$&&L.focus()})}};if([LE,$E].includes(m)||T.sibling||!S){var x;!S||e==="inline"?x=i.current:x=Dit(S);var A,I=tY(x,b);m===LE?A=I[0]:m===$E?A=I[I.length-1]:A=oie(x,b,S,T.offset),O(A)}else if(T.inlineTrigger)l(w);else if(T.offset>0)l(w,!0),f(),u.current=nr(function(){v=KH(g,r);var k=S.getAttribute("aria-controls"),N=document.getElementById(k),L=oie(N,v.elements);O(L)},5);else if(T.offset<0){var M=a(w,!0),B=M[M.length-2],P=_.get(B);l(B,!1),O(P)}}c==null||c(h)}}function Fit(e){Promise.resolve().then(e)}var nY="__RC_UTIL_PATH_SPLIT__",aie=function(t){return t.join(nY)},Bit=function(t){return t.split(nY)},QH="rc-menu-more";function jit(){var e=p.useState({}),t=Ie(e,2),n=t[1],r=p.useRef(new Map),i=p.useRef(new Map),o=p.useState([]),a=Ie(o,2),s=a[0],l=a[1],c=p.useRef(0),u=p.useRef(!1),d=function(){u.current||n({})},f=p.useCallback(function(_,E){var C=aie(E);i.current.set(C,_),r.current.set(_,C),c.current+=1;var S=c.current;Fit(function(){S===c.current&&d()})},[]),h=p.useCallback(function(_,E){var C=aie(E);i.current.delete(C),r.current.delete(_)},[]),m=p.useCallback(function(_){l(_)},[]),g=p.useCallback(function(_,E){var C=r.current.get(_)||"",S=Bit(C);return E&&s.includes(S[0])&&S.unshift(QH),S},[s]),v=p.useCallback(function(_,E){return _.filter(function(C){return C!==void 0}).some(function(C){var S=g(C,!0);return S.includes(E)})},[g]),y=function(){var E=nt(r.current.keys());return s.length&&E.push(QH),E},b=p.useCallback(function(_){var E="".concat(r.current.get(_)).concat(nY),C=new Set;return nt(i.current.keys()).forEach(function(S){S.startsWith(E)&&C.add(i.current.get(S))}),C},[]);return p.useEffect(function(){return function(){u.current=!0}},[]),{registerPath:f,unregisterPath:h,refreshOverflowKeys:m,isSubPathKey:v,getKeyPath:g,getKeys:y,getSubPathKeys:b}}function AC(e){var t=p.useRef(e);t.current=e;var n=p.useCallback(function(){for(var r,i=arguments.length,o=new Array(i),a=0;a1&&(b.motionAppear=!1);var _=b.onVisibleChanged;return b.onVisibleChanged=function(E){return!f.current&&!E&&v(!0),_==null?void 0:_(E)},g?null:p.createElement(LT,{mode:o,locked:!f.current},p.createElement(ia,Ke({visible:y},b,{forceRender:l,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(E){var C=E.className,S=E.style;return p.createElement(rY,{id:t,className:C,style:S},i)}))}var rot=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],iot=["active"],oot=p.forwardRef(function(e,t){var n=e.style,r=e.className,i=e.title,o=e.eventKey;e.warnKey;var a=e.disabled,s=e.internalPopupClose,l=e.children,c=e.itemIcon,u=e.expandIcon,d=e.popupClassName,f=e.popupOffset,h=e.popupStyle,m=e.onClick,g=e.onMouseEnter,v=e.onMouseLeave,y=e.onTitleClick,b=e.onTitleMouseEnter,_=e.onTitleMouseLeave,E=Dt(e,rot),C=FCe(o),S=p.useContext(Ad),w=S.prefixCls,T=S.mode,O=S.openKeys,x=S.disabled,A=S.overflowDisabled,I=S.activeKey,M=S.selectedKeys,B=S.itemIcon,P=S.expandIcon,k=S.onItemClick,N=S.onOpenChange,L=S.onActive,V=p.useContext(eY),$=V._internalRenderSubMenuItem,W=p.useContext(HCe),j=W.isSubPathKey,U=_S(),Z="".concat(w,"-submenu"),te=x||a,ae=p.useRef(),K=p.useRef(),Q=c??B,ie=u??P,he=O.includes(o),pe=!A&&he,le=j(M,o),de=zCe(o,te,b,_),ve=de.active,ne=Dt(de,iot),ue=p.useState(!1),ge=Ie(ue,2),Ce=ge[0],Te=ge[1],Se=function(Me){te||Te(Me)},me=function(Me){Se(!0),g==null||g({key:o,domEvent:Me})},be=function(Me){Se(!1),v==null||v({key:o,domEvent:Me})},_e=p.useMemo(function(){return ve||(T!=="inline"?Ce||j([I],o):!1)},[T,ve,I,Ce,o,j]),Re=VCe(U.length),De=function(Me){te||(y==null||y({key:o,domEvent:Me}),T==="inline"&&N(o,!he))},z=AC(function(re){m==null||m(WM(re)),k(re)}),D=function(Me){T!=="inline"&&N(o,Me)},q=function(){L(o)},oe=C&&"".concat(C,"-popup"),ye=p.createElement("div",Ke({role:"menuitem",style:Re,className:"".concat(Z,"-title"),tabIndex:te?null:-1,ref:ae,title:typeof i=="string"?i:null,"data-menu-id":A&&C?null:C,"aria-expanded":pe,"aria-haspopup":!0,"aria-controls":oe,"aria-disabled":te,onClick:De,onFocus:q},ne),i,p.createElement(GCe,{icon:T!=="horizontal"?ie:void 0,props:G(G({},e),{},{isOpen:pe,isSubMenu:!0})},p.createElement("i",{className:"".concat(Z,"-arrow")}))),ce=p.useRef(T);if(T!=="inline"&&U.length>1?ce.current="vertical":ce.current=T,!A){var Be=ce.current;ye=p.createElement(tot,{mode:Be,prefixCls:Z,visible:!s&&pe&&T!=="inline",popupClassName:d,popupOffset:f,popupStyle:h,popup:p.createElement(LT,{mode:Be==="horizontal"?"vertical":Be},p.createElement(rY,{id:oe,ref:K},l)),disabled:te,onVisibleChange:D},ye)}var Ve=p.createElement(pd.Item,Ke({ref:t,role:"none"},E,{component:"li",style:n,className:xe(Z,"".concat(Z,"-").concat(T),r,ee(ee(ee(ee({},"".concat(Z,"-open"),pe),"".concat(Z,"-active"),_e),"".concat(Z,"-selected"),le),"".concat(Z,"-disabled"),te)),onMouseEnter:me,onMouseLeave:be}),ye,!A&&p.createElement(not,{id:oe,open:pe,keyPath:U},l));return $&&(Ve=$(Ve,e,{selected:le,active:_e,open:pe,disabled:te})),p.createElement(LT,{onItemClick:z,mode:T==="horizontal"?"vertical":T,itemIcon:Q,expandIcon:ie},Ve)}),nD=p.forwardRef(function(e,t){var n=e.eventKey,r=e.children,i=_S(n),o=iY(r,i),a=tD();p.useEffect(function(){if(a)return a.registerPath(n,i),function(){a.unregisterPath(n,i)}},[i]);var s;return a?s=o:s=p.createElement(oot,Ke({ref:t},e),o),p.createElement(jCe.Provider,{value:i},s)});function oY(e){var t=e.className,n=e.style,r=p.useContext(Ad),i=r.prefixCls,o=tD();return o?null:p.createElement("li",{role:"separator",className:xe("".concat(i,"-item-divider"),t),style:n})}var aot=["className","title","eventKey","children"],sot=p.forwardRef(function(e,t){var n=e.className,r=e.title;e.eventKey;var i=e.children,o=Dt(e,aot),a=p.useContext(Ad),s=a.prefixCls,l="".concat(s,"-item-group");return p.createElement("li",Ke({ref:t,role:"presentation"},o,{onClick:function(u){return u.stopPropagation()},className:xe(l,n)}),p.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:typeof r=="string"?r:void 0},r),p.createElement("ul",{role:"group",className:"".concat(l,"-list")},i))}),aY=p.forwardRef(function(e,t){var n=e.eventKey,r=e.children,i=_S(n),o=iY(r,i),a=tD();return a?o:p.createElement(sot,Ke({ref:t},ur(e,["warnKey"])),o)}),lot=["label","children","key","type","extra"];function XH(e,t,n){var r=t.item,i=t.group,o=t.submenu,a=t.divider;return(e||[]).map(function(s,l){if(s&&Gt(s)==="object"){var c=s,u=c.label,d=c.children,f=c.key,h=c.type,m=c.extra,g=Dt(c,lot),v=f??"tmp-".concat(l);return d||h==="group"?h==="group"?p.createElement(i,Ke({key:v},g,{title:u}),XH(d,t,n)):p.createElement(o,Ke({key:v},g,{title:u}),XH(d,t,n)):h==="divider"?p.createElement(a,Ke({key:v},g)):p.createElement(r,Ke({key:v},g,{extra:m}),u,(!!m||m===0)&&p.createElement("span",{className:"".concat(n,"-item-extra")},m))}return null}).filter(function(s){return s})}function lie(e,t,n,r,i){var o=e,a=G({divider:oY,item:h2,group:aY,submenu:nD},r);return t&&(o=XH(t,a,i)),iY(o,n)}var cot=["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","_internalComponents"],r1=[],uot=p.forwardRef(function(e,t){var n,r=e,i=r.prefixCls,o=i===void 0?"rc-menu":i,a=r.rootClassName,s=r.style,l=r.className,c=r.tabIndex,u=c===void 0?0:c,d=r.items,f=r.children,h=r.direction,m=r.id,g=r.mode,v=g===void 0?"vertical":g,y=r.inlineCollapsed,b=r.disabled,_=r.disabledOverflow,E=r.subMenuOpenDelay,C=E===void 0?.1:E,S=r.subMenuCloseDelay,w=S===void 0?.1:S,T=r.forceSubMenuRender,O=r.defaultOpenKeys,x=r.openKeys,A=r.activeKey,I=r.defaultActiveFirst,M=r.selectable,B=M===void 0?!0:M,P=r.multiple,k=P===void 0?!1:P,N=r.defaultSelectedKeys,L=r.selectedKeys,V=r.onSelect,$=r.onDeselect,W=r.inlineIndent,j=W===void 0?24:W,U=r.motion,Z=r.defaultMotions,te=r.triggerSubMenuAction,ae=te===void 0?"hover":te,K=r.builtinPlacements,Q=r.itemIcon,ie=r.expandIcon,he=r.overflowedIndicator,pe=he===void 0?"...":he,le=r.overflowedIndicatorPopupClassName,de=r.getPopupContainer,ve=r.onClick,ne=r.onOpenChange,ue=r.onKeyDown;r.openAnimation,r.openTransitionName;var ge=r._internalRenderMenuItem,Ce=r._internalRenderSubMenuItem,Te=r._internalComponents,Se=Dt(r,cot),me=p.useMemo(function(){return[lie(f,d,r1,Te,o),lie(f,d,r1,{},o)]},[f,d,Te]),be=Ie(me,2),_e=be[0],Re=be[1],De=p.useState(!1),z=Ie(De,2),D=z[0],q=z[1],oe=p.useRef(),ye=Uit(m),ce=h==="rtl",Be=Pn(O,{value:x,postState:function(ln){return ln||r1}}),Ve=Ie(Be,2),re=Ve[0],Me=Ve[1],je=function(ln){var _n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Cr(){Me(ln),ne==null||ne(ln)}_n?Ml.flushSync(Cr):Cr()},ke=p.useState(re),Ge=Ie(ke,2),Ue=Ge[0],qe=Ge[1],At=p.useRef(!1),at=p.useMemo(function(){return(v==="inline"||v==="vertical")&&y?["vertical",y]:[v,!1]},[v,y]),pt=Ie(at,2),Ct=pt[0],bt=pt[1],Vt=Ct==="inline",Tt=p.useState(Ct),Ot=Ie(Tt,2),Ut=Ot[0],ze=Ot[1],Ye=p.useState(bt),He=Ie(Ye,2),Ze=He[0],yt=He[1];p.useEffect(function(){ze(Ct),yt(bt),At.current&&(Vt?Me(Ue):je(r1))},[Ct,bt]);var _t=p.useState(0),Bt=Ie(_t,2),Nt=Bt[0],vt=Bt[1],ht=Nt>=_e.length-1||Ut!=="horizontal"||_;p.useEffect(function(){Vt&&qe(re)},[re]),p.useEffect(function(){return At.current=!0,function(){At.current=!1}},[]);var kt=jit(),Et=kt.registerPath,Yt=kt.unregisterPath,ct=kt.refreshOverflowKeys,Rt=kt.isSubPathKey,Ht=kt.getKeyPath,wt=kt.getKeys,St=kt.getSubPathKeys,jt=p.useMemo(function(){return{registerPath:Et,unregisterPath:Yt}},[Et,Yt]),Pe=p.useMemo(function(){return{isSubPathKey:Rt}},[Rt]);p.useEffect(function(){ct(ht?r1:_e.slice(Nt+1).map(function(Sr){return Sr.key}))},[Nt,ht]);var Pt=Pn(A||I&&((n=_e[0])===null||n===void 0?void 0:n.key),{value:A}),rt=Ie(Pt,2),Mt=rt[0],It=rt[1],xn=AC(function(Sr){It(Sr)}),Hn=AC(function(){It(void 0)});p.useImperativeHandle(t,function(){return{list:oe.current,focus:function(ln){var _n,Cr=wt(),on=KH(Cr,ye),an=on.elements,Gn=on.key2element,yr=on.element2key,oi=tY(oe.current,an),Zi=Mt??(oi[0]?yr.get(oi[0]):(_n=_e.find(function(Jn){return!Jn.props.disabled}))===null||_n===void 0?void 0:_n.key),tr=Gn.get(Zi);if(Zi&&tr){var Fi;tr==null||(Fi=tr.focus)===null||Fi===void 0||Fi.call(tr,ln)}}}});var R=Pn(N||[],{value:L,postState:function(ln){return Array.isArray(ln)?ln:ln==null?r1:[ln]}}),F=Ie(R,2),J=F[0],Oe=F[1],$e=function(ln){if(B){var _n=ln.key,Cr=J.includes(_n),on;k?Cr?on=J.filter(function(Gn){return Gn!==_n}):on=[].concat(nt(J),[_n]):on=[_n],Oe(on);var an=G(G({},ln),{},{selectedKeys:on});Cr?$==null||$(an):V==null||V(an)}!k&&re.length&&Ut!=="inline"&&je(r1)},et=AC(function(Sr){ve==null||ve(WM(Sr)),$e(Sr)}),$t=AC(function(Sr,ln){var _n=re.filter(function(on){return on!==Sr});if(ln)_n.push(Sr);else if(Ut!=="inline"){var Cr=St(Sr);_n=_n.filter(function(on){return!Cr.has(on)})}vu(re,_n,!0)||je(_n,!0)}),hn=function(ln,_n){var Cr=_n??!re.includes(ln);$t(ln,Cr)},Fn=$it(Ut,Mt,ce,ye,oe,wt,Ht,It,hn,ue);p.useEffect(function(){q(!0)},[]);var Xr=p.useMemo(function(){return{_internalRenderMenuItem:ge,_internalRenderSubMenuItem:Ce}},[ge,Ce]),Lr=Ut!=="horizontal"||_?_e:_e.map(function(Sr,ln){return p.createElement(LT,{key:Sr.key,overflowDisabled:ln>Nt},Sr)}),vi=p.createElement(pd,Ke({id:m,ref:oe,prefixCls:"".concat(o,"-overflow"),component:"ul",itemComponent:h2,className:xe(o,"".concat(o,"-root"),"".concat(o,"-").concat(Ut),l,ee(ee({},"".concat(o,"-inline-collapsed"),Ze),"".concat(o,"-rtl"),ce),a),dir:h,style:s,role:"menu",tabIndex:u,data:Lr,renderRawItem:function(ln){return ln},renderRawRest:function(ln){var _n=ln.length,Cr=_n?_e.slice(-_n):null;return p.createElement(nD,{eventKey:QH,title:pe,disabled:ht,internalPopupClose:_n===0,popupClassName:le},Cr)},maxCount:Ut!=="horizontal"||_?pd.INVALIDATE:pd.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(ln){vt(ln)},onKeyDown:Fn},Se));return p.createElement(eY.Provider,{value:Xr},p.createElement(LCe.Provider,{value:ye},p.createElement(LT,{prefixCls:o,rootClassName:a,mode:Ut,openKeys:re,rtl:ce,disabled:b,motion:D?U:null,defaultMotions:D?Z:null,activeKey:Mt,onActive:xn,onInactive:Hn,selectedKeys:J,inlineIndent:j,subMenuOpenDelay:C,subMenuCloseDelay:w,forceSubMenuRender:T,builtinPlacements:K,triggerSubMenuAction:ae,getPopupContainer:de,itemIcon:Q,expandIcon:ie,onItemClick:et,onOpenChange:$t},p.createElement(HCe.Provider,{value:Pe},vi),p.createElement("div",{style:{display:"none"},"aria-hidden":!0},p.createElement(BCe.Provider,{value:jt},Re)))))}),SS=uot;SS.Item=h2;SS.SubMenu=nD;SS.ItemGroup=aY;SS.Divider=oY;var dot={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"},fot=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:dot}))},qCe=p.forwardRef(fot),pot={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"},hot=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:pot}))},m_=p.forwardRef(hot);const YCe=p.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}}),mot=e=>{const{antCls:t,componentCls:n,colorText:r,footerBg:i,headerHeight:o,headerPadding:a,headerColor:s,footerPadding:l,fontSize:c,bodyBg:u,headerBg:d}=e;return{[n]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:u,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${n}-header`]:{height:o,padding:a,color:s,lineHeight:Ae(o),background:d,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:l,color:r,fontSize:c,background:i},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},KCe=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:i,controlHeightSM:o,marginXXS:a,colorTextLightSolid:s,colorBgContainer:l}=e,c=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${c}px`,headerColor:i,footerPadding:`${o}px ${c}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+a*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:i}},QCe=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]],XCe=lr("Layout",e=>[mot(e)],KCe,{deprecatedTokens:QCe}),got=e=>{const{componentCls:t,siderBg:n,motionDurationMid:r,motionDurationSlow:i,antCls:o,triggerHeight:a,triggerColor:s,triggerBg:l,headerHeight:c,zeroTriggerWidth:u,zeroTriggerHeight:d,borderRadiusLG:f,lightSiderBg:h,lightTriggerColor:m,lightTriggerBg:g,bodyBg:v}=e;return{[t]:{position:"relative",minWidth:0,background:n,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:a},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${o}-menu${o}-menu-inline-collapsed`]:{width:"auto"}},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:a,color:s,lineHeight:Ae(a),textAlign:"center",background:l,cursor:"pointer",transition:`all ${r}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:c,insetInlineEnd:e.calc(u).mul(-1).equal(),zIndex:1,width:u,height:d,color:s,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:n,borderRadius:`0 ${Ae(f)} ${Ae(f)} 0`,cursor:"pointer",transition:`background ${i} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${i}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(u).mul(-1).equal(),borderRadius:`${Ae(f)} 0 0 ${Ae(f)}`}}},"&-light":{background:h,[`${t}-trigger`]:{color:m,background:g},[`${t}-zero-width-trigger`]:{color:m,background:g,border:`1px solid ${v}`,borderInlineStart:0}}}}},vot=lr(["Layout","Sider"],e=>[got(e)],KCe,{deprecatedTokens:QCe});var bot=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i!Number.isNaN(Number.parseFloat(e))&&isFinite(e),rD=p.createContext({}),_ot=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),ZCe=p.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:i,children:o,defaultCollapsed:a=!1,theme:s="dark",style:l={},collapsible:c=!1,reverseArrow:u=!1,width:d=200,collapsedWidth:f=80,zeroWidthTriggerStyle:h,breakpoint:m,onCollapse:g,onBreakpoint:v}=e,y=bot(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:b}=p.useContext(YCe),[_,E]=p.useState("collapsed"in e?e.collapsed:a),[C,S]=p.useState(!1);p.useEffect(()=>{"collapsed"in e&&E(e.collapsed)},[e.collapsed]);const w=(Q,ie)=>{"collapsed"in e||E(Q),g==null||g(Q,ie)},{getPrefixCls:T,direction:O}=p.useContext(Xt),x=T("layout-sider",n),[A,I,M]=vot(x),B=p.useRef(null);B.current=Q=>{S(Q.matches),v==null||v(Q.matches),_!==Q.matches&&w(Q.matches,"responsive")},p.useEffect(()=>{function Q(he){return B.current(he)}let ie;if(typeof window<"u"){const{matchMedia:he}=window;if(he&&m&&m in cie){ie=he(`screen and (max-width: ${cie[m]})`);try{ie.addEventListener("change",Q)}catch{ie.addListener(Q)}Q(ie)}}return()=>{try{ie==null||ie.removeEventListener("change",Q)}catch{ie==null||ie.removeListener(Q)}}},[m]),p.useEffect(()=>{const Q=_ot("ant-sider-");return b.addSider(Q),()=>b.removeSider(Q)},[]);const P=()=>{w(!_,"clickTrigger")},k=ur(y,["collapsed"]),N=_?f:d,L=yot(N)?`${N}px`:String(N),V=parseFloat(String(f||0))===0?p.createElement("span",{onClick:P,className:xe(`${x}-zero-width-trigger`,`${x}-zero-width-trigger-${u?"right":"left"}`),style:h},i||p.createElement(qCe,null)):null,$=O==="rtl"==!u,U={expanded:$?p.createElement(uh,null):p.createElement(m_,null),collapsed:$?p.createElement(m_,null):p.createElement(uh,null)}[_?"collapsed":"expanded"],Z=i!==null?V||p.createElement("div",{className:`${x}-trigger`,onClick:P,style:{width:L}},i||U):null,te=Object.assign(Object.assign({},l),{flex:`0 0 ${L}`,maxWidth:L,minWidth:L,width:L}),ae=xe(x,`${x}-${s}`,{[`${x}-collapsed`]:!!_,[`${x}-has-trigger`]:c&&i!==null&&!V,[`${x}-below`]:!!C,[`${x}-zero-width`]:parseFloat(L)===0},r,I,M),K=p.useMemo(()=>({siderCollapsed:_}),[_]);return A(p.createElement(rD.Provider,{value:K},p.createElement("aside",Object.assign({className:ae},k,{style:te,ref:t}),p.createElement("div",{className:`${x}-children`},o),c||C&&V?Z:null)))});var Sot={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"},Eot=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Sot}))},sY=p.forwardRef(Eot);const qM=p.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var Cot=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,className:n,dashed:r}=e,i=Cot(e,["prefixCls","className","dashed"]),{getPrefixCls:o}=p.useContext(Xt),a=o("menu",t),s=xe({[`${a}-item-divider-dashed`]:!!r},n);return p.createElement(oY,Object.assign({className:s},i))},ewe=e=>{var t;const{className:n,children:r,icon:i,title:o,danger:a,extra:s}=e,{prefixCls:l,firstLevel:c,direction:u,disableMenuItemTitleTooltip:d,inlineCollapsed:f}=p.useContext(qM),h=_=>{const E=r==null?void 0:r[0],C=p.createElement("span",{className:xe(`${l}-title-content`,{[`${l}-title-content-with-extra`]:!!s||s===0})},r);return(!i||p.isValidElement(r)&&r.type==="span")&&r&&_&&c&&typeof E=="string"?p.createElement("div",{className:`${l}-inline-collapsed-noicon`},E.charAt(0)):C},{siderCollapsed:m}=p.useContext(rD);let g=o;typeof o>"u"?g=c?r:"":o===!1&&(g="");const v={title:g};!m&&!f&&(v.title=null,v.open=!1);const y=ko(r).length;let b=p.createElement(h2,Object.assign({},ur(e,["title","icon","danger"]),{className:xe({[`${l}-item-danger`]:a,[`${l}-item-only-child`]:(i?y+1:y)===1},n),title:typeof o=="string"?o:void 0}),Eo(i,{className:xe(p.isValidElement(i)?(t=i.props)===null||t===void 0?void 0:t.className:"",`${l}-item-icon`)}),h(f));return d||(b=p.createElement(Aa,Object.assign({},v,{placement:u==="rtl"?"left":"right",classNames:{root:`${l}-inline-collapsed-tooltip`}}),b)),b};var wot=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{children:n}=e,r=wot(e,["children"]),i=p.useContext(YM),o=p.useMemo(()=>Object.assign(Object.assign({},i),r),[i,r.prefixCls,r.mode,r.selectable,r.rootClassName]),a=JGe(n),s=$d(t,a?Ig(n):null);return p.createElement(YM.Provider,{value:o},p.createElement(Rd,{space:!0},a?p.cloneElement(n,{ref:s}):n))}),Tot=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:i,lineWidth:o,lineType:a,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${Ae(o)} ${a} ${i}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover, + `]:{paddingInlineEnd:e.calc(e.fontSize).mul(1.5).equal()}}}},ZL(Kn(e,{controlHeight:e.singleItemHeightLG,fontSize:e.fontSizeLG,borderRadius:e.borderRadiusLG}),"lg")]}const drt=e=>{const{fontSize:t,lineHeight:n,lineWidth:r,controlHeight:i,controlHeightSM:o,controlHeightLG:a,paddingXXS:s,controlPaddingHorizontal:l,zIndexPopupBase:c,colorText:u,fontWeightStrong:d,controlItemBgActive:f,controlItemBgHover:h,colorBgContainer:m,colorFillSecondary:g,colorBgContainerDisabled:v,colorTextDisabled:y,colorPrimaryHover:b,colorPrimary:_,controlOutline:E}=e,C=s*2,S=r*2,w=Math.min(i-C,i-S),T=Math.min(o-C,o-S),O=Math.min(a-C,a-S);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(s/2),zIndexPopup:c+50,optionSelectedColor:u,optionSelectedFontWeight:d,optionSelectedBg:f,optionActiveBg:h,optionPadding:`${(i-t*n)/2}px ${l}px`,optionFontSize:t,optionLineHeight:n,optionHeight:i,selectorBg:m,clearBg:m,singleItemHeightLG:a,multipleItemBg:g,multipleItemBorderColor:"transparent",multipleItemHeight:w,multipleItemHeightSM:T,multipleItemHeightLG:O,multipleSelectorBgDisabled:v,multipleItemColorDisabled:y,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(e.fontSize*1.25),hoverBorderColor:b,activeBorderColor:_,activeOutlineColor:E,selectAffixPadding:s}},yCe=(e,t)=>{const{componentCls:n,antCls:r,controlOutlineWidth:i}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{border:`${Ae(e.lineWidth)} ${e.lineType} ${t.borderColor}`,background:e.selectorBg},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{borderColor:t.hoverBorderHover},[`${n}-focused& ${n}-selector`]:{borderColor:t.activeBorderColor,boxShadow:`0 0 0 ${Ae(i)} ${t.activeOutlineColor}`,outline:0},[`${n}-prefix`]:{color:t.color}}}},Zre=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},yCe(e,t))}),frt=e=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign({},yCe(e,{borderColor:e.colorBorder,hoverBorderHover:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeOutlineColor:e.activeOutlineColor,color:e.colorText})),Zre(e,{status:"error",borderColor:e.colorError,hoverBorderHover:e.colorErrorHover,activeBorderColor:e.colorError,activeOutlineColor:e.colorErrorOutline,color:e.colorError})),Zre(e,{status:"warning",borderColor:e.colorWarning,hoverBorderHover:e.colorWarningHover,activeBorderColor:e.colorWarning,activeOutlineColor:e.colorWarningOutline,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}})}),_Ce=(e,t)=>{const{componentCls:n,antCls:r}=e;return{[`&:not(${n}-customize-input) ${n}-selector`]:{background:t.bg,border:`${Ae(e.lineWidth)} ${e.lineType} transparent`,color:t.color},[`&:not(${n}-disabled):not(${n}-customize-input):not(${r}-pagination-size-changer)`]:{[`&:hover ${n}-selector`]:{background:t.hoverBg},[`${n}-focused& ${n}-selector`]:{background:e.selectorBg,borderColor:t.activeBorderColor,outline:0}}}},Jre=(e,t)=>({[`&${e.componentCls}-status-${t.status}`]:Object.assign({},_Ce(e,t))}),prt=e=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign({},_Ce(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor,color:e.colorText})),Jre(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,color:e.colorError})),Jre(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,color:e.colorWarning})),{[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{borderColor:e.colorBorder,background:e.colorBgContainerDisabled,color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.colorBgContainer,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}})}),hrt=e=>({"&-borderless":{[`${e.componentCls}-selector`]:{background:"transparent",border:`${Ae(e.lineWidth)} ${e.lineType} transparent`},[`&${e.componentCls}-disabled`]:{[`&:not(${e.componentCls}-customize-input) ${e.componentCls}-selector`]:{color:e.colorTextDisabled}},[`&${e.componentCls}-multiple ${e.componentCls}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`},[`&${e.componentCls}-status-error`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorError}},[`&${e.componentCls}-status-warning`]:{[`${e.componentCls}-prefix, ${e.componentCls}-selection-item`]:{color:e.colorWarning}}}}),mrt=e=>({[e.componentCls]:Object.assign(Object.assign(Object.assign({},frt(e)),prt(e)),hrt(e))}),grt=e=>{const{componentCls:t}=e;return{position:"relative",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,input:{cursor:"pointer"},[`${t}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit",height:"100%"}},[`${t}-disabled&`]:{cursor:"not-allowed",input:{cursor:"not-allowed"}}}},vrt=e=>{const{componentCls:t}=e;return{[`${t}-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"}}}},brt=e=>{const{antCls:t,componentCls:n,inputPaddingHorizontalBase:r,iconCls:i}=e;return{[n]:Object.assign(Object.assign({},gr(e)),{position:"relative",display:"inline-flex",cursor:"pointer",[`&:not(${n}-customize-input) ${n}-selector`]:Object.assign(Object.assign({},grt(e)),vrt(e)),[`${n}-selection-item`]:Object.assign(Object.assign({flex:1,fontWeight:"normal",position:"relative",userSelect:"none"},kl),{[`> ${t}-typography`]:{display:"inline"}}),[`${n}-selection-placeholder`]:Object.assign(Object.assign({},kl),{flex:1,color:e.colorTextPlaceholder,pointerEvents:"none"}),[`${n}-arrow`]:Object.assign(Object.assign({},_0()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",transition:`opacity ${e.motionDurationSlow} ease`,[i]:{verticalAlign:"top",transition:`transform ${e.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${n}-suffix)`]:{pointerEvents:"auto"}},[`${n}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${n}-selection-wrap`]:{display:"flex",width:"100%",position:"relative",minWidth:0,"&:after":{content:'"\\a0"',width:0,overflow:"hidden"}},[`${n}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${n}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:r,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:`color ${e.motionDurationMid} ease, opacity ${e.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:e.colorTextTertiary}},[`&:hover ${n}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}}),[`${n}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${n}-has-feedback`]:{[`${n}-clear`]:{insetInlineEnd:e.calc(r).add(e.fontSize).add(e.paddingXS).equal()}}}}}},yrt=e=>{const{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},brt(e),urt(e),crt(e),art(e),{[`${t}-rtl`]:{direction:"rtl"}},E0(e,{borderElCls:`${t}-selector`,focusElCls:`${t}-focused`})]},Kq=lr("Select",(e,t)=>{let{rootPrefixCls:n}=t;const r=Kn(e,{rootPrefixCls:n,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[yrt(r),mrt(r)]},drt,{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}});var _rt={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"},Srt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:_rt}))},Qp=p.forwardRef(Srt),Ert={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"},Crt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Ert}))},p2=p.forwardRef(Crt),wrt={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"},Trt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:wrt}))},K5=p.forwardRef(Trt);function Q5(e){let{suffixIcon:t,clearIcon:n,menuItemSelectedIcon:r,removeIcon:i,loading:o,multiple:a,hasFeedback:s,prefixCls:l,showSuffixIcon:c,feedbackIcon:u,showArrow:d,componentName:f}=e;const h=n??p.createElement(qf,null),m=b=>t===null&&!s&&!d?null:p.createElement(p.Fragment,null,c!==!1&&b,s&&u);let g=null;if(t!==void 0)g=m(t);else if(o)g=m(p.createElement(xd,{spin:!0}));else{const b=`${l}-suffix`;g=_=>{let{open:E,showSearch:C}=_;return m(E&&C?p.createElement(K5,{className:b}):p.createElement(p2,{className:b}))}}let v=null;r!==void 0?v=r:a?v=p.createElement(Qp,null):v=null;let y=null;return i!==void 0?y=i:y=p.createElement(Yf,null),{clearIcon:h,suffixIcon:g,itemIcon:v,removeIcon:y}}function Qq(e,t){return t!==void 0?t:e!==null}var xrt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,bordered:i,className:o,rootClassName:a,getPopupContainer:s,popupClassName:l,dropdownClassName:c,listHeight:u=256,placement:d,listItemHeight:f,size:h,disabled:m,notFoundContent:g,status:v,builtinPlacements:y,dropdownMatchSelectWidth:b,popupMatchSelectWidth:_,direction:E,style:C,allowClear:S,variant:w,dropdownStyle:T,transitionName:O,tagRender:x,maxCount:A,prefix:I}=e,M=xrt(e,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear","variant","dropdownStyle","transitionName","tagRender","maxCount","prefix"]),{getPopupContainer:B,getPrefixCls:P,renderEmpty:k,direction:N,virtual:L,popupMatchSelectWidth:V,popupOverflow:$,select:W}=p.useContext(Xt),[,j]=qo(),U=f??(j==null?void 0:j.controlHeight),Z=P("select",r),te=P(),ae=E??N,{compactSize:K,compactItemClassnames:Q}=Fd(Z,ae),[ie,he]=Oh("select",w,i),pe=ui(Z),[le,de,ve]=Kq(Z,pe),ne=p.useMemo(()=>{const{mode:Ge}=e;if(Ge!=="combobox")return Ge===SCe?"combobox":Ge},[e.mode]),ue=ne==="multiple"||ne==="tags",ge=Qq(e.suffixIcon,e.showArrow),Ce=(n=_??b)!==null&&n!==void 0?n:V,{status:Te,hasFeedback:Se,isFormItemInput:me,feedbackIcon:be}=p.useContext(oa),_e=xh(Te,v);let Re;g!==void 0?Re=g:ne==="combobox"?Re=null:Re=(k==null?void 0:k("Select"))||p.createElement(yS,{componentName:"Select"});const{suffixIcon:De,itemIcon:z,removeIcon:D,clearIcon:q}=Q5(Object.assign(Object.assign({},M),{multiple:ue,hasFeedback:Se,feedbackIcon:be,showSuffixIcon:ge,prefixCls:Z,componentName:"Select"})),oe=S===!0?{clearIcon:q}:S,ye=ur(M,["suffixIcon","itemIcon"]),ce=xe(l||c,{[`${Z}-dropdown-${ae}`]:ae==="rtl"},a,ve,pe,de),Be=Co(Ge=>{var Ue;return(Ue=h??K)!==null&&Ue!==void 0?Ue:Ge}),Ve=p.useContext(Wo),re=m??Ve,Me=xe({[`${Z}-lg`]:Be==="large",[`${Z}-sm`]:Be==="small",[`${Z}-rtl`]:ae==="rtl",[`${Z}-${ie}`]:he,[`${Z}-in-form-item`]:me},Id(Z,_e,Se),Q,W==null?void 0:W.className,o,a,ve,pe,de),je=p.useMemo(()=>d!==void 0?d:ae==="rtl"?"bottomRight":"bottomLeft",[d,ae]),[ke]=Ru("SelectLike",T==null?void 0:T.zIndex);return le(p.createElement(qq,Object.assign({ref:t,virtual:L,showSearch:W==null?void 0:W.showSearch},ye,{style:Object.assign(Object.assign({},W==null?void 0:W.style),C),dropdownMatchSelectWidth:Ce,transitionName:Va(te,"slide-up",O),builtinPlacements:Yq(y,$),listHeight:u,listItemHeight:U,mode:ne,prefixCls:Z,placement:je,direction:ae,prefix:I,suffixIcon:De,menuItemSelectedIcon:z,removeIcon:D,allowClear:oe,notFoundContent:Re,className:Me,getPopupContainer:s||B,dropdownClassName:ce,disabled:re,dropdownStyle:Object.assign(Object.assign({},T),{zIndex:ke}),maxCount:ue?A:void 0,tagRender:ue?x:void 0})))},bu=p.forwardRef(Ort),Rrt=Ng(bu,"dropdownAlign");bu.SECRET_COMBOBOX_MODE_DO_NOT_USE=SCe;bu.Option=Gq;bu.OptGroup=Vq;bu._InternalPanelDoNotUseOrYouWillBeFired=Rrt;const vg=["xxl","xl","lg","md","sm","xs"],Irt=e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`}),Art=e=>{const t=e,n=[].concat(vg).reverse();return n.forEach((r,i)=>{const o=r.toUpperCase(),a=`screen${o}Min`,s=`screen${o}`;if(!(t[a]<=t[s]))throw new Error(`${a}<=${s} fails : !(${t[a]}<=${t[s]})`);if(i{const n=new Map;let r=-1,i={};return{matchHandlers:{},dispatch(o){return i=o,n.forEach(a=>a(i)),n.size>=1},subscribe(o){return n.size||this.register(),r+=1,n.set(r,o),o(i),r},unsubscribe(o){n.delete(o),n.size||this.unregister()},unregister(){Object.keys(t).forEach(o=>{const a=t[o],s=this.matchHandlers[a];s==null||s.mql.removeListener(s==null?void 0:s.listener)}),n.clear()},register(){Object.keys(t).forEach(o=>{const a=t[o],s=c=>{let{matches:u}=c;this.dispatch(Object.assign(Object.assign({},i),{[o]:u}))},l=window.matchMedia(a);l.addListener(s),this.matchHandlers[a]={mql:l,listener:s},s(l)})},responsiveMap:t}},[e])}function Xq(){const[,e]=p.useReducer(t=>t+1,0);return e}function X5(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const t=p.useRef({}),n=Xq(),r=ECe();return ar(()=>{const i=r.subscribe(o=>{t.current=o,e&&n()});return()=>r.unsubscribe(i)},[]),t.current}const GH=p.createContext({}),Nrt=e=>{const{antCls:t,componentCls:n,iconCls:r,avatarBg:i,avatarColor:o,containerSize:a,containerSizeLG:s,containerSizeSM:l,textFontSize:c,textFontSizeLG:u,textFontSizeSM:d,borderRadius:f,borderRadiusLG:h,borderRadiusSM:m,lineWidth:g,lineType:v}=e,y=(b,_,E)=>({width:b,height:b,borderRadius:"50%",[`&${n}-square`]:{borderRadius:E},[`&${n}-icon`]:{fontSize:_,[`> ${r}`]:{margin:0}}});return{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{position:"relative",display:"inline-flex",justifyContent:"center",alignItems:"center",overflow:"hidden",color:o,whiteSpace:"nowrap",textAlign:"center",verticalAlign:"middle",background:i,border:`${Ae(g)} ${v} transparent`,"&-image":{background:"transparent"},[`${t}-image-img`]:{display:"block"}}),y(a,c,f)),{"&-lg":Object.assign({},y(s,u,h)),"&-sm":Object.assign({},y(l,d,m)),"> img":{display:"block",width:"100%",height:"100%",objectFit:"cover"}})}},Mrt=e=>{const{componentCls:t,groupBorderColor:n,groupOverlapping:r,groupSpace:i}=e;return{[`${t}-group`]:{display:"inline-flex",[t]:{borderColor:n},"> *:not(:first-child)":{marginInlineStart:r}},[`${t}-group-popover`]:{[`${t} + ${t}`]:{marginInlineStart:i}}}},krt=e=>{const{controlHeight:t,controlHeightLG:n,controlHeightSM:r,fontSize:i,fontSizeLG:o,fontSizeXL:a,fontSizeHeading3:s,marginXS:l,marginXXS:c,colorBorderBg:u}=e;return{containerSize:t,containerSizeLG:n,containerSizeSM:r,textFontSize:Math.round((o+a)/2),textFontSizeLG:s,textFontSizeSM:i,groupSpace:c,groupOverlapping:-l,groupBorderColor:u}},CCe=lr("Avatar",e=>{const{colorTextLightSolid:t,colorTextPlaceholder:n}=e,r=Kn(e,{avatarBg:n,avatarColor:t});return[Nrt(r),Mrt(r)]},krt);var Prt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const[n,r]=p.useState(1),[i,o]=p.useState(!1),[a,s]=p.useState(!0),l=p.useRef(null),c=p.useRef(null),u=aa(t,l),{getPrefixCls:d,avatar:f}=p.useContext(Xt),h=p.useContext(GH),m=()=>{if(!c.current||!l.current)return;const Q=c.current.offsetWidth,ie=l.current.offsetWidth;if(Q!==0&&ie!==0){const{gap:he=4}=e;he*2{o(!0)},[]),p.useEffect(()=>{s(!0),r(1)},[e.src]),p.useEffect(m,[e.gap]);const g=()=>{const{onError:Q}=e;(Q==null?void 0:Q())!==!1&&s(!1)},{prefixCls:v,shape:y,size:b,src:_,srcSet:E,icon:C,className:S,rootClassName:w,alt:T,draggable:O,children:x,crossOrigin:A}=e,I=Prt(e,["prefixCls","shape","size","src","srcSet","icon","className","rootClassName","alt","draggable","children","crossOrigin"]),M=Co(Q=>{var ie,he;return(he=(ie=b??(h==null?void 0:h.size))!==null&&ie!==void 0?ie:Q)!==null&&he!==void 0?he:"default"}),B=Object.keys(typeof M=="object"?M||{}:{}).some(Q=>["xs","sm","md","lg","xl","xxl"].includes(Q)),P=X5(B),k=p.useMemo(()=>{if(typeof M!="object")return{};const Q=vg.find(he=>P[he]),ie=M[Q];return ie?{width:ie,height:ie,fontSize:ie&&(C||x)?ie/2:18}:{}},[P,M]),N=d("avatar",v),L=ui(N),[V,$,W]=CCe(N,L),j=xe({[`${N}-lg`]:M==="large",[`${N}-sm`]:M==="small"}),U=p.isValidElement(_),Z=y||(h==null?void 0:h.shape)||"circle",te=xe(N,j,f==null?void 0:f.className,`${N}-${Z}`,{[`${N}-image`]:U||_&&a,[`${N}-icon`]:!!C},W,L,S,w,$),ae=typeof M=="number"?{width:M,height:M,fontSize:C?M/2:18}:{};let K;if(typeof _=="string"&&a)K=p.createElement("img",{src:_,draggable:O,srcSet:E,onError:g,alt:T,crossOrigin:A});else if(U)K=_;else if(C)K=C;else if(i||n!==1){const Q=`scale(${n})`,ie={msTransform:Q,WebkitTransform:Q,transform:Q};K=p.createElement(xa,{onResize:m},p.createElement("span",{className:`${N}-string`,ref:c,style:Object.assign({},ie)},x))}else K=p.createElement("span",{className:`${N}-string`,style:{opacity:0},ref:c},x);return delete I.onError,delete I.gap,V(p.createElement("span",Object.assign({},I,{style:Object.assign(Object.assign(Object.assign(Object.assign({},ae),k),f==null?void 0:f.style),I.style),className:te,ref:u}),K))},wCe=p.forwardRef(Drt),h_=e=>e?typeof e=="function"?e():e:null;function Zq(e){var t=e.children,n=e.prefixCls,r=e.id,i=e.overlayInnerStyle,o=e.bodyClassName,a=e.className,s=e.style;return p.createElement("div",{className:xe("".concat(n,"-content"),a),style:s},p.createElement("div",{className:xe("".concat(n,"-inner"),o),id:r,role:"tooltip",style:i},typeof t=="function"?t():t))}var tb={shiftX:64,adjustY:1},nb={adjustX:1,shiftY:!0},Fc=[0,0],Lrt={left:{points:["cr","cl"],overflow:nb,offset:[-4,0],targetOffset:Fc},right:{points:["cl","cr"],overflow:nb,offset:[4,0],targetOffset:Fc},top:{points:["bc","tc"],overflow:tb,offset:[0,-4],targetOffset:Fc},bottom:{points:["tc","bc"],overflow:tb,offset:[0,4],targetOffset:Fc},topLeft:{points:["bl","tl"],overflow:tb,offset:[0,-4],targetOffset:Fc},leftTop:{points:["tr","tl"],overflow:nb,offset:[-4,0],targetOffset:Fc},topRight:{points:["br","tr"],overflow:tb,offset:[0,-4],targetOffset:Fc},rightTop:{points:["tl","tr"],overflow:nb,offset:[4,0],targetOffset:Fc},bottomRight:{points:["tr","br"],overflow:tb,offset:[0,4],targetOffset:Fc},rightBottom:{points:["bl","br"],overflow:nb,offset:[4,0],targetOffset:Fc},bottomLeft:{points:["tl","bl"],overflow:tb,offset:[0,4],targetOffset:Fc},leftBottom:{points:["br","bl"],overflow:nb,offset:[-4,0],targetOffset:Fc}},$rt=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow","classNames","styles"],Frt=function(t,n){var r=t.overlayClassName,i=t.trigger,o=i===void 0?["hover"]:i,a=t.mouseEnterDelay,s=a===void 0?0:a,l=t.mouseLeaveDelay,c=l===void 0?.1:l,u=t.overlayStyle,d=t.prefixCls,f=d===void 0?"rc-tooltip":d,h=t.children,m=t.onVisibleChange,g=t.afterVisibleChange,v=t.transitionName,y=t.animation,b=t.motion,_=t.placement,E=_===void 0?"right":_,C=t.align,S=C===void 0?{}:C,w=t.destroyTooltipOnHide,T=w===void 0?!1:w,O=t.defaultVisible,x=t.getTooltipContainer,A=t.overlayInnerStyle;t.arrowContent;var I=t.overlay,M=t.id,B=t.showArrow,P=B===void 0?!0:B,k=t.classNames,N=t.styles,L=Dt(t,$rt),V=p.useRef(null);p.useImperativeHandle(n,function(){return V.current});var $=G({},L);"visible"in t&&($.popupVisible=t.visible);var W=function(){return p.createElement(Zq,{key:"content",prefixCls:f,id:M,bodyClassName:k==null?void 0:k.body,overlayInnerStyle:G(G({},A),N==null?void 0:N.body)},I)};return p.createElement(f2,Ke({popupClassName:xe(r,k==null?void 0:k.root),prefixCls:f,popup:W,action:o,builtinPlacements:Lrt,popupPlacement:E,ref:V,popupAlign:S,getPopupContainer:x,onPopupVisibleChange:m,afterPopupVisibleChange:g,popupTransitionName:v,popupAnimation:y,popupMotion:b,defaultPopupVisible:O,autoDestroy:T,mouseLeaveDelay:c,popupStyle:G(G({},u),N==null?void 0:N.root),mouseEnterDelay:s,arrow:P},$),h)};const Brt=p.forwardRef(Frt);function Z5(e){const{sizePopupArrow:t,borderRadiusXS:n,borderRadiusOuter:r}=e,i=t/2,o=0,a=i,s=r*1/Math.sqrt(2),l=i-r*(1-1/Math.sqrt(2)),c=i-n*(1/Math.sqrt(2)),u=r*(Math.sqrt(2)-1)+n*(1/Math.sqrt(2)),d=2*i-c,f=u,h=2*i-s,m=l,g=2*i-o,v=a,y=i*Math.sqrt(2)+r*(Math.sqrt(2)-2),b=r*(Math.sqrt(2)-1),_=`polygon(${b}px 100%, 50% ${b}px, ${2*i-b}px 100%, ${b}px 100%)`,E=`path('M ${o} ${a} A ${r} ${r} 0 0 0 ${s} ${l} L ${c} ${u} A ${n} ${n} 0 0 1 ${d} ${f} L ${h} ${m} A ${r} ${r} 0 0 0 ${g} ${v} Z')`;return{arrowShadowWidth:y,arrowPath:E,arrowPolygon:_}}const TCe=(e,t,n)=>{const{sizePopupArrow:r,arrowPolygon:i,arrowPath:o,arrowShadowWidth:a,borderRadiusXS:s,calc:l}=e;return{pointerEvents:"none",width:r,height:r,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:r,height:l(r).div(2).equal(),background:t,clipPath:{_multi_value_:!0,value:[i,o]},content:'""'},"&::after":{content:'""',position:"absolute",width:a,height:a,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${Ae(s)} 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:n,zIndex:0,background:"transparent"}}},xCe=8;function J5(e){const{contentRadius:t,limitVerticalRadius:n}=e,r=t>12?t+2:12;return{arrowOffsetHorizontal:r,arrowOffsetVertical:n?xCe:r}}function OR(e,t){return e?t:{}}function Jq(e,t,n){const{componentCls:r,boxShadowPopoverArrow:i,arrowOffsetVertical:o,arrowOffsetHorizontal:a}=e,{arrowDistance:s=0,arrowPlacement:l={left:!0,right:!0,top:!0,bottom:!0}}=n||{};return{[r]:Object.assign(Object.assign(Object.assign(Object.assign({[`${r}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},TCe(e,t,i)),{"&:before":{background:t}})]},OR(!!l.top,{[[`&-placement-top > ${r}-arrow`,`&-placement-topLeft > ${r}-arrow`,`&-placement-topRight > ${r}-arrow`].join(",")]:{bottom:s,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},"&-placement-topLeft":{"--arrow-offset-horizontal":a,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:a}}},"&-placement-topRight":{"--arrow-offset-horizontal":`calc(100% - ${Ae(a)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}}})),OR(!!l.bottom,{[[`&-placement-bottom > ${r}-arrow`,`&-placement-bottomLeft > ${r}-arrow`,`&-placement-bottomRight > ${r}-arrow`].join(",")]:{top:s,transform:"translateY(-100%)"},[`&-placement-bottom > ${r}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},"&-placement-bottomLeft":{"--arrow-offset-horizontal":a,[`> ${r}-arrow`]:{left:{_skip_check_:!0,value:a}}},"&-placement-bottomRight":{"--arrow-offset-horizontal":`calc(100% - ${Ae(a)})`,[`> ${r}-arrow`]:{right:{_skip_check_:!0,value:a}}}})),OR(!!l.left,{[[`&-placement-left > ${r}-arrow`,`&-placement-leftTop > ${r}-arrow`,`&-placement-leftBottom > ${r}-arrow`].join(",")]:{right:{_skip_check_:!0,value:s},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop > ${r}-arrow`]:{top:o},[`&-placement-leftBottom > ${r}-arrow`]:{bottom:o}})),OR(!!l.right,{[[`&-placement-right > ${r}-arrow`,`&-placement-rightTop > ${r}-arrow`,`&-placement-rightBottom > ${r}-arrow`].join(",")]:{left:{_skip_check_:!0,value:s},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right > ${r}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop > ${r}-arrow`]:{top:o},[`&-placement-rightBottom > ${r}-arrow`]:{bottom:o}}))}}function jrt(e,t,n,r){if(r===!1)return{adjustX:!1,adjustY:!1};const i=r&&typeof r=="object"?r:{},o={};switch(e){case"top":case"bottom":o.shiftX=t.arrowOffsetHorizontal*2+n,o.shiftY=!0,o.adjustY=!0;break;case"left":case"right":o.shiftY=t.arrowOffsetVertical*2+n,o.shiftX=!0,o.adjustX=!0;break}const a=Object.assign(Object.assign({},o),i);return a.shiftX||(a.adjustX=!0),a.shiftY||(a.adjustY=!0),a}const eie={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"]}},Hrt={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"]}},Urt=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function OCe(e){const{arrowWidth:t,autoAdjustOverflow:n,arrowPointAtCenter:r,offset:i,borderRadius:o,visibleFirst:a}=e,s=t/2,l={};return Object.keys(eie).forEach(c=>{const u=r&&Hrt[c]||eie[c],d=Object.assign(Object.assign({},u),{offset:[0,0],dynamicInset:!0});switch(l[c]=d,Urt.has(c)&&(d.autoArrow=!1),c){case"top":case"topLeft":case"topRight":d.offset[1]=-s-i;break;case"bottom":case"bottomLeft":case"bottomRight":d.offset[1]=s+i;break;case"left":case"leftTop":case"leftBottom":d.offset[0]=-s-i;break;case"right":case"rightTop":case"rightBottom":d.offset[0]=s+i;break}const f=J5({contentRadius:o,limitVerticalRadius:!0});if(r)switch(c){case"topLeft":case"bottomLeft":d.offset[0]=-f.arrowOffsetHorizontal-s;break;case"topRight":case"bottomRight":d.offset[0]=f.arrowOffsetHorizontal+s;break;case"leftTop":case"rightTop":d.offset[1]=-f.arrowOffsetHorizontal*2+s;break;case"leftBottom":case"rightBottom":d.offset[1]=f.arrowOffsetHorizontal*2-s;break}d.overflow=jrt(c,f,t,n),a&&(d.htmlRegion="visibleFirst")}),l}const zrt=e=>{const{calc:t,componentCls:n,tooltipMaxWidth:r,tooltipColor:i,tooltipBg:o,tooltipBorderRadius:a,zIndexPopup:s,controlHeight:l,boxShadowSecondary:c,paddingSM:u,paddingXS:d,arrowOffsetHorizontal:f,sizePopupArrow:h}=e,m=t(a).add(h).add(f).equal(),g=t(a).mul(2).add(h).equal();return[{[n]:Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{position:"absolute",zIndex:s,display:"block",width:"max-content",maxWidth:r,visibility:"visible","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"&-hidden":{display:"none"},"--antd-arrow-background-color":o,[`${n}-inner`]:{minWidth:g,minHeight:l,padding:`${Ae(e.calc(u).div(2).equal())} ${Ae(d)}`,color:i,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:o,borderRadius:a,boxShadow:c,boxSizing:"border-box"},[["&-placement-topLeft","&-placement-topRight","&-placement-bottomLeft","&-placement-bottomRight"].join(",")]:{minWidth:m},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${n}-inner`]:{borderRadius:e.min(a,xCe)}},[`${n}-content`]:{position:"relative"}}),x5(e,(v,y)=>{let{darkColor:b}=y;return{[`&${n}-${v}`]:{[`${n}-inner`]:{backgroundColor:b},[`${n}-arrow`]:{"--antd-arrow-background-color":b}}}})),{"&-rtl":{direction:"rtl"}})},Jq(e,"var(--antd-arrow-background-color)"),{[`${n}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow}}]},Vrt=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+70},J5({contentRadius:e.borderRadius,limitVerticalRadius:!0})),Z5(Kn(e,{borderRadiusOuter:Math.min(e.borderRadiusOuter,4)}))),RCe=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return lr("Tooltip",r=>{const{borderRadius:i,colorTextLightSolid:o,colorBgSpotlight:a}=r,s=Kn(r,{tooltipMaxWidth:250,tooltipColor:o,tooltipBorderRadius:i,tooltipBg:a});return[zrt(s),gS(r,"zoom-big-fast")]},Vrt,{resetStyle:!1,injectStyle:t})(e)},Grt=Hv.map(e=>`${e}-inverse`),Wrt=["success","processing","error","default","warning"];function eD(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat(nt(Grt),nt(Hv)).includes(e):Hv.includes(e)}function qrt(e){return Wrt.includes(e)}function ICe(e,t){const n=eD(t),r=xe({[`${e}-${t}`]:t&&n}),i={},o={};return t&&!n&&(i.background=t,o["--antd-arrow-background-color"]=t),{className:r,overlayStyle:i,arrowStyle:o}}const Yrt=e=>{const{prefixCls:t,className:n,placement:r="top",title:i,color:o,overlayInnerStyle:a}=e,{getPrefixCls:s}=p.useContext(Xt),l=s("tooltip",t),[c,u,d]=RCe(l),f=ICe(l,o),h=f.arrowStyle,m=Object.assign(Object.assign({},a),f.overlayStyle),g=xe(u,d,l,`${l}-pure`,`${l}-placement-${r}`,n,f.className);return c(p.createElement("div",{className:g,style:h},p.createElement("div",{className:`${l}-arrow`}),p.createElement(Zq,Object.assign({},e,{className:u,prefixCls:l,overlayInnerStyle:m}),i)))};var Krt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r,i,o,a,s;const{prefixCls:l,openClassName:c,getTooltipContainer:u,color:d,overlayInnerStyle:f,children:h,afterOpenChange:m,afterVisibleChange:g,destroyTooltipOnHide:v,arrow:y=!0,title:b,overlay:_,builtinPlacements:E,arrowPointAtCenter:C=!1,autoAdjustOverflow:S=!0}=e,w=!!y,[,T]=qo(),{getPopupContainer:O,getPrefixCls:x,direction:A,tooltip:I}=p.useContext(Xt),M=Wf(),B=p.useRef(null),P=()=>{var ye;(ye=B.current)===null||ye===void 0||ye.forceAlign()};p.useImperativeHandle(t,()=>{var ye;return{forceAlign:P,forcePopupAlign:()=>{M.deprecated(!1,"forcePopupAlign","forceAlign"),P()},nativeElement:(ye=B.current)===null||ye===void 0?void 0:ye.nativeElement}});const[k,N]=Pn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),L=!b&&!_&&b!==0,V=ye=>{var ce,Be;N(L?!1:ye),L||((ce=e.onOpenChange)===null||ce===void 0||ce.call(e,ye),(Be=e.onVisibleChange)===null||Be===void 0||Be.call(e,ye))},$=p.useMemo(()=>{var ye,ce;let Be=C;return typeof y=="object"&&(Be=(ce=(ye=y.pointAtCenter)!==null&&ye!==void 0?ye:y.arrowPointAtCenter)!==null&&ce!==void 0?ce:C),E||OCe({arrowPointAtCenter:Be,autoAdjustOverflow:S,arrowWidth:w?T.sizePopupArrow:0,borderRadius:T.borderRadius,offset:T.marginXXS,visibleFirst:!0})},[C,y,E,T]),W=p.useMemo(()=>b===0?b:_||b||"",[_,b]),j=p.createElement(Rd,{space:!0},typeof W=="function"?W():W),{getPopupContainer:U,placement:Z="top",mouseEnterDelay:te=.1,mouseLeaveDelay:ae=.1,overlayStyle:K,rootClassName:Q,overlayClassName:ie,styles:he,classNames:pe}=e,le=Krt(e,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName","overlayClassName","styles","classNames"]),de=x("tooltip",l),ve=x(),ne=e["data-popover-inject"];let ue=k;!("open"in e)&&!("visible"in e)&&L&&(ue=!1);const ge=p.isValidElement(h)&&!VSe(h)?h:p.createElement("span",null,h),Ce=ge.props,Te=!Ce.className||typeof Ce.className=="string"?xe(Ce.className,c||`${de}-open`):Ce.className,[Se,me,be]=RCe(de,!ne),_e=ICe(de,d),Re=_e.arrowStyle,De=xe(ie,{[`${de}-rtl`]:A==="rtl"},_e.className,Q,me,be,I==null?void 0:I.className,(i=I==null?void 0:I.classNames)===null||i===void 0?void 0:i.root,pe==null?void 0:pe.root),z=xe((o=I==null?void 0:I.classNames)===null||o===void 0?void 0:o.body,pe==null?void 0:pe.body),[D,q]=Ru("Tooltip",le.zIndex),oe=p.createElement(Brt,Object.assign({},le,{zIndex:D,showArrow:w,placement:Z,mouseEnterDelay:te,mouseLeaveDelay:ae,prefixCls:de,classNames:{root:De,body:z},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Re),(a=I==null?void 0:I.styles)===null||a===void 0?void 0:a.root),I==null?void 0:I.style),K),he==null?void 0:he.root),body:Object.assign(Object.assign(Object.assign(Object.assign({},(s=I==null?void 0:I.styles)===null||s===void 0?void 0:s.body),f),he==null?void 0:he.body),_e.overlayStyle)},getTooltipContainer:U||u||O,ref:B,builtinPlacements:$,overlay:j,visible:ue,onVisibleChange:V,afterVisibleChange:m??g,arrowContent:p.createElement("span",{className:`${de}-arrow-content`}),motion:{motionName:Va(ve,"zoom-big-fast",e.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!v}),ue?Eo(ge,{className:Te}):ge);return Se(p.createElement(r2.Provider,{value:q},oe))}),Aa=Qrt;Aa._InternalPanelDoNotUseOrYouWillBeFired=Yrt;const Xrt=e=>{const{componentCls:t,popoverColor:n,titleMinWidth:r,fontWeightStrong:i,innerPadding:o,boxShadowSecondary:a,colorTextHeading:s,borderRadiusLG:l,zIndexPopup:c,titleMarginBottom:u,colorBgElevated:d,popoverBg:f,titleBorderBottom:h,innerContentPadding:m,titlePadding:g}=e;return[{[t]:Object.assign(Object.assign({},gr(e)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:c,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text","--valid-offset-x":"var(--arrow-offset-horizontal, var(--arrow-x))",transformOrigin:["var(--valid-offset-x, 50%)","var(--arrow-y, 50%)"].join(" "),"--antd-arrow-background-color":d,width:"max-content",maxWidth:"100vw","&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${t}-content`]:{position:"relative"},[`${t}-inner`]:{backgroundColor:f,backgroundClip:"padding-box",borderRadius:l,boxShadow:a,padding:o},[`${t}-title`]:{minWidth:r,marginBottom:u,color:s,fontWeight:i,borderBottom:h,padding:g},[`${t}-inner-content`]:{color:n,padding:m}})},Jq(e,"var(--antd-arrow-background-color)"),{[`${t}-pure`]:{position:"relative",maxWidth:"none",margin:e.sizePopupArrow,display:"inline-block",[`${t}-content`]:{display:"inline-block"}}}]},Zrt=e=>{const{componentCls:t}=e;return{[t]:Hv.map(n=>{const r=e[`${n}6`];return{[`&${t}-${n}`]:{"--antd-arrow-background-color":r,[`${t}-inner`]:{backgroundColor:r},[`${t}-arrow`]:{background:"transparent"}}}})}},Jrt=e=>{const{lineWidth:t,controlHeight:n,fontHeight:r,padding:i,wireframe:o,zIndexPopupBase:a,borderRadiusLG:s,marginXS:l,lineType:c,colorSplit:u,paddingSM:d}=e,f=n-r,h=f/2,m=f/2-t,g=i;return Object.assign(Object.assign(Object.assign({titleMinWidth:177,zIndexPopup:a+30},Z5(e)),J5({contentRadius:s,limitVerticalRadius:!0})),{innerPadding:o?0:12,titleMarginBottom:o?0:l,titlePadding:o?`${h}px ${g}px ${m}px`:0,titleBorderBottom:o?`${t}px ${c} ${u}`:"none",innerContentPadding:o?`${d}px ${g}px`:0})},ACe=lr("Popover",e=>{const{colorBgElevated:t,colorText:n}=e,r=Kn(e,{popoverBg:t,popoverColor:n});return[Xrt(r),Zrt(r),gS(r,"zoom-big")]},Jrt,{resetStyle:!1,deprecatedTokens:[["width","titleMinWidth"],["minWidth","titleMinWidth"]]});var eit=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{title:t,content:n,prefixCls:r}=e;return!t&&!n?null:p.createElement(p.Fragment,null,t&&p.createElement("div",{className:`${r}-title`},t),n&&p.createElement("div",{className:`${r}-inner-content`},n))},tit=e=>{const{hashId:t,prefixCls:n,className:r,style:i,placement:o="top",title:a,content:s,children:l}=e,c=h_(a),u=h_(s),d=xe(t,n,`${n}-pure`,`${n}-placement-${o}`,r);return p.createElement("div",{className:d,style:i},p.createElement("div",{className:`${n}-arrow`}),p.createElement(Zq,Object.assign({},e,{className:t,prefixCls:n}),l||p.createElement(NCe,{prefixCls:n,title:c,content:u})))},MCe=e=>{const{prefixCls:t,className:n}=e,r=eit(e,["prefixCls","className"]),{getPrefixCls:i}=p.useContext(Xt),o=i("popover",t),[a,s,l]=ACe(o);return a(p.createElement(tit,Object.assign({},r,{prefixCls:o,hashId:s,className:xe(n,l)})))};var nit=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r,i,o,a,s;const{prefixCls:l,title:c,content:u,overlayClassName:d,placement:f="top",trigger:h="hover",children:m,mouseEnterDelay:g=.1,mouseLeaveDelay:v=.1,onOpenChange:y,overlayStyle:b={},styles:_,classNames:E}=e,C=nit(e,["prefixCls","title","content","overlayClassName","placement","trigger","children","mouseEnterDelay","mouseLeaveDelay","onOpenChange","overlayStyle","styles","classNames"]),{popover:S,getPrefixCls:w}=p.useContext(Xt),T=w("popover",l),[O,x,A]=ACe(T),I=w(),M=xe(d,x,A,(n=S==null?void 0:S.classNames)===null||n===void 0?void 0:n.root,E==null?void 0:E.root),B=xe((r=S==null?void 0:S.classNames)===null||r===void 0?void 0:r.body,E==null?void 0:E.body),[P,k]=Pn(!1,{value:(i=e.open)!==null&&i!==void 0?i:e.visible,defaultValue:(o=e.defaultOpen)!==null&&o!==void 0?o:e.defaultVisible}),N=(j,U)=>{k(j,!0),y==null||y(j,U)},L=j=>{j.keyCode===dt.ESC&&N(!1,j)},V=j=>{N(j)},$=h_(c),W=h_(u);return O(p.createElement(Aa,Object.assign({placement:f,trigger:h,mouseEnterDelay:g,mouseLeaveDelay:v},C,{prefixCls:T,classNames:{root:M,body:B},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},(a=S==null?void 0:S.styles)===null||a===void 0?void 0:a.root),S==null?void 0:S.style),b),_==null?void 0:_.root),body:Object.assign(Object.assign({},(s=S==null?void 0:S.styles)===null||s===void 0?void 0:s.body),_==null?void 0:_.body)},ref:t,open:P,onOpenChange:V,overlay:$||W?p.createElement(NCe,{prefixCls:T,title:$,content:W}):null,transitionName:Va(I,"zoom-big",C.transitionName),"data-popover-inject":!0}),Eo(m,{onKeyDown:j=>{var U,Z;p.isValidElement(m)&&((Z=m==null?void 0:(U=m.props).onKeyDown)===null||Z===void 0||Z.call(U,j)),L(j)}})))}),yu=rit;yu._InternalPanelDoNotUseOrYouWillBeFired=MCe;const tie=e=>{const{size:t,shape:n}=p.useContext(GH),r=p.useMemo(()=>({size:e.size||t,shape:e.shape||n}),[e.size,e.shape,t,n]);return p.createElement(GH.Provider,{value:r},e.children)},iit=e=>{var t,n,r,i;const{getPrefixCls:o,direction:a}=p.useContext(Xt),{prefixCls:s,className:l,rootClassName:c,style:u,maxCount:d,maxStyle:f,size:h,shape:m,maxPopoverPlacement:g,maxPopoverTrigger:v,children:y,max:b}=e,_=o("avatar",s),E=`${_}-group`,C=ui(_),[S,w,T]=CCe(_,C),O=xe(E,{[`${E}-rtl`]:a==="rtl"},T,C,l,c,w),x=ko(y).map((M,B)=>Eo(M,{key:`avatar-key-${B}`})),A=(b==null?void 0:b.count)||d,I=x.length;if(A&&A{const{componentCls:t,iconCls:n,antCls:r,badgeShadowSize:i,textFontSize:o,textFontSizeSM:a,statusSize:s,dotSize:l,textFontWeight:c,indicatorHeight:u,indicatorHeightSM:d,marginXS:f,calc:h}=e,m=`${r}-scroll-number`,g=x5(e,(v,y)=>{let{darkColor:b}=y;return{[`&${t} ${t}-color-${v}`]:{background:b,[`&:not(${t}-count)`]:{color:b},"a:hover &":{background:b}}}});return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{position:"relative",display:"inline-block",width:"fit-content",lineHeight:1,[`${t}-count`]:{display:"inline-flex",justifyContent:"center",zIndex:e.indicatorZIndex,minWidth:u,height:u,color:e.badgeTextColor,fontWeight:c,fontSize:o,lineHeight:Ae(u),whiteSpace:"nowrap",textAlign:"center",background:e.badgeColor,borderRadius:h(u).div(2).equal(),boxShadow:`0 0 0 ${Ae(i)} ${e.badgeShadowColor}`,transition:`background ${e.motionDurationMid}`,a:{color:e.badgeTextColor},"a:hover":{color:e.badgeTextColor},"a:hover &":{background:e.badgeColorHover}},[`${t}-count-sm`]:{minWidth:d,height:d,fontSize:a,lineHeight:Ae(d),borderRadius:h(d).div(2).equal()},[`${t}-multiple-words`]:{padding:`0 ${Ae(e.paddingXS)}`,bdi:{unicodeBidi:"plaintext"}},[`${t}-dot`]:{zIndex:e.indicatorZIndex,width:l,minWidth:l,height:l,background:e.badgeColor,borderRadius:"100%",boxShadow:`0 0 0 ${Ae(i)} ${e.badgeShadowColor}`},[`${t}-count, ${t}-dot, ${m}-custom-component`]:{position:"absolute",top:0,insetInlineEnd:0,transform:"translate(50%, -50%)",transformOrigin:"100% 0%",[`&${n}-spin`]:{animationName:uit,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear"}},[`&${t}-status`]:{lineHeight:"inherit",verticalAlign:"baseline",[`${t}-status-dot`]:{position:"relative",top:-1,display:"inline-block",width:s,height:s,verticalAlign:"middle",borderRadius:"50%"},[`${t}-status-success`]:{backgroundColor:e.colorSuccess},[`${t}-status-processing`]:{overflow:"visible",color:e.colorInfo,backgroundColor:e.colorInfo,borderColor:"currentcolor","&::after":{position:"absolute",top:0,insetInlineStart:0,width:"100%",height:"100%",borderWidth:i,borderStyle:"solid",borderColor:"inherit",borderRadius:"50%",animationName:oit,animationDuration:e.badgeProcessingDuration,animationIterationCount:"infinite",animationTimingFunction:"ease-in-out",content:'""'}},[`${t}-status-default`]:{backgroundColor:e.colorTextPlaceholder},[`${t}-status-error`]:{backgroundColor:e.colorError},[`${t}-status-warning`]:{backgroundColor:e.colorWarning},[`${t}-status-text`]:{marginInlineStart:f,color:e.colorText,fontSize:e.fontSize}}}),g),{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:ait,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`${t}-zoom-leave`]:{animationName:sit,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack,animationFillMode:"both"},[`&${t}-not-a-wrapper`]:{[`${t}-zoom-appear, ${t}-zoom-enter`]:{animationName:lit,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`${t}-zoom-leave`]:{animationName:cit,animationDuration:e.motionDurationSlow,animationTimingFunction:e.motionEaseOutBack},[`&:not(${t}-status)`]:{verticalAlign:"middle"},[`${m}-custom-component, ${t}-count`]:{transform:"none"},[`${m}-custom-component, ${m}`]:{position:"relative",top:"auto",display:"block",transformOrigin:"50% 50%"}},[m]:{overflow:"hidden",transition:`all ${e.motionDurationMid} ${e.motionEaseOutBack}`,[`${m}-only`]:{position:"relative",display:"inline-block",height:u,transition:`all ${e.motionDurationSlow} ${e.motionEaseOutBack}`,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden",[`> p${m}-only-unit`]:{height:u,margin:0,WebkitTransformStyle:"preserve-3d",WebkitBackfaceVisibility:"hidden"}},[`${m}-symbol`]:{verticalAlign:"top"}},"&-rtl":{direction:"rtl",[`${t}-count, ${t}-dot, ${m}-custom-component`]:{transform:"translate(-50%, -50%)"}}})}},kCe=e=>{const{fontHeight:t,lineWidth:n,marginXS:r,colorBorderBg:i}=e,o=t,a=n,s=e.colorTextLightSolid,l=e.colorError,c=e.colorErrorHover;return Kn(e,{badgeFontHeight:o,badgeShadowSize:a,badgeTextColor:s,badgeColor:l,badgeColorHover:c,badgeShadowColor:i,badgeProcessingDuration:"1.2s",badgeRibbonOffset:r,badgeRibbonCornerTransform:"scaleY(0.75)",badgeRibbonCornerFilter:"brightness(75%)"})},PCe=e=>{const{fontSize:t,lineHeight:n,fontSizeSM:r,lineWidth:i}=e;return{indicatorZIndex:"auto",indicatorHeight:Math.round(t*n)-2*i,indicatorHeightSM:t,dotSize:r/2,textFontSize:r,textFontSizeSM:r,textFontWeight:"normal",statusSize:r/2}},fit=lr("Badge",e=>{const t=kCe(e);return dit(t)},PCe),pit=e=>{const{antCls:t,badgeFontHeight:n,marginXS:r,badgeRibbonOffset:i,calc:o}=e,a=`${t}-ribbon`,s=`${t}-ribbon-wrapper`,l=x5(e,(c,u)=>{let{darkColor:d}=u;return{[`&${a}-color-${c}`]:{background:d,color:d}}});return{[s]:{position:"relative"},[a]:Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{position:"absolute",top:r,padding:`0 ${Ae(e.paddingXS)}`,color:e.colorPrimary,lineHeight:Ae(n),whiteSpace:"nowrap",backgroundColor:e.colorPrimary,borderRadius:e.borderRadiusSM,[`${a}-text`]:{color:e.badgeTextColor},[`${a}-corner`]:{position:"absolute",top:"100%",width:i,height:i,color:"currentcolor",border:`${Ae(o(i).div(2).equal())} solid`,transform:e.badgeRibbonCornerTransform,transformOrigin:"top",filter:e.badgeRibbonCornerFilter}}),l),{[`&${a}-placement-end`]:{insetInlineEnd:o(i).mul(-1).equal(),borderEndEndRadius:0,[`${a}-corner`]:{insetInlineEnd:0,borderInlineEndColor:"transparent",borderBlockEndColor:"transparent"}},[`&${a}-placement-start`]:{insetInlineStart:o(i).mul(-1).equal(),borderEndStartRadius:0,[`${a}-corner`]:{insetInlineStart:0,borderBlockEndColor:"transparent",borderInlineStartColor:"transparent"}},"&-rtl":{direction:"rtl"}})}},hit=lr(["Badge","Ribbon"],e=>{const t=kCe(e);return pit(t)},PCe),mit=e=>{const{className:t,prefixCls:n,style:r,color:i,children:o,text:a,placement:s="end",rootClassName:l}=e,{getPrefixCls:c,direction:u}=p.useContext(Xt),d=c("ribbon",n),f=`${d}-wrapper`,[h,m,g]=hit(d,f),v=eD(i,!1),y=xe(d,`${d}-placement-${s}`,{[`${d}-rtl`]:u==="rtl",[`${d}-color-${i}`]:v},t),b={},_={};return i&&!v&&(b.background=i,_.color=i),h(p.createElement("div",{className:xe(f,l,m,g)},o,p.createElement("div",{className:xe(y,m),style:Object.assign(Object.assign({},b),r)},p.createElement("span",{className:`${d}-text`},a),p.createElement("div",{className:`${d}-corner`,style:_}))))},nie=e=>{const{prefixCls:t,value:n,current:r,offset:i=0}=e;let o;return i&&(o={position:"absolute",top:`${i}00%`,left:0}),p.createElement("span",{style:o,className:xe(`${t}-only-unit`,{current:r})},n)};function git(e,t,n){let r=e,i=0;for(;(r+10)%10!==t;)r+=n,i+=n;return i}const vit=e=>{const{prefixCls:t,count:n,value:r}=e,i=Number(r),o=Math.abs(n),[a,s]=p.useState(i),[l,c]=p.useState(o),u=()=>{s(i),c(o)};p.useEffect(()=>{const h=setTimeout(u,1e3);return()=>clearTimeout(h)},[i]);let d,f;if(a===i||Number.isNaN(i)||Number.isNaN(a))d=[p.createElement(nie,Object.assign({},e,{key:i,current:!0}))],f={transition:"none"};else{d=[];const h=i+10,m=[];for(let b=i;b<=h;b+=1)m.push(b);const g=lb%10===a);d=(g<0?m.slice(0,v+1):m.slice(v)).map((b,_)=>{const E=b%10;return p.createElement(nie,Object.assign({},e,{key:b,value:E,offset:g<0?_-v:_,current:_===v}))}),f={transform:`translateY(${-git(a,i,g)}00%)`}}return p.createElement("span",{className:`${t}-only`,style:f,onTransitionEnd:u},d)};var bit=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,count:r,className:i,motionClassName:o,style:a,title:s,show:l,component:c="sup",children:u}=e,d=bit(e,["prefixCls","count","className","motionClassName","style","title","show","component","children"]),{getPrefixCls:f}=p.useContext(Xt),h=f("scroll-number",n),m=Object.assign(Object.assign({},d),{"data-show":l,style:a,className:xe(h,i,o),title:s});let g=r;if(r&&Number(r)%1===0){const v=String(r).split("");g=p.createElement("bdi",null,v.map((y,b)=>p.createElement(vit,{prefixCls:h,count:Number(r),value:y,key:v.length-b})))}return a!=null&&a.borderColor&&(m.style=Object.assign(Object.assign({},a),{boxShadow:`0 0 0 1px ${a.borderColor} inset`})),u?Eo(u,v=>({className:xe(`${h}-custom-component`,v==null?void 0:v.className,o)})):p.createElement(c,Object.assign({},m,{ref:t}),g)});var _it=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r,i,o,a;const{prefixCls:s,scrollNumberPrefixCls:l,children:c,status:u,text:d,color:f,count:h=null,overflowCount:m=99,dot:g=!1,size:v="default",title:y,offset:b,style:_,className:E,rootClassName:C,classNames:S,styles:w,showZero:T=!1}=e,O=_it(e,["prefixCls","scrollNumberPrefixCls","children","status","text","color","count","overflowCount","dot","size","title","offset","style","className","rootClassName","classNames","styles","showZero"]),{getPrefixCls:x,direction:A,badge:I}=p.useContext(Xt),M=x("badge",s),[B,P,k]=fit(M),N=h>m?`${m}+`:h,L=N==="0"||N===0,V=h===null||L&&!T,$=(u!=null||f!=null)&&V,W=g&&!L,j=W?"":N,U=p.useMemo(()=>(j==null||j===""||L&&!T)&&!W,[j,L,T,W]),Z=p.useRef(h);U||(Z.current=h);const te=Z.current,ae=p.useRef(j);U||(ae.current=j);const K=ae.current,Q=p.useRef(W);U||(Q.current=W);const ie=p.useMemo(()=>{if(!b)return Object.assign(Object.assign({},I==null?void 0:I.style),_);const ge={marginTop:b[1]};return A==="rtl"?ge.left=parseInt(b[0],10):ge.right=-parseInt(b[0],10),Object.assign(Object.assign(Object.assign({},ge),I==null?void 0:I.style),_)},[A,b,_,I==null?void 0:I.style]),he=y??(typeof te=="string"||typeof te=="number"?te:void 0),pe=U||!d?null:p.createElement("span",{className:`${M}-status-text`},d),le=!te||typeof te!="object"?void 0:Eo(te,ge=>({style:Object.assign(Object.assign({},ie),ge.style)})),de=eD(f,!1),ve=xe(S==null?void 0:S.indicator,(n=I==null?void 0:I.classNames)===null||n===void 0?void 0:n.indicator,{[`${M}-status-dot`]:$,[`${M}-status-${u}`]:!!u,[`${M}-color-${f}`]:de}),ne={};f&&!de&&(ne.color=f,ne.background=f);const ue=xe(M,{[`${M}-status`]:$,[`${M}-not-a-wrapper`]:!c,[`${M}-rtl`]:A==="rtl"},E,C,I==null?void 0:I.className,(r=I==null?void 0:I.classNames)===null||r===void 0?void 0:r.root,S==null?void 0:S.root,P,k);if(!c&&$){const ge=ie.color;return B(p.createElement("span",Object.assign({},O,{className:ue,style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.root),(i=I==null?void 0:I.styles)===null||i===void 0?void 0:i.root),ie)}),p.createElement("span",{className:ve,style:Object.assign(Object.assign(Object.assign({},w==null?void 0:w.indicator),(o=I==null?void 0:I.styles)===null||o===void 0?void 0:o.indicator),ne)}),d&&p.createElement("span",{style:{color:ge},className:`${M}-status-text`},d)))}return B(p.createElement("span",Object.assign({ref:t},O,{className:ue,style:Object.assign(Object.assign({},(a=I==null?void 0:I.styles)===null||a===void 0?void 0:a.root),w==null?void 0:w.root)}),c,p.createElement(ia,{visible:!U,motionName:`${M}-zoom`,motionAppear:!1,motionDeadline:1e3},ge=>{let{className:Ce}=ge;var Te,Se;const me=x("scroll-number",l),be=Q.current,_e=xe(S==null?void 0:S.indicator,(Te=I==null?void 0:I.classNames)===null||Te===void 0?void 0:Te.indicator,{[`${M}-dot`]:be,[`${M}-count`]:!be,[`${M}-count-sm`]:v==="small",[`${M}-multiple-words`]:!be&&K&&K.toString().length>1,[`${M}-status-${u}`]:!!u,[`${M}-color-${f}`]:de});let Re=Object.assign(Object.assign(Object.assign({},w==null?void 0:w.indicator),(Se=I==null?void 0:I.styles)===null||Se===void 0?void 0:Se.indicator),ie);return f&&!de&&(Re=Re||{},Re.background=f),p.createElement(yit,{prefixCls:me,show:!U,motionClassName:Ce,className:_e,count:K,title:he,style:Re,key:"scrollNumber"},le)}),pe))}),gl=Sit;gl.Ribbon=mit;var Eit=dt.ESC,Cit=dt.TAB;function wit(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,i=e.autoFocus,o=e.overlayRef,a=p.useRef(!1),s=function(){if(t){var d,f;(d=n.current)===null||d===void 0||(f=d.focus)===null||f===void 0||f.call(d),r==null||r(!1)}},l=function(){var d;return(d=o.current)!==null&&d!==void 0&&d.focus?(o.current.focus(),a.current=!0,!0):!1},c=function(d){switch(d.keyCode){case Eit:s();break;case Cit:{var f=!1;a.current||(f=l()),f?d.preventDefault():s();break}}};p.useEffect(function(){return t?(window.addEventListener("keydown",c),i&&nr(l,3),function(){window.removeEventListener("keydown",c),a.current=!1}):function(){a.current=!1}},[t])}var Tit=p.forwardRef(function(e,t){var n=e.overlay,r=e.arrow,i=e.prefixCls,o=p.useMemo(function(){var s;return typeof n=="function"?s=n():s=n,s},[n]),a=aa(t,Ig(o));return se.createElement(se.Fragment,null,r&&se.createElement("div",{className:"".concat(i,"-arrow")}),se.cloneElement(o,{ref:Cd(o)?a:void 0}))}),rb={adjustX:1,adjustY:1},ib=[0,0],xit={topLeft:{points:["bl","tl"],overflow:rb,offset:[0,-4],targetOffset:ib},top:{points:["bc","tc"],overflow:rb,offset:[0,-4],targetOffset:ib},topRight:{points:["br","tr"],overflow:rb,offset:[0,-4],targetOffset:ib},bottomLeft:{points:["tl","bl"],overflow:rb,offset:[0,4],targetOffset:ib},bottom:{points:["tc","bc"],overflow:rb,offset:[0,4],targetOffset:ib},bottomRight:{points:["tr","br"],overflow:rb,offset:[0,4],targetOffset:ib}},Oit=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Rit(e,t){var n,r=e.arrow,i=r===void 0?!1:r,o=e.prefixCls,a=o===void 0?"rc-dropdown":o,s=e.transitionName,l=e.animation,c=e.align,u=e.placement,d=u===void 0?"bottomLeft":u,f=e.placements,h=f===void 0?xit:f,m=e.getPopupContainer,g=e.showAction,v=e.hideAction,y=e.overlayClassName,b=e.overlayStyle,_=e.visible,E=e.trigger,C=E===void 0?["hover"]:E,S=e.autoFocus,w=e.overlay,T=e.children,O=e.onVisibleChange,x=Dt(e,Oit),A=se.useState(),I=Ie(A,2),M=I[0],B=I[1],P="visible"in e?_:M,k=se.useRef(null),N=se.useRef(null),L=se.useRef(null);se.useImperativeHandle(t,function(){return k.current});var V=function(Q){B(Q),O==null||O(Q)};wit({visible:P,triggerRef:L,onVisibleChange:V,autoFocus:S,overlayRef:N});var $=function(Q){var ie=e.onOverlayClick;B(!1),ie&&ie(Q)},W=function(){return se.createElement(Tit,{ref:N,overlay:w,prefixCls:a,arrow:i})},j=function(){return typeof w=="function"?W:W()},U=function(){var Q=e.minOverlayWidthMatchTrigger,ie=e.alignPoint;return"minOverlayWidthMatchTrigger"in e?Q:!ie},Z=function(){var Q=e.openClassName;return Q!==void 0?Q:"".concat(a,"-open")},te=se.cloneElement(T,{className:xe((n=T.props)===null||n===void 0?void 0:n.className,P&&Z()),ref:Cd(T)?aa(L,Ig(T)):void 0}),ae=v;return!ae&&C.indexOf("contextMenu")!==-1&&(ae=["click"]),se.createElement(f2,Ke({builtinPlacements:h},x,{prefixCls:a,ref:k,popupClassName:xe(y,ee({},"".concat(a,"-show-arrow"),i)),popupStyle:b,action:C,showAction:g,hideAction:ae,popupPlacement:d,popupAlign:c,popupTransitionName:s,popupAnimation:l,popupVisible:P,stretch:U()?"minWidth":"",popup:j(),onPopupVisibleChange:V,onPopupClick:$,getPopupContainer:m}),te)}const DCe=se.forwardRef(Rit),Iit=e=>typeof e!="object"&&typeof e!="function"||e===null;var LCe=p.createContext(null);function $Ce(e,t){return e===void 0?null:"".concat(e,"-").concat(t)}function FCe(e){var t=p.useContext(LCe);return $Ce(t,e)}var Ait=["children","locked"],Ad=p.createContext(null);function Nit(e,t){var n=G({},e);return Object.keys(t).forEach(function(r){var i=t[r];i!==void 0&&(n[r]=i)}),n}function LT(e){var t=e.children,n=e.locked,r=Dt(e,Ait),i=p.useContext(Ad),o=lh(function(){return Nit(i,r)},[i,r],function(a,s){return!n&&(a[0]!==s[0]||!vu(a[1],s[1],!0))});return p.createElement(Ad.Provider,{value:o},t)}var Mit=[],BCe=p.createContext(null);function tD(){return p.useContext(BCe)}var jCe=p.createContext(Mit);function _S(e){var t=p.useContext(jCe);return p.useMemo(function(){return e!==void 0?[].concat(nt(t),[e]):t},[t,e])}var HCe=p.createContext(null),eY=p.createContext({});function rie(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(mS(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||n==="a"&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),o=Number(i),a=null;return i&&!Number.isNaN(o)?a=o:r&&a===null&&(a=0),r&&e.disabled&&(a=null),a!==null&&(a>=0||t&&a<0)}return!1}function kit(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=nt(e.querySelectorAll("*")).filter(function(r){return rie(r,t)});return rie(e,t)&&n.unshift(e),n}var WH=dt.LEFT,qH=dt.RIGHT,YH=dt.UP,BA=dt.DOWN,jA=dt.ENTER,UCe=dt.ESC,LE=dt.HOME,$E=dt.END,iie=[YH,BA,WH,qH];function Pit(e,t,n,r){var i,o="prev",a="next",s="children",l="parent";if(e==="inline"&&r===jA)return{inlineTrigger:!0};var c=ee(ee({},YH,o),BA,a),u=ee(ee(ee(ee({},WH,n?a:o),qH,n?o:a),BA,s),jA,s),d=ee(ee(ee(ee(ee(ee({},YH,o),BA,a),jA,s),UCe,l),WH,n?s:l),qH,n?l:s),f={inline:c,horizontal:u,vertical:d,inlineSub:c,horizontalSub:d,verticalSub:d},h=(i=f["".concat(e).concat(t?"":"Sub")])===null||i===void 0?void 0:i[r];switch(h){case o:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case l:return{offset:-1,sibling:!1};case s:return{offset:1,sibling:!1};default:return null}}function Dit(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}function Lit(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}function tY(e,t){var n=kit(e,!0);return n.filter(function(r){return t.has(r)})}function oie(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!e)return null;var i=tY(e,t),o=i.length,a=i.findIndex(function(s){return n===s});return r<0?a===-1?a=o-1:a-=1:r>0&&(a+=1),a=(a+o)%o,i[a]}var KH=function(t,n){var r=new Set,i=new Map,o=new Map;return t.forEach(function(a){var s=document.querySelector("[data-menu-id='".concat($Ce(n,a),"']"));s&&(r.add(s),o.set(s,a),i.set(a,s))}),{elements:r,key2element:i,element2key:o}};function $it(e,t,n,r,i,o,a,s,l,c){var u=p.useRef(),d=p.useRef();d.current=t;var f=function(){nr.cancel(u.current)};return p.useEffect(function(){return function(){f()}},[]),function(h){var m=h.which;if([].concat(iie,[jA,UCe,LE,$E]).includes(m)){var g=o(),v=KH(g,r),y=v,b=y.elements,_=y.key2element,E=y.element2key,C=_.get(t),S=Lit(C,b),w=E.get(S),T=Pit(e,a(w,!0).length===1,n,m);if(!T&&m!==LE&&m!==$E)return;(iie.includes(m)||[LE,$E].includes(m))&&h.preventDefault();var O=function(N){if(N){var L=N,V=N.querySelector("a");V!=null&&V.getAttribute("href")&&(L=V);var $=E.get(N);s($),f(),u.current=nr(function(){d.current===$&&L.focus()})}};if([LE,$E].includes(m)||T.sibling||!S){var x;!S||e==="inline"?x=i.current:x=Dit(S);var A,I=tY(x,b);m===LE?A=I[0]:m===$E?A=I[I.length-1]:A=oie(x,b,S,T.offset),O(A)}else if(T.inlineTrigger)l(w);else if(T.offset>0)l(w,!0),f(),u.current=nr(function(){v=KH(g,r);var k=S.getAttribute("aria-controls"),N=document.getElementById(k),L=oie(N,v.elements);O(L)},5);else if(T.offset<0){var M=a(w,!0),B=M[M.length-2],P=_.get(B);l(B,!1),O(P)}}c==null||c(h)}}function Fit(e){Promise.resolve().then(e)}var nY="__RC_UTIL_PATH_SPLIT__",aie=function(t){return t.join(nY)},Bit=function(t){return t.split(nY)},QH="rc-menu-more";function jit(){var e=p.useState({}),t=Ie(e,2),n=t[1],r=p.useRef(new Map),i=p.useRef(new Map),o=p.useState([]),a=Ie(o,2),s=a[0],l=a[1],c=p.useRef(0),u=p.useRef(!1),d=function(){u.current||n({})},f=p.useCallback(function(_,E){var C=aie(E);i.current.set(C,_),r.current.set(_,C),c.current+=1;var S=c.current;Fit(function(){S===c.current&&d()})},[]),h=p.useCallback(function(_,E){var C=aie(E);i.current.delete(C),r.current.delete(_)},[]),m=p.useCallback(function(_){l(_)},[]),g=p.useCallback(function(_,E){var C=r.current.get(_)||"",S=Bit(C);return E&&s.includes(S[0])&&S.unshift(QH),S},[s]),v=p.useCallback(function(_,E){return _.filter(function(C){return C!==void 0}).some(function(C){var S=g(C,!0);return S.includes(E)})},[g]),y=function(){var E=nt(r.current.keys());return s.length&&E.push(QH),E},b=p.useCallback(function(_){var E="".concat(r.current.get(_)).concat(nY),C=new Set;return nt(i.current.keys()).forEach(function(S){S.startsWith(E)&&C.add(i.current.get(S))}),C},[]);return p.useEffect(function(){return function(){u.current=!0}},[]),{registerPath:f,unregisterPath:h,refreshOverflowKeys:m,isSubPathKey:v,getKeyPath:g,getKeys:y,getSubPathKeys:b}}function AC(e){var t=p.useRef(e);t.current=e;var n=p.useCallback(function(){for(var r,i=arguments.length,o=new Array(i),a=0;a1&&(b.motionAppear=!1);var _=b.onVisibleChanged;return b.onVisibleChanged=function(E){return!f.current&&!E&&v(!0),_==null?void 0:_(E)},g?null:p.createElement(LT,{mode:o,locked:!f.current},p.createElement(ia,Ke({visible:y},b,{forceRender:l,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(E){var C=E.className,S=E.style;return p.createElement(rY,{id:t,className:C,style:S},i)}))}var rot=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],iot=["active"],oot=p.forwardRef(function(e,t){var n=e.style,r=e.className,i=e.title,o=e.eventKey;e.warnKey;var a=e.disabled,s=e.internalPopupClose,l=e.children,c=e.itemIcon,u=e.expandIcon,d=e.popupClassName,f=e.popupOffset,h=e.popupStyle,m=e.onClick,g=e.onMouseEnter,v=e.onMouseLeave,y=e.onTitleClick,b=e.onTitleMouseEnter,_=e.onTitleMouseLeave,E=Dt(e,rot),C=FCe(o),S=p.useContext(Ad),w=S.prefixCls,T=S.mode,O=S.openKeys,x=S.disabled,A=S.overflowDisabled,I=S.activeKey,M=S.selectedKeys,B=S.itemIcon,P=S.expandIcon,k=S.onItemClick,N=S.onOpenChange,L=S.onActive,V=p.useContext(eY),$=V._internalRenderSubMenuItem,W=p.useContext(HCe),j=W.isSubPathKey,U=_S(),Z="".concat(w,"-submenu"),te=x||a,ae=p.useRef(),K=p.useRef(),Q=c??B,ie=u??P,he=O.includes(o),pe=!A&&he,le=j(M,o),de=zCe(o,te,b,_),ve=de.active,ne=Dt(de,iot),ue=p.useState(!1),ge=Ie(ue,2),Ce=ge[0],Te=ge[1],Se=function(Me){te||Te(Me)},me=function(Me){Se(!0),g==null||g({key:o,domEvent:Me})},be=function(Me){Se(!1),v==null||v({key:o,domEvent:Me})},_e=p.useMemo(function(){return ve||(T!=="inline"?Ce||j([I],o):!1)},[T,ve,I,Ce,o,j]),Re=VCe(U.length),De=function(Me){te||(y==null||y({key:o,domEvent:Me}),T==="inline"&&N(o,!he))},z=AC(function(re){m==null||m(WM(re)),k(re)}),D=function(Me){T!=="inline"&&N(o,Me)},q=function(){L(o)},oe=C&&"".concat(C,"-popup"),ye=p.createElement("div",Ke({role:"menuitem",style:Re,className:"".concat(Z,"-title"),tabIndex:te?null:-1,ref:ae,title:typeof i=="string"?i:null,"data-menu-id":A&&C?null:C,"aria-expanded":pe,"aria-haspopup":!0,"aria-controls":oe,"aria-disabled":te,onClick:De,onFocus:q},ne),i,p.createElement(GCe,{icon:T!=="horizontal"?ie:void 0,props:G(G({},e),{},{isOpen:pe,isSubMenu:!0})},p.createElement("i",{className:"".concat(Z,"-arrow")}))),ce=p.useRef(T);if(T!=="inline"&&U.length>1?ce.current="vertical":ce.current=T,!A){var Be=ce.current;ye=p.createElement(tot,{mode:Be,prefixCls:Z,visible:!s&&pe&&T!=="inline",popupClassName:d,popupOffset:f,popupStyle:h,popup:p.createElement(LT,{mode:Be==="horizontal"?"vertical":Be},p.createElement(rY,{id:oe,ref:K},l)),disabled:te,onVisibleChange:D},ye)}var Ve=p.createElement(pd.Item,Ke({ref:t,role:"none"},E,{component:"li",style:n,className:xe(Z,"".concat(Z,"-").concat(T),r,ee(ee(ee(ee({},"".concat(Z,"-open"),pe),"".concat(Z,"-active"),_e),"".concat(Z,"-selected"),le),"".concat(Z,"-disabled"),te)),onMouseEnter:me,onMouseLeave:be}),ye,!A&&p.createElement(not,{id:oe,open:pe,keyPath:U},l));return $&&(Ve=$(Ve,e,{selected:le,active:_e,open:pe,disabled:te})),p.createElement(LT,{onItemClick:z,mode:T==="horizontal"?"vertical":T,itemIcon:Q,expandIcon:ie},Ve)}),nD=p.forwardRef(function(e,t){var n=e.eventKey,r=e.children,i=_S(n),o=iY(r,i),a=tD();p.useEffect(function(){if(a)return a.registerPath(n,i),function(){a.unregisterPath(n,i)}},[i]);var s;return a?s=o:s=p.createElement(oot,Ke({ref:t},e),o),p.createElement(jCe.Provider,{value:i},s)});function oY(e){var t=e.className,n=e.style,r=p.useContext(Ad),i=r.prefixCls,o=tD();return o?null:p.createElement("li",{role:"separator",className:xe("".concat(i,"-item-divider"),t),style:n})}var aot=["className","title","eventKey","children"],sot=p.forwardRef(function(e,t){var n=e.className,r=e.title;e.eventKey;var i=e.children,o=Dt(e,aot),a=p.useContext(Ad),s=a.prefixCls,l="".concat(s,"-item-group");return p.createElement("li",Ke({ref:t,role:"presentation"},o,{onClick:function(u){return u.stopPropagation()},className:xe(l,n)}),p.createElement("div",{role:"presentation",className:"".concat(l,"-title"),title:typeof r=="string"?r:void 0},r),p.createElement("ul",{role:"group",className:"".concat(l,"-list")},i))}),aY=p.forwardRef(function(e,t){var n=e.eventKey,r=e.children,i=_S(n),o=iY(r,i),a=tD();return a?o:p.createElement(sot,Ke({ref:t},ur(e,["warnKey"])),o)}),lot=["label","children","key","type","extra"];function XH(e,t,n){var r=t.item,i=t.group,o=t.submenu,a=t.divider;return(e||[]).map(function(s,l){if(s&&Gt(s)==="object"){var c=s,u=c.label,d=c.children,f=c.key,h=c.type,m=c.extra,g=Dt(c,lot),v=f??"tmp-".concat(l);return d||h==="group"?h==="group"?p.createElement(i,Ke({key:v},g,{title:u}),XH(d,t,n)):p.createElement(o,Ke({key:v},g,{title:u}),XH(d,t,n)):h==="divider"?p.createElement(a,Ke({key:v},g)):p.createElement(r,Ke({key:v},g,{extra:m}),u,(!!m||m===0)&&p.createElement("span",{className:"".concat(n,"-item-extra")},m))}return null}).filter(function(s){return s})}function lie(e,t,n,r,i){var o=e,a=G({divider:oY,item:h2,group:aY,submenu:nD},r);return t&&(o=XH(t,a,i)),iY(o,n)}var cot=["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","_internalComponents"],r1=[],uot=p.forwardRef(function(e,t){var n,r=e,i=r.prefixCls,o=i===void 0?"rc-menu":i,a=r.rootClassName,s=r.style,l=r.className,c=r.tabIndex,u=c===void 0?0:c,d=r.items,f=r.children,h=r.direction,m=r.id,g=r.mode,v=g===void 0?"vertical":g,y=r.inlineCollapsed,b=r.disabled,_=r.disabledOverflow,E=r.subMenuOpenDelay,C=E===void 0?.1:E,S=r.subMenuCloseDelay,w=S===void 0?.1:S,T=r.forceSubMenuRender,O=r.defaultOpenKeys,x=r.openKeys,A=r.activeKey,I=r.defaultActiveFirst,M=r.selectable,B=M===void 0?!0:M,P=r.multiple,k=P===void 0?!1:P,N=r.defaultSelectedKeys,L=r.selectedKeys,V=r.onSelect,$=r.onDeselect,W=r.inlineIndent,j=W===void 0?24:W,U=r.motion,Z=r.defaultMotions,te=r.triggerSubMenuAction,ae=te===void 0?"hover":te,K=r.builtinPlacements,Q=r.itemIcon,ie=r.expandIcon,he=r.overflowedIndicator,pe=he===void 0?"...":he,le=r.overflowedIndicatorPopupClassName,de=r.getPopupContainer,ve=r.onClick,ne=r.onOpenChange,ue=r.onKeyDown;r.openAnimation,r.openTransitionName;var ge=r._internalRenderMenuItem,Ce=r._internalRenderSubMenuItem,Te=r._internalComponents,Se=Dt(r,cot),me=p.useMemo(function(){return[lie(f,d,r1,Te,o),lie(f,d,r1,{},o)]},[f,d,Te]),be=Ie(me,2),_e=be[0],Re=be[1],De=p.useState(!1),z=Ie(De,2),D=z[0],q=z[1],oe=p.useRef(),ye=Uit(m),ce=h==="rtl",Be=Pn(O,{value:x,postState:function(ln){return ln||r1}}),Ve=Ie(Be,2),re=Ve[0],Me=Ve[1],je=function(ln){var _n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function Cr(){Me(ln),ne==null||ne(ln)}_n?Ml.flushSync(Cr):Cr()},ke=p.useState(re),Ge=Ie(ke,2),Ue=Ge[0],qe=Ge[1],At=p.useRef(!1),at=p.useMemo(function(){return(v==="inline"||v==="vertical")&&y?["vertical",y]:[v,!1]},[v,y]),pt=Ie(at,2),Ct=pt[0],bt=pt[1],Vt=Ct==="inline",Tt=p.useState(Ct),Ot=Ie(Tt,2),Ut=Ot[0],ze=Ot[1],Ye=p.useState(bt),He=Ie(Ye,2),Ze=He[0],yt=He[1];p.useEffect(function(){ze(Ct),yt(bt),At.current&&(Vt?Me(Ue):je(r1))},[Ct,bt]);var _t=p.useState(0),Bt=Ie(_t,2),Nt=Bt[0],vt=Bt[1],ht=Nt>=_e.length-1||Ut!=="horizontal"||_;p.useEffect(function(){Vt&&qe(re)},[re]),p.useEffect(function(){return At.current=!0,function(){At.current=!1}},[]);var kt=jit(),Et=kt.registerPath,Yt=kt.unregisterPath,ct=kt.refreshOverflowKeys,Rt=kt.isSubPathKey,Ht=kt.getKeyPath,wt=kt.getKeys,St=kt.getSubPathKeys,jt=p.useMemo(function(){return{registerPath:Et,unregisterPath:Yt}},[Et,Yt]),Pe=p.useMemo(function(){return{isSubPathKey:Rt}},[Rt]);p.useEffect(function(){ct(ht?r1:_e.slice(Nt+1).map(function(Sr){return Sr.key}))},[Nt,ht]);var Pt=Pn(A||I&&((n=_e[0])===null||n===void 0?void 0:n.key),{value:A}),rt=Ie(Pt,2),Mt=rt[0],It=rt[1],xn=AC(function(Sr){It(Sr)}),Hn=AC(function(){It(void 0)});p.useImperativeHandle(t,function(){return{list:oe.current,focus:function(ln){var _n,Cr=wt(),on=KH(Cr,ye),an=on.elements,Gn=on.key2element,yr=on.element2key,oi=tY(oe.current,an),Zi=Mt??(oi[0]?yr.get(oi[0]):(_n=_e.find(function(Jn){return!Jn.props.disabled}))===null||_n===void 0?void 0:_n.key),tr=Gn.get(Zi);if(Zi&&tr){var Fi;tr==null||(Fi=tr.focus)===null||Fi===void 0||Fi.call(tr,ln)}}}});var R=Pn(N||[],{value:L,postState:function(ln){return Array.isArray(ln)?ln:ln==null?r1:[ln]}}),F=Ie(R,2),J=F[0],Oe=F[1],$e=function(ln){if(B){var _n=ln.key,Cr=J.includes(_n),on;k?Cr?on=J.filter(function(Gn){return Gn!==_n}):on=[].concat(nt(J),[_n]):on=[_n],Oe(on);var an=G(G({},ln),{},{selectedKeys:on});Cr?$==null||$(an):V==null||V(an)}!k&&re.length&&Ut!=="inline"&&je(r1)},et=AC(function(Sr){ve==null||ve(WM(Sr)),$e(Sr)}),$t=AC(function(Sr,ln){var _n=re.filter(function(on){return on!==Sr});if(ln)_n.push(Sr);else if(Ut!=="inline"){var Cr=St(Sr);_n=_n.filter(function(on){return!Cr.has(on)})}vu(re,_n,!0)||je(_n,!0)}),hn=function(ln,_n){var Cr=_n??!re.includes(ln);$t(ln,Cr)},Fn=$it(Ut,Mt,ce,ye,oe,wt,Ht,It,hn,ue);p.useEffect(function(){q(!0)},[]);var Xr=p.useMemo(function(){return{_internalRenderMenuItem:ge,_internalRenderSubMenuItem:Ce}},[ge,Ce]),Lr=Ut!=="horizontal"||_?_e:_e.map(function(Sr,ln){return p.createElement(LT,{key:Sr.key,overflowDisabled:ln>Nt},Sr)}),vi=p.createElement(pd,Ke({id:m,ref:oe,prefixCls:"".concat(o,"-overflow"),component:"ul",itemComponent:h2,className:xe(o,"".concat(o,"-root"),"".concat(o,"-").concat(Ut),l,ee(ee({},"".concat(o,"-inline-collapsed"),Ze),"".concat(o,"-rtl"),ce),a),dir:h,style:s,role:"menu",tabIndex:u,data:Lr,renderRawItem:function(ln){return ln},renderRawRest:function(ln){var _n=ln.length,Cr=_n?_e.slice(-_n):null;return p.createElement(nD,{eventKey:QH,title:pe,disabled:ht,internalPopupClose:_n===0,popupClassName:le},Cr)},maxCount:Ut!=="horizontal"||_?pd.INVALIDATE:pd.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(ln){vt(ln)},onKeyDown:Fn},Se));return p.createElement(eY.Provider,{value:Xr},p.createElement(LCe.Provider,{value:ye},p.createElement(LT,{prefixCls:o,rootClassName:a,mode:Ut,openKeys:re,rtl:ce,disabled:b,motion:D?U:null,defaultMotions:D?Z:null,activeKey:Mt,onActive:xn,onInactive:Hn,selectedKeys:J,inlineIndent:j,subMenuOpenDelay:C,subMenuCloseDelay:w,forceSubMenuRender:T,builtinPlacements:K,triggerSubMenuAction:ae,getPopupContainer:de,itemIcon:Q,expandIcon:ie,onItemClick:et,onOpenChange:$t},p.createElement(HCe.Provider,{value:Pe},vi),p.createElement("div",{style:{display:"none"},"aria-hidden":!0},p.createElement(BCe.Provider,{value:jt},Re)))))}),SS=uot;SS.Item=h2;SS.SubMenu=nD;SS.ItemGroup=aY;SS.Divider=oY;var dot={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"},fot=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:dot}))},qCe=p.forwardRef(fot),pot={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"},hot=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:pot}))},m_=p.forwardRef(hot);const YCe=p.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}}),mot=e=>{const{antCls:t,componentCls:n,colorText:r,footerBg:i,headerHeight:o,headerPadding:a,headerColor:s,footerPadding:l,fontSize:c,bodyBg:u,headerBg:d}=e;return{[n]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:u,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${n}-header`]:{height:o,padding:a,color:s,lineHeight:Ae(o),background:d,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:l,color:r,fontSize:c,background:i},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},KCe=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:i,controlHeightSM:o,marginXXS:a,colorTextLightSolid:s,colorBgContainer:l}=e,c=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${c}px`,headerColor:i,footerPadding:`${o}px ${c}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+a*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:i}},QCe=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]],XCe=lr("Layout",e=>[mot(e)],KCe,{deprecatedTokens:QCe}),got=e=>{const{componentCls:t,siderBg:n,motionDurationMid:r,motionDurationSlow:i,antCls:o,triggerHeight:a,triggerColor:s,triggerBg:l,headerHeight:c,zeroTriggerWidth:u,zeroTriggerHeight:d,borderRadiusLG:f,lightSiderBg:h,lightTriggerColor:m,lightTriggerBg:g,bodyBg:v}=e;return{[t]:{position:"relative",minWidth:0,background:n,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:a},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${o}-menu${o}-menu-inline-collapsed`]:{width:"auto"}},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:a,color:s,lineHeight:Ae(a),textAlign:"center",background:l,cursor:"pointer",transition:`all ${r}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:c,insetInlineEnd:e.calc(u).mul(-1).equal(),zIndex:1,width:u,height:d,color:s,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:n,borderRadius:`0 ${Ae(f)} ${Ae(f)} 0`,cursor:"pointer",transition:`background ${i} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${i}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(u).mul(-1).equal(),borderRadius:`${Ae(f)} 0 0 ${Ae(f)}`}}},"&-light":{background:h,[`${t}-trigger`]:{color:m,background:g},[`${t}-zero-width-trigger`]:{color:m,background:g,border:`1px solid ${v}`,borderInlineStart:0}}}}},vot=lr(["Layout","Sider"],e=>[got(e)],KCe,{deprecatedTokens:QCe});var bot=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i!Number.isNaN(Number.parseFloat(e))&&isFinite(e),rD=p.createContext({}),_ot=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),ZCe=p.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:i,children:o,defaultCollapsed:a=!1,theme:s="dark",style:l={},collapsible:c=!1,reverseArrow:u=!1,width:d=200,collapsedWidth:f=80,zeroWidthTriggerStyle:h,breakpoint:m,onCollapse:g,onBreakpoint:v}=e,y=bot(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:b}=p.useContext(YCe),[_,E]=p.useState("collapsed"in e?e.collapsed:a),[C,S]=p.useState(!1);p.useEffect(()=>{"collapsed"in e&&E(e.collapsed)},[e.collapsed]);const w=(Q,ie)=>{"collapsed"in e||E(Q),g==null||g(Q,ie)},{getPrefixCls:T,direction:O}=p.useContext(Xt),x=T("layout-sider",n),[A,I,M]=vot(x),B=p.useRef(null);B.current=Q=>{S(Q.matches),v==null||v(Q.matches),_!==Q.matches&&w(Q.matches,"responsive")},p.useEffect(()=>{function Q(he){return B.current(he)}let ie;if(typeof window<"u"){const{matchMedia:he}=window;if(he&&m&&m in cie){ie=he(`screen and (max-width: ${cie[m]})`);try{ie.addEventListener("change",Q)}catch{ie.addListener(Q)}Q(ie)}}return()=>{try{ie==null||ie.removeEventListener("change",Q)}catch{ie==null||ie.removeListener(Q)}}},[m]),p.useEffect(()=>{const Q=_ot("ant-sider-");return b.addSider(Q),()=>b.removeSider(Q)},[]);const P=()=>{w(!_,"clickTrigger")},k=ur(y,["collapsed"]),N=_?f:d,L=yot(N)?`${N}px`:String(N),V=parseFloat(String(f||0))===0?p.createElement("span",{onClick:P,className:xe(`${x}-zero-width-trigger`,`${x}-zero-width-trigger-${u?"right":"left"}`),style:h},i||p.createElement(qCe,null)):null,$=O==="rtl"==!u,U={expanded:$?p.createElement(uh,null):p.createElement(m_,null),collapsed:$?p.createElement(m_,null):p.createElement(uh,null)}[_?"collapsed":"expanded"],Z=i!==null?V||p.createElement("div",{className:`${x}-trigger`,onClick:P,style:{width:L}},i||U):null,te=Object.assign(Object.assign({},l),{flex:`0 0 ${L}`,maxWidth:L,minWidth:L,width:L}),ae=xe(x,`${x}-${s}`,{[`${x}-collapsed`]:!!_,[`${x}-has-trigger`]:c&&i!==null&&!V,[`${x}-below`]:!!C,[`${x}-zero-width`]:parseFloat(L)===0},r,I,M),K=p.useMemo(()=>({siderCollapsed:_}),[_]);return A(p.createElement(rD.Provider,{value:K},p.createElement("aside",Object.assign({className:ae},k,{style:te,ref:t}),p.createElement("div",{className:`${x}-children`},o),c||C&&V?Z:null)))});var Sot={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"},Eot=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Sot}))},sY=p.forwardRef(Eot);const qM=p.createContext({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});var Cot=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,className:n,dashed:r}=e,i=Cot(e,["prefixCls","className","dashed"]),{getPrefixCls:o}=p.useContext(Xt),a=o("menu",t),s=xe({[`${a}-item-divider-dashed`]:!!r},n);return p.createElement(oY,Object.assign({className:s},i))},ewe=e=>{var t;const{className:n,children:r,icon:i,title:o,danger:a,extra:s}=e,{prefixCls:l,firstLevel:c,direction:u,disableMenuItemTitleTooltip:d,inlineCollapsed:f}=p.useContext(qM),h=_=>{const E=r==null?void 0:r[0],C=p.createElement("span",{className:xe(`${l}-title-content`,{[`${l}-title-content-with-extra`]:!!s||s===0})},r);return(!i||p.isValidElement(r)&&r.type==="span")&&r&&_&&c&&typeof E=="string"?p.createElement("div",{className:`${l}-inline-collapsed-noicon`},E.charAt(0)):C},{siderCollapsed:m}=p.useContext(rD);let g=o;typeof o>"u"?g=c?r:"":o===!1&&(g="");const v={title:g};!m&&!f&&(v.title=null,v.open=!1);const y=ko(r).length;let b=p.createElement(h2,Object.assign({},ur(e,["title","icon","danger"]),{className:xe({[`${l}-item-danger`]:a,[`${l}-item-only-child`]:(i?y+1:y)===1},n),title:typeof o=="string"?o:void 0}),Eo(i,{className:xe(p.isValidElement(i)?(t=i.props)===null||t===void 0?void 0:t.className:"",`${l}-item-icon`)}),h(f));return d||(b=p.createElement(Aa,Object.assign({},v,{placement:u==="rtl"?"left":"right",classNames:{root:`${l}-inline-collapsed-tooltip`}}),b)),b};var wot=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{children:n}=e,r=wot(e,["children"]),i=p.useContext(YM),o=p.useMemo(()=>Object.assign(Object.assign({},i),r),[i,r.prefixCls,r.mode,r.selectable,r.rootClassName]),a=JGe(n),s=$d(t,a?Ig(n):null);return p.createElement(YM.Provider,{value:o},p.createElement(Rd,{space:!0},a?p.cloneElement(n,{ref:s}):n))}),Tot=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:r,colorSplit:i,lineWidth:o,lineType:a,itemPaddingInline:s}=e;return{[`${t}-horizontal`]:{lineHeight:r,border:0,borderBottom:`${Ae(o)} ${a} ${i}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:s},[`> ${t}-item:hover, > ${t}-item-active, > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}},xot=e=>{let{componentCls:t,menuArrowOffset:n,calc:r}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical, ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${Ae(r(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${Ae(n)})`}}}}},uie=e=>Object.assign({},Td(e)),die=(e,t)=>{const{componentCls:n,itemColor:r,itemSelectedColor:i,subMenuItemSelectedColor:o,groupTitleColor:a,itemBg:s,subMenuItemBg:l,itemSelectedBg:c,activeBarHeight:u,activeBarWidth:d,activeBarBorderWidth:f,motionDurationSlow:h,motionEaseInOut:m,motionEaseOut:g,itemPaddingInline:v,motionDurationMid:y,itemHoverColor:b,lineType:_,colorSplit:E,itemDisabledColor:C,dangerItemColor:S,dangerItemHoverColor:w,dangerItemSelectedColor:T,dangerItemActiveBg:O,dangerItemSelectedBg:x,popupBg:A,itemHoverBg:I,itemActiveBg:M,menuSubMenuBg:B,horizontalItemSelectedColor:P,horizontalItemSelectedBg:k,horizontalItemBorderRadius:N,horizontalItemHoverBg:L}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:r,background:s,[`&${n}-root:focus-visible`]:Object.assign({},uie(e)),[`${n}-item`]:{"&-group-title, &-extra":{color:a}},[`${n}-submenu-selected > ${n}-submenu-title`]:{color:o},[`${n}-item, ${n}-submenu-title`]:{color:r,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},uie(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${C} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:b}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:I},"&:active":{backgroundColor:M}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:I},"&:active":{backgroundColor:M}}},[`${n}-item-danger`]:{color:S,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:w}},[`&${n}-item:active`]:{background:O}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:i,[`&${n}-item-danger`]:{color:T},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:c,[`&${n}-item-danger`]:{backgroundColor:x}},[`&${n}-submenu > ${n}`]:{backgroundColor:B},[`&${n}-popup > ${n}`]:{backgroundColor:A},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:A},[`&${n}-horizontal`]:Object.assign(Object.assign({},t==="dark"?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:f,marginTop:e.calc(f).mul(-1).equal(),marginBottom:0,borderRadius:N,"&::after":{position:"absolute",insetInline:v,bottom:0,borderBottom:`${Ae(u)} solid transparent`,transition:`border-color ${h} ${m}`,content:'""'},"&:hover, &-active, &-open":{background:L,"&::after":{borderBottomWidth:u,borderBottomColor:P}},"&-selected":{color:P,backgroundColor:k,"&:hover":{backgroundColor:k},"&::after":{borderBottomWidth:u,borderBottomColor:P}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${Ae(f)} ${_} ${E}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ae(d)} solid ${i}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${y} ${g}`,`opacity ${y} ${g}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:T}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${y} ${m}`,`opacity ${y} ${m}`].join(",")}}}}}},fie=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:r,padding:i,menuArrowSize:o,marginXS:a,itemMarginBlock:s,itemWidth:l,itemPaddingInline:c}=e,u=e.calc(o).add(i).add(a).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:Ae(n),paddingInline:c,overflow:"hidden",textOverflow:"ellipsis",marginInline:r,marginBlock:s,width:l},[`> ${t}-item, @@ -307,20 +307,20 @@ html body { &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottom, &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottom, &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomRight, - &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:kP},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topLeft, + &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:k5},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topLeft, &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topLeft, &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-top, &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-top, &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topRight, - &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topRight`]:{animationName:DP},[`&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomLeft, + &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topRight`]:{animationName:D5},[`&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomLeft, &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottom, - &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:PP},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topLeft, + &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:P5},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topLeft, &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-top, - &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topRight`]:{animationName:LP}}},Jq(e,g,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},gr(e)),{[n]:Object.assign(Object.assign({padding:d,listStyleType:"none",backgroundColor:g,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Zs(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${Ae(c)} ${Ae(m)}`,color:e.colorTextDescription,transition:`all ${l}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${l}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${Ae(c)} ${Ae(m)}`,color:e.colorText,fontWeight:"normal",fontSize:u,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${l}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Zs(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:"not-allowed","&:hover":{color:f,backgroundColor:g,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Ae(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:h,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${Ae(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(m).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:g,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[$f(e,"slide-up"),$f(e,"slide-down"),f_(e,"move-up"),f_(e,"move-down"),gS(e,"zoom-big")]]},Lot=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},JP({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),ZP(e)),$ot=lr("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:i}=e,o=Kn(e,{menuCls:`${i}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[Dot(o),Pot(o)]},Lot,{resetStyle:!1}),m2=e=>{var t;const{menu:n,arrow:r,prefixCls:i,children:o,trigger:a,disabled:s,dropdownRender:l,getPopupContainer:c,overlayClassName:u,rootClassName:d,overlayStyle:f,open:h,onOpenChange:m,visible:g,onVisibleChange:v,mouseEnterDelay:y=.15,mouseLeaveDelay:b=.1,autoAdjustOverflow:_=!0,placement:E="",overlay:C,transitionName:S}=e,{getPopupContainer:w,getPrefixCls:T,direction:O,dropdown:x}=p.useContext(Xt);Wf();const A=p.useMemo(()=>{const de=T();return S!==void 0?S:E.includes("top")?`${de}-slide-down`:`${de}-slide-up`},[T,E,S]),I=p.useMemo(()=>E?E.includes("Center")?E.slice(0,E.indexOf("Center")):E:O==="rtl"?"bottomRight":"bottomLeft",[E,O]),M=T("dropdown",i),B=ui(M),[P,k,N]=$ot(M,B),[,L]=qo(),V=p.Children.only(Iit(o)?p.createElement("span",null,o):o),$=Eo(V,{className:xe(`${M}-trigger`,{[`${M}-rtl`]:O==="rtl"},V.props.className),disabled:(t=V.props.disabled)!==null&&t!==void 0?t:s}),W=s?[]:a,j=!!(W!=null&&W.includes("contextMenu")),[U,Z]=Pn(!1,{value:h??g}),te=Yn(de=>{m==null||m(de,{source:"trigger"}),v==null||v(de),Z(de)}),ae=xe(u,d,k,N,B,x==null?void 0:x.className,{[`${M}-rtl`]:O==="rtl"}),K=OCe({arrowPointAtCenter:typeof r=="object"&&r.pointAtCenter,autoAdjustOverflow:_,offset:L.marginXXS,arrowWidth:r?L.sizePopupArrow:0,borderRadius:L.borderRadius}),Q=p.useCallback(()=>{n!=null&&n.selectable&&(n!=null&&n.multiple)||(m==null||m(!1,{source:"menu"}),Z(!1))},[n==null?void 0:n.selectable,n==null?void 0:n.multiple]),ie=()=>{let de;return n!=null&&n.items?de=p.createElement(Bd,Object.assign({},n)):typeof C=="function"?de=C():de=C,l&&(de=l(de)),de=p.Children.only(typeof de=="string"?p.createElement("span",null,de):de),p.createElement(twe,{prefixCls:`${M}-menu`,rootClassName:xe(N,B),expandIcon:p.createElement("span",{className:`${M}-menu-submenu-arrow`},p.createElement(uh,{className:`${M}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Q,validator:ve=>{}},de)},[he,pe]=Ru("Dropdown",f==null?void 0:f.zIndex);let le=p.createElement(DCe,Object.assign({alignPoint:j},ur(e,["rootClassName"]),{mouseEnterDelay:y,mouseLeaveDelay:b,visible:U,builtinPlacements:K,arrow:!!r,overlayClassName:ae,prefixCls:M,getPopupContainer:c||w,transitionName:A,trigger:W,overlay:ie,placement:I,onVisibleChange:te,overlayStyle:Object.assign(Object.assign(Object.assign({},x==null?void 0:x.style),f),{zIndex:he})}),$);return he&&(le=p.createElement(r2.Provider,{value:pe},le)),P(le)},Fot=Ng(m2,"align",void 0,"dropdown",e=>e),Bot=e=>p.createElement(Fot,Object.assign({},e),p.createElement("span",null));m2._InternalPanelDoNotUseOrYouWillBeFired=Bot;const iD=e=>{let{children:t}=e;const{getPrefixCls:n}=p.useContext(Xt),r=n("breadcrumb");return p.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};iD.__ANT_BREADCRUMB_SEPARATOR=!0;var jot=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it[i]||r)}function rwe(e,t,n,r){if(n==null)return null;const{className:i,onClick:o}=t,a=jot(t,["className","onClick"]),s=Object.assign(Object.assign({},xi(a,{data:!0,aria:!0})),{onClick:o});return r!==void 0?p.createElement("a",Object.assign({},s,{className:xe(`${e}-link`,i),href:r}),n):p.createElement("span",Object.assign({},s,{className:xe(`${e}-link`,i)}),n)}function Uot(e,t){return(r,i,o,a,s)=>{if(t)return t(r,i,o,a);const l=Hot(r,i);return rwe(e,r,l,s)}}var ZH=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,separator:n="/",children:r,menu:i,overlay:o,dropdownProps:a,href:s}=e,c=(u=>{if(i||o){const d=Object.assign({},a);if(i){const f=i||{},{items:h}=f,m=ZH(f,["items"]);d.menu=Object.assign(Object.assign({},m),{items:h==null?void 0:h.map((g,v)=>{var{key:y,title:b,label:_,path:E}=g,C=ZH(g,["key","title","label","path"]);let S=_??b;return E&&(S=p.createElement("a",{href:`${s}${E}`},S)),Object.assign(Object.assign({},C),{key:y??v,label:S})})})}else o&&(d.overlay=o);return p.createElement(m2,Object.assign({placement:"bottom"},d),p.createElement("span",{className:`${t}-overlay-link`},u,p.createElement(p2,null)))}return u})(r);return c!=null?p.createElement(p.Fragment,null,p.createElement("li",null,c),n&&p.createElement(iD,null,n)):null},owe=e=>{const{prefixCls:t,children:n,href:r}=e,i=ZH(e,["prefixCls","children","href"]),{getPrefixCls:o}=p.useContext(Xt),a=o("breadcrumb",t);return p.createElement(iwe,Object.assign({},i,{prefixCls:a}),rwe(a,i,n,r))};owe.__ANT_BREADCRUMB_ITEM=!0;const zot=e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${Ae(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},Zs(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` + &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topRight`]:{animationName:L5}}},Jq(e,g,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:r,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:Object.assign(Object.assign({},gr(e)),{[n]:Object.assign(Object.assign({padding:d,listStyleType:"none",backgroundColor:g,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},Zs(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${Ae(c)} ${Ae(m)}`,color:e.colorTextDescription,transition:`all ${l}`},[`${n}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${n}-item-icon`]:{minWidth:u,marginInlineEnd:e.marginXS,fontSize:e.fontSizeSM},[`${n}-title-content`]:{flex:"auto","&-with-extra":{display:"inline-flex",alignItems:"center",width:"100%"},"> a":{color:"inherit",transition:`all ${l}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}},[`${n}-item-extra`]:{paddingInlineStart:e.padding,marginInlineStart:"auto",fontSize:e.fontSizeSM,color:e.colorTextDescription}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({display:"flex",margin:0,padding:`${Ae(c)} ${Ae(m)}`,color:e.colorText,fontWeight:"normal",fontSize:u,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${l}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},Zs(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}},"&-disabled":{color:f,cursor:"not-allowed","&:hover":{color:f,backgroundColor:g,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Ae(e.marginXXS)} 0`,overflow:"hidden",lineHeight:0,backgroundColor:e.colorSplit},[`${t}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:e.paddingXS,[`${t}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:e.colorTextDescription,fontSize:h,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${Ae(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(m).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:f,backgroundColor:g,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})})},[$f(e,"slide-up"),$f(e,"slide-down"),f_(e,"move-up"),f_(e,"move-down"),gS(e,"zoom-big")]]},Lot=e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},J5({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),Z5(e)),$ot=lr("Dropdown",e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:r,componentCls:i}=e,o=Kn(e,{menuCls:`${i}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:r});return[Dot(o),Pot(o)]},Lot,{resetStyle:!1}),m2=e=>{var t;const{menu:n,arrow:r,prefixCls:i,children:o,trigger:a,disabled:s,dropdownRender:l,getPopupContainer:c,overlayClassName:u,rootClassName:d,overlayStyle:f,open:h,onOpenChange:m,visible:g,onVisibleChange:v,mouseEnterDelay:y=.15,mouseLeaveDelay:b=.1,autoAdjustOverflow:_=!0,placement:E="",overlay:C,transitionName:S}=e,{getPopupContainer:w,getPrefixCls:T,direction:O,dropdown:x}=p.useContext(Xt);Wf();const A=p.useMemo(()=>{const de=T();return S!==void 0?S:E.includes("top")?`${de}-slide-down`:`${de}-slide-up`},[T,E,S]),I=p.useMemo(()=>E?E.includes("Center")?E.slice(0,E.indexOf("Center")):E:O==="rtl"?"bottomRight":"bottomLeft",[E,O]),M=T("dropdown",i),B=ui(M),[P,k,N]=$ot(M,B),[,L]=qo(),V=p.Children.only(Iit(o)?p.createElement("span",null,o):o),$=Eo(V,{className:xe(`${M}-trigger`,{[`${M}-rtl`]:O==="rtl"},V.props.className),disabled:(t=V.props.disabled)!==null&&t!==void 0?t:s}),W=s?[]:a,j=!!(W!=null&&W.includes("contextMenu")),[U,Z]=Pn(!1,{value:h??g}),te=Yn(de=>{m==null||m(de,{source:"trigger"}),v==null||v(de),Z(de)}),ae=xe(u,d,k,N,B,x==null?void 0:x.className,{[`${M}-rtl`]:O==="rtl"}),K=OCe({arrowPointAtCenter:typeof r=="object"&&r.pointAtCenter,autoAdjustOverflow:_,offset:L.marginXXS,arrowWidth:r?L.sizePopupArrow:0,borderRadius:L.borderRadius}),Q=p.useCallback(()=>{n!=null&&n.selectable&&(n!=null&&n.multiple)||(m==null||m(!1,{source:"menu"}),Z(!1))},[n==null?void 0:n.selectable,n==null?void 0:n.multiple]),ie=()=>{let de;return n!=null&&n.items?de=p.createElement(Bd,Object.assign({},n)):typeof C=="function"?de=C():de=C,l&&(de=l(de)),de=p.Children.only(typeof de=="string"?p.createElement("span",null,de):de),p.createElement(twe,{prefixCls:`${M}-menu`,rootClassName:xe(N,B),expandIcon:p.createElement("span",{className:`${M}-menu-submenu-arrow`},p.createElement(uh,{className:`${M}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Q,validator:ve=>{}},de)},[he,pe]=Ru("Dropdown",f==null?void 0:f.zIndex);let le=p.createElement(DCe,Object.assign({alignPoint:j},ur(e,["rootClassName"]),{mouseEnterDelay:y,mouseLeaveDelay:b,visible:U,builtinPlacements:K,arrow:!!r,overlayClassName:ae,prefixCls:M,getPopupContainer:c||w,transitionName:A,trigger:W,overlay:ie,placement:I,onVisibleChange:te,overlayStyle:Object.assign(Object.assign(Object.assign({},x==null?void 0:x.style),f),{zIndex:he})}),$);return he&&(le=p.createElement(r2.Provider,{value:pe},le)),P(le)},Fot=Ng(m2,"align",void 0,"dropdown",e=>e),Bot=e=>p.createElement(Fot,Object.assign({},e),p.createElement("span",null));m2._InternalPanelDoNotUseOrYouWillBeFired=Bot;const iD=e=>{let{children:t}=e;const{getPrefixCls:n}=p.useContext(Xt),r=n("breadcrumb");return p.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},t===""?t:t||"/")};iD.__ANT_BREADCRUMB_SEPARATOR=!0;var jot=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it[i]||r)}function rwe(e,t,n,r){if(n==null)return null;const{className:i,onClick:o}=t,a=jot(t,["className","onClick"]),s=Object.assign(Object.assign({},xi(a,{data:!0,aria:!0})),{onClick:o});return r!==void 0?p.createElement("a",Object.assign({},s,{className:xe(`${e}-link`,i),href:r}),n):p.createElement("span",Object.assign({},s,{className:xe(`${e}-link`,i)}),n)}function Uot(e,t){return(r,i,o,a,s)=>{if(t)return t(r,i,o,a);const l=Hot(r,i);return rwe(e,r,l,s)}}var ZH=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,separator:n="/",children:r,menu:i,overlay:o,dropdownProps:a,href:s}=e,c=(u=>{if(i||o){const d=Object.assign({},a);if(i){const f=i||{},{items:h}=f,m=ZH(f,["items"]);d.menu=Object.assign(Object.assign({},m),{items:h==null?void 0:h.map((g,v)=>{var{key:y,title:b,label:_,path:E}=g,C=ZH(g,["key","title","label","path"]);let S=_??b;return E&&(S=p.createElement("a",{href:`${s}${E}`},S)),Object.assign(Object.assign({},C),{key:y??v,label:S})})})}else o&&(d.overlay=o);return p.createElement(m2,Object.assign({placement:"bottom"},d),p.createElement("span",{className:`${t}-overlay-link`},u,p.createElement(p2,null)))}return u})(r);return c!=null?p.createElement(p.Fragment,null,p.createElement("li",null,c),n&&p.createElement(iD,null,n)):null},owe=e=>{const{prefixCls:t,children:n,href:r}=e,i=ZH(e,["prefixCls","children","href"]),{getPrefixCls:o}=p.useContext(Xt),a=o("breadcrumb",t);return p.createElement(iwe,Object.assign({},i,{prefixCls:a}),rwe(a,i,n,r))};owe.__ANT_BREADCRUMB_ITEM=!0;const zot=e=>{const{componentCls:t,iconCls:n,calc:r}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${Ae(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:r(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},Zs(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[` > ${n} + span, > ${n} + a `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${Ae(e.paddingXXS)}`,marginInline:r(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}},Vot=e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}),Got=lr("Breadcrumb",e=>{const t=Kn(e,{});return zot(t)},Vot);var mie=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{breadcrumbName:a}=o,s=mie(o,["breadcrumbName"]);return Object.assign(Object.assign({},s),{title:a})})}),i}function qot(e,t){return p.useMemo(()=>e||(t?t.map(Wot):null),[e,t])}var Yot=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(t===void 0)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach(r=>{n=n.replace(`:${r}`,e[r])}),n},lY=e=>{const{prefixCls:t,separator:n="/",style:r,className:i,rootClassName:o,routes:a,items:s,children:l,itemRender:c,params:u={}}=e,d=Yot(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:f,direction:h,breadcrumb:m}=p.useContext(Xt);let g;const v=f("breadcrumb",t),[y,b,_]=Got(v),E=qot(s,a),C=Uot(v,c);if(E&&E.length>0){const T=[],O=s||a;g=E.map((x,A)=>{const{path:I,key:M,type:B,menu:P,overlay:k,onClick:N,className:L,separator:V,dropdownProps:$}=x,W=Kot(u,I);W!==void 0&&T.push(W);const j=M??A;if(B==="separator")return p.createElement(iD,{key:j},V);const U={},Z=A===E.length-1;P?U.menu=P:k&&(U.overlay=k);let{href:te}=x;return T.length&&W!==void 0&&(te=`#/${T.join("/")}`),p.createElement(iwe,Object.assign({key:j},U,xi(x,{data:!0,aria:!0}),{className:L,dropdownProps:$,href:te,separator:Z?"":n,onClick:N,prefixCls:v}),C(x,u,O,T,te))})}else if(l){const T=ko(l).length;g=ko(l).map((O,x)=>{if(!O)return O;const A=x===T-1;return Eo(O,{separator:A?"":n,key:x})})}const S=xe(v,m==null?void 0:m.className,{[`${v}-rtl`]:h==="rtl"},i,o,b,_),w=Object.assign(Object.assign({},m==null?void 0:m.style),r);return y(p.createElement("nav",Object.assign({className:S,style:w},d),p.createElement("ol",null,g)))};lY.Item=owe;lY.Separator=iD;var awe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(so,function(){var n=1e3,r=6e4,i=36e5,o="millisecond",a="second",s="minute",l="hour",c="day",u="week",d="month",f="quarter",h="year",m="date",g="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(B){var P=["th","st","nd","rd"],k=B%100;return"["+B+(P[(k-20)%10]||P[k]||P[0])+"]"}},_=function(B,P,k){var N=String(B);return!N||N.length>=P?B:""+Array(P+1-N.length).join(k)+B},E={s:_,z:function(B){var P=-B.utcOffset(),k=Math.abs(P),N=Math.floor(k/60),L=k%60;return(P<=0?"+":"-")+_(N,2,"0")+":"+_(L,2,"0")},m:function B(P,k){if(P.date()1)return B($[0])}else{var W=P.name;S[W]=P,L=W}return!N&&L&&(C=L),L||!N&&C},x=function(B,P){if(T(B))return B.clone();var k=typeof P=="object"?P:{};return k.date=B,k.args=arguments,new I(k)},A=E;A.l=O,A.i=T,A.w=function(B,P){return x(B,{locale:P.$L,utc:P.$u,x:P.$x,$offset:P.$offset})};var I=function(){function B(k){this.$L=O(k.locale,null,!0),this.parse(k),this.$x=this.$x||k.x||{},this[w]=!0}var P=B.prototype;return P.parse=function(k){this.$d=function(N){var L=N.date,V=N.utc;if(L===null)return new Date(NaN);if(A.u(L))return new Date;if(L instanceof Date)return new Date(L);if(typeof L=="string"&&!/Z$/i.test(L)){var $=L.match(v);if($){var W=$[2]-1||0,j=($[7]||"0").substring(0,3);return V?new Date(Date.UTC($[1],W,$[3]||1,$[4]||0,$[5]||0,$[6]||0,j)):new Date($[1],W,$[3]||1,$[4]||0,$[5]||0,$[6]||0,j)}}return new Date(L)}(k),this.init()},P.init=function(){var k=this.$d;this.$y=k.getFullYear(),this.$M=k.getMonth(),this.$D=k.getDate(),this.$W=k.getDay(),this.$H=k.getHours(),this.$m=k.getMinutes(),this.$s=k.getSeconds(),this.$ms=k.getMilliseconds()},P.$utils=function(){return A},P.isValid=function(){return this.$d.toString()!==g},P.isSame=function(k,N){var L=x(k);return this.startOf(N)<=L&&L<=this.endOf(N)},P.isAfter=function(k,N){return x(k)25){var u=a(this).startOf(r).add(1,r).date(c),d=a(this).endOf(n);if(u.isBefore(d))return 1}var f=a(this).startOf(r).date(c).startOf(n).subtract(1,"millisecond"),h=this.diff(f,n,!0);return h<0?a(this).startOf("week").week():Math.ceil(h)},s.weeks=function(l){return l===void 0&&(l=null),this.week(l)}}})})(fwe);var Zot=fwe.exports;const cY=di(Zot);var pwe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(so,function(){return function(n,r){r.prototype.weekYear=function(){var i=this.month(),o=this.week(),a=this.year();return o===1&&i===11?a+1:i===0&&o>=52?a-1:a}}})})(pwe);var Jot=pwe.exports;const eat=di(Jot);var hwe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(so,function(){return function(n,r){var i=r.prototype,o=i.format;i.format=function(a){var s=this,l=this.$locale();if(!this.isValid())return o.bind(this)(a);var c=this.$utils(),u=(a||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(d){switch(d){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return l.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return l.ordinal(s.week(),"W");case"w":case"ww":return c.s(s.week(),d==="w"?1:2,"0");case"W":case"WW":return c.s(s.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return c.s(String(s.$H===0?24:s.$H),d==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return d}});return o.bind(this)(u)}}})})(hwe);var tat=hwe.exports;const mwe=di(tat);var gwe={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(so,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,o=/\d\d/,a=/\d\d?/,s=/\d*[^-_:/,()\s\d]+/,l={},c=function(v){return(v=+v)+(v>68?1900:2e3)},u=function(v){return function(y){this[v]=+y}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=function(y){if(!y||y==="Z")return 0;var b=y.match(/([+-]|\d\d)/g),_=60*b[1]+(+b[2]||0);return _===0?0:b[0]==="+"?-_:_}(v)}],f=function(v){var y=l[v];return y&&(y.indexOf?y:y.s.concat(y.f))},h=function(v,y){var b,_=l.meridiem;if(_){for(var E=1;E<=24;E+=1)if(v.indexOf(_(E,0,y))>-1){b=E>12;break}}else b=v===(y?"pm":"PM");return b},m={A:[s,function(v){this.afternoon=h(v,!1)}],a:[s,function(v){this.afternoon=h(v,!0)}],Q:[i,function(v){this.month=3*(v-1)+1}],S:[i,function(v){this.milliseconds=100*+v}],SS:[o,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[a,u("seconds")],ss:[a,u("seconds")],m:[a,u("minutes")],mm:[a,u("minutes")],H:[a,u("hours")],h:[a,u("hours")],HH:[a,u("hours")],hh:[a,u("hours")],D:[a,u("day")],DD:[o,u("day")],Do:[s,function(v){var y=l.ordinal,b=v.match(/\d+/);if(this.day=b[0],y)for(var _=1;_<=31;_+=1)y(_).replace(/\[|\]/g,"")===v&&(this.day=_)}],w:[a,u("week")],ww:[o,u("week")],M:[a,u("month")],MM:[o,u("month")],MMM:[s,function(v){var y=f("months"),b=(f("monthsShort")||y.map(function(_){return _.slice(0,3)})).indexOf(v)+1;if(b<1)throw new Error;this.month=b%12||b}],MMMM:[s,function(v){var y=f("months").indexOf(v)+1;if(y<1)throw new Error;this.month=y%12||y}],Y:[/[+-]?\d+/,u("year")],YY:[o,function(v){this.year=c(v)}],YYYY:[/\d{4}/,u("year")],Z:d,ZZ:d};function g(v){var y,b;y=v,b=l&&l.formats;for(var _=(v=y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(x,A,I){var M=I&&I.toUpperCase();return A||b[I]||n[I]||b[M].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(B,P,k){return P||k.slice(1)})})).match(r),E=_.length,C=0;C-1)return new Date((L==="X"?1e3:1)*N);var W=g(L)(N),j=W.year,U=W.month,Z=W.day,te=W.hours,ae=W.minutes,K=W.seconds,Q=W.milliseconds,ie=W.zone,he=W.week,pe=new Date,le=Z||(j||U?1:pe.getDate()),de=j||pe.getFullYear(),ve=0;j&&!U||(ve=U>0?U-1:pe.getMonth());var ne,ue=te||0,ge=ae||0,Ce=K||0,Te=Q||0;return ie?new Date(Date.UTC(de,ve,le,ue,ge,Ce,Te+60*ie.offset*1e3)):V?new Date(Date.UTC(de,ve,le,ue,ge,Ce,Te)):(ne=new Date(de,ve,le,ue,ge,Ce,Te),he&&(ne=$(ne).week(he).toDate()),ne)}catch{return new Date("")}}(S,O,w,b),this.init(),M&&M!==!0&&(this.$L=this.locale(M).$L),I&&S!=this.format(O)&&(this.$d=new Date("")),l={}}else if(O instanceof Array)for(var B=O.length,P=1;P<=B;P+=1){T[1]=O[P-1];var k=b.apply(this,T);if(k.isValid()){this.$d=k.$d,this.$L=k.$L,this.init();break}P===B&&(this.$d=new Date(""))}else E.call(this,C)}}})})(gwe);var nat=gwe.exports;const vwe=di(nat);br.extend(vwe);br.extend(mwe);br.extend(cwe);br.extend(dwe);br.extend(cY);br.extend(eat);br.extend(function(e,t){var n=t.prototype,r=n.format;n.format=function(o){var a=(o||"").replace("Wo","wo");return r.bind(this)(a)}});var rat={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},i1=function(t){var n=rat[t];return n||t.split("_")[0]},iat={getNow:function(){var t=br();return typeof t.tz=="function"?t.tz():t},getFixedDate:function(t){return br(t,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(t){return t.endOf("month")},getWeekDay:function(t){var n=t.locale("en");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},getMillisecond:function(t){return t.millisecond()},addYear:function(t,n){return t.add(n,"year")},addMonth:function(t,n){return t.add(n,"month")},addDate:function(t,n){return t.add(n,"day")},setYear:function(t,n){return t.year(n)},setMonth:function(t,n){return t.month(n)},setDate:function(t,n){return t.date(n)},setHour:function(t,n){return t.hour(n)},setMinute:function(t,n){return t.minute(n)},setSecond:function(t,n){return t.second(n)},setMillisecond:function(t,n){return t.millisecond(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){return br().locale(i1(t)).localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){return n.locale(i1(t)).weekday(0)},getWeek:function(t,n){return n.locale(i1(t)).week()},getShortWeekDays:function(t){return br().locale(i1(t)).localeData().weekdaysMin()},getShortMonths:function(t){return br().locale(i1(t)).localeData().monthsShort()},format:function(t,n,r){return n.locale(i1(t)).format(r)},parse:function(t,n,r){for(var i=i1(t),o=0;o2&&arguments[2]!==void 0?arguments[2]:"0",r=String(e);r.length2&&arguments[2]!==void 0?arguments[2]:[],r=p.useState([!1,!1]),i=Ie(r,2),o=i[0],a=i[1],s=function(u,d){a(function(f){return pw(f,d,u)})},l=p.useMemo(function(){return o.map(function(c,u){if(c)return!0;var d=e[u];return d?!!(!n[u]&&!d||d&&t(d,{activeIndex:u})):!1})},[e,o,t,n]);return[l,s]}function wwe(e,t,n,r,i){var o="",a=[];return e&&a.push(i?"hh":"HH"),t&&a.push("mm"),n&&a.push("ss"),o=a.join(":"),r&&(o+=".SSS"),i&&(o+=" A"),o}function aat(e,t,n,r,i,o){var a=e.fieldDateTimeFormat,s=e.fieldDateFormat,l=e.fieldTimeFormat,c=e.fieldMonthFormat,u=e.fieldYearFormat,d=e.fieldWeekFormat,f=e.fieldQuarterFormat,h=e.yearFormat,m=e.cellYearFormat,g=e.cellQuarterFormat,v=e.dayFormat,y=e.cellDateFormat,b=wwe(t,n,r,i,o);return G(G({},e),{},{fieldDateTimeFormat:a||"YYYY-MM-DD ".concat(b),fieldDateFormat:s||"YYYY-MM-DD",fieldTimeFormat:l||b,fieldMonthFormat:c||"YYYY-MM",fieldYearFormat:u||"YYYY",fieldWeekFormat:d||"gggg-wo",fieldQuarterFormat:f||"YYYY-[Q]Q",yearFormat:h||"YYYY",cellYearFormat:m||"YYYY",cellQuarterFormat:g||"[Q]Q",cellDateFormat:y||v||"D"})}function Twe(e,t){var n=t.showHour,r=t.showMinute,i=t.showSecond,o=t.showMillisecond,a=t.use12Hours;return se.useMemo(function(){return aat(e,n,r,i,o,a)},[e,n,r,i,o,a])}function FE(e,t,n){return n??t.some(function(r){return e.includes(r)})}var sat=["showNow","showHour","showMinute","showSecond","showMillisecond","use12Hours","hourStep","minuteStep","secondStep","millisecondStep","hideDisabledOptions","defaultValue","disabledHours","disabledMinutes","disabledSeconds","disabledMilliseconds","disabledTime","changeOnScroll","defaultOpenValue"];function lat(e){var t=aD(e,sat),n=e.format,r=e.picker,i=null;return n&&(i=n,Array.isArray(i)&&(i=i[0]),i=Gt(i)==="object"?i.format:i),r==="time"&&(t.format=i),[t,i]}function cat(e){return e&&typeof e=="string"}function xwe(e,t,n,r){return[e,t,n,r].some(function(i){return i!==void 0})}function Owe(e,t,n,r,i){var o=t,a=n,s=r;if(!e&&!o&&!a&&!s&&!i)o=!0,a=!0,s=!0;else if(e){var l,c,u,d=[o,a,s].some(function(m){return m===!1}),f=[o,a,s].some(function(m){return m===!0}),h=d?!0:!f;o=(l=o)!==null&&l!==void 0?l:h,a=(c=a)!==null&&c!==void 0?c:h,s=(u=s)!==null&&u!==void 0?u:h}return[o,a,s,i]}function Rwe(e){var t=e.showTime,n=lat(e),r=Ie(n,2),i=r[0],o=r[1],a=t&&Gt(t)==="object"?t:{},s=G(G({defaultOpenValue:a.defaultOpenValue||a.defaultValue},i),a),l=s.showMillisecond,c=s.showHour,u=s.showMinute,d=s.showSecond,f=xwe(c,u,d,l),h=Owe(f,c,u,d,l),m=Ie(h,3);return c=m[0],u=m[1],d=m[2],[s,G(G({},s),{},{showHour:c,showMinute:u,showSecond:d,showMillisecond:l}),s.format,o]}function Iwe(e,t,n,r,i){var o=e==="time";if(e==="datetime"||o){for(var a=r,s=_we(e,i,null),l=s,c=[t,n],u=0;u1&&(a=t.addDate(a,-7)),a}function Ta(e,t){var n=t.generateConfig,r=t.locale,i=t.format;return e?typeof i=="function"?i(e):n.locale.format(r.locale,e,i):""}function KM(e,t,n){var r=t,i=["getHour","getMinute","getSecond","getMillisecond"],o=["setHour","setMinute","setSecond","setMillisecond"];return o.forEach(function(a,s){n?r=e[a](r,e[i[s]](n)):r=e[a](r,0)}),r}function pat(e,t,n,r,i){var o=Yn(function(a,s){return!!(n&&n(a,s)||r&&e.isAfter(r,a)&&!xs(e,t,r,a,s.type)||i&&e.isAfter(a,i)&&!xs(e,t,i,a,s.type))});return o}function hat(e,t,n){return p.useMemo(function(){var r=_we(e,t,n),i=C0(r),o=i[0],a=Gt(o)==="object"&&o.type==="mask"?o.format:null;return[i.map(function(s){return typeof s=="string"||typeof s=="function"?s:s.format}),a]},[e,t,n])}function mat(e,t,n){return typeof e[0]=="function"||n?!0:t}function gat(e,t,n,r){var i=Yn(function(o,a){var s=G({type:t},a);if(delete s.activeIndex,!e.isValidate(o)||n&&n(o,s))return!0;if((t==="date"||t==="time")&&r){var l,c=a&&a.activeIndex===1?"end":"start",u=((l=r.disabledTime)===null||l===void 0?void 0:l.call(r,o,c,{from:s.from}))||{},d=u.disabledHours,f=u.disabledMinutes,h=u.disabledSeconds,m=u.disabledMilliseconds,g=r.disabledHours,v=r.disabledMinutes,y=r.disabledSeconds,b=d||g,_=f||v,E=h||y,C=e.getHour(o),S=e.getMinute(o),w=e.getSecond(o),T=e.getMillisecond(o);if(b&&b().includes(C)||_&&_(C).includes(S)||E&&E(C,S).includes(w)||m&&m(C,S,w).includes(T))return!0}return!1});return i}function IR(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=p.useMemo(function(){var r=e&&C0(e);return t&&r&&(r[1]=r[1]||r[0]),r},[e,t]);return n}function Mwe(e,t){var n=e.generateConfig,r=e.locale,i=e.picker,o=i===void 0?"date":i,a=e.prefixCls,s=a===void 0?"rc-picker":a,l=e.styles,c=l===void 0?{}:l,u=e.classNames,d=u===void 0?{}:u,f=e.order,h=f===void 0?!0:f,m=e.components,g=m===void 0?{}:m,v=e.inputRender,y=e.allowClear,b=e.clearIcon,_=e.needConfirm,E=e.multiple,C=e.format,S=e.inputReadOnly,w=e.disabledDate,T=e.minDate,O=e.maxDate,x=e.showTime,A=e.value,I=e.defaultValue,M=e.pickerValue,B=e.defaultPickerValue,P=IR(A),k=IR(I),N=IR(M),L=IR(B),V=o==="date"&&x?"datetime":o,$=V==="time"||V==="datetime",W=$||E,j=_??$,U=Rwe(e),Z=Ie(U,4),te=Z[0],ae=Z[1],K=Z[2],Q=Z[3],ie=Twe(r,ae),he=p.useMemo(function(){return Iwe(V,K,Q,te,ie)},[V,K,Q,te,ie]),pe=p.useMemo(function(){return G(G({},e),{},{prefixCls:s,locale:ie,picker:o,styles:c,classNames:d,order:h,components:G({input:v},g),clearIcon:uat(s,y,b),showTime:he,value:P,defaultValue:k,pickerValue:N,defaultPickerValue:L},t==null?void 0:t())},[e]),le=hat(V,ie,C),de=Ie(le,2),ve=de[0],ne=de[1],ue=mat(ve,S,E),ge=pat(n,r,w,T,O),Ce=gat(n,o,ge,he),Te=p.useMemo(function(){return G(G({},pe),{},{needConfirm:j,inputReadOnly:ue,disabledDate:ge})},[pe,j,ue,ge]);return[Te,V,W,ve,ne,Ce]}function vat(e,t,n){var r=Pn(t,{value:e}),i=Ie(r,2),o=i[0],a=i[1],s=se.useRef(e),l=se.useRef(),c=function(){nr.cancel(l.current)},u=Yn(function(){a(s.current),n&&o!==s.current&&n(s.current)}),d=Yn(function(f,h){c(),s.current=f,f||h?u():l.current=nr(u)});return se.useEffect(function(){return c},[]),[o,d]}function kwe(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],r=arguments.length>3?arguments[3]:void 0,i=n.every(function(u){return u})?!1:e,o=vat(i,t||!1,r),a=Ie(o,2),s=a[0],l=a[1];function c(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(!d.inherit||s)&&l(u,d.force)}return[s,c]}function Pwe(e){var t=p.useRef();return p.useImperativeHandle(e,function(){var n;return{nativeElement:(n=t.current)===null||n===void 0?void 0:n.nativeElement,focus:function(i){var o;(o=t.current)===null||o===void 0||o.focus(i)},blur:function(){var i;(i=t.current)===null||i===void 0||i.blur()}}}),t}function Dwe(e,t){return p.useMemo(function(){return e||(t?(Yr(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(t).map(function(n){var r=Ie(n,2),i=r[0],o=r[1];return{label:i,value:o}})):[])},[e,t])}function hY(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,r=p.useRef(t);r.current=t,dv(function(){if(e)r.current(e);else{var i=nr(function(){r.current(e)},n);return function(){nr.cancel(i)}}},[e])}function Lwe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=p.useState(0),i=Ie(r,2),o=i[0],a=i[1],s=p.useState(!1),l=Ie(s,2),c=l[0],u=l[1],d=p.useRef([]),f=p.useRef(null),h=p.useRef(null),m=function(E){f.current=E},g=function(E){return f.current===E},v=function(E){u(E)},y=function(E){return E&&(h.current=E),h.current},b=function(E){var C=d.current,S=new Set(C.filter(function(T){return E[T]||t[T]})),w=C[C.length-1]===0?1:0;return S.size>=2||e[w]?null:w};return hY(c||n,function(){c||(d.current=[],m(null))}),p.useEffect(function(){c&&d.current.push(o)},[c,o]),[c,v,y,o,a,b,d.current,m,g]}function bat(e,t,n,r,i,o){var a=n[n.length-1],s=function(c,u){var d=Ie(e,2),f=d[0],h=d[1],m=G(G({},u),{},{from:Swe(e,n)});return a===1&&t[0]&&f&&!xs(r,i,f,c,m.type)&&r.isAfter(f,c)||a===0&&t[1]&&h&&!xs(r,i,h,c,m.type)&&r.isAfter(c,h)?!0:o==null?void 0:o(c,m)};return s}function MC(e,t,n,r){switch(t){case"date":case"week":return e.addMonth(n,r);case"month":case"quarter":return e.addYear(n,r);case"year":return e.addYear(n,r*10);case"decade":return e.addYear(n,r*100);default:return n}}var t$=[];function $we(e,t,n,r,i,o,a,s){var l=arguments.length>8&&arguments[8]!==void 0?arguments[8]:t$,c=arguments.length>9&&arguments[9]!==void 0?arguments[9]:t$,u=arguments.length>10&&arguments[10]!==void 0?arguments[10]:t$,d=arguments.length>11?arguments[11]:void 0,f=arguments.length>12?arguments[12]:void 0,h=arguments.length>13?arguments[13]:void 0,m=a==="time",g=o||0,v=function(N){var L=e.getNow();return m&&(L=KM(e,L)),l[N]||n[N]||L},y=Ie(c,2),b=y[0],_=y[1],E=Pn(function(){return v(0)},{value:b}),C=Ie(E,2),S=C[0],w=C[1],T=Pn(function(){return v(1)},{value:_}),O=Ie(T,2),x=O[0],A=O[1],I=p.useMemo(function(){var k=[S,x][g];return m?k:KM(e,k,u[g])},[m,S,x,g,e,u]),M=function(N){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"panel",V=[w,A][g];V(N);var $=[S,x];$[g]=N,d&&(!xs(e,t,S,$[0],a)||!xs(e,t,x,$[1],a))&&d($,{source:L,range:g===1?"end":"start",mode:r})},B=function(N,L){if(s){var V={date:"month",week:"month",month:"year",quarter:"year"},$=V[a];if($&&!xs(e,t,N,L,$))return MC(e,a,L,-1);if(a==="year"&&N){var W=Math.floor(e.getYear(N)/10),j=Math.floor(e.getYear(L)/10);if(W!==j)return MC(e,a,L,-1)}}return L},P=p.useRef(null);return ar(function(){if(i&&!l[g]){var k=m?null:e.getNow();if(P.current!==null&&P.current!==g?k=[S,x][g^1]:n[g]?k=g===0?n[0]:B(n[0],n[1]):n[g^1]&&(k=n[g^1]),k){f&&e.isAfter(f,k)&&(k=f);var N=s?MC(e,a,k,1):k;h&&e.isAfter(N,h)&&(k=s?MC(e,a,h,-1):h),M(k,"reset")}}},[i,g,n[g]]),p.useEffect(function(){i?P.current=g:P.current=null},[i,g]),ar(function(){i&&l&&l[g]&&M(l[g],"reset")},[i,g]),[I,M]}function Fwe(e,t){var n=p.useRef(e),r=p.useState({}),i=Ie(r,2),o=i[1],a=function(c){return c&&t!==void 0?t:n.current},s=function(c){n.current=c,o({})};return[a,s,a(!0)]}var yat=[];function Bwe(e,t,n){var r=function(a){return a.map(function(s){return Ta(s,{generateConfig:e,locale:t,format:n[0]})})},i=function(a,s){for(var l=Math.max(a.length,s.length),c=-1,u=0;u2&&arguments[2]!==void 0?arguments[2]:1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:2,a=[],s=n>=1?n|0:1,l=e;l<=t;l+=s){var c=i.includes(l);(!c||!r)&&a.push({label:uY(l,o),value:l,disabled:c})}return a}function mY(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t||{},i=r.use12Hours,o=r.hourStep,a=o===void 0?1:o,s=r.minuteStep,l=s===void 0?1:s,c=r.secondStep,u=c===void 0?1:c,d=r.millisecondStep,f=d===void 0?100:d,h=r.hideDisabledOptions,m=r.disabledTime,g=r.disabledHours,v=r.disabledMinutes,y=r.disabledSeconds,b=p.useMemo(function(){return n||e.getNow()},[n,e]),_=p.useCallback(function(L){var V=(m==null?void 0:m(L))||{};return[V.disabledHours||g||AR,V.disabledMinutes||v||AR,V.disabledSeconds||y||AR,V.disabledMilliseconds||AR]},[m,g,v,y]),E=p.useMemo(function(){return _(b)},[b,_]),C=Ie(E,4),S=C[0],w=C[1],T=C[2],O=C[3],x=p.useCallback(function(L,V,$,W){var j=NR(0,23,a,h,L()),U=i?j.map(function(K){return G(G({},K),{},{label:uY(K.value%12||12,2)})}):j,Z=function(Q){return NR(0,59,l,h,V(Q))},te=function(Q,ie){return NR(0,59,u,h,$(Q,ie))},ae=function(Q,ie,he){return NR(0,999,f,h,W(Q,ie,he),3)};return[U,Z,te,ae]},[h,a,i,f,l,u]),A=p.useMemo(function(){return x(S,w,T,O)},[x,S,w,T,O]),I=Ie(A,4),M=I[0],B=I[1],P=I[2],k=I[3],N=function(V,$){var W=function(){return M},j=B,U=P,Z=k;if($){var te=_($),ae=Ie(te,4),K=ae[0],Q=ae[1],ie=ae[2],he=ae[3],pe=x(K,Q,ie,he),le=Ie(pe,4),de=le[0],ve=le[1],ne=le[2],ue=le[3];W=function(){return de},j=ve,U=ne,Z=ue}var ge=Sat(V,W,j,U,Z,e);return ge};return[N,M,B,P,k]}function Eat(e){var t=e.mode,n=e.internalMode,r=e.renderExtraFooter,i=e.showNow,o=e.showTime,a=e.onSubmit,s=e.onNow,l=e.invalid,c=e.needConfirm,u=e.generateConfig,d=e.disabledDate,f=p.useContext(jd),h=f.prefixCls,m=f.locale,g=f.button,v=g===void 0?"button":g,y=u.getNow(),b=mY(u,o,y),_=Ie(b,1),E=_[0],C=r==null?void 0:r(t),S=d(y,{type:t}),w=function(){if(!S){var B=E(y);s(B)}},T="".concat(h,"-now"),O="".concat(T,"-btn"),x=i&&p.createElement("li",{className:T},p.createElement("a",{className:xe(O,S&&"".concat(O,"-disabled")),"aria-disabled":S,onClick:w},n==="date"?m.today:m.now)),A=c&&p.createElement("li",{className:"".concat(h,"-ok")},p.createElement(v,{disabled:l,onClick:a},m.ok)),I=(x||A)&&p.createElement("ul",{className:"".concat(h,"-ranges")},x,A);return!C&&!I?null:p.createElement("div",{className:"".concat(h,"-footer")},C&&p.createElement("div",{className:"".concat(h,"-footer-extra")},C),I)}function Vwe(e,t,n){function r(i,o){var a=i.findIndex(function(l){return xs(e,t,l,o,n)});if(a===-1)return[].concat(nt(i),[o]);var s=nt(i);return s.splice(a,1),s}return r}var w0=p.createContext(null);function lD(){return p.useContext(w0)}function ES(e,t){var n=e.prefixCls,r=e.generateConfig,i=e.locale,o=e.disabledDate,a=e.minDate,s=e.maxDate,l=e.cellRender,c=e.hoverValue,u=e.hoverRangeValue,d=e.onHover,f=e.values,h=e.pickerValue,m=e.onSelect,g=e.prevIcon,v=e.nextIcon,y=e.superPrevIcon,b=e.superNextIcon,_=r.getNow(),E={now:_,values:f,pickerValue:h,prefixCls:n,disabledDate:o,minDate:a,maxDate:s,cellRender:l,hoverValue:c,hoverRangeValue:u,onHover:d,locale:i,generateConfig:r,onSelect:m,panelType:t,prevIcon:g,nextIcon:v,superPrevIcon:y,superNextIcon:b};return[E,_]}var ig=p.createContext({});function g2(e){for(var t=e.rowNum,n=e.colNum,r=e.baseDate,i=e.getCellDate,o=e.prefixColumn,a=e.rowClassName,s=e.titleFormat,l=e.getCellText,c=e.getCellClassName,u=e.headerCells,d=e.cellSelection,f=d===void 0?!0:d,h=e.disabledDate,m=lD(),g=m.prefixCls,v=m.panelType,y=m.now,b=m.disabledDate,_=m.cellRender,E=m.onHover,C=m.hoverValue,S=m.hoverRangeValue,w=m.generateConfig,T=m.values,O=m.locale,x=m.onSelect,A=h||b,I="".concat(g,"-cell"),M=p.useContext(ig),B=M.onCellDblClick,P=function(U){return T.some(function(Z){return Z&&xs(w,O,U,Z,v)})},k=[],N=0;N1&&arguments[1]!==void 0?arguments[1]:!1;be(Me),v==null||v(Me),je&&_e(Me)},De=function(Me,je){ie(Me),je&&Re(je),_e(je,Me)},z=function(Me){if(Ce(Me),Re(Me),Q!==E){var je=["decade","year"],ke=[].concat(je,["month"]),Ge={quarter:[].concat(je,["quarter"]),week:[].concat(nt(ke),["week"]),date:[].concat(nt(ke),["date"])},Ue=Ge[E]||ke,qe=Ue.indexOf(Q),At=Ue[qe+1];At&&De(At,Me)}},D=p.useMemo(function(){var re,Me;if(Array.isArray(w)){var je=Ie(w,2);re=je[0],Me=je[1]}else re=w;return!re&&!Me?null:(re=re||Me,Me=Me||re,i.isAfter(re,Me)?[Me,re]:[re,Me])},[w,i]),q=dY(T,O,x),oe=I[he]||Pat[he]||cD,ye=p.useContext(ig),ce=p.useMemo(function(){return G(G({},ye),{},{hideHeader:M})},[ye,M]),Be="".concat(B,"-panel"),Ve=aD(e,["showWeek","prevIcon","nextIcon","superPrevIcon","superNextIcon","disabledDate","minDate","maxDate","onHover"]);return p.createElement(ig.Provider,{value:ce},p.createElement("div",{ref:P,tabIndex:l,className:xe(Be,ee({},"".concat(Be,"-rtl"),o==="rtl"))},p.createElement(oe,Ke({},Ve,{showTime:Z,prefixCls:B,locale:j,generateConfig:i,onModeChange:De,pickerValue:me,onPickerValueChange:function(Me){Re(Me,!0)},value:ue[0],onSelect:z,values:ue,cellRender:q,hoverRangeValue:D,hoverValue:S}))))}var n$=p.memo(p.forwardRef(Dat));function Lat(e){var t=e.picker,n=e.multiplePanel,r=e.pickerValue,i=e.onPickerValueChange,o=e.needConfirm,a=e.onSubmit,s=e.range,l=e.hoverValue,c=p.useContext(jd),u=c.prefixCls,d=c.generateConfig,f=p.useCallback(function(b,_){return MC(d,t,b,_)},[d,t]),h=p.useMemo(function(){return f(r,1)},[r,f]),m=function(_){i(f(_,-1))},g={onCellDblClick:function(){o&&a()}},v=t==="time",y=G(G({},e),{},{hoverValue:null,hoverRangeValue:null,hideHeader:v});return s?y.hoverRangeValue=l:y.hoverValue=l,n?p.createElement("div",{className:"".concat(u,"-panels")},p.createElement(ig.Provider,{value:G(G({},g),{},{hideNext:!0})},p.createElement(n$,y)),p.createElement(ig.Provider,{value:G(G({},g),{},{hidePrev:!0})},p.createElement(n$,Ke({},y,{pickerValue:h,onPickerValueChange:m})))):p.createElement(ig.Provider,{value:G({},g)},p.createElement(n$,y))}function vie(e){return typeof e=="function"?e():e}function $at(e){var t=e.prefixCls,n=e.presets,r=e.onClick,i=e.onHover;return n.length?p.createElement("div",{className:"".concat(t,"-presets")},p.createElement("ul",null,n.map(function(o,a){var s=o.label,l=o.value;return p.createElement("li",{key:a,onClick:function(){r(vie(l))},onMouseEnter:function(){i(vie(l))},onMouseLeave:function(){i(null)}},s)}))):null}function Wwe(e){var t=e.panelRender,n=e.internalMode,r=e.picker,i=e.showNow,o=e.range,a=e.multiple,s=e.activeOffset,l=s===void 0?0:s,c=e.placement,u=e.presets,d=e.onPresetHover,f=e.onPresetSubmit,h=e.onFocus,m=e.onBlur,g=e.onPanelMouseDown,v=e.direction,y=e.value,b=e.onSelect,_=e.isInvalid,E=e.defaultOpenValue,C=e.onOk,S=e.onSubmit,w=p.useContext(jd),T=w.prefixCls,O="".concat(T,"-panel"),x=v==="rtl",A=p.useRef(null),I=p.useRef(null),M=p.useState(0),B=Ie(M,2),P=B[0],k=B[1],N=p.useState(0),L=Ie(N,2),V=L[0],$=L[1],W=function(ge){ge.offsetWidth&&k(ge.offsetWidth)};p.useEffect(function(){if(o){var ue,ge=((ue=A.current)===null||ue===void 0?void 0:ue.offsetWidth)||0,Ce=P-ge;l<=Ce?$(0):$(l+ge-P)}},[P,l,o]);function j(ue){return ue.filter(function(ge){return ge})}var U=p.useMemo(function(){return j(C0(y))},[y]),Z=r==="time"&&!U.length,te=p.useMemo(function(){return Z?j([E]):U},[Z,U,E]),ae=Z?E:U,K=p.useMemo(function(){return te.length?te.some(function(ue){return _(ue)}):!0},[te,_]),Q=function(){Z&&b(E),C(),S()},ie=p.createElement("div",{className:"".concat(T,"-panel-layout")},p.createElement($at,{prefixCls:T,presets:u,onClick:f,onHover:d}),p.createElement("div",null,p.createElement(Lat,Ke({},e,{value:ae})),p.createElement(Eat,Ke({},e,{showNow:a?!1:i,invalid:K,onSubmit:Q}))));t&&(ie=t(ie));var he="".concat(O,"-container"),pe="marginLeft",le="marginRight",de=p.createElement("div",{onMouseDown:g,tabIndex:-1,className:xe(he,"".concat(T,"-").concat(n,"-panel-container")),style:ee(ee({},x?le:pe,V),x?pe:le,"auto"),onFocus:h,onBlur:m},ie);if(o){var ve=oD(c,x),ne=bwe(ve,x);de=p.createElement("div",{onMouseDown:g,ref:I,className:xe("".concat(T,"-range-wrapper"),"".concat(T,"-").concat(r,"-range-wrapper"))},p.createElement("div",{ref:A,className:"".concat(T,"-range-arrow"),style:ee({},ne,l)}),p.createElement(xa,{onResize:W},de))}return de}function qwe(e,t){var n=e.format,r=e.maskFormat,i=e.generateConfig,o=e.locale,a=e.preserveInvalidOnBlur,s=e.inputReadOnly,l=e.required,c=e["aria-required"],u=e.onSubmit,d=e.onFocus,f=e.onBlur,h=e.onInputChange,m=e.onInvalid,g=e.open,v=e.onOpenChange,y=e.onKeyDown,b=e.onChange,_=e.activeHelp,E=e.name,C=e.autoComplete,S=e.id,w=e.value,T=e.invalid,O=e.placeholder,x=e.disabled,A=e.activeIndex,I=e.allHelp,M=e.picker,B=function(j,U){var Z=i.locale.parse(o.locale,j,[U]);return Z&&i.isValidate(Z)?Z:null},P=n[0],k=p.useCallback(function(W){return Ta(W,{locale:o,format:P,generateConfig:i})},[o,i,P]),N=p.useMemo(function(){return w.map(k)},[w,k]),L=p.useMemo(function(){var W=M==="time"?8:10,j=typeof P=="function"?P(i.getNow()).length:P.length;return Math.max(W,j)+2},[P,M,i]),V=function(j){for(var U=0;U=s&&n<=l)return o;var c=Math.min(Math.abs(n-s),Math.abs(n-l));c0?Tt:Ot));var He=Ye+Ct,Ze=Ot-Tt+1;return String(Tt+(Ze+He-Tt)%Ze)};switch(Me){case"Backspace":case"Delete":je="",ke=Ue;break;case"ArrowLeft":je="",qe(-1);break;case"ArrowRight":je="",qe(1);break;case"ArrowUp":je="",ke=At(1);break;case"ArrowDown":je="",ke=At(-1);break;default:isNaN(Number(Me))||(je=W+Me,ke=je);break}if(je!==null&&(j(je),je.length>=Ge&&(qe(1),j(""))),ke!==null){var at=pe.slice(0,ge)+uY(ke,Ge)+pe.slice(Ce);Se(at.slice(0,a.length))}he({})},ce=p.useRef();ar(function(){if(!(!M||!a||_e.current)){if(!ve.match(pe)){Se(a);return}return de.current.setSelectionRange(ge,Ce),ce.current=nr(function(){de.current.setSelectionRange(ge,Ce)}),function(){nr.cancel(ce.current)}}},[ve,a,M,pe,te,ge,Ce,ie,Se]);var Be=a?{onFocus:z,onBlur:q,onKeyDown:ye,onMouseDown:Re,onMouseUp:De,onPaste:be}:{};return p.createElement("div",{ref:le,className:xe(x,ee(ee({},"".concat(x,"-active"),n&&i),"".concat(x,"-placeholder"),c))},p.createElement(O,Ke({ref:de,"aria-invalid":g,autoComplete:"off"},y,{onKeyDown:oe,onBlur:D},Be,{value:pe,onChange:me})),p.createElement(uD,{type:"suffix",icon:o}),v)}),Vat=["id","prefix","clearIcon","suffixIcon","separator","activeIndex","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","value","onChange","onSubmit","onInputChange","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onActiveOffset","placement","onMouseDown","required","aria-required","autoFocus","tabIndex"],Gat=["index"],Wat=["insetInlineStart","insetInlineEnd"];function qat(e,t){var n=e.id,r=e.prefix,i=e.clearIcon,o=e.suffixIcon,a=e.separator,s=a===void 0?"~":a,l=e.activeIndex;e.activeHelp,e.allHelp;var c=e.focused;e.onFocus,e.onBlur,e.onKeyDown,e.locale,e.generateConfig;var u=e.placeholder,d=e.className,f=e.style,h=e.onClick,m=e.onClear,g=e.value;e.onChange,e.onSubmit,e.onInputChange,e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var v=e.disabled,y=e.invalid;e.inputReadOnly;var b=e.direction;e.onOpenChange;var _=e.onActiveOffset,E=e.placement,C=e.onMouseDown;e.required,e["aria-required"];var S=e.autoFocus,w=e.tabIndex,T=Dt(e,Vat),O=b==="rtl",x=p.useContext(jd),A=x.prefixCls,I=p.useMemo(function(){if(typeof n=="string")return[n];var de=n||{};return[de.start,de.end]},[n]),M=p.useRef(),B=p.useRef(),P=p.useRef(),k=function(ve){var ne;return(ne=[B,P][ve])===null||ne===void 0?void 0:ne.current};p.useImperativeHandle(t,function(){return{nativeElement:M.current,focus:function(ve){if(Gt(ve)==="object"){var ne,ue=ve||{},ge=ue.index,Ce=ge===void 0?0:ge,Te=Dt(ue,Gat);(ne=k(Ce))===null||ne===void 0||ne.focus(Te)}else{var Se;(Se=k(ve??0))===null||Se===void 0||Se.focus()}},blur:function(){var ve,ne;(ve=k(0))===null||ve===void 0||ve.blur(),(ne=k(1))===null||ne===void 0||ne.blur()}}});var N=Ywe(T),L=p.useMemo(function(){return Array.isArray(u)?u:[u,u]},[u]),V=qwe(G(G({},e),{},{id:I,placeholder:L})),$=Ie(V,1),W=$[0],j=oD(E,O),U=bwe(j,O),Z=j==null?void 0:j.toLowerCase().endsWith("right"),te=p.useState({position:"absolute",width:0}),ae=Ie(te,2),K=ae[0],Q=ae[1],ie=Yn(function(){var de=k(l);if(de){var ve=de.nativeElement,ne=ve.offsetWidth,ue=ve.offsetLeft,ge=ve.offsetParent,Ce=(ge==null?void 0:ge.offsetWidth)||0,Te=Z?Ce-ne-ue:ue;Q(function(Se){Se.insetInlineStart,Se.insetInlineEnd;var me=Dt(Se,Wat);return G(G({},me),{},ee({width:ne},U,Te))}),_(Te)}});p.useEffect(function(){ie()},[l]);var he=i&&(g[0]&&!v[0]||g[1]&&!v[1]),pe=S&&!v[0],le=S&&!pe&&!v[1];return p.createElement(xa,{onResize:ie},p.createElement("div",Ke({},N,{className:xe(A,"".concat(A,"-range"),ee(ee(ee(ee({},"".concat(A,"-focused"),c),"".concat(A,"-disabled"),v.every(function(de){return de})),"".concat(A,"-invalid"),y.some(function(de){return de})),"".concat(A,"-rtl"),O),d),style:f,ref:M,onClick:h,onMouseDown:function(ve){var ne=ve.target;ne!==B.current.inputElement&&ne!==P.current.inputElement&&ve.preventDefault(),C==null||C(ve)}}),r&&p.createElement("div",{className:"".concat(A,"-prefix")},r),p.createElement(tU,Ke({ref:B},W(0),{autoFocus:pe,tabIndex:w,"date-range":"start"})),p.createElement("div",{className:"".concat(A,"-range-separator")},s),p.createElement(tU,Ke({ref:P},W(1),{autoFocus:le,tabIndex:w,"date-range":"end"})),p.createElement("div",{className:"".concat(A,"-active-bar"),style:K}),p.createElement(uD,{type:"suffix",icon:o}),he&&p.createElement(eU,{icon:i,onClear:m})))}var Yat=p.forwardRef(qat);function yie(e,t){var n=e??t;return Array.isArray(n)?n:[n,n]}function kR(e){return e===1?"end":"start"}function Kat(e,t){var n=Mwe(e,function(){var fn=e.disabled,wn=e.allowEmpty,Mn=yie(fn,!1),Qn=yie(wn,!1);return{disabled:Mn,allowEmpty:Qn}}),r=Ie(n,6),i=r[0],o=r[1],a=r[2],s=r[3],l=r[4],c=r[5],u=i.prefixCls,d=i.styles,f=i.classNames,h=i.placement,m=i.defaultValue,g=i.value,v=i.needConfirm,y=i.onKeyDown,b=i.disabled,_=i.allowEmpty,E=i.disabledDate,C=i.minDate,S=i.maxDate,w=i.defaultOpen,T=i.open,O=i.onOpenChange,x=i.locale,A=i.generateConfig,I=i.picker,M=i.showNow,B=i.showToday,P=i.showTime,k=i.mode,N=i.onPanelChange,L=i.onCalendarChange,V=i.onOk,$=i.defaultPickerValue,W=i.pickerValue,j=i.onPickerValueChange,U=i.inputReadOnly,Z=i.suffixIcon,te=i.onFocus,ae=i.onBlur,K=i.presets,Q=i.ranges,ie=i.components,he=i.cellRender,pe=i.dateRender,le=i.monthCellRender,de=i.onClick,ve=Pwe(t),ne=kwe(T,w,b,O),ue=Ie(ne,2),ge=ue[0],Ce=ue[1],Te=function(wn,Mn){(b.some(function(Qn){return!Qn})||!wn)&&Ce(wn,Mn)},Se=Hwe(A,x,s,!0,!1,m,g,L,V),me=Ie(Se,5),be=me[0],_e=me[1],Re=me[2],De=me[3],z=me[4],D=Re(),q=Lwe(b,_,ge),oe=Ie(q,9),ye=oe[0],ce=oe[1],Be=oe[2],Ve=oe[3],re=oe[4],Me=oe[5],je=oe[6],ke=oe[7],Ge=oe[8],Ue=function(wn,Mn){ce(!0),te==null||te(wn,{range:kR(Mn??Ve)})},qe=function(wn,Mn){ce(!1),ae==null||ae(wn,{range:kR(Mn??Ve)})},At=p.useMemo(function(){if(!P)return null;var fn=P.disabledTime,wn=fn?function(Mn){var Qn=kR(Ve),Mr=Swe(D,je,Ve);return fn(Mn,Qn,{from:Mr})}:void 0;return G(G({},P),{},{disabledTime:wn})},[P,Ve,D,je]),at=Pn([I,I],{value:k}),pt=Ie(at,2),Ct=pt[0],bt=pt[1],Vt=Ct[Ve]||I,Tt=Vt==="date"&&At?"datetime":Vt,Ot=Tt===I&&Tt!=="time",Ut=zwe(I,Vt,M,B,!0),ze=Uwe(i,be,_e,Re,De,b,s,ye,ge,c),Ye=Ie(ze,2),He=Ye[0],Ze=Ye[1],yt=bat(D,b,je,A,x,E),_t=Cwe(D,c,_),Bt=Ie(_t,2),Nt=Bt[0],vt=Bt[1],ht=$we(A,x,D,Ct,ge,Ve,o,Ot,$,W,At==null?void 0:At.defaultOpenValue,j,C,S),kt=Ie(ht,2),Et=kt[0],Yt=kt[1],ct=Yn(function(fn,wn,Mn){var Qn=pw(Ct,Ve,wn);if((Qn[0]!==Ct[0]||Qn[1]!==Ct[1])&&bt(Qn),N&&Mn!==!1){var Mr=nt(D);fn&&(Mr[Ve]=fn),N(Mr,Qn)}}),Rt=function(wn,Mn){return pw(D,Mn,wn)},Ht=function(wn,Mn){var Qn=D;wn&&(Qn=Rt(wn,Ve)),ke(Ve);var Mr=Me(Qn);De(Qn),He(Ve,Mr===null),Mr===null?Te(!1,{force:!0}):Mn||ve.current.focus({index:Mr})},wt=function(wn){var Mn,Qn=wn.target.getRootNode();if(!ve.current.nativeElement.contains((Mn=Qn.activeElement)!==null&&Mn!==void 0?Mn:document.activeElement)){var Mr=b.findIndex(function(Ko){return!Ko});Mr>=0&&ve.current.focus({index:Mr})}Te(!0),de==null||de(wn)},St=function(){Ze(null),Te(!1,{force:!0})},jt=p.useState(null),Pe=Ie(jt,2),Pt=Pe[0],rt=Pe[1],Mt=p.useState(null),It=Ie(Mt,2),xn=It[0],Hn=It[1],R=p.useMemo(function(){return xn||D},[D,xn]);p.useEffect(function(){ge||Hn(null)},[ge]);var F=p.useState(0),J=Ie(F,2),Oe=J[0],$e=J[1],et=Dwe(K,Q),$t=function(wn){Hn(wn),rt("preset")},hn=function(wn){var Mn=Ze(wn);Mn&&Te(!1,{force:!0})},Fn=function(wn){Ht(wn)},Xr=function(wn){Hn(wn?Rt(wn,Ve):null),rt("cell")},Lr=function(wn){Te(!0),Ue(wn)},vi=function(){Be("panel")},Sr=function(wn){var Mn=pw(D,Ve,wn);De(Mn),!v&&!a&&o===Tt&&Ht(wn)},ln=function(){Te(!1)},_n=dY(he,pe,le,kR(Ve)),Cr=D[Ve]||null,on=Yn(function(fn){return c(fn,{activeIndex:Ve})}),an=p.useMemo(function(){var fn=xi(i,!1),wn=ur(i,[].concat(nt(Object.keys(fn)),["onChange","onCalendarChange","style","className","onPanelChange","disabledTime"]));return wn},[i]),Gn=p.createElement(Wwe,Ke({},an,{showNow:Ut,showTime:At,range:!0,multiplePanel:Ot,activeOffset:Oe,placement:h,disabledDate:yt,onFocus:Lr,onBlur:qe,onPanelMouseDown:vi,picker:I,mode:Vt,internalMode:Tt,onPanelChange:ct,format:l,value:Cr,isInvalid:on,onChange:null,onSelect:Sr,pickerValue:Et,defaultOpenValue:C0(P==null?void 0:P.defaultOpenValue)[Ve],onPickerValueChange:Yt,hoverValue:R,onHover:Xr,needConfirm:v,onSubmit:Ht,onOk:z,presets:et,onPresetHover:$t,onPresetSubmit:hn,onNow:Fn,cellRender:_n})),yr=function(wn,Mn){var Qn=Rt(wn,Mn);De(Qn)},oi=function(){Be("input")},Zi=function(wn,Mn){var Qn=je.length,Mr=je[Qn-1];if(Qn&&Mr!==Mn&&v&&!_[Mr]&&!Ge(Mr)&&D[Mr]){ve.current.focus({index:Mr});return}Be("input"),Te(!0,{inherit:!0}),Ve!==Mn&&ge&&!v&&a&&Ht(null,!0),re(Mn),Ue(wn,Mn)},tr=function(wn,Mn){if(Te(!1),!v&&Be()==="input"){var Qn=Me(D);He(Ve,Qn===null)}qe(wn,Mn)},Fi=function(wn,Mn){wn.key==="Tab"&&Ht(null,!0),y==null||y(wn,Mn)},Jn=p.useMemo(function(){return{prefixCls:u,locale:x,generateConfig:A,button:ie.button,input:ie.input}},[u,x,A,ie.button,ie.input]);return ar(function(){ge&&Ve!==void 0&&ct(null,I,!1)},[ge,Ve,I]),ar(function(){var fn=Be();!ge&&fn==="input"&&(Te(!1),Ht(null,!0)),!ge&&a&&!v&&fn==="panel"&&(Te(!0),Ht())},[ge]),p.createElement(jd.Provider,{value:Jn},p.createElement(ywe,Ke({},Ewe(i),{popupElement:Gn,popupStyle:d.popup,popupClassName:f.popup,visible:ge,onClose:ln,range:!0}),p.createElement(Yat,Ke({},i,{ref:ve,suffixIcon:Z,activeIndex:ye||ge?Ve:null,activeHelp:!!xn,allHelp:!!xn&&Pt==="preset",focused:ye,onFocus:Zi,onBlur:tr,onKeyDown:Fi,onSubmit:Ht,value:R,maskFormat:l,onChange:yr,onInputChange:oi,format:s,inputReadOnly:U,disabled:b,open:ge,onOpenChange:Te,onClick:wt,onClear:St,invalid:Nt,onInvalid:vt,onActiveOffset:$e}))))}var Qat=p.forwardRef(Kat);function Xat(e){var t=e.prefixCls,n=e.value,r=e.onRemove,i=e.removeIcon,o=i===void 0?"×":i,a=e.formatDate,s=e.disabled,l=e.maxTagCount,c=e.placeholder,u="".concat(t,"-selector"),d="".concat(t,"-selection"),f="".concat(d,"-overflow");function h(v,y){return p.createElement("span",{className:xe("".concat(d,"-item")),title:typeof v=="string"?v:null},p.createElement("span",{className:"".concat(d,"-item-content")},v),!s&&y&&p.createElement("span",{onMouseDown:function(_){_.preventDefault()},onClick:y,className:"".concat(d,"-item-remove")},o))}function m(v){var y=a(v),b=function(E){E&&E.stopPropagation(),r(v)};return h(y,b)}function g(v){var y="+ ".concat(v.length," ...");return h(y)}return p.createElement("div",{className:u},p.createElement(pd,{prefixCls:f,data:n,renderItem:m,renderRest:g,itemKey:function(y){return a(y)},maxCount:l}),!n.length&&p.createElement("span",{className:"".concat(t,"-selection-placeholder")},c))}var Zat=["id","open","prefix","clearIcon","suffixIcon","activeHelp","allHelp","focused","onFocus","onBlur","onKeyDown","locale","generateConfig","placeholder","className","style","onClick","onClear","internalPicker","value","onChange","onSubmit","onInputChange","multiple","maxTagCount","format","maskFormat","preserveInvalidOnBlur","onInvalid","disabled","invalid","inputReadOnly","direction","onOpenChange","onMouseDown","required","aria-required","autoFocus","tabIndex","removeIcon"];function Jat(e,t){e.id;var n=e.open,r=e.prefix,i=e.clearIcon,o=e.suffixIcon;e.activeHelp,e.allHelp;var a=e.focused;e.onFocus,e.onBlur,e.onKeyDown;var s=e.locale,l=e.generateConfig,c=e.placeholder,u=e.className,d=e.style,f=e.onClick,h=e.onClear,m=e.internalPicker,g=e.value,v=e.onChange,y=e.onSubmit;e.onInputChange;var b=e.multiple,_=e.maxTagCount;e.format,e.maskFormat,e.preserveInvalidOnBlur,e.onInvalid;var E=e.disabled,C=e.invalid;e.inputReadOnly;var S=e.direction;e.onOpenChange;var w=e.onMouseDown;e.required,e["aria-required"];var T=e.autoFocus,O=e.tabIndex,x=e.removeIcon,A=Dt(e,Zat),I=S==="rtl",M=p.useContext(jd),B=M.prefixCls,P=p.useRef(),k=p.useRef();p.useImperativeHandle(t,function(){return{nativeElement:P.current,focus:function(K){var Q;(Q=k.current)===null||Q===void 0||Q.focus(K)},blur:function(){var K;(K=k.current)===null||K===void 0||K.blur()}}});var N=Ywe(A),L=function(K){v([K])},V=function(K){var Q=g.filter(function(ie){return ie&&!xs(l,s,ie,K,m)});v(Q),n||y()},$=qwe(G(G({},e),{},{onChange:L}),function(ae){var K=ae.valueTexts;return{value:K[0]||"",active:a}}),W=Ie($,2),j=W[0],U=W[1],Z=!!(i&&g.length&&!E),te=b?p.createElement(p.Fragment,null,p.createElement(Xat,{prefixCls:B,value:g,onRemove:V,formatDate:U,maxTagCount:_,disabled:E,removeIcon:x,placeholder:c}),p.createElement("input",{className:"".concat(B,"-multiple-input"),value:g.map(U).join(","),ref:k,readOnly:!0,autoFocus:T,tabIndex:O}),p.createElement(uD,{type:"suffix",icon:o}),Z&&p.createElement(eU,{icon:i,onClear:h})):p.createElement(tU,Ke({ref:k},j(),{autoFocus:T,tabIndex:O,suffixIcon:o,clearIcon:Z&&p.createElement(eU,{icon:i,onClear:h}),showActiveCls:!1}));return p.createElement("div",Ke({},N,{className:xe(B,ee(ee(ee(ee(ee({},"".concat(B,"-multiple"),b),"".concat(B,"-focused"),a),"".concat(B,"-disabled"),E),"".concat(B,"-invalid"),C),"".concat(B,"-rtl"),I),u),style:d,ref:P,onClick:f,onMouseDown:function(K){var Q,ie=K.target;ie!==((Q=k.current)===null||Q===void 0?void 0:Q.inputElement)&&K.preventDefault(),w==null||w(K)}}),r&&p.createElement("div",{className:"".concat(B,"-prefix")},r),te)}var est=p.forwardRef(Jat);function tst(e,t){var n=Mwe(e),r=Ie(n,6),i=r[0],o=r[1],a=r[2],s=r[3],l=r[4],c=r[5],u=i,d=u.prefixCls,f=u.styles,h=u.classNames,m=u.order,g=u.defaultValue,v=u.value,y=u.needConfirm,b=u.onChange,_=u.onKeyDown,E=u.disabled,C=u.disabledDate,S=u.minDate,w=u.maxDate,T=u.defaultOpen,O=u.open,x=u.onOpenChange,A=u.locale,I=u.generateConfig,M=u.picker,B=u.showNow,P=u.showToday,k=u.showTime,N=u.mode,L=u.onPanelChange,V=u.onCalendarChange,$=u.onOk,W=u.multiple,j=u.defaultPickerValue,U=u.pickerValue,Z=u.onPickerValueChange,te=u.inputReadOnly,ae=u.suffixIcon,K=u.removeIcon,Q=u.onFocus,ie=u.onBlur,he=u.presets,pe=u.components,le=u.cellRender,de=u.dateRender,ve=u.monthCellRender,ne=u.onClick,ue=Pwe(t);function ge(on){return on===null?null:W?on:on[0]}var Ce=Vwe(I,A,o),Te=kwe(O,T,[E],x),Se=Ie(Te,2),me=Se[0],be=Se[1],_e=function(an,Gn,yr){if(V){var oi=G({},yr);delete oi.range,V(ge(an),ge(Gn),oi)}},Re=function(an){$==null||$(ge(an))},De=Hwe(I,A,s,!1,m,g,v,_e,Re),z=Ie(De,5),D=z[0],q=z[1],oe=z[2],ye=z[3],ce=z[4],Be=oe(),Ve=Lwe([E]),re=Ie(Ve,4),Me=re[0],je=re[1],ke=re[2],Ge=re[3],Ue=function(an){je(!0),Q==null||Q(an,{})},qe=function(an){je(!1),ie==null||ie(an,{})},At=Pn(M,{value:N}),at=Ie(At,2),pt=at[0],Ct=at[1],bt=pt==="date"&&k?"datetime":pt,Vt=zwe(M,pt,B,P),Tt=b&&function(on,an){b(ge(on),ge(an))},Ot=Uwe(G(G({},i),{},{onChange:Tt}),D,q,oe,ye,[],s,Me,me,c),Ut=Ie(Ot,2),ze=Ut[1],Ye=Cwe(Be,c),He=Ie(Ye,2),Ze=He[0],yt=He[1],_t=p.useMemo(function(){return Ze.some(function(on){return on})},[Ze]),Bt=function(an,Gn){if(Z){var yr=G(G({},Gn),{},{mode:Gn.mode[0]});delete yr.range,Z(an[0],yr)}},Nt=$we(I,A,Be,[pt],me,Ge,o,!1,j,U,C0(k==null?void 0:k.defaultOpenValue),Bt,S,w),vt=Ie(Nt,2),ht=vt[0],kt=vt[1],Et=Yn(function(on,an,Gn){if(Ct(an),L&&Gn!==!1){var yr=on||Be[Be.length-1];L(yr,an)}}),Yt=function(){ze(oe()),be(!1,{force:!0})},ct=function(an){!E&&!ue.current.nativeElement.contains(document.activeElement)&&ue.current.focus(),be(!0),ne==null||ne(an)},Rt=function(){ze(null),be(!1,{force:!0})},Ht=p.useState(null),wt=Ie(Ht,2),St=wt[0],jt=wt[1],Pe=p.useState(null),Pt=Ie(Pe,2),rt=Pt[0],Mt=Pt[1],It=p.useMemo(function(){var on=[rt].concat(nt(Be)).filter(function(an){return an});return W?on:on.slice(0,1)},[Be,rt,W]),xn=p.useMemo(function(){return!W&&rt?[rt]:Be.filter(function(on){return on})},[Be,rt,W]);p.useEffect(function(){me||Mt(null)},[me]);var Hn=Dwe(he),R=function(an){Mt(an),jt("preset")},F=function(an){var Gn=W?Ce(oe(),an):[an],yr=ze(Gn);yr&&!W&&be(!1,{force:!0})},J=function(an){F(an)},Oe=function(an){Mt(an),jt("cell")},$e=function(an){be(!0),Ue(an)},et=function(an){if(ke("panel"),!(W&&bt!==M)){var Gn=W?Ce(oe(),an):[an];ye(Gn),!y&&!a&&o===bt&&Yt()}},$t=function(){be(!1)},hn=dY(le,de,ve),Fn=p.useMemo(function(){var on=xi(i,!1),an=ur(i,[].concat(nt(Object.keys(on)),["onChange","onCalendarChange","style","className","onPanelChange"]));return G(G({},an),{},{multiple:i.multiple})},[i]),Xr=p.createElement(Wwe,Ke({},Fn,{showNow:Vt,showTime:k,disabledDate:C,onFocus:$e,onBlur:qe,picker:M,mode:pt,internalMode:bt,onPanelChange:Et,format:l,value:Be,isInvalid:c,onChange:null,onSelect:et,pickerValue:ht,defaultOpenValue:k==null?void 0:k.defaultOpenValue,onPickerValueChange:kt,hoverValue:It,onHover:Oe,needConfirm:y,onSubmit:Yt,onOk:ce,presets:Hn,onPresetHover:R,onPresetSubmit:F,onNow:J,cellRender:hn})),Lr=function(an){ye(an)},vi=function(){ke("input")},Sr=function(an){ke("input"),be(!0,{inherit:!0}),Ue(an)},ln=function(an){be(!1),qe(an)},_n=function(an,Gn){an.key==="Tab"&&Yt(),_==null||_(an,Gn)},Cr=p.useMemo(function(){return{prefixCls:d,locale:A,generateConfig:I,button:pe.button,input:pe.input}},[d,A,I,pe.button,pe.input]);return ar(function(){me&&Ge!==void 0&&Et(null,M,!1)},[me,Ge,M]),ar(function(){var on=ke();!me&&on==="input"&&(be(!1),Yt()),!me&&a&&!y&&on==="panel"&&(be(!0),Yt())},[me]),p.createElement(jd.Provider,{value:Cr},p.createElement(ywe,Ke({},Ewe(i),{popupElement:Xr,popupStyle:f.popup,popupClassName:h.popup,visible:me,onClose:$t}),p.createElement(est,Ke({},i,{ref:ue,suffixIcon:ae,removeIcon:K,activeHelp:!!rt,allHelp:!!rt&&St==="preset",focused:Me,onFocus:Sr,onBlur:ln,onKeyDown:_n,onSubmit:Yt,value:xn,maskFormat:l,onChange:Lr,onInputChange:vi,internalPicker:o,format:s,inputReadOnly:te,disabled:E,open:me,onOpenChange:be,onClick:ct,onClear:Rt,invalid:_t,onInvalid:function(an){yt(an,0)}}))))}var nst=p.forwardRef(tst);const Kwe=p.createContext(null),rst=Kwe.Provider,Qwe=p.createContext(null),ist=Qwe.Provider;var ost=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],Xwe=p.forwardRef(function(e,t){var n=e.prefixCls,r=n===void 0?"rc-checkbox":n,i=e.className,o=e.style,a=e.checked,s=e.disabled,l=e.defaultChecked,c=l===void 0?!1:l,u=e.type,d=u===void 0?"checkbox":u,f=e.title,h=e.onChange,m=Dt(e,ost),g=p.useRef(null),v=p.useRef(null),y=Pn(c,{value:a}),b=Ie(y,2),_=b[0],E=b[1];p.useImperativeHandle(t,function(){return{focus:function(T){var O;(O=g.current)===null||O===void 0||O.focus(T)},blur:function(){var T;(T=g.current)===null||T===void 0||T.blur()},input:g.current,nativeElement:v.current}});var C=xe(r,i,ee(ee({},"".concat(r,"-checked"),_),"".concat(r,"-disabled"),s)),S=function(T){s||("checked"in e||E(T.target.checked),h==null||h({target:G(G({},e),{},{type:d,checked:T.target.checked}),stopPropagation:function(){T.stopPropagation()},preventDefault:function(){T.preventDefault()},nativeEvent:T.nativeEvent}))};return p.createElement("span",{className:C,title:f,style:o,ref:v},p.createElement("input",Ke({},m,{className:"".concat(r,"-input"),ref:g,onChange:S,disabled:s,checked:!!_,type:d})),p.createElement("span",{className:"".concat(r,"-inner")}))});function Zwe(e){const t=se.useRef(null),n=()=>{nr.cancel(t.current),t.current=null};return[()=>{n(),t.current=nr(()=>{t.current=null})},o=>{t.current&&(o.stopPropagation(),n()),e==null||e(o)}]}const ast=e=>{const{componentCls:t,antCls:n}=e,r=`${t}-group`;return{[r]:Object.assign(Object.assign({},gr(e)),{display:"inline-block",fontSize:0,[`&${r}-rtl`]:{direction:"rtl"},[`&${r}-block`]:{display:"flex"},[`${n}-badge ${n}-badge-count`]:{zIndex:1},[`> ${n}-badge:not(:first-child) > ${n}-button-wrapper`]:{borderInlineStart:"none"}})}},sst=e=>{const{componentCls:t,wrapperMarginInlineEnd:n,colorPrimary:r,radioSize:i,motionDurationSlow:o,motionDurationMid:a,motionEaseInOutCirc:s,colorBgContainer:l,colorBorder:c,lineWidth:u,colorBgContainerDisabled:d,colorTextDisabled:f,paddingXS:h,dotColorDisabled:m,lineType:g,radioColor:v,radioBgColor:y,calc:b}=e,_=`${t}-inner`,C=b(i).sub(b(4).mul(2)),S=b(1).mul(i).equal({unit:!0});return{[`${t}-wrapper`]:Object.assign(Object.assign({},gr(e)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:n,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[`${t}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Ae(u)} ${g} ${r}`,borderRadius:"50%",visibility:"hidden",opacity:0,content:'""'},[t]:Object.assign(Object.assign({},gr(e)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${t}-wrapper:hover &, - &:hover ${_}`]:{borderColor:r},[`${t}-input:focus-visible + ${_}`]:Object.assign({},Td(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:S,height:S,marginBlockStart:b(1).mul(i).div(-2).equal({unit:!0}),marginInlineStart:b(1).mul(i).div(-2).equal({unit:!0}),backgroundColor:v,borderBlockStart:0,borderInlineStart:0,borderRadius:S,transform:"scale(0)",opacity:0,transition:`all ${o} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:S,height:S,backgroundColor:l,borderColor:c,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[_]:{borderColor:r,backgroundColor:y,"&::after":{transform:`scale(${e.calc(e.dotSize).div(i).equal()})`,opacity:1,transition:`all ${o} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[_]:{backgroundColor:d,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:m}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[_]:{"&::after":{transform:`scale(${b(C).div(i).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:h,paddingInlineEnd:h}})}},lst=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:i,lineType:o,colorBorder:a,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:c,fontSize:u,buttonBg:d,fontSizeLG:f,controlHeightLG:h,controlHeightSM:m,paddingXS:g,borderRadius:v,borderRadiusSM:y,borderRadiusLG:b,buttonCheckedBg:_,buttonSolidCheckedColor:E,colorTextDisabled:C,colorBgContainerDisabled:S,buttonCheckedBgDisabled:w,buttonCheckedColorDisabled:T,colorPrimary:O,colorPrimaryHover:x,colorPrimaryActive:A,buttonSolidCheckedBg:I,buttonSolidCheckedHoverBg:M,buttonSolidCheckedActiveBg:B,calc:P}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:Ae(P(n).sub(P(i).mul(2)).equal()),background:d,border:`${Ae(i)} ${o} ${a}`,borderBlockStartWidth:P(i).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:i,cursor:"pointer",transition:[`color ${l}`,`background ${l}`,`box-shadow ${l}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:P(i).mul(-1).equal(),insetInlineStart:P(i).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:i,paddingInline:0,backgroundColor:a,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${Ae(i)} ${o} ${a}`,borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v},"&:first-child:last-child":{borderRadius:v},[`${r}-group-large &`]:{height:h,fontSize:f,lineHeight:Ae(P(h).sub(P(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:m,paddingInline:P(g).sub(i).equal(),paddingBlock:0,lineHeight:Ae(P(m).sub(P(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:O},"&:has(:focus-visible)":Object.assign({},Td(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:O,background:_,borderColor:O,"&::before":{backgroundColor:O},"&:first-child":{borderColor:O},"&:hover":{color:x,borderColor:x,"&::before":{backgroundColor:x}},"&:active":{color:A,borderColor:A,"&::before":{backgroundColor:A}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:E,background:I,borderColor:I,"&:hover":{color:E,background:M,borderColor:M},"&:active":{color:E,background:B,borderColor:B}},"&-disabled":{color:C,backgroundColor:S,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:C,backgroundColor:S,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:T,backgroundColor:w,borderColor:a,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},cst=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:i,fontSizeLG:o,colorText:a,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:h,colorWhite:m}=e,g=4,v=o,y=t?v-g*2:v-(g+i)*2;return{radioSize:v,dotSize:y,dotColorDisabled:l,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:h,buttonBg:s,buttonCheckedBg:s,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-i,wrapperMarginInlineEnd:r,radioColor:t?d:m,radioBgColor:t?s:d}},Jwe=lr("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${Ae(n)} ${t}`,o=Kn(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[ast(o),sst(o),lst(o)]},cst,{unitless:{radioSize:!0,dotSize:!0}});var ust=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r;const i=p.useContext(Kwe),o=p.useContext(Qwe),{getPrefixCls:a,direction:s,radio:l}=p.useContext(Xt),c=p.useRef(null),u=aa(t,c),{isFormItemInput:d}=p.useContext(oa),f=k=>{var N,L;(N=e.onChange)===null||N===void 0||N.call(e,k),(L=i==null?void 0:i.onChange)===null||L===void 0||L.call(i,k)},{prefixCls:h,className:m,rootClassName:g,children:v,style:y,title:b}=e,_=ust(e,["prefixCls","className","rootClassName","children","style","title"]),E=a("radio",h),C=((i==null?void 0:i.optionType)||o)==="button",S=C?`${E}-button`:E,w=ui(E),[T,O,x]=Jwe(E,w),A=Object.assign({},_),I=p.useContext(Wo);i&&(A.name=i.name,A.onChange=f,A.checked=e.value===i.value,A.disabled=(n=A.disabled)!==null&&n!==void 0?n:i.disabled),A.disabled=(r=A.disabled)!==null&&r!==void 0?r:I;const M=xe(`${S}-wrapper`,{[`${S}-wrapper-checked`]:A.checked,[`${S}-wrapper-disabled`]:A.disabled,[`${S}-wrapper-rtl`]:s==="rtl",[`${S}-wrapper-in-form-item`]:d,[`${S}-wrapper-block`]:!!(i!=null&&i.block)},l==null?void 0:l.className,m,g,O,x,w),[B,P]=Zwe(A.onClick);return T(p.createElement(o2,{component:"Radio",disabled:A.disabled},p.createElement("label",{className:M,style:Object.assign(Object.assign({},l==null?void 0:l.style),y),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:b,onClick:B},p.createElement(Xwe,Object.assign({},A,{className:xe(A.className,{[AP]:!C}),type:"radio",prefixCls:S,ref:u,onClick:P})),v!==void 0?p.createElement("span",null,v):null)))},QM=p.forwardRef(dst),fst=p.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=p.useContext(Xt),i=UP(),{prefixCls:o,className:a,rootClassName:s,options:l,buttonStyle:c="outline",disabled:u,children:d,size:f,style:h,id:m,optionType:g,name:v=i,defaultValue:y,value:b,block:_=!1,onChange:E,onMouseEnter:C,onMouseLeave:S,onFocus:w,onBlur:T}=e,[O,x]=Pn(y,{value:b}),A=p.useCallback(j=>{const U=O,Z=j.target.value;"value"in e||x(Z),Z!==U&&(E==null||E(j))},[O,x,E]),I=n("radio",o),M=`${I}-group`,B=ui(I),[P,k,N]=Jwe(I,B);let L=d;l&&l.length>0&&(L=l.map(j=>typeof j=="string"||typeof j=="number"?p.createElement(QM,{key:j.toString(),prefixCls:I,disabled:u,value:j,checked:O===j},j):p.createElement(QM,{key:`radio-group-value-options-${j.value}`,prefixCls:I,disabled:j.disabled||u,value:j.value,checked:O===j.value,title:j.title,style:j.style,id:j.id,required:j.required},j.label)));const V=Co(f),$=xe(M,`${M}-${c}`,{[`${M}-${V}`]:V,[`${M}-rtl`]:r==="rtl",[`${M}-block`]:_},a,s,k,N,B),W=p.useMemo(()=>({onChange:A,value:O,disabled:u,name:v,optionType:g,block:_}),[A,O,u,v,g,_]);return P(p.createElement("div",Object.assign({},xi(e,{aria:!0,data:!0}),{className:$,style:h,onMouseEnter:C,onMouseLeave:S,onFocus:w,onBlur:T,id:m,ref:t}),p.createElement(rst,{value:W},L)))}),pst=p.memo(fst);var hst=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:n}=p.useContext(Xt),{prefixCls:r}=e,i=hst(e,["prefixCls"]),o=n("radio",r);return p.createElement(ist,{value:"button"},p.createElement(QM,Object.assign({prefixCls:o},i,{type:"radio",ref:t})))},gst=p.forwardRef(mst),qi=QM;qi.Button=gst;qi.Group=pst;qi.__ANT_RADIO=!0;function v2(e){return Kn(e,{inputAffixPadding:e.paddingXXS})}const b2=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightSM:o,controlHeightLG:a,fontSizeLG:s,lineHeightLG:l,paddingSM:c,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:f,colorPrimaryHover:h,colorPrimary:m,controlOutlineWidth:g,controlOutline:v,colorErrorOutline:y,colorWarningOutline:b,colorBgContainer:_}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-i,0),paddingBlockSM:Math.max(Math.round((o-n*r)/2*10)/10-i,0),paddingBlockLG:Math.ceil((a-s*l)/2*10)/10-i,paddingInline:c-i,paddingInlineSM:u-i,paddingInlineLG:d-i,addonBg:f,activeBorderColor:m,hoverBorderColor:h,activeShadow:`0 0 0 ${g}px ${v}`,errorActiveShadow:`0 0 0 ${g}px ${y}`,warningActiveShadow:`0 0 0 ${g}px ${b}`,hoverBg:_,activeBg:_,inputFontSize:n,inputFontSizeLG:s,inputFontSizeSM:n}},vst=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),dD=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},vst(Kn(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),gY=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),_ie=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},gY(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),vY=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gY(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},dD(e))}),_ie(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),_ie(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),Sie=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),eTe=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},Sie(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),Sie(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},dD(e))}})}),bY=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},tTe=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),Eie=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},tTe(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),yY=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},tTe(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},dD(e))}),Eie(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),Eie(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),Cie=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),nTe=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},Cie(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),Cie(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),_Y=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),rTe=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:i}=e;return{padding:`${Ae(t)} ${Ae(i)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},SY=e=>({padding:`${Ae(e.paddingBlockSM)} ${Ae(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),y2=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${Ae(e.paddingBlock)} ${Ae(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},_Y(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},rTe(e)),"&-sm":Object.assign({},SY(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),iTe=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},rTe(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},SY(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${Ae(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${Ae(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${Ae(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${Ae(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${n}-cascader-picker`]:{margin:`-9px ${Ae(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},wd()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` + &:hover ${_}`]:{borderColor:r},[`${t}-input:focus-visible + ${_}`]:Object.assign({},Td(e)),[`${t}:hover::after, ${t}-wrapper:hover &::after`]:{visibility:"visible"},[`${t}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:S,height:S,marginBlockStart:b(1).mul(i).div(-2).equal({unit:!0}),marginInlineStart:b(1).mul(i).div(-2).equal({unit:!0}),backgroundColor:v,borderBlockStart:0,borderInlineStart:0,borderRadius:S,transform:"scale(0)",opacity:0,transition:`all ${o} ${s}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:S,height:S,backgroundColor:l,borderColor:c,borderStyle:"solid",borderWidth:u,borderRadius:"50%",transition:`all ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${t}-checked`]:{[_]:{borderColor:r,backgroundColor:y,"&::after":{transform:`scale(${e.calc(e.dotSize).div(i).equal()})`,opacity:1,transition:`all ${o} ${s}`}}},[`${t}-disabled`]:{cursor:"not-allowed",[_]:{backgroundColor:d,borderColor:c,cursor:"not-allowed","&::after":{backgroundColor:m}},[`${t}-input`]:{cursor:"not-allowed"},[`${t}-disabled + span`]:{color:f,cursor:"not-allowed"},[`&${t}-checked`]:{[_]:{"&::after":{transform:`scale(${b(C).div(i).equal()})`}}}},[`span${t} + *`]:{paddingInlineStart:h,paddingInlineEnd:h}})}},lst=e=>{const{buttonColor:t,controlHeight:n,componentCls:r,lineWidth:i,lineType:o,colorBorder:a,motionDurationSlow:s,motionDurationMid:l,buttonPaddingInline:c,fontSize:u,buttonBg:d,fontSizeLG:f,controlHeightLG:h,controlHeightSM:m,paddingXS:g,borderRadius:v,borderRadiusSM:y,borderRadiusLG:b,buttonCheckedBg:_,buttonSolidCheckedColor:E,colorTextDisabled:C,colorBgContainerDisabled:S,buttonCheckedBgDisabled:w,buttonCheckedColorDisabled:T,colorPrimary:O,colorPrimaryHover:x,colorPrimaryActive:A,buttonSolidCheckedBg:I,buttonSolidCheckedHoverBg:M,buttonSolidCheckedActiveBg:B,calc:P}=e;return{[`${r}-button-wrapper`]:{position:"relative",display:"inline-block",height:n,margin:0,paddingInline:c,paddingBlock:0,color:t,fontSize:u,lineHeight:Ae(P(n).sub(P(i).mul(2)).equal()),background:d,border:`${Ae(i)} ${o} ${a}`,borderBlockStartWidth:P(i).add(.02).equal(),borderInlineStartWidth:0,borderInlineEndWidth:i,cursor:"pointer",transition:[`color ${l}`,`background ${l}`,`box-shadow ${l}`].join(","),a:{color:t},[`> ${r}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:P(i).mul(-1).equal(),insetInlineStart:P(i).mul(-1).equal(),display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:i,paddingInline:0,backgroundColor:a,transition:`background-color ${s}`,content:'""'}},"&:first-child":{borderInlineStart:`${Ae(i)} ${o} ${a}`,borderStartStartRadius:v,borderEndStartRadius:v},"&:last-child":{borderStartEndRadius:v,borderEndEndRadius:v},"&:first-child:last-child":{borderRadius:v},[`${r}-group-large &`]:{height:h,fontSize:f,lineHeight:Ae(P(h).sub(P(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:b,borderEndStartRadius:b},"&:last-child":{borderStartEndRadius:b,borderEndEndRadius:b}},[`${r}-group-small &`]:{height:m,paddingInline:P(g).sub(i).equal(),paddingBlock:0,lineHeight:Ae(P(m).sub(P(i).mul(2)).equal()),"&:first-child":{borderStartStartRadius:y,borderEndStartRadius:y},"&:last-child":{borderStartEndRadius:y,borderEndEndRadius:y}},"&:hover":{position:"relative",color:O},"&:has(:focus-visible)":Object.assign({},Td(e)),[`${r}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${r}-button-wrapper-disabled)`]:{zIndex:1,color:O,background:_,borderColor:O,"&::before":{backgroundColor:O},"&:first-child":{borderColor:O},"&:hover":{color:x,borderColor:x,"&::before":{backgroundColor:x}},"&:active":{color:A,borderColor:A,"&::before":{backgroundColor:A}}},[`${r}-group-solid &-checked:not(${r}-button-wrapper-disabled)`]:{color:E,background:I,borderColor:I,"&:hover":{color:E,background:M,borderColor:M},"&:active":{color:E,background:B,borderColor:B}},"&-disabled":{color:C,backgroundColor:S,borderColor:a,cursor:"not-allowed","&:first-child, &:hover":{color:C,backgroundColor:S,borderColor:a}},[`&-disabled${r}-button-wrapper-checked`]:{color:T,backgroundColor:w,borderColor:a,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}},cst=e=>{const{wireframe:t,padding:n,marginXS:r,lineWidth:i,fontSizeLG:o,colorText:a,colorBgContainer:s,colorTextDisabled:l,controlItemBgActiveDisabled:c,colorTextLightSolid:u,colorPrimary:d,colorPrimaryHover:f,colorPrimaryActive:h,colorWhite:m}=e,g=4,v=o,y=t?v-g*2:v-(g+i)*2;return{radioSize:v,dotSize:y,dotColorDisabled:l,buttonSolidCheckedColor:u,buttonSolidCheckedBg:d,buttonSolidCheckedHoverBg:f,buttonSolidCheckedActiveBg:h,buttonBg:s,buttonCheckedBg:s,buttonColor:a,buttonCheckedBgDisabled:c,buttonCheckedColorDisabled:l,buttonPaddingInline:n-i,wrapperMarginInlineEnd:r,radioColor:t?d:m,radioBgColor:t?s:d}},Jwe=lr("Radio",e=>{const{controlOutline:t,controlOutlineWidth:n}=e,r=`0 0 0 ${Ae(n)} ${t}`,o=Kn(e,{radioFocusShadow:r,radioButtonFocusShadow:r});return[ast(o),sst(o),lst(o)]},cst,{unitless:{radioSize:!0,dotSize:!0}});var ust=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r;const i=p.useContext(Kwe),o=p.useContext(Qwe),{getPrefixCls:a,direction:s,radio:l}=p.useContext(Xt),c=p.useRef(null),u=aa(t,c),{isFormItemInput:d}=p.useContext(oa),f=k=>{var N,L;(N=e.onChange)===null||N===void 0||N.call(e,k),(L=i==null?void 0:i.onChange)===null||L===void 0||L.call(i,k)},{prefixCls:h,className:m,rootClassName:g,children:v,style:y,title:b}=e,_=ust(e,["prefixCls","className","rootClassName","children","style","title"]),E=a("radio",h),C=((i==null?void 0:i.optionType)||o)==="button",S=C?`${E}-button`:E,w=ui(E),[T,O,x]=Jwe(E,w),A=Object.assign({},_),I=p.useContext(Wo);i&&(A.name=i.name,A.onChange=f,A.checked=e.value===i.value,A.disabled=(n=A.disabled)!==null&&n!==void 0?n:i.disabled),A.disabled=(r=A.disabled)!==null&&r!==void 0?r:I;const M=xe(`${S}-wrapper`,{[`${S}-wrapper-checked`]:A.checked,[`${S}-wrapper-disabled`]:A.disabled,[`${S}-wrapper-rtl`]:s==="rtl",[`${S}-wrapper-in-form-item`]:d,[`${S}-wrapper-block`]:!!(i!=null&&i.block)},l==null?void 0:l.className,m,g,O,x,w),[B,P]=Zwe(A.onClick);return T(p.createElement(o2,{component:"Radio",disabled:A.disabled},p.createElement("label",{className:M,style:Object.assign(Object.assign({},l==null?void 0:l.style),y),onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:b,onClick:B},p.createElement(Xwe,Object.assign({},A,{className:xe(A.className,{[A5]:!C}),type:"radio",prefixCls:S,ref:u,onClick:P})),v!==void 0?p.createElement("span",null,v):null)))},QM=p.forwardRef(dst),fst=p.forwardRef((e,t)=>{const{getPrefixCls:n,direction:r}=p.useContext(Xt),i=U5(),{prefixCls:o,className:a,rootClassName:s,options:l,buttonStyle:c="outline",disabled:u,children:d,size:f,style:h,id:m,optionType:g,name:v=i,defaultValue:y,value:b,block:_=!1,onChange:E,onMouseEnter:C,onMouseLeave:S,onFocus:w,onBlur:T}=e,[O,x]=Pn(y,{value:b}),A=p.useCallback(j=>{const U=O,Z=j.target.value;"value"in e||x(Z),Z!==U&&(E==null||E(j))},[O,x,E]),I=n("radio",o),M=`${I}-group`,B=ui(I),[P,k,N]=Jwe(I,B);let L=d;l&&l.length>0&&(L=l.map(j=>typeof j=="string"||typeof j=="number"?p.createElement(QM,{key:j.toString(),prefixCls:I,disabled:u,value:j,checked:O===j},j):p.createElement(QM,{key:`radio-group-value-options-${j.value}`,prefixCls:I,disabled:j.disabled||u,value:j.value,checked:O===j.value,title:j.title,style:j.style,id:j.id,required:j.required},j.label)));const V=Co(f),$=xe(M,`${M}-${c}`,{[`${M}-${V}`]:V,[`${M}-rtl`]:r==="rtl",[`${M}-block`]:_},a,s,k,N,B),W=p.useMemo(()=>({onChange:A,value:O,disabled:u,name:v,optionType:g,block:_}),[A,O,u,v,g,_]);return P(p.createElement("div",Object.assign({},xi(e,{aria:!0,data:!0}),{className:$,style:h,onMouseEnter:C,onMouseLeave:S,onFocus:w,onBlur:T,id:m,ref:t}),p.createElement(rst,{value:W},L)))}),pst=p.memo(fst);var hst=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:n}=p.useContext(Xt),{prefixCls:r}=e,i=hst(e,["prefixCls"]),o=n("radio",r);return p.createElement(ist,{value:"button"},p.createElement(QM,Object.assign({prefixCls:o},i,{type:"radio",ref:t})))},gst=p.forwardRef(mst),qi=QM;qi.Button=gst;qi.Group=pst;qi.__ANT_RADIO=!0;function v2(e){return Kn(e,{inputAffixPadding:e.paddingXXS})}const b2=e=>{const{controlHeight:t,fontSize:n,lineHeight:r,lineWidth:i,controlHeightSM:o,controlHeightLG:a,fontSizeLG:s,lineHeightLG:l,paddingSM:c,controlPaddingHorizontalSM:u,controlPaddingHorizontal:d,colorFillAlter:f,colorPrimaryHover:h,colorPrimary:m,controlOutlineWidth:g,controlOutline:v,colorErrorOutline:y,colorWarningOutline:b,colorBgContainer:_}=e;return{paddingBlock:Math.max(Math.round((t-n*r)/2*10)/10-i,0),paddingBlockSM:Math.max(Math.round((o-n*r)/2*10)/10-i,0),paddingBlockLG:Math.ceil((a-s*l)/2*10)/10-i,paddingInline:c-i,paddingInlineSM:u-i,paddingInlineLG:d-i,addonBg:f,activeBorderColor:m,hoverBorderColor:h,activeShadow:`0 0 0 ${g}px ${v}`,errorActiveShadow:`0 0 0 ${g}px ${y}`,warningActiveShadow:`0 0 0 ${g}px ${b}`,hoverBg:_,activeBg:_,inputFontSize:n,inputFontSizeLG:s,inputFontSizeSM:n}},vst=e=>({borderColor:e.hoverBorderColor,backgroundColor:e.hoverBg}),dD=e=>({color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"input[disabled], textarea[disabled]":{cursor:"not-allowed"},"&:hover:not([disabled])":Object.assign({},vst(Kn(e,{hoverBorderColor:e.colorBorder,hoverBg:e.colorBgContainerDisabled})))}),gY=(e,t)=>({background:e.colorBgContainer,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:t.borderColor,"&:hover":{borderColor:t.hoverBorderColor,backgroundColor:e.hoverBg},"&:focus, &:focus-within":{borderColor:t.activeBorderColor,boxShadow:t.activeShadow,outline:0,backgroundColor:e.activeBg}}),_ie=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},gY(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}}),[`&${e.componentCls}-status-${t.status}${e.componentCls}-disabled`]:{borderColor:t.borderColor}}),vY=(e,t)=>({"&-outlined":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gY(e,{borderColor:e.colorBorder,hoverBorderColor:e.hoverBorderColor,activeBorderColor:e.activeBorderColor,activeShadow:e.activeShadow})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},dD(e))}),_ie(e,{status:"error",borderColor:e.colorError,hoverBorderColor:e.colorErrorBorderHover,activeBorderColor:e.colorError,activeShadow:e.errorActiveShadow,affixColor:e.colorError})),_ie(e,{status:"warning",borderColor:e.colorWarning,hoverBorderColor:e.colorWarningBorderHover,activeBorderColor:e.colorWarning,activeShadow:e.warningActiveShadow,affixColor:e.colorWarning})),t)}),Sie=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{borderColor:t.addonBorderColor,color:t.addonColor}}}),eTe=e=>({"&-outlined":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.addonBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}}},Sie(e,{status:"error",addonBorderColor:e.colorError,addonColor:e.colorErrorText})),Sie(e,{status:"warning",addonBorderColor:e.colorWarning,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group-addon`]:Object.assign({},dD(e))}})}),bY=(e,t)=>{const{componentCls:n}=e;return{"&-borderless":Object.assign({background:"transparent",border:"none","&:focus, &:focus-within":{outline:"none"},[`&${n}-disabled, &[disabled]`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${n}-status-error`]:{"&, & input, & textarea":{color:e.colorError}},[`&${n}-status-warning`]:{"&, & input, & textarea":{color:e.colorWarning}}},t)}},tTe=(e,t)=>({background:t.bg,borderWidth:e.lineWidth,borderStyle:e.lineType,borderColor:"transparent","input&, & input, textarea&, & textarea":{color:t==null?void 0:t.inputColor},"&:hover":{background:t.hoverBg},"&:focus, &:focus-within":{outline:0,borderColor:t.activeBorderColor,backgroundColor:e.activeBg}}),Eie=(e,t)=>({[`&${e.componentCls}-status-${t.status}:not(${e.componentCls}-disabled)`]:Object.assign(Object.assign({},tTe(e,t)),{[`${e.componentCls}-prefix, ${e.componentCls}-suffix`]:{color:t.affixColor}})}),yY=(e,t)=>({"&-filled":Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},tTe(e,{bg:e.colorFillTertiary,hoverBg:e.colorFillSecondary,activeBorderColor:e.activeBorderColor})),{[`&${e.componentCls}-disabled, &[disabled]`]:Object.assign({},dD(e))}),Eie(e,{status:"error",bg:e.colorErrorBg,hoverBg:e.colorErrorBgHover,activeBorderColor:e.colorError,inputColor:e.colorErrorText,affixColor:e.colorError})),Eie(e,{status:"warning",bg:e.colorWarningBg,hoverBg:e.colorWarningBgHover,activeBorderColor:e.colorWarning,inputColor:e.colorWarningText,affixColor:e.colorWarning})),t)}),Cie=(e,t)=>({[`&${e.componentCls}-group-wrapper-status-${t.status}`]:{[`${e.componentCls}-group-addon`]:{background:t.addonBg,color:t.addonColor}}}),nTe=e=>({"&-filled":Object.assign(Object.assign(Object.assign({[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary},[`${e.componentCls}-filled:not(:focus):not(:focus-within)`]:{"&:not(:first-child)":{borderInlineStart:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&:not(:last-child)":{borderInlineEnd:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}}}},Cie(e,{status:"error",addonBg:e.colorErrorBg,addonColor:e.colorErrorText})),Cie(e,{status:"warning",addonBg:e.colorWarningBg,addonColor:e.colorWarningText})),{[`&${e.componentCls}-group-wrapper-disabled`]:{[`${e.componentCls}-group`]:{"&-addon":{background:e.colorFillTertiary,color:e.colorTextDisabled},"&-addon:first-child":{borderInlineStart:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},"&-addon:last-child":{borderInlineEnd:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderTop:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderBottom:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`}}}})}),_Y=e=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:e,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),rTe=e=>{const{paddingBlockLG:t,lineHeightLG:n,borderRadiusLG:r,paddingInlineLG:i}=e;return{padding:`${Ae(t)} ${Ae(i)}`,fontSize:e.inputFontSizeLG,lineHeight:n,borderRadius:r}},SY=e=>({padding:`${Ae(e.paddingBlockSM)} ${Ae(e.paddingInlineSM)}`,fontSize:e.inputFontSizeSM,borderRadius:e.borderRadiusSM}),y2=e=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${Ae(e.paddingBlock)} ${Ae(e.paddingInline)}`,color:e.colorText,fontSize:e.inputFontSize,lineHeight:e.lineHeight,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid}`},_Y(e.colorTextPlaceholder)),{"textarea&":{maxWidth:"100%",height:"auto",minHeight:e.controlHeight,lineHeight:e.lineHeight,verticalAlign:"bottom",transition:`all ${e.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},rTe(e)),"&-sm":Object.assign({},SY(e)),"&-rtl, &-textarea-rtl":{direction:"rtl"}}),iTe=e=>{const{componentCls:t,antCls:n}=e;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:e.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${t}, &-lg > ${t}-group-addon`]:Object.assign({},rTe(e)),[`&-sm ${t}, &-sm > ${t}-group-addon`]:Object.assign({},SY(e)),[`&-lg ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightLG},[`&-sm ${n}-select-single ${n}-select-selector`]:{height:e.controlHeightSM},[`> ${t}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${t}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${Ae(e.paddingInline)}`,color:e.colorText,fontWeight:"normal",fontSize:e.inputFontSize,textAlign:"center",borderRadius:e.borderRadius,transition:`all ${e.motionDurationSlow}`,lineHeight:1,[`${n}-select`]:{margin:`${Ae(e.calc(e.paddingBlock).add(1).mul(-1).equal())} ${Ae(e.calc(e.paddingInline).mul(-1).equal())}`,[`&${n}-select-single:not(${n}-select-customize-input):not(${n}-pagination-size-changer)`]:{[`${n}-select-selector`]:{backgroundColor:"inherit",border:`${Ae(e.lineWidth)} ${e.lineType} transparent`,boxShadow:"none"}}},[`${n}-cascader-picker`]:{margin:`-9px ${Ae(e.calc(e.paddingInline).mul(-1).equal())}`,backgroundColor:"transparent",[`${n}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}}},[t]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${t}-search-with-button &`]:{zIndex:0}}},[`> ${t}:first-child, ${t}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}-affix-wrapper`]:{[`&:not(:first-child) ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${t}:last-child, ${t}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${n}-select ${n}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${t}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${t}-search &`]:{borderStartStartRadius:e.borderRadius,borderEndStartRadius:e.borderRadius}},[`&:not(:first-child), ${t}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${t}-group-compact`]:Object.assign(Object.assign({display:"block"},wd()),{[`${t}-group-addon, ${t}-group-wrap, > ${t}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:e.lineWidth,"&:hover, &:focus":{zIndex:1}}},"& > *":{display:"inline-flex",float:"none",verticalAlign:"top",borderRadius:0},[` & > ${t}-affix-wrapper, & > ${t}-number-affix-wrapper, & > ${n}-picker-range @@ -349,17 +349,17 @@ html body { &-selected ${r}, ${r}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${E}`},"&:first-child:before":{borderStartStartRadius:P,borderEndStartRadius:P},"&:last-child:before":{borderStartEndRadius:P,borderEndEndRadius:P}},"&:hover td:before":{background:N},"&-range-start td, &-range-end td, &-selected td, &-hover td":{[`&${n}`]:{"&:before":{background:m},[`&${t}-cell-week`]:{color:new rr(k).setA(.5).toHexString()},[r]:{color:k}}},"&-range-hover td:before":{background:W}}},"&-week-panel, &-date-panel-show-week":{[`${t}-body`]:{padding:`${Ae(l)} ${Ae(s)}`},[`${t}-content th`]:{width:"auto"}},"&-datetime-panel":{display:"flex",[`${t}-time-panel`]:{borderInlineStart:`${Ae(d)} ${f} ${v}`},[`${t}-date-panel, ${t}-time-panel`]:{transition:`opacity ${I}`},"&-active":{[`${t}-date-panel, - ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:L},"&-column":{flex:"1 0 auto",width:V,margin:`${Ae(c)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${E}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${Ae($)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Ae(d)} ${f} ${v}`},"&-active":{background:new rr(W).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:j,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(V).sub(e.calc(j).mul(2)).equal(),height:$,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(V).sub($).div(2).equal(),color:x,lineHeight:Ae($),borderRadius:P,cursor:"pointer",transition:`background ${E}`,"&:hover":{background:N}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:W}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:O,background:"transparent",cursor:"not-allowed"}}}}}}}}},Rst=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:i,antCls:o,colorPrimary:a,cellActiveWithRangeBg:s,colorPrimaryBorder:l,lineType:c,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${Ae(r)} ${c} ${u}`,"&-extra":{padding:`0 ${Ae(i)}`,lineHeight:Ae(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${Ae(r)} ${c} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:Ae(i),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:Ae(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${o}-tag-blue`]:{color:a,background:s,borderColor:l,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},Ist=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:i}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(i).add(e.calc(r).div(2)).equal()}},Ast=e=>{const{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:i,paddingXXS:o,lineWidth:a}=e,s=o*2,l=a*2,c=Math.min(n-s,n-l),u=Math.min(r-s,r-l),d=Math.min(i-s,i-l);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(o/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new rr(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new rr(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:i*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:i,withoutTimeCellHeight:i*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:c,multipleItemHeightSM:u,multipleItemHeightLG:d,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Nst=e=>Object.assign(Object.assign(Object.assign(Object.assign({},b2(e)),Ast(e)),ZP(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),Mst=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},vY(e)),yY(e)),bY(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},o$=(e,t,n,r)=>{const i=e.calc(n).add(2).equal(),o=e.max(e.calc(t).sub(i).div(2).equal(),0),a=e.max(e.calc(t).sub(i).sub(o).equal(),0);return{padding:`${Ae(o)} ${Ae(r)} ${Ae(a)}`}},kst=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},Pst=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:i,lineWidth:o,lineType:a,colorBorder:s,borderRadius:l,motionDurationMid:c,colorTextDisabled:u,colorTextPlaceholder:d,controlHeightLG:f,fontSizeLG:h,controlHeightSM:m,paddingInlineSM:g,paddingXS:v,marginXS:y,colorTextDescription:b,lineWidthBold:_,colorPrimary:E,motionDurationSlow:C,zIndexPopup:S,paddingXXS:w,sizePopupArrow:T,colorBgElevated:O,borderRadiusLG:x,boxShadowSecondary:A,borderRadiusSM:I,colorSplit:M,cellHoverBg:B,presetsWidth:P,presetsMaxWidth:k,boxShadowPopoverArrow:N,fontHeight:L,fontHeightLG:V,lineHeightLG:$}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},gr(e)),o$(e,r,L,i)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:l,transition:`border ${c}, box-shadow ${c}, background ${c}`,[`${t}-prefix`]:{marginInlineEnd:e.inputAffixPadding},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${c}`},_Y(d)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:u,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:d}}},"&-large":Object.assign(Object.assign({},o$(e,f,V,i)),{[`${t}-input > input`]:{fontSize:h,lineHeight:$}}),"&-small":Object.assign({},o$(e,m,L,g)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(v).div(2).equal(),color:u,lineHeight:1,pointerEvents:"none",transition:`opacity ${c}, color ${c}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:y}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:u,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${c}, color ${c}`,"> *":{verticalAlign:"top"},"&:hover":{color:b}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:h,color:u,fontSize:h,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:b},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(o).mul(-1).equal(),height:_,background:E,opacity:0,transition:`all ${C} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${Ae(v)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:i},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:g}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},gr(e)),Ost(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:S,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, + ${t}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",[`${t}-content`]:{display:"flex",flex:"auto",height:L},"&-column":{flex:"1 0 auto",width:V,margin:`${Ae(c)} 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${E}`,overflowX:"hidden","&::-webkit-scrollbar":{width:8,backgroundColor:"transparent"},"&::-webkit-scrollbar-thumb":{backgroundColor:e.colorTextTertiary,borderRadius:e.borderRadiusSM},"&":{scrollbarWidth:"thin",scrollbarColor:`${e.colorTextTertiary} transparent`},"&::after":{display:"block",height:`calc(100% - ${Ae($)})`,content:'""'},"&:not(:first-child)":{borderInlineStart:`${Ae(d)} ${f} ${v}`},"&-active":{background:new rr(W).setA(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${t}-time-panel-cell`]:{marginInline:j,[`${t}-time-panel-cell-inner`]:{display:"block",width:e.calc(V).sub(e.calc(j).mul(2)).equal(),height:$,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:e.calc(V).sub($).div(2).equal(),color:x,lineHeight:Ae($),borderRadius:P,cursor:"pointer",transition:`background ${E}`,"&:hover":{background:N}},"&-selected":{[`${t}-time-panel-cell-inner`]:{background:W}},"&-disabled":{[`${t}-time-panel-cell-inner`]:{color:O,background:"transparent",cursor:"not-allowed"}}}}}}}}},Rst=e=>{const{componentCls:t,textHeight:n,lineWidth:r,paddingSM:i,antCls:o,colorPrimary:a,cellActiveWithRangeBg:s,colorPrimaryBorder:l,lineType:c,colorSplit:u}=e;return{[`${t}-dropdown`]:{[`${t}-footer`]:{borderTop:`${Ae(r)} ${c} ${u}`,"&-extra":{padding:`0 ${Ae(i)}`,lineHeight:Ae(e.calc(n).sub(e.calc(r).mul(2)).equal()),textAlign:"start","&:not(:last-child)":{borderBottom:`${Ae(r)} ${c} ${u}`}}},[`${t}-panels + ${t}-footer ${t}-ranges`]:{justifyContent:"space-between"},[`${t}-ranges`]:{marginBlock:0,paddingInline:Ae(i),overflow:"hidden",textAlign:"start",listStyle:"none",display:"flex",justifyContent:"center",alignItems:"center","> li":{lineHeight:Ae(e.calc(n).sub(e.calc(r).mul(2)).equal()),display:"inline-block"},[`${t}-now-btn-disabled`]:{pointerEvents:"none",color:e.colorTextDisabled},[`${t}-preset > ${o}-tag-blue`]:{color:a,background:s,borderColor:l,cursor:"pointer"},[`${t}-ok`]:{paddingBlock:e.calc(r).mul(2).equal(),marginInlineStart:"auto"}}}}},Ist=e=>{const{componentCls:t,controlHeightLG:n,paddingXXS:r,padding:i}=e;return{pickerCellCls:`${t}-cell`,pickerCellInnerCls:`${t}-cell-inner`,pickerYearMonthCellWidth:e.calc(n).mul(1.5).equal(),pickerQuarterPanelContentHeight:e.calc(n).mul(1.4).equal(),pickerCellPaddingVertical:e.calc(r).add(e.calc(r).div(2)).equal(),pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconMargin:4,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:e.calc(i).add(e.calc(r).div(2)).equal()}},Ast=e=>{const{colorBgContainerDisabled:t,controlHeight:n,controlHeightSM:r,controlHeightLG:i,paddingXXS:o,lineWidth:a}=e,s=o*2,l=a*2,c=Math.min(n-s,n-l),u=Math.min(r-s,r-l),d=Math.min(i-s,i-l);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(o/2),cellHoverBg:e.controlItemBgHover,cellActiveWithRangeBg:e.controlItemBgActive,cellHoverWithRangeBg:new rr(e.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new rr(e.colorPrimary).lighten(20).toHexString(),cellBgDisabled:t,timeColumnWidth:i*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:r*1.5,cellHeight:r,textHeight:i,withoutTimeCellHeight:i*1.65,multipleItemBg:e.colorFillSecondary,multipleItemBorderColor:"transparent",multipleItemHeight:c,multipleItemHeightSM:u,multipleItemHeightLG:d,multipleSelectorBgDisabled:t,multipleItemColorDisabled:e.colorTextDisabled,multipleItemBorderColorDisabled:"transparent"}},Nst=e=>Object.assign(Object.assign(Object.assign(Object.assign({},b2(e)),Ast(e)),Z5(e)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:e.zIndexPopupBase+50}),Mst=e=>{const{componentCls:t}=e;return{[t]:[Object.assign(Object.assign(Object.assign({},vY(e)),yY(e)),bY(e)),{"&-outlined":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}},"&-filled":{[`&${t}-multiple ${t}-selection-item`]:{background:e.colorBgContainer,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`}},"&-borderless":{[`&${t}-multiple ${t}-selection-item`]:{background:e.multipleItemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.multipleItemBorderColor}`}}}]}},o$=(e,t,n,r)=>{const i=e.calc(n).add(2).equal(),o=e.max(e.calc(t).sub(i).div(2).equal(),0),a=e.max(e.calc(t).sub(i).sub(o).equal(),0);return{padding:`${Ae(o)} ${Ae(r)} ${Ae(a)}`}},kst=e=>{const{componentCls:t,colorError:n,colorWarning:r}=e;return{[`${t}:not(${t}-disabled):not([disabled])`]:{[`&${t}-status-error`]:{[`${t}-active-bar`]:{background:n}},[`&${t}-status-warning`]:{[`${t}-active-bar`]:{background:r}}}}},Pst=e=>{const{componentCls:t,antCls:n,controlHeight:r,paddingInline:i,lineWidth:o,lineType:a,colorBorder:s,borderRadius:l,motionDurationMid:c,colorTextDisabled:u,colorTextPlaceholder:d,controlHeightLG:f,fontSizeLG:h,controlHeightSM:m,paddingInlineSM:g,paddingXS:v,marginXS:y,colorTextDescription:b,lineWidthBold:_,colorPrimary:E,motionDurationSlow:C,zIndexPopup:S,paddingXXS:w,sizePopupArrow:T,colorBgElevated:O,borderRadiusLG:x,boxShadowSecondary:A,borderRadiusSM:I,colorSplit:M,cellHoverBg:B,presetsWidth:P,presetsMaxWidth:k,boxShadowPopoverArrow:N,fontHeight:L,fontHeightLG:V,lineHeightLG:$}=e;return[{[t]:Object.assign(Object.assign(Object.assign({},gr(e)),o$(e,r,L,i)),{position:"relative",display:"inline-flex",alignItems:"center",lineHeight:1,borderRadius:l,transition:`border ${c}, box-shadow ${c}, background ${c}`,[`${t}-prefix`]:{marginInlineEnd:e.inputAffixPadding},[`${t}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",color:"inherit",fontSize:e.fontSize,lineHeight:e.lineHeight,transition:`all ${c}`},_Y(d)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,fontFamily:"inherit","&:focus":{boxShadow:"none",outline:0},"&[disabled]":{background:"transparent",color:u,cursor:"not-allowed"}}),"&-placeholder":{"> input":{color:d}}},"&-large":Object.assign(Object.assign({},o$(e,f,V,i)),{[`${t}-input > input`]:{fontSize:h,lineHeight:$}}),"&-small":Object.assign({},o$(e,m,L,g)),[`${t}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:e.calc(v).div(2).equal(),color:u,lineHeight:1,pointerEvents:"none",transition:`opacity ${c}, color ${c}`,"> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:y}}},[`${t}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:u,lineHeight:1,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${c}, color ${c}`,"> *":{verticalAlign:"top"},"&:hover":{color:b}},"&:hover":{[`${t}-clear`]:{opacity:1},[`${t}-suffix:not(:last-child)`]:{opacity:0}},[`${t}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:h,color:u,fontSize:h,verticalAlign:"top",cursor:"default",[`${t}-focused &`]:{color:b},[`${t}-range-separator &`]:{[`${t}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${t}-active-bar`]:{bottom:e.calc(o).mul(-1).equal(),height:_,background:E,opacity:0,transition:`all ${C} ease-out`,pointerEvents:"none"},[`&${t}-focused`]:{[`${t}-active-bar`]:{opacity:1}},[`${t}-range-separator`]:{alignItems:"center",padding:`0 ${Ae(v)}`,lineHeight:1}},"&-range, &-multiple":{[`${t}-clear`]:{insetInlineEnd:i},[`&${t}-small`]:{[`${t}-clear`]:{insetInlineEnd:g}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},gr(e)),Ost(e)),{pointerEvents:"none",position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:S,[`&${t}-dropdown-hidden`]:{display:"none"},"&-rtl":{direction:"rtl"},[`&${t}-dropdown-placement-bottomLeft, &${t}-dropdown-placement-bottomRight`]:{[`${t}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${t}-dropdown-placement-topLeft, &${t}-dropdown-placement-topRight`]:{[`${t}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topLeft, &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-topRight, &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:DP},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-topRight`]:{animationName:D5},[`&${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomLeft, &${n}-slide-up-enter${n}-slide-up-enter-active${t}-dropdown-placement-bottomRight, &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:kP},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:LP},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, - &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:PP},[`${t}-panel > ${t}-time-panel`]:{paddingTop:w},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(i).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${C} ease-out`},TCe(e,O,N)),{"&:before":{insetInlineStart:e.calc(i).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:O,borderRadius:x,boxShadow:A,transition:`margin ${C}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:P,maxWidth:k,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:v,borderInlineEnd:`${Ae(o)} ${a} ${M}`,li:Object.assign(Object.assign({},kl),{borderRadius:I,paddingInline:v,paddingBlock:e.calc(m).sub(L).div(2).equal(),cursor:"pointer",transition:`all ${C}`,"+ li":{marginTop:y},"&:hover":{background:B}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${Ae(e.calc(T).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},$f(e,"slide-up"),$f(e,"slide-down"),f_(e,"move-up"),f_(e,"move-down")]},oTe=lr("DatePicker",e=>{const t=Kn(v2(e),Ist(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Rst(t),Pst(t),Mst(t),kst(t),Tst(t),E0(e,{focusElCls:`${e.componentCls}-focused`})]},Nst);var Dst={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"},Lst=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Dst}))},_2=p.forwardRef(Lst);const fD=p.createContext(null);var $st=function(t){var n=t.activeTabOffset,r=t.horizontal,i=t.rtl,o=t.indicator,a=o===void 0?{}:o,s=a.size,l=a.align,c=l===void 0?"center":l,u=p.useState(),d=Ie(u,2),f=d[0],h=d[1],m=p.useRef(),g=se.useCallback(function(y){return typeof s=="function"?s(y):typeof s=="number"?s:y},[s]);function v(){nr.cancel(m.current)}return p.useEffect(function(){var y={};if(n)if(r){y.width=g(n.width);var b=i?"right":"left";c==="start"&&(y[b]=n[b]),c==="center"&&(y[b]=n[b]+n.width/2,y.transform=i?"translateX(50%)":"translateX(-50%)"),c==="end"&&(y[b]=n[b]+n.width,y.transform="translateX(-100%)")}else y.height=g(n.height),c==="start"&&(y.top=n.top),c==="center"&&(y.top=n.top+n.height/2,y.transform="translateY(-50%)"),c==="end"&&(y.top=n.top+n.height,y.transform="translateY(-100%)");return v(),m.current=nr(function(){h(y)}),v},[n,r,i,c,g]),{style:f}},wie={width:0,height:0,left:0,top:0};function Fst(e,t,n){return p.useMemo(function(){for(var r,i=new Map,o=t.get((r=e[0])===null||r===void 0?void 0:r.key)||wie,a=o.left+o.width,s=0;sB?(I=x,S.current="x"):(I=A,S.current="y"),t(-I,-I)&&O.preventDefault()}var T=p.useRef(null);T.current={onTouchStart:_,onTouchMove:E,onTouchEnd:C,onWheel:w},p.useEffect(function(){function O(M){T.current.onTouchStart(M)}function x(M){T.current.onTouchMove(M)}function A(M){T.current.onTouchEnd(M)}function I(M){T.current.onWheel(M)}return document.addEventListener("touchmove",x,{passive:!1}),document.addEventListener("touchend",A,{passive:!0}),e.current.addEventListener("touchstart",O,{passive:!0}),e.current.addEventListener("wheel",I,{passive:!1}),function(){document.removeEventListener("touchmove",x),document.removeEventListener("touchend",A)}},[])}function aTe(e){var t=p.useState(0),n=Ie(t,2),r=n[0],i=n[1],o=p.useRef(0),a=p.useRef();return a.current=e,dv(function(){var s;(s=a.current)===null||s===void 0||s.call(a)},[r]),function(){o.current===r&&(o.current+=1,i(o.current))}}function Hst(e){var t=p.useRef([]),n=p.useState({}),r=Ie(n,2),i=r[1],o=p.useRef(typeof e=="function"?e():e),a=aTe(function(){var l=o.current;t.current.forEach(function(c){l=c(l)}),t.current=[],o.current=l,i({})});function s(l){t.current.push(l),a()}return[o.current,s]}var Rie={width:0,height:0,left:0,top:0,right:0};function Ust(e,t,n,r,i,o,a){var s=a.tabs,l=a.tabPosition,c=a.rtl,u,d,f;return["top","bottom"].includes(l)?(u="width",d=c?"right":"left",f=Math.abs(n)):(u="height",d="top",f=-n),p.useMemo(function(){if(!s.length)return[0,0];for(var h=s.length,m=h,g=0;gMath.floor(f+t)){m=g-1;break}}for(var y=0,b=h-1;b>=0;b-=1){var _=e.get(s[b].key)||Rie;if(_[d]=m?[0,0]:[y,m]},[e,t,r,i,o,f,l,s.map(function(h){return h.key}).join("_"),c])}function Iie(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var zst="TABS_DQ";function sTe(e){return String(e).replace(/"/g,zst)}function CY(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var lTe=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,i=e.locale,o=e.style;return!r||r.showAdd===!1?null:p.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:o,"aria-label":(i==null?void 0:i.addAriaLabel)||"Add tab",onClick:function(s){r.onEdit("add",{event:s})}},r.addIcon||"+")}),Aie=p.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var o,a={};return Gt(i)==="object"&&!p.isValidElement(i)?a=i:a.right=i,n==="right"&&(o=a.right),n==="left"&&(o=a.left),o?p.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},o):null}),Vst=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,i=e.tabs,o=e.locale,a=e.mobile,s=e.more,l=s===void 0?{}:s,c=e.style,u=e.className,d=e.editable,f=e.tabBarGutter,h=e.rtl,m=e.removeAriaLabel,g=e.onTabClick,v=e.getPopupContainer,y=e.popupClassName,b=p.useState(!1),_=Ie(b,2),E=_[0],C=_[1],S=p.useState(null),w=Ie(S,2),T=w[0],O=w[1],x=l.icon,A=x===void 0?"More":x,I="".concat(r,"-more-popup"),M="".concat(n,"-dropdown"),B=T!==null?"".concat(I,"-").concat(T):null,P=o==null?void 0:o.dropdownAriaLabel;function k(U,Z){U.preventDefault(),U.stopPropagation(),d.onEdit("remove",{key:Z,event:U})}var N=p.createElement(SS,{onClick:function(Z){var te=Z.key,ae=Z.domEvent;g(te,ae),C(!1)},prefixCls:"".concat(M,"-menu"),id:I,tabIndex:-1,role:"listbox","aria-activedescendant":B,selectedKeys:[T],"aria-label":P!==void 0?P:"expanded dropdown"},i.map(function(U){var Z=U.closable,te=U.disabled,ae=U.closeIcon,K=U.key,Q=U.label,ie=CY(Z,ae,d,te);return p.createElement(h2,{key:K,id:"".concat(I,"-").concat(K),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(K),disabled:te},p.createElement("span",null,Q),ie&&p.createElement("button",{type:"button","aria-label":m||"remove",tabIndex:0,className:"".concat(M,"-menu-item-remove"),onClick:function(pe){pe.stopPropagation(),k(pe,K)}},ae||d.removeIcon||"×"))}));function L(U){for(var Z=i.filter(function(ie){return!ie.disabled}),te=Z.findIndex(function(ie){return ie.key===T})||0,ae=Z.length,K=0;Krt?"left":"right"})}),M=Ie(I,2),B=M[0],P=M[1],k=Tie(0,function(Pt,rt){!A&&g&&g({direction:Pt>rt?"top":"bottom"})}),N=Ie(k,2),L=N[0],V=N[1],$=p.useState([0,0]),W=Ie($,2),j=W[0],U=W[1],Z=p.useState([0,0]),te=Ie(Z,2),ae=te[0],K=te[1],Q=p.useState([0,0]),ie=Ie(Q,2),he=ie[0],pe=ie[1],le=p.useState([0,0]),de=Ie(le,2),ve=de[0],ne=de[1],ue=Hst(new Map),ge=Ie(ue,2),Ce=ge[0],Te=ge[1],Se=Fst(_,Ce,ae[0]),me=PR(j,A),be=PR(ae,A),_e=PR(he,A),Re=PR(ve,A),De=Math.floor(me)oe?oe:Pt}var ce=p.useRef(null),Be=p.useState(),Ve=Ie(Be,2),re=Ve[0],Me=Ve[1];function je(){Me(Date.now())}function ke(){ce.current&&clearTimeout(ce.current)}jst(w,function(Pt,rt){function Mt(It,xn){It(function(Hn){var R=ye(Hn+xn);return R})}return De?(A?Mt(P,Pt):Mt(V,rt),ke(),je(),!0):!1}),p.useEffect(function(){return ke(),re&&(ce.current=setTimeout(function(){Me(0)},100)),ke},[re]);var Ge=Ust(Se,z,A?B:L,be,_e,Re,G(G({},e),{},{tabs:_})),Ue=Ie(Ge,2),qe=Ue[0],At=Ue[1],at=Yn(function(){var Pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a,rt=Se.get(Pt)||{width:0,height:0,left:0,right:0,top:0};if(A){var Mt=B;s?rt.rightB+z&&(Mt=rt.right+rt.width-z):rt.left<-B?Mt=-rt.left:rt.left+rt.width>-B+z&&(Mt=-(rt.left+rt.width-z)),V(0),P(ye(Mt))}else{var It=L;rt.top<-L?It=-rt.top:rt.top+rt.height>-L+z&&(It=-(rt.top+rt.height-z)),P(0),V(ye(It))}}),pt=p.useState(),Ct=Ie(pt,2),bt=Ct[0],Vt=Ct[1],Tt=p.useState(!1),Ot=Ie(Tt,2),Ut=Ot[0],ze=Ot[1],Ye=_.filter(function(Pt){return!Pt.disabled}).map(function(Pt){return Pt.key}),He=function(rt){var Mt=Ye.indexOf(bt||a),It=Ye.length,xn=(Mt+rt+It)%It,Hn=Ye[xn];Vt(Hn)},Ze=function(rt){var Mt=rt.code,It=s&&A,xn=Ye[0],Hn=Ye[Ye.length-1];switch(Mt){case"ArrowLeft":{A&&He(It?1:-1);break}case"ArrowRight":{A&&He(It?-1:1);break}case"ArrowUp":{rt.preventDefault(),A||He(-1);break}case"ArrowDown":{rt.preventDefault(),A||He(1);break}case"Home":{rt.preventDefault(),Vt(xn);break}case"End":{rt.preventDefault(),Vt(Hn);break}case"Enter":case"Space":{rt.preventDefault(),m(bt,rt);break}case"Backspace":case"Delete":{var R=Ye.indexOf(bt),F=_.find(function(Oe){return Oe.key===bt}),J=CY(F==null?void 0:F.closable,F==null?void 0:F.closeIcon,c,F==null?void 0:F.disabled);J&&(rt.preventDefault(),rt.stopPropagation(),c.onEdit("remove",{key:bt,event:rt}),R===Ye.length-1?He(-1):He(1));break}}},yt={};A?yt[s?"marginRight":"marginLeft"]=f:yt.marginTop=f;var _t=_.map(function(Pt,rt){var Mt=Pt.key;return p.createElement(Wst,{id:i,prefixCls:b,key:Mt,tab:Pt,style:rt===0?void 0:yt,closable:Pt.closable,editable:c,active:Mt===a,focus:Mt===bt,renderWrapper:h,removeAriaLabel:u==null?void 0:u.removeAriaLabel,tabCount:Ye.length,currentPosition:rt+1,onClick:function(xn){m(Mt,xn)},onKeyDown:Ze,onFocus:function(){Ut||Vt(Mt),at(Mt),je(),w.current&&(s||(w.current.scrollLeft=0),w.current.scrollTop=0)},onBlur:function(){Vt(void 0)},onMouseDown:function(){ze(!0)},onMouseUp:function(){ze(!1)}})}),Bt=function(){return Te(function(){var rt,Mt=new Map,It=(rt=T.current)===null||rt===void 0?void 0:rt.getBoundingClientRect();return _.forEach(function(xn){var Hn,R=xn.key,F=(Hn=T.current)===null||Hn===void 0?void 0:Hn.querySelector('[data-node-key="'.concat(sTe(R),'"]'));if(F){var J=qst(F,It),Oe=Ie(J,4),$e=Oe[0],et=Oe[1],$t=Oe[2],hn=Oe[3];Mt.set(R,{width:$e,height:et,left:$t,top:hn})}}),Mt})};p.useEffect(function(){Bt()},[_.map(function(Pt){return Pt.key}).join("_")]);var Nt=aTe(function(){var Pt=ob(E),rt=ob(C),Mt=ob(S);U([Pt[0]-rt[0]-Mt[0],Pt[1]-rt[1]-Mt[1]]);var It=ob(x);pe(It);var xn=ob(O);ne(xn);var Hn=ob(T);K([Hn[0]-It[0],Hn[1]-It[1]]),Bt()}),vt=_.slice(0,qe),ht=_.slice(At+1),kt=[].concat(nt(vt),nt(ht)),Et=Se.get(a),Yt=$st({activeTabOffset:Et,horizontal:A,indicator:v,rtl:s}),ct=Yt.style;p.useEffect(function(){at()},[a,q,oe,Iie(Et),Iie(Se),A]),p.useEffect(function(){Nt()},[s]);var Rt=!!kt.length,Ht="".concat(b,"-nav-wrap"),wt,St,jt,Pe;return A?s?(St=B>0,wt=B!==oe):(wt=B<0,St=B!==q):(jt=L<0,Pe=L!==q),p.createElement(xa,{onResize:Nt},p.createElement("div",{ref:$d(t,E),role:"tablist","aria-orientation":A?"horizontal":"vertical",className:xe("".concat(b,"-nav"),n),style:r,onKeyDown:function(){je()}},p.createElement(Aie,{ref:C,position:"left",extra:l,prefixCls:b}),p.createElement(xa,{onResize:Nt},p.createElement("div",{className:xe(Ht,ee(ee(ee(ee({},"".concat(Ht,"-ping-left"),wt),"".concat(Ht,"-ping-right"),St),"".concat(Ht,"-ping-top"),jt),"".concat(Ht,"-ping-bottom"),Pe)),ref:w},p.createElement(xa,{onResize:Nt},p.createElement("div",{ref:T,className:"".concat(b,"-nav-list"),style:{transform:"translate(".concat(B,"px, ").concat(L,"px)"),transition:re?"none":void 0}},_t,p.createElement(lTe,{ref:x,prefixCls:b,locale:u,editable:c,style:G(G({},_t.length===0?void 0:yt),{},{visibility:Rt?"hidden":null})}),p.createElement("div",{className:xe("".concat(b,"-ink-bar"),ee({},"".concat(b,"-ink-bar-animated"),o.inkBar)),style:ct}))))),p.createElement(Gst,Ke({},e,{removeAriaLabel:u==null?void 0:u.removeAriaLabel,ref:O,prefixCls:b,tabs:kt,className:!Rt&&D,tabMoving:!!re})),p.createElement(Aie,{ref:S,position:"right",extra:l,prefixCls:b})))}),cTe=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.style,o=e.id,a=e.active,s=e.tabKey,l=e.children;return p.createElement("div",{id:o&&"".concat(o,"-panel-").concat(s),role:"tabpanel",tabIndex:a?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(s),"aria-hidden":!a,style:i,className:xe(n,a&&"".concat(n,"-active"),r),ref:t},l)}),Yst=["renderTabBar"],Kst=["label","key"],Qst=function(t){var n=t.renderTabBar,r=Dt(t,Yst),i=p.useContext(fD),o=i.tabs;if(n){var a=G(G({},r),{},{panes:o.map(function(s){var l=s.label,c=s.key,u=Dt(s,Kst);return p.createElement(cTe,Ke({tab:l,key:c,tabKey:c},u))})});return n(a,Nie)}return p.createElement(Nie,r)},Xst=["key","forceRender","style","className","destroyInactiveTabPane"],Zst=function(t){var n=t.id,r=t.activeKey,i=t.animated,o=t.tabPosition,a=t.destroyInactiveTabPane,s=p.useContext(fD),l=s.prefixCls,c=s.tabs,u=i.tabPane,d="".concat(l,"-tabpane");return p.createElement("div",{className:xe("".concat(l,"-content-holder"))},p.createElement("div",{className:xe("".concat(l,"-content"),"".concat(l,"-content-").concat(o),ee({},"".concat(l,"-content-animated"),u))},c.map(function(f){var h=f.key,m=f.forceRender,g=f.style,v=f.className,y=f.destroyInactiveTabPane,b=Dt(f,Xst),_=h===r;return p.createElement(ia,Ke({key:h,visible:_,forceRender:m,removeOnLeave:!!(a||y),leavedClassName:"".concat(d,"-hidden")},i.tabPaneMotion),function(E,C){var S=E.style,w=E.className;return p.createElement(cTe,Ke({},b,{prefixCls:d,id:n,tabKey:h,animated:u,active:_,style:G(G({},g),S),className:xe(v,w),ref:C}))})})))};function Jst(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=G({inkBar:!0},Gt(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var elt=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],Mie=0,tlt=p.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,i=r===void 0?"rc-tabs":r,o=e.className,a=e.items,s=e.direction,l=e.activeKey,c=e.defaultActiveKey,u=e.editable,d=e.animated,f=e.tabPosition,h=f===void 0?"top":f,m=e.tabBarGutter,g=e.tabBarStyle,v=e.tabBarExtraContent,y=e.locale,b=e.more,_=e.destroyInactiveTabPane,E=e.renderTabBar,C=e.onChange,S=e.onTabClick,w=e.onTabScroll,T=e.getPopupContainer,O=e.popupClassName,x=e.indicator,A=Dt(e,elt),I=p.useMemo(function(){return(a||[]).filter(function(ve){return ve&&Gt(ve)==="object"&&"key"in ve})},[a]),M=s==="rtl",B=Jst(d),P=p.useState(!1),k=Ie(P,2),N=k[0],L=k[1];p.useEffect(function(){L(WP())},[]);var V=Pn(function(){var ve;return(ve=I[0])===null||ve===void 0?void 0:ve.key},{value:l,defaultValue:c}),$=Ie(V,2),W=$[0],j=$[1],U=p.useState(function(){return I.findIndex(function(ve){return ve.key===W})}),Z=Ie(U,2),te=Z[0],ae=Z[1];p.useEffect(function(){var ve=I.findIndex(function(ue){return ue.key===W});if(ve===-1){var ne;ve=Math.max(0,Math.min(te,I.length-1)),j((ne=I[ve])===null||ne===void 0?void 0:ne.key)}ae(ve)},[I.map(function(ve){return ve.key}).join("_"),W,te]);var K=Pn(null,{value:n}),Q=Ie(K,2),ie=Q[0],he=Q[1];p.useEffect(function(){n||(he("rc-tabs-".concat(Mie)),Mie+=1)},[]);function pe(ve,ne){S==null||S(ve,ne);var ue=ve!==W;j(ve),ue&&(C==null||C(ve))}var le={id:ie,activeKey:W,animated:B,tabPosition:h,rtl:M,mobile:N},de=G(G({},le),{},{editable:u,locale:y,more:b,tabBarGutter:m,onTabClick:pe,onTabScroll:w,extra:v,style:g,panes:null,getPopupContainer:T,popupClassName:O,indicator:x});return p.createElement(fD.Provider,{value:{tabs:I,prefixCls:i}},p.createElement("div",Ke({ref:t,id:n,className:xe(i,"".concat(i,"-").concat(h),ee(ee(ee({},"".concat(i,"-mobile"),N),"".concat(i,"-editable"),u),"".concat(i,"-rtl"),M),o)},A),p.createElement(Qst,Ke({},de,{renderTabBar:E})),p.createElement(Zst,Ke({destroyInactiveTabPane:_},le,{animated:B}))))});const nlt={motionAppear:!1,motionEnter:!0,motionLeave:!0};function rlt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},nlt),{motionName:Va(e,"switch")})),n}var ilt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it)}function alt(e,t){if(e)return e;const n=ko(t).map(r=>{if(p.isValidElement(r)){const{key:i,props:o}=r,a=o||{},{tab:s}=a,l=ilt(a,["tab"]);return Object.assign(Object.assign({key:String(i)},l),{label:s})}return null});return olt(n)}const slt=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[$f(e,"slide-up"),$f(e,"slide-down")]]},llt=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:i,colorBorderSecondary:o,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${Ae(e.lineWidth)} ${e.lineType} ${o}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-tab-focus`]:Object.assign({},Td(e,-3)),[`${t}-ink-bar`]:{visibility:"hidden"},[`& ${t}-tab${t}-tab-focus ${t}-tab-btn`]:{outline:"none"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:Ae(i)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${Ae(e.borderRadiusLG)} ${Ae(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${Ae(e.borderRadiusLG)} ${Ae(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:Ae(i)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Ae(e.borderRadiusLG)} 0 0 ${Ae(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Ae(e.borderRadiusLG)} ${Ae(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},clt=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},gr(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${Ae(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},kl),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${Ae(e.paddingXXS)} ${Ae(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},ult=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:i,verticalItemPadding:o,verticalItemMargin:a,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:i,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Ae(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, + &${n}-slide-up-appear${n}-slide-up-appear-active${t}-dropdown-placement-bottomRight`]:{animationName:k5},[`&${n}-slide-up-leave ${t}-panel-container`]:{pointerEvents:"none"},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-topRight`]:{animationName:L5},[`&${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomLeft, + &${n}-slide-up-leave${n}-slide-up-leave-active${t}-dropdown-placement-bottomRight`]:{animationName:P5},[`${t}-panel > ${t}-time-panel`]:{paddingTop:w},[`${t}-range-wrapper`]:{display:"flex",position:"relative"},[`${t}-range-arrow`]:Object.assign(Object.assign({position:"absolute",zIndex:1,display:"none",paddingInline:e.calc(i).mul(1.5).equal(),boxSizing:"content-box",transition:`all ${C} ease-out`},TCe(e,O,N)),{"&:before":{insetInlineStart:e.calc(i).mul(1.5).equal()}}),[`${t}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:O,borderRadius:x,boxShadow:A,transition:`margin ${C}`,display:"inline-block",pointerEvents:"auto",[`${t}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${t}-presets`]:{display:"flex",flexDirection:"column",minWidth:P,maxWidth:k,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:v,borderInlineEnd:`${Ae(o)} ${a} ${M}`,li:Object.assign(Object.assign({},kl),{borderRadius:I,paddingInline:v,paddingBlock:e.calc(m).sub(L).div(2).equal(),cursor:"pointer",transition:`all ${C}`,"+ li":{marginTop:y},"&:hover":{background:B}})}},[`${t}-panels`]:{display:"inline-flex",flexWrap:"nowrap","&:last-child":{[`${t}-panel`]:{borderWidth:0}}},[`${t}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${t}-content, table`]:{textAlign:"center"},"&-focused":{borderColor:s}}}}),"&-dropdown-range":{padding:`${Ae(e.calc(T).mul(2).div(3).equal())} 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${t}-separator`]:{transform:"rotate(180deg)"},[`${t}-footer`]:{"&-extra":{direction:"rtl"}}}})},$f(e,"slide-up"),$f(e,"slide-down"),f_(e,"move-up"),f_(e,"move-down")]},oTe=lr("DatePicker",e=>{const t=Kn(v2(e),Ist(e),{inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(1).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[Rst(t),Pst(t),Mst(t),kst(t),Tst(t),E0(e,{focusElCls:`${e.componentCls}-focused`})]},Nst);var Dst={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"},Lst=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Dst}))},_2=p.forwardRef(Lst);const fD=p.createContext(null);var $st=function(t){var n=t.activeTabOffset,r=t.horizontal,i=t.rtl,o=t.indicator,a=o===void 0?{}:o,s=a.size,l=a.align,c=l===void 0?"center":l,u=p.useState(),d=Ie(u,2),f=d[0],h=d[1],m=p.useRef(),g=se.useCallback(function(y){return typeof s=="function"?s(y):typeof s=="number"?s:y},[s]);function v(){nr.cancel(m.current)}return p.useEffect(function(){var y={};if(n)if(r){y.width=g(n.width);var b=i?"right":"left";c==="start"&&(y[b]=n[b]),c==="center"&&(y[b]=n[b]+n.width/2,y.transform=i?"translateX(50%)":"translateX(-50%)"),c==="end"&&(y[b]=n[b]+n.width,y.transform="translateX(-100%)")}else y.height=g(n.height),c==="start"&&(y.top=n.top),c==="center"&&(y.top=n.top+n.height/2,y.transform="translateY(-50%)"),c==="end"&&(y.top=n.top+n.height,y.transform="translateY(-100%)");return v(),m.current=nr(function(){h(y)}),v},[n,r,i,c,g]),{style:f}},wie={width:0,height:0,left:0,top:0};function Fst(e,t,n){return p.useMemo(function(){for(var r,i=new Map,o=t.get((r=e[0])===null||r===void 0?void 0:r.key)||wie,a=o.left+o.width,s=0;sB?(I=x,S.current="x"):(I=A,S.current="y"),t(-I,-I)&&O.preventDefault()}var T=p.useRef(null);T.current={onTouchStart:_,onTouchMove:E,onTouchEnd:C,onWheel:w},p.useEffect(function(){function O(M){T.current.onTouchStart(M)}function x(M){T.current.onTouchMove(M)}function A(M){T.current.onTouchEnd(M)}function I(M){T.current.onWheel(M)}return document.addEventListener("touchmove",x,{passive:!1}),document.addEventListener("touchend",A,{passive:!0}),e.current.addEventListener("touchstart",O,{passive:!0}),e.current.addEventListener("wheel",I,{passive:!1}),function(){document.removeEventListener("touchmove",x),document.removeEventListener("touchend",A)}},[])}function aTe(e){var t=p.useState(0),n=Ie(t,2),r=n[0],i=n[1],o=p.useRef(0),a=p.useRef();return a.current=e,dv(function(){var s;(s=a.current)===null||s===void 0||s.call(a)},[r]),function(){o.current===r&&(o.current+=1,i(o.current))}}function Hst(e){var t=p.useRef([]),n=p.useState({}),r=Ie(n,2),i=r[1],o=p.useRef(typeof e=="function"?e():e),a=aTe(function(){var l=o.current;t.current.forEach(function(c){l=c(l)}),t.current=[],o.current=l,i({})});function s(l){t.current.push(l),a()}return[o.current,s]}var Rie={width:0,height:0,left:0,top:0,right:0};function Ust(e,t,n,r,i,o,a){var s=a.tabs,l=a.tabPosition,c=a.rtl,u,d,f;return["top","bottom"].includes(l)?(u="width",d=c?"right":"left",f=Math.abs(n)):(u="height",d="top",f=-n),p.useMemo(function(){if(!s.length)return[0,0];for(var h=s.length,m=h,g=0;gMath.floor(f+t)){m=g-1;break}}for(var y=0,b=h-1;b>=0;b-=1){var _=e.get(s[b].key)||Rie;if(_[d]=m?[0,0]:[y,m]},[e,t,r,i,o,f,l,s.map(function(h){return h.key}).join("_"),c])}function Iie(e){var t;return e instanceof Map?(t={},e.forEach(function(n,r){t[r]=n})):t=e,JSON.stringify(t)}var zst="TABS_DQ";function sTe(e){return String(e).replace(/"/g,zst)}function CY(e,t,n,r){return!(!n||r||e===!1||e===void 0&&(t===!1||t===null))}var lTe=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.editable,i=e.locale,o=e.style;return!r||r.showAdd===!1?null:p.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:o,"aria-label":(i==null?void 0:i.addAriaLabel)||"Add tab",onClick:function(s){r.onEdit("add",{event:s})}},r.addIcon||"+")}),Aie=p.forwardRef(function(e,t){var n=e.position,r=e.prefixCls,i=e.extra;if(!i)return null;var o,a={};return Gt(i)==="object"&&!p.isValidElement(i)?a=i:a.right=i,n==="right"&&(o=a.right),n==="left"&&(o=a.left),o?p.createElement("div",{className:"".concat(r,"-extra-content"),ref:t},o):null}),Vst=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.id,i=e.tabs,o=e.locale,a=e.mobile,s=e.more,l=s===void 0?{}:s,c=e.style,u=e.className,d=e.editable,f=e.tabBarGutter,h=e.rtl,m=e.removeAriaLabel,g=e.onTabClick,v=e.getPopupContainer,y=e.popupClassName,b=p.useState(!1),_=Ie(b,2),E=_[0],C=_[1],S=p.useState(null),w=Ie(S,2),T=w[0],O=w[1],x=l.icon,A=x===void 0?"More":x,I="".concat(r,"-more-popup"),M="".concat(n,"-dropdown"),B=T!==null?"".concat(I,"-").concat(T):null,P=o==null?void 0:o.dropdownAriaLabel;function k(U,Z){U.preventDefault(),U.stopPropagation(),d.onEdit("remove",{key:Z,event:U})}var N=p.createElement(SS,{onClick:function(Z){var te=Z.key,ae=Z.domEvent;g(te,ae),C(!1)},prefixCls:"".concat(M,"-menu"),id:I,tabIndex:-1,role:"listbox","aria-activedescendant":B,selectedKeys:[T],"aria-label":P!==void 0?P:"expanded dropdown"},i.map(function(U){var Z=U.closable,te=U.disabled,ae=U.closeIcon,K=U.key,Q=U.label,ie=CY(Z,ae,d,te);return p.createElement(h2,{key:K,id:"".concat(I,"-").concat(K),role:"option","aria-controls":r&&"".concat(r,"-panel-").concat(K),disabled:te},p.createElement("span",null,Q),ie&&p.createElement("button",{type:"button","aria-label":m||"remove",tabIndex:0,className:"".concat(M,"-menu-item-remove"),onClick:function(pe){pe.stopPropagation(),k(pe,K)}},ae||d.removeIcon||"×"))}));function L(U){for(var Z=i.filter(function(ie){return!ie.disabled}),te=Z.findIndex(function(ie){return ie.key===T})||0,ae=Z.length,K=0;Krt?"left":"right"})}),M=Ie(I,2),B=M[0],P=M[1],k=Tie(0,function(Pt,rt){!A&&g&&g({direction:Pt>rt?"top":"bottom"})}),N=Ie(k,2),L=N[0],V=N[1],$=p.useState([0,0]),W=Ie($,2),j=W[0],U=W[1],Z=p.useState([0,0]),te=Ie(Z,2),ae=te[0],K=te[1],Q=p.useState([0,0]),ie=Ie(Q,2),he=ie[0],pe=ie[1],le=p.useState([0,0]),de=Ie(le,2),ve=de[0],ne=de[1],ue=Hst(new Map),ge=Ie(ue,2),Ce=ge[0],Te=ge[1],Se=Fst(_,Ce,ae[0]),me=PR(j,A),be=PR(ae,A),_e=PR(he,A),Re=PR(ve,A),De=Math.floor(me)oe?oe:Pt}var ce=p.useRef(null),Be=p.useState(),Ve=Ie(Be,2),re=Ve[0],Me=Ve[1];function je(){Me(Date.now())}function ke(){ce.current&&clearTimeout(ce.current)}jst(w,function(Pt,rt){function Mt(It,xn){It(function(Hn){var R=ye(Hn+xn);return R})}return De?(A?Mt(P,Pt):Mt(V,rt),ke(),je(),!0):!1}),p.useEffect(function(){return ke(),re&&(ce.current=setTimeout(function(){Me(0)},100)),ke},[re]);var Ge=Ust(Se,z,A?B:L,be,_e,Re,G(G({},e),{},{tabs:_})),Ue=Ie(Ge,2),qe=Ue[0],At=Ue[1],at=Yn(function(){var Pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a,rt=Se.get(Pt)||{width:0,height:0,left:0,right:0,top:0};if(A){var Mt=B;s?rt.rightB+z&&(Mt=rt.right+rt.width-z):rt.left<-B?Mt=-rt.left:rt.left+rt.width>-B+z&&(Mt=-(rt.left+rt.width-z)),V(0),P(ye(Mt))}else{var It=L;rt.top<-L?It=-rt.top:rt.top+rt.height>-L+z&&(It=-(rt.top+rt.height-z)),P(0),V(ye(It))}}),pt=p.useState(),Ct=Ie(pt,2),bt=Ct[0],Vt=Ct[1],Tt=p.useState(!1),Ot=Ie(Tt,2),Ut=Ot[0],ze=Ot[1],Ye=_.filter(function(Pt){return!Pt.disabled}).map(function(Pt){return Pt.key}),He=function(rt){var Mt=Ye.indexOf(bt||a),It=Ye.length,xn=(Mt+rt+It)%It,Hn=Ye[xn];Vt(Hn)},Ze=function(rt){var Mt=rt.code,It=s&&A,xn=Ye[0],Hn=Ye[Ye.length-1];switch(Mt){case"ArrowLeft":{A&&He(It?1:-1);break}case"ArrowRight":{A&&He(It?-1:1);break}case"ArrowUp":{rt.preventDefault(),A||He(-1);break}case"ArrowDown":{rt.preventDefault(),A||He(1);break}case"Home":{rt.preventDefault(),Vt(xn);break}case"End":{rt.preventDefault(),Vt(Hn);break}case"Enter":case"Space":{rt.preventDefault(),m(bt,rt);break}case"Backspace":case"Delete":{var R=Ye.indexOf(bt),F=_.find(function(Oe){return Oe.key===bt}),J=CY(F==null?void 0:F.closable,F==null?void 0:F.closeIcon,c,F==null?void 0:F.disabled);J&&(rt.preventDefault(),rt.stopPropagation(),c.onEdit("remove",{key:bt,event:rt}),R===Ye.length-1?He(-1):He(1));break}}},yt={};A?yt[s?"marginRight":"marginLeft"]=f:yt.marginTop=f;var _t=_.map(function(Pt,rt){var Mt=Pt.key;return p.createElement(Wst,{id:i,prefixCls:b,key:Mt,tab:Pt,style:rt===0?void 0:yt,closable:Pt.closable,editable:c,active:Mt===a,focus:Mt===bt,renderWrapper:h,removeAriaLabel:u==null?void 0:u.removeAriaLabel,tabCount:Ye.length,currentPosition:rt+1,onClick:function(xn){m(Mt,xn)},onKeyDown:Ze,onFocus:function(){Ut||Vt(Mt),at(Mt),je(),w.current&&(s||(w.current.scrollLeft=0),w.current.scrollTop=0)},onBlur:function(){Vt(void 0)},onMouseDown:function(){ze(!0)},onMouseUp:function(){ze(!1)}})}),Bt=function(){return Te(function(){var rt,Mt=new Map,It=(rt=T.current)===null||rt===void 0?void 0:rt.getBoundingClientRect();return _.forEach(function(xn){var Hn,R=xn.key,F=(Hn=T.current)===null||Hn===void 0?void 0:Hn.querySelector('[data-node-key="'.concat(sTe(R),'"]'));if(F){var J=qst(F,It),Oe=Ie(J,4),$e=Oe[0],et=Oe[1],$t=Oe[2],hn=Oe[3];Mt.set(R,{width:$e,height:et,left:$t,top:hn})}}),Mt})};p.useEffect(function(){Bt()},[_.map(function(Pt){return Pt.key}).join("_")]);var Nt=aTe(function(){var Pt=ob(E),rt=ob(C),Mt=ob(S);U([Pt[0]-rt[0]-Mt[0],Pt[1]-rt[1]-Mt[1]]);var It=ob(x);pe(It);var xn=ob(O);ne(xn);var Hn=ob(T);K([Hn[0]-It[0],Hn[1]-It[1]]),Bt()}),vt=_.slice(0,qe),ht=_.slice(At+1),kt=[].concat(nt(vt),nt(ht)),Et=Se.get(a),Yt=$st({activeTabOffset:Et,horizontal:A,indicator:v,rtl:s}),ct=Yt.style;p.useEffect(function(){at()},[a,q,oe,Iie(Et),Iie(Se),A]),p.useEffect(function(){Nt()},[s]);var Rt=!!kt.length,Ht="".concat(b,"-nav-wrap"),wt,St,jt,Pe;return A?s?(St=B>0,wt=B!==oe):(wt=B<0,St=B!==q):(jt=L<0,Pe=L!==q),p.createElement(xa,{onResize:Nt},p.createElement("div",{ref:$d(t,E),role:"tablist","aria-orientation":A?"horizontal":"vertical",className:xe("".concat(b,"-nav"),n),style:r,onKeyDown:function(){je()}},p.createElement(Aie,{ref:C,position:"left",extra:l,prefixCls:b}),p.createElement(xa,{onResize:Nt},p.createElement("div",{className:xe(Ht,ee(ee(ee(ee({},"".concat(Ht,"-ping-left"),wt),"".concat(Ht,"-ping-right"),St),"".concat(Ht,"-ping-top"),jt),"".concat(Ht,"-ping-bottom"),Pe)),ref:w},p.createElement(xa,{onResize:Nt},p.createElement("div",{ref:T,className:"".concat(b,"-nav-list"),style:{transform:"translate(".concat(B,"px, ").concat(L,"px)"),transition:re?"none":void 0}},_t,p.createElement(lTe,{ref:x,prefixCls:b,locale:u,editable:c,style:G(G({},_t.length===0?void 0:yt),{},{visibility:Rt?"hidden":null})}),p.createElement("div",{className:xe("".concat(b,"-ink-bar"),ee({},"".concat(b,"-ink-bar-animated"),o.inkBar)),style:ct}))))),p.createElement(Gst,Ke({},e,{removeAriaLabel:u==null?void 0:u.removeAriaLabel,ref:O,prefixCls:b,tabs:kt,className:!Rt&&D,tabMoving:!!re})),p.createElement(Aie,{ref:S,position:"right",extra:l,prefixCls:b})))}),cTe=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.style,o=e.id,a=e.active,s=e.tabKey,l=e.children;return p.createElement("div",{id:o&&"".concat(o,"-panel-").concat(s),role:"tabpanel",tabIndex:a?0:-1,"aria-labelledby":o&&"".concat(o,"-tab-").concat(s),"aria-hidden":!a,style:i,className:xe(n,a&&"".concat(n,"-active"),r),ref:t},l)}),Yst=["renderTabBar"],Kst=["label","key"],Qst=function(t){var n=t.renderTabBar,r=Dt(t,Yst),i=p.useContext(fD),o=i.tabs;if(n){var a=G(G({},r),{},{panes:o.map(function(s){var l=s.label,c=s.key,u=Dt(s,Kst);return p.createElement(cTe,Ke({tab:l,key:c,tabKey:c},u))})});return n(a,Nie)}return p.createElement(Nie,r)},Xst=["key","forceRender","style","className","destroyInactiveTabPane"],Zst=function(t){var n=t.id,r=t.activeKey,i=t.animated,o=t.tabPosition,a=t.destroyInactiveTabPane,s=p.useContext(fD),l=s.prefixCls,c=s.tabs,u=i.tabPane,d="".concat(l,"-tabpane");return p.createElement("div",{className:xe("".concat(l,"-content-holder"))},p.createElement("div",{className:xe("".concat(l,"-content"),"".concat(l,"-content-").concat(o),ee({},"".concat(l,"-content-animated"),u))},c.map(function(f){var h=f.key,m=f.forceRender,g=f.style,v=f.className,y=f.destroyInactiveTabPane,b=Dt(f,Xst),_=h===r;return p.createElement(ia,Ke({key:h,visible:_,forceRender:m,removeOnLeave:!!(a||y),leavedClassName:"".concat(d,"-hidden")},i.tabPaneMotion),function(E,C){var S=E.style,w=E.className;return p.createElement(cTe,Ke({},b,{prefixCls:d,id:n,tabKey:h,animated:u,active:_,style:G(G({},g),S),className:xe(v,w),ref:C}))})})))};function Jst(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{inkBar:!0,tabPane:!1},t;return e===!1?t={inkBar:!1,tabPane:!1}:e===!0?t={inkBar:!0,tabPane:!1}:t=G({inkBar:!0},Gt(e)==="object"?e:{}),t.tabPaneMotion&&t.tabPane===void 0&&(t.tabPane=!0),!t.tabPaneMotion&&t.tabPane&&(t.tabPane=!1),t}var elt=["id","prefixCls","className","items","direction","activeKey","defaultActiveKey","editable","animated","tabPosition","tabBarGutter","tabBarStyle","tabBarExtraContent","locale","more","destroyInactiveTabPane","renderTabBar","onChange","onTabClick","onTabScroll","getPopupContainer","popupClassName","indicator"],Mie=0,tlt=p.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,i=r===void 0?"rc-tabs":r,o=e.className,a=e.items,s=e.direction,l=e.activeKey,c=e.defaultActiveKey,u=e.editable,d=e.animated,f=e.tabPosition,h=f===void 0?"top":f,m=e.tabBarGutter,g=e.tabBarStyle,v=e.tabBarExtraContent,y=e.locale,b=e.more,_=e.destroyInactiveTabPane,E=e.renderTabBar,C=e.onChange,S=e.onTabClick,w=e.onTabScroll,T=e.getPopupContainer,O=e.popupClassName,x=e.indicator,A=Dt(e,elt),I=p.useMemo(function(){return(a||[]).filter(function(ve){return ve&&Gt(ve)==="object"&&"key"in ve})},[a]),M=s==="rtl",B=Jst(d),P=p.useState(!1),k=Ie(P,2),N=k[0],L=k[1];p.useEffect(function(){L(W5())},[]);var V=Pn(function(){var ve;return(ve=I[0])===null||ve===void 0?void 0:ve.key},{value:l,defaultValue:c}),$=Ie(V,2),W=$[0],j=$[1],U=p.useState(function(){return I.findIndex(function(ve){return ve.key===W})}),Z=Ie(U,2),te=Z[0],ae=Z[1];p.useEffect(function(){var ve=I.findIndex(function(ue){return ue.key===W});if(ve===-1){var ne;ve=Math.max(0,Math.min(te,I.length-1)),j((ne=I[ve])===null||ne===void 0?void 0:ne.key)}ae(ve)},[I.map(function(ve){return ve.key}).join("_"),W,te]);var K=Pn(null,{value:n}),Q=Ie(K,2),ie=Q[0],he=Q[1];p.useEffect(function(){n||(he("rc-tabs-".concat(Mie)),Mie+=1)},[]);function pe(ve,ne){S==null||S(ve,ne);var ue=ve!==W;j(ve),ue&&(C==null||C(ve))}var le={id:ie,activeKey:W,animated:B,tabPosition:h,rtl:M,mobile:N},de=G(G({},le),{},{editable:u,locale:y,more:b,tabBarGutter:m,onTabClick:pe,onTabScroll:w,extra:v,style:g,panes:null,getPopupContainer:T,popupClassName:O,indicator:x});return p.createElement(fD.Provider,{value:{tabs:I,prefixCls:i}},p.createElement("div",Ke({ref:t,id:n,className:xe(i,"".concat(i,"-").concat(h),ee(ee(ee({},"".concat(i,"-mobile"),N),"".concat(i,"-editable"),u),"".concat(i,"-rtl"),M),o)},A),p.createElement(Qst,Ke({},de,{renderTabBar:E})),p.createElement(Zst,Ke({destroyInactiveTabPane:_},le,{animated:B}))))});const nlt={motionAppear:!1,motionEnter:!0,motionLeave:!0};function rlt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{inkBar:!0,tabPane:!1},n;return t===!1?n={inkBar:!1,tabPane:!1}:t===!0?n={inkBar:!0,tabPane:!0}:n=Object.assign({inkBar:!0},typeof t=="object"?t:{}),n.tabPane&&(n.tabPaneMotion=Object.assign(Object.assign({},nlt),{motionName:Va(e,"switch")})),n}var ilt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);it)}function alt(e,t){if(e)return e;const n=ko(t).map(r=>{if(p.isValidElement(r)){const{key:i,props:o}=r,a=o||{},{tab:s}=a,l=ilt(a,["tab"]);return Object.assign(Object.assign({key:String(i)},l),{label:s})}return null});return olt(n)}const slt=e=>{const{componentCls:t,motionDurationSlow:n}=e;return[{[t]:{[`${t}-switch`]:{"&-appear, &-enter":{transition:"none","&-start":{opacity:0},"&-active":{opacity:1,transition:`opacity ${n}`}},"&-leave":{position:"absolute",transition:"none",inset:0,"&-start":{opacity:1},"&-active":{opacity:0,transition:`opacity ${n}`}}}}},[$f(e,"slide-up"),$f(e,"slide-down")]]},llt=e=>{const{componentCls:t,tabsCardPadding:n,cardBg:r,cardGutter:i,colorBorderSecondary:o,itemSelectedColor:a}=e;return{[`${t}-card`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{margin:0,padding:n,background:r,border:`${Ae(e.lineWidth)} ${e.lineType} ${o}`,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`},[`${t}-tab-active`]:{color:a,background:e.colorBgContainer},[`${t}-tab-focus`]:Object.assign({},Td(e,-3)),[`${t}-ink-bar`]:{visibility:"hidden"},[`& ${t}-tab${t}-tab-focus ${t}-tab-btn`]:{outline:"none"}},[`&${t}-top, &${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginLeft:{_skip_check_:!0,value:Ae(i)}}}},[`&${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`${Ae(e.borderRadiusLG)} ${Ae(e.borderRadiusLG)} 0 0`},[`${t}-tab-active`]:{borderBottomColor:e.colorBgContainer}}},[`&${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:`0 0 ${Ae(e.borderRadiusLG)} ${Ae(e.borderRadiusLG)}`},[`${t}-tab-active`]:{borderTopColor:e.colorBgContainer}}},[`&${t}-left, &${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginTop:Ae(i)}}},[`&${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Ae(e.borderRadiusLG)} 0 0 ${Ae(e.borderRadiusLG)}`}},[`${t}-tab-active`]:{borderRightColor:{_skip_check_:!0,value:e.colorBgContainer}}}},[`&${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Ae(e.borderRadiusLG)} ${Ae(e.borderRadiusLG)} 0`}},[`${t}-tab-active`]:{borderLeftColor:{_skip_check_:!0,value:e.colorBgContainer}}}}}}},clt=e=>{const{componentCls:t,itemHoverColor:n,dropdownEdgeChildVerticalPadding:r}=e;return{[`${t}-dropdown`]:Object.assign(Object.assign({},gr(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:e.zIndexPopup,display:"block","&-hidden":{display:"none"},[`${t}-dropdown-menu`]:{maxHeight:e.tabsDropdownHeight,margin:0,padding:`${Ae(r)} 0`,overflowX:"hidden",overflowY:"auto",textAlign:{_skip_check_:!0,value:"left"},listStyleType:"none",backgroundColor:e.colorBgContainer,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,"&-item":Object.assign(Object.assign({},kl),{display:"flex",alignItems:"center",minWidth:e.tabsDropdownWidth,margin:0,padding:`${Ae(e.paddingXXS)} ${Ae(e.paddingSM)}`,color:e.colorText,fontWeight:"normal",fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"> span":{flex:1,whiteSpace:"nowrap"},"&-remove":{flex:"none",marginLeft:{_skip_check_:!0,value:e.marginSM},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:0,cursor:"pointer","&:hover":{color:n}},"&:hover":{background:e.controlItemBgHover},"&-disabled":{"&, &:hover":{color:e.colorTextDisabled,background:"transparent",cursor:"not-allowed"}}})}})}},ult=e=>{const{componentCls:t,margin:n,colorBorderSecondary:r,horizontalMargin:i,verticalItemPadding:o,verticalItemMargin:a,calc:s}=e;return{[`${t}-top, ${t}-bottom`]:{flexDirection:"column",[`> ${t}-nav, > div > ${t}-nav`]:{margin:i,"&::before":{position:"absolute",right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},borderBottom:`${Ae(e.lineWidth)} ${e.lineType} ${r}`,content:"''"},[`${t}-ink-bar`]:{height:e.lineWidthBold,"&-animated":{transition:`width ${e.motionDurationSlow}, left ${e.motionDurationSlow}, right ${e.motionDurationSlow}`}},[`${t}-nav-wrap`]:{"&::before, &::after":{top:0,bottom:0,width:e.controlHeight},"&::before":{left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowLeft},"&::after":{right:{_skip_check_:!0,value:0},boxShadow:e.boxShadowTabsOverflowRight},[`&${t}-nav-wrap-ping-left::before`]:{opacity:1},[`&${t}-nav-wrap-ping-right::after`]:{opacity:1}}}},[`${t}-top`]:{[`> ${t}-nav, > div > ${t}-nav`]:{"&::before":{bottom:0},[`${t}-ink-bar`]:{bottom:0}}},[`${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,marginTop:n,marginBottom:0,"&::before":{top:0},[`${t}-ink-bar`]:{top:0}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0}},[`${t}-left, ${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{flexDirection:"column",minWidth:s(e.controlHeight).mul(1.25).equal(),[`${t}-tab`]:{padding:o,textAlign:"center"},[`${t}-tab + ${t}-tab`]:{margin:a},[`${t}-nav-wrap`]:{flexDirection:"column","&::before, &::after":{right:{_skip_check_:!0,value:0},left:{_skip_check_:!0,value:0},height:e.controlHeight},"&::before":{top:0,boxShadow:e.boxShadowTabsOverflowTop},"&::after":{bottom:0,boxShadow:e.boxShadowTabsOverflowBottom},[`&${t}-nav-wrap-ping-top::before`]:{opacity:1},[`&${t}-nav-wrap-ping-bottom::after`]:{opacity:1}},[`${t}-ink-bar`]:{width:e.lineWidthBold,"&-animated":{transition:`height ${e.motionDurationSlow}, top ${e.motionDurationSlow}`}},[`${t}-nav-list, ${t}-nav-operations`]:{flex:"1 0 auto",flexDirection:"column"}}},[`${t}-left`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-ink-bar`]:{right:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{marginLeft:{_skip_check_:!0,value:Ae(s(e.lineWidth).mul(-1).equal())},borderLeft:{_skip_check_:!0,value:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingLeft:{_skip_check_:!0,value:e.paddingLG}}}},[`${t}-right`]:{[`> ${t}-nav, > div > ${t}-nav`]:{order:1,[`${t}-ink-bar`]:{left:{_skip_check_:!0,value:0}}},[`> ${t}-content-holder, > div > ${t}-content-holder`]:{order:0,marginRight:{_skip_check_:!0,value:s(e.lineWidth).mul(-1).equal()},borderRight:{_skip_check_:!0,value:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},[`> ${t}-content > ${t}-tabpane`]:{paddingRight:{_skip_check_:!0,value:e.paddingLG}}}}}},dlt=e=>{const{componentCls:t,cardPaddingSM:n,cardPaddingLG:r,horizontalItemPaddingSM:i,horizontalItemPaddingLG:o}=e;return{[t]:{"&-small":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:i,fontSize:e.titleFontSizeSM}}},"&-large":{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:o,fontSize:e.titleFontSizeLG}}}},[`${t}-card`]:{[`&${t}-small`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:n}},[`&${t}-bottom`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`0 0 ${Ae(e.borderRadius)} ${Ae(e.borderRadius)}`}},[`&${t}-top`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:`${Ae(e.borderRadius)} ${Ae(e.borderRadius)} 0 0`}},[`&${t}-right`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`0 ${Ae(e.borderRadius)} ${Ae(e.borderRadius)} 0`}}},[`&${t}-left`]:{[`> ${t}-nav ${t}-tab`]:{borderRadius:{_skip_check_:!0,value:`${Ae(e.borderRadius)} 0 0 ${Ae(e.borderRadius)}`}}}},[`&${t}-large`]:{[`> ${t}-nav`]:{[`${t}-tab`]:{padding:r}}}}}},flt=e=>{const{componentCls:t,itemActiveColor:n,itemHoverColor:r,iconCls:i,tabsHorizontalItemMargin:o,horizontalItemPadding:a,itemSelectedColor:s,itemColor:l}=e,c=`${t}-tab`;return{[c]:{position:"relative",WebkitTouchCallout:"none",WebkitTapHighlightColor:"transparent",display:"inline-flex",alignItems:"center",padding:a,fontSize:e.titleFontSize,background:"transparent",border:0,outline:"none",cursor:"pointer",color:l,"&-btn, &-remove":{"&:focus:not(:focus-visible), &:active":{color:n}},"&-btn":{outline:"none",transition:`all ${e.motionDurationSlow}`,[`${c}-icon:not(:last-child)`]:{marginInlineEnd:e.marginSM}},"&-remove":Object.assign({flex:"none",marginRight:{_skip_check_:!0,value:e.calc(e.marginXXS).mul(-1).equal()},marginLeft:{_skip_check_:!0,value:e.marginXS},color:e.colorTextDescription,fontSize:e.fontSizeSM,background:"transparent",border:"none",outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,"&:hover":{color:e.colorTextHeading}},Zs(e)),"&:hover":{color:r},[`&${c}-active ${c}-btn`]:{color:s,textShadow:e.tabsActiveTextShadow},[`&${c}-focus ${c}-btn`]:Object.assign({},Td(e)),[`&${c}-disabled`]:{color:e.colorTextDisabled,cursor:"not-allowed"},[`&${c}-disabled ${c}-btn, &${c}-disabled ${t}-remove`]:{"&:focus, &:active":{color:e.colorTextDisabled}},[`& ${c}-remove ${i}`]:{margin:0},[`${i}:not(:last-child)`]:{marginRight:{_skip_check_:!0,value:e.marginSM}}},[`${c} + ${c}`]:{margin:{_skip_check_:!0,value:o}}}},plt=e=>{const{componentCls:t,tabsHorizontalItemMarginRTL:n,iconCls:r,cardGutter:i,calc:o}=e;return{[`${t}-rtl`]:{direction:"rtl",[`${t}-nav`]:{[`${t}-tab`]:{margin:{_skip_check_:!0,value:n},[`${t}-tab:last-of-type`]:{marginLeft:{_skip_check_:!0,value:0}},[r]:{marginRight:{_skip_check_:!0,value:0},marginLeft:{_skip_check_:!0,value:Ae(e.marginSM)}},[`${t}-tab-remove`]:{marginRight:{_skip_check_:!0,value:Ae(e.marginXS)},marginLeft:{_skip_check_:!0,value:Ae(o(e.marginXXS).mul(-1).equal())},[r]:{margin:0}}}},[`&${t}-left`]:{[`> ${t}-nav`]:{order:1},[`> ${t}-content-holder`]:{order:0}},[`&${t}-right`]:{[`> ${t}-nav`]:{order:0},[`> ${t}-content-holder`]:{order:1}},[`&${t}-card${t}-top, &${t}-card${t}-bottom`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-tab + ${t}-tab`]:{marginRight:{_skip_check_:!0,value:i},marginLeft:{_skip_check_:!0,value:0}}}}},[`${t}-dropdown-rtl`]:{direction:"rtl"},[`${t}-menu-item`]:{[`${t}-dropdown-rtl`]:{textAlign:{_skip_check_:!0,value:"right"}}}}},hlt=e=>{const{componentCls:t,tabsCardPadding:n,cardHeight:r,cardGutter:i,itemHoverColor:o,itemActiveColor:a,colorBorderSecondary:s}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{display:"flex",[`> ${t}-nav, > div > ${t}-nav`]:{position:"relative",display:"flex",flex:"none",alignItems:"center",[`${t}-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 ${e.motionDurationSlow}`,content:"''",pointerEvents:"none"}},[`${t}-nav-list`]:{position:"relative",display:"flex",transition:`opacity ${e.motionDurationSlow}`},[`${t}-nav-operations`]:{display:"flex",alignSelf:"stretch"},[`${t}-nav-operations-hidden`]:{position:"absolute",visibility:"hidden",pointerEvents:"none"},[`${t}-nav-more`]:{position:"relative",padding:n,background:"transparent",border:0,color:e.colorText,"&::after":{position:"absolute",right:{_skip_check_:!0,value:0},bottom:0,left:{_skip_check_:!0,value:0},height:e.calc(e.controlHeightLG).div(8).equal(),transform:"translateY(100%)",content:"''"}},[`${t}-nav-add`]:Object.assign({minWidth:r,marginLeft:{_skip_check_:!0,value:i},padding:Ae(e.paddingXS),background:"transparent",border:`${Ae(e.lineWidth)} ${e.lineType} ${s}`,borderRadius:`${Ae(e.borderRadiusLG)} ${Ae(e.borderRadiusLG)} 0 0`,outline:"none",cursor:"pointer",color:e.colorText,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOut}`,"&:hover":{color:o},"&:active, &:focus:not(:focus-visible)":{color:a}},Zs(e,-3))},[`${t}-extra-content`]:{flex:"none"},[`${t}-ink-bar`]:{position:"absolute",background:e.inkBarColor,pointerEvents:"none"}}),flt(e)),{[`${t}-content`]:{position:"relative",width:"100%"},[`${t}-content-holder`]:{flex:"auto",minWidth:0,minHeight:0},[`${t}-tabpane`]:Object.assign(Object.assign({},Zs(e)),{"&-hidden":{display:"none"}})}),[`${t}-centered`]:{[`> ${t}-nav, > div > ${t}-nav`]:{[`${t}-nav-wrap`]:{[`&:not([class*='${t}-nav-wrap-ping']) > ${t}-nav-list`]:{margin:"auto"}}}}}},mlt=e=>{const t=e.controlHeightLG;return{zIndexPopup:e.zIndexPopupBase+50,cardBg:e.colorFillAlter,cardHeight:t,cardPadding:`${(t-Math.round(e.fontSize*e.lineHeight))/2-e.lineWidth}px ${e.padding}px`,cardPaddingSM:`${e.paddingXXS*1.5}px ${e.padding}px`,cardPaddingLG:`${e.paddingXS}px ${e.padding}px ${e.paddingXXS*1.5}px`,titleFontSize:e.fontSize,titleFontSizeLG:e.fontSizeLG,titleFontSizeSM:e.fontSize,inkBarColor:e.colorPrimary,horizontalMargin:`0 0 ${e.margin}px 0`,horizontalItemGutter:32,horizontalItemMargin:"",horizontalItemMarginRTL:"",horizontalItemPadding:`${e.paddingSM}px 0`,horizontalItemPaddingSM:`${e.paddingXS}px 0`,horizontalItemPaddingLG:`${e.padding}px 0`,verticalItemPadding:`${e.paddingXS}px ${e.paddingLG}px`,verticalItemMargin:`${e.margin}px 0 0 0`,itemColor:e.colorText,itemSelectedColor:e.colorPrimary,itemHoverColor:e.colorPrimaryHover,itemActiveColor:e.colorPrimaryActive,cardGutter:e.marginXXS/2}},glt=lr("Tabs",e=>{const t=Kn(e,{tabsCardPadding:e.cardPadding,dropdownEdgeChildVerticalPadding:e.paddingXXS,tabsActiveTextShadow:"0 0 0.25px currentcolor",tabsDropdownHeight:200,tabsDropdownWidth:120,tabsHorizontalItemMargin:`0 0 0 ${Ae(e.horizontalItemGutter)}`,tabsHorizontalItemMarginRTL:`0 0 0 ${Ae(e.horizontalItemGutter)}`});return[dlt(t),plt(t),ult(t),clt(t),llt(t),hlt(t),slt(t)]},mlt),vlt=()=>null;var blt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var t,n,r,i,o,a,s,l,c,u,d;const{type:f,className:h,rootClassName:m,size:g,onEdit:v,hideAdd:y,centered:b,addIcon:_,removeIcon:E,moreIcon:C,more:S,popupClassName:w,children:T,items:O,animated:x,style:A,indicatorSize:I,indicator:M}=e,B=blt(e,["type","className","rootClassName","size","onEdit","hideAdd","centered","addIcon","removeIcon","moreIcon","more","popupClassName","children","items","animated","style","indicatorSize","indicator"]),{prefixCls:P}=B,{direction:k,tabs:N,getPrefixCls:L,getPopupContainer:V}=p.useContext(Xt),$=L("tabs",P),W=ui($),[j,U,Z]=glt($,W);let te;f==="editable-card"&&(te={onEdit:(le,de)=>{let{key:ve,event:ne}=de;v==null||v(le==="add"?ne:ve,le)},removeIcon:(t=E??(N==null?void 0:N.removeIcon))!==null&&t!==void 0?t:p.createElement(Yf,null),addIcon:(_??(N==null?void 0:N.addIcon))||p.createElement(_2,null),showAdd:y!==!0});const ae=L(),K=Co(g),Q=alt(O,T),ie=rlt($,x),he=Object.assign(Object.assign({},N==null?void 0:N.style),A),pe={align:(n=M==null?void 0:M.align)!==null&&n!==void 0?n:(r=N==null?void 0:N.indicator)===null||r===void 0?void 0:r.align,size:(s=(o=(i=M==null?void 0:M.size)!==null&&i!==void 0?i:I)!==null&&o!==void 0?o:(a=N==null?void 0:N.indicator)===null||a===void 0?void 0:a.size)!==null&&s!==void 0?s:N==null?void 0:N.indicatorSize};return j(p.createElement(tlt,Object.assign({direction:k,getPopupContainer:V},B,{items:Q,className:xe({[`${$}-${K}`]:K,[`${$}-card`]:["card","editable-card"].includes(f),[`${$}-editable-card`]:f==="editable-card",[`${$}-centered`]:b},N==null?void 0:N.className,h,m,U,Z,W),popupClassName:xe(w,U,Z,W),style:he,editable:te,more:Object.assign({icon:(d=(u=(c=(l=N==null?void 0:N.more)===null||l===void 0?void 0:l.icon)!==null&&c!==void 0?c:N==null?void 0:N.moreIcon)!==null&&u!==void 0?u:C)!==null&&d!==void 0?d:p.createElement(sY,null),transitionName:`${ae}-slide-up`},S),prefixCls:$,animated:ie,indicator:pe})))};wS.TabPane=vlt;var ylt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{prefixCls:t,className:n,hoverable:r=!0}=e,i=ylt(e,["prefixCls","className","hoverable"]);const{getPrefixCls:o}=p.useContext(Xt),a=o("card",t),s=xe(`${a}-grid`,n,{[`${a}-grid-hoverable`]:r});return p.createElement("div",Object.assign({},i,{className:s}))},_lt=e=>{const{antCls:t,componentCls:n,headerHeight:r,headerPadding:i,tabsMarginBottom:o}=e;return Object.assign(Object.assign({display:"flex",justifyContent:"center",flexDirection:"column",minHeight:r,marginBottom:-1,padding:`0 ${Ae(i)}`,color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.headerFontSize,background:e.headerBg,borderBottom:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorderSecondary}`,borderRadius:`${Ae(e.borderRadiusLG)} ${Ae(e.borderRadiusLG)} 0 0`},wd()),{"&-wrapper":{width:"100%",display:"flex",alignItems:"center"},"&-title":Object.assign(Object.assign({display:"inline-block",flex:1},kl),{[` > ${n}-typography, @@ -379,7 +379,7 @@ html body { `]:{[`&:hover ${t}-inner`]:{backgroundColor:e.colorPrimaryHover,borderColor:"transparent"}}},{[t]:{"&-indeterminate":{[`${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorBorder} !important`,"&:after":{top:"50%",insetInlineStart:"50%",width:e.calc(e.fontSizeLG).div(2).equal(),height:e.calc(e.fontSizeLG).div(2).equal(),backgroundColor:e.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}},[`&:hover ${t}-inner`]:{backgroundColor:`${e.colorBgContainer} !important`,borderColor:`${e.colorPrimary} !important`}}}},{[`${n}-disabled`]:{cursor:"not-allowed"},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${t}-inner`]:{background:e.colorBgContainerDisabled,borderColor:e.colorBorder,"&:after":{borderColor:e.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:e.colorTextDisabled},[`&${t}-indeterminate ${t}-inner::after`]:{background:e.colorTextDisabled}}}]};function hD(e,t){const n=Kn(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});return[oct(n)]}const ITe=lr("Checkbox",(e,t)=>{let{prefixCls:n}=t;return[hD(n,e)]}),ATe=e=>{const{prefixCls:t,componentCls:n}=e,r=`${n}-menu-item`,i=` &${r}-expand ${r}-expand-icon, ${r}-loading-icon -`;return[hD(`${t}-checkbox`,e),{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${n}-menu-empty`]:{[`${n}-menu`]:{width:"100%",height:"auto",[r]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&-item":Object.assign(Object.assign({},kl),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:e.optionPadding,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[i]:{color:e.colorTextDisabled}},[`&-active:not(${r}-disabled)`]:{"&, &:hover":{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg}},"&-content":{flex:"auto"},[i]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},act=e=>{const{componentCls:t,antCls:n}=e;return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[{[`&${n}-select-dropdown`]:{padding:0}},ATe(e)]},{[`${t}-dropdown-rtl`]:{direction:"rtl"}},E0(e)]},NTe=e=>{const t=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:e.controlItemBgActive,optionSelectedFontWeight:e.fontWeightStrong,optionPadding:`${t}px ${e.paddingSM}px`,menuPadding:e.paddingXXS,optionSelectedColor:e.colorText}},MTe=lr("Cascader",e=>[act(e)],NTe),sct=e=>{const{componentCls:t}=e;return{[`${t}-panel`]:[ATe(e),{display:"inline-flex",border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:e.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${t}-menus`]:{alignItems:"stretch"},[`${t}-menu`]:{height:"auto"},"&-empty":{padding:e.paddingXXS}}]}},lct=CSe(["Cascader","Panel"],e=>sct(e),NTe);function cct(e){const{prefixCls:t,className:n,multiple:r,rootClassName:i,notFoundContent:o,direction:a,expandIcon:s,disabled:l}=e,c=p.useContext(Wo),u=l??c,[d,f,h,m]=xTe(t,a),g=ui(f),[v,y,b]=MTe(f,g);lct(f);const _=h==="rtl",[E,C]=RTe(d,_,s),S=o||(m==null?void 0:m("Cascader"))||p.createElement(yS,{componentName:"Cascader"}),w=OTe(f,r);return v(p.createElement(TTe,Object.assign({},e,{checkable:w,prefixCls:f,className:xe(n,y,i,b,g),notFoundContent:S,direction:h,expandIcon:E,loadingIcon:C,disabled:u})))}var uct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);il===0?[s]:[].concat(nt(a),[t,s]),[]),i=[];let o=0;return r.forEach((a,s)=>{const l=o+a.length;let c=e.slice(o,l);o=l,s%2===1&&(c=p.createElement("span",{className:`${n}-menu-item-keyword`,key:`separator-${s}`},c)),i.push(c)}),i}const hct=(e,t,n,r)=>{const i=[],o=e.toLowerCase();return t.forEach((a,s)=>{s!==0&&i.push(" / ");let l=a[r.label];const c=typeof l;(c==="string"||c==="number")&&(l=pct(String(l),o,n)),i.push(l)}),i},xS=p.forwardRef((e,t)=>{var n;const{prefixCls:r,size:i,disabled:o,className:a,rootClassName:s,multiple:l,bordered:c=!0,transitionName:u,choiceTransitionName:d="",popupClassName:f,dropdownClassName:h,expandIcon:m,placement:g,showSearch:v,allowClear:y=!0,notFoundContent:b,direction:_,getPopupContainer:E,status:C,showArrow:S,builtinPlacements:w,style:T,variant:O}=e,x=uct(e,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),A=ur(x,["suffixIcon"]),{getPopupContainer:I,getPrefixCls:M,popupOverflow:B,cascader:P}=p.useContext(Xt),{status:k,hasFeedback:N,isFormItemInput:L,feedbackIcon:V}=p.useContext(oa),$=xh(k,C),[W,j,U,Z]=xTe(r,_),te=U==="rtl",ae=M(),K=ui(W),[Q,ie,he]=Kq(W,K),pe=ui(j),[le]=MTe(j,pe),{compactSize:de,compactItemClassnames:ve}=Fd(W,_),[ne,ue]=Oh("cascader",O,c),ge=b||(Z==null?void 0:Z("Cascader"))||p.createElement(yS,{componentName:"Cascader"}),Ce=xe(f||h,`${j}-dropdown`,{[`${j}-dropdown-rtl`]:U==="rtl"},s,K,pe,ie,he),Te=p.useMemo(()=>{if(!v)return v;let re={render:hct};return typeof v=="object"&&(re=Object.assign(Object.assign({},re),v)),re},[v]),Se=Co(re=>{var Me;return(Me=i??de)!==null&&Me!==void 0?Me:re}),me=p.useContext(Wo),be=o??me,[_e,Re]=RTe(W,te,m),De=OTe(j,l),z=Qq(e.suffixIcon,S),{suffixIcon:D,removeIcon:q,clearIcon:oe}=QP(Object.assign(Object.assign({},e),{hasFeedback:N,feedbackIcon:V,showSuffixIcon:z,multiple:l,prefixCls:W,componentName:"Cascader"})),ye=p.useMemo(()=>g!==void 0?g:te?"bottomRight":"bottomLeft",[g,te]),ce=y===!0?{clearIcon:oe}:y,[Be]=Ru("SelectLike",(n=A.dropdownStyle)===null||n===void 0?void 0:n.zIndex),Ve=p.createElement(C2,Object.assign({prefixCls:W,className:xe(!r&&j,{[`${W}-lg`]:Se==="large",[`${W}-sm`]:Se==="small",[`${W}-rtl`]:te,[`${W}-${ne}`]:ue,[`${W}-in-form-item`]:L},Id(W,$,N),ve,P==null?void 0:P.className,a,s,K,pe,ie,he),disabled:be,style:Object.assign(Object.assign({},P==null?void 0:P.style),T)},A,{builtinPlacements:Yq(w,B),direction:U,placement:ye,notFoundContent:ge,allowClear:ce,showSearch:Te,expandIcon:_e,suffixIcon:D,removeIcon:q,loadingIcon:Re,checkable:De,dropdownClassName:Ce,dropdownPrefixCls:r||j,dropdownStyle:Object.assign(Object.assign({},A.dropdownStyle),{zIndex:Be}),choiceTransitionName:Va(ae,"",d),transitionName:Va(ae,"slide-up",u),getPopupContainer:E||I,ref:t}));return le(Q(Ve))}),mct=Ng(xS,"dropdownAlign",e=>ur(e,["visible"]));xS.SHOW_PARENT=fct;xS.SHOW_CHILD=dct;xS.Panel=cct;xS._InternalPanelDoNotUseOrYouWillBeFired=mct;const kTe=se.createContext(null);var gct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,className:i,rootClassName:o,children:a,indeterminate:s=!1,style:l,onMouseEnter:c,onMouseLeave:u,skipGroup:d=!1,disabled:f}=e,h=gct(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:m,direction:g,checkbox:v}=p.useContext(Xt),y=p.useContext(kTe),{isFormItemInput:b}=p.useContext(oa),_=p.useContext(Wo),E=(n=(y==null?void 0:y.disabled)||f)!==null&&n!==void 0?n:_,C=p.useRef(h.value),S=p.useRef(null),w=aa(t,S);p.useEffect(()=>{y==null||y.registerValue(h.value)},[]),p.useEffect(()=>{if(!d)return h.value!==C.current&&(y==null||y.cancelValue(C.current),y==null||y.registerValue(h.value),C.current=h.value),()=>y==null?void 0:y.cancelValue(h.value)},[h.value]),p.useEffect(()=>{var L;!((L=S.current)===null||L===void 0)&&L.input&&(S.current.input.indeterminate=s)},[s]);const T=m("checkbox",r),O=ui(T),[x,A,I]=ITe(T,O),M=Object.assign({},h);y&&!d&&(M.onChange=function(){h.onChange&&h.onChange.apply(h,arguments),y.toggleOption&&y.toggleOption({label:a,value:h.value})},M.name=y.name,M.checked=y.value.includes(h.value));const B=xe(`${T}-wrapper`,{[`${T}-rtl`]:g==="rtl",[`${T}-wrapper-checked`]:M.checked,[`${T}-wrapper-disabled`]:E,[`${T}-wrapper-in-form-item`]:b},v==null?void 0:v.className,i,o,I,O,A),P=xe({[`${T}-indeterminate`]:s},AP,A),[k,N]=Zwe(M.onClick);return x(p.createElement(o2,{component:"Checkbox",disabled:E},p.createElement("label",{className:B,style:Object.assign(Object.assign({},v==null?void 0:v.style),l),onMouseEnter:c,onMouseLeave:u,onClick:k},p.createElement(Xwe,Object.assign({},M,{onClick:N,prefixCls:T,className:P,disabled:E,ref:w})),a!==void 0&&p.createElement("span",null,a))))},PTe=p.forwardRef(vct);var bct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{defaultValue:n,children:r,options:i=[],prefixCls:o,className:a,rootClassName:s,style:l,onChange:c}=e,u=bct(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:d,direction:f}=p.useContext(Xt),[h,m]=p.useState(u.value||n||[]),[g,v]=p.useState([]);p.useEffect(()=>{"value"in u&&m(u.value||[])},[u.value]);const y=p.useMemo(()=>i.map(P=>typeof P=="string"||typeof P=="number"?{label:P,value:P}:P),[i]),b=P=>{v(k=>k.filter(N=>N!==P))},_=P=>{v(k=>[].concat(nt(k),[P]))},E=P=>{const k=h.indexOf(P.value),N=nt(h);k===-1?N.push(P.value):N.splice(k,1),"value"in u||m(N),c==null||c(N.filter(L=>g.includes(L)).sort((L,V)=>{const $=y.findIndex(j=>j.value===L),W=y.findIndex(j=>j.value===V);return $-W}))},C=d("checkbox",o),S=`${C}-group`,w=ui(C),[T,O,x]=ITe(C,w),A=ur(u,["value","disabled"]),I=i.length?y.map(P=>p.createElement(PTe,{prefixCls:C,key:P.value.toString(),disabled:"disabled"in P?P.disabled:u.disabled,value:P.value,checked:h.includes(P.value),onChange:P.onChange,className:`${S}-item`,style:P.style,title:P.title,id:P.id,required:P.required},P.label)):r,M={toggleOption:E,value:h,disabled:u.disabled,name:u.name,registerValue:_,cancelValue:b},B=xe(S,{[`${S}-rtl`]:f==="rtl"},a,s,x,w,O);return T(p.createElement("div",Object.assign({className:B,style:l},A,{ref:t}),p.createElement(kTe.Provider,{value:M},I)))}),fh=PTe;fh.Group=yct;fh.__ANT_CHECKBOX=!0;const DTe=p.createContext({});var _ct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:n,direction:r}=p.useContext(Xt),{gutter:i,wrap:o}=p.useContext(DTe),{prefixCls:a,span:s,order:l,offset:c,push:u,pull:d,className:f,children:h,flex:m,style:g}=e,v=_ct(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),y=n("col",a),[b,_,E]=Fet(y),C={};let S={};Sct.forEach(O=>{let x={};const A=e[O];typeof A=="number"?x.span=A:typeof A=="object"&&(x=A||{}),delete v[O],S=Object.assign(Object.assign({},S),{[`${y}-${O}-${x.span}`]:x.span!==void 0,[`${y}-${O}-order-${x.order}`]:x.order||x.order===0,[`${y}-${O}-offset-${x.offset}`]:x.offset||x.offset===0,[`${y}-${O}-push-${x.push}`]:x.push||x.push===0,[`${y}-${O}-pull-${x.pull}`]:x.pull||x.pull===0,[`${y}-rtl`]:r==="rtl"}),x.flex&&(S[`${y}-${O}-flex`]=!0,C[`--${y}-${O}-flex`]=Pie(x.flex))});const w=xe(y,{[`${y}-${s}`]:s!==void 0,[`${y}-order-${l}`]:l,[`${y}-offset-${c}`]:c,[`${y}-push-${u}`]:u,[`${y}-pull-${d}`]:d},f,S,_,E),T={};if(i&&i[0]>0){const O=i[0]/2;T.paddingLeft=O,T.paddingRight=O}return m&&(T.flex=Pie(m),o===!1&&!T.minWidth&&(T.minWidth=0)),b(p.createElement("div",Object.assign({},v,{style:Object.assign(Object.assign(Object.assign({},T),g),C),className:w,ref:t}),h))});var Ect=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(typeof e=="string"&&r(e),typeof e=="object")for(let o=0;o{i()},[JSON.stringify(e),t]),n}const w2=p.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:i,className:o,style:a,children:s,gutter:l=0,wrap:c}=e,u=Ect(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:d,direction:f}=p.useContext(Xt),[h,m]=p.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[g,v]=p.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),y=Die(i,g),b=Die(r,g),_=p.useRef(l),E=ECe();p.useEffect(()=>{const N=E.subscribe(L=>{v(L);const V=_.current||0;(!Array.isArray(V)&&typeof V=="object"||Array.isArray(V)&&(typeof V[0]=="object"||typeof V[1]=="object"))&&m(L)});return()=>E.unsubscribe(N)},[]);const C=()=>{const N=[void 0,void 0];return(Array.isArray(l)?l:[l,void 0]).forEach((V,$)=>{if(typeof V=="object")for(let W=0;W0?x[0]/-2:void 0;M&&(I.marginLeft=M,I.marginRight=M);const[B,P]=x;I.rowGap=P;const k=p.useMemo(()=>({gutter:[B,P],wrap:c}),[B,P,c]);return w(p.createElement(DTe.Provider,{value:k},p.createElement("div",Object.assign({},u,{className:A,style:Object.assign(Object.assign({},I),a),ref:t}),s)))}),Cct=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:i,textPaddingInline:o,orientationMargin:a,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{borderBlockStart:`${Ae(i)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Ae(i)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ae(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ae(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Ae(i)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${a} * 100%)`},"&::after":{width:`calc(100% - ${a} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${a} * 100%)`},"&::after":{width:`calc(${a} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:o},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${Ae(i)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${Ae(i)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},wct=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),Tct=lr("Divider",e=>{const t=Kn(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[Cct(t)]},wct,{unitless:{orientationMargin:!0}});var xct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:t,direction:n,divider:r}=p.useContext(Xt),{prefixCls:i,type:o="horizontal",orientation:a="center",orientationMargin:s,className:l,rootClassName:c,children:u,dashed:d,variant:f="solid",plain:h,style:m}=e,g=xct(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),v=t("divider",i),[y,b,_]=Tct(v),E=!!u,C=a==="left"&&s!=null,S=a==="right"&&s!=null,w=xe(v,r==null?void 0:r.className,b,_,`${v}-${o}`,{[`${v}-with-text`]:E,[`${v}-with-text-${a}`]:E,[`${v}-dashed`]:!!d,[`${v}-${f}`]:f!=="solid",[`${v}-plain`]:!!h,[`${v}-rtl`]:n==="rtl",[`${v}-no-default-orientation-margin-left`]:C,[`${v}-no-default-orientation-margin-right`]:S},l,c),T=p.useMemo(()=>typeof s=="number"?s:/^\d+$/.test(s)?Number(s):s,[s]),O=Object.assign(Object.assign({},C&&{marginLeft:T}),S&&{marginRight:T});return y(p.createElement("div",Object.assign({className:w,style:Object.assign(Object.assign({},r==null?void 0:r.style),m)},g,{role:"separator"}),u&&o!=="vertical"&&p.createElement("span",{className:`${v}-inner-text`,style:O},u)))};var Lie=function(t,n){if(!t)return null;var r={left:t.offsetLeft,right:t.parentElement.clientWidth-t.clientWidth-t.offsetLeft,width:t.clientWidth,top:t.offsetTop,bottom:t.parentElement.clientHeight-t.clientHeight-t.offsetTop,height:t.clientHeight};return n?{left:0,right:0,width:0,top:r.top,bottom:r.bottom,height:r.height}:{left:r.left,right:r.right,width:r.width,top:0,bottom:0,height:0}},Qd=function(t){return t!==void 0?"".concat(t,"px"):void 0};function Rct(e){var t=e.prefixCls,n=e.containerRef,r=e.value,i=e.getValueIndex,o=e.motionName,a=e.onMotionStart,s=e.onMotionEnd,l=e.direction,c=e.vertical,u=c===void 0?!1:c,d=p.useRef(null),f=p.useState(r),h=Ie(f,2),m=h[0],g=h[1],v=function(P){var k,N=i(P),L=(k=n.current)===null||k===void 0?void 0:k.querySelectorAll(".".concat(t,"-item"))[N];return(L==null?void 0:L.offsetParent)&&L},y=p.useState(null),b=Ie(y,2),_=b[0],E=b[1],C=p.useState(null),S=Ie(C,2),w=S[0],T=S[1];ar(function(){if(m!==r){var B=v(m),P=v(r),k=Lie(B,u),N=Lie(P,u);g(r),E(k),T(N),B&&P?a():s()}},[r]);var O=p.useMemo(function(){if(u){var B;return Qd((B=_==null?void 0:_.top)!==null&&B!==void 0?B:0)}return Qd(l==="rtl"?-(_==null?void 0:_.right):_==null?void 0:_.left)},[u,l,_]),x=p.useMemo(function(){if(u){var B;return Qd((B=w==null?void 0:w.top)!==null&&B!==void 0?B:0)}return Qd(l==="rtl"?-(w==null?void 0:w.right):w==null?void 0:w.left)},[u,l,w]),A=function(){return u?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},I=function(){return u?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},M=function(){E(null),T(null),s()};return!_||!w?null:p.createElement(ia,{visible:!0,motionName:o,motionAppear:!0,onAppearStart:A,onAppearActive:I,onVisibleChanged:M},function(B,P){var k=B.className,N=B.style,L=G(G({},N),{},{"--thumb-start-left":O,"--thumb-start-width":Qd(_==null?void 0:_.width),"--thumb-active-left":x,"--thumb-active-width":Qd(w==null?void 0:w.width),"--thumb-start-top":O,"--thumb-start-height":Qd(_==null?void 0:_.height),"--thumb-active-top":x,"--thumb-active-height":Qd(w==null?void 0:w.height)}),V={ref:aa(d,P),style:L,className:xe("".concat(t,"-thumb"),k)};return p.createElement("div",V)})}var Ict=["prefixCls","direction","vertical","options","disabled","defaultValue","value","name","onChange","className","motionName"];function Act(e){if(typeof e.title<"u")return e.title;if(Gt(e.label)!=="object"){var t;return(t=e.label)===null||t===void 0?void 0:t.toString()}}function Nct(e){return e.map(function(t){if(Gt(t)==="object"&&t!==null){var n=Act(t);return G(G({},t),{},{title:n})}return{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t}})}var Mct=function(t){var n=t.prefixCls,r=t.className,i=t.disabled,o=t.checked,a=t.label,s=t.title,l=t.value,c=t.name,u=t.onChange,d=t.onFocus,f=t.onBlur,h=t.onKeyDown,m=t.onKeyUp,g=t.onMouseDown,v=function(b){i||u(b,l)};return p.createElement("label",{className:xe(r,ee({},"".concat(n,"-item-disabled"),i)),onMouseDown:g},p.createElement("input",{name:c,className:"".concat(n,"-item-input"),type:"radio",disabled:i,checked:o,onChange:v,onFocus:d,onBlur:f,onKeyDown:h,onKeyUp:m}),p.createElement("div",{className:"".concat(n,"-item-label"),title:s,"aria-selected":o},a))},kct=p.forwardRef(function(e,t){var n,r,i=e.prefixCls,o=i===void 0?"rc-segmented":i,a=e.direction,s=e.vertical,l=e.options,c=l===void 0?[]:l,u=e.disabled,d=e.defaultValue,f=e.value,h=e.name,m=e.onChange,g=e.className,v=g===void 0?"":g,y=e.motionName,b=y===void 0?"thumb-motion":y,_=Dt(e,Ict),E=p.useRef(null),C=p.useMemo(function(){return aa(E,t)},[E,t]),S=p.useMemo(function(){return Nct(c)},[c]),w=Pn((n=S[0])===null||n===void 0?void 0:n.value,{value:f,defaultValue:d}),T=Ie(w,2),O=T[0],x=T[1],A=p.useState(!1),I=Ie(A,2),M=I[0],B=I[1],P=function(le,de){x(de),m==null||m(de)},k=ur(_,["children"]),N=p.useState(!1),L=Ie(N,2),V=L[0],$=L[1],W=p.useState(!1),j=Ie(W,2),U=j[0],Z=j[1],te=function(){Z(!0)},ae=function(){Z(!1)},K=function(){$(!1)},Q=function(le){le.key==="Tab"&&$(!0)},ie=function(le){var de=S.findIndex(function(ge){return ge.value===O}),ve=S.length,ne=(de+le+ve)%ve,ue=S[ne];ue&&(x(ue.value),m==null||m(ue.value))},he=function(le){switch(le.key){case"ArrowLeft":case"ArrowUp":ie(-1);break;case"ArrowRight":case"ArrowDown":ie(1);break}};return p.createElement("div",Ke({role:"radiogroup","aria-label":"segmented control",tabIndex:u?void 0:0},k,{className:xe(o,(r={},ee(r,"".concat(o,"-rtl"),a==="rtl"),ee(r,"".concat(o,"-disabled"),u),ee(r,"".concat(o,"-vertical"),s),r),v),ref:C}),p.createElement("div",{className:"".concat(o,"-group")},p.createElement(Rct,{vertical:s,prefixCls:o,value:O,containerRef:E,motionName:"".concat(o,"-").concat(b),direction:a,getValueIndex:function(le){return S.findIndex(function(de){return de.value===le})},onMotionStart:function(){B(!0)},onMotionEnd:function(){B(!1)}}),S.map(function(pe){var le;return p.createElement(Mct,Ke({},pe,{name:h,key:pe.value,prefixCls:o,className:xe(pe.className,"".concat(o,"-item"),(le={},ee(le,"".concat(o,"-item-selected"),pe.value===O&&!M),ee(le,"".concat(o,"-item-focused"),U&&V&&pe.value===O),le)),checked:pe.value===O,onChange:P,onFocus:te,onBlur:ae,onKeyDown:he,onKeyUp:Q,onMouseDown:K,disabled:!!u||!!pe.disabled}))})))}),Pct=kct;function $ie(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function Fie(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}const Dct=Object.assign({overflow:"hidden"},kl),Lct=e=>{const{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),r=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),i=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`}),Zs(e)),{[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-vertical`]:{[`${t}-group`]:{flexDirection:"column"},[`${t}-thumb`]:{width:"100%",height:0,padding:`0 ${Ae(e.paddingXXS)}`}},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},Fie(e)),{color:e.itemSelectedColor}),"&-focused":Object.assign({},Td(e)),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:Ae(n),padding:`0 ${Ae(e.segmentedPaddingHorizontal)}`},Dct),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},Fie(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${Ae(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, height ${e.motionDurationSlow} ${e.motionEaseInOut}`,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:r,lineHeight:Ae(r),padding:`0 ${Ae(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:i,lineHeight:Ae(i),padding:`0 ${Ae(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),$ie(`&-disabled ${t}-item`,e)),$ie(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},$ct=e=>{const{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:i,colorFill:o,lineWidthBold:a,colorBgLayout:s}=e;return{trackPadding:a,trackBg:s,itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:i,itemActiveBg:o,itemSelectedColor:n}},Fct=lr("Segmented",e=>{const{lineWidth:t,calc:n}=e,r=Kn(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()});return[Lct(r)]},$ct);var Bie=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=UP(),{prefixCls:r,className:i,rootClassName:o,block:a,options:s=[],size:l="middle",style:c,vertical:u,name:d=n}=e,f=Bie(e,["prefixCls","className","rootClassName","block","options","size","style","vertical","name"]),{getPrefixCls:h,direction:m,segmented:g}=p.useContext(Xt),v=h("segmented",r),[y,b,_]=Fct(v),E=Co(l),C=p.useMemo(()=>s.map(T=>{if(Bct(T)){const{icon:O,label:x}=T,A=Bie(T,["icon","label"]);return Object.assign(Object.assign({},A),{label:p.createElement(p.Fragment,null,p.createElement("span",{className:`${v}-item-icon`},O),x&&p.createElement("span",null,x))})}return T}),[s,v]),S=xe(i,o,g==null?void 0:g.className,{[`${v}-block`]:a,[`${v}-sm`]:E==="small",[`${v}-lg`]:E==="large",[`${v}-vertical`]:u},b,_),w=Object.assign(Object.assign({},g==null?void 0:g.style),c);return y(p.createElement(Pct,Object.assign({},f,{name:d,className:S,style:w,options:C,ref:t,prefixCls:v,direction:m,vertical:u})))}),LTe=jct,$Te=se.createContext({}),FTe=se.createContext({}),BTe=e=>{let{prefixCls:t,value:n,onChange:r}=e;const i=()=>{if(r&&n&&!n.cleared){const o=n.toHsb();o.a=0;const a=Ns(o);a.cleared=!0,r(a)}};return se.createElement("div",{className:`${t}-clear`,onClick:i})};var og;(function(e){e.hex="hex",e.rgb="rgb",e.hsb="hsb"})(og||(og={}));var Hct={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"},Uct=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Hct}))},zct=p.forwardRef(Uct);function nU(){return typeof BigInt=="function"}function jTe(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function fv(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",i=r.split("."),o=i[0]||"0",a=i[1]||"0";o==="0"&&a==="0"&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:o,decimalStr:a,fullStr:"".concat(s).concat(r)}}function TY(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function U1(e){var t=String(e);if(TY(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&xY(t)?t.length-t.indexOf(".")-1:0}function mD(e){var t=String(e);if(TY(e)){if(e>Number.MAX_SAFE_INTEGER)return String(nU()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":fv("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),Gct=function(){function e(t){if(Kr(this,e),ee(this,"origin",""),ee(this,"number",void 0),ee(this,"empty",void 0),jTe(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return Qr(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=Number(n);if(Number.isNaN(r))return this;var i=this.number+r;if(i>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(iNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(i0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":mD(this.number):this.origin}}]),e}();function Gu(e){return nU()?new Vct(e):new Gct(e)}function UA(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var i=fv(e),o=i.negativeStr,a=i.integerStr,s=i.decimalStr,l="".concat(t).concat(s),c="".concat(o).concat(a);if(n>=0){var u=Number(s[n]);if(u>=5&&!r){var d=Gu(e).add("".concat(o,"0.").concat("0".repeat(n)).concat(10-u));return UA(d.toString(),t,n,r)}return n===0?c:"".concat(c).concat(t).concat(s.padEnd(n,"0").slice(0,n))}return l===".0"?c:"".concat(c).concat(l)}function Wct(e){return!!(e.addonBefore||e.addonAfter)}function qct(e){return!!(e.prefix||e.suffix||e.allowClear)}function jie(e,t,n){var r=t.cloneNode(!0),i=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},i}function ZM(e,t,n,r){if(n){var i=t;if(t.type==="click"){i=jie(t,e,""),n(i);return}if(e.type!=="file"&&r!==void 0){i=jie(t,e,r),n(i);return}n(i)}}function OY(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var i=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(i,i);break;default:e.setSelectionRange(0,i)}}}}var RY=se.forwardRef(function(e,t){var n,r,i,o=e.inputElement,a=e.children,s=e.prefixCls,l=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,f=e.className,h=e.style,m=e.disabled,g=e.readOnly,v=e.focused,y=e.triggerFocus,b=e.allowClear,_=e.value,E=e.handleReset,C=e.hidden,S=e.classes,w=e.classNames,T=e.dataAttrs,O=e.styles,x=e.components,A=e.onClear,I=a??o,M=(x==null?void 0:x.affixWrapper)||"span",B=(x==null?void 0:x.groupWrapper)||"span",P=(x==null?void 0:x.wrapper)||"span",k=(x==null?void 0:x.groupAddon)||"span",N=p.useRef(null),L=function(ne){var ue;(ue=N.current)!==null&&ue!==void 0&&ue.contains(ne.target)&&(y==null||y())},V=qct(e),$=p.cloneElement(I,{value:_,className:xe((n=I.props)===null||n===void 0?void 0:n.className,!V&&(w==null?void 0:w.variant))||null}),W=p.useRef(null);if(se.useImperativeHandle(t,function(){return{nativeElement:W.current||N.current}}),V){var j=null;if(b){var U=!m&&!g&&_,Z="".concat(s,"-clear-icon"),te=Gt(b)==="object"&&b!==null&&b!==void 0&&b.clearIcon?b.clearIcon:"✖";j=se.createElement("button",{type:"button",onClick:function(ne){E==null||E(ne),A==null||A()},onMouseDown:function(ne){return ne.preventDefault()},className:xe(Z,ee(ee({},"".concat(Z,"-hidden"),!U),"".concat(Z,"-has-suffix"),!!c))},te)}var ae="".concat(s,"-affix-wrapper"),K=xe(ae,ee(ee(ee(ee(ee({},"".concat(s,"-disabled"),m),"".concat(ae,"-disabled"),m),"".concat(ae,"-focused"),v),"".concat(ae,"-readonly"),g),"".concat(ae,"-input-with-clear-btn"),c&&b&&_),S==null?void 0:S.affixWrapper,w==null?void 0:w.affixWrapper,w==null?void 0:w.variant),Q=(c||b)&&se.createElement("span",{className:xe("".concat(s,"-suffix"),w==null?void 0:w.suffix),style:O==null?void 0:O.suffix},j,c);$=se.createElement(M,Ke({className:K,style:O==null?void 0:O.affixWrapper,onClick:L},T==null?void 0:T.affixWrapper,{ref:N}),l&&se.createElement("span",{className:xe("".concat(s,"-prefix"),w==null?void 0:w.prefix),style:O==null?void 0:O.prefix},l),$,Q)}if(Wct(e)){var ie="".concat(s,"-group"),he="".concat(ie,"-addon"),pe="".concat(ie,"-wrapper"),le=xe("".concat(s,"-wrapper"),ie,S==null?void 0:S.wrapper,w==null?void 0:w.wrapper),de=xe(pe,ee({},"".concat(pe,"-disabled"),m),S==null?void 0:S.group,w==null?void 0:w.groupWrapper);$=se.createElement(B,{className:de,ref:W},se.createElement(P,{className:le},u&&se.createElement(k,{className:he},u),$,d&&se.createElement(k,{className:he},d)))}return se.cloneElement($,{className:xe((r=$.props)===null||r===void 0?void 0:r.className,f)||null,style:G(G({},(i=$.props)===null||i===void 0?void 0:i.style),h),hidden:C})}),Yct=["show"];function HTe(e,t){return p.useMemo(function(){var n={};t&&(n.show=Gt(t)==="object"&&t.formatter?t.formatter:!!t),n=G(G({},n),e);var r=n,i=r.show,o=Dt(r,Yct);return G(G({},o),{},{show:!!i,showFormatter:typeof i=="function"?i:void 0,strategy:o.strategy||function(a){return a.length}})},[e,t])}var Kct=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],Qct=p.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,i=e.onFocus,o=e.onBlur,a=e.onPressEnter,s=e.onKeyDown,l=e.onKeyUp,c=e.prefixCls,u=c===void 0?"rc-input":c,d=e.disabled,f=e.htmlSize,h=e.className,m=e.maxLength,g=e.suffix,v=e.showCount,y=e.count,b=e.type,_=b===void 0?"text":b,E=e.classes,C=e.classNames,S=e.styles,w=e.onCompositionStart,T=e.onCompositionEnd,O=Dt(e,Kct),x=p.useState(!1),A=Ie(x,2),I=A[0],M=A[1],B=p.useRef(!1),P=p.useRef(!1),k=p.useRef(null),N=p.useRef(null),L=function(Re){k.current&&OY(k.current,Re)},V=Pn(e.defaultValue,{value:e.value}),$=Ie(V,2),W=$[0],j=$[1],U=W==null?"":String(W),Z=p.useState(null),te=Ie(Z,2),ae=te[0],K=te[1],Q=HTe(y,v),ie=Q.max||m,he=Q.strategy(U),pe=!!ie&&he>ie;p.useImperativeHandle(t,function(){var _e;return{focus:L,blur:function(){var De;(De=k.current)===null||De===void 0||De.blur()},setSelectionRange:function(De,z,D){var q;(q=k.current)===null||q===void 0||q.setSelectionRange(De,z,D)},select:function(){var De;(De=k.current)===null||De===void 0||De.select()},input:k.current,nativeElement:((_e=N.current)===null||_e===void 0?void 0:_e.nativeElement)||k.current}}),p.useEffect(function(){P.current&&(P.current=!1),M(function(_e){return _e&&d?!1:_e})},[d]);var le=function(Re,De,z){var D=De;if(!B.current&&Q.exceedFormatter&&Q.max&&Q.strategy(De)>Q.max){if(D=Q.exceedFormatter(De,{max:Q.max}),De!==D){var q,oe;K([((q=k.current)===null||q===void 0?void 0:q.selectionStart)||0,((oe=k.current)===null||oe===void 0?void 0:oe.selectionEnd)||0])}}else if(z.source==="compositionEnd")return;j(D),k.current&&ZM(k.current,Re,r,D)};p.useEffect(function(){if(ae){var _e;(_e=k.current)===null||_e===void 0||_e.setSelectionRange.apply(_e,nt(ae))}},[ae]);var de=function(Re){le(Re,Re.target.value,{source:"change"})},ve=function(Re){B.current=!1,le(Re,Re.currentTarget.value,{source:"compositionEnd"}),T==null||T(Re)},ne=function(Re){a&&Re.key==="Enter"&&!P.current&&(P.current=!0,a(Re)),s==null||s(Re)},ue=function(Re){Re.key==="Enter"&&(P.current=!1),l==null||l(Re)},ge=function(Re){M(!0),i==null||i(Re)},Ce=function(Re){P.current&&(P.current=!1),M(!1),o==null||o(Re)},Te=function(Re){j(""),L(),k.current&&ZM(k.current,Re,r)},Se=pe&&"".concat(u,"-out-of-range"),me=function(){var Re=ur(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return se.createElement("input",Ke({autoComplete:n},Re,{onChange:de,onFocus:ge,onBlur:Ce,onKeyDown:ne,onKeyUp:ue,className:xe(u,ee({},"".concat(u,"-disabled"),d),C==null?void 0:C.input),style:S==null?void 0:S.input,ref:k,size:f,type:_,onCompositionStart:function(z){B.current=!0,w==null||w(z)},onCompositionEnd:ve}))},be=function(){var Re=Number(ie)>0;if(g||Q.show){var De=Q.showFormatter?Q.showFormatter({value:U,count:he,maxLength:ie}):"".concat(he).concat(Re?" / ".concat(ie):"");return se.createElement(se.Fragment,null,Q.show&&se.createElement("span",{className:xe("".concat(u,"-show-count-suffix"),ee({},"".concat(u,"-show-count-has-suffix"),!!g),C==null?void 0:C.count),style:G({},S==null?void 0:S.count)},De),g)}return null};return se.createElement(RY,Ke({},O,{prefixCls:u,className:xe(h,Se),handleReset:Te,value:U,focused:I,triggerFocus:L,suffix:be(),disabled:d,classes:E,classNames:C,styles:S}),me())});function Xct(e,t){return typeof Proxy<"u"&&e?new Proxy(e,{get:function(r,i){if(t[i])return t[i];var o=r[i];return typeof o=="function"?o.bind(r):o}}):e}function Zct(e,t){var n=p.useRef(null);function r(){try{var o=e.selectionStart,a=e.selectionEnd,s=e.value,l=s.substring(0,o),c=s.substring(a);n.current={start:o,end:a,value:s,beforeTxt:l,afterTxt:c}}catch{}}function i(){if(e&&n.current&&t)try{var o=e.value,a=n.current,s=a.beforeTxt,l=a.afterTxt,c=a.start,u=o.length;if(o.startsWith(s))u=s.length;else if(o.endsWith(l))u=o.length-n.current.afterTxt.length;else{var d=s[c-1],f=o.indexOf(d,c-1);f!==-1&&(u=f+1)}e.setSelectionRange(u,u)}catch(h){Yr(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(h.message))}}return[r,i]}var Jct=function(){var t=p.useState(!1),n=Ie(t,2),r=n[0],i=n[1];return ar(function(){i(WP())},[]),r},eut=200,tut=600;function nut(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,i=e.upDisabled,o=e.downDisabled,a=e.onStep,s=p.useRef(),l=p.useRef([]),c=p.useRef();c.current=a;var u=function(){clearTimeout(s.current)},d=function(_,E){_.preventDefault(),u(),c.current(E);function C(){c.current(E),s.current=setTimeout(C,eut)}s.current=setTimeout(C,tut)};p.useEffect(function(){return function(){u(),l.current.forEach(function(b){return nr.cancel(b)})}},[]);var f=Jct();if(f)return null;var h="".concat(t,"-handler"),m=xe(h,"".concat(h,"-up"),ee({},"".concat(h,"-up-disabled"),i)),g=xe(h,"".concat(h,"-down"),ee({},"".concat(h,"-down-disabled"),o)),v=function(){return l.current.push(nr(u))},y={unselectable:"on",role:"button",onMouseUp:v,onMouseLeave:v};return p.createElement("div",{className:"".concat(h,"-wrap")},p.createElement("span",Ke({},y,{onMouseDown:function(_){d(_,!0)},"aria-label":"Increase Value","aria-disabled":i,className:m}),n||p.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),p.createElement("span",Ke({},y,{onMouseDown:function(_){d(_,!1)},"aria-label":"Decrease Value","aria-disabled":o,className:g}),r||p.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function Hie(e){var t=typeof e=="number"?mD(e):fv(e).fullStr,n=t.includes(".");return n?fv(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const rut=function(){var e=p.useRef(0),t=function(){nr.cancel(e.current)};return p.useEffect(function(){return t},[]),function(n){t(),e.current=nr(function(){n()})}};var iut=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],out=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Uie=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},zie=function(t){var n=Gu(t);return n.isInvalidate()?null:n},aut=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.style,o=e.min,a=e.max,s=e.step,l=s===void 0?1:s,c=e.defaultValue,u=e.value,d=e.disabled,f=e.readOnly,h=e.upHandler,m=e.downHandler,g=e.keyboard,v=e.changeOnWheel,y=v===void 0?!1:v,b=e.controls,_=b===void 0?!0:b;e.classNames;var E=e.stringMode,C=e.parser,S=e.formatter,w=e.precision,T=e.decimalSeparator,O=e.onChange,x=e.onInput,A=e.onPressEnter,I=e.onStep,M=e.changeOnBlur,B=M===void 0?!0:M,P=e.domRef,k=Dt(e,iut),N="".concat(n,"-input"),L=p.useRef(null),V=p.useState(!1),$=Ie(V,2),W=$[0],j=$[1],U=p.useRef(!1),Z=p.useRef(!1),te=p.useRef(!1),ae=p.useState(function(){return Gu(u??c)}),K=Ie(ae,2),Q=K[0],ie=K[1];function he(at){u===void 0&&ie(at)}var pe=p.useCallback(function(at,pt){if(!pt)return w>=0?w:Math.max(U1(at),U1(l))},[w,l]),le=p.useCallback(function(at){var pt=String(at);if(C)return C(pt);var Ct=pt;return T&&(Ct=Ct.replace(T,".")),Ct.replace(/[^\w.-]+/g,"")},[C,T]),de=p.useRef(""),ve=p.useCallback(function(at,pt){if(S)return S(at,{userTyping:pt,input:String(de.current)});var Ct=typeof at=="number"?mD(at):at;if(!pt){var bt=pe(Ct,pt);if(xY(Ct)&&(T||bt>=0)){var Vt=T||".";Ct=UA(Ct,Vt,bt)}}return Ct},[S,pe,T]),ne=p.useState(function(){var at=c??u;return Q.isInvalidate()&&["string","number"].includes(Gt(at))?Number.isNaN(at)?"":at:ve(Q.toString(),!1)}),ue=Ie(ne,2),ge=ue[0],Ce=ue[1];de.current=ge;function Te(at,pt){Ce(ve(at.isInvalidate()?at.toString(!1):at.toString(!pt),pt))}var Se=p.useMemo(function(){return zie(a)},[a,w]),me=p.useMemo(function(){return zie(o)},[o,w]),be=p.useMemo(function(){return!Se||!Q||Q.isInvalidate()?!1:Se.lessEquals(Q)},[Se,Q]),_e=p.useMemo(function(){return!me||!Q||Q.isInvalidate()?!1:Q.lessEquals(me)},[me,Q]),Re=Zct(L.current,W),De=Ie(Re,2),z=De[0],D=De[1],q=function(pt){return Se&&!pt.lessEquals(Se)?Se:me&&!me.lessEquals(pt)?me:null},oe=function(pt){return!q(pt)},ye=function(pt,Ct){var bt=pt,Vt=oe(bt)||bt.isEmpty();if(!bt.isEmpty()&&!Ct&&(bt=q(bt)||bt,Vt=!0),!f&&!d&&Vt){var Tt=bt.toString(),Ot=pe(Tt,Ct);return Ot>=0&&(bt=Gu(UA(Tt,".",Ot)),oe(bt)||(bt=Gu(UA(Tt,".",Ot,!0)))),bt.equals(Q)||(he(bt),O==null||O(bt.isEmpty()?null:Uie(E,bt)),u===void 0&&Te(bt,Ct)),bt}return Q},ce=rut(),Be=function at(pt){if(z(),de.current=pt,Ce(pt),!Z.current){var Ct=le(pt),bt=Gu(Ct);bt.isNaN()||ye(bt,!0)}x==null||x(pt),ce(function(){var Vt=pt;C||(Vt=pt.replace(/。/g,".")),Vt!==pt&&at(Vt)})},Ve=function(){Z.current=!0},re=function(){Z.current=!1,Be(L.current.value)},Me=function(pt){Be(pt.target.value)},je=function(pt){var Ct;if(!(pt&&be||!pt&&_e)){U.current=!1;var bt=Gu(te.current?Hie(l):l);pt||(bt=bt.negate());var Vt=(Q||Gu(0)).add(bt.toString()),Tt=ye(Vt,!1);I==null||I(Uie(E,Tt),{offset:te.current?Hie(l):l,type:pt?"up":"down"}),(Ct=L.current)===null||Ct===void 0||Ct.focus()}},ke=function(pt){var Ct=Gu(le(ge)),bt;Ct.isNaN()?bt=ye(Q,pt):bt=ye(Ct,pt),u!==void 0?Te(Q,!1):bt.isNaN()||Te(bt,!1)},Ge=function(){U.current=!0},Ue=function(pt){var Ct=pt.key,bt=pt.shiftKey;U.current=!0,te.current=bt,Ct==="Enter"&&(Z.current||(U.current=!1),ke(!1),A==null||A(pt)),g!==!1&&!Z.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ct)&&(je(Ct==="Up"||Ct==="ArrowUp"),pt.preventDefault())},qe=function(){U.current=!1,te.current=!1};p.useEffect(function(){if(y&&W){var at=function(bt){je(bt.deltaY<0),bt.preventDefault()},pt=L.current;if(pt)return pt.addEventListener("wheel",at,{passive:!1}),function(){return pt.removeEventListener("wheel",at)}}});var At=function(){B&&ke(!1),j(!1),U.current=!1};return dv(function(){Q.isInvalidate()||Te(Q,!1)},[w,S]),dv(function(){var at=Gu(u);ie(at);var pt=Gu(le(ge));(!at.equals(pt)||!U.current||S)&&Te(at,U.current)},[u]),dv(function(){S&&D()},[ge]),p.createElement("div",{ref:P,className:xe(n,r,ee(ee(ee(ee(ee({},"".concat(n,"-focused"),W),"".concat(n,"-disabled"),d),"".concat(n,"-readonly"),f),"".concat(n,"-not-a-number"),Q.isNaN()),"".concat(n,"-out-of-range"),!Q.isInvalidate()&&!oe(Q))),style:i,onFocus:function(){j(!0)},onBlur:At,onKeyDown:Ue,onKeyUp:qe,onCompositionStart:Ve,onCompositionEnd:re,onBeforeInput:Ge},_&&p.createElement(nut,{prefixCls:n,upNode:h,downNode:m,upDisabled:be,downDisabled:_e,onStep:je}),p.createElement("div",{className:"".concat(N,"-wrap")},p.createElement("input",Ke({autoComplete:"off",role:"spinbutton","aria-valuemin":o,"aria-valuemax":a,"aria-valuenow":Q.isInvalidate()?null:Q.toString(),step:l},k,{ref:aa(L,t),className:N,value:ge,onChange:Me,disabled:d,readOnly:f}))))}),sut=p.forwardRef(function(e,t){var n=e.disabled,r=e.style,i=e.prefixCls,o=i===void 0?"rc-input-number":i,a=e.value,s=e.prefix,l=e.suffix,c=e.addonBefore,u=e.addonAfter,d=e.className,f=e.classNames,h=Dt(e,out),m=p.useRef(null),g=p.useRef(null),v=p.useRef(null),y=function(_){v.current&&OY(v.current,_)};return p.useImperativeHandle(t,function(){return Xct(v.current,{focus:y,nativeElement:m.current.nativeElement||g.current})}),p.createElement(RY,{className:d,triggerFocus:y,prefixCls:o,value:a,disabled:n,style:r,prefix:s,suffix:l,addonAfter:u,addonBefore:c,classNames:f,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:m},p.createElement(aut,Ke({prefixCls:o,disabled:n,ref:v,domRef:g,className:f==null?void 0:f.input},h)))});const lut=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto",r=e.controlHeightSM-e.lineWidth*2;return Object.assign(Object.assign({},b2(e)),{controlWidth:90,handleWidth:r,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new rr(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0,handleVisibleWidth:n===!0?r:0})},Vie=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:i}=e;const o=t==="lg"?i:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:o,borderEndEndRadius:o},[`${n}-handler-up`]:{borderStartEndRadius:o},[`${n}-handler-down`]:{borderEndEndRadius:o}}}},cut=e=>{const{componentCls:t,lineWidth:n,lineType:r,borderRadius:i,inputFontSizeSM:o,inputFontSizeLG:a,controlHeightLG:s,controlHeightSM:l,colorError:c,paddingInlineSM:u,paddingBlockSM:d,paddingBlockLG:f,paddingInlineLG:h,colorTextDescription:m,motionDurationMid:g,handleHoverColor:v,handleOpacity:y,paddingInline:b,paddingBlock:_,handleBg:E,handleActiveBg:C,colorTextDisabled:S,borderRadiusSM:w,borderRadiusLG:T,controlWidth:O,handleBorderColor:x,filledHandleBg:A,lineHeightLG:I,calc:M}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),y2(e)),{display:"inline-block",width:O,margin:0,padding:0,borderRadius:i}),vY(e,{[`${t}-handler-wrap`]:{background:E,[`${t}-handler-down`]:{borderBlockStart:`${Ae(n)} ${r} ${x}`}}})),yY(e,{[`${t}-handler-wrap`]:{background:A,[`${t}-handler-down`]:{borderBlockStart:`${Ae(n)} ${r} ${x}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:E}}})),bY(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a,lineHeight:I,borderRadius:T,[`input${t}-input`]:{height:M(s).sub(M(n).mul(2)).equal(),padding:`${Ae(f)} ${Ae(h)}`}},"&-sm":{padding:0,fontSize:o,borderRadius:w,[`input${t}-input`]:{height:M(l).sub(M(n).mul(2)).equal(),padding:`${Ae(d)} ${Ae(u)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},gr(e)),iTe(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:T,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:w}}},eTe(e)),nTe(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{width:"100%",padding:`${Ae(_)} ${Ae(b)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:i,outline:0,transition:`all ${g} linear`,appearance:"textfield",fontSize:"inherit"}),_Y(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:y,height:"100%",borderStartStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${g}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` +`;return[hD(`${t}-checkbox`,e),{[n]:{"&-checkbox":{top:0,marginInlineEnd:e.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${n}-menu-empty`]:{[`${n}-menu`]:{width:"100%",height:"auto",[r]:{color:e.colorTextDisabled}}}},"&-menu":{flexGrow:1,flexShrink:0,minWidth:e.controlItemWidth,height:e.dropdownHeight,margin:0,padding:e.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},"&-item":Object.assign(Object.assign({},kl),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:e.optionPadding,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${e.motionDurationMid}`,borderRadius:e.borderRadiusSM,"&:hover":{background:e.controlItemBgHover},"&-disabled":{color:e.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[i]:{color:e.colorTextDisabled}},[`&-active:not(${r}-disabled)`]:{"&, &:hover":{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg}},"&-content":{flex:"auto"},[i]:{marginInlineStart:e.paddingXXS,color:e.colorTextDescription,fontSize:e.fontSizeIcon},"&-keyword":{color:e.colorHighlight}})}}}]},act=e=>{const{componentCls:t,antCls:n}=e;return[{[t]:{width:e.controlWidth}},{[`${t}-dropdown`]:[{[`&${n}-select-dropdown`]:{padding:0}},ATe(e)]},{[`${t}-dropdown-rtl`]:{direction:"rtl"}},E0(e)]},NTe=e=>{const t=Math.round((e.controlHeight-e.fontSize*e.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:e.controlItemBgActive,optionSelectedFontWeight:e.fontWeightStrong,optionPadding:`${t}px ${e.paddingSM}px`,menuPadding:e.paddingXXS,optionSelectedColor:e.colorText}},MTe=lr("Cascader",e=>[act(e)],NTe),sct=e=>{const{componentCls:t}=e;return{[`${t}-panel`]:[ATe(e),{display:"inline-flex",border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,borderRadius:e.borderRadiusLG,overflowX:"auto",maxWidth:"100%",[`${t}-menus`]:{alignItems:"stretch"},[`${t}-menu`]:{height:"auto"},"&-empty":{padding:e.paddingXXS}}]}},lct=CSe(["Cascader","Panel"],e=>sct(e),NTe);function cct(e){const{prefixCls:t,className:n,multiple:r,rootClassName:i,notFoundContent:o,direction:a,expandIcon:s,disabled:l}=e,c=p.useContext(Wo),u=l??c,[d,f,h,m]=xTe(t,a),g=ui(f),[v,y,b]=MTe(f,g);lct(f);const _=h==="rtl",[E,C]=RTe(d,_,s),S=o||(m==null?void 0:m("Cascader"))||p.createElement(yS,{componentName:"Cascader"}),w=OTe(f,r);return v(p.createElement(TTe,Object.assign({},e,{checkable:w,prefixCls:f,className:xe(n,y,i,b,g),notFoundContent:S,direction:h,expandIcon:E,loadingIcon:C,disabled:u})))}var uct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);il===0?[s]:[].concat(nt(a),[t,s]),[]),i=[];let o=0;return r.forEach((a,s)=>{const l=o+a.length;let c=e.slice(o,l);o=l,s%2===1&&(c=p.createElement("span",{className:`${n}-menu-item-keyword`,key:`separator-${s}`},c)),i.push(c)}),i}const hct=(e,t,n,r)=>{const i=[],o=e.toLowerCase();return t.forEach((a,s)=>{s!==0&&i.push(" / ");let l=a[r.label];const c=typeof l;(c==="string"||c==="number")&&(l=pct(String(l),o,n)),i.push(l)}),i},xS=p.forwardRef((e,t)=>{var n;const{prefixCls:r,size:i,disabled:o,className:a,rootClassName:s,multiple:l,bordered:c=!0,transitionName:u,choiceTransitionName:d="",popupClassName:f,dropdownClassName:h,expandIcon:m,placement:g,showSearch:v,allowClear:y=!0,notFoundContent:b,direction:_,getPopupContainer:E,status:C,showArrow:S,builtinPlacements:w,style:T,variant:O}=e,x=uct(e,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style","variant"]),A=ur(x,["suffixIcon"]),{getPopupContainer:I,getPrefixCls:M,popupOverflow:B,cascader:P}=p.useContext(Xt),{status:k,hasFeedback:N,isFormItemInput:L,feedbackIcon:V}=p.useContext(oa),$=xh(k,C),[W,j,U,Z]=xTe(r,_),te=U==="rtl",ae=M(),K=ui(W),[Q,ie,he]=Kq(W,K),pe=ui(j),[le]=MTe(j,pe),{compactSize:de,compactItemClassnames:ve}=Fd(W,_),[ne,ue]=Oh("cascader",O,c),ge=b||(Z==null?void 0:Z("Cascader"))||p.createElement(yS,{componentName:"Cascader"}),Ce=xe(f||h,`${j}-dropdown`,{[`${j}-dropdown-rtl`]:U==="rtl"},s,K,pe,ie,he),Te=p.useMemo(()=>{if(!v)return v;let re={render:hct};return typeof v=="object"&&(re=Object.assign(Object.assign({},re),v)),re},[v]),Se=Co(re=>{var Me;return(Me=i??de)!==null&&Me!==void 0?Me:re}),me=p.useContext(Wo),be=o??me,[_e,Re]=RTe(W,te,m),De=OTe(j,l),z=Qq(e.suffixIcon,S),{suffixIcon:D,removeIcon:q,clearIcon:oe}=Q5(Object.assign(Object.assign({},e),{hasFeedback:N,feedbackIcon:V,showSuffixIcon:z,multiple:l,prefixCls:W,componentName:"Cascader"})),ye=p.useMemo(()=>g!==void 0?g:te?"bottomRight":"bottomLeft",[g,te]),ce=y===!0?{clearIcon:oe}:y,[Be]=Ru("SelectLike",(n=A.dropdownStyle)===null||n===void 0?void 0:n.zIndex),Ve=p.createElement(C2,Object.assign({prefixCls:W,className:xe(!r&&j,{[`${W}-lg`]:Se==="large",[`${W}-sm`]:Se==="small",[`${W}-rtl`]:te,[`${W}-${ne}`]:ue,[`${W}-in-form-item`]:L},Id(W,$,N),ve,P==null?void 0:P.className,a,s,K,pe,ie,he),disabled:be,style:Object.assign(Object.assign({},P==null?void 0:P.style),T)},A,{builtinPlacements:Yq(w,B),direction:U,placement:ye,notFoundContent:ge,allowClear:ce,showSearch:Te,expandIcon:_e,suffixIcon:D,removeIcon:q,loadingIcon:Re,checkable:De,dropdownClassName:Ce,dropdownPrefixCls:r||j,dropdownStyle:Object.assign(Object.assign({},A.dropdownStyle),{zIndex:Be}),choiceTransitionName:Va(ae,"",d),transitionName:Va(ae,"slide-up",u),getPopupContainer:E||I,ref:t}));return le(Q(Ve))}),mct=Ng(xS,"dropdownAlign",e=>ur(e,["visible"]));xS.SHOW_PARENT=fct;xS.SHOW_CHILD=dct;xS.Panel=cct;xS._InternalPanelDoNotUseOrYouWillBeFired=mct;const kTe=se.createContext(null);var gct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,className:i,rootClassName:o,children:a,indeterminate:s=!1,style:l,onMouseEnter:c,onMouseLeave:u,skipGroup:d=!1,disabled:f}=e,h=gct(e,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:m,direction:g,checkbox:v}=p.useContext(Xt),y=p.useContext(kTe),{isFormItemInput:b}=p.useContext(oa),_=p.useContext(Wo),E=(n=(y==null?void 0:y.disabled)||f)!==null&&n!==void 0?n:_,C=p.useRef(h.value),S=p.useRef(null),w=aa(t,S);p.useEffect(()=>{y==null||y.registerValue(h.value)},[]),p.useEffect(()=>{if(!d)return h.value!==C.current&&(y==null||y.cancelValue(C.current),y==null||y.registerValue(h.value),C.current=h.value),()=>y==null?void 0:y.cancelValue(h.value)},[h.value]),p.useEffect(()=>{var L;!((L=S.current)===null||L===void 0)&&L.input&&(S.current.input.indeterminate=s)},[s]);const T=m("checkbox",r),O=ui(T),[x,A,I]=ITe(T,O),M=Object.assign({},h);y&&!d&&(M.onChange=function(){h.onChange&&h.onChange.apply(h,arguments),y.toggleOption&&y.toggleOption({label:a,value:h.value})},M.name=y.name,M.checked=y.value.includes(h.value));const B=xe(`${T}-wrapper`,{[`${T}-rtl`]:g==="rtl",[`${T}-wrapper-checked`]:M.checked,[`${T}-wrapper-disabled`]:E,[`${T}-wrapper-in-form-item`]:b},v==null?void 0:v.className,i,o,I,O,A),P=xe({[`${T}-indeterminate`]:s},A5,A),[k,N]=Zwe(M.onClick);return x(p.createElement(o2,{component:"Checkbox",disabled:E},p.createElement("label",{className:B,style:Object.assign(Object.assign({},v==null?void 0:v.style),l),onMouseEnter:c,onMouseLeave:u,onClick:k},p.createElement(Xwe,Object.assign({},M,{onClick:N,prefixCls:T,className:P,disabled:E,ref:w})),a!==void 0&&p.createElement("span",null,a))))},PTe=p.forwardRef(vct);var bct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{defaultValue:n,children:r,options:i=[],prefixCls:o,className:a,rootClassName:s,style:l,onChange:c}=e,u=bct(e,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:d,direction:f}=p.useContext(Xt),[h,m]=p.useState(u.value||n||[]),[g,v]=p.useState([]);p.useEffect(()=>{"value"in u&&m(u.value||[])},[u.value]);const y=p.useMemo(()=>i.map(P=>typeof P=="string"||typeof P=="number"?{label:P,value:P}:P),[i]),b=P=>{v(k=>k.filter(N=>N!==P))},_=P=>{v(k=>[].concat(nt(k),[P]))},E=P=>{const k=h.indexOf(P.value),N=nt(h);k===-1?N.push(P.value):N.splice(k,1),"value"in u||m(N),c==null||c(N.filter(L=>g.includes(L)).sort((L,V)=>{const $=y.findIndex(j=>j.value===L),W=y.findIndex(j=>j.value===V);return $-W}))},C=d("checkbox",o),S=`${C}-group`,w=ui(C),[T,O,x]=ITe(C,w),A=ur(u,["value","disabled"]),I=i.length?y.map(P=>p.createElement(PTe,{prefixCls:C,key:P.value.toString(),disabled:"disabled"in P?P.disabled:u.disabled,value:P.value,checked:h.includes(P.value),onChange:P.onChange,className:`${S}-item`,style:P.style,title:P.title,id:P.id,required:P.required},P.label)):r,M={toggleOption:E,value:h,disabled:u.disabled,name:u.name,registerValue:_,cancelValue:b},B=xe(S,{[`${S}-rtl`]:f==="rtl"},a,s,x,w,O);return T(p.createElement("div",Object.assign({className:B,style:l},A,{ref:t}),p.createElement(kTe.Provider,{value:M},I)))}),fh=PTe;fh.Group=yct;fh.__ANT_CHECKBOX=!0;const DTe=p.createContext({});var _ct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:n,direction:r}=p.useContext(Xt),{gutter:i,wrap:o}=p.useContext(DTe),{prefixCls:a,span:s,order:l,offset:c,push:u,pull:d,className:f,children:h,flex:m,style:g}=e,v=_ct(e,["prefixCls","span","order","offset","push","pull","className","children","flex","style"]),y=n("col",a),[b,_,E]=Fet(y),C={};let S={};Sct.forEach(O=>{let x={};const A=e[O];typeof A=="number"?x.span=A:typeof A=="object"&&(x=A||{}),delete v[O],S=Object.assign(Object.assign({},S),{[`${y}-${O}-${x.span}`]:x.span!==void 0,[`${y}-${O}-order-${x.order}`]:x.order||x.order===0,[`${y}-${O}-offset-${x.offset}`]:x.offset||x.offset===0,[`${y}-${O}-push-${x.push}`]:x.push||x.push===0,[`${y}-${O}-pull-${x.pull}`]:x.pull||x.pull===0,[`${y}-rtl`]:r==="rtl"}),x.flex&&(S[`${y}-${O}-flex`]=!0,C[`--${y}-${O}-flex`]=Pie(x.flex))});const w=xe(y,{[`${y}-${s}`]:s!==void 0,[`${y}-order-${l}`]:l,[`${y}-offset-${c}`]:c,[`${y}-push-${u}`]:u,[`${y}-pull-${d}`]:d},f,S,_,E),T={};if(i&&i[0]>0){const O=i[0]/2;T.paddingLeft=O,T.paddingRight=O}return m&&(T.flex=Pie(m),o===!1&&!T.minWidth&&(T.minWidth=0)),b(p.createElement("div",Object.assign({},v,{style:Object.assign(Object.assign(Object.assign({},T),g),C),className:w,ref:t}),h))});var Ect=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(typeof e=="string"&&r(e),typeof e=="object")for(let o=0;o{i()},[JSON.stringify(e),t]),n}const w2=p.forwardRef((e,t)=>{const{prefixCls:n,justify:r,align:i,className:o,style:a,children:s,gutter:l=0,wrap:c}=e,u=Ect(e,["prefixCls","justify","align","className","style","children","gutter","wrap"]),{getPrefixCls:d,direction:f}=p.useContext(Xt),[h,m]=p.useState({xs:!0,sm:!0,md:!0,lg:!0,xl:!0,xxl:!0}),[g,v]=p.useState({xs:!1,sm:!1,md:!1,lg:!1,xl:!1,xxl:!1}),y=Die(i,g),b=Die(r,g),_=p.useRef(l),E=ECe();p.useEffect(()=>{const N=E.subscribe(L=>{v(L);const V=_.current||0;(!Array.isArray(V)&&typeof V=="object"||Array.isArray(V)&&(typeof V[0]=="object"||typeof V[1]=="object"))&&m(L)});return()=>E.unsubscribe(N)},[]);const C=()=>{const N=[void 0,void 0];return(Array.isArray(l)?l:[l,void 0]).forEach((V,$)=>{if(typeof V=="object")for(let W=0;W0?x[0]/-2:void 0;M&&(I.marginLeft=M,I.marginRight=M);const[B,P]=x;I.rowGap=P;const k=p.useMemo(()=>({gutter:[B,P],wrap:c}),[B,P,c]);return w(p.createElement(DTe.Provider,{value:k},p.createElement("div",Object.assign({},u,{className:A,style:Object.assign(Object.assign({},I),a),ref:t}),s)))}),Cct=e=>{const{componentCls:t,sizePaddingEdgeHorizontal:n,colorSplit:r,lineWidth:i,textPaddingInline:o,orientationMargin:a,verticalMarginInline:s}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{borderBlockStart:`${Ae(i)} solid ${r}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:s,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${Ae(i)} solid ${r}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${Ae(e.dividerHorizontalGutterMargin)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${Ae(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${r}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${Ae(i)} solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${t}-with-text-left`]:{"&::before":{width:`calc(${a} * 100%)`},"&::after":{width:`calc(100% - ${a} * 100%)`}},[`&-horizontal${t}-with-text-right`]:{"&::before":{width:`calc(100% - ${a} * 100%)`},"&::after":{width:`calc(${a} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:o},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${Ae(i)} 0 0`},[`&-horizontal${t}-with-text${t}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${Ae(i)} 0 0`},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:i,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-left${t}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:n}},[`&-horizontal${t}-with-text-right${t}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${t}-inner-text`]:{paddingInlineEnd:n}}})}},wct=e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),Tct=lr("Divider",e=>{const t=Kn(e,{dividerHorizontalWithTextGutterMargin:e.margin,dividerHorizontalGutterMargin:e.marginLG,sizePaddingEdgeHorizontal:0});return[Cct(t)]},wct,{unitless:{orientationMargin:!0}});var xct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:t,direction:n,divider:r}=p.useContext(Xt),{prefixCls:i,type:o="horizontal",orientation:a="center",orientationMargin:s,className:l,rootClassName:c,children:u,dashed:d,variant:f="solid",plain:h,style:m}=e,g=xct(e,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","variant","plain","style"]),v=t("divider",i),[y,b,_]=Tct(v),E=!!u,C=a==="left"&&s!=null,S=a==="right"&&s!=null,w=xe(v,r==null?void 0:r.className,b,_,`${v}-${o}`,{[`${v}-with-text`]:E,[`${v}-with-text-${a}`]:E,[`${v}-dashed`]:!!d,[`${v}-${f}`]:f!=="solid",[`${v}-plain`]:!!h,[`${v}-rtl`]:n==="rtl",[`${v}-no-default-orientation-margin-left`]:C,[`${v}-no-default-orientation-margin-right`]:S},l,c),T=p.useMemo(()=>typeof s=="number"?s:/^\d+$/.test(s)?Number(s):s,[s]),O=Object.assign(Object.assign({},C&&{marginLeft:T}),S&&{marginRight:T});return y(p.createElement("div",Object.assign({className:w,style:Object.assign(Object.assign({},r==null?void 0:r.style),m)},g,{role:"separator"}),u&&o!=="vertical"&&p.createElement("span",{className:`${v}-inner-text`,style:O},u)))};var Lie=function(t,n){if(!t)return null;var r={left:t.offsetLeft,right:t.parentElement.clientWidth-t.clientWidth-t.offsetLeft,width:t.clientWidth,top:t.offsetTop,bottom:t.parentElement.clientHeight-t.clientHeight-t.offsetTop,height:t.clientHeight};return n?{left:0,right:0,width:0,top:r.top,bottom:r.bottom,height:r.height}:{left:r.left,right:r.right,width:r.width,top:0,bottom:0,height:0}},Qd=function(t){return t!==void 0?"".concat(t,"px"):void 0};function Rct(e){var t=e.prefixCls,n=e.containerRef,r=e.value,i=e.getValueIndex,o=e.motionName,a=e.onMotionStart,s=e.onMotionEnd,l=e.direction,c=e.vertical,u=c===void 0?!1:c,d=p.useRef(null),f=p.useState(r),h=Ie(f,2),m=h[0],g=h[1],v=function(P){var k,N=i(P),L=(k=n.current)===null||k===void 0?void 0:k.querySelectorAll(".".concat(t,"-item"))[N];return(L==null?void 0:L.offsetParent)&&L},y=p.useState(null),b=Ie(y,2),_=b[0],E=b[1],C=p.useState(null),S=Ie(C,2),w=S[0],T=S[1];ar(function(){if(m!==r){var B=v(m),P=v(r),k=Lie(B,u),N=Lie(P,u);g(r),E(k),T(N),B&&P?a():s()}},[r]);var O=p.useMemo(function(){if(u){var B;return Qd((B=_==null?void 0:_.top)!==null&&B!==void 0?B:0)}return Qd(l==="rtl"?-(_==null?void 0:_.right):_==null?void 0:_.left)},[u,l,_]),x=p.useMemo(function(){if(u){var B;return Qd((B=w==null?void 0:w.top)!==null&&B!==void 0?B:0)}return Qd(l==="rtl"?-(w==null?void 0:w.right):w==null?void 0:w.left)},[u,l,w]),A=function(){return u?{transform:"translateY(var(--thumb-start-top))",height:"var(--thumb-start-height)"}:{transform:"translateX(var(--thumb-start-left))",width:"var(--thumb-start-width)"}},I=function(){return u?{transform:"translateY(var(--thumb-active-top))",height:"var(--thumb-active-height)"}:{transform:"translateX(var(--thumb-active-left))",width:"var(--thumb-active-width)"}},M=function(){E(null),T(null),s()};return!_||!w?null:p.createElement(ia,{visible:!0,motionName:o,motionAppear:!0,onAppearStart:A,onAppearActive:I,onVisibleChanged:M},function(B,P){var k=B.className,N=B.style,L=G(G({},N),{},{"--thumb-start-left":O,"--thumb-start-width":Qd(_==null?void 0:_.width),"--thumb-active-left":x,"--thumb-active-width":Qd(w==null?void 0:w.width),"--thumb-start-top":O,"--thumb-start-height":Qd(_==null?void 0:_.height),"--thumb-active-top":x,"--thumb-active-height":Qd(w==null?void 0:w.height)}),V={ref:aa(d,P),style:L,className:xe("".concat(t,"-thumb"),k)};return p.createElement("div",V)})}var Ict=["prefixCls","direction","vertical","options","disabled","defaultValue","value","name","onChange","className","motionName"];function Act(e){if(typeof e.title<"u")return e.title;if(Gt(e.label)!=="object"){var t;return(t=e.label)===null||t===void 0?void 0:t.toString()}}function Nct(e){return e.map(function(t){if(Gt(t)==="object"&&t!==null){var n=Act(t);return G(G({},t),{},{title:n})}return{label:t==null?void 0:t.toString(),title:t==null?void 0:t.toString(),value:t}})}var Mct=function(t){var n=t.prefixCls,r=t.className,i=t.disabled,o=t.checked,a=t.label,s=t.title,l=t.value,c=t.name,u=t.onChange,d=t.onFocus,f=t.onBlur,h=t.onKeyDown,m=t.onKeyUp,g=t.onMouseDown,v=function(b){i||u(b,l)};return p.createElement("label",{className:xe(r,ee({},"".concat(n,"-item-disabled"),i)),onMouseDown:g},p.createElement("input",{name:c,className:"".concat(n,"-item-input"),type:"radio",disabled:i,checked:o,onChange:v,onFocus:d,onBlur:f,onKeyDown:h,onKeyUp:m}),p.createElement("div",{className:"".concat(n,"-item-label"),title:s,"aria-selected":o},a))},kct=p.forwardRef(function(e,t){var n,r,i=e.prefixCls,o=i===void 0?"rc-segmented":i,a=e.direction,s=e.vertical,l=e.options,c=l===void 0?[]:l,u=e.disabled,d=e.defaultValue,f=e.value,h=e.name,m=e.onChange,g=e.className,v=g===void 0?"":g,y=e.motionName,b=y===void 0?"thumb-motion":y,_=Dt(e,Ict),E=p.useRef(null),C=p.useMemo(function(){return aa(E,t)},[E,t]),S=p.useMemo(function(){return Nct(c)},[c]),w=Pn((n=S[0])===null||n===void 0?void 0:n.value,{value:f,defaultValue:d}),T=Ie(w,2),O=T[0],x=T[1],A=p.useState(!1),I=Ie(A,2),M=I[0],B=I[1],P=function(le,de){x(de),m==null||m(de)},k=ur(_,["children"]),N=p.useState(!1),L=Ie(N,2),V=L[0],$=L[1],W=p.useState(!1),j=Ie(W,2),U=j[0],Z=j[1],te=function(){Z(!0)},ae=function(){Z(!1)},K=function(){$(!1)},Q=function(le){le.key==="Tab"&&$(!0)},ie=function(le){var de=S.findIndex(function(ge){return ge.value===O}),ve=S.length,ne=(de+le+ve)%ve,ue=S[ne];ue&&(x(ue.value),m==null||m(ue.value))},he=function(le){switch(le.key){case"ArrowLeft":case"ArrowUp":ie(-1);break;case"ArrowRight":case"ArrowDown":ie(1);break}};return p.createElement("div",Ke({role:"radiogroup","aria-label":"segmented control",tabIndex:u?void 0:0},k,{className:xe(o,(r={},ee(r,"".concat(o,"-rtl"),a==="rtl"),ee(r,"".concat(o,"-disabled"),u),ee(r,"".concat(o,"-vertical"),s),r),v),ref:C}),p.createElement("div",{className:"".concat(o,"-group")},p.createElement(Rct,{vertical:s,prefixCls:o,value:O,containerRef:E,motionName:"".concat(o,"-").concat(b),direction:a,getValueIndex:function(le){return S.findIndex(function(de){return de.value===le})},onMotionStart:function(){B(!0)},onMotionEnd:function(){B(!1)}}),S.map(function(pe){var le;return p.createElement(Mct,Ke({},pe,{name:h,key:pe.value,prefixCls:o,className:xe(pe.className,"".concat(o,"-item"),(le={},ee(le,"".concat(o,"-item-selected"),pe.value===O&&!M),ee(le,"".concat(o,"-item-focused"),U&&V&&pe.value===O),le)),checked:pe.value===O,onChange:P,onFocus:te,onBlur:ae,onKeyDown:he,onKeyUp:Q,onMouseDown:K,disabled:!!u||!!pe.disabled}))})))}),Pct=kct;function $ie(e,t){return{[`${e}, ${e}:hover, ${e}:focus`]:{color:t.colorTextDisabled,cursor:"not-allowed"}}}function Fie(e){return{backgroundColor:e.itemSelectedBg,boxShadow:e.boxShadowTertiary}}const Dct=Object.assign({overflow:"hidden"},kl),Lct=e=>{const{componentCls:t}=e,n=e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(),r=e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(),i=e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{display:"inline-block",padding:e.trackPadding,color:e.itemColor,background:e.trackBg,borderRadius:e.borderRadius,transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`}),Zs(e)),{[`${t}-group`]:{position:"relative",display:"flex",alignItems:"stretch",justifyItems:"flex-start",flexDirection:"row",width:"100%"},[`&${t}-rtl`]:{direction:"rtl"},[`&${t}-vertical`]:{[`${t}-group`]:{flexDirection:"column"},[`${t}-thumb`]:{width:"100%",height:0,padding:`0 ${Ae(e.paddingXXS)}`}},[`&${t}-block`]:{display:"flex"},[`&${t}-block ${t}-item`]:{flex:1,minWidth:0},[`${t}-item`]:{position:"relative",textAlign:"center",cursor:"pointer",transition:`color ${e.motionDurationMid} ${e.motionEaseInOut}`,borderRadius:e.borderRadiusSM,transform:"translateZ(0)","&-selected":Object.assign(Object.assign({},Fie(e)),{color:e.itemSelectedColor}),"&-focused":Object.assign({},Td(e)),"&::after":{content:'""',position:"absolute",zIndex:-1,width:"100%",height:"100%",top:0,insetInlineStart:0,borderRadius:"inherit",transition:`background-color ${e.motionDurationMid}`,pointerEvents:"none"},[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemHoverBg}},[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]:{color:e.itemHoverColor,"&::after":{backgroundColor:e.itemActiveBg}},"&-label":Object.assign({minHeight:n,lineHeight:Ae(n),padding:`0 ${Ae(e.segmentedPaddingHorizontal)}`},Dct),"&-icon + *":{marginInlineStart:e.calc(e.marginSM).div(2).equal()},"&-input":{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:0,opacity:0,pointerEvents:"none"}},[`${t}-thumb`]:Object.assign(Object.assign({},Fie(e)),{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:0,height:"100%",padding:`${Ae(e.paddingXXS)} 0`,borderRadius:e.borderRadiusSM,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, height ${e.motionDurationSlow} ${e.motionEaseInOut}`,[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]:{backgroundColor:"transparent"}}),[`&${t}-lg`]:{borderRadius:e.borderRadiusLG,[`${t}-item-label`]:{minHeight:r,lineHeight:Ae(r),padding:`0 ${Ae(e.segmentedPaddingHorizontal)}`,fontSize:e.fontSizeLG},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadius}},[`&${t}-sm`]:{borderRadius:e.borderRadiusSM,[`${t}-item-label`]:{minHeight:i,lineHeight:Ae(i),padding:`0 ${Ae(e.segmentedPaddingHorizontalSM)}`},[`${t}-item, ${t}-thumb`]:{borderRadius:e.borderRadiusXS}}}),$ie(`&-disabled ${t}-item`,e)),$ie(`${t}-item-disabled`,e)),{[`${t}-thumb-motion-appear-active`]:{transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,willChange:"transform, width"}})}},$ct=e=>{const{colorTextLabel:t,colorText:n,colorFillSecondary:r,colorBgElevated:i,colorFill:o,lineWidthBold:a,colorBgLayout:s}=e;return{trackPadding:a,trackBg:s,itemColor:t,itemHoverColor:n,itemHoverBg:r,itemSelectedBg:i,itemActiveBg:o,itemSelectedColor:n}},Fct=lr("Segmented",e=>{const{lineWidth:t,calc:n}=e,r=Kn(e,{segmentedPaddingHorizontal:n(e.controlPaddingHorizontal).sub(t).equal(),segmentedPaddingHorizontalSM:n(e.controlPaddingHorizontalSM).sub(t).equal()});return[Lct(r)]},$ct);var Bie=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=U5(),{prefixCls:r,className:i,rootClassName:o,block:a,options:s=[],size:l="middle",style:c,vertical:u,name:d=n}=e,f=Bie(e,["prefixCls","className","rootClassName","block","options","size","style","vertical","name"]),{getPrefixCls:h,direction:m,segmented:g}=p.useContext(Xt),v=h("segmented",r),[y,b,_]=Fct(v),E=Co(l),C=p.useMemo(()=>s.map(T=>{if(Bct(T)){const{icon:O,label:x}=T,A=Bie(T,["icon","label"]);return Object.assign(Object.assign({},A),{label:p.createElement(p.Fragment,null,p.createElement("span",{className:`${v}-item-icon`},O),x&&p.createElement("span",null,x))})}return T}),[s,v]),S=xe(i,o,g==null?void 0:g.className,{[`${v}-block`]:a,[`${v}-sm`]:E==="small",[`${v}-lg`]:E==="large",[`${v}-vertical`]:u},b,_),w=Object.assign(Object.assign({},g==null?void 0:g.style),c);return y(p.createElement(Pct,Object.assign({},f,{name:d,className:S,style:w,options:C,ref:t,prefixCls:v,direction:m,vertical:u})))}),LTe=jct,$Te=se.createContext({}),FTe=se.createContext({}),BTe=e=>{let{prefixCls:t,value:n,onChange:r}=e;const i=()=>{if(r&&n&&!n.cleared){const o=n.toHsb();o.a=0;const a=Ns(o);a.cleared=!0,r(a)}};return se.createElement("div",{className:`${t}-clear`,onClick:i})};var og;(function(e){e.hex="hex",e.rgb="rgb",e.hsb="hsb"})(og||(og={}));var Hct={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"},Uct=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Hct}))},zct=p.forwardRef(Uct);function nU(){return typeof BigInt=="function"}function jTe(e){return!e&&e!==0&&!Number.isNaN(e)||!String(e).trim()}function fv(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,""),t.startsWith(".")&&(t="0".concat(t));var r=t||"0",i=r.split("."),o=i[0]||"0",a=i[1]||"0";o==="0"&&a==="0"&&(n=!1);var s=n?"-":"";return{negative:n,negativeStr:s,trimStr:r,integerStr:o,decimalStr:a,fullStr:"".concat(s).concat(r)}}function TY(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function U1(e){var t=String(e);if(TY(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return r!=null&&r[1]&&(n+=r[1].length),n}return t.includes(".")&&xY(t)?t.length-t.indexOf(".")-1:0}function mD(e){var t=String(e);if(TY(e)){if(e>Number.MAX_SAFE_INTEGER)return String(nU()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":fv("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),Gct=function(){function e(t){if(Kr(this,e),ee(this,"origin",""),ee(this,"number",void 0),ee(this,"empty",void 0),jTe(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return Qr(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(n){if(this.isInvalidate())return new e(n);var r=Number(n);if(Number.isNaN(r))return this;var i=this.number+r;if(i>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(iNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(i0&&arguments[0]!==void 0?arguments[0]:!0;return n?this.isInvalidate()?"":mD(this.number):this.origin}}]),e}();function Gu(e){return nU()?new Vct(e):new Gct(e)}function UA(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e==="")return"";var i=fv(e),o=i.negativeStr,a=i.integerStr,s=i.decimalStr,l="".concat(t).concat(s),c="".concat(o).concat(a);if(n>=0){var u=Number(s[n]);if(u>=5&&!r){var d=Gu(e).add("".concat(o,"0.").concat("0".repeat(n)).concat(10-u));return UA(d.toString(),t,n,r)}return n===0?c:"".concat(c).concat(t).concat(s.padEnd(n,"0").slice(0,n))}return l===".0"?c:"".concat(c).concat(l)}function Wct(e){return!!(e.addonBefore||e.addonAfter)}function qct(e){return!!(e.prefix||e.suffix||e.allowClear)}function jie(e,t,n){var r=t.cloneNode(!0),i=Object.create(e,{target:{value:r},currentTarget:{value:r}});return r.value=n,typeof t.selectionStart=="number"&&typeof t.selectionEnd=="number"&&(r.selectionStart=t.selectionStart,r.selectionEnd=t.selectionEnd),r.setSelectionRange=function(){t.setSelectionRange.apply(t,arguments)},i}function ZM(e,t,n,r){if(n){var i=t;if(t.type==="click"){i=jie(t,e,""),n(i);return}if(e.type!=="file"&&r!==void 0){i=jie(t,e,r),n(i);return}n(i)}}function OY(e,t){if(e){e.focus(t);var n=t||{},r=n.cursor;if(r){var i=e.value.length;switch(r){case"start":e.setSelectionRange(0,0);break;case"end":e.setSelectionRange(i,i);break;default:e.setSelectionRange(0,i)}}}}var RY=se.forwardRef(function(e,t){var n,r,i,o=e.inputElement,a=e.children,s=e.prefixCls,l=e.prefix,c=e.suffix,u=e.addonBefore,d=e.addonAfter,f=e.className,h=e.style,m=e.disabled,g=e.readOnly,v=e.focused,y=e.triggerFocus,b=e.allowClear,_=e.value,E=e.handleReset,C=e.hidden,S=e.classes,w=e.classNames,T=e.dataAttrs,O=e.styles,x=e.components,A=e.onClear,I=a??o,M=(x==null?void 0:x.affixWrapper)||"span",B=(x==null?void 0:x.groupWrapper)||"span",P=(x==null?void 0:x.wrapper)||"span",k=(x==null?void 0:x.groupAddon)||"span",N=p.useRef(null),L=function(ne){var ue;(ue=N.current)!==null&&ue!==void 0&&ue.contains(ne.target)&&(y==null||y())},V=qct(e),$=p.cloneElement(I,{value:_,className:xe((n=I.props)===null||n===void 0?void 0:n.className,!V&&(w==null?void 0:w.variant))||null}),W=p.useRef(null);if(se.useImperativeHandle(t,function(){return{nativeElement:W.current||N.current}}),V){var j=null;if(b){var U=!m&&!g&&_,Z="".concat(s,"-clear-icon"),te=Gt(b)==="object"&&b!==null&&b!==void 0&&b.clearIcon?b.clearIcon:"✖";j=se.createElement("button",{type:"button",onClick:function(ne){E==null||E(ne),A==null||A()},onMouseDown:function(ne){return ne.preventDefault()},className:xe(Z,ee(ee({},"".concat(Z,"-hidden"),!U),"".concat(Z,"-has-suffix"),!!c))},te)}var ae="".concat(s,"-affix-wrapper"),K=xe(ae,ee(ee(ee(ee(ee({},"".concat(s,"-disabled"),m),"".concat(ae,"-disabled"),m),"".concat(ae,"-focused"),v),"".concat(ae,"-readonly"),g),"".concat(ae,"-input-with-clear-btn"),c&&b&&_),S==null?void 0:S.affixWrapper,w==null?void 0:w.affixWrapper,w==null?void 0:w.variant),Q=(c||b)&&se.createElement("span",{className:xe("".concat(s,"-suffix"),w==null?void 0:w.suffix),style:O==null?void 0:O.suffix},j,c);$=se.createElement(M,Ke({className:K,style:O==null?void 0:O.affixWrapper,onClick:L},T==null?void 0:T.affixWrapper,{ref:N}),l&&se.createElement("span",{className:xe("".concat(s,"-prefix"),w==null?void 0:w.prefix),style:O==null?void 0:O.prefix},l),$,Q)}if(Wct(e)){var ie="".concat(s,"-group"),he="".concat(ie,"-addon"),pe="".concat(ie,"-wrapper"),le=xe("".concat(s,"-wrapper"),ie,S==null?void 0:S.wrapper,w==null?void 0:w.wrapper),de=xe(pe,ee({},"".concat(pe,"-disabled"),m),S==null?void 0:S.group,w==null?void 0:w.groupWrapper);$=se.createElement(B,{className:de,ref:W},se.createElement(P,{className:le},u&&se.createElement(k,{className:he},u),$,d&&se.createElement(k,{className:he},d)))}return se.cloneElement($,{className:xe((r=$.props)===null||r===void 0?void 0:r.className,f)||null,style:G(G({},(i=$.props)===null||i===void 0?void 0:i.style),h),hidden:C})}),Yct=["show"];function HTe(e,t){return p.useMemo(function(){var n={};t&&(n.show=Gt(t)==="object"&&t.formatter?t.formatter:!!t),n=G(G({},n),e);var r=n,i=r.show,o=Dt(r,Yct);return G(G({},o),{},{show:!!i,showFormatter:typeof i=="function"?i:void 0,strategy:o.strategy||function(a){return a.length}})},[e,t])}var Kct=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","onKeyUp","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","count","type","classes","classNames","styles","onCompositionStart","onCompositionEnd"],Qct=p.forwardRef(function(e,t){var n=e.autoComplete,r=e.onChange,i=e.onFocus,o=e.onBlur,a=e.onPressEnter,s=e.onKeyDown,l=e.onKeyUp,c=e.prefixCls,u=c===void 0?"rc-input":c,d=e.disabled,f=e.htmlSize,h=e.className,m=e.maxLength,g=e.suffix,v=e.showCount,y=e.count,b=e.type,_=b===void 0?"text":b,E=e.classes,C=e.classNames,S=e.styles,w=e.onCompositionStart,T=e.onCompositionEnd,O=Dt(e,Kct),x=p.useState(!1),A=Ie(x,2),I=A[0],M=A[1],B=p.useRef(!1),P=p.useRef(!1),k=p.useRef(null),N=p.useRef(null),L=function(Re){k.current&&OY(k.current,Re)},V=Pn(e.defaultValue,{value:e.value}),$=Ie(V,2),W=$[0],j=$[1],U=W==null?"":String(W),Z=p.useState(null),te=Ie(Z,2),ae=te[0],K=te[1],Q=HTe(y,v),ie=Q.max||m,he=Q.strategy(U),pe=!!ie&&he>ie;p.useImperativeHandle(t,function(){var _e;return{focus:L,blur:function(){var De;(De=k.current)===null||De===void 0||De.blur()},setSelectionRange:function(De,z,D){var q;(q=k.current)===null||q===void 0||q.setSelectionRange(De,z,D)},select:function(){var De;(De=k.current)===null||De===void 0||De.select()},input:k.current,nativeElement:((_e=N.current)===null||_e===void 0?void 0:_e.nativeElement)||k.current}}),p.useEffect(function(){P.current&&(P.current=!1),M(function(_e){return _e&&d?!1:_e})},[d]);var le=function(Re,De,z){var D=De;if(!B.current&&Q.exceedFormatter&&Q.max&&Q.strategy(De)>Q.max){if(D=Q.exceedFormatter(De,{max:Q.max}),De!==D){var q,oe;K([((q=k.current)===null||q===void 0?void 0:q.selectionStart)||0,((oe=k.current)===null||oe===void 0?void 0:oe.selectionEnd)||0])}}else if(z.source==="compositionEnd")return;j(D),k.current&&ZM(k.current,Re,r,D)};p.useEffect(function(){if(ae){var _e;(_e=k.current)===null||_e===void 0||_e.setSelectionRange.apply(_e,nt(ae))}},[ae]);var de=function(Re){le(Re,Re.target.value,{source:"change"})},ve=function(Re){B.current=!1,le(Re,Re.currentTarget.value,{source:"compositionEnd"}),T==null||T(Re)},ne=function(Re){a&&Re.key==="Enter"&&!P.current&&(P.current=!0,a(Re)),s==null||s(Re)},ue=function(Re){Re.key==="Enter"&&(P.current=!1),l==null||l(Re)},ge=function(Re){M(!0),i==null||i(Re)},Ce=function(Re){P.current&&(P.current=!1),M(!1),o==null||o(Re)},Te=function(Re){j(""),L(),k.current&&ZM(k.current,Re,r)},Se=pe&&"".concat(u,"-out-of-range"),me=function(){var Re=ur(e,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","count","classes","htmlSize","styles","classNames","onClear"]);return se.createElement("input",Ke({autoComplete:n},Re,{onChange:de,onFocus:ge,onBlur:Ce,onKeyDown:ne,onKeyUp:ue,className:xe(u,ee({},"".concat(u,"-disabled"),d),C==null?void 0:C.input),style:S==null?void 0:S.input,ref:k,size:f,type:_,onCompositionStart:function(z){B.current=!0,w==null||w(z)},onCompositionEnd:ve}))},be=function(){var Re=Number(ie)>0;if(g||Q.show){var De=Q.showFormatter?Q.showFormatter({value:U,count:he,maxLength:ie}):"".concat(he).concat(Re?" / ".concat(ie):"");return se.createElement(se.Fragment,null,Q.show&&se.createElement("span",{className:xe("".concat(u,"-show-count-suffix"),ee({},"".concat(u,"-show-count-has-suffix"),!!g),C==null?void 0:C.count),style:G({},S==null?void 0:S.count)},De),g)}return null};return se.createElement(RY,Ke({},O,{prefixCls:u,className:xe(h,Se),handleReset:Te,value:U,focused:I,triggerFocus:L,suffix:be(),disabled:d,classes:E,classNames:C,styles:S}),me())});function Xct(e,t){return typeof Proxy<"u"&&e?new Proxy(e,{get:function(r,i){if(t[i])return t[i];var o=r[i];return typeof o=="function"?o.bind(r):o}}):e}function Zct(e,t){var n=p.useRef(null);function r(){try{var o=e.selectionStart,a=e.selectionEnd,s=e.value,l=s.substring(0,o),c=s.substring(a);n.current={start:o,end:a,value:s,beforeTxt:l,afterTxt:c}}catch{}}function i(){if(e&&n.current&&t)try{var o=e.value,a=n.current,s=a.beforeTxt,l=a.afterTxt,c=a.start,u=o.length;if(o.startsWith(s))u=s.length;else if(o.endsWith(l))u=o.length-n.current.afterTxt.length;else{var d=s[c-1],f=o.indexOf(d,c-1);f!==-1&&(u=f+1)}e.setSelectionRange(u,u)}catch(h){Yr(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(h.message))}}return[r,i]}var Jct=function(){var t=p.useState(!1),n=Ie(t,2),r=n[0],i=n[1];return ar(function(){i(W5())},[]),r},eut=200,tut=600;function nut(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,i=e.upDisabled,o=e.downDisabled,a=e.onStep,s=p.useRef(),l=p.useRef([]),c=p.useRef();c.current=a;var u=function(){clearTimeout(s.current)},d=function(_,E){_.preventDefault(),u(),c.current(E);function C(){c.current(E),s.current=setTimeout(C,eut)}s.current=setTimeout(C,tut)};p.useEffect(function(){return function(){u(),l.current.forEach(function(b){return nr.cancel(b)})}},[]);var f=Jct();if(f)return null;var h="".concat(t,"-handler"),m=xe(h,"".concat(h,"-up"),ee({},"".concat(h,"-up-disabled"),i)),g=xe(h,"".concat(h,"-down"),ee({},"".concat(h,"-down-disabled"),o)),v=function(){return l.current.push(nr(u))},y={unselectable:"on",role:"button",onMouseUp:v,onMouseLeave:v};return p.createElement("div",{className:"".concat(h,"-wrap")},p.createElement("span",Ke({},y,{onMouseDown:function(_){d(_,!0)},"aria-label":"Increase Value","aria-disabled":i,className:m}),n||p.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),p.createElement("span",Ke({},y,{onMouseDown:function(_){d(_,!1)},"aria-label":"Decrease Value","aria-disabled":o,className:g}),r||p.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}function Hie(e){var t=typeof e=="number"?mD(e):fv(e).fullStr,n=t.includes(".");return n?fv(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}const rut=function(){var e=p.useRef(0),t=function(){nr.cancel(e.current)};return p.useEffect(function(){return t},[]),function(n){t(),e.current=nr(function(){n()})}};var iut=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","changeOnWheel","controls","classNames","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep","changeOnBlur","domRef"],out=["disabled","style","prefixCls","value","prefix","suffix","addonBefore","addonAfter","className","classNames"],Uie=function(t,n){return t||n.isEmpty()?n.toString():n.toNumber()},zie=function(t){var n=Gu(t);return n.isInvalidate()?null:n},aut=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,i=e.style,o=e.min,a=e.max,s=e.step,l=s===void 0?1:s,c=e.defaultValue,u=e.value,d=e.disabled,f=e.readOnly,h=e.upHandler,m=e.downHandler,g=e.keyboard,v=e.changeOnWheel,y=v===void 0?!1:v,b=e.controls,_=b===void 0?!0:b;e.classNames;var E=e.stringMode,C=e.parser,S=e.formatter,w=e.precision,T=e.decimalSeparator,O=e.onChange,x=e.onInput,A=e.onPressEnter,I=e.onStep,M=e.changeOnBlur,B=M===void 0?!0:M,P=e.domRef,k=Dt(e,iut),N="".concat(n,"-input"),L=p.useRef(null),V=p.useState(!1),$=Ie(V,2),W=$[0],j=$[1],U=p.useRef(!1),Z=p.useRef(!1),te=p.useRef(!1),ae=p.useState(function(){return Gu(u??c)}),K=Ie(ae,2),Q=K[0],ie=K[1];function he(at){u===void 0&&ie(at)}var pe=p.useCallback(function(at,pt){if(!pt)return w>=0?w:Math.max(U1(at),U1(l))},[w,l]),le=p.useCallback(function(at){var pt=String(at);if(C)return C(pt);var Ct=pt;return T&&(Ct=Ct.replace(T,".")),Ct.replace(/[^\w.-]+/g,"")},[C,T]),de=p.useRef(""),ve=p.useCallback(function(at,pt){if(S)return S(at,{userTyping:pt,input:String(de.current)});var Ct=typeof at=="number"?mD(at):at;if(!pt){var bt=pe(Ct,pt);if(xY(Ct)&&(T||bt>=0)){var Vt=T||".";Ct=UA(Ct,Vt,bt)}}return Ct},[S,pe,T]),ne=p.useState(function(){var at=c??u;return Q.isInvalidate()&&["string","number"].includes(Gt(at))?Number.isNaN(at)?"":at:ve(Q.toString(),!1)}),ue=Ie(ne,2),ge=ue[0],Ce=ue[1];de.current=ge;function Te(at,pt){Ce(ve(at.isInvalidate()?at.toString(!1):at.toString(!pt),pt))}var Se=p.useMemo(function(){return zie(a)},[a,w]),me=p.useMemo(function(){return zie(o)},[o,w]),be=p.useMemo(function(){return!Se||!Q||Q.isInvalidate()?!1:Se.lessEquals(Q)},[Se,Q]),_e=p.useMemo(function(){return!me||!Q||Q.isInvalidate()?!1:Q.lessEquals(me)},[me,Q]),Re=Zct(L.current,W),De=Ie(Re,2),z=De[0],D=De[1],q=function(pt){return Se&&!pt.lessEquals(Se)?Se:me&&!me.lessEquals(pt)?me:null},oe=function(pt){return!q(pt)},ye=function(pt,Ct){var bt=pt,Vt=oe(bt)||bt.isEmpty();if(!bt.isEmpty()&&!Ct&&(bt=q(bt)||bt,Vt=!0),!f&&!d&&Vt){var Tt=bt.toString(),Ot=pe(Tt,Ct);return Ot>=0&&(bt=Gu(UA(Tt,".",Ot)),oe(bt)||(bt=Gu(UA(Tt,".",Ot,!0)))),bt.equals(Q)||(he(bt),O==null||O(bt.isEmpty()?null:Uie(E,bt)),u===void 0&&Te(bt,Ct)),bt}return Q},ce=rut(),Be=function at(pt){if(z(),de.current=pt,Ce(pt),!Z.current){var Ct=le(pt),bt=Gu(Ct);bt.isNaN()||ye(bt,!0)}x==null||x(pt),ce(function(){var Vt=pt;C||(Vt=pt.replace(/。/g,".")),Vt!==pt&&at(Vt)})},Ve=function(){Z.current=!0},re=function(){Z.current=!1,Be(L.current.value)},Me=function(pt){Be(pt.target.value)},je=function(pt){var Ct;if(!(pt&&be||!pt&&_e)){U.current=!1;var bt=Gu(te.current?Hie(l):l);pt||(bt=bt.negate());var Vt=(Q||Gu(0)).add(bt.toString()),Tt=ye(Vt,!1);I==null||I(Uie(E,Tt),{offset:te.current?Hie(l):l,type:pt?"up":"down"}),(Ct=L.current)===null||Ct===void 0||Ct.focus()}},ke=function(pt){var Ct=Gu(le(ge)),bt;Ct.isNaN()?bt=ye(Q,pt):bt=ye(Ct,pt),u!==void 0?Te(Q,!1):bt.isNaN()||Te(bt,!1)},Ge=function(){U.current=!0},Ue=function(pt){var Ct=pt.key,bt=pt.shiftKey;U.current=!0,te.current=bt,Ct==="Enter"&&(Z.current||(U.current=!1),ke(!1),A==null||A(pt)),g!==!1&&!Z.current&&["Up","ArrowUp","Down","ArrowDown"].includes(Ct)&&(je(Ct==="Up"||Ct==="ArrowUp"),pt.preventDefault())},qe=function(){U.current=!1,te.current=!1};p.useEffect(function(){if(y&&W){var at=function(bt){je(bt.deltaY<0),bt.preventDefault()},pt=L.current;if(pt)return pt.addEventListener("wheel",at,{passive:!1}),function(){return pt.removeEventListener("wheel",at)}}});var At=function(){B&&ke(!1),j(!1),U.current=!1};return dv(function(){Q.isInvalidate()||Te(Q,!1)},[w,S]),dv(function(){var at=Gu(u);ie(at);var pt=Gu(le(ge));(!at.equals(pt)||!U.current||S)&&Te(at,U.current)},[u]),dv(function(){S&&D()},[ge]),p.createElement("div",{ref:P,className:xe(n,r,ee(ee(ee(ee(ee({},"".concat(n,"-focused"),W),"".concat(n,"-disabled"),d),"".concat(n,"-readonly"),f),"".concat(n,"-not-a-number"),Q.isNaN()),"".concat(n,"-out-of-range"),!Q.isInvalidate()&&!oe(Q))),style:i,onFocus:function(){j(!0)},onBlur:At,onKeyDown:Ue,onKeyUp:qe,onCompositionStart:Ve,onCompositionEnd:re,onBeforeInput:Ge},_&&p.createElement(nut,{prefixCls:n,upNode:h,downNode:m,upDisabled:be,downDisabled:_e,onStep:je}),p.createElement("div",{className:"".concat(N,"-wrap")},p.createElement("input",Ke({autoComplete:"off",role:"spinbutton","aria-valuemin":o,"aria-valuemax":a,"aria-valuenow":Q.isInvalidate()?null:Q.toString(),step:l},k,{ref:aa(L,t),className:N,value:ge,onChange:Me,disabled:d,readOnly:f}))))}),sut=p.forwardRef(function(e,t){var n=e.disabled,r=e.style,i=e.prefixCls,o=i===void 0?"rc-input-number":i,a=e.value,s=e.prefix,l=e.suffix,c=e.addonBefore,u=e.addonAfter,d=e.className,f=e.classNames,h=Dt(e,out),m=p.useRef(null),g=p.useRef(null),v=p.useRef(null),y=function(_){v.current&&OY(v.current,_)};return p.useImperativeHandle(t,function(){return Xct(v.current,{focus:y,nativeElement:m.current.nativeElement||g.current})}),p.createElement(RY,{className:d,triggerFocus:y,prefixCls:o,value:a,disabled:n,style:r,prefix:s,suffix:l,addonAfter:u,addonBefore:c,classNames:f,components:{affixWrapper:"div",groupWrapper:"div",wrapper:"div",groupAddon:"div"},ref:m},p.createElement(aut,Ke({prefixCls:o,disabled:n,ref:v,domRef:g,className:f==null?void 0:f.input},h)))});const lut=e=>{var t;const n=(t=e.handleVisible)!==null&&t!==void 0?t:"auto",r=e.controlHeightSM-e.lineWidth*2;return Object.assign(Object.assign({},b2(e)),{controlWidth:90,handleWidth:r,handleFontSize:e.fontSize/2,handleVisible:n,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new rr(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:n===!0?1:0,handleVisibleWidth:n===!0?r:0})},Vie=(e,t)=>{let{componentCls:n,borderRadiusSM:r,borderRadiusLG:i}=e;const o=t==="lg"?i:r;return{[`&-${t}`]:{[`${n}-handler-wrap`]:{borderStartEndRadius:o,borderEndEndRadius:o},[`${n}-handler-up`]:{borderStartEndRadius:o},[`${n}-handler-down`]:{borderEndEndRadius:o}}}},cut=e=>{const{componentCls:t,lineWidth:n,lineType:r,borderRadius:i,inputFontSizeSM:o,inputFontSizeLG:a,controlHeightLG:s,controlHeightSM:l,colorError:c,paddingInlineSM:u,paddingBlockSM:d,paddingBlockLG:f,paddingInlineLG:h,colorTextDescription:m,motionDurationMid:g,handleHoverColor:v,handleOpacity:y,paddingInline:b,paddingBlock:_,handleBg:E,handleActiveBg:C,colorTextDisabled:S,borderRadiusSM:w,borderRadiusLG:T,controlWidth:O,handleBorderColor:x,filledHandleBg:A,lineHeightLG:I,calc:M}=e;return[{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),y2(e)),{display:"inline-block",width:O,margin:0,padding:0,borderRadius:i}),vY(e,{[`${t}-handler-wrap`]:{background:E,[`${t}-handler-down`]:{borderBlockStart:`${Ae(n)} ${r} ${x}`}}})),yY(e,{[`${t}-handler-wrap`]:{background:A,[`${t}-handler-down`]:{borderBlockStart:`${Ae(n)} ${r} ${x}`}},"&:focus-within":{[`${t}-handler-wrap`]:{background:E}}})),bY(e)),{"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},"&-lg":{padding:0,fontSize:a,lineHeight:I,borderRadius:T,[`input${t}-input`]:{height:M(s).sub(M(n).mul(2)).equal(),padding:`${Ae(f)} ${Ae(h)}`}},"&-sm":{padding:0,fontSize:o,borderRadius:w,[`input${t}-input`]:{height:M(l).sub(M(n).mul(2)).equal(),padding:`${Ae(d)} ${Ae(u)}`}},"&-out-of-range":{[`${t}-input-wrap`]:{input:{color:c}}},"&-group":Object.assign(Object.assign(Object.assign({},gr(e)),iTe(e)),{"&-wrapper":Object.assign(Object.assign(Object.assign({display:"inline-block",textAlign:"start",verticalAlign:"top",[`${t}-affix-wrapper`]:{width:"100%"},"&-lg":{[`${t}-group-addon`]:{borderRadius:T,fontSize:e.fontSizeLG}},"&-sm":{[`${t}-group-addon`]:{borderRadius:w}}},eTe(e)),nTe(e)),{[`&:not(${t}-compact-first-item):not(${t}-compact-last-item)${t}-compact-item`]:{[`${t}, ${t}-group-addon`]:{borderRadius:0}},[`&:not(${t}-compact-last-item)${t}-compact-first-item`]:{[`${t}, ${t}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${t}-compact-first-item)${t}-compact-last-item`]:{[`${t}, ${t}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}})}),[`&-disabled ${t}-input`]:{cursor:"not-allowed"},[t]:{"&-input":Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{width:"100%",padding:`${Ae(_)} ${Ae(b)}`,textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:i,outline:0,transition:`all ${g} linear`,appearance:"textfield",fontSize:"inherit"}),_Y(e.colorTextPlaceholder)),{'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,webkitAppearance:"none",appearance:"none"}})},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1}})},{[t]:Object.assign(Object.assign(Object.assign({[`${t}-handler-wrap`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:y,height:"100%",borderStartStartRadius:0,borderStartEndRadius:i,borderEndEndRadius:i,borderEndStartRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${g}`,overflow:"hidden",[`${t}-handler`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",[` ${t}-handler-up-inner, ${t}-handler-down-inner `]:{marginInlineEnd:0,fontSize:e.handleFontSize}}},[`${t}-handler`]:{height:"50%",overflow:"hidden",color:m,fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",borderInlineStart:`${Ae(n)} ${r} ${x}`,transition:`all ${g} linear`,"&:active":{background:C},"&:hover":{height:"60%",[` @@ -391,7 +391,7 @@ html body { `]:{cursor:"not-allowed"},[` ${t}-handler-up-disabled:hover &-handler-up-inner, ${t}-handler-down-disabled:hover &-handler-down-inner - `]:{color:S}})}]},uut=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:i,controlWidth:o,borderRadiusLG:a,borderRadiusSM:s,paddingInlineLG:l,paddingInlineSM:c,paddingBlockLG:u,paddingBlockSM:d,motionDurationMid:f}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${Ae(n)} 0`}},y2(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:o,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:a,paddingInlineStart:l,[`input${t}-input`]:{padding:`${Ae(u)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:c,[`input${t}-input`]:{padding:`${Ae(d)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:i},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:i,transition:`margin ${f}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:not(${t}-affix-wrapper-without-controls):hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}})}},dut=lr("InputNumber",e=>{const t=Kn(e,v2(e));return[cut(t),uut(t),E0(t)]},lut,{unitless:{handleOpacity:!0}});var fut=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:n,direction:r}=p.useContext(Xt),i=p.useRef(null);p.useImperativeHandle(t,()=>i.current);const{className:o,rootClassName:a,size:s,disabled:l,prefixCls:c,addonBefore:u,addonAfter:d,prefix:f,suffix:h,bordered:m,readOnly:g,status:v,controls:y,variant:b}=e,_=fut(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),E=n("input-number",c),C=ui(E),[S,w,T]=dut(E,C),{compactSize:O,compactItemClassnames:x}=Fd(E,r);let A=p.createElement(zct,{className:`${E}-handler-up-inner`}),I=p.createElement(p2,{className:`${E}-handler-down-inner`});const M=typeof y=="boolean"?y:void 0;typeof y=="object"&&(A=typeof y.upIcon>"u"?A:p.createElement("span",{className:`${E}-handler-up-inner`},y.upIcon),I=typeof y.downIcon>"u"?I:p.createElement("span",{className:`${E}-handler-down-inner`},y.downIcon));const{hasFeedback:B,status:P,isFormItemInput:k,feedbackIcon:N}=p.useContext(oa),L=xh(P,v),V=Co(Q=>{var ie;return(ie=s??O)!==null&&ie!==void 0?ie:Q}),$=p.useContext(Wo),W=l??$,[j,U]=Oh("inputNumber",b,m),Z=B&&p.createElement(p.Fragment,null,N),te=xe({[`${E}-lg`]:V==="large",[`${E}-sm`]:V==="small",[`${E}-rtl`]:r==="rtl",[`${E}-in-form-item`]:k},w),ae=`${E}-group`,K=p.createElement(sut,Object.assign({ref:i,disabled:W,className:xe(T,C,o,a,x),upHandler:A,downHandler:I,prefixCls:E,readOnly:g,controls:M,prefix:f,suffix:Z||h,addonBefore:u&&p.createElement(Rd,{form:!0,space:!0},u),addonAfter:d&&p.createElement(Rd,{form:!0,space:!0},d),classNames:{input:te,variant:xe({[`${E}-${j}`]:U},Id(E,L,B)),affixWrapper:xe({[`${E}-affix-wrapper-sm`]:V==="small",[`${E}-affix-wrapper-lg`]:V==="large",[`${E}-affix-wrapper-rtl`]:r==="rtl",[`${E}-affix-wrapper-without-controls`]:y===!1},w),wrapper:xe({[`${ae}-rtl`]:r==="rtl"},w),groupWrapper:xe({[`${E}-group-wrapper-sm`]:V==="small",[`${E}-group-wrapper-lg`]:V==="large",[`${E}-group-wrapper-rtl`]:r==="rtl",[`${E}-group-wrapper-${j}`]:U},Id(`${E}-group-wrapper`,L,B),w)}},_));return S(K)}),ph=UTe,put=e=>p.createElement(Ln,{theme:{components:{InputNumber:{handleVisible:!0}}}},p.createElement(UTe,Object.assign({},e)));ph._InternalPanelDoNotUseOrYouWillBeFired=put;const pv=e=>{let{prefixCls:t,min:n=0,max:r=100,value:i,onChange:o,className:a,formatter:s}=e;const l=`${t}-steppers`,[c,u]=p.useState(i);return p.useEffect(()=>{Number.isNaN(i)||u(i)},[i]),se.createElement(ph,{className:xe(l,a),min:n,max:r,value:c,formatter:s,size:"small",onChange:d=>{i||u(d||0),o==null||o(d)}})},hut=e=>{let{prefixCls:t,value:n,onChange:r}=e;const i=`${t}-alpha-input`,[o,a]=p.useState(Ns(n||"#000"));p.useEffect(()=>{n&&a(n)},[n]);const s=l=>{const c=o.toHsb();c.a=(l||0)/100;const u=Ns(c);n||a(u),r==null||r(u)};return se.createElement(pv,{value:Nq(o),prefixCls:t,formatter:l=>`${l}%`,className:i,onChange:s})},mut=e=>{const{getPrefixCls:t,direction:n}=p.useContext(Xt),{prefixCls:r,className:i}=e,o=t("input-group",r),a=t("input"),[s,l]=EY(a),c=xe(o,{[`${o}-lg`]:e.size==="large",[`${o}-sm`]:e.size==="small",[`${o}-compact`]:e.compact,[`${o}-rtl`]:n==="rtl"},l,i),u=p.useContext(oa),d=p.useMemo(()=>Object.assign(Object.assign({},u),{isFormItemInput:!1}),[u]);return s(p.createElement("span",{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},p.createElement(oa.Provider,{value:d},e.children)))},zTe=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:se.createElement(qf,null)}),t};function VTe(e,t){const n=p.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var i,o,a,s;!((i=e.current)===null||i===void 0)&&i.input&&((o=e.current)===null||o===void 0?void 0:o.input.getAttribute("type"))==="password"&&(!((a=e.current)===null||a===void 0)&&a.input.hasAttribute("value"))&&((s=e.current)===null||s===void 0||s.input.removeAttribute("value"))}))};return p.useEffect(()=>(t&&r(),()=>n.current.forEach(i=>{i&&clearTimeout(i)})),[]),r}function gut(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var vut=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,bordered:i=!0,status:o,size:a,disabled:s,onBlur:l,onFocus:c,suffix:u,allowClear:d,addonAfter:f,addonBefore:h,className:m,style:g,styles:v,rootClassName:y,onChange:b,classNames:_,variant:E}=e,C=vut(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:S,direction:w,input:T}=se.useContext(Xt),O=S("input",r),x=p.useRef(null),A=ui(O),[I,M,B]=EY(O,A),{compactSize:P,compactItemClassnames:k}=Fd(O,w),N=Co(de=>{var ve;return(ve=a??P)!==null&&ve!==void 0?ve:de}),L=se.useContext(Wo),V=s??L,{status:$,hasFeedback:W,feedbackIcon:j}=p.useContext(oa),U=xh($,o),Z=gut(e)||!!W;p.useRef(Z);const te=VTe(x,!0),ae=de=>{te(),l==null||l(de)},K=de=>{te(),c==null||c(de)},Q=de=>{te(),b==null||b(de)},ie=(W||u)&&se.createElement(se.Fragment,null,u,W&&j),he=zTe(d??(T==null?void 0:T.allowClear)),[pe,le]=Oh("input",E,i);return I(se.createElement(Qct,Object.assign({ref:aa(t,x),prefixCls:O,autoComplete:T==null?void 0:T.autoComplete},C,{disabled:V,onBlur:ae,onFocus:K,style:Object.assign(Object.assign({},T==null?void 0:T.style),g),styles:Object.assign(Object.assign({},T==null?void 0:T.styles),v),suffix:ie,allowClear:he,className:xe(m,y,B,A,k,T==null?void 0:T.className),onChange:Q,addonBefore:h&&se.createElement(Rd,{form:!0,space:!0},h),addonAfter:f&&se.createElement(Rd,{form:!0,space:!0},f),classNames:Object.assign(Object.assign(Object.assign({},_),T==null?void 0:T.classNames),{input:xe({[`${O}-sm`]:N==="small",[`${O}-lg`]:N==="large",[`${O}-rtl`]:w==="rtl"},_==null?void 0:_.input,(n=T==null?void 0:T.classNames)===null||n===void 0?void 0:n.input,M),variant:xe({[`${O}-${pe}`]:le},Id(O,U)),affixWrapper:xe({[`${O}-affix-wrapper-sm`]:N==="small",[`${O}-affix-wrapper-lg`]:N==="large",[`${O}-affix-wrapper-rtl`]:w==="rtl"},M),wrapper:xe({[`${O}-group-rtl`]:w==="rtl"},M),groupWrapper:xe({[`${O}-group-wrapper-sm`]:N==="small",[`${O}-group-wrapper-lg`]:N==="large",[`${O}-group-wrapper-rtl`]:w==="rtl",[`${O}-group-wrapper-${pe}`]:le},Id(`${O}-group-wrapper`,U,W),M)})})))}),but=e=>{const{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},yut=lr(["Input","OTP"],e=>{const t=Kn(e,v2(e));return[but(t)]},b2);var _ut=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{value:n,onChange:r,onActiveChange:i,index:o,mask:a}=e,s=_ut(e,["value","onChange","onActiveChange","index","mask"]),l=n&&typeof a=="string"?a:n,c=m=>{r(o,m.target.value)},u=p.useRef(null);p.useImperativeHandle(t,()=>u.current);const d=()=>{nr(()=>{var m;const g=(m=u.current)===null||m===void 0?void 0:m.input;document.activeElement===g&&g&&g.select()})},f=m=>{const{key:g,ctrlKey:v,metaKey:y}=m;g==="ArrowLeft"?i(o-1):g==="ArrowRight"?i(o+1):g==="z"&&(v||y)&&m.preventDefault(),d()},h=m=>{m.key==="Backspace"&&!n&&i(o-1),d()};return p.createElement(gD,Object.assign({type:a===!0?"password":"text"},s,{ref:u,value:l,onInput:c,onFocus:d,onKeyDown:f,onKeyUp:h,onMouseDown:d,onMouseUp:d}))});var Eut=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,length:r=6,size:i,defaultValue:o,value:a,onChange:s,formatter:l,variant:c,disabled:u,status:d,autoFocus:f,mask:h,type:m,onInput:g,inputMode:v}=e,y=Eut(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:b,direction:_}=p.useContext(Xt),E=b("otp",n),C=xi(y,{aria:!0,data:!0,attr:!0}),S=ui(E),[w,T,O]=yut(E,S),x=Co(Z=>i??Z),A=p.useContext(oa),I=xh(A.status,d),M=p.useMemo(()=>Object.assign(Object.assign({},A),{status:I,hasFeedback:!1,feedbackIcon:null}),[A,I]),B=p.useRef(null),P=p.useRef({});p.useImperativeHandle(t,()=>({focus:()=>{var Z;(Z=P.current[0])===null||Z===void 0||Z.focus()},blur:()=>{var Z;for(let te=0;tel?l(Z):Z,[N,L]=p.useState(DR(k(o||"")));p.useEffect(()=>{a!==void 0&&L(DR(a))},[a]);const V=Yn(Z=>{L(Z),g&&g(Z),s&&Z.length===r&&Z.every(te=>te)&&Z.some((te,ae)=>N[ae]!==te)&&s(Z.join(""))}),$=Yn((Z,te)=>{let ae=nt(N);for(let Q=0;Q=0&&!ae[Q];Q-=1)ae.pop();const K=k(ae.map(Q=>Q||" ").join(""));return ae=DR(K).map((Q,ie)=>Q===" "&&!ae[ie]?ae[ie]:Q),ae}),W=(Z,te)=>{var ae;const K=$(Z,te),Q=Math.min(Z+te.length,r-1);Q!==Z&&K[Z]!==void 0&&((ae=P.current[Q])===null||ae===void 0||ae.focus()),V(K)},j=Z=>{var te;(te=P.current[Z])===null||te===void 0||te.focus()},U={variant:c,disabled:u,status:I,mask:h,type:m,inputMode:v};return w(p.createElement("div",Object.assign({},C,{ref:B,className:xe(E,{[`${E}-sm`]:x==="small",[`${E}-lg`]:x==="large",[`${E}-rtl`]:_==="rtl"},O,T)}),p.createElement(oa.Provider,{value:M},Array.from({length:r}).map((Z,te)=>{const ae=`otp-${te}`,K=N[te]||"";return p.createElement(Sut,Object.assign({ref:Q=>{P.current[te]=Q},key:ae,index:te,size:x,htmlSize:1,className:`${E}-input`,onChange:W,value:K,onActiveChange:j,autoFocus:te===0&&f},U))}))))});var wut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},Tut=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:wut}))},GTe=p.forwardRef(Tut),xut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Out=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:xut}))},OS=p.forwardRef(Out),Rut=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie?p.createElement(OS,null):p.createElement(GTe,null),Aut={click:"onClick",hover:"onMouseOver"},Nut=p.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:i=!0,iconRender:o=Iut}=e,a=p.useContext(Wo),s=n??a,l=typeof i=="object"&&i.visible!==void 0,[c,u]=p.useState(()=>l?i.visible:!1),d=p.useRef(null);p.useEffect(()=>{l&&u(i.visible)},[l,i]);const f=VTe(d),h=()=>{var x;if(s)return;c&&f();const A=!c;u(A),typeof i=="object"&&((x=i.onVisibleChange)===null||x===void 0||x.call(i,A))},m=x=>{const A=Aut[r]||"",I=o(c),M={[A]:h,className:`${x}-icon`,key:"passwordIcon",onMouseDown:B=>{B.preventDefault()},onMouseUp:B=>{B.preventDefault()}};return p.cloneElement(p.isValidElement(I)?I:p.createElement("span",null,I),M)},{className:g,prefixCls:v,inputPrefixCls:y,size:b}=e,_=Rut(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:E}=p.useContext(Xt),C=E("input",y),S=E("input-password",v),w=i&&m(S),T=xe(S,g,{[`${S}-${b}`]:!!b}),O=Object.assign(Object.assign({},ur(_,["suffix","iconRender","visibilityToggle"])),{type:c?"text":"password",className:T,prefixCls:C,suffix:w});return b&&(O.size=b),p.createElement(gD,Object.assign({ref:aa(t,d)},O))});var Mut=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,inputPrefixCls:r,className:i,size:o,suffix:a,enterButton:s=!1,addonAfter:l,loading:c,disabled:u,onSearch:d,onChange:f,onCompositionStart:h,onCompositionEnd:m}=e,g=Mut(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:v,direction:y}=p.useContext(Xt),b=p.useRef(!1),_=v("input-search",n),E=v("input",r),{compactSize:C}=Fd(_,y),S=Co(W=>{var j;return(j=o??C)!==null&&j!==void 0?j:W}),w=p.useRef(null),T=W=>{W!=null&&W.target&&W.type==="click"&&d&&d(W.target.value,W,{source:"clear"}),f==null||f(W)},O=W=>{var j;document.activeElement===((j=w.current)===null||j===void 0?void 0:j.input)&&W.preventDefault()},x=W=>{var j,U;d&&d((U=(j=w.current)===null||j===void 0?void 0:j.input)===null||U===void 0?void 0:U.value,W,{source:"input"})},A=W=>{b.current||c||x(W)},I=typeof s=="boolean"?p.createElement(KP,null):null,M=`${_}-button`;let B;const P=s||{},k=P.type&&P.type.__ANT_BUTTON===!0;k||P.type==="button"?B=Eo(P,Object.assign({onMouseDown:O,onClick:W=>{var j,U;(U=(j=P==null?void 0:P.props)===null||j===void 0?void 0:j.onClick)===null||U===void 0||U.call(j,W),x(W)},key:"enterButton"},k?{className:M,size:S}:{})):B=p.createElement($n,{className:M,type:s?"primary":void 0,size:S,disabled:u,key:"enterButton",onMouseDown:O,onClick:x,loading:c,icon:I},s),l&&(B=[B,Eo(l,{key:"addonAfter"})]);const N=xe(_,{[`${_}-rtl`]:y==="rtl",[`${_}-${S}`]:!!S,[`${_}-with-button`]:!!s},i),L=Object.assign(Object.assign({},g),{className:N,prefixCls:E,type:"search"}),V=W=>{b.current=!0,h==null||h(W)},$=W=>{b.current=!1,m==null||m(W)};return p.createElement(gD,Object.assign({ref:aa(w,t),onPressEnter:A},L,{size:S,onCompositionStart:V,onCompositionEnd:$,addonAfter:B,suffix:a,onChange:T,disabled:u}))});var Put=` + `]:{color:S}})}]},uut=e=>{const{componentCls:t,paddingBlock:n,paddingInline:r,inputAffixPadding:i,controlWidth:o,borderRadiusLG:a,borderRadiusSM:s,paddingInlineLG:l,paddingInlineSM:c,paddingBlockLG:u,paddingBlockSM:d,motionDurationMid:f}=e;return{[`${t}-affix-wrapper`]:Object.assign(Object.assign({[`input${t}-input`]:{padding:`${Ae(n)} 0`}},y2(e)),{position:"relative",display:"inline-flex",alignItems:"center",width:o,padding:0,paddingInlineStart:r,"&-lg":{borderRadius:a,paddingInlineStart:l,[`input${t}-input`]:{padding:`${Ae(u)} 0`}},"&-sm":{borderRadius:s,paddingInlineStart:c,[`input${t}-input`]:{padding:`${Ae(d)} 0`}},[`&:not(${t}-disabled):hover`]:{zIndex:1},"&-focused, &:focus":{zIndex:1},[`&-disabled > ${t}-disabled`]:{background:"transparent"},[`> div${t}`]:{width:"100%",border:"none",outline:"none",[`&${t}-focused`]:{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${t}-handler-wrap`]:{zIndex:2},[t]:{position:"static",color:"inherit","&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center",pointerEvents:"none"},"&-prefix":{marginInlineEnd:i},"&-suffix":{insetBlockStart:0,insetInlineEnd:0,height:"100%",marginInlineEnd:r,marginInlineStart:i,transition:`margin ${f}`}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&:not(${t}-affix-wrapper-without-controls):hover ${t}-suffix`]:{marginInlineEnd:e.calc(e.handleWidth).add(r).equal()}})}},dut=lr("InputNumber",e=>{const t=Kn(e,v2(e));return[cut(t),uut(t),E0(t)]},lut,{unitless:{handleOpacity:!0}});var fut=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPrefixCls:n,direction:r}=p.useContext(Xt),i=p.useRef(null);p.useImperativeHandle(t,()=>i.current);const{className:o,rootClassName:a,size:s,disabled:l,prefixCls:c,addonBefore:u,addonAfter:d,prefix:f,suffix:h,bordered:m,readOnly:g,status:v,controls:y,variant:b}=e,_=fut(e,["className","rootClassName","size","disabled","prefixCls","addonBefore","addonAfter","prefix","suffix","bordered","readOnly","status","controls","variant"]),E=n("input-number",c),C=ui(E),[S,w,T]=dut(E,C),{compactSize:O,compactItemClassnames:x}=Fd(E,r);let A=p.createElement(zct,{className:`${E}-handler-up-inner`}),I=p.createElement(p2,{className:`${E}-handler-down-inner`});const M=typeof y=="boolean"?y:void 0;typeof y=="object"&&(A=typeof y.upIcon>"u"?A:p.createElement("span",{className:`${E}-handler-up-inner`},y.upIcon),I=typeof y.downIcon>"u"?I:p.createElement("span",{className:`${E}-handler-down-inner`},y.downIcon));const{hasFeedback:B,status:P,isFormItemInput:k,feedbackIcon:N}=p.useContext(oa),L=xh(P,v),V=Co(Q=>{var ie;return(ie=s??O)!==null&&ie!==void 0?ie:Q}),$=p.useContext(Wo),W=l??$,[j,U]=Oh("inputNumber",b,m),Z=B&&p.createElement(p.Fragment,null,N),te=xe({[`${E}-lg`]:V==="large",[`${E}-sm`]:V==="small",[`${E}-rtl`]:r==="rtl",[`${E}-in-form-item`]:k},w),ae=`${E}-group`,K=p.createElement(sut,Object.assign({ref:i,disabled:W,className:xe(T,C,o,a,x),upHandler:A,downHandler:I,prefixCls:E,readOnly:g,controls:M,prefix:f,suffix:Z||h,addonBefore:u&&p.createElement(Rd,{form:!0,space:!0},u),addonAfter:d&&p.createElement(Rd,{form:!0,space:!0},d),classNames:{input:te,variant:xe({[`${E}-${j}`]:U},Id(E,L,B)),affixWrapper:xe({[`${E}-affix-wrapper-sm`]:V==="small",[`${E}-affix-wrapper-lg`]:V==="large",[`${E}-affix-wrapper-rtl`]:r==="rtl",[`${E}-affix-wrapper-without-controls`]:y===!1},w),wrapper:xe({[`${ae}-rtl`]:r==="rtl"},w),groupWrapper:xe({[`${E}-group-wrapper-sm`]:V==="small",[`${E}-group-wrapper-lg`]:V==="large",[`${E}-group-wrapper-rtl`]:r==="rtl",[`${E}-group-wrapper-${j}`]:U},Id(`${E}-group-wrapper`,L,B),w)}},_));return S(K)}),ph=UTe,put=e=>p.createElement(Ln,{theme:{components:{InputNumber:{handleVisible:!0}}}},p.createElement(UTe,Object.assign({},e)));ph._InternalPanelDoNotUseOrYouWillBeFired=put;const pv=e=>{let{prefixCls:t,min:n=0,max:r=100,value:i,onChange:o,className:a,formatter:s}=e;const l=`${t}-steppers`,[c,u]=p.useState(i);return p.useEffect(()=>{Number.isNaN(i)||u(i)},[i]),se.createElement(ph,{className:xe(l,a),min:n,max:r,value:c,formatter:s,size:"small",onChange:d=>{i||u(d||0),o==null||o(d)}})},hut=e=>{let{prefixCls:t,value:n,onChange:r}=e;const i=`${t}-alpha-input`,[o,a]=p.useState(Ns(n||"#000"));p.useEffect(()=>{n&&a(n)},[n]);const s=l=>{const c=o.toHsb();c.a=(l||0)/100;const u=Ns(c);n||a(u),r==null||r(u)};return se.createElement(pv,{value:Nq(o),prefixCls:t,formatter:l=>`${l}%`,className:i,onChange:s})},mut=e=>{const{getPrefixCls:t,direction:n}=p.useContext(Xt),{prefixCls:r,className:i}=e,o=t("input-group",r),a=t("input"),[s,l]=EY(a),c=xe(o,{[`${o}-lg`]:e.size==="large",[`${o}-sm`]:e.size==="small",[`${o}-compact`]:e.compact,[`${o}-rtl`]:n==="rtl"},l,i),u=p.useContext(oa),d=p.useMemo(()=>Object.assign(Object.assign({},u),{isFormItemInput:!1}),[u]);return s(p.createElement("span",{className:c,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},p.createElement(oa.Provider,{value:d},e.children)))},zTe=e=>{let t;return typeof e=="object"&&(e!=null&&e.clearIcon)?t=e:e&&(t={clearIcon:se.createElement(qf,null)}),t};function VTe(e,t){const n=p.useRef([]),r=()=>{n.current.push(setTimeout(()=>{var i,o,a,s;!((i=e.current)===null||i===void 0)&&i.input&&((o=e.current)===null||o===void 0?void 0:o.input.getAttribute("type"))==="password"&&(!((a=e.current)===null||a===void 0)&&a.input.hasAttribute("value"))&&((s=e.current)===null||s===void 0||s.input.removeAttribute("value"))}))};return p.useEffect(()=>(t&&r(),()=>n.current.forEach(i=>{i&&clearTimeout(i)})),[]),r}function gut(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}var vut=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,bordered:i=!0,status:o,size:a,disabled:s,onBlur:l,onFocus:c,suffix:u,allowClear:d,addonAfter:f,addonBefore:h,className:m,style:g,styles:v,rootClassName:y,onChange:b,classNames:_,variant:E}=e,C=vut(e,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames","variant"]),{getPrefixCls:S,direction:w,input:T}=se.useContext(Xt),O=S("input",r),x=p.useRef(null),A=ui(O),[I,M,B]=EY(O,A),{compactSize:P,compactItemClassnames:k}=Fd(O,w),N=Co(de=>{var ve;return(ve=a??P)!==null&&ve!==void 0?ve:de}),L=se.useContext(Wo),V=s??L,{status:$,hasFeedback:W,feedbackIcon:j}=p.useContext(oa),U=xh($,o),Z=gut(e)||!!W;p.useRef(Z);const te=VTe(x,!0),ae=de=>{te(),l==null||l(de)},K=de=>{te(),c==null||c(de)},Q=de=>{te(),b==null||b(de)},ie=(W||u)&&se.createElement(se.Fragment,null,u,W&&j),he=zTe(d??(T==null?void 0:T.allowClear)),[pe,le]=Oh("input",E,i);return I(se.createElement(Qct,Object.assign({ref:aa(t,x),prefixCls:O,autoComplete:T==null?void 0:T.autoComplete},C,{disabled:V,onBlur:ae,onFocus:K,style:Object.assign(Object.assign({},T==null?void 0:T.style),g),styles:Object.assign(Object.assign({},T==null?void 0:T.styles),v),suffix:ie,allowClear:he,className:xe(m,y,B,A,k,T==null?void 0:T.className),onChange:Q,addonBefore:h&&se.createElement(Rd,{form:!0,space:!0},h),addonAfter:f&&se.createElement(Rd,{form:!0,space:!0},f),classNames:Object.assign(Object.assign(Object.assign({},_),T==null?void 0:T.classNames),{input:xe({[`${O}-sm`]:N==="small",[`${O}-lg`]:N==="large",[`${O}-rtl`]:w==="rtl"},_==null?void 0:_.input,(n=T==null?void 0:T.classNames)===null||n===void 0?void 0:n.input,M),variant:xe({[`${O}-${pe}`]:le},Id(O,U)),affixWrapper:xe({[`${O}-affix-wrapper-sm`]:N==="small",[`${O}-affix-wrapper-lg`]:N==="large",[`${O}-affix-wrapper-rtl`]:w==="rtl"},M),wrapper:xe({[`${O}-group-rtl`]:w==="rtl"},M),groupWrapper:xe({[`${O}-group-wrapper-sm`]:N==="small",[`${O}-group-wrapper-lg`]:N==="large",[`${O}-group-wrapper-rtl`]:w==="rtl",[`${O}-group-wrapper-${pe}`]:le},Id(`${O}-group-wrapper`,U,W),M)})})))}),but=e=>{const{componentCls:t,paddingXS:n}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:n,"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}},yut=lr(["Input","OTP"],e=>{const t=Kn(e,v2(e));return[but(t)]},b2);var _ut=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{value:n,onChange:r,onActiveChange:i,index:o,mask:a}=e,s=_ut(e,["value","onChange","onActiveChange","index","mask"]),l=n&&typeof a=="string"?a:n,c=m=>{r(o,m.target.value)},u=p.useRef(null);p.useImperativeHandle(t,()=>u.current);const d=()=>{nr(()=>{var m;const g=(m=u.current)===null||m===void 0?void 0:m.input;document.activeElement===g&&g&&g.select()})},f=m=>{const{key:g,ctrlKey:v,metaKey:y}=m;g==="ArrowLeft"?i(o-1):g==="ArrowRight"?i(o+1):g==="z"&&(v||y)&&m.preventDefault(),d()},h=m=>{m.key==="Backspace"&&!n&&i(o-1),d()};return p.createElement(gD,Object.assign({type:a===!0?"password":"text"},s,{ref:u,value:l,onInput:c,onFocus:d,onKeyDown:f,onKeyUp:h,onMouseDown:d,onMouseUp:d}))});var Eut=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,length:r=6,size:i,defaultValue:o,value:a,onChange:s,formatter:l,variant:c,disabled:u,status:d,autoFocus:f,mask:h,type:m,onInput:g,inputMode:v}=e,y=Eut(e,["prefixCls","length","size","defaultValue","value","onChange","formatter","variant","disabled","status","autoFocus","mask","type","onInput","inputMode"]),{getPrefixCls:b,direction:_}=p.useContext(Xt),E=b("otp",n),C=xi(y,{aria:!0,data:!0,attr:!0}),S=ui(E),[w,T,O]=yut(E,S),x=Co(Z=>i??Z),A=p.useContext(oa),I=xh(A.status,d),M=p.useMemo(()=>Object.assign(Object.assign({},A),{status:I,hasFeedback:!1,feedbackIcon:null}),[A,I]),B=p.useRef(null),P=p.useRef({});p.useImperativeHandle(t,()=>({focus:()=>{var Z;(Z=P.current[0])===null||Z===void 0||Z.focus()},blur:()=>{var Z;for(let te=0;tel?l(Z):Z,[N,L]=p.useState(DR(k(o||"")));p.useEffect(()=>{a!==void 0&&L(DR(a))},[a]);const V=Yn(Z=>{L(Z),g&&g(Z),s&&Z.length===r&&Z.every(te=>te)&&Z.some((te,ae)=>N[ae]!==te)&&s(Z.join(""))}),$=Yn((Z,te)=>{let ae=nt(N);for(let Q=0;Q=0&&!ae[Q];Q-=1)ae.pop();const K=k(ae.map(Q=>Q||" ").join(""));return ae=DR(K).map((Q,ie)=>Q===" "&&!ae[ie]?ae[ie]:Q),ae}),W=(Z,te)=>{var ae;const K=$(Z,te),Q=Math.min(Z+te.length,r-1);Q!==Z&&K[Z]!==void 0&&((ae=P.current[Q])===null||ae===void 0||ae.focus()),V(K)},j=Z=>{var te;(te=P.current[Z])===null||te===void 0||te.focus()},U={variant:c,disabled:u,status:I,mask:h,type:m,inputMode:v};return w(p.createElement("div",Object.assign({},C,{ref:B,className:xe(E,{[`${E}-sm`]:x==="small",[`${E}-lg`]:x==="large",[`${E}-rtl`]:_==="rtl"},O,T)}),p.createElement(oa.Provider,{value:M},Array.from({length:r}).map((Z,te)=>{const ae=`otp-${te}`,K=N[te]||"";return p.createElement(Sut,Object.assign({ref:Q=>{P.current[te]=Q},key:ae,index:te,size:x,htmlSize:1,className:`${E}-input`,onChange:W,value:K,onActiveChange:j,autoFocus:te===0&&f},U))}))))});var wut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},Tut=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:wut}))},GTe=p.forwardRef(Tut),xut={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},Out=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:xut}))},OS=p.forwardRef(Out),Rut=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ie?p.createElement(OS,null):p.createElement(GTe,null),Aut={click:"onClick",hover:"onMouseOver"},Nut=p.forwardRef((e,t)=>{const{disabled:n,action:r="click",visibilityToggle:i=!0,iconRender:o=Iut}=e,a=p.useContext(Wo),s=n??a,l=typeof i=="object"&&i.visible!==void 0,[c,u]=p.useState(()=>l?i.visible:!1),d=p.useRef(null);p.useEffect(()=>{l&&u(i.visible)},[l,i]);const f=VTe(d),h=()=>{var x;if(s)return;c&&f();const A=!c;u(A),typeof i=="object"&&((x=i.onVisibleChange)===null||x===void 0||x.call(i,A))},m=x=>{const A=Aut[r]||"",I=o(c),M={[A]:h,className:`${x}-icon`,key:"passwordIcon",onMouseDown:B=>{B.preventDefault()},onMouseUp:B=>{B.preventDefault()}};return p.cloneElement(p.isValidElement(I)?I:p.createElement("span",null,I),M)},{className:g,prefixCls:v,inputPrefixCls:y,size:b}=e,_=Rut(e,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:E}=p.useContext(Xt),C=E("input",y),S=E("input-password",v),w=i&&m(S),T=xe(S,g,{[`${S}-${b}`]:!!b}),O=Object.assign(Object.assign({},ur(_,["suffix","iconRender","visibilityToggle"])),{type:c?"text":"password",className:T,prefixCls:C,suffix:w});return b&&(O.size=b),p.createElement(gD,Object.assign({ref:aa(t,d)},O))});var Mut=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,inputPrefixCls:r,className:i,size:o,suffix:a,enterButton:s=!1,addonAfter:l,loading:c,disabled:u,onSearch:d,onChange:f,onCompositionStart:h,onCompositionEnd:m}=e,g=Mut(e,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:v,direction:y}=p.useContext(Xt),b=p.useRef(!1),_=v("input-search",n),E=v("input",r),{compactSize:C}=Fd(_,y),S=Co(W=>{var j;return(j=o??C)!==null&&j!==void 0?j:W}),w=p.useRef(null),T=W=>{W!=null&&W.target&&W.type==="click"&&d&&d(W.target.value,W,{source:"clear"}),f==null||f(W)},O=W=>{var j;document.activeElement===((j=w.current)===null||j===void 0?void 0:j.input)&&W.preventDefault()},x=W=>{var j,U;d&&d((U=(j=w.current)===null||j===void 0?void 0:j.input)===null||U===void 0?void 0:U.value,W,{source:"input"})},A=W=>{b.current||c||x(W)},I=typeof s=="boolean"?p.createElement(K5,null):null,M=`${_}-button`;let B;const P=s||{},k=P.type&&P.type.__ANT_BUTTON===!0;k||P.type==="button"?B=Eo(P,Object.assign({onMouseDown:O,onClick:W=>{var j,U;(U=(j=P==null?void 0:P.props)===null||j===void 0?void 0:j.onClick)===null||U===void 0||U.call(j,W),x(W)},key:"enterButton"},k?{className:M,size:S}:{})):B=p.createElement($n,{className:M,type:s?"primary":void 0,size:S,disabled:u,key:"enterButton",onMouseDown:O,onClick:x,loading:c,icon:I},s),l&&(B=[B,Eo(l,{key:"addonAfter"})]);const N=xe(_,{[`${_}-rtl`]:y==="rtl",[`${_}-${S}`]:!!S,[`${_}-with-button`]:!!s},i),L=Object.assign(Object.assign({},g),{className:N,prefixCls:E,type:"search"}),V=W=>{b.current=!0,h==null||h(W)},$=W=>{b.current=!1,m==null||m(W)};return p.createElement(gD,Object.assign({ref:aa(w,t),onPressEnter:A},L,{size:S,onCompositionStart:V,onCompositionEnd:$,addonAfter:B,suffix:a,onChange:T,disabled:u}))});var Put=` min-height:0 !important; max-height:none !important; height:0 !important; @@ -414,7 +414,7 @@ html body { `]:{backgroundColor:e.colorBgElevated,borderColor:e.trackBgDisabled,boxShadow:"none",cursor:"not-allowed"},[`${t}-handle::after`]:{backgroundColor:e.colorBgElevated,cursor:"not-allowed",width:u,height:u,boxShadow:`0 0 0 ${Ae(m)} ${l}`,insetInlineStart:0,insetBlockStart:0},[` ${t}-mark-text, ${t}-dot - `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},KTe=(e,t)=>{const{componentCls:n,railSize:r,handleSize:i,dotSize:o,marginFull:a,calc:s}=e,l=t?"paddingBlock":"paddingInline",c=t?"width":"height",u=t?"height":"width",d=t?"insetBlockStart":"insetInlineStart",f=t?"top":"insetInlineStart",h=s(r).mul(3).sub(i).div(2).equal(),m=s(i).sub(r).div(2).equal(),g=t?{borderWidth:`${Ae(m)} 0`,transform:`translateY(${Ae(s(m).mul(-1).equal())})`}:{borderWidth:`0 ${Ae(m)}`,transform:`translateX(${Ae(e.calc(m).mul(-1).equal())})`};return{[l]:r,[u]:s(r).mul(3).equal(),[`${n}-rail`]:{[c]:"100%",[u]:r},[`${n}-track,${n}-tracks`]:{[u]:r},[`${n}-track-draggable`]:Object.assign({},g),[`${n}-handle`]:{[d]:h},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:s(r).mul(3).add(t?0:a).equal(),[c]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[c]:"100%",[u]:r},[`${n}-dot`]:{position:"absolute",[d]:s(r).sub(o).div(2).equal()}}},udt=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},KTe(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},ddt=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},KTe(e,!1)),{height:"100%"})}},fdt=e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,i=e.lineWidth+1,o=e.lineWidth+1*1.5,a=e.colorPrimary,s=new rr(a).setA(.2).toRgbString();return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:i,handleLineWidthHover:o,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:a,handleActiveOutlineColor:s,handleColorDisabled:new rr(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},pdt=lr("Slider",e=>{const t=Kn(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[cdt(t),udt(t),ddt(t)]},fdt);function d$(){const[e,t]=p.useState(!1),n=p.useRef(null),r=()=>{nr.cancel(n.current)},i=o=>{r(),o?t(o):n.current=nr(()=>{t(o)})};return p.useEffect(()=>r,[]),[e,i]}var hdt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);itypeof n=="number"?n.toString():""}const QTe=se.forwardRef((e,t)=>{var n,r,i,o,a,s,l,c,u,d;const{prefixCls:f,range:h,className:m,rootClassName:g,style:v,disabled:y,tooltipPrefixCls:b,tipFormatter:_,tooltipVisible:E,getTooltipPopupContainer:C,tooltipPlacement:S,tooltip:w={},onChangeComplete:T,classNames:O,styles:x}=e,A=hdt(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete","classNames","styles"]),{vertical:I}=e,{direction:M,slider:B,getPrefixCls:P,getPopupContainer:k}=se.useContext(Xt),N=se.useContext(Wo),L=y??N,{handleRender:V,direction:$}=se.useContext(YTe),j=($||M)==="rtl",[U,Z]=d$(),[te,ae]=d$(),K=Object.assign({},w),{open:Q,placement:ie,getPopupContainer:he,prefixCls:pe,formatter:le}=K,de=Q??E,ve=(U||te)&&de!==!1,ne=mdt(le,_),[ue,ge]=d$(),Ce=ce=>{T==null||T(ce),ge(!1)},Te=(ce,Be)=>ce||(Be?j?"left":"right":"top"),Se=P("slider",f),[me,be,_e]=pdt(Se),Re=xe(m,B==null?void 0:B.className,(n=B==null?void 0:B.classNames)===null||n===void 0?void 0:n.root,O==null?void 0:O.root,g,{[`${Se}-rtl`]:j,[`${Se}-lock`]:ue},be,_e);j&&!A.vertical&&(A.reverse=!A.reverse),se.useEffect(()=>{const ce=()=>{nr(()=>{ae(!1)},1)};return document.addEventListener("mouseup",ce),()=>{document.removeEventListener("mouseup",ce)}},[]);const De=h&&!de,z=V||((ce,Be)=>{const{index:Ve}=Be,re=ce.props;function Me(Ue,qe,At){var at,pt,Ct,bt;At&&((pt=(at=A)[Ue])===null||pt===void 0||pt.call(at,qe)),(bt=(Ct=re)[Ue])===null||bt===void 0||bt.call(Ct,qe)}const je=Object.assign(Object.assign({},re),{onMouseEnter:Ue=>{Z(!0),Me("onMouseEnter",Ue)},onMouseLeave:Ue=>{Z(!1),Me("onMouseLeave",Ue)},onMouseDown:Ue=>{ae(!0),ge(!0),Me("onMouseDown",Ue)},onFocus:Ue=>{var qe;ae(!0),(qe=A.onFocus)===null||qe===void 0||qe.call(A,Ue),Me("onFocus",Ue,!0)},onBlur:Ue=>{var qe;ae(!1),(qe=A.onBlur)===null||qe===void 0||qe.call(A,Ue),Me("onBlur",Ue,!0)}}),ke=se.cloneElement(ce,je),Ge=(!!de||ve)&&ne!==null;return De?ke:se.createElement(Yie,Object.assign({},K,{prefixCls:P("tooltip",pe??b),title:ne?ne(Be.value):"",open:Ge,placement:Te(ie??S,I),key:Ve,classNames:{root:`${Se}-tooltip`},getPopupContainer:he||C||k}),ke)}),D=De?(ce,Be)=>{const Ve=se.cloneElement(ce,{style:Object.assign(Object.assign({},ce.props.style),{visibility:"hidden"})});return se.createElement(Yie,Object.assign({},K,{prefixCls:P("tooltip",pe??b),title:ne?ne(Be.value):"",open:ne!==null&&ve,placement:Te(ie??S,I),key:"tooltip",classNames:{root:`${Se}-tooltip`},getPopupContainer:he||C||k,draggingDelete:Be.draggingDelete}),Ve)}:void 0,q=Object.assign(Object.assign(Object.assign(Object.assign({},(r=B==null?void 0:B.styles)===null||r===void 0?void 0:r.root),B==null?void 0:B.style),x==null?void 0:x.root),v),oe=Object.assign(Object.assign({},(i=B==null?void 0:B.styles)===null||i===void 0?void 0:i.tracks),x==null?void 0:x.tracks),ye=xe((o=B==null?void 0:B.classNames)===null||o===void 0?void 0:o.tracks,O==null?void 0:O.tracks);return me(se.createElement(ldt,Object.assign({},A,{classNames:Object.assign({handle:xe((a=B==null?void 0:B.classNames)===null||a===void 0?void 0:a.handle,O==null?void 0:O.handle),rail:xe((s=B==null?void 0:B.classNames)===null||s===void 0?void 0:s.rail,O==null?void 0:O.rail),track:xe((l=B==null?void 0:B.classNames)===null||l===void 0?void 0:l.track,O==null?void 0:O.track)},ye?{tracks:ye}:{}),styles:Object.assign({handle:Object.assign(Object.assign({},(c=B==null?void 0:B.styles)===null||c===void 0?void 0:c.handle),x==null?void 0:x.handle),rail:Object.assign(Object.assign({},(u=B==null?void 0:B.styles)===null||u===void 0?void 0:u.rail),x==null?void 0:x.rail),track:Object.assign(Object.assign({},(d=B==null?void 0:B.styles)===null||d===void 0?void 0:d.track),x==null?void 0:x.track)},Object.keys(oe).length?{tracks:oe}:{}),step:A.step,range:h,className:Re,style:q,disabled:L,ref:t,prefixCls:Se,handleRender:z,activeHandleRender:D,onChangeComplete:Ce})))});var gdt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,colors:n,type:r,color:i,range:o=!1,className:a,activeIndex:s,onActive:l,onDragStart:c,onDragChange:u,onKeyDelete:d}=e,f=gdt(e,["prefixCls","colors","type","color","range","className","activeIndex","onActive","onDragStart","onDragChange","onKeyDelete"]),h=Object.assign(Object.assign({},f),{track:!1}),m=p.useMemo(()=>`linear-gradient(90deg, ${n.map(S=>`${S.color} ${S.percent}%`).join(", ")})`,[n]),g=p.useMemo(()=>!i||!r?null:r==="alpha"?i.toRgbString():`hsl(${i.toHsb().h}, 100%, 50%)`,[i,r]),v=Yn(c),y=Yn(u),b=p.useMemo(()=>({onDragStart:v,onDragChange:y}),[]),_=Yn((C,S)=>{const{onFocus:w,style:T,className:O,onKeyDown:x}=C.props,A=Object.assign({},T);return r==="gradient"&&(A.background=pEe(n,S.value)),p.cloneElement(C,{onFocus:I=>{l==null||l(S.index),w==null||w(I)},style:A,className:xe(O,{[`${t}-slider-handle-active`]:s===S.index}),onKeyDown:I=>{(I.key==="Delete"||I.key==="Backspace")&&d&&d(S.index),x==null||x(I)}})}),E=p.useMemo(()=>({direction:"ltr",handleRender:_}),[]);return p.createElement(YTe.Provider,{value:E},p.createElement(qTe.Provider,{value:b},p.createElement(QTe,Object.assign({},h,{className:xe(a,`${t}-slider`),tooltip:{open:!1},range:{editable:o,minCount:2},styles:{rail:{background:m},handle:g?{background:g}:{}},classNames:{rail:`${t}-slider-rail`,handle:`${t}-slider-handle`}}))))},vdt=e=>{const{value:t,onChange:n,onChangeComplete:r}=e,i=a=>n(a[0]),o=a=>r(a[0]);return p.createElement(XTe,Object.assign({},e,{value:[t],onChange:i,onChangeComplete:o}))};function Kie(e){return nt(e).sort((t,n)=>t.percent-n.percent)}const bdt=e=>{const{prefixCls:t,mode:n,onChange:r,onChangeComplete:i,onActive:o,activeIndex:a,onGradientDragging:s,colors:l}=e,c=n==="gradient",u=p.useMemo(()=>l.map(y=>({percent:y.percent,color:y.color.toRgbString()})),[l]),d=p.useMemo(()=>u.map(y=>y.percent),[u]),f=p.useRef(u),h=y=>{let{rawValues:b,draggingIndex:_,draggingValue:E}=y;if(b.length>u.length){const C=pEe(u,E),S=nt(u);S.splice(_,0,{percent:E,color:C}),f.current=S}else f.current=u;s(!0),r(new pc(Kie(f.current)),!0)},m=y=>{let{deleteIndex:b,draggingIndex:_,draggingValue:E}=y,C=nt(f.current);b!==-1?C.splice(b,1):(C[_]=Object.assign(Object.assign({},C[_]),{percent:E}),C=Kie(C)),r(new pc(C),!0)},g=y=>{const b=nt(u);b.splice(y,1);const _=new pc(b);r(_),i(_)},v=y=>{i(new pc(u)),a>=y.length&&o(y.length-1),s(!1)};return c?p.createElement(XTe,{min:0,max:100,prefixCls:t,className:`${t}-gradient-slider`,colors:u,color:null,value:d,range:!0,onChangeComplete:v,disabled:!1,type:"gradient",activeIndex:a,onActive:o,onDragStart:h,onDragChange:m,onKeyDelete:g}):null},ydt=p.memo(bdt);var _dt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const e=p.useContext($Te),{mode:t,onModeChange:n,modeOptions:r,prefixCls:i,allowClear:o,value:a,disabledAlpha:s,onChange:l,onClear:c,onChangeComplete:u,activeIndex:d,gradientDragging:f}=e,h=_dt(e,["mode","onModeChange","modeOptions","prefixCls","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete","activeIndex","gradientDragging"]),m=se.useMemo(()=>a.cleared?[{percent:0,color:new pc("")},{percent:100,color:new pc("")}]:a.getColors(),[a]),g=!a.isGradient(),[v,y]=se.useState(a);ar(()=>{var B;g||y((B=m[d])===null||B===void 0?void 0:B.color)},[f,d]);const b=se.useMemo(()=>{var B;return g?a:f?v:(B=m[d])===null||B===void 0?void 0:B.color},[a,d,g,v,f]),[_,E]=se.useState(b),[C,S]=se.useState(0),w=_!=null&&_.equals(b)?b:_;ar(()=>{E(b)},[C,b==null?void 0:b.toHexString()]);const T=(B,P)=>{let k=Ns(B);if(a.cleared){const L=k.toRgb();if(!L.r&&!L.g&&!L.b&&P){const{type:V,value:$=0}=P;k=new pc({h:V==="hue"?$:0,s:1,b:1,a:V==="alpha"?$/100:1})}else k=FA(k)}if(t==="single")return k;const N=nt(m);return N[d]=Object.assign(Object.assign({},N[d]),{color:k}),new pc(N)},O=(B,P,k)=>{const N=T(B,k);E(N.isGradient()?N.getColors()[d].color:N),l(N,P)},x=(B,P)=>{u(T(B,P)),S(k=>k+1)},A=B=>{l(T(B))};let I=null;const M=r.length>1;return(o||M)&&(I=se.createElement("div",{className:`${i}-operation`},M&&se.createElement(LTe,{size:"small",options:r,value:t,onChange:n}),se.createElement(BTe,Object.assign({prefixCls:i,value:a,onChange:B=>{l(B),c==null||c()}},h)))),se.createElement(se.Fragment,null,I,se.createElement(ydt,Object.assign({},e,{colors:m})),se.createElement(NXe,{prefixCls:i,value:w==null?void 0:w.toHsb(),disabledAlpha:s,onChange:(B,P)=>{O(B,!0,P)},onChangeComplete:(B,P)=>{x(B,P)},components:Sdt}),se.createElement(Kut,Object.assign({value:b,onChange:A,prefixCls:i,disabledAlpha:s},h)))},Xie=()=>{const{prefixCls:e,value:t,presets:n,onChange:r}=p.useContext(FTe);return Array.isArray(n)?se.createElement(TZe,{value:t,presets:n,prefixCls:e,onChange:r}):null},Edt=e=>{const{prefixCls:t,presets:n,panelRender:r,value:i,onChange:o,onClear:a,allowClear:s,disabledAlpha:l,mode:c,onModeChange:u,modeOptions:d,onChangeComplete:f,activeIndex:h,onActive:m,format:g,onFormatChange:v,gradientDragging:y,onGradientDragging:b,disabledFormat:_}=e,E=`${t}-inner`,C=se.useMemo(()=>({prefixCls:t,value:i,onChange:o,onClear:a,allowClear:s,disabledAlpha:l,mode:c,onModeChange:u,modeOptions:d,onChangeComplete:f,activeIndex:h,onActive:m,format:g,onFormatChange:v,gradientDragging:y,onGradientDragging:b,disabledFormat:_}),[t,i,o,a,s,l,c,u,d,f,h,m,g,v,y,b,_]),S=se.useMemo(()=>({prefixCls:t,value:i,presets:n,onChange:o}),[t,i,n,o]),w=se.createElement("div",{className:`${E}-content`},se.createElement(Qie,null),Array.isArray(n)&&se.createElement(Oct,null),se.createElement(Xie,null));return se.createElement($Te.Provider,{value:C},se.createElement(FTe.Provider,{value:S},se.createElement("div",{className:E},typeof r=="function"?r(w,{components:{Picker:Qie,Presets:Xie}}):w)))};var Cdt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{color:n,prefixCls:r,open:i,disabled:o,format:a,className:s,showText:l,activeIndex:c}=e,u=Cdt(e,["color","prefixCls","open","disabled","format","className","showText","activeIndex"]),d=`${r}-trigger`,f=`${d}-text`,h=`${f}-cell`,[m]=ds("ColorPicker"),g=se.useMemo(()=>{if(!l)return"";if(typeof l=="function")return l(n);if(n.cleared)return m.transparent;if(n.isGradient())return n.getColors().map((_,E)=>{const C=c!==-1&&c!==E;return se.createElement("span",{key:E,className:xe(h,C&&`${h}-inactive`)},_.color.toRgbString()," ",_.percent,"%")});const y=n.toHexString().toUpperCase(),b=Nq(n);switch(a){case"rgb":return n.toRgbString();case"hsb":return n.toHsbString();default:return b<100?`${y.slice(0,7)},${b}%`:y}},[n,a,l,c]),v=p.useMemo(()=>n.cleared?se.createElement(BTe,{prefixCls:r}):se.createElement(Oq,{prefixCls:r,color:n.toCssString()}),[n,r]);return se.createElement("div",Object.assign({ref:t,className:xe(d,s,{[`${d}-active`]:i,[`${d}-disabled`]:o})},xi(u)),v,l&&se.createElement("div",{className:f},g))});function Tdt(e,t,n){const[r]=ds("ColorPicker"),[i,o]=Pn(e,{value:t}),[a,s]=p.useState("single"),[l,c]=p.useMemo(()=>{const g=(Array.isArray(n)?n:[n]).filter(_=>_);g.length||g.push("single");const v=new Set(g),y=[],b=(_,E)=>{v.has(_)&&y.push({label:E,value:_})};return b("single",r.singleColor),b("gradient",r.gradientColor),[y,v]},[n]),[u,d]=p.useState(null),f=Yn(g=>{d(g),o(g)}),h=p.useMemo(()=>{const g=Ns(i||"");return g.equals(u)?u:g},[i,u]),m=p.useMemo(()=>{var g;return c.has(a)?a:(g=l[0])===null||g===void 0?void 0:g.value},[c,a,l]);return p.useEffect(()=>{s(h.isGradient()?"gradient":"single")},[h]),[h,f,m,s,l]}const ZTe=(e,t)=>({backgroundImage:`conic-gradient(${t} 0 25%, transparent 0 50%, ${t} 0 75%, transparent 0)`,backgroundSize:`${e} ${e}`}),Zie=(e,t)=>{const{componentCls:n,borderRadiusSM:r,colorPickerInsetShadow:i,lineWidth:o,colorFillSecondary:a}=e;return{[`${n}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:r,width:t,height:t,boxShadow:i,flex:"none"},ZTe("50%",e.colorFillSecondary)),{[`${n}-color-block-inner`]:{width:"100%",height:"100%",boxShadow:`inset 0 0 0 ${Ae(o)} ${a}`,borderRadius:"inherit"}})}},xdt=e=>{const{componentCls:t,antCls:n,fontSizeSM:r,lineHeightSM:i,colorPickerAlphaInputWidth:o,marginXXS:a,paddingXXS:s,controlHeightSM:l,marginXS:c,fontSizeIcon:u,paddingXS:d,colorTextPlaceholder:f,colorPickerInputNumberHandleWidth:h,lineWidth:m}=e;return{[`${t}-input-container`]:{display:"flex",[`${t}-steppers${n}-input-number`]:{fontSize:r,lineHeight:i,[`${n}-input-number-input`]:{paddingInlineStart:s,paddingInlineEnd:0},[`${n}-input-number-handler-wrap`]:{width:h}},[`${t}-steppers${t}-alpha-input`]:{flex:`0 0 ${Ae(o)}`,marginInlineStart:a},[`${t}-format-select${n}-select`]:{marginInlineEnd:c,width:"auto","&-single":{[`${n}-select-selector`]:{padding:0,border:0},[`${n}-select-arrow`]:{insetInlineEnd:0},[`${n}-select-selection-item`]:{paddingInlineEnd:e.calc(u).add(a).equal(),fontSize:r,lineHeight:Ae(l)},[`${n}-select-item-option-content`]:{fontSize:r,lineHeight:i},[`${n}-select-dropdown`]:{[`${n}-select-item`]:{minHeight:"auto"}}}},[`${t}-input`]:{gap:a,alignItems:"center",flex:1,width:0,[`${t}-hsb-input,${t}-rgb-input`]:{display:"flex",gap:a,alignItems:"center"},[`${t}-steppers`]:{flex:1},[`${t}-hex-input${n}-input-affix-wrapper`]:{flex:1,padding:`0 ${Ae(d)}`,[`${n}-input`]:{fontSize:r,textTransform:"uppercase",lineHeight:Ae(e.calc(l).sub(e.calc(m).mul(2)).equal())},[`${n}-input-prefix`]:{color:f}}}}}},Odt=e=>{const{componentCls:t,controlHeightLG:n,borderRadiusSM:r,colorPickerInsetShadow:i,marginSM:o,colorBgElevated:a,colorFillSecondary:s,lineWidthBold:l,colorPickerHandlerSize:c}=e;return{userSelect:"none",[`${t}-select`]:{[`${t}-palette`]:{minHeight:e.calc(n).mul(4).equal(),overflow:"hidden",borderRadius:r},[`${t}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:i,inset:0},marginBottom:o},[`${t}-handler`]:{width:c,height:c,border:`${Ae(l)} solid ${a}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${i}, 0 0 0 1px ${s}`}}},Rdt=e=>{const{componentCls:t,antCls:n,colorTextQuaternary:r,paddingXXS:i,colorPickerPresetColorSize:o,fontSizeSM:a,colorText:s,lineHeightSM:l,lineWidth:c,borderRadius:u,colorFill:d,colorWhite:f,marginXXS:h,paddingXS:m,fontHeightSM:g}=e;return{[`${t}-presets`]:{[`${n}-collapse-item > ${n}-collapse-header`]:{padding:0,[`${n}-collapse-expand-icon`]:{height:g,color:r,paddingInlineEnd:i}},[`${n}-collapse`]:{display:"flex",flexDirection:"column",gap:h},[`${n}-collapse-item > ${n}-collapse-content > ${n}-collapse-content-box`]:{padding:`${Ae(m)} 0`},"&-label":{fontSize:a,color:s,lineHeight:l},"&-items":{display:"flex",flexWrap:"wrap",gap:e.calc(h).mul(1.5).equal(),[`${t}-presets-color`]:{position:"relative",cursor:"pointer",width:o,height:o,"&::before":{content:'""',pointerEvents:"none",width:e.calc(o).add(e.calc(c).mul(4)).equal(),height:e.calc(o).add(e.calc(c).mul(4)).equal(),position:"absolute",top:e.calc(c).mul(-2).equal(),insetInlineStart:e.calc(c).mul(-2).equal(),borderRadius:u,border:`${Ae(c)} solid transparent`,transition:`border-color ${e.motionDurationMid} ${e.motionEaseInBack}`},"&:hover::before":{borderColor:d},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.calc(o).div(13).mul(5).equal(),height:e.calc(o).div(13).mul(8).equal(),border:`${Ae(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`},[`&${t}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:f,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`},[`&${t}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:a,color:r}}}},Idt=e=>{const{componentCls:t,colorPickerInsetShadow:n,colorBgElevated:r,colorFillSecondary:i,lineWidthBold:o,colorPickerHandlerSizeSM:a,colorPickerSliderHeight:s,marginSM:l,marginXS:c}=e,u=e.calc(a).sub(e.calc(o).mul(2).equal()).equal(),d=e.calc(a).add(e.calc(o).mul(2).equal()).equal(),f={"&:after":{transform:"scale(1)",boxShadow:`${n}, 0 0 0 1px ${e.colorPrimaryActive}`}};return{[`${t}-slider`]:[ZTe(Ae(s),e.colorFillSecondary),{margin:0,padding:0,height:s,borderRadius:e.calc(s).div(2).equal(),"&-rail":{height:s,borderRadius:e.calc(s).div(2).equal(),boxShadow:n},[`& ${t}-slider-handle`]:{width:u,height:u,top:0,borderRadius:"100%","&:before":{display:"block",position:"absolute",background:"transparent",left:{_skip_check_:!0,value:"50%"},top:"50%",transform:"translate(-50%, -50%)",width:d,height:d,borderRadius:"100%"},"&:after":{width:a,height:a,border:`${Ae(o)} solid ${r}`,boxShadow:`${n}, 0 0 0 1px ${i}`,outline:"none",insetInlineStart:e.calc(o).mul(-1).equal(),top:e.calc(o).mul(-1).equal(),background:"transparent",transition:"none"},"&:focus":f}}],[`${t}-slider-container`]:{display:"flex",gap:l,marginBottom:l,[`${t}-slider-group`]:{flex:1,flexDirection:"column",justifyContent:"space-between",display:"flex","&-disabled-alpha":{justifyContent:"center"}}},[`${t}-gradient-slider`]:{marginBottom:c,[`& ${t}-slider-handle`]:{"&:after":{transform:"scale(0.8)"},"&-active, &:focus":f}}}},iU=(e,t,n)=>({borderInlineEndWidth:e.lineWidth,borderColor:t,boxShadow:`0 0 0 ${Ae(e.controlOutlineWidth)} ${n}`,outline:0}),Adt=e=>{const{componentCls:t}=e;return{"&-rtl":{[`${t}-presets-color`]:{"&::after":{direction:"ltr"}},[`${t}-clear`]:{"&::after":{direction:"ltr"}}}}},Jie=(e,t,n)=>{const{componentCls:r,borderRadiusSM:i,lineWidth:o,colorSplit:a,colorBorder:s,red6:l}=e;return{[`${r}-clear`]:Object.assign(Object.assign({width:t,height:t,borderRadius:i,border:`${Ae(o)} solid ${a}`,position:"relative",overflow:"hidden",cursor:"inherit",transition:`all ${e.motionDurationFast}`},n),{"&::after":{content:'""',position:"absolute",insetInlineEnd:e.calc(o).mul(-1).equal(),top:e.calc(o).mul(-1).equal(),display:"block",width:40,height:2,transformOrigin:"calc(100% - 1px) 1px",transform:"rotate(-45deg)",backgroundColor:l},"&:hover":{borderColor:s}})}},Ndt=e=>{const{componentCls:t,colorError:n,colorWarning:r,colorErrorHover:i,colorWarningHover:o,colorErrorOutline:a,colorWarningOutline:s}=e;return{[`&${t}-status-error`]:{borderColor:n,"&:hover":{borderColor:i},[`&${t}-trigger-active`]:Object.assign({},iU(e,n,a))},[`&${t}-status-warning`]:{borderColor:r,"&:hover":{borderColor:o},[`&${t}-trigger-active`]:Object.assign({},iU(e,r,s))}}},Mdt=e=>{const{componentCls:t,controlHeightLG:n,controlHeightSM:r,controlHeight:i,controlHeightXS:o,borderRadius:a,borderRadiusSM:s,borderRadiusXS:l,borderRadiusLG:c,fontSizeLG:u}=e;return{[`&${t}-lg`]:{minWidth:n,minHeight:n,borderRadius:c,[`${t}-color-block, ${t}-clear`]:{width:i,height:i,borderRadius:a},[`${t}-trigger-text`]:{fontSize:u}},[`&${t}-sm`]:{minWidth:r,minHeight:r,borderRadius:s,[`${t}-color-block, ${t}-clear`]:{width:o,height:o,borderRadius:l},[`${t}-trigger-text`]:{lineHeight:Ae(o)}}}},kdt=e=>{const{antCls:t,componentCls:n,colorPickerWidth:r,colorPrimary:i,motionDurationMid:o,colorBgElevated:a,colorTextDisabled:s,colorText:l,colorBgContainerDisabled:c,borderRadius:u,marginXS:d,marginSM:f,controlHeight:h,controlHeightSM:m,colorBgTextActive:g,colorPickerPresetColorSize:v,colorPickerPreviewSize:y,lineWidth:b,colorBorder:_,paddingXXS:E,fontSize:C,colorPrimaryHover:S,controlOutline:w}=e;return[{[n]:Object.assign({[`${n}-inner`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"&-content":{display:"flex",flexDirection:"column",width:r,[`& > ${t}-divider`]:{margin:`${Ae(f)} 0 ${Ae(d)}`}},[`${n}-panel`]:Object.assign({},Odt(e))},Idt(e)),Zie(e,y)),xdt(e)),Rdt(e)),Jie(e,v,{marginInlineStart:"auto"})),{[`${n}-operation`]:{display:"flex",justifyContent:"space-between",marginBottom:d}}),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:h,minHeight:h,borderRadius:u,border:`${Ae(b)} solid ${_}`,cursor:"pointer",display:"inline-flex",alignItems:"flex-start",justifyContent:"center",transition:`all ${o}`,background:a,padding:e.calc(E).sub(b).equal(),[`${n}-trigger-text`]:{marginInlineStart:d,marginInlineEnd:e.calc(d).sub(e.calc(E).sub(b)).equal(),fontSize:C,color:l,alignSelf:"center","&-cell":{"&:not(:last-child):after":{content:'", "'},"&-inactive":{color:s}}},"&:hover":{borderColor:S},[`&${n}-trigger-active`]:Object.assign({},iU(e,i,w)),"&-disabled":{color:s,background:c,cursor:"not-allowed","&:hover":{borderColor:g},[`${n}-trigger-text`]:{color:s}}},Jie(e,m)),Zie(e,m)),Ndt(e)),Mdt(e))},Adt(e))},E0(e,{focusElCls:`${n}-trigger-active`})]},Pdt=lr("ColorPicker",e=>{const{colorTextQuaternary:t,marginSM:n}=e,r=8,i=Kn(e,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:24,colorPickerInsetShadow:`inset 0 0 1px 0 ${t}`,colorPickerSliderHeight:r,colorPickerPreviewSize:e.calc(r).mul(2).add(n).equal()});return[kdt(i)]});var Ddt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{mode:t,value:n,defaultValue:r,format:i,defaultFormat:o,allowClear:a=!1,presets:s,children:l,trigger:c="click",open:u,disabled:d,placement:f="bottomLeft",arrow:h=!0,panelRender:m,showText:g,style:v,className:y,size:b,rootClassName:_,prefixCls:E,styles:C,disabledAlpha:S=!1,onFormatChange:w,onChange:T,onClear:O,onOpenChange:x,onChangeComplete:A,getPopupContainer:I,autoAdjustOverflow:M=!0,destroyTooltipOnHide:B,disabledFormat:P}=e,k=Ddt(e,["mode","value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","prefixCls","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide","disabledFormat"]),{getPrefixCls:N,direction:L,colorPicker:V}=p.useContext(Xt),$=p.useContext(Wo),W=d??$,[j,U]=Pn(!1,{value:u,postState:je=>!W&&je,onChange:x}),[Z,te]=Pn(i,{value:i,defaultValue:o,onChange:w}),ae=N("color-picker",E),[K,Q,ie,he,pe]=Tdt(r,n,t),le=p.useMemo(()=>Nq(K)<100,[K]),[de,ve]=se.useState(null),ne=je=>{if(A){let ke=Ns(je);S&&le&&(ke=FA(je)),A(ke)}},ue=(je,ke)=>{let Ge=Ns(je);S&&le&&(Ge=FA(Ge)),Q(Ge),ve(null),T&&T(Ge,Ge.toCssString()),ke||ne(Ge)},[ge,Ce]=se.useState(0),[Te,Se]=se.useState(!1),me=je=>{if(he(je),je==="single"&&K.isGradient())Ce(0),ue(new pc(K.getColors()[0].color)),ve(K);else if(je==="gradient"&&!K.isGradient()){const ke=le?FA(K):K;ue(new pc(de||[{percent:0,color:ke},{percent:100,color:ke}]))}},{status:be}=se.useContext(oa),{compactSize:_e,compactItemClassnames:Re}=Fd(ae,L),De=Co(je=>{var ke;return(ke=b??_e)!==null&&ke!==void 0?ke:je}),z=ui(ae),[D,q,oe]=Pdt(ae,z),ye={[`${ae}-rtl`]:L},ce=xe(_,oe,z,ye),Be=xe(Id(ae,be),{[`${ae}-sm`]:De==="small",[`${ae}-lg`]:De==="large"},Re,V==null?void 0:V.className,ce,y,q),Ve=xe(ae,ce),re={open:j,trigger:c,placement:f,arrow:h,rootClassName:_,getPopupContainer:I,autoAdjustOverflow:M,destroyTooltipOnHide:B},Me=Object.assign(Object.assign({},V==null?void 0:V.style),v);return D(se.createElement(yu,Object.assign({style:C==null?void 0:C.popup,styles:{body:C==null?void 0:C.popupOverlayInner},onOpenChange:je=>{(!je||!W)&&U(je)},content:se.createElement(Rd,{form:!0},se.createElement(Edt,{mode:ie,onModeChange:me,modeOptions:pe,prefixCls:ae,value:K,allowClear:a,disabled:W,disabledAlpha:S,presets:s,panelRender:m,format:Z,onFormatChange:te,onChange:ue,onChangeComplete:ne,onClear:O,activeIndex:ge,onActive:Ce,gradientDragging:Te,onGradientDragging:Se,disabledFormat:P})),classNames:{root:Ve}},re),l||se.createElement(wdt,Object.assign({activeIndex:j?ge:-1,open:j,className:Be,style:Me,prefixCls:ae,disabled:W,showText:g,format:Z},k,{color:K}))))},Ldt=Ng(AY,void 0,e=>Object.assign(Object.assign({},e),{placement:"bottom",autoAdjustOverflow:!1}),"color-picker",e=>e);AY._InternalPanelDoNotUseOrYouWillBeFired=Ldt;var $dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},Fdt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:$dt}))},JTe=p.forwardRef(Fdt),Bdt={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},jdt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Bdt}))},exe=p.forwardRef(jdt),Hdt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},Udt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Hdt}))},zdt=p.forwardRef(Udt);function Vdt(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function Gdt(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function txe(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:i}=QP(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[p.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),i]}const[Wdt,qdt]=["week","WeekPicker"],[Ydt,Kdt]=["month","MonthPicker"],[Qdt,Xdt]=["year","YearPicker"],[Zdt,Jdt]=["quarter","QuarterPicker"],[nxe,eoe]=["time","TimePicker"],eft=e=>p.createElement($n,Object.assign({size:"small",type:"primary"},e));function rxe(e){return p.useMemo(()=>Object.assign({button:eft},e),[e])}var tft=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ip.forwardRef((n,r)=>{var i;const{prefixCls:o,getPopupContainer:a,components:s,className:l,style:c,placement:u,size:d,disabled:f,bordered:h=!0,placeholder:m,popupClassName:g,dropdownClassName:v,status:y,rootClassName:b,variant:_,picker:E}=n,C=tft(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),S=p.useRef(null),{getPrefixCls:w,direction:T,getPopupContainer:O,rangePicker:x}=p.useContext(Xt),A=w("picker",o),{compactSize:I,compactItemClassnames:M}=Fd(A,T),B=w(),[P,k]=Oh("rangePicker",_,h),N=ui(A),[L,V,$]=oTe(A,N),[W]=txe(n,A),j=rxe(s),U=Co(ve=>{var ne;return(ne=d??I)!==null&&ne!==void 0?ne:ve}),Z=p.useContext(Wo),te=f??Z,ae=p.useContext(oa),{hasFeedback:K,status:Q,feedbackIcon:ie}=ae,he=p.createElement(p.Fragment,null,E===nxe?p.createElement(exe,null):p.createElement(JTe,null),K&&ie);p.useImperativeHandle(r,()=>S.current);const[pe]=ds("Calendar",bM),le=Object.assign(Object.assign({},pe),n.locale),[de]=Ru("DatePicker",(i=n.popupStyle)===null||i===void 0?void 0:i.zIndex);return L(p.createElement(Rd,{space:!0},p.createElement(Qat,Object.assign({separator:p.createElement("span",{"aria-label":"to",className:`${A}-separator`},p.createElement(zdt,null)),disabled:te,ref:S,placement:u,placeholder:Gdt(le,E,m),suffixIcon:he,prevIcon:p.createElement("span",{className:`${A}-prev-icon`}),nextIcon:p.createElement("span",{className:`${A}-next-icon`}),superPrevIcon:p.createElement("span",{className:`${A}-super-prev-icon`}),superNextIcon:p.createElement("span",{className:`${A}-super-next-icon`}),transitionName:`${B}-slide-up`,picker:E},C,{className:xe({[`${A}-${U}`]:U,[`${A}-${P}`]:k},Id(A,xh(Q,y),K),V,M,l,x==null?void 0:x.className,$,N,b),style:Object.assign(Object.assign({},x==null?void 0:x.style),c),locale:le.lang,prefixCls:A,getPopupContainer:a||O,generateConfig:e,components:j,direction:T,classNames:{popup:xe(V,g||v,$,N,b)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:de})},allowClear:W}))))});var rft=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const t=(l,c)=>{const u=c===eoe?"timePicker":"datePicker";return p.forwardRef((f,h)=>{var m;const{prefixCls:g,getPopupContainer:v,components:y,style:b,className:_,rootClassName:E,size:C,bordered:S,placement:w,placeholder:T,popupClassName:O,dropdownClassName:x,disabled:A,status:I,variant:M,onCalendarChange:B}=f,P=rft(f,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:k,direction:N,getPopupContainer:L,[u]:V}=p.useContext(Xt),$=k("picker",g),{compactSize:W,compactItemClassnames:j}=Fd($,N),U=p.useRef(null),[Z,te]=Oh("datePicker",M,S),ae=ui($),[K,Q,ie]=oTe($,ae);p.useImperativeHandle(h,()=>U.current);const he={showToday:!0},pe=l||f.picker,le=k(),{onSelect:de,multiple:ve}=P,ne=de&&l==="time"&&!ve,ue=(ce,Be,Ve)=>{B==null||B(ce,Be,Ve),ne&&de(ce)},[ge,Ce]=txe(f,$),Te=rxe(y),Se=Co(ce=>{var Be;return(Be=C??W)!==null&&Be!==void 0?Be:ce}),me=p.useContext(Wo),be=A??me,_e=p.useContext(oa),{hasFeedback:Re,status:De,feedbackIcon:z}=_e,D=p.createElement(p.Fragment,null,pe==="time"?p.createElement(exe,null):p.createElement(JTe,null),Re&&z),[q]=ds("DatePicker",bM),oe=Object.assign(Object.assign({},q),f.locale),[ye]=Ru("DatePicker",(m=f.popupStyle)===null||m===void 0?void 0:m.zIndex);return K(p.createElement(Rd,{space:!0},p.createElement(nst,Object.assign({ref:U,placeholder:Vdt(oe,pe,T),suffixIcon:D,placement:w,prevIcon:p.createElement("span",{className:`${$}-prev-icon`}),nextIcon:p.createElement("span",{className:`${$}-next-icon`}),superPrevIcon:p.createElement("span",{className:`${$}-super-prev-icon`}),superNextIcon:p.createElement("span",{className:`${$}-super-next-icon`}),transitionName:`${le}-slide-up`,picker:l,onCalendarChange:ue},he,P,{locale:oe.lang,className:xe({[`${$}-${Se}`]:Se,[`${$}-${Z}`]:te},Id($,xh(De,I),Re),Q,j,V==null?void 0:V.className,_,ie,ae,E),style:Object.assign(Object.assign({},V==null?void 0:V.style),b),prefixCls:$,getPopupContainer:v||L,generateConfig:e,components:Te,direction:N,disabled:be,classNames:{popup:xe(Q,ie,ae,E,O||x)},styles:{popup:Object.assign(Object.assign({},f.popupStyle),{zIndex:ye})},allowClear:ge,removeIcon:Ce}))))})},n=t(),r=t(Wdt,qdt),i=t(Ydt,Kdt),o=t(Qdt,Xdt),a=t(Zdt,Jdt),s=t(nxe,eoe);return{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:o,TimePicker:s,QuarterPicker:a}},ixe=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:i,TimePicker:o,QuarterPicker:a}=ift(e),s=nft(e),l=t;return l.WeekPicker=n,l.MonthPicker=r,l.YearPicker=i,l.RangePicker=s,l.TimePicker=o,l.QuarterPicker=a,l},_u=ixe(iat),oft=Ng(_u,"popupAlign",void 0,"picker");_u._InternalPanelDoNotUseOrYouWillBeFired=oft;const aft=Ng(_u.RangePicker,"popupAlign",void 0,"picker");_u._InternalRangePanelDoNotUseOrYouWillBeFired=aft;_u.generatePicker=ixe;var toe=p.createContext(null),oxe=p.createContext({}),sft=["prefixCls","className","containerRef"],lft=function(t){var n=t.prefixCls,r=t.className,i=t.containerRef,o=Dt(t,sft),a=p.useContext(oxe),s=a.panel,l=$d(s,i);return p.createElement("div",Ke({className:xe("".concat(n,"-content"),r),role:"dialog",ref:l},xi(t,{aria:!0}),{"aria-modal":"true"},o))};function noe(e){return typeof e=="string"&&String(Number(e))===e?(Yr(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var roe={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function cft(e,t){var n,r,i,o=e.prefixCls,a=e.open,s=e.placement,l=e.inline,c=e.push,u=e.forceRender,d=e.autoFocus,f=e.keyboard,h=e.classNames,m=e.rootClassName,g=e.rootStyle,v=e.zIndex,y=e.className,b=e.id,_=e.style,E=e.motion,C=e.width,S=e.height,w=e.children,T=e.mask,O=e.maskClosable,x=e.maskMotion,A=e.maskClassName,I=e.maskStyle,M=e.afterOpenChange,B=e.onClose,P=e.onMouseEnter,k=e.onMouseOver,N=e.onMouseLeave,L=e.onClick,V=e.onKeyDown,$=e.onKeyUp,W=e.styles,j=e.drawerRender,U=p.useRef(),Z=p.useRef(),te=p.useRef();p.useImperativeHandle(t,function(){return U.current});var ae=function(be){var _e=be.keyCode,Re=be.shiftKey;switch(_e){case dt.TAB:{if(_e===dt.TAB){if(!Re&&document.activeElement===te.current){var De;(De=Z.current)===null||De===void 0||De.focus({preventScroll:!0})}else if(Re&&document.activeElement===Z.current){var z;(z=te.current)===null||z===void 0||z.focus({preventScroll:!0})}}break}case dt.ESC:{B&&f&&(be.stopPropagation(),B(be));break}}};p.useEffect(function(){if(a&&d){var me;(me=U.current)===null||me===void 0||me.focus({preventScroll:!0})}},[a]);var K=p.useState(!1),Q=Ie(K,2),ie=Q[0],he=Q[1],pe=p.useContext(toe),le;typeof c=="boolean"?le=c?{}:{distance:0}:le=c||{};var de=(n=(r=(i=le)===null||i===void 0?void 0:i.distance)!==null&&r!==void 0?r:pe==null?void 0:pe.pushDistance)!==null&&n!==void 0?n:180,ve=p.useMemo(function(){return{pushDistance:de,push:function(){he(!0)},pull:function(){he(!1)}}},[de]);p.useEffect(function(){if(a){var me;pe==null||(me=pe.push)===null||me===void 0||me.call(pe)}else{var be;pe==null||(be=pe.pull)===null||be===void 0||be.call(pe)}},[a]),p.useEffect(function(){return function(){var me;pe==null||(me=pe.pull)===null||me===void 0||me.call(pe)}},[]);var ne=T&&p.createElement(ia,Ke({key:"mask"},x,{visible:a}),function(me,be){var _e=me.className,Re=me.style;return p.createElement("div",{className:xe("".concat(o,"-mask"),_e,h==null?void 0:h.mask,A),style:G(G(G({},Re),I),W==null?void 0:W.mask),onClick:O&&a?B:void 0,ref:be})}),ue=typeof E=="function"?E(s):E,ge={};if(ie&&de)switch(s){case"top":ge.transform="translateY(".concat(de,"px)");break;case"bottom":ge.transform="translateY(".concat(-de,"px)");break;case"left":ge.transform="translateX(".concat(de,"px)");break;default:ge.transform="translateX(".concat(-de,"px)");break}s==="left"||s==="right"?ge.width=noe(C):ge.height=noe(S);var Ce={onMouseEnter:P,onMouseOver:k,onMouseLeave:N,onClick:L,onKeyDown:V,onKeyUp:$},Te=p.createElement(ia,Ke({key:"panel"},ue,{visible:a,forceRender:u,onVisibleChanged:function(be){M==null||M(be)},removeOnLeave:!1,leavedClassName:"".concat(o,"-content-wrapper-hidden")}),function(me,be){var _e=me.className,Re=me.style,De=p.createElement(lft,Ke({id:b,containerRef:be,prefixCls:o,className:xe(y,h==null?void 0:h.content),style:G(G({},_),W==null?void 0:W.content)},xi(e,{aria:!0}),Ce),w);return p.createElement("div",Ke({className:xe("".concat(o,"-content-wrapper"),h==null?void 0:h.wrapper,_e),style:G(G(G({},ge),Re),W==null?void 0:W.wrapper)},xi(e,{data:!0})),j?j(De):De)}),Se=G({},g);return v&&(Se.zIndex=v),p.createElement(toe.Provider,{value:ve},p.createElement("div",{className:xe(o,"".concat(o,"-").concat(s),m,ee(ee({},"".concat(o,"-open"),a),"".concat(o,"-inline"),l)),style:Se,tabIndex:-1,ref:U,onKeyDown:ae},ne,p.createElement("div",{tabIndex:0,ref:Z,style:roe,"aria-hidden":"true","data-sentinel":"start"}),Te,p.createElement("div",{tabIndex:0,ref:te,style:roe,"aria-hidden":"true","data-sentinel":"end"})))}var uft=p.forwardRef(cft),dft=function(t){var n=t.open,r=n===void 0?!1:n,i=t.prefixCls,o=i===void 0?"rc-drawer":i,a=t.placement,s=a===void 0?"right":a,l=t.autoFocus,c=l===void 0?!0:l,u=t.keyboard,d=u===void 0?!0:u,f=t.width,h=f===void 0?378:f,m=t.mask,g=m===void 0?!0:m,v=t.maskClosable,y=v===void 0?!0:v,b=t.getContainer,_=t.forceRender,E=t.afterOpenChange,C=t.destroyOnClose,S=t.onMouseEnter,w=t.onMouseOver,T=t.onMouseLeave,O=t.onClick,x=t.onKeyDown,A=t.onKeyUp,I=t.panelRef,M=p.useState(!1),B=Ie(M,2),P=B[0],k=B[1],N=p.useState(!1),L=Ie(N,2),V=L[0],$=L[1];ar(function(){$(!0)},[]);var W=V?r:!1,j=p.useRef(),U=p.useRef();ar(function(){W&&(U.current=document.activeElement)},[W]);var Z=function(ie){var he;if(k(ie),E==null||E(ie),!ie&&U.current&&!((he=j.current)!==null&&he!==void 0&&he.contains(U.current))){var pe;(pe=U.current)===null||pe===void 0||pe.focus({preventScroll:!0})}},te=p.useMemo(function(){return{panel:I}},[I]);if(!_&&!P&&!W&&C)return null;var ae={onMouseEnter:S,onMouseOver:w,onMouseLeave:T,onClick:O,onKeyDown:x,onKeyUp:A},K=G(G({},t),{},{open:W,prefixCls:o,placement:s,autoFocus:c,keyboard:d,width:h,mask:g,maskClosable:y,inline:b===!1,afterOpenChange:Z,ref:j},ae);return p.createElement(oxe.Provider,{value:te},p.createElement(l2,{open:W||_||P,autoDestroy:!1,getContainer:b,autoLock:g&&(W||P)},p.createElement(uft,K)))};const axe=e=>{var t,n;const{prefixCls:r,title:i,footer:o,extra:a,loading:s,onClose:l,headerStyle:c,bodyStyle:u,footerStyle:d,children:f,classNames:h,styles:m}=e,{drawer:g}=p.useContext(Xt),v=p.useCallback(C=>p.createElement("button",{type:"button",onClick:l,"aria-label":"Close",className:`${r}-close`},C),[l]),[y,b]=jq(p_(e),p_(g),{closable:!0,closeIconRender:v}),_=p.useMemo(()=>{var C,S;return!i&&!y?null:p.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(C=g==null?void 0:g.styles)===null||C===void 0?void 0:C.header),c),m==null?void 0:m.header),className:xe(`${r}-header`,{[`${r}-header-close-only`]:y&&!i&&!a},(S=g==null?void 0:g.classNames)===null||S===void 0?void 0:S.header,h==null?void 0:h.header)},p.createElement("div",{className:`${r}-header-title`},b,i&&p.createElement("div",{className:`${r}-title`},i)),a&&p.createElement("div",{className:`${r}-extra`},a))},[y,b,a,c,r,i]),E=p.useMemo(()=>{var C,S;if(!o)return null;const w=`${r}-footer`;return p.createElement("div",{className:xe(w,(C=g==null?void 0:g.classNames)===null||C===void 0?void 0:C.footer,h==null?void 0:h.footer),style:Object.assign(Object.assign(Object.assign({},(S=g==null?void 0:g.styles)===null||S===void 0?void 0:S.footer),d),m==null?void 0:m.footer)},o)},[o,d,r]);return p.createElement(p.Fragment,null,_,p.createElement("div",{className:xe(`${r}-body`,h==null?void 0:h.body,(t=g==null?void 0:g.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(n=g==null?void 0:g.styles)===null||n===void 0?void 0:n.body),u),m==null?void 0:m.body)},s?p.createElement(Th,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):f),E)},fft=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},sxe=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),lxe=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},sxe({opacity:e},{opacity:1})),pft=(e,t)=>[lxe(.7,t),sxe({transform:fft(e)},{transform:"none"})],hft=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:lxe(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((r,i)=>Object.assign(Object.assign({},r),{[`&-${i}`]:pft(i,n)}),{})}}},mft=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:i,colorBgElevated:o,motionDurationSlow:a,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:f,lineWidth:h,lineType:m,colorSplit:g,marginXS:v,colorIcon:y,colorIconHover:b,colorBgTextHover:_,colorBgTextActive:E,colorText:C,fontWeightStrong:S,footerPaddingBlock:w,footerPaddingInline:T,calc:O}=e,x=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:C,"&-pure":{position:"relative",background:o,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:i,pointerEvents:"auto"},[x]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${a}`,"&-hidden":{display:"none"}},[`&-left > ${x}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${x}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${x}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${x}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:o,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Ae(c)} ${Ae(u)}`,fontSize:d,lineHeight:f,borderBottom:`${Ae(h)} ${m} ${g}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:O(d).add(l).equal(),height:O(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:v,color:y,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:b,backgroundColor:_,textDecoration:"none"},"&:active":{backgroundColor:E}},Zs(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${Ae(w)} ${Ae(T)}`,borderTop:`${Ae(h)} ${m} ${g}`},"&-rtl":{direction:"rtl"}}}},gft=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}),cxe=lr("Drawer",e=>{const t=Kn(e,{});return[mft(t),hft(t)]},gft);var uxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{rootClassName:t,width:n,height:r,size:i="default",mask:o=!0,push:a=vft,open:s,afterOpenChange:l,onClose:c,prefixCls:u,getContainer:d,style:f,className:h,visible:m,afterVisibleChange:g,maskStyle:v,drawerStyle:y,contentWrapperStyle:b}=e,_=uxe(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:E,getPrefixCls:C,direction:S,drawer:w}=p.useContext(Xt),T=C("drawer",u),[O,x,A]=cxe(T),I=d===void 0&&E?()=>E(document.body):d,M=xe({"no-mask":!o,[`${T}-rtl`]:S==="rtl"},t,x,A),B=p.useMemo(()=>n??(i==="large"?736:378),[n,i]),P=p.useMemo(()=>r??(i==="large"?736:378),[r,i]),k={motionName:Va(T,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},N=te=>({motionName:Va(T,`panel-motion-${te}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),L=DEe(),[V,$]=Ru("Drawer",_.zIndex),{classNames:W={},styles:j={}}=_,{classNames:U={},styles:Z={}}=w||{};return O(p.createElement(Rd,{form:!0,space:!0},p.createElement(r2.Provider,{value:$},p.createElement(dft,Object.assign({prefixCls:T,onClose:c,maskMotion:k,motion:N},_,{classNames:{mask:xe(W.mask,U.mask),content:xe(W.content,U.content),wrapper:xe(W.wrapper,U.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},j.mask),v),Z.mask),content:Object.assign(Object.assign(Object.assign({},j.content),y),Z.content),wrapper:Object.assign(Object.assign(Object.assign({},j.wrapper),b),Z.wrapper)},open:s??m,mask:o,push:a,width:B,height:P,style:Object.assign(Object.assign({},w==null?void 0:w.style),f),className:xe(w==null?void 0:w.className,h),rootClassName:M,getContainer:I,afterOpenChange:l??g,panelRef:L,zIndex:V}),p.createElement(axe,Object.assign({prefixCls:T},_,{onClose:c}))))))},bft=e=>{const{prefixCls:t,style:n,className:r,placement:i="right"}=e,o=uxe(e,["prefixCls","style","className","placement"]),{getPrefixCls:a}=p.useContext(Xt),s=a("drawer",t),[l,c,u]=cxe(s),d=xe(s,`${s}-pure`,`${s}-${i}`,c,u,r);return l(p.createElement("div",{className:d,style:n},p.createElement(axe,Object.assign({prefixCls:s},o))))};NY._InternalPanelDoNotUseOrYouWillBeFired=bft;function ioe(e){return["small","middle","large"].includes(e)}function ooe(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const dxe=se.createContext({latestIndex:0}),yft=dxe.Provider,_ft=e=>{let{className:t,index:n,children:r,split:i,style:o}=e;const{latestIndex:a}=p.useContext(dxe);return r==null?null:p.createElement(p.Fragment,null,p.createElement("div",{className:t,style:o},r),n{var n,r,i;const{getPrefixCls:o,space:a,direction:s}=p.useContext(Xt),{size:l=(n=a==null?void 0:a.size)!==null&&n!==void 0?n:"small",align:c,className:u,rootClassName:d,children:f,direction:h="horizontal",prefixCls:m,split:g,style:v,wrap:y=!1,classNames:b,styles:_}=e,E=Sft(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[C,S]=Array.isArray(l)?l:[l,l],w=ioe(S),T=ioe(C),O=ooe(S),x=ooe(C),A=ko(f,{keepEmpty:!0}),I=c===void 0&&h==="horizontal"?"center":c,M=o("space",m),[B,P,k]=nEe(M),N=xe(M,a==null?void 0:a.className,P,`${M}-${h}`,{[`${M}-rtl`]:s==="rtl",[`${M}-align-${I}`]:I,[`${M}-gap-row-${S}`]:w,[`${M}-gap-col-${C}`]:T},u,d,k),L=xe(`${M}-item`,(r=b==null?void 0:b.item)!==null&&r!==void 0?r:(i=a==null?void 0:a.classNames)===null||i===void 0?void 0:i.item);let V=0;const $=A.map((U,Z)=>{var te,ae;U!=null&&(V=Z);const K=(U==null?void 0:U.key)||`${L}-${Z}`;return p.createElement(_ft,{className:L,key:K,index:Z,split:g,style:(te=_==null?void 0:_.item)!==null&&te!==void 0?te:(ae=a==null?void 0:a.styles)===null||ae===void 0?void 0:ae.item},U)}),W=p.useMemo(()=>({latestIndex:V}),[V]);if(A.length===0)return null;const j={};return y&&(j.flexWrap="wrap"),!T&&x&&(j.columnGap=C),!w&&O&&(j.rowGap=S),B(p.createElement("div",Object.assign({ref:t,className:N,style:Object.assign(Object.assign(Object.assign({},j),a==null?void 0:a.style),v)},E),p.createElement(yft,{value:W},$)))}),Xi=Eft;Xi.Compact=fXe;var Cft=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPopupContainer:t,getPrefixCls:n,direction:r}=p.useContext(Xt),{prefixCls:i,type:o="default",danger:a,disabled:s,loading:l,onClick:c,htmlType:u,children:d,className:f,menu:h,arrow:m,autoFocus:g,overlay:v,trigger:y,align:b,open:_,onOpenChange:E,placement:C,getPopupContainer:S,href:w,icon:T=p.createElement(sY,null),title:O,buttonsRender:x=Q=>Q,mouseEnterDelay:A,mouseLeaveDelay:I,overlayClassName:M,overlayStyle:B,destroyPopupOnHide:P,dropdownRender:k}=e,N=Cft(e,["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"]),L=n("dropdown",i),V=`${L}-button`,$={menu:h,arrow:m,autoFocus:g,align:b,disabled:s,trigger:s?[]:y,onOpenChange:E,getPopupContainer:S||t,mouseEnterDelay:A,mouseLeaveDelay:I,overlayClassName:M,overlayStyle:B,destroyPopupOnHide:P,dropdownRender:k},{compactSize:W,compactItemClassnames:j}=Fd(L,r),U=xe(V,j,f);"overlay"in e&&($.overlay=v),"open"in e&&($.open=_),"placement"in e?$.placement=C:$.placement=r==="rtl"?"bottomLeft":"bottomRight";const Z=p.createElement($n,{type:o,danger:a,disabled:s,loading:l,onClick:c,htmlType:u,href:w,title:O},d),te=p.createElement($n,{type:o,danger:a,icon:T}),[ae,K]=x([Z,te]);return p.createElement(Xi.Compact,Object.assign({className:U,size:W,block:!0},N),ae,p.createElement(m2,Object.assign({},$),K))};fxe.__ANT_BUTTON=!0;const vD=m2;vD.Button=fxe;var wft={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},Tft=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:wft}))},pxe=p.forwardRef(Tft);function JM(e){const[t,n]=p.useState(e);return p.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const xft=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationFast} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationFast} ${e.motionEaseInOut}, + `]:{cursor:"not-allowed !important"}},[`&-tooltip ${n}-tooltip-inner`]:{minWidth:"unset"}})}},KTe=(e,t)=>{const{componentCls:n,railSize:r,handleSize:i,dotSize:o,marginFull:a,calc:s}=e,l=t?"paddingBlock":"paddingInline",c=t?"width":"height",u=t?"height":"width",d=t?"insetBlockStart":"insetInlineStart",f=t?"top":"insetInlineStart",h=s(r).mul(3).sub(i).div(2).equal(),m=s(i).sub(r).div(2).equal(),g=t?{borderWidth:`${Ae(m)} 0`,transform:`translateY(${Ae(s(m).mul(-1).equal())})`}:{borderWidth:`0 ${Ae(m)}`,transform:`translateX(${Ae(e.calc(m).mul(-1).equal())})`};return{[l]:r,[u]:s(r).mul(3).equal(),[`${n}-rail`]:{[c]:"100%",[u]:r},[`${n}-track,${n}-tracks`]:{[u]:r},[`${n}-track-draggable`]:Object.assign({},g),[`${n}-handle`]:{[d]:h},[`${n}-mark`]:{insetInlineStart:0,top:0,[f]:s(r).mul(3).add(t?0:a).equal(),[c]:"100%"},[`${n}-step`]:{insetInlineStart:0,top:0,[f]:r,[c]:"100%",[u]:r},[`${n}-dot`]:{position:"absolute",[d]:s(r).sub(o).div(2).equal()}}},udt=e=>{const{componentCls:t,marginPartWithMark:n}=e;return{[`${t}-horizontal`]:Object.assign(Object.assign({},KTe(e,!0)),{[`&${t}-with-marks`]:{marginBottom:n}})}},ddt=e=>{const{componentCls:t}=e;return{[`${t}-vertical`]:Object.assign(Object.assign({},KTe(e,!1)),{height:"100%"})}},fdt=e=>{const n=e.controlHeightLG/4,r=e.controlHeightSM/2,i=e.lineWidth+1,o=e.lineWidth+1*1.5,a=e.colorPrimary,s=new rr(a).setA(.2).toRgbString();return{controlSize:n,railSize:4,handleSize:n,handleSizeHover:r,dotSize:8,handleLineWidth:i,handleLineWidthHover:o,railBg:e.colorFillTertiary,railHoverBg:e.colorFillSecondary,trackBg:e.colorPrimaryBorder,trackHoverBg:e.colorPrimaryBorderHover,handleColor:e.colorPrimaryBorder,handleActiveColor:a,handleActiveOutlineColor:s,handleColorDisabled:new rr(e.colorTextDisabled).onBackground(e.colorBgContainer).toHexString(),dotBorderColor:e.colorBorderSecondary,dotActiveBorderColor:e.colorPrimaryBorder,trackBgDisabled:e.colorBgContainerDisabled}},pdt=lr("Slider",e=>{const t=Kn(e,{marginPart:e.calc(e.controlHeight).sub(e.controlSize).div(2).equal(),marginFull:e.calc(e.controlSize).div(2).equal(),marginPartWithMark:e.calc(e.controlHeightLG).sub(e.controlSize).equal()});return[cdt(t),udt(t),ddt(t)]},fdt);function d$(){const[e,t]=p.useState(!1),n=p.useRef(null),r=()=>{nr.cancel(n.current)},i=o=>{r(),o?t(o):n.current=nr(()=>{t(o)})};return p.useEffect(()=>r,[]),[e,i]}var hdt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);itypeof n=="number"?n.toString():""}const QTe=se.forwardRef((e,t)=>{var n,r,i,o,a,s,l,c,u,d;const{prefixCls:f,range:h,className:m,rootClassName:g,style:v,disabled:y,tooltipPrefixCls:b,tipFormatter:_,tooltipVisible:E,getTooltipPopupContainer:C,tooltipPlacement:S,tooltip:w={},onChangeComplete:T,classNames:O,styles:x}=e,A=hdt(e,["prefixCls","range","className","rootClassName","style","disabled","tooltipPrefixCls","tipFormatter","tooltipVisible","getTooltipPopupContainer","tooltipPlacement","tooltip","onChangeComplete","classNames","styles"]),{vertical:I}=e,{direction:M,slider:B,getPrefixCls:P,getPopupContainer:k}=se.useContext(Xt),N=se.useContext(Wo),L=y??N,{handleRender:V,direction:$}=se.useContext(YTe),j=($||M)==="rtl",[U,Z]=d$(),[te,ae]=d$(),K=Object.assign({},w),{open:Q,placement:ie,getPopupContainer:he,prefixCls:pe,formatter:le}=K,de=Q??E,ve=(U||te)&&de!==!1,ne=mdt(le,_),[ue,ge]=d$(),Ce=ce=>{T==null||T(ce),ge(!1)},Te=(ce,Be)=>ce||(Be?j?"left":"right":"top"),Se=P("slider",f),[me,be,_e]=pdt(Se),Re=xe(m,B==null?void 0:B.className,(n=B==null?void 0:B.classNames)===null||n===void 0?void 0:n.root,O==null?void 0:O.root,g,{[`${Se}-rtl`]:j,[`${Se}-lock`]:ue},be,_e);j&&!A.vertical&&(A.reverse=!A.reverse),se.useEffect(()=>{const ce=()=>{nr(()=>{ae(!1)},1)};return document.addEventListener("mouseup",ce),()=>{document.removeEventListener("mouseup",ce)}},[]);const De=h&&!de,z=V||((ce,Be)=>{const{index:Ve}=Be,re=ce.props;function Me(Ue,qe,At){var at,pt,Ct,bt;At&&((pt=(at=A)[Ue])===null||pt===void 0||pt.call(at,qe)),(bt=(Ct=re)[Ue])===null||bt===void 0||bt.call(Ct,qe)}const je=Object.assign(Object.assign({},re),{onMouseEnter:Ue=>{Z(!0),Me("onMouseEnter",Ue)},onMouseLeave:Ue=>{Z(!1),Me("onMouseLeave",Ue)},onMouseDown:Ue=>{ae(!0),ge(!0),Me("onMouseDown",Ue)},onFocus:Ue=>{var qe;ae(!0),(qe=A.onFocus)===null||qe===void 0||qe.call(A,Ue),Me("onFocus",Ue,!0)},onBlur:Ue=>{var qe;ae(!1),(qe=A.onBlur)===null||qe===void 0||qe.call(A,Ue),Me("onBlur",Ue,!0)}}),ke=se.cloneElement(ce,je),Ge=(!!de||ve)&&ne!==null;return De?ke:se.createElement(Yie,Object.assign({},K,{prefixCls:P("tooltip",pe??b),title:ne?ne(Be.value):"",open:Ge,placement:Te(ie??S,I),key:Ve,classNames:{root:`${Se}-tooltip`},getPopupContainer:he||C||k}),ke)}),D=De?(ce,Be)=>{const Ve=se.cloneElement(ce,{style:Object.assign(Object.assign({},ce.props.style),{visibility:"hidden"})});return se.createElement(Yie,Object.assign({},K,{prefixCls:P("tooltip",pe??b),title:ne?ne(Be.value):"",open:ne!==null&&ve,placement:Te(ie??S,I),key:"tooltip",classNames:{root:`${Se}-tooltip`},getPopupContainer:he||C||k,draggingDelete:Be.draggingDelete}),Ve)}:void 0,q=Object.assign(Object.assign(Object.assign(Object.assign({},(r=B==null?void 0:B.styles)===null||r===void 0?void 0:r.root),B==null?void 0:B.style),x==null?void 0:x.root),v),oe=Object.assign(Object.assign({},(i=B==null?void 0:B.styles)===null||i===void 0?void 0:i.tracks),x==null?void 0:x.tracks),ye=xe((o=B==null?void 0:B.classNames)===null||o===void 0?void 0:o.tracks,O==null?void 0:O.tracks);return me(se.createElement(ldt,Object.assign({},A,{classNames:Object.assign({handle:xe((a=B==null?void 0:B.classNames)===null||a===void 0?void 0:a.handle,O==null?void 0:O.handle),rail:xe((s=B==null?void 0:B.classNames)===null||s===void 0?void 0:s.rail,O==null?void 0:O.rail),track:xe((l=B==null?void 0:B.classNames)===null||l===void 0?void 0:l.track,O==null?void 0:O.track)},ye?{tracks:ye}:{}),styles:Object.assign({handle:Object.assign(Object.assign({},(c=B==null?void 0:B.styles)===null||c===void 0?void 0:c.handle),x==null?void 0:x.handle),rail:Object.assign(Object.assign({},(u=B==null?void 0:B.styles)===null||u===void 0?void 0:u.rail),x==null?void 0:x.rail),track:Object.assign(Object.assign({},(d=B==null?void 0:B.styles)===null||d===void 0?void 0:d.track),x==null?void 0:x.track)},Object.keys(oe).length?{tracks:oe}:{}),step:A.step,range:h,className:Re,style:q,disabled:L,ref:t,prefixCls:Se,handleRender:z,activeHandleRender:D,onChangeComplete:Ce})))});var gdt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,colors:n,type:r,color:i,range:o=!1,className:a,activeIndex:s,onActive:l,onDragStart:c,onDragChange:u,onKeyDelete:d}=e,f=gdt(e,["prefixCls","colors","type","color","range","className","activeIndex","onActive","onDragStart","onDragChange","onKeyDelete"]),h=Object.assign(Object.assign({},f),{track:!1}),m=p.useMemo(()=>`linear-gradient(90deg, ${n.map(S=>`${S.color} ${S.percent}%`).join(", ")})`,[n]),g=p.useMemo(()=>!i||!r?null:r==="alpha"?i.toRgbString():`hsl(${i.toHsb().h}, 100%, 50%)`,[i,r]),v=Yn(c),y=Yn(u),b=p.useMemo(()=>({onDragStart:v,onDragChange:y}),[]),_=Yn((C,S)=>{const{onFocus:w,style:T,className:O,onKeyDown:x}=C.props,A=Object.assign({},T);return r==="gradient"&&(A.background=pEe(n,S.value)),p.cloneElement(C,{onFocus:I=>{l==null||l(S.index),w==null||w(I)},style:A,className:xe(O,{[`${t}-slider-handle-active`]:s===S.index}),onKeyDown:I=>{(I.key==="Delete"||I.key==="Backspace")&&d&&d(S.index),x==null||x(I)}})}),E=p.useMemo(()=>({direction:"ltr",handleRender:_}),[]);return p.createElement(YTe.Provider,{value:E},p.createElement(qTe.Provider,{value:b},p.createElement(QTe,Object.assign({},h,{className:xe(a,`${t}-slider`),tooltip:{open:!1},range:{editable:o,minCount:2},styles:{rail:{background:m},handle:g?{background:g}:{}},classNames:{rail:`${t}-slider-rail`,handle:`${t}-slider-handle`}}))))},vdt=e=>{const{value:t,onChange:n,onChangeComplete:r}=e,i=a=>n(a[0]),o=a=>r(a[0]);return p.createElement(XTe,Object.assign({},e,{value:[t],onChange:i,onChangeComplete:o}))};function Kie(e){return nt(e).sort((t,n)=>t.percent-n.percent)}const bdt=e=>{const{prefixCls:t,mode:n,onChange:r,onChangeComplete:i,onActive:o,activeIndex:a,onGradientDragging:s,colors:l}=e,c=n==="gradient",u=p.useMemo(()=>l.map(y=>({percent:y.percent,color:y.color.toRgbString()})),[l]),d=p.useMemo(()=>u.map(y=>y.percent),[u]),f=p.useRef(u),h=y=>{let{rawValues:b,draggingIndex:_,draggingValue:E}=y;if(b.length>u.length){const C=pEe(u,E),S=nt(u);S.splice(_,0,{percent:E,color:C}),f.current=S}else f.current=u;s(!0),r(new pc(Kie(f.current)),!0)},m=y=>{let{deleteIndex:b,draggingIndex:_,draggingValue:E}=y,C=nt(f.current);b!==-1?C.splice(b,1):(C[_]=Object.assign(Object.assign({},C[_]),{percent:E}),C=Kie(C)),r(new pc(C),!0)},g=y=>{const b=nt(u);b.splice(y,1);const _=new pc(b);r(_),i(_)},v=y=>{i(new pc(u)),a>=y.length&&o(y.length-1),s(!1)};return c?p.createElement(XTe,{min:0,max:100,prefixCls:t,className:`${t}-gradient-slider`,colors:u,color:null,value:d,range:!0,onChangeComplete:v,disabled:!1,type:"gradient",activeIndex:a,onActive:o,onDragStart:h,onDragChange:m,onKeyDelete:g}):null},ydt=p.memo(bdt);var _dt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const e=p.useContext($Te),{mode:t,onModeChange:n,modeOptions:r,prefixCls:i,allowClear:o,value:a,disabledAlpha:s,onChange:l,onClear:c,onChangeComplete:u,activeIndex:d,gradientDragging:f}=e,h=_dt(e,["mode","onModeChange","modeOptions","prefixCls","allowClear","value","disabledAlpha","onChange","onClear","onChangeComplete","activeIndex","gradientDragging"]),m=se.useMemo(()=>a.cleared?[{percent:0,color:new pc("")},{percent:100,color:new pc("")}]:a.getColors(),[a]),g=!a.isGradient(),[v,y]=se.useState(a);ar(()=>{var B;g||y((B=m[d])===null||B===void 0?void 0:B.color)},[f,d]);const b=se.useMemo(()=>{var B;return g?a:f?v:(B=m[d])===null||B===void 0?void 0:B.color},[a,d,g,v,f]),[_,E]=se.useState(b),[C,S]=se.useState(0),w=_!=null&&_.equals(b)?b:_;ar(()=>{E(b)},[C,b==null?void 0:b.toHexString()]);const T=(B,P)=>{let k=Ns(B);if(a.cleared){const L=k.toRgb();if(!L.r&&!L.g&&!L.b&&P){const{type:V,value:$=0}=P;k=new pc({h:V==="hue"?$:0,s:1,b:1,a:V==="alpha"?$/100:1})}else k=FA(k)}if(t==="single")return k;const N=nt(m);return N[d]=Object.assign(Object.assign({},N[d]),{color:k}),new pc(N)},O=(B,P,k)=>{const N=T(B,k);E(N.isGradient()?N.getColors()[d].color:N),l(N,P)},x=(B,P)=>{u(T(B,P)),S(k=>k+1)},A=B=>{l(T(B))};let I=null;const M=r.length>1;return(o||M)&&(I=se.createElement("div",{className:`${i}-operation`},M&&se.createElement(LTe,{size:"small",options:r,value:t,onChange:n}),se.createElement(BTe,Object.assign({prefixCls:i,value:a,onChange:B=>{l(B),c==null||c()}},h)))),se.createElement(se.Fragment,null,I,se.createElement(ydt,Object.assign({},e,{colors:m})),se.createElement(NXe,{prefixCls:i,value:w==null?void 0:w.toHsb(),disabledAlpha:s,onChange:(B,P)=>{O(B,!0,P)},onChangeComplete:(B,P)=>{x(B,P)},components:Sdt}),se.createElement(Kut,Object.assign({value:b,onChange:A,prefixCls:i,disabledAlpha:s},h)))},Xie=()=>{const{prefixCls:e,value:t,presets:n,onChange:r}=p.useContext(FTe);return Array.isArray(n)?se.createElement(TZe,{value:t,presets:n,prefixCls:e,onChange:r}):null},Edt=e=>{const{prefixCls:t,presets:n,panelRender:r,value:i,onChange:o,onClear:a,allowClear:s,disabledAlpha:l,mode:c,onModeChange:u,modeOptions:d,onChangeComplete:f,activeIndex:h,onActive:m,format:g,onFormatChange:v,gradientDragging:y,onGradientDragging:b,disabledFormat:_}=e,E=`${t}-inner`,C=se.useMemo(()=>({prefixCls:t,value:i,onChange:o,onClear:a,allowClear:s,disabledAlpha:l,mode:c,onModeChange:u,modeOptions:d,onChangeComplete:f,activeIndex:h,onActive:m,format:g,onFormatChange:v,gradientDragging:y,onGradientDragging:b,disabledFormat:_}),[t,i,o,a,s,l,c,u,d,f,h,m,g,v,y,b,_]),S=se.useMemo(()=>({prefixCls:t,value:i,presets:n,onChange:o}),[t,i,n,o]),w=se.createElement("div",{className:`${E}-content`},se.createElement(Qie,null),Array.isArray(n)&&se.createElement(Oct,null),se.createElement(Xie,null));return se.createElement($Te.Provider,{value:C},se.createElement(FTe.Provider,{value:S},se.createElement("div",{className:E},typeof r=="function"?r(w,{components:{Picker:Qie,Presets:Xie}}):w)))};var Cdt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{color:n,prefixCls:r,open:i,disabled:o,format:a,className:s,showText:l,activeIndex:c}=e,u=Cdt(e,["color","prefixCls","open","disabled","format","className","showText","activeIndex"]),d=`${r}-trigger`,f=`${d}-text`,h=`${f}-cell`,[m]=ds("ColorPicker"),g=se.useMemo(()=>{if(!l)return"";if(typeof l=="function")return l(n);if(n.cleared)return m.transparent;if(n.isGradient())return n.getColors().map((_,E)=>{const C=c!==-1&&c!==E;return se.createElement("span",{key:E,className:xe(h,C&&`${h}-inactive`)},_.color.toRgbString()," ",_.percent,"%")});const y=n.toHexString().toUpperCase(),b=Nq(n);switch(a){case"rgb":return n.toRgbString();case"hsb":return n.toHsbString();default:return b<100?`${y.slice(0,7)},${b}%`:y}},[n,a,l,c]),v=p.useMemo(()=>n.cleared?se.createElement(BTe,{prefixCls:r}):se.createElement(Oq,{prefixCls:r,color:n.toCssString()}),[n,r]);return se.createElement("div",Object.assign({ref:t,className:xe(d,s,{[`${d}-active`]:i,[`${d}-disabled`]:o})},xi(u)),v,l&&se.createElement("div",{className:f},g))});function Tdt(e,t,n){const[r]=ds("ColorPicker"),[i,o]=Pn(e,{value:t}),[a,s]=p.useState("single"),[l,c]=p.useMemo(()=>{const g=(Array.isArray(n)?n:[n]).filter(_=>_);g.length||g.push("single");const v=new Set(g),y=[],b=(_,E)=>{v.has(_)&&y.push({label:E,value:_})};return b("single",r.singleColor),b("gradient",r.gradientColor),[y,v]},[n]),[u,d]=p.useState(null),f=Yn(g=>{d(g),o(g)}),h=p.useMemo(()=>{const g=Ns(i||"");return g.equals(u)?u:g},[i,u]),m=p.useMemo(()=>{var g;return c.has(a)?a:(g=l[0])===null||g===void 0?void 0:g.value},[c,a,l]);return p.useEffect(()=>{s(h.isGradient()?"gradient":"single")},[h]),[h,f,m,s,l]}const ZTe=(e,t)=>({backgroundImage:`conic-gradient(${t} 0 25%, transparent 0 50%, ${t} 0 75%, transparent 0)`,backgroundSize:`${e} ${e}`}),Zie=(e,t)=>{const{componentCls:n,borderRadiusSM:r,colorPickerInsetShadow:i,lineWidth:o,colorFillSecondary:a}=e;return{[`${n}-color-block`]:Object.assign(Object.assign({position:"relative",borderRadius:r,width:t,height:t,boxShadow:i,flex:"none"},ZTe("50%",e.colorFillSecondary)),{[`${n}-color-block-inner`]:{width:"100%",height:"100%",boxShadow:`inset 0 0 0 ${Ae(o)} ${a}`,borderRadius:"inherit"}})}},xdt=e=>{const{componentCls:t,antCls:n,fontSizeSM:r,lineHeightSM:i,colorPickerAlphaInputWidth:o,marginXXS:a,paddingXXS:s,controlHeightSM:l,marginXS:c,fontSizeIcon:u,paddingXS:d,colorTextPlaceholder:f,colorPickerInputNumberHandleWidth:h,lineWidth:m}=e;return{[`${t}-input-container`]:{display:"flex",[`${t}-steppers${n}-input-number`]:{fontSize:r,lineHeight:i,[`${n}-input-number-input`]:{paddingInlineStart:s,paddingInlineEnd:0},[`${n}-input-number-handler-wrap`]:{width:h}},[`${t}-steppers${t}-alpha-input`]:{flex:`0 0 ${Ae(o)}`,marginInlineStart:a},[`${t}-format-select${n}-select`]:{marginInlineEnd:c,width:"auto","&-single":{[`${n}-select-selector`]:{padding:0,border:0},[`${n}-select-arrow`]:{insetInlineEnd:0},[`${n}-select-selection-item`]:{paddingInlineEnd:e.calc(u).add(a).equal(),fontSize:r,lineHeight:Ae(l)},[`${n}-select-item-option-content`]:{fontSize:r,lineHeight:i},[`${n}-select-dropdown`]:{[`${n}-select-item`]:{minHeight:"auto"}}}},[`${t}-input`]:{gap:a,alignItems:"center",flex:1,width:0,[`${t}-hsb-input,${t}-rgb-input`]:{display:"flex",gap:a,alignItems:"center"},[`${t}-steppers`]:{flex:1},[`${t}-hex-input${n}-input-affix-wrapper`]:{flex:1,padding:`0 ${Ae(d)}`,[`${n}-input`]:{fontSize:r,textTransform:"uppercase",lineHeight:Ae(e.calc(l).sub(e.calc(m).mul(2)).equal())},[`${n}-input-prefix`]:{color:f}}}}}},Odt=e=>{const{componentCls:t,controlHeightLG:n,borderRadiusSM:r,colorPickerInsetShadow:i,marginSM:o,colorBgElevated:a,colorFillSecondary:s,lineWidthBold:l,colorPickerHandlerSize:c}=e;return{userSelect:"none",[`${t}-select`]:{[`${t}-palette`]:{minHeight:e.calc(n).mul(4).equal(),overflow:"hidden",borderRadius:r},[`${t}-saturation`]:{position:"absolute",borderRadius:"inherit",boxShadow:i,inset:0},marginBottom:o},[`${t}-handler`]:{width:c,height:c,border:`${Ae(l)} solid ${a}`,position:"relative",borderRadius:"50%",cursor:"pointer",boxShadow:`${i}, 0 0 0 1px ${s}`}}},Rdt=e=>{const{componentCls:t,antCls:n,colorTextQuaternary:r,paddingXXS:i,colorPickerPresetColorSize:o,fontSizeSM:a,colorText:s,lineHeightSM:l,lineWidth:c,borderRadius:u,colorFill:d,colorWhite:f,marginXXS:h,paddingXS:m,fontHeightSM:g}=e;return{[`${t}-presets`]:{[`${n}-collapse-item > ${n}-collapse-header`]:{padding:0,[`${n}-collapse-expand-icon`]:{height:g,color:r,paddingInlineEnd:i}},[`${n}-collapse`]:{display:"flex",flexDirection:"column",gap:h},[`${n}-collapse-item > ${n}-collapse-content > ${n}-collapse-content-box`]:{padding:`${Ae(m)} 0`},"&-label":{fontSize:a,color:s,lineHeight:l},"&-items":{display:"flex",flexWrap:"wrap",gap:e.calc(h).mul(1.5).equal(),[`${t}-presets-color`]:{position:"relative",cursor:"pointer",width:o,height:o,"&::before":{content:'""',pointerEvents:"none",width:e.calc(o).add(e.calc(c).mul(4)).equal(),height:e.calc(o).add(e.calc(c).mul(4)).equal(),position:"absolute",top:e.calc(c).mul(-2).equal(),insetInlineStart:e.calc(c).mul(-2).equal(),borderRadius:u,border:`${Ae(c)} solid transparent`,transition:`border-color ${e.motionDurationMid} ${e.motionEaseInBack}`},"&:hover::before":{borderColor:d},"&::after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:e.calc(o).div(13).mul(5).equal(),height:e.calc(o).div(13).mul(8).equal(),border:`${Ae(e.lineWidthBold)} solid ${e.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${e.motionDurationFast} ${e.motionEaseInBack}, opacity ${e.motionDurationFast}`},[`&${t}-presets-color-checked`]:{"&::after":{opacity:1,borderColor:f,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`transform ${e.motionDurationMid} ${e.motionEaseOutBack} ${e.motionDurationFast}`},[`&${t}-presets-color-bright`]:{"&::after":{borderColor:"rgba(0, 0, 0, 0.45)"}}}}},"&-empty":{fontSize:a,color:r}}}},Idt=e=>{const{componentCls:t,colorPickerInsetShadow:n,colorBgElevated:r,colorFillSecondary:i,lineWidthBold:o,colorPickerHandlerSizeSM:a,colorPickerSliderHeight:s,marginSM:l,marginXS:c}=e,u=e.calc(a).sub(e.calc(o).mul(2).equal()).equal(),d=e.calc(a).add(e.calc(o).mul(2).equal()).equal(),f={"&:after":{transform:"scale(1)",boxShadow:`${n}, 0 0 0 1px ${e.colorPrimaryActive}`}};return{[`${t}-slider`]:[ZTe(Ae(s),e.colorFillSecondary),{margin:0,padding:0,height:s,borderRadius:e.calc(s).div(2).equal(),"&-rail":{height:s,borderRadius:e.calc(s).div(2).equal(),boxShadow:n},[`& ${t}-slider-handle`]:{width:u,height:u,top:0,borderRadius:"100%","&:before":{display:"block",position:"absolute",background:"transparent",left:{_skip_check_:!0,value:"50%"},top:"50%",transform:"translate(-50%, -50%)",width:d,height:d,borderRadius:"100%"},"&:after":{width:a,height:a,border:`${Ae(o)} solid ${r}`,boxShadow:`${n}, 0 0 0 1px ${i}`,outline:"none",insetInlineStart:e.calc(o).mul(-1).equal(),top:e.calc(o).mul(-1).equal(),background:"transparent",transition:"none"},"&:focus":f}}],[`${t}-slider-container`]:{display:"flex",gap:l,marginBottom:l,[`${t}-slider-group`]:{flex:1,flexDirection:"column",justifyContent:"space-between",display:"flex","&-disabled-alpha":{justifyContent:"center"}}},[`${t}-gradient-slider`]:{marginBottom:c,[`& ${t}-slider-handle`]:{"&:after":{transform:"scale(0.8)"},"&-active, &:focus":f}}}},iU=(e,t,n)=>({borderInlineEndWidth:e.lineWidth,borderColor:t,boxShadow:`0 0 0 ${Ae(e.controlOutlineWidth)} ${n}`,outline:0}),Adt=e=>{const{componentCls:t}=e;return{"&-rtl":{[`${t}-presets-color`]:{"&::after":{direction:"ltr"}},[`${t}-clear`]:{"&::after":{direction:"ltr"}}}}},Jie=(e,t,n)=>{const{componentCls:r,borderRadiusSM:i,lineWidth:o,colorSplit:a,colorBorder:s,red6:l}=e;return{[`${r}-clear`]:Object.assign(Object.assign({width:t,height:t,borderRadius:i,border:`${Ae(o)} solid ${a}`,position:"relative",overflow:"hidden",cursor:"inherit",transition:`all ${e.motionDurationFast}`},n),{"&::after":{content:'""',position:"absolute",insetInlineEnd:e.calc(o).mul(-1).equal(),top:e.calc(o).mul(-1).equal(),display:"block",width:40,height:2,transformOrigin:"calc(100% - 1px) 1px",transform:"rotate(-45deg)",backgroundColor:l},"&:hover":{borderColor:s}})}},Ndt=e=>{const{componentCls:t,colorError:n,colorWarning:r,colorErrorHover:i,colorWarningHover:o,colorErrorOutline:a,colorWarningOutline:s}=e;return{[`&${t}-status-error`]:{borderColor:n,"&:hover":{borderColor:i},[`&${t}-trigger-active`]:Object.assign({},iU(e,n,a))},[`&${t}-status-warning`]:{borderColor:r,"&:hover":{borderColor:o},[`&${t}-trigger-active`]:Object.assign({},iU(e,r,s))}}},Mdt=e=>{const{componentCls:t,controlHeightLG:n,controlHeightSM:r,controlHeight:i,controlHeightXS:o,borderRadius:a,borderRadiusSM:s,borderRadiusXS:l,borderRadiusLG:c,fontSizeLG:u}=e;return{[`&${t}-lg`]:{minWidth:n,minHeight:n,borderRadius:c,[`${t}-color-block, ${t}-clear`]:{width:i,height:i,borderRadius:a},[`${t}-trigger-text`]:{fontSize:u}},[`&${t}-sm`]:{minWidth:r,minHeight:r,borderRadius:s,[`${t}-color-block, ${t}-clear`]:{width:o,height:o,borderRadius:l},[`${t}-trigger-text`]:{lineHeight:Ae(o)}}}},kdt=e=>{const{antCls:t,componentCls:n,colorPickerWidth:r,colorPrimary:i,motionDurationMid:o,colorBgElevated:a,colorTextDisabled:s,colorText:l,colorBgContainerDisabled:c,borderRadius:u,marginXS:d,marginSM:f,controlHeight:h,controlHeightSM:m,colorBgTextActive:g,colorPickerPresetColorSize:v,colorPickerPreviewSize:y,lineWidth:b,colorBorder:_,paddingXXS:E,fontSize:C,colorPrimaryHover:S,controlOutline:w}=e;return[{[n]:Object.assign({[`${n}-inner`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"&-content":{display:"flex",flexDirection:"column",width:r,[`& > ${t}-divider`]:{margin:`${Ae(f)} 0 ${Ae(d)}`}},[`${n}-panel`]:Object.assign({},Odt(e))},Idt(e)),Zie(e,y)),xdt(e)),Rdt(e)),Jie(e,v,{marginInlineStart:"auto"})),{[`${n}-operation`]:{display:"flex",justifyContent:"space-between",marginBottom:d}}),"&-trigger":Object.assign(Object.assign(Object.assign(Object.assign({minWidth:h,minHeight:h,borderRadius:u,border:`${Ae(b)} solid ${_}`,cursor:"pointer",display:"inline-flex",alignItems:"flex-start",justifyContent:"center",transition:`all ${o}`,background:a,padding:e.calc(E).sub(b).equal(),[`${n}-trigger-text`]:{marginInlineStart:d,marginInlineEnd:e.calc(d).sub(e.calc(E).sub(b)).equal(),fontSize:C,color:l,alignSelf:"center","&-cell":{"&:not(:last-child):after":{content:'", "'},"&-inactive":{color:s}}},"&:hover":{borderColor:S},[`&${n}-trigger-active`]:Object.assign({},iU(e,i,w)),"&-disabled":{color:s,background:c,cursor:"not-allowed","&:hover":{borderColor:g},[`${n}-trigger-text`]:{color:s}}},Jie(e,m)),Zie(e,m)),Ndt(e)),Mdt(e))},Adt(e))},E0(e,{focusElCls:`${n}-trigger-active`})]},Pdt=lr("ColorPicker",e=>{const{colorTextQuaternary:t,marginSM:n}=e,r=8,i=Kn(e,{colorPickerWidth:234,colorPickerHandlerSize:16,colorPickerHandlerSizeSM:12,colorPickerAlphaInputWidth:44,colorPickerInputNumberHandleWidth:16,colorPickerPresetColorSize:24,colorPickerInsetShadow:`inset 0 0 1px 0 ${t}`,colorPickerSliderHeight:r,colorPickerPreviewSize:e.calc(r).mul(2).add(n).equal()});return[kdt(i)]});var Ddt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{mode:t,value:n,defaultValue:r,format:i,defaultFormat:o,allowClear:a=!1,presets:s,children:l,trigger:c="click",open:u,disabled:d,placement:f="bottomLeft",arrow:h=!0,panelRender:m,showText:g,style:v,className:y,size:b,rootClassName:_,prefixCls:E,styles:C,disabledAlpha:S=!1,onFormatChange:w,onChange:T,onClear:O,onOpenChange:x,onChangeComplete:A,getPopupContainer:I,autoAdjustOverflow:M=!0,destroyTooltipOnHide:B,disabledFormat:P}=e,k=Ddt(e,["mode","value","defaultValue","format","defaultFormat","allowClear","presets","children","trigger","open","disabled","placement","arrow","panelRender","showText","style","className","size","rootClassName","prefixCls","styles","disabledAlpha","onFormatChange","onChange","onClear","onOpenChange","onChangeComplete","getPopupContainer","autoAdjustOverflow","destroyTooltipOnHide","disabledFormat"]),{getPrefixCls:N,direction:L,colorPicker:V}=p.useContext(Xt),$=p.useContext(Wo),W=d??$,[j,U]=Pn(!1,{value:u,postState:je=>!W&&je,onChange:x}),[Z,te]=Pn(i,{value:i,defaultValue:o,onChange:w}),ae=N("color-picker",E),[K,Q,ie,he,pe]=Tdt(r,n,t),le=p.useMemo(()=>Nq(K)<100,[K]),[de,ve]=se.useState(null),ne=je=>{if(A){let ke=Ns(je);S&&le&&(ke=FA(je)),A(ke)}},ue=(je,ke)=>{let Ge=Ns(je);S&&le&&(Ge=FA(Ge)),Q(Ge),ve(null),T&&T(Ge,Ge.toCssString()),ke||ne(Ge)},[ge,Ce]=se.useState(0),[Te,Se]=se.useState(!1),me=je=>{if(he(je),je==="single"&&K.isGradient())Ce(0),ue(new pc(K.getColors()[0].color)),ve(K);else if(je==="gradient"&&!K.isGradient()){const ke=le?FA(K):K;ue(new pc(de||[{percent:0,color:ke},{percent:100,color:ke}]))}},{status:be}=se.useContext(oa),{compactSize:_e,compactItemClassnames:Re}=Fd(ae,L),De=Co(je=>{var ke;return(ke=b??_e)!==null&&ke!==void 0?ke:je}),z=ui(ae),[D,q,oe]=Pdt(ae,z),ye={[`${ae}-rtl`]:L},ce=xe(_,oe,z,ye),Be=xe(Id(ae,be),{[`${ae}-sm`]:De==="small",[`${ae}-lg`]:De==="large"},Re,V==null?void 0:V.className,ce,y,q),Ve=xe(ae,ce),re={open:j,trigger:c,placement:f,arrow:h,rootClassName:_,getPopupContainer:I,autoAdjustOverflow:M,destroyTooltipOnHide:B},Me=Object.assign(Object.assign({},V==null?void 0:V.style),v);return D(se.createElement(yu,Object.assign({style:C==null?void 0:C.popup,styles:{body:C==null?void 0:C.popupOverlayInner},onOpenChange:je=>{(!je||!W)&&U(je)},content:se.createElement(Rd,{form:!0},se.createElement(Edt,{mode:ie,onModeChange:me,modeOptions:pe,prefixCls:ae,value:K,allowClear:a,disabled:W,disabledAlpha:S,presets:s,panelRender:m,format:Z,onFormatChange:te,onChange:ue,onChangeComplete:ne,onClear:O,activeIndex:ge,onActive:Ce,gradientDragging:Te,onGradientDragging:Se,disabledFormat:P})),classNames:{root:Ve}},re),l||se.createElement(wdt,Object.assign({activeIndex:j?ge:-1,open:j,className:Be,style:Me,prefixCls:ae,disabled:W,showText:g,format:Z},k,{color:K}))))},Ldt=Ng(AY,void 0,e=>Object.assign(Object.assign({},e),{placement:"bottom",autoAdjustOverflow:!1}),"color-picker",e=>e);AY._InternalPanelDoNotUseOrYouWillBeFired=Ldt;var $dt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},Fdt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:$dt}))},JTe=p.forwardRef(Fdt),Bdt={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:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},jdt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Bdt}))},exe=p.forwardRef(jdt),Hdt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},Udt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Hdt}))},zdt=p.forwardRef(Udt);function Vdt(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.yearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.quarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.monthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.weekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.placeholder:e.lang.placeholder}function Gdt(e,t,n){return n!==void 0?n:t==="year"&&e.lang.yearPlaceholder?e.lang.rangeYearPlaceholder:t==="quarter"&&e.lang.quarterPlaceholder?e.lang.rangeQuarterPlaceholder:t==="month"&&e.lang.monthPlaceholder?e.lang.rangeMonthPlaceholder:t==="week"&&e.lang.weekPlaceholder?e.lang.rangeWeekPlaceholder:t==="time"&&e.timePickerLocale.placeholder?e.timePickerLocale.rangePlaceholder:e.lang.rangePlaceholder}function txe(e,t){const{allowClear:n=!0}=e,{clearIcon:r,removeIcon:i}=Q5(Object.assign(Object.assign({},e),{prefixCls:t,componentName:"DatePicker"}));return[p.useMemo(()=>n===!1?!1:Object.assign({clearIcon:r},n===!0?{}:n),[n,r]),i]}const[Wdt,qdt]=["week","WeekPicker"],[Ydt,Kdt]=["month","MonthPicker"],[Qdt,Xdt]=["year","YearPicker"],[Zdt,Jdt]=["quarter","QuarterPicker"],[nxe,eoe]=["time","TimePicker"],eft=e=>p.createElement($n,Object.assign({size:"small",type:"primary"},e));function rxe(e){return p.useMemo(()=>Object.assign({button:eft},e),[e])}var tft=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ip.forwardRef((n,r)=>{var i;const{prefixCls:o,getPopupContainer:a,components:s,className:l,style:c,placement:u,size:d,disabled:f,bordered:h=!0,placeholder:m,popupClassName:g,dropdownClassName:v,status:y,rootClassName:b,variant:_,picker:E}=n,C=tft(n,["prefixCls","getPopupContainer","components","className","style","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","rootClassName","variant","picker"]),S=p.useRef(null),{getPrefixCls:w,direction:T,getPopupContainer:O,rangePicker:x}=p.useContext(Xt),A=w("picker",o),{compactSize:I,compactItemClassnames:M}=Fd(A,T),B=w(),[P,k]=Oh("rangePicker",_,h),N=ui(A),[L,V,$]=oTe(A,N),[W]=txe(n,A),j=rxe(s),U=Co(ve=>{var ne;return(ne=d??I)!==null&&ne!==void 0?ne:ve}),Z=p.useContext(Wo),te=f??Z,ae=p.useContext(oa),{hasFeedback:K,status:Q,feedbackIcon:ie}=ae,he=p.createElement(p.Fragment,null,E===nxe?p.createElement(exe,null):p.createElement(JTe,null),K&&ie);p.useImperativeHandle(r,()=>S.current);const[pe]=ds("Calendar",bM),le=Object.assign(Object.assign({},pe),n.locale),[de]=Ru("DatePicker",(i=n.popupStyle)===null||i===void 0?void 0:i.zIndex);return L(p.createElement(Rd,{space:!0},p.createElement(Qat,Object.assign({separator:p.createElement("span",{"aria-label":"to",className:`${A}-separator`},p.createElement(zdt,null)),disabled:te,ref:S,placement:u,placeholder:Gdt(le,E,m),suffixIcon:he,prevIcon:p.createElement("span",{className:`${A}-prev-icon`}),nextIcon:p.createElement("span",{className:`${A}-next-icon`}),superPrevIcon:p.createElement("span",{className:`${A}-super-prev-icon`}),superNextIcon:p.createElement("span",{className:`${A}-super-next-icon`}),transitionName:`${B}-slide-up`,picker:E},C,{className:xe({[`${A}-${U}`]:U,[`${A}-${P}`]:k},Id(A,xh(Q,y),K),V,M,l,x==null?void 0:x.className,$,N,b),style:Object.assign(Object.assign({},x==null?void 0:x.style),c),locale:le.lang,prefixCls:A,getPopupContainer:a||O,generateConfig:e,components:j,direction:T,classNames:{popup:xe(V,g||v,$,N,b)},styles:{popup:Object.assign(Object.assign({},n.popupStyle),{zIndex:de})},allowClear:W}))))});var rft=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const t=(l,c)=>{const u=c===eoe?"timePicker":"datePicker";return p.forwardRef((f,h)=>{var m;const{prefixCls:g,getPopupContainer:v,components:y,style:b,className:_,rootClassName:E,size:C,bordered:S,placement:w,placeholder:T,popupClassName:O,dropdownClassName:x,disabled:A,status:I,variant:M,onCalendarChange:B}=f,P=rft(f,["prefixCls","getPopupContainer","components","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","variant","onCalendarChange"]),{getPrefixCls:k,direction:N,getPopupContainer:L,[u]:V}=p.useContext(Xt),$=k("picker",g),{compactSize:W,compactItemClassnames:j}=Fd($,N),U=p.useRef(null),[Z,te]=Oh("datePicker",M,S),ae=ui($),[K,Q,ie]=oTe($,ae);p.useImperativeHandle(h,()=>U.current);const he={showToday:!0},pe=l||f.picker,le=k(),{onSelect:de,multiple:ve}=P,ne=de&&l==="time"&&!ve,ue=(ce,Be,Ve)=>{B==null||B(ce,Be,Ve),ne&&de(ce)},[ge,Ce]=txe(f,$),Te=rxe(y),Se=Co(ce=>{var Be;return(Be=C??W)!==null&&Be!==void 0?Be:ce}),me=p.useContext(Wo),be=A??me,_e=p.useContext(oa),{hasFeedback:Re,status:De,feedbackIcon:z}=_e,D=p.createElement(p.Fragment,null,pe==="time"?p.createElement(exe,null):p.createElement(JTe,null),Re&&z),[q]=ds("DatePicker",bM),oe=Object.assign(Object.assign({},q),f.locale),[ye]=Ru("DatePicker",(m=f.popupStyle)===null||m===void 0?void 0:m.zIndex);return K(p.createElement(Rd,{space:!0},p.createElement(nst,Object.assign({ref:U,placeholder:Vdt(oe,pe,T),suffixIcon:D,placement:w,prevIcon:p.createElement("span",{className:`${$}-prev-icon`}),nextIcon:p.createElement("span",{className:`${$}-next-icon`}),superPrevIcon:p.createElement("span",{className:`${$}-super-prev-icon`}),superNextIcon:p.createElement("span",{className:`${$}-super-next-icon`}),transitionName:`${le}-slide-up`,picker:l,onCalendarChange:ue},he,P,{locale:oe.lang,className:xe({[`${$}-${Se}`]:Se,[`${$}-${Z}`]:te},Id($,xh(De,I),Re),Q,j,V==null?void 0:V.className,_,ie,ae,E),style:Object.assign(Object.assign({},V==null?void 0:V.style),b),prefixCls:$,getPopupContainer:v||L,generateConfig:e,components:Te,direction:N,disabled:be,classNames:{popup:xe(Q,ie,ae,E,O||x)},styles:{popup:Object.assign(Object.assign({},f.popupStyle),{zIndex:ye})},allowClear:ge,removeIcon:Ce}))))})},n=t(),r=t(Wdt,qdt),i=t(Ydt,Kdt),o=t(Qdt,Xdt),a=t(Zdt,Jdt),s=t(nxe,eoe);return{DatePicker:n,WeekPicker:r,MonthPicker:i,YearPicker:o,TimePicker:s,QuarterPicker:a}},ixe=e=>{const{DatePicker:t,WeekPicker:n,MonthPicker:r,YearPicker:i,TimePicker:o,QuarterPicker:a}=ift(e),s=nft(e),l=t;return l.WeekPicker=n,l.MonthPicker=r,l.YearPicker=i,l.RangePicker=s,l.TimePicker=o,l.QuarterPicker=a,l},_u=ixe(iat),oft=Ng(_u,"popupAlign",void 0,"picker");_u._InternalPanelDoNotUseOrYouWillBeFired=oft;const aft=Ng(_u.RangePicker,"popupAlign",void 0,"picker");_u._InternalRangePanelDoNotUseOrYouWillBeFired=aft;_u.generatePicker=ixe;var toe=p.createContext(null),oxe=p.createContext({}),sft=["prefixCls","className","containerRef"],lft=function(t){var n=t.prefixCls,r=t.className,i=t.containerRef,o=Dt(t,sft),a=p.useContext(oxe),s=a.panel,l=$d(s,i);return p.createElement("div",Ke({className:xe("".concat(n,"-content"),r),role:"dialog",ref:l},xi(t,{aria:!0}),{"aria-modal":"true"},o))};function noe(e){return typeof e=="string"&&String(Number(e))===e?(Yr(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var roe={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"};function cft(e,t){var n,r,i,o=e.prefixCls,a=e.open,s=e.placement,l=e.inline,c=e.push,u=e.forceRender,d=e.autoFocus,f=e.keyboard,h=e.classNames,m=e.rootClassName,g=e.rootStyle,v=e.zIndex,y=e.className,b=e.id,_=e.style,E=e.motion,C=e.width,S=e.height,w=e.children,T=e.mask,O=e.maskClosable,x=e.maskMotion,A=e.maskClassName,I=e.maskStyle,M=e.afterOpenChange,B=e.onClose,P=e.onMouseEnter,k=e.onMouseOver,N=e.onMouseLeave,L=e.onClick,V=e.onKeyDown,$=e.onKeyUp,W=e.styles,j=e.drawerRender,U=p.useRef(),Z=p.useRef(),te=p.useRef();p.useImperativeHandle(t,function(){return U.current});var ae=function(be){var _e=be.keyCode,Re=be.shiftKey;switch(_e){case dt.TAB:{if(_e===dt.TAB){if(!Re&&document.activeElement===te.current){var De;(De=Z.current)===null||De===void 0||De.focus({preventScroll:!0})}else if(Re&&document.activeElement===Z.current){var z;(z=te.current)===null||z===void 0||z.focus({preventScroll:!0})}}break}case dt.ESC:{B&&f&&(be.stopPropagation(),B(be));break}}};p.useEffect(function(){if(a&&d){var me;(me=U.current)===null||me===void 0||me.focus({preventScroll:!0})}},[a]);var K=p.useState(!1),Q=Ie(K,2),ie=Q[0],he=Q[1],pe=p.useContext(toe),le;typeof c=="boolean"?le=c?{}:{distance:0}:le=c||{};var de=(n=(r=(i=le)===null||i===void 0?void 0:i.distance)!==null&&r!==void 0?r:pe==null?void 0:pe.pushDistance)!==null&&n!==void 0?n:180,ve=p.useMemo(function(){return{pushDistance:de,push:function(){he(!0)},pull:function(){he(!1)}}},[de]);p.useEffect(function(){if(a){var me;pe==null||(me=pe.push)===null||me===void 0||me.call(pe)}else{var be;pe==null||(be=pe.pull)===null||be===void 0||be.call(pe)}},[a]),p.useEffect(function(){return function(){var me;pe==null||(me=pe.pull)===null||me===void 0||me.call(pe)}},[]);var ne=T&&p.createElement(ia,Ke({key:"mask"},x,{visible:a}),function(me,be){var _e=me.className,Re=me.style;return p.createElement("div",{className:xe("".concat(o,"-mask"),_e,h==null?void 0:h.mask,A),style:G(G(G({},Re),I),W==null?void 0:W.mask),onClick:O&&a?B:void 0,ref:be})}),ue=typeof E=="function"?E(s):E,ge={};if(ie&&de)switch(s){case"top":ge.transform="translateY(".concat(de,"px)");break;case"bottom":ge.transform="translateY(".concat(-de,"px)");break;case"left":ge.transform="translateX(".concat(de,"px)");break;default:ge.transform="translateX(".concat(-de,"px)");break}s==="left"||s==="right"?ge.width=noe(C):ge.height=noe(S);var Ce={onMouseEnter:P,onMouseOver:k,onMouseLeave:N,onClick:L,onKeyDown:V,onKeyUp:$},Te=p.createElement(ia,Ke({key:"panel"},ue,{visible:a,forceRender:u,onVisibleChanged:function(be){M==null||M(be)},removeOnLeave:!1,leavedClassName:"".concat(o,"-content-wrapper-hidden")}),function(me,be){var _e=me.className,Re=me.style,De=p.createElement(lft,Ke({id:b,containerRef:be,prefixCls:o,className:xe(y,h==null?void 0:h.content),style:G(G({},_),W==null?void 0:W.content)},xi(e,{aria:!0}),Ce),w);return p.createElement("div",Ke({className:xe("".concat(o,"-content-wrapper"),h==null?void 0:h.wrapper,_e),style:G(G(G({},ge),Re),W==null?void 0:W.wrapper)},xi(e,{data:!0})),j?j(De):De)}),Se=G({},g);return v&&(Se.zIndex=v),p.createElement(toe.Provider,{value:ve},p.createElement("div",{className:xe(o,"".concat(o,"-").concat(s),m,ee(ee({},"".concat(o,"-open"),a),"".concat(o,"-inline"),l)),style:Se,tabIndex:-1,ref:U,onKeyDown:ae},ne,p.createElement("div",{tabIndex:0,ref:Z,style:roe,"aria-hidden":"true","data-sentinel":"start"}),Te,p.createElement("div",{tabIndex:0,ref:te,style:roe,"aria-hidden":"true","data-sentinel":"end"})))}var uft=p.forwardRef(cft),dft=function(t){var n=t.open,r=n===void 0?!1:n,i=t.prefixCls,o=i===void 0?"rc-drawer":i,a=t.placement,s=a===void 0?"right":a,l=t.autoFocus,c=l===void 0?!0:l,u=t.keyboard,d=u===void 0?!0:u,f=t.width,h=f===void 0?378:f,m=t.mask,g=m===void 0?!0:m,v=t.maskClosable,y=v===void 0?!0:v,b=t.getContainer,_=t.forceRender,E=t.afterOpenChange,C=t.destroyOnClose,S=t.onMouseEnter,w=t.onMouseOver,T=t.onMouseLeave,O=t.onClick,x=t.onKeyDown,A=t.onKeyUp,I=t.panelRef,M=p.useState(!1),B=Ie(M,2),P=B[0],k=B[1],N=p.useState(!1),L=Ie(N,2),V=L[0],$=L[1];ar(function(){$(!0)},[]);var W=V?r:!1,j=p.useRef(),U=p.useRef();ar(function(){W&&(U.current=document.activeElement)},[W]);var Z=function(ie){var he;if(k(ie),E==null||E(ie),!ie&&U.current&&!((he=j.current)!==null&&he!==void 0&&he.contains(U.current))){var pe;(pe=U.current)===null||pe===void 0||pe.focus({preventScroll:!0})}},te=p.useMemo(function(){return{panel:I}},[I]);if(!_&&!P&&!W&&C)return null;var ae={onMouseEnter:S,onMouseOver:w,onMouseLeave:T,onClick:O,onKeyDown:x,onKeyUp:A},K=G(G({},t),{},{open:W,prefixCls:o,placement:s,autoFocus:c,keyboard:d,width:h,mask:g,maskClosable:y,inline:b===!1,afterOpenChange:Z,ref:j},ae);return p.createElement(oxe.Provider,{value:te},p.createElement(l2,{open:W||_||P,autoDestroy:!1,getContainer:b,autoLock:g&&(W||P)},p.createElement(uft,K)))};const axe=e=>{var t,n;const{prefixCls:r,title:i,footer:o,extra:a,loading:s,onClose:l,headerStyle:c,bodyStyle:u,footerStyle:d,children:f,classNames:h,styles:m}=e,{drawer:g}=p.useContext(Xt),v=p.useCallback(C=>p.createElement("button",{type:"button",onClick:l,"aria-label":"Close",className:`${r}-close`},C),[l]),[y,b]=jq(p_(e),p_(g),{closable:!0,closeIconRender:v}),_=p.useMemo(()=>{var C,S;return!i&&!y?null:p.createElement("div",{style:Object.assign(Object.assign(Object.assign({},(C=g==null?void 0:g.styles)===null||C===void 0?void 0:C.header),c),m==null?void 0:m.header),className:xe(`${r}-header`,{[`${r}-header-close-only`]:y&&!i&&!a},(S=g==null?void 0:g.classNames)===null||S===void 0?void 0:S.header,h==null?void 0:h.header)},p.createElement("div",{className:`${r}-header-title`},b,i&&p.createElement("div",{className:`${r}-title`},i)),a&&p.createElement("div",{className:`${r}-extra`},a))},[y,b,a,c,r,i]),E=p.useMemo(()=>{var C,S;if(!o)return null;const w=`${r}-footer`;return p.createElement("div",{className:xe(w,(C=g==null?void 0:g.classNames)===null||C===void 0?void 0:C.footer,h==null?void 0:h.footer),style:Object.assign(Object.assign(Object.assign({},(S=g==null?void 0:g.styles)===null||S===void 0?void 0:S.footer),d),m==null?void 0:m.footer)},o)},[o,d,r]);return p.createElement(p.Fragment,null,_,p.createElement("div",{className:xe(`${r}-body`,h==null?void 0:h.body,(t=g==null?void 0:g.classNames)===null||t===void 0?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},(n=g==null?void 0:g.styles)===null||n===void 0?void 0:n.body),u),m==null?void 0:m.body)},s?p.createElement(Th,{active:!0,title:!1,paragraph:{rows:5},className:`${r}-body-skeleton`}):f),E)},fft=e=>{const t="100%";return{left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`}[e]},sxe=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),lxe=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},sxe({opacity:e},{opacity:1})),pft=(e,t)=>[lxe(.7,t),sxe({transform:fft(e)},{transform:"none"})],hft=e=>{const{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:lxe(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((r,i)=>Object.assign(Object.assign({},r),{[`&-${i}`]:pft(i,n)}),{})}}},mft=e=>{const{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:i,colorBgElevated:o,motionDurationSlow:a,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:f,lineWidth:h,lineType:m,colorSplit:g,marginXS:v,colorIcon:y,colorIconHover:b,colorBgTextHover:_,colorBgTextActive:E,colorText:C,fontWeightStrong:S,footerPaddingBlock:w,footerPaddingInline:T,calc:O}=e,x=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:C,"&-pure":{position:"relative",background:o,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:i,pointerEvents:"auto"},[x]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${a}`,"&-hidden":{display:"none"}},[`&-left > ${x}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${x}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${x}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${x}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:o,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${Ae(c)} ${Ae(u)}`,fontSize:d,lineHeight:f,borderBottom:`${Ae(h)} ${m} ${g}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:O(d).add(l).equal(),height:O(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:v,color:y,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:b,backgroundColor:_,textDecoration:"none"},"&:active":{backgroundColor:E}},Zs(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:f},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${Ae(w)} ${Ae(T)}`,borderTop:`${Ae(h)} ${m} ${g}`},"&-rtl":{direction:"rtl"}}}},gft=e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding}),cxe=lr("Drawer",e=>{const t=Kn(e,{});return[mft(t),hft(t)]},gft);var uxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{rootClassName:t,width:n,height:r,size:i="default",mask:o=!0,push:a=vft,open:s,afterOpenChange:l,onClose:c,prefixCls:u,getContainer:d,style:f,className:h,visible:m,afterVisibleChange:g,maskStyle:v,drawerStyle:y,contentWrapperStyle:b}=e,_=uxe(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:E,getPrefixCls:C,direction:S,drawer:w}=p.useContext(Xt),T=C("drawer",u),[O,x,A]=cxe(T),I=d===void 0&&E?()=>E(document.body):d,M=xe({"no-mask":!o,[`${T}-rtl`]:S==="rtl"},t,x,A),B=p.useMemo(()=>n??(i==="large"?736:378),[n,i]),P=p.useMemo(()=>r??(i==="large"?736:378),[r,i]),k={motionName:Va(T,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},N=te=>({motionName:Va(T,`panel-motion-${te}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500}),L=DEe(),[V,$]=Ru("Drawer",_.zIndex),{classNames:W={},styles:j={}}=_,{classNames:U={},styles:Z={}}=w||{};return O(p.createElement(Rd,{form:!0,space:!0},p.createElement(r2.Provider,{value:$},p.createElement(dft,Object.assign({prefixCls:T,onClose:c,maskMotion:k,motion:N},_,{classNames:{mask:xe(W.mask,U.mask),content:xe(W.content,U.content),wrapper:xe(W.wrapper,U.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},j.mask),v),Z.mask),content:Object.assign(Object.assign(Object.assign({},j.content),y),Z.content),wrapper:Object.assign(Object.assign(Object.assign({},j.wrapper),b),Z.wrapper)},open:s??m,mask:o,push:a,width:B,height:P,style:Object.assign(Object.assign({},w==null?void 0:w.style),f),className:xe(w==null?void 0:w.className,h),rootClassName:M,getContainer:I,afterOpenChange:l??g,panelRef:L,zIndex:V}),p.createElement(axe,Object.assign({prefixCls:T},_,{onClose:c}))))))},bft=e=>{const{prefixCls:t,style:n,className:r,placement:i="right"}=e,o=uxe(e,["prefixCls","style","className","placement"]),{getPrefixCls:a}=p.useContext(Xt),s=a("drawer",t),[l,c,u]=cxe(s),d=xe(s,`${s}-pure`,`${s}-${i}`,c,u,r);return l(p.createElement("div",{className:d,style:n},p.createElement(axe,Object.assign({prefixCls:s},o))))};NY._InternalPanelDoNotUseOrYouWillBeFired=bft;function ioe(e){return["small","middle","large"].includes(e)}function ooe(e){return e?typeof e=="number"&&!Number.isNaN(e):!1}const dxe=se.createContext({latestIndex:0}),yft=dxe.Provider,_ft=e=>{let{className:t,index:n,children:r,split:i,style:o}=e;const{latestIndex:a}=p.useContext(dxe);return r==null?null:p.createElement(p.Fragment,null,p.createElement("div",{className:t,style:o},r),n{var n,r,i;const{getPrefixCls:o,space:a,direction:s}=p.useContext(Xt),{size:l=(n=a==null?void 0:a.size)!==null&&n!==void 0?n:"small",align:c,className:u,rootClassName:d,children:f,direction:h="horizontal",prefixCls:m,split:g,style:v,wrap:y=!1,classNames:b,styles:_}=e,E=Sft(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[C,S]=Array.isArray(l)?l:[l,l],w=ioe(S),T=ioe(C),O=ooe(S),x=ooe(C),A=ko(f,{keepEmpty:!0}),I=c===void 0&&h==="horizontal"?"center":c,M=o("space",m),[B,P,k]=nEe(M),N=xe(M,a==null?void 0:a.className,P,`${M}-${h}`,{[`${M}-rtl`]:s==="rtl",[`${M}-align-${I}`]:I,[`${M}-gap-row-${S}`]:w,[`${M}-gap-col-${C}`]:T},u,d,k),L=xe(`${M}-item`,(r=b==null?void 0:b.item)!==null&&r!==void 0?r:(i=a==null?void 0:a.classNames)===null||i===void 0?void 0:i.item);let V=0;const $=A.map((U,Z)=>{var te,ae;U!=null&&(V=Z);const K=(U==null?void 0:U.key)||`${L}-${Z}`;return p.createElement(_ft,{className:L,key:K,index:Z,split:g,style:(te=_==null?void 0:_.item)!==null&&te!==void 0?te:(ae=a==null?void 0:a.styles)===null||ae===void 0?void 0:ae.item},U)}),W=p.useMemo(()=>({latestIndex:V}),[V]);if(A.length===0)return null;const j={};return y&&(j.flexWrap="wrap"),!T&&x&&(j.columnGap=C),!w&&O&&(j.rowGap=S),B(p.createElement("div",Object.assign({ref:t,className:N,style:Object.assign(Object.assign(Object.assign({},j),a==null?void 0:a.style),v)},E),p.createElement(yft,{value:W},$)))}),Xi=Eft;Xi.Compact=fXe;var Cft=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{getPopupContainer:t,getPrefixCls:n,direction:r}=p.useContext(Xt),{prefixCls:i,type:o="default",danger:a,disabled:s,loading:l,onClick:c,htmlType:u,children:d,className:f,menu:h,arrow:m,autoFocus:g,overlay:v,trigger:y,align:b,open:_,onOpenChange:E,placement:C,getPopupContainer:S,href:w,icon:T=p.createElement(sY,null),title:O,buttonsRender:x=Q=>Q,mouseEnterDelay:A,mouseLeaveDelay:I,overlayClassName:M,overlayStyle:B,destroyPopupOnHide:P,dropdownRender:k}=e,N=Cft(e,["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"]),L=n("dropdown",i),V=`${L}-button`,$={menu:h,arrow:m,autoFocus:g,align:b,disabled:s,trigger:s?[]:y,onOpenChange:E,getPopupContainer:S||t,mouseEnterDelay:A,mouseLeaveDelay:I,overlayClassName:M,overlayStyle:B,destroyPopupOnHide:P,dropdownRender:k},{compactSize:W,compactItemClassnames:j}=Fd(L,r),U=xe(V,j,f);"overlay"in e&&($.overlay=v),"open"in e&&($.open=_),"placement"in e?$.placement=C:$.placement=r==="rtl"?"bottomLeft":"bottomRight";const Z=p.createElement($n,{type:o,danger:a,disabled:s,loading:l,onClick:c,htmlType:u,href:w,title:O},d),te=p.createElement($n,{type:o,danger:a,icon:T}),[ae,K]=x([Z,te]);return p.createElement(Xi.Compact,Object.assign({className:U,size:W,block:!0},N),ae,p.createElement(m2,Object.assign({},$),K))};fxe.__ANT_BUTTON=!0;const vD=m2;vD.Button=fxe;var wft={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"},Tft=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:wft}))},pxe=p.forwardRef(Tft);function JM(e){const[t,n]=p.useState(e);return p.useEffect(()=>{const r=setTimeout(()=>{n(e)},e.length?0:10);return()=>{clearTimeout(r)}},[e]),t}const xft=e=>{const{componentCls:t}=e,n=`${t}-show-help`,r=`${t}-show-help-item`;return{[n]:{transition:`opacity ${e.motionDurationFast} ${e.motionEaseInOut}`,"&-appear, &-enter":{opacity:0,"&-active":{opacity:1}},"&-leave":{opacity:1,"&-active":{opacity:0}},[r]:{overflow:"hidden",transition:`height ${e.motionDurationFast} ${e.motionEaseInOut}, opacity ${e.motionDurationFast} ${e.motionEaseInOut}, transform ${e.motionDurationFast} ${e.motionEaseInOut} !important`,[`&${r}-appear, &${r}-enter`]:{transform:"translateY(-5px)",opacity:0,"&-active":{transform:"translateY(0)",opacity:1}},[`&${r}-leave-active`]:{transform:"translateY(-5px)"}}}}},Oft=e=>({legend:{display:"block",width:"100%",marginBottom:e.marginLG,padding:0,color:e.colorTextDescription,fontSize:e.fontSizeLG,lineHeight:"inherit",border:0,borderBottom:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`},'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 ${Ae(e.controlOutlineWidth)} ${e.controlOutline}`},output:{display:"block",paddingTop:15,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight}}),aoe=(e,t)=>{const{formItemCls:n}=e;return{[n]:{[`${n}-label > label`]:{height:t},[`${n}-control-input`]:{minHeight:t}}}},Rft=e=>{const{componentCls:t}=e;return{[e.componentCls]:Object.assign(Object.assign(Object.assign({},gr(e)),Oft(e)),{[`${t}-text`]:{display:"inline-block",paddingInlineEnd:e.paddingSM},"&-small":Object.assign({},aoe(e,e.controlHeightSM)),"&-large":Object.assign({},aoe(e,e.controlHeightLG))})}},Ift=e=>{const{formItemCls:t,iconCls:n,componentCls:r,rootPrefixCls:i,antCls:o,labelRequiredMarkColor:a,labelColor:s,labelFontSize:l,labelHeight:c,labelColonMarginInlineStart:u,labelColonMarginInlineEnd:d,itemMarginBottom:f}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{marginBottom:f,verticalAlign:"top","&-with-help":{transition:"none"},[`&-hidden, &-hidden${o}-row`]:{display:"none"},"&-has-warning":{[`${t}-split`]:{color:e.colorError}},"&-has-error":{[`${t}-split`]:{color:e.colorWarning}},[`${t}-label`]:{flexGrow:0,overflow:"hidden",whiteSpace:"nowrap",textAlign:"end",verticalAlign:"middle","&-left":{textAlign:"start"},"&-wrap":{overflow:"unset",lineHeight:e.lineHeight,whiteSpace:"unset"},"> label":{position:"relative",display:"inline-flex",alignItems:"center",maxWidth:"100%",height:c,color:s,fontSize:l,[`> ${n}`]:{fontSize:e.fontSize,verticalAlign:"top"},[`&${t}-required:not(${t}-required-mark-optional)::before`]:{display:"inline-block",marginInlineEnd:e.marginXXS,color:a,fontSize:e.fontSize,fontFamily:"SimSun, sans-serif",lineHeight:1,content:'"*"',[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-optional`]:{display:"inline-block",marginInlineStart:e.marginXXS,color:e.colorTextDescription,[`${r}-hide-required-mark &`]:{display:"none"}},[`${t}-tooltip`]:{color:e.colorTextDescription,cursor:"help",writingMode:"horizontal-tb",marginInlineStart:e.marginXXS},"&::after":{content:'":"',position:"relative",marginBlock:0,marginInlineStart:u,marginInlineEnd:d},[`&${t}-no-colon::after`]:{content:'"\\a0"'}}},[`${t}-control`]:{"--ant-display":"flex",flexDirection:"column",flexGrow:1,[`&:first-child:not([class^="'${i}-col-'"]):not([class*="' ${i}-col-'"])`]:{width:"100%"},"&-input":{position:"relative",display:"flex",alignItems:"center",minHeight:e.controlHeight,"&-content":{flex:"auto",maxWidth:"100%"}}},[t]:{"&-additional":{display:"flex",flexDirection:"column"},"&-explain, &-extra":{clear:"both",color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight},"&-explain-connected":{width:"100%"},"&-extra":{minHeight:e.controlHeightSM,transition:`color ${e.motionDurationMid} ${e.motionEaseOut}`},"&-explain":{"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning}}},[`&-with-help ${t}-explain`]:{height:"auto",opacity:1},[`${t}-feedback-icon`]:{fontSize:e.fontSize,textAlign:"center",visibility:"visible",animationName:Aq,animationDuration:e.motionDurationMid,animationTimingFunction:e.motionEaseOutBack,pointerEvents:"none","&-success":{color:e.colorSuccess},"&-error":{color:e.colorError},"&-warning":{color:e.colorWarning},"&-validating":{color:e.colorPrimary}}})}},soe=(e,t)=>{const{formItemCls:n}=e;return{[`${t}-horizontal`]:{[`${n}-label`]:{flexGrow:0},[`${n}-control`]:{flex:"1 1 0",minWidth:0},[`${n}-label[class$='-24'], ${n}-label[class*='-24 ']`]:{[`& + ${n}-control`]:{minWidth:"unset"}}}}},Aft=e=>{const{componentCls:t,formItemCls:n,inlineItemMarginBottom:r}=e;return{[`${t}-inline`]:{display:"flex",flexWrap:"wrap",[n]:{flex:"none",marginInlineEnd:e.margin,marginBottom:r,"&-row":{flexWrap:"nowrap"},[`> ${n}-label, @@ -422,7 +422,7 @@ html body { ${r}-col-24${n}-label, ${r}-col-xl-24${n}-label`]:td(e)}},[`@media (max-width: ${Ae(e.screenXSMax)})`]:[hxe(e),{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-xs-24${n}-label`]:td(e)}}}],[`@media (max-width: ${Ae(e.screenSMMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-sm-24${n}-label`]:td(e)}}},[`@media (max-width: ${Ae(e.screenMDMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-md-24${n}-label`]:td(e)}}},[`@media (max-width: ${Ae(e.screenLGMax)})`]:{[t]:{[`${n}:not(${n}-horizontal)`]:{[`${r}-col-lg-24${n}-label`]:td(e)}}}}},Mft=e=>{const{formItemCls:t,antCls:n}=e;return{[`${t}-vertical`]:{[`${t}-row`]:{flexDirection:"column"},[`${t}-label > label`]:{height:"auto"},[`${t}-control`]:{width:"100%"}},[`${t}-vertical ${t}-label, ${n}-col-24${t}-label, - ${n}-col-xl-24${t}-label`]:td(e),[`@media (max-width: ${Ae(e.screenXSMax)})`]:[hxe(e),{[t]:{[`${n}-col-xs-24${t}-label`]:td(e)}}],[`@media (max-width: ${Ae(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:td(e)}},[`@media (max-width: ${Ae(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:td(e)}},[`@media (max-width: ${Ae(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:td(e)}}}},kft=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),mxe=(e,t)=>Kn(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),MY=lr("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=mxe(e,n);return[Rft(r),Ift(r),xft(r),soe(r,r.componentCls),soe(r,r.formItemCls),Aft(r),Nft(r),Mft(r),a2(r),Aq]},kft,{order:-1e3}),loe=[];function f$(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}const gxe=e=>{let{help:t,helpStatus:n,errors:r=loe,warnings:i=loe,className:o,fieldId:a,onVisibleChanged:s}=e;const{prefixCls:l}=p.useContext(Bq),c=`${l}-item-explain`,u=ui(l),[d,f,h]=MY(l,u),m=p.useMemo(()=>d_(l),[l]),g=JM(r),v=JM(i),y=p.useMemo(()=>t!=null?[f$(t,"help",n)]:[].concat(nt(g.map((E,C)=>f$(E,"error","error",C))),nt(v.map((E,C)=>f$(E,"warning","warning",C)))),[t,n,g,v]),b=p.useMemo(()=>{const E={};return y.forEach(C=>{let{key:S}=C;E[S]=(E[S]||0)+1}),y.map((C,S)=>Object.assign(Object.assign({},C),{key:E[C.key]>1?`${C.key}-fallback-${S}`:C.key}))},[y]),_={};return a&&(_.id=`${a}_help`),d(p.createElement(ia,{motionDeadline:m.motionDeadline,motionName:`${l}-show-help`,visible:!!b.length,onVisibleChanged:s},E=>{const{className:C,style:S}=E;return p.createElement("div",Object.assign({},_,{className:xe(c,C,h,u,o,f),style:S,role:"alert"}),p.createElement(OP,Object.assign({keys:b},d_(l),{motionName:`${l}-show-help-item`,component:!1}),w=>{const{key:T,error:O,errorStatus:x,className:A,style:I}=w;return p.createElement("div",{key:T,className:xe(A,{[`${c}-${x}`]:x}),style:I},O)}))}))},Pft=["parentNode"],Dft="form_item";function mw(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function vxe(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:Pft.includes(n)?`${Dft}_${n}`:n}function bxe(e,t,n,r,i,o){let a=r;return o!==void 0?a=o:n.validating?a="validating":e.length?a="error":t.length?a="warning":(n.touched||i&&n.validated)&&(a="success"),a}function coe(e){return mw(e).join("_")}function uoe(e,t){const n=t.getFieldInstance(e),r=oP(n);if(r)return r;const i=vxe(mw(e),t.__INTERNAL__.name);if(i)return document.getElementById(i)}function yxe(e){const[t]=Fq(),n=p.useRef({}),r=p.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:i=>o=>{const a=coe(i);o?n.current[a]=o:delete n.current[a]}},scrollToField:function(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=uoe(i,r);a&&hQe(a,Object.assign({scrollMode:"if-needed",block:"nearest"},o))},focusField:i=>{var o;const a=uoe(i,r);a&&((o=a.focus)===null||o===void 0||o.call(a))},getFieldInstance:i=>{const o=coe(i);return n.current[o]}}),[e,t]);return[r]}var Lft=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=p.useContext(Wo),{getPrefixCls:r,direction:i,form:o}=p.useContext(Xt),{prefixCls:a,className:s,rootClassName:l,size:c,disabled:u=n,form:d,colon:f,labelAlign:h,labelWrap:m,labelCol:g,wrapperCol:v,hideRequiredMark:y,layout:b="horizontal",scrollToFirstError:_,requiredMark:E,onFinishFailed:C,name:S,style:w,feedbackIcons:T,variant:O}=e,x=Lft(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),A=Co(c),I=p.useContext(eSe),M=p.useMemo(()=>E!==void 0?E:y?!1:o&&o.requiredMark!==void 0?o.requiredMark:!0,[y,E,o]),B=f??(o==null?void 0:o.colon),P=r("form",a),k=ui(P),[N,L,V]=MY(P,k),$=xe(P,`${P}-${b}`,{[`${P}-hide-required-mark`]:M===!1,[`${P}-rtl`]:i==="rtl",[`${P}-${A}`]:A},V,k,L,o==null?void 0:o.className,s,l),[W]=yxe(d),{__INTERNAL__:j}=W;j.name=S;const U=p.useMemo(()=>({name:S,labelAlign:h,labelCol:g,labelWrap:m,wrapperCol:v,vertical:b==="vertical",colon:B,requiredMark:M,itemRef:j.itemRef,form:W,feedbackIcons:T}),[S,h,g,v,b,B,M,W,T]),Z=p.useRef(null);p.useImperativeHandle(t,()=>{var K;return Object.assign(Object.assign({},W),{nativeElement:(K=Z.current)===null||K===void 0?void 0:K.nativeElement})});const te=(K,Q)=>{if(K){let ie={block:"nearest"};typeof K=="object"&&(ie=Object.assign(Object.assign({},ie),K)),W.scrollToField(Q,ie),ie.focus&&W.focusField(Q)}},ae=K=>{if(C==null||C(K),K.errorFields.length){const Q=K.errorFields[0].name;if(_!==void 0){te(_,Q);return}o&&o.scrollToFirstError!==void 0&&te(o.scrollToFirstError,Q)}};return N(p.createElement(kEe.Provider,{value:O},p.createElement(bq,{disabled:u},p.createElement(Bv.Provider,{value:A},p.createElement(MEe,{validateMessages:I},p.createElement(dh.Provider,{value:U},p.createElement(vS,Object.assign({id:S},x,{name:S,onFinishFailed:ae,form:W,ref:Z,style:Object.assign(Object.assign({},o==null?void 0:o.style),w),className:$}))))))))},Fft=p.forwardRef($ft);function Bft(e){if(typeof e=="function")return e;const t=ko(e);return t.length<=1?t[0]:t}const _xe=()=>{const{status:e,errors:t=[],warnings:n=[]}=p.useContext(oa);return{status:e,errors:t,warnings:n}};_xe.Context=oa;function jft(e){const[t,n]=p.useState(e),r=p.useRef(null),i=p.useRef([]),o=p.useRef(!1);p.useEffect(()=>(o.current=!1,()=>{o.current=!0,nr.cancel(r.current),r.current=null}),[]);function a(s){o.current||(r.current===null&&(i.current=[],r.current=nr(()=>{r.current=null,n(l=>{let c=l;return i.current.forEach(u=>{c=u(c)}),c})})),i.current.push(s))}return[t,a]}function Hft(){const{itemRef:e}=p.useContext(dh),t=p.useRef({});function n(r,i){const o=i&&typeof i=="object"&&Ig(i),a=r.join("_");return(t.current.name!==a||t.current.originRef!==o)&&(t.current.name=a,t.current.originRef=o,t.current.ref=aa(e(r),o)),t.current.ref}return n}const Uft=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},zft=pS(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=mxe(e,n);return[Uft(r)]});var Vft=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,status:n,labelCol:r,wrapperCol:i,children:o,errors:a,warnings:s,_internalItemRender:l,extra:c,help:u,fieldId:d,marginBottom:f,onErrorVisibleChanged:h,label:m}=e,g=`${t}-item`,v=p.useContext(dh),y=p.useMemo(()=>{let B=Object.assign({},i||v.wrapperCol||{});return m===null&&!r&&!i&&v.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(k=>{const N=k?[k]:[],L=Ao(v.labelCol,N),V=typeof L=="object"?L:{},$=Ao(B,N),W=typeof $=="object"?$:{};"span"in V&&!("offset"in W)&&V.spanVft(v,["labelCol","wrapperCol"]),[v]),E=p.useRef(null),[C,S]=p.useState(0);ar(()=>{c&&E.current?S(E.current.clientHeight):S(0)},[c]);const w=p.createElement("div",{className:`${g}-control-input`},p.createElement("div",{className:`${g}-control-input-content`},o)),T=p.useMemo(()=>({prefixCls:t,status:n}),[t,n]),O=f!==null||a.length||s.length?p.createElement(Bq.Provider,{value:T},p.createElement(gxe,{fieldId:d,errors:a,warnings:s,help:u,helpStatus:n,className:`${g}-explain-connected`,onVisibleChanged:h})):null,x={};d&&(x.id=`${d}_extra`);const A=c?p.createElement("div",Object.assign({},x,{className:`${g}-extra`,ref:E}),c):null,I=O||A?p.createElement("div",{className:`${g}-additional`,style:f?{minHeight:f+C}:{}},O,A):null,M=l&&l.mark==="pro_table_render"&&l.render?l.render(e,{input:w,errorList:O,extra:A}):p.createElement(p.Fragment,null,w,I);return p.createElement(dh.Provider,{value:_},p.createElement(zv,Object.assign({},y,{className:b}),M),p.createElement(zft,{prefixCls:t}))};var qft={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"},Yft=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:qft}))},Kft=p.forwardRef(Yft),Qft=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{prefixCls:t,label:n,htmlFor:r,labelCol:i,labelAlign:o,colon:a,required:s,requiredMark:l,tooltip:c,vertical:u}=e;var d;const[f]=ds("Form"),{labelAlign:h,labelCol:m,labelWrap:g,colon:v}=p.useContext(dh);if(!n)return null;const y=i||m||{},b=o||h,_=`${t}-item-label`,E=xe(_,b==="left"&&`${_}-left`,y.className,{[`${_}-wrap`]:!!g});let C=n;const S=a===!0||v!==!1&&a!==!1;S&&!u&&typeof n=="string"&&n.trim()&&(C=n.replace(/[:|:]\s*$/,""));const T=Xft(c);if(T){const{icon:I=p.createElement(Kft,null)}=T,M=Qft(T,["icon"]),B=p.createElement(Aa,Object.assign({},M),p.cloneElement(I,{className:`${t}-item-tooltip`,title:"",onClick:P=>{P.preventDefault()},tabIndex:null}));C=p.createElement(p.Fragment,null,C,B)}const O=l==="optional",x=typeof l=="function";x?C=l(C,{required:!!s}):O&&!s&&(C=p.createElement(p.Fragment,null,C,p.createElement("span",{className:`${t}-item-optional`,title:""},(f==null?void 0:f.optional)||((d=Cc.Form)===null||d===void 0?void 0:d.optional))));const A=xe({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:O||x,[`${t}-item-no-colon`]:!S});return p.createElement(zv,Object.assign({},y,{className:E}),p.createElement("label",{htmlFor:r,className:A,title:typeof n=="string"?n:""},C))},Jft={success:S0,warning:Ag,error:qf,validating:xd};function Sxe(e){let{children:t,errors:n,warnings:r,hasFeedback:i,validateStatus:o,prefixCls:a,meta:s,noStyle:l}=e;const c=`${a}-item`,{feedbackIcons:u}=p.useContext(dh),d=bxe(n,r,s,null,!!i,o),{isFormItemInput:f,status:h,hasFeedback:m,feedbackIcon:g}=p.useContext(oa),v=p.useMemo(()=>{var y;let b;if(i){const E=i!==!0&&i.icons||u,C=d&&((y=E==null?void 0:E({status:d,errors:n,warnings:r}))===null||y===void 0?void 0:y[d]),S=d&&Jft[d];b=C!==!1&&S?p.createElement("span",{className:xe(`${c}-feedback-icon`,`${c}-feedback-icon-${d}`)},C||p.createElement(S,null)):null}const _={status:d||"",errors:n,warnings:r,hasFeedback:!!i,feedbackIcon:b,isFormItemInput:!0};return l&&(_.status=(d??h)||"",_.isFormItemInput=f,_.hasFeedback=!!(i??m),_.feedbackIcon=i!==void 0?_.feedbackIcon:g),_},[d,i,l,f,h]);return p.createElement(oa.Provider,{value:v},t)}var ept=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(A&&w.current){const V=getComputedStyle(w.current);B(parseInt(V.marginBottom,10))}},[A,I]);const P=V=>{V||B(null)},N=function(){let V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const $=V?T:c.errors,W=V?O:c.warnings;return bxe($,W,c,"",!!u,l)}(),L=xe(_,n,r,{[`${_}-with-help`]:x||T.length||O.length,[`${_}-has-feedback`]:N&&u,[`${_}-has-success`]:N==="success",[`${_}-has-warning`]:N==="warning",[`${_}-has-error`]:N==="error",[`${_}-is-validating`]:N==="validating",[`${_}-hidden`]:d,[`${_}-${y}`]:y});return p.createElement("div",{className:L,style:i,ref:w},p.createElement(w2,Object.assign({className:`${_}-row`},ur(b,["_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"])),p.createElement(Zft,Object.assign({htmlFor:h},e,{requiredMark:E,required:m??g,prefixCls:t,vertical:S})),p.createElement(Wft,Object.assign({},e,c,{errors:T,warnings:O,prefixCls:t,status:N,help:o,marginBottom:M,onErrorVisibleChanged:P}),p.createElement(NEe.Provider,{value:v},p.createElement(Sxe,{prefixCls:t,meta:c,errors:c.errors,warnings:c.warnings,hasFeedback:u,validateStatus:N},f)))),!!M&&p.createElement("div",{className:`${_}-margin-offset`,style:{marginBottom:-M}}))}const npt="__SPLIT__";function rpt(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(i=>{const o=e[i],a=t[i];return o===a||typeof o=="function"||typeof a=="function"})}const ipt=p.memo(e=>{let{children:t}=e;return t},(e,t)=>rpt(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function doe(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function opt(e){const{name:t,noStyle:n,className:r,dependencies:i,prefixCls:o,shouldUpdate:a,rules:s,children:l,required:c,label:u,messageVariables:d,trigger:f="onChange",validateTrigger:h,hidden:m,help:g,layout:v}=e,{getPrefixCls:y}=p.useContext(Xt),{name:b}=p.useContext(dh),_=Bft(l),E=typeof _=="function",C=p.useContext(NEe),{validateTrigger:S}=p.useContext(gg),w=h!==void 0?h:S,T=t!=null,O=y("form",o),x=ui(O),[A,I,M]=MY(O,x);Wf();const B=p.useContext(PT),P=p.useRef(null),[k,N]=jft({}),[L,V]=jv(()=>doe()),$=K=>{const Q=B==null?void 0:B.getKey(K.name);if(V(K.destroy?doe():K,!0),n&&g!==!1&&C){let ie=K.name;if(K.destroy)ie=P.current||ie;else if(Q!==void 0){const[he,pe]=Q;ie=[he].concat(nt(pe)),P.current=ie}C(K,ie)}},W=(K,Q)=>{N(ie=>{const he=Object.assign({},ie),le=[].concat(nt(K.name.slice(0,-1)),nt(Q)).join(npt);return K.destroy?delete he[le]:he[le]=K,he})},[j,U]=p.useMemo(()=>{const K=nt(L.errors),Q=nt(L.warnings);return Object.values(k).forEach(ie=>{K.push.apply(K,nt(ie.errors||[])),Q.push.apply(Q,nt(ie.warnings||[]))}),[K,Q]},[k,L.errors,L.warnings]),Z=Hft();function te(K,Q,ie){return n&&!m?p.createElement(Sxe,{prefixCls:O,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:L,errors:j,warnings:U,noStyle:!0},K):p.createElement(tpt,Object.assign({key:"row"},e,{className:xe(r,M,x,I),prefixCls:O,fieldId:Q,isRequired:ie,errors:j,warnings:U,meta:L,onSubItemMetaChange:W,layout:v}),K)}if(!T&&!E&&!i)return A(te(_));let ae={};return typeof u=="string"?ae.label=u:t&&(ae.label=String(t)),d&&(ae=Object.assign(Object.assign({},ae),d)),A(p.createElement($q,Object.assign({},e,{messageVariables:ae,trigger:f,validateTrigger:w,onMetaChange:$}),(K,Q,ie)=>{const he=mw(t).length&&Q?Q.name:[],pe=vxe(he,b),le=c!==void 0?c:!!(s!=null&&s.some(ne=>{if(ne&&typeof ne=="object"&&ne.required&&!ne.warningOnly)return!0;if(typeof ne=="function"){const ue=ne(ie);return(ue==null?void 0:ue.required)&&!(ue!=null&&ue.warningOnly)}return!1})),de=Object.assign({},K);let ve=null;if(Array.isArray(_)&&T)ve=_;else if(!(E&&(!(a||i)||T))){if(!(i&&!E&&!T))if(p.isValidElement(_)){const ne=Object.assign(Object.assign({},_.props),de);if(ne.id||(ne.id=pe),g||j.length>0||U.length>0||e.extra){const Ce=[];(g||j.length>0)&&Ce.push(`${pe}_help`),e.extra&&Ce.push(`${pe}_extra`),ne["aria-describedby"]=Ce.join(" ")}j.length>0&&(ne["aria-invalid"]="true"),le&&(ne["aria-required"]="true"),Cd(_)&&(ne.ref=Z(he,_)),new Set([].concat(nt(mw(f)),nt(mw(w)))).forEach(Ce=>{ne[Ce]=function(){for(var Te,Se,me,be,_e,Re=arguments.length,De=new Array(Re),z=0;z{var{prefixCls:t,children:n}=e,r=apt(e,["prefixCls","children"]);const{getPrefixCls:i}=p.useContext(Xt),o=i("form",t),a=p.useMemo(()=>({prefixCls:o,status:"error"}),[o]);return p.createElement(OEe,Object.assign({},r),(s,l,c)=>p.createElement(Bq.Provider,{value:a},n(s.map(u=>Object.assign(Object.assign({},u),{fieldKey:u.key})),l,{errors:c.errors,warnings:c.warnings})))};function lpt(){const{form:e}=p.useContext(dh);return e}const li=Fft;li.Item=Exe;li.List=spt;li.ErrorList=gxe;li.useForm=yxe;li.useFormInstance=lpt;li.useWatch=AEe;li.Provider=MEe;li.create=()=>{};function Cxe(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function cpt(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function _f(e,t,n,r){var i=cT.unstable_batchedUpdates?function(a){cT.unstable_batchedUpdates(n,a)}:n;return e!=null&&e.addEventListener&&e.addEventListener(t,i,r),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,i,r)}}}var T2=p.createContext(null),upt=function(t){var n=t.visible,r=t.maskTransitionName,i=t.getContainer,o=t.prefixCls,a=t.rootClassName,s=t.icons,l=t.countRender,c=t.showSwitch,u=t.showProgress,d=t.current,f=t.transform,h=t.count,m=t.scale,g=t.minScale,v=t.maxScale,y=t.closeIcon,b=t.onActive,_=t.onClose,E=t.onZoomIn,C=t.onZoomOut,S=t.onRotateRight,w=t.onRotateLeft,T=t.onFlipX,O=t.onFlipY,x=t.onReset,A=t.toolbarRender,I=t.zIndex,M=t.image,B=p.useContext(T2),P=s.rotateLeft,k=s.rotateRight,N=s.zoomIn,L=s.zoomOut,V=s.close,$=s.left,W=s.right,j=s.flipX,U=s.flipY,Z="".concat(o,"-operations-operation");p.useEffect(function(){var ue=function(Ce){Ce.keyCode===dt.ESC&&_()};return n&&window.addEventListener("keydown",ue),function(){window.removeEventListener("keydown",ue)}},[n]);var te=function(ge,Ce){ge.preventDefault(),ge.stopPropagation(),b(Ce)},ae=p.useCallback(function(ue){var ge=ue.type,Ce=ue.disabled,Te=ue.onClick,Se=ue.icon;return p.createElement("div",{key:ge,className:xe(Z,"".concat(o,"-operations-operation-").concat(ge),ee({},"".concat(o,"-operations-operation-disabled"),!!Ce)),onClick:Te},Se)},[Z,o]),K=c?ae({icon:$,onClick:function(ge){return te(ge,-1)},type:"prev",disabled:d===0}):void 0,Q=c?ae({icon:W,onClick:function(ge){return te(ge,1)},type:"next",disabled:d===h-1}):void 0,ie=ae({icon:U,onClick:O,type:"flipY"}),he=ae({icon:j,onClick:T,type:"flipX"}),pe=ae({icon:P,onClick:w,type:"rotateLeft"}),le=ae({icon:k,onClick:S,type:"rotateRight"}),de=ae({icon:L,onClick:C,type:"zoomOut",disabled:m<=g}),ve=ae({icon:N,onClick:E,type:"zoomIn",disabled:m===v}),ne=p.createElement("div",{className:"".concat(o,"-operations")},ie,he,pe,le,de,ve);return p.createElement(ia,{visible:n,motionName:r},function(ue){var ge=ue.className,Ce=ue.style;return p.createElement(l2,{open:!0,getContainer:i??document.body},p.createElement("div",{className:xe("".concat(o,"-operations-wrapper"),ge,a),style:G(G({},Ce),{},{zIndex:I})},y===null?null:p.createElement("button",{className:"".concat(o,"-close"),onClick:_},y||V),c&&p.createElement(p.Fragment,null,p.createElement("div",{className:xe("".concat(o,"-switch-left"),ee({},"".concat(o,"-switch-left-disabled"),d===0)),onClick:function(Se){return te(Se,-1)}},$),p.createElement("div",{className:xe("".concat(o,"-switch-right"),ee({},"".concat(o,"-switch-right-disabled"),d===h-1)),onClick:function(Se){return te(Se,1)}},W)),p.createElement("div",{className:"".concat(o,"-footer")},u&&p.createElement("div",{className:"".concat(o,"-progress")},l?l(d+1,h):"".concat(d+1," / ").concat(h)),A?A(ne,G(G({icons:{prevIcon:K,nextIcon:Q,flipYIcon:ie,flipXIcon:he,rotateLeftIcon:pe,rotateRightIcon:le,zoomOutIcon:de,zoomInIcon:ve},actions:{onActive:b,onFlipY:O,onFlipX:T,onRotateLeft:w,onRotateRight:S,onZoomOut:C,onZoomIn:E,onReset:x,onClose:_},transform:f},B?{current:d,total:h}:{}),{},{image:M})):ne)))})},LR={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function dpt(e,t,n,r){var i=p.useRef(null),o=p.useRef([]),a=p.useState(LR),s=Ie(a,2),l=s[0],c=s[1],u=function(m){c(LR),vu(LR,l)||r==null||r({transform:LR,action:m})},d=function(m,g){i.current===null&&(o.current=[],i.current=nr(function(){c(function(v){var y=v;return o.current.forEach(function(b){y=G(G({},y),b)}),i.current=null,r==null||r({transform:y,action:g}),y})})),o.current.push(G(G({},l),m))},f=function(m,g,v,y,b){var _=e.current,E=_.width,C=_.height,S=_.offsetWidth,w=_.offsetHeight,T=_.offsetLeft,O=_.offsetTop,x=m,A=l.scale*m;A>n?(A=n,x=n/l.scale):Ar){if(t>0)return ee({},e,o);if(t<0&&ir)return ee({},e,t<0?o:-o);return{}}function wxe(e,t,n,r){var i=Cxe(),o=i.width,a=i.height,s=null;return e<=o&&t<=a?s={x:0,y:0}:(e>o||t>a)&&(s=G(G({},foe("x",n,e,o)),foe("y",r,t,a))),s}var ny=1,fpt=1;function ppt(e,t,n,r,i,o,a){var s=i.rotate,l=i.scale,c=i.x,u=i.y,d=p.useState(!1),f=Ie(d,2),h=f[0],m=f[1],g=p.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),v=function(C){!t||C.button!==0||(C.preventDefault(),C.stopPropagation(),g.current={diffX:C.pageX-c,diffY:C.pageY-u,transformX:c,transformY:u},m(!0))},y=function(C){n&&h&&o({x:C.pageX-g.current.diffX,y:C.pageY-g.current.diffY},"move")},b=function(){if(n&&h){m(!1);var C=g.current,S=C.transformX,w=C.transformY,T=c!==S&&u!==w;if(!T)return;var O=e.current.offsetWidth*l,x=e.current.offsetHeight*l,A=e.current.getBoundingClientRect(),I=A.left,M=A.top,B=s%180!==0,P=wxe(B?x:O,B?O:x,I,M);P&&o(G({},P),"dragRebound")}},_=function(C){if(!(!n||C.deltaY==0)){var S=Math.abs(C.deltaY/100),w=Math.min(S,fpt),T=ny+w*r;C.deltaY>0&&(T=ny/T),a(T,"wheel",C.clientX,C.clientY)}};return p.useEffect(function(){var E,C,S,w;if(t){S=_f(window,"mouseup",b,!1),w=_f(window,"mousemove",y,!1);try{window.top!==window.self&&(E=_f(window.top,"mouseup",b,!1),C=_f(window.top,"mousemove",y,!1))}catch{}}return function(){var T,O,x,A;(T=S)===null||T===void 0||T.remove(),(O=w)===null||O===void 0||O.remove(),(x=E)===null||x===void 0||x.remove(),(A=C)===null||A===void 0||A.remove()}},[n,h,c,u,s,t]),{isMoving:h,onMouseDown:v,onMouseMove:y,onMouseUp:b,onWheel:_}}function hpt(e){return new Promise(function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e})}function Txe(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,i=p.useState(n?"loading":"normal"),o=Ie(i,2),a=o[0],s=o[1],l=p.useRef(!1),c=a==="error";p.useEffect(function(){var h=!0;return hpt(t).then(function(m){!m&&h&&s("error")}),function(){h=!1}},[t]),p.useEffect(function(){n&&!l.current?s("loading"):c&&s("normal")},[t]);var u=function(){s("normal")},d=function(m){l.current=!1,a==="loading"&&m!==null&&m!==void 0&&m.complete&&(m.naturalWidth||m.naturalHeight)&&(l.current=!0,u())},f=c&&r?{src:r}:{onLoad:u,src:t};return[d,f,a]}function ek(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function mpt(e,t,n,r){var i=ek(e,n),o=ek(t,r);if(i===0&&o===0)return[e.x,e.y];var a=i/(i+o),s=e.x+a*(t.x-e.x),l=e.y+a*(t.y-e.y);return[s,l]}function gpt(e,t,n,r,i,o,a){var s=i.rotate,l=i.scale,c=i.x,u=i.y,d=p.useState(!1),f=Ie(d,2),h=f[0],m=f[1],g=p.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),v=function(C){g.current=G(G({},g.current),C)},y=function(C){if(t){C.stopPropagation(),m(!0);var S=C.touches,w=S===void 0?[]:S;w.length>1?v({point1:{x:w[0].clientX,y:w[0].clientY},point2:{x:w[1].clientX,y:w[1].clientY},eventType:"touchZoom"}):v({point1:{x:w[0].clientX-c,y:w[0].clientY-u},eventType:"move"})}},b=function(C){var S=C.touches,w=S===void 0?[]:S,T=g.current,O=T.point1,x=T.point2,A=T.eventType;if(w.length>1&&A==="touchZoom"){var I={x:w[0].clientX,y:w[0].clientY},M={x:w[1].clientX,y:w[1].clientY},B=mpt(O,x,I,M),P=Ie(B,2),k=P[0],N=P[1],L=ek(I,M)/ek(O,x);a(L,"touchZoom",k,N,!0),v({point1:I,point2:M,eventType:"touchZoom"})}else A==="move"&&(o({x:w[0].clientX-O.x,y:w[0].clientY-O.y},"move"),v({eventType:"move"}))},_=function(){if(n){if(h&&m(!1),v({eventType:"none"}),r>l)return o({x:0,y:0,scale:r},"touchZoom");var C=e.current.offsetWidth*l,S=e.current.offsetHeight*l,w=e.current.getBoundingClientRect(),T=w.left,O=w.top,x=s%180!==0,A=wxe(x?S:C,x?C:S,T,O);A&&o(G({},A),"dragRebound")}};return p.useEffect(function(){var E;return n&&t&&(E=_f(window,"touchmove",function(C){return C.preventDefault()},{passive:!1})),function(){var C;(C=E)===null||C===void 0||C.remove()}},[n,t]),{isTouching:h,onTouchStart:y,onTouchMove:b,onTouchEnd:_}}var vpt=["fallback","src","imgRef"],bpt=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],ypt=function(t){var n=t.fallback,r=t.src,i=t.imgRef,o=Dt(t,vpt),a=Txe({src:r,fallback:n}),s=Ie(a,2),l=s[0],c=s[1];return se.createElement("img",Ke({ref:function(d){i.current=d,l(d)}},o,c))},xxe=function(t){var n=t.prefixCls,r=t.src,i=t.alt,o=t.imageInfo,a=t.fallback,s=t.movable,l=s===void 0?!0:s,c=t.onClose,u=t.visible,d=t.icons,f=d===void 0?{}:d,h=t.rootClassName,m=t.closeIcon,g=t.getContainer,v=t.current,y=v===void 0?0:v,b=t.count,_=b===void 0?1:b,E=t.countRender,C=t.scaleStep,S=C===void 0?.5:C,w=t.minScale,T=w===void 0?1:w,O=t.maxScale,x=O===void 0?50:O,A=t.transitionName,I=A===void 0?"zoom":A,M=t.maskTransitionName,B=M===void 0?"fade":M,P=t.imageRender,k=t.imgCommonProps,N=t.toolbarRender,L=t.onTransform,V=t.onChange,$=Dt(t,bpt),W=p.useRef(),j=p.useContext(T2),U=j&&_>1,Z=j&&_>=1,te=p.useState(!0),ae=Ie(te,2),K=ae[0],Q=ae[1],ie=dpt(W,T,x,L),he=ie.transform,pe=ie.resetTransform,le=ie.updateTransform,de=ie.dispatchZoomChange,ve=ppt(W,l,u,S,he,le,de),ne=ve.isMoving,ue=ve.onMouseDown,ge=ve.onWheel,Ce=gpt(W,l,u,T,he,le,de),Te=Ce.isTouching,Se=Ce.onTouchStart,me=Ce.onTouchMove,be=Ce.onTouchEnd,_e=he.rotate,Re=he.scale,De=xe(ee({},"".concat(n,"-moving"),ne));p.useEffect(function(){K||Q(!0)},[K]);var z=function(){pe("close")},D=function(){de(ny+S,"zoomIn")},q=function(){de(ny/(ny+S),"zoomOut")},oe=function(){le({rotate:_e+90},"rotateRight")},ye=function(){le({rotate:_e-90},"rotateLeft")},ce=function(){le({flipX:!he.flipX},"flipX")},Be=function(){le({flipY:!he.flipY},"flipY")},Ve=function(){pe("reset")},re=function(qe){var At=y+qe;!Number.isInteger(At)||At<0||At>_-1||(Q(!1),pe(qe<0?"prev":"next"),V==null||V(At,y))},Me=function(qe){!u||!U||(qe.keyCode===dt.LEFT?re(-1):qe.keyCode===dt.RIGHT&&re(1))},je=function(qe){u&&(Re!==1?le({x:0,y:0,scale:1},"doubleClick"):de(ny+S,"doubleClick",qe.clientX,qe.clientY))};p.useEffect(function(){var Ue=_f(window,"keydown",Me,!1);return function(){Ue.remove()}},[u,U,y]);var ke=se.createElement(ypt,Ke({},k,{width:t.width,height:t.height,imgRef:W,className:"".concat(n,"-img"),alt:i,style:{transform:"translate3d(".concat(he.x,"px, ").concat(he.y,"px, 0) scale3d(").concat(he.flipX?"-":"").concat(Re,", ").concat(he.flipY?"-":"").concat(Re,", 1) rotate(").concat(_e,"deg)"),transitionDuration:(!K||Te)&&"0s"},fallback:a,src:r,onWheel:ge,onMouseDown:ue,onDoubleClick:je,onTouchStart:Se,onTouchMove:me,onTouchEnd:be,onTouchCancel:be})),Ge=G({url:r,alt:i},o);return se.createElement(se.Fragment,null,se.createElement(Dq,Ke({transitionName:I,maskTransitionName:B,closable:!1,keyboard:!0,prefixCls:n,onClose:c,visible:u,classNames:{wrapper:De},rootClassName:h,getContainer:g},$,{afterClose:z}),se.createElement("div",{className:"".concat(n,"-img-wrapper")},P?P(ke,G({transform:he,image:Ge},j?{current:y}:{})):ke)),se.createElement(upt,{visible:u,transform:he,maskTransitionName:B,closeIcon:m,getContainer:g,prefixCls:n,rootClassName:h,icons:f,countRender:E,showSwitch:U,showProgress:Z,current:y,count:_,scale:Re,minScale:T,maxScale:x,toolbarRender:N,onActive:re,onZoomIn:D,onZoomOut:q,onRotateRight:oe,onRotateLeft:ye,onFlipX:ce,onFlipY:Be,onClose:c,onReset:Ve,zIndex:$.zIndex!==void 0?$.zIndex+1:void 0,image:Ge}))},oU=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function _pt(e){var t=p.useState({}),n=Ie(t,2),r=n[0],i=n[1],o=p.useCallback(function(s,l){return i(function(c){return G(G({},c),{},ee({},s,l))}),function(){i(function(c){var u=G({},c);return delete u[s],u})}},[]),a=p.useMemo(function(){return e?e.map(function(s){if(typeof s=="string")return{data:{src:s}};var l={};return Object.keys(s).forEach(function(c){["src"].concat(nt(oU)).includes(c)&&(l[c]=s[c])}),{data:l}}):Object.keys(r).reduce(function(s,l){var c=r[l],u=c.canPreview,d=c.data;return u&&s.push({data:d,id:l}),s},[])},[e,r]);return[a,o,!!e]}var Spt=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Ept=["src"],Cpt=function(t){var n,r=t.previewPrefixCls,i=r===void 0?"rc-image-preview":r,o=t.children,a=t.icons,s=a===void 0?{}:a,l=t.items,c=t.preview,u=t.fallback,d=Gt(c)==="object"?c:{},f=d.visible,h=d.onVisibleChange,m=d.getContainer,g=d.current,v=d.movable,y=d.minScale,b=d.maxScale,_=d.countRender,E=d.closeIcon,C=d.onChange,S=d.onTransform,w=d.toolbarRender,T=d.imageRender,O=Dt(d,Spt),x=_pt(l),A=Ie(x,3),I=A[0],M=A[1],B=A[2],P=Pn(0,{value:g}),k=Ie(P,2),N=k[0],L=k[1],V=p.useState(!1),$=Ie(V,2),W=$[0],j=$[1],U=((n=I[N])===null||n===void 0?void 0:n.data)||{},Z=U.src,te=Dt(U,Ept),ae=Pn(!!f,{value:f,onChange:function(Te,Se){h==null||h(Te,Se,N)}}),K=Ie(ae,2),Q=K[0],ie=K[1],he=p.useState(null),pe=Ie(he,2),le=pe[0],de=pe[1],ve=p.useCallback(function(Ce,Te,Se,me){var be=B?I.findIndex(function(_e){return _e.data.src===Te}):I.findIndex(function(_e){return _e.id===Ce});L(be<0?0:be),ie(!0),de({x:Se,y:me}),j(!0)},[I,B]);p.useEffect(function(){Q?W||L(0):j(!1)},[Q]);var ne=function(Te,Se){L(Te),C==null||C(Te,Se)},ue=function(){ie(!1),de(null)},ge=p.useMemo(function(){return{register:M,onPreview:ve}},[M,ve]);return p.createElement(T2.Provider,{value:ge},o,p.createElement(xxe,Ke({"aria-hidden":!Q,movable:v,visible:Q,prefixCls:i,closeIcon:E,onClose:ue,mousePosition:le,imgCommonProps:te,src:Z,fallback:u,icons:s,minScale:y,maxScale:b,getContainer:m,current:N,count:I.length,countRender:_,onTransform:S,toolbarRender:w,imageRender:T,onChange:ne},O)))},poe=0;function wpt(e,t){var n=p.useState(function(){return poe+=1,String(poe)}),r=Ie(n,1),i=r[0],o=p.useContext(T2),a={data:t,canPreview:e};return p.useEffect(function(){if(o)return o.register(i,a)},[]),p.useEffect(function(){o&&o.register(i,a)},[e,t]),i}var Tpt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],xpt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],kY=function(t){var n=t.src,r=t.alt,i=t.onPreviewClose,o=t.prefixCls,a=o===void 0?"rc-image":o,s=t.previewPrefixCls,l=s===void 0?"".concat(a,"-preview"):s,c=t.placeholder,u=t.fallback,d=t.width,f=t.height,h=t.style,m=t.preview,g=m===void 0?!0:m,v=t.className,y=t.onClick,b=t.onError,_=t.wrapperClassName,E=t.wrapperStyle,C=t.rootClassName,S=Dt(t,Tpt),w=c&&c!==!0,T=Gt(g)==="object"?g:{},O=T.src,x=T.visible,A=x===void 0?void 0:x,I=T.onVisibleChange,M=I===void 0?i:I,B=T.getContainer,P=B===void 0?void 0:B,k=T.mask,N=T.maskClassName,L=T.movable,V=T.icons,$=T.scaleStep,W=T.minScale,j=T.maxScale,U=T.imageRender,Z=T.toolbarRender,te=Dt(T,xpt),ae=O??n,K=Pn(!!A,{value:A,onChange:M}),Q=Ie(K,2),ie=Q[0],he=Q[1],pe=Txe({src:n,isCustomPlaceholder:w,fallback:u}),le=Ie(pe,3),de=le[0],ve=le[1],ne=le[2],ue=p.useState(null),ge=Ie(ue,2),Ce=ge[0],Te=ge[1],Se=p.useContext(T2),me=!!g,be=function(){he(!1),Te(null)},_e=xe(a,_,C,ee({},"".concat(a,"-error"),ne==="error")),Re=p.useMemo(function(){var q={};return oU.forEach(function(oe){t[oe]!==void 0&&(q[oe]=t[oe])}),q},oU.map(function(q){return t[q]})),De=p.useMemo(function(){return G(G({},Re),{},{src:ae})},[ae,Re]),z=wpt(me,De),D=function(oe){var ye=cpt(oe.target),ce=ye.left,Be=ye.top;Se?Se.onPreview(z,ae,ce,Be):(Te({x:ce,y:Be}),he(!0)),y==null||y(oe)};return p.createElement(p.Fragment,null,p.createElement("div",Ke({},S,{className:_e,onClick:me?D:y,style:G({width:d,height:f},E)}),p.createElement("img",Ke({},Re,{className:xe("".concat(a,"-img"),ee({},"".concat(a,"-img-placeholder"),c===!0),v),style:G({height:f},h),ref:de},ve,{width:d,height:f,onError:b})),ne==="loading"&&p.createElement("div",{"aria-hidden":"true",className:"".concat(a,"-placeholder")},c),k&&me&&p.createElement("div",{className:xe("".concat(a,"-mask"),N),style:{display:(h==null?void 0:h.display)==="none"?"none":void 0}},k)),!Se&&me&&p.createElement(xxe,Ke({"aria-hidden":!ie,visible:ie,prefixCls:l,onClose:be,mousePosition:Ce,src:ae,alt:r,imageInfo:{width:d,height:f},fallback:u,getContainer:P,icons:V,movable:L,scaleStep:$,minScale:W,maxScale:j,rootClassName:C,imageRender:U,imgCommonProps:Re,toolbarRender:Z},te)))};kY.PreviewGroup=Cpt;var Opt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Rpt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Opt}))},Ipt=p.forwardRef(Rpt),Apt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Npt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Apt}))},Mpt=p.forwardRef(Npt),kpt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Ppt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:kpt}))},hoe=p.forwardRef(Ppt),Dpt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Lpt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Dpt}))},$pt=p.forwardRef(Lpt),Fpt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},Bpt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Fpt}))},jpt=p.forwardRef(Bpt);const aU=e=>({position:e||"absolute",inset:0}),Hpt=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:i,prefixCls:o,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new rr("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${o}-mask-info`]:Object.assign(Object.assign({},kl),{padding:`0 ${Ae(r)}`,[t]:{marginInlineEnd:i,svg:{verticalAlign:"baseline"}}})}},Upt=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:i,margin:o,paddingLG:a,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,f=new rr(n).setA(.1),h=f.clone().setA(.2);return{[`${t}-footer`]:{position:"fixed",bottom:i,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:o},[`${t}-close`]:{position:"fixed",top:i,right:{_skip_check_:!0,value:i},display:"flex",color:d,backgroundColor:f.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:h.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${Ae(a)}`,backgroundColor:f.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},zpt=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:i,zIndexPopup:o,motionDurationSlow:a}=e,s=new rr(t).setA(.1),l=s.clone().setA(.2);return{[`${i}-switch-left, ${i}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(o).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${i}-switch-left`]:{insetInlineStart:e.marginSM},[`${i}-switch-right`]:{insetInlineEnd:e.marginSM}}},Vpt=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:i}=e;return[{[`${i}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},aU()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},aU()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${i}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${i}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[Upt(e),zpt(e)]}]},Gpt=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},Hpt(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},aU())}}},Wpt=e=>{const{previewCls:t}=e;return{[`${t}-root`]:gS(e,"zoom"),"&":Iq(e,!0)}},qpt=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new rr(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new rr(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new rr(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),Oxe=lr("Image",e=>{const t=`${e.componentCls}-preview`,n=Kn(e,{previewCls:t,modalMaskBg:new rr("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[Gpt(n),Vpt(n),BEe(Kn(n,{componentCls:t})),Wpt(n)]},qpt);var Ypt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{previewPrefixCls:t,preview:n}=e,r=Ypt(e,["previewPrefixCls","preview"]);const{getPrefixCls:i}=p.useContext(Xt),o=i("image",t),a=`${o}-preview`,s=i(),l=ui(o),[c,u,d]=Oxe(o,l),[f]=Ru("ImagePreview",typeof n=="object"?n.zIndex:void 0),h=p.useMemo(()=>{var m;if(n===!1)return n;const g=typeof n=="object"?n:{},v=xe(u,d,l,(m=g.rootClassName)!==null&&m!==void 0?m:"");return Object.assign(Object.assign({},g),{transitionName:Va(s,"zoom",g.transitionName),maskTransitionName:Va(s,"fade",g.maskTransitionName),rootClassName:v,zIndex:f})},[n]);return c(p.createElement(kY.PreviewGroup,Object.assign({preview:h,previewPrefixCls:a,icons:Rxe},r)))};var moe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var t;const{prefixCls:n,preview:r,className:i,rootClassName:o,style:a}=e,s=moe(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:l,locale:c=Cc,getPopupContainer:u,image:d}=p.useContext(Xt),f=l("image",n),h=l(),m=c.Image||Cc.Image,g=ui(f),[v,y,b]=Oxe(f,g),_=xe(o,y,b,g),E=xe(i,y,d==null?void 0:d.className),[C]=Ru("ImagePreview",typeof r=="object"?r.zIndex:void 0),S=p.useMemo(()=>{var T;if(r===!1)return r;const O=typeof r=="object"?r:{},{getContainer:x,closeIcon:A,rootClassName:I}=O,M=moe(O,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:p.createElement("div",{className:`${f}-mask-info`},p.createElement(OS,null),m==null?void 0:m.preview),icons:Rxe},M),{rootClassName:xe(_,I),getContainer:x??u,transitionName:Va(h,"zoom",O.transitionName),maskTransitionName:Va(h,"fade",O.maskTransitionName),zIndex:C,closeIcon:A??((T=d==null?void 0:d.preview)===null||T===void 0?void 0:T.closeIcon)})},[r,m,(t=d==null?void 0:d.preview)===null||t===void 0?void 0:t.closeIcon]),w=Object.assign(Object.assign({},d==null?void 0:d.style),a);return v(p.createElement(kY,Object.assign({prefixCls:f,preview:S,rootClassName:_,className:E,style:w},s)))};Ixe.PreviewGroup=Kpt;function Qpt(e,t,n){return typeof n=="boolean"?n:e.length?!0:ko(t).some(i=>i.type===ZCe)}var Axe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ip.forwardRef((a,s)=>p.createElement(i,Object.assign({ref:s,suffixCls:t,tagName:n},a)))}const PY=p.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:i,tagName:o}=e,a=Axe(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=p.useContext(Xt),l=s("layout",n),[c,u,d]=XCe(l),f=r?`${l}-${r}`:l;return c(p.createElement(o,Object.assign({className:xe(n||f,i,u,d),ref:t},a)))}),Xpt=p.forwardRef((e,t)=>{const{direction:n}=p.useContext(Xt),[r,i]=p.useState([]),{prefixCls:o,className:a,rootClassName:s,children:l,hasSider:c,tagName:u,style:d}=e,f=Axe(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),h=ur(f,["suffixCls"]),{getPrefixCls:m,layout:g}=p.useContext(Xt),v=m("layout",o),y=Qpt(r,l,c),[b,_,E]=XCe(v),C=xe(v,{[`${v}-has-sider`]:y,[`${v}-rtl`]:n==="rtl"},g==null?void 0:g.className,a,s,_,E),S=p.useMemo(()=>({siderHook:{addSider:w=>{i(T=>[].concat(nt(T),[w]))},removeSider:w=>{i(T=>T.filter(O=>O!==w))}}}),[]);return b(p.createElement(YCe.Provider,{value:S},p.createElement(u,Object.assign({ref:t,className:C,style:Object.assign(Object.assign({},g==null?void 0:g.style),d)},h),l)))}),Zpt=bD({tagName:"div",displayName:"Layout"})(Xpt),tk=bD({suffixCls:"header",tagName:"header",displayName:"Header"})(PY),Jpt=bD({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(PY),eht=bD({suffixCls:"content",tagName:"main",displayName:"Content"})(PY),fo=Zpt;fo.Header=tk;fo.Footer=Jpt;fo.Content=eht;fo.Sider=ZCe;fo._InternalSiderContext=rD;const DY=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const i=n[r];i!==void 0&&(e[r]=i)})}return e};var tht={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},nht=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:tht}))},goe=p.forwardRef(nht),rht={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},iht=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:rht}))},voe=p.forwardRef(iht),Nxe={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},oht=[10,20,50,100],aht=function(t){var n=t.pageSizeOptions,r=n===void 0?oht:n,i=t.locale,o=t.changeSize,a=t.pageSize,s=t.goButton,l=t.quickGo,c=t.rootPrefixCls,u=t.disabled,d=t.buildOptionText,f=t.showSizeChanger,h=t.sizeChangerRender,m=se.useState(""),g=Ie(m,2),v=g[0],y=g[1],b=function(){return!v||Number.isNaN(v)?void 0:Number(v)},_=typeof d=="function"?d:function(I){return"".concat(I," ").concat(i.items_per_page)},E=function(M){y(M.target.value)},C=function(M){s||v===""||(y(""),!(M.relatedTarget&&(M.relatedTarget.className.indexOf("".concat(c,"-item-link"))>=0||M.relatedTarget.className.indexOf("".concat(c,"-item"))>=0))&&(l==null||l(b())))},S=function(M){v!==""&&(M.keyCode===dt.ENTER||M.type==="click")&&(y(""),l==null||l(b()))},w=function(){return r.some(function(M){return M.toString()===a.toString()})?r:r.concat([a]).sort(function(M,B){var P=Number.isNaN(Number(M))?0:Number(M),k=Number.isNaN(Number(B))?0:Number(B);return P-k})},T="".concat(c,"-options");if(!f&&!l)return null;var O=null,x=null,A=null;return f&&h&&(O=h({disabled:u,size:a,onSizeChange:function(M){o==null||o(Number(M))},"aria-label":i.page_size,className:"".concat(T,"-size-changer"),options:w().map(function(I){return{label:_(I),value:I}})})),l&&(s&&(A=typeof s=="boolean"?se.createElement("button",{type:"button",onClick:S,onKeyUp:S,disabled:u,className:"".concat(T,"-quick-jumper-button")},i.jump_to_confirm):se.createElement("span",{onClick:S,onKeyUp:S},s)),x=se.createElement("div",{className:"".concat(T,"-quick-jumper")},i.jump_to,se.createElement("input",{disabled:u,type:"text",value:v,onChange:E,onKeyUp:S,onBlur:C,"aria-label":i.page}),i.page,A)),se.createElement("li",{className:T},O,x)},jE=function(t){var n,r=t.rootPrefixCls,i=t.page,o=t.active,a=t.className,s=t.showTitle,l=t.onClick,c=t.onKeyPress,u=t.itemRender,d="".concat(r,"-item"),f=xe(d,"".concat(d,"-").concat(i),(n={},ee(n,"".concat(d,"-active"),o),ee(n,"".concat(d,"-disabled"),!i),n),a),h=function(){l(i)},m=function(y){c(y,l,i)},g=u(i,"page",se.createElement("a",{rel:"nofollow"},i));return g?se.createElement("li",{title:s?String(i):null,className:f,onClick:h,onKeyDown:m,tabIndex:0},g):null},sht=function(t,n,r){return r};function boe(){}function yoe(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function o1(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var lht=function(t){var n,r=t.prefixCls,i=r===void 0?"rc-pagination":r,o=t.selectPrefixCls,a=o===void 0?"rc-select":o,s=t.className,l=t.current,c=t.defaultCurrent,u=c===void 0?1:c,d=t.total,f=d===void 0?0:d,h=t.pageSize,m=t.defaultPageSize,g=m===void 0?10:m,v=t.onChange,y=v===void 0?boe:v,b=t.hideOnSinglePage,_=t.align,E=t.showPrevNextJumpers,C=E===void 0?!0:E,S=t.showQuickJumper,w=t.showLessItems,T=t.showTitle,O=T===void 0?!0:T,x=t.onShowSizeChange,A=x===void 0?boe:x,I=t.locale,M=I===void 0?Nxe:I,B=t.style,P=t.totalBoundaryShowSizeChanger,k=P===void 0?50:P,N=t.disabled,L=t.simple,V=t.showTotal,$=t.showSizeChanger,W=$===void 0?f>k:$,j=t.sizeChangerRender,U=t.pageSizeOptions,Z=t.itemRender,te=Z===void 0?sht:Z,ae=t.jumpPrevIcon,K=t.jumpNextIcon,Q=t.prevIcon,ie=t.nextIcon,he=se.useRef(null),pe=Pn(10,{value:h,defaultValue:g}),le=Ie(pe,2),de=le[0],ve=le[1],ne=Pn(1,{value:l,defaultValue:u,postState:function(J){return Math.max(1,Math.min(J,o1(void 0,de,f)))}}),ue=Ie(ne,2),ge=ue[0],Ce=ue[1],Te=se.useState(ge),Se=Ie(Te,2),me=Se[0],be=Se[1];p.useEffect(function(){be(ge)},[ge]);var _e=Math.max(1,ge-(w?3:5)),Re=Math.min(o1(void 0,de,f),ge+(w?3:5));function De(F,J){var Oe=F||se.createElement("button",{type:"button","aria-label":J,className:"".concat(i,"-item-link")});return typeof F=="function"&&(Oe=se.createElement(F,G({},t))),Oe}function z(F){var J=F.target.value,Oe=o1(void 0,de,f),$e;return J===""?$e=J:Number.isNaN(Number(J))?$e=me:J>=Oe?$e=Oe:$e=Number(J),$e}function D(F){return yoe(F)&&F!==ge&&yoe(f)&&f>0}var q=f>de?S:!1;function oe(F){(F.keyCode===dt.UP||F.keyCode===dt.DOWN)&&F.preventDefault()}function ye(F){var J=z(F);switch(J!==me&&be(J),F.keyCode){case dt.ENTER:Ve(J);break;case dt.UP:Ve(J-1);break;case dt.DOWN:Ve(J+1);break}}function ce(F){Ve(z(F))}function Be(F){var J=o1(F,de,f),Oe=ge>J&&J!==0?J:ge;ve(F),be(Oe),A==null||A(ge,F),Ce(Oe),y==null||y(Oe,F)}function Ve(F){if(D(F)&&!N){var J=o1(void 0,de,f),Oe=F;return F>J?Oe=J:F<1&&(Oe=1),Oe!==me&&be(Oe),Ce(Oe),y==null||y(Oe,de),Oe}return ge}var re=ge>1,Me=ge2?Oe-2:0),et=2;etf?f:ge*de])),Ye=null,He=o1(void 0,de,f);if(b&&f<=de)return null;var Ze=[],yt={rootPrefixCls:i,onClick:Ve,onKeyPress:qe,showTitle:O,itemRender:te,page:-1},_t=ge-1>0?ge-1:0,Bt=ge+1=Et*2&&ge!==3&&(Ze[0]=se.cloneElement(Ze[0],{className:xe("".concat(i,"-item-after-jump-prev"),Ze[0].props.className)}),Ze.unshift(Ot)),He-ge>=Et*2&&ge!==He-2){var Pt=Ze[Ze.length-1];Ze[Ze.length-1]=se.cloneElement(Pt,{className:xe("".concat(i,"-item-before-jump-next"),Pt.props.className)}),Ze.push(Ye)}St!==1&&Ze.unshift(se.createElement(jE,Ke({},yt,{key:1,page:1}))),jt!==He&&Ze.push(se.createElement(jE,Ke({},yt,{key:He,page:He})))}var rt=bt(_t);if(rt){var Mt=!re||!He;rt=se.createElement("li",{title:O?M.prev_page:null,onClick:je,tabIndex:Mt?null:0,onKeyDown:At,className:xe("".concat(i,"-prev"),ee({},"".concat(i,"-disabled"),Mt)),"aria-disabled":Mt},rt)}var It=Vt(Bt);if(It){var xn,Hn;L?(xn=!Me,Hn=re?0:null):(xn=!Me||!He,Hn=xn?null:0),It=se.createElement("li",{title:O?M.next_page:null,onClick:ke,tabIndex:Hn,onKeyDown:at,className:xe("".concat(i,"-next"),ee({},"".concat(i,"-disabled"),xn)),"aria-disabled":xn},It)}var R=xe(i,s,(n={},ee(n,"".concat(i,"-start"),_==="start"),ee(n,"".concat(i,"-center"),_==="center"),ee(n,"".concat(i,"-end"),_==="end"),ee(n,"".concat(i,"-simple"),L),ee(n,"".concat(i,"-disabled"),N),n));return se.createElement("ul",Ke({className:R,style:B,ref:he},Ut),ze,rt,L?kt:Ze,It,se.createElement(aht,{locale:M,rootPrefixCls:i,disabled:N,selectPrefixCls:a,changeSize:Be,pageSize:de,pageSizeOptions:U,quickGo:q?Ve:null,goButton:ht,showSizeChanger:W,sizeChangerRender:j}))};const cht=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},uht=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:Ae(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:Ae(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:Ae(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` + ${n}-col-xl-24${t}-label`]:td(e),[`@media (max-width: ${Ae(e.screenXSMax)})`]:[hxe(e),{[t]:{[`${n}-col-xs-24${t}-label`]:td(e)}}],[`@media (max-width: ${Ae(e.screenSMMax)})`]:{[t]:{[`${n}-col-sm-24${t}-label`]:td(e)}},[`@media (max-width: ${Ae(e.screenMDMax)})`]:{[t]:{[`${n}-col-md-24${t}-label`]:td(e)}},[`@media (max-width: ${Ae(e.screenLGMax)})`]:{[t]:{[`${n}-col-lg-24${t}-label`]:td(e)}}}},kft=e=>({labelRequiredMarkColor:e.colorError,labelColor:e.colorTextHeading,labelFontSize:e.fontSize,labelHeight:e.controlHeight,labelColonMarginInlineStart:e.marginXXS/2,labelColonMarginInlineEnd:e.marginXS,itemMarginBottom:e.marginLG,verticalLabelPadding:`0 0 ${e.paddingXS}px`,verticalLabelMargin:0,inlineItemMarginBottom:0}),mxe=(e,t)=>Kn(e,{formItemCls:`${e.componentCls}-item`,rootPrefixCls:t}),MY=lr("Form",(e,t)=>{let{rootPrefixCls:n}=t;const r=mxe(e,n);return[Rft(r),Ift(r),xft(r),soe(r,r.componentCls),soe(r,r.formItemCls),Aft(r),Nft(r),Mft(r),a2(r),Aq]},kft,{order:-1e3}),loe=[];function f$(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;return{key:typeof e=="string"?e:`${t}-${r}`,error:e,errorStatus:n}}const gxe=e=>{let{help:t,helpStatus:n,errors:r=loe,warnings:i=loe,className:o,fieldId:a,onVisibleChanged:s}=e;const{prefixCls:l}=p.useContext(Bq),c=`${l}-item-explain`,u=ui(l),[d,f,h]=MY(l,u),m=p.useMemo(()=>d_(l),[l]),g=JM(r),v=JM(i),y=p.useMemo(()=>t!=null?[f$(t,"help",n)]:[].concat(nt(g.map((E,C)=>f$(E,"error","error",C))),nt(v.map((E,C)=>f$(E,"warning","warning",C)))),[t,n,g,v]),b=p.useMemo(()=>{const E={};return y.forEach(C=>{let{key:S}=C;E[S]=(E[S]||0)+1}),y.map((C,S)=>Object.assign(Object.assign({},C),{key:E[C.key]>1?`${C.key}-fallback-${S}`:C.key}))},[y]),_={};return a&&(_.id=`${a}_help`),d(p.createElement(ia,{motionDeadline:m.motionDeadline,motionName:`${l}-show-help`,visible:!!b.length,onVisibleChanged:s},E=>{const{className:C,style:S}=E;return p.createElement("div",Object.assign({},_,{className:xe(c,C,h,u,o,f),style:S,role:"alert"}),p.createElement(O5,Object.assign({keys:b},d_(l),{motionName:`${l}-show-help-item`,component:!1}),w=>{const{key:T,error:O,errorStatus:x,className:A,style:I}=w;return p.createElement("div",{key:T,className:xe(A,{[`${c}-${x}`]:x}),style:I},O)}))}))},Pft=["parentNode"],Dft="form_item";function mw(e){return e===void 0||e===!1?[]:Array.isArray(e)?e:[e]}function vxe(e,t){if(!e.length)return;const n=e.join("_");return t?`${t}_${n}`:Pft.includes(n)?`${Dft}_${n}`:n}function bxe(e,t,n,r,i,o){let a=r;return o!==void 0?a=o:n.validating?a="validating":e.length?a="error":t.length?a="warning":(n.touched||i&&n.validated)&&(a="success"),a}function coe(e){return mw(e).join("_")}function uoe(e,t){const n=t.getFieldInstance(e),r=o5(n);if(r)return r;const i=vxe(mw(e),t.__INTERNAL__.name);if(i)return document.getElementById(i)}function yxe(e){const[t]=Fq(),n=p.useRef({}),r=p.useMemo(()=>e??Object.assign(Object.assign({},t),{__INTERNAL__:{itemRef:i=>o=>{const a=coe(i);o?n.current[a]=o:delete n.current[a]}},scrollToField:function(i){let o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const a=uoe(i,r);a&&hQe(a,Object.assign({scrollMode:"if-needed",block:"nearest"},o))},focusField:i=>{var o;const a=uoe(i,r);a&&((o=a.focus)===null||o===void 0||o.call(a))},getFieldInstance:i=>{const o=coe(i);return n.current[o]}}),[e,t]);return[r]}var Lft=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const n=p.useContext(Wo),{getPrefixCls:r,direction:i,form:o}=p.useContext(Xt),{prefixCls:a,className:s,rootClassName:l,size:c,disabled:u=n,form:d,colon:f,labelAlign:h,labelWrap:m,labelCol:g,wrapperCol:v,hideRequiredMark:y,layout:b="horizontal",scrollToFirstError:_,requiredMark:E,onFinishFailed:C,name:S,style:w,feedbackIcons:T,variant:O}=e,x=Lft(e,["prefixCls","className","rootClassName","size","disabled","form","colon","labelAlign","labelWrap","labelCol","wrapperCol","hideRequiredMark","layout","scrollToFirstError","requiredMark","onFinishFailed","name","style","feedbackIcons","variant"]),A=Co(c),I=p.useContext(eSe),M=p.useMemo(()=>E!==void 0?E:y?!1:o&&o.requiredMark!==void 0?o.requiredMark:!0,[y,E,o]),B=f??(o==null?void 0:o.colon),P=r("form",a),k=ui(P),[N,L,V]=MY(P,k),$=xe(P,`${P}-${b}`,{[`${P}-hide-required-mark`]:M===!1,[`${P}-rtl`]:i==="rtl",[`${P}-${A}`]:A},V,k,L,o==null?void 0:o.className,s,l),[W]=yxe(d),{__INTERNAL__:j}=W;j.name=S;const U=p.useMemo(()=>({name:S,labelAlign:h,labelCol:g,labelWrap:m,wrapperCol:v,vertical:b==="vertical",colon:B,requiredMark:M,itemRef:j.itemRef,form:W,feedbackIcons:T}),[S,h,g,v,b,B,M,W,T]),Z=p.useRef(null);p.useImperativeHandle(t,()=>{var K;return Object.assign(Object.assign({},W),{nativeElement:(K=Z.current)===null||K===void 0?void 0:K.nativeElement})});const te=(K,Q)=>{if(K){let ie={block:"nearest"};typeof K=="object"&&(ie=Object.assign(Object.assign({},ie),K)),W.scrollToField(Q,ie),ie.focus&&W.focusField(Q)}},ae=K=>{if(C==null||C(K),K.errorFields.length){const Q=K.errorFields[0].name;if(_!==void 0){te(_,Q);return}o&&o.scrollToFirstError!==void 0&&te(o.scrollToFirstError,Q)}};return N(p.createElement(kEe.Provider,{value:O},p.createElement(bq,{disabled:u},p.createElement(Bv.Provider,{value:A},p.createElement(MEe,{validateMessages:I},p.createElement(dh.Provider,{value:U},p.createElement(vS,Object.assign({id:S},x,{name:S,onFinishFailed:ae,form:W,ref:Z,style:Object.assign(Object.assign({},o==null?void 0:o.style),w),className:$}))))))))},Fft=p.forwardRef($ft);function Bft(e){if(typeof e=="function")return e;const t=ko(e);return t.length<=1?t[0]:t}const _xe=()=>{const{status:e,errors:t=[],warnings:n=[]}=p.useContext(oa);return{status:e,errors:t,warnings:n}};_xe.Context=oa;function jft(e){const[t,n]=p.useState(e),r=p.useRef(null),i=p.useRef([]),o=p.useRef(!1);p.useEffect(()=>(o.current=!1,()=>{o.current=!0,nr.cancel(r.current),r.current=null}),[]);function a(s){o.current||(r.current===null&&(i.current=[],r.current=nr(()=>{r.current=null,n(l=>{let c=l;return i.current.forEach(u=>{c=u(c)}),c})})),i.current.push(s))}return[t,a]}function Hft(){const{itemRef:e}=p.useContext(dh),t=p.useRef({});function n(r,i){const o=i&&typeof i=="object"&&Ig(i),a=r.join("_");return(t.current.name!==a||t.current.originRef!==o)&&(t.current.name=a,t.current.originRef=o,t.current.ref=aa(e(r),o)),t.current.ref}return n}const Uft=e=>{const{formItemCls:t}=e;return{"@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)":{[`${t}-control`]:{display:"flex"}}}},zft=pS(["Form","item-item"],(e,t)=>{let{rootPrefixCls:n}=t;const r=mxe(e,n);return[Uft(r)]});var Vft=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,status:n,labelCol:r,wrapperCol:i,children:o,errors:a,warnings:s,_internalItemRender:l,extra:c,help:u,fieldId:d,marginBottom:f,onErrorVisibleChanged:h,label:m}=e,g=`${t}-item`,v=p.useContext(dh),y=p.useMemo(()=>{let B=Object.assign({},i||v.wrapperCol||{});return m===null&&!r&&!i&&v.labelCol&&[void 0,"xs","sm","md","lg","xl","xxl"].forEach(k=>{const N=k?[k]:[],L=Ao(v.labelCol,N),V=typeof L=="object"?L:{},$=Ao(B,N),W=typeof $=="object"?$:{};"span"in V&&!("offset"in W)&&V.spanVft(v,["labelCol","wrapperCol"]),[v]),E=p.useRef(null),[C,S]=p.useState(0);ar(()=>{c&&E.current?S(E.current.clientHeight):S(0)},[c]);const w=p.createElement("div",{className:`${g}-control-input`},p.createElement("div",{className:`${g}-control-input-content`},o)),T=p.useMemo(()=>({prefixCls:t,status:n}),[t,n]),O=f!==null||a.length||s.length?p.createElement(Bq.Provider,{value:T},p.createElement(gxe,{fieldId:d,errors:a,warnings:s,help:u,helpStatus:n,className:`${g}-explain-connected`,onVisibleChanged:h})):null,x={};d&&(x.id=`${d}_extra`);const A=c?p.createElement("div",Object.assign({},x,{className:`${g}-extra`,ref:E}),c):null,I=O||A?p.createElement("div",{className:`${g}-additional`,style:f?{minHeight:f+C}:{}},O,A):null,M=l&&l.mark==="pro_table_render"&&l.render?l.render(e,{input:w,errorList:O,extra:A}):p.createElement(p.Fragment,null,w,I);return p.createElement(dh.Provider,{value:_},p.createElement(zv,Object.assign({},y,{className:b}),M),p.createElement(zft,{prefixCls:t}))};var qft={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"},Yft=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:qft}))},Kft=p.forwardRef(Yft),Qft=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let{prefixCls:t,label:n,htmlFor:r,labelCol:i,labelAlign:o,colon:a,required:s,requiredMark:l,tooltip:c,vertical:u}=e;var d;const[f]=ds("Form"),{labelAlign:h,labelCol:m,labelWrap:g,colon:v}=p.useContext(dh);if(!n)return null;const y=i||m||{},b=o||h,_=`${t}-item-label`,E=xe(_,b==="left"&&`${_}-left`,y.className,{[`${_}-wrap`]:!!g});let C=n;const S=a===!0||v!==!1&&a!==!1;S&&!u&&typeof n=="string"&&n.trim()&&(C=n.replace(/[:|:]\s*$/,""));const T=Xft(c);if(T){const{icon:I=p.createElement(Kft,null)}=T,M=Qft(T,["icon"]),B=p.createElement(Aa,Object.assign({},M),p.cloneElement(I,{className:`${t}-item-tooltip`,title:"",onClick:P=>{P.preventDefault()},tabIndex:null}));C=p.createElement(p.Fragment,null,C,B)}const O=l==="optional",x=typeof l=="function";x?C=l(C,{required:!!s}):O&&!s&&(C=p.createElement(p.Fragment,null,C,p.createElement("span",{className:`${t}-item-optional`,title:""},(f==null?void 0:f.optional)||((d=Cc.Form)===null||d===void 0?void 0:d.optional))));const A=xe({[`${t}-item-required`]:s,[`${t}-item-required-mark-optional`]:O||x,[`${t}-item-no-colon`]:!S});return p.createElement(zv,Object.assign({},y,{className:E}),p.createElement("label",{htmlFor:r,className:A,title:typeof n=="string"?n:""},C))},Jft={success:S0,warning:Ag,error:qf,validating:xd};function Sxe(e){let{children:t,errors:n,warnings:r,hasFeedback:i,validateStatus:o,prefixCls:a,meta:s,noStyle:l}=e;const c=`${a}-item`,{feedbackIcons:u}=p.useContext(dh),d=bxe(n,r,s,null,!!i,o),{isFormItemInput:f,status:h,hasFeedback:m,feedbackIcon:g}=p.useContext(oa),v=p.useMemo(()=>{var y;let b;if(i){const E=i!==!0&&i.icons||u,C=d&&((y=E==null?void 0:E({status:d,errors:n,warnings:r}))===null||y===void 0?void 0:y[d]),S=d&&Jft[d];b=C!==!1&&S?p.createElement("span",{className:xe(`${c}-feedback-icon`,`${c}-feedback-icon-${d}`)},C||p.createElement(S,null)):null}const _={status:d||"",errors:n,warnings:r,hasFeedback:!!i,feedbackIcon:b,isFormItemInput:!0};return l&&(_.status=(d??h)||"",_.isFormItemInput=f,_.hasFeedback=!!(i??m),_.feedbackIcon=i!==void 0?_.feedbackIcon:g),_},[d,i,l,f,h]);return p.createElement(oa.Provider,{value:v},t)}var ept=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{if(A&&w.current){const V=getComputedStyle(w.current);B(parseInt(V.marginBottom,10))}},[A,I]);const P=V=>{V||B(null)},N=function(){let V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const $=V?T:c.errors,W=V?O:c.warnings;return bxe($,W,c,"",!!u,l)}(),L=xe(_,n,r,{[`${_}-with-help`]:x||T.length||O.length,[`${_}-has-feedback`]:N&&u,[`${_}-has-success`]:N==="success",[`${_}-has-warning`]:N==="warning",[`${_}-has-error`]:N==="error",[`${_}-is-validating`]:N==="validating",[`${_}-hidden`]:d,[`${_}-${y}`]:y});return p.createElement("div",{className:L,style:i,ref:w},p.createElement(w2,Object.assign({className:`${_}-row`},ur(b,["_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"])),p.createElement(Zft,Object.assign({htmlFor:h},e,{requiredMark:E,required:m??g,prefixCls:t,vertical:S})),p.createElement(Wft,Object.assign({},e,c,{errors:T,warnings:O,prefixCls:t,status:N,help:o,marginBottom:M,onErrorVisibleChanged:P}),p.createElement(NEe.Provider,{value:v},p.createElement(Sxe,{prefixCls:t,meta:c,errors:c.errors,warnings:c.warnings,hasFeedback:u,validateStatus:N},f)))),!!M&&p.createElement("div",{className:`${_}-margin-offset`,style:{marginBottom:-M}}))}const npt="__SPLIT__";function rpt(e,t){const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(i=>{const o=e[i],a=t[i];return o===a||typeof o=="function"||typeof a=="function"})}const ipt=p.memo(e=>{let{children:t}=e;return t},(e,t)=>rpt(e.control,t.control)&&e.update===t.update&&e.childProps.length===t.childProps.length&&e.childProps.every((n,r)=>n===t.childProps[r]));function doe(){return{errors:[],warnings:[],touched:!1,validating:!1,name:[],validated:!1}}function opt(e){const{name:t,noStyle:n,className:r,dependencies:i,prefixCls:o,shouldUpdate:a,rules:s,children:l,required:c,label:u,messageVariables:d,trigger:f="onChange",validateTrigger:h,hidden:m,help:g,layout:v}=e,{getPrefixCls:y}=p.useContext(Xt),{name:b}=p.useContext(dh),_=Bft(l),E=typeof _=="function",C=p.useContext(NEe),{validateTrigger:S}=p.useContext(gg),w=h!==void 0?h:S,T=t!=null,O=y("form",o),x=ui(O),[A,I,M]=MY(O,x);Wf();const B=p.useContext(PT),P=p.useRef(null),[k,N]=jft({}),[L,V]=jv(()=>doe()),$=K=>{const Q=B==null?void 0:B.getKey(K.name);if(V(K.destroy?doe():K,!0),n&&g!==!1&&C){let ie=K.name;if(K.destroy)ie=P.current||ie;else if(Q!==void 0){const[he,pe]=Q;ie=[he].concat(nt(pe)),P.current=ie}C(K,ie)}},W=(K,Q)=>{N(ie=>{const he=Object.assign({},ie),le=[].concat(nt(K.name.slice(0,-1)),nt(Q)).join(npt);return K.destroy?delete he[le]:he[le]=K,he})},[j,U]=p.useMemo(()=>{const K=nt(L.errors),Q=nt(L.warnings);return Object.values(k).forEach(ie=>{K.push.apply(K,nt(ie.errors||[])),Q.push.apply(Q,nt(ie.warnings||[]))}),[K,Q]},[k,L.errors,L.warnings]),Z=Hft();function te(K,Q,ie){return n&&!m?p.createElement(Sxe,{prefixCls:O,hasFeedback:e.hasFeedback,validateStatus:e.validateStatus,meta:L,errors:j,warnings:U,noStyle:!0},K):p.createElement(tpt,Object.assign({key:"row"},e,{className:xe(r,M,x,I),prefixCls:O,fieldId:Q,isRequired:ie,errors:j,warnings:U,meta:L,onSubItemMetaChange:W,layout:v}),K)}if(!T&&!E&&!i)return A(te(_));let ae={};return typeof u=="string"?ae.label=u:t&&(ae.label=String(t)),d&&(ae=Object.assign(Object.assign({},ae),d)),A(p.createElement($q,Object.assign({},e,{messageVariables:ae,trigger:f,validateTrigger:w,onMetaChange:$}),(K,Q,ie)=>{const he=mw(t).length&&Q?Q.name:[],pe=vxe(he,b),le=c!==void 0?c:!!(s!=null&&s.some(ne=>{if(ne&&typeof ne=="object"&&ne.required&&!ne.warningOnly)return!0;if(typeof ne=="function"){const ue=ne(ie);return(ue==null?void 0:ue.required)&&!(ue!=null&&ue.warningOnly)}return!1})),de=Object.assign({},K);let ve=null;if(Array.isArray(_)&&T)ve=_;else if(!(E&&(!(a||i)||T))){if(!(i&&!E&&!T))if(p.isValidElement(_)){const ne=Object.assign(Object.assign({},_.props),de);if(ne.id||(ne.id=pe),g||j.length>0||U.length>0||e.extra){const Ce=[];(g||j.length>0)&&Ce.push(`${pe}_help`),e.extra&&Ce.push(`${pe}_extra`),ne["aria-describedby"]=Ce.join(" ")}j.length>0&&(ne["aria-invalid"]="true"),le&&(ne["aria-required"]="true"),Cd(_)&&(ne.ref=Z(he,_)),new Set([].concat(nt(mw(f)),nt(mw(w)))).forEach(Ce=>{ne[Ce]=function(){for(var Te,Se,me,be,_e,Re=arguments.length,De=new Array(Re),z=0;z{var{prefixCls:t,children:n}=e,r=apt(e,["prefixCls","children"]);const{getPrefixCls:i}=p.useContext(Xt),o=i("form",t),a=p.useMemo(()=>({prefixCls:o,status:"error"}),[o]);return p.createElement(OEe,Object.assign({},r),(s,l,c)=>p.createElement(Bq.Provider,{value:a},n(s.map(u=>Object.assign(Object.assign({},u),{fieldKey:u.key})),l,{errors:c.errors,warnings:c.warnings})))};function lpt(){const{form:e}=p.useContext(dh);return e}const li=Fft;li.Item=Exe;li.List=spt;li.ErrorList=gxe;li.useForm=yxe;li.useFormInstance=lpt;li.useWatch=AEe;li.Provider=MEe;li.create=()=>{};function Cxe(){var e=document.documentElement.clientWidth,t=window.innerHeight||document.documentElement.clientHeight;return{width:e,height:t}}function cpt(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||document.body.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||document.body.clientTop||0)}}function _f(e,t,n,r){var i=cT.unstable_batchedUpdates?function(a){cT.unstable_batchedUpdates(n,a)}:n;return e!=null&&e.addEventListener&&e.addEventListener(t,i,r),{remove:function(){e!=null&&e.removeEventListener&&e.removeEventListener(t,i,r)}}}var T2=p.createContext(null),upt=function(t){var n=t.visible,r=t.maskTransitionName,i=t.getContainer,o=t.prefixCls,a=t.rootClassName,s=t.icons,l=t.countRender,c=t.showSwitch,u=t.showProgress,d=t.current,f=t.transform,h=t.count,m=t.scale,g=t.minScale,v=t.maxScale,y=t.closeIcon,b=t.onActive,_=t.onClose,E=t.onZoomIn,C=t.onZoomOut,S=t.onRotateRight,w=t.onRotateLeft,T=t.onFlipX,O=t.onFlipY,x=t.onReset,A=t.toolbarRender,I=t.zIndex,M=t.image,B=p.useContext(T2),P=s.rotateLeft,k=s.rotateRight,N=s.zoomIn,L=s.zoomOut,V=s.close,$=s.left,W=s.right,j=s.flipX,U=s.flipY,Z="".concat(o,"-operations-operation");p.useEffect(function(){var ue=function(Ce){Ce.keyCode===dt.ESC&&_()};return n&&window.addEventListener("keydown",ue),function(){window.removeEventListener("keydown",ue)}},[n]);var te=function(ge,Ce){ge.preventDefault(),ge.stopPropagation(),b(Ce)},ae=p.useCallback(function(ue){var ge=ue.type,Ce=ue.disabled,Te=ue.onClick,Se=ue.icon;return p.createElement("div",{key:ge,className:xe(Z,"".concat(o,"-operations-operation-").concat(ge),ee({},"".concat(o,"-operations-operation-disabled"),!!Ce)),onClick:Te},Se)},[Z,o]),K=c?ae({icon:$,onClick:function(ge){return te(ge,-1)},type:"prev",disabled:d===0}):void 0,Q=c?ae({icon:W,onClick:function(ge){return te(ge,1)},type:"next",disabled:d===h-1}):void 0,ie=ae({icon:U,onClick:O,type:"flipY"}),he=ae({icon:j,onClick:T,type:"flipX"}),pe=ae({icon:P,onClick:w,type:"rotateLeft"}),le=ae({icon:k,onClick:S,type:"rotateRight"}),de=ae({icon:L,onClick:C,type:"zoomOut",disabled:m<=g}),ve=ae({icon:N,onClick:E,type:"zoomIn",disabled:m===v}),ne=p.createElement("div",{className:"".concat(o,"-operations")},ie,he,pe,le,de,ve);return p.createElement(ia,{visible:n,motionName:r},function(ue){var ge=ue.className,Ce=ue.style;return p.createElement(l2,{open:!0,getContainer:i??document.body},p.createElement("div",{className:xe("".concat(o,"-operations-wrapper"),ge,a),style:G(G({},Ce),{},{zIndex:I})},y===null?null:p.createElement("button",{className:"".concat(o,"-close"),onClick:_},y||V),c&&p.createElement(p.Fragment,null,p.createElement("div",{className:xe("".concat(o,"-switch-left"),ee({},"".concat(o,"-switch-left-disabled"),d===0)),onClick:function(Se){return te(Se,-1)}},$),p.createElement("div",{className:xe("".concat(o,"-switch-right"),ee({},"".concat(o,"-switch-right-disabled"),d===h-1)),onClick:function(Se){return te(Se,1)}},W)),p.createElement("div",{className:"".concat(o,"-footer")},u&&p.createElement("div",{className:"".concat(o,"-progress")},l?l(d+1,h):"".concat(d+1," / ").concat(h)),A?A(ne,G(G({icons:{prevIcon:K,nextIcon:Q,flipYIcon:ie,flipXIcon:he,rotateLeftIcon:pe,rotateRightIcon:le,zoomOutIcon:de,zoomInIcon:ve},actions:{onActive:b,onFlipY:O,onFlipX:T,onRotateLeft:w,onRotateRight:S,onZoomOut:C,onZoomIn:E,onReset:x,onClose:_},transform:f},B?{current:d,total:h}:{}),{},{image:M})):ne)))})},LR={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function dpt(e,t,n,r){var i=p.useRef(null),o=p.useRef([]),a=p.useState(LR),s=Ie(a,2),l=s[0],c=s[1],u=function(m){c(LR),vu(LR,l)||r==null||r({transform:LR,action:m})},d=function(m,g){i.current===null&&(o.current=[],i.current=nr(function(){c(function(v){var y=v;return o.current.forEach(function(b){y=G(G({},y),b)}),i.current=null,r==null||r({transform:y,action:g}),y})})),o.current.push(G(G({},l),m))},f=function(m,g,v,y,b){var _=e.current,E=_.width,C=_.height,S=_.offsetWidth,w=_.offsetHeight,T=_.offsetLeft,O=_.offsetTop,x=m,A=l.scale*m;A>n?(A=n,x=n/l.scale):Ar){if(t>0)return ee({},e,o);if(t<0&&ir)return ee({},e,t<0?o:-o);return{}}function wxe(e,t,n,r){var i=Cxe(),o=i.width,a=i.height,s=null;return e<=o&&t<=a?s={x:0,y:0}:(e>o||t>a)&&(s=G(G({},foe("x",n,e,o)),foe("y",r,t,a))),s}var ny=1,fpt=1;function ppt(e,t,n,r,i,o,a){var s=i.rotate,l=i.scale,c=i.x,u=i.y,d=p.useState(!1),f=Ie(d,2),h=f[0],m=f[1],g=p.useRef({diffX:0,diffY:0,transformX:0,transformY:0}),v=function(C){!t||C.button!==0||(C.preventDefault(),C.stopPropagation(),g.current={diffX:C.pageX-c,diffY:C.pageY-u,transformX:c,transformY:u},m(!0))},y=function(C){n&&h&&o({x:C.pageX-g.current.diffX,y:C.pageY-g.current.diffY},"move")},b=function(){if(n&&h){m(!1);var C=g.current,S=C.transformX,w=C.transformY,T=c!==S&&u!==w;if(!T)return;var O=e.current.offsetWidth*l,x=e.current.offsetHeight*l,A=e.current.getBoundingClientRect(),I=A.left,M=A.top,B=s%180!==0,P=wxe(B?x:O,B?O:x,I,M);P&&o(G({},P),"dragRebound")}},_=function(C){if(!(!n||C.deltaY==0)){var S=Math.abs(C.deltaY/100),w=Math.min(S,fpt),T=ny+w*r;C.deltaY>0&&(T=ny/T),a(T,"wheel",C.clientX,C.clientY)}};return p.useEffect(function(){var E,C,S,w;if(t){S=_f(window,"mouseup",b,!1),w=_f(window,"mousemove",y,!1);try{window.top!==window.self&&(E=_f(window.top,"mouseup",b,!1),C=_f(window.top,"mousemove",y,!1))}catch{}}return function(){var T,O,x,A;(T=S)===null||T===void 0||T.remove(),(O=w)===null||O===void 0||O.remove(),(x=E)===null||x===void 0||x.remove(),(A=C)===null||A===void 0||A.remove()}},[n,h,c,u,s,t]),{isMoving:h,onMouseDown:v,onMouseMove:y,onMouseUp:b,onWheel:_}}function hpt(e){return new Promise(function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e})}function Txe(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,i=p.useState(n?"loading":"normal"),o=Ie(i,2),a=o[0],s=o[1],l=p.useRef(!1),c=a==="error";p.useEffect(function(){var h=!0;return hpt(t).then(function(m){!m&&h&&s("error")}),function(){h=!1}},[t]),p.useEffect(function(){n&&!l.current?s("loading"):c&&s("normal")},[t]);var u=function(){s("normal")},d=function(m){l.current=!1,a==="loading"&&m!==null&&m!==void 0&&m.complete&&(m.naturalWidth||m.naturalHeight)&&(l.current=!0,u())},f=c&&r?{src:r}:{onLoad:u,src:t};return[d,f,a]}function ek(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.hypot(n,r)}function mpt(e,t,n,r){var i=ek(e,n),o=ek(t,r);if(i===0&&o===0)return[e.x,e.y];var a=i/(i+o),s=e.x+a*(t.x-e.x),l=e.y+a*(t.y-e.y);return[s,l]}function gpt(e,t,n,r,i,o,a){var s=i.rotate,l=i.scale,c=i.x,u=i.y,d=p.useState(!1),f=Ie(d,2),h=f[0],m=f[1],g=p.useRef({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),v=function(C){g.current=G(G({},g.current),C)},y=function(C){if(t){C.stopPropagation(),m(!0);var S=C.touches,w=S===void 0?[]:S;w.length>1?v({point1:{x:w[0].clientX,y:w[0].clientY},point2:{x:w[1].clientX,y:w[1].clientY},eventType:"touchZoom"}):v({point1:{x:w[0].clientX-c,y:w[0].clientY-u},eventType:"move"})}},b=function(C){var S=C.touches,w=S===void 0?[]:S,T=g.current,O=T.point1,x=T.point2,A=T.eventType;if(w.length>1&&A==="touchZoom"){var I={x:w[0].clientX,y:w[0].clientY},M={x:w[1].clientX,y:w[1].clientY},B=mpt(O,x,I,M),P=Ie(B,2),k=P[0],N=P[1],L=ek(I,M)/ek(O,x);a(L,"touchZoom",k,N,!0),v({point1:I,point2:M,eventType:"touchZoom"})}else A==="move"&&(o({x:w[0].clientX-O.x,y:w[0].clientY-O.y},"move"),v({eventType:"move"}))},_=function(){if(n){if(h&&m(!1),v({eventType:"none"}),r>l)return o({x:0,y:0,scale:r},"touchZoom");var C=e.current.offsetWidth*l,S=e.current.offsetHeight*l,w=e.current.getBoundingClientRect(),T=w.left,O=w.top,x=s%180!==0,A=wxe(x?S:C,x?C:S,T,O);A&&o(G({},A),"dragRebound")}};return p.useEffect(function(){var E;return n&&t&&(E=_f(window,"touchmove",function(C){return C.preventDefault()},{passive:!1})),function(){var C;(C=E)===null||C===void 0||C.remove()}},[n,t]),{isTouching:h,onTouchStart:y,onTouchMove:b,onTouchEnd:_}}var vpt=["fallback","src","imgRef"],bpt=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],ypt=function(t){var n=t.fallback,r=t.src,i=t.imgRef,o=Dt(t,vpt),a=Txe({src:r,fallback:n}),s=Ie(a,2),l=s[0],c=s[1];return se.createElement("img",Ke({ref:function(d){i.current=d,l(d)}},o,c))},xxe=function(t){var n=t.prefixCls,r=t.src,i=t.alt,o=t.imageInfo,a=t.fallback,s=t.movable,l=s===void 0?!0:s,c=t.onClose,u=t.visible,d=t.icons,f=d===void 0?{}:d,h=t.rootClassName,m=t.closeIcon,g=t.getContainer,v=t.current,y=v===void 0?0:v,b=t.count,_=b===void 0?1:b,E=t.countRender,C=t.scaleStep,S=C===void 0?.5:C,w=t.minScale,T=w===void 0?1:w,O=t.maxScale,x=O===void 0?50:O,A=t.transitionName,I=A===void 0?"zoom":A,M=t.maskTransitionName,B=M===void 0?"fade":M,P=t.imageRender,k=t.imgCommonProps,N=t.toolbarRender,L=t.onTransform,V=t.onChange,$=Dt(t,bpt),W=p.useRef(),j=p.useContext(T2),U=j&&_>1,Z=j&&_>=1,te=p.useState(!0),ae=Ie(te,2),K=ae[0],Q=ae[1],ie=dpt(W,T,x,L),he=ie.transform,pe=ie.resetTransform,le=ie.updateTransform,de=ie.dispatchZoomChange,ve=ppt(W,l,u,S,he,le,de),ne=ve.isMoving,ue=ve.onMouseDown,ge=ve.onWheel,Ce=gpt(W,l,u,T,he,le,de),Te=Ce.isTouching,Se=Ce.onTouchStart,me=Ce.onTouchMove,be=Ce.onTouchEnd,_e=he.rotate,Re=he.scale,De=xe(ee({},"".concat(n,"-moving"),ne));p.useEffect(function(){K||Q(!0)},[K]);var z=function(){pe("close")},D=function(){de(ny+S,"zoomIn")},q=function(){de(ny/(ny+S),"zoomOut")},oe=function(){le({rotate:_e+90},"rotateRight")},ye=function(){le({rotate:_e-90},"rotateLeft")},ce=function(){le({flipX:!he.flipX},"flipX")},Be=function(){le({flipY:!he.flipY},"flipY")},Ve=function(){pe("reset")},re=function(qe){var At=y+qe;!Number.isInteger(At)||At<0||At>_-1||(Q(!1),pe(qe<0?"prev":"next"),V==null||V(At,y))},Me=function(qe){!u||!U||(qe.keyCode===dt.LEFT?re(-1):qe.keyCode===dt.RIGHT&&re(1))},je=function(qe){u&&(Re!==1?le({x:0,y:0,scale:1},"doubleClick"):de(ny+S,"doubleClick",qe.clientX,qe.clientY))};p.useEffect(function(){var Ue=_f(window,"keydown",Me,!1);return function(){Ue.remove()}},[u,U,y]);var ke=se.createElement(ypt,Ke({},k,{width:t.width,height:t.height,imgRef:W,className:"".concat(n,"-img"),alt:i,style:{transform:"translate3d(".concat(he.x,"px, ").concat(he.y,"px, 0) scale3d(").concat(he.flipX?"-":"").concat(Re,", ").concat(he.flipY?"-":"").concat(Re,", 1) rotate(").concat(_e,"deg)"),transitionDuration:(!K||Te)&&"0s"},fallback:a,src:r,onWheel:ge,onMouseDown:ue,onDoubleClick:je,onTouchStart:Se,onTouchMove:me,onTouchEnd:be,onTouchCancel:be})),Ge=G({url:r,alt:i},o);return se.createElement(se.Fragment,null,se.createElement(Dq,Ke({transitionName:I,maskTransitionName:B,closable:!1,keyboard:!0,prefixCls:n,onClose:c,visible:u,classNames:{wrapper:De},rootClassName:h,getContainer:g},$,{afterClose:z}),se.createElement("div",{className:"".concat(n,"-img-wrapper")},P?P(ke,G({transform:he,image:Ge},j?{current:y}:{})):ke)),se.createElement(upt,{visible:u,transform:he,maskTransitionName:B,closeIcon:m,getContainer:g,prefixCls:n,rootClassName:h,icons:f,countRender:E,showSwitch:U,showProgress:Z,current:y,count:_,scale:Re,minScale:T,maxScale:x,toolbarRender:N,onActive:re,onZoomIn:D,onZoomOut:q,onRotateRight:oe,onRotateLeft:ye,onFlipX:ce,onFlipY:Be,onClose:c,onReset:Ve,zIndex:$.zIndex!==void 0?$.zIndex+1:void 0,image:Ge}))},oU=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"];function _pt(e){var t=p.useState({}),n=Ie(t,2),r=n[0],i=n[1],o=p.useCallback(function(s,l){return i(function(c){return G(G({},c),{},ee({},s,l))}),function(){i(function(c){var u=G({},c);return delete u[s],u})}},[]),a=p.useMemo(function(){return e?e.map(function(s){if(typeof s=="string")return{data:{src:s}};var l={};return Object.keys(s).forEach(function(c){["src"].concat(nt(oU)).includes(c)&&(l[c]=s[c])}),{data:l}}):Object.keys(r).reduce(function(s,l){var c=r[l],u=c.canPreview,d=c.data;return u&&s.push({data:d,id:l}),s},[])},[e,r]);return[a,o,!!e]}var Spt=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Ept=["src"],Cpt=function(t){var n,r=t.previewPrefixCls,i=r===void 0?"rc-image-preview":r,o=t.children,a=t.icons,s=a===void 0?{}:a,l=t.items,c=t.preview,u=t.fallback,d=Gt(c)==="object"?c:{},f=d.visible,h=d.onVisibleChange,m=d.getContainer,g=d.current,v=d.movable,y=d.minScale,b=d.maxScale,_=d.countRender,E=d.closeIcon,C=d.onChange,S=d.onTransform,w=d.toolbarRender,T=d.imageRender,O=Dt(d,Spt),x=_pt(l),A=Ie(x,3),I=A[0],M=A[1],B=A[2],P=Pn(0,{value:g}),k=Ie(P,2),N=k[0],L=k[1],V=p.useState(!1),$=Ie(V,2),W=$[0],j=$[1],U=((n=I[N])===null||n===void 0?void 0:n.data)||{},Z=U.src,te=Dt(U,Ept),ae=Pn(!!f,{value:f,onChange:function(Te,Se){h==null||h(Te,Se,N)}}),K=Ie(ae,2),Q=K[0],ie=K[1],he=p.useState(null),pe=Ie(he,2),le=pe[0],de=pe[1],ve=p.useCallback(function(Ce,Te,Se,me){var be=B?I.findIndex(function(_e){return _e.data.src===Te}):I.findIndex(function(_e){return _e.id===Ce});L(be<0?0:be),ie(!0),de({x:Se,y:me}),j(!0)},[I,B]);p.useEffect(function(){Q?W||L(0):j(!1)},[Q]);var ne=function(Te,Se){L(Te),C==null||C(Te,Se)},ue=function(){ie(!1),de(null)},ge=p.useMemo(function(){return{register:M,onPreview:ve}},[M,ve]);return p.createElement(T2.Provider,{value:ge},o,p.createElement(xxe,Ke({"aria-hidden":!Q,movable:v,visible:Q,prefixCls:i,closeIcon:E,onClose:ue,mousePosition:le,imgCommonProps:te,src:Z,fallback:u,icons:s,minScale:y,maxScale:b,getContainer:m,current:N,count:I.length,countRender:_,onTransform:S,toolbarRender:w,imageRender:T,onChange:ne},O)))},poe=0;function wpt(e,t){var n=p.useState(function(){return poe+=1,String(poe)}),r=Ie(n,1),i=r[0],o=p.useContext(T2),a={data:t,canPreview:e};return p.useEffect(function(){if(o)return o.register(i,a)},[]),p.useEffect(function(){o&&o.register(i,a)},[e,t]),i}var Tpt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],xpt=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],kY=function(t){var n=t.src,r=t.alt,i=t.onPreviewClose,o=t.prefixCls,a=o===void 0?"rc-image":o,s=t.previewPrefixCls,l=s===void 0?"".concat(a,"-preview"):s,c=t.placeholder,u=t.fallback,d=t.width,f=t.height,h=t.style,m=t.preview,g=m===void 0?!0:m,v=t.className,y=t.onClick,b=t.onError,_=t.wrapperClassName,E=t.wrapperStyle,C=t.rootClassName,S=Dt(t,Tpt),w=c&&c!==!0,T=Gt(g)==="object"?g:{},O=T.src,x=T.visible,A=x===void 0?void 0:x,I=T.onVisibleChange,M=I===void 0?i:I,B=T.getContainer,P=B===void 0?void 0:B,k=T.mask,N=T.maskClassName,L=T.movable,V=T.icons,$=T.scaleStep,W=T.minScale,j=T.maxScale,U=T.imageRender,Z=T.toolbarRender,te=Dt(T,xpt),ae=O??n,K=Pn(!!A,{value:A,onChange:M}),Q=Ie(K,2),ie=Q[0],he=Q[1],pe=Txe({src:n,isCustomPlaceholder:w,fallback:u}),le=Ie(pe,3),de=le[0],ve=le[1],ne=le[2],ue=p.useState(null),ge=Ie(ue,2),Ce=ge[0],Te=ge[1],Se=p.useContext(T2),me=!!g,be=function(){he(!1),Te(null)},_e=xe(a,_,C,ee({},"".concat(a,"-error"),ne==="error")),Re=p.useMemo(function(){var q={};return oU.forEach(function(oe){t[oe]!==void 0&&(q[oe]=t[oe])}),q},oU.map(function(q){return t[q]})),De=p.useMemo(function(){return G(G({},Re),{},{src:ae})},[ae,Re]),z=wpt(me,De),D=function(oe){var ye=cpt(oe.target),ce=ye.left,Be=ye.top;Se?Se.onPreview(z,ae,ce,Be):(Te({x:ce,y:Be}),he(!0)),y==null||y(oe)};return p.createElement(p.Fragment,null,p.createElement("div",Ke({},S,{className:_e,onClick:me?D:y,style:G({width:d,height:f},E)}),p.createElement("img",Ke({},Re,{className:xe("".concat(a,"-img"),ee({},"".concat(a,"-img-placeholder"),c===!0),v),style:G({height:f},h),ref:de},ve,{width:d,height:f,onError:b})),ne==="loading"&&p.createElement("div",{"aria-hidden":"true",className:"".concat(a,"-placeholder")},c),k&&me&&p.createElement("div",{className:xe("".concat(a,"-mask"),N),style:{display:(h==null?void 0:h.display)==="none"?"none":void 0}},k)),!Se&&me&&p.createElement(xxe,Ke({"aria-hidden":!ie,visible:ie,prefixCls:l,onClose:be,mousePosition:Ce,src:ae,alt:r,imageInfo:{width:d,height:f},fallback:u,getContainer:P,icons:V,movable:L,scaleStep:$,minScale:W,maxScale:j,rootClassName:C,imageRender:U,imgCommonProps:Re,toolbarRender:Z},te)))};kY.PreviewGroup=Cpt;var Opt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Rpt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Opt}))},Ipt=p.forwardRef(Rpt),Apt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Npt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Apt}))},Mpt=p.forwardRef(Npt),kpt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Ppt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:kpt}))},hoe=p.forwardRef(Ppt),Dpt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},Lpt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Dpt}))},$pt=p.forwardRef(Lpt),Fpt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},Bpt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Fpt}))},jpt=p.forwardRef(Bpt);const aU=e=>({position:e||"absolute",inset:0}),Hpt=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:i,prefixCls:o,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new rr("#000").setA(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${o}-mask-info`]:Object.assign(Object.assign({},kl),{padding:`0 ${Ae(r)}`,[t]:{marginInlineEnd:i,svg:{verticalAlign:"baseline"}}})}},Upt=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:i,margin:o,paddingLG:a,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,f=new rr(n).setA(.1),h=f.clone().setA(.2);return{[`${t}-footer`]:{position:"fixed",bottom:i,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:o},[`${t}-close`]:{position:"fixed",top:i,right:{_skip_check_:!0,value:i},display:"flex",color:d,backgroundColor:f.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:h.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${Ae(a)}`,backgroundColor:f.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},zpt=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:i,zIndexPopup:o,motionDurationSlow:a}=e,s=new rr(t).setA(.1),l=s.clone().setA(.2);return{[`${i}-switch-left, ${i}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(o).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${i}-switch-left`]:{insetInlineStart:e.marginSM},[`${i}-switch-right`]:{insetInlineEnd:e.marginSM}}},Vpt=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:i}=e;return[{[`${i}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},aU()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},aU()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${i}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${i}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[Upt(e),zpt(e)]}]},Gpt=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},Hpt(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},aU())}}},Wpt=e=>{const{previewCls:t}=e;return{[`${t}-root`]:gS(e,"zoom"),"&":Iq(e,!0)}},qpt=e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new rr(e.colorTextLightSolid).setA(.65).toRgbString(),previewOperationHoverColor:new rr(e.colorTextLightSolid).setA(.85).toRgbString(),previewOperationColorDisabled:new rr(e.colorTextLightSolid).setA(.25).toRgbString(),previewOperationSize:e.fontSizeIcon*1.5}),Oxe=lr("Image",e=>{const t=`${e.componentCls}-preview`,n=Kn(e,{previewCls:t,modalMaskBg:new rr("#000").setA(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[Gpt(n),Vpt(n),BEe(Kn(n,{componentCls:t})),Wpt(n)]},qpt);var Ypt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{previewPrefixCls:t,preview:n}=e,r=Ypt(e,["previewPrefixCls","preview"]);const{getPrefixCls:i}=p.useContext(Xt),o=i("image",t),a=`${o}-preview`,s=i(),l=ui(o),[c,u,d]=Oxe(o,l),[f]=Ru("ImagePreview",typeof n=="object"?n.zIndex:void 0),h=p.useMemo(()=>{var m;if(n===!1)return n;const g=typeof n=="object"?n:{},v=xe(u,d,l,(m=g.rootClassName)!==null&&m!==void 0?m:"");return Object.assign(Object.assign({},g),{transitionName:Va(s,"zoom",g.transitionName),maskTransitionName:Va(s,"fade",g.maskTransitionName),rootClassName:v,zIndex:f})},[n]);return c(p.createElement(kY.PreviewGroup,Object.assign({preview:h,previewPrefixCls:a,icons:Rxe},r)))};var moe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var t;const{prefixCls:n,preview:r,className:i,rootClassName:o,style:a}=e,s=moe(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:l,locale:c=Cc,getPopupContainer:u,image:d}=p.useContext(Xt),f=l("image",n),h=l(),m=c.Image||Cc.Image,g=ui(f),[v,y,b]=Oxe(f,g),_=xe(o,y,b,g),E=xe(i,y,d==null?void 0:d.className),[C]=Ru("ImagePreview",typeof r=="object"?r.zIndex:void 0),S=p.useMemo(()=>{var T;if(r===!1)return r;const O=typeof r=="object"?r:{},{getContainer:x,closeIcon:A,rootClassName:I}=O,M=moe(O,["getContainer","closeIcon","rootClassName"]);return Object.assign(Object.assign({mask:p.createElement("div",{className:`${f}-mask-info`},p.createElement(OS,null),m==null?void 0:m.preview),icons:Rxe},M),{rootClassName:xe(_,I),getContainer:x??u,transitionName:Va(h,"zoom",O.transitionName),maskTransitionName:Va(h,"fade",O.maskTransitionName),zIndex:C,closeIcon:A??((T=d==null?void 0:d.preview)===null||T===void 0?void 0:T.closeIcon)})},[r,m,(t=d==null?void 0:d.preview)===null||t===void 0?void 0:t.closeIcon]),w=Object.assign(Object.assign({},d==null?void 0:d.style),a);return v(p.createElement(kY,Object.assign({prefixCls:f,preview:S,rootClassName:_,className:E,style:w},s)))};Ixe.PreviewGroup=Kpt;function Qpt(e,t,n){return typeof n=="boolean"?n:e.length?!0:ko(t).some(i=>i.type===ZCe)}var Axe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ip.forwardRef((a,s)=>p.createElement(i,Object.assign({ref:s,suffixCls:t,tagName:n},a)))}const PY=p.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:i,tagName:o}=e,a=Axe(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=p.useContext(Xt),l=s("layout",n),[c,u,d]=XCe(l),f=r?`${l}-${r}`:l;return c(p.createElement(o,Object.assign({className:xe(n||f,i,u,d),ref:t},a)))}),Xpt=p.forwardRef((e,t)=>{const{direction:n}=p.useContext(Xt),[r,i]=p.useState([]),{prefixCls:o,className:a,rootClassName:s,children:l,hasSider:c,tagName:u,style:d}=e,f=Axe(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),h=ur(f,["suffixCls"]),{getPrefixCls:m,layout:g}=p.useContext(Xt),v=m("layout",o),y=Qpt(r,l,c),[b,_,E]=XCe(v),C=xe(v,{[`${v}-has-sider`]:y,[`${v}-rtl`]:n==="rtl"},g==null?void 0:g.className,a,s,_,E),S=p.useMemo(()=>({siderHook:{addSider:w=>{i(T=>[].concat(nt(T),[w]))},removeSider:w=>{i(T=>T.filter(O=>O!==w))}}}),[]);return b(p.createElement(YCe.Provider,{value:S},p.createElement(u,Object.assign({ref:t,className:C,style:Object.assign(Object.assign({},g==null?void 0:g.style),d)},h),l)))}),Zpt=bD({tagName:"div",displayName:"Layout"})(Xpt),tk=bD({suffixCls:"header",tagName:"header",displayName:"Header"})(PY),Jpt=bD({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(PY),eht=bD({suffixCls:"content",tagName:"main",displayName:"Content"})(PY),fo=Zpt;fo.Header=tk;fo.Footer=Jpt;fo.Content=eht;fo.Sider=ZCe;fo._InternalSiderContext=rD;const DY=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t{const i=n[r];i!==void 0&&(e[r]=i)})}return e};var tht={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},nht=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:tht}))},goe=p.forwardRef(nht),rht={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},iht=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:rht}))},voe=p.forwardRef(iht),Nxe={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},oht=[10,20,50,100],aht=function(t){var n=t.pageSizeOptions,r=n===void 0?oht:n,i=t.locale,o=t.changeSize,a=t.pageSize,s=t.goButton,l=t.quickGo,c=t.rootPrefixCls,u=t.disabled,d=t.buildOptionText,f=t.showSizeChanger,h=t.sizeChangerRender,m=se.useState(""),g=Ie(m,2),v=g[0],y=g[1],b=function(){return!v||Number.isNaN(v)?void 0:Number(v)},_=typeof d=="function"?d:function(I){return"".concat(I," ").concat(i.items_per_page)},E=function(M){y(M.target.value)},C=function(M){s||v===""||(y(""),!(M.relatedTarget&&(M.relatedTarget.className.indexOf("".concat(c,"-item-link"))>=0||M.relatedTarget.className.indexOf("".concat(c,"-item"))>=0))&&(l==null||l(b())))},S=function(M){v!==""&&(M.keyCode===dt.ENTER||M.type==="click")&&(y(""),l==null||l(b()))},w=function(){return r.some(function(M){return M.toString()===a.toString()})?r:r.concat([a]).sort(function(M,B){var P=Number.isNaN(Number(M))?0:Number(M),k=Number.isNaN(Number(B))?0:Number(B);return P-k})},T="".concat(c,"-options");if(!f&&!l)return null;var O=null,x=null,A=null;return f&&h&&(O=h({disabled:u,size:a,onSizeChange:function(M){o==null||o(Number(M))},"aria-label":i.page_size,className:"".concat(T,"-size-changer"),options:w().map(function(I){return{label:_(I),value:I}})})),l&&(s&&(A=typeof s=="boolean"?se.createElement("button",{type:"button",onClick:S,onKeyUp:S,disabled:u,className:"".concat(T,"-quick-jumper-button")},i.jump_to_confirm):se.createElement("span",{onClick:S,onKeyUp:S},s)),x=se.createElement("div",{className:"".concat(T,"-quick-jumper")},i.jump_to,se.createElement("input",{disabled:u,type:"text",value:v,onChange:E,onKeyUp:S,onBlur:C,"aria-label":i.page}),i.page,A)),se.createElement("li",{className:T},O,x)},jE=function(t){var n,r=t.rootPrefixCls,i=t.page,o=t.active,a=t.className,s=t.showTitle,l=t.onClick,c=t.onKeyPress,u=t.itemRender,d="".concat(r,"-item"),f=xe(d,"".concat(d,"-").concat(i),(n={},ee(n,"".concat(d,"-active"),o),ee(n,"".concat(d,"-disabled"),!i),n),a),h=function(){l(i)},m=function(y){c(y,l,i)},g=u(i,"page",se.createElement("a",{rel:"nofollow"},i));return g?se.createElement("li",{title:s?String(i):null,className:f,onClick:h,onKeyDown:m,tabIndex:0},g):null},sht=function(t,n,r){return r};function boe(){}function yoe(e){var t=Number(e);return typeof t=="number"&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function o1(e,t,n){var r=typeof e>"u"?t:e;return Math.floor((n-1)/r)+1}var lht=function(t){var n,r=t.prefixCls,i=r===void 0?"rc-pagination":r,o=t.selectPrefixCls,a=o===void 0?"rc-select":o,s=t.className,l=t.current,c=t.defaultCurrent,u=c===void 0?1:c,d=t.total,f=d===void 0?0:d,h=t.pageSize,m=t.defaultPageSize,g=m===void 0?10:m,v=t.onChange,y=v===void 0?boe:v,b=t.hideOnSinglePage,_=t.align,E=t.showPrevNextJumpers,C=E===void 0?!0:E,S=t.showQuickJumper,w=t.showLessItems,T=t.showTitle,O=T===void 0?!0:T,x=t.onShowSizeChange,A=x===void 0?boe:x,I=t.locale,M=I===void 0?Nxe:I,B=t.style,P=t.totalBoundaryShowSizeChanger,k=P===void 0?50:P,N=t.disabled,L=t.simple,V=t.showTotal,$=t.showSizeChanger,W=$===void 0?f>k:$,j=t.sizeChangerRender,U=t.pageSizeOptions,Z=t.itemRender,te=Z===void 0?sht:Z,ae=t.jumpPrevIcon,K=t.jumpNextIcon,Q=t.prevIcon,ie=t.nextIcon,he=se.useRef(null),pe=Pn(10,{value:h,defaultValue:g}),le=Ie(pe,2),de=le[0],ve=le[1],ne=Pn(1,{value:l,defaultValue:u,postState:function(J){return Math.max(1,Math.min(J,o1(void 0,de,f)))}}),ue=Ie(ne,2),ge=ue[0],Ce=ue[1],Te=se.useState(ge),Se=Ie(Te,2),me=Se[0],be=Se[1];p.useEffect(function(){be(ge)},[ge]);var _e=Math.max(1,ge-(w?3:5)),Re=Math.min(o1(void 0,de,f),ge+(w?3:5));function De(F,J){var Oe=F||se.createElement("button",{type:"button","aria-label":J,className:"".concat(i,"-item-link")});return typeof F=="function"&&(Oe=se.createElement(F,G({},t))),Oe}function z(F){var J=F.target.value,Oe=o1(void 0,de,f),$e;return J===""?$e=J:Number.isNaN(Number(J))?$e=me:J>=Oe?$e=Oe:$e=Number(J),$e}function D(F){return yoe(F)&&F!==ge&&yoe(f)&&f>0}var q=f>de?S:!1;function oe(F){(F.keyCode===dt.UP||F.keyCode===dt.DOWN)&&F.preventDefault()}function ye(F){var J=z(F);switch(J!==me&&be(J),F.keyCode){case dt.ENTER:Ve(J);break;case dt.UP:Ve(J-1);break;case dt.DOWN:Ve(J+1);break}}function ce(F){Ve(z(F))}function Be(F){var J=o1(F,de,f),Oe=ge>J&&J!==0?J:ge;ve(F),be(Oe),A==null||A(ge,F),Ce(Oe),y==null||y(Oe,F)}function Ve(F){if(D(F)&&!N){var J=o1(void 0,de,f),Oe=F;return F>J?Oe=J:F<1&&(Oe=1),Oe!==me&&be(Oe),Ce(Oe),y==null||y(Oe,de),Oe}return ge}var re=ge>1,Me=ge2?Oe-2:0),et=2;etf?f:ge*de])),Ye=null,He=o1(void 0,de,f);if(b&&f<=de)return null;var Ze=[],yt={rootPrefixCls:i,onClick:Ve,onKeyPress:qe,showTitle:O,itemRender:te,page:-1},_t=ge-1>0?ge-1:0,Bt=ge+1=Et*2&&ge!==3&&(Ze[0]=se.cloneElement(Ze[0],{className:xe("".concat(i,"-item-after-jump-prev"),Ze[0].props.className)}),Ze.unshift(Ot)),He-ge>=Et*2&&ge!==He-2){var Pt=Ze[Ze.length-1];Ze[Ze.length-1]=se.cloneElement(Pt,{className:xe("".concat(i,"-item-before-jump-next"),Pt.props.className)}),Ze.push(Ye)}St!==1&&Ze.unshift(se.createElement(jE,Ke({},yt,{key:1,page:1}))),jt!==He&&Ze.push(se.createElement(jE,Ke({},yt,{key:He,page:He})))}var rt=bt(_t);if(rt){var Mt=!re||!He;rt=se.createElement("li",{title:O?M.prev_page:null,onClick:je,tabIndex:Mt?null:0,onKeyDown:At,className:xe("".concat(i,"-prev"),ee({},"".concat(i,"-disabled"),Mt)),"aria-disabled":Mt},rt)}var It=Vt(Bt);if(It){var xn,Hn;L?(xn=!Me,Hn=re?0:null):(xn=!Me||!He,Hn=xn?null:0),It=se.createElement("li",{title:O?M.next_page:null,onClick:ke,tabIndex:Hn,onKeyDown:at,className:xe("".concat(i,"-next"),ee({},"".concat(i,"-disabled"),xn)),"aria-disabled":xn},It)}var R=xe(i,s,(n={},ee(n,"".concat(i,"-start"),_==="start"),ee(n,"".concat(i,"-center"),_==="center"),ee(n,"".concat(i,"-end"),_==="end"),ee(n,"".concat(i,"-simple"),L),ee(n,"".concat(i,"-disabled"),N),n));return se.createElement("ul",Ke({className:R,style:B,ref:he},Ut),ze,rt,L?kt:Ze,It,se.createElement(aht,{locale:M,rootPrefixCls:i,disabled:N,selectPrefixCls:a,changeSize:Be,pageSize:de,pageSizeOptions:U,quickGo:q?Ve:null,goButton:ht,showSizeChanger:W,sizeChangerRender:j}))};const cht=e=>{const{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}},[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{[`&${t}-disabled ${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},uht=e=>{const{componentCls:t}=e;return{[`&${t}-mini ${t}-total-text, &${t}-mini ${t}-simple-pager`]:{height:e.itemSizeSM,lineHeight:Ae(e.itemSizeSM)},[`&${t}-mini ${t}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:Ae(e.calc(e.itemSizeSM).sub(2).equal())},[`&${t}-mini:not(${t}-disabled) ${t}-item:not(${t}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${t}-mini ${t}-prev, &${t}-mini ${t}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:Ae(e.itemSizeSM)},[`&${t}-mini:not(${t}-disabled)`]:{[`${t}-prev, ${t}-next`]:{[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover ${t}-item-link`]:{backgroundColor:"transparent"}}},[` &${t}-mini ${t}-prev ${t}-item-link, &${t}-mini ${t}-next ${t}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:Ae(e.itemSizeSM)}},[`&${t}-mini ${t}-jump-prev, &${t}-mini ${t}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:Ae(e.itemSizeSM)},[`&${t}-mini ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:Ae(e.itemSizeSM),input:Object.assign(Object.assign({},SY(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},dht=e=>{const{componentCls:t}=e;return{[` @@ -437,8 +437,8 @@ html body { ${t}-next, ${t}-jump-prev, ${t}-jump-next - `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:Ae(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Ae(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:Ae(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},y2(e)),gY(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},dD(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},pht=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:Ae(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${Ae(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Ae(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},hht=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:Ae(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),pht(e)),fht(e)),dht(e)),uht(e)),cht(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},mht=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},Zs(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},Td(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},Td(e))}}}},Mxe=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},b2(e)),kxe=e=>Kn(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},v2(e)),ght=lr("Pagination",e=>{const t=kxe(e);return[hht(t),mht(t)]},Mxe),vht=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},bht=pS(["Pagination","bordered"],e=>{const t=kxe(e);return[vht(t)]},Mxe);function _oe(e){return p.useMemo(()=>typeof e=="boolean"?[e,{}]:e&&typeof e=="object"?[!0,e]:[void 0,void 0],[e])}var yht=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{align:t,prefixCls:n,selectPrefixCls:r,className:i,rootClassName:o,style:a,size:s,locale:l,responsive:c,showSizeChanger:u,selectComponentClass:d,pageSizeOptions:f}=e,h=yht(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:m}=XP(c),[,g]=qo(),{getPrefixCls:v,direction:y,pagination:b={}}=p.useContext(Xt),_=v("pagination",n),[E,C,S]=ght(_),w=Co(s),T=w==="small"||!!(m&&!w&&c),[O]=ds("Pagination",tSe),x=Object.assign(Object.assign({},O),l),[A,I]=_oe(u),[M,B]=_oe(b.showSizeChanger),P=A??M,k=I??B,N=d||bu,L=p.useMemo(()=>f?f.map(Z=>Number(Z)):void 0,[f]),V=Z=>{var te;const{disabled:ae,size:K,onSizeChange:Q,"aria-label":ie,className:he,options:pe}=Z,{className:le,onChange:de}=k||{},ve=(te=pe.find(ne=>String(ne.value)===String(K)))===null||te===void 0?void 0:te.value;return p.createElement(N,Object.assign({disabled:ae,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:ne=>ne.parentNode,"aria-label":ie,options:pe},k,{value:ve,onChange:(ne,ue)=>{Q==null||Q(ne),de==null||de(ne,ue)},size:T?"small":"middle",className:xe(he,le)}))},$=p.useMemo(()=>{const Z=p.createElement("span",{className:`${_}-item-ellipsis`},"•••"),te=p.createElement("button",{className:`${_}-item-link`,type:"button",tabIndex:-1},y==="rtl"?p.createElement(uh,null):p.createElement(m_,null)),ae=p.createElement("button",{className:`${_}-item-link`,type:"button",tabIndex:-1},y==="rtl"?p.createElement(m_,null):p.createElement(uh,null)),K=p.createElement("a",{className:`${_}-item-link`},p.createElement("div",{className:`${_}-item-container`},y==="rtl"?p.createElement(voe,{className:`${_}-item-link-icon`}):p.createElement(goe,{className:`${_}-item-link-icon`}),Z)),Q=p.createElement("a",{className:`${_}-item-link`},p.createElement("div",{className:`${_}-item-container`},y==="rtl"?p.createElement(goe,{className:`${_}-item-link-icon`}):p.createElement(voe,{className:`${_}-item-link-icon`}),Z));return{prevIcon:te,nextIcon:ae,jumpPrevIcon:K,jumpNextIcon:Q}},[y,_]),W=v("select",r),j=xe({[`${_}-${t}`]:!!t,[`${_}-mini`]:T,[`${_}-rtl`]:y==="rtl",[`${_}-bordered`]:g.wireframe},b==null?void 0:b.className,i,o,C,S),U=Object.assign(Object.assign({},b==null?void 0:b.style),a);return E(p.createElement(p.Fragment,null,g.wireframe&&p.createElement(bht,{prefixCls:_}),p.createElement(lht,Object.assign({},$,h,{style:U,prefixCls:_,selectPrefixCls:W,className:j,locale:x,pageSizeOptions:L,showSizeChanger:P,sizeChangerRender:V}))))},nk=100,Dxe=nk/5,Lxe=nk/2-Dxe/2,p$=Lxe*2*Math.PI,Soe=50,Eoe=e=>{const{dotClassName:t,style:n,hasCircleCls:r}=e;return p.createElement("circle",{className:xe(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:Lxe,cx:Soe,cy:Soe,strokeWidth:Dxe,style:n})},_ht=e=>{let{percent:t,prefixCls:n}=e;const r=`${n}-dot`,i=`${r}-holder`,o=`${i}-hidden`,[a,s]=p.useState(!1);ar(()=>{t!==0&&s(!0)},[t!==0]);const l=Math.max(Math.min(t,100),0);if(!a)return null;const c={strokeDashoffset:`${p$/4}`,strokeDasharray:`${p$*l/100} ${p$*(100-l)/100}`};return p.createElement("span",{className:xe(i,`${r}-progress`,l<=0&&o)},p.createElement("svg",{viewBox:`0 0 ${nk} ${nk}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l},p.createElement(Eoe,{dotClassName:r,hasCircleCls:!0}),p.createElement(Eoe,{dotClassName:r,style:c})))};function Sht(e){const{prefixCls:t,percent:n=0}=e,r=`${t}-dot`,i=`${r}-holder`,o=`${i}-hidden`;return p.createElement(p.Fragment,null,p.createElement("span",{className:xe(i,n>0&&o)},p.createElement("span",{className:xe(r,`${t}-dot-spin`)},[1,2,3,4].map(a=>p.createElement("i",{className:`${t}-dot-item`,key:a})))),p.createElement(_ht,{prefixCls:t,percent:n}))}function Eht(e){const{prefixCls:t,indicator:n,percent:r}=e,i=`${t}-dot`;return n&&p.isValidElement(n)?Eo(n,{className:xe(n.props.className,i),percent:r}):p.createElement(Sht,{prefixCls:t,percent:r})}const Cht=new fr("antSpinMove",{to:{opacity:1}}),wht=new fr("antRotate",{to:{transform:"rotate(405deg)"}}),Tht=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:Cht,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:wht,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(r=>`${r} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},xht=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},Oht=lr("Spin",e=>{const t=Kn(e,{spinDotDefault:e.colorTextDescription});return[Tht(t)]},xht),Rht=200,Coe=[[30,.05],[70,.03],[96,.01]];function Iht(e,t){const[n,r]=p.useState(0),i=p.useRef(null),o=t==="auto";return p.useEffect(()=>(o&&e&&(r(0),i.current=setInterval(()=>{r(a=>{const s=100-a;for(let l=0;l{clearInterval(i.current)}),[o,e]),o?n:t}var Aht=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var t;const{prefixCls:n,spinning:r=!0,delay:i=0,className:o,rootClassName:a,size:s="default",tip:l,wrapperClassName:c,style:u,children:d,fullscreen:f=!1,indicator:h,percent:m}=e,g=Aht(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:v,direction:y,spin:b}=p.useContext(Xt),_=v("spin",n),[E,C,S]=Oht(_),[w,T]=p.useState(()=>r&&!Nht(r,i)),O=Iht(w,m);p.useEffect(()=>{if(r){const k=Dlt(i,()=>{T(!0)});return k(),()=>{var N;(N=k==null?void 0:k.cancel)===null||N===void 0||N.call(k)}}T(!1)},[i,r]);const x=p.useMemo(()=>typeof d<"u"&&!f,[d,f]),A=xe(_,b==null?void 0:b.className,{[`${_}-sm`]:s==="small",[`${_}-lg`]:s==="large",[`${_}-spinning`]:w,[`${_}-show-text`]:!!l,[`${_}-rtl`]:y==="rtl"},o,!f&&a,C,S),I=xe(`${_}-container`,{[`${_}-blur`]:w}),M=(t=h??(b==null?void 0:b.indicator))!==null&&t!==void 0?t:$xe,B=Object.assign(Object.assign({},b==null?void 0:b.style),u),P=p.createElement("div",Object.assign({},g,{style:B,className:A,"aria-live":"polite","aria-busy":w}),p.createElement(Eht,{prefixCls:_,indicator:M,percent:O}),l&&(x||f)?p.createElement("div",{className:`${_}-text`},l):null);return E(x?p.createElement("div",Object.assign({},g,{className:xe(`${_}-nested-loading`,c,C,S)}),w&&p.createElement("div",{key:"loading"},P),p.createElement("div",{className:I,key:"container"},d)):f?p.createElement("div",{className:xe(`${_}-fullscreen`,{[`${_}-fullscreen-show`]:w},a,C,S)},P):P)};Nc.setDefaultIndicator=e=>{$xe=e};const LY=se.createContext({});LY.Consumer;var Fxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{prefixCls:t,className:n,avatar:r,title:i,description:o}=e,a=Fxe(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:s}=p.useContext(Xt),l=s("list",t),c=xe(`${l}-item-meta`,n),u=se.createElement("div",{className:`${l}-item-meta-content`},i&&se.createElement("h4",{className:`${l}-item-meta-title`},i),o&&se.createElement("div",{className:`${l}-item-meta-description`},o));return se.createElement("div",Object.assign({},a,{className:c}),r&&se.createElement("div",{className:`${l}-item-meta-avatar`},r),(i||o)&&u)},kht=se.forwardRef((e,t)=>{const{prefixCls:n,children:r,actions:i,extra:o,styles:a,className:s,classNames:l,colStyle:c}=e,u=Fxe(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:d,itemLayout:f}=p.useContext(LY),{getPrefixCls:h,list:m}=p.useContext(Xt),g=w=>{var T,O;return xe((O=(T=m==null?void 0:m.item)===null||T===void 0?void 0:T.classNames)===null||O===void 0?void 0:O[w],l==null?void 0:l[w])},v=w=>{var T,O;return Object.assign(Object.assign({},(O=(T=m==null?void 0:m.item)===null||T===void 0?void 0:T.styles)===null||O===void 0?void 0:O[w]),a==null?void 0:a[w])},y=()=>{let w=!1;return p.Children.forEach(r,T=>{typeof T=="string"&&(w=!0)}),w&&p.Children.count(r)>1},b=()=>f==="vertical"?!!o:!y(),_=h("list",n),E=i&&i.length>0&&se.createElement("ul",{className:xe(`${_}-item-action`,g("actions")),key:"actions",style:v("actions")},i.map((w,T)=>se.createElement("li",{key:`${_}-item-action-${T}`},w,T!==i.length-1&&se.createElement("em",{className:`${_}-item-action-split`})))),C=d?"div":"li",S=se.createElement(C,Object.assign({},u,d?{}:{ref:t},{className:xe(`${_}-item`,{[`${_}-item-no-flex`]:!b()},s)}),f==="vertical"&&o?[se.createElement("div",{className:`${_}-item-main`,key:"content"},r,E),se.createElement("div",{className:xe(`${_}-item-extra`,g("extra")),key:"extra",style:v("extra")},o)]:[r,E,Eo(o,{key:"extra"})]);return d?se.createElement(zv,{ref:t,flex:1,style:c},S):S}),Bxe=kht;Bxe.Meta=Mht;const Pht=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:i,itemPaddingSM:o,itemPaddingLG:a,marginLG:s,borderRadiusLG:l}=e;return{[t]:{border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:l,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${Ae(i)} ${Ae(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}}}},Dht=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:i,marginSM:o,margin:a}=e;return{[`@media screen and (max-width:${r}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:i}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${Ae(a)}`}}}}}},Lht=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:i,paddingSM:o,marginLG:a,padding:s,itemPadding:l,colorPrimary:c,itemPaddingSM:u,itemPaddingLG:d,paddingXS:f,margin:h,colorText:m,colorTextDescription:g,motionDurationSlow:v,lineWidth:y,headerBg:b,footerBg:_,emptyTextPadding:E,metaMarginBottom:C,avatarMarginRight:S,titleMarginBottom:w,descriptionFontSize:T}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:b},[`${t}-footer`]:{background:_},[`${t}-header, ${t}-footer`]:{paddingBlock:o},[`${t}-pagination`]:{marginBlockStart:a,[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:i,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:l,color:m,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:S},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:m},[`${t}-item-meta-title`]:{margin:`0 0 ${Ae(e.marginXXS)} 0`,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:m,transition:`all ${v}`,"&:hover":{color:c}}},[`${t}-item-meta-description`]:{color:g,fontSize:T,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${Ae(f)}`,color:g,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:y,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${Ae(s)} 0`,color:g,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:E,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:h,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:a},[`${t}-item-meta`]:{marginBlockEnd:C,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:w,color:m,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:`0 ${Ae(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:d},[`${t}-sm ${t}-item`]:{padding:u},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},$ht=e=>({contentWidth:220,itemPadding:`${Ae(e.paddingContentVertical)} 0`,itemPaddingSM:`${Ae(e.paddingContentVerticalSM)} ${Ae(e.paddingContentHorizontal)}`,itemPaddingLG:`${Ae(e.paddingContentVerticalLG)} ${Ae(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),Fht=lr("List",e=>{const t=Kn(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[Lht(t),Pht(t),Dht(t)]},$ht);var Bht=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i(be,_e)=>{var Re;T(be),x(_e),n&&((Re=n==null?void 0:n[me])===null||Re===void 0||Re.call(n,be,_e))},N=k("onChange"),L=k("onShowSizeChange"),V=(me,be)=>{if(!_)return null;let _e;return typeof b=="function"?_e=b(me):b?_e=me[b]:_e=me.key,_e||(_e=`list-item-${be}`),p.createElement(p.Fragment,{key:_e},_(me,be))},$=()=>!!(d||n||v),W=A("list",r),[j,U,Z]=Fht(W);let te=y;typeof te=="boolean"&&(te={spinning:te});const ae=!!(te!=null&&te.spinning),K=Co(m);let Q="";switch(K){case"large":Q="lg";break;case"small":Q="sm";break}const ie=xe(W,{[`${W}-vertical`]:u==="vertical",[`${W}-${Q}`]:Q,[`${W}-split`]:o,[`${W}-bordered`]:i,[`${W}-loading`]:ae,[`${W}-grid`]:!!f,[`${W}-something-after-last-item`]:$(),[`${W}-rtl`]:M==="rtl"},B==null?void 0:B.className,a,s,U,Z),he=DY(P,{total:h.length,current:w,pageSize:O},n||{}),pe=Math.ceil(he.total/he.pageSize);he.current>pe&&(he.current=pe);const le=n&&p.createElement("div",{className:xe(`${W}-pagination`)},p.createElement(Pxe,Object.assign({align:"end"},he,{onChange:N,onShowSizeChange:L})));let de=nt(h);n&&h.length>(he.current-1)*he.pageSize&&(de=nt(h).splice((he.current-1)*he.pageSize,he.pageSize));const ve=Object.keys(f||{}).some(me=>["xs","sm","md","lg","xl","xxl"].includes(me)),ne=XP(ve),ue=p.useMemo(()=>{for(let me=0;me{if(!f)return;const me=ue&&f[ue]?f[ue]:f.column;if(me)return{width:`${100/me}%`,maxWidth:`${100/me}%`}},[JSON.stringify(f),ue]);let Ce=ae&&p.createElement("div",{style:{minHeight:53}});if(de.length>0){const me=de.map((be,_e)=>V(be,_e));Ce=f?p.createElement(w2,{gutter:f.gutter},p.Children.map(me,be=>p.createElement("div",{key:be==null?void 0:be.key,style:ge},be))):p.createElement("ul",{className:`${W}-items`},me)}else!c&&!ae&&(Ce=p.createElement("div",{className:`${W}-empty-text`},(E==null?void 0:E.emptyText)||(I==null?void 0:I("List"))||p.createElement(yS,{componentName:"List"})));const Te=he.position||"bottom",Se=p.useMemo(()=>({grid:f,itemLayout:u}),[JSON.stringify(f),u]);return j(p.createElement(LY.Provider,{value:Se},p.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},B==null?void 0:B.style),l),className:ie},C),(Te==="top"||Te==="both")&&le,g&&p.createElement("div",{className:`${W}-header`},g),p.createElement(Nc,Object.assign({},te),Ce,c),v&&p.createElement("div",{className:`${W}-footer`},v),d||(Te==="bottom"||Te==="both")&&le)))}const Hht=p.forwardRef(jht),jxe=Hht;jxe.Item=Bxe;function Uht(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&e==null?[]:Array.isArray(e)?e:[e]}let qc=null,z1=e=>e(),$T=[],FT={};function woe(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:i}=FT,o=(e==null?void 0:e())||document.body;return{getContainer:()=>o,duration:t,rtl:n,maxCount:r,top:i}}const zht=se.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:i}=p.useContext(Xt),o=FT.prefixCls||i("message"),a=p.useContext(jH),[s,l]=eEe(Object.assign(Object.assign(Object.assign({},n),{prefixCls:o}),a.message));return se.useImperativeHandle(t,()=>{const c=Object.assign({},s);return Object.keys(c).forEach(u=>{c[u]=function(){return r(),s[u].apply(s,arguments)}}),{instance:c,sync:r}}),l}),Vht=se.forwardRef((e,t)=>{const[n,r]=se.useState(woe),i=()=>{r(woe)};se.useEffect(i,[]);const o=FSe(),a=o.getRootPrefixCls(),s=o.getIconPrefixCls(),l=o.getTheme(),c=se.createElement(zht,{ref:t,sync:i,messageConfig:n});return se.createElement(Ln,{prefixCls:a,iconPrefixCls:s,theme:l},o.holderRender?o.holderRender(c):c)});function yD(){if(!qc){const e=document.createDocumentFragment(),t={fragment:e};qc=t,z1(()=>{Tq()(se.createElement(Vht,{ref:r=>{const{instance:i,sync:o}=r||{};Promise.resolve().then(()=>{!t.instance&&i&&(t.instance=i,t.sync=o,yD())})}}),e)});return}qc.instance&&($T.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{z1(()=>{const r=qc.instance.open(Object.assign(Object.assign({},FT),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":z1(()=>{qc==null||qc.instance.destroy(e.key)});break;default:z1(()=>{var r;const i=(r=qc.instance)[t].apply(r,nt(e.args));i==null||i.then(e.resolve),e.setCloseFn(i)})}}),$T=[])}function Ght(e){FT=Object.assign(Object.assign({},FT),e),z1(()=>{var t;(t=qc==null?void 0:qc.sync)===null||t===void 0||t.call(qc)})}function Wht(e){const t=wq(n=>{let r;const i={type:"open",config:e,resolve:n,setCloseFn:o=>{r=o}};return $T.push(i),()=>{r?z1(()=>{r()}):i.skipped=!0}});return yD(),t}function qht(e,t){const n=wq(r=>{let i;const o={type:e,args:t,resolve:r,setCloseFn:a=>{i=a}};return $T.push(o),()=>{i?z1(()=>{i()}):o.skipped=!0}});return yD(),n}const Yht=e=>{$T.push({type:"destroy",key:e}),yD()},Kht=["success","info","warning","error","loading"],Qht={open:Wht,destroy:Yht,config:Ght,useMessage:tEe,_InternalPanelDoNotUseOrYouWillBeFired:PQe},zo=Qht;Kht.forEach(e=>{zo[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{const{prefixCls:t,className:n,closeIcon:r,closable:i,type:o,title:a,children:s,footer:l}=e,c=Xht(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:u}=p.useContext(Xt),d=u(),f=t||u("modal"),h=ui(d),[m,g,v]=UEe(f,h),y=`${f}-confirm`;let b={};return o?b={closable:i??!1,title:"",footer:"",children:p.createElement(VEe,Object.assign({},e,{prefixCls:f,confirmPrefixCls:y,rootPrefixCls:d,content:s}))}:b={closable:i??!0,title:a,footer:l!==null&&p.createElement($Ee,Object.assign({},e)),children:s},m(p.createElement(EEe,Object.assign({prefixCls:f,className:xe(g,`${f}-pure-panel`,o&&y,o&&`${y}-${o}`,n,v,h)},c,{closeIcon:LEe(f,r),closable:i},b)))},Jht=nCe(Zht);function Hxe(e){return u2(YEe(e))}const Yo=zEe;Yo.useModal=JEe;Yo.info=function(t){return u2(KEe(t))};Yo.success=function(t){return u2(QEe(t))};Yo.error=function(t){return u2(XEe(t))};Yo.warning=Hxe;Yo.warn=Hxe;Yo.confirm=function(t){return u2(ZEe(t))};Yo.destroyAll=function(){for(;H1.length;){const t=H1.pop();t&&t()}};Yo.config=Ket;Yo._InternalPanelDoNotUseOrYouWillBeFired=Jht;const emt=e=>{const{componentCls:t,iconCls:n,antCls:r,zIndexPopup:i,colorText:o,colorWarning:a,marginXXS:s,marginXS:l,fontSize:c,fontWeightStrong:u,colorTextHeading:d}=e;return{[t]:{zIndex:i,[`&${r}-popover`]:{fontSize:c},[`${t}-message`]:{marginBottom:l,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:a,fontSize:c,lineHeight:1,marginInlineEnd:l},[`${t}-title`]:{fontWeight:u,color:d,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:s,color:o}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:l}}}}},tmt=e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},Uxe=lr("Popconfirm",e=>emt(e),tmt,{resetStyle:!1});var nmt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,okButtonProps:n,cancelButtonProps:r,title:i,description:o,cancelText:a,okText:s,okType:l="primary",icon:c=p.createElement(Ag,null),showCancel:u=!0,close:d,onConfirm:f,onCancel:h,onPopupClick:m}=e,{getPrefixCls:g}=p.useContext(Xt),[v]=ds("Popconfirm",Cc.Popconfirm),y=h_(i),b=h_(o);return p.createElement("div",{className:`${t}-inner-content`,onClick:m},p.createElement("div",{className:`${t}-message`},c&&p.createElement("span",{className:`${t}-message-icon`},c),p.createElement("div",{className:`${t}-message-text`},y&&p.createElement("div",{className:`${t}-title`},y),b&&p.createElement("div",{className:`${t}-description`},b))),p.createElement("div",{className:`${t}-buttons`},u&&p.createElement($n,Object.assign({onClick:h,size:"small"},r),a||(v==null?void 0:v.cancelText)),p.createElement(Pq,{buttonProps:Object.assign(Object.assign({size:"small"},xq(l)),n),actionFn:f,close:d,prefixCls:g("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},s||(v==null?void 0:v.okText))))},rmt=e=>{const{prefixCls:t,placement:n,className:r,style:i}=e,o=nmt(e,["prefixCls","placement","className","style"]),{getPrefixCls:a}=p.useContext(Xt),s=a("popconfirm",t),[l]=Uxe(s);return l(p.createElement(MCe,{placement:n,className:xe(s,r),style:i,content:p.createElement(zxe,Object.assign({prefixCls:s},o))}))};var imt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r,i,o,a,s;const{prefixCls:l,placement:c="top",trigger:u="click",okType:d="primary",icon:f=p.createElement(Ag,null),children:h,overlayClassName:m,onOpenChange:g,onVisibleChange:v,overlayStyle:y,styles:b,classNames:_}=e,E=imt(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:C,popconfirm:S}=p.useContext(Xt),[w,T]=Pn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),O=(L,V)=>{T(L,!0),v==null||v(L),g==null||g(L,V)},x=L=>{O(!1,L)},A=L=>{var V;return(V=e.onConfirm)===null||V===void 0?void 0:V.call(void 0,L)},I=L=>{var V;O(!1,L),(V=e.onCancel)===null||V===void 0||V.call(void 0,L)},M=(L,V)=>{const{disabled:$=!1}=e;$||O(L,V)},B=C("popconfirm",l),P=xe(B,m,(i=S==null?void 0:S.classNames)===null||i===void 0?void 0:i.root,_==null?void 0:_.root),k=xe((o=S==null?void 0:S.classNames)===null||o===void 0?void 0:o.body,_==null?void 0:_.body),[N]=Uxe(B);return N(p.createElement(yu,Object.assign({},ur(E,["title"]),{trigger:u,placement:c,onOpenChange:M,open:w,ref:t,classNames:{root:P,body:k},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},(a=S==null?void 0:S.styles)===null||a===void 0?void 0:a.root),S==null?void 0:S.style),y),b==null?void 0:b.root),body:Object.assign(Object.assign({},(s=S==null?void 0:S.styles)===null||s===void 0?void 0:s.body),b==null?void 0:b.body)},content:p.createElement(zxe,Object.assign({okType:d,icon:f},e,{prefixCls:B,close:x,onConfirm:A,onCancel:I})),"data-popover-inject":!0}),h))}),_D=omt;_D._InternalPanelDoNotUseOrYouWillBeFired=rmt;var amt={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},smt=function(){var t=p.useRef([]),n=p.useRef(null);return p.useEffect(function(){var r=Date.now(),i=!1;t.current.forEach(function(o){if(o){i=!0;var a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",n.current&&r-n.current<100&&(a.transitionDuration="0s, 0s")}}),i&&(n.current=Date.now())}),t.current},Toe=0,lmt=Xs();function cmt(){var e;return lmt?(e=Toe,Toe+=1):e="TEST_OR_SSR",e}const umt=function(e){var t=p.useState(),n=Ie(t,2),r=n[0],i=n[1];return p.useEffect(function(){i("rc_progress_".concat(cmt()))},[]),e||r};var xoe=function(t){var n=t.bg,r=t.children;return p.createElement("div",{style:{width:"100%",height:"100%",background:n}},r)};function Ooe(e,t){return Object.keys(e).map(function(n){var r=parseFloat(n),i="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(i)})}var dmt=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.color,i=e.gradientId,o=e.radius,a=e.style,s=e.ptg,l=e.strokeLinecap,c=e.strokeWidth,u=e.size,d=e.gapDegree,f=r&&Gt(r)==="object",h=f?"#FFF":void 0,m=u/2,g=p.createElement("circle",{className:"".concat(n,"-circle-path"),r:o,cx:m,cy:m,stroke:h,strokeLinecap:l,strokeWidth:c,opacity:s===0?0:1,style:a,ref:t});if(!f)return g;var v="".concat(i,"-conic"),y=d?"".concat(180+d/2,"deg"):"0deg",b=Ooe(r,(360-d)/360),_=Ooe(r,1),E="conic-gradient(from ".concat(y,", ").concat(b.join(", "),")"),C="linear-gradient(to ".concat(d?"bottom":"top",", ").concat(_.join(", "),")");return p.createElement(p.Fragment,null,p.createElement("mask",{id:v},g),p.createElement("foreignObject",{x:0,y:0,width:u,height:u,mask:"url(#".concat(v,")")},p.createElement(xoe,{bg:C},p.createElement(xoe,{bg:E}))))}),PC=100,h$=function(t,n,r,i,o,a,s,l,c,u){var d=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,f=r/100*360*((360-a)/360),h=a===0?0:{bottom:0,top:180,left:90,right:-90}[s],m=(100-i)/100*n;c==="round"&&i!==100&&(m+=u/2,m>=n&&(m=n-.01));var g=PC/2;return{stroke:typeof l=="string"?l:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:m+d,transform:"rotate(".concat(o+f+h,"deg)"),transformOrigin:"".concat(g,"px ").concat(g,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},fmt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Roe(e){var t=e??[];return Array.isArray(t)?t:[t]}var pmt=function(t){var n=G(G({},amt),t),r=n.id,i=n.prefixCls,o=n.steps,a=n.strokeWidth,s=n.trailWidth,l=n.gapDegree,c=l===void 0?0:l,u=n.gapPosition,d=n.trailColor,f=n.strokeLinecap,h=n.style,m=n.className,g=n.strokeColor,v=n.percent,y=Dt(n,fmt),b=PC/2,_=umt(r),E="".concat(_,"-gradient"),C=b-a/2,S=Math.PI*2*C,w=c>0?90+c/2:-90,T=S*((360-c)/360),O=Gt(o)==="object"?o:{count:o,gap:2},x=O.count,A=O.gap,I=Roe(v),M=Roe(g),B=M.find(function(W){return W&&Gt(W)==="object"}),P=B&&Gt(B)==="object",k=P?"butt":f,N=h$(S,T,0,100,w,c,u,d,k,a),L=smt(),V=function(){var j=0;return I.map(function(U,Z){var te=M[Z]||M[M.length-1],ae=h$(S,T,j,U,w,c,u,te,k,a);return j+=U,p.createElement(dmt,{key:Z,color:te,ptg:U,radius:C,prefixCls:i,gradientId:E,style:ae,strokeLinecap:k,strokeWidth:a,gapDegree:c,ref:function(Q){L[Z]=Q},size:PC})}).reverse()},$=function(){var j=Math.round(x*(I[0]/100)),U=100/x,Z=0;return new Array(x).fill(null).map(function(te,ae){var K=ae<=j-1?M[0]:d,Q=K&&Gt(K)==="object"?"url(#".concat(E,")"):void 0,ie=h$(S,T,Z,U,w,c,u,K,"butt",a,A);return Z+=(T-ie.strokeDashoffset+A)*100/T,p.createElement("circle",{key:ae,className:"".concat(i,"-circle-path"),r:C,cx:b,cy:b,stroke:Q,strokeWidth:a,opacity:1,style:ie,ref:function(pe){L[ae]=pe}})})};return p.createElement("svg",Ke({className:xe("".concat(i,"-circle"),m),viewBox:"0 0 ".concat(PC," ").concat(PC),style:h,id:r,role:"presentation"},y),!x&&p.createElement("circle",{className:"".concat(i,"-circle-trail"),r:C,cx:b,cy:b,stroke:d,strokeLinecap:k,strokeWidth:s||a,style:N}),x?$():V())};function ag(e){return!e||e<0?0:e>100?100:e}function rk(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const hmt=e=>{let{percent:t,success:n,successPercent:r}=e;const i=ag(rk({success:n,successPercent:r}));return[i,ag(ag(t)-i)]},mmt=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||uv.green,n||null]},SD=(e,t,n)=>{var r,i,o,a;let s=-1,l=-1;if(t==="step"){const c=n.steps,u=n.strokeWidth;typeof e=="string"||typeof e>"u"?(s=e==="small"?2:14,l=u??8):typeof e=="number"?[s,l]=[e,e]:[s=14,l=8]=Array.isArray(e)?e:[e.width,e.height],s*=c}else if(t==="line"){const c=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?l=c||(e==="small"?6:8):typeof e=="number"?[s,l]=[e,e]:[s=-1,l=8]=Array.isArray(e)?e:[e.width,e.height]}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[s,l]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[s,l]=[e,e]:Array.isArray(e)&&(s=(i=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&i!==void 0?i:120,l=(a=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&a!==void 0?a:120));return[s,l]},gmt=3,vmt=e=>gmt/e*100,bmt=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:r="round",gapPosition:i,gapDegree:o,width:a=120,type:s,children:l,success:c,size:u=a,steps:d}=e,[f,h]=SD(u,"circle");let{strokeWidth:m}=e;m===void 0&&(m=Math.max(vmt(f),6));const g={width:f,height:h,fontSize:f*.15+6},v=p.useMemo(()=>{if(o||o===0)return o;if(s==="dashboard")return 75},[o,s]),y=hmt(e),b=i||s==="dashboard"&&"bottom"||void 0,_=Object.prototype.toString.call(e.strokeColor)==="[object Object]",E=mmt({success:c,strokeColor:e.strokeColor}),C=xe(`${t}-inner`,{[`${t}-circle-gradient`]:_}),S=p.createElement(pmt,{steps:d,percent:d?y[1]:y,strokeWidth:m,trailWidth:m,strokeColor:d?E[1]:E,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:v,gapPosition:b}),w=f<=20,T=p.createElement("div",{className:C,style:g},S,!w&&l);return w?p.createElement(Aa,{title:l},T):T},ik="--progress-line-stroke-color",Vxe="--progress-percent",Ioe=e=>{const t=e?"100%":"-100%";return new fr(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},ymt=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ik})`]},height:"100%",width:`calc(1 / var(${Vxe}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${Ae(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:Ioe(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:Ioe(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},_mt=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},Smt=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},Emt=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},Cmt=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),wmt=lr("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),n=Kn(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[ymt(n),_mt(n),Smt(n),Emt(n)]},Cmt);var Tmt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));Number.isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:i}=n;return`${i} ${r}%`}).join(", ")},Omt=(e,t)=>{const{from:n=uv.blue,to:r=uv.blue,direction:i=t==="rtl"?"to left":"to right"}=e,o=Tmt(e,["from","to","direction"]);if(Object.keys(o).length!==0){const s=xmt(o),l=`linear-gradient(${i}, ${s})`;return{background:l,[ik]:l}}const a=`linear-gradient(${i}, ${n}, ${r})`;return{background:a,[ik]:a}},Rmt=e=>{const{prefixCls:t,direction:n,percent:r,size:i,strokeWidth:o,strokeColor:a,strokeLinecap:s="round",children:l,trailColor:c=null,percentPosition:u,success:d}=e,{align:f,type:h}=u,m=a&&typeof a!="string"?Omt(a,n):{[ik]:a,background:a},g=s==="square"||s==="butt"?0:void 0,v=i??[-1,o||(i==="small"?6:8)],[y,b]=SD(v,"line",{strokeWidth:o}),_={backgroundColor:c||void 0,borderRadius:g},E=Object.assign(Object.assign({width:`${ag(r)}%`,height:b,borderRadius:g},m),{[Vxe]:ag(r)/100}),C=rk(e),S={width:`${ag(C)}%`,height:b,borderRadius:g,backgroundColor:d==null?void 0:d.strokeColor},w={width:y<0?"100%":y},T=p.createElement("div",{className:`${t}-inner`,style:_},p.createElement("div",{className:xe(`${t}-bg`,`${t}-bg-${h}`),style:E},h==="inner"&&l),C!==void 0&&p.createElement("div",{className:`${t}-success-bg`,style:S})),O=h==="outer"&&f==="start",x=h==="outer"&&f==="end";return h==="outer"&&f==="center"?p.createElement("div",{className:`${t}-layout-bottom`},T,l):p.createElement("div",{className:`${t}-outer`,style:w},O&&l,T,x&&l)},Imt=e=>{const{size:t,steps:n,percent:r=0,strokeWidth:i=8,strokeColor:o,trailColor:a=null,prefixCls:s,children:l}=e,c=Math.round(n*(r/100)),d=t??[t==="small"?2:14,i],[f,h]=SD(d,"step",{steps:n,strokeWidth:i}),m=f/n,g=new Array(n);for(let v=0;v{const{prefixCls:n,className:r,rootClassName:i,steps:o,strokeColor:a,percent:s=0,size:l="default",showInfo:c=!0,type:u="line",status:d,format:f,style:h,percentPosition:m={}}=e,g=Amt(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:v="end",type:y="outer"}=m,b=Array.isArray(a)?a[0]:a,_=typeof a=="string"||Array.isArray(a)?a:void 0,E=p.useMemo(()=>{if(b){const V=typeof b=="string"?b:Object.values(b)[0];return new rr(V).isLight()}return!1},[a]),C=p.useMemo(()=>{var V,$;const W=rk(e);return parseInt(W!==void 0?(V=W??0)===null||V===void 0?void 0:V.toString():($=s??0)===null||$===void 0?void 0:$.toString(),10)},[s,e.success,e.successPercent]),S=p.useMemo(()=>!Nmt.includes(d)&&C>=100?"success":d||"normal",[d,C]),{getPrefixCls:w,direction:T,progress:O}=p.useContext(Xt),x=w("progress",n),[A,I,M]=wmt(x),B=u==="line",P=B&&!o,k=p.useMemo(()=>{if(!c)return null;const V=rk(e);let $;const W=f||(U=>`${U}%`),j=B&&E&&y==="inner";return y==="inner"||f||S!=="exception"&&S!=="success"?$=W(ag(s),ag(V)):S==="exception"?$=B?p.createElement(qf,null):p.createElement(Yf,null):S==="success"&&($=B?p.createElement(S0,null):p.createElement(Qp,null)),p.createElement("span",{className:xe(`${x}-text`,{[`${x}-text-bright`]:j,[`${x}-text-${v}`]:P,[`${x}-text-${y}`]:P}),title:typeof $=="string"?$:void 0},$)},[c,s,C,S,u,x,f]);let N;u==="line"?N=o?p.createElement(Imt,Object.assign({},e,{strokeColor:_,prefixCls:x,steps:typeof o=="object"?o.count:o}),k):p.createElement(Rmt,Object.assign({},e,{strokeColor:b,prefixCls:x,direction:T,percentPosition:{align:v,type:y}}),k):(u==="circle"||u==="dashboard")&&(N=p.createElement(bmt,Object.assign({},e,{strokeColor:b,prefixCls:x,progressStatus:S}),k));const L=xe(x,`${x}-status-${S}`,{[`${x}-${u==="dashboard"&&"circle"||u}`]:u!=="line",[`${x}-inline-circle`]:u==="circle"&&SD(l,"circle")[0]<=20,[`${x}-line`]:P,[`${x}-line-align-${v}`]:P,[`${x}-line-position-${y}`]:P,[`${x}-steps`]:o,[`${x}-show-info`]:c,[`${x}-${l}`]:typeof l=="string",[`${x}-rtl`]:T==="rtl"},O==null?void 0:O.className,r,i,I,M);return A(p.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},O==null?void 0:O.style),h),className:L,role:"progressbar","aria-valuenow":C,"aria-valuemin":0,"aria-valuemax":100},ur(g,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),N))});function Sf(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=bP(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,o=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw o}}}}var RS,x2;function yl(e,t,n){if(t<0||t>31||e>>>t)throw new RangeError("Value out of range");for(var r=t-1;r>=0;r--)n.push(e>>>r&1)}function sp(e,t){return(e>>>t&1)!=0}function Yl(e){if(!e)throw new Error("Assertion error")}var Ef=function(){function e(t,n){Kr(this,e),ee(this,"modeBits",void 0),ee(this,"numBitsCharCount",void 0),this.modeBits=t,this.numBitsCharCount=n}return Qr(e,[{key:"numCharCountBits",value:function(n){return this.numBitsCharCount[Math.floor((n+7)/17)]}}]),e}();RS=Ef;ee(Ef,"NUMERIC",new RS(1,[10,12,14]));ee(Ef,"ALPHANUMERIC",new RS(2,[9,11,13]));ee(Ef,"BYTE",new RS(4,[8,16,16]));ee(Ef,"KANJI",new RS(8,[8,10,12]));ee(Ef,"ECI",new RS(7,[0,0,0]));var au=Qr(function e(t,n){Kr(this,e),ee(this,"ordinal",void 0),ee(this,"formatBits",void 0),this.ordinal=t,this.formatBits=n});x2=au;ee(au,"LOW",new x2(0,1));ee(au,"MEDIUM",new x2(1,0));ee(au,"QUARTILE",new x2(2,3));ee(au,"HIGH",new x2(3,2));var hv=function(){function e(t,n,r){if(Kr(this,e),ee(this,"mode",void 0),ee(this,"numChars",void 0),ee(this,"bitData",void 0),this.mode=t,this.numChars=n,this.bitData=r,n<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}return Qr(e,[{key:"getData",value:function(){return this.bitData.slice()}}],[{key:"makeBytes",value:function(n){var r=[],i=Sf(n),o;try{for(i.s();!(o=i.n()).done;){var a=o.value;yl(a,8,r)}}catch(s){i.e(s)}finally{i.f()}return new e(Ef.BYTE,n.length,r)}},{key:"makeNumeric",value:function(n){if(!e.isNumeric(n))throw new RangeError("String contains non-numeric characters");for(var r=[],i=0;i=1<e.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=t*4+17;for(var a=[],s=0;s>>9)*1335;var a=(r<<10|i)^21522;Yl(a>>>15==0);for(var s=0;s<=5;s++)this.setFunctionModule(8,s,sp(a,s));this.setFunctionModule(8,7,sp(a,6)),this.setFunctionModule(8,8,sp(a,7)),this.setFunctionModule(7,8,sp(a,8));for(var l=9;l<15;l++)this.setFunctionModule(14-l,8,sp(a,l));for(var c=0;c<8;c++)this.setFunctionModule(this.size-1-c,8,sp(a,c));for(var u=8;u<15;u++)this.setFunctionModule(8,this.size-15+u,sp(a,u));this.setFunctionModule(8,this.size-8,!0)}},{key:"drawVersion",value:function(){if(!(this.version<7)){for(var n=this.version,r=0;r<12;r++)n=n<<1^(n>>>11)*7973;var i=this.version<<12|n;Yl(i>>>18==0);for(var o=0;o<18;o++){var a=sp(i,o),s=this.size-11+o%3,l=Math.floor(o/3);this.setFunctionModule(s,l,a),this.setFunctionModule(l,s,a)}}}},{key:"drawFinderPattern",value:function(n,r){for(var i=-4;i<=4;i++)for(var o=-4;o<=4;o++){var a=Math.max(Math.abs(o),Math.abs(i)),s=n+o,l=r+i;0<=s&&s=l)&&v.push(C[E])})},b=0;b=1;i-=2){i==6&&(i=5);for(var o=0;o>>3],7-(r&7)),r++)}}Yl(r==n.length*8)}},{key:"applyMask",value:function(n){if(n<0||n>7)throw new RangeError("Mask value out of range");for(var r=0;r5&&n++):(this.finderPenaltyAddHistory(o,a),i||(n+=this.finderPenaltyCountPatterns(a)*e.PENALTY_N3),i=this.modules[r][s],o=1);n+=this.finderPenaltyTerminateAndCount(i,o,a)*e.PENALTY_N3}for(var l=0;l5&&n++):(this.finderPenaltyAddHistory(u,d),c||(n+=this.finderPenaltyCountPatterns(d)*e.PENALTY_N3),c=this.modules[f][l],u=1);n+=this.finderPenaltyTerminateAndCount(c,u,d)*e.PENALTY_N3}for(var h=0;h0&&n[2]==r&&n[3]==r*3&&n[4]==r&&n[5]==r;return(i&&n[0]>=r*4&&n[6]>=r?1:0)+(i&&n[6]>=r*4&&n[0]>=r?1:0)}},{key:"finderPenaltyTerminateAndCount",value:function(n,r,i){var o=r;return n&&(this.finderPenaltyAddHistory(o,i),o=0),o+=this.size,this.finderPenaltyAddHistory(o,i),this.finderPenaltyCountPatterns(i)}},{key:"finderPenaltyAddHistory",value:function(n,r){var i=n;r[0]==0&&(i+=this.size),r.pop(),r.unshift(i)}}],[{key:"encodeText",value:function(n,r){var i=hv.makeSegments(n);return e.encodeSegments(i,r)}},{key:"encodeBinary",value:function(n,r){var i=hv.makeBytes(n);return e.encodeSegments([i],r)}},{key:"encodeSegments",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;if(!(e.MIN_VERSION<=i&&i<=o&&o<=e.MAX_VERSION)||a<-1||a>7)throw new RangeError("Invalid value");var l,c;for(l=i;;l++){var u=e.getNumDataCodewords(l,r)*8,d=hv.getTotalBits(n,l);if(d<=u){c=d;break}if(l>=o)throw new RangeError("Data too long")}for(var f=r,h=0,m=[au.MEDIUM,au.QUARTILE,au.HIGH];h>>3]|=x<<7-(A&7)}),new e(l,f,O,a)}},{key:"getNumRawDataModules",value:function(n){if(ne.MAX_VERSION)throw new RangeError("Version number out of range");var r=(16*n+128)*n+64;if(n>=2){var i=Math.floor(n/7)+2;r-=(25*i-10)*i-55,n>=7&&(r-=36)}return Yl(208<=r&&r<=29648),r}},{key:"getNumDataCodewords",value:function(n,r){return Math.floor(e.getNumRawDataModules(n)/8)-e.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n]*e.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n]}},{key:"reedSolomonComputeDivisor",value:function(n){if(n<1||n>255)throw new RangeError("Degree out of range");for(var r=[],i=0;i>>8||r>>>8)throw new RangeError("Byte out of range");for(var i=0,o=7;o>=0;o--)i=i<<1^(i>>>7)*285,i^=(r>>>o&1)*n;return Yl(i>>>8==0),i}}]),e}();ee(Ih,"MIN_VERSION",1);ee(Ih,"MAX_VERSION",40);ee(Ih,"PENALTY_N1",3);ee(Ih,"PENALTY_N2",3);ee(Ih,"PENALTY_N3",40);ee(Ih,"PENALTY_N4",10);ee(Ih,"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]]);ee(Ih,"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]]);var Mmt={L:au.LOW,M:au.MEDIUM,Q:au.QUARTILE,H:au.HIGH},Wxe=128,qxe="L",Yxe="#FFFFFF",Kxe="#000000",Qxe=!1,Xxe=1,kmt=4,Pmt=0,Dmt=.1;function Zxe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=[];return e.forEach(function(r,i){var o=null;r.forEach(function(a,s){if(!a&&o!==null){n.push("M".concat(o+t," ").concat(i+t,"h").concat(s-o,"v1H").concat(o+t,"z")),o=null;return}if(s===r.length-1){if(!a)return;o===null?n.push("M".concat(s+t,",").concat(i+t," h1v1H").concat(s+t,"z")):n.push("M".concat(o+t,",").concat(i+t," h").concat(s+1-o,"v1H").concat(o+t,"z"));return}a&&o===null&&(o=s)})}),n.join("")}function Jxe(e,t){return e.slice().map(function(n,r){return r=t.y+t.h?n:n.map(function(i,o){return o=t.x+t.w?i:!1})})}function Lmt(e,t,n,r){if(r==null)return null;var i=e.length+n*2,o=Math.floor(t*Dmt),a=i/t,s=(r.width||o)*a,l=(r.height||o)*a,c=r.x==null?e.length/2-s/2:r.x*a,u=r.y==null?e.length/2-l/2:r.y*a,d=r.opacity==null?1:r.opacity,f=null;if(r.excavate){var h=Math.floor(c),m=Math.floor(u),g=Math.ceil(s+c-h),v=Math.ceil(l+u-m);f={x:h,y:m,w:g,h:v}}var y=r.crossOrigin;return{x:c,y:u,h:l,w:s,excavation:f,opacity:d,crossOrigin:y}}function $mt(e,t){return t!=null?Math.floor(t):e?kmt:Pmt}var Fmt=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}();function e2e(e){var t=e.value,n=e.level,r=e.minVersion,i=e.includeMargin,o=e.marginSize,a=e.imageSettings,s=e.size,l=p.useMemo(function(){var m=hv.makeSegments(t);return Ih.encodeSegments(m,Mmt[n],r)},[t,n,r]),c=p.useMemo(function(){var m=l.getModules(),g=$mt(i,o),v=m.length+g*2,y=Lmt(m,s,g,a);return{cells:m,margin:g,numCells:v,calculatedImageSettings:y}},[l,s,a,i,o]),u=c.cells,d=c.margin,f=c.numCells,h=c.calculatedImageSettings;return{qrcode:l,margin:d,cells:u,numCells:f,calculatedImageSettings:h}}var Bmt=["value","size","level","bgColor","fgColor","includeMargin","minVersion","marginSize","style","imageSettings"],t2e=se.forwardRef(function(t,n){var r=t.value,i=t.size,o=i===void 0?Wxe:i,a=t.level,s=a===void 0?qxe:a,l=t.bgColor,c=l===void 0?Yxe:l,u=t.fgColor,d=u===void 0?Kxe:u,f=t.includeMargin,h=f===void 0?Qxe:f,m=t.minVersion,g=m===void 0?Xxe:m,v=t.marginSize,y=t.style,b=t.imageSettings,_=Dt(t,Bmt),E=b==null?void 0:b.src,C=p.useRef(null),S=p.useRef(null),w=p.useCallback(function(L){C.current=L,typeof n=="function"?n(L):n&&(n.current=L)},[n]),T=p.useState(!1),O=Ie(T,2),x=O[1],A=e2e({value:r,level:s,minVersion:g,includeMargin:h,marginSize:v,imageSettings:b,size:o}),I=A.margin,M=A.cells,B=A.numCells,P=A.calculatedImageSettings;p.useEffect(function(){if(C.current!=null){var L=C.current,V=L.getContext("2d");if(!V)return;var $=M,W=S.current,j=P!=null&&W!==null&&W.complete&&W.naturalHeight!==0&&W.naturalWidth!==0;j&&P.excavation!=null&&($=Jxe(M,P.excavation));var U=window.devicePixelRatio||1;L.height=L.width=o*U;var Z=o/B*U;V.scale(Z,Z),V.fillStyle=c,V.fillRect(0,0,B,B),V.fillStyle=d,Fmt?V.fill(new Path2D(Zxe($,I))):M.forEach(function(te,ae){te.forEach(function(K,Q){K&&V.fillRect(Q+I,ae+I,1,1)})}),P&&(V.globalAlpha=P.opacity),j&&V.drawImage(W,P.x+I,P.y+I,P.w,P.h)}}),p.useEffect(function(){x(!1)},[E]);var k=G({height:o,width:o},y),N=null;return E!=null&&(N=se.createElement("img",{src:E,key:E,style:{display:"none"},onLoad:function(){x(!0)},ref:S,crossOrigin:P==null?void 0:P.crossOrigin})),se.createElement(se.Fragment,null,se.createElement("canvas",Ke({style:k,height:o,width:o,ref:w,role:"img"},_)),N)});t2e.displayName="QRCodeCanvas";var jmt=["value","size","level","bgColor","fgColor","includeMargin","minVersion","title","marginSize","imageSettings"],n2e=se.forwardRef(function(t,n){var r=t.value,i=t.size,o=i===void 0?Wxe:i,a=t.level,s=a===void 0?qxe:a,l=t.bgColor,c=l===void 0?Yxe:l,u=t.fgColor,d=u===void 0?Kxe:u,f=t.includeMargin,h=f===void 0?Qxe:f,m=t.minVersion,g=m===void 0?Xxe:m,v=t.title,y=t.marginSize,b=t.imageSettings,_=Dt(t,jmt),E=e2e({value:r,level:s,minVersion:g,includeMargin:h,marginSize:y,imageSettings:b,size:o}),C=E.margin,S=E.cells,w=E.numCells,T=E.calculatedImageSettings,O=S,x=null;b!=null&&T!=null&&(T.excavation!=null&&(O=Jxe(S,T.excavation)),x=se.createElement("image",{href:b.src,height:T.h,width:T.w,x:T.x+C,y:T.y+C,preserveAspectRatio:"none",opacity:T.opacity,crossOrigin:T.crossOrigin}));var A=Zxe(O,C);return se.createElement("svg",Ke({height:o,width:o,viewBox:"0 0 ".concat(w," ").concat(w),ref:n,role:"img"},_),!!v&&se.createElement("title",null,v),se.createElement("path",{fill:c,d:"M0,0 h".concat(w,"v").concat(w,"H0z"),shapeRendering:"crispEdges"}),se.createElement("path",{fill:d,d:A,shapeRendering:"crispEdges"}),x)});n2e.displayName="QRCodeSVG";var Hmt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"},Umt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Hmt}))},zmt=p.forwardRef(Umt),Vmt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Gmt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Vmt}))},Wmt=p.forwardRef(Gmt),qmt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ymt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:qmt}))},Kmt=p.forwardRef(Ymt),Qmt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Xmt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Qmt}))},Zmt=p.forwardRef(Xmt),Jmt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},egt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Jmt}))},tgt=p.forwardRef(egt),ngt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},rgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:ngt}))},igt=p.forwardRef(rgt),ogt={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 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},agt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:ogt}))},sgt=p.forwardRef(agt),lgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},cgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:lgt}))},O2=p.forwardRef(cgt),ugt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},dgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:ugt}))},fgt=p.forwardRef(dgt),pgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},hgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:pgt}))},BT=p.forwardRef(hgt),mgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},ggt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:mgt}))},vgt=p.forwardRef(ggt),bgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ygt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:bgt}))},r2e=p.forwardRef(ygt),_gt={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:n}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"},Sgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:_gt}))},Egt=p.forwardRef(Sgt),Cgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},wgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Cgt}))},Tgt=p.forwardRef(wgt),xgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ogt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:xgt}))},Rgt=p.forwardRef(Ogt),Igt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Agt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Igt}))},i2e=p.forwardRef(Agt),Ngt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"},Mgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Ngt}))},kgt=p.forwardRef(Mgt),Pgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Dgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Pgt}))},Lgt=p.forwardRef(Dgt),$gt={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:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},Fgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:$gt}))},Bgt=p.forwardRef(Fgt),jgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311h-.3v428h472.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32z"}}]},name:"like",theme:"filled"},Hgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:jgt}))},Ugt=p.forwardRef(Hgt),zgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},Vgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:zgt}))},Ggt=p.forwardRef(Vgt),Wgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},qgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Wgt}))},x0=p.forwardRef(qgt),Ygt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z"}}]},name:"mail",theme:"outlined"},Kgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Ygt}))},Qgt=p.forwardRef(Kgt),Xgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},Zgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Xgt}))},Jgt=p.forwardRef(Zgt),e1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"},t1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:e1t}))},ok=p.forwardRef(t1t),n1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},r1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:n1t}))},i1t=p.forwardRef(r1t),o1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"},a1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:o1t}))},R2=p.forwardRef(a1t),s1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"},l1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:s1t}))},c1t=p.forwardRef(l1t),u1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},d1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:u1t}))},f1t=p.forwardRef(d1t),p1t={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:n}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:n}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:n}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"},h1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:p1t}))},m1t=p.forwardRef(h1t),g1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},v1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:g1t}))},b1t=p.forwardRef(v1t),y1t={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 708c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z"}}]},name:"question-circle",theme:"filled"},_1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:y1t}))},S1t=p.forwardRef(_1t),E1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},C1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:E1t}))},w1t=p.forwardRef(C1t),T1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},x1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:T1t}))},O1t=p.forwardRef(x1t),R1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z"}}]},name:"rollback",theme:"outlined"},I1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:R1t}))},o2e=p.forwardRef(I1t),A1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},N1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:A1t}))},M1t=p.forwardRef(N1t),k1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},P1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:k1t}))},$Y=p.forwardRef(P1t),D1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"}}]},name:"share-alt",theme:"outlined"},L1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:D1t}))},$1t=p.forwardRef(L1t),F1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},B1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:F1t}))},ED=p.forwardRef(B1t),j1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},H1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:j1t}))},FY=p.forwardRef(H1t),U1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"},z1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:U1t}))},V1t=p.forwardRef(z1t),G1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},W1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:G1t}))},BY=p.forwardRef(W1t),q1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},Y1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:q1t}))},CD=p.forwardRef(Y1t),K1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},Q1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:K1t}))},X1t=p.forwardRef(Q1t),Z1t=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],a2e=p.forwardRef(function(e,t){var n=e.className,r=e.component,i=e.viewBox,o=e.spin,a=e.rotate,s=e.tabIndex,l=e.onClick,c=e.children,u=Dt(e,Z1t),d=p.useRef(),f=$d(d,t);yH(!!(r||c),"Should have `component` prop or `children`."),USe(d);var h=p.useContext(EP),m=h.prefixCls,g=m===void 0?"anticon":m,v=h.rootClassName,y=xe(v,g,ee({},"".concat(g,"-spin"),!!o&&!!r),n),b=xe(ee({},"".concat(g,"-spin"),!!o)),_=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,E=G(G({},DKe),{},{className:b,style:_,viewBox:i});i||delete E.viewBox;var C=function(){return r?p.createElement(r,E,c):c?(yH(!!i||p.Children.count(c)===1&&p.isValidElement(c)&&p.Children.only(c).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),p.createElement("svg",Ke({},E,{viewBox:i}),c)):null},S=s;return S===void 0&&l&&(S=-1),p.createElement("span",Ke({role:"img"},u,{ref:f,tabIndex:S,onClick:l,className:y}),C())});a2e.displayName="AntdIcon";var J1t=["type","children"],s2e=new Set;function evt(e){return!!(typeof e=="string"&&e.length&&!s2e.has(e))}function ak(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e[t];if(evt(n)){var r=document.createElement("script");r.setAttribute("src",n),r.setAttribute("data-namespace",n),e.length>t+1&&(r.onload=function(){ak(e,t+1)},r.onerror=function(){ak(e,t+1)}),s2e.add(n),document.body.appendChild(r)}}function l2e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,r=n===void 0?{}:n;t&&typeof document<"u"&&typeof window<"u"&&typeof document.createElement=="function"&&(Array.isArray(t)?ak(t.reverse()):ak([t]));var i=p.forwardRef(function(o,a){var s=o.type,l=o.children,c=Dt(o,J1t),u=null;return o.type&&(u=p.createElement("use",{xlinkHref:"#".concat(s)})),l&&(u=l),p.createElement(a2e,Ke({},r,c,{ref:a}),u)});return i.displayName="Iconfont",i}const tvt=se.createElement(Nc,null);function nvt(e){let{prefixCls:t,locale:n,onRefresh:r,statusRender:i,status:o}=e;const a=se.createElement(se.Fragment,null,se.createElement("p",{className:`${t}-expired`},n==null?void 0:n.expired),r&&se.createElement($n,{type:"link",icon:se.createElement(w1t,null),onClick:r},n==null?void 0:n.refresh)),s=se.createElement("p",{className:`${t}-scanned`},n==null?void 0:n.scanned),l={expired:a,loading:tvt,scanned:s};return(i??(d=>l[d.status]))({status:o,locale:n,onRefresh:r})}const rvt=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorSplit:i}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${Ae(n)} ${r} ${i}`,position:"relative",overflow:"hidden",[`& > ${t}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${t}-expired, & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"> canvas":{alignSelf:"stretch",flex:"auto",minWidth:0},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),[`${t}-borderless`]:{borderColor:"transparent",padding:0,borderRadius:0}}},ivt=e=>({QRCodeMaskBackgroundColor:new rr(e.colorBgContainer).setA(.96).toRgbString()}),ovt=lr("QRCode",e=>{const t=Kn(e,{QRCodeTextColor:e.colorText});return rvt(t)},ivt);var avt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var t,n,r,i;const[,o]=qo(),{value:a,type:s="canvas",icon:l="",size:c=160,iconSize:u,color:d=o.colorText,errorLevel:f="M",status:h="active",bordered:m=!0,onRefresh:g,style:v,className:y,rootClassName:b,prefixCls:_,bgColor:E="transparent",statusRender:C}=e,S=avt(e,["value","type","icon","size","iconSize","color","errorLevel","status","bordered","onRefresh","style","className","rootClassName","prefixCls","bgColor","statusRender"]),{getPrefixCls:w}=p.useContext(Xt),T=w("qrcode",_),[O,x,A]=ovt(T),I={src:l,x:void 0,y:void 0,height:typeof u=="number"?u:(t=u==null?void 0:u.height)!==null&&t!==void 0?t:40,width:typeof u=="number"?u:(n=u==null?void 0:u.width)!==null&&n!==void 0?n:40,excavate:!0,crossOrigin:"anonymous"},M=xi(S,!0),B=ur(S,Object.keys(M)),P=Object.assign({value:a,size:c,level:f,bgColor:E,fgColor:d,style:{width:v==null?void 0:v.width,height:v==null?void 0:v.height},imageSettings:l?I:void 0},M),[k]=ds("QRCode");if(!a)return null;const N=xe(T,y,b,x,A,{[`${T}-borderless`]:!m}),L=Object.assign(Object.assign({backgroundColor:E},v),{width:(r=v==null?void 0:v.width)!==null&&r!==void 0?r:c,height:(i=v==null?void 0:v.height)!==null&&i!==void 0?i:c});return O(se.createElement("div",Object.assign({},B,{className:N,style:L}),h!=="active"&&se.createElement("div",{className:`${T}-mask`},se.createElement(nvt,{prefixCls:T,locale:k,status:h,onRefresh:g,statusRender:C})),s==="canvas"?se.createElement(t2e,Object.assign({},P)):se.createElement(n2e,Object.assign({},P))))};function svt(e,t){var n=e.disabled,r=e.prefixCls,i=e.character,o=e.characterRender,a=e.index,s=e.count,l=e.value,c=e.allowHalf,u=e.focused,d=e.onHover,f=e.onClick,h=function(C){d(C,a)},m=function(C){f(C,a)},g=function(C){C.keyCode===dt.ENTER&&f(C,a)},v=a+1,y=new Set([r]);l===0&&a===0&&u?y.add("".concat(r,"-focused")):c&&l+.5>=v&&la?"true":"false","aria-posinset":a+1,"aria-setsize":s,tabIndex:n?-1:0},se.createElement("div",{className:"".concat(r,"-first")},b),se.createElement("div",{className:"".concat(r,"-second")},b)));return o&&(_=o(_,e)),_}const lvt=se.forwardRef(svt);function cvt(){var e=p.useRef({});function t(r){return e.current[r]}function n(r){return function(i){e.current[r]=i}}return[t,n]}function uvt(e){var t=e.pageXOffset,n="scrollLeft";if(typeof t!="number"){var r=e.document;t=r.documentElement[n],typeof t!="number"&&(t=r.body[n])}return t}function dvt(e){var t,n,r=e.ownerDocument,i=r.body,o=r&&r.documentElement,a=e.getBoundingClientRect();return t=a.left,n=a.top,t-=o.clientLeft||i.clientLeft||0,n-=o.clientTop||i.clientTop||0,{left:t,top:n}}function fvt(e){var t=dvt(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=uvt(r),t.left}var pvt=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function hvt(e,t){var n=e.prefixCls,r=n===void 0?"rc-rate":n,i=e.className,o=e.defaultValue,a=e.value,s=e.count,l=s===void 0?5:s,c=e.allowHalf,u=c===void 0?!1:c,d=e.allowClear,f=d===void 0?!0:d,h=e.keyboard,m=h===void 0?!0:h,g=e.character,v=g===void 0?"★":g,y=e.characterRender,b=e.disabled,_=e.direction,E=_===void 0?"ltr":_,C=e.tabIndex,S=C===void 0?0:C,w=e.autoFocus,T=e.onHoverChange,O=e.onChange,x=e.onFocus,A=e.onBlur,I=e.onKeyDown,M=e.onMouseLeave,B=Dt(e,pvt),P=cvt(),k=Ie(P,2),N=k[0],L=k[1],V=se.useRef(null),$=function(){if(!b){var q;(q=V.current)===null||q===void 0||q.focus()}};se.useImperativeHandle(t,function(){return{focus:$,blur:function(){if(!b){var q;(q=V.current)===null||q===void 0||q.blur()}}}});var W=Pn(o||0,{value:a}),j=Ie(W,2),U=j[0],Z=j[1],te=Pn(null),ae=Ie(te,2),K=ae[0],Q=ae[1],ie=function(q,oe){var ye=E==="rtl",ce=q+1;if(u){var Be=N(q),Ve=fvt(Be),re=Be.clientWidth;(ye&&oe-Ve>re/2||!ye&&oe-Ve0&&!ye||oe===dt.RIGHT&&U>0&&ye?(he(U-ce),q.preventDefault()):oe===dt.LEFT&&U{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Ae(e.lineWidth)} dashed ${e.starColor}`,transform:e.starHoverScale}},"&-first, &-second":{color:e.starBg,transition:`all ${e.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},vvt=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),bvt=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{display:"inline-block",margin:0,padding:0,color:e.starColor,fontSize:e.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),gvt(e)),vvt(e))}},yvt=e=>({starColor:e.yellow6,starSize:e.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:e.colorFillContent}),_vt=lr("Rate",e=>{const t=Kn(e,{});return[bvt(t)]},yvt);var Svt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,className:r,rootClassName:i,style:o,tooltips:a,character:s=p.createElement(ED,null),disabled:l}=e,c=Svt(e,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),u=(C,S)=>{let{index:w}=S;return a?p.createElement(Aa,{title:a[w]},C):C},{getPrefixCls:d,direction:f,rate:h}=p.useContext(Xt),m=d("rate",n),[g,v,y]=_vt(m),b=Object.assign(Object.assign({},h==null?void 0:h.style),o),_=p.useContext(Wo),E=l??_;return g(p.createElement(mvt,Object.assign({ref:t,character:s,characterRender:u,disabled:E},c,{className:xe(r,i,v,y,h==null?void 0:h.className),style:b,prefixCls:m,direction:f})))}),Evt=()=>p.createElement("svg",{width:"252",height:"294"},p.createElement("title",null,"No Found"),p.createElement("defs",null,p.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),p.createElement("g",{fill:"none",fillRule:"evenodd"},p.createElement("g",{transform:"translate(0 .012)"},p.createElement("mask",{fill:"#fff"}),p.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),p.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),p.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),p.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),p.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),p.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),p.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),p.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1677ff"}),p.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),p.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),p.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),p.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),p.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),p.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),p.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),p.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),p.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),p.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),p.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),p.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),p.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),p.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),p.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),p.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),p.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),p.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),p.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),p.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),p.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),p.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),p.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),p.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),p.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),p.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),p.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),p.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),p.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),p.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),p.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),Cvt=()=>p.createElement("svg",{width:"254",height:"294"},p.createElement("title",null,"Server Error"),p.createElement("defs",null,p.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),p.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),p.createElement("g",{fill:"none",fillRule:"evenodd"},p.createElement("g",{transform:"translate(0 .067)"},p.createElement("mask",{fill:"#fff"}),p.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),p.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),p.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),p.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),p.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),p.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),p.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),p.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),p.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),p.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),p.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),p.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),p.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),p.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),p.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),p.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),p.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),p.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),p.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),p.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),p.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),p.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),p.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),p.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),p.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),p.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),p.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),p.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),p.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),p.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),p.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),p.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),p.createElement("mask",{fill:"#fff"}),p.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),p.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),p.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),p.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),p.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),p.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),p.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),p.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),p.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),p.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),p.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}))),wvt=e=>{const{componentCls:t,lineHeightHeading3:n,iconCls:r,padding:i,paddingXL:o,paddingXS:a,paddingLG:s,marginXS:l,lineHeight:c}=e;return{[t]:{padding:`${Ae(e.calc(s).mul(2).equal())} ${Ae(o)}`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:s,textAlign:"center",[`& > ${r}`]:{fontSize:e.iconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:n,marginBlock:l,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:c,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:s,padding:`${Ae(s)} ${Ae(e.calc(i).mul(2.5).equal())}`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.extraMargin,textAlign:"center","& > *":{marginInlineEnd:a,"&:last-child":{marginInlineEnd:0}}}}},Tvt=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},xvt=e=>[wvt(e),Tvt(e)],Ovt=e=>xvt(e),Rvt=e=>({titleFontSize:e.fontSizeHeading3,subtitleFontSize:e.fontSize,iconFontSize:e.fontSizeHeading3*3,extraMargin:`${e.paddingLG}px 0 0 0`}),Ivt=lr("Result",e=>{const t=e.colorInfo,n=e.colorError,r=e.colorSuccess,i=e.colorWarning,o=Kn(e,{resultInfoIconColor:t,resultErrorIconColor:n,resultSuccessIconColor:r,resultWarningIconColor:i,imageWidth:250,imageHeight:295});return[Ovt(o)]},Rvt),Avt=()=>p.createElement("svg",{width:"251",height:"294"},p.createElement("title",null,"Unauthorized"),p.createElement("g",{fill:"none",fillRule:"evenodd"},p.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),p.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),p.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),p.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),p.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),p.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),p.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),p.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),p.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),p.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),p.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),p.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),p.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),p.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),p.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),p.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),p.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),p.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),p.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),p.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),p.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),p.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),p.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),p.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),p.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),p.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),p.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),p.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),p.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),p.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),p.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),p.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),p.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),p.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),p.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),p.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}))),Nvt={success:S0,error:qf,info:Ag,warning:X1t},I2={404:Evt,500:Cvt,403:Avt},Mvt=Object.keys(I2),kvt=e=>{let{prefixCls:t,icon:n,status:r}=e;const i=xe(`${t}-icon`);if(Mvt.includes(`${r}`)){const a=I2[r];return p.createElement("div",{className:`${i} ${t}-image`},p.createElement(a,null))}const o=p.createElement(Nvt[r]);return n===null||n===!1?null:p.createElement("div",{className:i},n||o)},Pvt=e=>{let{prefixCls:t,extra:n}=e;return n?p.createElement("div",{className:`${t}-extra`},n):null},A2=e=>{let{prefixCls:t,className:n,rootClassName:r,subTitle:i,title:o,style:a,children:s,status:l="info",icon:c,extra:u}=e;const{getPrefixCls:d,direction:f,result:h}=p.useContext(Xt),m=d("result",t),[g,v,y]=Ivt(m),b=xe(m,`${m}-${l}`,n,h==null?void 0:h.className,r,{[`${m}-rtl`]:f==="rtl"},v,y),_=Object.assign(Object.assign({},h==null?void 0:h.style),a);return g(p.createElement("div",{className:b,style:_},p.createElement(kvt,{prefixCls:m,status:l,icon:c}),p.createElement("div",{className:`${m}-title`},o),i&&p.createElement("div",{className:`${m}-subtitle`},i),p.createElement(Pvt,{prefixCls:m,extra:u}),s&&p.createElement("div",{className:`${m}-content`},s)))};A2.PRESENTED_IMAGE_403=I2[403];A2.PRESENTED_IMAGE_404=I2[404];A2.PRESENTED_IMAGE_500=I2[500];var Dvt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],u2e=p.forwardRef(function(e,t){var n,r=e.prefixCls,i=r===void 0?"rc-switch":r,o=e.className,a=e.checked,s=e.defaultChecked,l=e.disabled,c=e.loadingIcon,u=e.checkedChildren,d=e.unCheckedChildren,f=e.onClick,h=e.onChange,m=e.onKeyDown,g=Dt(e,Dvt),v=Pn(!1,{value:a,defaultValue:s}),y=Ie(v,2),b=y[0],_=y[1];function E(T,O){var x=b;return l||(x=T,_(x),h==null||h(x,O)),x}function C(T){T.which===dt.LEFT?E(!1,T):T.which===dt.RIGHT&&E(!0,T),m==null||m(T)}function S(T){var O=E(!b,T);f==null||f(O,T)}var w=xe(i,o,(n={},ee(n,"".concat(i,"-checked"),b),ee(n,"".concat(i,"-disabled"),l),n));return p.createElement("button",Ke({},g,{type:"button",role:"switch","aria-checked":b,disabled:l,className:w,ref:t,onKeyDown:C,onClick:S}),c,p.createElement("span",{className:"".concat(i,"-inner")},p.createElement("span",{className:"".concat(i,"-inner-checked")},u),p.createElement("span",{className:"".concat(i,"-inner-unchecked")},d)))});u2e.displayName="Switch";const Lvt=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:i,innerMinMarginSM:o,innerMaxMarginSM:a,handleSizeSM:s,calc:l}=e,c=`${t}-inner`,u=Ae(l(s).add(l(r).mul(2)).equal()),d=Ae(l(a).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:i,height:n,lineHeight:Ae(n),[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:o,[`${c}-checked, ${c}-unchecked`]:{minHeight:n},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${c}-unchecked`]:{marginTop:l(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:l(l(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:o,paddingInlineEnd:a,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${Ae(l(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:l(e.marginXXS).div(2).equal(),marginInlineEnd:l(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:l(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:l(e.marginXXS).div(2).equal()}}}}}}},$vt=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},Fvt=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:i,handleSize:o,calc:a}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:n,insetInlineStart:n,width:o,height:o,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:a(o).div(2).equal(),boxShadow:i,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${Ae(a(o).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},Bvt=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:i,innerMaxMargin:o,handleSize:a,calc:s}=e,l=`${t}-inner`,c=Ae(s(a).add(s(r).mul(2)).equal()),u=Ae(s(o).mul(2).equal());return{[t]:{[l]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:o,paddingInlineEnd:i,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${l}-checked, ${l}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${c} - ${u})`,marginInlineEnd:`calc(100% - ${c} + ${u})`},[`${l}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${l}`]:{paddingInlineStart:i,paddingInlineEnd:o,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${c} + ${u})`,marginInlineEnd:`calc(-100% + ${c} - ${u})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:s(r).mul(2).equal(),marginInlineEnd:s(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:s(r).mul(-1).mul(2).equal(),marginInlineEnd:s(r).mul(2).equal()}}}}}},jvt=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:Ae(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Zs(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},Hvt=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:i}=e,o=t*n,a=r/2,s=2,l=o-s*2,c=a-s*2;return{trackHeight:o,trackHeightSM:a,trackMinWidth:l*2+s*4,trackMinWidthSM:c*2+s*2,trackPadding:s,handleBg:i,handleSize:l,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new rr("#00230b").setA(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+s+s*2,innerMinMarginSM:c/2,innerMaxMarginSM:c+s+s*2}},Uvt=lr("Switch",e=>{const t=Kn(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[jvt(t),Bvt(t),Fvt(t),$vt(t),Lvt(t)]},Hvt);var zvt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,size:r,disabled:i,loading:o,className:a,rootClassName:s,style:l,checked:c,value:u,defaultChecked:d,defaultValue:f,onChange:h}=e,m=zvt(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[g,v]=Pn(!1,{value:c??u,defaultValue:d??f}),{getPrefixCls:y,direction:b,switch:_}=p.useContext(Xt),E=p.useContext(Wo),C=(i??E)||o,S=y("switch",n),w=p.createElement("div",{className:`${S}-handle`},o&&p.createElement(xd,{className:`${S}-loading-icon`})),[T,O,x]=Uvt(S),A=Co(r),I=xe(_==null?void 0:_.className,{[`${S}-small`]:A==="small",[`${S}-loading`]:o,[`${S}-rtl`]:b==="rtl"},a,s,O,x),M=Object.assign(Object.assign({},_==null?void 0:_.style),l),B=function(){v(arguments.length<=0?void 0:arguments[0]),h==null||h.apply(void 0,arguments)};return T(p.createElement(o2,{component:"Switch"},p.createElement(u2e,Object.assign({},m,{checked:g,onChange:B,prefixCls:S,className:I,style:M,disabled:C,ref:t,loadingIcon:w}))))}),sk=Vvt;sk.__ANT_SWITCH=!0;var Ap={},N2="rc-table-internal-hook";function jY(e){var t=p.createContext(void 0),n=function(i){var o=i.value,a=i.children,s=p.useRef(o);s.current=o;var l=p.useState(function(){return{getValue:function(){return s.current},listeners:new Set}}),c=Ie(l,1),u=c[0];return ar(function(){Ml.unstable_batchedUpdates(function(){u.listeners.forEach(function(d){d(o)})})},[o]),p.createElement(t.Provider,{value:u},a)};return{Context:t,Provider:n,defaultValue:e}}function is(e,t){var n=Yn(typeof t=="function"?t:function(d){if(t===void 0)return d;if(!Array.isArray(t))return d[t];var f={};return t.forEach(function(h){f[h]=d[h]}),f}),r=p.useContext(e==null?void 0:e.Context),i=r||{},o=i.listeners,a=i.getValue,s=p.useRef();s.current=n(r?a():e==null?void 0:e.defaultValue);var l=p.useState({}),c=Ie(l,2),u=c[1];return ar(function(){if(!r)return;function d(f){var h=n(f);vu(s.current,h,!0)||u({})}return o.add(d),function(){o.delete(d)}},[r]),s.current}function Gvt(){var e=p.createContext(null);function t(){return p.useContext(e)}function n(i,o){var a=Cd(i),s=function(c,u){var d=a?{ref:u}:{},f=p.useRef(0),h=p.useRef(c),m=t();return m!==null?p.createElement(i,Ke({},c,d)):((!o||o(h.current,c))&&(f.current+=1),h.current=c,p.createElement(e.Provider,{value:f.current},p.createElement(i,Ke({},c,d))))};return a?p.forwardRef(s):s}function r(i,o){var a=Cd(i),s=function(c,u){var d=a?{ref:u}:{};return t(),p.createElement(i,Ke({},c,d))};return a?p.memo(p.forwardRef(s),o):p.memo(s,o)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var HY=Gvt(),d2e=HY.makeImmutable,IS=HY.responseImmutable,Wvt=HY.useImmutableMark,al=jY(),f2e=p.createContext({renderWithProps:!1}),qvt="RC_TABLE_KEY";function Yvt(e){return e==null?[]:Array.isArray(e)?e:[e]}function wD(e){var t=[],n={};return e.forEach(function(r){for(var i=r||{},o=i.key,a=i.dataIndex,s=o||Yvt(a).join("-")||qvt;n[s];)s="".concat(s,"_next");n[s]=!0,t.push(s)}),t}function sU(e){return e!=null}function Kvt(e){return typeof e=="number"&&!Number.isNaN(e)}function Qvt(e){return e&&Gt(e)==="object"&&!Array.isArray(e)&&!p.isValidElement(e)}function Xvt(e,t,n,r,i,o){var a=p.useContext(f2e),s=Wvt(),l=lh(function(){if(sU(r))return[r];var c=t==null||t===""?[]:Array.isArray(t)?t:[t],u=Ao(e,c),d=u,f=void 0;if(i){var h=i(u,e,n);Qvt(h)?(d=h.children,f=h.props,a.renderWithProps=!0):d=h}return[d,f]},[s,e,r,t,i,n],function(c,u){if(o){var d=Ie(c,2),f=d[1],h=Ie(u,2),m=h[1];return o(m,f)}return a.renderWithProps?!0:!vu(c,u,!0)});return l}function Zvt(e,t,n,r){var i=e+t-1;return e<=r&&i>=n}function Jvt(e,t){return is(al,function(n){var r=Zvt(e,t||1,n.hoverStartRow,n.hoverEndRow);return[r,n.onHover]})}var e0t=function(t){var n=t.ellipsis,r=t.rowType,i=t.children,o,a=n===!0?{showTitle:!0}:n;return a&&(a.showTitle||r==="header")&&(typeof i=="string"||typeof i=="number"?o=i.toString():p.isValidElement(i)&&typeof i.props.children=="string"&&(o=i.props.children)),o};function t0t(e){var t,n,r,i,o,a,s,l,c=e.component,u=e.children,d=e.ellipsis,f=e.scope,h=e.prefixCls,m=e.className,g=e.align,v=e.record,y=e.render,b=e.dataIndex,_=e.renderIndex,E=e.shouldCellUpdate,C=e.index,S=e.rowType,w=e.colSpan,T=e.rowSpan,O=e.fixLeft,x=e.fixRight,A=e.firstFixLeft,I=e.lastFixLeft,M=e.firstFixRight,B=e.lastFixRight,P=e.appendNode,k=e.additionalProps,N=k===void 0?{}:k,L=e.isSticky,V="".concat(h,"-cell"),$=is(al,["supportSticky","allColumnsFixedLeft","rowHoverable"]),W=$.supportSticky,j=$.allColumnsFixedLeft,U=$.rowHoverable,Z=Xvt(v,b,_,u,y,E),te=Ie(Z,2),ae=te[0],K=te[1],Q={},ie=typeof O=="number"&&W,he=typeof x=="number"&&W;ie&&(Q.position="sticky",Q.left=O),he&&(Q.position="sticky",Q.right=x);var pe=(t=(n=(r=K==null?void 0:K.colSpan)!==null&&r!==void 0?r:N.colSpan)!==null&&n!==void 0?n:w)!==null&&t!==void 0?t:1,le=(i=(o=(a=K==null?void 0:K.rowSpan)!==null&&a!==void 0?a:N.rowSpan)!==null&&o!==void 0?o:T)!==null&&i!==void 0?i:1,de=Jvt(C,le),ve=Ie(de,2),ne=ve[0],ue=ve[1],ge=Yn(function(Re){var De;v&&ue(C,C+le-1),N==null||(De=N.onMouseEnter)===null||De===void 0||De.call(N,Re)}),Ce=Yn(function(Re){var De;v&&ue(-1,-1),N==null||(De=N.onMouseLeave)===null||De===void 0||De.call(N,Re)});if(pe===0||le===0)return null;var Te=(s=N.title)!==null&&s!==void 0?s:e0t({rowType:S,ellipsis:d,children:ae}),Se=xe(V,m,(l={},ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(l,"".concat(V,"-fix-left"),ie&&W),"".concat(V,"-fix-left-first"),A&&W),"".concat(V,"-fix-left-last"),I&&W),"".concat(V,"-fix-left-all"),I&&j&&W),"".concat(V,"-fix-right"),he&&W),"".concat(V,"-fix-right-first"),M&&W),"".concat(V,"-fix-right-last"),B&&W),"".concat(V,"-ellipsis"),d),"".concat(V,"-with-append"),P),"".concat(V,"-fix-sticky"),(ie||he)&&L&&W),ee(l,"".concat(V,"-row-hover"),!K&&ne)),N.className,K==null?void 0:K.className),me={};g&&(me.textAlign=g);var be=G(G(G(G({},K==null?void 0:K.style),Q),me),N.style),_e=ae;return Gt(_e)==="object"&&!Array.isArray(_e)&&!p.isValidElement(_e)&&(_e=null),d&&(I||M)&&(_e=p.createElement("span",{className:"".concat(V,"-content")},_e)),p.createElement(c,Ke({},K,N,{className:Se,style:be,title:Te,scope:f,onMouseEnter:U?ge:void 0,onMouseLeave:U?Ce:void 0,colSpan:pe!==1?pe:null,rowSpan:le!==1?le:null}),P,_e)}const AS=p.memo(t0t);function UY(e,t,n,r,i){var o=n[e]||{},a=n[t]||{},s,l;o.fixed==="left"?s=r.left[i==="rtl"?t:e]:a.fixed==="right"&&(l=r.right[i==="rtl"?e:t]);var c=!1,u=!1,d=!1,f=!1,h=n[t+1],m=n[e-1],g=h&&!h.fixed||m&&!m.fixed||n.every(function(E){return E.fixed==="left"});if(i==="rtl"){if(s!==void 0){var v=m&&m.fixed==="left";f=!v&&g}else if(l!==void 0){var y=h&&h.fixed==="right";d=!y&&g}}else if(s!==void 0){var b=h&&h.fixed==="left";c=!b&&g}else if(l!==void 0){var _=m&&m.fixed==="right";u=!_&&g}return{fixLeft:s,fixRight:l,lastFixLeft:c,firstFixRight:u,lastFixRight:d,firstFixLeft:f,isSticky:r.isSticky}}var p2e=p.createContext({});function n0t(e){var t=e.className,n=e.index,r=e.children,i=e.colSpan,o=i===void 0?1:i,a=e.rowSpan,s=e.align,l=is(al,["prefixCls","direction"]),c=l.prefixCls,u=l.direction,d=p.useContext(p2e),f=d.scrollColumnIndex,h=d.stickyOffsets,m=d.flattenColumns,g=n+o-1,v=g+1===f?o+1:o,y=UY(n,n+v-1,m,h,u);return p.createElement(AS,Ke({className:t,index:n,component:"td",prefixCls:c,record:null,dataIndex:null,align:s,colSpan:v,rowSpan:a,render:function(){return r}},y))}var r0t=["children"];function i0t(e){var t=e.children,n=Dt(e,r0t);return p.createElement("tr",n,t)}function TD(e){var t=e.children;return t}TD.Row=i0t;TD.Cell=n0t;function o0t(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,i=is(al,"prefixCls"),o=r.length-1,a=r[o],s=p.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:a!=null&&a.scrollbar?o:null}},[a,r,o,n]);return p.createElement(p2e.Provider,{value:s},p.createElement("tfoot",{className:"".concat(i,"-summary")},t))}const $R=IS(o0t);var h2e=TD;function a0t(e){return null}function s0t(e){return null}function m2e(e,t,n,r,i,o,a){e.push({record:t,indent:n,index:a});var s=o(t),l=i==null?void 0:i.has(s);if(t&&Array.isArray(t[r])&&l)for(var c=0;c1?A-1:0),M=1;M=1)),style:G(G({},n),y==null?void 0:y.style)}),m.map(function(O,x){var A=O.render,I=O.dataIndex,M=O.className,B=_2e(f,O,x,l,i),P=B.key,k=B.fixedInfo,N=B.appendCellNode,L=B.additionalCellProps;return p.createElement(AS,Ke({className:M,ellipsis:O.ellipsis,align:O.align,scope:O.rowScope,component:O.rowScope?d:u,prefixCls:h,key:P,record:r,index:i,renderIndex:o,dataIndex:I,render:A,shouldCellUpdate:O.shouldCellUpdate},k,{appendNode:N,additionalProps:L}))})),w;if(_&&(E.current||b)){var T=v(r,i,l+1,b);w=p.createElement(b2e,{expanded:b,className:xe("".concat(h,"-expanded-row"),"".concat(h,"-expanded-row-level-").concat(l+1),C),prefixCls:h,component:c,cellComponent:u,colSpan:m.length,isEmpty:!1},T)}return p.createElement(p.Fragment,null,S,w)}const d0t=IS(u0t);function f0t(e){var t=e.columnKey,n=e.onColumnResize,r=p.useRef();return p.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),p.createElement(xa,{data:t},p.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},p.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function p0t(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return p.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},p.createElement(xa.Collection,{onBatchResize:function(o){o.forEach(function(a){var s=a.data,l=a.size;r(s,l.offsetWidth)})}},n.map(function(i){return p.createElement(f0t,{key:i,columnKey:i,onColumnResize:r})})))}function h0t(e){var t=e.data,n=e.measureColumnWidth,r=is(al,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),i=r.prefixCls,o=r.getComponent,a=r.onColumnResize,s=r.flattenColumns,l=r.getRowKey,c=r.expandedKeys,u=r.childrenColumnName,d=r.emptyNode,f=g2e(t,u,c,l),h=p.useRef({renderWithProps:!1}),m=o(["body","wrapper"],"tbody"),g=o(["body","row"],"tr"),v=o(["body","cell"],"td"),y=o(["body","cell"],"th"),b;t.length?b=f.map(function(E,C){var S=E.record,w=E.indent,T=E.index,O=l(S,C);return p.createElement(d0t,{key:O,rowKey:O,record:S,index:C,renderIndex:T,rowComponent:g,cellComponent:v,scopeCellComponent:y,indent:w})}):b=p.createElement(b2e,{expanded:!0,className:"".concat(i,"-placeholder"),prefixCls:i,component:g,cellComponent:v,colSpan:s.length,isEmpty:!0},d);var _=wD(s);return p.createElement(f2e.Provider,{value:h.current},p.createElement(m,{className:"".concat(i,"-tbody")},n&&p.createElement(p0t,{prefixCls:i,columnsKey:_,onColumnResize:a}),b))}const m0t=IS(h0t);var g0t=["expandable"],gw="RC_TABLE_INTERNAL_COL_DEFINE";function v0t(e){var t=e.expandable,n=Dt(e,g0t),r;return"expandable"in e?r=G(G({},n),t):r=n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}var b0t=["columnType"];function S2e(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,i=is(al,["tableLayout"]),o=i.tableLayout,a=[],s=r||n.length,l=!1,c=s-1;c>=0;c-=1){var u=t[c],d=n&&n[c],f=void 0,h=void 0;if(d&&(f=d[gw],o==="auto"&&(h=d.minWidth)),u||h||f||l){var m=f||{};m.columnType;var g=Dt(m,b0t);a.unshift(p.createElement("col",Ke({key:c,style:{width:u,minWidth:h}},g))),l=!0}}return p.createElement("colgroup",null,a)}var y0t=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function _0t(e,t){return p.useMemo(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:v.ellipsis,align:v.align,component:a,prefixCls:u,key:h[g]},y,{additionalProps:b,rowType:"header"}))}))};function C0t(e){var t=[];function n(a,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[l]=t[l]||[];var c=s,u=a.filter(Boolean).map(function(d){var f={key:d.key,className:d.className||"",children:d.title,column:d,colStart:c},h=1,m=d.children;return m&&m.length>0&&(h=n(m,c,l+1).reduce(function(g,v){return g+v},0),f.hasSubColumns=!0),"colSpan"in d&&(h=d.colSpan),"rowSpan"in d&&(f.rowSpan=d.rowSpan),f.colSpan=h,f.colEnd=f.colStart+h-1,t[l].push(f),c+=h,h});return u}n(e,0);for(var r=t.length,i=function(s){t[s].forEach(function(l){!("rowSpan"in l)&&!l.hasSubColumns&&(l.rowSpan=r-s)})},o=0;o1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function T0t(e,t,n){return p.useMemo(function(){if(t&&t>0){var r=0,i=0;e.forEach(function(f){var h=koe(t,f.width);h?r+=h:i+=1});var o=Math.max(t,n),a=Math.max(o-r,i),s=i,l=a/i,c=0,u=e.map(function(f){var h=G({},f),m=koe(t,h.width);if(m)h.width=m;else{var g=Math.floor(l);h.width=s===1?a:g,a-=g,s-=1}return c+=h.width,h});if(c0?G(G({},t),{},{children:E2e(n)}):t})}function lU(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(n){return n&&Gt(n)==="object"}).reduce(function(n,r,i){var o=r.fixed,a=o===!0?"left":o,s="".concat(t,"-").concat(i),l=r.children;return l&&l.length>0?[].concat(nt(n),nt(lU(l,s).map(function(c){return G({fixed:a},c)}))):[].concat(nt(n),[G(G({key:s},r),{},{fixed:a})])},[])}function R0t(e){return e.map(function(t){var n=t.fixed,r=Dt(t,O0t),i=n;return n==="left"?i="right":n==="right"&&(i="left"),G({fixed:i},r)})}function I0t(e,t){var n=e.prefixCls,r=e.columns,i=e.children,o=e.expandable,a=e.expandedKeys,s=e.columnTitle,l=e.getRowKey,c=e.onTriggerExpand,u=e.expandIcon,d=e.rowExpandable,f=e.expandIconColumnIndex,h=e.direction,m=e.expandRowByClick,g=e.columnWidth,v=e.fixed,y=e.scrollWidth,b=e.clientWidth,_=p.useMemo(function(){var I=r||zY(i)||[];return E2e(I.slice())},[r,i]),E=p.useMemo(function(){if(o){var I=_.slice();if(!I.includes(Ap)){var M=f||0;M>=0&&(M||v==="left"||!v)&&I.splice(M,0,Ap),v==="right"&&I.splice(_.length,0,Ap)}var B=I.indexOf(Ap);I=I.filter(function(L,V){return L!==Ap||V===B});var P=_[B],k;v?k=v:k=P?P.fixed:null;var N=ee(ee(ee(ee(ee(ee({},gw,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",s),"fixed",k),"className","".concat(n,"-row-expand-icon-cell")),"width",g),"render",function(V,$,W){var j=l($,W),U=a.has(j),Z=d?d($):!0,te=u({prefixCls:n,expanded:U,expandable:Z,record:$,onExpand:c});return m?p.createElement("span",{onClick:function(K){return K.stopPropagation()}},te):te});return I.map(function(L){return L===Ap?N:L})}return _.filter(function(L){return L!==Ap})},[o,_,l,a,u,h]),C=p.useMemo(function(){var I=E;return t&&(I=t(I)),I.length||(I=[{render:function(){return null}}]),I},[t,E,h]),S=p.useMemo(function(){return h==="rtl"?R0t(lU(C)):lU(C)},[C,h,y]),w=p.useMemo(function(){for(var I=-1,M=S.length-1;M>=0;M-=1){var B=S[M].fixed;if(B==="left"||B===!0){I=M;break}}if(I>=0)for(var P=0;P<=I;P+=1){var k=S[P].fixed;if(k!=="left"&&k!==!0)return!0}var N=S.findIndex(function($){var W=$.fixed;return W==="right"});if(N>=0)for(var L=N;L=N-s?b(function(L){return G(G({},L),{},{isHiddenScrollBar:!0})}):b(function(L){return G(G({},L),{},{isHiddenScrollBar:!1})})}})},M=function(P){b(function(k){return G(G({},k),{},{scrollLeft:P/d*f||0})})};return p.useImperativeHandle(n,function(){return{setScrollLeft:M,checkScrollBarVisible:I}}),p.useEffect(function(){var B=_f(document.body,"mouseup",O,!1),P=_f(document.body,"mousemove",A,!1);return I(),function(){B.remove(),P.remove()}},[h,S]),p.useEffect(function(){var B=_f(l,"scroll",I,!1),P=_f(window,"resize",I,!1);return function(){B.remove(),P.remove()}},[l]),p.useEffect(function(){y.isHiddenScrollBar||b(function(B){var P=o.current;return P?G(G({},B),{},{scrollLeft:P.scrollLeft/P.scrollWidth*P.clientWidth}):B})},[y.isHiddenScrollBar]),d<=f||!h||y.isHiddenScrollBar?null:p.createElement("div",{style:{height:are(),width:f,bottom:s},className:"".concat(u,"-sticky-scroll")},p.createElement("div",{onMouseDown:x,ref:m,className:xe("".concat(u,"-sticky-scroll-bar"),ee({},"".concat(u,"-sticky-scroll-bar-active"),S)),style:{width:"".concat(h,"px"),transform:"translate3d(".concat(y.scrollLeft,"px, 0, 0)")}}))};const $0t=p.forwardRef(L0t);var w2e="rc-table",F0t=[],B0t={};function j0t(){return"No Data"}function H0t(e,t){var n=G({rowKey:"key",prefixCls:w2e,emptyText:j0t},e),r=n.prefixCls,i=n.className,o=n.rowClassName,a=n.style,s=n.data,l=n.rowKey,c=n.scroll,u=n.tableLayout,d=n.direction,f=n.title,h=n.footer,m=n.summary,g=n.caption,v=n.id,y=n.showHeader,b=n.components,_=n.emptyText,E=n.onRow,C=n.onHeaderRow,S=n.onScroll,w=n.internalHooks,T=n.transformColumns,O=n.internalRefs,x=n.tailor,A=n.getContainerWidth,I=n.sticky,M=n.rowHoverable,B=M===void 0?!0:M,P=s||F0t,k=!!P.length,N=w===N2,L=p.useCallback(function(Jn,fn){return Ao(b,Jn)||fn},[b]),V=p.useMemo(function(){return typeof l=="function"?l:function(Jn){var fn=Jn&&Jn[l];return fn}},[l]),$=L(["body"]),W=k0t(),j=Ie(W,3),U=j[0],Z=j[1],te=j[2],ae=A0t(n,P,V),K=Ie(ae,6),Q=K[0],ie=K[1],he=K[2],pe=K[3],le=K[4],de=K[5],ve=c==null?void 0:c.x,ne=p.useState(0),ue=Ie(ne,2),ge=ue[0],Ce=ue[1],Te=I0t(G(G(G({},n),Q),{},{expandable:!!Q.expandedRowRender,columnTitle:Q.columnTitle,expandedKeys:he,getRowKey:V,onTriggerExpand:de,expandIcon:pe,expandIconColumnIndex:Q.expandIconColumnIndex,direction:d,scrollWidth:N&&x&&typeof ve=="number"?ve:null,clientWidth:ge}),N?T:null),Se=Ie(Te,4),me=Se[0],be=Se[1],_e=Se[2],Re=Se[3],De=_e??ve,z=p.useMemo(function(){return{columns:me,flattenColumns:be}},[me,be]),D=p.useRef(),q=p.useRef(),oe=p.useRef(),ye=p.useRef();p.useImperativeHandle(t,function(){return{nativeElement:D.current,scrollTo:function(fn){var wn;if(oe.current instanceof HTMLElement){var Mn=fn.index,Qn=fn.top,Mr=fn.key;if(Kvt(Qn)){var Ko;(Ko=oe.current)===null||Ko===void 0||Ko.scrollTo({top:Qn})}else{var ga,bi=Mr??V(P[Mn]);(ga=oe.current.querySelector('[data-row-key="'.concat(bi,'"]')))===null||ga===void 0||ga.scrollIntoView()}}else(wn=oe.current)!==null&&wn!==void 0&&wn.scrollTo&&oe.current.scrollTo(fn)}}});var ce=p.useRef(),Be=p.useState(!1),Ve=Ie(Be,2),re=Ve[0],Me=Ve[1],je=p.useState(!1),ke=Ie(je,2),Ge=ke[0],Ue=ke[1],qe=C2e(new Map),At=Ie(qe,2),at=At[0],pt=At[1],Ct=wD(be),bt=Ct.map(function(Jn){return at.get(Jn)}),Vt=p.useMemo(function(){return bt},[bt.join("_")]),Tt=D0t(Vt,be,d),Ot=c&&sU(c.y),Ut=c&&sU(De)||!!Q.fixed,ze=Ut&&be.some(function(Jn){var fn=Jn.fixed;return fn}),Ye=p.useRef(),He=P0t(I,r),Ze=He.isSticky,yt=He.offsetHeader,_t=He.offsetSummary,Bt=He.offsetScroll,Nt=He.stickyClassName,vt=He.container,ht=p.useMemo(function(){return m==null?void 0:m(P)},[m,P]),kt=(Ot||Ze)&&p.isValidElement(ht)&&ht.type===TD&&ht.props.fixed,Et,Yt,ct;Ot&&(Yt={overflowY:k?"scroll":"auto",maxHeight:c.y}),Ut&&(Et={overflowX:"auto"},Ot||(Yt={overflowY:"hidden"}),ct={width:De===!0?"auto":De,minWidth:"100%"});var Rt=p.useCallback(function(Jn,fn){mS(D.current)&&pt(function(wn){if(wn.get(Jn)!==fn){var Mn=new Map(wn);return Mn.set(Jn,fn),Mn}return wn})},[]),Ht=M0t(),wt=Ie(Ht,2),St=wt[0],jt=wt[1];function Pe(Jn,fn){fn&&(typeof fn=="function"?fn(Jn):fn.scrollLeft!==Jn&&(fn.scrollLeft=Jn,fn.scrollLeft!==Jn&&setTimeout(function(){fn.scrollLeft=Jn},0)))}var Pt=Yn(function(Jn){var fn=Jn.currentTarget,wn=Jn.scrollLeft,Mn=d==="rtl",Qn=typeof wn=="number"?wn:fn.scrollLeft,Mr=fn||B0t;if(!jt()||jt()===Mr){var Ko;St(Mr),Pe(Qn,q.current),Pe(Qn,oe.current),Pe(Qn,ce.current),Pe(Qn,(Ko=Ye.current)===null||Ko===void 0?void 0:Ko.setScrollLeft)}var ga=fn||q.current;if(ga){var bi=N&&x&&typeof De=="number"?De:ga.scrollWidth,va=ga.clientWidth;if(bi===va){Me(!1),Ue(!1);return}Mn?(Me(-Qn0)):(Me(Qn>0),Ue(Qn1?v-B:0,k=G(G(G({},T),c),{},{flex:"0 0 ".concat(B,"px"),width:"".concat(B,"px"),marginRight:P,pointerEvents:"auto"}),N=p.useMemo(function(){return d?I<=1:x===0||I===0||I>1},[I,x,d]);N?k.visibility="hidden":d&&(k.height=f==null?void 0:f(I));var L=N?function(){return null}:h,V={};return(I===0||x===0)&&(V.rowSpan=1,V.colSpan=1),p.createElement(AS,Ke({className:xe(g,u),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:a,prefixCls:t.prefixCls,key:E,record:l,index:o,renderIndex:s,dataIndex:m,render:L,shouldCellUpdate:n.shouldCellUpdate},C,{appendNode:S,additionalProps:G(G({},w),{},{style:k},V)}))}var G0t=["data","index","className","rowKey","style","extra","getHeight"],W0t=p.forwardRef(function(e,t){var n=e.data,r=e.index,i=e.className,o=e.rowKey,a=e.style,s=e.extra,l=e.getHeight,c=Dt(e,G0t),u=n.record,d=n.indent,f=n.index,h=is(al,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),m=h.scrollX,g=h.flattenColumns,v=h.prefixCls,y=h.fixColumn,b=h.componentWidth,_=is(VY,["getComponent"]),E=_.getComponent,C=v2e(u,o,r,d),S=E(["body","row"],"div"),w=E(["body","cell"],"div"),T=C.rowSupportExpand,O=C.expanded,x=C.rowProps,A=C.expandedRowRender,I=C.expandedRowClassName,M;if(T&&O){var B=A(u,r,d+1,O),P=y2e(I,u,r,d),k={};y&&(k={style:ee({},"--virtual-width","".concat(b,"px"))});var N="".concat(v,"-expanded-row-cell");M=p.createElement(S,{className:xe("".concat(v,"-expanded-row"),"".concat(v,"-expanded-row-level-").concat(d+1),P)},p.createElement(AS,{component:w,prefixCls:v,className:xe(N,ee({},"".concat(N,"-fixed"),y)),additionalProps:k},B))}var L=G(G({},a),{},{width:m});s&&(L.position="absolute",L.pointerEvents="none");var V=p.createElement(S,Ke({},x,c,{"data-row-key":o,ref:T?null:t,className:xe(i,"".concat(v,"-row"),x==null?void 0:x.className,ee({},"".concat(v,"-row-extra"),s)),style:G(G({},L),x==null?void 0:x.style)}),g.map(function($,W){return p.createElement(V0t,{key:W,component:w,rowInfo:C,column:$,colIndex:W,indent:d,index:r,renderIndex:f,record:u,inverse:s,getHeight:l})}));return T?p.createElement("div",{ref:t},V,M):V}),$oe=IS(W0t),q0t=p.forwardRef(function(e,t){var n=e.data,r=e.onScroll,i=is(al,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),o=i.flattenColumns,a=i.onColumnResize,s=i.getRowKey,l=i.expandedKeys,c=i.prefixCls,u=i.childrenColumnName,d=i.scrollX,f=i.direction,h=is(VY),m=h.sticky,g=h.scrollY,v=h.listItemHeight,y=h.getComponent,b=h.onScroll,_=p.useRef(),E=g2e(n,u,l,s),C=p.useMemo(function(){var M=0;return o.map(function(B){var P=B.width,k=B.key;return M+=P,[k,P,M]})},[o]),S=p.useMemo(function(){return C.map(function(M){return M[2]})},[C]);p.useEffect(function(){C.forEach(function(M){var B=Ie(M,2),P=B[0],k=B[1];a(P,k)})},[C]),p.useImperativeHandle(t,function(){var M,B={scrollTo:function(k){var N;(N=_.current)===null||N===void 0||N.scrollTo(k)},nativeElement:(M=_.current)===null||M===void 0?void 0:M.nativeElement};return Object.defineProperty(B,"scrollLeft",{get:function(){var k;return((k=_.current)===null||k===void 0?void 0:k.getScrollInfo().x)||0},set:function(k){var N;(N=_.current)===null||N===void 0||N.scrollTo({left:k})}}),B});var w=function(B,P){var k,N=(k=E[P])===null||k===void 0?void 0:k.record,L=B.onCell;if(L){var V,$=L(N,P);return(V=$==null?void 0:$.rowSpan)!==null&&V!==void 0?V:1}return 1},T=function(B){var P=B.start,k=B.end,N=B.getSize,L=B.offsetY;if(k<0)return null;for(var V=o.filter(function(pe){return w(pe,P)===0}),$=P,W=function(le){if(V=V.filter(function(de){return w(de,le)===0}),!V.length)return $=le,1},j=P;j>=0&&!W(j);j-=1);for(var U=o.filter(function(pe){return w(pe,k)!==1}),Z=k,te=function(le){if(U=U.filter(function(de){return w(de,le)!==1}),!U.length)return Z=Math.max(le-1,k),1},ae=k;ae1})&&K.push(le)},ie=$;ie<=Z;ie+=1)Q(ie);var he=K.map(function(pe){var le=E[pe],de=s(le.record,pe),ve=function(ge){var Ce=pe+ge-1,Te=s(E[Ce].record,Ce),Se=N(de,Te);return Se.bottom-Se.top},ne=N(de);return p.createElement($oe,{key:pe,data:le,rowKey:de,index:pe,style:{top:-L+ne.top},extra:!0,getHeight:ve})});return he},O=p.useMemo(function(){return{columnsOffset:S}},[S]),x="".concat(c,"-tbody"),A=y(["body","wrapper"]),I={};return m&&(I.position="sticky",I.bottom=0,Gt(m)==="object"&&m.offsetScroll&&(I.bottom=m.offsetScroll)),p.createElement(x2e.Provider,{value:O},p.createElement(YP,{fullHeight:!1,ref:_,prefixCls:"".concat(x,"-virtual"),styles:{horizontalScrollBar:I},className:x,height:g,itemHeight:v||24,data:E,itemKey:function(B){return s(B.record)},component:A,scrollWidth:d,direction:f,onVirtualScroll:function(B){var P,k=B.x;r({currentTarget:(P=_.current)===null||P===void 0?void 0:P.nativeElement,scrollLeft:k})},onScroll:b,extraRender:T},function(M,B,P){var k=s(M.record,B);return p.createElement($oe,{data:M,rowKey:k,index:B,style:P.style})}))}),Y0t=IS(q0t),K0t=function(t,n){var r=n.ref,i=n.onScroll;return p.createElement(Y0t,{ref:r,data:t,onScroll:i})};function Q0t(e,t){var n=e.data,r=e.columns,i=e.scroll,o=e.sticky,a=e.prefixCls,s=a===void 0?w2e:a,l=e.className,c=e.listItemHeight,u=e.components,d=e.onScroll,f=i||{},h=f.x,m=f.y;typeof h!="number"&&(h=1),typeof m!="number"&&(m=500);var g=Yn(function(b,_){return Ao(u,b)||_}),v=Yn(d),y=p.useMemo(function(){return{sticky:o,scrollY:m,listItemHeight:c,getComponent:g,onScroll:v}},[o,m,c,g,v]);return p.createElement(VY.Provider,{value:y},p.createElement(NS,Ke({},e,{className:xe(l,"".concat(s,"-virtual")),scroll:G(G({},i),{},{x:h}),components:G(G({},u),{},{body:n!=null&&n.length?K0t:void 0}),columns:r,internalHooks:N2,tailor:!0,ref:t})))}var X0t=p.forwardRef(Q0t);function O2e(e){return d2e(X0t,e)}O2e();const Z0t=e=>null,J0t=e=>null;var GY=p.createContext(null),R2e=p.createContext({}),ebt=function(t){for(var n=t.prefixCls,r=t.level,i=t.isStart,o=t.isEnd,a="".concat(n,"-indent-unit"),s=[],l=0;l=0&&n.splice(r,1),n}function _p(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function WY(e){return e.split("-")}function ibt(e,t){var n=[],r=Sl(t,e);function i(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];o.forEach(function(a){var s=a.key,l=a.children;n.push(s),i(l)})}return i(r.children),n}function obt(e){if(e.parent){var t=WY(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function abt(e){var t=WY(e.pos);return Number(t[t.length-1])===0}function joe(e,t,n,r,i,o,a,s,l,c){var u,d=e.clientX,f=e.clientY,h=e.target.getBoundingClientRect(),m=h.top,g=h.height,v=(c==="rtl"?-1:1)*(((i==null?void 0:i.x)||0)-d),y=(v-12)/r,b=l.filter(function(k){var N;return(N=s[k])===null||N===void 0||(N=N.children)===null||N===void 0?void 0:N.length}),_=Sl(s,n.eventKey);if(f-1.5?o({dragNode:M,dropNode:B,dropPosition:1})?x=1:P=!1:o({dragNode:M,dropNode:B,dropPosition:0})?x=0:o({dragNode:M,dropNode:B,dropPosition:1})?x=1:P=!1:o({dragNode:M,dropNode:B,dropPosition:1})?x=1:P=!1,{dropPosition:x,dropLevelOffset:A,dropTargetKey:_.key,dropTargetPos:_.pos,dragOverNodeKey:O,dropContainerKey:x===0?null:((u=_.parent)===null||u===void 0?void 0:u.key)||null,dropAllowed:P}}function Hoe(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function m$(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(Gt(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return Yr(!1,"`checkedKeys` is not an array or an object"),null;return t}function cU(e,t){var n=new Set;function r(i){if(!n.has(i)){var o=Sl(t,i);if(o){n.add(i);var a=o.parent,s=o.node;s.disabled||a&&r(a.key)}}}return(e||[]).forEach(function(i){r(i)}),nt(n)}function sbt(e){const[t,n]=p.useState(null);return[p.useCallback((o,a,s)=>{const l=t??o,c=Math.min(l||0,o),u=Math.max(l||0,o),d=a.slice(c,u+1).map(m=>e(m)),f=d.some(m=>!s.has(m)),h=[];return d.forEach(m=>{f?(s.has(m)||h.push(m),s.add(m)):(s.delete(m),h.push(m))}),n(f?u:null),h},[t]),o=>{n(o)}]}const tm={},uU="SELECT_ALL",dU="SELECT_INVERT",fU="SELECT_NONE",Uoe=[],I2e=(e,t)=>{let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[].concat(nt(n),nt(I2e(e,r[e]))))}),n},lbt=(e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:i,getCheckboxProps:o,onChange:a,onSelect:s,onSelectAll:l,onSelectInvert:c,onSelectNone:u,onSelectMultiple:d,columnWidth:f,type:h,selections:m,fixed:g,renderCell:v,hideSelectAll:y,checkStrictly:b=!0}=t||{},{prefixCls:_,data:E,pageData:C,getRecordByKey:S,getRowKey:w,expandType:T,childrenColumnName:O,locale:x,getPopupContainer:A}=e,I=Wf(),[M,B]=sbt(pe=>pe),[P,k]=Pn(r||i||Uoe,{value:r}),N=p.useRef(new Map),L=p.useCallback(pe=>{if(n){const le=new Map;pe.forEach(de=>{let ve=S(de);!ve&&N.current.has(de)&&(ve=N.current.get(de)),le.set(de,ve)}),N.current=le}},[S,n]);p.useEffect(()=>{L(P)},[P]);const V=p.useMemo(()=>I2e(O,C),[O,C]),{keyEntities:$}=p.useMemo(()=>{if(b)return{keyEntities:null};let pe=E;if(n){const le=new Set(V.map((ve,ne)=>w(ve,ne))),de=Array.from(N.current).reduce((ve,ne)=>{let[ue,ge]=ne;return le.has(ue)?ve:ve.concat(ge)},[]);pe=[].concat(nt(pe),nt(de))}return E2(pe,{externalGetKey:w,childrenPropName:O})},[E,w,b,O,n,V]),W=p.useMemo(()=>{const pe=new Map;return V.forEach((le,de)=>{const ve=w(le,de),ne=(o?o(le):null)||{};pe.set(ve,ne)}),pe},[V,w,o]),j=p.useCallback(pe=>{const le=w(pe);let de;return W.has(le)?de=W.get(w(pe)):de=o?o(pe):void 0,!!(de!=null&&de.disabled)},[W,w]),[U,Z]=p.useMemo(()=>{if(b)return[P||[],[]];const{checkedKeys:pe,halfCheckedKeys:le}=lu(P,!0,$,j);return[pe||[],le]},[P,b,$,j]),te=p.useMemo(()=>{const pe=h==="radio"?U.slice(0,1):U;return new Set(pe)},[U,h]),ae=p.useMemo(()=>h==="radio"?new Set:new Set(Z),[Z,h]);p.useEffect(()=>{t||k(Uoe)},[!!t]);const K=p.useCallback((pe,le)=>{let de,ve;L(pe),n?(de=pe,ve=pe.map(ne=>N.current.get(ne))):(de=[],ve=[],pe.forEach(ne=>{const ue=S(ne);ue!==void 0&&(de.push(ne),ve.push(ue))})),k(de),a==null||a(de,ve,{type:le})},[k,S,a,n]),Q=p.useCallback((pe,le,de,ve)=>{if(s){const ne=de.map(ue=>S(ue));s(S(pe),le,ne,ve)}K(de,"single")},[s,S,K]),ie=p.useMemo(()=>!m||y?null:(m===!0?[uU,dU,fU]:m).map(le=>le===uU?{key:"all",text:x.selectionAll,onSelect(){K(E.map((de,ve)=>w(de,ve)).filter(de=>{const ve=W.get(de);return!(ve!=null&&ve.disabled)||te.has(de)}),"all")}}:le===dU?{key:"invert",text:x.selectInvert,onSelect(){const de=new Set(te);C.forEach((ne,ue)=>{const ge=w(ne,ue),Ce=W.get(ge);Ce!=null&&Ce.disabled||(de.has(ge)?de.delete(ge):de.add(ge))});const ve=Array.from(de);c&&(I.deprecated(!1,"onSelectInvert","onChange"),c(ve)),K(ve,"invert")}}:le===fU?{key:"none",text:x.selectNone,onSelect(){u==null||u(),K(Array.from(te).filter(de=>{const ve=W.get(de);return ve==null?void 0:ve.disabled}),"none")}}:le).map(le=>Object.assign(Object.assign({},le),{onSelect:function(){for(var de,ve,ne=arguments.length,ue=new Array(ne),ge=0;ge{var le;if(!t)return pe.filter(ye=>ye!==tm);let de=nt(pe);const ve=new Set(te),ne=V.map(w).filter(ye=>!W.get(ye).disabled),ue=ne.every(ye=>ve.has(ye)),ge=ne.some(ye=>ve.has(ye)),Ce=()=>{const ye=[];ue?ne.forEach(Be=>{ve.delete(Be),ye.push(Be)}):ne.forEach(Be=>{ve.has(Be)||(ve.add(Be),ye.push(Be))});const ce=Array.from(ve);l==null||l(!ue,ce.map(Be=>S(Be)),ye.map(Be=>S(Be))),K(ce,"all"),B(null)};let Te,Se;if(h!=="radio"){let ye;if(ie){const Me={getPopupContainer:A,items:ie.map((je,ke)=>{const{key:Ge,text:Ue,onSelect:qe}=je;return{key:Ge??ke,onClick:()=>{qe==null||qe(ne)},label:Ue}})};ye=p.createElement("div",{className:`${_}-selection-extra`},p.createElement(vD,{menu:Me,getPopupContainer:A},p.createElement("span",null,p.createElement(p2,null))))}const ce=V.map((Me,je)=>{const ke=w(Me,je),Ge=W.get(ke)||{};return Object.assign({checked:ve.has(ke)},Ge)}).filter(Me=>{let{disabled:je}=Me;return je}),Be=!!ce.length&&ce.length===V.length,Ve=Be&&ce.every(Me=>{let{checked:je}=Me;return je}),re=Be&&ce.some(Me=>{let{checked:je}=Me;return je});Se=p.createElement(fh,{checked:Be?Ve:!!V.length&&ue,indeterminate:Be?!Ve&&re:!ue&&ge,onChange:Ce,disabled:V.length===0||Be,"aria-label":ye?"Custom selection":"Select all",skipGroup:!0}),Te=!y&&p.createElement("div",{className:`${_}-selection`},Se,ye)}let me;h==="radio"?me=(ye,ce,Be)=>{const Ve=w(ce,Be),re=ve.has(Ve),Me=W.get(Ve);return{node:p.createElement(qi,Object.assign({},Me,{checked:re,onClick:je=>{var ke;je.stopPropagation(),(ke=Me==null?void 0:Me.onClick)===null||ke===void 0||ke.call(Me,je)},onChange:je=>{var ke;ve.has(Ve)||Q(Ve,!0,[Ve],je.nativeEvent),(ke=Me==null?void 0:Me.onChange)===null||ke===void 0||ke.call(Me,je)}})),checked:re}}:me=(ye,ce,Be)=>{var Ve;const re=w(ce,Be),Me=ve.has(re),je=ae.has(re),ke=W.get(re);let Ge;return T==="nest"?Ge=je:Ge=(Ve=ke==null?void 0:ke.indeterminate)!==null&&Ve!==void 0?Ve:je,{node:p.createElement(fh,Object.assign({},ke,{indeterminate:Ge,checked:Me,skipGroup:!0,onClick:Ue=>{var qe;Ue.stopPropagation(),(qe=ke==null?void 0:ke.onClick)===null||qe===void 0||qe.call(ke,Ue)},onChange:Ue=>{var qe;const{nativeEvent:At}=Ue,{shiftKey:at}=At,pt=ne.findIndex(bt=>bt===re),Ct=U.some(bt=>ne.includes(bt));if(at&&b&&Ct){const bt=M(pt,ne,ve),Vt=Array.from(ve);d==null||d(!Me,Vt.map(Tt=>S(Tt)),bt.map(Tt=>S(Tt))),K(Vt,"multiple")}else{const bt=U;if(b){const Vt=Me?Jd(bt,re):_p(bt,re);Q(re,!Me,Vt,At)}else{const Vt=lu([].concat(nt(bt),[re]),!0,$,j),{checkedKeys:Tt,halfCheckedKeys:Ot}=Vt;let Ut=Tt;if(Me){const ze=new Set(Tt);ze.delete(re),Ut=lu(Array.from(ze),{checked:!1,halfCheckedKeys:Ot},$,j).checkedKeys}Q(re,!Me,Ut,At)}}B(Me?null:pt),(qe=ke==null?void 0:ke.onChange)===null||qe===void 0||qe.call(ke,Ue)}})),checked:Me}};const be=(ye,ce,Be)=>{const{node:Ve,checked:re}=me(ye,ce,Be);return v?v(re,ce,Be,Ve):Ve};if(!de.includes(tm))if(de.findIndex(ye=>{var ce;return((ce=ye[gw])===null||ce===void 0?void 0:ce.columnType)==="EXPAND_COLUMN"})===0){const[ye,...ce]=de;de=[ye,tm].concat(nt(ce))}else de=[tm].concat(nt(de));const _e=de.indexOf(tm);de=de.filter((ye,ce)=>ye!==tm||ce===_e);const Re=de[_e-1],De=de[_e+1];let z=g;z===void 0&&((De==null?void 0:De.fixed)!==void 0?z=De.fixed:(Re==null?void 0:Re.fixed)!==void 0&&(z=Re.fixed)),z&&Re&&((le=Re[gw])===null||le===void 0?void 0:le.columnType)==="EXPAND_COLUMN"&&Re.fixed===void 0&&(Re.fixed=z);const D=xe(`${_}-selection-col`,{[`${_}-selection-col-with-dropdown`]:m&&h==="checkbox"}),q=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(Se):t.columnTitle:Te,oe={fixed:z,width:f,className:`${_}-selection-column`,title:q(),render:be,onCell:t.onCell,[gw]:{className:D}};return de.map(ye=>ye===tm?oe:ye)},[w,V,t,U,te,ae,f,ie,T,W,d,Q,j]),te]};function cbt(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){const r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}function ubt(e,t){return p.useImperativeHandle(e,()=>{const n=t(),{nativeElement:r}=n;return typeof Proxy<"u"?new Proxy(r,{get(i,o){return n[o]?n[o]:Reflect.get(i,o)}}):cbt(r,n)})}function dbt(e){return t=>{const{prefixCls:n,onExpand:r,record:i,expanded:o,expandable:a}=t,s=`${n}-row-expand-icon`;return p.createElement("button",{type:"button",onClick:l=>{r(i,l),l.stopPropagation()},className:xe(s,{[`${s}-spaced`]:!a,[`${s}-expanded`]:a&&o,[`${s}-collapsed`]:a&&!o}),"aria-label":o?e.collapse:e.expand,"aria-expanded":o})}}function fbt(e){return(n,r)=>{const i=n.querySelector(`.${e}-container`);let o=r;if(i){const a=getComputedStyle(i),s=parseInt(a.borderLeftWidth,10),l=parseInt(a.borderRightWidth,10);o=r-s-l}return o}}const bg=(e,t)=>"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function MS(e,t){return t?`${t}-${e}`:`${e}`}const xD=(e,t)=>typeof e=="function"?e(t):e,pbt=(e,t)=>{const n=xD(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n};function hbt(e){const t=p.useRef(e),n=Xq();return[()=>t.current,r=>{t.current=r,n()}]}var mbt=function(t){var n=t.dropPosition,r=t.dropLevelOffset,i=t.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(n){case-1:o.top=0,o.left=-r*i;break;case 1:o.bottom=0,o.left=-r*i;break;case 0:o.bottom=0,o.left=i;break}return se.createElement("div",{style:o})};function A2e(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function gbt(e,t){var n=p.useState(!1),r=Ie(n,2),i=r[0],o=r[1];ar(function(){if(i)return e(),function(){t()}},[i]),ar(function(){return o(!0),function(){o(!1)}},[])}var vbt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],bbt=p.forwardRef(function(e,t){var n=e.className,r=e.style,i=e.motion,o=e.motionNodes,a=e.motionType,s=e.onMotionStart,l=e.onMotionEnd,c=e.active,u=e.treeNodeRequiredProps,d=Dt(e,vbt),f=p.useState(!0),h=Ie(f,2),m=h[0],g=h[1],v=p.useContext(GY),y=v.prefixCls,b=o&&a!=="hide";ar(function(){o&&b!==m&&g(b)},[o]);var _=function(){o&&s()},E=p.useRef(!1),C=function(){o&&!E.current&&(E.current=!0,l())};gbt(_,C);var S=function(T){b===T&&C()};return o?p.createElement(ia,Ke({ref:t,visible:m},i,{motionAppear:a==="show",onVisibleChanged:S}),function(w,T){var O=w.className,x=w.style;return p.createElement("div",{ref:T,className:xe("".concat(y,"-treenode-motion"),O),style:x},o.map(function(A){var I=Object.assign({},(A2e(A.data),A.data)),M=A.title,B=A.key,P=A.isStart,k=A.isEnd;delete I.children;var N=hw(B,u);return p.createElement(jT,Ke({},I,N,{title:M,active:c,data:A.data,key:B,isStart:P,isEnd:k}))}))}):p.createElement(jT,Ke({domRef:t,className:n,style:r},d,{active:c}))});function ybt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function i(o,a){var s=new Map;o.forEach(function(c){s.set(c,!0)});var l=a.filter(function(c){return!s.has(c)});return l.length===1?l[0]:null}return n ").concat(t);return t}var Cbt=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var i=e.expandedKeys,o=e.selectedKeys,a=e.checkedKeys,s=e.loadedKeys,l=e.loadingKeys,c=e.halfCheckedKeys,u=e.keyEntities,d=e.disabled,f=e.dragging,h=e.dragOverNodeKey,m=e.dropPosition,g=e.motion,v=e.height,y=e.itemHeight,b=e.virtual,_=e.scrollWidth,E=e.focusable,C=e.activeItem,S=e.focused,w=e.tabIndex,T=e.onKeyDown,O=e.onFocus,x=e.onBlur,A=e.onActiveChange,I=e.onListChangeStart,M=e.onListChangeEnd,B=Dt(e,_bt),P=p.useRef(null),k=p.useRef(null);p.useImperativeHandle(t,function(){return{scrollTo:function(be){P.current.scrollTo(be)},getIndentWidth:function(){return k.current.offsetWidth}}});var N=p.useState(i),L=Ie(N,2),V=L[0],$=L[1],W=p.useState(r),j=Ie(W,2),U=j[0],Z=j[1],te=p.useState(r),ae=Ie(te,2),K=ae[0],Q=ae[1],ie=p.useState([]),he=Ie(ie,2),pe=he[0],le=he[1],de=p.useState(null),ve=Ie(de,2),ne=ve[0],ue=ve[1],ge=p.useRef(r);ge.current=r;function Ce(){var me=ge.current;Z(me),Q(me),le([]),ue(null),M()}ar(function(){$(i);var me=ybt(V,i);if(me.key!==null)if(me.add){var be=U.findIndex(function(q){var oe=q.key;return oe===me.key}),_e=Woe(zoe(U,r,me.key),b,v,y),Re=U.slice();Re.splice(be+1,0,Goe),Q(Re),le(_e),ue("show")}else{var De=r.findIndex(function(q){var oe=q.key;return oe===me.key}),z=Woe(zoe(r,U,me.key),b,v,y),D=r.slice();D.splice(De+1,0,Goe),Q(D),le(z),ue("hide")}else U!==r&&(Z(r),Q(r))},[i,r]),p.useEffect(function(){f||Ce()},[f]);var Te=g?K:r,Se={expandedKeys:i,selectedKeys:o,loadedKeys:s,loadingKeys:l,checkedKeys:a,halfCheckedKeys:c,dragOverNodeKey:h,dropPosition:m,keyEntities:u};return p.createElement(p.Fragment,null,S&&C&&p.createElement("span",{style:Voe,"aria-live":"assertive"},Ebt(C)),p.createElement("div",null,p.createElement("input",{style:Voe,disabled:E===!1||d,tabIndex:E!==!1?w:null,onKeyDown:T,onFocus:O,onBlur:x,value:"",onChange:Sbt,"aria-label":"for screen reader"})),p.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},p.createElement("div",{className:"".concat(n,"-indent")},p.createElement("div",{ref:k,className:"".concat(n,"-indent-unit")}))),p.createElement(YP,Ke({},B,{data:Te,itemKey:qoe,height:v,fullHeight:!1,virtual:b,itemHeight:y,scrollWidth:_,prefixCls:"".concat(n,"-list"),ref:P,role:"tree",onVisibleChange:function(be){be.every(function(_e){return qoe(_e)!==Vv})&&Ce()}}),function(me){var be=me.pos,_e=Object.assign({},(A2e(me.data),me.data)),Re=me.title,De=me.key,z=me.isStart,D=me.isEnd,q=S2(De,be);delete _e.key,delete _e.children;var oe=hw(q,Se);return p.createElement(bbt,Ke({},_e,oe,{title:Re,active:!!C&&De===C.key,pos:be,data:me.data,isStart:z,isEnd:D,motion:g,motionNodes:De===Vv?pe:null,motionType:ne,onMotionStart:I,onMotionEnd:Ce,treeNodeRequiredProps:Se,onMouseMove:function(){A(null)}}))}))}),wbt=10,OD=function(e){Ds(n,e);var t=ol(n);function n(){var r;Kr(this,n);for(var i=arguments.length,o=new Array(i),a=0;a2&&arguments[2]!==void 0?arguments[2]:!1,d=r.state,f=d.dragChildrenKeys,h=d.dropPosition,m=d.dropTargetKey,g=d.dropTargetPos,v=d.dropAllowed;if(v){var y=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),m!==null){var b=G(G({},hw(m,r.getTreeNodeRequiredProps())),{},{active:((c=r.getActiveItem())===null||c===void 0?void 0:c.key)===m,data:Sl(r.state.keyEntities,m).node}),_=f.includes(m);Yr(!_,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var E=WY(g),C={event:s,node:ua(b),dragNode:r.dragNodeProps?ua(r.dragNodeProps):null,dragNodesKeys:[r.dragNodeProps.eventKey].concat(f),dropToGap:h!==0,dropPosition:h+Number(E[E.length-1])};u||y==null||y(C),r.dragNodeProps=null}}}),ee(cn(r),"cleanDragState",function(){var s=r.state.draggingNodeKey;s!==null&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null}),ee(cn(r),"triggerExpandActionExpand",function(s,l){var c=r.state,u=c.expandedKeys,d=c.flattenNodes,f=l.expanded,h=l.key,m=l.isLeaf;if(!(m||s.shiftKey||s.metaKey||s.ctrlKey)){var g=d.filter(function(y){return y.key===h})[0],v=ua(G(G({},hw(h,r.getTreeNodeRequiredProps())),{},{data:g.data}));r.setExpandedKeys(f?Jd(u,h):_p(u,h)),r.onNodeExpand(s,v)}}),ee(cn(r),"onNodeClick",function(s,l){var c=r.props,u=c.onClick,d=c.expandAction;d==="click"&&r.triggerExpandActionExpand(s,l),u==null||u(s,l)}),ee(cn(r),"onNodeDoubleClick",function(s,l){var c=r.props,u=c.onDoubleClick,d=c.expandAction;d==="doubleClick"&&r.triggerExpandActionExpand(s,l),u==null||u(s,l)}),ee(cn(r),"onNodeSelect",function(s,l){var c=r.state.selectedKeys,u=r.state,d=u.keyEntities,f=u.fieldNames,h=r.props,m=h.onSelect,g=h.multiple,v=l.selected,y=l[f.key],b=!v;b?g?c=_p(c,y):c=[y]:c=Jd(c,y);var _=c.map(function(E){var C=Sl(d,E);return C?C.node:null}).filter(Boolean);r.setUncontrolledState({selectedKeys:c}),m==null||m(c,{event:"select",selected:b,node:l,selectedNodes:_,nativeEvent:s.nativeEvent})}),ee(cn(r),"onNodeCheck",function(s,l,c){var u=r.state,d=u.keyEntities,f=u.checkedKeys,h=u.halfCheckedKeys,m=r.props,g=m.checkStrictly,v=m.onCheck,y=l.key,b,_={event:"check",node:l,checked:c,nativeEvent:s.nativeEvent};if(g){var E=c?_p(f,y):Jd(f,y),C=Jd(h,y);b={checked:E,halfChecked:C},_.checkedNodes=E.map(function(A){return Sl(d,A)}).filter(Boolean).map(function(A){return A.node}),r.setUncontrolledState({checkedKeys:E})}else{var S=lu([].concat(nt(f),[y]),!0,d),w=S.checkedKeys,T=S.halfCheckedKeys;if(!c){var O=new Set(w);O.delete(y);var x=lu(Array.from(O),{checked:!1,halfCheckedKeys:T},d);w=x.checkedKeys,T=x.halfCheckedKeys}b=w,_.checkedNodes=[],_.checkedNodesPositions=[],_.halfCheckedKeys=T,w.forEach(function(A){var I=Sl(d,A);if(I){var M=I.node,B=I.pos;_.checkedNodes.push(M),_.checkedNodesPositions.push({node:M,pos:B})}}),r.setUncontrolledState({checkedKeys:w},!1,{halfCheckedKeys:T})}v==null||v(b,_)}),ee(cn(r),"onNodeLoad",function(s){var l,c=s.key,u=r.state.keyEntities,d=Sl(u,c);if(!(d!=null&&(l=d.children)!==null&&l!==void 0&&l.length)){var f=new Promise(function(h,m){r.setState(function(g){var v=g.loadedKeys,y=v===void 0?[]:v,b=g.loadingKeys,_=b===void 0?[]:b,E=r.props,C=E.loadData,S=E.onLoad;if(!C||y.includes(c)||_.includes(c))return null;var w=C(s);return w.then(function(){var T=r.state.loadedKeys,O=_p(T,c);S==null||S(O,{event:"load",node:s}),r.setUncontrolledState({loadedKeys:O}),r.setState(function(x){return{loadingKeys:Jd(x.loadingKeys,c)}}),h()}).catch(function(T){if(r.setState(function(x){return{loadingKeys:Jd(x.loadingKeys,c)}}),r.loadingRetryTimes[c]=(r.loadingRetryTimes[c]||0)+1,r.loadingRetryTimes[c]>=wbt){var O=r.state.loadedKeys;Yr(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:_p(O,c)}),h()}m(T)}),{loadingKeys:_p(_,c)}})});return f.catch(function(){}),f}}),ee(cn(r),"onNodeMouseEnter",function(s,l){var c=r.props.onMouseEnter;c==null||c({event:s,node:l})}),ee(cn(r),"onNodeMouseLeave",function(s,l){var c=r.props.onMouseLeave;c==null||c({event:s,node:l})}),ee(cn(r),"onNodeContextMenu",function(s,l){var c=r.props.onRightClick;c&&(s.preventDefault(),c({event:s,node:l}))}),ee(cn(r),"onFocus",function(){var s=r.props.onFocus;r.setState({focused:!0});for(var l=arguments.length,c=new Array(l),u=0;u1&&arguments[1]!==void 0?arguments[1]:!1,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!r.destroyed){var u=!1,d=!0,f={};Object.keys(s).forEach(function(h){if(r.props.hasOwnProperty(h)){d=!1;return}u=!0,f[h]=s[h]}),u&&(!l||d)&&r.setState(G(G({},f),c))}}),ee(cn(r),"scrollTo",function(s){r.listRef.current.scrollTo(s)}),r}return Qr(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var i=this.props,o=i.activeKey,a=i.itemScrollOffset,s=a===void 0?0:a;o!==void 0&&o!==this.state.activeKey&&(this.setState({activeKey:o}),o!==null&&this.scrollTo({key:o,offset:s}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var i=this.state,o=i.focused,a=i.flattenNodes,s=i.keyEntities,l=i.draggingNodeKey,c=i.activeKey,u=i.dropLevelOffset,d=i.dropContainerKey,f=i.dropTargetKey,h=i.dropPosition,m=i.dragOverNodeKey,g=i.indent,v=this.props,y=v.prefixCls,b=v.className,_=v.style,E=v.showLine,C=v.focusable,S=v.tabIndex,w=S===void 0?0:S,T=v.selectable,O=v.showIcon,x=v.icon,A=v.switcherIcon,I=v.draggable,M=v.checkable,B=v.checkStrictly,P=v.disabled,k=v.motion,N=v.loadData,L=v.filterTreeNode,V=v.height,$=v.itemHeight,W=v.scrollWidth,j=v.virtual,U=v.titleRender,Z=v.dropIndicatorRender,te=v.onContextMenu,ae=v.onScroll,K=v.direction,Q=v.rootClassName,ie=v.rootStyle,he=xi(this.props,{aria:!0,data:!0}),pe;I&&(Gt(I)==="object"?pe=I:typeof I=="function"?pe={nodeDraggable:I}:pe={});var le={prefixCls:y,selectable:T,showIcon:O,icon:x,switcherIcon:A,draggable:pe,draggingNodeKey:l,checkable:M,checkStrictly:B,disabled:P,keyEntities:s,dropLevelOffset:u,dropContainerKey:d,dropTargetKey:f,dropPosition:h,dragOverNodeKey:m,indent:g,direction:K,dropIndicatorRender:Z,loadData:N,filterTreeNode:L,titleRender:U,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return p.createElement(GY.Provider,{value:le},p.createElement("div",{className:xe(y,b,Q,ee(ee(ee({},"".concat(y,"-show-line"),E),"".concat(y,"-focused"),o),"".concat(y,"-active-focused"),c!==null)),style:ie},p.createElement(Cbt,Ke({ref:this.listRef,prefixCls:y,style:_,data:a,disabled:P,selectable:T,checkable:!!M,motion:k,dragging:l!==null,height:V,itemHeight:$,virtual:j,focusable:C,focused:o,tabIndex:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:te,onScroll:ae,scrollWidth:W},this.getTreeNodeRequiredProps(),he))))}}],[{key:"getDerivedStateFromProps",value:function(i,o){var a=o.prevProps,s={prevProps:i};function l(w){return!a&&i.hasOwnProperty(w)||a&&a[w]!==i[w]}var c,u=o.fieldNames;if(l("fieldNames")&&(u=b_(i.fieldNames),s.fieldNames=u),l("treeData")?c=i.treeData:l("children")&&(Yr(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),c=bTe(i.children)),c){s.treeData=c;var d=E2(c,{fieldNames:u});s.keyEntities=G(ee({},Vv,N2e),d.keyEntities)}var f=s.keyEntities||o.keyEntities;if(l("expandedKeys")||a&&l("autoExpandParent"))s.expandedKeys=i.autoExpandParent||!a&&i.defaultExpandParent?cU(i.expandedKeys,f):i.expandedKeys;else if(!a&&i.defaultExpandAll){var h=G({},f);delete h[Vv];var m=[];Object.keys(h).forEach(function(w){var T=h[w];T.children&&T.children.length&&m.push(T.key)}),s.expandedKeys=m}else!a&&i.defaultExpandedKeys&&(s.expandedKeys=i.autoExpandParent||i.defaultExpandParent?cU(i.defaultExpandedKeys,f):i.defaultExpandedKeys);if(s.expandedKeys||delete s.expandedKeys,c||s.expandedKeys){var g=a$(c||o.treeData,s.expandedKeys||o.expandedKeys,u);s.flattenNodes=g}if(i.selectable&&(l("selectedKeys")?s.selectedKeys=Hoe(i.selectedKeys,i):!a&&i.defaultSelectedKeys&&(s.selectedKeys=Hoe(i.defaultSelectedKeys,i))),i.checkable){var v;if(l("checkedKeys")?v=m$(i.checkedKeys)||{}:!a&&i.defaultCheckedKeys?v=m$(i.defaultCheckedKeys)||{}:c&&(v=m$(i.checkedKeys)||{checkedKeys:o.checkedKeys,halfCheckedKeys:o.halfCheckedKeys}),v){var y=v,b=y.checkedKeys,_=b===void 0?[]:b,E=y.halfCheckedKeys,C=E===void 0?[]:E;if(!i.checkStrictly){var S=lu(_,!0,f);_=S.checkedKeys,C=S.halfCheckedKeys}s.checkedKeys=_,s.halfCheckedKeys=C}}return l("loadedKeys")&&(s.loadedKeys=i.loadedKeys),s}}]),n}(p.Component);ee(OD,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:mbt,allowDrop:function(){return!0},expandAction:!1});ee(OD,"TreeNode",jT);const Tbt=e=>{let{treeCls:t,treeNodeCls:n,directoryNodeSelectedBg:r,directoryNodeSelectedColor:i,motionDurationMid:o,borderRadius:a,controlItemBgHover:s}=e;return{[`${t}${t}-directory ${n}`]:{[`${t}-node-content-wrapper`]:{position:"static",[`> *:not(${t}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${o}`,content:'""',borderRadius:a},"&:hover:before":{background:s}},[`${t}-switcher, ${t}-checkbox, ${t}-draggable-icon`]:{zIndex:1},"&-selected":{[`${t}-switcher, ${t}-draggable-icon`]:{color:i},[`${t}-node-content-wrapper`]:{color:i,background:"transparent","&:before, &:hover:before":{background:r}}}}}},xbt=new fr("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Obt=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),Rbt=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${Ae(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ibt=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:i,titleHeight:o,indentSize:a,nodeSelectedBg:s,nodeHoverBg:l,colorTextQuaternary:c,controlItemBgActiveDisabled:u}=t;return{[n]:Object.assign(Object.assign({},gr(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${n}-rtl ${n}-switcher_close ${n}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},Td(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:xbt,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:t.borderRadius}}},[r]:{display:"flex",alignItems:"flex-start",marginBottom:i,lineHeight:Ae(o),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:i},[`&-disabled ${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${n}-checkbox-disabled + ${n}-node-selected,&${r}-disabled${r}-selected ${n}-node-content-wrapper`]:{backgroundColor:u},[`&:not(${r}-disabled)`]:{[`${n}-node-content-wrapper`]:{"&:hover":{color:t.nodeHoverColor}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:o,textAlign:"center",visibility:"visible",color:c},[`&${r}-disabled ${n}-draggable-icon`]:{visibility:"hidden"}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:a}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher, ${n}-checkbox`]:{marginInlineEnd:t.calc(t.calc(o).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-switcher`]:Object.assign(Object.assign({},Obt(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:o,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:o,height:o,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},[`&_close ${n}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(o).div(2).equal()).mul(.8).equal(),height:t.calc(o).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:o,paddingBlock:0,paddingInline:t.paddingXS,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},Rbt(e,t)),{"&:hover":{backgroundColor:l},[`&${n}-node-selected`]:{color:t.nodeSelectedColor,backgroundColor:s},[`${n}-iconEle`]:{display:"inline-block",width:o,height:o,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${r}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${t.colorPrimary}`},"&-show-line":{[`${n}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last ${n}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${Ae(t.calc(o).div(2).equal())} !important`}})}},M2e=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,i=t.calc(t.paddingXS).div(2).equal(),o=Kn(t,{treeCls:n,treeNodeCls:r,treeNodePadding:i});return[Ibt(e,o),Tbt(o)]},k2e=e=>{const{controlHeightSM:t,controlItemBgHover:n,controlItemBgActive:r}=e,i=t;return{titleHeight:i,indentSize:i,nodeHoverBg:n,nodeHoverColor:e.colorText,nodeSelectedBg:r,nodeSelectedColor:e.colorText}},Abt=e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},k2e(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},Nbt=lr("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:hD(`${n}-checkbox`,e)},M2e(n,e),a2(e)]},Abt),Yoe=4;function Mbt(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:i,direction:o="ltr"}=e,a=o==="ltr"?"left":"right",s=o==="ltr"?"right":"left",l={[a]:-n*i+Yoe,[s]:0};switch(t){case-1:l.top=-3;break;case 1:l.bottom=-3;break;default:l.bottom=-3,l[a]=i+Yoe;break}return se.createElement("div",{style:l,className:`${r}-drop-indicator`})}const P2e=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:i,switcherLoadingIcon:o}=e,{isLeaf:a,expanded:s,loading:l}=r;if(l)return p.isValidElement(o)?o:p.createElement(xd,{className:`${t}-switcher-loading-icon`});let c;if(i&&typeof i=="object"&&(c=i.showLeafIcon),a){if(!i)return null;if(typeof c!="boolean"&&c){const f=typeof c=="function"?c(r):c,h=`${t}-switcher-line-custom-icon`;return p.isValidElement(f)?Eo(f,{className:xe(f.props.className||"",h)}):f}return c?p.createElement(r2e,{className:`${t}-switcher-line-icon`}):p.createElement("span",{className:`${t}-switcher-leaf-line`})}const u=`${t}-switcher-icon`,d=typeof n=="function"?n(r):n;return p.isValidElement(d)?Eo(d,{className:xe(d.props.className||"",u)}):d!==void 0?d:i?s?p.createElement(i1t,{className:`${t}-switcher-line-icon`}):p.createElement(b1t,{className:`${t}-switcher-line-icon`}):p.createElement(Kmt,{className:u})},D2e=se.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:i,virtual:o,tree:a}=se.useContext(Xt),{prefixCls:s,className:l,showIcon:c=!1,showLine:u,switcherIcon:d,switcherLoadingIcon:f,blockNode:h=!1,children:m,checkable:g=!1,selectable:v=!0,draggable:y,motion:b,style:_}=e,E=r("tree",s),C=r(),S=b??Object.assign(Object.assign({},d_(C)),{motionAppear:!1}),w=Object.assign(Object.assign({},e),{checkable:g,selectable:v,showIcon:c,motion:S,blockNode:h,showLine:!!u,dropIndicatorRender:Mbt}),[T,O,x]=Nbt(E),[,A]=qo(),I=A.paddingXS/2+(((n=A.Tree)===null||n===void 0?void 0:n.titleHeight)||A.controlHeightSM),M=se.useMemo(()=>{if(!y)return!1;let P={};switch(typeof y){case"function":P.nodeDraggable=y;break;case"object":P=Object.assign({},y);break}return P.icon!==!1&&(P.icon=P.icon||se.createElement(Lgt,null)),P},[y]),B=P=>se.createElement(P2e,{prefixCls:E,switcherIcon:d,switcherLoadingIcon:f,treeNodeProps:P,showLine:u});return T(se.createElement(OD,Object.assign({itemHeight:I,ref:t,virtual:o},w,{style:Object.assign(Object.assign({},a==null?void 0:a.style),_),prefixCls:E,className:xe({[`${E}-icon-hide`]:!c,[`${E}-block-node`]:h,[`${E}-unselectable`]:!v,[`${E}-rtl`]:i==="rtl"},a==null?void 0:a.className,l,O,x),direction:i,checkable:g&&se.createElement("span",{className:`${E}-checkbox-inner`}),selectable:v,switcherIcon:B,draggable:M}),m))}),Koe=0,g$=1,Qoe=2;function qY(e,t,n){const{key:r,children:i}=n;function o(a){const s=a[r],l=a[i];t(s,a)!==!1&&qY(l||[],t,n)}e.forEach(o)}function kbt(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:i,fieldNames:o}=e;const a=[];let s=Koe;if(r&&r===i)return[r];if(!r||!i)return[];function l(c){return c===r||c===i}return qY(t,c=>{if(s===Qoe)return!1;if(l(c)){if(a.push(c),s===Koe)s=g$;else if(s===g$)return s=Qoe,!1}else s===g$&&a.push(c);return n.includes(c)},b_(o)),a}function v$(e,t,n){const r=nt(t),i=[];return qY(e,(o,a)=>{const s=r.indexOf(o);return s!==-1&&(i.push(a),r.splice(s,1)),!!r.length},b_(n)),i}var Xoe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:i}=e,o=Xoe(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const a=p.useRef(null),s=p.useRef(null),l=()=>{const{keyEntities:T}=E2(Zoe(o));let O;return n?O=Object.keys(T):r?O=cU(o.expandedKeys||i||[],T):O=o.expandedKeys||i||[],O},[c,u]=p.useState(o.selectedKeys||o.defaultSelectedKeys||[]),[d,f]=p.useState(()=>l());p.useEffect(()=>{"selectedKeys"in o&&u(o.selectedKeys)},[o.selectedKeys]),p.useEffect(()=>{"expandedKeys"in o&&f(o.expandedKeys)},[o.expandedKeys]);const h=(T,O)=>{var x;return"expandedKeys"in o||f(T),(x=o.onExpand)===null||x===void 0?void 0:x.call(o,T,O)},m=(T,O)=>{var x;const{multiple:A,fieldNames:I}=o,{node:M,nativeEvent:B}=O,{key:P=""}=M,k=Zoe(o),N=Object.assign(Object.assign({},O),{selected:!0}),L=(B==null?void 0:B.ctrlKey)||(B==null?void 0:B.metaKey),V=B==null?void 0:B.shiftKey;let $;A&&L?($=T,a.current=P,s.current=$,N.selectedNodes=v$(k,$,I)):A&&V?($=Array.from(new Set([].concat(nt(s.current||[]),nt(kbt({treeData:k,expandedKeys:d,startKey:P,endKey:a.current,fieldNames:I}))))),N.selectedNodes=v$(k,$,I)):($=[P],a.current=P,s.current=$,N.selectedNodes=v$(k,$,I)),(x=o.onSelect)===null||x===void 0||x.call(o,$,N),"selectedKeys"in o||u($)},{getPrefixCls:g,direction:v}=p.useContext(Xt),{prefixCls:y,className:b,showIcon:_=!0,expandAction:E="click"}=o,C=Xoe(o,["prefixCls","className","showIcon","expandAction"]),S=g("tree",y),w=xe(`${S}-directory`,{[`${S}-directory-rtl`]:v==="rtl"},b);return p.createElement(D2e,Object.assign({icon:Pbt,ref:t,blockNode:!0},C,{showIcon:_,expandAction:E,prefixCls:S,className:w,expandedKeys:d,selectedKeys:c,onSelect:m,onExpand:h}))},Lbt=p.forwardRef(Dbt),YY=D2e;YY.DirectoryTree=Lbt;YY.TreeNode=jT;const Joe=e=>{const{value:t,filterSearch:n,tablePrefixCls:r,locale:i,onChange:o}=e;return n?p.createElement("div",{className:`${r}-filter-dropdown-search`},p.createElement(Ki,{prefix:p.createElement(KP,null),placeholder:i.filterSearchPlaceholder,onChange:o,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},$bt=e=>{const{keyCode:t}=e;t===dt.ENTER&&e.stopPropagation()},Fbt=p.forwardRef((e,t)=>p.createElement("div",{className:e.className,onClick:n=>n.stopPropagation(),onKeyDown:$bt,ref:t},e.children));function Cy(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:i}=n;t.push(r),i&&(t=[].concat(nt(t),nt(Cy(i))))}),t}function Bbt(e){return e.some(t=>{let{children:n}=t;return n})}function L2e(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function $2e(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:a}=e;return t.map((s,l)=>{const c=String(s.value);if(s.children)return{key:c||l,label:s.text,popupClassName:`${n}-dropdown-submenu`,children:$2e({filters:s.children,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:a})};const u=i?fh:qi,d={key:s.value!==void 0?c:l,label:p.createElement(p.Fragment,null,p.createElement(u,{checked:r.includes(c)}),p.createElement("span",null,s.text))};return o.trim()?typeof a=="function"?a(o,s)?d:null:L2e(o,s.text)?d:null:d})}function b$(e){return e||[]}const jbt=e=>{var t,n,r,i;const{tablePrefixCls:o,prefixCls:a,column:s,dropdownPrefixCls:l,columnKey:c,filterOnClose:u,filterMultiple:d,filterMode:f="menu",filterSearch:h=!1,filterState:m,triggerFilter:g,locale:v,children:y,getPopupContainer:b,rootClassName:_}=e,{filterResetToDefaultFilteredValue:E,defaultFilteredValue:C,filterDropdownProps:S={},filterDropdownOpen:w,filterDropdownVisible:T,onFilterDropdownVisibleChange:O,onFilterDropdownOpenChange:x}=s,[A,I]=p.useState(!1),M=!!(m&&(!((t=m.filteredKeys)===null||t===void 0)&&t.length||m.forceFiltered)),B=me=>{var be;I(me),(be=S.onOpenChange)===null||be===void 0||be.call(S,me),x==null||x(me),O==null||O(me)},P=(i=(r=(n=S.open)!==null&&n!==void 0?n:w)!==null&&r!==void 0?r:T)!==null&&i!==void 0?i:A,k=m==null?void 0:m.filteredKeys,[N,L]=hbt(b$(k)),V=me=>{let{selectedKeys:be}=me;L(be)},$=(me,be)=>{let{node:_e,checked:Re}=be;V(d?{selectedKeys:me}:{selectedKeys:Re&&_e.key?[_e.key]:[]})};p.useEffect(()=>{A&&V({selectedKeys:b$(k)})},[k]);const[W,j]=p.useState([]),U=me=>{j(me)},[Z,te]=p.useState(""),ae=me=>{const{value:be}=me.target;te(be)};p.useEffect(()=>{A||te("")},[A]);const K=me=>{const be=me!=null&&me.length?me:null;if(be===null&&(!m||!m.filteredKeys)||vu(be,m==null?void 0:m.filteredKeys,!0))return null;g({column:s,key:c,filteredKeys:be})},Q=()=>{B(!1),K(N())},ie=function(){let{confirm:me,closeDropdown:be}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};me&&K([]),be&&B(!1),te(""),L(E?(C||[]).map(_e=>String(_e)):[])},he=function(){let{closeDropdown:me}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};me&&B(!1),K(N())},pe=(me,be)=>{be.source==="trigger"&&(me&&k!==void 0&&L(b$(k)),B(me),!me&&!s.filterDropdown&&u&&Q())},le=xe({[`${l}-menu-without-submenu`]:!Bbt(s.filters||[])}),de=me=>{if(me.target.checked){const be=Cy(s==null?void 0:s.filters).map(_e=>String(_e));L(be)}else L([])},ve=me=>{let{filters:be}=me;return(be||[]).map((_e,Re)=>{const De=String(_e.value),z={title:_e.text,key:_e.value!==void 0?De:String(Re)};return _e.children&&(z.children=ve({filters:_e.children})),z})},ne=me=>{var be;return Object.assign(Object.assign({},me),{text:me.title,value:me.key,children:((be=me.children)===null||be===void 0?void 0:be.map(_e=>ne(_e)))||[]})};let ue;const{direction:ge,renderEmpty:Ce}=p.useContext(Xt);if(typeof s.filterDropdown=="function")ue=s.filterDropdown({prefixCls:`${l}-custom`,setSelectedKeys:me=>V({selectedKeys:me}),selectedKeys:N(),confirm:he,clearFilters:ie,filters:s.filters,visible:P,close:()=>{B(!1)}});else if(s.filterDropdown)ue=s.filterDropdown;else{const me=N()||[],be=()=>{var Re;const De=(Re=Ce==null?void 0:Ce("Table.filter"))!==null&&Re!==void 0?Re:p.createElement(Lp,{image:Lp.PRESENTED_IMAGE_SIMPLE,description:v.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((s.filters||[]).length===0)return De;if(f==="tree")return p.createElement(p.Fragment,null,p.createElement(Joe,{filterSearch:h,value:Z,onChange:ae,tablePrefixCls:o,locale:v}),p.createElement("div",{className:`${o}-filter-dropdown-tree`},d?p.createElement(fh,{checked:me.length===Cy(s.filters).length,indeterminate:me.length>0&&me.lengthtypeof h=="function"?h(Z,ne(q)):L2e(Z,q.title):void 0})));const z=$2e({filters:s.filters||[],filterSearch:h,prefixCls:a,filteredKeys:N(),filterMultiple:d,searchValue:Z}),D=z.every(q=>q===null);return p.createElement(p.Fragment,null,p.createElement(Joe,{filterSearch:h,value:Z,onChange:ae,tablePrefixCls:o,locale:v}),D?De:p.createElement(Bd,{selectable:!0,multiple:d,prefixCls:`${l}-menu`,className:le,onSelect:V,onDeselect:V,selectedKeys:me,getPopupContainer:b,openKeys:W,onOpenChange:U,items:z}))},_e=()=>E?vu((C||[]).map(Re=>String(Re)),me,!0):me.length===0;ue=p.createElement(p.Fragment,null,be(),p.createElement("div",{className:`${a}-dropdown-btns`},p.createElement($n,{type:"link",size:"small",disabled:_e(),onClick:()=>ie()},v.filterReset),p.createElement($n,{type:"primary",size:"small",onClick:Q},v.filterConfirm)))}s.filterDropdown&&(ue=p.createElement(twe,{selectable:void 0},ue)),ue=p.createElement(Fbt,{className:`${a}-dropdown`},ue);const Se=DY({trigger:["click"],placement:ge==="rtl"?"bottomLeft":"bottomRight",children:(()=>{let me;return typeof s.filterIcon=="function"?me=s.filterIcon(M):s.filterIcon?me=s.filterIcon:me=p.createElement(Tgt,null),p.createElement("span",{role:"button",tabIndex:-1,className:xe(`${a}-trigger`,{active:M}),onClick:be=>{be.stopPropagation()}},me)})(),getPopupContainer:b},Object.assign(Object.assign({},S),{rootClassName:xe(_,S.rootClassName),open:P,onOpenChange:pe,dropdownRender:()=>typeof(S==null?void 0:S.dropdownRender)=="function"?S.dropdownRender(ue):ue}));return p.createElement("div",{className:`${a}-column`},p.createElement("span",{className:`${o}-column-title`},y),p.createElement(vD,Object.assign({},Se)))},hU=(e,t,n)=>{let r=[];return(e||[]).forEach((i,o)=>{var a;const s=MS(o,n);if(i.filters||"filterDropdown"in i||"onFilter"in i)if("filteredValue"in i){let l=i.filteredValue;"filterDropdown"in i||(l=(a=l==null?void 0:l.map(String))!==null&&a!==void 0?a:l),r.push({column:i,key:bg(i,s),filteredKeys:l,forceFiltered:i.filtered})}else r.push({column:i,key:bg(i,s),filteredKeys:t&&i.defaultFilteredValue?i.defaultFilteredValue:void 0,forceFiltered:i.filtered});"children"in i&&(r=[].concat(nt(r),nt(hU(i.children,t,s))))}),r};function F2e(e,t,n,r,i,o,a,s,l){return n.map((c,u)=>{const d=MS(u,s),{filterOnClose:f=!0,filterMultiple:h=!0,filterMode:m,filterSearch:g}=c;let v=c;if(v.filters||v.filterDropdown){const y=bg(v,d),b=r.find(_=>{let{key:E}=_;return y===E});v=Object.assign(Object.assign({},v),{title:_=>p.createElement(jbt,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:v,columnKey:y,filterState:b,filterOnClose:f,filterMultiple:h,filterMode:m,filterSearch:g,triggerFilter:o,locale:i,getPopupContainer:a,rootClassName:l},xD(c.title,_))})}return"children"in v&&(v=Object.assign(Object.assign({},v),{children:F2e(e,t,v.children,r,i,o,a,d,l)})),v})}const eae=e=>{const t={};return e.forEach(n=>{let{key:r,filteredKeys:i,column:o}=n;const a=r,{filters:s,filterDropdown:l}=o;if(l)t[a]=i||null;else if(Array.isArray(i)){const c=Cy(s);t[a]=c.filter(u=>i.includes(String(u)))}else t[a]=null}),t},mU=(e,t,n)=>t.reduce((i,o)=>{const{column:{onFilter:a,filters:s},filteredKeys:l}=o;return a&&l&&l.length?i.map(c=>Object.assign({},c)).filter(c=>l.some(u=>{const d=Cy(s),f=d.findIndex(m=>String(m)===String(u)),h=f!==-1?d[f]:u;return c[n]&&(c[n]=mU(c[n],t,n)),a(h,c)})):i},e),B2e=e=>e.flatMap(t=>"children"in t?[t].concat(nt(B2e(t.children||[]))):[t]),Hbt=e=>{const{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:i,getPopupContainer:o,locale:a,rootClassName:s}=e;Wf();const l=p.useMemo(()=>B2e(r||[]),[r]),[c,u]=p.useState(()=>hU(l,!0)),d=p.useMemo(()=>{const g=hU(l,!1);if(g.length===0)return g;let v=!0;if(g.forEach(y=>{let{filteredKeys:b}=y;b!==void 0&&(v=!1)}),v){const y=(l||[]).map((b,_)=>bg(b,MS(_)));return c.filter(b=>{let{key:_}=b;return y.includes(_)}).map(b=>{const _=l[y.findIndex(E=>E===b.key)];return Object.assign(Object.assign({},b),{column:Object.assign(Object.assign({},b.column),_),forceFiltered:_.filtered})})}return g},[l,c]),f=p.useMemo(()=>eae(d),[d]),h=g=>{const v=d.filter(y=>{let{key:b}=y;return b!==g.key});v.push(g),u(v),i(eae(v),v)};return[g=>F2e(t,n,g,d,a,h,o,void 0,s),d,f]},Ubt=(e,t,n)=>{const r=p.useRef({});function i(o){var a;if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let l=function(c){c.forEach((u,d)=>{const f=n(u,d);s.set(f,u),u&&typeof u=="object"&&t in u&&l(u[t]||[])})};const s=new Map;l(e),r.current={data:e,childrenColumnName:t,kvMap:s,getRowKey:n}}return(a=r.current.kvMap)===null||a===void 0?void 0:a.get(o)}return[i]};var zbt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const o=e[i];typeof o!="function"&&(n[i]=o)}),n}function Gbt(e,t,n){const r=n&&typeof n=="object"?n:{},{total:i=0}=r,o=zbt(r,["total"]),[a,s]=p.useState(()=>({current:"defaultCurrent"in o?o.defaultCurrent:1,pageSize:"defaultPageSize"in o?o.defaultPageSize:j2e})),l=DY(a,o,{total:i>0?i:e}),c=Math.ceil((i||e)/l.pageSize);l.current>c&&(l.current=c||1);const u=(f,h)=>{s({current:f??1,pageSize:h||l.pageSize})},d=(f,h)=>{var m;n&&((m=n.onChange)===null||m===void 0||m.call(n,f,h)),u(f,h),t(f,h||(l==null?void 0:l.pageSize))};return n===!1?[{},()=>{}]:[Object.assign(Object.assign({},l),{onChange:d}),u]}const zA="ascend",y$="descend",lk=e=>typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1,tae=e=>typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1,Wbt=(e,t)=>t?e[e.indexOf(t)+1]:e[0],gU=(e,t,n)=>{let r=[];const i=(o,a)=>{r.push({column:o,key:bg(o,a),multiplePriority:lk(o),sortOrder:o.sortOrder})};return(e||[]).forEach((o,a)=>{const s=MS(a,n);o.children?("sortOrder"in o&&i(o,s),r=[].concat(nt(r),nt(gU(o.children,t,s)))):o.sorter&&("sortOrder"in o?i(o,s):t&&o.defaultSortOrder&&r.push({column:o,key:bg(o,s),multiplePriority:lk(o),sortOrder:o.defaultSortOrder}))}),r},H2e=(e,t,n,r,i,o,a,s)=>(t||[]).map((c,u)=>{const d=MS(u,s);let f=c;if(f.sorter){const h=f.sortDirections||i,m=f.showSorterTooltip===void 0?a:f.showSorterTooltip,g=bg(f,d),v=n.find(O=>{let{key:x}=O;return x===g}),y=v?v.sortOrder:null,b=Wbt(h,y);let _;if(c.sortIcon)_=c.sortIcon({sortOrder:y});else{const O=h.includes(zA)&&p.createElement(tgt,{className:xe(`${e}-column-sorter-up`,{active:y===zA})}),x=h.includes(y$)&&p.createElement(Zmt,{className:xe(`${e}-column-sorter-down`,{active:y===y$})});_=p.createElement("span",{className:xe(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(O&&x)})},p.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},O,x))}const{cancelSort:E,triggerAsc:C,triggerDesc:S}=o||{};let w=E;b===y$?w=S:b===zA&&(w=C);const T=typeof m=="object"?Object.assign({title:w},m):{title:w};f=Object.assign(Object.assign({},f),{className:xe(f.className,{[`${e}-column-sort`]:y}),title:O=>{const x=`${e}-column-sorters`,A=p.createElement("span",{className:`${e}-column-title`},xD(c.title,O)),I=p.createElement("div",{className:x},A,_);return m?typeof m!="boolean"&&(m==null?void 0:m.target)==="sorter-icon"?p.createElement("div",{className:`${x} ${e}-column-sorters-tooltip-target-sorter`},A,p.createElement(Aa,Object.assign({},T),_)):p.createElement(Aa,Object.assign({},T),I):I},onHeaderCell:O=>{var x;const A=((x=c.onHeaderCell)===null||x===void 0?void 0:x.call(c,O))||{},I=A.onClick,M=A.onKeyDown;A.onClick=k=>{r({column:c,key:g,sortOrder:b,multiplePriority:lk(c)}),I==null||I(k)},A.onKeyDown=k=>{k.keyCode===dt.ENTER&&(r({column:c,key:g,sortOrder:b,multiplePriority:lk(c)}),M==null||M(k))};const B=pbt(c.title,{}),P=B==null?void 0:B.toString();return y?A["aria-sort"]=y==="ascend"?"ascending":"descending":A["aria-label"]=P||"",A.className=xe(A.className,`${e}-column-has-sorters`),A.tabIndex=0,c.ellipsis&&(A.title=(B??"").toString()),A}})}return"children"in f&&(f=Object.assign(Object.assign({},f),{children:H2e(e,f.children,n,r,i,o,a,d)})),f}),nae=e=>{const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},rae=e=>{const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(nae);if(t.length===0&&e.length){const n=e.length-1;return Object.assign(Object.assign({},nae(e[n])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return t.length<=1?t[0]||{}:t},vU=(e,t,n)=>{const r=t.slice().sort((a,s)=>s.multiplePriority-a.multiplePriority),i=e.slice(),o=r.filter(a=>{let{column:{sorter:s},sortOrder:l}=a;return tae(s)&&l});return o.length?i.sort((a,s)=>{for(let l=0;l{const s=a[n];return s?Object.assign(Object.assign({},a),{[n]:vU(s,t,n)}):a}):i},qbt=e=>{const{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:i,showSorterTooltip:o,onSorterChange:a}=e,[s,l]=p.useState(gU(n,!0)),c=(g,v)=>{const y=[];return g.forEach((b,_)=>{const E=MS(_,v);if(y.push(bg(b,E)),Array.isArray(b.children)){const C=c(b.children,E);y.push.apply(y,nt(C))}}),y},u=p.useMemo(()=>{let g=!0;const v=gU(n,!1);if(!v.length){const E=c(n);return s.filter(C=>{let{key:S}=C;return E.includes(S)})}const y=[];function b(E){g?y.push(E):y.push(Object.assign(Object.assign({},E),{sortOrder:null}))}let _=null;return v.forEach(E=>{_===null?(b(E),E.sortOrder&&(E.multiplePriority===!1?g=!1:_=!0)):(_&&E.multiplePriority!==!1||(g=!1),b(E))}),y},[n,s]),d=p.useMemo(()=>{var g,v;const y=u.map(b=>{let{column:_,sortOrder:E}=b;return{column:_,order:E}});return{sortColumns:y,sortColumn:(g=y[0])===null||g===void 0?void 0:g.column,sortOrder:(v=y[0])===null||v===void 0?void 0:v.order}},[u]),f=g=>{let v;g.multiplePriority===!1||!u.length||u[0].multiplePriority===!1?v=[g]:v=[].concat(nt(u.filter(y=>{let{key:b}=y;return b!==g.key})),[g]),l(v),a(rae(v),v)};return[g=>H2e(t,g,u,f,r,i,o),u,d,()=>rae(u)]},U2e=(e,t)=>e.map(r=>{const i=Object.assign({},r);return i.title=xD(r.title,t),"children"in i&&(i.children=U2e(i.children,t)),i}),Ybt=e=>[p.useCallback(n=>U2e(n,e),[e])],Kbt=T2e((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),Qbt=O2e((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),Xbt=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:i,tableHeaderBg:o,tablePaddingVertical:a,tablePaddingHorizontal:s,calc:l}=e,c=`${Ae(n)} ${r} ${i}`,u=(d,f,h)=>({[`&${t}-${d}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${Ae(l(f).mul(-1).equal())} + `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:Ae(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Ae(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:Ae(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},y2(e)),gY(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},dD(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},pht=e=>{const{componentCls:t}=e;return{[`${t}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:Ae(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${Ae(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Ae(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},hht=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:Ae(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),pht(e)),fht(e)),dht(e)),uht(e)),cht(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},mht=e=>{const{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:Object.assign({},Zs(e)),[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":Object.assign({[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}},Td(e))},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:Object.assign({},Td(e))}}}},Mxe=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},b2(e)),kxe=e=>Kn(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},v2(e)),ght=lr("Pagination",e=>{const t=kxe(e);return[hht(t),mht(t)]},Mxe),vht=e=>{const{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled:not(${t}-mini)`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered:not(${t}-mini)`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}},bht=pS(["Pagination","bordered"],e=>{const t=kxe(e);return[vht(t)]},Mxe);function _oe(e){return p.useMemo(()=>typeof e=="boolean"?[e,{}]:e&&typeof e=="object"?[!0,e]:[void 0,void 0],[e])}var yht=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{align:t,prefixCls:n,selectPrefixCls:r,className:i,rootClassName:o,style:a,size:s,locale:l,responsive:c,showSizeChanger:u,selectComponentClass:d,pageSizeOptions:f}=e,h=yht(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:m}=X5(c),[,g]=qo(),{getPrefixCls:v,direction:y,pagination:b={}}=p.useContext(Xt),_=v("pagination",n),[E,C,S]=ght(_),w=Co(s),T=w==="small"||!!(m&&!w&&c),[O]=ds("Pagination",tSe),x=Object.assign(Object.assign({},O),l),[A,I]=_oe(u),[M,B]=_oe(b.showSizeChanger),P=A??M,k=I??B,N=d||bu,L=p.useMemo(()=>f?f.map(Z=>Number(Z)):void 0,[f]),V=Z=>{var te;const{disabled:ae,size:K,onSizeChange:Q,"aria-label":ie,className:he,options:pe}=Z,{className:le,onChange:de}=k||{},ve=(te=pe.find(ne=>String(ne.value)===String(K)))===null||te===void 0?void 0:te.value;return p.createElement(N,Object.assign({disabled:ae,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:ne=>ne.parentNode,"aria-label":ie,options:pe},k,{value:ve,onChange:(ne,ue)=>{Q==null||Q(ne),de==null||de(ne,ue)},size:T?"small":"middle",className:xe(he,le)}))},$=p.useMemo(()=>{const Z=p.createElement("span",{className:`${_}-item-ellipsis`},"•••"),te=p.createElement("button",{className:`${_}-item-link`,type:"button",tabIndex:-1},y==="rtl"?p.createElement(uh,null):p.createElement(m_,null)),ae=p.createElement("button",{className:`${_}-item-link`,type:"button",tabIndex:-1},y==="rtl"?p.createElement(m_,null):p.createElement(uh,null)),K=p.createElement("a",{className:`${_}-item-link`},p.createElement("div",{className:`${_}-item-container`},y==="rtl"?p.createElement(voe,{className:`${_}-item-link-icon`}):p.createElement(goe,{className:`${_}-item-link-icon`}),Z)),Q=p.createElement("a",{className:`${_}-item-link`},p.createElement("div",{className:`${_}-item-container`},y==="rtl"?p.createElement(goe,{className:`${_}-item-link-icon`}):p.createElement(voe,{className:`${_}-item-link-icon`}),Z));return{prevIcon:te,nextIcon:ae,jumpPrevIcon:K,jumpNextIcon:Q}},[y,_]),W=v("select",r),j=xe({[`${_}-${t}`]:!!t,[`${_}-mini`]:T,[`${_}-rtl`]:y==="rtl",[`${_}-bordered`]:g.wireframe},b==null?void 0:b.className,i,o,C,S),U=Object.assign(Object.assign({},b==null?void 0:b.style),a);return E(p.createElement(p.Fragment,null,g.wireframe&&p.createElement(bht,{prefixCls:_}),p.createElement(lht,Object.assign({},$,h,{style:U,prefixCls:_,selectPrefixCls:W,className:j,locale:x,pageSizeOptions:L,showSizeChanger:P,sizeChangerRender:V}))))},nk=100,Dxe=nk/5,Lxe=nk/2-Dxe/2,p$=Lxe*2*Math.PI,Soe=50,Eoe=e=>{const{dotClassName:t,style:n,hasCircleCls:r}=e;return p.createElement("circle",{className:xe(`${t}-circle`,{[`${t}-circle-bg`]:r}),r:Lxe,cx:Soe,cy:Soe,strokeWidth:Dxe,style:n})},_ht=e=>{let{percent:t,prefixCls:n}=e;const r=`${n}-dot`,i=`${r}-holder`,o=`${i}-hidden`,[a,s]=p.useState(!1);ar(()=>{t!==0&&s(!0)},[t!==0]);const l=Math.max(Math.min(t,100),0);if(!a)return null;const c={strokeDashoffset:`${p$/4}`,strokeDasharray:`${p$*l/100} ${p$*(100-l)/100}`};return p.createElement("span",{className:xe(i,`${r}-progress`,l<=0&&o)},p.createElement("svg",{viewBox:`0 0 ${nk} ${nk}`,role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":l},p.createElement(Eoe,{dotClassName:r,hasCircleCls:!0}),p.createElement(Eoe,{dotClassName:r,style:c})))};function Sht(e){const{prefixCls:t,percent:n=0}=e,r=`${t}-dot`,i=`${r}-holder`,o=`${i}-hidden`;return p.createElement(p.Fragment,null,p.createElement("span",{className:xe(i,n>0&&o)},p.createElement("span",{className:xe(r,`${t}-dot-spin`)},[1,2,3,4].map(a=>p.createElement("i",{className:`${t}-dot-item`,key:a})))),p.createElement(_ht,{prefixCls:t,percent:n}))}function Eht(e){const{prefixCls:t,indicator:n,percent:r}=e,i=`${t}-dot`;return n&&p.isValidElement(n)?Eo(n,{className:xe(n.props.className,i),percent:r}):p.createElement(Sht,{prefixCls:t,percent:r})}const Cht=new fr("antSpinMove",{to:{opacity:1}}),wht=new fr("antRotate",{to:{transform:"rotate(405deg)"}}),Tht=e=>{const{componentCls:t,calc:n}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{position:"absolute",display:"none",color:e.colorPrimary,fontSize:0,textAlign:"center",verticalAlign:"middle",opacity:0,transition:`transform ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`,"&-spinning":{position:"relative",display:"inline-block",opacity:1},[`${t}-text`]:{fontSize:e.fontSize,paddingTop:n(n(e.dotSize).sub(e.fontSize)).div(2).add(2).equal()},"&-fullscreen":{position:"fixed",width:"100vw",height:"100vh",backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,inset:0,display:"flex",alignItems:"center",flexDirection:"column",justifyContent:"center",opacity:0,visibility:"hidden",transition:`all ${e.motionDurationMid}`,"&-show":{opacity:1,visibility:"visible"},[t]:{[`${t}-dot-holder`]:{color:e.colorWhite},[`${t}-text`]:{color:e.colorTextLightSolid}}},"&-nested-loading":{position:"relative",[`> div > ${t}`]:{position:"absolute",top:0,insetInlineStart:0,zIndex:4,display:"block",width:"100%",height:"100%",maxHeight:e.contentHeight,[`${t}-dot`]:{position:"absolute",top:"50%",insetInlineStart:"50%",margin:n(e.dotSize).mul(-1).div(2).equal()},[`${t}-text`]:{position:"absolute",top:"50%",width:"100%",textShadow:`0 1px 2px ${e.colorBgContainer}`},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSize).div(2).mul(-1).sub(10).equal()},"&-sm":{[`${t}-dot`]:{margin:n(e.dotSizeSM).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeSM).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeSM).div(2).mul(-1).sub(10).equal()}},"&-lg":{[`${t}-dot`]:{margin:n(e.dotSizeLG).mul(-1).div(2).equal()},[`${t}-text`]:{paddingTop:n(n(e.dotSizeLG).sub(e.fontSize)).div(2).add(2).equal()},[`&${t}-show-text ${t}-dot`]:{marginTop:n(e.dotSizeLG).div(2).mul(-1).sub(10).equal()}}},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},[`${t}-blur`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-tip":{color:e.spinDotDefault},[`${t}-dot-holder`]:{width:"1em",height:"1em",fontSize:e.dotSize,display:"inline-block",transition:`transform ${e.motionDurationSlow} ease, opacity ${e.motionDurationSlow} ease`,transformOrigin:"50% 50%",lineHeight:1,color:e.colorPrimary,"&-hidden":{transform:"scale(0.3)",opacity:0}},[`${t}-dot-progress`]:{position:"absolute",top:"50%",transform:"translate(-50%, -50%)",insetInlineStart:"50%"},[`${t}-dot`]:{position:"relative",display:"inline-block",fontSize:e.dotSize,width:"1em",height:"1em","&-item":{position:"absolute",display:"block",width:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),height:n(e.dotSize).sub(n(e.marginXXS).div(2)).div(2).equal(),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:Cht,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:wht,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(r=>`${r} ${e.motionDurationSlow} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}},[`&-sm ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeSM}},[`&-sm ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal(),height:n(n(e.dotSizeSM).sub(n(e.marginXXS).div(2))).div(2).equal()}},[`&-lg ${t}-dot`]:{"&, &-holder":{fontSize:e.dotSizeLG}},[`&-lg ${t}-dot-holder`]:{i:{width:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal(),height:n(n(e.dotSizeLG).sub(e.marginXXS)).div(2).equal()}},[`&${t}-show-text ${t}-text`]:{display:"block"}})}},xht=e=>{const{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:t*.35,dotSizeLG:n}},Oht=lr("Spin",e=>{const t=Kn(e,{spinDotDefault:e.colorTextDescription});return[Tht(t)]},xht),Rht=200,Coe=[[30,.05],[70,.03],[96,.01]];function Iht(e,t){const[n,r]=p.useState(0),i=p.useRef(null),o=t==="auto";return p.useEffect(()=>(o&&e&&(r(0),i.current=setInterval(()=>{r(a=>{const s=100-a;for(let l=0;l{clearInterval(i.current)}),[o,e]),o?n:t}var Aht=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var t;const{prefixCls:n,spinning:r=!0,delay:i=0,className:o,rootClassName:a,size:s="default",tip:l,wrapperClassName:c,style:u,children:d,fullscreen:f=!1,indicator:h,percent:m}=e,g=Aht(e,["prefixCls","spinning","delay","className","rootClassName","size","tip","wrapperClassName","style","children","fullscreen","indicator","percent"]),{getPrefixCls:v,direction:y,spin:b}=p.useContext(Xt),_=v("spin",n),[E,C,S]=Oht(_),[w,T]=p.useState(()=>r&&!Nht(r,i)),O=Iht(w,m);p.useEffect(()=>{if(r){const k=Dlt(i,()=>{T(!0)});return k(),()=>{var N;(N=k==null?void 0:k.cancel)===null||N===void 0||N.call(k)}}T(!1)},[i,r]);const x=p.useMemo(()=>typeof d<"u"&&!f,[d,f]),A=xe(_,b==null?void 0:b.className,{[`${_}-sm`]:s==="small",[`${_}-lg`]:s==="large",[`${_}-spinning`]:w,[`${_}-show-text`]:!!l,[`${_}-rtl`]:y==="rtl"},o,!f&&a,C,S),I=xe(`${_}-container`,{[`${_}-blur`]:w}),M=(t=h??(b==null?void 0:b.indicator))!==null&&t!==void 0?t:$xe,B=Object.assign(Object.assign({},b==null?void 0:b.style),u),P=p.createElement("div",Object.assign({},g,{style:B,className:A,"aria-live":"polite","aria-busy":w}),p.createElement(Eht,{prefixCls:_,indicator:M,percent:O}),l&&(x||f)?p.createElement("div",{className:`${_}-text`},l):null);return E(x?p.createElement("div",Object.assign({},g,{className:xe(`${_}-nested-loading`,c,C,S)}),w&&p.createElement("div",{key:"loading"},P),p.createElement("div",{className:I,key:"container"},d)):f?p.createElement("div",{className:xe(`${_}-fullscreen`,{[`${_}-fullscreen-show`]:w},a,C,S)},P):P)};Nc.setDefaultIndicator=e=>{$xe=e};const LY=se.createContext({});LY.Consumer;var Fxe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{prefixCls:t,className:n,avatar:r,title:i,description:o}=e,a=Fxe(e,["prefixCls","className","avatar","title","description"]);const{getPrefixCls:s}=p.useContext(Xt),l=s("list",t),c=xe(`${l}-item-meta`,n),u=se.createElement("div",{className:`${l}-item-meta-content`},i&&se.createElement("h4",{className:`${l}-item-meta-title`},i),o&&se.createElement("div",{className:`${l}-item-meta-description`},o));return se.createElement("div",Object.assign({},a,{className:c}),r&&se.createElement("div",{className:`${l}-item-meta-avatar`},r),(i||o)&&u)},kht=se.forwardRef((e,t)=>{const{prefixCls:n,children:r,actions:i,extra:o,styles:a,className:s,classNames:l,colStyle:c}=e,u=Fxe(e,["prefixCls","children","actions","extra","styles","className","classNames","colStyle"]),{grid:d,itemLayout:f}=p.useContext(LY),{getPrefixCls:h,list:m}=p.useContext(Xt),g=w=>{var T,O;return xe((O=(T=m==null?void 0:m.item)===null||T===void 0?void 0:T.classNames)===null||O===void 0?void 0:O[w],l==null?void 0:l[w])},v=w=>{var T,O;return Object.assign(Object.assign({},(O=(T=m==null?void 0:m.item)===null||T===void 0?void 0:T.styles)===null||O===void 0?void 0:O[w]),a==null?void 0:a[w])},y=()=>{let w=!1;return p.Children.forEach(r,T=>{typeof T=="string"&&(w=!0)}),w&&p.Children.count(r)>1},b=()=>f==="vertical"?!!o:!y(),_=h("list",n),E=i&&i.length>0&&se.createElement("ul",{className:xe(`${_}-item-action`,g("actions")),key:"actions",style:v("actions")},i.map((w,T)=>se.createElement("li",{key:`${_}-item-action-${T}`},w,T!==i.length-1&&se.createElement("em",{className:`${_}-item-action-split`})))),C=d?"div":"li",S=se.createElement(C,Object.assign({},u,d?{}:{ref:t},{className:xe(`${_}-item`,{[`${_}-item-no-flex`]:!b()},s)}),f==="vertical"&&o?[se.createElement("div",{className:`${_}-item-main`,key:"content"},r,E),se.createElement("div",{className:xe(`${_}-item-extra`,g("extra")),key:"extra",style:v("extra")},o)]:[r,E,Eo(o,{key:"extra"})]);return d?se.createElement(zv,{ref:t,flex:1,style:c},S):S}),Bxe=kht;Bxe.Meta=Mht;const Pht=e=>{const{listBorderedCls:t,componentCls:n,paddingLG:r,margin:i,itemPaddingSM:o,itemPaddingLG:a,marginLG:s,borderRadiusLG:l}=e;return{[t]:{border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:l,[`${n}-header,${n}-footer,${n}-item`]:{paddingInline:r},[`${n}-pagination`]:{margin:`${Ae(i)} ${Ae(s)}`}},[`${t}${n}-sm`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:o}},[`${t}${n}-lg`]:{[`${n}-item,${n}-header,${n}-footer`]:{padding:a}}}},Dht=e=>{const{componentCls:t,screenSM:n,screenMD:r,marginLG:i,marginSM:o,margin:a}=e;return{[`@media screen and (max-width:${r}px)`]:{[t]:{[`${t}-item`]:{[`${t}-item-action`]:{marginInlineStart:i}}},[`${t}-vertical`]:{[`${t}-item`]:{[`${t}-item-extra`]:{marginInlineStart:i}}}},[`@media screen and (max-width: ${n}px)`]:{[t]:{[`${t}-item`]:{flexWrap:"wrap",[`${t}-action`]:{marginInlineStart:o}}},[`${t}-vertical`]:{[`${t}-item`]:{flexWrap:"wrap-reverse",[`${t}-item-main`]:{minWidth:e.contentWidth},[`${t}-item-extra`]:{margin:`auto auto ${Ae(a)}`}}}}}},Lht=e=>{const{componentCls:t,antCls:n,controlHeight:r,minHeight:i,paddingSM:o,marginLG:a,padding:s,itemPadding:l,colorPrimary:c,itemPaddingSM:u,itemPaddingLG:d,paddingXS:f,margin:h,colorText:m,colorTextDescription:g,motionDurationSlow:v,lineWidth:y,headerBg:b,footerBg:_,emptyTextPadding:E,metaMarginBottom:C,avatarMarginRight:S,titleMarginBottom:w,descriptionFontSize:T}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{position:"relative","*":{outline:"none"},[`${t}-header`]:{background:b},[`${t}-footer`]:{background:_},[`${t}-header, ${t}-footer`]:{paddingBlock:o},[`${t}-pagination`]:{marginBlockStart:a,[`${n}-pagination-options`]:{textAlign:"start"}},[`${t}-spin`]:{minHeight:i,textAlign:"center"},[`${t}-items`]:{margin:0,padding:0,listStyle:"none"},[`${t}-item`]:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:l,color:m,[`${t}-item-meta`]:{display:"flex",flex:1,alignItems:"flex-start",maxWidth:"100%",[`${t}-item-meta-avatar`]:{marginInlineEnd:S},[`${t}-item-meta-content`]:{flex:"1 0",width:0,color:m},[`${t}-item-meta-title`]:{margin:`0 0 ${Ae(e.marginXXS)} 0`,color:m,fontSize:e.fontSize,lineHeight:e.lineHeight,"> a":{color:m,transition:`all ${v}`,"&:hover":{color:c}}},[`${t}-item-meta-description`]:{color:g,fontSize:T,lineHeight:e.lineHeight}},[`${t}-item-action`]:{flex:"0 0 auto",marginInlineStart:e.marginXXL,padding:0,fontSize:0,listStyle:"none","& > li":{position:"relative",display:"inline-block",padding:`0 ${Ae(f)}`,color:g,fontSize:e.fontSize,lineHeight:e.lineHeight,textAlign:"center","&:first-child":{paddingInlineStart:0}},[`${t}-item-action-split`]:{position:"absolute",insetBlockStart:"50%",insetInlineEnd:0,width:y,height:e.calc(e.fontHeight).sub(e.calc(e.marginXXS).mul(2)).equal(),transform:"translateY(-50%)",backgroundColor:e.colorSplit}}},[`${t}-empty`]:{padding:`${Ae(s)} 0`,color:g,fontSize:e.fontSizeSM,textAlign:"center"},[`${t}-empty-text`]:{padding:E,color:e.colorTextDisabled,fontSize:e.fontSize,textAlign:"center"},[`${t}-item-no-flex`]:{display:"block"}}),[`${t}-grid ${n}-col > ${t}-item`]:{display:"block",maxWidth:"100%",marginBlockEnd:h,paddingBlock:0,borderBlockEnd:"none"},[`${t}-vertical ${t}-item`]:{alignItems:"initial",[`${t}-item-main`]:{display:"block",flex:1},[`${t}-item-extra`]:{marginInlineStart:a},[`${t}-item-meta`]:{marginBlockEnd:C,[`${t}-item-meta-title`]:{marginBlockStart:0,marginBlockEnd:w,color:m,fontSize:e.fontSizeLG,lineHeight:e.lineHeightLG}},[`${t}-item-action`]:{marginBlockStart:s,marginInlineStart:"auto","> li":{padding:`0 ${Ae(s)}`,"&:first-child":{paddingInlineStart:0}}}},[`${t}-split ${t}-item`]:{borderBlockEnd:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`,"&:last-child":{borderBlockEnd:"none"}},[`${t}-split ${t}-header`]:{borderBlockEnd:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-split${t}-empty ${t}-footer`]:{borderTop:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-loading ${t}-spin-nested-loading`]:{minHeight:r},[`${t}-split${t}-something-after-last-item ${n}-spin-container > ${t}-items > ${t}-item:last-child`]:{borderBlockEnd:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorSplit}`},[`${t}-lg ${t}-item`]:{padding:d},[`${t}-sm ${t}-item`]:{padding:u},[`${t}:not(${t}-vertical)`]:{[`${t}-item-no-flex`]:{[`${t}-item-action`]:{float:"right"}}}}},$ht=e=>({contentWidth:220,itemPadding:`${Ae(e.paddingContentVertical)} 0`,itemPaddingSM:`${Ae(e.paddingContentVerticalSM)} ${Ae(e.paddingContentHorizontal)}`,itemPaddingLG:`${Ae(e.paddingContentVerticalLG)} ${Ae(e.paddingContentHorizontalLG)}`,headerBg:"transparent",footerBg:"transparent",emptyTextPadding:e.padding,metaMarginBottom:e.padding,avatarMarginRight:e.padding,titleMarginBottom:e.paddingSM,descriptionFontSize:e.fontSize}),Fht=lr("List",e=>{const t=Kn(e,{listBorderedCls:`${e.componentCls}-bordered`,minHeight:e.controlHeightLG});return[Lht(t),Pht(t),Dht(t)]},$ht);var Bht=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i(be,_e)=>{var Re;T(be),x(_e),n&&((Re=n==null?void 0:n[me])===null||Re===void 0||Re.call(n,be,_e))},N=k("onChange"),L=k("onShowSizeChange"),V=(me,be)=>{if(!_)return null;let _e;return typeof b=="function"?_e=b(me):b?_e=me[b]:_e=me.key,_e||(_e=`list-item-${be}`),p.createElement(p.Fragment,{key:_e},_(me,be))},$=()=>!!(d||n||v),W=A("list",r),[j,U,Z]=Fht(W);let te=y;typeof te=="boolean"&&(te={spinning:te});const ae=!!(te!=null&&te.spinning),K=Co(m);let Q="";switch(K){case"large":Q="lg";break;case"small":Q="sm";break}const ie=xe(W,{[`${W}-vertical`]:u==="vertical",[`${W}-${Q}`]:Q,[`${W}-split`]:o,[`${W}-bordered`]:i,[`${W}-loading`]:ae,[`${W}-grid`]:!!f,[`${W}-something-after-last-item`]:$(),[`${W}-rtl`]:M==="rtl"},B==null?void 0:B.className,a,s,U,Z),he=DY(P,{total:h.length,current:w,pageSize:O},n||{}),pe=Math.ceil(he.total/he.pageSize);he.current>pe&&(he.current=pe);const le=n&&p.createElement("div",{className:xe(`${W}-pagination`)},p.createElement(Pxe,Object.assign({align:"end"},he,{onChange:N,onShowSizeChange:L})));let de=nt(h);n&&h.length>(he.current-1)*he.pageSize&&(de=nt(h).splice((he.current-1)*he.pageSize,he.pageSize));const ve=Object.keys(f||{}).some(me=>["xs","sm","md","lg","xl","xxl"].includes(me)),ne=X5(ve),ue=p.useMemo(()=>{for(let me=0;me{if(!f)return;const me=ue&&f[ue]?f[ue]:f.column;if(me)return{width:`${100/me}%`,maxWidth:`${100/me}%`}},[JSON.stringify(f),ue]);let Ce=ae&&p.createElement("div",{style:{minHeight:53}});if(de.length>0){const me=de.map((be,_e)=>V(be,_e));Ce=f?p.createElement(w2,{gutter:f.gutter},p.Children.map(me,be=>p.createElement("div",{key:be==null?void 0:be.key,style:ge},be))):p.createElement("ul",{className:`${W}-items`},me)}else!c&&!ae&&(Ce=p.createElement("div",{className:`${W}-empty-text`},(E==null?void 0:E.emptyText)||(I==null?void 0:I("List"))||p.createElement(yS,{componentName:"List"})));const Te=he.position||"bottom",Se=p.useMemo(()=>({grid:f,itemLayout:u}),[JSON.stringify(f),u]);return j(p.createElement(LY.Provider,{value:Se},p.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},B==null?void 0:B.style),l),className:ie},C),(Te==="top"||Te==="both")&&le,g&&p.createElement("div",{className:`${W}-header`},g),p.createElement(Nc,Object.assign({},te),Ce,c),v&&p.createElement("div",{className:`${W}-footer`},v),d||(Te==="bottom"||Te==="both")&&le)))}const Hht=p.forwardRef(jht),jxe=Hht;jxe.Item=Bxe;function Uht(e){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)&&e==null?[]:Array.isArray(e)?e:[e]}let qc=null,z1=e=>e(),$T=[],FT={};function woe(){const{getContainer:e,duration:t,rtl:n,maxCount:r,top:i}=FT,o=(e==null?void 0:e())||document.body;return{getContainer:()=>o,duration:t,rtl:n,maxCount:r,top:i}}const zht=se.forwardRef((e,t)=>{const{messageConfig:n,sync:r}=e,{getPrefixCls:i}=p.useContext(Xt),o=FT.prefixCls||i("message"),a=p.useContext(jH),[s,l]=eEe(Object.assign(Object.assign(Object.assign({},n),{prefixCls:o}),a.message));return se.useImperativeHandle(t,()=>{const c=Object.assign({},s);return Object.keys(c).forEach(u=>{c[u]=function(){return r(),s[u].apply(s,arguments)}}),{instance:c,sync:r}}),l}),Vht=se.forwardRef((e,t)=>{const[n,r]=se.useState(woe),i=()=>{r(woe)};se.useEffect(i,[]);const o=FSe(),a=o.getRootPrefixCls(),s=o.getIconPrefixCls(),l=o.getTheme(),c=se.createElement(zht,{ref:t,sync:i,messageConfig:n});return se.createElement(Ln,{prefixCls:a,iconPrefixCls:s,theme:l},o.holderRender?o.holderRender(c):c)});function yD(){if(!qc){const e=document.createDocumentFragment(),t={fragment:e};qc=t,z1(()=>{Tq()(se.createElement(Vht,{ref:r=>{const{instance:i,sync:o}=r||{};Promise.resolve().then(()=>{!t.instance&&i&&(t.instance=i,t.sync=o,yD())})}}),e)});return}qc.instance&&($T.forEach(e=>{const{type:t,skipped:n}=e;if(!n)switch(t){case"open":{z1(()=>{const r=qc.instance.open(Object.assign(Object.assign({},FT),e.config));r==null||r.then(e.resolve),e.setCloseFn(r)});break}case"destroy":z1(()=>{qc==null||qc.instance.destroy(e.key)});break;default:z1(()=>{var r;const i=(r=qc.instance)[t].apply(r,nt(e.args));i==null||i.then(e.resolve),e.setCloseFn(i)})}}),$T=[])}function Ght(e){FT=Object.assign(Object.assign({},FT),e),z1(()=>{var t;(t=qc==null?void 0:qc.sync)===null||t===void 0||t.call(qc)})}function Wht(e){const t=wq(n=>{let r;const i={type:"open",config:e,resolve:n,setCloseFn:o=>{r=o}};return $T.push(i),()=>{r?z1(()=>{r()}):i.skipped=!0}});return yD(),t}function qht(e,t){const n=wq(r=>{let i;const o={type:e,args:t,resolve:r,setCloseFn:a=>{i=a}};return $T.push(o),()=>{i?z1(()=>{i()}):o.skipped=!0}});return yD(),n}const Yht=e=>{$T.push({type:"destroy",key:e}),yD()},Kht=["success","info","warning","error","loading"],Qht={open:Wht,destroy:Yht,config:Ght,useMessage:tEe,_InternalPanelDoNotUseOrYouWillBeFired:PQe},zo=Qht;Kht.forEach(e=>{zo[e]=function(){for(var t=arguments.length,n=new Array(t),r=0;r{const{prefixCls:t,className:n,closeIcon:r,closable:i,type:o,title:a,children:s,footer:l}=e,c=Xht(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:u}=p.useContext(Xt),d=u(),f=t||u("modal"),h=ui(d),[m,g,v]=UEe(f,h),y=`${f}-confirm`;let b={};return o?b={closable:i??!1,title:"",footer:"",children:p.createElement(VEe,Object.assign({},e,{prefixCls:f,confirmPrefixCls:y,rootPrefixCls:d,content:s}))}:b={closable:i??!0,title:a,footer:l!==null&&p.createElement($Ee,Object.assign({},e)),children:s},m(p.createElement(EEe,Object.assign({prefixCls:f,className:xe(g,`${f}-pure-panel`,o&&y,o&&`${y}-${o}`,n,v,h)},c,{closeIcon:LEe(f,r),closable:i},b)))},Jht=nCe(Zht);function Hxe(e){return u2(YEe(e))}const Yo=zEe;Yo.useModal=JEe;Yo.info=function(t){return u2(KEe(t))};Yo.success=function(t){return u2(QEe(t))};Yo.error=function(t){return u2(XEe(t))};Yo.warning=Hxe;Yo.warn=Hxe;Yo.confirm=function(t){return u2(ZEe(t))};Yo.destroyAll=function(){for(;H1.length;){const t=H1.pop();t&&t()}};Yo.config=Ket;Yo._InternalPanelDoNotUseOrYouWillBeFired=Jht;const emt=e=>{const{componentCls:t,iconCls:n,antCls:r,zIndexPopup:i,colorText:o,colorWarning:a,marginXXS:s,marginXS:l,fontSize:c,fontWeightStrong:u,colorTextHeading:d}=e;return{[t]:{zIndex:i,[`&${r}-popover`]:{fontSize:c},[`${t}-message`]:{marginBottom:l,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:a,fontSize:c,lineHeight:1,marginInlineEnd:l},[`${t}-title`]:{fontWeight:u,color:d,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:s,color:o}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:l}}}}},tmt=e=>{const{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},Uxe=lr("Popconfirm",e=>emt(e),tmt,{resetStyle:!1});var nmt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:t,okButtonProps:n,cancelButtonProps:r,title:i,description:o,cancelText:a,okText:s,okType:l="primary",icon:c=p.createElement(Ag,null),showCancel:u=!0,close:d,onConfirm:f,onCancel:h,onPopupClick:m}=e,{getPrefixCls:g}=p.useContext(Xt),[v]=ds("Popconfirm",Cc.Popconfirm),y=h_(i),b=h_(o);return p.createElement("div",{className:`${t}-inner-content`,onClick:m},p.createElement("div",{className:`${t}-message`},c&&p.createElement("span",{className:`${t}-message-icon`},c),p.createElement("div",{className:`${t}-message-text`},y&&p.createElement("div",{className:`${t}-title`},y),b&&p.createElement("div",{className:`${t}-description`},b))),p.createElement("div",{className:`${t}-buttons`},u&&p.createElement($n,Object.assign({onClick:h,size:"small"},r),a||(v==null?void 0:v.cancelText)),p.createElement(Pq,{buttonProps:Object.assign(Object.assign({size:"small"},xq(l)),n),actionFn:f,close:d,prefixCls:g("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},s||(v==null?void 0:v.okText))))},rmt=e=>{const{prefixCls:t,placement:n,className:r,style:i}=e,o=nmt(e,["prefixCls","placement","className","style"]),{getPrefixCls:a}=p.useContext(Xt),s=a("popconfirm",t),[l]=Uxe(s);return l(p.createElement(MCe,{placement:n,className:xe(s,r),style:i,content:p.createElement(zxe,Object.assign({prefixCls:s},o))}))};var imt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n,r,i,o,a,s;const{prefixCls:l,placement:c="top",trigger:u="click",okType:d="primary",icon:f=p.createElement(Ag,null),children:h,overlayClassName:m,onOpenChange:g,onVisibleChange:v,overlayStyle:y,styles:b,classNames:_}=e,E=imt(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange","overlayStyle","styles","classNames"]),{getPrefixCls:C,popconfirm:S}=p.useContext(Xt),[w,T]=Pn(!1,{value:(n=e.open)!==null&&n!==void 0?n:e.visible,defaultValue:(r=e.defaultOpen)!==null&&r!==void 0?r:e.defaultVisible}),O=(L,V)=>{T(L,!0),v==null||v(L),g==null||g(L,V)},x=L=>{O(!1,L)},A=L=>{var V;return(V=e.onConfirm)===null||V===void 0?void 0:V.call(void 0,L)},I=L=>{var V;O(!1,L),(V=e.onCancel)===null||V===void 0||V.call(void 0,L)},M=(L,V)=>{const{disabled:$=!1}=e;$||O(L,V)},B=C("popconfirm",l),P=xe(B,m,(i=S==null?void 0:S.classNames)===null||i===void 0?void 0:i.root,_==null?void 0:_.root),k=xe((o=S==null?void 0:S.classNames)===null||o===void 0?void 0:o.body,_==null?void 0:_.body),[N]=Uxe(B);return N(p.createElement(yu,Object.assign({},ur(E,["title"]),{trigger:u,placement:c,onOpenChange:M,open:w,ref:t,classNames:{root:P,body:k},styles:{root:Object.assign(Object.assign(Object.assign(Object.assign({},(a=S==null?void 0:S.styles)===null||a===void 0?void 0:a.root),S==null?void 0:S.style),y),b==null?void 0:b.root),body:Object.assign(Object.assign({},(s=S==null?void 0:S.styles)===null||s===void 0?void 0:s.body),b==null?void 0:b.body)},content:p.createElement(zxe,Object.assign({okType:d,icon:f},e,{prefixCls:B,close:x,onConfirm:A,onCancel:I})),"data-popover-inject":!0}),h))}),_D=omt;_D._InternalPanelDoNotUseOrYouWillBeFired=rmt;var amt={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},smt=function(){var t=p.useRef([]),n=p.useRef(null);return p.useEffect(function(){var r=Date.now(),i=!1;t.current.forEach(function(o){if(o){i=!0;var a=o.style;a.transitionDuration=".3s, .3s, .3s, .06s",n.current&&r-n.current<100&&(a.transitionDuration="0s, 0s")}}),i&&(n.current=Date.now())}),t.current},Toe=0,lmt=Xs();function cmt(){var e;return lmt?(e=Toe,Toe+=1):e="TEST_OR_SSR",e}const umt=function(e){var t=p.useState(),n=Ie(t,2),r=n[0],i=n[1];return p.useEffect(function(){i("rc_progress_".concat(cmt()))},[]),e||r};var xoe=function(t){var n=t.bg,r=t.children;return p.createElement("div",{style:{width:"100%",height:"100%",background:n}},r)};function Ooe(e,t){return Object.keys(e).map(function(n){var r=parseFloat(n),i="".concat(Math.floor(r*t),"%");return"".concat(e[n]," ").concat(i)})}var dmt=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.color,i=e.gradientId,o=e.radius,a=e.style,s=e.ptg,l=e.strokeLinecap,c=e.strokeWidth,u=e.size,d=e.gapDegree,f=r&&Gt(r)==="object",h=f?"#FFF":void 0,m=u/2,g=p.createElement("circle",{className:"".concat(n,"-circle-path"),r:o,cx:m,cy:m,stroke:h,strokeLinecap:l,strokeWidth:c,opacity:s===0?0:1,style:a,ref:t});if(!f)return g;var v="".concat(i,"-conic"),y=d?"".concat(180+d/2,"deg"):"0deg",b=Ooe(r,(360-d)/360),_=Ooe(r,1),E="conic-gradient(from ".concat(y,", ").concat(b.join(", "),")"),C="linear-gradient(to ".concat(d?"bottom":"top",", ").concat(_.join(", "),")");return p.createElement(p.Fragment,null,p.createElement("mask",{id:v},g),p.createElement("foreignObject",{x:0,y:0,width:u,height:u,mask:"url(#".concat(v,")")},p.createElement(xoe,{bg:C},p.createElement(xoe,{bg:E}))))}),PC=100,h$=function(t,n,r,i,o,a,s,l,c,u){var d=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,f=r/100*360*((360-a)/360),h=a===0?0:{bottom:0,top:180,left:90,right:-90}[s],m=(100-i)/100*n;c==="round"&&i!==100&&(m+=u/2,m>=n&&(m=n-.01));var g=PC/2;return{stroke:typeof l=="string"?l:void 0,strokeDasharray:"".concat(n,"px ").concat(t),strokeDashoffset:m+d,transform:"rotate(".concat(o+f+h,"deg)"),transformOrigin:"".concat(g,"px ").concat(g,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},fmt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Roe(e){var t=e??[];return Array.isArray(t)?t:[t]}var pmt=function(t){var n=G(G({},amt),t),r=n.id,i=n.prefixCls,o=n.steps,a=n.strokeWidth,s=n.trailWidth,l=n.gapDegree,c=l===void 0?0:l,u=n.gapPosition,d=n.trailColor,f=n.strokeLinecap,h=n.style,m=n.className,g=n.strokeColor,v=n.percent,y=Dt(n,fmt),b=PC/2,_=umt(r),E="".concat(_,"-gradient"),C=b-a/2,S=Math.PI*2*C,w=c>0?90+c/2:-90,T=S*((360-c)/360),O=Gt(o)==="object"?o:{count:o,gap:2},x=O.count,A=O.gap,I=Roe(v),M=Roe(g),B=M.find(function(W){return W&&Gt(W)==="object"}),P=B&&Gt(B)==="object",k=P?"butt":f,N=h$(S,T,0,100,w,c,u,d,k,a),L=smt(),V=function(){var j=0;return I.map(function(U,Z){var te=M[Z]||M[M.length-1],ae=h$(S,T,j,U,w,c,u,te,k,a);return j+=U,p.createElement(dmt,{key:Z,color:te,ptg:U,radius:C,prefixCls:i,gradientId:E,style:ae,strokeLinecap:k,strokeWidth:a,gapDegree:c,ref:function(Q){L[Z]=Q},size:PC})}).reverse()},$=function(){var j=Math.round(x*(I[0]/100)),U=100/x,Z=0;return new Array(x).fill(null).map(function(te,ae){var K=ae<=j-1?M[0]:d,Q=K&&Gt(K)==="object"?"url(#".concat(E,")"):void 0,ie=h$(S,T,Z,U,w,c,u,K,"butt",a,A);return Z+=(T-ie.strokeDashoffset+A)*100/T,p.createElement("circle",{key:ae,className:"".concat(i,"-circle-path"),r:C,cx:b,cy:b,stroke:Q,strokeWidth:a,opacity:1,style:ie,ref:function(pe){L[ae]=pe}})})};return p.createElement("svg",Ke({className:xe("".concat(i,"-circle"),m),viewBox:"0 0 ".concat(PC," ").concat(PC),style:h,id:r,role:"presentation"},y),!x&&p.createElement("circle",{className:"".concat(i,"-circle-trail"),r:C,cx:b,cy:b,stroke:d,strokeLinecap:k,strokeWidth:s||a,style:N}),x?$():V())};function ag(e){return!e||e<0?0:e>100?100:e}function rk(e){let{success:t,successPercent:n}=e,r=n;return t&&"progress"in t&&(r=t.progress),t&&"percent"in t&&(r=t.percent),r}const hmt=e=>{let{percent:t,success:n,successPercent:r}=e;const i=ag(rk({success:n,successPercent:r}));return[i,ag(ag(t)-i)]},mmt=e=>{let{success:t={},strokeColor:n}=e;const{strokeColor:r}=t;return[r||uv.green,n||null]},SD=(e,t,n)=>{var r,i,o,a;let s=-1,l=-1;if(t==="step"){const c=n.steps,u=n.strokeWidth;typeof e=="string"||typeof e>"u"?(s=e==="small"?2:14,l=u??8):typeof e=="number"?[s,l]=[e,e]:[s=14,l=8]=Array.isArray(e)?e:[e.width,e.height],s*=c}else if(t==="line"){const c=n==null?void 0:n.strokeWidth;typeof e=="string"||typeof e>"u"?l=c||(e==="small"?6:8):typeof e=="number"?[s,l]=[e,e]:[s=-1,l=8]=Array.isArray(e)?e:[e.width,e.height]}else(t==="circle"||t==="dashboard")&&(typeof e=="string"||typeof e>"u"?[s,l]=e==="small"?[60,60]:[120,120]:typeof e=="number"?[s,l]=[e,e]:Array.isArray(e)&&(s=(i=(r=e[0])!==null&&r!==void 0?r:e[1])!==null&&i!==void 0?i:120,l=(a=(o=e[0])!==null&&o!==void 0?o:e[1])!==null&&a!==void 0?a:120));return[s,l]},gmt=3,vmt=e=>gmt/e*100,bmt=e=>{const{prefixCls:t,trailColor:n=null,strokeLinecap:r="round",gapPosition:i,gapDegree:o,width:a=120,type:s,children:l,success:c,size:u=a,steps:d}=e,[f,h]=SD(u,"circle");let{strokeWidth:m}=e;m===void 0&&(m=Math.max(vmt(f),6));const g={width:f,height:h,fontSize:f*.15+6},v=p.useMemo(()=>{if(o||o===0)return o;if(s==="dashboard")return 75},[o,s]),y=hmt(e),b=i||s==="dashboard"&&"bottom"||void 0,_=Object.prototype.toString.call(e.strokeColor)==="[object Object]",E=mmt({success:c,strokeColor:e.strokeColor}),C=xe(`${t}-inner`,{[`${t}-circle-gradient`]:_}),S=p.createElement(pmt,{steps:d,percent:d?y[1]:y,strokeWidth:m,trailWidth:m,strokeColor:d?E[1]:E,strokeLinecap:r,trailColor:n,prefixCls:t,gapDegree:v,gapPosition:b}),w=f<=20,T=p.createElement("div",{className:C,style:g},S,!w&&l);return w?p.createElement(Aa,{title:l},T):T},ik="--progress-line-stroke-color",Vxe="--progress-percent",Ioe=e=>{const t=e?"100%":"-100%";return new fr(`antProgress${e?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${t}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${t}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},ymt=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:e.fontSize},[`${t}-outer`]:{display:"inline-flex",alignItems:"center",width:"100%"},[`${t}-inner`]:{position:"relative",display:"inline-block",width:"100%",flex:1,overflow:"hidden",verticalAlign:"middle",backgroundColor:e.remainingColor,borderRadius:e.lineBorderRadius},[`${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.defaultColor}},[`${t}-success-bg, ${t}-bg`]:{position:"relative",background:e.defaultColor,borderRadius:e.lineBorderRadius,transition:`all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`},[`${t}-layout-bottom`]:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",[`${t}-text`]:{width:"max-content",marginInlineStart:0,marginTop:e.marginXXS}},[`${t}-bg`]:{overflow:"hidden","&::after":{content:'""',background:{_multi_value_:!0,value:["inherit",`var(${ik})`]},height:"100%",width:`calc(1 / var(${Vxe}) * 100%)`,display:"block"},[`&${t}-bg-inner`]:{minWidth:"max-content","&::after":{content:"none"},[`${t}-text-inner`]:{color:e.colorWhite,[`&${t}-text-bright`]:{color:"rgba(0, 0, 0, 0.45)"}}}},[`${t}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:e.colorSuccess},[`${t}-text`]:{display:"inline-block",marginInlineStart:e.marginXS,color:e.colorText,lineHeight:1,width:"2em",whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[n]:{fontSize:e.fontSize},[`&${t}-text-outer`]:{width:"max-content"},[`&${t}-text-outer${t}-text-start`]:{width:"max-content",marginInlineStart:0,marginInlineEnd:e.marginXS}},[`${t}-text-inner`]:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",marginInlineStart:0,padding:`0 ${Ae(e.paddingXXS)}`,[`&${t}-text-start`]:{justifyContent:"start"},[`&${t}-text-end`]:{justifyContent:"end"}},[`&${t}-status-active`]:{[`${t}-bg::before`]:{position:"absolute",inset:0,backgroundColor:e.colorBgContainer,borderRadius:e.lineBorderRadius,opacity:0,animationName:Ioe(),animationDuration:e.progressActiveMotionDuration,animationTimingFunction:e.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${t}-rtl${t}-status-active`]:{[`${t}-bg::before`]:{animationName:Ioe(!0)}},[`&${t}-status-exception`]:{[`${t}-bg`]:{backgroundColor:e.colorError},[`${t}-text`]:{color:e.colorError}},[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorError}},[`&${t}-status-success`]:{[`${t}-bg`]:{backgroundColor:e.colorSuccess},[`${t}-text`]:{color:e.colorSuccess}},[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]:{[`${t}-circle-path`]:{stroke:e.colorSuccess}}})}},_mt=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-circle-trail`]:{stroke:e.remainingColor},[`&${t}-circle ${t}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${t}-circle ${t}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:e.circleTextColor,fontSize:e.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[n]:{fontSize:e.circleIconFontSize}},[`${t}-circle&-status-exception`]:{[`${t}-text`]:{color:e.colorError}},[`${t}-circle&-status-success`]:{[`${t}-text`]:{color:e.colorSuccess}}},[`${t}-inline-circle`]:{lineHeight:1,[`${t}-inner`]:{verticalAlign:"bottom"}}}},Smt=e=>{const{componentCls:t}=e;return{[t]:{[`${t}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:e.progressStepMinWidth,marginInlineEnd:e.progressStepMarginInlineEnd,backgroundColor:e.remainingColor,transition:`all ${e.motionDurationSlow}`,"&-active":{backgroundColor:e.defaultColor}}}}}},Emt=e=>{const{componentCls:t,iconCls:n}=e;return{[t]:{[`${t}-small&-line, ${t}-small&-line ${t}-text ${n}`]:{fontSize:e.fontSizeSM}}}},Cmt=e=>({circleTextColor:e.colorText,defaultColor:e.colorInfo,remainingColor:e.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em",circleIconFontSize:`${e.fontSize/e.fontSizeSM}em`}),wmt=lr("Progress",e=>{const t=e.calc(e.marginXXS).div(2).equal(),n=Kn(e,{progressStepMarginInlineEnd:t,progressStepMinWidth:t,progressActiveMotionDuration:"2.4s"});return[ymt(n),_mt(n),Smt(n),Emt(n)]},Cmt);var Tmt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{let t=[];return Object.keys(e).forEach(n=>{const r=parseFloat(n.replace(/%/g,""));Number.isNaN(r)||t.push({key:r,value:e[n]})}),t=t.sort((n,r)=>n.key-r.key),t.map(n=>{let{key:r,value:i}=n;return`${i} ${r}%`}).join(", ")},Omt=(e,t)=>{const{from:n=uv.blue,to:r=uv.blue,direction:i=t==="rtl"?"to left":"to right"}=e,o=Tmt(e,["from","to","direction"]);if(Object.keys(o).length!==0){const s=xmt(o),l=`linear-gradient(${i}, ${s})`;return{background:l,[ik]:l}}const a=`linear-gradient(${i}, ${n}, ${r})`;return{background:a,[ik]:a}},Rmt=e=>{const{prefixCls:t,direction:n,percent:r,size:i,strokeWidth:o,strokeColor:a,strokeLinecap:s="round",children:l,trailColor:c=null,percentPosition:u,success:d}=e,{align:f,type:h}=u,m=a&&typeof a!="string"?Omt(a,n):{[ik]:a,background:a},g=s==="square"||s==="butt"?0:void 0,v=i??[-1,o||(i==="small"?6:8)],[y,b]=SD(v,"line",{strokeWidth:o}),_={backgroundColor:c||void 0,borderRadius:g},E=Object.assign(Object.assign({width:`${ag(r)}%`,height:b,borderRadius:g},m),{[Vxe]:ag(r)/100}),C=rk(e),S={width:`${ag(C)}%`,height:b,borderRadius:g,backgroundColor:d==null?void 0:d.strokeColor},w={width:y<0?"100%":y},T=p.createElement("div",{className:`${t}-inner`,style:_},p.createElement("div",{className:xe(`${t}-bg`,`${t}-bg-${h}`),style:E},h==="inner"&&l),C!==void 0&&p.createElement("div",{className:`${t}-success-bg`,style:S})),O=h==="outer"&&f==="start",x=h==="outer"&&f==="end";return h==="outer"&&f==="center"?p.createElement("div",{className:`${t}-layout-bottom`},T,l):p.createElement("div",{className:`${t}-outer`,style:w},O&&l,T,x&&l)},Imt=e=>{const{size:t,steps:n,percent:r=0,strokeWidth:i=8,strokeColor:o,trailColor:a=null,prefixCls:s,children:l}=e,c=Math.round(n*(r/100)),d=t??[t==="small"?2:14,i],[f,h]=SD(d,"step",{steps:n,strokeWidth:i}),m=f/n,g=new Array(n);for(let v=0;v{const{prefixCls:n,className:r,rootClassName:i,steps:o,strokeColor:a,percent:s=0,size:l="default",showInfo:c=!0,type:u="line",status:d,format:f,style:h,percentPosition:m={}}=e,g=Amt(e,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style","percentPosition"]),{align:v="end",type:y="outer"}=m,b=Array.isArray(a)?a[0]:a,_=typeof a=="string"||Array.isArray(a)?a:void 0,E=p.useMemo(()=>{if(b){const V=typeof b=="string"?b:Object.values(b)[0];return new rr(V).isLight()}return!1},[a]),C=p.useMemo(()=>{var V,$;const W=rk(e);return parseInt(W!==void 0?(V=W??0)===null||V===void 0?void 0:V.toString():($=s??0)===null||$===void 0?void 0:$.toString(),10)},[s,e.success,e.successPercent]),S=p.useMemo(()=>!Nmt.includes(d)&&C>=100?"success":d||"normal",[d,C]),{getPrefixCls:w,direction:T,progress:O}=p.useContext(Xt),x=w("progress",n),[A,I,M]=wmt(x),B=u==="line",P=B&&!o,k=p.useMemo(()=>{if(!c)return null;const V=rk(e);let $;const W=f||(U=>`${U}%`),j=B&&E&&y==="inner";return y==="inner"||f||S!=="exception"&&S!=="success"?$=W(ag(s),ag(V)):S==="exception"?$=B?p.createElement(qf,null):p.createElement(Yf,null):S==="success"&&($=B?p.createElement(S0,null):p.createElement(Qp,null)),p.createElement("span",{className:xe(`${x}-text`,{[`${x}-text-bright`]:j,[`${x}-text-${v}`]:P,[`${x}-text-${y}`]:P}),title:typeof $=="string"?$:void 0},$)},[c,s,C,S,u,x,f]);let N;u==="line"?N=o?p.createElement(Imt,Object.assign({},e,{strokeColor:_,prefixCls:x,steps:typeof o=="object"?o.count:o}),k):p.createElement(Rmt,Object.assign({},e,{strokeColor:b,prefixCls:x,direction:T,percentPosition:{align:v,type:y}}),k):(u==="circle"||u==="dashboard")&&(N=p.createElement(bmt,Object.assign({},e,{strokeColor:b,prefixCls:x,progressStatus:S}),k));const L=xe(x,`${x}-status-${S}`,{[`${x}-${u==="dashboard"&&"circle"||u}`]:u!=="line",[`${x}-inline-circle`]:u==="circle"&&SD(l,"circle")[0]<=20,[`${x}-line`]:P,[`${x}-line-align-${v}`]:P,[`${x}-line-position-${y}`]:P,[`${x}-steps`]:o,[`${x}-show-info`]:c,[`${x}-${l}`]:typeof l=="string",[`${x}-rtl`]:T==="rtl"},O==null?void 0:O.className,r,i,I,M);return A(p.createElement("div",Object.assign({ref:t,style:Object.assign(Object.assign({},O==null?void 0:O.style),h),className:L,role:"progressbar","aria-valuenow":C,"aria-valuemin":0,"aria-valuemax":100},ur(g,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),N))});function Sf(e,t){var n=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=b5(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(c){throw c},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var c=n.next();return a=c.done,c},e:function(c){s=!0,o=c},f:function(){try{a||n.return==null||n.return()}finally{if(s)throw o}}}}var RS,x2;function yl(e,t,n){if(t<0||t>31||e>>>t)throw new RangeError("Value out of range");for(var r=t-1;r>=0;r--)n.push(e>>>r&1)}function sp(e,t){return(e>>>t&1)!=0}function Yl(e){if(!e)throw new Error("Assertion error")}var Ef=function(){function e(t,n){Kr(this,e),ee(this,"modeBits",void 0),ee(this,"numBitsCharCount",void 0),this.modeBits=t,this.numBitsCharCount=n}return Qr(e,[{key:"numCharCountBits",value:function(n){return this.numBitsCharCount[Math.floor((n+7)/17)]}}]),e}();RS=Ef;ee(Ef,"NUMERIC",new RS(1,[10,12,14]));ee(Ef,"ALPHANUMERIC",new RS(2,[9,11,13]));ee(Ef,"BYTE",new RS(4,[8,16,16]));ee(Ef,"KANJI",new RS(8,[8,10,12]));ee(Ef,"ECI",new RS(7,[0,0,0]));var au=Qr(function e(t,n){Kr(this,e),ee(this,"ordinal",void 0),ee(this,"formatBits",void 0),this.ordinal=t,this.formatBits=n});x2=au;ee(au,"LOW",new x2(0,1));ee(au,"MEDIUM",new x2(1,0));ee(au,"QUARTILE",new x2(2,3));ee(au,"HIGH",new x2(3,2));var hv=function(){function e(t,n,r){if(Kr(this,e),ee(this,"mode",void 0),ee(this,"numChars",void 0),ee(this,"bitData",void 0),this.mode=t,this.numChars=n,this.bitData=r,n<0)throw new RangeError("Invalid argument");this.bitData=r.slice()}return Qr(e,[{key:"getData",value:function(){return this.bitData.slice()}}],[{key:"makeBytes",value:function(n){var r=[],i=Sf(n),o;try{for(i.s();!(o=i.n()).done;){var a=o.value;yl(a,8,r)}}catch(s){i.e(s)}finally{i.f()}return new e(Ef.BYTE,n.length,r)}},{key:"makeNumeric",value:function(n){if(!e.isNumeric(n))throw new RangeError("String contains non-numeric characters");for(var r=[],i=0;i=1<e.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=t*4+17;for(var a=[],s=0;s>>9)*1335;var a=(r<<10|i)^21522;Yl(a>>>15==0);for(var s=0;s<=5;s++)this.setFunctionModule(8,s,sp(a,s));this.setFunctionModule(8,7,sp(a,6)),this.setFunctionModule(8,8,sp(a,7)),this.setFunctionModule(7,8,sp(a,8));for(var l=9;l<15;l++)this.setFunctionModule(14-l,8,sp(a,l));for(var c=0;c<8;c++)this.setFunctionModule(this.size-1-c,8,sp(a,c));for(var u=8;u<15;u++)this.setFunctionModule(8,this.size-15+u,sp(a,u));this.setFunctionModule(8,this.size-8,!0)}},{key:"drawVersion",value:function(){if(!(this.version<7)){for(var n=this.version,r=0;r<12;r++)n=n<<1^(n>>>11)*7973;var i=this.version<<12|n;Yl(i>>>18==0);for(var o=0;o<18;o++){var a=sp(i,o),s=this.size-11+o%3,l=Math.floor(o/3);this.setFunctionModule(s,l,a),this.setFunctionModule(l,s,a)}}}},{key:"drawFinderPattern",value:function(n,r){for(var i=-4;i<=4;i++)for(var o=-4;o<=4;o++){var a=Math.max(Math.abs(o),Math.abs(i)),s=n+o,l=r+i;0<=s&&s=l)&&v.push(C[E])})},b=0;b=1;i-=2){i==6&&(i=5);for(var o=0;o>>3],7-(r&7)),r++)}}Yl(r==n.length*8)}},{key:"applyMask",value:function(n){if(n<0||n>7)throw new RangeError("Mask value out of range");for(var r=0;r5&&n++):(this.finderPenaltyAddHistory(o,a),i||(n+=this.finderPenaltyCountPatterns(a)*e.PENALTY_N3),i=this.modules[r][s],o=1);n+=this.finderPenaltyTerminateAndCount(i,o,a)*e.PENALTY_N3}for(var l=0;l5&&n++):(this.finderPenaltyAddHistory(u,d),c||(n+=this.finderPenaltyCountPatterns(d)*e.PENALTY_N3),c=this.modules[f][l],u=1);n+=this.finderPenaltyTerminateAndCount(c,u,d)*e.PENALTY_N3}for(var h=0;h0&&n[2]==r&&n[3]==r*3&&n[4]==r&&n[5]==r;return(i&&n[0]>=r*4&&n[6]>=r?1:0)+(i&&n[6]>=r*4&&n[0]>=r?1:0)}},{key:"finderPenaltyTerminateAndCount",value:function(n,r,i){var o=r;return n&&(this.finderPenaltyAddHistory(o,i),o=0),o+=this.size,this.finderPenaltyAddHistory(o,i),this.finderPenaltyCountPatterns(i)}},{key:"finderPenaltyAddHistory",value:function(n,r){var i=n;r[0]==0&&(i+=this.size),r.pop(),r.unshift(i)}}],[{key:"encodeText",value:function(n,r){var i=hv.makeSegments(n);return e.encodeSegments(i,r)}},{key:"encodeBinary",value:function(n,r){var i=hv.makeBytes(n);return e.encodeSegments([i],r)}},{key:"encodeSegments",value:function(n,r){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:40,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;if(!(e.MIN_VERSION<=i&&i<=o&&o<=e.MAX_VERSION)||a<-1||a>7)throw new RangeError("Invalid value");var l,c;for(l=i;;l++){var u=e.getNumDataCodewords(l,r)*8,d=hv.getTotalBits(n,l);if(d<=u){c=d;break}if(l>=o)throw new RangeError("Data too long")}for(var f=r,h=0,m=[au.MEDIUM,au.QUARTILE,au.HIGH];h>>3]|=x<<7-(A&7)}),new e(l,f,O,a)}},{key:"getNumRawDataModules",value:function(n){if(ne.MAX_VERSION)throw new RangeError("Version number out of range");var r=(16*n+128)*n+64;if(n>=2){var i=Math.floor(n/7)+2;r-=(25*i-10)*i-55,n>=7&&(r-=36)}return Yl(208<=r&&r<=29648),r}},{key:"getNumDataCodewords",value:function(n,r){return Math.floor(e.getNumRawDataModules(n)/8)-e.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n]*e.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n]}},{key:"reedSolomonComputeDivisor",value:function(n){if(n<1||n>255)throw new RangeError("Degree out of range");for(var r=[],i=0;i>>8||r>>>8)throw new RangeError("Byte out of range");for(var i=0,o=7;o>=0;o--)i=i<<1^(i>>>7)*285,i^=(r>>>o&1)*n;return Yl(i>>>8==0),i}}]),e}();ee(Ih,"MIN_VERSION",1);ee(Ih,"MAX_VERSION",40);ee(Ih,"PENALTY_N1",3);ee(Ih,"PENALTY_N2",3);ee(Ih,"PENALTY_N3",40);ee(Ih,"PENALTY_N4",10);ee(Ih,"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]]);ee(Ih,"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]]);var Mmt={L:au.LOW,M:au.MEDIUM,Q:au.QUARTILE,H:au.HIGH},Wxe=128,qxe="L",Yxe="#FFFFFF",Kxe="#000000",Qxe=!1,Xxe=1,kmt=4,Pmt=0,Dmt=.1;function Zxe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=[];return e.forEach(function(r,i){var o=null;r.forEach(function(a,s){if(!a&&o!==null){n.push("M".concat(o+t," ").concat(i+t,"h").concat(s-o,"v1H").concat(o+t,"z")),o=null;return}if(s===r.length-1){if(!a)return;o===null?n.push("M".concat(s+t,",").concat(i+t," h1v1H").concat(s+t,"z")):n.push("M".concat(o+t,",").concat(i+t," h").concat(s+1-o,"v1H").concat(o+t,"z"));return}a&&o===null&&(o=s)})}),n.join("")}function Jxe(e,t){return e.slice().map(function(n,r){return r=t.y+t.h?n:n.map(function(i,o){return o=t.x+t.w?i:!1})})}function Lmt(e,t,n,r){if(r==null)return null;var i=e.length+n*2,o=Math.floor(t*Dmt),a=i/t,s=(r.width||o)*a,l=(r.height||o)*a,c=r.x==null?e.length/2-s/2:r.x*a,u=r.y==null?e.length/2-l/2:r.y*a,d=r.opacity==null?1:r.opacity,f=null;if(r.excavate){var h=Math.floor(c),m=Math.floor(u),g=Math.ceil(s+c-h),v=Math.ceil(l+u-m);f={x:h,y:m,w:g,h:v}}var y=r.crossOrigin;return{x:c,y:u,h:l,w:s,excavation:f,opacity:d,crossOrigin:y}}function $mt(e,t){return t!=null?Math.floor(t):e?kmt:Pmt}var Fmt=function(){try{new Path2D().addPath(new Path2D)}catch{return!1}return!0}();function e2e(e){var t=e.value,n=e.level,r=e.minVersion,i=e.includeMargin,o=e.marginSize,a=e.imageSettings,s=e.size,l=p.useMemo(function(){var m=hv.makeSegments(t);return Ih.encodeSegments(m,Mmt[n],r)},[t,n,r]),c=p.useMemo(function(){var m=l.getModules(),g=$mt(i,o),v=m.length+g*2,y=Lmt(m,s,g,a);return{cells:m,margin:g,numCells:v,calculatedImageSettings:y}},[l,s,a,i,o]),u=c.cells,d=c.margin,f=c.numCells,h=c.calculatedImageSettings;return{qrcode:l,margin:d,cells:u,numCells:f,calculatedImageSettings:h}}var Bmt=["value","size","level","bgColor","fgColor","includeMargin","minVersion","marginSize","style","imageSettings"],t2e=se.forwardRef(function(t,n){var r=t.value,i=t.size,o=i===void 0?Wxe:i,a=t.level,s=a===void 0?qxe:a,l=t.bgColor,c=l===void 0?Yxe:l,u=t.fgColor,d=u===void 0?Kxe:u,f=t.includeMargin,h=f===void 0?Qxe:f,m=t.minVersion,g=m===void 0?Xxe:m,v=t.marginSize,y=t.style,b=t.imageSettings,_=Dt(t,Bmt),E=b==null?void 0:b.src,C=p.useRef(null),S=p.useRef(null),w=p.useCallback(function(L){C.current=L,typeof n=="function"?n(L):n&&(n.current=L)},[n]),T=p.useState(!1),O=Ie(T,2),x=O[1],A=e2e({value:r,level:s,minVersion:g,includeMargin:h,marginSize:v,imageSettings:b,size:o}),I=A.margin,M=A.cells,B=A.numCells,P=A.calculatedImageSettings;p.useEffect(function(){if(C.current!=null){var L=C.current,V=L.getContext("2d");if(!V)return;var $=M,W=S.current,j=P!=null&&W!==null&&W.complete&&W.naturalHeight!==0&&W.naturalWidth!==0;j&&P.excavation!=null&&($=Jxe(M,P.excavation));var U=window.devicePixelRatio||1;L.height=L.width=o*U;var Z=o/B*U;V.scale(Z,Z),V.fillStyle=c,V.fillRect(0,0,B,B),V.fillStyle=d,Fmt?V.fill(new Path2D(Zxe($,I))):M.forEach(function(te,ae){te.forEach(function(K,Q){K&&V.fillRect(Q+I,ae+I,1,1)})}),P&&(V.globalAlpha=P.opacity),j&&V.drawImage(W,P.x+I,P.y+I,P.w,P.h)}}),p.useEffect(function(){x(!1)},[E]);var k=G({height:o,width:o},y),N=null;return E!=null&&(N=se.createElement("img",{src:E,key:E,style:{display:"none"},onLoad:function(){x(!0)},ref:S,crossOrigin:P==null?void 0:P.crossOrigin})),se.createElement(se.Fragment,null,se.createElement("canvas",Ke({style:k,height:o,width:o,ref:w,role:"img"},_)),N)});t2e.displayName="QRCodeCanvas";var jmt=["value","size","level","bgColor","fgColor","includeMargin","minVersion","title","marginSize","imageSettings"],n2e=se.forwardRef(function(t,n){var r=t.value,i=t.size,o=i===void 0?Wxe:i,a=t.level,s=a===void 0?qxe:a,l=t.bgColor,c=l===void 0?Yxe:l,u=t.fgColor,d=u===void 0?Kxe:u,f=t.includeMargin,h=f===void 0?Qxe:f,m=t.minVersion,g=m===void 0?Xxe:m,v=t.title,y=t.marginSize,b=t.imageSettings,_=Dt(t,jmt),E=e2e({value:r,level:s,minVersion:g,includeMargin:h,marginSize:y,imageSettings:b,size:o}),C=E.margin,S=E.cells,w=E.numCells,T=E.calculatedImageSettings,O=S,x=null;b!=null&&T!=null&&(T.excavation!=null&&(O=Jxe(S,T.excavation)),x=se.createElement("image",{href:b.src,height:T.h,width:T.w,x:T.x+C,y:T.y+C,preserveAspectRatio:"none",opacity:T.opacity,crossOrigin:T.crossOrigin}));var A=Zxe(O,C);return se.createElement("svg",Ke({height:o,width:o,viewBox:"0 0 ".concat(w," ").concat(w),ref:n,role:"img"},_),!!v&&se.createElement("title",null,v),se.createElement("path",{fill:c,d:"M0,0 h".concat(w,"v").concat(w,"H0z"),shapeRendering:"crispEdges"}),se.createElement("path",{fill:d,d:A,shapeRendering:"crispEdges"}),x)});n2e.displayName="QRCodeSVG";var Hmt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"},Umt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Hmt}))},zmt=p.forwardRef(Umt),Vmt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Gmt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Vmt}))},Wmt=p.forwardRef(Gmt),qmt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ymt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:qmt}))},Kmt=p.forwardRef(Ymt),Qmt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Xmt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Qmt}))},Zmt=p.forwardRef(Xmt),Jmt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},egt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Jmt}))},tgt=p.forwardRef(egt),ngt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},rgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:ngt}))},igt=p.forwardRef(rgt),ogt={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 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},agt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:ogt}))},sgt=p.forwardRef(agt),lgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},cgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:lgt}))},O2=p.forwardRef(cgt),ugt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},dgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:ugt}))},fgt=p.forwardRef(dgt),pgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},hgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:pgt}))},BT=p.forwardRef(hgt),mgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},ggt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:mgt}))},vgt=p.forwardRef(ggt),bgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},ygt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:bgt}))},r2e=p.forwardRef(ygt),_gt={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:n}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:t}}]}},name:"file",theme:"twotone"},Sgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:_gt}))},Egt=p.forwardRef(Sgt),Cgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},wgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Cgt}))},Tgt=p.forwardRef(wgt),xgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ogt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:xgt}))},Rgt=p.forwardRef(Ogt),Igt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},Agt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Igt}))},i2e=p.forwardRef(Agt),Ngt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"},Mgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Ngt}))},kgt=p.forwardRef(Mgt),Pgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Dgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Pgt}))},Lgt=p.forwardRef(Dgt),$gt={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:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},Fgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:$gt}))},Bgt=p.forwardRef(Fgt),jgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311h-.3v428h472.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM112 528v364c0 17.7 14.3 32 32 32h65V496h-65c-17.7 0-32 14.3-32 32z"}}]},name:"like",theme:"filled"},Hgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:jgt}))},Ugt=p.forwardRef(Hgt),zgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},Vgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:zgt}))},Ggt=p.forwardRef(Vgt),Wgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},qgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Wgt}))},x0=p.forwardRef(qgt),Ygt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 110.8V792H136V270.8l-27.6-21.5 39.3-50.5 42.8 33.3h643.1l42.8-33.3 39.3 50.5-27.7 21.5zM833.6 232L512 482 190.4 232l-42.8-33.3-39.3 50.5 27.6 21.5 341.6 265.6a55.99 55.99 0 0068.7 0L888 270.8l27.6-21.5-39.3-50.5-42.7 33.2z"}}]},name:"mail",theme:"outlined"},Kgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Ygt}))},Qgt=p.forwardRef(Kgt),Xgt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 160H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0 624H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8zm0-312H120c-4.4 0-8 3.6-8 8v64c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-64c0-4.4-3.6-8-8-8z"}}]},name:"menu",theme:"outlined"},Zgt=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:Xgt}))},Jgt=p.forwardRef(Zgt),e1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"},t1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:e1t}))},ok=p.forwardRef(t1t),n1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},r1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:n1t}))},i1t=p.forwardRef(r1t),o1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"},a1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:o1t}))},R2=p.forwardRef(a1t),s1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M456 231a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0zm0 280a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"more",theme:"outlined"},l1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:s1t}))},c1t=p.forwardRef(l1t),u1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},d1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:u1t}))},f1t=p.forwardRef(d1t),p1t={icon:function(t,n){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:t}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:n}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:n}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:n}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:t}}]}},name:"picture",theme:"twotone"},h1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:p1t}))},m1t=p.forwardRef(h1t),g1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},v1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:g1t}))},b1t=p.forwardRef(v1t),y1t={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 708c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z"}}]},name:"question-circle",theme:"filled"},_1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:y1t}))},S1t=p.forwardRef(_1t),E1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},C1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:E1t}))},w1t=p.forwardRef(C1t),T1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},x1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:T1t}))},O1t=p.forwardRef(x1t),R1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M793 242H366v-74c0-6.7-7.7-10.4-12.9-6.3l-142 112a8 8 0 000 12.6l142 112c5.2 4.1 12.9.4 12.9-6.3v-74h415v470H175c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h618c35.3 0 64-28.7 64-64V306c0-35.3-28.7-64-64-64z"}}]},name:"rollback",theme:"outlined"},I1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:R1t}))},o2e=p.forwardRef(I1t),A1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},N1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:A1t}))},M1t=p.forwardRef(N1t),k1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},P1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:k1t}))},$Y=p.forwardRef(P1t),D1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M752 664c-28.5 0-54.8 10-75.4 26.7L469.4 540.8a160.68 160.68 0 000-57.6l207.2-149.9C697.2 350 723.5 360 752 360c66.2 0 120-53.8 120-120s-53.8-120-120-120-120 53.8-120 120c0 11.6 1.6 22.7 4.7 33.3L439.9 415.8C410.7 377.1 364.3 352 312 352c-88.4 0-160 71.6-160 160s71.6 160 160 160c52.3 0 98.7-25.1 127.9-63.8l196.8 142.5c-3.1 10.6-4.7 21.8-4.7 33.3 0 66.2 53.8 120 120 120s120-53.8 120-120-53.8-120-120-120zm0-476c28.7 0 52 23.3 52 52s-23.3 52-52 52-52-23.3-52-52 23.3-52 52-52zM312 600c-48.5 0-88-39.5-88-88s39.5-88 88-88 88 39.5 88 88-39.5 88-88 88zm440 236c-28.7 0-52-23.3-52-52s23.3-52 52-52 52 23.3 52 52-23.3 52-52 52z"}}]},name:"share-alt",theme:"outlined"},L1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:D1t}))},$1t=p.forwardRef(L1t),F1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},B1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:F1t}))},ED=p.forwardRef(B1t),j1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3zM664.8 561.6l36.1 210.3L512 672.7 323.1 772l36.1-210.3-152.8-149L417.6 382 512 190.7 606.4 382l211.2 30.7-152.8 148.9z"}}]},name:"star",theme:"outlined"},H1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:j1t}))},FY=p.forwardRef(H1t),U1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"},z1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:U1t}))},V1t=p.forwardRef(z1t),G1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},W1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:G1t}))},BY=p.forwardRef(W1t),q1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},Y1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:q1t}))},CD=p.forwardRef(Y1t),K1t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},Q1t=function(t,n){return p.createElement(Nn,Ke({},t,{ref:n,icon:K1t}))},X1t=p.forwardRef(Q1t),Z1t=["className","component","viewBox","spin","rotate","tabIndex","onClick","children"],a2e=p.forwardRef(function(e,t){var n=e.className,r=e.component,i=e.viewBox,o=e.spin,a=e.rotate,s=e.tabIndex,l=e.onClick,c=e.children,u=Dt(e,Z1t),d=p.useRef(),f=$d(d,t);yH(!!(r||c),"Should have `component` prop or `children`."),USe(d);var h=p.useContext(E5),m=h.prefixCls,g=m===void 0?"anticon":m,v=h.rootClassName,y=xe(v,g,ee({},"".concat(g,"-spin"),!!o&&!!r),n),b=xe(ee({},"".concat(g,"-spin"),!!o)),_=a?{msTransform:"rotate(".concat(a,"deg)"),transform:"rotate(".concat(a,"deg)")}:void 0,E=G(G({},DKe),{},{className:b,style:_,viewBox:i});i||delete E.viewBox;var C=function(){return r?p.createElement(r,E,c):c?(yH(!!i||p.Children.count(c)===1&&p.isValidElement(c)&&p.Children.only(c).type==="use","Make sure that you provide correct `viewBox` prop (default `0 0 1024 1024`) to the icon."),p.createElement("svg",Ke({},E,{viewBox:i}),c)):null},S=s;return S===void 0&&l&&(S=-1),p.createElement("span",Ke({role:"img"},u,{ref:f,tabIndex:S,onClick:l,className:y}),C())});a2e.displayName="AntdIcon";var J1t=["type","children"],s2e=new Set;function evt(e){return!!(typeof e=="string"&&e.length&&!s2e.has(e))}function ak(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=e[t];if(evt(n)){var r=document.createElement("script");r.setAttribute("src",n),r.setAttribute("data-namespace",n),e.length>t+1&&(r.onload=function(){ak(e,t+1)},r.onerror=function(){ak(e,t+1)}),s2e.add(n),document.body.appendChild(r)}}function l2e(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.scriptUrl,n=e.extraCommonProps,r=n===void 0?{}:n;t&&typeof document<"u"&&typeof window<"u"&&typeof document.createElement=="function"&&(Array.isArray(t)?ak(t.reverse()):ak([t]));var i=p.forwardRef(function(o,a){var s=o.type,l=o.children,c=Dt(o,J1t),u=null;return o.type&&(u=p.createElement("use",{xlinkHref:"#".concat(s)})),l&&(u=l),p.createElement(a2e,Ke({},r,c,{ref:a}),u)});return i.displayName="Iconfont",i}const tvt=se.createElement(Nc,null);function nvt(e){let{prefixCls:t,locale:n,onRefresh:r,statusRender:i,status:o}=e;const a=se.createElement(se.Fragment,null,se.createElement("p",{className:`${t}-expired`},n==null?void 0:n.expired),r&&se.createElement($n,{type:"link",icon:se.createElement(w1t,null),onClick:r},n==null?void 0:n.refresh)),s=se.createElement("p",{className:`${t}-scanned`},n==null?void 0:n.scanned),l={expired:a,loading:tvt,scanned:s};return(i??(d=>l[d.status]))({status:o,locale:n,onRefresh:r})}const rvt=e=>{const{componentCls:t,lineWidth:n,lineType:r,colorSplit:i}=e;return{[t]:Object.assign(Object.assign({},gr(e)),{display:"flex",justifyContent:"center",alignItems:"center",padding:e.paddingSM,backgroundColor:e.colorWhite,borderRadius:e.borderRadiusLG,border:`${Ae(n)} ${r} ${i}`,position:"relative",overflow:"hidden",[`& > ${t}-mask`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:10,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",color:e.colorText,lineHeight:e.lineHeight,background:e.QRCodeMaskBackgroundColor,textAlign:"center",[`& > ${t}-expired, & > ${t}-scanned`]:{color:e.QRCodeTextColor}},"> canvas":{alignSelf:"stretch",flex:"auto",minWidth:0},"&-icon":{marginBlockEnd:e.marginXS,fontSize:e.controlHeight}}),[`${t}-borderless`]:{borderColor:"transparent",padding:0,borderRadius:0}}},ivt=e=>({QRCodeMaskBackgroundColor:new rr(e.colorBgContainer).setA(.96).toRgbString()}),ovt=lr("QRCode",e=>{const t=Kn(e,{QRCodeTextColor:e.colorText});return rvt(t)},ivt);var avt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var t,n,r,i;const[,o]=qo(),{value:a,type:s="canvas",icon:l="",size:c=160,iconSize:u,color:d=o.colorText,errorLevel:f="M",status:h="active",bordered:m=!0,onRefresh:g,style:v,className:y,rootClassName:b,prefixCls:_,bgColor:E="transparent",statusRender:C}=e,S=avt(e,["value","type","icon","size","iconSize","color","errorLevel","status","bordered","onRefresh","style","className","rootClassName","prefixCls","bgColor","statusRender"]),{getPrefixCls:w}=p.useContext(Xt),T=w("qrcode",_),[O,x,A]=ovt(T),I={src:l,x:void 0,y:void 0,height:typeof u=="number"?u:(t=u==null?void 0:u.height)!==null&&t!==void 0?t:40,width:typeof u=="number"?u:(n=u==null?void 0:u.width)!==null&&n!==void 0?n:40,excavate:!0,crossOrigin:"anonymous"},M=xi(S,!0),B=ur(S,Object.keys(M)),P=Object.assign({value:a,size:c,level:f,bgColor:E,fgColor:d,style:{width:v==null?void 0:v.width,height:v==null?void 0:v.height},imageSettings:l?I:void 0},M),[k]=ds("QRCode");if(!a)return null;const N=xe(T,y,b,x,A,{[`${T}-borderless`]:!m}),L=Object.assign(Object.assign({backgroundColor:E},v),{width:(r=v==null?void 0:v.width)!==null&&r!==void 0?r:c,height:(i=v==null?void 0:v.height)!==null&&i!==void 0?i:c});return O(se.createElement("div",Object.assign({},B,{className:N,style:L}),h!=="active"&&se.createElement("div",{className:`${T}-mask`},se.createElement(nvt,{prefixCls:T,locale:k,status:h,onRefresh:g,statusRender:C})),s==="canvas"?se.createElement(t2e,Object.assign({},P)):se.createElement(n2e,Object.assign({},P))))};function svt(e,t){var n=e.disabled,r=e.prefixCls,i=e.character,o=e.characterRender,a=e.index,s=e.count,l=e.value,c=e.allowHalf,u=e.focused,d=e.onHover,f=e.onClick,h=function(C){d(C,a)},m=function(C){f(C,a)},g=function(C){C.keyCode===dt.ENTER&&f(C,a)},v=a+1,y=new Set([r]);l===0&&a===0&&u?y.add("".concat(r,"-focused")):c&&l+.5>=v&&la?"true":"false","aria-posinset":a+1,"aria-setsize":s,tabIndex:n?-1:0},se.createElement("div",{className:"".concat(r,"-first")},b),se.createElement("div",{className:"".concat(r,"-second")},b)));return o&&(_=o(_,e)),_}const lvt=se.forwardRef(svt);function cvt(){var e=p.useRef({});function t(r){return e.current[r]}function n(r){return function(i){e.current[r]=i}}return[t,n]}function uvt(e){var t=e.pageXOffset,n="scrollLeft";if(typeof t!="number"){var r=e.document;t=r.documentElement[n],typeof t!="number"&&(t=r.body[n])}return t}function dvt(e){var t,n,r=e.ownerDocument,i=r.body,o=r&&r.documentElement,a=e.getBoundingClientRect();return t=a.left,n=a.top,t-=o.clientLeft||i.clientLeft||0,n-=o.clientTop||i.clientTop||0,{left:t,top:n}}function fvt(e){var t=dvt(e),n=e.ownerDocument,r=n.defaultView||n.parentWindow;return t.left+=uvt(r),t.left}var pvt=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","keyboard","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function hvt(e,t){var n=e.prefixCls,r=n===void 0?"rc-rate":n,i=e.className,o=e.defaultValue,a=e.value,s=e.count,l=s===void 0?5:s,c=e.allowHalf,u=c===void 0?!1:c,d=e.allowClear,f=d===void 0?!0:d,h=e.keyboard,m=h===void 0?!0:h,g=e.character,v=g===void 0?"★":g,y=e.characterRender,b=e.disabled,_=e.direction,E=_===void 0?"ltr":_,C=e.tabIndex,S=C===void 0?0:C,w=e.autoFocus,T=e.onHoverChange,O=e.onChange,x=e.onFocus,A=e.onBlur,I=e.onKeyDown,M=e.onMouseLeave,B=Dt(e,pvt),P=cvt(),k=Ie(P,2),N=k[0],L=k[1],V=se.useRef(null),$=function(){if(!b){var q;(q=V.current)===null||q===void 0||q.focus()}};se.useImperativeHandle(t,function(){return{focus:$,blur:function(){if(!b){var q;(q=V.current)===null||q===void 0||q.blur()}}}});var W=Pn(o||0,{value:a}),j=Ie(W,2),U=j[0],Z=j[1],te=Pn(null),ae=Ie(te,2),K=ae[0],Q=ae[1],ie=function(q,oe){var ye=E==="rtl",ce=q+1;if(u){var Be=N(q),Ve=fvt(Be),re=Be.clientWidth;(ye&&oe-Ve>re/2||!ye&&oe-Ve0&&!ye||oe===dt.RIGHT&&U>0&&ye?(he(U-ce),q.preventDefault()):oe===dt.LEFT&&U{const{componentCls:t}=e;return{[`${t}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:e.marginXS},"> div":{transition:`all ${e.motionDurationMid}, outline 0s`,"&:hover":{transform:e.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Ae(e.lineWidth)} dashed ${e.starColor}`,transform:e.starHoverScale}},"&-first, &-second":{color:e.starBg,transition:`all ${e.motionDurationMid}`,userSelect:"none"},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${t}-star-first, &-half ${t}-star-second`]:{opacity:1},[`&-half ${t}-star-first, &-full ${t}-star-second`]:{color:"inherit"}}}},vvt=e=>({[`&-rtl${e.componentCls}`]:{direction:"rtl"}}),bvt=e=>{const{componentCls:t}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{display:"inline-block",margin:0,padding:0,color:e.starColor,fontSize:e.starSize,lineHeight:1,listStyle:"none",outline:"none",[`&-disabled${t} ${t}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),gvt(e)),vvt(e))}},yvt=e=>({starColor:e.yellow6,starSize:e.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:e.colorFillContent}),_vt=lr("Rate",e=>{const t=Kn(e,{});return[bvt(t)]},yvt);var Svt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,className:r,rootClassName:i,style:o,tooltips:a,character:s=p.createElement(ED,null),disabled:l}=e,c=Svt(e,["prefixCls","className","rootClassName","style","tooltips","character","disabled"]),u=(C,S)=>{let{index:w}=S;return a?p.createElement(Aa,{title:a[w]},C):C},{getPrefixCls:d,direction:f,rate:h}=p.useContext(Xt),m=d("rate",n),[g,v,y]=_vt(m),b=Object.assign(Object.assign({},h==null?void 0:h.style),o),_=p.useContext(Wo),E=l??_;return g(p.createElement(mvt,Object.assign({ref:t,character:s,characterRender:u,disabled:E},c,{className:xe(r,i,v,y,h==null?void 0:h.className),style:b,prefixCls:m,direction:f})))}),Evt=()=>p.createElement("svg",{width:"252",height:"294"},p.createElement("title",null,"No Found"),p.createElement("defs",null,p.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),p.createElement("g",{fill:"none",fillRule:"evenodd"},p.createElement("g",{transform:"translate(0 .012)"},p.createElement("mask",{fill:"#fff"}),p.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),p.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),p.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),p.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),p.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),p.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),p.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),p.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1677ff"}),p.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),p.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),p.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),p.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),p.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),p.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),p.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),p.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),p.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),p.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),p.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),p.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),p.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),p.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),p.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),p.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),p.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),p.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),p.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),p.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),p.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),p.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),p.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),p.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),p.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),p.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),p.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),p.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),p.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),p.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),p.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}))),Cvt=()=>p.createElement("svg",{width:"254",height:"294"},p.createElement("title",null,"Server Error"),p.createElement("defs",null,p.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),p.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),p.createElement("g",{fill:"none",fillRule:"evenodd"},p.createElement("g",{transform:"translate(0 .067)"},p.createElement("mask",{fill:"#fff"}),p.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),p.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),p.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),p.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),p.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),p.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),p.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),p.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),p.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),p.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),p.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),p.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),p.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),p.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),p.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),p.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),p.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),p.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),p.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),p.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),p.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),p.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),p.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),p.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),p.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),p.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),p.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),p.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),p.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),p.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),p.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),p.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),p.createElement("mask",{fill:"#fff"}),p.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),p.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),p.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),p.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),p.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),p.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),p.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),p.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),p.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),p.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),p.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"}))),wvt=e=>{const{componentCls:t,lineHeightHeading3:n,iconCls:r,padding:i,paddingXL:o,paddingXS:a,paddingLG:s,marginXS:l,lineHeight:c}=e;return{[t]:{padding:`${Ae(e.calc(s).mul(2).equal())} ${Ae(o)}`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:s,textAlign:"center",[`& > ${r}`]:{fontSize:e.iconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:n,marginBlock:l,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:c,textAlign:"center"},[`${t} ${t}-content`]:{marginTop:s,padding:`${Ae(s)} ${Ae(e.calc(i).mul(2.5).equal())}`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.extraMargin,textAlign:"center","& > *":{marginInlineEnd:a,"&:last-child":{marginInlineEnd:0}}}}},Tvt=e=>{const{componentCls:t,iconCls:n}=e;return{[`${t}-success ${t}-icon > ${n}`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon > ${n}`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon > ${n}`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon > ${n}`]:{color:e.resultWarningIconColor}}},xvt=e=>[wvt(e),Tvt(e)],Ovt=e=>xvt(e),Rvt=e=>({titleFontSize:e.fontSizeHeading3,subtitleFontSize:e.fontSize,iconFontSize:e.fontSizeHeading3*3,extraMargin:`${e.paddingLG}px 0 0 0`}),Ivt=lr("Result",e=>{const t=e.colorInfo,n=e.colorError,r=e.colorSuccess,i=e.colorWarning,o=Kn(e,{resultInfoIconColor:t,resultErrorIconColor:n,resultSuccessIconColor:r,resultWarningIconColor:i,imageWidth:250,imageHeight:295});return[Ovt(o)]},Rvt),Avt=()=>p.createElement("svg",{width:"251",height:"294"},p.createElement("title",null,"Unauthorized"),p.createElement("g",{fill:"none",fillRule:"evenodd"},p.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),p.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),p.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),p.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),p.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),p.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),p.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),p.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),p.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),p.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),p.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),p.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),p.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),p.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),p.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),p.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),p.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),p.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),p.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),p.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),p.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),p.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),p.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),p.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),p.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),p.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),p.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),p.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),p.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),p.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),p.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),p.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),p.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),p.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),p.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),p.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),p.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}))),Nvt={success:S0,error:qf,info:Ag,warning:X1t},I2={404:Evt,500:Cvt,403:Avt},Mvt=Object.keys(I2),kvt=e=>{let{prefixCls:t,icon:n,status:r}=e;const i=xe(`${t}-icon`);if(Mvt.includes(`${r}`)){const a=I2[r];return p.createElement("div",{className:`${i} ${t}-image`},p.createElement(a,null))}const o=p.createElement(Nvt[r]);return n===null||n===!1?null:p.createElement("div",{className:i},n||o)},Pvt=e=>{let{prefixCls:t,extra:n}=e;return n?p.createElement("div",{className:`${t}-extra`},n):null},A2=e=>{let{prefixCls:t,className:n,rootClassName:r,subTitle:i,title:o,style:a,children:s,status:l="info",icon:c,extra:u}=e;const{getPrefixCls:d,direction:f,result:h}=p.useContext(Xt),m=d("result",t),[g,v,y]=Ivt(m),b=xe(m,`${m}-${l}`,n,h==null?void 0:h.className,r,{[`${m}-rtl`]:f==="rtl"},v,y),_=Object.assign(Object.assign({},h==null?void 0:h.style),a);return g(p.createElement("div",{className:b,style:_},p.createElement(kvt,{prefixCls:m,status:l,icon:c}),p.createElement("div",{className:`${m}-title`},o),i&&p.createElement("div",{className:`${m}-subtitle`},i),p.createElement(Pvt,{prefixCls:m,extra:u}),s&&p.createElement("div",{className:`${m}-content`},s)))};A2.PRESENTED_IMAGE_403=I2[403];A2.PRESENTED_IMAGE_404=I2[404];A2.PRESENTED_IMAGE_500=I2[500];var Dvt=["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"],u2e=p.forwardRef(function(e,t){var n,r=e.prefixCls,i=r===void 0?"rc-switch":r,o=e.className,a=e.checked,s=e.defaultChecked,l=e.disabled,c=e.loadingIcon,u=e.checkedChildren,d=e.unCheckedChildren,f=e.onClick,h=e.onChange,m=e.onKeyDown,g=Dt(e,Dvt),v=Pn(!1,{value:a,defaultValue:s}),y=Ie(v,2),b=y[0],_=y[1];function E(T,O){var x=b;return l||(x=T,_(x),h==null||h(x,O)),x}function C(T){T.which===dt.LEFT?E(!1,T):T.which===dt.RIGHT&&E(!0,T),m==null||m(T)}function S(T){var O=E(!b,T);f==null||f(O,T)}var w=xe(i,o,(n={},ee(n,"".concat(i,"-checked"),b),ee(n,"".concat(i,"-disabled"),l),n));return p.createElement("button",Ke({},g,{type:"button",role:"switch","aria-checked":b,disabled:l,className:w,ref:t,onKeyDown:C,onClick:S}),c,p.createElement("span",{className:"".concat(i,"-inner")},p.createElement("span",{className:"".concat(i,"-inner-checked")},u),p.createElement("span",{className:"".concat(i,"-inner-unchecked")},d)))});u2e.displayName="Switch";const Lvt=e=>{const{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:i,innerMinMarginSM:o,innerMaxMarginSM:a,handleSizeSM:s,calc:l}=e,c=`${t}-inner`,u=Ae(l(s).add(l(r).mul(2)).equal()),d=Ae(l(a).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:i,height:n,lineHeight:Ae(n),[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:o,[`${c}-checked, ${c}-unchecked`]:{minHeight:n},[`${c}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${c}-unchecked`]:{marginTop:l(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:s,height:s},[`${t}-loading-icon`]:{top:l(l(s).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:o,paddingInlineEnd:a,[`${c}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${c}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${Ae(l(s).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${c}`]:{[`${c}-unchecked`]:{marginInlineStart:l(e.marginXXS).div(2).equal(),marginInlineEnd:l(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${c}`]:{[`${c}-checked`]:{marginInlineStart:l(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:l(e.marginXXS).div(2).equal()}}}}}}},$vt=e=>{const{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}},Fvt=e=>{const{componentCls:t,trackPadding:n,handleBg:r,handleShadow:i,handleSize:o,calc:a}=e,s=`${t}-handle`;return{[t]:{[s]:{position:"absolute",top:n,insetInlineStart:n,width:o,height:o,transition:`all ${e.switchDuration} ease-in-out`,"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:a(o).div(2).equal(),boxShadow:i,transition:`all ${e.switchDuration} ease-in-out`,content:'""'}},[`&${t}-checked ${s}`]:{insetInlineStart:`calc(100% - ${Ae(a(o).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${s}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${s}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}},Bvt=e=>{const{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:i,innerMaxMargin:o,handleSize:a,calc:s}=e,l=`${t}-inner`,c=Ae(s(a).add(s(r).mul(2)).equal()),u=Ae(s(o).mul(2).equal());return{[t]:{[l]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:o,paddingInlineEnd:i,transition:`padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,[`${l}-checked, ${l}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,transition:`margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,pointerEvents:"none",minHeight:n},[`${l}-checked`]:{marginInlineStart:`calc(-100% + ${c} - ${u})`,marginInlineEnd:`calc(100% - ${c} + ${u})`},[`${l}-unchecked`]:{marginTop:s(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${l}`]:{paddingInlineStart:i,paddingInlineEnd:o,[`${l}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${l}-unchecked`]:{marginInlineStart:`calc(100% - ${c} + ${u})`,marginInlineEnd:`calc(-100% + ${c} - ${u})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${l}`]:{[`${l}-unchecked`]:{marginInlineStart:s(r).mul(2).equal(),marginInlineEnd:s(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${l}`]:{[`${l}-checked`]:{marginInlineStart:s(r).mul(-1).mul(2).equal(),marginInlineEnd:s(r).mul(2).equal()}}}}}},jvt=e=>{const{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:Object.assign(Object.assign(Object.assign(Object.assign({},gr(e)),{position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:Ae(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary}}),Zs(e)),{[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}})}},Hvt=e=>{const{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:i}=e,o=t*n,a=r/2,s=2,l=o-s*2,c=a-s*2;return{trackHeight:o,trackHeightSM:a,trackMinWidth:l*2+s*4,trackMinWidthSM:c*2+s*2,trackPadding:s,handleBg:i,handleSize:l,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new rr("#00230b").setA(.2).toRgbString()}`,innerMinMargin:l/2,innerMaxMargin:l+s+s*2,innerMinMarginSM:c/2,innerMaxMarginSM:c+s+s*2}},Uvt=lr("Switch",e=>{const t=Kn(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[jvt(t),Bvt(t),Fvt(t),$vt(t),Lvt(t)]},Hvt);var zvt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,size:r,disabled:i,loading:o,className:a,rootClassName:s,style:l,checked:c,value:u,defaultChecked:d,defaultValue:f,onChange:h}=e,m=zvt(e,["prefixCls","size","disabled","loading","className","rootClassName","style","checked","value","defaultChecked","defaultValue","onChange"]),[g,v]=Pn(!1,{value:c??u,defaultValue:d??f}),{getPrefixCls:y,direction:b,switch:_}=p.useContext(Xt),E=p.useContext(Wo),C=(i??E)||o,S=y("switch",n),w=p.createElement("div",{className:`${S}-handle`},o&&p.createElement(xd,{className:`${S}-loading-icon`})),[T,O,x]=Uvt(S),A=Co(r),I=xe(_==null?void 0:_.className,{[`${S}-small`]:A==="small",[`${S}-loading`]:o,[`${S}-rtl`]:b==="rtl"},a,s,O,x),M=Object.assign(Object.assign({},_==null?void 0:_.style),l),B=function(){v(arguments.length<=0?void 0:arguments[0]),h==null||h.apply(void 0,arguments)};return T(p.createElement(o2,{component:"Switch"},p.createElement(u2e,Object.assign({},m,{checked:g,onChange:B,prefixCls:S,className:I,style:M,disabled:C,ref:t,loadingIcon:w}))))}),sk=Vvt;sk.__ANT_SWITCH=!0;var Ap={},N2="rc-table-internal-hook";function jY(e){var t=p.createContext(void 0),n=function(i){var o=i.value,a=i.children,s=p.useRef(o);s.current=o;var l=p.useState(function(){return{getValue:function(){return s.current},listeners:new Set}}),c=Ie(l,1),u=c[0];return ar(function(){Ml.unstable_batchedUpdates(function(){u.listeners.forEach(function(d){d(o)})})},[o]),p.createElement(t.Provider,{value:u},a)};return{Context:t,Provider:n,defaultValue:e}}function is(e,t){var n=Yn(typeof t=="function"?t:function(d){if(t===void 0)return d;if(!Array.isArray(t))return d[t];var f={};return t.forEach(function(h){f[h]=d[h]}),f}),r=p.useContext(e==null?void 0:e.Context),i=r||{},o=i.listeners,a=i.getValue,s=p.useRef();s.current=n(r?a():e==null?void 0:e.defaultValue);var l=p.useState({}),c=Ie(l,2),u=c[1];return ar(function(){if(!r)return;function d(f){var h=n(f);vu(s.current,h,!0)||u({})}return o.add(d),function(){o.delete(d)}},[r]),s.current}function Gvt(){var e=p.createContext(null);function t(){return p.useContext(e)}function n(i,o){var a=Cd(i),s=function(c,u){var d=a?{ref:u}:{},f=p.useRef(0),h=p.useRef(c),m=t();return m!==null?p.createElement(i,Ke({},c,d)):((!o||o(h.current,c))&&(f.current+=1),h.current=c,p.createElement(e.Provider,{value:f.current},p.createElement(i,Ke({},c,d))))};return a?p.forwardRef(s):s}function r(i,o){var a=Cd(i),s=function(c,u){var d=a?{ref:u}:{};return t(),p.createElement(i,Ke({},c,d))};return a?p.memo(p.forwardRef(s),o):p.memo(s,o)}return{makeImmutable:n,responseImmutable:r,useImmutableMark:t}}var HY=Gvt(),d2e=HY.makeImmutable,IS=HY.responseImmutable,Wvt=HY.useImmutableMark,al=jY(),f2e=p.createContext({renderWithProps:!1}),qvt="RC_TABLE_KEY";function Yvt(e){return e==null?[]:Array.isArray(e)?e:[e]}function wD(e){var t=[],n={};return e.forEach(function(r){for(var i=r||{},o=i.key,a=i.dataIndex,s=o||Yvt(a).join("-")||qvt;n[s];)s="".concat(s,"_next");n[s]=!0,t.push(s)}),t}function sU(e){return e!=null}function Kvt(e){return typeof e=="number"&&!Number.isNaN(e)}function Qvt(e){return e&&Gt(e)==="object"&&!Array.isArray(e)&&!p.isValidElement(e)}function Xvt(e,t,n,r,i,o){var a=p.useContext(f2e),s=Wvt(),l=lh(function(){if(sU(r))return[r];var c=t==null||t===""?[]:Array.isArray(t)?t:[t],u=Ao(e,c),d=u,f=void 0;if(i){var h=i(u,e,n);Qvt(h)?(d=h.children,f=h.props,a.renderWithProps=!0):d=h}return[d,f]},[s,e,r,t,i,n],function(c,u){if(o){var d=Ie(c,2),f=d[1],h=Ie(u,2),m=h[1];return o(m,f)}return a.renderWithProps?!0:!vu(c,u,!0)});return l}function Zvt(e,t,n,r){var i=e+t-1;return e<=r&&i>=n}function Jvt(e,t){return is(al,function(n){var r=Zvt(e,t||1,n.hoverStartRow,n.hoverEndRow);return[r,n.onHover]})}var e0t=function(t){var n=t.ellipsis,r=t.rowType,i=t.children,o,a=n===!0?{showTitle:!0}:n;return a&&(a.showTitle||r==="header")&&(typeof i=="string"||typeof i=="number"?o=i.toString():p.isValidElement(i)&&typeof i.props.children=="string"&&(o=i.props.children)),o};function t0t(e){var t,n,r,i,o,a,s,l,c=e.component,u=e.children,d=e.ellipsis,f=e.scope,h=e.prefixCls,m=e.className,g=e.align,v=e.record,y=e.render,b=e.dataIndex,_=e.renderIndex,E=e.shouldCellUpdate,C=e.index,S=e.rowType,w=e.colSpan,T=e.rowSpan,O=e.fixLeft,x=e.fixRight,A=e.firstFixLeft,I=e.lastFixLeft,M=e.firstFixRight,B=e.lastFixRight,P=e.appendNode,k=e.additionalProps,N=k===void 0?{}:k,L=e.isSticky,V="".concat(h,"-cell"),$=is(al,["supportSticky","allColumnsFixedLeft","rowHoverable"]),W=$.supportSticky,j=$.allColumnsFixedLeft,U=$.rowHoverable,Z=Xvt(v,b,_,u,y,E),te=Ie(Z,2),ae=te[0],K=te[1],Q={},ie=typeof O=="number"&&W,he=typeof x=="number"&&W;ie&&(Q.position="sticky",Q.left=O),he&&(Q.position="sticky",Q.right=x);var pe=(t=(n=(r=K==null?void 0:K.colSpan)!==null&&r!==void 0?r:N.colSpan)!==null&&n!==void 0?n:w)!==null&&t!==void 0?t:1,le=(i=(o=(a=K==null?void 0:K.rowSpan)!==null&&a!==void 0?a:N.rowSpan)!==null&&o!==void 0?o:T)!==null&&i!==void 0?i:1,de=Jvt(C,le),ve=Ie(de,2),ne=ve[0],ue=ve[1],ge=Yn(function(Re){var De;v&&ue(C,C+le-1),N==null||(De=N.onMouseEnter)===null||De===void 0||De.call(N,Re)}),Ce=Yn(function(Re){var De;v&&ue(-1,-1),N==null||(De=N.onMouseLeave)===null||De===void 0||De.call(N,Re)});if(pe===0||le===0)return null;var Te=(s=N.title)!==null&&s!==void 0?s:e0t({rowType:S,ellipsis:d,children:ae}),Se=xe(V,m,(l={},ee(ee(ee(ee(ee(ee(ee(ee(ee(ee(l,"".concat(V,"-fix-left"),ie&&W),"".concat(V,"-fix-left-first"),A&&W),"".concat(V,"-fix-left-last"),I&&W),"".concat(V,"-fix-left-all"),I&&j&&W),"".concat(V,"-fix-right"),he&&W),"".concat(V,"-fix-right-first"),M&&W),"".concat(V,"-fix-right-last"),B&&W),"".concat(V,"-ellipsis"),d),"".concat(V,"-with-append"),P),"".concat(V,"-fix-sticky"),(ie||he)&&L&&W),ee(l,"".concat(V,"-row-hover"),!K&&ne)),N.className,K==null?void 0:K.className),me={};g&&(me.textAlign=g);var be=G(G(G(G({},K==null?void 0:K.style),Q),me),N.style),_e=ae;return Gt(_e)==="object"&&!Array.isArray(_e)&&!p.isValidElement(_e)&&(_e=null),d&&(I||M)&&(_e=p.createElement("span",{className:"".concat(V,"-content")},_e)),p.createElement(c,Ke({},K,N,{className:Se,style:be,title:Te,scope:f,onMouseEnter:U?ge:void 0,onMouseLeave:U?Ce:void 0,colSpan:pe!==1?pe:null,rowSpan:le!==1?le:null}),P,_e)}const AS=p.memo(t0t);function UY(e,t,n,r,i){var o=n[e]||{},a=n[t]||{},s,l;o.fixed==="left"?s=r.left[i==="rtl"?t:e]:a.fixed==="right"&&(l=r.right[i==="rtl"?e:t]);var c=!1,u=!1,d=!1,f=!1,h=n[t+1],m=n[e-1],g=h&&!h.fixed||m&&!m.fixed||n.every(function(E){return E.fixed==="left"});if(i==="rtl"){if(s!==void 0){var v=m&&m.fixed==="left";f=!v&&g}else if(l!==void 0){var y=h&&h.fixed==="right";d=!y&&g}}else if(s!==void 0){var b=h&&h.fixed==="left";c=!b&&g}else if(l!==void 0){var _=m&&m.fixed==="right";u=!_&&g}return{fixLeft:s,fixRight:l,lastFixLeft:c,firstFixRight:u,lastFixRight:d,firstFixLeft:f,isSticky:r.isSticky}}var p2e=p.createContext({});function n0t(e){var t=e.className,n=e.index,r=e.children,i=e.colSpan,o=i===void 0?1:i,a=e.rowSpan,s=e.align,l=is(al,["prefixCls","direction"]),c=l.prefixCls,u=l.direction,d=p.useContext(p2e),f=d.scrollColumnIndex,h=d.stickyOffsets,m=d.flattenColumns,g=n+o-1,v=g+1===f?o+1:o,y=UY(n,n+v-1,m,h,u);return p.createElement(AS,Ke({className:t,index:n,component:"td",prefixCls:c,record:null,dataIndex:null,align:s,colSpan:v,rowSpan:a,render:function(){return r}},y))}var r0t=["children"];function i0t(e){var t=e.children,n=Dt(e,r0t);return p.createElement("tr",n,t)}function TD(e){var t=e.children;return t}TD.Row=i0t;TD.Cell=n0t;function o0t(e){var t=e.children,n=e.stickyOffsets,r=e.flattenColumns,i=is(al,"prefixCls"),o=r.length-1,a=r[o],s=p.useMemo(function(){return{stickyOffsets:n,flattenColumns:r,scrollColumnIndex:a!=null&&a.scrollbar?o:null}},[a,r,o,n]);return p.createElement(p2e.Provider,{value:s},p.createElement("tfoot",{className:"".concat(i,"-summary")},t))}const $R=IS(o0t);var h2e=TD;function a0t(e){return null}function s0t(e){return null}function m2e(e,t,n,r,i,o,a){e.push({record:t,indent:n,index:a});var s=o(t),l=i==null?void 0:i.has(s);if(t&&Array.isArray(t[r])&&l)for(var c=0;c1?A-1:0),M=1;M=1)),style:G(G({},n),y==null?void 0:y.style)}),m.map(function(O,x){var A=O.render,I=O.dataIndex,M=O.className,B=_2e(f,O,x,l,i),P=B.key,k=B.fixedInfo,N=B.appendCellNode,L=B.additionalCellProps;return p.createElement(AS,Ke({className:M,ellipsis:O.ellipsis,align:O.align,scope:O.rowScope,component:O.rowScope?d:u,prefixCls:h,key:P,record:r,index:i,renderIndex:o,dataIndex:I,render:A,shouldCellUpdate:O.shouldCellUpdate},k,{appendNode:N,additionalProps:L}))})),w;if(_&&(E.current||b)){var T=v(r,i,l+1,b);w=p.createElement(b2e,{expanded:b,className:xe("".concat(h,"-expanded-row"),"".concat(h,"-expanded-row-level-").concat(l+1),C),prefixCls:h,component:c,cellComponent:u,colSpan:m.length,isEmpty:!1},T)}return p.createElement(p.Fragment,null,S,w)}const d0t=IS(u0t);function f0t(e){var t=e.columnKey,n=e.onColumnResize,r=p.useRef();return p.useEffect(function(){r.current&&n(t,r.current.offsetWidth)},[]),p.createElement(xa,{data:t},p.createElement("td",{ref:r,style:{padding:0,border:0,height:0}},p.createElement("div",{style:{height:0,overflow:"hidden"}}," ")))}function p0t(e){var t=e.prefixCls,n=e.columnsKey,r=e.onColumnResize;return p.createElement("tr",{"aria-hidden":"true",className:"".concat(t,"-measure-row"),style:{height:0,fontSize:0}},p.createElement(xa.Collection,{onBatchResize:function(o){o.forEach(function(a){var s=a.data,l=a.size;r(s,l.offsetWidth)})}},n.map(function(i){return p.createElement(f0t,{key:i,columnKey:i,onColumnResize:r})})))}function h0t(e){var t=e.data,n=e.measureColumnWidth,r=is(al,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),i=r.prefixCls,o=r.getComponent,a=r.onColumnResize,s=r.flattenColumns,l=r.getRowKey,c=r.expandedKeys,u=r.childrenColumnName,d=r.emptyNode,f=g2e(t,u,c,l),h=p.useRef({renderWithProps:!1}),m=o(["body","wrapper"],"tbody"),g=o(["body","row"],"tr"),v=o(["body","cell"],"td"),y=o(["body","cell"],"th"),b;t.length?b=f.map(function(E,C){var S=E.record,w=E.indent,T=E.index,O=l(S,C);return p.createElement(d0t,{key:O,rowKey:O,record:S,index:C,renderIndex:T,rowComponent:g,cellComponent:v,scopeCellComponent:y,indent:w})}):b=p.createElement(b2e,{expanded:!0,className:"".concat(i,"-placeholder"),prefixCls:i,component:g,cellComponent:v,colSpan:s.length,isEmpty:!0},d);var _=wD(s);return p.createElement(f2e.Provider,{value:h.current},p.createElement(m,{className:"".concat(i,"-tbody")},n&&p.createElement(p0t,{prefixCls:i,columnsKey:_,onColumnResize:a}),b))}const m0t=IS(h0t);var g0t=["expandable"],gw="RC_TABLE_INTERNAL_COL_DEFINE";function v0t(e){var t=e.expandable,n=Dt(e,g0t),r;return"expandable"in e?r=G(G({},n),t):r=n,r.showExpandColumn===!1&&(r.expandIconColumnIndex=-1),r}var b0t=["columnType"];function S2e(e){for(var t=e.colWidths,n=e.columns,r=e.columCount,i=is(al,["tableLayout"]),o=i.tableLayout,a=[],s=r||n.length,l=!1,c=s-1;c>=0;c-=1){var u=t[c],d=n&&n[c],f=void 0,h=void 0;if(d&&(f=d[gw],o==="auto"&&(h=d.minWidth)),u||h||f||l){var m=f||{};m.columnType;var g=Dt(m,b0t);a.unshift(p.createElement("col",Ke({key:c,style:{width:u,minWidth:h}},g))),l=!0}}return p.createElement("colgroup",null,a)}var y0t=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function _0t(e,t){return p.useMemo(function(){for(var n=[],r=0;r1?"colgroup":"col":null,ellipsis:v.ellipsis,align:v.align,component:a,prefixCls:u,key:h[g]},y,{additionalProps:b,rowType:"header"}))}))};function C0t(e){var t=[];function n(a,s){var l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;t[l]=t[l]||[];var c=s,u=a.filter(Boolean).map(function(d){var f={key:d.key,className:d.className||"",children:d.title,column:d,colStart:c},h=1,m=d.children;return m&&m.length>0&&(h=n(m,c,l+1).reduce(function(g,v){return g+v},0),f.hasSubColumns=!0),"colSpan"in d&&(h=d.colSpan),"rowSpan"in d&&(f.rowSpan=d.rowSpan),f.colSpan=h,f.colEnd=f.colStart+h-1,t[l].push(f),c+=h,h});return u}n(e,0);for(var r=t.length,i=function(s){t[s].forEach(function(l){!("rowSpan"in l)&&!l.hasSubColumns&&(l.rowSpan=r-s)})},o=0;o1&&arguments[1]!==void 0?arguments[1]:"";return typeof t=="number"?t:t.endsWith("%")?e*parseFloat(t)/100:null}function T0t(e,t,n){return p.useMemo(function(){if(t&&t>0){var r=0,i=0;e.forEach(function(f){var h=koe(t,f.width);h?r+=h:i+=1});var o=Math.max(t,n),a=Math.max(o-r,i),s=i,l=a/i,c=0,u=e.map(function(f){var h=G({},f),m=koe(t,h.width);if(m)h.width=m;else{var g=Math.floor(l);h.width=s===1?a:g,a-=g,s-=1}return c+=h.width,h});if(c0?G(G({},t),{},{children:E2e(n)}):t})}function lU(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return e.filter(function(n){return n&&Gt(n)==="object"}).reduce(function(n,r,i){var o=r.fixed,a=o===!0?"left":o,s="".concat(t,"-").concat(i),l=r.children;return l&&l.length>0?[].concat(nt(n),nt(lU(l,s).map(function(c){return G({fixed:a},c)}))):[].concat(nt(n),[G(G({key:s},r),{},{fixed:a})])},[])}function R0t(e){return e.map(function(t){var n=t.fixed,r=Dt(t,O0t),i=n;return n==="left"?i="right":n==="right"&&(i="left"),G({fixed:i},r)})}function I0t(e,t){var n=e.prefixCls,r=e.columns,i=e.children,o=e.expandable,a=e.expandedKeys,s=e.columnTitle,l=e.getRowKey,c=e.onTriggerExpand,u=e.expandIcon,d=e.rowExpandable,f=e.expandIconColumnIndex,h=e.direction,m=e.expandRowByClick,g=e.columnWidth,v=e.fixed,y=e.scrollWidth,b=e.clientWidth,_=p.useMemo(function(){var I=r||zY(i)||[];return E2e(I.slice())},[r,i]),E=p.useMemo(function(){if(o){var I=_.slice();if(!I.includes(Ap)){var M=f||0;M>=0&&(M||v==="left"||!v)&&I.splice(M,0,Ap),v==="right"&&I.splice(_.length,0,Ap)}var B=I.indexOf(Ap);I=I.filter(function(L,V){return L!==Ap||V===B});var P=_[B],k;v?k=v:k=P?P.fixed:null;var N=ee(ee(ee(ee(ee(ee({},gw,{className:"".concat(n,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),"title",s),"fixed",k),"className","".concat(n,"-row-expand-icon-cell")),"width",g),"render",function(V,$,W){var j=l($,W),U=a.has(j),Z=d?d($):!0,te=u({prefixCls:n,expanded:U,expandable:Z,record:$,onExpand:c});return m?p.createElement("span",{onClick:function(K){return K.stopPropagation()}},te):te});return I.map(function(L){return L===Ap?N:L})}return _.filter(function(L){return L!==Ap})},[o,_,l,a,u,h]),C=p.useMemo(function(){var I=E;return t&&(I=t(I)),I.length||(I=[{render:function(){return null}}]),I},[t,E,h]),S=p.useMemo(function(){return h==="rtl"?R0t(lU(C)):lU(C)},[C,h,y]),w=p.useMemo(function(){for(var I=-1,M=S.length-1;M>=0;M-=1){var B=S[M].fixed;if(B==="left"||B===!0){I=M;break}}if(I>=0)for(var P=0;P<=I;P+=1){var k=S[P].fixed;if(k!=="left"&&k!==!0)return!0}var N=S.findIndex(function($){var W=$.fixed;return W==="right"});if(N>=0)for(var L=N;L=N-s?b(function(L){return G(G({},L),{},{isHiddenScrollBar:!0})}):b(function(L){return G(G({},L),{},{isHiddenScrollBar:!1})})}})},M=function(P){b(function(k){return G(G({},k),{},{scrollLeft:P/d*f||0})})};return p.useImperativeHandle(n,function(){return{setScrollLeft:M,checkScrollBarVisible:I}}),p.useEffect(function(){var B=_f(document.body,"mouseup",O,!1),P=_f(document.body,"mousemove",A,!1);return I(),function(){B.remove(),P.remove()}},[h,S]),p.useEffect(function(){var B=_f(l,"scroll",I,!1),P=_f(window,"resize",I,!1);return function(){B.remove(),P.remove()}},[l]),p.useEffect(function(){y.isHiddenScrollBar||b(function(B){var P=o.current;return P?G(G({},B),{},{scrollLeft:P.scrollLeft/P.scrollWidth*P.clientWidth}):B})},[y.isHiddenScrollBar]),d<=f||!h||y.isHiddenScrollBar?null:p.createElement("div",{style:{height:are(),width:f,bottom:s},className:"".concat(u,"-sticky-scroll")},p.createElement("div",{onMouseDown:x,ref:m,className:xe("".concat(u,"-sticky-scroll-bar"),ee({},"".concat(u,"-sticky-scroll-bar-active"),S)),style:{width:"".concat(h,"px"),transform:"translate3d(".concat(y.scrollLeft,"px, 0, 0)")}}))};const $0t=p.forwardRef(L0t);var w2e="rc-table",F0t=[],B0t={};function j0t(){return"No Data"}function H0t(e,t){var n=G({rowKey:"key",prefixCls:w2e,emptyText:j0t},e),r=n.prefixCls,i=n.className,o=n.rowClassName,a=n.style,s=n.data,l=n.rowKey,c=n.scroll,u=n.tableLayout,d=n.direction,f=n.title,h=n.footer,m=n.summary,g=n.caption,v=n.id,y=n.showHeader,b=n.components,_=n.emptyText,E=n.onRow,C=n.onHeaderRow,S=n.onScroll,w=n.internalHooks,T=n.transformColumns,O=n.internalRefs,x=n.tailor,A=n.getContainerWidth,I=n.sticky,M=n.rowHoverable,B=M===void 0?!0:M,P=s||F0t,k=!!P.length,N=w===N2,L=p.useCallback(function(Jn,fn){return Ao(b,Jn)||fn},[b]),V=p.useMemo(function(){return typeof l=="function"?l:function(Jn){var fn=Jn&&Jn[l];return fn}},[l]),$=L(["body"]),W=k0t(),j=Ie(W,3),U=j[0],Z=j[1],te=j[2],ae=A0t(n,P,V),K=Ie(ae,6),Q=K[0],ie=K[1],he=K[2],pe=K[3],le=K[4],de=K[5],ve=c==null?void 0:c.x,ne=p.useState(0),ue=Ie(ne,2),ge=ue[0],Ce=ue[1],Te=I0t(G(G(G({},n),Q),{},{expandable:!!Q.expandedRowRender,columnTitle:Q.columnTitle,expandedKeys:he,getRowKey:V,onTriggerExpand:de,expandIcon:pe,expandIconColumnIndex:Q.expandIconColumnIndex,direction:d,scrollWidth:N&&x&&typeof ve=="number"?ve:null,clientWidth:ge}),N?T:null),Se=Ie(Te,4),me=Se[0],be=Se[1],_e=Se[2],Re=Se[3],De=_e??ve,z=p.useMemo(function(){return{columns:me,flattenColumns:be}},[me,be]),D=p.useRef(),q=p.useRef(),oe=p.useRef(),ye=p.useRef();p.useImperativeHandle(t,function(){return{nativeElement:D.current,scrollTo:function(fn){var wn;if(oe.current instanceof HTMLElement){var Mn=fn.index,Qn=fn.top,Mr=fn.key;if(Kvt(Qn)){var Ko;(Ko=oe.current)===null||Ko===void 0||Ko.scrollTo({top:Qn})}else{var ga,bi=Mr??V(P[Mn]);(ga=oe.current.querySelector('[data-row-key="'.concat(bi,'"]')))===null||ga===void 0||ga.scrollIntoView()}}else(wn=oe.current)!==null&&wn!==void 0&&wn.scrollTo&&oe.current.scrollTo(fn)}}});var ce=p.useRef(),Be=p.useState(!1),Ve=Ie(Be,2),re=Ve[0],Me=Ve[1],je=p.useState(!1),ke=Ie(je,2),Ge=ke[0],Ue=ke[1],qe=C2e(new Map),At=Ie(qe,2),at=At[0],pt=At[1],Ct=wD(be),bt=Ct.map(function(Jn){return at.get(Jn)}),Vt=p.useMemo(function(){return bt},[bt.join("_")]),Tt=D0t(Vt,be,d),Ot=c&&sU(c.y),Ut=c&&sU(De)||!!Q.fixed,ze=Ut&&be.some(function(Jn){var fn=Jn.fixed;return fn}),Ye=p.useRef(),He=P0t(I,r),Ze=He.isSticky,yt=He.offsetHeader,_t=He.offsetSummary,Bt=He.offsetScroll,Nt=He.stickyClassName,vt=He.container,ht=p.useMemo(function(){return m==null?void 0:m(P)},[m,P]),kt=(Ot||Ze)&&p.isValidElement(ht)&&ht.type===TD&&ht.props.fixed,Et,Yt,ct;Ot&&(Yt={overflowY:k?"scroll":"auto",maxHeight:c.y}),Ut&&(Et={overflowX:"auto"},Ot||(Yt={overflowY:"hidden"}),ct={width:De===!0?"auto":De,minWidth:"100%"});var Rt=p.useCallback(function(Jn,fn){mS(D.current)&&pt(function(wn){if(wn.get(Jn)!==fn){var Mn=new Map(wn);return Mn.set(Jn,fn),Mn}return wn})},[]),Ht=M0t(),wt=Ie(Ht,2),St=wt[0],jt=wt[1];function Pe(Jn,fn){fn&&(typeof fn=="function"?fn(Jn):fn.scrollLeft!==Jn&&(fn.scrollLeft=Jn,fn.scrollLeft!==Jn&&setTimeout(function(){fn.scrollLeft=Jn},0)))}var Pt=Yn(function(Jn){var fn=Jn.currentTarget,wn=Jn.scrollLeft,Mn=d==="rtl",Qn=typeof wn=="number"?wn:fn.scrollLeft,Mr=fn||B0t;if(!jt()||jt()===Mr){var Ko;St(Mr),Pe(Qn,q.current),Pe(Qn,oe.current),Pe(Qn,ce.current),Pe(Qn,(Ko=Ye.current)===null||Ko===void 0?void 0:Ko.setScrollLeft)}var ga=fn||q.current;if(ga){var bi=N&&x&&typeof De=="number"?De:ga.scrollWidth,va=ga.clientWidth;if(bi===va){Me(!1),Ue(!1);return}Mn?(Me(-Qn0)):(Me(Qn>0),Ue(Qn1?v-B:0,k=G(G(G({},T),c),{},{flex:"0 0 ".concat(B,"px"),width:"".concat(B,"px"),marginRight:P,pointerEvents:"auto"}),N=p.useMemo(function(){return d?I<=1:x===0||I===0||I>1},[I,x,d]);N?k.visibility="hidden":d&&(k.height=f==null?void 0:f(I));var L=N?function(){return null}:h,V={};return(I===0||x===0)&&(V.rowSpan=1,V.colSpan=1),p.createElement(AS,Ke({className:xe(g,u),ellipsis:n.ellipsis,align:n.align,scope:n.rowScope,component:a,prefixCls:t.prefixCls,key:E,record:l,index:o,renderIndex:s,dataIndex:m,render:L,shouldCellUpdate:n.shouldCellUpdate},C,{appendNode:S,additionalProps:G(G({},w),{},{style:k},V)}))}var G0t=["data","index","className","rowKey","style","extra","getHeight"],W0t=p.forwardRef(function(e,t){var n=e.data,r=e.index,i=e.className,o=e.rowKey,a=e.style,s=e.extra,l=e.getHeight,c=Dt(e,G0t),u=n.record,d=n.indent,f=n.index,h=is(al,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),m=h.scrollX,g=h.flattenColumns,v=h.prefixCls,y=h.fixColumn,b=h.componentWidth,_=is(VY,["getComponent"]),E=_.getComponent,C=v2e(u,o,r,d),S=E(["body","row"],"div"),w=E(["body","cell"],"div"),T=C.rowSupportExpand,O=C.expanded,x=C.rowProps,A=C.expandedRowRender,I=C.expandedRowClassName,M;if(T&&O){var B=A(u,r,d+1,O),P=y2e(I,u,r,d),k={};y&&(k={style:ee({},"--virtual-width","".concat(b,"px"))});var N="".concat(v,"-expanded-row-cell");M=p.createElement(S,{className:xe("".concat(v,"-expanded-row"),"".concat(v,"-expanded-row-level-").concat(d+1),P)},p.createElement(AS,{component:w,prefixCls:v,className:xe(N,ee({},"".concat(N,"-fixed"),y)),additionalProps:k},B))}var L=G(G({},a),{},{width:m});s&&(L.position="absolute",L.pointerEvents="none");var V=p.createElement(S,Ke({},x,c,{"data-row-key":o,ref:T?null:t,className:xe(i,"".concat(v,"-row"),x==null?void 0:x.className,ee({},"".concat(v,"-row-extra"),s)),style:G(G({},L),x==null?void 0:x.style)}),g.map(function($,W){return p.createElement(V0t,{key:W,component:w,rowInfo:C,column:$,colIndex:W,indent:d,index:r,renderIndex:f,record:u,inverse:s,getHeight:l})}));return T?p.createElement("div",{ref:t},V,M):V}),$oe=IS(W0t),q0t=p.forwardRef(function(e,t){var n=e.data,r=e.onScroll,i=is(al,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","scrollX","direction"]),o=i.flattenColumns,a=i.onColumnResize,s=i.getRowKey,l=i.expandedKeys,c=i.prefixCls,u=i.childrenColumnName,d=i.scrollX,f=i.direction,h=is(VY),m=h.sticky,g=h.scrollY,v=h.listItemHeight,y=h.getComponent,b=h.onScroll,_=p.useRef(),E=g2e(n,u,l,s),C=p.useMemo(function(){var M=0;return o.map(function(B){var P=B.width,k=B.key;return M+=P,[k,P,M]})},[o]),S=p.useMemo(function(){return C.map(function(M){return M[2]})},[C]);p.useEffect(function(){C.forEach(function(M){var B=Ie(M,2),P=B[0],k=B[1];a(P,k)})},[C]),p.useImperativeHandle(t,function(){var M,B={scrollTo:function(k){var N;(N=_.current)===null||N===void 0||N.scrollTo(k)},nativeElement:(M=_.current)===null||M===void 0?void 0:M.nativeElement};return Object.defineProperty(B,"scrollLeft",{get:function(){var k;return((k=_.current)===null||k===void 0?void 0:k.getScrollInfo().x)||0},set:function(k){var N;(N=_.current)===null||N===void 0||N.scrollTo({left:k})}}),B});var w=function(B,P){var k,N=(k=E[P])===null||k===void 0?void 0:k.record,L=B.onCell;if(L){var V,$=L(N,P);return(V=$==null?void 0:$.rowSpan)!==null&&V!==void 0?V:1}return 1},T=function(B){var P=B.start,k=B.end,N=B.getSize,L=B.offsetY;if(k<0)return null;for(var V=o.filter(function(pe){return w(pe,P)===0}),$=P,W=function(le){if(V=V.filter(function(de){return w(de,le)===0}),!V.length)return $=le,1},j=P;j>=0&&!W(j);j-=1);for(var U=o.filter(function(pe){return w(pe,k)!==1}),Z=k,te=function(le){if(U=U.filter(function(de){return w(de,le)!==1}),!U.length)return Z=Math.max(le-1,k),1},ae=k;ae1})&&K.push(le)},ie=$;ie<=Z;ie+=1)Q(ie);var he=K.map(function(pe){var le=E[pe],de=s(le.record,pe),ve=function(ge){var Ce=pe+ge-1,Te=s(E[Ce].record,Ce),Se=N(de,Te);return Se.bottom-Se.top},ne=N(de);return p.createElement($oe,{key:pe,data:le,rowKey:de,index:pe,style:{top:-L+ne.top},extra:!0,getHeight:ve})});return he},O=p.useMemo(function(){return{columnsOffset:S}},[S]),x="".concat(c,"-tbody"),A=y(["body","wrapper"]),I={};return m&&(I.position="sticky",I.bottom=0,Gt(m)==="object"&&m.offsetScroll&&(I.bottom=m.offsetScroll)),p.createElement(x2e.Provider,{value:O},p.createElement(Y5,{fullHeight:!1,ref:_,prefixCls:"".concat(x,"-virtual"),styles:{horizontalScrollBar:I},className:x,height:g,itemHeight:v||24,data:E,itemKey:function(B){return s(B.record)},component:A,scrollWidth:d,direction:f,onVirtualScroll:function(B){var P,k=B.x;r({currentTarget:(P=_.current)===null||P===void 0?void 0:P.nativeElement,scrollLeft:k})},onScroll:b,extraRender:T},function(M,B,P){var k=s(M.record,B);return p.createElement($oe,{data:M,rowKey:k,index:B,style:P.style})}))}),Y0t=IS(q0t),K0t=function(t,n){var r=n.ref,i=n.onScroll;return p.createElement(Y0t,{ref:r,data:t,onScroll:i})};function Q0t(e,t){var n=e.data,r=e.columns,i=e.scroll,o=e.sticky,a=e.prefixCls,s=a===void 0?w2e:a,l=e.className,c=e.listItemHeight,u=e.components,d=e.onScroll,f=i||{},h=f.x,m=f.y;typeof h!="number"&&(h=1),typeof m!="number"&&(m=500);var g=Yn(function(b,_){return Ao(u,b)||_}),v=Yn(d),y=p.useMemo(function(){return{sticky:o,scrollY:m,listItemHeight:c,getComponent:g,onScroll:v}},[o,m,c,g,v]);return p.createElement(VY.Provider,{value:y},p.createElement(NS,Ke({},e,{className:xe(l,"".concat(s,"-virtual")),scroll:G(G({},i),{},{x:h}),components:G(G({},u),{},{body:n!=null&&n.length?K0t:void 0}),columns:r,internalHooks:N2,tailor:!0,ref:t})))}var X0t=p.forwardRef(Q0t);function O2e(e){return d2e(X0t,e)}O2e();const Z0t=e=>null,J0t=e=>null;var GY=p.createContext(null),R2e=p.createContext({}),ebt=function(t){for(var n=t.prefixCls,r=t.level,i=t.isStart,o=t.isEnd,a="".concat(n,"-indent-unit"),s=[],l=0;l=0&&n.splice(r,1),n}function _p(e,t){var n=(e||[]).slice();return n.indexOf(t)===-1&&n.push(t),n}function WY(e){return e.split("-")}function ibt(e,t){var n=[],r=Sl(t,e);function i(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];o.forEach(function(a){var s=a.key,l=a.children;n.push(s),i(l)})}return i(r.children),n}function obt(e){if(e.parent){var t=WY(e.pos);return Number(t[t.length-1])===e.parent.children.length-1}return!1}function abt(e){var t=WY(e.pos);return Number(t[t.length-1])===0}function joe(e,t,n,r,i,o,a,s,l,c){var u,d=e.clientX,f=e.clientY,h=e.target.getBoundingClientRect(),m=h.top,g=h.height,v=(c==="rtl"?-1:1)*(((i==null?void 0:i.x)||0)-d),y=(v-12)/r,b=l.filter(function(k){var N;return(N=s[k])===null||N===void 0||(N=N.children)===null||N===void 0?void 0:N.length}),_=Sl(s,n.eventKey);if(f-1.5?o({dragNode:M,dropNode:B,dropPosition:1})?x=1:P=!1:o({dragNode:M,dropNode:B,dropPosition:0})?x=0:o({dragNode:M,dropNode:B,dropPosition:1})?x=1:P=!1:o({dragNode:M,dropNode:B,dropPosition:1})?x=1:P=!1,{dropPosition:x,dropLevelOffset:A,dropTargetKey:_.key,dropTargetPos:_.pos,dragOverNodeKey:O,dropContainerKey:x===0?null:((u=_.parent)===null||u===void 0?void 0:u.key)||null,dropAllowed:P}}function Hoe(e,t){if(e){var n=t.multiple;return n?e.slice():e.length?[e[0]]:e}}function m$(e){if(!e)return null;var t;if(Array.isArray(e))t={checkedKeys:e,halfCheckedKeys:void 0};else if(Gt(e)==="object")t={checkedKeys:e.checked||void 0,halfCheckedKeys:e.halfChecked||void 0};else return Yr(!1,"`checkedKeys` is not an array or an object"),null;return t}function cU(e,t){var n=new Set;function r(i){if(!n.has(i)){var o=Sl(t,i);if(o){n.add(i);var a=o.parent,s=o.node;s.disabled||a&&r(a.key)}}}return(e||[]).forEach(function(i){r(i)}),nt(n)}function sbt(e){const[t,n]=p.useState(null);return[p.useCallback((o,a,s)=>{const l=t??o,c=Math.min(l||0,o),u=Math.max(l||0,o),d=a.slice(c,u+1).map(m=>e(m)),f=d.some(m=>!s.has(m)),h=[];return d.forEach(m=>{f?(s.has(m)||h.push(m),s.add(m)):(s.delete(m),h.push(m))}),n(f?u:null),h},[t]),o=>{n(o)}]}const tm={},uU="SELECT_ALL",dU="SELECT_INVERT",fU="SELECT_NONE",Uoe=[],I2e=(e,t)=>{let n=[];return(t||[]).forEach(r=>{n.push(r),r&&typeof r=="object"&&e in r&&(n=[].concat(nt(n),nt(I2e(e,r[e]))))}),n},lbt=(e,t)=>{const{preserveSelectedRowKeys:n,selectedRowKeys:r,defaultSelectedRowKeys:i,getCheckboxProps:o,onChange:a,onSelect:s,onSelectAll:l,onSelectInvert:c,onSelectNone:u,onSelectMultiple:d,columnWidth:f,type:h,selections:m,fixed:g,renderCell:v,hideSelectAll:y,checkStrictly:b=!0}=t||{},{prefixCls:_,data:E,pageData:C,getRecordByKey:S,getRowKey:w,expandType:T,childrenColumnName:O,locale:x,getPopupContainer:A}=e,I=Wf(),[M,B]=sbt(pe=>pe),[P,k]=Pn(r||i||Uoe,{value:r}),N=p.useRef(new Map),L=p.useCallback(pe=>{if(n){const le=new Map;pe.forEach(de=>{let ve=S(de);!ve&&N.current.has(de)&&(ve=N.current.get(de)),le.set(de,ve)}),N.current=le}},[S,n]);p.useEffect(()=>{L(P)},[P]);const V=p.useMemo(()=>I2e(O,C),[O,C]),{keyEntities:$}=p.useMemo(()=>{if(b)return{keyEntities:null};let pe=E;if(n){const le=new Set(V.map((ve,ne)=>w(ve,ne))),de=Array.from(N.current).reduce((ve,ne)=>{let[ue,ge]=ne;return le.has(ue)?ve:ve.concat(ge)},[]);pe=[].concat(nt(pe),nt(de))}return E2(pe,{externalGetKey:w,childrenPropName:O})},[E,w,b,O,n,V]),W=p.useMemo(()=>{const pe=new Map;return V.forEach((le,de)=>{const ve=w(le,de),ne=(o?o(le):null)||{};pe.set(ve,ne)}),pe},[V,w,o]),j=p.useCallback(pe=>{const le=w(pe);let de;return W.has(le)?de=W.get(w(pe)):de=o?o(pe):void 0,!!(de!=null&&de.disabled)},[W,w]),[U,Z]=p.useMemo(()=>{if(b)return[P||[],[]];const{checkedKeys:pe,halfCheckedKeys:le}=lu(P,!0,$,j);return[pe||[],le]},[P,b,$,j]),te=p.useMemo(()=>{const pe=h==="radio"?U.slice(0,1):U;return new Set(pe)},[U,h]),ae=p.useMemo(()=>h==="radio"?new Set:new Set(Z),[Z,h]);p.useEffect(()=>{t||k(Uoe)},[!!t]);const K=p.useCallback((pe,le)=>{let de,ve;L(pe),n?(de=pe,ve=pe.map(ne=>N.current.get(ne))):(de=[],ve=[],pe.forEach(ne=>{const ue=S(ne);ue!==void 0&&(de.push(ne),ve.push(ue))})),k(de),a==null||a(de,ve,{type:le})},[k,S,a,n]),Q=p.useCallback((pe,le,de,ve)=>{if(s){const ne=de.map(ue=>S(ue));s(S(pe),le,ne,ve)}K(de,"single")},[s,S,K]),ie=p.useMemo(()=>!m||y?null:(m===!0?[uU,dU,fU]:m).map(le=>le===uU?{key:"all",text:x.selectionAll,onSelect(){K(E.map((de,ve)=>w(de,ve)).filter(de=>{const ve=W.get(de);return!(ve!=null&&ve.disabled)||te.has(de)}),"all")}}:le===dU?{key:"invert",text:x.selectInvert,onSelect(){const de=new Set(te);C.forEach((ne,ue)=>{const ge=w(ne,ue),Ce=W.get(ge);Ce!=null&&Ce.disabled||(de.has(ge)?de.delete(ge):de.add(ge))});const ve=Array.from(de);c&&(I.deprecated(!1,"onSelectInvert","onChange"),c(ve)),K(ve,"invert")}}:le===fU?{key:"none",text:x.selectNone,onSelect(){u==null||u(),K(Array.from(te).filter(de=>{const ve=W.get(de);return ve==null?void 0:ve.disabled}),"none")}}:le).map(le=>Object.assign(Object.assign({},le),{onSelect:function(){for(var de,ve,ne=arguments.length,ue=new Array(ne),ge=0;ge{var le;if(!t)return pe.filter(ye=>ye!==tm);let de=nt(pe);const ve=new Set(te),ne=V.map(w).filter(ye=>!W.get(ye).disabled),ue=ne.every(ye=>ve.has(ye)),ge=ne.some(ye=>ve.has(ye)),Ce=()=>{const ye=[];ue?ne.forEach(Be=>{ve.delete(Be),ye.push(Be)}):ne.forEach(Be=>{ve.has(Be)||(ve.add(Be),ye.push(Be))});const ce=Array.from(ve);l==null||l(!ue,ce.map(Be=>S(Be)),ye.map(Be=>S(Be))),K(ce,"all"),B(null)};let Te,Se;if(h!=="radio"){let ye;if(ie){const Me={getPopupContainer:A,items:ie.map((je,ke)=>{const{key:Ge,text:Ue,onSelect:qe}=je;return{key:Ge??ke,onClick:()=>{qe==null||qe(ne)},label:Ue}})};ye=p.createElement("div",{className:`${_}-selection-extra`},p.createElement(vD,{menu:Me,getPopupContainer:A},p.createElement("span",null,p.createElement(p2,null))))}const ce=V.map((Me,je)=>{const ke=w(Me,je),Ge=W.get(ke)||{};return Object.assign({checked:ve.has(ke)},Ge)}).filter(Me=>{let{disabled:je}=Me;return je}),Be=!!ce.length&&ce.length===V.length,Ve=Be&&ce.every(Me=>{let{checked:je}=Me;return je}),re=Be&&ce.some(Me=>{let{checked:je}=Me;return je});Se=p.createElement(fh,{checked:Be?Ve:!!V.length&&ue,indeterminate:Be?!Ve&&re:!ue&&ge,onChange:Ce,disabled:V.length===0||Be,"aria-label":ye?"Custom selection":"Select all",skipGroup:!0}),Te=!y&&p.createElement("div",{className:`${_}-selection`},Se,ye)}let me;h==="radio"?me=(ye,ce,Be)=>{const Ve=w(ce,Be),re=ve.has(Ve),Me=W.get(Ve);return{node:p.createElement(qi,Object.assign({},Me,{checked:re,onClick:je=>{var ke;je.stopPropagation(),(ke=Me==null?void 0:Me.onClick)===null||ke===void 0||ke.call(Me,je)},onChange:je=>{var ke;ve.has(Ve)||Q(Ve,!0,[Ve],je.nativeEvent),(ke=Me==null?void 0:Me.onChange)===null||ke===void 0||ke.call(Me,je)}})),checked:re}}:me=(ye,ce,Be)=>{var Ve;const re=w(ce,Be),Me=ve.has(re),je=ae.has(re),ke=W.get(re);let Ge;return T==="nest"?Ge=je:Ge=(Ve=ke==null?void 0:ke.indeterminate)!==null&&Ve!==void 0?Ve:je,{node:p.createElement(fh,Object.assign({},ke,{indeterminate:Ge,checked:Me,skipGroup:!0,onClick:Ue=>{var qe;Ue.stopPropagation(),(qe=ke==null?void 0:ke.onClick)===null||qe===void 0||qe.call(ke,Ue)},onChange:Ue=>{var qe;const{nativeEvent:At}=Ue,{shiftKey:at}=At,pt=ne.findIndex(bt=>bt===re),Ct=U.some(bt=>ne.includes(bt));if(at&&b&&Ct){const bt=M(pt,ne,ve),Vt=Array.from(ve);d==null||d(!Me,Vt.map(Tt=>S(Tt)),bt.map(Tt=>S(Tt))),K(Vt,"multiple")}else{const bt=U;if(b){const Vt=Me?Jd(bt,re):_p(bt,re);Q(re,!Me,Vt,At)}else{const Vt=lu([].concat(nt(bt),[re]),!0,$,j),{checkedKeys:Tt,halfCheckedKeys:Ot}=Vt;let Ut=Tt;if(Me){const ze=new Set(Tt);ze.delete(re),Ut=lu(Array.from(ze),{checked:!1,halfCheckedKeys:Ot},$,j).checkedKeys}Q(re,!Me,Ut,At)}}B(Me?null:pt),(qe=ke==null?void 0:ke.onChange)===null||qe===void 0||qe.call(ke,Ue)}})),checked:Me}};const be=(ye,ce,Be)=>{const{node:Ve,checked:re}=me(ye,ce,Be);return v?v(re,ce,Be,Ve):Ve};if(!de.includes(tm))if(de.findIndex(ye=>{var ce;return((ce=ye[gw])===null||ce===void 0?void 0:ce.columnType)==="EXPAND_COLUMN"})===0){const[ye,...ce]=de;de=[ye,tm].concat(nt(ce))}else de=[tm].concat(nt(de));const _e=de.indexOf(tm);de=de.filter((ye,ce)=>ye!==tm||ce===_e);const Re=de[_e-1],De=de[_e+1];let z=g;z===void 0&&((De==null?void 0:De.fixed)!==void 0?z=De.fixed:(Re==null?void 0:Re.fixed)!==void 0&&(z=Re.fixed)),z&&Re&&((le=Re[gw])===null||le===void 0?void 0:le.columnType)==="EXPAND_COLUMN"&&Re.fixed===void 0&&(Re.fixed=z);const D=xe(`${_}-selection-col`,{[`${_}-selection-col-with-dropdown`]:m&&h==="checkbox"}),q=()=>t!=null&&t.columnTitle?typeof t.columnTitle=="function"?t.columnTitle(Se):t.columnTitle:Te,oe={fixed:z,width:f,className:`${_}-selection-column`,title:q(),render:be,onCell:t.onCell,[gw]:{className:D}};return de.map(ye=>ye===tm?oe:ye)},[w,V,t,U,te,ae,f,ie,T,W,d,Q,j]),te]};function cbt(e,t){return e._antProxy=e._antProxy||{},Object.keys(t).forEach(n=>{if(!(n in e._antProxy)){const r=e[n];e._antProxy[n]=r,e[n]=t[n]}}),e}function ubt(e,t){return p.useImperativeHandle(e,()=>{const n=t(),{nativeElement:r}=n;return typeof Proxy<"u"?new Proxy(r,{get(i,o){return n[o]?n[o]:Reflect.get(i,o)}}):cbt(r,n)})}function dbt(e){return t=>{const{prefixCls:n,onExpand:r,record:i,expanded:o,expandable:a}=t,s=`${n}-row-expand-icon`;return p.createElement("button",{type:"button",onClick:l=>{r(i,l),l.stopPropagation()},className:xe(s,{[`${s}-spaced`]:!a,[`${s}-expanded`]:a&&o,[`${s}-collapsed`]:a&&!o}),"aria-label":o?e.collapse:e.expand,"aria-expanded":o})}}function fbt(e){return(n,r)=>{const i=n.querySelector(`.${e}-container`);let o=r;if(i){const a=getComputedStyle(i),s=parseInt(a.borderLeftWidth,10),l=parseInt(a.borderRightWidth,10);o=r-s-l}return o}}const bg=(e,t)=>"key"in e&&e.key!==void 0&&e.key!==null?e.key:e.dataIndex?Array.isArray(e.dataIndex)?e.dataIndex.join("."):e.dataIndex:t;function MS(e,t){return t?`${t}-${e}`:`${e}`}const xD=(e,t)=>typeof e=="function"?e(t):e,pbt=(e,t)=>{const n=xD(e,t);return Object.prototype.toString.call(n)==="[object Object]"?"":n};function hbt(e){const t=p.useRef(e),n=Xq();return[()=>t.current,r=>{t.current=r,n()}]}var mbt=function(t){var n=t.dropPosition,r=t.dropLevelOffset,i=t.indent,o={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(n){case-1:o.top=0,o.left=-r*i;break;case 1:o.bottom=0,o.left=-r*i;break;case 0:o.bottom=0,o.left=i;break}return se.createElement("div",{style:o})};function A2e(e){if(e==null)throw new TypeError("Cannot destructure "+e)}function gbt(e,t){var n=p.useState(!1),r=Ie(n,2),i=r[0],o=r[1];ar(function(){if(i)return e(),function(){t()}},[i]),ar(function(){return o(!0),function(){o(!1)}},[])}var vbt=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],bbt=p.forwardRef(function(e,t){var n=e.className,r=e.style,i=e.motion,o=e.motionNodes,a=e.motionType,s=e.onMotionStart,l=e.onMotionEnd,c=e.active,u=e.treeNodeRequiredProps,d=Dt(e,vbt),f=p.useState(!0),h=Ie(f,2),m=h[0],g=h[1],v=p.useContext(GY),y=v.prefixCls,b=o&&a!=="hide";ar(function(){o&&b!==m&&g(b)},[o]);var _=function(){o&&s()},E=p.useRef(!1),C=function(){o&&!E.current&&(E.current=!0,l())};gbt(_,C);var S=function(T){b===T&&C()};return o?p.createElement(ia,Ke({ref:t,visible:m},i,{motionAppear:a==="show",onVisibleChanged:S}),function(w,T){var O=w.className,x=w.style;return p.createElement("div",{ref:T,className:xe("".concat(y,"-treenode-motion"),O),style:x},o.map(function(A){var I=Object.assign({},(A2e(A.data),A.data)),M=A.title,B=A.key,P=A.isStart,k=A.isEnd;delete I.children;var N=hw(B,u);return p.createElement(jT,Ke({},I,N,{title:M,active:c,data:A.data,key:B,isStart:P,isEnd:k}))}))}):p.createElement(jT,Ke({domRef:t,className:n,style:r},d,{active:c}))});function ybt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=e.length,r=t.length;if(Math.abs(n-r)!==1)return{add:!1,key:null};function i(o,a){var s=new Map;o.forEach(function(c){s.set(c,!0)});var l=a.filter(function(c){return!s.has(c)});return l.length===1?l[0]:null}return n ").concat(t);return t}var Cbt=p.forwardRef(function(e,t){var n=e.prefixCls,r=e.data;e.selectable,e.checkable;var i=e.expandedKeys,o=e.selectedKeys,a=e.checkedKeys,s=e.loadedKeys,l=e.loadingKeys,c=e.halfCheckedKeys,u=e.keyEntities,d=e.disabled,f=e.dragging,h=e.dragOverNodeKey,m=e.dropPosition,g=e.motion,v=e.height,y=e.itemHeight,b=e.virtual,_=e.scrollWidth,E=e.focusable,C=e.activeItem,S=e.focused,w=e.tabIndex,T=e.onKeyDown,O=e.onFocus,x=e.onBlur,A=e.onActiveChange,I=e.onListChangeStart,M=e.onListChangeEnd,B=Dt(e,_bt),P=p.useRef(null),k=p.useRef(null);p.useImperativeHandle(t,function(){return{scrollTo:function(be){P.current.scrollTo(be)},getIndentWidth:function(){return k.current.offsetWidth}}});var N=p.useState(i),L=Ie(N,2),V=L[0],$=L[1],W=p.useState(r),j=Ie(W,2),U=j[0],Z=j[1],te=p.useState(r),ae=Ie(te,2),K=ae[0],Q=ae[1],ie=p.useState([]),he=Ie(ie,2),pe=he[0],le=he[1],de=p.useState(null),ve=Ie(de,2),ne=ve[0],ue=ve[1],ge=p.useRef(r);ge.current=r;function Ce(){var me=ge.current;Z(me),Q(me),le([]),ue(null),M()}ar(function(){$(i);var me=ybt(V,i);if(me.key!==null)if(me.add){var be=U.findIndex(function(q){var oe=q.key;return oe===me.key}),_e=Woe(zoe(U,r,me.key),b,v,y),Re=U.slice();Re.splice(be+1,0,Goe),Q(Re),le(_e),ue("show")}else{var De=r.findIndex(function(q){var oe=q.key;return oe===me.key}),z=Woe(zoe(r,U,me.key),b,v,y),D=r.slice();D.splice(De+1,0,Goe),Q(D),le(z),ue("hide")}else U!==r&&(Z(r),Q(r))},[i,r]),p.useEffect(function(){f||Ce()},[f]);var Te=g?K:r,Se={expandedKeys:i,selectedKeys:o,loadedKeys:s,loadingKeys:l,checkedKeys:a,halfCheckedKeys:c,dragOverNodeKey:h,dropPosition:m,keyEntities:u};return p.createElement(p.Fragment,null,S&&C&&p.createElement("span",{style:Voe,"aria-live":"assertive"},Ebt(C)),p.createElement("div",null,p.createElement("input",{style:Voe,disabled:E===!1||d,tabIndex:E!==!1?w:null,onKeyDown:T,onFocus:O,onBlur:x,value:"",onChange:Sbt,"aria-label":"for screen reader"})),p.createElement("div",{className:"".concat(n,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},p.createElement("div",{className:"".concat(n,"-indent")},p.createElement("div",{ref:k,className:"".concat(n,"-indent-unit")}))),p.createElement(Y5,Ke({},B,{data:Te,itemKey:qoe,height:v,fullHeight:!1,virtual:b,itemHeight:y,scrollWidth:_,prefixCls:"".concat(n,"-list"),ref:P,role:"tree",onVisibleChange:function(be){be.every(function(_e){return qoe(_e)!==Vv})&&Ce()}}),function(me){var be=me.pos,_e=Object.assign({},(A2e(me.data),me.data)),Re=me.title,De=me.key,z=me.isStart,D=me.isEnd,q=S2(De,be);delete _e.key,delete _e.children;var oe=hw(q,Se);return p.createElement(bbt,Ke({},_e,oe,{title:Re,active:!!C&&De===C.key,pos:be,data:me.data,isStart:z,isEnd:D,motion:g,motionNodes:De===Vv?pe:null,motionType:ne,onMotionStart:I,onMotionEnd:Ce,treeNodeRequiredProps:Se,onMouseMove:function(){A(null)}}))}))}),wbt=10,OD=function(e){Ds(n,e);var t=ol(n);function n(){var r;Kr(this,n);for(var i=arguments.length,o=new Array(i),a=0;a2&&arguments[2]!==void 0?arguments[2]:!1,d=r.state,f=d.dragChildrenKeys,h=d.dropPosition,m=d.dropTargetKey,g=d.dropTargetPos,v=d.dropAllowed;if(v){var y=r.props.onDrop;if(r.setState({dragOverNodeKey:null}),r.cleanDragState(),m!==null){var b=G(G({},hw(m,r.getTreeNodeRequiredProps())),{},{active:((c=r.getActiveItem())===null||c===void 0?void 0:c.key)===m,data:Sl(r.state.keyEntities,m).node}),_=f.includes(m);Yr(!_,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var E=WY(g),C={event:s,node:ua(b),dragNode:r.dragNodeProps?ua(r.dragNodeProps):null,dragNodesKeys:[r.dragNodeProps.eventKey].concat(f),dropToGap:h!==0,dropPosition:h+Number(E[E.length-1])};u||y==null||y(C),r.dragNodeProps=null}}}),ee(cn(r),"cleanDragState",function(){var s=r.state.draggingNodeKey;s!==null&&r.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),r.dragStartMousePosition=null,r.currentMouseOverDroppableNodeKey=null}),ee(cn(r),"triggerExpandActionExpand",function(s,l){var c=r.state,u=c.expandedKeys,d=c.flattenNodes,f=l.expanded,h=l.key,m=l.isLeaf;if(!(m||s.shiftKey||s.metaKey||s.ctrlKey)){var g=d.filter(function(y){return y.key===h})[0],v=ua(G(G({},hw(h,r.getTreeNodeRequiredProps())),{},{data:g.data}));r.setExpandedKeys(f?Jd(u,h):_p(u,h)),r.onNodeExpand(s,v)}}),ee(cn(r),"onNodeClick",function(s,l){var c=r.props,u=c.onClick,d=c.expandAction;d==="click"&&r.triggerExpandActionExpand(s,l),u==null||u(s,l)}),ee(cn(r),"onNodeDoubleClick",function(s,l){var c=r.props,u=c.onDoubleClick,d=c.expandAction;d==="doubleClick"&&r.triggerExpandActionExpand(s,l),u==null||u(s,l)}),ee(cn(r),"onNodeSelect",function(s,l){var c=r.state.selectedKeys,u=r.state,d=u.keyEntities,f=u.fieldNames,h=r.props,m=h.onSelect,g=h.multiple,v=l.selected,y=l[f.key],b=!v;b?g?c=_p(c,y):c=[y]:c=Jd(c,y);var _=c.map(function(E){var C=Sl(d,E);return C?C.node:null}).filter(Boolean);r.setUncontrolledState({selectedKeys:c}),m==null||m(c,{event:"select",selected:b,node:l,selectedNodes:_,nativeEvent:s.nativeEvent})}),ee(cn(r),"onNodeCheck",function(s,l,c){var u=r.state,d=u.keyEntities,f=u.checkedKeys,h=u.halfCheckedKeys,m=r.props,g=m.checkStrictly,v=m.onCheck,y=l.key,b,_={event:"check",node:l,checked:c,nativeEvent:s.nativeEvent};if(g){var E=c?_p(f,y):Jd(f,y),C=Jd(h,y);b={checked:E,halfChecked:C},_.checkedNodes=E.map(function(A){return Sl(d,A)}).filter(Boolean).map(function(A){return A.node}),r.setUncontrolledState({checkedKeys:E})}else{var S=lu([].concat(nt(f),[y]),!0,d),w=S.checkedKeys,T=S.halfCheckedKeys;if(!c){var O=new Set(w);O.delete(y);var x=lu(Array.from(O),{checked:!1,halfCheckedKeys:T},d);w=x.checkedKeys,T=x.halfCheckedKeys}b=w,_.checkedNodes=[],_.checkedNodesPositions=[],_.halfCheckedKeys=T,w.forEach(function(A){var I=Sl(d,A);if(I){var M=I.node,B=I.pos;_.checkedNodes.push(M),_.checkedNodesPositions.push({node:M,pos:B})}}),r.setUncontrolledState({checkedKeys:w},!1,{halfCheckedKeys:T})}v==null||v(b,_)}),ee(cn(r),"onNodeLoad",function(s){var l,c=s.key,u=r.state.keyEntities,d=Sl(u,c);if(!(d!=null&&(l=d.children)!==null&&l!==void 0&&l.length)){var f=new Promise(function(h,m){r.setState(function(g){var v=g.loadedKeys,y=v===void 0?[]:v,b=g.loadingKeys,_=b===void 0?[]:b,E=r.props,C=E.loadData,S=E.onLoad;if(!C||y.includes(c)||_.includes(c))return null;var w=C(s);return w.then(function(){var T=r.state.loadedKeys,O=_p(T,c);S==null||S(O,{event:"load",node:s}),r.setUncontrolledState({loadedKeys:O}),r.setState(function(x){return{loadingKeys:Jd(x.loadingKeys,c)}}),h()}).catch(function(T){if(r.setState(function(x){return{loadingKeys:Jd(x.loadingKeys,c)}}),r.loadingRetryTimes[c]=(r.loadingRetryTimes[c]||0)+1,r.loadingRetryTimes[c]>=wbt){var O=r.state.loadedKeys;Yr(!1,"Retry for `loadData` many times but still failed. No more retry."),r.setUncontrolledState({loadedKeys:_p(O,c)}),h()}m(T)}),{loadingKeys:_p(_,c)}})});return f.catch(function(){}),f}}),ee(cn(r),"onNodeMouseEnter",function(s,l){var c=r.props.onMouseEnter;c==null||c({event:s,node:l})}),ee(cn(r),"onNodeMouseLeave",function(s,l){var c=r.props.onMouseLeave;c==null||c({event:s,node:l})}),ee(cn(r),"onNodeContextMenu",function(s,l){var c=r.props.onRightClick;c&&(s.preventDefault(),c({event:s,node:l}))}),ee(cn(r),"onFocus",function(){var s=r.props.onFocus;r.setState({focused:!0});for(var l=arguments.length,c=new Array(l),u=0;u1&&arguments[1]!==void 0?arguments[1]:!1,c=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!r.destroyed){var u=!1,d=!0,f={};Object.keys(s).forEach(function(h){if(r.props.hasOwnProperty(h)){d=!1;return}u=!0,f[h]=s[h]}),u&&(!l||d)&&r.setState(G(G({},f),c))}}),ee(cn(r),"scrollTo",function(s){r.listRef.current.scrollTo(s)}),r}return Qr(n,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var i=this.props,o=i.activeKey,a=i.itemScrollOffset,s=a===void 0?0:a;o!==void 0&&o!==this.state.activeKey&&(this.setState({activeKey:o}),o!==null&&this.scrollTo({key:o,offset:s}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var i=this.state,o=i.focused,a=i.flattenNodes,s=i.keyEntities,l=i.draggingNodeKey,c=i.activeKey,u=i.dropLevelOffset,d=i.dropContainerKey,f=i.dropTargetKey,h=i.dropPosition,m=i.dragOverNodeKey,g=i.indent,v=this.props,y=v.prefixCls,b=v.className,_=v.style,E=v.showLine,C=v.focusable,S=v.tabIndex,w=S===void 0?0:S,T=v.selectable,O=v.showIcon,x=v.icon,A=v.switcherIcon,I=v.draggable,M=v.checkable,B=v.checkStrictly,P=v.disabled,k=v.motion,N=v.loadData,L=v.filterTreeNode,V=v.height,$=v.itemHeight,W=v.scrollWidth,j=v.virtual,U=v.titleRender,Z=v.dropIndicatorRender,te=v.onContextMenu,ae=v.onScroll,K=v.direction,Q=v.rootClassName,ie=v.rootStyle,he=xi(this.props,{aria:!0,data:!0}),pe;I&&(Gt(I)==="object"?pe=I:typeof I=="function"?pe={nodeDraggable:I}:pe={});var le={prefixCls:y,selectable:T,showIcon:O,icon:x,switcherIcon:A,draggable:pe,draggingNodeKey:l,checkable:M,checkStrictly:B,disabled:P,keyEntities:s,dropLevelOffset:u,dropContainerKey:d,dropTargetKey:f,dropPosition:h,dragOverNodeKey:m,indent:g,direction:K,dropIndicatorRender:Z,loadData:N,filterTreeNode:L,titleRender:U,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop};return p.createElement(GY.Provider,{value:le},p.createElement("div",{className:xe(y,b,Q,ee(ee(ee({},"".concat(y,"-show-line"),E),"".concat(y,"-focused"),o),"".concat(y,"-active-focused"),c!==null)),style:ie},p.createElement(Cbt,Ke({ref:this.listRef,prefixCls:y,style:_,data:a,disabled:P,selectable:T,checkable:!!M,motion:k,dragging:l!==null,height:V,itemHeight:$,virtual:j,focusable:C,focused:o,tabIndex:w,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:te,onScroll:ae,scrollWidth:W},this.getTreeNodeRequiredProps(),he))))}}],[{key:"getDerivedStateFromProps",value:function(i,o){var a=o.prevProps,s={prevProps:i};function l(w){return!a&&i.hasOwnProperty(w)||a&&a[w]!==i[w]}var c,u=o.fieldNames;if(l("fieldNames")&&(u=b_(i.fieldNames),s.fieldNames=u),l("treeData")?c=i.treeData:l("children")&&(Yr(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),c=bTe(i.children)),c){s.treeData=c;var d=E2(c,{fieldNames:u});s.keyEntities=G(ee({},Vv,N2e),d.keyEntities)}var f=s.keyEntities||o.keyEntities;if(l("expandedKeys")||a&&l("autoExpandParent"))s.expandedKeys=i.autoExpandParent||!a&&i.defaultExpandParent?cU(i.expandedKeys,f):i.expandedKeys;else if(!a&&i.defaultExpandAll){var h=G({},f);delete h[Vv];var m=[];Object.keys(h).forEach(function(w){var T=h[w];T.children&&T.children.length&&m.push(T.key)}),s.expandedKeys=m}else!a&&i.defaultExpandedKeys&&(s.expandedKeys=i.autoExpandParent||i.defaultExpandParent?cU(i.defaultExpandedKeys,f):i.defaultExpandedKeys);if(s.expandedKeys||delete s.expandedKeys,c||s.expandedKeys){var g=a$(c||o.treeData,s.expandedKeys||o.expandedKeys,u);s.flattenNodes=g}if(i.selectable&&(l("selectedKeys")?s.selectedKeys=Hoe(i.selectedKeys,i):!a&&i.defaultSelectedKeys&&(s.selectedKeys=Hoe(i.defaultSelectedKeys,i))),i.checkable){var v;if(l("checkedKeys")?v=m$(i.checkedKeys)||{}:!a&&i.defaultCheckedKeys?v=m$(i.defaultCheckedKeys)||{}:c&&(v=m$(i.checkedKeys)||{checkedKeys:o.checkedKeys,halfCheckedKeys:o.halfCheckedKeys}),v){var y=v,b=y.checkedKeys,_=b===void 0?[]:b,E=y.halfCheckedKeys,C=E===void 0?[]:E;if(!i.checkStrictly){var S=lu(_,!0,f);_=S.checkedKeys,C=S.halfCheckedKeys}s.checkedKeys=_,s.halfCheckedKeys=C}}return l("loadedKeys")&&(s.loadedKeys=i.loadedKeys),s}}]),n}(p.Component);ee(OD,"defaultProps",{prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:mbt,allowDrop:function(){return!0},expandAction:!1});ee(OD,"TreeNode",jT);const Tbt=e=>{let{treeCls:t,treeNodeCls:n,directoryNodeSelectedBg:r,directoryNodeSelectedColor:i,motionDurationMid:o,borderRadius:a,controlItemBgHover:s}=e;return{[`${t}${t}-directory ${n}`]:{[`${t}-node-content-wrapper`]:{position:"static",[`> *:not(${t}-drop-indicator)`]:{position:"relative"},"&:hover":{background:"transparent"},"&:before":{position:"absolute",inset:0,transition:`background-color ${o}`,content:'""',borderRadius:a},"&:hover:before":{background:s}},[`${t}-switcher, ${t}-checkbox, ${t}-draggable-icon`]:{zIndex:1},"&-selected":{[`${t}-switcher, ${t}-draggable-icon`]:{color:i},[`${t}-node-content-wrapper`]:{color:i,background:"transparent","&:before, &:hover:before":{background:r}}}}}},xbt=new fr("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Obt=(e,t)=>({[`.${e}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${t.motionDurationSlow}`}}}),Rbt=(e,t)=>({[`.${e}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:t.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${Ae(t.lineWidthBold)} solid ${t.colorPrimary}`,borderRadius:"50%",content:'""'}}}),Ibt=(e,t)=>{const{treeCls:n,treeNodeCls:r,treeNodePadding:i,titleHeight:o,indentSize:a,nodeSelectedBg:s,nodeHoverBg:l,colorTextQuaternary:c,controlItemBgActiveDisabled:u}=t;return{[n]:Object.assign(Object.assign({},gr(t)),{background:t.colorBgContainer,borderRadius:t.borderRadius,transition:`background-color ${t.motionDurationSlow}`,"&-rtl":{direction:"rtl"},[`&${n}-rtl ${n}-switcher_close ${n}-switcher-icon svg`]:{transform:"rotate(90deg)"},[`&-focused:not(:hover):not(${n}-active-focused)`]:Object.assign({},Td(t)),[`${n}-list-holder-inner`]:{alignItems:"flex-start"},[`&${n}-block-node`]:{[`${n}-list-holder-inner`]:{alignItems:"stretch",[`${n}-node-content-wrapper`]:{flex:"auto"},[`${r}.dragging:after`]:{position:"absolute",inset:0,border:`1px solid ${t.colorPrimary}`,opacity:0,animationName:xbt,animationDuration:t.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none",borderRadius:t.borderRadius}}},[r]:{display:"flex",alignItems:"flex-start",marginBottom:i,lineHeight:Ae(o),position:"relative","&:before":{content:'""',position:"absolute",zIndex:1,insetInlineStart:0,width:"100%",top:"100%",height:i},[`&-disabled ${n}-node-content-wrapper`]:{color:t.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}},[`${n}-checkbox-disabled + ${n}-node-selected,&${r}-disabled${r}-selected ${n}-node-content-wrapper`]:{backgroundColor:u},[`&:not(${r}-disabled)`]:{[`${n}-node-content-wrapper`]:{"&:hover":{color:t.nodeHoverColor}}},[`&-active ${n}-node-content-wrapper`]:{background:t.controlItemBgHover},[`&:not(${r}-disabled).filter-node ${n}-title`]:{color:t.colorPrimary,fontWeight:500},"&-draggable":{cursor:"grab",[`${n}-draggable-icon`]:{flexShrink:0,width:o,textAlign:"center",visibility:"visible",color:c},[`&${r}-disabled ${n}-draggable-icon`]:{visibility:"hidden"}}},[`${n}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:a}},[`${n}-draggable-icon`]:{visibility:"hidden"},[`${n}-switcher, ${n}-checkbox`]:{marginInlineEnd:t.calc(t.calc(o).sub(t.controlInteractiveSize)).div(2).equal()},[`${n}-switcher`]:Object.assign(Object.assign({},Obt(e,t)),{position:"relative",flex:"none",alignSelf:"stretch",width:o,textAlign:"center",cursor:"pointer",userSelect:"none",transition:`all ${t.motionDurationSlow}`,"&-noop":{cursor:"unset"},"&:before":{pointerEvents:"none",content:'""',width:o,height:o,position:"absolute",left:{_skip_check_:!0,value:0},top:0,borderRadius:t.borderRadius,transition:`all ${t.motionDurationSlow}`},[`&:not(${n}-switcher-noop):hover:before`]:{backgroundColor:t.colorBgTextHover},[`&_close ${n}-switcher-icon svg`]:{transform:"rotate(-90deg)"},"&-loading-icon":{color:t.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),marginInlineStart:-1,borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:t.calc(t.calc(o).div(2).equal()).mul(.8).equal(),height:t.calc(o).div(2).equal(),borderBottom:`1px solid ${t.colorBorder}`,content:'""'}}}),[`${n}-node-content-wrapper`]:Object.assign(Object.assign({position:"relative",minHeight:o,paddingBlock:0,paddingInline:t.paddingXS,background:"transparent",borderRadius:t.borderRadius,cursor:"pointer",transition:`all ${t.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`},Rbt(e,t)),{"&:hover":{backgroundColor:l},[`&${n}-node-selected`]:{color:t.nodeSelectedColor,backgroundColor:s},[`${n}-iconEle`]:{display:"inline-block",width:o,height:o,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}}),[`${n}-unselectable ${n}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${r}.drop-container > [draggable]`]:{boxShadow:`0 0 0 2px ${t.colorPrimary}`},"&-show-line":{[`${n}-indent-unit`]:{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:t.calc(o).div(2).equal(),bottom:t.calc(i).mul(-1).equal(),borderInlineEnd:`1px solid ${t.colorBorder}`,content:'""'},"&-end:before":{display:"none"}},[`${n}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${r}-leaf-last ${n}-switcher-leaf-line:before`]:{top:"auto !important",bottom:"auto !important",height:`${Ae(t.calc(o).div(2).equal())} !important`}})}},M2e=(e,t)=>{const n=`.${e}`,r=`${n}-treenode`,i=t.calc(t.paddingXS).div(2).equal(),o=Kn(t,{treeCls:n,treeNodeCls:r,treeNodePadding:i});return[Ibt(e,o),Tbt(o)]},k2e=e=>{const{controlHeightSM:t,controlItemBgHover:n,controlItemBgActive:r}=e,i=t;return{titleHeight:i,indentSize:i,nodeHoverBg:n,nodeHoverColor:e.colorText,nodeSelectedBg:r,nodeSelectedColor:e.colorText}},Abt=e=>{const{colorTextLightSolid:t,colorPrimary:n}=e;return Object.assign(Object.assign({},k2e(e)),{directoryNodeSelectedColor:t,directoryNodeSelectedBg:n})},Nbt=lr("Tree",(e,t)=>{let{prefixCls:n}=t;return[{[e.componentCls]:hD(`${n}-checkbox`,e)},M2e(n,e),a2(e)]},Abt),Yoe=4;function Mbt(e){const{dropPosition:t,dropLevelOffset:n,prefixCls:r,indent:i,direction:o="ltr"}=e,a=o==="ltr"?"left":"right",s=o==="ltr"?"right":"left",l={[a]:-n*i+Yoe,[s]:0};switch(t){case-1:l.top=-3;break;case 1:l.bottom=-3;break;default:l.bottom=-3,l[a]=i+Yoe;break}return se.createElement("div",{style:l,className:`${r}-drop-indicator`})}const P2e=e=>{const{prefixCls:t,switcherIcon:n,treeNodeProps:r,showLine:i,switcherLoadingIcon:o}=e,{isLeaf:a,expanded:s,loading:l}=r;if(l)return p.isValidElement(o)?o:p.createElement(xd,{className:`${t}-switcher-loading-icon`});let c;if(i&&typeof i=="object"&&(c=i.showLeafIcon),a){if(!i)return null;if(typeof c!="boolean"&&c){const f=typeof c=="function"?c(r):c,h=`${t}-switcher-line-custom-icon`;return p.isValidElement(f)?Eo(f,{className:xe(f.props.className||"",h)}):f}return c?p.createElement(r2e,{className:`${t}-switcher-line-icon`}):p.createElement("span",{className:`${t}-switcher-leaf-line`})}const u=`${t}-switcher-icon`,d=typeof n=="function"?n(r):n;return p.isValidElement(d)?Eo(d,{className:xe(d.props.className||"",u)}):d!==void 0?d:i?s?p.createElement(i1t,{className:`${t}-switcher-line-icon`}):p.createElement(b1t,{className:`${t}-switcher-line-icon`}):p.createElement(Kmt,{className:u})},D2e=se.forwardRef((e,t)=>{var n;const{getPrefixCls:r,direction:i,virtual:o,tree:a}=se.useContext(Xt),{prefixCls:s,className:l,showIcon:c=!1,showLine:u,switcherIcon:d,switcherLoadingIcon:f,blockNode:h=!1,children:m,checkable:g=!1,selectable:v=!0,draggable:y,motion:b,style:_}=e,E=r("tree",s),C=r(),S=b??Object.assign(Object.assign({},d_(C)),{motionAppear:!1}),w=Object.assign(Object.assign({},e),{checkable:g,selectable:v,showIcon:c,motion:S,blockNode:h,showLine:!!u,dropIndicatorRender:Mbt}),[T,O,x]=Nbt(E),[,A]=qo(),I=A.paddingXS/2+(((n=A.Tree)===null||n===void 0?void 0:n.titleHeight)||A.controlHeightSM),M=se.useMemo(()=>{if(!y)return!1;let P={};switch(typeof y){case"function":P.nodeDraggable=y;break;case"object":P=Object.assign({},y);break}return P.icon!==!1&&(P.icon=P.icon||se.createElement(Lgt,null)),P},[y]),B=P=>se.createElement(P2e,{prefixCls:E,switcherIcon:d,switcherLoadingIcon:f,treeNodeProps:P,showLine:u});return T(se.createElement(OD,Object.assign({itemHeight:I,ref:t,virtual:o},w,{style:Object.assign(Object.assign({},a==null?void 0:a.style),_),prefixCls:E,className:xe({[`${E}-icon-hide`]:!c,[`${E}-block-node`]:h,[`${E}-unselectable`]:!v,[`${E}-rtl`]:i==="rtl"},a==null?void 0:a.className,l,O,x),direction:i,checkable:g&&se.createElement("span",{className:`${E}-checkbox-inner`}),selectable:v,switcherIcon:B,draggable:M}),m))}),Koe=0,g$=1,Qoe=2;function qY(e,t,n){const{key:r,children:i}=n;function o(a){const s=a[r],l=a[i];t(s,a)!==!1&&qY(l||[],t,n)}e.forEach(o)}function kbt(e){let{treeData:t,expandedKeys:n,startKey:r,endKey:i,fieldNames:o}=e;const a=[];let s=Koe;if(r&&r===i)return[r];if(!r||!i)return[];function l(c){return c===r||c===i}return qY(t,c=>{if(s===Qoe)return!1;if(l(c)){if(a.push(c),s===Koe)s=g$;else if(s===g$)return s=Qoe,!1}else s===g$&&a.push(c);return n.includes(c)},b_(o)),a}function v$(e,t,n){const r=nt(t),i=[];return qY(e,(o,a)=>{const s=r.indexOf(o);return s!==-1&&(i.push(a),r.splice(s,1)),!!r.length},b_(n)),i}var Xoe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{defaultExpandAll:n,defaultExpandParent:r,defaultExpandedKeys:i}=e,o=Xoe(e,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const a=p.useRef(null),s=p.useRef(null),l=()=>{const{keyEntities:T}=E2(Zoe(o));let O;return n?O=Object.keys(T):r?O=cU(o.expandedKeys||i||[],T):O=o.expandedKeys||i||[],O},[c,u]=p.useState(o.selectedKeys||o.defaultSelectedKeys||[]),[d,f]=p.useState(()=>l());p.useEffect(()=>{"selectedKeys"in o&&u(o.selectedKeys)},[o.selectedKeys]),p.useEffect(()=>{"expandedKeys"in o&&f(o.expandedKeys)},[o.expandedKeys]);const h=(T,O)=>{var x;return"expandedKeys"in o||f(T),(x=o.onExpand)===null||x===void 0?void 0:x.call(o,T,O)},m=(T,O)=>{var x;const{multiple:A,fieldNames:I}=o,{node:M,nativeEvent:B}=O,{key:P=""}=M,k=Zoe(o),N=Object.assign(Object.assign({},O),{selected:!0}),L=(B==null?void 0:B.ctrlKey)||(B==null?void 0:B.metaKey),V=B==null?void 0:B.shiftKey;let $;A&&L?($=T,a.current=P,s.current=$,N.selectedNodes=v$(k,$,I)):A&&V?($=Array.from(new Set([].concat(nt(s.current||[]),nt(kbt({treeData:k,expandedKeys:d,startKey:P,endKey:a.current,fieldNames:I}))))),N.selectedNodes=v$(k,$,I)):($=[P],a.current=P,s.current=$,N.selectedNodes=v$(k,$,I)),(x=o.onSelect)===null||x===void 0||x.call(o,$,N),"selectedKeys"in o||u($)},{getPrefixCls:g,direction:v}=p.useContext(Xt),{prefixCls:y,className:b,showIcon:_=!0,expandAction:E="click"}=o,C=Xoe(o,["prefixCls","className","showIcon","expandAction"]),S=g("tree",y),w=xe(`${S}-directory`,{[`${S}-directory-rtl`]:v==="rtl"},b);return p.createElement(D2e,Object.assign({icon:Pbt,ref:t,blockNode:!0},C,{showIcon:_,expandAction:E,prefixCls:S,className:w,expandedKeys:d,selectedKeys:c,onSelect:m,onExpand:h}))},Lbt=p.forwardRef(Dbt),YY=D2e;YY.DirectoryTree=Lbt;YY.TreeNode=jT;const Joe=e=>{const{value:t,filterSearch:n,tablePrefixCls:r,locale:i,onChange:o}=e;return n?p.createElement("div",{className:`${r}-filter-dropdown-search`},p.createElement(Ki,{prefix:p.createElement(K5,null),placeholder:i.filterSearchPlaceholder,onChange:o,value:t,htmlSize:1,className:`${r}-filter-dropdown-search-input`})):null},$bt=e=>{const{keyCode:t}=e;t===dt.ENTER&&e.stopPropagation()},Fbt=p.forwardRef((e,t)=>p.createElement("div",{className:e.className,onClick:n=>n.stopPropagation(),onKeyDown:$bt,ref:t},e.children));function Cy(e){let t=[];return(e||[]).forEach(n=>{let{value:r,children:i}=n;t.push(r),i&&(t=[].concat(nt(t),nt(Cy(i))))}),t}function Bbt(e){return e.some(t=>{let{children:n}=t;return n})}function L2e(e,t){return typeof t=="string"||typeof t=="number"?t==null?void 0:t.toString().toLowerCase().includes(e.trim().toLowerCase()):!1}function $2e(e){let{filters:t,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:a}=e;return t.map((s,l)=>{const c=String(s.value);if(s.children)return{key:c||l,label:s.text,popupClassName:`${n}-dropdown-submenu`,children:$2e({filters:s.children,prefixCls:n,filteredKeys:r,filterMultiple:i,searchValue:o,filterSearch:a})};const u=i?fh:qi,d={key:s.value!==void 0?c:l,label:p.createElement(p.Fragment,null,p.createElement(u,{checked:r.includes(c)}),p.createElement("span",null,s.text))};return o.trim()?typeof a=="function"?a(o,s)?d:null:L2e(o,s.text)?d:null:d})}function b$(e){return e||[]}const jbt=e=>{var t,n,r,i;const{tablePrefixCls:o,prefixCls:a,column:s,dropdownPrefixCls:l,columnKey:c,filterOnClose:u,filterMultiple:d,filterMode:f="menu",filterSearch:h=!1,filterState:m,triggerFilter:g,locale:v,children:y,getPopupContainer:b,rootClassName:_}=e,{filterResetToDefaultFilteredValue:E,defaultFilteredValue:C,filterDropdownProps:S={},filterDropdownOpen:w,filterDropdownVisible:T,onFilterDropdownVisibleChange:O,onFilterDropdownOpenChange:x}=s,[A,I]=p.useState(!1),M=!!(m&&(!((t=m.filteredKeys)===null||t===void 0)&&t.length||m.forceFiltered)),B=me=>{var be;I(me),(be=S.onOpenChange)===null||be===void 0||be.call(S,me),x==null||x(me),O==null||O(me)},P=(i=(r=(n=S.open)!==null&&n!==void 0?n:w)!==null&&r!==void 0?r:T)!==null&&i!==void 0?i:A,k=m==null?void 0:m.filteredKeys,[N,L]=hbt(b$(k)),V=me=>{let{selectedKeys:be}=me;L(be)},$=(me,be)=>{let{node:_e,checked:Re}=be;V(d?{selectedKeys:me}:{selectedKeys:Re&&_e.key?[_e.key]:[]})};p.useEffect(()=>{A&&V({selectedKeys:b$(k)})},[k]);const[W,j]=p.useState([]),U=me=>{j(me)},[Z,te]=p.useState(""),ae=me=>{const{value:be}=me.target;te(be)};p.useEffect(()=>{A||te("")},[A]);const K=me=>{const be=me!=null&&me.length?me:null;if(be===null&&(!m||!m.filteredKeys)||vu(be,m==null?void 0:m.filteredKeys,!0))return null;g({column:s,key:c,filteredKeys:be})},Q=()=>{B(!1),K(N())},ie=function(){let{confirm:me,closeDropdown:be}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};me&&K([]),be&&B(!1),te(""),L(E?(C||[]).map(_e=>String(_e)):[])},he=function(){let{closeDropdown:me}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};me&&B(!1),K(N())},pe=(me,be)=>{be.source==="trigger"&&(me&&k!==void 0&&L(b$(k)),B(me),!me&&!s.filterDropdown&&u&&Q())},le=xe({[`${l}-menu-without-submenu`]:!Bbt(s.filters||[])}),de=me=>{if(me.target.checked){const be=Cy(s==null?void 0:s.filters).map(_e=>String(_e));L(be)}else L([])},ve=me=>{let{filters:be}=me;return(be||[]).map((_e,Re)=>{const De=String(_e.value),z={title:_e.text,key:_e.value!==void 0?De:String(Re)};return _e.children&&(z.children=ve({filters:_e.children})),z})},ne=me=>{var be;return Object.assign(Object.assign({},me),{text:me.title,value:me.key,children:((be=me.children)===null||be===void 0?void 0:be.map(_e=>ne(_e)))||[]})};let ue;const{direction:ge,renderEmpty:Ce}=p.useContext(Xt);if(typeof s.filterDropdown=="function")ue=s.filterDropdown({prefixCls:`${l}-custom`,setSelectedKeys:me=>V({selectedKeys:me}),selectedKeys:N(),confirm:he,clearFilters:ie,filters:s.filters,visible:P,close:()=>{B(!1)}});else if(s.filterDropdown)ue=s.filterDropdown;else{const me=N()||[],be=()=>{var Re;const De=(Re=Ce==null?void 0:Ce("Table.filter"))!==null&&Re!==void 0?Re:p.createElement(Lp,{image:Lp.PRESENTED_IMAGE_SIMPLE,description:v.filterEmptyText,styles:{image:{height:24}},style:{margin:0,padding:"16px 0"}});if((s.filters||[]).length===0)return De;if(f==="tree")return p.createElement(p.Fragment,null,p.createElement(Joe,{filterSearch:h,value:Z,onChange:ae,tablePrefixCls:o,locale:v}),p.createElement("div",{className:`${o}-filter-dropdown-tree`},d?p.createElement(fh,{checked:me.length===Cy(s.filters).length,indeterminate:me.length>0&&me.lengthtypeof h=="function"?h(Z,ne(q)):L2e(Z,q.title):void 0})));const z=$2e({filters:s.filters||[],filterSearch:h,prefixCls:a,filteredKeys:N(),filterMultiple:d,searchValue:Z}),D=z.every(q=>q===null);return p.createElement(p.Fragment,null,p.createElement(Joe,{filterSearch:h,value:Z,onChange:ae,tablePrefixCls:o,locale:v}),D?De:p.createElement(Bd,{selectable:!0,multiple:d,prefixCls:`${l}-menu`,className:le,onSelect:V,onDeselect:V,selectedKeys:me,getPopupContainer:b,openKeys:W,onOpenChange:U,items:z}))},_e=()=>E?vu((C||[]).map(Re=>String(Re)),me,!0):me.length===0;ue=p.createElement(p.Fragment,null,be(),p.createElement("div",{className:`${a}-dropdown-btns`},p.createElement($n,{type:"link",size:"small",disabled:_e(),onClick:()=>ie()},v.filterReset),p.createElement($n,{type:"primary",size:"small",onClick:Q},v.filterConfirm)))}s.filterDropdown&&(ue=p.createElement(twe,{selectable:void 0},ue)),ue=p.createElement(Fbt,{className:`${a}-dropdown`},ue);const Se=DY({trigger:["click"],placement:ge==="rtl"?"bottomLeft":"bottomRight",children:(()=>{let me;return typeof s.filterIcon=="function"?me=s.filterIcon(M):s.filterIcon?me=s.filterIcon:me=p.createElement(Tgt,null),p.createElement("span",{role:"button",tabIndex:-1,className:xe(`${a}-trigger`,{active:M}),onClick:be=>{be.stopPropagation()}},me)})(),getPopupContainer:b},Object.assign(Object.assign({},S),{rootClassName:xe(_,S.rootClassName),open:P,onOpenChange:pe,dropdownRender:()=>typeof(S==null?void 0:S.dropdownRender)=="function"?S.dropdownRender(ue):ue}));return p.createElement("div",{className:`${a}-column`},p.createElement("span",{className:`${o}-column-title`},y),p.createElement(vD,Object.assign({},Se)))},hU=(e,t,n)=>{let r=[];return(e||[]).forEach((i,o)=>{var a;const s=MS(o,n);if(i.filters||"filterDropdown"in i||"onFilter"in i)if("filteredValue"in i){let l=i.filteredValue;"filterDropdown"in i||(l=(a=l==null?void 0:l.map(String))!==null&&a!==void 0?a:l),r.push({column:i,key:bg(i,s),filteredKeys:l,forceFiltered:i.filtered})}else r.push({column:i,key:bg(i,s),filteredKeys:t&&i.defaultFilteredValue?i.defaultFilteredValue:void 0,forceFiltered:i.filtered});"children"in i&&(r=[].concat(nt(r),nt(hU(i.children,t,s))))}),r};function F2e(e,t,n,r,i,o,a,s,l){return n.map((c,u)=>{const d=MS(u,s),{filterOnClose:f=!0,filterMultiple:h=!0,filterMode:m,filterSearch:g}=c;let v=c;if(v.filters||v.filterDropdown){const y=bg(v,d),b=r.find(_=>{let{key:E}=_;return y===E});v=Object.assign(Object.assign({},v),{title:_=>p.createElement(jbt,{tablePrefixCls:e,prefixCls:`${e}-filter`,dropdownPrefixCls:t,column:v,columnKey:y,filterState:b,filterOnClose:f,filterMultiple:h,filterMode:m,filterSearch:g,triggerFilter:o,locale:i,getPopupContainer:a,rootClassName:l},xD(c.title,_))})}return"children"in v&&(v=Object.assign(Object.assign({},v),{children:F2e(e,t,v.children,r,i,o,a,d,l)})),v})}const eae=e=>{const t={};return e.forEach(n=>{let{key:r,filteredKeys:i,column:o}=n;const a=r,{filters:s,filterDropdown:l}=o;if(l)t[a]=i||null;else if(Array.isArray(i)){const c=Cy(s);t[a]=c.filter(u=>i.includes(String(u)))}else t[a]=null}),t},mU=(e,t,n)=>t.reduce((i,o)=>{const{column:{onFilter:a,filters:s},filteredKeys:l}=o;return a&&l&&l.length?i.map(c=>Object.assign({},c)).filter(c=>l.some(u=>{const d=Cy(s),f=d.findIndex(m=>String(m)===String(u)),h=f!==-1?d[f]:u;return c[n]&&(c[n]=mU(c[n],t,n)),a(h,c)})):i},e),B2e=e=>e.flatMap(t=>"children"in t?[t].concat(nt(B2e(t.children||[]))):[t]),Hbt=e=>{const{prefixCls:t,dropdownPrefixCls:n,mergedColumns:r,onFilterChange:i,getPopupContainer:o,locale:a,rootClassName:s}=e;Wf();const l=p.useMemo(()=>B2e(r||[]),[r]),[c,u]=p.useState(()=>hU(l,!0)),d=p.useMemo(()=>{const g=hU(l,!1);if(g.length===0)return g;let v=!0;if(g.forEach(y=>{let{filteredKeys:b}=y;b!==void 0&&(v=!1)}),v){const y=(l||[]).map((b,_)=>bg(b,MS(_)));return c.filter(b=>{let{key:_}=b;return y.includes(_)}).map(b=>{const _=l[y.findIndex(E=>E===b.key)];return Object.assign(Object.assign({},b),{column:Object.assign(Object.assign({},b.column),_),forceFiltered:_.filtered})})}return g},[l,c]),f=p.useMemo(()=>eae(d),[d]),h=g=>{const v=d.filter(y=>{let{key:b}=y;return b!==g.key});v.push(g),u(v),i(eae(v),v)};return[g=>F2e(t,n,g,d,a,h,o,void 0,s),d,f]},Ubt=(e,t,n)=>{const r=p.useRef({});function i(o){var a;if(!r.current||r.current.data!==e||r.current.childrenColumnName!==t||r.current.getRowKey!==n){let l=function(c){c.forEach((u,d)=>{const f=n(u,d);s.set(f,u),u&&typeof u=="object"&&t in u&&l(u[t]||[])})};const s=new Map;l(e),r.current={data:e,childrenColumnName:t,kvMap:s,getRowKey:n}}return(a=r.current.kvMap)===null||a===void 0?void 0:a.get(o)}return[i]};var zbt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const o=e[i];typeof o!="function"&&(n[i]=o)}),n}function Gbt(e,t,n){const r=n&&typeof n=="object"?n:{},{total:i=0}=r,o=zbt(r,["total"]),[a,s]=p.useState(()=>({current:"defaultCurrent"in o?o.defaultCurrent:1,pageSize:"defaultPageSize"in o?o.defaultPageSize:j2e})),l=DY(a,o,{total:i>0?i:e}),c=Math.ceil((i||e)/l.pageSize);l.current>c&&(l.current=c||1);const u=(f,h)=>{s({current:f??1,pageSize:h||l.pageSize})},d=(f,h)=>{var m;n&&((m=n.onChange)===null||m===void 0||m.call(n,f,h)),u(f,h),t(f,h||(l==null?void 0:l.pageSize))};return n===!1?[{},()=>{}]:[Object.assign(Object.assign({},l),{onChange:d}),u]}const zA="ascend",y$="descend",lk=e=>typeof e.sorter=="object"&&typeof e.sorter.multiple=="number"?e.sorter.multiple:!1,tae=e=>typeof e=="function"?e:e&&typeof e=="object"&&e.compare?e.compare:!1,Wbt=(e,t)=>t?e[e.indexOf(t)+1]:e[0],gU=(e,t,n)=>{let r=[];const i=(o,a)=>{r.push({column:o,key:bg(o,a),multiplePriority:lk(o),sortOrder:o.sortOrder})};return(e||[]).forEach((o,a)=>{const s=MS(a,n);o.children?("sortOrder"in o&&i(o,s),r=[].concat(nt(r),nt(gU(o.children,t,s)))):o.sorter&&("sortOrder"in o?i(o,s):t&&o.defaultSortOrder&&r.push({column:o,key:bg(o,s),multiplePriority:lk(o),sortOrder:o.defaultSortOrder}))}),r},H2e=(e,t,n,r,i,o,a,s)=>(t||[]).map((c,u)=>{const d=MS(u,s);let f=c;if(f.sorter){const h=f.sortDirections||i,m=f.showSorterTooltip===void 0?a:f.showSorterTooltip,g=bg(f,d),v=n.find(O=>{let{key:x}=O;return x===g}),y=v?v.sortOrder:null,b=Wbt(h,y);let _;if(c.sortIcon)_=c.sortIcon({sortOrder:y});else{const O=h.includes(zA)&&p.createElement(tgt,{className:xe(`${e}-column-sorter-up`,{active:y===zA})}),x=h.includes(y$)&&p.createElement(Zmt,{className:xe(`${e}-column-sorter-down`,{active:y===y$})});_=p.createElement("span",{className:xe(`${e}-column-sorter`,{[`${e}-column-sorter-full`]:!!(O&&x)})},p.createElement("span",{className:`${e}-column-sorter-inner`,"aria-hidden":"true"},O,x))}const{cancelSort:E,triggerAsc:C,triggerDesc:S}=o||{};let w=E;b===y$?w=S:b===zA&&(w=C);const T=typeof m=="object"?Object.assign({title:w},m):{title:w};f=Object.assign(Object.assign({},f),{className:xe(f.className,{[`${e}-column-sort`]:y}),title:O=>{const x=`${e}-column-sorters`,A=p.createElement("span",{className:`${e}-column-title`},xD(c.title,O)),I=p.createElement("div",{className:x},A,_);return m?typeof m!="boolean"&&(m==null?void 0:m.target)==="sorter-icon"?p.createElement("div",{className:`${x} ${e}-column-sorters-tooltip-target-sorter`},A,p.createElement(Aa,Object.assign({},T),_)):p.createElement(Aa,Object.assign({},T),I):I},onHeaderCell:O=>{var x;const A=((x=c.onHeaderCell)===null||x===void 0?void 0:x.call(c,O))||{},I=A.onClick,M=A.onKeyDown;A.onClick=k=>{r({column:c,key:g,sortOrder:b,multiplePriority:lk(c)}),I==null||I(k)},A.onKeyDown=k=>{k.keyCode===dt.ENTER&&(r({column:c,key:g,sortOrder:b,multiplePriority:lk(c)}),M==null||M(k))};const B=pbt(c.title,{}),P=B==null?void 0:B.toString();return y?A["aria-sort"]=y==="ascend"?"ascending":"descending":A["aria-label"]=P||"",A.className=xe(A.className,`${e}-column-has-sorters`),A.tabIndex=0,c.ellipsis&&(A.title=(B??"").toString()),A}})}return"children"in f&&(f=Object.assign(Object.assign({},f),{children:H2e(e,f.children,n,r,i,o,a,d)})),f}),nae=e=>{const{column:t,sortOrder:n}=e;return{column:t,order:n,field:t.dataIndex,columnKey:t.key}},rae=e=>{const t=e.filter(n=>{let{sortOrder:r}=n;return r}).map(nae);if(t.length===0&&e.length){const n=e.length-1;return Object.assign(Object.assign({},nae(e[n])),{column:void 0,order:void 0,field:void 0,columnKey:void 0})}return t.length<=1?t[0]||{}:t},vU=(e,t,n)=>{const r=t.slice().sort((a,s)=>s.multiplePriority-a.multiplePriority),i=e.slice(),o=r.filter(a=>{let{column:{sorter:s},sortOrder:l}=a;return tae(s)&&l});return o.length?i.sort((a,s)=>{for(let l=0;l{const s=a[n];return s?Object.assign(Object.assign({},a),{[n]:vU(s,t,n)}):a}):i},qbt=e=>{const{prefixCls:t,mergedColumns:n,sortDirections:r,tableLocale:i,showSorterTooltip:o,onSorterChange:a}=e,[s,l]=p.useState(gU(n,!0)),c=(g,v)=>{const y=[];return g.forEach((b,_)=>{const E=MS(_,v);if(y.push(bg(b,E)),Array.isArray(b.children)){const C=c(b.children,E);y.push.apply(y,nt(C))}}),y},u=p.useMemo(()=>{let g=!0;const v=gU(n,!1);if(!v.length){const E=c(n);return s.filter(C=>{let{key:S}=C;return E.includes(S)})}const y=[];function b(E){g?y.push(E):y.push(Object.assign(Object.assign({},E),{sortOrder:null}))}let _=null;return v.forEach(E=>{_===null?(b(E),E.sortOrder&&(E.multiplePriority===!1?g=!1:_=!0)):(_&&E.multiplePriority!==!1||(g=!1),b(E))}),y},[n,s]),d=p.useMemo(()=>{var g,v;const y=u.map(b=>{let{column:_,sortOrder:E}=b;return{column:_,order:E}});return{sortColumns:y,sortColumn:(g=y[0])===null||g===void 0?void 0:g.column,sortOrder:(v=y[0])===null||v===void 0?void 0:v.order}},[u]),f=g=>{let v;g.multiplePriority===!1||!u.length||u[0].multiplePriority===!1?v=[g]:v=[].concat(nt(u.filter(y=>{let{key:b}=y;return b!==g.key})),[g]),l(v),a(rae(v),v)};return[g=>H2e(t,g,u,f,r,i,o),u,d,()=>rae(u)]},U2e=(e,t)=>e.map(r=>{const i=Object.assign({},r);return i.title=xD(r.title,t),"children"in i&&(i.children=U2e(i.children,t)),i}),Ybt=e=>[p.useCallback(n=>U2e(n,e),[e])],Kbt=T2e((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),Qbt=O2e((e,t)=>{const{_renderTimes:n}=e,{_renderTimes:r}=t;return n!==r}),Xbt=e=>{const{componentCls:t,lineWidth:n,lineType:r,tableBorderColor:i,tableHeaderBg:o,tablePaddingVertical:a,tablePaddingHorizontal:s,calc:l}=e,c=`${Ae(n)} ${r} ${i}`,u=(d,f,h)=>({[`&${t}-${d}`]:{[`> ${t}-container`]:{[`> ${t}-content, > ${t}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${t}-expanded-row-fixed`]:{margin:`${Ae(l(f).mul(-1).equal())} ${Ae(l(l(h).add(n)).mul(-1).equal())}`}}}}}});return{[`${t}-wrapper`]:{[`${t}${t}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${t}-title`]:{border:c,borderBottom:0},[`> ${t}-container`]:{borderInlineStart:c,borderTop:c,[` > ${t}-content, > ${t}-header, @@ -500,7 +500,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho > ${t}-wrapper:only-child, > ${t}-expanded-row-fixed > ${t}-wrapper:only-child `]:{[t]:{marginBlock:Ae(b(r).mul(-1).equal()),marginInline:`${Ae(b(o).sub(i).equal())} - ${Ae(b(i).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:m,borderBottom:_,transition:`background ${h} ease`}}},[`${t}-footer`]:{padding:`${Ae(r)} ${Ae(i)}`,color:v,background:y}})}},fyt=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:i,colorFillContent:o,controlItemBgActive:a,controlItemBgActiveHover:s,padding:l,paddingSM:c,paddingXS:u,colorBorderSecondary:d,borderRadiusLG:f,controlHeight:h,colorTextPlaceholder:m,fontSize:g,fontSizeSM:v,lineHeight:y,lineWidth:b,colorIcon:_,colorIconHover:E,opacityLoading:C,controlInteractiveSize:S}=e,w=new rr(i).onBackground(n).toHexString(),T=new rr(o).onBackground(n).toHexString(),O=new rr(t).onBackground(n).toHexString(),x=new rr(_),A=new rr(E),I=S/2-b,M=I*2+b*3;return{headerBg:O,headerColor:r,headerSortActiveBg:w,headerSortHoverBg:T,bodySortBg:O,rowHoverBg:O,rowSelectedBg:a,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:l,cellPaddingInline:l,cellPaddingBlockMD:c,cellPaddingInlineMD:u,cellPaddingBlockSM:u,cellPaddingInlineSM:u,borderColor:d,headerBorderRadius:f,footerBg:O,footerColor:r,cellFontSize:g,cellFontSizeMD:g,cellFontSizeSM:g,headerSplitColor:d,fixedHeaderSortActiveBg:w,headerFilterHoverBg:o,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:h,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(g*y-b*3)/2-Math.ceil((v*1.4-b*3)/2),headerIconColor:x.clone().setA(x.a*C).toRgbString(),headerIconHoverColor:A.clone().setA(A.a*C).toRgbString(),expandIconHalfInner:I,expandIconSize:M,expandIconScale:S/M}},oae=2,pyt=lr("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:i,headerBg:o,headerColor:a,headerSortActiveBg:s,headerSortHoverBg:l,bodySortBg:c,rowHoverBg:u,rowSelectedBg:d,rowSelectedHoverBg:f,rowExpandedBg:h,cellPaddingBlock:m,cellPaddingInline:g,cellPaddingBlockMD:v,cellPaddingInlineMD:y,cellPaddingBlockSM:b,cellPaddingInlineSM:_,borderColor:E,footerBg:C,footerColor:S,headerBorderRadius:w,cellFontSize:T,cellFontSizeMD:O,cellFontSizeSM:x,headerSplitColor:A,fixedHeaderSortActiveBg:I,headerFilterHoverBg:M,filterDropdownBg:B,expandIconBg:P,selectionColumnWidth:k,stickyScrollBarBg:N,calc:L}=e,V=Kn(e,{tableFontSize:T,tableBg:r,tableRadius:w,tablePaddingVertical:m,tablePaddingHorizontal:g,tablePaddingVerticalMiddle:v,tablePaddingHorizontalMiddle:y,tablePaddingVerticalSmall:b,tablePaddingHorizontalSmall:_,tableBorderColor:E,tableHeaderTextColor:a,tableHeaderBg:o,tableFooterTextColor:S,tableFooterBg:C,tableHeaderCellSplitColor:A,tableHeaderSortBg:s,tableHeaderSortHoverBg:l,tableBodySortBg:c,tableFixedHeaderSortActiveBg:I,tableHeaderFilterActiveBg:M,tableFilterDropdownBg:B,tableRowHoverBg:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:f,zIndexTableFixed:oae,zIndexTableSticky:L(oae).add(1).equal({unit:!1}),tableFontSizeMiddle:O,tableFontSizeSmall:x,tableSelectionColumnWidth:k,tableExpandIconBg:P,tableExpandColumnWidth:L(i).add(L(e.padding).mul(2)).equal(),tableExpandedRowBg:h,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:N,tableScrollThumbBgHover:t,tableScrollBg:n});return[dyt(V),ryt(V),iae(V),lyt(V),tyt(V),Xbt(V),iyt(V),eyt(V),iae(V),Jbt(V),ayt(V),nyt(V),cyt(V),Zbt(V),syt(V),oyt(V),uyt(V)]},fyt,{unitless:{expandIconScale:!0}}),hyt=[],myt=(e,t)=>{var n,r;const{prefixCls:i,className:o,rootClassName:a,style:s,size:l,bordered:c,dropdownPrefixCls:u,dataSource:d,pagination:f,rowSelection:h,rowKey:m="key",rowClassName:g,columns:v,children:y,childrenColumnName:b,onChange:_,getPopupContainer:E,loading:C,expandIcon:S,expandable:w,expandedRowRender:T,expandIconColumnIndex:O,indentSize:x,scroll:A,sortDirections:I,locale:M,showSorterTooltip:B={target:"full-header"},virtual:P}=e;Wf();const k=p.useMemo(()=>v||zY(y),[v,y]),N=p.useMemo(()=>k.some(vt=>vt.responsive),[k]),L=XP(N),V=p.useMemo(()=>{const vt=new Set(Object.keys(L).filter(ht=>L[ht]));return k.filter(ht=>!ht.responsive||ht.responsive.some(kt=>vt.has(kt)))},[k,L]),$=ur(e,["className","style","columns"]),{locale:W=Cc,direction:j,table:U,renderEmpty:Z,getPrefixCls:te,getPopupContainer:ae}=p.useContext(Xt),K=Co(l),Q=Object.assign(Object.assign({},W.Table),M),ie=d||hyt,he=te("table",i),pe=te("dropdown",u),[,le]=qo(),de=ui(he),[ve,ne,ue]=pyt(he,de),ge=Object.assign(Object.assign({childrenColumnName:b,expandIconColumnIndex:O},w),{expandIcon:(n=w==null?void 0:w.expandIcon)!==null&&n!==void 0?n:(r=U==null?void 0:U.expandable)===null||r===void 0?void 0:r.expandIcon}),{childrenColumnName:Ce="children"}=ge,Te=p.useMemo(()=>ie.some(vt=>vt==null?void 0:vt[Ce])?"nest":T||w!=null&&w.expandedRowRender?"row":null,[ie]),Se={body:p.useRef(null)},me=fbt(he),be=p.useRef(null),_e=p.useRef(null);ubt(t,()=>Object.assign(Object.assign({},_e.current),{nativeElement:be.current}));const Re=p.useMemo(()=>typeof m=="function"?m:vt=>vt==null?void 0:vt[m],[m]),[De]=Ubt(ie,Ce,Re),z={},D=function(vt,ht){let kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Et,Yt,ct,Rt;const Ht=Object.assign(Object.assign({},z),vt);kt&&((Et=z.resetPagination)===null||Et===void 0||Et.call(z),!((Yt=Ht.pagination)===null||Yt===void 0)&&Yt.current&&(Ht.pagination.current=1),f&&((ct=f.onChange)===null||ct===void 0||ct.call(f,1,(Rt=Ht.pagination)===null||Rt===void 0?void 0:Rt.pageSize))),A&&A.scrollToFirstRowOnChange!==!1&&Se.body.current&&vQe(0,{getContainer:()=>Se.body.current}),_==null||_(Ht.pagination,Ht.filters,Ht.sorter,{currentDataSource:mU(vU(ie,Ht.sorterStates,Ce),Ht.filterStates,Ce),action:ht})},q=(vt,ht)=>{D({sorter:vt,sorterStates:ht},"sort",!1)},[oe,ye,ce,Be]=qbt({prefixCls:he,mergedColumns:V,onSorterChange:q,sortDirections:I||["ascend","descend"],tableLocale:Q,showSorterTooltip:B}),Ve=p.useMemo(()=>vU(ie,ye,Ce),[ie,ye]);z.sorter=Be(),z.sorterStates=ye;const re=(vt,ht)=>{D({filters:vt,filterStates:ht},"filter",!0)},[Me,je,ke]=Hbt({prefixCls:he,locale:Q,dropdownPrefixCls:pe,mergedColumns:V,onFilterChange:re,getPopupContainer:E||ae,rootClassName:xe(a,de)}),Ge=mU(Ve,je,Ce);z.filters=ke,z.filterStates=je;const Ue=p.useMemo(()=>{const vt={};return Object.keys(ke).forEach(ht=>{ke[ht]!==null&&(vt[ht]=ke[ht])}),Object.assign(Object.assign({},ce),{filters:vt})},[ce,ke]),[qe]=Ybt(Ue),At=(vt,ht)=>{D({pagination:Object.assign(Object.assign({},z.pagination),{current:vt,pageSize:ht})},"paginate")},[at,pt]=Gbt(Ge.length,At,f);z.pagination=f===!1?{}:Vbt(at,f),z.resetPagination=pt;const Ct=p.useMemo(()=>{if(f===!1||!at.pageSize)return Ge;const{current:vt=1,total:ht,pageSize:kt=j2e}=at;return Ge.lengthkt?Ge.slice((vt-1)*kt,vt*kt):Ge:Ge.slice((vt-1)*kt,vt*kt)},[!!f,Ge,at==null?void 0:at.current,at==null?void 0:at.pageSize,at==null?void 0:at.total]),[bt,Vt]=lbt({prefixCls:he,data:Ge,pageData:Ct,getRowKey:Re,getRecordByKey:De,expandType:Te,childrenColumnName:Ce,locale:Q,getPopupContainer:E||ae},h),Tt=(vt,ht,kt)=>{let Et;return typeof g=="function"?Et=xe(g(vt,ht,kt)):Et=xe(g),xe({[`${he}-row-selected`]:Vt.has(Re(vt,ht))},Et)};ge.__PARENT_RENDER_ICON__=ge.expandIcon,ge.expandIcon=ge.expandIcon||S||dbt(Q),Te==="nest"&&ge.expandIconColumnIndex===void 0?ge.expandIconColumnIndex=h?1:0:ge.expandIconColumnIndex>0&&h&&(ge.expandIconColumnIndex-=1),typeof ge.indentSize!="number"&&(ge.indentSize=typeof x=="number"?x:15);const Ot=p.useCallback(vt=>qe(bt(Me(oe(vt)))),[oe,Me,bt]);let Ut,ze;if(f!==!1&&(at!=null&&at.total)){let vt;at.size?vt=at.size:vt=K==="small"||K==="middle"?"small":void 0;const ht=Yt=>p.createElement(Pxe,Object.assign({},at,{className:xe(`${he}-pagination ${he}-pagination-${Yt}`,at.className),size:vt})),kt=j==="rtl"?"left":"right",{position:Et}=at;if(Et!==null&&Array.isArray(Et)){const Yt=Et.find(Ht=>Ht.includes("top")),ct=Et.find(Ht=>Ht.includes("bottom")),Rt=Et.every(Ht=>`${Ht}`=="none");!Yt&&!ct&&!Rt&&(ze=ht(kt)),Yt&&(Ut=ht(Yt.toLowerCase().replace("top",""))),ct&&(ze=ht(ct.toLowerCase().replace("bottom","")))}else ze=ht(kt)}let Ye;typeof C=="boolean"?Ye={spinning:C}:typeof C=="object"&&(Ye=Object.assign({spinning:!0},C));const He=xe(ue,de,`${he}-wrapper`,U==null?void 0:U.className,{[`${he}-wrapper-rtl`]:j==="rtl"},o,a,ne),Ze=Object.assign(Object.assign({},U==null?void 0:U.style),s),yt=typeof(M==null?void 0:M.emptyText)<"u"?M.emptyText:(Z==null?void 0:Z("Table"))||p.createElement(yS,{componentName:"Table"}),_t=P?Qbt:Kbt,Bt={},Nt=p.useMemo(()=>{const{fontSize:vt,lineHeight:ht,lineWidth:kt,padding:Et,paddingXS:Yt,paddingSM:ct}=le,Rt=Math.floor(vt*ht);switch(K){case"middle":return ct*2+Rt+kt;case"small":return Yt*2+Rt+kt;default:return Et*2+Rt+kt}},[le,K]);return P&&(Bt.listItemHeight=Nt),ve(p.createElement("div",{ref:be,className:He,style:Ze},p.createElement(Nc,Object.assign({spinning:!1},Ye),Ut,p.createElement(_t,Object.assign({},Bt,$,{ref:_e,columns:V,direction:j,expandable:ge,prefixCls:he,className:xe({[`${he}-middle`]:K==="middle",[`${he}-small`]:K==="small",[`${he}-bordered`]:c,[`${he}-empty`]:ie.length===0},ue,de,ne),data:Ct,rowKey:Re,rowClassName:Tt,emptyText:yt,internalHooks:N2,internalRefs:Se,transformColumns:Ot,getContainerWidth:me})),ze)))},gyt=p.forwardRef(myt),vyt=(e,t)=>{const n=p.useRef(0);return n.current+=1,p.createElement(gyt,Object.assign({},e,{ref:t,_renderTimes:n.current}))},Hd=p.forwardRef(vyt);Hd.SELECTION_COLUMN=tm;Hd.EXPAND_COLUMN=Ap;Hd.SELECTION_ALL=uU;Hd.SELECTION_INVERT=dU;Hd.SELECTION_NONE=fU;Hd.Column=Z0t;Hd.ColumnGroup=J0t;Hd.Summary=h2e;const byt=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:i,calc:o}=e,a=o(r).sub(n).equal(),s=o(t).sub(n).equal();return{[i]:Object.assign(Object.assign({},gr(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${i}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${i}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${i}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${i}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${i}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},KY=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,i=e.fontSizeSM;return Kn(e,{tagFontSize:i,tagLineHeight:Ae(r(e.lineHeightSM).mul(i).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},QY=e=>({defaultBg:new rr(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),z2e=lr("Tag",e=>{const t=KY(e);return byt(t)},QY);var yyt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,style:r,className:i,checked:o,onChange:a,onClick:s}=e,l=yyt(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:c,tag:u}=p.useContext(Xt),d=y=>{a==null||a(!o),s==null||s(y)},f=c("tag",n),[h,m,g]=z2e(f),v=xe(f,`${f}-checkable`,{[`${f}-checkable-checked`]:o},u==null?void 0:u.className,i,m,g);return h(p.createElement("span",Object.assign({},l,{ref:t,style:Object.assign(Object.assign({},r),u==null?void 0:u.style),className:v,onClick:d})))}),Syt=e=>xP(e,(t,n)=>{let{textColor:r,lightBorderColor:i,lightColor:o,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:o,borderColor:i,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),Eyt=pS(["Tag","preset"],e=>{const t=KY(e);return Syt(t)},QY);function Cyt(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const FR=(e,t,n)=>{const r=Cyt(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},wyt=pS(["Tag","status"],e=>{const t=KY(e);return[FR(t,"success","Success"),FR(t,"processing","Info"),FR(t,"error","Error"),FR(t,"warning","Warning")]},QY);var Tyt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,className:r,rootClassName:i,style:o,children:a,icon:s,color:l,onClose:c,bordered:u=!0,visible:d}=e,f=Tyt(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:h,direction:m,tag:g}=p.useContext(Xt),[v,y]=p.useState(!0),b=ur(f,["closeIcon","closable"]);p.useEffect(()=>{d!==void 0&&y(d)},[d]);const _=eD(l),E=qrt(l),C=_||E,S=Object.assign(Object.assign({backgroundColor:l&&!C?l:void 0},g==null?void 0:g.style),o),w=h("tag",n),[T,O,x]=z2e(w),A=xe(w,g==null?void 0:g.className,{[`${w}-${l}`]:C,[`${w}-has-color`]:l&&!C,[`${w}-hidden`]:!v,[`${w}-rtl`]:m==="rtl",[`${w}-borderless`]:!u},r,i,O,x),I=L=>{L.stopPropagation(),c==null||c(L),!L.defaultPrevented&&y(!1)},[,M]=jq(p_(e),p_(g),{closable:!1,closeIconRender:L=>{const V=p.createElement("span",{className:`${w}-close-icon`,onClick:I},L);return Eq(L,V,$=>({onClick:W=>{var j;(j=$==null?void 0:$.onClick)===null||j===void 0||j.call($,W),I(W)},className:xe($==null?void 0:$.className,`${w}-close-icon`)}))}}),B=typeof f.onClick=="function"||a&&a.type==="a",P=s||null,k=P?p.createElement(p.Fragment,null,P,a&&p.createElement("span",null,a)):a,N=p.createElement("span",Object.assign({},b,{ref:t,className:A,style:S}),k,M,_&&p.createElement(Eyt,{key:"preset",prefixCls:w}),E&&p.createElement(wyt,{key:"status",prefixCls:w}));return T(B?p.createElement(o2,{component:"Tag"},N):N)}),kS=xyt;kS.CheckableTag=_yt;const Oyt=e=>{const t=e!=null&&e.algorithm?$v(e.algorithm):$v(n2),n=Object.assign(Object.assign({},u_),e==null?void 0:e.token);return uq(n,{override:e==null?void 0:e.token},t,yq)};function Ryt(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const Iyt=(e,t)=>{const n=t??n2(e),r=n.fontSizeSM,i=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),Ryt(t??e)),cSe(r)),{controlHeight:i}),lSe(Object.assign(Object.assign({},n),{controlHeight:i})))},Bc=(e,t)=>new rr(e).setA(t).toRgbString(),ab=(e,t)=>new rr(e).lighten(t).toHexString(),Ayt=e=>{const t=hg(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},Nyt=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Bc(r,.85),colorTextSecondary:Bc(r,.65),colorTextTertiary:Bc(r,.45),colorTextQuaternary:Bc(r,.25),colorFill:Bc(r,.18),colorFillSecondary:Bc(r,.12),colorFillTertiary:Bc(r,.08),colorFillQuaternary:Bc(r,.04),colorBgSolid:Bc(r,.95),colorBgSolidHover:Bc(r,1),colorBgSolidActive:Bc(r,.9),colorBgElevated:ab(n,12),colorBgContainer:ab(n,8),colorBgLayout:ab(n,0),colorBgSpotlight:ab(n,26),colorBgBlur:Bc(r,.04),colorBorder:ab(n,26),colorBorderSecondary:ab(n,19)}},Myt=(e,t)=>{const n=Object.keys(mq).map(i=>{const o=hg(e[i],{theme:"dark"});return new Array(10).fill(1).reduce((a,s,l)=>(a[`${i}-${l+1}`]=o[l],a[`${i}${l+1}`]=o[l],a),{})}).reduce((i,o)=>(i=Object.assign(Object.assign({},i),o),i),{}),r=t??n2(e);return Object.assign(Object.assign(Object.assign({},r),n),sSe(e,{generateColorPalettes:Ayt,generateNeutralColorPalettes:Nyt}))};function kyt(){const[e,t,n]=qo();return{theme:e,token:t,hashId:n}}const Es={defaultSeed:MT.token,useToken:kyt,defaultAlgorithm:n2,darkAlgorithm:Myt,compactAlgorithm:Iyt,getDesignToken:Oyt,defaultConfig:MT,_internalContext:gq};var Pyt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ip.createElement(Lyt,Object.assign({},e,{picker:"time",mode:void 0,ref:t}))),Gv=p.forwardRef((e,t)=>{var{addon:n,renderExtraFooter:r,variant:i,bordered:o}=e,a=Pyt(e,["addon","renderExtraFooter","variant","bordered"]);const[s]=Oh("timePicker",i,o),l=p.useMemo(()=>{if(r)return r;if(n)return n},[n,r]);return p.createElement(Dyt,Object.assign({},a,{mode:void 0,ref:t,renderExtraFooter:l,variant:s}))}),V2e=Ng(Gv,"popupAlign",void 0,"picker");Gv._InternalPanelDoNotUseOrYouWillBeFired=V2e;Gv.RangePicker=$yt;Gv._InternalPanelDoNotUseOrYouWillBeFired=V2e;const Fyt=function(e){var t=p.useRef({valueLabels:new Map});return p.useMemo(function(){var n=t.current.valueLabels,r=new Map,i=e.map(function(o){var a=o.value,s=o.label,l=s??n.get(a);return r.set(a,l),G(G({},o),{},{label:l})});return t.current.valueLabels=r,[i]},[e])};var Byt=function(t,n,r,i){return p.useMemo(function(){var o=function(h){return h.map(function(m){var g=m.value;return g})},a=o(t),s=o(n),l=a.filter(function(f){return!i[f]}),c=a,u=s;if(r){var d=lu(a,!0,i);c=d.checkedKeys,u=d.halfCheckedKeys}return[Array.from(new Set([].concat(nt(l),nt(c)))),u]},[t,n,r,i])},jyt=function(t){return Array.isArray(t)?t:t!==void 0?[t]:[]},Hyt=function(t){var n=t||{},r=n.label,i=n.value,o=n.children;return{_title:r?[r]:["title","label"],value:i||"value",key:i||"value",children:o||"children"}},bU=function(t){return!t||t.disabled||t.disableCheckbox||t.checkable===!1},Uyt=function(t,n){var r=[],i=function o(a){a.forEach(function(s){var l=s[n.children];l&&(r.push(s[n.value]),o(l))})};return i(t),r},aae=function(t){return t==null};const zyt=function(e,t){return p.useMemo(function(){var n=E2(e,{fieldNames:t,initWrapper:function(i){return G(G({},i),{},{valueEntities:new Map})},processEntity:function(i,o){var a=i.node[t.value];o.valueEntities.set(a,i)}});return n},[e,t])};var XY=function(){return null},Vyt=["children","value"];function G2e(e){return ko(e).map(function(t){if(!p.isValidElement(t)||!t.type)return null;var n=t,r=n.key,i=n.props,o=i.children,a=i.value,s=Dt(i,Vyt),l=G({key:r,value:a},s),c=G2e(o);return c.length&&(l.children=c),l}).filter(function(t){return t})}function yU(e){if(!e)return e;var t=G({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Yr(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function Gyt(e,t,n,r,i,o){var a=null,s=null;function l(){function c(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return u.map(function(h,m){var g="".concat(d,"-").concat(m),v=h[o.value],y=n.includes(v),b=c(h[o.children]||[],g,y),_=p.createElement(XY,h,b.map(function(C){return C.node}));if(t===v&&(a=_),y){var E={pos:g,node:_,children:b};return f||s.push(E),E}return null}).filter(function(h){return h})}s||(s=[],c(r),s.sort(function(u,d){var f=u.node.props.value,h=d.node.props.value,m=n.indexOf(f),g=n.indexOf(h);return m-g}))}Object.defineProperty(e,"triggerNode",{get:function(){return Yr(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),l(),a}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return Yr(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),l(),i?s:s.map(function(u){var d=u.node;return d})}})}var Wyt=function(t,n,r){var i=r.fieldNames,o=r.treeNodeFilterProp,a=r.filterTreeNode,s=i.children;return p.useMemo(function(){if(!n||a===!1)return t;var l=typeof a=="function"?a:function(u,d){return String(d[o]).toUpperCase().includes(n.toUpperCase())},c=function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return d.reduce(function(h,m){var g=m[s],v=f||l(n,yU(m)),y=u(g||[],v);return(v||y.length)&&h.push(G(G({},m),{},ee({isLeaf:void 0},s,y))),h},[])};return c(t)},[t,n,s,o,a])};function sae(e){var t=p.useRef();t.current=e;var n=p.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function qyt(e,t){var n=t.id,r=t.pId,i=t.rootPId,o=new Map,a=[];return e.forEach(function(s){var l=s[n],c=G(G({},s),{},{key:s.key||l});o.set(l,c)}),o.forEach(function(s){var l=s[r],c=o.get(l);c?(c.children=c.children||[],c.children.push(s)):(l===i||i===null)&&a.push(s)}),a}function Yyt(e,t,n){return p.useMemo(function(){if(e){if(n){var r=G({id:"id",pId:"pId",rootPId:null},Gt(n)==="object"?n:{});return qyt(e,r)}return e}return G2e(t)},[t,n,e])}var W2e=p.createContext(null),q2e=p.createContext(null),Kyt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Qyt=function(t,n){var r=Hq(),i=r.prefixCls,o=r.multiple,a=r.searchValue,s=r.toggleOpen,l=r.open,c=r.notFoundContent,u=p.useContext(q2e),d=u.virtual,f=u.listHeight,h=u.listItemHeight,m=u.listItemScrollOffset,g=u.treeData,v=u.fieldNames,y=u.onSelect,b=u.dropdownMatchSelectWidth,_=u.treeExpandAction,E=u.treeTitleRender,C=u.onPopupScroll,S=u.leftMaxCount,w=u.leafCountOnly,T=u.valueEntities,O=p.useContext(W2e),x=O.checkable,A=O.checkedKeys,I=O.halfCheckedKeys,M=O.treeExpandedKeys,B=O.treeDefaultExpandAll,P=O.treeDefaultExpandedKeys,k=O.onTreeExpand,N=O.treeIcon,L=O.showTreeIcon,V=O.switcherIcon,$=O.treeLine,W=O.treeNodeFilterProp,j=O.loadData,U=O.treeLoadedKeys,Z=O.treeMotion,te=O.onTreeLoad,ae=O.keyEntities,K=p.useRef(),Q=lh(function(){return g},[l,g],function(Ue,qe){return qe[0]&&Ue[1]!==qe[1]}),ie=p.useMemo(function(){return x?{checked:A,halfChecked:I}:null},[x,A,I]);p.useEffect(function(){if(l&&!o&&A.length){var Ue;(Ue=K.current)===null||Ue===void 0||Ue.scrollTo({key:A[0]})}},[l]);var he=function(qe){qe.preventDefault()},pe=function(qe,At){var at=At.node;x&&bU(at)||(y(at.key,{selected:!A.includes(at.key)}),o||s(!1))},le=p.useState(P),de=Ie(le,2),ve=de[0],ne=de[1],ue=p.useState(null),ge=Ie(ue,2),Ce=ge[0],Te=ge[1],Se=p.useMemo(function(){return M?nt(M):a?Ce:ve},[ve,Ce,M,a]),me=function(qe){ne(qe),Te(qe),k&&k(qe)},be=String(a).toLowerCase(),_e=function(qe){return be?String(qe[W]).toLowerCase().includes(be):!1};p.useEffect(function(){a&&Te(Uyt(g,v))},[a]);var Re=p.useState(function(){return new Map}),De=Ie(Re,2),z=De[0],D=De[1];p.useEffect(function(){S&&D(new Map)},[S]);function q(Ue){var qe=Ue[v.value];if(!z.has(qe)){var At=T.get(qe),at=(At.children||[]).length===0;if(at)z.set(qe,!1);else{var pt=At.children.filter(function(bt){return!bt.node.disabled&&!bt.node.disableCheckbox&&!A.includes(bt.node[v.value])}),Ct=pt.length;z.set(qe,Ct>S)}}return z.get(qe)}var oe=Yn(function(Ue){var qe=Ue[v.value];return A.includes(qe)||S===null?!1:S<=0?!0:w&&S?q(Ue):!1}),ye=function Ue(qe){var At=Sf(qe),at;try{for(At.s();!(at=At.n()).done;){var pt=at.value;if(!(pt.disabled||pt.selectable===!1)){if(a){if(_e(pt))return pt}else return pt;if(pt[v.children]){var Ct=Ue(pt[v.children]);if(Ct)return Ct}}}}catch(bt){At.e(bt)}finally{At.f()}return null},ce=p.useState(null),Be=Ie(ce,2),Ve=Be[0],re=Be[1],Me=ae[Ve];p.useEffect(function(){if(l){var Ue=null,qe=function(){var at=ye(Q);return at?at[v.value]:null};!o&&A.length&&!a?Ue=A[0]:Ue=qe(),re(Ue)}},[l,a]),p.useImperativeHandle(n,function(){var Ue;return{scrollTo:(Ue=K.current)===null||Ue===void 0?void 0:Ue.scrollTo,onKeyDown:function(At){var at,pt=At.which;switch(pt){case dt.UP:case dt.DOWN:case dt.LEFT:case dt.RIGHT:(at=K.current)===null||at===void 0||at.onKeyDown(At);break;case dt.ENTER:{if(Me){var Ct=oe(Me.node),bt=(Me==null?void 0:Me.node)||{},Vt=bt.selectable,Tt=bt.value,Ot=bt.disabled;Vt!==!1&&!Ot&&!Ct&&pe(null,{node:{key:Ve},selected:!A.includes(Tt)})}break}case dt.ESC:s(!1)}},onKeyUp:function(){}}});var je=lh(function(){return!a},[a,M||ve],function(Ue,qe){var At=Ie(Ue,1),at=At[0],pt=Ie(qe,2),Ct=pt[0],bt=pt[1];return at!==Ct&&!!(Ct||bt)}),ke=je?j:null;if(Q.length===0)return p.createElement("div",{role:"listbox",className:"".concat(i,"-empty"),onMouseDown:he},c);var Ge={fieldNames:v};return U&&(Ge.loadedKeys=U),Se&&(Ge.expandedKeys=Se),p.createElement("div",{onMouseDown:he},Me&&l&&p.createElement("span",{style:Kyt,"aria-live":"assertive"},Me.node.value),p.createElement(R2e.Provider,{value:{nodeDisabled:oe}},p.createElement(OD,Ke({ref:K,focusable:!1,prefixCls:"".concat(i,"-tree"),treeData:Q,height:f,itemHeight:h,itemScrollOffset:m,virtual:d!==!1&&b!==!1,multiple:o,icon:N,showIcon:L,switcherIcon:V,showLine:$,loadData:ke,motion:Z,activeKey:Ve,checkable:x,checkStrictly:!0,checkedKeys:ie,selectedKeys:x?[]:A,defaultExpandAll:B,titleRender:E},Ge,{onActiveChange:re,onSelect:pe,onCheck:pe,onExpand:me,onLoad:te,filterTreeNode:_e,expandAction:_,onScroll:C}))))},Xyt=p.forwardRef(Qyt),ZY="SHOW_ALL",JY="SHOW_PARENT",RD="SHOW_CHILD";function lae(e,t,n,r){var i=new Set(e);return t===RD?e.filter(function(o){var a=n[o];return!a||!a.children||!a.children.some(function(s){var l=s.node;return i.has(l[r.value])})||!a.children.every(function(s){var l=s.node;return bU(l)||i.has(l[r.value])})}):t===JY?e.filter(function(o){var a=n[o],s=a?a.parent:null;return!s||bU(s.node)||!i.has(s.key)}):e}var Zyt=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","maxCount","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function Jyt(e){return!e||Gt(e)!=="object"}var e_t=p.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,i=r===void 0?"rc-tree-select":r,o=e.value,a=e.defaultValue,s=e.onChange,l=e.onSelect,c=e.onDeselect,u=e.searchValue,d=e.inputValue,f=e.onSearch,h=e.autoClearSearchValue,m=h===void 0?!0:h,g=e.filterTreeNode,v=e.treeNodeFilterProp,y=v===void 0?"value":v,b=e.showCheckedStrategy,_=e.treeNodeLabelProp,E=e.multiple,C=e.treeCheckable,S=e.treeCheckStrictly,w=e.labelInValue,T=e.maxCount,O=e.fieldNames,x=e.treeDataSimpleMode,A=e.treeData,I=e.children,M=e.loadData,B=e.treeLoadedKeys,P=e.onTreeLoad,k=e.treeDefaultExpandAll,N=e.treeExpandedKeys,L=e.treeDefaultExpandedKeys,V=e.onTreeExpand,$=e.treeExpandAction,W=e.virtual,j=e.listHeight,U=j===void 0?200:j,Z=e.listItemHeight,te=Z===void 0?20:Z,ae=e.listItemScrollOffset,K=ae===void 0?0:ae,Q=e.onDropdownVisibleChange,ie=e.dropdownMatchSelectWidth,he=ie===void 0?!0:ie,pe=e.treeLine,le=e.treeIcon,de=e.showTreeIcon,ve=e.switcherIcon,ne=e.treeMotion,ue=e.treeTitleRender,ge=e.onPopupScroll,Ce=Dt(e,Zyt),Te=Wq(n),Se=C&&!S,me=C||S,be=S||w,_e=me||E,Re=Pn(a,{value:o}),De=Ie(Re,2),z=De[0],D=De[1],q=p.useMemo(function(){return C?b||RD:ZY},[b,C]),oe=p.useMemo(function(){return Hyt(O)},[JSON.stringify(O)]),ye=Pn("",{value:u!==void 0?u:d,postState:function(wt){return wt||""}}),ce=Ie(ye,2),Be=ce[0],Ve=ce[1],re=function(wt){Ve(wt),f==null||f(wt)},Me=Yyt(A,I,x),je=zyt(Me,oe),ke=je.keyEntities,Ge=je.valueEntities,Ue=p.useCallback(function(Ht){var wt=[],St=[];return Ht.forEach(function(jt){Ge.has(jt)?St.push(jt):wt.push(jt)}),{missingRawValues:wt,existRawValues:St}},[Ge]),qe=Wyt(Me,Be,{fieldNames:oe,treeNodeFilterProp:y,filterTreeNode:g}),At=p.useCallback(function(Ht){if(Ht){if(_)return Ht[_];for(var wt=oe._title,St=0;Stvt)){var Pe=pt(Ht);if(D(Pe),m&&Ve(""),s){var Pt=Ht;Se&&(Pt=jt.map(function($e){var et=Ge.get($e);return et?et.node[oe.value]:$e}));var rt=wt||{triggerValue:void 0,selected:void 0},Mt=rt.triggerValue,It=rt.selected,xn=Pt;if(S){var Hn=Ot.filter(function($e){return!Pt.includes($e.value)});xn=[].concat(nt(xn),nt(Hn))}var R=pt(xn),F={preValue:Tt,triggerValue:Mt},J=!0;(S||St==="selection"&&!It)&&(J=!1),Gyt(F,Mt,Ht,Me,J,oe),me?F.checked=It:F.selected=It;var Oe=be?R:R.map(function($e){return $e.value});s(_e?Oe:Oe[0],be?null:R.map(function($e){return $e.label}),F)}}}),kt=p.useCallback(function(Ht,wt){var St,jt=wt.selected,Pe=wt.source,Pt=ke[Ht],rt=Pt==null?void 0:Pt.node,Mt=(St=rt==null?void 0:rt[oe.value])!==null&&St!==void 0?St:Ht;if(!_e)ht([Mt],{selected:!0,triggerValue:Mt},"option");else{var It=jt?[].concat(nt(Ut),[Mt]):He.filter(function(et){return et!==Mt});if(Se){var xn=Ue(It),Hn=xn.missingRawValues,R=xn.existRawValues,F=R.map(function(et){return Ge.get(et).key}),J;if(jt){var Oe=lu(F,!0,ke);J=Oe.checkedKeys}else{var $e=lu(F,{checked:!1,halfCheckedKeys:Ze},ke);J=$e.checkedKeys}It=[].concat(nt(Hn),nt(J.map(function(et){return ke[et].node[oe.value]})))}ht(It,{selected:jt,triggerValue:Mt},Pe||"option")}jt||!_e?l==null||l(Mt,yU(rt)):c==null||c(Mt,yU(rt))},[Ue,Ge,ke,oe,_e,Ut,ht,Se,l,c,He,Ze,T]),Et=p.useCallback(function(Ht){if(Q){var wt={};Object.defineProperty(wt,"documentClickClose",{get:function(){return Yr(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Q(Ht,wt)}},[Q]),Yt=sae(function(Ht,wt){var St=Ht.map(function(jt){return jt.value});if(wt.type==="clear"){ht(St,{},"selection");return}wt.values.length&&kt(wt.values[0].value,{selected:!1,source:"selection"})}),ct=p.useMemo(function(){return{virtual:W,dropdownMatchSelectWidth:he,listHeight:U,listItemHeight:te,listItemScrollOffset:K,treeData:qe,fieldNames:oe,onSelect:kt,treeExpandAction:$,treeTitleRender:ue,onPopupScroll:ge,leftMaxCount:T===void 0?null:T-Nt.length,leafCountOnly:q==="SHOW_CHILD"&&!S&&!!C,valueEntities:Ge}},[W,he,U,te,K,qe,oe,kt,$,ue,ge,T,Nt.length,q,S,C,Ge]),Rt=p.useMemo(function(){return{checkable:me,loadData:M,treeLoadedKeys:B,onTreeLoad:P,checkedKeys:He,halfCheckedKeys:Ze,treeDefaultExpandAll:k,treeExpandedKeys:N,treeDefaultExpandedKeys:L,onTreeExpand:V,treeIcon:le,treeMotion:ne,showTreeIcon:de,switcherIcon:ve,treeLine:pe,treeNodeFilterProp:y,keyEntities:ke}},[me,M,B,P,He,Ze,k,N,L,V,le,ne,de,ve,pe,y,ke]);return p.createElement(q2e.Provider,{value:ct},p.createElement(W2e.Provider,{value:Rt},p.createElement(zq,Ke({ref:t},Ce,{id:Te,prefixCls:i,mode:_e?"multiple":void 0,displayValues:Nt,onDisplayValuesChange:Yt,searchValue:Be,onSearch:re,OptionList:Xyt,emptyOptions:!Me.length,onDropdownVisibleChange:Et,dropdownMatchSelectWidth:he}))))}),M2=e_t;M2.TreeNode=XY;M2.SHOW_ALL=ZY;M2.SHOW_PARENT=JY;M2.SHOW_CHILD=RD;const t_t=e=>{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,i=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${Ae(e.paddingXS)} ${Ae(e.calc(e.paddingXS).div(2).equal())}`},M2e(n,Kn(e,{colorBgContainer:r})),{[i]:{borderRadius:0,[`${i}-list-holder-inner`]:{alignItems:"stretch",[`${i}-treenode`]:{[`${i}-node-content-wrapper`]:{flex:"auto"}}}}},hD(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${i}-switcher${i}-switcher_close`]:{[`${i}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function n_t(e,t,n){return lr("TreeSelect",r=>{const i=Kn(r,{treePrefixCls:t});return[t_t(i)]},k2e)(e,n)}var r_t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,size:i,disabled:o,bordered:a=!0,className:s,rootClassName:l,treeCheckable:c,multiple:u,listHeight:d=256,listItemHeight:f,placement:h,notFoundContent:m,switcherIcon:g,treeLine:v,getPopupContainer:y,popupClassName:b,dropdownClassName:_,treeIcon:E=!1,transitionName:C,choiceTransitionName:S="",status:w,treeExpandAction:T,builtinPlacements:O,dropdownMatchSelectWidth:x,popupMatchSelectWidth:A,allowClear:I,variant:M,dropdownStyle:B,tagRender:P,maxCount:k,showCheckedStrategy:N,treeCheckStrictly:L}=e,V=r_t(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:$,getPrefixCls:W,renderEmpty:j,direction:U,virtual:Z,popupMatchSelectWidth:te,popupOverflow:ae}=p.useContext(Xt),[,K]=qo(),Q=f??(K==null?void 0:K.controlHeightSM)+(K==null?void 0:K.paddingXXS),ie=W(),he=W("select",r),pe=W("select-tree",r),le=W("tree-select",r),{compactSize:de,compactItemClassnames:ve}=Fd(he,U),ne=ui(he),ue=ui(le),[ge,Ce,Te]=Kq(he,ne),[Se]=n_t(le,pe,ue),[me,be]=Oh("treeSelect",M,a),_e=xe(b||_,`${le}-dropdown`,{[`${le}-dropdown-rtl`]:U==="rtl"},l,Te,ne,ue,Ce),Re=!!(c||u),De=p.useMemo(()=>{if(!(k&&(N==="SHOW_ALL"&&!L||N==="SHOW_PARENT")))return k},[k,N,L]),z=Qq(e.suffixIcon,e.showArrow),D=(n=A??x)!==null&&n!==void 0?n:te,{status:q,hasFeedback:oe,isFormItemInput:ye,feedbackIcon:ce}=p.useContext(oa),Be=xh(q,w),{suffixIcon:Ve,removeIcon:re,clearIcon:Me}=QP(Object.assign(Object.assign({},V),{multiple:Re,showSuffixIcon:z,hasFeedback:oe,feedbackIcon:ce,prefixCls:he,componentName:"TreeSelect"})),je=I===!0?{clearIcon:Me}:I;let ke;m!==void 0?ke=m:ke=(j==null?void 0:j("Select"))||p.createElement(yS,{componentName:"Select"});const Ge=ur(V,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Ue=p.useMemo(()=>h!==void 0?h:U==="rtl"?"bottomRight":"bottomLeft",[h,U]),qe=Co(Tt=>{var Ot;return(Ot=i??de)!==null&&Ot!==void 0?Ot:Tt}),At=p.useContext(Wo),at=o??At,pt=xe(!r&&le,{[`${he}-lg`]:qe==="large",[`${he}-sm`]:qe==="small",[`${he}-rtl`]:U==="rtl",[`${he}-${me}`]:be,[`${he}-in-form-item`]:ye},Id(he,Be,oe),ve,s,l,Te,ne,ue,Ce),Ct=Tt=>p.createElement(P2e,{prefixCls:pe,switcherIcon:g,treeNodeProps:Tt,showLine:v}),[bt]=Ru("SelectLike",B==null?void 0:B.zIndex),Vt=p.createElement(M2,Object.assign({virtual:Z,disabled:at},Ge,{dropdownMatchSelectWidth:D,builtinPlacements:Yq(O,ae),ref:t,prefixCls:he,className:pt,listHeight:d,listItemHeight:Q,treeCheckable:c&&p.createElement("span",{className:`${he}-tree-checkbox-inner`}),treeLine:!!v,suffixIcon:Ve,multiple:Re,placement:Ue,removeIcon:re,allowClear:je,switcherIcon:Ct,showTreeIcon:E,notFoundContent:ke,getPopupContainer:y||$,treeMotion:null,dropdownClassName:_e,dropdownStyle:Object.assign(Object.assign({},B),{zIndex:bt}),choiceTransitionName:Va(ie,"",S),transitionName:Va(ie,"slide-up",C),treeExpandAction:T,tagRender:Re?P:void 0,maxCount:De,showCheckedStrategy:N,treeCheckStrictly:L}));return ge(Se(Vt))},o_t=p.forwardRef(i_t),O0=o_t,a_t=Ng(O0,"dropdownAlign",e=>ur(e,["visible"]));O0.TreeNode=XY;O0.SHOW_ALL=ZY;O0.SHOW_PARENT=JY;O0.SHOW_CHILD=RD;O0._InternalPanelDoNotUseOrYouWillBeFired=a_t;const s_t=(e,t,n,r)=>{const{titleMarginBottom:i,fontWeightStrong:o}=r;return{marginBottom:i,color:n,fontWeight:o,fontSize:e,lineHeight:t}},l_t=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` + ${Ae(b(i).mul(-1).equal())}`,[`${t}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:f,fontWeight:n,textAlign:"start",background:m,borderBottom:_,transition:`background ${h} ease`}}},[`${t}-footer`]:{padding:`${Ae(r)} ${Ae(i)}`,color:v,background:y}})}},fyt=e=>{const{colorFillAlter:t,colorBgContainer:n,colorTextHeading:r,colorFillSecondary:i,colorFillContent:o,controlItemBgActive:a,controlItemBgActiveHover:s,padding:l,paddingSM:c,paddingXS:u,colorBorderSecondary:d,borderRadiusLG:f,controlHeight:h,colorTextPlaceholder:m,fontSize:g,fontSizeSM:v,lineHeight:y,lineWidth:b,colorIcon:_,colorIconHover:E,opacityLoading:C,controlInteractiveSize:S}=e,w=new rr(i).onBackground(n).toHexString(),T=new rr(o).onBackground(n).toHexString(),O=new rr(t).onBackground(n).toHexString(),x=new rr(_),A=new rr(E),I=S/2-b,M=I*2+b*3;return{headerBg:O,headerColor:r,headerSortActiveBg:w,headerSortHoverBg:T,bodySortBg:O,rowHoverBg:O,rowSelectedBg:a,rowSelectedHoverBg:s,rowExpandedBg:t,cellPaddingBlock:l,cellPaddingInline:l,cellPaddingBlockMD:c,cellPaddingInlineMD:u,cellPaddingBlockSM:u,cellPaddingInlineSM:u,borderColor:d,headerBorderRadius:f,footerBg:O,footerColor:r,cellFontSize:g,cellFontSizeMD:g,cellFontSizeSM:g,headerSplitColor:d,fixedHeaderSortActiveBg:w,headerFilterHoverBg:o,filterDropdownMenuBg:n,filterDropdownBg:n,expandIconBg:n,selectionColumnWidth:h,stickyScrollBarBg:m,stickyScrollBarBorderRadius:100,expandIconMarginTop:(g*y-b*3)/2-Math.ceil((v*1.4-b*3)/2),headerIconColor:x.clone().setA(x.a*C).toRgbString(),headerIconHoverColor:A.clone().setA(A.a*C).toRgbString(),expandIconHalfInner:I,expandIconSize:M,expandIconScale:S/M}},oae=2,pyt=lr("Table",e=>{const{colorTextHeading:t,colorSplit:n,colorBgContainer:r,controlInteractiveSize:i,headerBg:o,headerColor:a,headerSortActiveBg:s,headerSortHoverBg:l,bodySortBg:c,rowHoverBg:u,rowSelectedBg:d,rowSelectedHoverBg:f,rowExpandedBg:h,cellPaddingBlock:m,cellPaddingInline:g,cellPaddingBlockMD:v,cellPaddingInlineMD:y,cellPaddingBlockSM:b,cellPaddingInlineSM:_,borderColor:E,footerBg:C,footerColor:S,headerBorderRadius:w,cellFontSize:T,cellFontSizeMD:O,cellFontSizeSM:x,headerSplitColor:A,fixedHeaderSortActiveBg:I,headerFilterHoverBg:M,filterDropdownBg:B,expandIconBg:P,selectionColumnWidth:k,stickyScrollBarBg:N,calc:L}=e,V=Kn(e,{tableFontSize:T,tableBg:r,tableRadius:w,tablePaddingVertical:m,tablePaddingHorizontal:g,tablePaddingVerticalMiddle:v,tablePaddingHorizontalMiddle:y,tablePaddingVerticalSmall:b,tablePaddingHorizontalSmall:_,tableBorderColor:E,tableHeaderTextColor:a,tableHeaderBg:o,tableFooterTextColor:S,tableFooterBg:C,tableHeaderCellSplitColor:A,tableHeaderSortBg:s,tableHeaderSortHoverBg:l,tableBodySortBg:c,tableFixedHeaderSortActiveBg:I,tableHeaderFilterActiveBg:M,tableFilterDropdownBg:B,tableRowHoverBg:u,tableSelectedRowBg:d,tableSelectedRowHoverBg:f,zIndexTableFixed:oae,zIndexTableSticky:L(oae).add(1).equal({unit:!1}),tableFontSizeMiddle:O,tableFontSizeSmall:x,tableSelectionColumnWidth:k,tableExpandIconBg:P,tableExpandColumnWidth:L(i).add(L(e.padding).mul(2)).equal(),tableExpandedRowBg:h,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:N,tableScrollThumbBgHover:t,tableScrollBg:n});return[dyt(V),ryt(V),iae(V),lyt(V),tyt(V),Xbt(V),iyt(V),eyt(V),iae(V),Jbt(V),ayt(V),nyt(V),cyt(V),Zbt(V),syt(V),oyt(V),uyt(V)]},fyt,{unitless:{expandIconScale:!0}}),hyt=[],myt=(e,t)=>{var n,r;const{prefixCls:i,className:o,rootClassName:a,style:s,size:l,bordered:c,dropdownPrefixCls:u,dataSource:d,pagination:f,rowSelection:h,rowKey:m="key",rowClassName:g,columns:v,children:y,childrenColumnName:b,onChange:_,getPopupContainer:E,loading:C,expandIcon:S,expandable:w,expandedRowRender:T,expandIconColumnIndex:O,indentSize:x,scroll:A,sortDirections:I,locale:M,showSorterTooltip:B={target:"full-header"},virtual:P}=e;Wf();const k=p.useMemo(()=>v||zY(y),[v,y]),N=p.useMemo(()=>k.some(vt=>vt.responsive),[k]),L=X5(N),V=p.useMemo(()=>{const vt=new Set(Object.keys(L).filter(ht=>L[ht]));return k.filter(ht=>!ht.responsive||ht.responsive.some(kt=>vt.has(kt)))},[k,L]),$=ur(e,["className","style","columns"]),{locale:W=Cc,direction:j,table:U,renderEmpty:Z,getPrefixCls:te,getPopupContainer:ae}=p.useContext(Xt),K=Co(l),Q=Object.assign(Object.assign({},W.Table),M),ie=d||hyt,he=te("table",i),pe=te("dropdown",u),[,le]=qo(),de=ui(he),[ve,ne,ue]=pyt(he,de),ge=Object.assign(Object.assign({childrenColumnName:b,expandIconColumnIndex:O},w),{expandIcon:(n=w==null?void 0:w.expandIcon)!==null&&n!==void 0?n:(r=U==null?void 0:U.expandable)===null||r===void 0?void 0:r.expandIcon}),{childrenColumnName:Ce="children"}=ge,Te=p.useMemo(()=>ie.some(vt=>vt==null?void 0:vt[Ce])?"nest":T||w!=null&&w.expandedRowRender?"row":null,[ie]),Se={body:p.useRef(null)},me=fbt(he),be=p.useRef(null),_e=p.useRef(null);ubt(t,()=>Object.assign(Object.assign({},_e.current),{nativeElement:be.current}));const Re=p.useMemo(()=>typeof m=="function"?m:vt=>vt==null?void 0:vt[m],[m]),[De]=Ubt(ie,Ce,Re),z={},D=function(vt,ht){let kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Et,Yt,ct,Rt;const Ht=Object.assign(Object.assign({},z),vt);kt&&((Et=z.resetPagination)===null||Et===void 0||Et.call(z),!((Yt=Ht.pagination)===null||Yt===void 0)&&Yt.current&&(Ht.pagination.current=1),f&&((ct=f.onChange)===null||ct===void 0||ct.call(f,1,(Rt=Ht.pagination)===null||Rt===void 0?void 0:Rt.pageSize))),A&&A.scrollToFirstRowOnChange!==!1&&Se.body.current&&vQe(0,{getContainer:()=>Se.body.current}),_==null||_(Ht.pagination,Ht.filters,Ht.sorter,{currentDataSource:mU(vU(ie,Ht.sorterStates,Ce),Ht.filterStates,Ce),action:ht})},q=(vt,ht)=>{D({sorter:vt,sorterStates:ht},"sort",!1)},[oe,ye,ce,Be]=qbt({prefixCls:he,mergedColumns:V,onSorterChange:q,sortDirections:I||["ascend","descend"],tableLocale:Q,showSorterTooltip:B}),Ve=p.useMemo(()=>vU(ie,ye,Ce),[ie,ye]);z.sorter=Be(),z.sorterStates=ye;const re=(vt,ht)=>{D({filters:vt,filterStates:ht},"filter",!0)},[Me,je,ke]=Hbt({prefixCls:he,locale:Q,dropdownPrefixCls:pe,mergedColumns:V,onFilterChange:re,getPopupContainer:E||ae,rootClassName:xe(a,de)}),Ge=mU(Ve,je,Ce);z.filters=ke,z.filterStates=je;const Ue=p.useMemo(()=>{const vt={};return Object.keys(ke).forEach(ht=>{ke[ht]!==null&&(vt[ht]=ke[ht])}),Object.assign(Object.assign({},ce),{filters:vt})},[ce,ke]),[qe]=Ybt(Ue),At=(vt,ht)=>{D({pagination:Object.assign(Object.assign({},z.pagination),{current:vt,pageSize:ht})},"paginate")},[at,pt]=Gbt(Ge.length,At,f);z.pagination=f===!1?{}:Vbt(at,f),z.resetPagination=pt;const Ct=p.useMemo(()=>{if(f===!1||!at.pageSize)return Ge;const{current:vt=1,total:ht,pageSize:kt=j2e}=at;return Ge.lengthkt?Ge.slice((vt-1)*kt,vt*kt):Ge:Ge.slice((vt-1)*kt,vt*kt)},[!!f,Ge,at==null?void 0:at.current,at==null?void 0:at.pageSize,at==null?void 0:at.total]),[bt,Vt]=lbt({prefixCls:he,data:Ge,pageData:Ct,getRowKey:Re,getRecordByKey:De,expandType:Te,childrenColumnName:Ce,locale:Q,getPopupContainer:E||ae},h),Tt=(vt,ht,kt)=>{let Et;return typeof g=="function"?Et=xe(g(vt,ht,kt)):Et=xe(g),xe({[`${he}-row-selected`]:Vt.has(Re(vt,ht))},Et)};ge.__PARENT_RENDER_ICON__=ge.expandIcon,ge.expandIcon=ge.expandIcon||S||dbt(Q),Te==="nest"&&ge.expandIconColumnIndex===void 0?ge.expandIconColumnIndex=h?1:0:ge.expandIconColumnIndex>0&&h&&(ge.expandIconColumnIndex-=1),typeof ge.indentSize!="number"&&(ge.indentSize=typeof x=="number"?x:15);const Ot=p.useCallback(vt=>qe(bt(Me(oe(vt)))),[oe,Me,bt]);let Ut,ze;if(f!==!1&&(at!=null&&at.total)){let vt;at.size?vt=at.size:vt=K==="small"||K==="middle"?"small":void 0;const ht=Yt=>p.createElement(Pxe,Object.assign({},at,{className:xe(`${he}-pagination ${he}-pagination-${Yt}`,at.className),size:vt})),kt=j==="rtl"?"left":"right",{position:Et}=at;if(Et!==null&&Array.isArray(Et)){const Yt=Et.find(Ht=>Ht.includes("top")),ct=Et.find(Ht=>Ht.includes("bottom")),Rt=Et.every(Ht=>`${Ht}`=="none");!Yt&&!ct&&!Rt&&(ze=ht(kt)),Yt&&(Ut=ht(Yt.toLowerCase().replace("top",""))),ct&&(ze=ht(ct.toLowerCase().replace("bottom","")))}else ze=ht(kt)}let Ye;typeof C=="boolean"?Ye={spinning:C}:typeof C=="object"&&(Ye=Object.assign({spinning:!0},C));const He=xe(ue,de,`${he}-wrapper`,U==null?void 0:U.className,{[`${he}-wrapper-rtl`]:j==="rtl"},o,a,ne),Ze=Object.assign(Object.assign({},U==null?void 0:U.style),s),yt=typeof(M==null?void 0:M.emptyText)<"u"?M.emptyText:(Z==null?void 0:Z("Table"))||p.createElement(yS,{componentName:"Table"}),_t=P?Qbt:Kbt,Bt={},Nt=p.useMemo(()=>{const{fontSize:vt,lineHeight:ht,lineWidth:kt,padding:Et,paddingXS:Yt,paddingSM:ct}=le,Rt=Math.floor(vt*ht);switch(K){case"middle":return ct*2+Rt+kt;case"small":return Yt*2+Rt+kt;default:return Et*2+Rt+kt}},[le,K]);return P&&(Bt.listItemHeight=Nt),ve(p.createElement("div",{ref:be,className:He,style:Ze},p.createElement(Nc,Object.assign({spinning:!1},Ye),Ut,p.createElement(_t,Object.assign({},Bt,$,{ref:_e,columns:V,direction:j,expandable:ge,prefixCls:he,className:xe({[`${he}-middle`]:K==="middle",[`${he}-small`]:K==="small",[`${he}-bordered`]:c,[`${he}-empty`]:ie.length===0},ue,de,ne),data:Ct,rowKey:Re,rowClassName:Tt,emptyText:yt,internalHooks:N2,internalRefs:Se,transformColumns:Ot,getContainerWidth:me})),ze)))},gyt=p.forwardRef(myt),vyt=(e,t)=>{const n=p.useRef(0);return n.current+=1,p.createElement(gyt,Object.assign({},e,{ref:t,_renderTimes:n.current}))},Hd=p.forwardRef(vyt);Hd.SELECTION_COLUMN=tm;Hd.EXPAND_COLUMN=Ap;Hd.SELECTION_ALL=uU;Hd.SELECTION_INVERT=dU;Hd.SELECTION_NONE=fU;Hd.Column=Z0t;Hd.ColumnGroup=J0t;Hd.Summary=h2e;const byt=e=>{const{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:i,calc:o}=e,a=o(r).sub(n).equal(),s=o(t).sub(n).equal();return{[i]:Object.assign(Object.assign({},gr(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${Ae(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${i}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${i}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${i}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${i}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${i}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},KY=e=>{const{lineWidth:t,fontSizeIcon:n,calc:r}=e,i=e.fontSizeSM;return Kn(e,{tagFontSize:i,tagLineHeight:Ae(r(e.lineHeightSM).mul(i).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg})},QY=e=>({defaultBg:new rr(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText}),z2e=lr("Tag",e=>{const t=KY(e);return byt(t)},QY);var yyt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,style:r,className:i,checked:o,onChange:a,onClick:s}=e,l=yyt(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:c,tag:u}=p.useContext(Xt),d=y=>{a==null||a(!o),s==null||s(y)},f=c("tag",n),[h,m,g]=z2e(f),v=xe(f,`${f}-checkable`,{[`${f}-checkable-checked`]:o},u==null?void 0:u.className,i,m,g);return h(p.createElement("span",Object.assign({},l,{ref:t,style:Object.assign(Object.assign({},r),u==null?void 0:u.style),className:v,onClick:d})))}),Syt=e=>x5(e,(t,n)=>{let{textColor:r,lightBorderColor:i,lightColor:o,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:o,borderColor:i,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}}),Eyt=pS(["Tag","preset"],e=>{const t=KY(e);return Syt(t)},QY);function Cyt(e){return typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}const FR=(e,t,n)=>{const r=Cyt(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}},wyt=pS(["Tag","status"],e=>{const t=KY(e);return[FR(t,"success","Success"),FR(t,"processing","Info"),FR(t,"error","Error"),FR(t,"warning","Warning")]},QY);var Tyt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,className:r,rootClassName:i,style:o,children:a,icon:s,color:l,onClose:c,bordered:u=!0,visible:d}=e,f=Tyt(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:h,direction:m,tag:g}=p.useContext(Xt),[v,y]=p.useState(!0),b=ur(f,["closeIcon","closable"]);p.useEffect(()=>{d!==void 0&&y(d)},[d]);const _=eD(l),E=qrt(l),C=_||E,S=Object.assign(Object.assign({backgroundColor:l&&!C?l:void 0},g==null?void 0:g.style),o),w=h("tag",n),[T,O,x]=z2e(w),A=xe(w,g==null?void 0:g.className,{[`${w}-${l}`]:C,[`${w}-has-color`]:l&&!C,[`${w}-hidden`]:!v,[`${w}-rtl`]:m==="rtl",[`${w}-borderless`]:!u},r,i,O,x),I=L=>{L.stopPropagation(),c==null||c(L),!L.defaultPrevented&&y(!1)},[,M]=jq(p_(e),p_(g),{closable:!1,closeIconRender:L=>{const V=p.createElement("span",{className:`${w}-close-icon`,onClick:I},L);return Eq(L,V,$=>({onClick:W=>{var j;(j=$==null?void 0:$.onClick)===null||j===void 0||j.call($,W),I(W)},className:xe($==null?void 0:$.className,`${w}-close-icon`)}))}}),B=typeof f.onClick=="function"||a&&a.type==="a",P=s||null,k=P?p.createElement(p.Fragment,null,P,a&&p.createElement("span",null,a)):a,N=p.createElement("span",Object.assign({},b,{ref:t,className:A,style:S}),k,M,_&&p.createElement(Eyt,{key:"preset",prefixCls:w}),E&&p.createElement(wyt,{key:"status",prefixCls:w}));return T(B?p.createElement(o2,{component:"Tag"},N):N)}),kS=xyt;kS.CheckableTag=_yt;const Oyt=e=>{const t=e!=null&&e.algorithm?$v(e.algorithm):$v(n2),n=Object.assign(Object.assign({},u_),e==null?void 0:e.token);return uq(n,{override:e==null?void 0:e.token},t,yq)};function Ryt(e){const{sizeUnit:t,sizeStep:n}=e,r=n-2;return{sizeXXL:t*(r+10),sizeXL:t*(r+6),sizeLG:t*(r+2),sizeMD:t*(r+2),sizeMS:t*(r+1),size:t*r,sizeSM:t*r,sizeXS:t*(r-1),sizeXXS:t*(r-1)}}const Iyt=(e,t)=>{const n=t??n2(e),r=n.fontSizeSM,i=n.controlHeight-4;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n),Ryt(t??e)),cSe(r)),{controlHeight:i}),lSe(Object.assign(Object.assign({},n),{controlHeight:i})))},Bc=(e,t)=>new rr(e).setA(t).toRgbString(),ab=(e,t)=>new rr(e).lighten(t).toHexString(),Ayt=e=>{const t=hg(e,{theme:"dark"});return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[6],6:t[5],7:t[4],8:t[6],9:t[5],10:t[4]}},Nyt=(e,t)=>{const n=e||"#000",r=t||"#fff";return{colorBgBase:n,colorTextBase:r,colorText:Bc(r,.85),colorTextSecondary:Bc(r,.65),colorTextTertiary:Bc(r,.45),colorTextQuaternary:Bc(r,.25),colorFill:Bc(r,.18),colorFillSecondary:Bc(r,.12),colorFillTertiary:Bc(r,.08),colorFillQuaternary:Bc(r,.04),colorBgSolid:Bc(r,.95),colorBgSolidHover:Bc(r,1),colorBgSolidActive:Bc(r,.9),colorBgElevated:ab(n,12),colorBgContainer:ab(n,8),colorBgLayout:ab(n,0),colorBgSpotlight:ab(n,26),colorBgBlur:Bc(r,.04),colorBorder:ab(n,26),colorBorderSecondary:ab(n,19)}},Myt=(e,t)=>{const n=Object.keys(mq).map(i=>{const o=hg(e[i],{theme:"dark"});return new Array(10).fill(1).reduce((a,s,l)=>(a[`${i}-${l+1}`]=o[l],a[`${i}${l+1}`]=o[l],a),{})}).reduce((i,o)=>(i=Object.assign(Object.assign({},i),o),i),{}),r=t??n2(e);return Object.assign(Object.assign(Object.assign({},r),n),sSe(e,{generateColorPalettes:Ayt,generateNeutralColorPalettes:Nyt}))};function kyt(){const[e,t,n]=qo();return{theme:e,token:t,hashId:n}}const Es={defaultSeed:MT.token,useToken:kyt,defaultAlgorithm:n2,darkAlgorithm:Myt,compactAlgorithm:Iyt,getDesignToken:Oyt,defaultConfig:MT,_internalContext:gq};var Pyt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);ip.createElement(Lyt,Object.assign({},e,{picker:"time",mode:void 0,ref:t}))),Gv=p.forwardRef((e,t)=>{var{addon:n,renderExtraFooter:r,variant:i,bordered:o}=e,a=Pyt(e,["addon","renderExtraFooter","variant","bordered"]);const[s]=Oh("timePicker",i,o),l=p.useMemo(()=>{if(r)return r;if(n)return n},[n,r]);return p.createElement(Dyt,Object.assign({},a,{mode:void 0,ref:t,renderExtraFooter:l,variant:s}))}),V2e=Ng(Gv,"popupAlign",void 0,"picker");Gv._InternalPanelDoNotUseOrYouWillBeFired=V2e;Gv.RangePicker=$yt;Gv._InternalPanelDoNotUseOrYouWillBeFired=V2e;const Fyt=function(e){var t=p.useRef({valueLabels:new Map});return p.useMemo(function(){var n=t.current.valueLabels,r=new Map,i=e.map(function(o){var a=o.value,s=o.label,l=s??n.get(a);return r.set(a,l),G(G({},o),{},{label:l})});return t.current.valueLabels=r,[i]},[e])};var Byt=function(t,n,r,i){return p.useMemo(function(){var o=function(h){return h.map(function(m){var g=m.value;return g})},a=o(t),s=o(n),l=a.filter(function(f){return!i[f]}),c=a,u=s;if(r){var d=lu(a,!0,i);c=d.checkedKeys,u=d.halfCheckedKeys}return[Array.from(new Set([].concat(nt(l),nt(c)))),u]},[t,n,r,i])},jyt=function(t){return Array.isArray(t)?t:t!==void 0?[t]:[]},Hyt=function(t){var n=t||{},r=n.label,i=n.value,o=n.children;return{_title:r?[r]:["title","label"],value:i||"value",key:i||"value",children:o||"children"}},bU=function(t){return!t||t.disabled||t.disableCheckbox||t.checkable===!1},Uyt=function(t,n){var r=[],i=function o(a){a.forEach(function(s){var l=s[n.children];l&&(r.push(s[n.value]),o(l))})};return i(t),r},aae=function(t){return t==null};const zyt=function(e,t){return p.useMemo(function(){var n=E2(e,{fieldNames:t,initWrapper:function(i){return G(G({},i),{},{valueEntities:new Map})},processEntity:function(i,o){var a=i.node[t.value];o.valueEntities.set(a,i)}});return n},[e,t])};var XY=function(){return null},Vyt=["children","value"];function G2e(e){return ko(e).map(function(t){if(!p.isValidElement(t)||!t.type)return null;var n=t,r=n.key,i=n.props,o=i.children,a=i.value,s=Dt(i,Vyt),l=G({key:r,value:a},s),c=G2e(o);return c.length&&(l.children=c),l}).filter(function(t){return t})}function yU(e){if(!e)return e;var t=G({},e);return"props"in t||Object.defineProperty(t,"props",{get:function(){return Yr(!1,"New `rc-tree-select` not support return node instance as argument anymore. Please consider to remove `props` access."),t}}),t}function Gyt(e,t,n,r,i,o){var a=null,s=null;function l(){function c(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return u.map(function(h,m){var g="".concat(d,"-").concat(m),v=h[o.value],y=n.includes(v),b=c(h[o.children]||[],g,y),_=p.createElement(XY,h,b.map(function(C){return C.node}));if(t===v&&(a=_),y){var E={pos:g,node:_,children:b};return f||s.push(E),E}return null}).filter(function(h){return h})}s||(s=[],c(r),s.sort(function(u,d){var f=u.node.props.value,h=d.node.props.value,m=n.indexOf(f),g=n.indexOf(h);return m-g}))}Object.defineProperty(e,"triggerNode",{get:function(){return Yr(!1,"`triggerNode` is deprecated. Please consider decoupling data with node."),l(),a}}),Object.defineProperty(e,"allCheckedNodes",{get:function(){return Yr(!1,"`allCheckedNodes` is deprecated. Please consider decoupling data with node."),l(),i?s:s.map(function(u){var d=u.node;return d})}})}var Wyt=function(t,n,r){var i=r.fieldNames,o=r.treeNodeFilterProp,a=r.filterTreeNode,s=i.children;return p.useMemo(function(){if(!n||a===!1)return t;var l=typeof a=="function"?a:function(u,d){return String(d[o]).toUpperCase().includes(n.toUpperCase())},c=function u(d){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return d.reduce(function(h,m){var g=m[s],v=f||l(n,yU(m)),y=u(g||[],v);return(v||y.length)&&h.push(G(G({},m),{},ee({isLeaf:void 0},s,y))),h},[])};return c(t)},[t,n,s,o,a])};function sae(e){var t=p.useRef();t.current=e;var n=p.useCallback(function(){return t.current.apply(t,arguments)},[]);return n}function qyt(e,t){var n=t.id,r=t.pId,i=t.rootPId,o=new Map,a=[];return e.forEach(function(s){var l=s[n],c=G(G({},s),{},{key:s.key||l});o.set(l,c)}),o.forEach(function(s){var l=s[r],c=o.get(l);c?(c.children=c.children||[],c.children.push(s)):(l===i||i===null)&&a.push(s)}),a}function Yyt(e,t,n){return p.useMemo(function(){if(e){if(n){var r=G({id:"id",pId:"pId",rootPId:null},Gt(n)==="object"?n:{});return qyt(e,r)}return e}return G2e(t)},[t,n,e])}var W2e=p.createContext(null),q2e=p.createContext(null),Kyt={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Qyt=function(t,n){var r=Hq(),i=r.prefixCls,o=r.multiple,a=r.searchValue,s=r.toggleOpen,l=r.open,c=r.notFoundContent,u=p.useContext(q2e),d=u.virtual,f=u.listHeight,h=u.listItemHeight,m=u.listItemScrollOffset,g=u.treeData,v=u.fieldNames,y=u.onSelect,b=u.dropdownMatchSelectWidth,_=u.treeExpandAction,E=u.treeTitleRender,C=u.onPopupScroll,S=u.leftMaxCount,w=u.leafCountOnly,T=u.valueEntities,O=p.useContext(W2e),x=O.checkable,A=O.checkedKeys,I=O.halfCheckedKeys,M=O.treeExpandedKeys,B=O.treeDefaultExpandAll,P=O.treeDefaultExpandedKeys,k=O.onTreeExpand,N=O.treeIcon,L=O.showTreeIcon,V=O.switcherIcon,$=O.treeLine,W=O.treeNodeFilterProp,j=O.loadData,U=O.treeLoadedKeys,Z=O.treeMotion,te=O.onTreeLoad,ae=O.keyEntities,K=p.useRef(),Q=lh(function(){return g},[l,g],function(Ue,qe){return qe[0]&&Ue[1]!==qe[1]}),ie=p.useMemo(function(){return x?{checked:A,halfChecked:I}:null},[x,A,I]);p.useEffect(function(){if(l&&!o&&A.length){var Ue;(Ue=K.current)===null||Ue===void 0||Ue.scrollTo({key:A[0]})}},[l]);var he=function(qe){qe.preventDefault()},pe=function(qe,At){var at=At.node;x&&bU(at)||(y(at.key,{selected:!A.includes(at.key)}),o||s(!1))},le=p.useState(P),de=Ie(le,2),ve=de[0],ne=de[1],ue=p.useState(null),ge=Ie(ue,2),Ce=ge[0],Te=ge[1],Se=p.useMemo(function(){return M?nt(M):a?Ce:ve},[ve,Ce,M,a]),me=function(qe){ne(qe),Te(qe),k&&k(qe)},be=String(a).toLowerCase(),_e=function(qe){return be?String(qe[W]).toLowerCase().includes(be):!1};p.useEffect(function(){a&&Te(Uyt(g,v))},[a]);var Re=p.useState(function(){return new Map}),De=Ie(Re,2),z=De[0],D=De[1];p.useEffect(function(){S&&D(new Map)},[S]);function q(Ue){var qe=Ue[v.value];if(!z.has(qe)){var At=T.get(qe),at=(At.children||[]).length===0;if(at)z.set(qe,!1);else{var pt=At.children.filter(function(bt){return!bt.node.disabled&&!bt.node.disableCheckbox&&!A.includes(bt.node[v.value])}),Ct=pt.length;z.set(qe,Ct>S)}}return z.get(qe)}var oe=Yn(function(Ue){var qe=Ue[v.value];return A.includes(qe)||S===null?!1:S<=0?!0:w&&S?q(Ue):!1}),ye=function Ue(qe){var At=Sf(qe),at;try{for(At.s();!(at=At.n()).done;){var pt=at.value;if(!(pt.disabled||pt.selectable===!1)){if(a){if(_e(pt))return pt}else return pt;if(pt[v.children]){var Ct=Ue(pt[v.children]);if(Ct)return Ct}}}}catch(bt){At.e(bt)}finally{At.f()}return null},ce=p.useState(null),Be=Ie(ce,2),Ve=Be[0],re=Be[1],Me=ae[Ve];p.useEffect(function(){if(l){var Ue=null,qe=function(){var at=ye(Q);return at?at[v.value]:null};!o&&A.length&&!a?Ue=A[0]:Ue=qe(),re(Ue)}},[l,a]),p.useImperativeHandle(n,function(){var Ue;return{scrollTo:(Ue=K.current)===null||Ue===void 0?void 0:Ue.scrollTo,onKeyDown:function(At){var at,pt=At.which;switch(pt){case dt.UP:case dt.DOWN:case dt.LEFT:case dt.RIGHT:(at=K.current)===null||at===void 0||at.onKeyDown(At);break;case dt.ENTER:{if(Me){var Ct=oe(Me.node),bt=(Me==null?void 0:Me.node)||{},Vt=bt.selectable,Tt=bt.value,Ot=bt.disabled;Vt!==!1&&!Ot&&!Ct&&pe(null,{node:{key:Ve},selected:!A.includes(Tt)})}break}case dt.ESC:s(!1)}},onKeyUp:function(){}}});var je=lh(function(){return!a},[a,M||ve],function(Ue,qe){var At=Ie(Ue,1),at=At[0],pt=Ie(qe,2),Ct=pt[0],bt=pt[1];return at!==Ct&&!!(Ct||bt)}),ke=je?j:null;if(Q.length===0)return p.createElement("div",{role:"listbox",className:"".concat(i,"-empty"),onMouseDown:he},c);var Ge={fieldNames:v};return U&&(Ge.loadedKeys=U),Se&&(Ge.expandedKeys=Se),p.createElement("div",{onMouseDown:he},Me&&l&&p.createElement("span",{style:Kyt,"aria-live":"assertive"},Me.node.value),p.createElement(R2e.Provider,{value:{nodeDisabled:oe}},p.createElement(OD,Ke({ref:K,focusable:!1,prefixCls:"".concat(i,"-tree"),treeData:Q,height:f,itemHeight:h,itemScrollOffset:m,virtual:d!==!1&&b!==!1,multiple:o,icon:N,showIcon:L,switcherIcon:V,showLine:$,loadData:ke,motion:Z,activeKey:Ve,checkable:x,checkStrictly:!0,checkedKeys:ie,selectedKeys:x?[]:A,defaultExpandAll:B,titleRender:E},Ge,{onActiveChange:re,onSelect:pe,onCheck:pe,onExpand:me,onLoad:te,filterTreeNode:_e,expandAction:_,onScroll:C}))))},Xyt=p.forwardRef(Qyt),ZY="SHOW_ALL",JY="SHOW_PARENT",RD="SHOW_CHILD";function lae(e,t,n,r){var i=new Set(e);return t===RD?e.filter(function(o){var a=n[o];return!a||!a.children||!a.children.some(function(s){var l=s.node;return i.has(l[r.value])})||!a.children.every(function(s){var l=s.node;return bU(l)||i.has(l[r.value])})}):t===JY?e.filter(function(o){var a=n[o],s=a?a.parent:null;return!s||bU(s.node)||!i.has(s.key)}):e}var Zyt=["id","prefixCls","value","defaultValue","onChange","onSelect","onDeselect","searchValue","inputValue","onSearch","autoClearSearchValue","filterTreeNode","treeNodeFilterProp","showCheckedStrategy","treeNodeLabelProp","multiple","treeCheckable","treeCheckStrictly","labelInValue","maxCount","fieldNames","treeDataSimpleMode","treeData","children","loadData","treeLoadedKeys","onTreeLoad","treeDefaultExpandAll","treeExpandedKeys","treeDefaultExpandedKeys","onTreeExpand","treeExpandAction","virtual","listHeight","listItemHeight","listItemScrollOffset","onDropdownVisibleChange","dropdownMatchSelectWidth","treeLine","treeIcon","showTreeIcon","switcherIcon","treeMotion","treeTitleRender","onPopupScroll"];function Jyt(e){return!e||Gt(e)!=="object"}var e_t=p.forwardRef(function(e,t){var n=e.id,r=e.prefixCls,i=r===void 0?"rc-tree-select":r,o=e.value,a=e.defaultValue,s=e.onChange,l=e.onSelect,c=e.onDeselect,u=e.searchValue,d=e.inputValue,f=e.onSearch,h=e.autoClearSearchValue,m=h===void 0?!0:h,g=e.filterTreeNode,v=e.treeNodeFilterProp,y=v===void 0?"value":v,b=e.showCheckedStrategy,_=e.treeNodeLabelProp,E=e.multiple,C=e.treeCheckable,S=e.treeCheckStrictly,w=e.labelInValue,T=e.maxCount,O=e.fieldNames,x=e.treeDataSimpleMode,A=e.treeData,I=e.children,M=e.loadData,B=e.treeLoadedKeys,P=e.onTreeLoad,k=e.treeDefaultExpandAll,N=e.treeExpandedKeys,L=e.treeDefaultExpandedKeys,V=e.onTreeExpand,$=e.treeExpandAction,W=e.virtual,j=e.listHeight,U=j===void 0?200:j,Z=e.listItemHeight,te=Z===void 0?20:Z,ae=e.listItemScrollOffset,K=ae===void 0?0:ae,Q=e.onDropdownVisibleChange,ie=e.dropdownMatchSelectWidth,he=ie===void 0?!0:ie,pe=e.treeLine,le=e.treeIcon,de=e.showTreeIcon,ve=e.switcherIcon,ne=e.treeMotion,ue=e.treeTitleRender,ge=e.onPopupScroll,Ce=Dt(e,Zyt),Te=Wq(n),Se=C&&!S,me=C||S,be=S||w,_e=me||E,Re=Pn(a,{value:o}),De=Ie(Re,2),z=De[0],D=De[1],q=p.useMemo(function(){return C?b||RD:ZY},[b,C]),oe=p.useMemo(function(){return Hyt(O)},[JSON.stringify(O)]),ye=Pn("",{value:u!==void 0?u:d,postState:function(wt){return wt||""}}),ce=Ie(ye,2),Be=ce[0],Ve=ce[1],re=function(wt){Ve(wt),f==null||f(wt)},Me=Yyt(A,I,x),je=zyt(Me,oe),ke=je.keyEntities,Ge=je.valueEntities,Ue=p.useCallback(function(Ht){var wt=[],St=[];return Ht.forEach(function(jt){Ge.has(jt)?St.push(jt):wt.push(jt)}),{missingRawValues:wt,existRawValues:St}},[Ge]),qe=Wyt(Me,Be,{fieldNames:oe,treeNodeFilterProp:y,filterTreeNode:g}),At=p.useCallback(function(Ht){if(Ht){if(_)return Ht[_];for(var wt=oe._title,St=0;Stvt)){var Pe=pt(Ht);if(D(Pe),m&&Ve(""),s){var Pt=Ht;Se&&(Pt=jt.map(function($e){var et=Ge.get($e);return et?et.node[oe.value]:$e}));var rt=wt||{triggerValue:void 0,selected:void 0},Mt=rt.triggerValue,It=rt.selected,xn=Pt;if(S){var Hn=Ot.filter(function($e){return!Pt.includes($e.value)});xn=[].concat(nt(xn),nt(Hn))}var R=pt(xn),F={preValue:Tt,triggerValue:Mt},J=!0;(S||St==="selection"&&!It)&&(J=!1),Gyt(F,Mt,Ht,Me,J,oe),me?F.checked=It:F.selected=It;var Oe=be?R:R.map(function($e){return $e.value});s(_e?Oe:Oe[0],be?null:R.map(function($e){return $e.label}),F)}}}),kt=p.useCallback(function(Ht,wt){var St,jt=wt.selected,Pe=wt.source,Pt=ke[Ht],rt=Pt==null?void 0:Pt.node,Mt=(St=rt==null?void 0:rt[oe.value])!==null&&St!==void 0?St:Ht;if(!_e)ht([Mt],{selected:!0,triggerValue:Mt},"option");else{var It=jt?[].concat(nt(Ut),[Mt]):He.filter(function(et){return et!==Mt});if(Se){var xn=Ue(It),Hn=xn.missingRawValues,R=xn.existRawValues,F=R.map(function(et){return Ge.get(et).key}),J;if(jt){var Oe=lu(F,!0,ke);J=Oe.checkedKeys}else{var $e=lu(F,{checked:!1,halfCheckedKeys:Ze},ke);J=$e.checkedKeys}It=[].concat(nt(Hn),nt(J.map(function(et){return ke[et].node[oe.value]})))}ht(It,{selected:jt,triggerValue:Mt},Pe||"option")}jt||!_e?l==null||l(Mt,yU(rt)):c==null||c(Mt,yU(rt))},[Ue,Ge,ke,oe,_e,Ut,ht,Se,l,c,He,Ze,T]),Et=p.useCallback(function(Ht){if(Q){var wt={};Object.defineProperty(wt,"documentClickClose",{get:function(){return Yr(!1,"Second param of `onDropdownVisibleChange` has been removed."),!1}}),Q(Ht,wt)}},[Q]),Yt=sae(function(Ht,wt){var St=Ht.map(function(jt){return jt.value});if(wt.type==="clear"){ht(St,{},"selection");return}wt.values.length&&kt(wt.values[0].value,{selected:!1,source:"selection"})}),ct=p.useMemo(function(){return{virtual:W,dropdownMatchSelectWidth:he,listHeight:U,listItemHeight:te,listItemScrollOffset:K,treeData:qe,fieldNames:oe,onSelect:kt,treeExpandAction:$,treeTitleRender:ue,onPopupScroll:ge,leftMaxCount:T===void 0?null:T-Nt.length,leafCountOnly:q==="SHOW_CHILD"&&!S&&!!C,valueEntities:Ge}},[W,he,U,te,K,qe,oe,kt,$,ue,ge,T,Nt.length,q,S,C,Ge]),Rt=p.useMemo(function(){return{checkable:me,loadData:M,treeLoadedKeys:B,onTreeLoad:P,checkedKeys:He,halfCheckedKeys:Ze,treeDefaultExpandAll:k,treeExpandedKeys:N,treeDefaultExpandedKeys:L,onTreeExpand:V,treeIcon:le,treeMotion:ne,showTreeIcon:de,switcherIcon:ve,treeLine:pe,treeNodeFilterProp:y,keyEntities:ke}},[me,M,B,P,He,Ze,k,N,L,V,le,ne,de,ve,pe,y,ke]);return p.createElement(q2e.Provider,{value:ct},p.createElement(W2e.Provider,{value:Rt},p.createElement(zq,Ke({ref:t},Ce,{id:Te,prefixCls:i,mode:_e?"multiple":void 0,displayValues:Nt,onDisplayValuesChange:Yt,searchValue:Be,onSearch:re,OptionList:Xyt,emptyOptions:!Me.length,onDropdownVisibleChange:Et,dropdownMatchSelectWidth:he}))))}),M2=e_t;M2.TreeNode=XY;M2.SHOW_ALL=ZY;M2.SHOW_PARENT=JY;M2.SHOW_CHILD=RD;const t_t=e=>{const{componentCls:t,treePrefixCls:n,colorBgElevated:r}=e,i=`.${n}`;return[{[`${t}-dropdown`]:[{padding:`${Ae(e.paddingXS)} ${Ae(e.calc(e.paddingXS).div(2).equal())}`},M2e(n,Kn(e,{colorBgContainer:r})),{[i]:{borderRadius:0,[`${i}-list-holder-inner`]:{alignItems:"stretch",[`${i}-treenode`]:{[`${i}-node-content-wrapper`]:{flex:"auto"}}}}},hD(`${n}-checkbox`,e),{"&-rtl":{direction:"rtl",[`${i}-switcher${i}-switcher_close`]:{[`${i}-switcher-icon svg`]:{transform:"rotate(90deg)"}}}}]}]};function n_t(e,t,n){return lr("TreeSelect",r=>{const i=Kn(r,{treePrefixCls:t});return[t_t(i)]},k2e)(e,n)}var r_t=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var n;const{prefixCls:r,size:i,disabled:o,bordered:a=!0,className:s,rootClassName:l,treeCheckable:c,multiple:u,listHeight:d=256,listItemHeight:f,placement:h,notFoundContent:m,switcherIcon:g,treeLine:v,getPopupContainer:y,popupClassName:b,dropdownClassName:_,treeIcon:E=!1,transitionName:C,choiceTransitionName:S="",status:w,treeExpandAction:T,builtinPlacements:O,dropdownMatchSelectWidth:x,popupMatchSelectWidth:A,allowClear:I,variant:M,dropdownStyle:B,tagRender:P,maxCount:k,showCheckedStrategy:N,treeCheckStrictly:L}=e,V=r_t(e,["prefixCls","size","disabled","bordered","className","rootClassName","treeCheckable","multiple","listHeight","listItemHeight","placement","notFoundContent","switcherIcon","treeLine","getPopupContainer","popupClassName","dropdownClassName","treeIcon","transitionName","choiceTransitionName","status","treeExpandAction","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","allowClear","variant","dropdownStyle","tagRender","maxCount","showCheckedStrategy","treeCheckStrictly"]),{getPopupContainer:$,getPrefixCls:W,renderEmpty:j,direction:U,virtual:Z,popupMatchSelectWidth:te,popupOverflow:ae}=p.useContext(Xt),[,K]=qo(),Q=f??(K==null?void 0:K.controlHeightSM)+(K==null?void 0:K.paddingXXS),ie=W(),he=W("select",r),pe=W("select-tree",r),le=W("tree-select",r),{compactSize:de,compactItemClassnames:ve}=Fd(he,U),ne=ui(he),ue=ui(le),[ge,Ce,Te]=Kq(he,ne),[Se]=n_t(le,pe,ue),[me,be]=Oh("treeSelect",M,a),_e=xe(b||_,`${le}-dropdown`,{[`${le}-dropdown-rtl`]:U==="rtl"},l,Te,ne,ue,Ce),Re=!!(c||u),De=p.useMemo(()=>{if(!(k&&(N==="SHOW_ALL"&&!L||N==="SHOW_PARENT")))return k},[k,N,L]),z=Qq(e.suffixIcon,e.showArrow),D=(n=A??x)!==null&&n!==void 0?n:te,{status:q,hasFeedback:oe,isFormItemInput:ye,feedbackIcon:ce}=p.useContext(oa),Be=xh(q,w),{suffixIcon:Ve,removeIcon:re,clearIcon:Me}=Q5(Object.assign(Object.assign({},V),{multiple:Re,showSuffixIcon:z,hasFeedback:oe,feedbackIcon:ce,prefixCls:he,componentName:"TreeSelect"})),je=I===!0?{clearIcon:Me}:I;let ke;m!==void 0?ke=m:ke=(j==null?void 0:j("Select"))||p.createElement(yS,{componentName:"Select"});const Ge=ur(V,["suffixIcon","removeIcon","clearIcon","itemIcon","switcherIcon"]),Ue=p.useMemo(()=>h!==void 0?h:U==="rtl"?"bottomRight":"bottomLeft",[h,U]),qe=Co(Tt=>{var Ot;return(Ot=i??de)!==null&&Ot!==void 0?Ot:Tt}),At=p.useContext(Wo),at=o??At,pt=xe(!r&&le,{[`${he}-lg`]:qe==="large",[`${he}-sm`]:qe==="small",[`${he}-rtl`]:U==="rtl",[`${he}-${me}`]:be,[`${he}-in-form-item`]:ye},Id(he,Be,oe),ve,s,l,Te,ne,ue,Ce),Ct=Tt=>p.createElement(P2e,{prefixCls:pe,switcherIcon:g,treeNodeProps:Tt,showLine:v}),[bt]=Ru("SelectLike",B==null?void 0:B.zIndex),Vt=p.createElement(M2,Object.assign({virtual:Z,disabled:at},Ge,{dropdownMatchSelectWidth:D,builtinPlacements:Yq(O,ae),ref:t,prefixCls:he,className:pt,listHeight:d,listItemHeight:Q,treeCheckable:c&&p.createElement("span",{className:`${he}-tree-checkbox-inner`}),treeLine:!!v,suffixIcon:Ve,multiple:Re,placement:Ue,removeIcon:re,allowClear:je,switcherIcon:Ct,showTreeIcon:E,notFoundContent:ke,getPopupContainer:y||$,treeMotion:null,dropdownClassName:_e,dropdownStyle:Object.assign(Object.assign({},B),{zIndex:bt}),choiceTransitionName:Va(ie,"",S),transitionName:Va(ie,"slide-up",C),treeExpandAction:T,tagRender:Re?P:void 0,maxCount:De,showCheckedStrategy:N,treeCheckStrictly:L}));return ge(Se(Vt))},o_t=p.forwardRef(i_t),O0=o_t,a_t=Ng(O0,"dropdownAlign",e=>ur(e,["visible"]));O0.TreeNode=XY;O0.SHOW_ALL=ZY;O0.SHOW_PARENT=JY;O0.SHOW_CHILD=RD;O0._InternalPanelDoNotUseOrYouWillBeFired=a_t;const s_t=(e,t,n,r)=>{const{titleMarginBottom:i,fontWeightStrong:o}=r;return{marginBottom:i,color:n,fontWeight:o,fontSize:e,lineHeight:t}},l_t=e=>{const t=[1,2,3,4,5],n={};return t.forEach(r=>{n[` h${r}&, div&-h${r}, div&-h${r} > textarea, @@ -536,9 +536,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho ${n}-eye, ${n}-download, ${n}-delete - `]:{zIndex:10,width:r,margin:`0 ${Ae(e.marginXXS)}`,fontSize:r,cursor:"pointer",transition:`all ${e.motionDurationSlow}`,color:i,"&:hover":{color:i},svg:{verticalAlign:"baseline"}}},[`${s}-thumbnail, ${s}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${s}-name`]:{display:"none",textAlign:"center"},[`${s}-file + ${s}-name`]:{position:"absolute",bottom:e.margin,display:"block",width:`calc(100% - ${Ae(o(e.paddingXS).mul(2).equal())})`},[`${s}-uploading`]:{[`&${s}`]:{backgroundColor:e.colorFillAlter},[`&::before, ${n}-eye, ${n}-download, ${n}-delete`]:{display:"none"}},[`${s}-progress`]:{bottom:e.marginXL,width:`calc(100% - ${Ae(o(e.paddingXS).mul(2).equal())})`,paddingInlineStart:0}}}),[`${t}-wrapper${t}-picture-circle-wrapper`]:{[`${t}${t}-select`]:{borderRadius:"50%"}}}},iSt=e=>{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},oSt=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},gr(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-hidden`]:{display:"none"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},aSt=e=>({actionsColor:e.colorTextDescription}),sSt=lr("Upload",e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:i,calc:o}=e,a=Kn(e,{uploadThumbnailSize:o(t).mul(2).equal(),uploadProgressOffset:o(o(n).div(2)).add(r).equal(),uploadPicCardSize:o(i).mul(2.55).equal()});return[oSt(a),J_t(a),nSt(a),rSt(a),eSt(a),tSt(a),iSt(a),a2(a)]},aSt);function HR(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function UR(e,t){const n=nt(t),r=n.findIndex(i=>{let{uid:o}=i;return o===e.uid});return r===-1?n.push(e):n[r]=e,n}function I$(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function lSt(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(i=>i[n]!==e[n]);return r.length===t.length?null:r}const cSt=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},Q2e=e=>e.indexOf("image/")===0,uSt=e=>{if(e.type&&!e.thumbUrl)return Q2e(e.type);const t=e.thumbUrl||e.url||"",n=cSt(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},Uh=200;function dSt(e){return new Promise(t=>{if(!e.type||!Q2e(e.type)){t("");return}const n=document.createElement("canvas");n.width=Uh,n.height=Uh,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${Uh}px; height: ${Uh}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),i=new Image;if(i.onload=()=>{const{width:o,height:a}=i;let s=Uh,l=Uh,c=0,u=0;o>a?(l=a*(Uh/o),u=-(l-s)/2):(s=o*(Uh/a),c=-(s-l)/2),r.drawImage(i,c,u,s,l);const d=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(i.src),t(d)},i.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const o=new FileReader;o.onload=()=>{o.result&&typeof o.result=="string"&&(i.src=o.result)},o.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const o=new FileReader;o.onload=()=>{o.result&&t(o.result)},o.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)})}const fSt=p.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,locale:o,listType:a,file:s,items:l,progress:c,iconRender:u,actionIconRender:d,itemRender:f,isImgUrl:h,showPreviewIcon:m,showRemoveIcon:g,showDownloadIcon:v,previewIcon:y,removeIcon:b,downloadIcon:_,extra:E,onPreview:C,onDownload:S,onClose:w}=e;var T,O;const{status:x}=s,[A,I]=p.useState(x);p.useEffect(()=>{x!=="removed"&&I(x)},[x]);const[M,B]=p.useState(!1);p.useEffect(()=>{const de=setTimeout(()=>{B(!0)},300);return()=>{clearTimeout(de)}},[]);const P=u(s);let k=p.createElement("div",{className:`${n}-icon`},P);if(a==="picture"||a==="picture-card"||a==="picture-circle")if(A==="uploading"||!s.thumbUrl&&!s.url){const de=xe(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:A!=="uploading"});k=p.createElement("div",{className:de},P)}else{const de=h!=null&&h(s)?p.createElement("img",{src:s.thumbUrl||s.url,alt:s.name,className:`${n}-list-item-image`,crossOrigin:s.crossOrigin}):P,ve=xe(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:h&&!h(s)});k=p.createElement("a",{className:ve,onClick:ne=>C(s,ne),href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer"},de)}const N=xe(`${n}-list-item`,`${n}-list-item-${A}`),L=typeof s.linkProps=="string"?JSON.parse(s.linkProps):s.linkProps,V=(typeof g=="function"?g(s):g)?d((typeof b=="function"?b(s):b)||p.createElement(O2,null),()=>w(s),n,o.removeFile,!0):null,$=(typeof v=="function"?v(s):v)&&A==="done"?d((typeof _=="function"?_(s):_)||p.createElement(fgt,null),()=>S(s),n,o.downloadFile):null,W=a!=="picture-card"&&a!=="picture-circle"&&p.createElement("span",{key:"download-delete",className:xe(`${n}-list-item-actions`,{picture:a==="picture"})},$,V),j=typeof E=="function"?E(s):E,U=j&&p.createElement("span",{className:`${n}-list-item-extra`},j),Z=xe(`${n}-list-item-name`),te=s.url?p.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Z,title:s.name},L,{href:s.url,onClick:de=>C(s,de)}),s.name,U):p.createElement("span",{key:"view",className:Z,onClick:de=>C(s,de),title:s.name},s.name,U),ae=(typeof m=="function"?m(s):m)&&(s.url||s.thumbUrl)?p.createElement("a",{href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:de=>C(s,de),title:o.previewFile},typeof y=="function"?y(s):y||p.createElement(OS,null)):null,K=(a==="picture-card"||a==="picture-circle")&&A!=="uploading"&&p.createElement("span",{className:`${n}-list-item-actions`},ae,A==="done"&&$,V),{getPrefixCls:Q}=p.useContext(Xt),ie=Q(),he=p.createElement("div",{className:N},k,te,W,K,M&&p.createElement(ia,{motionName:`${ie}-fade`,visible:A==="uploading",motionDeadline:2e3},de=>{let{className:ve}=de;const ne="percent"in s?p.createElement(Gxe,Object.assign({},c,{type:"line",percent:s.percent,"aria-label":s["aria-label"],"aria-labelledby":s["aria-labelledby"]})):null;return p.createElement("div",{className:xe(`${n}-list-item-progress`,ve)},ne)})),pe=s.response&&typeof s.response=="string"?s.response:((T=s.error)===null||T===void 0?void 0:T.statusText)||((O=s.error)===null||O===void 0?void 0:O.message)||o.uploadError,le=A==="error"?p.createElement(Aa,{title:pe,getPopupContainer:de=>de.parentNode},he):he;return p.createElement("div",{className:xe(`${n}-list-item-container`,r),style:i,ref:t},f?f(le,s,l,{download:S.bind(null,s),preview:C.bind(null,s),remove:w.bind(null,s)}):le)}),pSt=(e,t)=>{const{listType:n="text",previewFile:r=dSt,onPreview:i,onDownload:o,onRemove:a,locale:s,iconRender:l,isImageUrl:c=uSt,prefixCls:u,items:d=[],showPreviewIcon:f=!0,showRemoveIcon:h=!0,showDownloadIcon:m=!1,removeIcon:g,previewIcon:v,downloadIcon:y,extra:b,progress:_={size:[-1,2],showInfo:!1},appendAction:E,appendActionVisible:C=!0,itemRender:S,disabled:w}=e,T=Xq(),[O,x]=p.useState(!1),A=["picture-card","picture-circle"].includes(n);p.useEffect(()=>{n.startsWith("picture")&&(d||[]).forEach(U=>{!(U.originFileObj instanceof File||U.originFileObj instanceof Blob)||U.thumbUrl!==void 0||(U.thumbUrl="",r==null||r(U.originFileObj).then(Z=>{U.thumbUrl=Z||"",T()}))})},[n,d,r]),p.useEffect(()=>{x(!0)},[]);const I=(U,Z)=>{if(i)return Z==null||Z.preventDefault(),i(U)},M=U=>{typeof o=="function"?o(U):U.url&&window.open(U.url)},B=U=>{a==null||a(U)},P=U=>{if(l)return l(U,n);const Z=U.status==="uploading";if(n.startsWith("picture")){const te=n==="picture"?p.createElement(xd,null):s.uploading,ae=c!=null&&c(U)?p.createElement(m1t,null):p.createElement(Egt,null);return Z?te:ae}return Z?p.createElement(xd,null):p.createElement(f1t,null)},k=(U,Z,te,ae,K)=>{const Q={type:"text",size:"small",title:ae,onClick:ie=>{var he,pe;Z(),p.isValidElement(U)&&((pe=(he=U.props).onClick)===null||pe===void 0||pe.call(he,ie))},className:`${te}-list-item-action`};return K&&(Q.disabled=w),p.isValidElement(U)?p.createElement($n,Object.assign({},Q,{icon:Eo(U,Object.assign(Object.assign({},U.props),{onClick:()=>{}}))})):p.createElement($n,Object.assign({},Q),p.createElement("span",null,U))};p.useImperativeHandle(t,()=>({handlePreview:I,handleDownload:M}));const{getPrefixCls:N}=p.useContext(Xt),L=N("upload",u),V=N(),$=xe(`${L}-list`,`${L}-list-${n}`),W=p.useMemo(()=>ur(d_(V),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[V]),j=Object.assign(Object.assign({},A?{}:W),{motionDeadline:2e3,motionName:`${L}-${A?"animate-inline":"animate"}`,keys:nt(d.map(U=>({key:U.uid,file:U}))),motionAppear:O});return p.createElement("div",{className:$},p.createElement(OP,Object.assign({},j,{component:!1}),U=>{let{key:Z,file:te,className:ae,style:K}=U;return p.createElement(fSt,{key:Z,locale:s,prefixCls:L,className:ae,style:K,file:te,items:d,progress:_,listType:n,isImgUrl:c,showPreviewIcon:f,showRemoveIcon:h,showDownloadIcon:m,removeIcon:g,previewIcon:v,downloadIcon:y,extra:b,iconRender:P,actionIconRender:k,itemRender:S,onPreview:I,onDownload:M,onClose:B})}),E&&p.createElement(ia,Object.assign({},j,{visible:C,forceRender:!0}),U=>{let{className:Z,style:te}=U;return Eo(E,ae=>({className:xe(ae.className,Z),style:Object.assign(Object.assign(Object.assign({},te),{pointerEvents:Z?"none":void 0}),ae.style)}))}))},hSt=p.forwardRef(pSt);var mSt=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(u){try{c(r.next(u))}catch(d){a(d)}}function l(u){try{c(r.throw(u))}catch(d){a(d)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((r=r.apply(e,[])).next())})};const DC=`__LIST_IGNORE_${Date.now()}__`,gSt=(e,t)=>{const{fileList:n,defaultFileList:r,onRemove:i,showUploadList:o=!0,listType:a="text",onPreview:s,onDownload:l,onChange:c,onDrop:u,previewFile:d,disabled:f,locale:h,iconRender:m,isImageUrl:g,progress:v,prefixCls:y,className:b,type:_="select",children:E,style:C,itemRender:S,maxCount:w,data:T={},multiple:O=!1,hasControlInside:x=!0,action:A="",accept:I="",supportServerRender:M=!0,rootClassName:B}=e,P=p.useContext(Wo),k=f??P,[N,L]=Pn(r||[],{value:n,postState:re=>re??[]}),[V,$]=p.useState("drop"),W=p.useRef(null),j=p.useRef(null);p.useMemo(()=>{const re=Date.now();(n||[]).forEach((Me,je)=>{!Me.uid&&!Object.isFrozen(Me)&&(Me.uid=`__AUTO__${re}_${je}__`)})},[n]);const U=(re,Me,je)=>{let ke=nt(Me),Ge=!1;w===1?ke=ke.slice(-1):w&&(Ge=ke.length>w,ke=ke.slice(0,w)),Ml.flushSync(()=>{L(ke)});const Ue={file:re,fileList:ke};je&&(Ue.event=je),(!Ge||re.status==="removed"||ke.some(qe=>qe.uid===re.uid))&&Ml.flushSync(()=>{c==null||c(Ue)})},Z=(re,Me)=>mSt(void 0,void 0,void 0,function*(){const{beforeUpload:je,transformFile:ke}=e;let Ge=re;if(je){const Ue=yield je(re,Me);if(Ue===!1)return!1;if(delete re[DC],Ue===DC)return Object.defineProperty(re,DC,{value:!0,configurable:!0}),!1;typeof Ue=="object"&&Ue&&(Ge=Ue)}return ke&&(Ge=yield ke(Ge)),Ge}),te=re=>{const Me=re.filter(Ge=>!Ge.file[DC]);if(!Me.length)return;const je=Me.map(Ge=>HR(Ge.file));let ke=nt(N);je.forEach(Ge=>{ke=UR(Ge,ke)}),je.forEach((Ge,Ue)=>{let qe=Ge;if(Me[Ue].parsedFile)Ge.status="uploading";else{const{originFileObj:At}=Ge;let at;try{at=new File([At],At.name,{type:At.type})}catch{at=new Blob([At],{type:At.type}),at.name=At.name,at.lastModifiedDate=new Date,at.lastModified=new Date().getTime()}at.uid=Ge.uid,qe=at}U(qe,ke)})},ae=(re,Me,je)=>{try{typeof re=="string"&&(re=JSON.parse(re))}catch{}if(!I$(Me,N))return;const ke=HR(Me);ke.status="done",ke.percent=100,ke.response=re,ke.xhr=je;const Ge=UR(ke,N);U(ke,Ge)},K=(re,Me)=>{if(!I$(Me,N))return;const je=HR(Me);je.status="uploading",je.percent=re.percent;const ke=UR(je,N);U(je,ke,re)},Q=(re,Me,je)=>{if(!I$(je,N))return;const ke=HR(je);ke.error=re,ke.response=Me,ke.status="error";const Ge=UR(ke,N);U(ke,Ge)},ie=re=>{let Me;Promise.resolve(typeof i=="function"?i(re):i).then(je=>{var ke;if(je===!1)return;const Ge=lSt(re,N);Ge&&(Me=Object.assign(Object.assign({},re),{status:"removed"}),N==null||N.forEach(Ue=>{const qe=Me.uid!==void 0?"uid":"name";Ue[qe]===Me[qe]&&!Object.isFrozen(Ue)&&(Ue.status="removed")}),(ke=W.current)===null||ke===void 0||ke.abort(Me),U(Me,Ge))})},he=re=>{$(re.type),re.type==="drop"&&(u==null||u(re))};p.useImperativeHandle(t,()=>({onBatchStart:te,onSuccess:ae,onProgress:K,onError:Q,fileList:N,upload:W.current,nativeElement:j.current}));const{getPrefixCls:pe,direction:le,upload:de}=p.useContext(Xt),ve=pe("upload",y),ne=Object.assign(Object.assign({onBatchStart:te,onError:Q,onProgress:K,onSuccess:ae},e),{data:T,multiple:O,action:A,accept:I,supportServerRender:M,prefixCls:ve,disabled:k,beforeUpload:Z,onChange:void 0,hasControlInside:x});delete ne.className,delete ne.style,(!E||k)&&delete ne.id;const ue=`${ve}-wrapper`,[ge,Ce,Te]=sSt(ve,ue),[Se]=ds("Upload",Cc.Upload),{showRemoveIcon:me,showPreviewIcon:be,showDownloadIcon:_e,removeIcon:Re,previewIcon:De,downloadIcon:z,extra:D}=typeof o=="boolean"?{}:o,q=typeof me>"u"?!k:me,oe=(re,Me)=>o?p.createElement(hSt,{prefixCls:ve,listType:a,items:N,previewFile:d,onPreview:s,onDownload:l,onRemove:ie,showRemoveIcon:q,showPreviewIcon:be,showDownloadIcon:_e,removeIcon:Re,previewIcon:De,downloadIcon:z,iconRender:m,extra:D,locale:Object.assign(Object.assign({},Se),h),isImageUrl:g,progress:v,appendAction:re,appendActionVisible:Me,itemRender:S,disabled:k}):re,ye=xe(ue,b,B,Ce,Te,de==null?void 0:de.className,{[`${ve}-rtl`]:le==="rtl",[`${ve}-picture-card-wrapper`]:a==="picture-card",[`${ve}-picture-circle-wrapper`]:a==="picture-circle"}),ce=Object.assign(Object.assign({},de==null?void 0:de.style),C);if(_==="drag"){const re=xe(Ce,ve,`${ve}-drag`,{[`${ve}-drag-uploading`]:N.some(Me=>Me.status==="uploading"),[`${ve}-drag-hover`]:V==="dragover",[`${ve}-disabled`]:k,[`${ve}-rtl`]:le==="rtl"});return ge(p.createElement("span",{className:ye,ref:j},p.createElement("div",{className:re,style:ce,onDrop:he,onDragOver:he,onDragLeave:he},p.createElement(_U,Object.assign({},ne,{ref:W,className:`${ve}-btn`}),p.createElement("div",{className:`${ve}-drag-container`},E))),oe()))}const Be=xe(ve,`${ve}-select`,{[`${ve}-disabled`]:k,[`${ve}-hidden`]:!E}),Ve=p.createElement("div",{className:Be},p.createElement(_U,Object.assign({},ne,{ref:W})));return ge(a==="picture-card"||a==="picture-circle"?p.createElement("span",{className:ye,ref:j},oe(Ve,!!E)):p.createElement("span",{className:ye,ref:j},Ve,oe()))},X2e=p.forwardRef(gSt);var vSt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{style:n,height:r,hasControlInside:i=!1}=e,o=vSt(e,["style","height","hasControlInside"]);return p.createElement(X2e,Object.assign({ref:t,hasControlInside:i},o,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}),AD=X2e;AD.Dragger=bSt;AD.LIST_IGNORE=DC;let Wt;const ySt=()=>{const e=GP.useApp();return Wt=e.message,e.modal,e.notification,null};var Z2e={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(so,function(){var n=function(Y,X){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,we){fe.__proto__=we}||function(fe,we){for(var Ne in we)Object.prototype.hasOwnProperty.call(we,Ne)&&(fe[Ne]=we[Ne])})(Y,X)},r=function(){return(r=Object.assign||function(Y){for(var X,fe=1,we=arguments.length;fe"u"||o.Promise||(o.Promise=Promise);var c=Object.getPrototypeOf,u={}.hasOwnProperty;function d(Y,X){return u.call(Y,X)}function f(Y,X){typeof X=="function"&&(X=X(c(Y))),(typeof Reflect>"u"?a:Reflect.ownKeys)(X).forEach(function(fe){m(Y,fe,X[fe])})}var h=Object.defineProperty;function m(Y,X,fe,we){h(Y,X,l(fe&&d(fe,"get")&&typeof fe.get=="function"?{get:fe.get,set:fe.set,configurable:!0}:{value:fe,configurable:!0,writable:!0},we))}function g(Y){return{from:function(X){return Y.prototype=Object.create(X.prototype),m(Y.prototype,"constructor",Y),{extend:f.bind(null,Y.prototype)}}}}var v=Object.getOwnPropertyDescriptor,y=[].slice;function b(Y,X,fe){return y.call(Y,X,fe)}function _(Y,X){return X(Y)}function E(Y){if(!Y)throw new Error("Assertion Failed")}function C(Y){o.setImmediate?setImmediate(Y):setTimeout(Y,0)}function S(Y,X){if(typeof X=="string"&&d(Y,X))return Y[X];if(!X)return Y;if(typeof X!="string"){for(var fe=[],we=0,Ne=X.length;we{const{componentCls:t}=e;return{[`${t}-rtl`]:{direction:"rtl"}}},oSt=e=>{const{componentCls:t,colorTextDisabled:n}=e;return{[`${t}-wrapper`]:Object.assign(Object.assign({},gr(e)),{[t]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${t}-select`]:{display:"inline-block"},[`${t}-hidden`]:{display:"none"},[`${t}-disabled`]:{color:n,cursor:"not-allowed"}})}},aSt=e=>({actionsColor:e.colorTextDescription}),sSt=lr("Upload",e=>{const{fontSizeHeading3:t,fontHeight:n,lineWidth:r,controlHeightLG:i,calc:o}=e,a=Kn(e,{uploadThumbnailSize:o(t).mul(2).equal(),uploadProgressOffset:o(o(n).div(2)).add(r).equal(),uploadPicCardSize:o(i).mul(2.55).equal()});return[oSt(a),J_t(a),nSt(a),rSt(a),eSt(a),tSt(a),iSt(a),a2(a)]},aSt);function HR(e){return Object.assign(Object.assign({},e),{lastModified:e.lastModified,lastModifiedDate:e.lastModifiedDate,name:e.name,size:e.size,type:e.type,uid:e.uid,percent:0,originFileObj:e})}function UR(e,t){const n=nt(t),r=n.findIndex(i=>{let{uid:o}=i;return o===e.uid});return r===-1?n.push(e):n[r]=e,n}function I$(e,t){const n=e.uid!==void 0?"uid":"name";return t.filter(r=>r[n]===e[n])[0]}function lSt(e,t){const n=e.uid!==void 0?"uid":"name",r=t.filter(i=>i[n]!==e[n]);return r.length===t.length?null:r}const cSt=function(){const t=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),r=t[t.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(r)||[""])[0]},Q2e=e=>e.indexOf("image/")===0,uSt=e=>{if(e.type&&!e.thumbUrl)return Q2e(e.type);const t=e.thumbUrl||e.url||"",n=cSt(t);return/^data:image\//.test(t)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(n)?!0:!(/^data:/.test(t)||n)},Uh=200;function dSt(e){return new Promise(t=>{if(!e.type||!Q2e(e.type)){t("");return}const n=document.createElement("canvas");n.width=Uh,n.height=Uh,n.style.cssText=`position: fixed; left: 0; top: 0; width: ${Uh}px; height: ${Uh}px; z-index: 9999; display: none;`,document.body.appendChild(n);const r=n.getContext("2d"),i=new Image;if(i.onload=()=>{const{width:o,height:a}=i;let s=Uh,l=Uh,c=0,u=0;o>a?(l=a*(Uh/o),u=-(l-s)/2):(s=o*(Uh/a),c=-(s-l)/2),r.drawImage(i,c,u,s,l);const d=n.toDataURL();document.body.removeChild(n),window.URL.revokeObjectURL(i.src),t(d)},i.crossOrigin="anonymous",e.type.startsWith("image/svg+xml")){const o=new FileReader;o.onload=()=>{o.result&&typeof o.result=="string"&&(i.src=o.result)},o.readAsDataURL(e)}else if(e.type.startsWith("image/gif")){const o=new FileReader;o.onload=()=>{o.result&&t(o.result)},o.readAsDataURL(e)}else i.src=window.URL.createObjectURL(e)})}const fSt=p.forwardRef((e,t)=>{let{prefixCls:n,className:r,style:i,locale:o,listType:a,file:s,items:l,progress:c,iconRender:u,actionIconRender:d,itemRender:f,isImgUrl:h,showPreviewIcon:m,showRemoveIcon:g,showDownloadIcon:v,previewIcon:y,removeIcon:b,downloadIcon:_,extra:E,onPreview:C,onDownload:S,onClose:w}=e;var T,O;const{status:x}=s,[A,I]=p.useState(x);p.useEffect(()=>{x!=="removed"&&I(x)},[x]);const[M,B]=p.useState(!1);p.useEffect(()=>{const de=setTimeout(()=>{B(!0)},300);return()=>{clearTimeout(de)}},[]);const P=u(s);let k=p.createElement("div",{className:`${n}-icon`},P);if(a==="picture"||a==="picture-card"||a==="picture-circle")if(A==="uploading"||!s.thumbUrl&&!s.url){const de=xe(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:A!=="uploading"});k=p.createElement("div",{className:de},P)}else{const de=h!=null&&h(s)?p.createElement("img",{src:s.thumbUrl||s.url,alt:s.name,className:`${n}-list-item-image`,crossOrigin:s.crossOrigin}):P,ve=xe(`${n}-list-item-thumbnail`,{[`${n}-list-item-file`]:h&&!h(s)});k=p.createElement("a",{className:ve,onClick:ne=>C(s,ne),href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer"},de)}const N=xe(`${n}-list-item`,`${n}-list-item-${A}`),L=typeof s.linkProps=="string"?JSON.parse(s.linkProps):s.linkProps,V=(typeof g=="function"?g(s):g)?d((typeof b=="function"?b(s):b)||p.createElement(O2,null),()=>w(s),n,o.removeFile,!0):null,$=(typeof v=="function"?v(s):v)&&A==="done"?d((typeof _=="function"?_(s):_)||p.createElement(fgt,null),()=>S(s),n,o.downloadFile):null,W=a!=="picture-card"&&a!=="picture-circle"&&p.createElement("span",{key:"download-delete",className:xe(`${n}-list-item-actions`,{picture:a==="picture"})},$,V),j=typeof E=="function"?E(s):E,U=j&&p.createElement("span",{className:`${n}-list-item-extra`},j),Z=xe(`${n}-list-item-name`),te=s.url?p.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:Z,title:s.name},L,{href:s.url,onClick:de=>C(s,de)}),s.name,U):p.createElement("span",{key:"view",className:Z,onClick:de=>C(s,de),title:s.name},s.name,U),ae=(typeof m=="function"?m(s):m)&&(s.url||s.thumbUrl)?p.createElement("a",{href:s.url||s.thumbUrl,target:"_blank",rel:"noopener noreferrer",onClick:de=>C(s,de),title:o.previewFile},typeof y=="function"?y(s):y||p.createElement(OS,null)):null,K=(a==="picture-card"||a==="picture-circle")&&A!=="uploading"&&p.createElement("span",{className:`${n}-list-item-actions`},ae,A==="done"&&$,V),{getPrefixCls:Q}=p.useContext(Xt),ie=Q(),he=p.createElement("div",{className:N},k,te,W,K,M&&p.createElement(ia,{motionName:`${ie}-fade`,visible:A==="uploading",motionDeadline:2e3},de=>{let{className:ve}=de;const ne="percent"in s?p.createElement(Gxe,Object.assign({},c,{type:"line",percent:s.percent,"aria-label":s["aria-label"],"aria-labelledby":s["aria-labelledby"]})):null;return p.createElement("div",{className:xe(`${n}-list-item-progress`,ve)},ne)})),pe=s.response&&typeof s.response=="string"?s.response:((T=s.error)===null||T===void 0?void 0:T.statusText)||((O=s.error)===null||O===void 0?void 0:O.message)||o.uploadError,le=A==="error"?p.createElement(Aa,{title:pe,getPopupContainer:de=>de.parentNode},he):he;return p.createElement("div",{className:xe(`${n}-list-item-container`,r),style:i,ref:t},f?f(le,s,l,{download:S.bind(null,s),preview:C.bind(null,s),remove:w.bind(null,s)}):le)}),pSt=(e,t)=>{const{listType:n="text",previewFile:r=dSt,onPreview:i,onDownload:o,onRemove:a,locale:s,iconRender:l,isImageUrl:c=uSt,prefixCls:u,items:d=[],showPreviewIcon:f=!0,showRemoveIcon:h=!0,showDownloadIcon:m=!1,removeIcon:g,previewIcon:v,downloadIcon:y,extra:b,progress:_={size:[-1,2],showInfo:!1},appendAction:E,appendActionVisible:C=!0,itemRender:S,disabled:w}=e,T=Xq(),[O,x]=p.useState(!1),A=["picture-card","picture-circle"].includes(n);p.useEffect(()=>{n.startsWith("picture")&&(d||[]).forEach(U=>{!(U.originFileObj instanceof File||U.originFileObj instanceof Blob)||U.thumbUrl!==void 0||(U.thumbUrl="",r==null||r(U.originFileObj).then(Z=>{U.thumbUrl=Z||"",T()}))})},[n,d,r]),p.useEffect(()=>{x(!0)},[]);const I=(U,Z)=>{if(i)return Z==null||Z.preventDefault(),i(U)},M=U=>{typeof o=="function"?o(U):U.url&&window.open(U.url)},B=U=>{a==null||a(U)},P=U=>{if(l)return l(U,n);const Z=U.status==="uploading";if(n.startsWith("picture")){const te=n==="picture"?p.createElement(xd,null):s.uploading,ae=c!=null&&c(U)?p.createElement(m1t,null):p.createElement(Egt,null);return Z?te:ae}return Z?p.createElement(xd,null):p.createElement(f1t,null)},k=(U,Z,te,ae,K)=>{const Q={type:"text",size:"small",title:ae,onClick:ie=>{var he,pe;Z(),p.isValidElement(U)&&((pe=(he=U.props).onClick)===null||pe===void 0||pe.call(he,ie))},className:`${te}-list-item-action`};return K&&(Q.disabled=w),p.isValidElement(U)?p.createElement($n,Object.assign({},Q,{icon:Eo(U,Object.assign(Object.assign({},U.props),{onClick:()=>{}}))})):p.createElement($n,Object.assign({},Q),p.createElement("span",null,U))};p.useImperativeHandle(t,()=>({handlePreview:I,handleDownload:M}));const{getPrefixCls:N}=p.useContext(Xt),L=N("upload",u),V=N(),$=xe(`${L}-list`,`${L}-list-${n}`),W=p.useMemo(()=>ur(d_(V),["onAppearEnd","onEnterEnd","onLeaveEnd"]),[V]),j=Object.assign(Object.assign({},A?{}:W),{motionDeadline:2e3,motionName:`${L}-${A?"animate-inline":"animate"}`,keys:nt(d.map(U=>({key:U.uid,file:U}))),motionAppear:O});return p.createElement("div",{className:$},p.createElement(O5,Object.assign({},j,{component:!1}),U=>{let{key:Z,file:te,className:ae,style:K}=U;return p.createElement(fSt,{key:Z,locale:s,prefixCls:L,className:ae,style:K,file:te,items:d,progress:_,listType:n,isImgUrl:c,showPreviewIcon:f,showRemoveIcon:h,showDownloadIcon:m,removeIcon:g,previewIcon:v,downloadIcon:y,extra:b,iconRender:P,actionIconRender:k,itemRender:S,onPreview:I,onDownload:M,onClose:B})}),E&&p.createElement(ia,Object.assign({},j,{visible:C,forceRender:!0}),U=>{let{className:Z,style:te}=U;return Eo(E,ae=>({className:xe(ae.className,Z),style:Object.assign(Object.assign(Object.assign({},te),{pointerEvents:Z?"none":void 0}),ae.style)}))}))},hSt=p.forwardRef(pSt);var mSt=function(e,t,n,r){function i(o){return o instanceof n?o:new n(function(a){a(o)})}return new(n||(n=Promise))(function(o,a){function s(u){try{c(r.next(u))}catch(d){a(d)}}function l(u){try{c(r.throw(u))}catch(d){a(d)}}function c(u){u.done?o(u.value):i(u.value).then(s,l)}c((r=r.apply(e,[])).next())})};const DC=`__LIST_IGNORE_${Date.now()}__`,gSt=(e,t)=>{const{fileList:n,defaultFileList:r,onRemove:i,showUploadList:o=!0,listType:a="text",onPreview:s,onDownload:l,onChange:c,onDrop:u,previewFile:d,disabled:f,locale:h,iconRender:m,isImageUrl:g,progress:v,prefixCls:y,className:b,type:_="select",children:E,style:C,itemRender:S,maxCount:w,data:T={},multiple:O=!1,hasControlInside:x=!0,action:A="",accept:I="",supportServerRender:M=!0,rootClassName:B}=e,P=p.useContext(Wo),k=f??P,[N,L]=Pn(r||[],{value:n,postState:re=>re??[]}),[V,$]=p.useState("drop"),W=p.useRef(null),j=p.useRef(null);p.useMemo(()=>{const re=Date.now();(n||[]).forEach((Me,je)=>{!Me.uid&&!Object.isFrozen(Me)&&(Me.uid=`__AUTO__${re}_${je}__`)})},[n]);const U=(re,Me,je)=>{let ke=nt(Me),Ge=!1;w===1?ke=ke.slice(-1):w&&(Ge=ke.length>w,ke=ke.slice(0,w)),Ml.flushSync(()=>{L(ke)});const Ue={file:re,fileList:ke};je&&(Ue.event=je),(!Ge||re.status==="removed"||ke.some(qe=>qe.uid===re.uid))&&Ml.flushSync(()=>{c==null||c(Ue)})},Z=(re,Me)=>mSt(void 0,void 0,void 0,function*(){const{beforeUpload:je,transformFile:ke}=e;let Ge=re;if(je){const Ue=yield je(re,Me);if(Ue===!1)return!1;if(delete re[DC],Ue===DC)return Object.defineProperty(re,DC,{value:!0,configurable:!0}),!1;typeof Ue=="object"&&Ue&&(Ge=Ue)}return ke&&(Ge=yield ke(Ge)),Ge}),te=re=>{const Me=re.filter(Ge=>!Ge.file[DC]);if(!Me.length)return;const je=Me.map(Ge=>HR(Ge.file));let ke=nt(N);je.forEach(Ge=>{ke=UR(Ge,ke)}),je.forEach((Ge,Ue)=>{let qe=Ge;if(Me[Ue].parsedFile)Ge.status="uploading";else{const{originFileObj:At}=Ge;let at;try{at=new File([At],At.name,{type:At.type})}catch{at=new Blob([At],{type:At.type}),at.name=At.name,at.lastModifiedDate=new Date,at.lastModified=new Date().getTime()}at.uid=Ge.uid,qe=at}U(qe,ke)})},ae=(re,Me,je)=>{try{typeof re=="string"&&(re=JSON.parse(re))}catch{}if(!I$(Me,N))return;const ke=HR(Me);ke.status="done",ke.percent=100,ke.response=re,ke.xhr=je;const Ge=UR(ke,N);U(ke,Ge)},K=(re,Me)=>{if(!I$(Me,N))return;const je=HR(Me);je.status="uploading",je.percent=re.percent;const ke=UR(je,N);U(je,ke,re)},Q=(re,Me,je)=>{if(!I$(je,N))return;const ke=HR(je);ke.error=re,ke.response=Me,ke.status="error";const Ge=UR(ke,N);U(ke,Ge)},ie=re=>{let Me;Promise.resolve(typeof i=="function"?i(re):i).then(je=>{var ke;if(je===!1)return;const Ge=lSt(re,N);Ge&&(Me=Object.assign(Object.assign({},re),{status:"removed"}),N==null||N.forEach(Ue=>{const qe=Me.uid!==void 0?"uid":"name";Ue[qe]===Me[qe]&&!Object.isFrozen(Ue)&&(Ue.status="removed")}),(ke=W.current)===null||ke===void 0||ke.abort(Me),U(Me,Ge))})},he=re=>{$(re.type),re.type==="drop"&&(u==null||u(re))};p.useImperativeHandle(t,()=>({onBatchStart:te,onSuccess:ae,onProgress:K,onError:Q,fileList:N,upload:W.current,nativeElement:j.current}));const{getPrefixCls:pe,direction:le,upload:de}=p.useContext(Xt),ve=pe("upload",y),ne=Object.assign(Object.assign({onBatchStart:te,onError:Q,onProgress:K,onSuccess:ae},e),{data:T,multiple:O,action:A,accept:I,supportServerRender:M,prefixCls:ve,disabled:k,beforeUpload:Z,onChange:void 0,hasControlInside:x});delete ne.className,delete ne.style,(!E||k)&&delete ne.id;const ue=`${ve}-wrapper`,[ge,Ce,Te]=sSt(ve,ue),[Se]=ds("Upload",Cc.Upload),{showRemoveIcon:me,showPreviewIcon:be,showDownloadIcon:_e,removeIcon:Re,previewIcon:De,downloadIcon:z,extra:D}=typeof o=="boolean"?{}:o,q=typeof me>"u"?!k:me,oe=(re,Me)=>o?p.createElement(hSt,{prefixCls:ve,listType:a,items:N,previewFile:d,onPreview:s,onDownload:l,onRemove:ie,showRemoveIcon:q,showPreviewIcon:be,showDownloadIcon:_e,removeIcon:Re,previewIcon:De,downloadIcon:z,iconRender:m,extra:D,locale:Object.assign(Object.assign({},Se),h),isImageUrl:g,progress:v,appendAction:re,appendActionVisible:Me,itemRender:S,disabled:k}):re,ye=xe(ue,b,B,Ce,Te,de==null?void 0:de.className,{[`${ve}-rtl`]:le==="rtl",[`${ve}-picture-card-wrapper`]:a==="picture-card",[`${ve}-picture-circle-wrapper`]:a==="picture-circle"}),ce=Object.assign(Object.assign({},de==null?void 0:de.style),C);if(_==="drag"){const re=xe(Ce,ve,`${ve}-drag`,{[`${ve}-drag-uploading`]:N.some(Me=>Me.status==="uploading"),[`${ve}-drag-hover`]:V==="dragover",[`${ve}-disabled`]:k,[`${ve}-rtl`]:le==="rtl"});return ge(p.createElement("span",{className:ye,ref:j},p.createElement("div",{className:re,style:ce,onDrop:he,onDragOver:he,onDragLeave:he},p.createElement(_U,Object.assign({},ne,{ref:W,className:`${ve}-btn`}),p.createElement("div",{className:`${ve}-drag-container`},E))),oe()))}const Be=xe(ve,`${ve}-select`,{[`${ve}-disabled`]:k,[`${ve}-hidden`]:!E}),Ve=p.createElement("div",{className:Be},p.createElement(_U,Object.assign({},ne,{ref:W})));return ge(a==="picture-card"||a==="picture-circle"?p.createElement("span",{className:ye,ref:j},oe(Ve,!!E)):p.createElement("span",{className:ye,ref:j},Ve,oe()))},X2e=p.forwardRef(gSt);var vSt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{var{style:n,height:r,hasControlInside:i=!1}=e,o=vSt(e,["style","height","hasControlInside"]);return p.createElement(X2e,Object.assign({ref:t,hasControlInside:i},o,{type:"drag",style:Object.assign(Object.assign({},n),{height:r})}))}),AD=X2e;AD.Dragger=bSt;AD.LIST_IGNORE=DC;let Wt;const ySt=()=>{const e=G5.useApp();return Wt=e.message,e.modal,e.notification,null};var Z2e={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(so,function(){var n=function(Y,X){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,we){fe.__proto__=we}||function(fe,we){for(var Ne in we)Object.prototype.hasOwnProperty.call(we,Ne)&&(fe[Ne]=we[Ne])})(Y,X)},r=function(){return(r=Object.assign||function(Y){for(var X,fe=1,we=arguments.length;fe"u"||o.Promise||(o.Promise=Promise);var c=Object.getPrototypeOf,u={}.hasOwnProperty;function d(Y,X){return u.call(Y,X)}function f(Y,X){typeof X=="function"&&(X=X(c(Y))),(typeof Reflect>"u"?a:Reflect.ownKeys)(X).forEach(function(fe){m(Y,fe,X[fe])})}var h=Object.defineProperty;function m(Y,X,fe,we){h(Y,X,l(fe&&d(fe,"get")&&typeof fe.get=="function"?{get:fe.get,set:fe.set,configurable:!0}:{value:fe,configurable:!0,writable:!0},we))}function g(Y){return{from:function(X){return Y.prototype=Object.create(X.prototype),m(Y.prototype,"constructor",Y),{extend:f.bind(null,Y.prototype)}}}}var v=Object.getOwnPropertyDescriptor,y=[].slice;function b(Y,X,fe){return y.call(Y,X,fe)}function _(Y,X){return X(Y)}function E(Y){if(!Y)throw new Error("Assertion Failed")}function C(Y){o.setImmediate?setImmediate(Y):setTimeout(Y,0)}function S(Y,X){if(typeof X=="string"&&d(Y,X))return Y[X];if(!X)return Y;if(typeof X!="string"){for(var fe=[],we=0,Ne=X.length;we"u"?[]:function(){var Y=Promise.resolve();if(typeof crypto>"u"||!crypto.subtle)return[Y,c(Y),Y];var X=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[X,c(X),Y]}(),De=Gn[0],Dc=Gn[1],Gn=Gn[2],Dc=Dc&&Dc.then,z=De&&De.constructor,D=!!Gn,q=function(Y,X){je.push([Y,X]),ye&&(queueMicrotask(Vt),ye=!1)},oe=!0,ye=!0,ce=[],Be=[],Ve=de,re={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:le,pgp:!1,env:{},finalize:le},Me=re,je=[],ke=0,Ge=[];function Ue(Y){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this._lib=!1;var X=this._PSD=Me;if(typeof Y!="function"){if(Y!==_e)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(this._state===!1&&at(this,this._value))}this._state=null,this._value=null,++X.ref,function fe(we,Ne){try{Ne(function(Le){if(we._state===null){if(Le===we)throw new TypeError("A promise cannot be resolved with itself.");var We=we._lib&&Tt();Le&&typeof Le.then=="function"?fe(we,function(Qe,it){Le instanceof Ue?Le._then(Qe,it):Le.then(Qe,it)}):(we._state=!0,we._value=Le,pt(we)),We&&Ot()}},at.bind(null,we))}catch(Le){at(we,Le)}}(this,Y)}var qe={get:function(){var Y=Me,X=Bt;function fe(we,Ne){var Le=this,We=!Y.global&&(Y!==Me||X!==Bt),Qe=We&&!kt(),it=new Ue(function(st,ft){Ct(Le,new At(wt(we,Y,We,Qe),wt(Ne,Y,We,Qe),st,ft,Y))});return this._consoleTask&&(it._consoleTask=this._consoleTask),it}return fe.prototype=_e,fe},set:function(Y){m(this,"then",Y&&Y.prototype===_e?qe:{get:function(){return Y},set:qe.set})}};function At(Y,X,fe,we,Ne){this.onFulfilled=typeof Y=="function"?Y:null,this.onRejected=typeof X=="function"?X:null,this.resolve=fe,this.reject=we,this.psd=Ne}function at(Y,X){var fe,we;Be.push(X),Y._state===null&&(fe=Y._lib&&Tt(),X=Ve(X),Y._state=!1,Y._value=X,we=Y,ce.some(function(Ne){return Ne._value===we._value})||ce.push(we),pt(Y),fe&&Ot())}function pt(Y){var X=Y._listeners;Y._listeners=[];for(var fe=0,we=X.length;fe.",rt="String expected.",Mt=[],It="__dbnames",xn="readonly",Hn="readwrite";function R(Y,X){return Y?X?function(){return Y.apply(this,arguments)&&X.apply(this,arguments)}:Y:X}var F={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function J(Y){return typeof Y!="string"||/\./.test(Y)?function(X){return X}:function(X){return X[Y]===void 0&&Y in X&&delete(X=M(X))[Y],X}}function Oe(){throw ie.Type()}function $e(Y,X){try{var fe=et(Y),we=et(X);if(fe!==we)return fe==="Array"?1:we==="Array"?-1:fe==="binary"?1:we==="binary"?-1:fe==="string"?1:we==="string"?-1:fe==="Date"?1:we!=="Date"?NaN:-1;switch(fe){case"number":case"Date":case"string":return XFt+qt&&xt(Ft+ft)})})}var Lt=vi(fe)&&fe.limit===1/0&&(typeof Y!="function"||Y===Fi)&&{index:fe.index,range:fe.range};return xt(0).then(function(){if(0=gt})).length!==0?(ft.forEach(function(xt){mt.push(function(){var Lt=lt,Ft=xt._cfg.dbschema;MO(Je,Lt,ut),MO(Je,Ft,ut),lt=Je._dbSchema=Ft;var qt=Q9(Lt,Ft);qt.add.forEach(function(An){X9(ut,An[0],An[1].primKey,An[1].indexes)}),qt.change.forEach(function(An){if(An.recreate)throw new ie.Upgrade("Not yet support for changing primary key");var Tn=ut.objectStore(An.name);An.add.forEach(function(Bn){return AO(Tn,Bn)}),An.change.forEach(function(Bn){Tn.deleteIndex(Bn.name),AO(Tn,Bn)}),An.del.forEach(function(Bn){return Tn.deleteIndex(Bn)})});var mn=xt._cfg.contentUpgrade;if(mn&&xt._cfg.version>gt){RO(Je,ut),ot._memoizedTables={};var On=T(Ft);qt.del.forEach(function(An){On[An]=Lt[An]}),K9(Je,[Je.Transaction.prototype]),IO(Je,[Je.Transaction.prototype],a(On),On),ot.schema=On;var gn,Cn=W(mn);return Cn&&ht(),qt=Ue.follow(function(){var An;(gn=mn(ot))&&Cn&&(An=kt.bind(null,null),gn.then(An,An))}),gn&&typeof gn.then=="function"?Ue.resolve(gn):qt.then(function(){return gn})}}),mt.push(function(Lt){var Ft,qt,mn=xt._cfg.dbschema;Ft=mn,qt=Lt,[].slice.call(qt.db.objectStoreNames).forEach(function(On){return Ft[On]==null&&qt.db.deleteObjectStore(On)}),K9(Je,[Je.Transaction.prototype]),IO(Je,[Je.Transaction.prototype],Je._storeNames,Je._dbSchema),ot.schema=Je._dbSchema}),mt.push(function(Lt){Je.idbdb.objectStoreNames.contains("$meta")&&(Math.ceil(Je.idbdb.version/10)===xt._cfg.version?(Je.idbdb.deleteObjectStore("$meta"),delete Je._dbSchema.$meta,Je._storeNames=Je._storeNames.filter(function(Ft){return Ft!=="$meta"})):Lt.objectStore("$meta").put(xt._cfg.version,"version"))})}),function xt(){return mt.length?Ue.resolve(mt.shift()(ot.idbtrans)).then(xt):Ue.resolve()}().then(function(){BZ(lt,ut)})):Ue.resolve();var Je,gt,ot,ut,mt,lt}).catch(We)):(a(Ne).forEach(function(ft){X9(fe,ft,Ne[ft].primKey,Ne[ft].indexes)}),RO(Y,fe),void Ue.follow(function(){return Y.on.populate.fire(Le)}).catch(We));var it,st})}function _9e(Y,X){BZ(Y._dbSchema,X),X.db.version%10!=0||X.objectStoreNames.contains("$meta")||X.db.createObjectStore("$meta").add(Math.ceil(X.db.version/10-1),"version");var fe=NO(0,Y.idbdb,X);MO(Y,Y._dbSchema,X);for(var we=0,Ne=Q9(fe,Y._dbSchema).change;weMath.pow(2,62)?0:lt.oldVersion,Je=lt<1,Y.idbdb=mt.result,Le&&_9e(Y,ft),y9e(Y,lt/10,ft,ot))},ot),mt.onsuccess=Ye(function(){ft=null;var lt,xt,Lt,Ft,qt,mn=Y.idbdb=mt.result,On=b(mn.objectStoreNames);if(0"u"?Ue.resolve():!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise(function(gt){function ot(){return indexedDB.databases().finally(gt)}it=setInterval(ot,100),ot()}).finally(function(){return clearInterval(it)}):Promise.resolve()).then(Qe)]).then(function(){return We(),X.onReadyBeingFired=[],Ue.resolve(e8(function(){return Y.on.ready.fire(Y.vip)})).then(function gt(){if(0X.limit?gt.length=X.limit:Y.length===X.limit&>.length=xt.limit&&(!xt.values||mn.req.values)&&O9e(mn.req.query.range,xt.query.range)}),!1,Lt,Ft];case"count":return qt=Ft.find(function(mn){return QZ(mn.req.query.range,xt.query.range)}),[qt,!!qt,Lt,Ft]}}(X,fe,"query",Le),ft=st[0],Je=st[1],gt=st[2],ot=st[3];return ft&&Je?ft.obsSet=Le.obsSet:(Je=we.query(Le).then(function(ut){var mt=ut.result;if(ft&&(ft.res=mt),We){for(var lt=0,xt=mt.length;lt({uid:r.uid||"",type:r.type||"",content:r.content||"",client:r.client||"",createdAt:r.createdAt||"",status:r.status||"",threadTopic:r.threadTopic||"",user:{uid:r.userUid||"",nickname:r.userNickname||"",avatar:r.userAvatar||""}}))}async getMessage(n){return await zc.messages.get(n)}async updateMessage(n,r){return await zc.messages.update(n,{content:r})}async deleteMessage(n){return await zc.messages.delete(n)}subscribeMessages(){SSt(()=>this.messages.toArray()).subscribe({next:r=>{const i=r.map(o=>o.uid);console.log("messagesObservable message uids",i)}})}async createThread(n){var r,i,o;return console.log("useIndexedDB createThread",n.topic),await zc.threads.put({uid:n.uid,type:n.type,topic:n.topic,status:n.status,extra:n.extra,updatedAt:n.updatedAt,userUid:(r=n.user)==null?void 0:r.uid,userNickname:(i=n.user)==null?void 0:i.nickname,userAvatar:(o=n.user)==null?void 0:o.avatar})}async getAllThreads(){return(await zc.threads.toArray()).map(r=>({uid:r.uid||"",type:r.type||"",topic:r.topic||"",status:r.status||"",extra:r.extra||"",createdAt:r.updatedAt||"",user:{uid:r.userUid||"",nickname:r.userNickname||"",avatar:r.userAvatar||""}}))}async getThread(n){return await zc.threads.get(n)}async updateThread(n,r){return await zc.threads.update(n,r)}async deleteThread(n){return await zc.threads.delete(n)}}const zc=new J2e;let jo,fl,pl,sb=!1;const ESt=({uid:e,username:t,accessToken:n})=>{if(n===""||n==null){console.log("accessToken is empty, don't connect mqtt");return}if(fl=Ra.getState().userInfo,pl=y0.getState().agentInfo,sb){console.log("mqtt is connecting");return}if(jo&&jo.connected){console.log("mqtt already connected");return}if(jo&&jo.reconnecting){console.log("mqtt already reconnecting");return}sb=!0;const r=Ra.getState().deviceUid,o={keepalive:30,clientId:e+"/"+wr+"/"+r,username:t,password:n,clean:!1,path:"/websocket",reconnectPeriod:5e3,connectTimeout:30*1e3,reschedulePings:!0,rejectUnauthorized:!1,log(...a){ud&&console.log("mqtt debug log",...a)}};console.log("mqtt start connect:",o),jo=wHe.connect(IBe(),o),jo.on("connect",()=>{console.log("mqtt event connected"),sb=!1,vr.emit(eB)}),jo.on("message",async function(a,s,l){console.log("mqtt receive message topic:",a,l);const c=gye.Message.deserializeBinary(s),u=id.getState().currentThread,d={uid:c.getThread().getUid(),type:c.getThread().getType(),topic:c.getThread().getTopic(),content:c.getContent(),updatedAt:c.getCreatedat(),unreadCount:0,user:{uid:c.getThread().getUser().getUid(),nickname:c.getThread().getUser().getNickname(),avatar:c.getThread().getUser().getAvatar()}},f={uid:c.getUid(),createdAt:c.getCreatedat(),client:c.getClient(),type:c.getType(),status:c.getStatus(),user:{uid:c.getUser().getUid(),nickname:c.getUser().getNickname(),avatar:c.getUser().getAvatar()},content:c.getContent(),threadTopic:c.getThread().getTopic()};if(xSt(c,fl,pl))switch(c.getType()){case hB:case pB:N$(c);return;case dB:case fB:return;case Nee:return;case kee:console.log("self transfer message"),bae(f,d);break;case Pee:console.log("self transfer accept message"),yae(f,d);return;case Dee:console.log("self transfer reject message"),_ae(f,d);return;case Mee:console.log("self recall message"),Sae(f);return;case gT:console.log("thread closed message"),id.getState().closeThread(d.topic);break;default:c.setStatus(cB)}else switch(c.getType()){case hB:case pB:N$(c);return;case dB:case fB:vae(u,d,c.getType());return;case hT:vae(u,d,c.getType());break;case Nee:OSt(c,u,d);return;case U6e:case z6e:case V6e:case G6e:case W6e:case q6e:N$(c);return;case kee:console.log("transfer message"),bae(f,d);break;case Pee:console.log("transfer accept message"),yae(f,d);return;case Dee:console.log("transfer reject message"),_ae(f,d);return;case Mee:console.log("recall message"),Sae(f);return;case mT:case gT:console.log("thread closed message"),id.getState().closeThread(d.topic);break;default:console.log("send receive message type",c.getType()),RSt(c,u,d)}console.log("mqtt message received",a,f,d),wh.getState().addMessage(f),vr.emit(pT,f);const h=id.getState().addThreadWithMessage(d,f);console.log("unreadCount",h);try{await zc.createMessage(f),console.log("Sent message stored in IndexedDB:",f)}catch(m){console.error("Error storing sent message in IndexedDB:",m)}}),jo.on("packetsend",a=>{console.log("mqtt event packetsend",a)}),jo.on("packetreceive",a=>{console.log("mqtt event packetreceive",a,a.cmd),a.cmd==="publish"||a.cmd==="pingresp"&&console.log("mqtt event packetreceive pingresp")}),jo.on("reconnect",()=>{console.log("mqtt event reconnect")}),jo.on("close",()=>{console.log("mqtt event close"),sb=!1,vr.emit(nB)}),jo.on("disconnect",()=>{console.error("mqtt event disconnected"),sb=!1,vr.emit(rB)}),jo.on("offline",()=>{console.log("mqtt event offline"),sb=!1,vr.emit(tB)}),jo.on("error",()=>{console.log("mqtt event error"),vr.emit(iB)}),jo.on("end",()=>{console.log("mqtt event end"),vr.emit(oB)})},mae=new Set,eOe=(e,t)=>{console.log("mqtt mqttSendReceiptReceivedMessage",e),mae.has(e)||(mae.add(e),tOe(rP(),pB,e,t))},gae=new Set,CSt=(e,t)=>{console.log("mqtt mqttSendReceiptReadMessage",e),gae.has(e)||(gae.add(e),tOe(rP(),hB,e,t))},tOe=async(e,t,n,r)=>{var o,a,s,l,c,u,d,f;console.log("mqtt mqttSendMessage",n);const i=$Ge();if(jo&&jo.connected){const h=new xHe.Thread;h.setUid(r.uid),h.setType(r.type),h.setTopic(r.topic);const m=new zte.User;m.setUid((o=r.user)==null?void 0:o.uid),m.setNickname((a=r.user)==null?void 0:a.nickname),m.setAvatar((s=r.user)==null?void 0:s.avatar),h.setUser(m);const g=new zte.User;(pl==null?void 0:pl.uid)!=""&&((r==null?void 0:r.type)===xee||(r==null?void 0:r.type)===Oee)?(g.setUid(pl.uid),g.setNickname(pl.nickname),g.setAvatar(pl.avatar),g.setType(wee)):(g.setUid(fl.uid),g.setNickname(fl.nickname),g.setAvatar(fl.avatar),g.setType(Tee));const v={orgUid:(l=fl==null?void 0:fl.currentOrganization)==null?void 0:l.uid},y=new gye.Message;y.setUid(e),y.setType(t),y.setStatus(Aee),y.setCreatedat(i),y.setClient(wr),y.setContent(n),y.setUser(g),y.setThread(h),y.setExtra(JSON.stringify(v));const b=y.serializeBinary();jo.publish(r.topic,b);try{const _={uid:y.getUid(),type:y.getType(),content:y.getContent(),client:y.getClient(),createdAt:y.getCreatedat(),status:y.getStatus(),threadTopic:y.getThread().getTopic(),user:{uid:y.getUser().getUid(),nickname:y.getUser().getNickname(),avatar:y.getUser().getAvatar()}};await zc.createMessage(_),console.log("Sent message stored in IndexedDB:",_)}catch(_){console.error("Error storing sent message in IndexedDB:",_)}}else{console.log("mqttClient is disconnect, use http rest api");const h={uid:r.uid,type:r.type,topic:r.topic,user:{uid:(c=r.user)==null?void 0:c.uid,nickname:(u=r.user)==null?void 0:u.nickname,avatar:(d=r.user)==null?void 0:d.avatar}};let m;(pl==null?void 0:pl.uid)!=""&&((r==null?void 0:r.type)===xee||(r==null?void 0:r.type)===Oee)?m={uid:pl.uid,nickname:pl.nickname,avatar:pl.avatar,type:wee}:m={uid:fl.uid,nickname:fl.nickname,avatar:fl.avatar,type:Tee};const g={orgUid:(f=fl==null?void 0:fl.currentOrganization)==null?void 0:f.uid},v={uid:e,type:t,status:Aee,createdAt:i,client:wr,content:n,extra:JSON.stringify(g),user:m,thread:h};TSt(v)}},A$=()=>{jo?jo.end():console.log("mqttClient is null")},wSt=()=>jo&&jo.connected,TSt=async e=>{const t=JSON.stringify(e),n=await DBe(t);if(console.log("sendHttpMessage:",n.data),n.data.code===200){wh.getState().updateMessageStatus(e==null?void 0:e.uid,cB);const r={uid:e==null?void 0:e.uid,type:cB};vr.emit(jve,JSON.stringify(r))}else Wt.error(n.data.message)},xSt=(e,t,n)=>e.getUser().getUid()===(t==null?void 0:t.uid)||e.getUser().getUid()===(n==null?void 0:n.uid);function N$(e){console.log("update message status:",e.getContent(),e.getType()),wh.getState().updateMessageStatus(e.getContent(),e.getType());const t={uid:e.getContent(),type:e.getType()};vr.emit(jve,JSON.stringify(t))}function vae(e,t,n){(e==null?void 0:e.topic)===(t==null?void 0:t.topic)&&(n===dB?vr.emit(o6e):n===fB?vr.emit(a6e):n===hT&&vr.emit(s6e))}function OSt(e,t,n){(t==null?void 0:t.topic)===(n==null?void 0:n.topic)&&vr.emit(l6e,e.getContent())}function bae(e,t){const n={message:e,thread:t};vr.emit(aB,JSON.stringify(n))}function yae(e,t){const n=JSON.parse(e==null?void 0:e.content);wh.getState().updateMessageStatus(n.uid,P6e);const r={message:e,thread:t};vr.emit(sB,JSON.stringify(r))}function _ae(e,t){const n=JSON.parse(e==null?void 0:e.content);wh.getState().updateMessageStatus(n.uid,D6e);const r={message:e,thread:t};vr.emit(lB,JSON.stringify(r))}function Sae(e){console.log("handleRecallMessage",e==null?void 0:e.uid,e==null?void 0:e.content),wh.getState().recallMessage(e==null?void 0:e.content)}function RSt(e,t,n){if(!HGe(n==null?void 0:n.topic)&&FGe(e==null?void 0:e.getType())){const r=e==null?void 0:e.getUid();eOe(r,n),(t==null?void 0:t.topic)===(n==null?void 0:n.topic)&&CSt(r,n)}}const ISt=Ic()(Md(kd(Pd(e=>({devices:[],currentDevice:{uid:""},myDevice:{uid:""},addDevice(t){console.log("addDevice",t)},setCurrentDevice:t=>{e({currentDevice:t})},setMyDevice(t){e({myDevice:t})},resetDeviceInfo(){}})),{name:b6e}))),ASt=()=>{HT("https://www.weiyuai.cn/docs/zh-CN/")},HT=e=>{Ha?window.electronAPI.openUrl(e):window.open(e,"_blank")},NSt=async()=>{if(Ha){const e=await window.electronAPI.getSystemInfo();console.log("systemInfo:",e)}else return console.log("not electron"),{platform:"web"}},nOe=async()=>Ha?await window.electronAPI.getIpAddress():(console.log("not electron"),[]),MSt=async()=>{if(Ha){const e=await window.electronAPI.isWindowActive();return console.log("isWindowActive:",e),e}return null},kSt=(e,t)=>{Ha&&window.electronAPI.showElectronNotification(e,t)},PSt=e=>{Ha?window.electronAPI.setThemeMode(e):console.log("not electron")},EU=()=>{Ha&&window.electronAPI.loginSuccess()},DSt=()=>{Ha&&window.electronAPI.logoutSuccess()};function tK(){console.debug("useUserInfo");const[e,t]=p.useState(""),{myDevice:n,setMyDevice:r}=ISt(T=>({myDevice:T.myDevice,setMyDevice:T.setMyDevice})),{userInfo:i,deviceUid:o,setUserInfo:a,setDeviceUid:s}=Ra(T=>({userInfo:T.userInfo,deviceUid:T.deviceUid,setUserInfo:T.setUserInfo,setDeviceUid:T.setDeviceUid})),{agentInfo:l}=y0(T=>({agentInfo:T.agentInfo})),c=wh(T=>T.addMessage),u=id(T=>T.updateThreadContent),d=p.useRef(!1),[f,h]=p.useState(!1);p.useEffect(()=>{h(!1),i.userOrganizationRoles&&i.userOrganizationRoles.forEach(T=>{T.roles.forEach(O=>{O.name===X6e&&h(!0)})})},[i.userOrganizationRoles]);const[m,g]=p.useState(!1);p.useEffect(()=>{g(!1),i.userOrganizationRoles&&i.userOrganizationRoles.forEach(T=>{T.roles.forEach(O=>{O.name===Z6e&&g(!0)})})},[i.userOrganizationRoles]);const[v,y]=p.useState(!1);p.useEffect(()=>{y(!1),i.userOrganizationRoles&&i.userOrganizationRoles.forEach(T=>{T.roles.forEach(O=>{O.name===J6e&&y(!0)})})},[i.userOrganizationRoles]);const[b,_]=p.useState(!1);p.useEffect(()=>{_(!1),i.userOrganizationRoles&&i.userOrganizationRoles.forEach(T=>{T.roles.forEach(O=>{O.name===e7e&&_(!0)})})},[i.userOrganizationRoles]);const E="",C=async()=>{const T=await nOe();console.log("ipAddress",e,T),T.length>0&&(t(T[0]),n.ip=T[0],r(n))},S=async()=>{var O,x;if(d.current)return;d.current=!0;const T=await PBe(l==null?void 0:l.uid);console.log("getAgentMessageUnread response:",T==null?void 0:T.data),(x=(O=T==null?void 0:T.data)==null?void 0:O.data)==null||x.forEach(A=>{console.log("getAgentMessageUnread item:",A),c(A);const I=u(A.threadTopic,A.content);I&&eOe(A==null?void 0:A.uid,I)}),d.current=!1};return p.useEffect(()=>{b&&S()},[b]),p.useEffect(()=>{console.log("useUserInfo useEffect"),(o===void 0||o==="")&&s(rP()),C()},[]),{userInfo:i,setUserInfo:a,agentInfo:l,handleUpdateAgentStatus:async T=>{const O={...l,status:T};Wt.loading("正在更新状态");const x=await kBe(O);console.log("updateAgentStatus:",T,x.data),x.data.code===200?(Wt.destroy(),Wt.success("状态更新成功")):(Wt.destroy(),Wt.error("状态更新失败"))},avatar:E,hasRoleAgent:b,hasRoleSuper:f,hasRoleAdmin:m,hasRoleMember:v}}const as=p.createContext({}),LSt=({children:e})=>{const[t,n]=p.useState(!1),[r,i]=p.useState(!1),o=Ux(O=>O.accessToken),a=n7e(O=>O.settings),{userInfo:s,setUserInfo:l,agentInfo:c,handleUpdateAgentStatus:u,hasRoleAgent:d,hasRoleSuper:f,hasRoleAdmin:h,hasRoleMember:m}=tK(),g=p.useMemo(()=>!!o&&o.trim().length>0,[o]),{themeMode:v,setThemeMode:y,isDarkMode:b}=uW(),[_,E]=p.useState(aR),C=O=>{let x;O==="en"?x=Bee:O==="zh-cn"?x=aR:O==="zh-tw"?x=X7e:x=aR,console.log("changeLocale localeValue:",x),E(x),localStorage.setItem(yee,x.locale)},[S,w]=p.useState(hy),T=O=>{w(O),localStorage.setItem(_ee,O)};return p.useEffect(()=>{const O=localStorage.getItem(yee);E(O==="en"?Bee:aR);const x=localStorage.getItem(_ee);w(x===hy?hy:x===Pv?Pv:rM)},[]),H.jsx(as.Provider,{value:{isCustomServer:t,setIsCustomServer:n,isLoggedIn:g,settings:a,isDarkMode:b,themeMode:v,setThemeMode:y,locale:_,changeLocale:C,mode:S,changeMode:T,isPingLoading:r,setPingLoading:i,userInfo:s,setUserInfo:l,agentInfo:c,handleUpdateAgentStatus:u,hasRoleAgent:d,hasRoleSuper:f,hasRoleAdmin:h,hasRoleMember:m},children:e})};var ND=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},MD=typeof window>"u"||"Deno"in globalThis;function qu(){}function $St(e,t){return typeof e=="function"?e(t):e}function FSt(e){return typeof e=="number"&&e>=0&&e!==1/0}function BSt(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Eae(e,t){return typeof e=="function"?e(t):e}function jSt(e,t){return typeof e=="function"?e(t):e}function Cae(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:s}=e;if(a){if(r){if(t.queryHash!==nK(a,t.options))return!1}else if(!zT(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||i&&i!==t.state.fetchStatus||o&&!o(t))}function wae(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(UT(t.options.mutationKey)!==UT(o))return!1}else if(!zT(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function nK(e,t){return((t==null?void 0:t.queryKeyHashFn)||UT)(e)}function UT(e){return JSON.stringify(e,(t,n)=>CU(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function zT(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!zT(e[n],t[n])):!1}function rOe(e,t){if(e===t)return e;const n=Tae(e)&&Tae(t);if(n||CU(e)&&CU(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),a=o.length,s=n?[]:{};let l=0;for(let c=0;c{setTimeout(t,e)})}function USt(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?rOe(e,t):t}function zSt(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function VSt(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var rK=Symbol();function iOe(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===rK?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var X1,wm,$y,ige,GSt=(ige=class extends ND{constructor(){super();zn(this,X1);zn(this,wm);zn(this,$y);yn(this,$y,t=>{if(!MD&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){Fe(this,wm)||this.setEventListener(Fe(this,$y))}onUnsubscribe(){var t;this.hasListeners()||((t=Fe(this,wm))==null||t.call(this),yn(this,wm,void 0))}setEventListener(t){var n;yn(this,$y,t),(n=Fe(this,wm))==null||n.call(this),yn(this,wm,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){Fe(this,X1)!==t&&(yn(this,X1,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof Fe(this,X1)=="boolean"?Fe(this,X1):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},X1=new WeakMap,wm=new WeakMap,$y=new WeakMap,ige),oOe=new GSt,Fy,Tm,By,oge,WSt=(oge=class extends ND{constructor(){super();zn(this,Fy,!0);zn(this,Tm);zn(this,By);yn(this,By,t=>{if(!MD&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){Fe(this,Tm)||this.setEventListener(Fe(this,By))}onUnsubscribe(){var t;this.hasListeners()||((t=Fe(this,Tm))==null||t.call(this),yn(this,Tm,void 0))}setEventListener(t){var n;yn(this,By,t),(n=Fe(this,Tm))==null||n.call(this),yn(this,Tm,t(this.setOnline.bind(this)))}setOnline(t){Fe(this,Fy)!==t&&(yn(this,Fy,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return Fe(this,Fy)}},Fy=new WeakMap,Tm=new WeakMap,By=new WeakMap,oge),uk=new WSt;function qSt(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function YSt(e){return Math.min(1e3*2**e,3e4)}function aOe(e){return(e??"online")==="online"?uk.isOnline():!0}var sOe=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function M$(e){return e instanceof sOe}function lOe(e){let t=!1,n=0,r=!1,i;const o=qSt(),a=g=>{var v;r||(f(new sOe(g)),(v=e.abort)==null||v.call(e))},s=()=>{t=!0},l=()=>{t=!1},c=()=>oOe.isFocused()&&(e.networkMode==="always"||uk.isOnline())&&e.canRun(),u=()=>aOe(e.networkMode)&&e.canRun(),d=g=>{var v;r||(r=!0,(v=e.onSuccess)==null||v.call(e,g),i==null||i(),o.resolve(g))},f=g=>{var v;r||(r=!0,(v=e.onError)==null||v.call(e,g),i==null||i(),o.reject(g))},h=()=>new Promise(g=>{var v;i=y=>{(r||c())&&g(y)},(v=e.onPause)==null||v.call(e)}).then(()=>{var g;i=void 0,r||(g=e.onContinue)==null||g.call(e)}),m=()=>{if(r)return;let g;const v=n===0?e.initialPromise:void 0;try{g=v??e.fn()}catch(y){g=Promise.reject(y)}Promise.resolve(g).then(d).catch(y=>{var S;if(r)return;const b=e.retry??(MD?0:3),_=e.retryDelay??YSt,E=typeof _=="function"?_(n,y):_,C=b===!0||typeof b=="number"&&nc()?void 0:h()).then(()=>{t?f(y):m()})})};return{promise:o,cancel:a,continue:()=>(i==null||i(),o),cancelRetry:s,continueRetry:l,canStart:u,start:()=>(u()?m():h().then(m),o)}}function KSt(){let e=[],t=0,n=s=>{s()},r=s=>{s()},i=s=>setTimeout(s,0);const o=s=>{t?e.push(s):i(()=>{n(s)})},a=()=>{const s=e;e=[],s.length&&i(()=>{r(()=>{s.forEach(l=>{n(l)})})})};return{batch:s=>{let l;t++;try{l=s()}finally{t--,t||a()}return l},batchCalls:s=>(...l)=>{o(()=>{s(...l)})},schedule:o,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{r=s},setScheduler:s=>{i=s}}}var qs=KSt(),Z1,age,cOe=(age=class{constructor(){zn(this,Z1)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),FSt(this.gcTime)&&yn(this,Z1,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(MD?1/0:5*60*1e3))}clearGcTimeout(){Fe(this,Z1)&&(clearTimeout(Fe(this,Z1)),yn(this,Z1,void 0))}},Z1=new WeakMap,age),jy,Hy,Wc,bs,kx,J1,Yu,Sp,sge,QSt=(sge=class extends cOe{constructor(t){super();zn(this,Yu);zn(this,jy);zn(this,Hy);zn(this,Wc);zn(this,bs);zn(this,kx);zn(this,J1);yn(this,J1,!1),yn(this,kx,t.defaultOptions),this.setOptions(t.options),this.observers=[],yn(this,Wc,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,yn(this,jy,ZSt(this.options)),this.state=t.state??Fe(this,jy),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=Fe(this,bs))==null?void 0:t.promise}setOptions(t){this.options={...Fe(this,kx),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&Fe(this,Wc).remove(this)}setData(t,n){const r=USt(this.state.data,t,this.options);return Dn(this,Yu,Sp).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Dn(this,Yu,Sp).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=Fe(this,bs))==null?void 0:r.promise;return(i=Fe(this,bs))==null||i.cancel(t),n?n.then(qu).catch(qu):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(Fe(this,jy))}isActive(){return this.observers.some(t=>jSt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===rK||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!BSt(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=Fe(this,bs))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=Fe(this,bs))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),Fe(this,Wc).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(Fe(this,bs)&&(Fe(this,J1)?Fe(this,bs).cancel({revert:!0}):Fe(this,bs).cancelRetry()),this.scheduleGc()),Fe(this,Wc).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Dn(this,Yu,Sp).call(this,{type:"invalidate"})}fetch(t,n){var l,c,u;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(Fe(this,bs))return Fe(this,bs).continueRetry(),Fe(this,bs).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,i=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(yn(this,J1,!0),r.signal)})},o=()=>{const d=iOe(this.options,n),f={queryKey:this.queryKey,meta:this.meta};return i(f),yn(this,J1,!1),this.options.persister?this.options.persister(d,f,this):d(f)},a={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};i(a),(l=this.options.behavior)==null||l.onFetch(a,this),yn(this,Hy,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Dn(this,Yu,Sp).call(this,{type:"fetch",meta:(u=a.fetchOptions)==null?void 0:u.meta});const s=d=>{var f,h,m,g;M$(d)&&d.silent||Dn(this,Yu,Sp).call(this,{type:"error",error:d}),M$(d)||((h=(f=Fe(this,Wc).config).onError)==null||h.call(f,d,this),(g=(m=Fe(this,Wc).config).onSettled)==null||g.call(m,this.state.data,d,this)),this.scheduleGc()};return yn(this,bs,lOe({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var f,h,m,g;if(d===void 0){s(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(v){s(v);return}(h=(f=Fe(this,Wc).config).onSuccess)==null||h.call(f,d,this),(g=(m=Fe(this,Wc).config).onSettled)==null||g.call(m,d,this.state.error,this),this.scheduleGc()},onError:s,onFail:(d,f)=>{Dn(this,Yu,Sp).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{Dn(this,Yu,Sp).call(this,{type:"pause"})},onContinue:()=>{Dn(this,Yu,Sp).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),Fe(this,bs).start()}},jy=new WeakMap,Hy=new WeakMap,Wc=new WeakMap,bs=new WeakMap,kx=new WeakMap,J1=new WeakMap,Yu=new WeakSet,Sp=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...XSt(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return M$(i)&&i.revert&&Fe(this,Hy)?{...Fe(this,Hy),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),qs.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),Fe(this,Wc).notify({query:this,type:"updated",action:t})})},sge);function XSt(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:aOe(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ZSt(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var cf,lge,JSt=(lge=class extends ND{constructor(t={}){super();zn(this,cf);this.config=t,yn(this,cf,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??nK(i,n);let a=this.get(o);return a||(a=new QSt({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(a)),a}add(t){Fe(this,cf).has(t.queryHash)||(Fe(this,cf).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=Fe(this,cf).get(t.queryHash);n&&(t.destroy(),n===t&&Fe(this,cf).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){qs.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return Fe(this,cf).get(t)}getAll(){return[...Fe(this,cf).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Cae(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Cae(t,r)):n}notify(t){qs.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){qs.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){qs.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},cf=new WeakMap,lge),uf,js,ev,df,nm,cge,eEt=(cge=class extends cOe{constructor(t){super();zn(this,df);zn(this,uf);zn(this,js);zn(this,ev);this.mutationId=t.mutationId,yn(this,js,t.mutationCache),yn(this,uf,[]),this.state=t.state||tEt(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){Fe(this,uf).includes(t)||(Fe(this,uf).push(t),this.clearGcTimeout(),Fe(this,js).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){yn(this,uf,Fe(this,uf).filter(n=>n!==t)),this.scheduleGc(),Fe(this,js).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){Fe(this,uf).length||(this.state.status==="pending"?this.scheduleGc():Fe(this,js).remove(this))}continue(){var t;return((t=Fe(this,ev))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,a,s,l,c,u,d,f,h,m,g,v,y,b,_,E,C,S,w;yn(this,ev,lOe({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(T,O)=>{Dn(this,df,nm).call(this,{type:"failed",failureCount:T,error:O})},onPause:()=>{Dn(this,df,nm).call(this,{type:"pause"})},onContinue:()=>{Dn(this,df,nm).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Fe(this,js).canRun(this)}));const n=this.state.status==="pending",r=!Fe(this,ev).canStart();try{if(!n){Dn(this,df,nm).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(i=Fe(this,js).config).onMutate)==null?void 0:o.call(i,t,this));const O=await((s=(a=this.options).onMutate)==null?void 0:s.call(a,t));O!==this.state.context&&Dn(this,df,nm).call(this,{type:"pending",context:O,variables:t,isPaused:r})}const T=await Fe(this,ev).start();return await((c=(l=Fe(this,js).config).onSuccess)==null?void 0:c.call(l,T,t,this.state.context,this)),await((d=(u=this.options).onSuccess)==null?void 0:d.call(u,T,t,this.state.context)),await((h=(f=Fe(this,js).config).onSettled)==null?void 0:h.call(f,T,null,this.state.variables,this.state.context,this)),await((g=(m=this.options).onSettled)==null?void 0:g.call(m,T,null,t,this.state.context)),Dn(this,df,nm).call(this,{type:"success",data:T}),T}catch(T){try{throw await((y=(v=Fe(this,js).config).onError)==null?void 0:y.call(v,T,t,this.state.context,this)),await((_=(b=this.options).onError)==null?void 0:_.call(b,T,t,this.state.context)),await((C=(E=Fe(this,js).config).onSettled)==null?void 0:C.call(E,void 0,T,this.state.variables,this.state.context,this)),await((w=(S=this.options).onSettled)==null?void 0:w.call(S,void 0,T,t,this.state.context)),T}finally{Dn(this,df,nm).call(this,{type:"error",error:T})}}finally{Fe(this,js).runNext(this)}}},uf=new WeakMap,js=new WeakMap,ev=new WeakMap,df=new WeakSet,nm=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),qs.batch(()=>{Fe(this,uf).forEach(r=>{r.onMutationUpdate(t)}),Fe(this,js).notify({mutation:this,type:"updated",action:t})})},cge);function tEt(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var nc,Px,uge,nEt=(uge=class extends ND{constructor(t={}){super();zn(this,nc);zn(this,Px);this.config=t,yn(this,nc,new Map),yn(this,Px,Date.now())}build(t,n,r){const i=new eEt({mutationCache:this,mutationId:++Kg(this,Px)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){const n=zR(t),r=Fe(this,nc).get(n)??[];r.push(t),Fe(this,nc).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=zR(t);if(Fe(this,nc).has(n)){const i=(r=Fe(this,nc).get(n))==null?void 0:r.filter(o=>o!==t);i&&(i.length===0?Fe(this,nc).delete(n):Fe(this,nc).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=Fe(this,nc).get(zR(t)))==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=Fe(this,nc).get(zR(t)))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){qs.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...Fe(this,nc).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>wae(n,r))}findAll(t={}){return this.getAll().filter(n=>wae(t,n))}notify(t){qs.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return qs.batch(()=>Promise.all(t.map(n=>n.continue().catch(qu))))}},nc=new WeakMap,Px=new WeakMap,uge);function zR(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Oae(e){return{onFetch:(t,n)=>{var u,d,f,h,m;const r=t.options,i=(f=(d=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,o=((h=t.state.data)==null?void 0:h.pages)||[],a=((m=t.state.data)==null?void 0:m.pageParams)||[];let s={pages:[],pageParams:[]},l=0;const c=async()=>{let g=!1;const v=_=>{Object.defineProperty(_,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},y=iOe(t.options,t.fetchOptions),b=async(_,E,C)=>{if(g)return Promise.reject();if(E==null&&_.pages.length)return Promise.resolve(_);const S={queryKey:t.queryKey,pageParam:E,direction:C?"backward":"forward",meta:t.options.meta};v(S);const w=await y(S),{maxPages:T}=t.options,O=C?VSt:zSt;return{pages:O(_.pages,w,T),pageParams:O(_.pageParams,E,T)}};if(i&&o.length){const _=i==="backward",E=_?rEt:Rae,C={pages:o,pageParams:a},S=E(r,C);s=await b(C,S,_)}else{const _=e??o.length;do{const E=l===0?a[0]??r.initialPageParam:Rae(r,s);if(l>0&&E==null)break;s=await b(s,E),l++}while(l<_)}return s};t.options.persister?t.fetchFn=()=>{var g,v;return(v=(g=t.options).persister)==null?void 0:v.call(g,c,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function Rae(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function rEt(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Bo,xm,Om,Uy,zy,Rm,Vy,Gy,dge,iEt=(dge=class{constructor(e={}){zn(this,Bo);zn(this,xm);zn(this,Om);zn(this,Uy);zn(this,zy);zn(this,Rm);zn(this,Vy);zn(this,Gy);yn(this,Bo,e.queryCache||new JSt),yn(this,xm,e.mutationCache||new nEt),yn(this,Om,e.defaultOptions||{}),yn(this,Uy,new Map),yn(this,zy,new Map),yn(this,Rm,0)}mount(){Kg(this,Rm)._++,Fe(this,Rm)===1&&(yn(this,Vy,oOe.subscribe(async e=>{e&&(await this.resumePausedMutations(),Fe(this,Bo).onFocus())})),yn(this,Gy,uk.subscribe(async e=>{e&&(await this.resumePausedMutations(),Fe(this,Bo).onOnline())})))}unmount(){var e,t;Kg(this,Rm)._--,Fe(this,Rm)===0&&((e=Fe(this,Vy))==null||e.call(this),yn(this,Vy,void 0),(t=Fe(this,Gy))==null||t.call(this),yn(this,Gy,void 0))}isFetching(e){return Fe(this,Bo).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return Fe(this,xm).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Fe(this,Bo).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=Fe(this,Bo).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(Eae(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return Fe(this,Bo).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=Fe(this,Bo).get(r.queryHash),o=i==null?void 0:i.state.data,a=$St(t,o);if(a!==void 0)return Fe(this,Bo).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return qs.batch(()=>Fe(this,Bo).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Fe(this,Bo).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=Fe(this,Bo);qs.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=Fe(this,Bo),r={type:"active",...e};return qs.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=qs.batch(()=>Fe(this,Bo).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(qu).catch(qu)}invalidateQueries(e={},t={}){return qs.batch(()=>{if(Fe(this,Bo).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=qs.batch(()=>Fe(this,Bo).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(qu)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(qu)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=Fe(this,Bo).build(this,t);return n.isStaleByTime(Eae(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(qu).catch(qu)}fetchInfiniteQuery(e){return e.behavior=Oae(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(qu).catch(qu)}ensureInfiniteQueryData(e){return e.behavior=Oae(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return uk.isOnline()?Fe(this,xm).resumePausedMutations():Promise.resolve()}getQueryCache(){return Fe(this,Bo)}getMutationCache(){return Fe(this,xm)}getDefaultOptions(){return Fe(this,Om)}setDefaultOptions(e){yn(this,Om,e)}setQueryDefaults(e,t){Fe(this,Uy).set(UT(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...Fe(this,Uy).values()];let n={};return t.forEach(r=>{zT(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){Fe(this,zy).set(UT(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...Fe(this,zy).values()];let n={};return t.forEach(r=>{zT(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...Fe(this,Om).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=nK(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===rK&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...Fe(this,Om).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){Fe(this,Bo).clear(),Fe(this,xm).clear()}},Bo=new WeakMap,xm=new WeakMap,Om=new WeakMap,Uy=new WeakMap,zy=new WeakMap,Rm=new WeakMap,Vy=new WeakMap,Gy=new WeakMap,dge),oEt=p.createContext(void 0),aEt=({client:e,children:t})=>(p.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),H.jsx(oEt.Provider,{value:e,children:t}));/** + `+Le:""),this.inner=Le||null):typeof Ne=="object"&&(this.message="".concat(Ne.name," ").concat(Ne.message),this.inner=Ne):(this.message=j[X]||fe,this.inner=null)}return g(we).from(Q),Y[X]=we,Y},{});ie.Syntax=SyntaxError,ie.Type=TypeError,ie.Range=RangeError;var he=De.reduce(function(Y,X){return Y[X+"Error"]=ie[X],Y},{}),pe=Dc.reduce(function(Y,X){return["Syntax","Type","Range"].indexOf(X)===-1&&(Y[X+"Error"]=ie[X]),Y},{});function le(){}function de(Y){return Y}function ve(Y,X){return Y==null||Y===de?X:function(fe){return X(Y(fe))}}function ne(Y,X){return function(){Y.apply(this,arguments),X.apply(this,arguments)}}function ue(Y,X){return Y===le?X:function(){var fe=Y.apply(this,arguments);fe!==void 0&&(arguments[0]=fe);var we=this.onsuccess,Ne=this.onerror;this.onsuccess=null,this.onerror=null;var Le=X.apply(this,arguments);return we&&(this.onsuccess=this.onsuccess?ne(we,this.onsuccess):we),Ne&&(this.onerror=this.onerror?ne(Ne,this.onerror):Ne),Le!==void 0?Le:fe}}function ge(Y,X){return Y===le?X:function(){Y.apply(this,arguments);var fe=this.onsuccess,we=this.onerror;this.onsuccess=this.onerror=null,X.apply(this,arguments),fe&&(this.onsuccess=this.onsuccess?ne(fe,this.onsuccess):fe),we&&(this.onerror=this.onerror?ne(we,this.onerror):we)}}function Ce(Y,X){return Y===le?X:function(fe){var we=Y.apply(this,arguments);l(fe,we);var Ne=this.onsuccess,Le=this.onerror;return this.onsuccess=null,this.onerror=null,fe=X.apply(this,arguments),Ne&&(this.onsuccess=this.onsuccess?ne(Ne,this.onsuccess):Ne),Le&&(this.onerror=this.onerror?ne(Le,this.onerror):Le),we===void 0?fe===void 0?void 0:fe:l(we,fe)}}function Te(Y,X){return Y===le?X:function(){return X.apply(this,arguments)!==!1&&Y.apply(this,arguments)}}function Se(Y,X){return Y===le?X:function(){var fe=Y.apply(this,arguments);if(fe&&typeof fe.then=="function"){for(var we=this,Ne=arguments.length,Le=new Array(Ne);Ne--;)Le[Ne]=arguments[Ne];return fe.then(function(){return X.apply(we,Le)})}return X.apply(this,arguments)}}pe.ModifyError=te,pe.DexieError=U,pe.BulkError=ae;var me=typeof location<"u"&&/^(http|https):\/\/(localhost|127\.0\.0\.1)/.test(location.href);function be(Y){me=Y}var _e={},Re=100,Gn=typeof Promise>"u"?[]:function(){var Y=Promise.resolve();if(typeof crypto>"u"||!crypto.subtle)return[Y,c(Y),Y];var X=crypto.subtle.digest("SHA-512",new Uint8Array([0]));return[X,c(X),Y]}(),De=Gn[0],Dc=Gn[1],Gn=Gn[2],Dc=Dc&&Dc.then,z=De&&De.constructor,D=!!Gn,q=function(Y,X){je.push([Y,X]),ye&&(queueMicrotask(Vt),ye=!1)},oe=!0,ye=!0,ce=[],Be=[],Ve=de,re={id:"global",global:!0,ref:0,unhandleds:[],onunhandled:le,pgp:!1,env:{},finalize:le},Me=re,je=[],ke=0,Ge=[];function Ue(Y){if(typeof this!="object")throw new TypeError("Promises must be constructed via new");this._listeners=[],this._lib=!1;var X=this._PSD=Me;if(typeof Y!="function"){if(Y!==_e)throw new TypeError("Not a function");return this._state=arguments[1],this._value=arguments[2],void(this._state===!1&&at(this,this._value))}this._state=null,this._value=null,++X.ref,function fe(we,Ne){try{Ne(function(Le){if(we._state===null){if(Le===we)throw new TypeError("A promise cannot be resolved with itself.");var We=we._lib&&Tt();Le&&typeof Le.then=="function"?fe(we,function(Qe,it){Le instanceof Ue?Le._then(Qe,it):Le.then(Qe,it)}):(we._state=!0,we._value=Le,pt(we)),We&&Ot()}},at.bind(null,we))}catch(Le){at(we,Le)}}(this,Y)}var qe={get:function(){var Y=Me,X=Bt;function fe(we,Ne){var Le=this,We=!Y.global&&(Y!==Me||X!==Bt),Qe=We&&!kt(),it=new Ue(function(st,ft){Ct(Le,new At(wt(we,Y,We,Qe),wt(Ne,Y,We,Qe),st,ft,Y))});return this._consoleTask&&(it._consoleTask=this._consoleTask),it}return fe.prototype=_e,fe},set:function(Y){m(this,"then",Y&&Y.prototype===_e?qe:{get:function(){return Y},set:qe.set})}};function At(Y,X,fe,we,Ne){this.onFulfilled=typeof Y=="function"?Y:null,this.onRejected=typeof X=="function"?X:null,this.resolve=fe,this.reject=we,this.psd=Ne}function at(Y,X){var fe,we;Be.push(X),Y._state===null&&(fe=Y._lib&&Tt(),X=Ve(X),Y._state=!1,Y._value=X,we=Y,ce.some(function(Ne){return Ne._value===we._value})||ce.push(we),pt(Y),fe&&Ot())}function pt(Y){var X=Y._listeners;Y._listeners=[];for(var fe=0,we=X.length;fe.",rt="String expected.",Mt=[],It="__dbnames",xn="readonly",Hn="readwrite";function R(Y,X){return Y?X?function(){return Y.apply(this,arguments)&&X.apply(this,arguments)}:Y:X}var F={type:3,lower:-1/0,lowerOpen:!1,upper:[[]],upperOpen:!1};function J(Y){return typeof Y!="string"||/\./.test(Y)?function(X){return X}:function(X){return X[Y]===void 0&&Y in X&&delete(X=M(X))[Y],X}}function Oe(){throw ie.Type()}function $e(Y,X){try{var fe=et(Y),we=et(X);if(fe!==we)return fe==="Array"?1:we==="Array"?-1:fe==="binary"?1:we==="binary"?-1:fe==="string"?1:we==="string"?-1:fe==="Date"?1:we!=="Date"?NaN:-1;switch(fe){case"number":case"Date":case"string":return XFt+qt&&xt(Ft+ft)})})}var Lt=vi(fe)&&fe.limit===1/0&&(typeof Y!="function"||Y===Fi)&&{index:fe.index,range:fe.range};return xt(0).then(function(){if(0=gt})).length!==0?(ft.forEach(function(xt){mt.push(function(){var Lt=lt,Ft=xt._cfg.dbschema;MO(Je,Lt,ut),MO(Je,Ft,ut),lt=Je._dbSchema=Ft;var qt=Q9(Lt,Ft);qt.add.forEach(function(An){X9(ut,An[0],An[1].primKey,An[1].indexes)}),qt.change.forEach(function(An){if(An.recreate)throw new ie.Upgrade("Not yet support for changing primary key");var Tn=ut.objectStore(An.name);An.add.forEach(function(Bn){return AO(Tn,Bn)}),An.change.forEach(function(Bn){Tn.deleteIndex(Bn.name),AO(Tn,Bn)}),An.del.forEach(function(Bn){return Tn.deleteIndex(Bn)})});var mn=xt._cfg.contentUpgrade;if(mn&&xt._cfg.version>gt){RO(Je,ut),ot._memoizedTables={};var On=T(Ft);qt.del.forEach(function(An){On[An]=Lt[An]}),K9(Je,[Je.Transaction.prototype]),IO(Je,[Je.Transaction.prototype],a(On),On),ot.schema=On;var gn,Cn=W(mn);return Cn&&ht(),qt=Ue.follow(function(){var An;(gn=mn(ot))&&Cn&&(An=kt.bind(null,null),gn.then(An,An))}),gn&&typeof gn.then=="function"?Ue.resolve(gn):qt.then(function(){return gn})}}),mt.push(function(Lt){var Ft,qt,mn=xt._cfg.dbschema;Ft=mn,qt=Lt,[].slice.call(qt.db.objectStoreNames).forEach(function(On){return Ft[On]==null&&qt.db.deleteObjectStore(On)}),K9(Je,[Je.Transaction.prototype]),IO(Je,[Je.Transaction.prototype],Je._storeNames,Je._dbSchema),ot.schema=Je._dbSchema}),mt.push(function(Lt){Je.idbdb.objectStoreNames.contains("$meta")&&(Math.ceil(Je.idbdb.version/10)===xt._cfg.version?(Je.idbdb.deleteObjectStore("$meta"),delete Je._dbSchema.$meta,Je._storeNames=Je._storeNames.filter(function(Ft){return Ft!=="$meta"})):Lt.objectStore("$meta").put(xt._cfg.version,"version"))})}),function xt(){return mt.length?Ue.resolve(mt.shift()(ot.idbtrans)).then(xt):Ue.resolve()}().then(function(){BZ(lt,ut)})):Ue.resolve();var Je,gt,ot,ut,mt,lt}).catch(We)):(a(Ne).forEach(function(ft){X9(fe,ft,Ne[ft].primKey,Ne[ft].indexes)}),RO(Y,fe),void Ue.follow(function(){return Y.on.populate.fire(Le)}).catch(We));var it,st})}function _9e(Y,X){BZ(Y._dbSchema,X),X.db.version%10!=0||X.objectStoreNames.contains("$meta")||X.db.createObjectStore("$meta").add(Math.ceil(X.db.version/10-1),"version");var fe=NO(0,Y.idbdb,X);MO(Y,Y._dbSchema,X);for(var we=0,Ne=Q9(fe,Y._dbSchema).change;weMath.pow(2,62)?0:lt.oldVersion,Je=lt<1,Y.idbdb=mt.result,Le&&_9e(Y,ft),y9e(Y,lt/10,ft,ot))},ot),mt.onsuccess=Ye(function(){ft=null;var lt,xt,Lt,Ft,qt,mn=Y.idbdb=mt.result,On=b(mn.objectStoreNames);if(0"u"?Ue.resolve():!navigator.userAgentData&&/Safari\//.test(navigator.userAgent)&&!/Chrom(e|ium)\//.test(navigator.userAgent)&&indexedDB.databases?new Promise(function(gt){function ot(){return indexedDB.databases().finally(gt)}it=setInterval(ot,100),ot()}).finally(function(){return clearInterval(it)}):Promise.resolve()).then(Qe)]).then(function(){return We(),X.onReadyBeingFired=[],Ue.resolve(e8(function(){return Y.on.ready.fire(Y.vip)})).then(function gt(){if(0X.limit?gt.length=X.limit:Y.length===X.limit&>.length=xt.limit&&(!xt.values||mn.req.values)&&O9e(mn.req.query.range,xt.query.range)}),!1,Lt,Ft];case"count":return qt=Ft.find(function(mn){return QZ(mn.req.query.range,xt.query.range)}),[qt,!!qt,Lt,Ft]}}(X,fe,"query",Le),ft=st[0],Je=st[1],gt=st[2],ot=st[3];return ft&&Je?ft.obsSet=Le.obsSet:(Je=we.query(Le).then(function(ut){var mt=ut.result;if(ft&&(ft.res=mt),We){for(var lt=0,xt=mt.length;lt({uid:r.uid||"",type:r.type||"",content:r.content||"",client:r.client||"",createdAt:r.createdAt||"",status:r.status||"",threadTopic:r.threadTopic||"",user:{uid:r.userUid||"",nickname:r.userNickname||"",avatar:r.userAvatar||""}}))}async getMessage(n){return await zc.messages.get(n)}async updateMessage(n,r){return await zc.messages.update(n,{content:r})}async deleteMessage(n){return await zc.messages.delete(n)}subscribeMessages(){SSt(()=>this.messages.toArray()).subscribe({next:r=>{const i=r.map(o=>o.uid);console.log("messagesObservable message uids",i)}})}async createThread(n){var r,i,o;return console.log("useIndexedDB createThread",n.topic),await zc.threads.put({uid:n.uid,type:n.type,topic:n.topic,status:n.status,extra:n.extra,updatedAt:n.updatedAt,userUid:(r=n.user)==null?void 0:r.uid,userNickname:(i=n.user)==null?void 0:i.nickname,userAvatar:(o=n.user)==null?void 0:o.avatar})}async getAllThreads(){return(await zc.threads.toArray()).map(r=>({uid:r.uid||"",type:r.type||"",topic:r.topic||"",status:r.status||"",extra:r.extra||"",createdAt:r.updatedAt||"",user:{uid:r.userUid||"",nickname:r.userNickname||"",avatar:r.userAvatar||""}}))}async getThread(n){return await zc.threads.get(n)}async updateThread(n,r){return await zc.threads.update(n,r)}async deleteThread(n){return await zc.threads.delete(n)}}const zc=new J2e;let jo,fl,pl,sb=!1;const ESt=({uid:e,username:t,accessToken:n})=>{if(n===""||n==null){console.log("accessToken is empty, don't connect mqtt");return}if(fl=Ra.getState().userInfo,pl=y0.getState().agentInfo,sb){console.log("mqtt is connecting");return}if(jo&&jo.connected){console.log("mqtt already connected");return}if(jo&&jo.reconnecting){console.log("mqtt already reconnecting");return}sb=!0;const r=Ra.getState().deviceUid,o={keepalive:30,clientId:e+"/"+wr+"/"+r,username:t,password:n,clean:!1,path:"/websocket",reconnectPeriod:5e3,connectTimeout:30*1e3,reschedulePings:!0,rejectUnauthorized:!1,log(...a){ud&&console.log("mqtt debug log",...a)}};console.log("mqtt start connect:",o),jo=wHe.connect(IBe(),o),jo.on("connect",()=>{console.log("mqtt event connected"),sb=!1,vr.emit(eB)}),jo.on("message",async function(a,s,l){console.log("mqtt receive message topic:",a,l);const c=gye.Message.deserializeBinary(s),u=id.getState().currentThread,d={uid:c.getThread().getUid(),type:c.getThread().getType(),topic:c.getThread().getTopic(),content:c.getContent(),updatedAt:c.getCreatedat(),unreadCount:0,user:{uid:c.getThread().getUser().getUid(),nickname:c.getThread().getUser().getNickname(),avatar:c.getThread().getUser().getAvatar()}},f={uid:c.getUid(),createdAt:c.getCreatedat(),client:c.getClient(),type:c.getType(),status:c.getStatus(),user:{uid:c.getUser().getUid(),nickname:c.getUser().getNickname(),avatar:c.getUser().getAvatar()},content:c.getContent(),threadTopic:c.getThread().getTopic()};if(xSt(c,fl,pl))switch(c.getType()){case hB:case pB:N$(c);return;case dB:case fB:return;case Nee:return;case kee:console.log("self transfer message"),bae(f,d);break;case Pee:console.log("self transfer accept message"),yae(f,d);return;case Dee:console.log("self transfer reject message"),_ae(f,d);return;case Mee:console.log("self recall message"),Sae(f);return;case gT:console.log("thread closed message"),id.getState().closeThread(d.topic);break;default:c.setStatus(cB)}else switch(c.getType()){case hB:case pB:N$(c);return;case dB:case fB:vae(u,d,c.getType());return;case hT:vae(u,d,c.getType());break;case Nee:OSt(c,u,d);return;case U6e:case z6e:case V6e:case G6e:case W6e:case q6e:N$(c);return;case kee:console.log("transfer message"),bae(f,d);break;case Pee:console.log("transfer accept message"),yae(f,d);return;case Dee:console.log("transfer reject message"),_ae(f,d);return;case Mee:console.log("recall message"),Sae(f);return;case mT:case gT:console.log("thread closed message"),id.getState().closeThread(d.topic);break;default:console.log("send receive message type",c.getType()),RSt(c,u,d)}console.log("mqtt message received",a,f,d),wh.getState().addMessage(f),vr.emit(pT,f);const h=id.getState().addThreadWithMessage(d,f);console.log("unreadCount",h);try{await zc.createMessage(f),console.log("Sent message stored in IndexedDB:",f)}catch(m){console.error("Error storing sent message in IndexedDB:",m)}}),jo.on("packetsend",a=>{console.log("mqtt event packetsend",a)}),jo.on("packetreceive",a=>{console.log("mqtt event packetreceive",a,a.cmd),a.cmd==="publish"||a.cmd==="pingresp"&&console.log("mqtt event packetreceive pingresp")}),jo.on("reconnect",()=>{console.log("mqtt event reconnect")}),jo.on("close",()=>{console.log("mqtt event close"),sb=!1,vr.emit(nB)}),jo.on("disconnect",()=>{console.error("mqtt event disconnected"),sb=!1,vr.emit(rB)}),jo.on("offline",()=>{console.log("mqtt event offline"),sb=!1,vr.emit(tB)}),jo.on("error",()=>{console.log("mqtt event error"),vr.emit(iB)}),jo.on("end",()=>{console.log("mqtt event end"),vr.emit(oB)})},mae=new Set,eOe=(e,t)=>{console.log("mqtt mqttSendReceiptReceivedMessage",e),mae.has(e)||(mae.add(e),tOe(r5(),pB,e,t))},gae=new Set,CSt=(e,t)=>{console.log("mqtt mqttSendReceiptReadMessage",e),gae.has(e)||(gae.add(e),tOe(r5(),hB,e,t))},tOe=async(e,t,n,r)=>{var o,a,s,l,c,u,d,f;console.log("mqtt mqttSendMessage",n);const i=$Ge();if(jo&&jo.connected){const h=new xHe.Thread;h.setUid(r.uid),h.setType(r.type),h.setTopic(r.topic);const m=new zte.User;m.setUid((o=r.user)==null?void 0:o.uid),m.setNickname((a=r.user)==null?void 0:a.nickname),m.setAvatar((s=r.user)==null?void 0:s.avatar),h.setUser(m);const g=new zte.User;(pl==null?void 0:pl.uid)!=""&&((r==null?void 0:r.type)===xee||(r==null?void 0:r.type)===Oee)?(g.setUid(pl.uid),g.setNickname(pl.nickname),g.setAvatar(pl.avatar),g.setType(wee)):(g.setUid(fl.uid),g.setNickname(fl.nickname),g.setAvatar(fl.avatar),g.setType(Tee));const v={orgUid:(l=fl==null?void 0:fl.currentOrganization)==null?void 0:l.uid},y=new gye.Message;y.setUid(e),y.setType(t),y.setStatus(Aee),y.setCreatedat(i),y.setClient(wr),y.setContent(n),y.setUser(g),y.setThread(h),y.setExtra(JSON.stringify(v));const b=y.serializeBinary();jo.publish(r.topic,b);try{const _={uid:y.getUid(),type:y.getType(),content:y.getContent(),client:y.getClient(),createdAt:y.getCreatedat(),status:y.getStatus(),threadTopic:y.getThread().getTopic(),user:{uid:y.getUser().getUid(),nickname:y.getUser().getNickname(),avatar:y.getUser().getAvatar()}};await zc.createMessage(_),console.log("Sent message stored in IndexedDB:",_)}catch(_){console.error("Error storing sent message in IndexedDB:",_)}}else{console.log("mqttClient is disconnect, use http rest api");const h={uid:r.uid,type:r.type,topic:r.topic,user:{uid:(c=r.user)==null?void 0:c.uid,nickname:(u=r.user)==null?void 0:u.nickname,avatar:(d=r.user)==null?void 0:d.avatar}};let m;(pl==null?void 0:pl.uid)!=""&&((r==null?void 0:r.type)===xee||(r==null?void 0:r.type)===Oee)?m={uid:pl.uid,nickname:pl.nickname,avatar:pl.avatar,type:wee}:m={uid:fl.uid,nickname:fl.nickname,avatar:fl.avatar,type:Tee};const g={orgUid:(f=fl==null?void 0:fl.currentOrganization)==null?void 0:f.uid},v={uid:e,type:t,status:Aee,createdAt:i,client:wr,content:n,extra:JSON.stringify(g),user:m,thread:h};TSt(v)}},A$=()=>{jo?jo.end():console.log("mqttClient is null")},wSt=()=>jo&&jo.connected,TSt=async e=>{const t=JSON.stringify(e),n=await DBe(t);if(console.log("sendHttpMessage:",n.data),n.data.code===200){wh.getState().updateMessageStatus(e==null?void 0:e.uid,cB);const r={uid:e==null?void 0:e.uid,type:cB};vr.emit(jve,JSON.stringify(r))}else Wt.error(n.data.message)},xSt=(e,t,n)=>e.getUser().getUid()===(t==null?void 0:t.uid)||e.getUser().getUid()===(n==null?void 0:n.uid);function N$(e){console.log("update message status:",e.getContent(),e.getType()),wh.getState().updateMessageStatus(e.getContent(),e.getType());const t={uid:e.getContent(),type:e.getType()};vr.emit(jve,JSON.stringify(t))}function vae(e,t,n){(e==null?void 0:e.topic)===(t==null?void 0:t.topic)&&(n===dB?vr.emit(o6e):n===fB?vr.emit(a6e):n===hT&&vr.emit(s6e))}function OSt(e,t,n){(t==null?void 0:t.topic)===(n==null?void 0:n.topic)&&vr.emit(l6e,e.getContent())}function bae(e,t){const n={message:e,thread:t};vr.emit(aB,JSON.stringify(n))}function yae(e,t){const n=JSON.parse(e==null?void 0:e.content);wh.getState().updateMessageStatus(n.uid,P6e);const r={message:e,thread:t};vr.emit(sB,JSON.stringify(r))}function _ae(e,t){const n=JSON.parse(e==null?void 0:e.content);wh.getState().updateMessageStatus(n.uid,D6e);const r={message:e,thread:t};vr.emit(lB,JSON.stringify(r))}function Sae(e){console.log("handleRecallMessage",e==null?void 0:e.uid,e==null?void 0:e.content),wh.getState().recallMessage(e==null?void 0:e.content)}function RSt(e,t,n){if(!HGe(n==null?void 0:n.topic)&&FGe(e==null?void 0:e.getType())){const r=e==null?void 0:e.getUid();eOe(r,n),(t==null?void 0:t.topic)===(n==null?void 0:n.topic)&&CSt(r,n)}}const ISt=Ic()(Md(kd(Pd(e=>({devices:[],currentDevice:{uid:""},myDevice:{uid:""},addDevice(t){console.log("addDevice",t)},setCurrentDevice:t=>{e({currentDevice:t})},setMyDevice(t){e({myDevice:t})},resetDeviceInfo(){}})),{name:b6e}))),ASt=()=>{HT("https://www.weiyuai.cn/docs/zh-CN/")},HT=e=>{Ha?window.electronAPI.openUrl(e):window.open(e,"_blank")},NSt=async()=>{if(Ha){const e=await window.electronAPI.getSystemInfo();console.log("systemInfo:",e)}else return console.log("not electron"),{platform:"web"}},nOe=async()=>Ha?await window.electronAPI.getIpAddress():(console.log("not electron"),[]),MSt=async()=>{if(Ha){const e=await window.electronAPI.isWindowActive();return console.log("isWindowActive:",e),e}return null},kSt=(e,t)=>{Ha&&window.electronAPI.showElectronNotification(e,t)},PSt=e=>{Ha?window.electronAPI.setThemeMode(e):console.log("not electron")},EU=()=>{Ha&&window.electronAPI.loginSuccess()},DSt=()=>{Ha&&window.electronAPI.logoutSuccess()};function tK(){console.debug("useUserInfo");const[e,t]=p.useState(""),{myDevice:n,setMyDevice:r}=ISt(T=>({myDevice:T.myDevice,setMyDevice:T.setMyDevice})),{userInfo:i,deviceUid:o,setUserInfo:a,setDeviceUid:s}=Ra(T=>({userInfo:T.userInfo,deviceUid:T.deviceUid,setUserInfo:T.setUserInfo,setDeviceUid:T.setDeviceUid})),{agentInfo:l}=y0(T=>({agentInfo:T.agentInfo})),c=wh(T=>T.addMessage),u=id(T=>T.updateThreadContent),d=p.useRef(!1),[f,h]=p.useState(!1);p.useEffect(()=>{h(!1),i.userOrganizationRoles&&i.userOrganizationRoles.forEach(T=>{T.roles.forEach(O=>{O.name===X6e&&h(!0)})})},[i.userOrganizationRoles]);const[m,g]=p.useState(!1);p.useEffect(()=>{g(!1),i.userOrganizationRoles&&i.userOrganizationRoles.forEach(T=>{T.roles.forEach(O=>{O.name===Z6e&&g(!0)})})},[i.userOrganizationRoles]);const[v,y]=p.useState(!1);p.useEffect(()=>{y(!1),i.userOrganizationRoles&&i.userOrganizationRoles.forEach(T=>{T.roles.forEach(O=>{O.name===J6e&&y(!0)})})},[i.userOrganizationRoles]);const[b,_]=p.useState(!1);p.useEffect(()=>{_(!1),i.userOrganizationRoles&&i.userOrganizationRoles.forEach(T=>{T.roles.forEach(O=>{O.name===e7e&&_(!0)})})},[i.userOrganizationRoles]);const E="",C=async()=>{const T=await nOe();console.log("ipAddress",e,T),T.length>0&&(t(T[0]),n.ip=T[0],r(n))},S=async()=>{var O,x;if(d.current)return;d.current=!0;const T=await PBe(l==null?void 0:l.uid);console.log("getAgentMessageUnread response:",T==null?void 0:T.data),(x=(O=T==null?void 0:T.data)==null?void 0:O.data)==null||x.forEach(A=>{console.log("getAgentMessageUnread item:",A),c(A);const I=u(A.threadTopic,A.content);I&&eOe(A==null?void 0:A.uid,I)}),d.current=!1};return p.useEffect(()=>{b&&S()},[b]),p.useEffect(()=>{console.log("useUserInfo useEffect"),(o===void 0||o==="")&&s(r5()),C()},[]),{userInfo:i,setUserInfo:a,agentInfo:l,handleUpdateAgentStatus:async T=>{const O={...l,status:T};Wt.loading("正在更新状态");const x=await kBe(O);console.log("updateAgentStatus:",T,x.data),x.data.code===200?(Wt.destroy(),Wt.success("状态更新成功")):(Wt.destroy(),Wt.error("状态更新失败"))},avatar:E,hasRoleAgent:b,hasRoleSuper:f,hasRoleAdmin:m,hasRoleMember:v}}const as=p.createContext({}),LSt=({children:e})=>{const[t,n]=p.useState(!1),[r,i]=p.useState(!1),o=Ux(O=>O.accessToken),a=n7e(O=>O.settings),{userInfo:s,setUserInfo:l,agentInfo:c,handleUpdateAgentStatus:u,hasRoleAgent:d,hasRoleSuper:f,hasRoleAdmin:h,hasRoleMember:m}=tK(),g=p.useMemo(()=>!!o&&o.trim().length>0,[o]),{themeMode:v,setThemeMode:y,isDarkMode:b}=uW(),[_,E]=p.useState(aR),C=O=>{let x;O==="en"?x=Bee:O==="zh-cn"?x=aR:O==="zh-tw"?x=X7e:x=aR,console.log("changeLocale localeValue:",x),E(x),localStorage.setItem(yee,x.locale)},[S,w]=p.useState(hy),T=O=>{w(O),localStorage.setItem(_ee,O)};return p.useEffect(()=>{const O=localStorage.getItem(yee);E(O==="en"?Bee:aR);const x=localStorage.getItem(_ee);w(x===hy?hy:x===Pv?Pv:rM)},[]),H.jsx(as.Provider,{value:{isCustomServer:t,setIsCustomServer:n,isLoggedIn:g,settings:a,isDarkMode:b,themeMode:v,setThemeMode:y,locale:_,changeLocale:C,mode:S,changeMode:T,isPingLoading:r,setPingLoading:i,userInfo:s,setUserInfo:l,agentInfo:c,handleUpdateAgentStatus:u,hasRoleAgent:d,hasRoleSuper:f,hasRoleAdmin:h,hasRoleMember:m},children:e})};var ND=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},MD=typeof window>"u"||"Deno"in globalThis;function qu(){}function $St(e,t){return typeof e=="function"?e(t):e}function FSt(e){return typeof e=="number"&&e>=0&&e!==1/0}function BSt(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Eae(e,t){return typeof e=="function"?e(t):e}function jSt(e,t){return typeof e=="function"?e(t):e}function Cae(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:s}=e;if(a){if(r){if(t.queryHash!==nK(a,t.options))return!1}else if(!zT(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||i&&i!==t.state.fetchStatus||o&&!o(t))}function wae(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(UT(t.options.mutationKey)!==UT(o))return!1}else if(!zT(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function nK(e,t){return((t==null?void 0:t.queryKeyHashFn)||UT)(e)}function UT(e){return JSON.stringify(e,(t,n)=>CU(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function zT(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!zT(e[n],t[n])):!1}function rOe(e,t){if(e===t)return e;const n=Tae(e)&&Tae(t);if(n||CU(e)&&CU(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),a=o.length,s=n?[]:{};let l=0;for(let c=0;c{setTimeout(t,e)})}function USt(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?rOe(e,t):t}function zSt(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function VSt(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var rK=Symbol();function iOe(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===rK?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var X1,wm,$y,ige,GSt=(ige=class extends ND{constructor(){super();zn(this,X1);zn(this,wm);zn(this,$y);yn(this,$y,t=>{if(!MD&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){Fe(this,wm)||this.setEventListener(Fe(this,$y))}onUnsubscribe(){var t;this.hasListeners()||((t=Fe(this,wm))==null||t.call(this),yn(this,wm,void 0))}setEventListener(t){var n;yn(this,$y,t),(n=Fe(this,wm))==null||n.call(this),yn(this,wm,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){Fe(this,X1)!==t&&(yn(this,X1,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof Fe(this,X1)=="boolean"?Fe(this,X1):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},X1=new WeakMap,wm=new WeakMap,$y=new WeakMap,ige),oOe=new GSt,Fy,Tm,By,oge,WSt=(oge=class extends ND{constructor(){super();zn(this,Fy,!0);zn(this,Tm);zn(this,By);yn(this,By,t=>{if(!MD&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){Fe(this,Tm)||this.setEventListener(Fe(this,By))}onUnsubscribe(){var t;this.hasListeners()||((t=Fe(this,Tm))==null||t.call(this),yn(this,Tm,void 0))}setEventListener(t){var n;yn(this,By,t),(n=Fe(this,Tm))==null||n.call(this),yn(this,Tm,t(this.setOnline.bind(this)))}setOnline(t){Fe(this,Fy)!==t&&(yn(this,Fy,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return Fe(this,Fy)}},Fy=new WeakMap,Tm=new WeakMap,By=new WeakMap,oge),uk=new WSt;function qSt(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function YSt(e){return Math.min(1e3*2**e,3e4)}function aOe(e){return(e??"online")==="online"?uk.isOnline():!0}var sOe=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function M$(e){return e instanceof sOe}function lOe(e){let t=!1,n=0,r=!1,i;const o=qSt(),a=g=>{var v;r||(f(new sOe(g)),(v=e.abort)==null||v.call(e))},s=()=>{t=!0},l=()=>{t=!1},c=()=>oOe.isFocused()&&(e.networkMode==="always"||uk.isOnline())&&e.canRun(),u=()=>aOe(e.networkMode)&&e.canRun(),d=g=>{var v;r||(r=!0,(v=e.onSuccess)==null||v.call(e,g),i==null||i(),o.resolve(g))},f=g=>{var v;r||(r=!0,(v=e.onError)==null||v.call(e,g),i==null||i(),o.reject(g))},h=()=>new Promise(g=>{var v;i=y=>{(r||c())&&g(y)},(v=e.onPause)==null||v.call(e)}).then(()=>{var g;i=void 0,r||(g=e.onContinue)==null||g.call(e)}),m=()=>{if(r)return;let g;const v=n===0?e.initialPromise:void 0;try{g=v??e.fn()}catch(y){g=Promise.reject(y)}Promise.resolve(g).then(d).catch(y=>{var S;if(r)return;const b=e.retry??(MD?0:3),_=e.retryDelay??YSt,E=typeof _=="function"?_(n,y):_,C=b===!0||typeof b=="number"&&nc()?void 0:h()).then(()=>{t?f(y):m()})})};return{promise:o,cancel:a,continue:()=>(i==null||i(),o),cancelRetry:s,continueRetry:l,canStart:u,start:()=>(u()?m():h().then(m),o)}}function KSt(){let e=[],t=0,n=s=>{s()},r=s=>{s()},i=s=>setTimeout(s,0);const o=s=>{t?e.push(s):i(()=>{n(s)})},a=()=>{const s=e;e=[],s.length&&i(()=>{r(()=>{s.forEach(l=>{n(l)})})})};return{batch:s=>{let l;t++;try{l=s()}finally{t--,t||a()}return l},batchCalls:s=>(...l)=>{o(()=>{s(...l)})},schedule:o,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{r=s},setScheduler:s=>{i=s}}}var qs=KSt(),Z1,age,cOe=(age=class{constructor(){zn(this,Z1)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),FSt(this.gcTime)&&yn(this,Z1,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(MD?1/0:5*60*1e3))}clearGcTimeout(){Fe(this,Z1)&&(clearTimeout(Fe(this,Z1)),yn(this,Z1,void 0))}},Z1=new WeakMap,age),jy,Hy,Wc,bs,kx,J1,Yu,Sp,sge,QSt=(sge=class extends cOe{constructor(t){super();zn(this,Yu);zn(this,jy);zn(this,Hy);zn(this,Wc);zn(this,bs);zn(this,kx);zn(this,J1);yn(this,J1,!1),yn(this,kx,t.defaultOptions),this.setOptions(t.options),this.observers=[],yn(this,Wc,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,yn(this,jy,ZSt(this.options)),this.state=t.state??Fe(this,jy),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=Fe(this,bs))==null?void 0:t.promise}setOptions(t){this.options={...Fe(this,kx),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&Fe(this,Wc).remove(this)}setData(t,n){const r=USt(this.state.data,t,this.options);return Dn(this,Yu,Sp).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Dn(this,Yu,Sp).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=Fe(this,bs))==null?void 0:r.promise;return(i=Fe(this,bs))==null||i.cancel(t),n?n.then(qu).catch(qu):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(Fe(this,jy))}isActive(){return this.observers.some(t=>jSt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===rK||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!BSt(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=Fe(this,bs))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=Fe(this,bs))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),Fe(this,Wc).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(Fe(this,bs)&&(Fe(this,J1)?Fe(this,bs).cancel({revert:!0}):Fe(this,bs).cancelRetry()),this.scheduleGc()),Fe(this,Wc).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Dn(this,Yu,Sp).call(this,{type:"invalidate"})}fetch(t,n){var l,c,u;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(Fe(this,bs))return Fe(this,bs).continueRetry(),Fe(this,bs).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,i=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(yn(this,J1,!0),r.signal)})},o=()=>{const d=iOe(this.options,n),f={queryKey:this.queryKey,meta:this.meta};return i(f),yn(this,J1,!1),this.options.persister?this.options.persister(d,f,this):d(f)},a={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:o};i(a),(l=this.options.behavior)==null||l.onFetch(a,this),yn(this,Hy,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Dn(this,Yu,Sp).call(this,{type:"fetch",meta:(u=a.fetchOptions)==null?void 0:u.meta});const s=d=>{var f,h,m,g;M$(d)&&d.silent||Dn(this,Yu,Sp).call(this,{type:"error",error:d}),M$(d)||((h=(f=Fe(this,Wc).config).onError)==null||h.call(f,d,this),(g=(m=Fe(this,Wc).config).onSettled)==null||g.call(m,this.state.data,d,this)),this.scheduleGc()};return yn(this,bs,lOe({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var f,h,m,g;if(d===void 0){s(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(v){s(v);return}(h=(f=Fe(this,Wc).config).onSuccess)==null||h.call(f,d,this),(g=(m=Fe(this,Wc).config).onSettled)==null||g.call(m,d,this.state.error,this),this.scheduleGc()},onError:s,onFail:(d,f)=>{Dn(this,Yu,Sp).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{Dn(this,Yu,Sp).call(this,{type:"pause"})},onContinue:()=>{Dn(this,Yu,Sp).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),Fe(this,bs).start()}},jy=new WeakMap,Hy=new WeakMap,Wc=new WeakMap,bs=new WeakMap,kx=new WeakMap,J1=new WeakMap,Yu=new WeakSet,Sp=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...XSt(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return M$(i)&&i.revert&&Fe(this,Hy)?{...Fe(this,Hy),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),qs.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),Fe(this,Wc).notify({query:this,type:"updated",action:t})})},sge);function XSt(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:aOe(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ZSt(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var cf,lge,JSt=(lge=class extends ND{constructor(t={}){super();zn(this,cf);this.config=t,yn(this,cf,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??nK(i,n);let a=this.get(o);return a||(a=new QSt({cache:this,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(a)),a}add(t){Fe(this,cf).has(t.queryHash)||(Fe(this,cf).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=Fe(this,cf).get(t.queryHash);n&&(t.destroy(),n===t&&Fe(this,cf).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){qs.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return Fe(this,cf).get(t)}getAll(){return[...Fe(this,cf).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Cae(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Cae(t,r)):n}notify(t){qs.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){qs.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){qs.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},cf=new WeakMap,lge),uf,js,ev,df,nm,cge,eEt=(cge=class extends cOe{constructor(t){super();zn(this,df);zn(this,uf);zn(this,js);zn(this,ev);this.mutationId=t.mutationId,yn(this,js,t.mutationCache),yn(this,uf,[]),this.state=t.state||tEt(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){Fe(this,uf).includes(t)||(Fe(this,uf).push(t),this.clearGcTimeout(),Fe(this,js).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){yn(this,uf,Fe(this,uf).filter(n=>n!==t)),this.scheduleGc(),Fe(this,js).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){Fe(this,uf).length||(this.state.status==="pending"?this.scheduleGc():Fe(this,js).remove(this))}continue(){var t;return((t=Fe(this,ev))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,o,a,s,l,c,u,d,f,h,m,g,v,y,b,_,E,C,S,w;yn(this,ev,lOe({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(T,O)=>{Dn(this,df,nm).call(this,{type:"failed",failureCount:T,error:O})},onPause:()=>{Dn(this,df,nm).call(this,{type:"pause"})},onContinue:()=>{Dn(this,df,nm).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>Fe(this,js).canRun(this)}));const n=this.state.status==="pending",r=!Fe(this,ev).canStart();try{if(!n){Dn(this,df,nm).call(this,{type:"pending",variables:t,isPaused:r}),await((o=(i=Fe(this,js).config).onMutate)==null?void 0:o.call(i,t,this));const O=await((s=(a=this.options).onMutate)==null?void 0:s.call(a,t));O!==this.state.context&&Dn(this,df,nm).call(this,{type:"pending",context:O,variables:t,isPaused:r})}const T=await Fe(this,ev).start();return await((c=(l=Fe(this,js).config).onSuccess)==null?void 0:c.call(l,T,t,this.state.context,this)),await((d=(u=this.options).onSuccess)==null?void 0:d.call(u,T,t,this.state.context)),await((h=(f=Fe(this,js).config).onSettled)==null?void 0:h.call(f,T,null,this.state.variables,this.state.context,this)),await((g=(m=this.options).onSettled)==null?void 0:g.call(m,T,null,t,this.state.context)),Dn(this,df,nm).call(this,{type:"success",data:T}),T}catch(T){try{throw await((y=(v=Fe(this,js).config).onError)==null?void 0:y.call(v,T,t,this.state.context,this)),await((_=(b=this.options).onError)==null?void 0:_.call(b,T,t,this.state.context)),await((C=(E=Fe(this,js).config).onSettled)==null?void 0:C.call(E,void 0,T,this.state.variables,this.state.context,this)),await((w=(S=this.options).onSettled)==null?void 0:w.call(S,void 0,T,t,this.state.context)),T}finally{Dn(this,df,nm).call(this,{type:"error",error:T})}}finally{Fe(this,js).runNext(this)}}},uf=new WeakMap,js=new WeakMap,ev=new WeakMap,df=new WeakSet,nm=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),qs.batch(()=>{Fe(this,uf).forEach(r=>{r.onMutationUpdate(t)}),Fe(this,js).notify({mutation:this,type:"updated",action:t})})},cge);function tEt(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var nc,Px,uge,nEt=(uge=class extends ND{constructor(t={}){super();zn(this,nc);zn(this,Px);this.config=t,yn(this,nc,new Map),yn(this,Px,Date.now())}build(t,n,r){const i=new eEt({mutationCache:this,mutationId:++Kg(this,Px)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){const n=zR(t),r=Fe(this,nc).get(n)??[];r.push(t),Fe(this,nc).set(n,r),this.notify({type:"added",mutation:t})}remove(t){var r;const n=zR(t);if(Fe(this,nc).has(n)){const i=(r=Fe(this,nc).get(n))==null?void 0:r.filter(o=>o!==t);i&&(i.length===0?Fe(this,nc).delete(n):Fe(this,nc).set(n,i))}this.notify({type:"removed",mutation:t})}canRun(t){var r;const n=(r=Fe(this,nc).get(zR(t)))==null?void 0:r.find(i=>i.state.status==="pending");return!n||n===t}runNext(t){var r;const n=(r=Fe(this,nc).get(zR(t)))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(n==null?void 0:n.continue())??Promise.resolve()}clear(){qs.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}getAll(){return[...Fe(this,nc).values()].flat()}find(t){const n={exact:!0,...t};return this.getAll().find(r=>wae(n,r))}findAll(t={}){return this.getAll().filter(n=>wae(t,n))}notify(t){qs.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return qs.batch(()=>Promise.all(t.map(n=>n.continue().catch(qu))))}},nc=new WeakMap,Px=new WeakMap,uge);function zR(e){var t;return((t=e.options.scope)==null?void 0:t.id)??String(e.mutationId)}function Oae(e){return{onFetch:(t,n)=>{var u,d,f,h,m;const r=t.options,i=(f=(d=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,o=((h=t.state.data)==null?void 0:h.pages)||[],a=((m=t.state.data)==null?void 0:m.pageParams)||[];let s={pages:[],pageParams:[]},l=0;const c=async()=>{let g=!1;const v=_=>{Object.defineProperty(_,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},y=iOe(t.options,t.fetchOptions),b=async(_,E,C)=>{if(g)return Promise.reject();if(E==null&&_.pages.length)return Promise.resolve(_);const S={queryKey:t.queryKey,pageParam:E,direction:C?"backward":"forward",meta:t.options.meta};v(S);const w=await y(S),{maxPages:T}=t.options,O=C?VSt:zSt;return{pages:O(_.pages,w,T),pageParams:O(_.pageParams,E,T)}};if(i&&o.length){const _=i==="backward",E=_?rEt:Rae,C={pages:o,pageParams:a},S=E(r,C);s=await b(C,S,_)}else{const _=e??o.length;do{const E=l===0?a[0]??r.initialPageParam:Rae(r,s);if(l>0&&E==null)break;s=await b(s,E),l++}while(l<_)}return s};t.options.persister?t.fetchFn=()=>{var g,v;return(v=(g=t.options).persister)==null?void 0:v.call(g,c,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=c}}}function Rae(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function rEt(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Bo,xm,Om,Uy,zy,Rm,Vy,Gy,dge,iEt=(dge=class{constructor(e={}){zn(this,Bo);zn(this,xm);zn(this,Om);zn(this,Uy);zn(this,zy);zn(this,Rm);zn(this,Vy);zn(this,Gy);yn(this,Bo,e.queryCache||new JSt),yn(this,xm,e.mutationCache||new nEt),yn(this,Om,e.defaultOptions||{}),yn(this,Uy,new Map),yn(this,zy,new Map),yn(this,Rm,0)}mount(){Kg(this,Rm)._++,Fe(this,Rm)===1&&(yn(this,Vy,oOe.subscribe(async e=>{e&&(await this.resumePausedMutations(),Fe(this,Bo).onFocus())})),yn(this,Gy,uk.subscribe(async e=>{e&&(await this.resumePausedMutations(),Fe(this,Bo).onOnline())})))}unmount(){var e,t;Kg(this,Rm)._--,Fe(this,Rm)===0&&((e=Fe(this,Vy))==null||e.call(this),yn(this,Vy,void 0),(t=Fe(this,Gy))==null||t.call(this),yn(this,Gy,void 0))}isFetching(e){return Fe(this,Bo).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return Fe(this,xm).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Fe(this,Bo).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);if(t===void 0)return this.fetchQuery(e);{const n=this.defaultQueryOptions(e),r=Fe(this,Bo).build(this,n);return e.revalidateIfStale&&r.isStaleByTime(Eae(n.staleTime,r))&&this.prefetchQuery(n),Promise.resolve(t)}}getQueriesData(e){return Fe(this,Bo).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=Fe(this,Bo).get(r.queryHash),o=i==null?void 0:i.state.data,a=$St(t,o);if(a!==void 0)return Fe(this,Bo).build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return qs.batch(()=>Fe(this,Bo).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=Fe(this,Bo).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=Fe(this,Bo);qs.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=Fe(this,Bo),r={type:"active",...e};return qs.batch(()=>(n.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(r,t)))}cancelQueries(e={},t={}){const n={revert:!0,...t},r=qs.batch(()=>Fe(this,Bo).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(qu).catch(qu)}invalidateQueries(e={},t={}){return qs.batch(()=>{if(Fe(this,Bo).findAll(e).forEach(r=>{r.invalidate()}),e.refetchType==="none")return Promise.resolve();const n={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(n,t)})}refetchQueries(e={},t){const n={...t,cancelRefetch:(t==null?void 0:t.cancelRefetch)??!0},r=qs.batch(()=>Fe(this,Bo).findAll(e).filter(i=>!i.isDisabled()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(qu)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(qu)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=Fe(this,Bo).build(this,t);return n.isStaleByTime(Eae(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(qu).catch(qu)}fetchInfiniteQuery(e){return e.behavior=Oae(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(qu).catch(qu)}ensureInfiniteQueryData(e){return e.behavior=Oae(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return uk.isOnline()?Fe(this,xm).resumePausedMutations():Promise.resolve()}getQueryCache(){return Fe(this,Bo)}getMutationCache(){return Fe(this,xm)}getDefaultOptions(){return Fe(this,Om)}setDefaultOptions(e){yn(this,Om,e)}setQueryDefaults(e,t){Fe(this,Uy).set(UT(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...Fe(this,Uy).values()];let n={};return t.forEach(r=>{zT(e,r.queryKey)&&(n={...n,...r.defaultOptions})}),n}setMutationDefaults(e,t){Fe(this,zy).set(UT(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...Fe(this,zy).values()];let n={};return t.forEach(r=>{zT(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...Fe(this,Om).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=nK(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===rK&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...Fe(this,Om).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){Fe(this,Bo).clear(),Fe(this,xm).clear()}},Bo=new WeakMap,xm=new WeakMap,Om=new WeakMap,Uy=new WeakMap,zy=new WeakMap,Rm=new WeakMap,Vy=new WeakMap,Gy=new WeakMap,dge),oEt=p.createContext(void 0),aEt=({client:e,children:t})=>(p.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),H.jsx(oEt.Provider,{value:e,children:t}));/** * @remix-run/router v1.21.0 * * Copyright (c) Remix Software Inc. @@ -584,7 +584,7 @@ ${V}`,ie=Math.min(k.length,O);let he=0;for(;heO){const K=j-O;Z+=`${te}"...": "${m(K)} not stringified"`,te=U}return te!==""&&(Z=` ${V}${Z} -${$}`),N.pop(),`{${Z}}`}case"number":return isFinite(k)?String(k):_?_(k):"null";case"boolean":return k===!0?"true":"false";case"undefined":return;case"bigint":if(C)return String(k);default:return _?_(k):void 0}}function M(P,k,N){switch(typeof k){case"string":return o(k);case"object":{if(k===null)return"null";if(typeof k.toJSON=="function"){if(k=k.toJSON(P),typeof k!="object")return M(P,k,N);if(k===null)return"null"}if(N.indexOf(k)!==-1)return E;let L="";const V=k.length!==void 0;if(V&&Array.isArray(k)){if(k.length===0)return"[]";if(TO){const K=k.length-O-1;L+=`,"... ${m(K)} not stringified"`}return N.pop(),`[${L}]`}let $=Object.keys(k);const W=$.length;if(W===0)return"{}";if(TO){const Z=W-O;L+=`${j}"...":"${m(Z)} not stringified"`}return N.pop(),`{${L}}`}case"number":return isFinite(k)?String(k):_?_(k):"null";case"boolean":return k===!0?"true":"false";case"undefined":return;case"bigint":if(C)return String(k);default:return _?_(k):void 0}}function B(P,k,N){if(arguments.length>1){let L="";if(typeof N=="number"?L=" ".repeat(Math.min(N,10)):typeof N=="string"&&(L=N.slice(0,10)),k!=null){if(typeof k=="function")return x("",{"":P},[],k,L,"");if(Array.isArray(k))return A("",P,[],g(k),L,"")}if(L.length!==0)return I("",P,[],L,"")}return M("",P,[])}return B}})(LU,LU.exports);var Dxt=LU.exports;const Lxt=di(Dxt),$xt=Lxt.configure;var hse=$xt({bigint:!0,circularValue:"Magic circle!",deterministic:!1,maximumDepth:4});function Fxt(){this.__data__=[],this.size=0}function jD(e,t){return e===t||e!==e&&t!==t}function HD(e,t){for(var n=e.length;n--;)if(jD(e[n][0],t))return n;return-1}var Bxt=Array.prototype,jxt=Bxt.splice;function Hxt(e){var t=this.__data__,n=HD(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():jxt.call(t,n,1),--this.size,!0}function Uxt(e){var t=this.__data__,n=HD(t,e);return n<0?void 0:t[n][1]}function zxt(e){return HD(this.__data__,e)>-1}function Vxt(e,t){var n=this.__data__,r=HD(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function kh(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=eOt}function _K(e){return e!=null&&iRe(e.length)&&!vK(e)}function tOt(e){return $2(e)&&_K(e)}function nOt(){return!1}var oRe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Cse=oRe&&typeof module=="object"&&module&&!module.nodeType&&module,rOt=Cse&&Cse.exports===oRe,wse=rOt?FS.Buffer:void 0,iOt=wse?wse.isBuffer:void 0,aRe=iOt||nOt,oOt="[object Object]",aOt=Function.prototype,sOt=Object.prototype,sRe=aOt.toString,lOt=sOt.hasOwnProperty,cOt=sRe.call(Object);function uOt(e){if(!$2(e)||UD(e)!=oOt)return!1;var t=tRe(e);if(t===null)return!0;var n=lOt.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&sRe.call(n)==cOt}var dOt="[object Arguments]",fOt="[object Array]",pOt="[object Boolean]",hOt="[object Date]",mOt="[object Error]",gOt="[object Function]",vOt="[object Map]",bOt="[object Number]",yOt="[object Object]",_Ot="[object RegExp]",SOt="[object Set]",EOt="[object String]",COt="[object WeakMap]",wOt="[object ArrayBuffer]",TOt="[object DataView]",xOt="[object Float32Array]",OOt="[object Float64Array]",ROt="[object Int8Array]",IOt="[object Int16Array]",AOt="[object Int32Array]",NOt="[object Uint8Array]",MOt="[object Uint8ClampedArray]",kOt="[object Uint16Array]",POt="[object Uint32Array]",ro={};ro[xOt]=ro[OOt]=ro[ROt]=ro[IOt]=ro[AOt]=ro[NOt]=ro[MOt]=ro[kOt]=ro[POt]=!0;ro[dOt]=ro[fOt]=ro[wOt]=ro[pOt]=ro[TOt]=ro[hOt]=ro[mOt]=ro[gOt]=ro[vOt]=ro[bOt]=ro[yOt]=ro[_Ot]=ro[SOt]=ro[EOt]=ro[COt]=!1;function DOt(e){return $2(e)&&iRe(e.length)&&!!ro[UD(e)]}function LOt(e){return function(t){return e(t)}}var lRe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,vw=lRe&&typeof module=="object"&&module&&!module.nodeType&&module,$Ot=vw&&vw.exports===lRe,W$=$Ot&&XOe.process,Tse=function(){try{var e=vw&&vw.require&&vw.require("util").types;return e||W$&&W$.binding&&W$.binding("util")}catch{}}(),xse=Tse&&Tse.isTypedArray,cRe=xse?LOt(xse):DOt;function jU(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var FOt=Object.prototype,BOt=FOt.hasOwnProperty;function jOt(e,t,n){var r=e[t];(!(BOt.call(e,t)&&jD(r,n))||n===void 0&&!(t in e))&&yK(e,t,n)}function HOt(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o-1&&e%1==0&&e0){if(++t>=iRt)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var lRt=sRt(rRt);function cRt(e,t){return lRt(tRt(e,t,pRe),e+"")}function uRt(e,t,n){if(!R0(n))return!1;var r=typeof t;return(r=="number"?_K(n)&&uRe(t,n.length):r=="string"&&t in n)?jD(n[t],e):!1}function dRt(e){return cRt(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,a&&uRt(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r2&&arguments[2]!==void 0?arguments[2]:!0,i=Object.keys(n).reduce(function(s,l){var c=n[l];return Yv(c)||(s[l]=c),s},{});if(Object.keys(i).length<1||typeof window>"u"||Gt(t)!=="object"||Yv(t)||t instanceof Blob)return t;var o=Array.isArray(t)?[]:{},a=function s(l,c){var u=Array.isArray(l),d=u?[]:{};return l==null||l===void 0?d:(Object.keys(l).forEach(function(f){var h=function _(E,C){return Array.isArray(E)&&E.forEach(function(S,w){if(S){var T=C==null?void 0:C[w];typeof S=="function"&&(C[w]=S(C,f,l)),Gt(S)==="object"&&!Array.isArray(S)&&Object.keys(S).forEach(function(O){var x=T==null?void 0:T[O];if(typeof S[O]=="function"&&x){var A=S[O](T[O],f,l);T[O]=Gt(A)==="object"?A[O]:A}else Gt(S[O])==="object"&&Array.isArray(S[O])&&x&&_(S[O],x)}),Gt(S)==="object"&&Array.isArray(S)&&T&&_(S,T)}}),f},m=c?[c,f].flat(1):[f].flat(1),g=l[f],v=Ao(i,m),y=function(){var E,C,S=!1;if(typeof v=="function"){C=v==null?void 0:v(g,f,l);var w=Gt(C);w!=="object"&&w!=="undefined"?(E=f,S=!0):E=C}else E=h(v,g);if(Array.isArray(E)){d=ea(d,E,g);return}Gt(E)==="object"&&!Array.isArray(o)?o=fRt(o,E):Gt(E)==="object"&&Array.isArray(o)?d=G(G({},d),E):(E!==null||E!==void 0)&&(d=ea(d,[E],S?C:g))};if(v&&typeof v=="function"&&y(),!(typeof window>"u")){if(pRt(g)){var b=s(g,m);if(Object.keys(b).length<1)return;d=ea(d,[f],b);return}y()}}),r?d:l)};return o=Array.isArray(t)&&Array.isArray(o)?nt(a(t)):KOe({},a(t),o),o},wc=function(t){return t===void 0?{}:P2(ch,"5.13.0")<=0?{bordered:t}:{variant:t?void 0:"borderless"}};function ub(e){var t=typeof window>"u",n=p.useState(function(){return t?!1:window.matchMedia(e).matches}),r=Ie(n,2),i=r[0],o=r[1];return p.useLayoutEffect(function(){if(!t){var a=window.matchMedia(e),s=function(c){return o(c.matches)};return a.addListener(s),function(){return a.removeListener(s)}}},[e]),i}var fm={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},mRt=function(){var t=void 0;if(typeof window>"u")return t;var n=Object.keys(fm).find(function(r){var i=fm[r].matchMedia;return!!window.matchMedia(i).matches});return t=n,t},gRt=function(){var t=ub(fm.md.matchMedia),n=ub(fm.lg.matchMedia),r=ub(fm.xxl.matchMedia),i=ub(fm.xl.matchMedia),o=ub(fm.sm.matchMedia),a=ub(fm.xs.matchMedia),s=p.useState(mRt()),l=Ie(s,2),c=l[0],u=l[1];return p.useEffect(function(){if(r){u("xxl");return}if(i){u("xl");return}if(n){u("lg");return}if(t){u("md");return}if(o){u("sm");return}if(a){u("xs");return}u("md")},[t,n,r,i,o,a]),c},bw=function(){return bw=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"||!window.URL)return{};var u=[];a.forEach(function(f,h){u.push({key:h,value:f})}),u=u.reduce(function(f,h){return(f[h.key]=f[h.key]||[]).push(h),f},{}),u=Object.keys(u).map(function(f){var h=u[f];return h.length===1?[f,h[0].value]:[f,h.map(function(m){var g=m.value;return g})]});var d=bw({},e);return u.forEach(function(f){var h=f[0],m=f[1];d[h]=_Rt(h,m,{},e)}),d},[t.disabled,e,a]);function l(u){if(!(typeof window>"u"||!window.URL)){var d=vRt(u);window.location.search!==d.search&&window.history.replaceState({},"",d.toString()),a.toString()!==d.searchParams.toString()&&i({})}}p.useEffect(function(){t.disabled||typeof window>"u"||!window.URL||l(bw(bw({},e),s))},[t.disabled,s]);var c=function(u){l(u)};return p.useEffect(function(){if(t.disabled)return function(){};if(typeof window>"u"||!window.URL)return function(){};var u=function(){i({})};return window.addEventListener("popstate",u),function(){window.removeEventListener("popstate",u)}},[t.disabled]),[s,c]}var yRt={true:!0,false:!1};function _Rt(e,t,n,r){if(!n)return t;var i=n[e],o=t===void 0?r[e]:t;return i===Number?Number(o):i===Boolean||t==="true"||t==="false"?yRt[o]:Array.isArray(i)?i.find(function(a){return a==o})||r[e]:o}var HS=se.createContext({}),SRt=["children","Wrapper"],ERt=["children","Wrapper"],hRe=p.createContext({grid:!1,colProps:void 0,rowProps:void 0}),CRt=function(t){var n=t.grid,r=t.rowProps,i=t.colProps;return{grid:!!n,RowWrapper:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=a.children,l=a.Wrapper,c=Dt(a,SRt);return n?H.jsx(w2,G(G(G({gutter:8},r),c),{},{children:s})):l?H.jsx(l,{children:s}):s},ColWrapper:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=a.children,l=a.Wrapper,c=Dt(a,ERt),u=p.useMemo(function(){var d=G(G({},i),c);return typeof d.span>"u"&&typeof d.xs>"u"&&(d.xs=24),d},[c]);return n?H.jsx(zv,G(G({},u),{},{children:s})):l?H.jsx(l,{children:s}):s}}},SK=function(t){var n=p.useMemo(function(){return Gt(t)==="object"?t:{grid:t}},[t]),r=p.useContext(hRe),i=r.grid,o=r.colProps;return p.useMemo(function(){return CRt({grid:!!(i||n.grid),rowProps:n==null?void 0:n.rowProps,colProps:(n==null?void 0:n.colProps)||o,Wrapper:n==null?void 0:n.Wrapper})},[n==null?void 0:n.Wrapper,n.grid,i,JSON.stringify([o,n==null?void 0:n.colProps,n==null?void 0:n.rowProps])])},wRt=["valueType","customLightMode","lightFilterLabelFormatter","valuePropName","ignoreWidth","defaultProps"],TRt=["label","tooltip","placeholder","width","bordered","messageVariables","ignoreFormItem","transform","convertValue","readonly","allowClear","colSize","getFormItemProps","getFieldProps","filedConfig","cacheForSwr","proFieldProps"],Rse={xs:104,s:216,sm:216,m:328,md:328,l:440,lg:440,xl:552},xRt=["switch","radioButton","radio","rate"];function VD(e,t){e.displayName="ProFormComponent";var n=function(o){var a=G(G({},o==null?void 0:o.filedConfig),t),s=a.valueType,l=a.customLightMode,c=a.lightFilterLabelFormatter,u=a.valuePropName,d=u===void 0?"value":u,f=a.ignoreWidth,h=a.defaultProps,m=Dt(a,wRt),g=G(G({},h),o),v=g.label,y=g.tooltip,b=g.placeholder,_=g.width,E=g.bordered,C=g.messageVariables,S=g.ignoreFormItem,w=g.transform,T=g.convertValue,O=g.readonly,x=g.allowClear;g.colSize;var A=g.getFormItemProps,I=g.getFieldProps;g.filedConfig;var M=g.cacheForSwr,B=g.proFieldProps,P=Dt(g,TRt),k=s||P.valueType,N=p.useMemo(function(){return f||xRt.includes(k)},[f,k]),L=p.useState(),V=Ie(L,2),$=V[1],W=p.useState(),j=Ie(W,2),U=j[0],Z=j[1],te=se.useContext(HS),ae=ml(function(){return{formItemProps:A==null?void 0:A(),fieldProps:I==null?void 0:I()}},[I,A,P.dependenciesValues,U]),K=ml(function(){var _e=G(G(G(G({},S?nu({value:P.value}):{}),{},{placeholder:b,disabled:o.disabled},te.fieldProps),ae.fieldProps),P.fieldProps);return _e.style=nu(_e==null?void 0:_e.style),_e},[S,P.value,P.fieldProps,b,o.disabled,te.fieldProps,ae.fieldProps]),Q=Ixt(P),ie=ml(function(){return G(G(G(G({},te.formItemProps),Q),ae.formItemProps),P.formItemProps)},[ae.formItemProps,te.formItemProps,P.formItemProps,Q]),he=ml(function(){return G(G({messageVariables:C},m),ie)},[m,ie,C]);ET(!P.defaultValue,"请不要在 Form 中使用 defaultXXX。如果需要默认值请使用 initialValues 和 initialValue。");var pe=p.useContext(gg),le=pe.prefixName,de=ml(function(){var _e,Re=he==null?void 0:he.name;Array.isArray(Re)&&(Re=Re.join("_")),Array.isArray(le)&&Re&&(Re="".concat(le.join("."),".").concat(Re));var De=Re&&"form-".concat((_e=te.formKey)!==null&&_e!==void 0?_e:"","-field-").concat(Re);return De},[hse(he==null?void 0:he.name),le,te.formKey]),ve=gd(function(){var _e;A||I?Z([]):P.renderFormItem&&$([]);for(var Re=arguments.length,De=new Array(Re),z=0;z0?ge.map(function(Te,Se){var me=Ce==null?void 0:Ce[Se],be=(me==null?void 0:me["data-item"])||{};return G(G(G({},be),Te),{},{label:k?be.label:Te.label})}):[]},ne=function ue(ge){return ge.map(function(Ce,Te){var Se,me=Ce,be=me.className,_e=me.optionType,Re=Dt(me,kRt),De=Ce[$],z=Ce[j],D=(Se=Ce[Z])!==null&&Se!==void 0?Se:[];return _e==="optGroup"||Ce.options?G(G({label:De},Re),{},{data_title:De,title:De,key:z??"".concat(De==null?void 0:De.toString(),"-").concat(Te,"-").concat(mk()),children:ue(D)}):G(G({title:De},Re),{},{data_title:De,value:z??Te,key:z??"".concat(De==null?void 0:De.toString(),"-").concat(Te,"-").concat(mk()),"data-item":Ce,className:"".concat(le,"-option ").concat(be||"").trim(),label:(r==null?void 0:r(Ce))||De})})};return H.jsx(bu,G(G({ref:ie,className:de,allowClear:!0,autoClearSearchValue:c,disabled:C,mode:i,showSearch:I,searchValue:K,optionFilterProp:y,optionLabelProp:_,onClear:function(){x==null||x(),w(void 0),I&&Q(void 0)}},N),{},{filterOption:N.filterOption==!1?!1:function(ue,ge){var Ce,Te,Se;return N.filterOption&&typeof N.filterOption=="function"?N.filterOption(ue,G(G({},ge),{},{label:ge==null?void 0:ge.data_title})):!!(ge!=null&&(Ce=ge.data_title)!==null&&Ce!==void 0&&Ce.toString().toLowerCase().includes(ue.toLowerCase())||ge!=null&&(Te=ge.label)!==null&&Te!==void 0&&Te.toString().toLowerCase().includes(ue.toLowerCase())||ge!=null&&(Se=ge.value)!==null&&Se!==void 0&&Se.toString().toLowerCase().includes(ue.toLowerCase()))},onSearch:I?function(ue){g&&w(ue),o==null||o(ue),Q(ue)}:void 0,onChange:function(ge,Ce){I&&c&&(w(void 0),o==null||o(""),Q(void 0));for(var Te=arguments.length,Se=new Array(Te>2?Te-2:0),me=2;me-1&&e%1==0&&e-1&&e%1==0&&e<=VIt}var wK=GIt,WIt=I0,qIt=wK,YIt=Qf,KIt="[object Arguments]",QIt="[object Array]",XIt="[object Boolean]",ZIt="[object Date]",JIt="[object Error]",eAt="[object Function]",tAt="[object Map]",nAt="[object Number]",rAt="[object Object]",iAt="[object RegExp]",oAt="[object Set]",aAt="[object String]",sAt="[object WeakMap]",lAt="[object ArrayBuffer]",cAt="[object DataView]",uAt="[object Float32Array]",dAt="[object Float64Array]",fAt="[object Int8Array]",pAt="[object Int16Array]",hAt="[object Int32Array]",mAt="[object Uint8Array]",gAt="[object Uint8ClampedArray]",vAt="[object Uint16Array]",bAt="[object Uint32Array]",io={};io[uAt]=io[dAt]=io[fAt]=io[pAt]=io[hAt]=io[mAt]=io[gAt]=io[vAt]=io[bAt]=!0;io[KIt]=io[QIt]=io[lAt]=io[XIt]=io[cAt]=io[ZIt]=io[JIt]=io[eAt]=io[tAt]=io[nAt]=io[rAt]=io[iAt]=io[oAt]=io[aAt]=io[sAt]=!1;function yAt(e){return YIt(e)&&qIt(e.length)&&!!io[WIt(e)]}var _At=yAt;function SAt(e){return function(t){return e(t)}}var TK=SAt,yk={exports:{}};yk.exports;(function(e,t){var n=mRe,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===r,a=o&&n.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s})(yk,yk.exports);var xK=yk.exports,EAt=_At,CAt=TK,Dse=xK,Lse=Dse&&Dse.isTypedArray,wAt=Lse?CAt(Lse):EAt,OK=wAt,TAt=IIt,xAt=EK,OAt=Mc,RAt=GD,IAt=CK,AAt=OK,NAt=Object.prototype,MAt=NAt.hasOwnProperty;function kAt(e,t){var n=OAt(e),r=!n&&xAt(e),i=!n&&!r&&RAt(e),o=!n&&!r&&!i&&AAt(e),a=n||r||i||o,s=a?TAt(e.length,String):[],l=s.length;for(var c in e)(t||MAt.call(e,c))&&!(a&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||IAt(c,l)))&&s.push(c);return s}var yRe=kAt,PAt=Object.prototype;function DAt(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||PAt;return e===n}var RK=DAt;function LAt(e,t){return function(n){return e(t(n))}}var _Re=LAt,$At=_Re,FAt=$At(Object.keys,Object),BAt=FAt,jAt=RK,HAt=BAt,UAt=Object.prototype,zAt=UAt.hasOwnProperty;function VAt(e){if(!jAt(e))return HAt(e);var t=[];for(var n in Object(e))zAt.call(e,n)&&n!="constructor"&&t.push(n);return t}var GAt=VAt;function WAt(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Iu=WAt,qAt=I0,YAt=Iu,KAt="[object AsyncFunction]",QAt="[object Function]",XAt="[object GeneratorFunction]",ZAt="[object Proxy]";function JAt(e){if(!YAt(e))return!1;var t=qAt(e);return t==QAt||t==XAt||t==KAt||t==ZAt}var IK=JAt,eNt=IK,tNt=wK;function nNt(e){return e!=null&&tNt(e.length)&&!eNt(e)}var zS=nNt,rNt=yRe,iNt=GAt,oNt=zS;function aNt(e){return oNt(e)?rNt(e):iNt(e)}var H2=aNt,sNt=vRe,lNt=H2;function cNt(e,t){return e&&sNt(e,t,lNt)}var SRe=cNt;function uNt(e){return e}var WD=uNt,dNt=WD;function fNt(e){return typeof e=="function"?e:dNt}var ERe=fNt,pNt=SRe,hNt=ERe;function mNt(e,t){return e&&pNt(e,hNt(t))}var AK=mNt,gNt=_Re,vNt=gNt(Object.getPrototypeOf,Object),NK=vNt,bNt=I0,yNt=NK,_Nt=Qf,SNt="[object Object]",ENt=Function.prototype,CNt=Object.prototype,CRe=ENt.toString,wNt=CNt.hasOwnProperty,TNt=CRe.call(Object);function xNt(e){if(!_Nt(e)||bNt(e)!=SNt)return!1;var t=yNt(e);if(t===null)return!0;var n=wNt.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&CRe.call(n)==TNt}var wRe=xNt;function ONt(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n-1}var zNt=UNt,VNt=qD;function GNt(e,t){var n=this.__data__,r=VNt(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var WNt=GNt,qNt=INt,YNt=$Nt,KNt=jNt,QNt=zNt,XNt=WNt;function VS(e){var t=-1,n=e==null?0:e.length;for(this.clear();++ts))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,h=n&c4t?new o4t:void 0;for(o.set(e,t),o.set(t,e);++d0&&arguments[0]!==void 0?arguments[0]:[],n=[];return(0,ZDt.default)(t,function(r){Array.isArray(r)?e(r).map(function(i){return n.push(i)}):(0,QDt.default)(r)?(0,YDt.default)(r,function(i,o){i===!0&&n.push(o),n.push(o+"-"+i)}):(0,WDt.default)(r)&&n.push(r)}),n};B2.default=JDt;var z2={};function e3t(e,t){for(var n=-1,r=e==null?0:e.length;++n1&&arguments[1]!==void 0?arguments[1]:[],r=t.default&&(0,hLt.default)(t.default)||{};return n.map(function(i){var o=t[i];return o&&(0,fLt.default)(o,function(a,s){r[s]||(r[s]={}),r[s]=mLt({},r[s],o[s])}),i}),r};z2.default=gLt;var W2={};Object.defineProperty(W2,"__esModule",{value:!0});W2.autoprefix=void 0;var vLt=AK,gle=yLt(vLt),bLt=Object.assign||function(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){xLt(i,r);function i(){var o,a,s,l;TLt(this,i);for(var c=arguments.length,u=Array(c),d=0;d1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){MLt(i,r);function i(){var o,a,s,l;NLt(this,i);for(var c=arguments.length,u=Array(c),d=0;d1&&arguments[1]!==void 0?arguments[1]:!0;r[a]=s};return t===0&&i("first-child"),t===n-1&&i("last-child"),(t===0||t%2===0)&&i("even"),Math.abs(t%2)===1&&i("odd"),i("nth-child",t),r};BK.default=PLt;Object.defineProperty(ru,"__esModule",{value:!0});ru.ReactCSS=ru.loop=ru.handleActive=ru.handleHover=ru.hover=void 0;var DLt=B2,LLt=KS(DLt),$Lt=z2,FLt=KS($Lt),BLt=W2,jLt=KS(BLt),HLt=q2,tIe=KS(HLt),ULt=Y2,zLt=KS(ULt),VLt=BK,GLt=KS(VLt);function KS(e){return e&&e.__esModule?e:{default:e}}ru.hover=tIe.default;ru.handleHover=tIe.default;ru.handleActive=zLt.default;ru.loop=GLt.default;var WLt=ru.ReactCSS=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i0){if(++t>=$$t)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var H$t=j$t,U$t=L$t,z$t=H$t,V$t=z$t(U$t),G$t=V$t,W$t=WD,q$t=A$t,Y$t=G$t;function K$t(e,t){return Y$t(q$t(e,t,W$t),e+"")}var Q$t=K$t,X$t=U2,Z$t=zS,J$t=CK,e6t=Iu;function t6t(e,t,n){if(!e6t(n))return!1;var r=typeof t;return(r=="number"?Z$t(n)&&J$t(t,n.length):r=="string"&&t in n)?X$t(n[t],e):!1}var n6t=t6t,r6t=Q$t,i6t=n6t;function o6t(e){return r6t(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,a&&i6t(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++rs?f=1:f=Math.round(d*100/s)/100,n.a!==f)return{h:n.h,s:n.s,l:n.l,a:f,source:"rgb"}}else{var h;if(u<0?h=0:u>a?h=1:h=Math.round(u*100/a)/100,i!==h)return{h:n.h,s:n.s,l:n.l,a:h,source:"rgb"}}return null},Z$={},p6t=function(t,n,r,i){if(typeof document>"u"&&!i)return null;var o=i?new i:document.createElement("canvas");o.width=r*2,o.height=r*2;var a=o.getContext("2d");return a?(a.fillStyle=t,a.fillRect(0,0,o.width,o.height),a.fillStyle=n,a.fillRect(0,0,r,r),a.translate(r,r),a.fillRect(0,0,r,r),o.toDataURL()):null},h6t=function(t,n,r,i){var o="".concat(t,"-").concat(n,"-").concat(r).concat(i?"-server":"");if(Z$[o])return Z$[o];var a=p6t(t,n,r,i);return Z$[o]=a,a};function YT(e){"@babel/helpers - typeof";return YT=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},YT(e)}function Tle(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function QR(e){for(var t=1;t"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 Ek(e){return Ek=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ek(e)}var I6t=function(e){w6t(n,e);var t=T6t(n);function n(){var r;_6t(this,n);for(var i=arguments.length,o=new Array(i),a=0;aO){const K=k.length-O-1;L+=`,"... ${m(K)} not stringified"`}return N.pop(),`[${L}]`}let $=Object.keys(k);const W=$.length;if(W===0)return"{}";if(TO){const Z=W-O;L+=`${j}"...":"${m(Z)} not stringified"`}return N.pop(),`{${L}}`}case"number":return isFinite(k)?String(k):_?_(k):"null";case"boolean":return k===!0?"true":"false";case"undefined":return;case"bigint":if(C)return String(k);default:return _?_(k):void 0}}function B(P,k,N){if(arguments.length>1){let L="";if(typeof N=="number"?L=" ".repeat(Math.min(N,10)):typeof N=="string"&&(L=N.slice(0,10)),k!=null){if(typeof k=="function")return x("",{"":P},[],k,L,"");if(Array.isArray(k))return A("",P,[],g(k),L,"")}if(L.length!==0)return I("",P,[],L,"")}return M("",P,[])}return B}})(LU,LU.exports);var Dxt=LU.exports;const Lxt=di(Dxt),$xt=Lxt.configure;var hse=$xt({bigint:!0,circularValue:"Magic circle!",deterministic:!1,maximumDepth:4});function Fxt(){this.__data__=[],this.size=0}function jD(e,t){return e===t||e!==e&&t!==t}function HD(e,t){for(var n=e.length;n--;)if(jD(e[n][0],t))return n;return-1}var Bxt=Array.prototype,jxt=Bxt.splice;function Hxt(e){var t=this.__data__,n=HD(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():jxt.call(t,n,1),--this.size,!0}function Uxt(e){var t=this.__data__,n=HD(t,e);return n<0?void 0:t[n][1]}function zxt(e){return HD(this.__data__,e)>-1}function Vxt(e,t){var n=this.__data__,r=HD(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function kh(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e<=eOt}function _K(e){return e!=null&&iRe(e.length)&&!vK(e)}function tOt(e){return $2(e)&&_K(e)}function nOt(){return!1}var oRe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Cse=oRe&&typeof module=="object"&&module&&!module.nodeType&&module,rOt=Cse&&Cse.exports===oRe,wse=rOt?FS.Buffer:void 0,iOt=wse?wse.isBuffer:void 0,aRe=iOt||nOt,oOt="[object Object]",aOt=Function.prototype,sOt=Object.prototype,sRe=aOt.toString,lOt=sOt.hasOwnProperty,cOt=sRe.call(Object);function uOt(e){if(!$2(e)||UD(e)!=oOt)return!1;var t=tRe(e);if(t===null)return!0;var n=lOt.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&sRe.call(n)==cOt}var dOt="[object Arguments]",fOt="[object Array]",pOt="[object Boolean]",hOt="[object Date]",mOt="[object Error]",gOt="[object Function]",vOt="[object Map]",bOt="[object Number]",yOt="[object Object]",_Ot="[object RegExp]",SOt="[object Set]",EOt="[object String]",COt="[object WeakMap]",wOt="[object ArrayBuffer]",TOt="[object DataView]",xOt="[object Float32Array]",OOt="[object Float64Array]",ROt="[object Int8Array]",IOt="[object Int16Array]",AOt="[object Int32Array]",NOt="[object Uint8Array]",MOt="[object Uint8ClampedArray]",kOt="[object Uint16Array]",POt="[object Uint32Array]",ro={};ro[xOt]=ro[OOt]=ro[ROt]=ro[IOt]=ro[AOt]=ro[NOt]=ro[MOt]=ro[kOt]=ro[POt]=!0;ro[dOt]=ro[fOt]=ro[wOt]=ro[pOt]=ro[TOt]=ro[hOt]=ro[mOt]=ro[gOt]=ro[vOt]=ro[bOt]=ro[yOt]=ro[_Ot]=ro[SOt]=ro[EOt]=ro[COt]=!1;function DOt(e){return $2(e)&&iRe(e.length)&&!!ro[UD(e)]}function LOt(e){return function(t){return e(t)}}var lRe=typeof exports=="object"&&exports&&!exports.nodeType&&exports,vw=lRe&&typeof module=="object"&&module&&!module.nodeType&&module,$Ot=vw&&vw.exports===lRe,W$=$Ot&&XOe.process,Tse=function(){try{var e=vw&&vw.require&&vw.require("util").types;return e||W$&&W$.binding&&W$.binding("util")}catch{}}(),xse=Tse&&Tse.isTypedArray,cRe=xse?LOt(xse):DOt;function jU(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var FOt=Object.prototype,BOt=FOt.hasOwnProperty;function jOt(e,t,n){var r=e[t];(!(BOt.call(e,t)&&jD(r,n))||n===void 0&&!(t in e))&&yK(e,t,n)}function HOt(e,t,n,r){var i=!n;n||(n={});for(var o=-1,a=t.length;++o-1&&e%1==0&&e0){if(++t>=iRt)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var lRt=sRt(rRt);function cRt(e,t){return lRt(tRt(e,t,pRe),e+"")}function uRt(e,t,n){if(!R0(n))return!1;var r=typeof t;return(r=="number"?_K(n)&&uRe(t,n.length):r=="string"&&t in n)?jD(n[t],e):!1}function dRt(e){return cRt(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,a&&uRt(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++r2&&arguments[2]!==void 0?arguments[2]:!0,i=Object.keys(n).reduce(function(s,l){var c=n[l];return Yv(c)||(s[l]=c),s},{});if(Object.keys(i).length<1||typeof window>"u"||Gt(t)!=="object"||Yv(t)||t instanceof Blob)return t;var o=Array.isArray(t)?[]:{},a=function s(l,c){var u=Array.isArray(l),d=u?[]:{};return l==null||l===void 0?d:(Object.keys(l).forEach(function(f){var h=function _(E,C){return Array.isArray(E)&&E.forEach(function(S,w){if(S){var T=C==null?void 0:C[w];typeof S=="function"&&(C[w]=S(C,f,l)),Gt(S)==="object"&&!Array.isArray(S)&&Object.keys(S).forEach(function(O){var x=T==null?void 0:T[O];if(typeof S[O]=="function"&&x){var A=S[O](T[O],f,l);T[O]=Gt(A)==="object"?A[O]:A}else Gt(S[O])==="object"&&Array.isArray(S[O])&&x&&_(S[O],x)}),Gt(S)==="object"&&Array.isArray(S)&&T&&_(S,T)}}),f},m=c?[c,f].flat(1):[f].flat(1),g=l[f],v=Ao(i,m),y=function(){var E,C,S=!1;if(typeof v=="function"){C=v==null?void 0:v(g,f,l);var w=Gt(C);w!=="object"&&w!=="undefined"?(E=f,S=!0):E=C}else E=h(v,g);if(Array.isArray(E)){d=ea(d,E,g);return}Gt(E)==="object"&&!Array.isArray(o)?o=fRt(o,E):Gt(E)==="object"&&Array.isArray(o)?d=G(G({},d),E):(E!==null||E!==void 0)&&(d=ea(d,[E],S?C:g))};if(v&&typeof v=="function"&&y(),!(typeof window>"u")){if(pRt(g)){var b=s(g,m);if(Object.keys(b).length<1)return;d=ea(d,[f],b);return}y()}}),r?d:l)};return o=Array.isArray(t)&&Array.isArray(o)?nt(a(t)):KOe({},a(t),o),o},wc=function(t){return t===void 0?{}:P2(ch,"5.13.0")<=0?{bordered:t}:{variant:t?void 0:"borderless"}};function ub(e){var t=typeof window>"u",n=p.useState(function(){return t?!1:window.matchMedia(e).matches}),r=Ie(n,2),i=r[0],o=r[1];return p.useLayoutEffect(function(){if(!t){var a=window.matchMedia(e),s=function(c){return o(c.matches)};return a.addListener(s),function(){return a.removeListener(s)}}},[e]),i}var fm={xs:{maxWidth:575,matchMedia:"(max-width: 575px)"},sm:{minWidth:576,maxWidth:767,matchMedia:"(min-width: 576px) and (max-width: 767px)"},md:{minWidth:768,maxWidth:991,matchMedia:"(min-width: 768px) and (max-width: 991px)"},lg:{minWidth:992,maxWidth:1199,matchMedia:"(min-width: 992px) and (max-width: 1199px)"},xl:{minWidth:1200,maxWidth:1599,matchMedia:"(min-width: 1200px) and (max-width: 1599px)"},xxl:{minWidth:1600,matchMedia:"(min-width: 1600px)"}},mRt=function(){var t=void 0;if(typeof window>"u")return t;var n=Object.keys(fm).find(function(r){var i=fm[r].matchMedia;return!!window.matchMedia(i).matches});return t=n,t},gRt=function(){var t=ub(fm.md.matchMedia),n=ub(fm.lg.matchMedia),r=ub(fm.xxl.matchMedia),i=ub(fm.xl.matchMedia),o=ub(fm.sm.matchMedia),a=ub(fm.xs.matchMedia),s=p.useState(mRt()),l=Ie(s,2),c=l[0],u=l[1];return p.useEffect(function(){if(r){u("xxl");return}if(i){u("xl");return}if(n){u("lg");return}if(t){u("md");return}if(o){u("sm");return}if(a){u("xs");return}u("md")},[t,n,r,i,o,a]),c},bw=function(){return bw=Object.assign||function(e){for(var t,n=1,r=arguments.length;n"u"||!window.URL)return{};var u=[];a.forEach(function(f,h){u.push({key:h,value:f})}),u=u.reduce(function(f,h){return(f[h.key]=f[h.key]||[]).push(h),f},{}),u=Object.keys(u).map(function(f){var h=u[f];return h.length===1?[f,h[0].value]:[f,h.map(function(m){var g=m.value;return g})]});var d=bw({},e);return u.forEach(function(f){var h=f[0],m=f[1];d[h]=_Rt(h,m,{},e)}),d},[t.disabled,e,a]);function l(u){if(!(typeof window>"u"||!window.URL)){var d=vRt(u);window.location.search!==d.search&&window.history.replaceState({},"",d.toString()),a.toString()!==d.searchParams.toString()&&i({})}}p.useEffect(function(){t.disabled||typeof window>"u"||!window.URL||l(bw(bw({},e),s))},[t.disabled,s]);var c=function(u){l(u)};return p.useEffect(function(){if(t.disabled)return function(){};if(typeof window>"u"||!window.URL)return function(){};var u=function(){i({})};return window.addEventListener("popstate",u),function(){window.removeEventListener("popstate",u)}},[t.disabled]),[s,c]}var yRt={true:!0,false:!1};function _Rt(e,t,n,r){if(!n)return t;var i=n[e],o=t===void 0?r[e]:t;return i===Number?Number(o):i===Boolean||t==="true"||t==="false"?yRt[o]:Array.isArray(i)?i.find(function(a){return a==o})||r[e]:o}var HS=se.createContext({}),SRt=["children","Wrapper"],ERt=["children","Wrapper"],hRe=p.createContext({grid:!1,colProps:void 0,rowProps:void 0}),CRt=function(t){var n=t.grid,r=t.rowProps,i=t.colProps;return{grid:!!n,RowWrapper:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=a.children,l=a.Wrapper,c=Dt(a,SRt);return n?H.jsx(w2,G(G(G({gutter:8},r),c),{},{children:s})):l?H.jsx(l,{children:s}):s},ColWrapper:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=a.children,l=a.Wrapper,c=Dt(a,ERt),u=p.useMemo(function(){var d=G(G({},i),c);return typeof d.span>"u"&&typeof d.xs>"u"&&(d.xs=24),d},[c]);return n?H.jsx(zv,G(G({},u),{},{children:s})):l?H.jsx(l,{children:s}):s}}},SK=function(t){var n=p.useMemo(function(){return Gt(t)==="object"?t:{grid:t}},[t]),r=p.useContext(hRe),i=r.grid,o=r.colProps;return p.useMemo(function(){return CRt({grid:!!(i||n.grid),rowProps:n==null?void 0:n.rowProps,colProps:(n==null?void 0:n.colProps)||o,Wrapper:n==null?void 0:n.Wrapper})},[n==null?void 0:n.Wrapper,n.grid,i,JSON.stringify([o,n==null?void 0:n.colProps,n==null?void 0:n.rowProps])])},wRt=["valueType","customLightMode","lightFilterLabelFormatter","valuePropName","ignoreWidth","defaultProps"],TRt=["label","tooltip","placeholder","width","bordered","messageVariables","ignoreFormItem","transform","convertValue","readonly","allowClear","colSize","getFormItemProps","getFieldProps","filedConfig","cacheForSwr","proFieldProps"],Rse={xs:104,s:216,sm:216,m:328,md:328,l:440,lg:440,xl:552},xRt=["switch","radioButton","radio","rate"];function VD(e,t){e.displayName="ProFormComponent";var n=function(o){var a=G(G({},o==null?void 0:o.filedConfig),t),s=a.valueType,l=a.customLightMode,c=a.lightFilterLabelFormatter,u=a.valuePropName,d=u===void 0?"value":u,f=a.ignoreWidth,h=a.defaultProps,m=Dt(a,wRt),g=G(G({},h),o),v=g.label,y=g.tooltip,b=g.placeholder,_=g.width,E=g.bordered,C=g.messageVariables,S=g.ignoreFormItem,w=g.transform,T=g.convertValue,O=g.readonly,x=g.allowClear;g.colSize;var A=g.getFormItemProps,I=g.getFieldProps;g.filedConfig;var M=g.cacheForSwr,B=g.proFieldProps,P=Dt(g,TRt),k=s||P.valueType,N=p.useMemo(function(){return f||xRt.includes(k)},[f,k]),L=p.useState(),V=Ie(L,2),$=V[1],W=p.useState(),j=Ie(W,2),U=j[0],Z=j[1],te=se.useContext(HS),ae=ml(function(){return{formItemProps:A==null?void 0:A(),fieldProps:I==null?void 0:I()}},[I,A,P.dependenciesValues,U]),K=ml(function(){var _e=G(G(G(G({},S?nu({value:P.value}):{}),{},{placeholder:b,disabled:o.disabled},te.fieldProps),ae.fieldProps),P.fieldProps);return _e.style=nu(_e==null?void 0:_e.style),_e},[S,P.value,P.fieldProps,b,o.disabled,te.fieldProps,ae.fieldProps]),Q=Ixt(P),ie=ml(function(){return G(G(G(G({},te.formItemProps),Q),ae.formItemProps),P.formItemProps)},[ae.formItemProps,te.formItemProps,P.formItemProps,Q]),he=ml(function(){return G(G({messageVariables:C},m),ie)},[m,ie,C]);ET(!P.defaultValue,"请不要在 Form 中使用 defaultXXX。如果需要默认值请使用 initialValues 和 initialValue。");var pe=p.useContext(gg),le=pe.prefixName,de=ml(function(){var _e,Re=he==null?void 0:he.name;Array.isArray(Re)&&(Re=Re.join("_")),Array.isArray(le)&&Re&&(Re="".concat(le.join("."),".").concat(Re));var De=Re&&"form-".concat((_e=te.formKey)!==null&&_e!==void 0?_e:"","-field-").concat(Re);return De},[hse(he==null?void 0:he.name),le,te.formKey]),ve=gd(function(){var _e;A||I?Z([]):P.renderFormItem&&$([]);for(var Re=arguments.length,De=new Array(Re),z=0;z0?ge.map(function(Te,Se){var me=Ce==null?void 0:Ce[Se],be=(me==null?void 0:me["data-item"])||{};return G(G(G({},be),Te),{},{label:k?be.label:Te.label})}):[]},ne=function ue(ge){return ge.map(function(Ce,Te){var Se,me=Ce,be=me.className,_e=me.optionType,Re=Dt(me,kRt),De=Ce[$],z=Ce[j],D=(Se=Ce[Z])!==null&&Se!==void 0?Se:[];return _e==="optGroup"||Ce.options?G(G({label:De},Re),{},{data_title:De,title:De,key:z??"".concat(De==null?void 0:De.toString(),"-").concat(Te,"-").concat(mk()),children:ue(D)}):G(G({title:De},Re),{},{data_title:De,value:z??Te,key:z??"".concat(De==null?void 0:De.toString(),"-").concat(Te,"-").concat(mk()),"data-item":Ce,className:"".concat(le,"-option ").concat(be||"").trim(),label:(r==null?void 0:r(Ce))||De})})};return H.jsx(bu,G(G({ref:ie,className:de,allowClear:!0,autoClearSearchValue:c,disabled:C,mode:i,showSearch:I,searchValue:K,optionFilterProp:y,optionLabelProp:_,onClear:function(){x==null||x(),w(void 0),I&&Q(void 0)}},N),{},{filterOption:N.filterOption==!1?!1:function(ue,ge){var Ce,Te,Se;return N.filterOption&&typeof N.filterOption=="function"?N.filterOption(ue,G(G({},ge),{},{label:ge==null?void 0:ge.data_title})):!!(ge!=null&&(Ce=ge.data_title)!==null&&Ce!==void 0&&Ce.toString().toLowerCase().includes(ue.toLowerCase())||ge!=null&&(Te=ge.label)!==null&&Te!==void 0&&Te.toString().toLowerCase().includes(ue.toLowerCase())||ge!=null&&(Se=ge.value)!==null&&Se!==void 0&&Se.toString().toLowerCase().includes(ue.toLowerCase()))},onSearch:I?function(ue){g&&w(ue),o==null||o(ue),Q(ue)}:void 0,onChange:function(ge,Ce){I&&c&&(w(void 0),o==null||o(""),Q(void 0));for(var Te=arguments.length,Se=new Array(Te>2?Te-2:0),me=2;me-1&&e%1==0&&e-1&&e%1==0&&e<=VIt}var wK=GIt,WIt=I0,qIt=wK,YIt=Qf,KIt="[object Arguments]",QIt="[object Array]",XIt="[object Boolean]",ZIt="[object Date]",JIt="[object Error]",eAt="[object Function]",tAt="[object Map]",nAt="[object Number]",rAt="[object Object]",iAt="[object RegExp]",oAt="[object Set]",aAt="[object String]",sAt="[object WeakMap]",lAt="[object ArrayBuffer]",cAt="[object DataView]",uAt="[object Float32Array]",dAt="[object Float64Array]",fAt="[object Int8Array]",pAt="[object Int16Array]",hAt="[object Int32Array]",mAt="[object Uint8Array]",gAt="[object Uint8ClampedArray]",vAt="[object Uint16Array]",bAt="[object Uint32Array]",io={};io[uAt]=io[dAt]=io[fAt]=io[pAt]=io[hAt]=io[mAt]=io[gAt]=io[vAt]=io[bAt]=!0;io[KIt]=io[QIt]=io[lAt]=io[XIt]=io[cAt]=io[ZIt]=io[JIt]=io[eAt]=io[tAt]=io[nAt]=io[rAt]=io[iAt]=io[oAt]=io[aAt]=io[sAt]=!1;function yAt(e){return YIt(e)&&qIt(e.length)&&!!io[WIt(e)]}var _At=yAt;function SAt(e){return function(t){return e(t)}}var TK=SAt,yk={exports:{}};yk.exports;(function(e,t){var n=mRe,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===r,a=o&&n.process,s=function(){try{var l=i&&i.require&&i.require("util").types;return l||a&&a.binding&&a.binding("util")}catch{}}();e.exports=s})(yk,yk.exports);var xK=yk.exports,EAt=_At,CAt=TK,Dse=xK,Lse=Dse&&Dse.isTypedArray,wAt=Lse?CAt(Lse):EAt,OK=wAt,TAt=IIt,xAt=EK,OAt=Mc,RAt=GD,IAt=CK,AAt=OK,NAt=Object.prototype,MAt=NAt.hasOwnProperty;function kAt(e,t){var n=OAt(e),r=!n&&xAt(e),i=!n&&!r&&RAt(e),o=!n&&!r&&!i&&AAt(e),a=n||r||i||o,s=a?TAt(e.length,String):[],l=s.length;for(var c in e)(t||MAt.call(e,c))&&!(a&&(c=="length"||i&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||IAt(c,l)))&&s.push(c);return s}var yRe=kAt,PAt=Object.prototype;function DAt(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||PAt;return e===n}var RK=DAt;function LAt(e,t){return function(n){return e(t(n))}}var _Re=LAt,$At=_Re,FAt=$At(Object.keys,Object),BAt=FAt,jAt=RK,HAt=BAt,UAt=Object.prototype,zAt=UAt.hasOwnProperty;function VAt(e){if(!jAt(e))return HAt(e);var t=[];for(var n in Object(e))zAt.call(e,n)&&n!="constructor"&&t.push(n);return t}var GAt=VAt;function WAt(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Iu=WAt,qAt=I0,YAt=Iu,KAt="[object AsyncFunction]",QAt="[object Function]",XAt="[object GeneratorFunction]",ZAt="[object Proxy]";function JAt(e){if(!YAt(e))return!1;var t=qAt(e);return t==QAt||t==XAt||t==KAt||t==ZAt}var IK=JAt,eNt=IK,tNt=wK;function nNt(e){return e!=null&&tNt(e.length)&&!eNt(e)}var zS=nNt,rNt=yRe,iNt=GAt,oNt=zS;function aNt(e){return oNt(e)?rNt(e):iNt(e)}var H2=aNt,sNt=vRe,lNt=H2;function cNt(e,t){return e&&sNt(e,t,lNt)}var SRe=cNt;function uNt(e){return e}var WD=uNt,dNt=WD;function fNt(e){return typeof e=="function"?e:dNt}var ERe=fNt,pNt=SRe,hNt=ERe;function mNt(e,t){return e&&pNt(e,hNt(t))}var AK=mNt,gNt=_Re,vNt=gNt(Object.getPrototypeOf,Object),NK=vNt,bNt=I0,yNt=NK,_Nt=Qf,SNt="[object Object]",ENt=Function.prototype,CNt=Object.prototype,CRe=ENt.toString,wNt=CNt.hasOwnProperty,TNt=CRe.call(Object);function xNt(e){if(!_Nt(e)||bNt(e)!=SNt)return!1;var t=yNt(e);if(t===null)return!0;var n=wNt.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&CRe.call(n)==TNt}var wRe=xNt;function ONt(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n-1}var zNt=UNt,VNt=qD;function GNt(e,t){var n=this.__data__,r=VNt(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var WNt=GNt,qNt=INt,YNt=$Nt,KNt=jNt,QNt=zNt,XNt=WNt;function VS(e){var t=-1,n=e==null?0:e.length;for(this.clear();++ts))return!1;var c=o.get(e),u=o.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,h=n&c4t?new o4t:void 0;for(o.set(e,t),o.set(t,e);++d0&&arguments[0]!==void 0?arguments[0]:[],n=[];return(0,ZDt.default)(t,function(r){Array.isArray(r)?e(r).map(function(i){return n.push(i)}):(0,QDt.default)(r)?(0,YDt.default)(r,function(i,o){i===!0&&n.push(o),n.push(o+"-"+i)}):(0,WDt.default)(r)&&n.push(r)}),n};B2.default=JDt;var z2={};function e3t(e,t){for(var n=-1,r=e==null?0:e.length;++n1&&arguments[1]!==void 0?arguments[1]:[],r=t.default&&(0,hLt.default)(t.default)||{};return n.map(function(i){var o=t[i];return o&&(0,fLt.default)(o,function(a,s){r[s]||(r[s]={}),r[s]=mLt({},r[s],o[s])}),i}),r};z2.default=gLt;var W2={};Object.defineProperty(W2,"__esModule",{value:!0});W2.autoprefix=void 0;var vLt=AK,gle=yLt(vLt),bLt=Object.assign||function(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){xLt(i,r);function i(){var o,a,s,l;TLt(this,i);for(var c=arguments.length,u=Array(c),d=0;d1&&arguments[1]!==void 0?arguments[1]:"span";return function(r){MLt(i,r);function i(){var o,a,s,l;NLt(this,i);for(var c=arguments.length,u=Array(c),d=0;d1&&arguments[1]!==void 0?arguments[1]:!0;r[a]=s};return t===0&&i("first-child"),t===n-1&&i("last-child"),(t===0||t%2===0)&&i("even"),Math.abs(t%2)===1&&i("odd"),i("nth-child",t),r};BK.default=PLt;Object.defineProperty(ru,"__esModule",{value:!0});ru.ReactCSS=ru.loop=ru.handleActive=ru.handleHover=ru.hover=void 0;var DLt=B2,LLt=KS(DLt),$Lt=z2,FLt=KS($Lt),BLt=W2,jLt=KS(BLt),HLt=q2,tIe=KS(HLt),ULt=Y2,zLt=KS(ULt),VLt=BK,GLt=KS(VLt);function KS(e){return e&&e.__esModule?e:{default:e}}ru.hover=tIe.default;ru.handleHover=tIe.default;ru.handleActive=zLt.default;ru.loop=GLt.default;var WLt=ru.ReactCSS=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i0){if(++t>=$$t)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var H$t=j$t,U$t=L$t,z$t=H$t,V$t=z$t(U$t),G$t=V$t,W$t=WD,q$t=A$t,Y$t=G$t;function K$t(e,t){return Y$t(q$t(e,t,W$t),e+"")}var Q$t=K$t,X$t=U2,Z$t=zS,J$t=CK,e6t=Iu;function t6t(e,t,n){if(!e6t(n))return!1;var r=typeof t;return(r=="number"?Z$t(n)&&J$t(t,n.length):r=="string"&&t in n)?X$t(n[t],e):!1}var n6t=t6t,r6t=Q$t,i6t=n6t;function o6t(e){return r6t(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,a&&i6t(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),t=Object(t);++rs?f=1:f=Math.round(d*100/s)/100,n.a!==f)return{h:n.h,s:n.s,l:n.l,a:f,source:"rgb"}}else{var h;if(u<0?h=0:u>a?h=1:h=Math.round(u*100/a)/100,i!==h)return{h:n.h,s:n.s,l:n.l,a:h,source:"rgb"}}return null},Z$={},p6t=function(t,n,r,i){if(typeof document>"u"&&!i)return null;var o=i?new i:document.createElement("canvas");o.width=r*2,o.height=r*2;var a=o.getContext("2d");return a?(a.fillStyle=t,a.fillRect(0,0,o.width,o.height),a.fillStyle=n,a.fillRect(0,0,r,r),a.translate(r,r),a.fillRect(0,0,r,r),o.toDataURL()):null},h6t=function(t,n,r,i){var o="".concat(t,"-").concat(n,"-").concat(r).concat(i?"-server":"");if(Z$[o])return Z$[o];var a=p6t(t,n,r,i);return Z$[o]=a,a};function YT(e){"@babel/helpers - typeof";return YT=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},YT(e)}function Tle(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function QR(e){for(var t=1;t"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 Ek(e){return Ek=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ek(e)}var I6t=function(e){w6t(n,e);var t=T6t(n);function n(){var r;_6t(this,n);for(var i=arguments.length,o=new Array(i),a=0;aa)d=0;else{var f=-(u*100/a)+100;d=360*f/100}if(r.h!==d)return{h:d,s:r.s,l:r.l,a:r.a,source:"hsl"}}else{var h;if(c<0)h=0;else if(c>o)h=359;else{var m=c*100/o;h=360*m/100}if(r.h!==h)return{h,s:r.s,l:r.l,a:r.a,source:"hsl"}}return null};function E_(e){"@babel/helpers - typeof";return E_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E_(e)}function N6t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M6t(e,t){for(var n=0;n"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 Ck(e){return Ck=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ck(e)}var H6t=function(e){L6t(n,e);var t=$6t(n);function n(){var r;N6t(this,n);for(var i=arguments.length,o=new Array(i),a=0;a img":{width:40,height:40},"& > div":{marginInlineStart:14,color:t.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:t.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},NUt=function(t){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"border-box",maxWidth:376,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:104,height:104,marginBlock:8,marginInline:8,paddingInline:24,paddingBlock:24,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:t.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:t.colorBgTextHover},a:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%",fontSize:12,textDecoration:"none","& > #avatarLogo":{width:40,height:40,margin:"0 auto",color:t.colorPrimary,fontSize:22,lineHeight:"40px",textAlign:"center",backgroundImage:"linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)",borderRadius:t.borderRadius},"& > img":{width:40,height:40},"& > div":{marginBlockStart:5,marginInlineStart:0,color:t.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:t.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},MUt=function(t){var n,r,i,o,a;return ee({},t.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:(n=t.layout)===null||n===void 0?void 0:n.colorTextAppListIcon,borderRadius:t.borderRadius,"&:hover":{color:(r=t.layout)===null||r===void 0?void 0:r.colorTextAppListIconHover,backgroundColor:(i=t.layout)===null||i===void 0?void 0:i.colorBgAppListIconHover},"&-active":{color:(o=t.layout)===null||o===void 0?void 0:o.colorTextAppListIconHover,backgroundColor:(a=t.layout)===null||a===void 0?void 0:a.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":ee({},"".concat(t.antCls,"-popover-arrow"),{display:"none"}),"&-simple":NUt(t),"&-default":AUt(t)})};function kUt(e){return zi("AppsLogoComponents",function(t){var n=G(G({},t),{},{componentCls:".".concat(e)});return[MUt(n)]})}var QK=function(t){return typeof t=="string"?H.jsx("img",{width:"auto",height:22,src:t,alt:"logo"}):typeof t=="function"?t():t},XK=function(t){var n,r=t.appList,i=t.appListRender,o=t.prefixCls,a=o===void 0?"ant-pro":o,s=t.onItemClick,l=se.useRef(null),c=se.useRef(null),u="".concat(a,"-layout-apps"),d=kUt(u),f=d.wrapSSR,h=d.hashId,m=p.useState(!1),g=Ie(m,2),v=g[0],y=g[1],b=function(w){s==null||s(w,c)},_=p.useMemo(function(){var S=r==null?void 0:r.some(function(w){return!(w!=null&&w.desc)});return S?H.jsx(IUt,{hashId:h,appList:r,itemClick:s?b:void 0,baseClassName:"".concat(u,"-simple")}):H.jsx(OUt,{hashId:h,appList:r,itemClick:s?b:void 0,baseClassName:"".concat(u,"-default")})},[r,u,h]);if(!(t!=null&&(n=t.appList)!==null&&n!==void 0&&n.length))return null;var E=i?i(t==null?void 0:t.appList,_):_,C=D2(void 0,function(S){return y(S)});return f(H.jsxs(H.Fragment,{children:[H.jsx("div",{ref:l,onClick:function(w){w.stopPropagation(),w.preventDefault()}}),H.jsx(yu,G(G({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},C),{},{overlayClassName:"".concat(u,"-popover ").concat(h).trim(),content:E,getPopupContainer:function(){return l.current||document.body},children:H.jsx("span",{ref:c,onClick:function(w){w.stopPropagation()},className:xe("".concat(u,"-icon"),h,ee({},"".concat(u,"-icon-active"),v)),children:H.jsx(xUt,{})})}))]}))};function PUt(){return H.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:H.jsx("path",{d:"M6.432 7.967a.448.448 0 01-.318.133h-.228a.46.46 0 01-.318-.133L2.488 4.85a.305.305 0 010-.43l.427-.43a.293.293 0 01.42 0L6 6.687l2.665-2.699a.299.299 0 01.426 0l.42.431a.305.305 0 010 .43L6.432 7.967z"})})}var DUt=function(t){var n,r,i;return ee({},t.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:(n=t.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorTextCollapsedButton,backgroundColor:(r=t.layout)===null||r===void 0||(r=r.sider)===null||r===void 0?void 0:r.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:(i=t.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextCollapsedButtonHover,boxShadow:"0 4px 16px -4px rgba(0,0,0,0.05), 0 2px 8px -2px rgba(25,15,15,0.07), 0 1px 2px 0 rgba(0,0,0,0.08)"},".anticon":{fontSize:"14px"},"& > svg":{transition:"transform 0.3s",transform:"rotate(90deg)"},"&-collapsed":{"& > svg":{transform:"rotate(-90deg)"}}})};function LUt(e){return zi("SiderMenuCollapsedIcon",function(t){var n=G(G({},t),{},{componentCls:".".concat(e)});return[DUt(n)]})}var $Ut=["isMobile","collapsed"],FUt=function(t){var n=t.isMobile,r=t.collapsed,i=Dt(t,$Ut),o=LUt(t.className),a=o.wrapSSR,s=o.hashId;return n&&r?null:a(H.jsx("div",G(G({},i),{},{className:xe(t.className,s,ee(ee({},"".concat(t.className,"-collapsed"),r),"".concat(t.className,"-is-mobile"),n)),children:H.jsx(PUt,{})})))},eAe={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1},BUt=function(t,n){var r,i,o=n.includes("horizontal")?(r=t.layout)===null||r===void 0?void 0:r.header:(i=t.layout)===null||i===void 0?void 0:i.sider;return G(G(ee({},"".concat(t.componentCls),ee(ee(ee(ee(ee(ee(ee(ee(ee({background:"transparent",color:o==null?void 0:o.colorTextMenu,border:"none"},"".concat(t.componentCls,"-menu-item"),{transition:"none !important"}),"".concat(t.componentCls,"-submenu-has-icon"),ee({},"> ".concat(t.antCls,"-menu-sub"),{paddingInlineStart:10})),"".concat(t.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),"".concat(t.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),"".concat(t.componentCls,"-item-icon"),{display:"flex",alignItems:"center"}),"&&-collapsed",ee(ee(ee({},"".concat(t.antCls,`-menu-item, +}`)),(0,Mk.useEffect)(function(){var s=t.current,l=(0,VHt.getShadowRoot)(s);(0,zHt.updateCSS)(a,"@ant-design-icons",{prepend:!o,csp:r,attachTo:l})},[])};var XIe=xr.default,JHt=sa.default;Object.defineProperty(X2,"__esModule",{value:!0});X2.default=void 0;var eUt=XIe(UIe),FC=XIe(p0),tUt=JHt(p),y1=Ms,nUt=["icon","className","onClick","style","primaryColor","secondaryColor"],yw={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function rUt(e){var t=e.primaryColor,n=e.secondaryColor;yw.primaryColor=t,yw.secondaryColor=n||(0,y1.getSecondaryColor)(t),yw.calculated=!!n}function iUt(){return(0,FC.default)({},yw)}var u3=function(t){var n=t.icon,r=t.className,i=t.onClick,o=t.style,a=t.primaryColor,s=t.secondaryColor,l=(0,eUt.default)(t,nUt),c=tUt.useRef(),u=yw;if(a&&(u={primaryColor:a,secondaryColor:s||(0,y1.getSecondaryColor)(a)}),(0,y1.useInsertStyles)(c),(0,y1.warning)((0,y1.isIconDefinition)(n),"icon should be icon definiton, but got ".concat(n)),!(0,y1.isIconDefinition)(n))return null;var d=n;return d&&typeof d.icon=="function"&&(d=(0,FC.default)((0,FC.default)({},d),{},{icon:d.icon(u.primaryColor,u.secondaryColor)})),(0,y1.generate)(d.icon,"svg-".concat(d.name),(0,FC.default)((0,FC.default)({className:r,onClick:i,style:o,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},l),{},{ref:c}))};u3.displayName="IconReact";u3.getTwoToneColors=iUt;u3.setTwoToneColors=rUt;X2.default=u3;var d3={},ZIe=xr.default;Object.defineProperty(d3,"__esModule",{value:!0});d3.getTwoToneColor=lUt;d3.setTwoToneColor=sUt;var oUt=ZIe(BIe),JIe=ZIe(X2),aUt=Ms;function sUt(e){var t=(0,aUt.normalizeTwoToneColors)(e),n=(0,oUt.default)(t,2),r=n[0],i=n[1];return JIe.default.setTwoToneColors({primaryColor:r,secondaryColor:i})}function lUt(){var e=JIe.default.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var M0=xr.default,cUt=sa.default;Object.defineProperty(XS,"__esModule",{value:!0});XS.default=void 0;var uUt=M0(o3),dUt=M0(BIe),nce=M0(Kve),fUt=M0(UIe),ZR=cUt(p),pUt=M0(i5),hUt=Q2,mUt=M0(ZS),gUt=M0(X2),KK=d3,vUt=Ms,bUt=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];(0,KK.setTwoToneColor)(hUt.blue.primary);var f3=ZR.forwardRef(function(e,t){var n=e.className,r=e.icon,i=e.spin,o=e.rotate,a=e.tabIndex,s=e.onClick,l=e.twoToneColor,c=(0,fUt.default)(e,bUt),u=ZR.useContext(mUt.default),d=u.prefixCls,f=d===void 0?"anticon":d,h=u.rootClassName,m=(0,pUt.default)(h,f,(0,nce.default)((0,nce.default)({},"".concat(f,"-").concat(r.name),!!r.name),"".concat(f,"-spin"),!!i||r.name==="loading"),n),g=a;g===void 0&&s&&(g=-1);var v=o?{msTransform:"rotate(".concat(o,"deg)"),transform:"rotate(".concat(o,"deg)")}:void 0,y=(0,vUt.normalizeTwoToneColors)(l),b=(0,dUt.default)(y,2),_=b[0],E=b[1];return ZR.createElement("span",(0,uUt.default)({role:"img","aria-label":r.name},c,{ref:t,tabIndex:g,onClick:s,className:m}),ZR.createElement(gUt.default,{icon:r,primaryColor:_,secondaryColor:E,style:v}))});f3.displayName="AntdIcon";f3.getTwoToneColor=KK.getTwoToneColor;f3.setTwoToneColor=KK.setTwoToneColor;XS.default=f3;var yUt=["isLoading","pastDelay","timedOut","error","retry"],_Ut=function(t){t.isLoading,t.pastDelay,t.timedOut,t.error,t.retry;var n=Dt(t,yUt);return H.jsx("div",{style:{paddingBlockStart:100,textAlign:"center"},children:H.jsx(Nc,G({size:"large"},n))})},SUt=function(t){return ee({},t.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:t.colorTextSecondary,"&-link":{color:t.colorTextSecondary,textDecoration:t.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8},"&:hover":{color:t.colorPrimary}},"&-copyright":{fontSize:"14px",color:t.colorText}})};function EUt(e){return zi("ProLayoutFooter",function(t){var n=G(G({},t),{},{componentCls:".".concat(e)});return[SUt(n)]})}var CUt=function(t){var n=t.className,r=t.prefixCls,i=t.links,o=t.copyright,a=t.style,s=p.useContext(Ln.ConfigContext),l=s.getPrefixCls(r||"pro-global-footer"),c=EUt(l),u=c.wrapSSR,d=c.hashId;return(i==null||i===!1||Array.isArray(i)&&i.length===0)&&(o==null||o===!1)?null:u(H.jsxs("div",{className:xe(l,d,n),style:a,children:[i&&H.jsx("div",{className:"".concat(l,"-list ").concat(d).trim(),children:i.map(function(f){return H.jsx("a",{className:"".concat(l,"-list-link ").concat(d).trim(),title:f.key,target:f.blankTarget?"_blank":"_self",href:f.href,rel:"noreferrer",children:f.title},f.key)})}),o&&H.jsx("div",{className:"".concat(l,"-copyright ").concat(d).trim(),children:o})]}))},wUt=fo.Footer,TUt=function(t){var n=t.links,r=t.copyright,i=t.style,o=t.className,a=t.prefixCls;return H.jsx(wUt,{className:o,style:G({padding:0},i),children:H.jsx(CUt,{links:n,prefixCls:a,copyright:r===!1?null:H.jsxs(p.Fragment,{children:[H.jsx(sgt,{})," ",r]})})})},rce=function e(t){return(t||[]).reduce(function(n,r){if(r.key&&n.push(r.key),r.children||r.routes){var i=n.concat(e(r.children||r.routes)||[]);return i}return n},[])};function p3(e){return e.map(function(t){var n=t.children||[],r=G({},t);if(!r.children&&r.routes&&(r.children=r.routes),!r.name||r.hideInMenu)return null;if(r&&r!==null&&r!==void 0&&r.children){if(!r.hideChildrenInMenu&&n.some(function(i){return i&&i.name&&!i.hideInMenu}))return G(G({},t),{},{children:p3(n)});delete r.children}return delete r.routes,r}).filter(function(t){return t})}var xUt=function(){return H.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:H.jsx("path",{d:"M0 0h3v3H0V0zm4.5 0h3v3h-3V0zM9 0h3v3H9V0zM0 4.5h3v3H0v-3zm4.503 0h3v3h-3v-3zM9 4.5h3v3H9v-3zM0 9h3v3H0V9zm4.503 0h3v3h-3V9zM9 9h3v3H9V9z"})})},OUt=function e(t){var n=t.appList,r=t.baseClassName,i=t.hashId,o=t.itemClick;return H.jsx("div",{className:"".concat(r,"-content ").concat(i).trim(),children:H.jsx("ul",{className:"".concat(r,"-content-list ").concat(i).trim(),children:n==null?void 0:n.map(function(a,s){var l;return a!=null&&(l=a.children)!==null&&l!==void 0&&l.length?H.jsxs("div",{className:"".concat(r,"-content-list-item-group ").concat(i).trim(),children:[H.jsx("div",{className:"".concat(r,"-content-list-item-group-title ").concat(i).trim(),children:a.title}),H.jsx(e,{hashId:i,itemClick:o,appList:a==null?void 0:a.children,baseClassName:r})]},s):H.jsx("li",{className:"".concat(r,"-content-list-item ").concat(i).trim(),onClick:function(u){u.stopPropagation(),o==null||o(a)},children:H.jsxs("a",{href:o?void 0:a.url,target:a.target,rel:"noreferrer",children:[QK(a.icon),H.jsxs("div",{children:[H.jsx("div",{children:a.title}),a.desc?H.jsx("span",{children:a.desc}):null]})]})},s)})})})},RUt=function(t,n){if(t&&typeof t=="string"&&gK(t))return H.jsx("img",{src:t,alt:"logo"});if(typeof t=="function")return t();if(t&&typeof t=="string")return H.jsx("div",{id:"avatarLogo",children:t});if(!t&&n&&typeof n=="string"){var r=n.substring(0,1);return H.jsx("div",{id:"avatarLogo",children:r})}return t},IUt=function e(t){var n=t.appList,r=t.baseClassName,i=t.hashId,o=t.itemClick;return H.jsx("div",{className:"".concat(r,"-content ").concat(i).trim(),children:H.jsx("ul",{className:"".concat(r,"-content-list ").concat(i).trim(),children:n==null?void 0:n.map(function(a,s){var l;return a!=null&&(l=a.children)!==null&&l!==void 0&&l.length?H.jsxs("div",{className:"".concat(r,"-content-list-item-group ").concat(i).trim(),children:[H.jsx("div",{className:"".concat(r,"-content-list-item-group-title ").concat(i).trim(),children:a.title}),H.jsx(e,{hashId:i,itemClick:o,appList:a==null?void 0:a.children,baseClassName:r})]},s):H.jsx("li",{className:"".concat(r,"-content-list-item ").concat(i).trim(),onClick:function(u){u.stopPropagation(),o==null||o(a)},children:H.jsxs("a",{href:o?"javascript:;":a.url,target:a.target,rel:"noreferrer",children:[RUt(a.icon,a.title),H.jsx("div",{children:H.jsx("div",{children:a.title})})]})},s)})})})},AUt=function(t){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"content-box",maxWidth:656,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:328,height:72,paddingInline:16,paddingBlock:16,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:t.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:t.colorBgTextHover},"* div":z$==null?void 0:z$(t),a:{display:"flex",height:"100%",fontSize:12,textDecoration:"none","& > img":{width:40,height:40},"& > div":{marginInlineStart:14,color:t.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:t.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},NUt=function(t){return{"&-content":{maxHeight:"calc(100vh - 48px)",overflow:"auto","&-list":{boxSizing:"border-box",maxWidth:376,marginBlock:0,marginInline:0,paddingBlock:0,paddingInline:0,listStyle:"none","&-item":{position:"relative",display:"inline-block",width:104,height:104,marginBlock:8,marginInline:8,paddingInline:24,paddingBlock:24,verticalAlign:"top",listStyleType:"none",transition:"transform 0.2s cubic-bezier(0.333, 0, 0, 1)",borderRadius:t.borderRadius,"&-group":{marginBottom:16,"&-title":{margin:"16px 0 8px 12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginTop:12}}},"&:hover":{backgroundColor:t.colorBgTextHover},a:{display:"flex",flexDirection:"column",alignItems:"center",height:"100%",fontSize:12,textDecoration:"none","& > #avatarLogo":{width:40,height:40,margin:"0 auto",color:t.colorPrimary,fontSize:22,lineHeight:"40px",textAlign:"center",backgroundImage:"linear-gradient(180deg, #E8F0FB 0%, #F6F8FC 100%)",borderRadius:t.borderRadius},"& > img":{width:40,height:40},"& > div":{marginBlockStart:5,marginInlineStart:0,color:t.colorTextHeading,fontSize:14,lineHeight:"22px",whiteSpace:"nowrap",textOverflow:"ellipsis"},"& > div > span":{color:t.colorTextSecondary,fontSize:12,lineHeight:"20px"}}}}}}},MUt=function(t){var n,r,i,o,a;return ee({},t.componentCls,{"&-icon":{display:"inline-flex",alignItems:"center",justifyContent:"center",paddingInline:4,paddingBlock:0,fontSize:14,lineHeight:"14px",height:28,width:28,cursor:"pointer",color:(n=t.layout)===null||n===void 0?void 0:n.colorTextAppListIcon,borderRadius:t.borderRadius,"&:hover":{color:(r=t.layout)===null||r===void 0?void 0:r.colorTextAppListIconHover,backgroundColor:(i=t.layout)===null||i===void 0?void 0:i.colorBgAppListIconHover},"&-active":{color:(o=t.layout)===null||o===void 0?void 0:o.colorTextAppListIconHover,backgroundColor:(a=t.layout)===null||a===void 0?void 0:a.colorBgAppListIconHover}},"&-item-title":{marginInlineStart:"16px",marginInlineEnd:"8px",marginBlockStart:0,marginBlockEnd:"12px",fontWeight:600,color:"rgba(0, 0, 0, 0.88)",fontSize:16,opacity:.85,lineHeight:1.5,"&:first-child":{marginBlockStart:12}},"&-popover":ee({},"".concat(t.antCls,"-popover-arrow"),{display:"none"}),"&-simple":NUt(t),"&-default":AUt(t)})};function kUt(e){return zi("AppsLogoComponents",function(t){var n=G(G({},t),{},{componentCls:".".concat(e)});return[MUt(n)]})}var QK=function(t){return typeof t=="string"?H.jsx("img",{width:"auto",height:22,src:t,alt:"logo"}):typeof t=="function"?t():t},XK=function(t){var n,r=t.appList,i=t.appListRender,o=t.prefixCls,a=o===void 0?"ant-pro":o,s=t.onItemClick,l=se.useRef(null),c=se.useRef(null),u="".concat(a,"-layout-apps"),d=kUt(u),f=d.wrapSSR,h=d.hashId,m=p.useState(!1),g=Ie(m,2),v=g[0],y=g[1],b=function(w){s==null||s(w,c)},_=p.useMemo(function(){var S=r==null?void 0:r.some(function(w){return!(w!=null&&w.desc)});return S?H.jsx(IUt,{hashId:h,appList:r,itemClick:s?b:void 0,baseClassName:"".concat(u,"-simple")}):H.jsx(OUt,{hashId:h,appList:r,itemClick:s?b:void 0,baseClassName:"".concat(u,"-default")})},[r,u,h]);if(!(t!=null&&(n=t.appList)!==null&&n!==void 0&&n.length))return null;var E=i?i(t==null?void 0:t.appList,_):_,C=D2(void 0,function(S){return y(S)});return f(H.jsxs(H.Fragment,{children:[H.jsx("div",{ref:l,onClick:function(w){w.stopPropagation(),w.preventDefault()}}),H.jsx(yu,G(G({placement:"bottomRight",trigger:["click"],zIndex:9999,arrow:!1},C),{},{overlayClassName:"".concat(u,"-popover ").concat(h).trim(),content:E,getPopupContainer:function(){return l.current||document.body},children:H.jsx("span",{ref:c,onClick:function(w){w.stopPropagation()},className:xe("".concat(u,"-icon"),h,ee({},"".concat(u,"-icon-active"),v)),children:H.jsx(xUt,{})})}))]}))};function PUt(){return H.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"currentColor","aria-hidden":"true",children:H.jsx("path",{d:"M6.432 7.967a.448.448 0 01-.318.133h-.228a.46.46 0 01-.318-.133L2.488 4.85a.305.305 0 010-.43l.427-.43a.293.293 0 01.42 0L6 6.687l2.665-2.699a.299.299 0 01.426 0l.42.431a.305.305 0 010 .43L6.432 7.967z"})})}var DUt=function(t){var n,r,i;return ee({},t.componentCls,{position:"absolute",insetBlockStart:"18px",zIndex:"101",width:"24px",height:"24px",fontSize:["14px","16px"],textAlign:"center",borderRadius:"40px",insetInlineEnd:"-13px",transition:"transform 0.3s",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:(n=t.layout)===null||n===void 0||(n=n.sider)===null||n===void 0?void 0:n.colorTextCollapsedButton,backgroundColor:(r=t.layout)===null||r===void 0||(r=r.sider)===null||r===void 0?void 0:r.colorBgCollapsedButton,boxShadow:"0 2px 8px -2px rgba(0,0,0,0.05), 0 1px 4px -1px rgba(25,15,15,0.07), 0 0 1px 0 rgba(0,0,0,0.08)","&:hover":{color:(i=t.layout)===null||i===void 0||(i=i.sider)===null||i===void 0?void 0:i.colorTextCollapsedButtonHover,boxShadow:"0 4px 16px -4px rgba(0,0,0,0.05), 0 2px 8px -2px rgba(25,15,15,0.07), 0 1px 2px 0 rgba(0,0,0,0.08)"},".anticon":{fontSize:"14px"},"& > svg":{transition:"transform 0.3s",transform:"rotate(90deg)"},"&-collapsed":{"& > svg":{transform:"rotate(-90deg)"}}})};function LUt(e){return zi("SiderMenuCollapsedIcon",function(t){var n=G(G({},t),{},{componentCls:".".concat(e)});return[DUt(n)]})}var $Ut=["isMobile","collapsed"],FUt=function(t){var n=t.isMobile,r=t.collapsed,i=Dt(t,$Ut),o=LUt(t.className),a=o.wrapSSR,s=o.hashId;return n&&r?null:a(H.jsx("div",G(G({},i),{},{className:xe(t.className,s,ee(ee({},"".concat(t.className,"-collapsed"),r),"".concat(t.className,"-is-mobile"),n)),children:H.jsx(PUt,{})})))},eAe={navTheme:"light",layout:"side",contentWidth:"Fluid",fixedHeader:!1,fixSiderbar:!0,iconfontUrl:"",colorPrimary:"#1677FF",splitMenus:!1},BUt=function(t,n){var r,i,o=n.includes("horizontal")?(r=t.layout)===null||r===void 0?void 0:r.header:(i=t.layout)===null||i===void 0?void 0:i.sider;return G(G(ee({},"".concat(t.componentCls),ee(ee(ee(ee(ee(ee(ee(ee(ee({background:"transparent",color:o==null?void 0:o.colorTextMenu,border:"none"},"".concat(t.componentCls,"-menu-item"),{transition:"none !important"}),"".concat(t.componentCls,"-submenu-has-icon"),ee({},"> ".concat(t.antCls,"-menu-sub"),{paddingInlineStart:10})),"".concat(t.antCls,"-menu-title-content"),{width:"100%",height:"100%",display:"inline-flex"}),"".concat(t.antCls,"-menu-title-content"),{"&:first-child":{width:"100%"}}),"".concat(t.componentCls,"-item-icon"),{display:"flex",alignItems:"center"}),"&&-collapsed",ee(ee(ee({},"".concat(t.antCls,`-menu-item, `).concat(t.antCls,"-menu-item-group > ").concat(t.antCls,"-menu-item-group-list > ").concat(t.antCls,`-menu-item, `).concat(t.antCls,"-menu-item-group > ").concat(t.antCls,"-menu-item-group-list > ").concat(t.antCls,"-menu-submenu > ").concat(t.antCls,`-menu-submenu-title, `).concat(t.antCls,"-menu-submenu > ").concat(t.antCls,"-menu-submenu-title"),{paddingInline:"0 !important",marginBlock:"4px !important"}),"".concat(t.antCls,"-menu-item-group > ").concat(t.antCls,"-menu-item-group-list > ").concat(t.antCls,"-menu-submenu-selected > ").concat(t.antCls,`-menu-submenu-title, @@ -721,7 +721,7 @@ For more details see https://formatjs.io/docs/getting-started/message-distributi * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Wa=typeof Symbol=="function"&&Symbol.for,fQ=Wa?Symbol.for("react.element"):60103,pQ=Wa?Symbol.for("react.portal"):60106,g3=Wa?Symbol.for("react.fragment"):60107,v3=Wa?Symbol.for("react.strict_mode"):60108,b3=Wa?Symbol.for("react.profiler"):60114,y3=Wa?Symbol.for("react.provider"):60109,_3=Wa?Symbol.for("react.context"):60110,hQ=Wa?Symbol.for("react.async_mode"):60111,S3=Wa?Symbol.for("react.concurrent_mode"):60111,E3=Wa?Symbol.for("react.forward_ref"):60112,C3=Wa?Symbol.for("react.suspense"):60113,CWt=Wa?Symbol.for("react.suspense_list"):60120,w3=Wa?Symbol.for("react.memo"):60115,T3=Wa?Symbol.for("react.lazy"):60116,wWt=Wa?Symbol.for("react.block"):60121,TWt=Wa?Symbol.for("react.fundamental"):60117,xWt=Wa?Symbol.for("react.responder"):60118,OWt=Wa?Symbol.for("react.scope"):60119;function kc(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case fQ:switch(e=e.type,e){case hQ:case S3:case g3:case b3:case v3:case C3:return e;default:switch(e=e&&e.$$typeof,e){case _3:case E3:case T3:case w3:case y3:return e;default:return t}}case pQ:return t}}}function HAe(e){return kc(e)===S3}Ri.AsyncMode=hQ;Ri.ConcurrentMode=S3;Ri.ContextConsumer=_3;Ri.ContextProvider=y3;Ri.Element=fQ;Ri.ForwardRef=E3;Ri.Fragment=g3;Ri.Lazy=T3;Ri.Memo=w3;Ri.Portal=pQ;Ri.Profiler=b3;Ri.StrictMode=v3;Ri.Suspense=C3;Ri.isAsyncMode=function(e){return HAe(e)||kc(e)===hQ};Ri.isConcurrentMode=HAe;Ri.isContextConsumer=function(e){return kc(e)===_3};Ri.isContextProvider=function(e){return kc(e)===y3};Ri.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===fQ};Ri.isForwardRef=function(e){return kc(e)===E3};Ri.isFragment=function(e){return kc(e)===g3};Ri.isLazy=function(e){return kc(e)===T3};Ri.isMemo=function(e){return kc(e)===w3};Ri.isPortal=function(e){return kc(e)===pQ};Ri.isProfiler=function(e){return kc(e)===b3};Ri.isStrictMode=function(e){return kc(e)===v3};Ri.isSuspense=function(e){return kc(e)===C3};Ri.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===g3||e===S3||e===b3||e===v3||e===C3||e===CWt||typeof e=="object"&&e!==null&&(e.$$typeof===T3||e.$$typeof===w3||e.$$typeof===y3||e.$$typeof===_3||e.$$typeof===E3||e.$$typeof===TWt||e.$$typeof===xWt||e.$$typeof===OWt||e.$$typeof===wWt)};Ri.typeOf=kc;jAe.exports=Ri;var RWt=jAe.exports,UAe=RWt,IWt={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},AWt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},zAe={};zAe[UAe.ForwardRef]=IWt;zAe[UAe.Memo]=AWt;var mQ=typeof window<"u"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=p.createContext(null)):p.createContext(null);mQ.Consumer;var NWt=mQ.Provider,MWt=NWt,kWt=mQ;function Si(){var e=p.useContext(kWt);return FAe(e),e}var Sz;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(Sz||(Sz={}));var Ez;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(Ez||(Ez={}));function VAe(e){var t=function(n){var r=Si(),i=n.value,o=n.children,a=O_(n,["value","children"]),s=typeof i=="string"?new Date(i||0):i,l=e==="formatDate"?r.formatDateToParts(s,a):r.formatTimeToParts(s,a);return o(l)};return t.displayName=Ez[e],t}function tO(e){var t=function(n){var r=Si(),i=n.value,o=n.children,a=O_(n,["value","children"]),s=r[e](i,a);if(typeof o=="function")return o(s);var l=r.textComponent||p.Fragment;return p.createElement(l,null,s)};return t.displayName=Sz[e],t}function GAe(e){return e&&Object.keys(e).reduce(function(t,n){var r=e[n];return t[n]=NAe(r)?EWt(r):r,t},{})}var Nce=function(e,t,n,r){for(var i=[],o=4;o{const n=Si(),[r,i]=p.useState(),[o,a]=p.useState(),s=async()=>{const u=await oGt();u.data.code===200&&(i(u.data.data.captchaUid),a(u.data.data.captchaImage))},l=async(u,d)=>{const f=await aGt(u,d);console.log("checkCaptcha response",f),f.data.code===200?t&&t(!0):t&&t(!1)};p.useEffect(()=>{s()},[]);const c=u=>{e&&(e(r,u.target.value),u.target.value&&u.target.value!==""&&u.target.value.trim().length===4?l(r,u.target.value):t&&t(!1))};return H.jsx(H.Fragment,{children:o&&H.jsxs(H.Fragment,{children:[H.jsx(Ki,{onChange:c,prefix:H.jsx(O1t,{}),placeholder:n.formatMessage({id:"captcha",defaultMessage:"captcha"}),style:{width:"65%",float:"left",height:40}}),H.jsx("img",{src:o,alt:"captcha",onClick:s})]})})},LWt=({loginType:e,onKaptchaChange:t,onKaptchaCheck:n,onRememberChange:r})=>{const i=Si(),[o,a]=p.useState(!1);return p.useEffect(()=>{if(o)return;const s=localStorage.getItem(oc);if(s)try{const{username:l,remember:c}=JSON.parse(s);l&&(r==null||r(l,!!c),a(!0))}catch(l){console.error("Failed to parse saved credentials:",l)}},[r,o]),H.jsx(H.Fragment,{children:e==="account"&&H.jsxs("div",{children:[H.jsx(ci,{name:"username",fieldProps:{size:"large",prefix:H.jsx(CD,{className:"prefixIcon"}),onChange:()=>{a(!0)},onClear:()=>{console.log("onClear");const s=localStorage.getItem(oc);if(s)try{const l=JSON.parse(s),{username:c,...u}=l;console.log("username",c),console.log("rest",u),localStorage.setItem(oc,JSON.stringify(u))}catch(l){console.error("Failed to parse saved credentials:",l)}}},placeholder:i.formatMessage({id:"pages.login.username.placeholder",defaultMessage:"邮箱"}),rules:[{required:!0,message:H.jsx(ad,{id:"pages.login.username.required",defaultMessage:"请输入邮箱!"})}]}),H.jsx(ci.Password,{name:"password",fieldProps:{size:"large",prefix:H.jsx(x0,{className:"prefixIcon"})},placeholder:i.formatMessage({id:"pages.login.password.placeholder",defaultMessage:"密码"}),rules:[{required:!0,message:H.jsx(ad,{id:"pages.login.password.required",defaultMessage:"请输入密码!"})}]}),H.jsx(Dr.Item,{name:"captchaCode",rules:[{required:!0,message:i.formatMessage({id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],children:H.jsx(JS,{onKaptchaChange:t,onKaptchaCheck:n})})]})})};async function $Wt(e){return $r("/auth/v1/login",{method:"POST",data:{...e,client:wr}})}async function gQ(e){return $r("/auth/v1/send/mobile",{method:"POST",data:{...e,client:wr}})}async function qAe(e){return $r("/auth/v1/send/email",{method:"POST",data:{...e,client:wr}})}async function FWt(e){return $r("/auth/v1/login/mobile",{method:"POST",data:{...e,client:wr}})}async function BWt(e,t){return $r("/auth/v1/vip/scan/query",{method:"GET",params:{deviceUid:e,forceRefresh:t,client:wr}})}async function jWt(e){return $r("/auth/v1/vip/scan/login",{method:"POST",data:{...e,client:wr}})}async function HWt(e){return $r("/api/v1/user/logout",{method:"POST",data:{client:wr}})}const UWt=({loginType:e,onKaptchaChange:t,onKaptchaCheck:n,onRememberChange:r})=>{const i=Si(),[o,a]=p.useState(""),[s,l]=p.useState(""),[c,u]=p.useState(!1),[d,f]=p.useState(!1);p.useEffect(()=>{if(d)return;const y=localStorage.getItem(oc);if(y)try{const{mobile:b}=JSON.parse(y);b&&(r==null||r(b),f(!0))}catch(b){console.error("Failed to parse saved credentials:",b)}},[r,d]);const h=async(y,b)=>{a(y),l(b),t&&t(y,b)},m=async y=>{u(y),n&&n(y)},g=[{label:i.formatMessage({id:"pages.login.country.china"}),value:"86",icon:"🇨🇳",code:"CN"},{label:i.formatMessage({id:"pages.login.country.hongkong"}),value:"852",icon:"🇭🇰",code:"HK"},{label:i.formatMessage({id:"pages.login.country.taiwan"}),value:"886",icon:"🇹🇼",code:"TW"},{label:i.formatMessage({id:"pages.login.country.macao"}),value:"853",icon:"🇲🇴",code:"MO"},{label:i.formatMessage({id:"pages.login.country.japan"}),value:"81",icon:"🇯🇵",code:"JP"},{label:i.formatMessage({id:"pages.login.country.korea"}),value:"82",icon:"🇰🇷",code:"KR"},{label:i.formatMessage({id:"pages.login.country.singapore"}),value:"65",icon:"🇸🇬",code:"SG"},{label:i.formatMessage({id:"pages.login.country.malaysia"}),value:"60",icon:"🇲🇾",code:"MY"},{label:i.formatMessage({id:"pages.login.country.thailand"}),value:"66",icon:"🇹🇭",code:"TH"},{label:i.formatMessage({id:"pages.login.country.vietnam"}),value:"84",icon:"🇻🇳",code:"VN"},{label:i.formatMessage({id:"pages.login.country.philippines"}),value:"63",icon:"🇵🇭",code:"PH"},{label:i.formatMessage({id:"pages.login.country.indonesia"}),value:"62",icon:"🇮🇩",code:"ID"},{label:i.formatMessage({id:"pages.login.country.usa"}),value:"1-us",icon:"🇺🇸",code:"US"},{label:i.formatMessage({id:"pages.login.country.canada"}),value:"1-ca",icon:"🇨🇦",code:"CA"},{label:i.formatMessage({id:"pages.login.country.uk"}),value:"44",icon:"🇬🇧",code:"GB"},{label:i.formatMessage({id:"pages.login.country.germany"}),value:"49",icon:"🇩🇪",code:"DE"},{label:i.formatMessage({id:"pages.login.country.france"}),value:"33",icon:"🇫🇷",code:"FR"},{label:i.formatMessage({id:"pages.login.country.italy"}),value:"39",icon:"🇮🇹",code:"IT"},{label:i.formatMessage({id:"pages.login.country.spain"}),value:"34",icon:"🇪🇸",code:"ES"},{label:i.formatMessage({id:"pages.login.country.russia"}),value:"7",icon:"🇷🇺",code:"RU"},{label:i.formatMessage({id:"pages.login.country.australia"}),value:"61",icon:"🇦🇺",code:"AU"},{label:i.formatMessage({id:"pages.login.country.newzealand"}),value:"64",icon:"🇳🇿",code:"NZ"}],v=y=>{const b=y.value.includes("-")?y.value.split("-")[0]:y.value;return H.jsxs("div",{children:[H.jsx("span",{role:"img","aria-label":y.label,style:{marginRight:8},children:y.icon}),y.label," (+",b,")"]})};return H.jsx(H.Fragment,{children:e==="mobile"&&H.jsxs(H.Fragment,{children:[H.jsxs(w2,{gutter:16,children:[H.jsx(zv,{span:10,children:H.jsx(K2,{name:"country",options:g,fieldProps:{size:"large",placeholder:i.formatMessage({id:"pages.login.country.placeholder",defaultMessage:"选择国家/地区"}),optionLabelProp:"label",optionItemRender:v},initialValue:"86"})}),H.jsx(zv,{span:14,children:H.jsx(ci,{fieldProps:{size:"large",prefix:H.jsx(R2,{className:"prefixIcon"}),onChange:()=>{f(!0)},onClear:()=>{console.log("onClear");const y=localStorage.getItem(oc);if(y)try{const b=JSON.parse(y),{mobile:_,...E}=b;console.log("saved:",_,b),localStorage.setItem(oc,JSON.stringify(E))}catch(b){console.error("Failed to parse saved credentials:",b)}}},name:"mobile",placeholder:i.formatMessage({id:"pages.login.phoneNumber.placeholder",defaultMessage:"手机号"}),rules:[{required:!0,message:H.jsx(ad,{id:"pages.login.phoneNumber.required",defaultMessage:"请输入手机号!"})},{pattern:/^1\d{10}$/,message:H.jsx(ad,{id:"pages.login.phoneNumber.invalid",defaultMessage:"手机号格式错误!"})}]})})]}),H.jsx(Dr.Item,{name:"captchaCode",rules:[{required:!0,message:i.formatMessage({id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],children:H.jsx(JS,{onKaptchaChange:h,onKaptchaCheck:m})}),H.jsx(F2,{fieldProps:{size:"large",prefix:H.jsx(x0,{className:"prefixIcon"})},captchaProps:{size:"large",disabled:!c},placeholder:i.formatMessage({id:"pages.login.captcha.placeholder",defaultMessage:"请输入验证码"}),captchaTextRender:(y,b)=>y?`${b} ${i.formatMessage({id:"pages.getCaptchaSecondText",defaultMessage:"获取验证码"})}`:i.formatMessage({id:"pages.login.phoneLogin.getVerificationCode",defaultMessage:"获取验证码"}),phoneName:"mobile",name:"code",rules:[{required:!0,message:H.jsx(ad,{id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],onGetCaptcha:async y=>{if(console.log("mobile:",y),y&&y.length===11){const _=await gQ({mobile:y,type:E6e,captchaUid:o,captchaCode:s,platform:mu});if(console.log("sendMobileCode:",_.data),_.data.code!==200){Wt.error(i.formatMessage({id:_.data.message,defaultMessage:_.data.message}));return}Wt.success(i.formatMessage({id:_.data.message,defaultMessage:_.data.message}))}else Wt.error("手机号格式错误")}}),H.jsx(WSe,{message:H.jsx(ad,{id:"pages.login.auto.register",defaultMessage:"Mobile will auto register"}),type:"info"})]})})},zWt=({loginType:e})=>{const t=Si(),n=Na(),r=Ra(h=>h.setUserInfo),i=Ux(h=>h.setAccessToken),{deviceUid:o,setDeviceUid:a}=Ra(h=>({deviceUid:h.deviceUid,setDeviceUid:h.setDeviceUid})),[s,l]=p.useState("login"),[c,u]=p.useState("loading"),d=async h=>{console.log("handleScanLogin values: ",h),Wt.loading(t.formatMessage({id:"logging",defaultMessage:"logging..."}));const m=await jWt({...h});console.log("LoginMobileResult scanLogin:",m.data),m.data.code===200?(Wt.destroy(),Wt.success(t.formatMessage({id:"pages.login.success",defaultMessage:"login success"})),r(m.data.data.user),i(m.data.data.accessToken),n("/chat"),EU()):(Wt.destroy(),Wt.error(m.data.message))},f=async h=>{if(e!="scan")return;const m=await BWt(o,h);if(m.data.code===200){const g=m.data.data;if(console.log("handleScanQuery status: ",g.status),g.status===O6e)u("active"),l("deviceUid="+g.deviceUid+"&code="+g.content);else if(g.status===R6e)u("scanned");else if(g.status===A6e)u("expired");else if(g.status===I6e){if(g.receiver===void 0||g.receiver==="")return;let v={mobile:g.receiver,code:g.content,platform:mu};console.log("login scan info:",v),await d(v)}}else Wt.error(m.data.message)};return p.useEffect(()=>{console.log("scan deviceUid:",o),(o===void 0||o==="")&&a(rP()),f(!0);const h=setInterval(()=>{f(!1)},3e3);return()=>{clearInterval(h)}},[e,o]),H.jsx(H.Fragment,{children:e==="scan"&&H.jsx(H.Fragment,{children:H.jsx(c2e,{style:{margin:"auto"},value:s,status:c,onRefresh:()=>{console.log("onRefresh"),f(!0)}})})})},YAe=()=>{const{token:e}=Es.useToken(),{isCustomServer:t,setIsCustomServer:n}=p.useContext(as),[r]=Dr.useForm(),[i,o]=p.useState(!1),[a,s]=p.useState(""),[l,c]=p.useState(""),u=Si(),d=()=>{console.log("switch server"),n(m=>!m)};p.useEffect(()=>{a&&a.length>0&&(r.setFieldsValue({apiUrl:a}),console.log("apiUrl:",a))},[a]),p.useEffect(()=>{if(t){const m=localStorage.getItem(Xb);m==="true"&&(o(!0),r.setFieldsValue({isCustomServerEnabled:!0})),console.log("isCustomServer customEnabled:",m);const g=localStorage.getItem(CC);g&&r.setFieldsValue({apiUrl:K0(g)});const v=localStorage.getItem(wC);v&&r.setFieldsValue({websocketUrl:K0(v)})}},[t]);const f=m=>{if(console.log("handleCustomServerChange e:",m),o(m.target.checked),m.target.checked){const g=localStorage.getItem(CC);g&&r.setFieldsValue({apiUrl:K0(g)});const v=localStorage.getItem(wC);v&&r.setFieldsValue({websocketUrl:K0(v)}),console.log("initData apiUrl:",g,"websocketUrl:",v)}else localStorage.setItem(Xb,"false")},h=(m,g)=>(console.log("props:",m,g),H.jsxs("div",{style:{display:"flex",justifyContent:"center",gap:"8px"},children:[H.jsx($n,{icon:H.jsx(Wmt,{}),onClick:d,children:u.formatMessage({id:"server.button.back"})},"back"),H.jsx($n,{type:"primary",onClick:()=>{let v=m.form.getFieldValue("apiUrl");v=K0(v.trim());let y=m.form.getFieldValue("websocketUrl");y=K0(y.trim()),v&&v.trim().length>0&&y&&y.trim().length>0?(localStorage.setItem(CC,v),localStorage.setItem(wC,y),localStorage.setItem(Xb,"true"),Wt.success(u.formatMessage({id:"server.save.success"}))):Wt.error("请输入正确的服务器地址")},children:u.formatMessage({id:"server.button.save"})},"submit"),H.jsx($n,{onClick:()=>{var v;(v=m.form)==null||v.resetFields(),s(""),localStorage.setItem(Xb,"false"),localStorage.setItem(CC,""),localStorage.setItem(wC,""),Wt.success(u.formatMessage({id:"server.reset.success"}))},children:u.formatMessage({id:"server.button.reset"})},"reset"),H.jsx($n,{onClick:()=>{HT("https://www.weiyuai.cn/docs/zh-CN/docs/manual/agent/auth/login")},children:u.formatMessage({id:"server.button.help"})},"help")]}));return H.jsx("div",{className:"ant-pro-form-server-container",style:{backgroundColor:e.colorBgContainer,display:"flex",justifyContent:"center",flexDirection:"column",height:"100%",width:"80%",marginLeft:"10%"},children:H.jsxs(Dr,{className:"ant-pro-form-server-main",form:r,submitter:{render:h},children:[H.jsx(HK,{name:"isCustomServerEnabled",fieldProps:{onChange:f},children:u.formatMessage({id:"server.custom.enable"})}),i&&H.jsxs(H.Fragment,{children:[H.jsx(ci,{name:"apiUrl",label:u.formatMessage({id:"server.api.url.label"}),fieldProps:{disabled:!i,placeholder:u.formatMessage({id:"server.api.url.placeholder"}),onChange:m=>s(m.target.value)}}),H.jsx(ci,{name:"websocketUrl",label:u.formatMessage({id:"server.websocket.url.label"}),fieldProps:{disabled:!i,placeholder:u.formatMessage({id:"server.websocket.url.placeholder"}),onChange:m=>c(m.target.value)}})]})]})})},VWt=({isModel:e=!1})=>{const t=Si(),[n]=Dr.useForm(),r=Na(),{isLoggedIn:i}=p.useContext(as),{token:o}=Es.useToken(),[a,s]=p.useState("/notebase/logo.png"),[l,c]=p.useState(""),[u,d]=p.useState(""),f=localStorage.getItem(mB),[h]=p.useState(f||"/"),[m,g]=p.useState("account"),v=Ra(W=>W.setUserInfo),y=Ux(W=>W.setAccessToken),{isCustomServer:b,setIsCustomServer:_}=p.useContext(as),[E,C]=p.useState(!1);p.useEffect(()=>{i&&!e&&r(h)},[i,r,e]);const S=W=>{console.log(`onPrivacyProtocolChange checked = ${W.target.checked}`),C(W.target.checked);const j=localStorage.getItem(oc);if(j)try{const{remember:U}=JSON.parse(j);U&&setTimeout(()=>{n.setFieldsValue({remember:U})},0)}catch(U){console.error("Failed to parse saved credentials:",U)}},w=()=>{HT(Q$e)},[T,O]=p.useState(""),x=async(W,j)=>{O(W),n.setFieldValue("captchaCode",j)},A=async W=>{console.log("handleKaptchaCheck:",W)},I=async W=>{if(console.log("handleSubmit values: ",W,m),!E){Wt.error("请阅读并同意隐私协议");return}Wt.loading(t.formatMessage({id:"logging",defaultMessage:"logging..."}));const j=localStorage.getItem(oc);let U=!1;if(j)try{U=JSON.parse(j).remember}catch(te){console.error("Failed to parse saved credentials:",te)}localStorage.setItem(oc,JSON.stringify({username:W.username,remember:U}));const Z=await $Wt({...W});console.log("LoginResult:",Z.data),Z.data.code===200?(Wt.destroy(),Wt.success(t.formatMessage({id:"pages.login.success",defaultMessage:"login success"})),U&&localStorage.setItem(oc,JSON.stringify({username:W.username,password:W.password,remember:!0})),v(Z.data.data.user),y(Z.data.data.accessToken),e||r(h),EU()):(Wt.destroy(),Wt.error(t.formatMessage({id:Z.data.message,defaultMessage:Z.data.message})))},M=W=>{n.setFieldsValue({mobile:W})},B=async W=>{if(!E){Wt.error(t.formatMessage({id:"login.privacy.required",defaultMessage:"请阅读并同意隐私协议"}));return}const j=localStorage.getItem(oc);let U={};if(j)try{U=JSON.parse(j)}catch(te){console.error("Failed to parse saved credentials:",te)}localStorage.setItem(oc,JSON.stringify({...U,mobile:W.mobile}));const Z=await FWt({...W});console.log("LoginMobileResult:",Z),Z.data.code===200?(Wt.destroy(),Wt.success(t.formatMessage({id:"pages.login.success",defaultMessage:"login success"})),v(Z.data.data.user),y(Z.data.data.accessToken),e||r("/"),EU()):(Wt.destroy(),Wt.error(t.formatMessage({id:Z.data.message,defaultMessage:Z.data.message})))},P=()=>{console.log("switch server"),_(W=>!W)},k=()=>{console.log("handleAnonymousLogin"),r("/anonymous")},N=()=>{if(ud)return{}},L=(W,j)=>{n.setFieldsValue({username:W,remember:j});const U=localStorage.getItem(oc);if(U&&j)try{const{password:Z}=JSON.parse(U);Z&&n.setFieldsValue({password:Z})}catch(Z){console.error("Failed to parse saved credentials:",Z)}},V=async()=>{var j,U,Z,te,ae,K,Q;console.log("getConfig");const W=await x0e();(j=W==null?void 0:W.custom)!=null&&j.enabled?((U=W==null?void 0:W.custom)!=null&&U.logo?s((Z=W==null?void 0:W.custom)==null?void 0:Z.logo):s("/notebase/logo.png"),(te=W==null?void 0:W.custom)!=null&&te.name?c((ae=W==null?void 0:W.custom)==null?void 0:ae.name):c(t.formatMessage({id:"app.title"})),(K=W==null?void 0:W.custom)!=null&&K.description?d((Q=W==null?void 0:W.custom)==null?void 0:Q.description):d(t.formatMessage({id:"slogan"}))):(s("/notebase/logo.png"),c(t.formatMessage({id:"app.title"})),d(t.formatMessage({id:"slogan"}))),T0e()};p.useEffect(()=>{l_e(),V()},[]);const $=[{key:"account",label:t.formatMessage({id:"pages.login.accountLogin.tab",defaultMessage:"账户密码登录"}),children:H.jsx(LWt,{loginType:m,onKaptchaChange:x,onKaptchaCheck:A,onRememberChange:L})},{key:"mobile",label:t.formatMessage({id:"pages.login.phoneLogin.tab",defaultMessage:"手机号登录"}),children:H.jsx(UWt,{loginType:m,onKaptchaChange:x,onKaptchaCheck:A,onRememberChange:M})}];return Z$e&&$.push({key:"scan",label:t.formatMessage({id:"pages.login.scanLogin.tab",defaultMessage:"扫码登录"}),children:H.jsx(zWt,{loginType:m})}),H.jsx(BD,{hashed:!1,children:H.jsxs("div",{style:{backgroundColor:o.colorBgContainer,textAlign:"center",height:"100%"},children:[!b&&H.jsxs(OIe,{form:n,contentStyle:{minWidth:400},logo:H.jsx("img",{alt:"logo",src:J$e}),title:e6e,initialValues:N(),onFinish:async W=>{if(console.log("login:",W),m==="account"){const j={username:W.username,password:W.password,captchaUid:T,captchaCode:W.captchaCode,platform:mu};await I(j)}else if(m==="mobile"){const j={mobile:W.mobile,code:W.code,captchaUid:T,captchaCode:W.captchaCode,platform:mu};await B(j)}else console.log("scan login type")},actions:ud&&H.jsxs(Xi,{children:[H.jsx(ad,{id:"pages.login.loginWith",defaultMessage:"其他登录方式"}),H.jsx($n,{type:"link",onClick:k,children:t.formatMessage({id:"pages.login.anonymousLogin",defaultMessage:"匿名登录"})})]}),children:[H.jsx(wS,{centered:!0,items:$,activeKey:m,onChange:W=>g(W)}),H.jsxs("div",{style:{marginBlockEnd:24,textAlign:"left",marginTop:10},children:[H.jsx(fh,{checked:E,onChange:S,children:H.jsx($n,{size:"small",type:"link",onClick:w,children:t.formatMessage({id:"login.privacy.agreement",defaultMessage:"同意《用户隐私&协议》"})})}),X$e&&H.jsx($n,{type:"link",style:{float:"right",marginBottom:24},onClick:P,children:t.formatMessage({id:"login.switch.server",defaultMessage:"切换服务器"})})]})]}),b&&H.jsx(YAe,{})]})})},Cz=({isModel:e=!1})=>H.jsx(GP,{children:H.jsx(VWt,{isModel:e})}),GWt=()=>{Na();const{token:e}=Es.useToken();return p.useState("phone"),Xl(e.colorTextBase,.2),H.jsx(BD,{hashed:!1,children:H.jsx("div",{style:{backgroundColor:e.colorBgContainer,textAlign:"center",height:"100vh"},children:H.jsxs(OIe,{logo:"./logo.png",title:"微语",subTitle:"注册账号",children:[H.jsxs(H.Fragment,{children:[H.jsx(ci,{name:"username",fieldProps:{size:"large",prefix:H.jsx(CD,{className:"prefixIcon"})},placeholder:"用户名",rules:[{required:!0,message:"请输入用户名!"}]}),H.jsx(ci.Password,{name:"password",fieldProps:{size:"large",prefix:H.jsx(x0,{className:"prefixIcon"})},placeholder:"密码",rules:[{required:!0,message:"请输入密码!"}]})]}),H.jsxs("div",{style:{marginBlockEnd:24},children:[H.jsx(HK,{noStyle:!0,name:"autoLogin",children:"自动登录"}),H.jsx(jCt,{to:"/agent/auth/login",style:{float:"right"},children:"登录"})]})]})})})};function x3(){const[e,t]=p.useState(!0);return p.useEffect(()=>{function n(){console.log("networkStatus online:",navigator.onLine),navigator.onLine&&t(!0)}function r(){console.log("networkStatus offline:",!navigator.onLine),t(!1)}return window.addEventListener("online",n),window.addEventListener("offline",r),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}},[]),e}function Pc(){const e=Si();return{translateString:r=>r==null?r:r&&r.startsWith(See)?e.formatMessage({id:r,defaultMessage:r}):r,translateStringTranct:r=>r==null?r:r!=null&&r.startsWith(See)?Zte(e.formatMessage({id:r}),10):Zte(r,10)}}function vQ(){const e=x3(),{translateString:t}=Pc(),[n,r]=p.useState(!1),[i,o]=p.useState(!1),a=async(l,c)=>{Ha?await MSt()?console.log("handleNewMessage isWindowActive"):kSt(l,c):i?s(l,c):console.log("handleNewMessage not isBrowserTabHidden")},s=(l,c)=>{console.log("showWebNotification");var u=new Notification(l,{body:c,icon:"./logo.png"});u.onshow=function(){console.log("Notification shown")},u.onclick=function(){console.log("notification click")},u.onclose=function(){console.log("notification close")},u.onerror=function(){console.log("notification error")}};return p.useEffect(()=>(Ha||(window.Notification&&Notification.permission!=="granted"?Notification.requestPermission(function(l){r(l==="granted")}):(console.log("已经授权或浏览器不支持通知"),r(!0)),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"?o(!0):document.visibilityState==="visible"&&o(!1)},!1)),()=>{document.removeEventListener("visibilitychange",()=>{})}),[]),p.useEffect(()=>{if(console.log("useNotification useEffect isNetworkOnline",e),e){const l=localStorage.getItem(ew);(l==null||l==="true")&&a(t("i18n.tip.title"),t("i18n.tip.network.disconnected"))}else{const l=localStorage.getItem(ew);(l==null||l==="true")&&a(t("i18n.tip.title"),t("i18n.tip.network.connected"))}},[e]),{isNotificationGranted:n,showWebNotification:s,showNotification:a}}var Vp={},KAe={exports:{}},QAe={exports:{}};(function(e){var t=LIe;function n(r){if(Array.isArray(r))return t(r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(QAe);var WWt=QAe.exports,XAe={exports:{}};(function(e){function t(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(XAe);var ZAe=XAe.exports,JAe={exports:{}};(function(e){function t(){throw new TypeError(`Invalid attempt to spread non-iterable instance. + */var Wa=typeof Symbol=="function"&&Symbol.for,fQ=Wa?Symbol.for("react.element"):60103,pQ=Wa?Symbol.for("react.portal"):60106,g3=Wa?Symbol.for("react.fragment"):60107,v3=Wa?Symbol.for("react.strict_mode"):60108,b3=Wa?Symbol.for("react.profiler"):60114,y3=Wa?Symbol.for("react.provider"):60109,_3=Wa?Symbol.for("react.context"):60110,hQ=Wa?Symbol.for("react.async_mode"):60111,S3=Wa?Symbol.for("react.concurrent_mode"):60111,E3=Wa?Symbol.for("react.forward_ref"):60112,C3=Wa?Symbol.for("react.suspense"):60113,CWt=Wa?Symbol.for("react.suspense_list"):60120,w3=Wa?Symbol.for("react.memo"):60115,T3=Wa?Symbol.for("react.lazy"):60116,wWt=Wa?Symbol.for("react.block"):60121,TWt=Wa?Symbol.for("react.fundamental"):60117,xWt=Wa?Symbol.for("react.responder"):60118,OWt=Wa?Symbol.for("react.scope"):60119;function kc(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case fQ:switch(e=e.type,e){case hQ:case S3:case g3:case b3:case v3:case C3:return e;default:switch(e=e&&e.$$typeof,e){case _3:case E3:case T3:case w3:case y3:return e;default:return t}}case pQ:return t}}}function HAe(e){return kc(e)===S3}Ri.AsyncMode=hQ;Ri.ConcurrentMode=S3;Ri.ContextConsumer=_3;Ri.ContextProvider=y3;Ri.Element=fQ;Ri.ForwardRef=E3;Ri.Fragment=g3;Ri.Lazy=T3;Ri.Memo=w3;Ri.Portal=pQ;Ri.Profiler=b3;Ri.StrictMode=v3;Ri.Suspense=C3;Ri.isAsyncMode=function(e){return HAe(e)||kc(e)===hQ};Ri.isConcurrentMode=HAe;Ri.isContextConsumer=function(e){return kc(e)===_3};Ri.isContextProvider=function(e){return kc(e)===y3};Ri.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===fQ};Ri.isForwardRef=function(e){return kc(e)===E3};Ri.isFragment=function(e){return kc(e)===g3};Ri.isLazy=function(e){return kc(e)===T3};Ri.isMemo=function(e){return kc(e)===w3};Ri.isPortal=function(e){return kc(e)===pQ};Ri.isProfiler=function(e){return kc(e)===b3};Ri.isStrictMode=function(e){return kc(e)===v3};Ri.isSuspense=function(e){return kc(e)===C3};Ri.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===g3||e===S3||e===b3||e===v3||e===C3||e===CWt||typeof e=="object"&&e!==null&&(e.$$typeof===T3||e.$$typeof===w3||e.$$typeof===y3||e.$$typeof===_3||e.$$typeof===E3||e.$$typeof===TWt||e.$$typeof===xWt||e.$$typeof===OWt||e.$$typeof===wWt)};Ri.typeOf=kc;jAe.exports=Ri;var RWt=jAe.exports,UAe=RWt,IWt={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},AWt={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},zAe={};zAe[UAe.ForwardRef]=IWt;zAe[UAe.Memo]=AWt;var mQ=typeof window<"u"&&!window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__?window.__REACT_INTL_CONTEXT__||(window.__REACT_INTL_CONTEXT__=p.createContext(null)):p.createContext(null);mQ.Consumer;var NWt=mQ.Provider,MWt=NWt,kWt=mQ;function Si(){var e=p.useContext(kWt);return FAe(e),e}var Sz;(function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"})(Sz||(Sz={}));var Ez;(function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"})(Ez||(Ez={}));function VAe(e){var t=function(n){var r=Si(),i=n.value,o=n.children,a=O_(n,["value","children"]),s=typeof i=="string"?new Date(i||0):i,l=e==="formatDate"?r.formatDateToParts(s,a):r.formatTimeToParts(s,a);return o(l)};return t.displayName=Ez[e],t}function tO(e){var t=function(n){var r=Si(),i=n.value,o=n.children,a=O_(n,["value","children"]),s=r[e](i,a);if(typeof o=="function")return o(s);var l=r.textComponent||p.Fragment;return p.createElement(l,null,s)};return t.displayName=Sz[e],t}function GAe(e){return e&&Object.keys(e).reduce(function(t,n){var r=e[n];return t[n]=NAe(r)?EWt(r):r,t},{})}var Nce=function(e,t,n,r){for(var i=[],o=4;o{const n=Si(),[r,i]=p.useState(),[o,a]=p.useState(),s=async()=>{const u=await oGt();u.data.code===200&&(i(u.data.data.captchaUid),a(u.data.data.captchaImage))},l=async(u,d)=>{const f=await aGt(u,d);console.log("checkCaptcha response",f),f.data.code===200?t&&t(!0):t&&t(!1)};p.useEffect(()=>{s()},[]);const c=u=>{e&&(e(r,u.target.value),u.target.value&&u.target.value!==""&&u.target.value.trim().length===4?l(r,u.target.value):t&&t(!1))};return H.jsx(H.Fragment,{children:o&&H.jsxs(H.Fragment,{children:[H.jsx(Ki,{onChange:c,prefix:H.jsx(O1t,{}),placeholder:n.formatMessage({id:"captcha",defaultMessage:"captcha"}),style:{width:"65%",float:"left",height:40}}),H.jsx("img",{src:o,alt:"captcha",onClick:s})]})})},LWt=({loginType:e,onKaptchaChange:t,onKaptchaCheck:n,onRememberChange:r})=>{const i=Si(),[o,a]=p.useState(!1);return p.useEffect(()=>{if(o)return;const s=localStorage.getItem(oc);if(s)try{const{username:l,remember:c}=JSON.parse(s);l&&(r==null||r(l,!!c),a(!0))}catch(l){console.error("Failed to parse saved credentials:",l)}},[r,o]),H.jsx(H.Fragment,{children:e==="account"&&H.jsxs("div",{children:[H.jsx(ci,{name:"username",fieldProps:{size:"large",prefix:H.jsx(CD,{className:"prefixIcon"}),onChange:()=>{a(!0)},onClear:()=>{console.log("onClear");const s=localStorage.getItem(oc);if(s)try{const l=JSON.parse(s),{username:c,...u}=l;console.log("username",c),console.log("rest",u),localStorage.setItem(oc,JSON.stringify(u))}catch(l){console.error("Failed to parse saved credentials:",l)}}},placeholder:i.formatMessage({id:"pages.login.username.placeholder",defaultMessage:"邮箱"}),rules:[{required:!0,message:H.jsx(ad,{id:"pages.login.username.required",defaultMessage:"请输入邮箱!"})}]}),H.jsx(ci.Password,{name:"password",fieldProps:{size:"large",prefix:H.jsx(x0,{className:"prefixIcon"})},placeholder:i.formatMessage({id:"pages.login.password.placeholder",defaultMessage:"密码"}),rules:[{required:!0,message:H.jsx(ad,{id:"pages.login.password.required",defaultMessage:"请输入密码!"})}]}),H.jsx(Dr.Item,{name:"captchaCode",rules:[{required:!0,message:i.formatMessage({id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],children:H.jsx(JS,{onKaptchaChange:t,onKaptchaCheck:n})})]})})};async function $Wt(e){return $r("/auth/v1/login",{method:"POST",data:{...e,client:wr}})}async function gQ(e){return $r("/auth/v1/send/mobile",{method:"POST",data:{...e,client:wr}})}async function qAe(e){return $r("/auth/v1/send/email",{method:"POST",data:{...e,client:wr}})}async function FWt(e){return $r("/auth/v1/login/mobile",{method:"POST",data:{...e,client:wr}})}async function BWt(e,t){return $r("/auth/v1/vip/scan/query",{method:"GET",params:{deviceUid:e,forceRefresh:t,client:wr}})}async function jWt(e){return $r("/auth/v1/vip/scan/login",{method:"POST",data:{...e,client:wr}})}async function HWt(e){return $r("/api/v1/user/logout",{method:"POST",data:{client:wr}})}const UWt=({loginType:e,onKaptchaChange:t,onKaptchaCheck:n,onRememberChange:r})=>{const i=Si(),[o,a]=p.useState(""),[s,l]=p.useState(""),[c,u]=p.useState(!1),[d,f]=p.useState(!1);p.useEffect(()=>{if(d)return;const y=localStorage.getItem(oc);if(y)try{const{mobile:b}=JSON.parse(y);b&&(r==null||r(b),f(!0))}catch(b){console.error("Failed to parse saved credentials:",b)}},[r,d]);const h=async(y,b)=>{a(y),l(b),t&&t(y,b)},m=async y=>{u(y),n&&n(y)},g=[{label:i.formatMessage({id:"pages.login.country.china"}),value:"86",icon:"🇨🇳",code:"CN"},{label:i.formatMessage({id:"pages.login.country.hongkong"}),value:"852",icon:"🇭🇰",code:"HK"},{label:i.formatMessage({id:"pages.login.country.taiwan"}),value:"886",icon:"🇹🇼",code:"TW"},{label:i.formatMessage({id:"pages.login.country.macao"}),value:"853",icon:"🇲🇴",code:"MO"},{label:i.formatMessage({id:"pages.login.country.japan"}),value:"81",icon:"🇯🇵",code:"JP"},{label:i.formatMessage({id:"pages.login.country.korea"}),value:"82",icon:"🇰🇷",code:"KR"},{label:i.formatMessage({id:"pages.login.country.singapore"}),value:"65",icon:"🇸🇬",code:"SG"},{label:i.formatMessage({id:"pages.login.country.malaysia"}),value:"60",icon:"🇲🇾",code:"MY"},{label:i.formatMessage({id:"pages.login.country.thailand"}),value:"66",icon:"🇹🇭",code:"TH"},{label:i.formatMessage({id:"pages.login.country.vietnam"}),value:"84",icon:"🇻🇳",code:"VN"},{label:i.formatMessage({id:"pages.login.country.philippines"}),value:"63",icon:"🇵🇭",code:"PH"},{label:i.formatMessage({id:"pages.login.country.indonesia"}),value:"62",icon:"🇮🇩",code:"ID"},{label:i.formatMessage({id:"pages.login.country.usa"}),value:"1-us",icon:"🇺🇸",code:"US"},{label:i.formatMessage({id:"pages.login.country.canada"}),value:"1-ca",icon:"🇨🇦",code:"CA"},{label:i.formatMessage({id:"pages.login.country.uk"}),value:"44",icon:"🇬🇧",code:"GB"},{label:i.formatMessage({id:"pages.login.country.germany"}),value:"49",icon:"🇩🇪",code:"DE"},{label:i.formatMessage({id:"pages.login.country.france"}),value:"33",icon:"🇫🇷",code:"FR"},{label:i.formatMessage({id:"pages.login.country.italy"}),value:"39",icon:"🇮🇹",code:"IT"},{label:i.formatMessage({id:"pages.login.country.spain"}),value:"34",icon:"🇪🇸",code:"ES"},{label:i.formatMessage({id:"pages.login.country.russia"}),value:"7",icon:"🇷🇺",code:"RU"},{label:i.formatMessage({id:"pages.login.country.australia"}),value:"61",icon:"🇦🇺",code:"AU"},{label:i.formatMessage({id:"pages.login.country.newzealand"}),value:"64",icon:"🇳🇿",code:"NZ"}],v=y=>{const b=y.value.includes("-")?y.value.split("-")[0]:y.value;return H.jsxs("div",{children:[H.jsx("span",{role:"img","aria-label":y.label,style:{marginRight:8},children:y.icon}),y.label," (+",b,")"]})};return H.jsx(H.Fragment,{children:e==="mobile"&&H.jsxs(H.Fragment,{children:[H.jsxs(w2,{gutter:16,children:[H.jsx(zv,{span:10,children:H.jsx(K2,{name:"country",options:g,fieldProps:{size:"large",placeholder:i.formatMessage({id:"pages.login.country.placeholder",defaultMessage:"选择国家/地区"}),optionLabelProp:"label",optionItemRender:v},initialValue:"86"})}),H.jsx(zv,{span:14,children:H.jsx(ci,{fieldProps:{size:"large",prefix:H.jsx(R2,{className:"prefixIcon"}),onChange:()=>{f(!0)},onClear:()=>{console.log("onClear");const y=localStorage.getItem(oc);if(y)try{const b=JSON.parse(y),{mobile:_,...E}=b;console.log("saved:",_,b),localStorage.setItem(oc,JSON.stringify(E))}catch(b){console.error("Failed to parse saved credentials:",b)}}},name:"mobile",placeholder:i.formatMessage({id:"pages.login.phoneNumber.placeholder",defaultMessage:"手机号"}),rules:[{required:!0,message:H.jsx(ad,{id:"pages.login.phoneNumber.required",defaultMessage:"请输入手机号!"})},{pattern:/^1\d{10}$/,message:H.jsx(ad,{id:"pages.login.phoneNumber.invalid",defaultMessage:"手机号格式错误!"})}]})})]}),H.jsx(Dr.Item,{name:"captchaCode",rules:[{required:!0,message:i.formatMessage({id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],children:H.jsx(JS,{onKaptchaChange:h,onKaptchaCheck:m})}),H.jsx(F2,{fieldProps:{size:"large",prefix:H.jsx(x0,{className:"prefixIcon"})},captchaProps:{size:"large",disabled:!c},placeholder:i.formatMessage({id:"pages.login.captcha.placeholder",defaultMessage:"请输入验证码"}),captchaTextRender:(y,b)=>y?`${b} ${i.formatMessage({id:"pages.getCaptchaSecondText",defaultMessage:"获取验证码"})}`:i.formatMessage({id:"pages.login.phoneLogin.getVerificationCode",defaultMessage:"获取验证码"}),phoneName:"mobile",name:"code",rules:[{required:!0,message:H.jsx(ad,{id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],onGetCaptcha:async y=>{if(console.log("mobile:",y),y&&y.length===11){const _=await gQ({mobile:y,type:E6e,captchaUid:o,captchaCode:s,platform:mu});if(console.log("sendMobileCode:",_.data),_.data.code!==200){Wt.error(i.formatMessage({id:_.data.message,defaultMessage:_.data.message}));return}Wt.success(i.formatMessage({id:_.data.message,defaultMessage:_.data.message}))}else Wt.error("手机号格式错误")}}),H.jsx(WSe,{message:H.jsx(ad,{id:"pages.login.auto.register",defaultMessage:"Mobile will auto register"}),type:"info"})]})})},zWt=({loginType:e})=>{const t=Si(),n=Na(),r=Ra(h=>h.setUserInfo),i=Ux(h=>h.setAccessToken),{deviceUid:o,setDeviceUid:a}=Ra(h=>({deviceUid:h.deviceUid,setDeviceUid:h.setDeviceUid})),[s,l]=p.useState("login"),[c,u]=p.useState("loading"),d=async h=>{console.log("handleScanLogin values: ",h),Wt.loading(t.formatMessage({id:"logging",defaultMessage:"logging..."}));const m=await jWt({...h});console.log("LoginMobileResult scanLogin:",m.data),m.data.code===200?(Wt.destroy(),Wt.success(t.formatMessage({id:"pages.login.success",defaultMessage:"login success"})),r(m.data.data.user),i(m.data.data.accessToken),n("/chat"),EU()):(Wt.destroy(),Wt.error(m.data.message))},f=async h=>{if(e!="scan")return;const m=await BWt(o,h);if(m.data.code===200){const g=m.data.data;if(console.log("handleScanQuery status: ",g.status),g.status===O6e)u("active"),l("deviceUid="+g.deviceUid+"&code="+g.content);else if(g.status===R6e)u("scanned");else if(g.status===A6e)u("expired");else if(g.status===I6e){if(g.receiver===void 0||g.receiver==="")return;let v={mobile:g.receiver,code:g.content,platform:mu};console.log("login scan info:",v),await d(v)}}else Wt.error(m.data.message)};return p.useEffect(()=>{console.log("scan deviceUid:",o),(o===void 0||o==="")&&a(r5()),f(!0);const h=setInterval(()=>{f(!1)},3e3);return()=>{clearInterval(h)}},[e,o]),H.jsx(H.Fragment,{children:e==="scan"&&H.jsx(H.Fragment,{children:H.jsx(c2e,{style:{margin:"auto"},value:s,status:c,onRefresh:()=>{console.log("onRefresh"),f(!0)}})})})},YAe=()=>{const{token:e}=Es.useToken(),{isCustomServer:t,setIsCustomServer:n}=p.useContext(as),[r]=Dr.useForm(),[i,o]=p.useState(!1),[a,s]=p.useState(""),[l,c]=p.useState(""),u=Si(),d=()=>{console.log("switch server"),n(m=>!m)};p.useEffect(()=>{a&&a.length>0&&(r.setFieldsValue({apiUrl:a}),console.log("apiUrl:",a))},[a]),p.useEffect(()=>{if(t){const m=localStorage.getItem(Xb);m==="true"&&(o(!0),r.setFieldsValue({isCustomServerEnabled:!0})),console.log("isCustomServer customEnabled:",m);const g=localStorage.getItem(CC);g&&r.setFieldsValue({apiUrl:K0(g)});const v=localStorage.getItem(wC);v&&r.setFieldsValue({websocketUrl:K0(v)})}},[t]);const f=m=>{if(console.log("handleCustomServerChange e:",m),o(m.target.checked),m.target.checked){const g=localStorage.getItem(CC);g&&r.setFieldsValue({apiUrl:K0(g)});const v=localStorage.getItem(wC);v&&r.setFieldsValue({websocketUrl:K0(v)}),console.log("initData apiUrl:",g,"websocketUrl:",v)}else localStorage.setItem(Xb,"false")},h=(m,g)=>(console.log("props:",m,g),H.jsxs("div",{style:{display:"flex",justifyContent:"center",gap:"8px"},children:[H.jsx($n,{icon:H.jsx(Wmt,{}),onClick:d,children:u.formatMessage({id:"server.button.back"})},"back"),H.jsx($n,{type:"primary",onClick:()=>{let v=m.form.getFieldValue("apiUrl");v=K0(v.trim());let y=m.form.getFieldValue("websocketUrl");y=K0(y.trim()),v&&v.trim().length>0&&y&&y.trim().length>0?(localStorage.setItem(CC,v),localStorage.setItem(wC,y),localStorage.setItem(Xb,"true"),Wt.success(u.formatMessage({id:"server.save.success"}))):Wt.error("请输入正确的服务器地址")},children:u.formatMessage({id:"server.button.save"})},"submit"),H.jsx($n,{onClick:()=>{var v;(v=m.form)==null||v.resetFields(),s(""),localStorage.setItem(Xb,"false"),localStorage.setItem(CC,""),localStorage.setItem(wC,""),Wt.success(u.formatMessage({id:"server.reset.success"}))},children:u.formatMessage({id:"server.button.reset"})},"reset"),H.jsx($n,{onClick:()=>{HT("https://www.weiyuai.cn/docs/zh-CN/docs/manual/agent/auth/login")},children:u.formatMessage({id:"server.button.help"})},"help")]}));return H.jsx("div",{className:"ant-pro-form-server-container",style:{backgroundColor:e.colorBgContainer,display:"flex",justifyContent:"center",flexDirection:"column",height:"100%",width:"80%",marginLeft:"10%"},children:H.jsxs(Dr,{className:"ant-pro-form-server-main",form:r,submitter:{render:h},children:[H.jsx(HK,{name:"isCustomServerEnabled",fieldProps:{onChange:f},children:u.formatMessage({id:"server.custom.enable"})}),i&&H.jsxs(H.Fragment,{children:[H.jsx(ci,{name:"apiUrl",label:u.formatMessage({id:"server.api.url.label"}),fieldProps:{disabled:!i,placeholder:u.formatMessage({id:"server.api.url.placeholder"}),onChange:m=>s(m.target.value)}}),H.jsx(ci,{name:"websocketUrl",label:u.formatMessage({id:"server.websocket.url.label"}),fieldProps:{disabled:!i,placeholder:u.formatMessage({id:"server.websocket.url.placeholder"}),onChange:m=>c(m.target.value)}})]})]})})},VWt=({isModel:e=!1})=>{const t=Si(),[n]=Dr.useForm(),r=Na(),{isLoggedIn:i}=p.useContext(as),{token:o}=Es.useToken(),[a,s]=p.useState("/notebase/logo.png"),[l,c]=p.useState(""),[u,d]=p.useState(""),f=localStorage.getItem(mB),[h]=p.useState(f||"/"),[m,g]=p.useState("account"),v=Ra(W=>W.setUserInfo),y=Ux(W=>W.setAccessToken),{isCustomServer:b,setIsCustomServer:_}=p.useContext(as),[E,C]=p.useState(!1);p.useEffect(()=>{i&&!e&&r(h)},[i,r,e]);const S=W=>{console.log(`onPrivacyProtocolChange checked = ${W.target.checked}`),C(W.target.checked);const j=localStorage.getItem(oc);if(j)try{const{remember:U}=JSON.parse(j);U&&setTimeout(()=>{n.setFieldsValue({remember:U})},0)}catch(U){console.error("Failed to parse saved credentials:",U)}},w=()=>{HT(Q$e)},[T,O]=p.useState(""),x=async(W,j)=>{O(W),n.setFieldValue("captchaCode",j)},A=async W=>{console.log("handleKaptchaCheck:",W)},I=async W=>{if(console.log("handleSubmit values: ",W,m),!E){Wt.error("请阅读并同意隐私协议");return}Wt.loading(t.formatMessage({id:"logging",defaultMessage:"logging..."}));const j=localStorage.getItem(oc);let U=!1;if(j)try{U=JSON.parse(j).remember}catch(te){console.error("Failed to parse saved credentials:",te)}localStorage.setItem(oc,JSON.stringify({username:W.username,remember:U}));const Z=await $Wt({...W});console.log("LoginResult:",Z.data),Z.data.code===200?(Wt.destroy(),Wt.success(t.formatMessage({id:"pages.login.success",defaultMessage:"login success"})),U&&localStorage.setItem(oc,JSON.stringify({username:W.username,password:W.password,remember:!0})),v(Z.data.data.user),y(Z.data.data.accessToken),e||r(h),EU()):(Wt.destroy(),Wt.error(t.formatMessage({id:Z.data.message,defaultMessage:Z.data.message})))},M=W=>{n.setFieldsValue({mobile:W})},B=async W=>{if(!E){Wt.error(t.formatMessage({id:"login.privacy.required",defaultMessage:"请阅读并同意隐私协议"}));return}const j=localStorage.getItem(oc);let U={};if(j)try{U=JSON.parse(j)}catch(te){console.error("Failed to parse saved credentials:",te)}localStorage.setItem(oc,JSON.stringify({...U,mobile:W.mobile}));const Z=await FWt({...W});console.log("LoginMobileResult:",Z),Z.data.code===200?(Wt.destroy(),Wt.success(t.formatMessage({id:"pages.login.success",defaultMessage:"login success"})),v(Z.data.data.user),y(Z.data.data.accessToken),e||r("/"),EU()):(Wt.destroy(),Wt.error(t.formatMessage({id:Z.data.message,defaultMessage:Z.data.message})))},P=()=>{console.log("switch server"),_(W=>!W)},k=()=>{console.log("handleAnonymousLogin"),r("/anonymous")},N=()=>{if(ud)return{}},L=(W,j)=>{n.setFieldsValue({username:W,remember:j});const U=localStorage.getItem(oc);if(U&&j)try{const{password:Z}=JSON.parse(U);Z&&n.setFieldsValue({password:Z})}catch(Z){console.error("Failed to parse saved credentials:",Z)}},V=async()=>{var j,U,Z,te,ae,K,Q;console.log("getConfig");const W=await x0e();(j=W==null?void 0:W.custom)!=null&&j.enabled?((U=W==null?void 0:W.custom)!=null&&U.logo?s((Z=W==null?void 0:W.custom)==null?void 0:Z.logo):s("/notebase/logo.png"),(te=W==null?void 0:W.custom)!=null&&te.name?c((ae=W==null?void 0:W.custom)==null?void 0:ae.name):c(t.formatMessage({id:"app.title"})),(K=W==null?void 0:W.custom)!=null&&K.description?d((Q=W==null?void 0:W.custom)==null?void 0:Q.description):d(t.formatMessage({id:"slogan"}))):(s("/notebase/logo.png"),c(t.formatMessage({id:"app.title"})),d(t.formatMessage({id:"slogan"}))),T0e()};p.useEffect(()=>{l_e(),V()},[]);const $=[{key:"account",label:t.formatMessage({id:"pages.login.accountLogin.tab",defaultMessage:"账户密码登录"}),children:H.jsx(LWt,{loginType:m,onKaptchaChange:x,onKaptchaCheck:A,onRememberChange:L})},{key:"mobile",label:t.formatMessage({id:"pages.login.phoneLogin.tab",defaultMessage:"手机号登录"}),children:H.jsx(UWt,{loginType:m,onKaptchaChange:x,onKaptchaCheck:A,onRememberChange:M})}];return Z$e&&$.push({key:"scan",label:t.formatMessage({id:"pages.login.scanLogin.tab",defaultMessage:"扫码登录"}),children:H.jsx(zWt,{loginType:m})}),H.jsx(BD,{hashed:!1,children:H.jsxs("div",{style:{backgroundColor:o.colorBgContainer,textAlign:"center",height:"100%"},children:[!b&&H.jsxs(OIe,{form:n,contentStyle:{minWidth:400},logo:H.jsx("img",{alt:"logo",src:J$e}),title:e6e,initialValues:N(),onFinish:async W=>{if(console.log("login:",W),m==="account"){const j={username:W.username,password:W.password,captchaUid:T,captchaCode:W.captchaCode,platform:mu};await I(j)}else if(m==="mobile"){const j={mobile:W.mobile,code:W.code,captchaUid:T,captchaCode:W.captchaCode,platform:mu};await B(j)}else console.log("scan login type")},actions:ud&&H.jsxs(Xi,{children:[H.jsx(ad,{id:"pages.login.loginWith",defaultMessage:"其他登录方式"}),H.jsx($n,{type:"link",onClick:k,children:t.formatMessage({id:"pages.login.anonymousLogin",defaultMessage:"匿名登录"})})]}),children:[H.jsx(wS,{centered:!0,items:$,activeKey:m,onChange:W=>g(W)}),H.jsxs("div",{style:{marginBlockEnd:24,textAlign:"left",marginTop:10},children:[H.jsx(fh,{checked:E,onChange:S,children:H.jsx($n,{size:"small",type:"link",onClick:w,children:t.formatMessage({id:"login.privacy.agreement",defaultMessage:"同意《用户隐私&协议》"})})}),X$e&&H.jsx($n,{type:"link",style:{float:"right",marginBottom:24},onClick:P,children:t.formatMessage({id:"login.switch.server",defaultMessage:"切换服务器"})})]})]}),b&&H.jsx(YAe,{})]})})},Cz=({isModel:e=!1})=>H.jsx(G5,{children:H.jsx(VWt,{isModel:e})}),GWt=()=>{Na();const{token:e}=Es.useToken();return p.useState("phone"),Xl(e.colorTextBase,.2),H.jsx(BD,{hashed:!1,children:H.jsx("div",{style:{backgroundColor:e.colorBgContainer,textAlign:"center",height:"100vh"},children:H.jsxs(OIe,{logo:"./logo.png",title:"微语",subTitle:"注册账号",children:[H.jsxs(H.Fragment,{children:[H.jsx(ci,{name:"username",fieldProps:{size:"large",prefix:H.jsx(CD,{className:"prefixIcon"})},placeholder:"用户名",rules:[{required:!0,message:"请输入用户名!"}]}),H.jsx(ci.Password,{name:"password",fieldProps:{size:"large",prefix:H.jsx(x0,{className:"prefixIcon"})},placeholder:"密码",rules:[{required:!0,message:"请输入密码!"}]})]}),H.jsxs("div",{style:{marginBlockEnd:24},children:[H.jsx(HK,{noStyle:!0,name:"autoLogin",children:"自动登录"}),H.jsx(jCt,{to:"/agent/auth/login",style:{float:"right"},children:"登录"})]})]})})})};function x3(){const[e,t]=p.useState(!0);return p.useEffect(()=>{function n(){console.log("networkStatus online:",navigator.onLine),navigator.onLine&&t(!0)}function r(){console.log("networkStatus offline:",!navigator.onLine),t(!1)}return window.addEventListener("online",n),window.addEventListener("offline",r),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}},[]),e}function Pc(){const e=Si();return{translateString:r=>r==null?r:r&&r.startsWith(See)?e.formatMessage({id:r,defaultMessage:r}):r,translateStringTranct:r=>r==null?r:r!=null&&r.startsWith(See)?Zte(e.formatMessage({id:r}),10):Zte(r,10)}}function vQ(){const e=x3(),{translateString:t}=Pc(),[n,r]=p.useState(!1),[i,o]=p.useState(!1),a=async(l,c)=>{Ha?await MSt()?console.log("handleNewMessage isWindowActive"):kSt(l,c):i?s(l,c):console.log("handleNewMessage not isBrowserTabHidden")},s=(l,c)=>{console.log("showWebNotification");var u=new Notification(l,{body:c,icon:"./logo.png"});u.onshow=function(){console.log("Notification shown")},u.onclick=function(){console.log("notification click")},u.onclose=function(){console.log("notification close")},u.onerror=function(){console.log("notification error")}};return p.useEffect(()=>(Ha||(window.Notification&&Notification.permission!=="granted"?Notification.requestPermission(function(l){r(l==="granted")}):(console.log("已经授权或浏览器不支持通知"),r(!0)),document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"?o(!0):document.visibilityState==="visible"&&o(!1)},!1)),()=>{document.removeEventListener("visibilitychange",()=>{})}),[]),p.useEffect(()=>{if(console.log("useNotification useEffect isNetworkOnline",e),e){const l=localStorage.getItem(ew);(l==null||l==="true")&&a(t("i18n.tip.title"),t("i18n.tip.network.disconnected"))}else{const l=localStorage.getItem(ew);(l==null||l==="true")&&a(t("i18n.tip.title"),t("i18n.tip.network.connected"))}},[e]),{isNotificationGranted:n,showWebNotification:s,showNotification:a}}var Vp={},KAe={exports:{}},QAe={exports:{}};(function(e){var t=LIe;function n(r){if(Array.isArray(r))return t(r)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(QAe);var WWt=QAe.exports,XAe={exports:{}};(function(e){function t(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(XAe);var ZAe=XAe.exports,JAe={exports:{}};(function(e){function t(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(JAe);var qWt=JAe.exports;(function(e){var t=WWt,n=ZAe,r=zK,i=qWt;function o(a){return t(a)||n(a)||r(a)||i()}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports})(KAe);var eNe=KAe.exports,O3={};Object.defineProperty(O3,"__esModule",{value:!0});O3.default=YWt;function YWt(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach(function(r){delete n[r]}),n}var bQ={};const $g=Dx(iYe);var R3={},KWt=sa.default;Object.defineProperty(R3,"__esModule",{value:!0});R3.default=XWt;var QWt=KWt(p);function XWt(e,t,n){var r=QWt.useRef({});return(!("value"in r.current)||n(r.current.condition,t))&&(r.current.value=e(),r.current.condition=t),r.current.value}var I3={},tNe={exports:{}};(function(e){var t=MIe,n=ZAe,r=zK,i=FIe;function o(a){return t(a)||n(a)||r(a)||i()}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports})(tNe);var ZWt=tNe.exports,yQ={};Object.defineProperty(yQ,"__esModule",{value:!0});yQ.default=JWt;function JWt(e,t){for(var n=e,r=0;r3&&arguments[3]!==void 0?arguments[3]:!1;return t.length&&r&&n===void 0&&!(0,wz.default)(e,t.slice(0,-1))?e:iNe(e,t,n,r)}function nqt(e){return(0,nNe.default)(e)==="object"&&e!==null&&Object.getPrototypeOf(e)===Object.prototype}function kce(e){return Array.isArray(e)?[]:{}}var rqt=typeof Reflect>"u"?Object.keys:Reflect.ownKeys;function iqt(){for(var e=arguments.length,t=new Array(e),n=0;n{const e=()=>{};return e.deprecated=_Q,e};cu.default=lqt;var A3={};Object.defineProperty(A3,"__esModule",{value:!0});A3.default=void 0;var cqt=p;A3.default=(0,cqt.createContext)(void 0);var aNe={},N3={},uqt=xr.default;Object.defineProperty(N3,"__esModule",{value:!0});N3.changeConfirmLocale=dqt;N3.getConfirmLocale=fqt;var SQ=uqt(d0);let eN=Object.assign({},SQ.default.Modal),tN=[];const Pce=()=>tN.reduce((e,t)=>Object.assign(Object.assign({},e),t),SQ.default.Modal);function dqt(e){if(e){const t=Object.assign({},e);return tN.push(t),eN=Pce(),()=>{tN=tN.filter(n=>n!==t),eN=Pce()}}eN=Object.assign({},SQ.default.Modal)}function fqt(){return eN}var eE={};Object.defineProperty(eE,"__esModule",{value:!0});eE.default=void 0;var pqt=p;const hqt=(0,pqt.createContext)(void 0);eE.default=hqt;var M3={},sNe=xr.default,mqt=sa.default;Object.defineProperty(M3,"__esModule",{value:!0});M3.default=void 0;var a6=mqt(p),gqt=sNe(eE),Dce=sNe(d0);const vqt=(e,t)=>{const n=a6.useContext(gqt.default),r=a6.useMemo(()=>{var o;const a=t||Dce.default[e],s=(o=n==null?void 0:n[e])!==null&&o!==void 0?o:{};return Object.assign(Object.assign({},typeof a=="function"?a():a),s||{})},[e,t,n]),i=a6.useMemo(()=>{const o=n==null?void 0:n.locale;return n!=null&&n.exist&&!o?Dce.default.locale:o},[n]);return[r,i]};M3.default=vqt;(function(e){"use client";var t=xr.default,n=sa.default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ANT_MARK=void 0,Object.defineProperty(e,"useLocale",{enumerable:!0,get:function(){return a.default}});var r=n(p),i=N3,o=t(eE),a=t(M3);e.ANT_MARK="internalMark";const s=l=>{const{locale:c={},children:u,_ANT_MARK__:d}=l;r.useEffect(()=>(0,i.changeConfirmLocale)(c==null?void 0:c.Modal),[c]);const f=r.useMemo(()=>Object.assign(Object.assign({},c),{exist:!0}),[c]);return r.createElement(o.default.Provider,{value:f},u)};e.default=s})(aNe);var Mf={},EQ={},jf={};Object.defineProperty(jf,"__esModule",{value:!0});jf.defaultPresetColors=jf.default=void 0;const bqt=jf.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"},yqt=Object.assign(Object.assign({},bqt),{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});jf.default=yqt;var CQ={};const rO=Dx(pYe);Object.defineProperty(CQ,"__esModule",{value:!0});CQ.default=_qt;var s6=rO;function _qt(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:i,colorWarning:o,colorError:a,colorInfo:s,colorPrimary:l,colorBgBase:c,colorTextBase:u}=e,d=n(l),f=n(i),h=n(o),m=n(a),g=n(s),v=r(c,u),y=e.colorLink||e.colorInfo,b=n(y),_=new s6.FastColor(m[1]).mix(new s6.FastColor(m[3]),50).toHexString();return Object.assign(Object.assign({},v),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:f[1],colorSuccessBgHover:f[2],colorSuccessBorder:f[3],colorSuccessBorderHover:f[4],colorSuccessHover:f[4],colorSuccess:f[6],colorSuccessActive:f[7],colorSuccessTextHover:f[8],colorSuccessText:f[9],colorSuccessTextActive:f[10],colorErrorBg:m[1],colorErrorBgHover:m[2],colorErrorBgFilledHover:_,colorErrorBgActive:m[3],colorErrorBorder:m[3],colorErrorBorderHover:m[4],colorErrorHover:m[5],colorError:m[6],colorErrorActive:m[7],colorErrorTextHover:m[8],colorErrorText:m[9],colorErrorTextActive:m[10],colorWarningBg:h[1],colorWarningBgHover:h[2],colorWarningBorder:h[3],colorWarningBorderHover:h[4],colorWarningHover:h[4],colorWarning:h[6],colorWarningActive:h[7],colorWarningTextHover:h[8],colorWarningText:h[9],colorWarningTextActive:h[10],colorInfoBg:g[1],colorInfoBgHover:g[2],colorInfoBorder:g[3],colorInfoBorderHover:g[4],colorInfoHover:g[4],colorInfo:g[6],colorInfoActive:g[7],colorInfoTextHover:g[8],colorInfoText:g[9],colorInfoTextActive:g[10],colorLinkHover:b[4],colorLink:b[6],colorLinkActive:b[7],colorBgMask:new s6.FastColor("#000").setA(.45).toRgbString(),colorWhite:"#fff"})}var wQ={},k3={};Object.defineProperty(k3,"__esModule",{value:!0});k3.default=void 0;const Sqt=e=>{let t=e,n=e,r=e,i=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?i=4:e>=8&&(i=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:i}};k3.default=Sqt;var Eqt=xr.default;Object.defineProperty(wQ,"__esModule",{value:!0});wQ.default=wqt;var Cqt=Eqt(k3);function wqt(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:i}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+t*2).toFixed(1)}s`,motionDurationSlow:`${(n+t*3).toFixed(1)}s`,lineWidthBold:i+1},(0,Cqt.default)(r))}var P3={};Object.defineProperty(P3,"__esModule",{value:!0});P3.default=void 0;const Tqt=e=>{const{controlHeight:t}=e;return{controlHeightSM:t*.75,controlHeightXS:t*.5,controlHeightLG:t*1.25}};P3.default=Tqt;var D3={},iO={};Object.defineProperty(iO,"__esModule",{value:!0});iO.default=xqt;iO.getLineHeight=lNe;function lNe(e){return(e+8)/e}function xqt(e){const t=new Array(10).fill(null).map((n,r)=>{const i=r-1,o=e*Math.pow(Math.E,i/5),a=r>1?Math.floor(o):Math.ceil(o);return Math.floor(a/2)*2});return t[1]=e,t.map(n=>({size:n,lineHeight:lNe(n)}))}var Oqt=xr.default;Object.defineProperty(D3,"__esModule",{value:!0});D3.default=void 0;var Rqt=Oqt(iO);const Iqt=e=>{const t=(0,Rqt.default)(e),n=t.map(u=>u.size),r=t.map(u=>u.lineHeight),i=n[1],o=n[0],a=n[2],s=r[1],l=r[0],c=r[2];return{fontSizeSM:o,fontSize:i,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:s,lineHeightLG:c,lineHeightSM:l,fontHeight:Math.round(s*i),fontHeightLG:Math.round(c*a),fontHeightSM:Math.round(l*o),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};D3.default=Iqt;var TQ={};Object.defineProperty(TQ,"__esModule",{value:!0});TQ.default=Aqt;function Aqt(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}var I_={},A_={};Object.defineProperty(A_,"__esModule",{value:!0});A_.getSolidColor=A_.getAlphaColor=void 0;var cNe=rO;const Nqt=(e,t)=>new cNe.FastColor(e).setA(t).toRgbString();A_.getAlphaColor=Nqt;const Mqt=(e,t)=>new cNe.FastColor(e).darken(t).toHexString();A_.getSolidColor=Mqt;Object.defineProperty(I_,"__esModule",{value:!0});I_.generateNeutralColorPalettes=I_.generateColorPalettes=void 0;var kqt=Q2,qa=A_;const Pqt=e=>{const t=(0,kqt.generate)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}};I_.generateColorPalettes=Pqt;const Dqt=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:(0,qa.getAlphaColor)(r,.88),colorTextSecondary:(0,qa.getAlphaColor)(r,.65),colorTextTertiary:(0,qa.getAlphaColor)(r,.45),colorTextQuaternary:(0,qa.getAlphaColor)(r,.25),colorFill:(0,qa.getAlphaColor)(r,.15),colorFillSecondary:(0,qa.getAlphaColor)(r,.06),colorFillTertiary:(0,qa.getAlphaColor)(r,.04),colorFillQuaternary:(0,qa.getAlphaColor)(r,.02),colorBgSolid:(0,qa.getAlphaColor)(r,1),colorBgSolidHover:(0,qa.getAlphaColor)(r,.75),colorBgSolidActive:(0,qa.getAlphaColor)(r,.95),colorBgLayout:(0,qa.getSolidColor)(n,4),colorBgContainer:(0,qa.getSolidColor)(n,0),colorBgElevated:(0,qa.getSolidColor)(n,0),colorBgSpotlight:(0,qa.getAlphaColor)(r,.85),colorBgBlur:"transparent",colorBorder:(0,qa.getSolidColor)(n,15),colorBorderSecondary:(0,qa.getSolidColor)(n,6)}};I_.generateNeutralColorPalettes=Dqt;var oO=xr.default;Object.defineProperty(EQ,"__esModule",{value:!0});EQ.default=Uqt;var s1=Q2,Lqt=jf,$qt=oO(CQ),Fqt=oO(wQ),Bqt=oO(P3),jqt=oO(D3),Hqt=oO(TQ),Lce=I_;function Uqt(e){s1.presetPrimaryColors.pink=s1.presetPrimaryColors.magenta,s1.presetPalettes.pink=s1.presetPalettes.magenta;const t=Object.keys(Lqt.defaultPresetColors).map(n=>{const r=e[n]===s1.presetPrimaryColors[n]?s1.presetPalettes[n]:(0,s1.generate)(e[n]);return new Array(10).fill(1).reduce((i,o,a)=>(i[`${n}-${a+1}`]=r[a],i[`${n}${a+1}`]=r[a],i),{})}).reduce((n,r)=>(n=Object.assign(Object.assign({},n),r),n),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),(0,$qt.default)(e,{generateColorPalettes:Lce.generateColorPalettes,generateNeutralColorPalettes:Lce.generateNeutralColorPalettes})),(0,jqt.default)(e.fontSize)),(0,Hqt.default)(e)),(0,Bqt.default)(e)),(0,Fqt.default)(e))}var xQ=xr.default;Object.defineProperty(Mf,"__esModule",{value:!0});Mf.defaultTheme=Mf.defaultConfig=Mf.DesignTokenContext=void 0;var zqt=xQ(p),Vqt=$g,Gqt=xQ(EQ),$ce=xQ(jf);Mf.defaultTheme=(0,Vqt.createTheme)(Gqt.default);const Wqt=Mf.defaultConfig={token:$ce.default,override:{override:$ce.default},hashed:!0};Mf.DesignTokenContext=zqt.default.createContext(Wqt);var lc={},qqt=sa.default;Object.defineProperty(lc,"__esModule",{value:!0});lc.defaultPrefixCls=lc.defaultIconPrefixCls=lc.Variants=lc.ConfigContext=lc.ConfigConsumer=void 0;var Yqt=qqt(p);const Fce=lc.defaultPrefixCls="ant",Kqt=lc.defaultIconPrefixCls="anticon";lc.Variants=["outlined","borderless","filled"];const Qqt=(e,t)=>t||(e?`${Fce}-${e}`:Fce),Xqt=lc.ConfigContext=Yqt.createContext({getPrefixCls:Qqt,iconPrefixCls:Kqt}),{Consumer:Zqt}=Xqt;lc.ConfigConsumer=Zqt;var L3={},uNe=xr.default;Object.defineProperty(L3,"__esModule",{value:!0});L3.getStyle=dNe;L3.registerTheme=nYt;var Bce=Q2,l6=rO,Jqt=uNe(a3),eYt=N0;uNe(cu);const tYt=`-ant-${Date.now()}-${Math.random()}`;function dNe(e,t){const n={},r=(a,s)=>{let l=a.clone();return l=(s==null?void 0:s(l))||l,l.toRgbString()},i=(a,s)=>{const l=new l6.FastColor(a),c=(0,Bce.generate)(l.toRgbString());n[`${s}-color`]=r(l),n[`${s}-color-disabled`]=c[1],n[`${s}-color-hover`]=c[4],n[`${s}-color-active`]=c[6],n[`${s}-color-outline`]=l.clone().setA(.2).toRgbString(),n[`${s}-color-deprecated-bg`]=c[0],n[`${s}-color-deprecated-border`]=c[2]};if(t.primaryColor){i(t.primaryColor,"primary");const a=new l6.FastColor(t.primaryColor),s=(0,Bce.generate)(a.toRgbString());s.forEach((c,u)=>{n[`primary-${u+1}`]=c}),n["primary-color-deprecated-l-35"]=r(a,c=>c.lighten(35)),n["primary-color-deprecated-l-20"]=r(a,c=>c.lighten(20)),n["primary-color-deprecated-t-20"]=r(a,c=>c.tint(20)),n["primary-color-deprecated-t-50"]=r(a,c=>c.tint(50)),n["primary-color-deprecated-f-12"]=r(a,c=>c.setA(c.a*.12));const l=new l6.FastColor(s[0]);n["primary-color-active-deprecated-f-30"]=r(l,c=>c.setA(c.a*.3)),n["primary-color-active-deprecated-d-02"]=r(l,c=>c.darken(2))}return t.successColor&&i(t.successColor,"success"),t.warningColor&&i(t.warningColor,"warning"),t.errorColor&&i(t.errorColor,"error"),t.infoColor&&i(t.infoColor,"info"),` @@ -761,7 +761,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)"}),r)}var z3=xr.default;Object.defineProperty(vd,"__esModule",{value:!0});vd.default=TYt;vd.unitless=vd.ignore=vd.getComputedToken=void 0;var bYt=z3(p),yYt=$g,_Yt=z3(j3),Uce=Mf,SYt=z3(jf),gNe=z3(IQ),zce=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const r=n.getDerivativeToken(e),{override:i}=t,o=zce(t,["override"]);let a=Object.assign(Object.assign({},r),{override:i});return a=(0,gNe.default)(a),o&&Object.entries(o).forEach(s=>{let[l,c]=s;const{theme:u}=c,d=zce(c,["theme"]);let f=d;u&&(f=AQ(Object.assign(Object.assign({},a),d),{override:d},u)),a[l]=f}),a};vd.getComputedToken=AQ;function TYt(){const{token:e,hashed:t,theme:n,override:r,cssVar:i}=bYt.default.useContext(Uce.DesignTokenContext),o=`${_Yt.default}-${t||""}`,a=n||Uce.defaultTheme,[s,l,c]=(0,yYt.useCacheToken)(a,[SYt.default,e],{salt:o,override:r,getComputedToken:AQ,formatToken:gNe.default,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:EYt,ignore:CYt,preserve:wYt}});return[a,c,t?l:"",s,i]}var sg={},Oo={};Object.defineProperty(Oo,"__esModule",{value:!0});Oo.textEllipsis=Oo.resetIcon=Oo.resetComponent=Oo.operationUnit=Oo.genLinkStyle=Oo.genIconStyle=Oo.genFocusStyle=Oo.genFocusOutline=Oo.genCommonStyle=Oo.clearFix=void 0;var xYt=$g;Oo.textEllipsis={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"};const OYt=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}};Oo.resetComponent=OYt;const vNe=()=>({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"}});Oo.resetIcon=vNe;const RYt=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}});Oo.clearFix=RYt;const IYt=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}});Oo.genLinkStyle=IYt;const AYt=(e,t,n,r)=>{const i=`[class^="${t}"], [class*=" ${t}"]`,o=n?`.${n}`:i,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[o]:Object.assign(Object.assign(Object.assign({},s),a),{[i]:a})}};Oo.genCommonStyle=AYt;const bNe=(e,t)=>({outline:`${(0,xYt.unit)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:t??1,transition:"outline-offset 0s, outline 0s"});Oo.genFocusOutline=bNe;const yNe=(e,t)=>({"&:focus-visible":Object.assign({},bNe(e,t))});Oo.genFocusStyle=yNe;const NYt=e=>({[`.${e}`]:Object.assign(Object.assign({},vNe()),{[`.${e} .${e}-icon`]:{display:"block"}})});Oo.genIconStyle=NYt;const MYt=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},yNe(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}});Oo.operationUnit=MYt;var kYt=sa.default;Object.defineProperty(sg,"__esModule",{value:!0});sg.genSubStyleComponent=sg.genStyleHooks=sg.genComponentStyleHook=void 0;var Vce=p,PYt=hNe,d6=lc,f6=Oo,Gce=kYt(vd);const{genStyleHooks:DYt,genComponentStyleHook:LYt,genSubStyleComponent:$Yt}=(0,PYt.genStyleUtils)({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=(0,Vce.useContext)(d6.ConfigContext);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,i]=(0,Gce.default)();return{theme:e,realToken:t,hashId:n,token:r,cssVar:i}},useCSP:()=>{const{csp:e}=(0,Vce.useContext)(d6.ConfigContext);return e??{}},getResetStyles:(e,t)=>{var n;return[{"&":(0,f6.genLinkStyle)(e)},(0,f6.genIconStyle)((n=t==null?void 0:t.prefix.iconPrefixCls)!==null&&n!==void 0?n:d6.defaultIconPrefixCls)]},getCommonStyle:f6.genCommonStyle,getCompUnitless:()=>Gce.unitless});sg.genSubStyleComponent=$Yt;sg.genComponentStyleHook=LYt;sg.genStyleHooks=DYt;var NQ={};Object.defineProperty(NQ,"__esModule",{value:!0});NQ.default=BYt;var FYt=RQ;function BYt(e,t){return FYt.PresetColors.reduce((n,r)=>{const i=e[`${r}1`],o=e[`${r}3`],a=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:i,lightBorderColor:o,darkColor:a,textColor:s}))},{})}var V3={},jYt=xr.default;Object.defineProperty(V3,"__esModule",{value:!0});V3.default=void 0;var HYt=$g,UYt=Oo,zYt=jYt(vd);const VYt=(e,t)=>{const[n,r]=(0,zYt.default)();return(0,HYt.useStyleRegister)({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[(0,UYt.genIconStyle)(e)])};V3.default=VYt;(function(e){var t=xr.default;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DesignTokenContext",{enumerable:!0,get:function(){return u.DesignTokenContext}}),Object.defineProperty(e,"PresetColors",{enumerable:!0,get:function(){return i.PresetColors}}),Object.defineProperty(e,"calc",{enumerable:!0,get:function(){return r.genCalc}}),Object.defineProperty(e,"defaultConfig",{enumerable:!0,get:function(){return u.defaultConfig}}),Object.defineProperty(e,"genComponentStyleHook",{enumerable:!0,get:function(){return s.genComponentStyleHook}}),Object.defineProperty(e,"genPresetColor",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"genStyleHooks",{enumerable:!0,get:function(){return s.genStyleHooks}}),Object.defineProperty(e,"genSubStyleComponent",{enumerable:!0,get:function(){return s.genSubStyleComponent}}),Object.defineProperty(e,"getLineHeight",{enumerable:!0,get:function(){return o.getLineHeight}}),Object.defineProperty(e,"mergeToken",{enumerable:!0,get:function(){return r.mergeToken}}),Object.defineProperty(e,"statistic",{enumerable:!0,get:function(){return r.statistic}}),Object.defineProperty(e,"statisticToken",{enumerable:!0,get:function(){return r.statisticToken}}),Object.defineProperty(e,"useResetIconStyle",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"useStyleRegister",{enumerable:!0,get:function(){return n.useStyleRegister}}),Object.defineProperty(e,"useToken",{enumerable:!0,get:function(){return a.default}});var n=$g,r=hNe,i=RQ,o=iO,a=t(vd),s=sg,l=t(NQ),c=t(V3),u=Mf})(tE);var G3={},GYt=sa.default;Object.defineProperty(G3,"__esModule",{value:!0});G3.default=void 0;var WYt=GYt(p);const qYt=Object.assign({},WYt),{useId:Wce}=qYt,YYt=()=>"",KYt=typeof Wce>"u"?YYt:Wce;G3.default=KYt;var MQ=xr.default;Object.defineProperty(OQ,"__esModule",{value:!0});OQ.default=eKt;var QYt=MQ(R3),XYt=MQ(F3),ZYt=cu,qce=tE,JYt=MQ(G3);function eKt(e,t,n){var r;(0,ZYt.devUseWarning)("ConfigProvider");const i=e||{},o=i.inherit===!1||!t?Object.assign(Object.assign({},qce.defaultConfig),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:qce.defaultConfig.hashed,cssVar:t==null?void 0:t.cssVar}):t,a=(0,JYt.default)();return(0,QYt.default)(()=>{var s,l;if(!e)return t;const c=Object.assign({},o.components);Object.keys(e.components||{}).forEach(f=>{c[f]=Object.assign(Object.assign({},c[f]),e.components[f])});const u=`css-var-${a.replace(/:/g,"")}`,d=((s=i.cssVar)!==null&&s!==void 0?s:o.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof o.cssVar=="object"?o.cssVar:{}),typeof i.cssVar=="object"?i.cssVar:{}),{key:typeof i.cssVar=="object"&&((l=i.cssVar)===null||l===void 0?void 0:l.key)||u});return Object.assign(Object.assign(Object.assign({},o),i),{token:Object.assign(Object.assign({},o.token),i.token),components:c,cssVar:d})},[i,o],(s,l)=>s.some((c,u)=>{const d=l[u];return!(0,XYt.default)(c,d,!0)}))}var kQ={};const tKt=Dx(CKe);var nKt=sa.default;Object.defineProperty(kQ,"__esModule",{value:!0});kQ.default=oKt;var Yce=nKt(p),rKt=tKt,iKt=tE;function oKt(e){const{children:t}=e,[,n]=(0,iKt.useToken)(),{motion:r}=n,i=Yce.useRef(!1);return i.current=i.current||r===!1,i.current?Yce.createElement(rKt.Provider,{motion:r},t):t}var W3={},aKt=sa.default;Object.defineProperty(W3,"__esModule",{value:!0});W3.default=void 0;aKt(p);W3.default=()=>null;var _Ne={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.useResetIconStyle}});var t=tE})(_Ne);(function(e){"use client";var t=xr.default,n=sa.default;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ConfigConsumer",{enumerable:!0,get:function(){return g.ConfigConsumer}}),Object.defineProperty(e,"ConfigContext",{enumerable:!0,get:function(){return g.ConfigContext}}),Object.defineProperty(e,"Variants",{enumerable:!0,get:function(){return g.Variants}}),e.default=e.configConsumerProps=void 0,Object.defineProperty(e,"defaultIconPrefixCls",{enumerable:!0,get:function(){return g.defaultIconPrefixCls}}),Object.defineProperty(e,"defaultPrefixCls",{enumerable:!0,get:function(){return g.defaultPrefixCls}}),e.warnContext=e.globalConfig=void 0;var r=n(p),i=$g,o=t(ZS),a=t(R3),s=I3,l=n(cu),c=t(A3),u=n(aNe),d=t(eE),f=t(d0),h=Mf,m=t(jf),g=lc,v=L3,y=Zv,b=t($3),_=t(OQ),E=t(kQ),C=t(W3),S=n(Jv),w=t(_Ne),T=function(W,j){var U={};for(var Z in W)Object.prototype.hasOwnProperty.call(W,Z)&&j.indexOf(Z)<0&&(U[Z]=W[Z]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,Z=Object.getOwnPropertySymbols(W);tej.endsWith("Color"))}const N=W=>{const{prefixCls:j,iconPrefixCls:U,theme:Z,holderRender:te}=W;j!==void 0&&(x=j),U!==void 0&&(A=U),"holderRender"in W&&(M=te),Z&&(k(Z)?(0,v.registerTheme)(B(),Z):I=Z)},L=()=>({getPrefixCls:(W,j)=>j||(W?`${B()}-${W}`:B()),getIconPrefixCls:P,getRootPrefixCls:()=>x||B(),getTheme:()=>I,holderRender:M});e.globalConfig=L;const V=W=>{const{children:j,csp:U,autoInsertSpaceInButton:Z,alert:te,anchor:ae,form:K,locale:Q,componentSize:ie,direction:he,space:pe,splitter:le,virtual:de,dropdownMatchSelectWidth:ve,popupMatchSelectWidth:ne,popupOverflow:ue,legacyLocale:ge,parentContext:Ce,iconPrefixCls:Te,theme:Se,componentDisabled:me,segmented:be,statistic:_e,spin:Re,calendar:De,carousel:z,cascader:D,collapse:q,typography:oe,checkbox:ye,descriptions:ce,divider:Be,drawer:Ve,skeleton:re,steps:Me,image:je,layout:ke,list:Ge,mentions:Ue,modal:qe,progress:At,result:at,slider:pt,breadcrumb:Ct,menu:bt,pagination:Vt,input:Tt,textArea:Ot,empty:Ut,badge:ze,radio:Ye,rate:He,switch:Ze,transfer:yt,avatar:_t,message:Bt,tag:Nt,table:vt,card:ht,tabs:kt,timeline:Et,timePicker:Yt,upload:ct,notification:Rt,tree:Ht,colorPicker:wt,datePicker:St,rangePicker:jt,flex:Pe,wave:Pt,dropdown:rt,warning:Mt,tour:It,tooltip:xn,popover:Hn,popconfirm:R,floatButtonGroup:F,variant:J,inputNumber:Oe,treeSelect:$e}=W,et=r.useCallback((on,an)=>{const{prefixCls:Gn}=W;if(an)return an;const yr=Gn||Ce.getPrefixCls("");return on?`${yr}-${on}`:yr},[Ce.getPrefixCls,W.prefixCls]),$t=Te||Ce.iconPrefixCls||g.defaultIconPrefixCls,hn=U||Ce.csp;(0,w.default)($t,hn);const Fn=(0,_.default)(Se,Ce.theme,{prefixCls:et("")}),Xr={csp:hn,autoInsertSpaceInButton:Z,alert:te,anchor:ae,locale:Q||ge,direction:he,space:pe,splitter:le,virtual:de,popupMatchSelectWidth:ne??ve,popupOverflow:ue,getPrefixCls:et,iconPrefixCls:$t,theme:Fn,segmented:be,statistic:_e,spin:Re,calendar:De,carousel:z,cascader:D,collapse:q,typography:oe,checkbox:ye,descriptions:ce,divider:Be,drawer:Ve,skeleton:re,steps:Me,image:je,input:Tt,textArea:Ot,layout:ke,list:Ge,mentions:Ue,modal:qe,progress:At,result:at,slider:pt,breadcrumb:Ct,menu:bt,pagination:Vt,empty:Ut,badge:ze,radio:Ye,rate:He,switch:Ze,transfer:yt,avatar:_t,message:Bt,tag:Nt,table:vt,card:ht,tabs:kt,timeline:Et,timePicker:Yt,upload:ct,notification:Rt,tree:Ht,colorPicker:wt,datePicker:St,rangePicker:jt,flex:Pe,wave:Pt,dropdown:rt,warning:Mt,tour:It,tooltip:xn,popover:Hn,popconfirm:R,floatButtonGroup:F,variant:J,inputNumber:Oe,treeSelect:$e},Lr=Object.assign({},Ce);Object.keys(Xr).forEach(on=>{Xr[on]!==void 0&&(Lr[on]=Xr[on])}),O.forEach(on=>{const an=W[on];an&&(Lr[on]=an)}),typeof Z<"u"&&(Lr.button=Object.assign({autoInsertSpace:Z},Lr.button));const vi=(0,a.default)(()=>Lr,Lr,(on,an)=>{const Gn=Object.keys(on),yr=Object.keys(an);return Gn.length!==yr.length||Gn.some(oi=>on[oi]!==an[oi])}),Sr=r.useMemo(()=>({prefixCls:$t,csp:hn}),[$t,hn]);let ln=r.createElement(r.Fragment,null,r.createElement(C.default,{dropdownMatchSelectWidth:ve}),j);const _n=r.useMemo(()=>{var on,an,Gn,yr;return(0,s.merge)(((on=f.default.Form)===null||on===void 0?void 0:on.defaultValidateMessages)||{},((Gn=(an=vi.locale)===null||an===void 0?void 0:an.Form)===null||Gn===void 0?void 0:Gn.defaultValidateMessages)||{},((yr=vi.form)===null||yr===void 0?void 0:yr.validateMessages)||{},(K==null?void 0:K.validateMessages)||{})},[vi,K==null?void 0:K.validateMessages]);Object.keys(_n).length>0&&(ln=r.createElement(c.default.Provider,{value:_n},ln)),Q&&(ln=r.createElement(u.default,{locale:Q,_ANT_MARK__:u.ANT_MARK},ln)),($t||hn)&&(ln=r.createElement(o.default.Provider,{value:Sr},ln)),ie&&(ln=r.createElement(S.SizeContextProvider,{size:ie},ln)),ln=r.createElement(E.default,null,ln);const Cr=r.useMemo(()=>{const on=Fn||{},{algorithm:an,token:Gn,components:yr,cssVar:oi}=on,Zi=T(on,["algorithm","token","components","cssVar"]),tr=an&&(!Array.isArray(an)||an.length>0)?(0,i.createTheme)(an):h.defaultTheme,Fi={};Object.entries(yr||{}).forEach(fn=>{let[wn,Mn]=fn;const Qn=Object.assign({},Mn);"algorithm"in Qn&&(Qn.algorithm===!0?Qn.theme=tr:(Array.isArray(Qn.algorithm)||typeof Qn.algorithm=="function")&&(Qn.theme=(0,i.createTheme)(Qn.algorithm)),delete Qn.algorithm),Fi[wn]=Qn});const Jn=Object.assign(Object.assign({},m.default),Gn);return Object.assign(Object.assign({},Zi),{theme:tr,token:Jn,components:Fi,override:Object.assign({override:Jn},Fi),cssVar:oi})},[Fn]);return Se&&(ln=r.createElement(h.DesignTokenContext.Provider,{value:Cr},ln)),vi.warning&&(ln=r.createElement(l.WarningContext.Provider,{value:vi.warning},ln)),me!==void 0&&(ln=r.createElement(y.DisabledContextProvider,{disabled:me},ln)),r.createElement(g.ConfigContext.Provider,{value:vi},ln)},$=W=>{const j=r.useContext(g.ConfigContext),U=r.useContext(d.default);return r.createElement(V,Object.assign({parentContext:j,legacyLocale:U},W))};$.ConfigContext=g.ConfigContext,$.SizeContext=S.default,$.config=N,$.useConfig=b.default,Object.defineProperty($,"SizeContext",{get:()=>S.default}),e.default=$})(bQ);var aO={},sKt=sa.default;Object.defineProperty(aO,"__esModule",{value:!0});aO.LayoutContext=void 0;var lKt=sKt(p);aO.LayoutContext=lKt.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var PQ={},DQ={},LQ={},cKt=xr.default;Object.defineProperty(LQ,"__esModule",{value:!0});LQ.default=hKt;var uKt=cKt(f0),dKt=Symbol.for("react.element"),fKt=Symbol.for("react.transitional.element"),pKt=Symbol.for("react.fragment");function hKt(e){return e&&(0,uKt.default)(e)==="object"&&(e.$$typeof===dKt||e.$$typeof===fKt)&&e.type===pKt}var SNe=xr.default;Object.defineProperty(DQ,"__esModule",{value:!0});DQ.default=Iz;var mKt=SNe(LQ),gKt=SNe(p);function Iz(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return gKt.default.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Iz(r)):(0,mKt.default)(r)&&r.props?n=n.concat(Iz(r.props.children,t)):n.push(r))}),n}var N_={},Az={exports:{}},q3={},$Q={};Object.defineProperty($Q,"__esModule",{value:!0});var vKt={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"};$Q.default=vKt;var bKt=sa.default,FQ=xr.default;Object.defineProperty(q3,"__esModule",{value:!0});q3.default=void 0;var yKt=FQ(o3),ENe=bKt(p),_Kt=FQ($Q),SKt=FQ(XS),EKt=function(t,n){return ENe.createElement(SKt.default,(0,yKt.default)({},t,{ref:n,icon:_Kt.default}))},CKt=ENe.forwardRef(EKt);q3.default=CKt;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=r(q3);function r(o){return o&&o.__esModule?o:{default:o}}const i=n;t.default=i,e.exports=i})(Az,Az.exports);var wKt=Az.exports,Nz={exports:{}},Y3={},BQ={};Object.defineProperty(BQ,"__esModule",{value:!0});var TKt={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"};BQ.default=TKt;var xKt=sa.default,jQ=xr.default;Object.defineProperty(Y3,"__esModule",{value:!0});Y3.default=void 0;var OKt=jQ(o3),CNe=xKt(p),RKt=jQ(BQ),IKt=jQ(XS),AKt=function(t,n){return CNe.createElement(IKt.default,(0,OKt.default)({},t,{ref:n,icon:RKt.default}))},NKt=CNe.forwardRef(AKt);Y3.default=NKt;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=r(Y3);function r(o){return o&&o.__esModule?o:{default:o}}const i=n;t.default=i,e.exports=i})(Nz,Nz.exports);var MKt=Nz.exports,Mz={exports:{}},K3={},HQ={};Object.defineProperty(HQ,"__esModule",{value:!0});var kKt={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"};HQ.default=kKt;var PKt=sa.default,UQ=xr.default;Object.defineProperty(K3,"__esModule",{value:!0});K3.default=void 0;var DKt=UQ(o3),wNe=PKt(p),LKt=UQ(HQ),$Kt=UQ(XS),FKt=function(t,n){return wNe.createElement($Kt.default,(0,DKt.default)({},t,{ref:n,icon:LKt.default}))},BKt=wNe.forwardRef(FKt);K3.default=BKt;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=r(K3);function r(o){return o&&o.__esModule?o:{default:o}}const i=n;t.default=i,e.exports=i})(Mz,Mz.exports);var jKt=Mz.exports,Q3={},Zp={};Object.defineProperty(Zp,"__esModule",{value:!0});Zp.prepareComponentToken=Zp.default=Zp.DEPRECATED_TOKENS=void 0;var HKt=$g,UKt=tE;const zKt=e=>{const{antCls:t,componentCls:n,colorText:r,footerBg:i,headerHeight:o,headerPadding:a,headerColor:s,footerPadding:l,fontSize:c,bodyBg:u,headerBg:d}=e;return{[n]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:u,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${n}-header`]:{height:o,padding:a,color:s,lineHeight:(0,HKt.unit)(o),background:d,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:l,color:r,fontSize:c,background:i},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},TNe=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:i,controlHeightSM:o,marginXXS:a,colorTextLightSolid:s,colorBgContainer:l}=e,c=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${c}px`,headerColor:i,footerPadding:`${o}px ${c}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+a*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:i}};Zp.prepareComponentToken=TNe;const VKt=Zp.DEPRECATED_TOKENS=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Zp.default=(0,UKt.genStyleHooks)("Layout",e=>[zKt(e)],TNe,{deprecatedTokens:VKt});Object.defineProperty(Q3,"__esModule",{value:!0});Q3.default=void 0;var QE=$g,Kce=Zp,GKt=tE;const WKt=e=>{const{componentCls:t,siderBg:n,motionDurationMid:r,motionDurationSlow:i,antCls:o,triggerHeight:a,triggerColor:s,triggerBg:l,headerHeight:c,zeroTriggerWidth:u,zeroTriggerHeight:d,borderRadiusLG:f,lightSiderBg:h,lightTriggerColor:m,lightTriggerBg:g,bodyBg:v}=e;return{[t]:{position:"relative",minWidth:0,background:n,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:a},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${o}-menu${o}-menu-inline-collapsed`]:{width:"auto"}},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:a,color:s,lineHeight:(0,QE.unit)(a),textAlign:"center",background:l,cursor:"pointer",transition:`all ${r}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:c,insetInlineEnd:e.calc(u).mul(-1).equal(),zIndex:1,width:u,height:d,color:s,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:n,borderRadius:`0 ${(0,QE.unit)(f)} ${(0,QE.unit)(f)} 0`,cursor:"pointer",transition:`background ${i} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${i}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(u).mul(-1).equal(),borderRadius:`${(0,QE.unit)(f)} 0 0 ${(0,QE.unit)(f)}`}}},"&-light":{background:h,[`${t}-trigger`]:{color:m,background:g},[`${t}-zero-width-trigger`]:{color:m,background:g,border:`1px solid ${v}`,borderInlineStart:0}}}}};Q3.default=(0,GKt.genStyleHooks)(["Layout","Sider"],e=>[WKt(e)],Kce.prepareComponentToken,{deprecatedTokens:Kce.DEPRECATED_TOKENS});var nE=xr.default,qKt=sa.default;Object.defineProperty(N_,"__esModule",{value:!0});N_.default=N_.SiderContext=void 0;var Ep=qKt(p),Jl=Ep,YKt=nE(wKt),Qce=nE(MKt),Xce=nE(jKt),Zce=nE(iP),KKt=nE(O3),QKt=bQ,XKt=aO,ZKt=nE(Q3),JKt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i!Number.isNaN(Number.parseFloat(e))&&isFinite(e),tQt=N_.SiderContext=Jl.createContext({}),nQt=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),rQt=Jl.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:i,children:o,defaultCollapsed:a=!1,theme:s="dark",style:l={},collapsible:c=!1,reverseArrow:u=!1,width:d=200,collapsedWidth:f=80,zeroWidthTriggerStyle:h,breakpoint:m,onCollapse:g,onBreakpoint:v}=e,y=JKt(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:b}=(0,Ep.useContext)(XKt.LayoutContext),[_,E]=(0,Ep.useState)("collapsed"in e?e.collapsed:a),[C,S]=(0,Ep.useState)(!1);(0,Ep.useEffect)(()=>{"collapsed"in e&&E(e.collapsed)},[e.collapsed]);const w=(Q,ie)=>{"collapsed"in e||E(Q),g==null||g(Q,ie)},{getPrefixCls:T,direction:O}=(0,Ep.useContext)(QKt.ConfigContext),x=T("layout-sider",n),[A,I,M]=(0,ZKt.default)(x),B=(0,Ep.useRef)(null);B.current=Q=>{S(Q.matches),v==null||v(Q.matches),_!==Q.matches&&w(Q.matches,"responsive")},(0,Ep.useEffect)(()=>{function Q(he){return B.current(he)}let ie;if(typeof window<"u"){const{matchMedia:he}=window;if(he&&m&&m in Jce){ie=he(`screen and (max-width: ${Jce[m]})`);try{ie.addEventListener("change",Q)}catch{ie.addListener(Q)}Q(ie)}}return()=>{try{ie==null||ie.removeEventListener("change",Q)}catch{ie==null||ie.removeListener(Q)}}},[m]),(0,Ep.useEffect)(()=>{const Q=nQt("ant-sider-");return b.addSider(Q),()=>b.removeSider(Q)},[]);const P=()=>{w(!_,"clickTrigger")},k=(0,KKt.default)(y,["collapsed"]),N=_?f:d,L=eQt(N)?`${N}px`:String(N),V=parseFloat(String(f||0))===0?Jl.createElement("span",{onClick:P,className:(0,Zce.default)(`${x}-zero-width-trigger`,`${x}-zero-width-trigger-${u?"right":"left"}`),style:h},i||Jl.createElement(YKt.default,null)):null,$=O==="rtl"==!u,U={expanded:$?Jl.createElement(Xce.default,null):Jl.createElement(Qce.default,null),collapsed:$?Jl.createElement(Qce.default,null):Jl.createElement(Xce.default,null)}[_?"collapsed":"expanded"],Z=i!==null?V||Jl.createElement("div",{className:`${x}-trigger`,onClick:P,style:{width:L}},i||U):null,te=Object.assign(Object.assign({},l),{flex:`0 0 ${L}`,maxWidth:L,minWidth:L,width:L}),ae=(0,Zce.default)(x,`${x}-${s}`,{[`${x}-collapsed`]:!!_,[`${x}-has-trigger`]:c&&i!==null&&!V,[`${x}-below`]:!!C,[`${x}-zero-width`]:parseFloat(L)===0},r,I,M),K=Jl.useMemo(()=>({siderCollapsed:_}),[_]);return A(Jl.createElement(tQt.Provider,{value:K},Jl.createElement("aside",Object.assign({className:ae},k,{style:te,ref:t}),Jl.createElement("div",{className:`${x}-children`},o),c||C&&V?Z:null)))});N_.default=rQt;var xNe=xr.default;Object.defineProperty(PQ,"__esModule",{value:!0});PQ.default=aQt;var iQt=xNe(DQ),oQt=xNe(N_);function aQt(e,t,n){return typeof n=="boolean"?n:e.length?!0:(0,iQt.default)(t).some(i=>i.type===oQt.default)}var X3,Z3,sQt=sa.default,sO=xr.default;Object.defineProperty(Vp,"__esModule",{value:!0});Vp.default=Vp.Header=Z3=Vp.Footer=X3=Vp.Content=void 0;var lQt=sO(eNe),Qc=sQt(p),ONe=sO(iP),cQt=sO(O3),kz=bQ,uQt=aO,dQt=sO(PQ),RNe=sO(Zp),INe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iQc.forwardRef((a,s)=>Qc.createElement(i,Object.assign({ref:s,suffixCls:t,tagName:n},a)))}const zQ=Qc.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:i,tagName:o}=e,a=INe(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=Qc.useContext(kz.ConfigContext),l=s("layout",n),[c,u,d]=(0,RNe.default)(l),f=r?`${l}-${r}`:l;return c(Qc.createElement(o,Object.assign({className:(0,ONe.default)(n||f,i,u,d),ref:t},a)))}),fQt=Qc.forwardRef((e,t)=>{const{direction:n}=Qc.useContext(kz.ConfigContext),[r,i]=Qc.useState([]),{prefixCls:o,className:a,rootClassName:s,children:l,hasSider:c,tagName:u,style:d}=e,f=INe(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),h=(0,cQt.default)(f,["suffixCls"]),{getPrefixCls:m,layout:g}=Qc.useContext(kz.ConfigContext),v=m("layout",o),y=(0,dQt.default)(r,l,c),[b,_,E]=(0,RNe.default)(v),C=(0,ONe.default)(v,{[`${v}-has-sider`]:y,[`${v}-rtl`]:n==="rtl"},g==null?void 0:g.className,a,s,_,E),S=Qc.useMemo(()=>({siderHook:{addSider:w=>{i(T=>[].concat((0,lQt.default)(T),[w]))},removeSider:w=>{i(T=>T.filter(O=>O!==w))}}}),[]);return b(Qc.createElement(uQt.LayoutContext.Provider,{value:S},Qc.createElement(u,Object.assign({ref:t,className:C,style:Object.assign(Object.assign({},g==null?void 0:g.style),d)},h),l)))}),pQt=J3({tagName:"div",displayName:"Layout"})(fQt);Vp.Header=J3({suffixCls:"header",tagName:"header",displayName:"Header"})(zQ);Z3=Vp.Footer=J3({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(zQ);X3=Vp.Content=J3({suffixCls:"content",tagName:"main",displayName:"Content"})(zQ);Vp.default=pQt;function lO(){const{isDarkMode:e}=uW(),{token:t}=Es.useToken(),n={borderRight:e?"1px solid #333":"1px solid #ccc",background:e?"#141414":"#eee"},r=260,i={borderBottom:e?"1px solid #333":"1px solid #ccc",background:e?"#141414":"#eee"},o={borderLeft:e?"1px solid #333":"1px solid #ccc",background:e?"#141414":"#eee"},a={minHeight:120,overflowY:"auto"},s={height:20,fontSize:12,backgroundColor:t.colorBgContainer,color:t.colorText};return{leftSiderStyle:n,leftSiderWidth:r,headerStyle:i,rightSiderStyle:o,contentStyle:a,footerStyle:s}}const{Header:hQt,Sider:mQt,Content:gQt}=fo,ANe=()=>{const e=Si();p.useContext(as);const t=Na(),{headerStyle:n,leftSiderStyle:r,leftSiderWidth:i,contentStyle:o}=lO(),[a,s]=p.useState([]);p.useEffect(()=>{const c=[{label:e.formatMessage({id:"setting.menu.title",defaultMessage:"设置"}),key:"setting",children:[{label:e.formatMessage({id:"setting.menu.profile",defaultMessage:"个人信息"}),key:"profile"},{label:e.formatMessage({id:"setting.menu.basic",defaultMessage:"基本设置"}),key:"basic"}]}];s(c)},[e]);const l=c=>{console.log(e.formatMessage({id:"setting.menu.click",defaultMessage:"Menu clicked"}),c),t("/setting/"+c.key)};return H.jsxs(fo,{children:[H.jsx(mQt,{style:r,width:i,children:H.jsx(Bd,{mode:"inline",onClick:l,defaultSelectedKeys:["profile"],defaultOpenKeys:["setting"],items:a})}),H.jsxs(fo,{children:[H.jsx(hQt,{style:n,children:e.formatMessage({id:"menu.dashboard.mine"})}),H.jsx(gQt,{style:o,children:H.jsx($D,{})})]})]})},NNe=()=>{const e=Na(),{userInfo:t}=tK(),{translateString:n}=Pc(),{mode:r}=p.useContext(as),[i,o]=p.useState(""),[a,s]=p.useState(""),[l,c]=p.useState(""),u=()=>{e("/setting")};return p.useEffect(()=>{o(n(t==null?void 0:t.nickname)),s(n(t==null?void 0:t.description)),c(t==null?void 0:t.avatar)},[r,t]),H.jsx(H.Fragment,{children:H.jsx(yu,{title:i,content:a,placement:"rightBottom",children:H.jsx(H.Fragment,{children:H.jsx(Rh,{style:{marginTop:60,cursor:"pointer"},size:40,src:l,onClick:u})})})})};function VQ(){const e=Ux(b=>b.accessToken),t=Ra(b=>b.userInfo),n=y0(b=>b.agentInfo),r=x3(),[i,o]=p.useState(!1),{showNotification:a}=vQ(),{translateString:s}=Pc();wh(b=>b.addMessage),id(b=>b.updateThreadContent),p.useContext(as),p.useRef(!1);const l=id(b=>b.threads),[c,u]=p.useState(l),d=p.useCallback(()=>{if(r&&e)return setInterval(()=>{console.log("useMqtt autoCheckConnection"),!wSt()&&r&&e&&g()},1e4);console.log("useMqtt autoCheckConnection isNetworkOnline:",r," accessToken:",e)},[r,e]),f=async()=>{},h=p.useRef(n==null?void 0:n.uid),m=p.useCallback(()=>{if(!i&&e)return setInterval(async()=>{h.current?f():console.log("useMqtt autoPingMessage currentUidRef.current:",h.current)},1e4);console.log("useMqtt autoPingMessage isNetworkOnline:",r," accessToken:",e)},[i,e,t,n]),g=()=>{console.log("useMqtt doConnect"),ESt({uid:t.uid,username:t.username,accessToken:e})},v=()=>{console.log("useMqtt useEffect doDisconnect"),A$()},y=b=>{var _,E;(b==null?void 0:b.type)!==mT&&((_=b==null?void 0:b.user)==null?void 0:_.uid)!==(t==null?void 0:t.uid)&&((E=b==null?void 0:b.user)==null?void 0:E.uid)!==(n==null?void 0:n.uid)&&(LGe(),console.log("playAudio"))};return p.useEffect(()=>{console.log("useMqtt useEffect isNetworkOnline",r),r?g():A$()},[r]),p.useEffect(()=>{if(n!=null&&n.uid){h.current=n==null?void 0:n.uid;const b=m();return()=>{clearInterval(b)}}else h.current=null},[n]),p.useEffect(()=>{console.log("useMqtt useEffect accessToken"),g();const b=d();return()=>{A$(),clearInterval(b)}},[e,t]),p.useEffect(()=>{console.log("useMqtt threads change"),u(l)},[l]),p.useEffect(()=>{const b=function(_){if(console.log("useMqtt handleNewMessage",_),_.type===hT||_.type===Uve||_.type===uB||_.type===mT||_.type===gT)return;const E=_.threadTopic,C=c.find(S=>S.topic===E);C?C.mute?console.log("useMqtt matchingThread muted",E):(console.log("useMqtt matchingThread no mute",E),a(s(oR),s(oR)),y(_)):(console.log("useMqtt matchingThread no"),a(s(oR),s(oR)),y(_))};return vr.on(pT,b),()=>{vr.off(pT)}},[c]),p.useEffect(()=>{console.log("useMqtt useEffect");const b=function(){console.log("handleMqttConnected"),o(!0)},_=function(){console.log("handleMqttDisconnected"),o(!1)};return vr.on(eB,b),vr.on(nB,_),vr.on(rB,_),vr.on(tB,_),vr.on(iB,_),vr.on(oB,_),()=>{console.log("un - useEffect mqttDisconnect"),vr.off(eB),vr.off(nB),vr.off(rB),vr.off(tB),vr.off(iB),vr.off(oB)}},[]),{doConnect:g,doDisconnect:v,isMqttConnected:i}}const MNe=Ic()(Md(kd(Pd((e,t)=>({newfriends:[],devices:[],groups:[],channels:[],members:[],friends:[],currentContact:{type:"",device:{uid:""}},memberSelf:{type:"",member:{uid:""}},addNewfriend(n){console.log("addNewfriend",n)},addDevice(n){var r;if(n.type===Hve){const i=t().devices.some(o=>o.device.uid===n.device.uid);e(i?{devices:[n,...t().devices.filter(o=>o.device.uid!==n.device.uid)]}:{devices:[n,...t().devices]}),((r=t().currentContact.device)==null?void 0:r.uid)===n.device.uid&&e({currentContact:n})}},addGroup(n){console.log("addGroup",n)},addChannel(n){console.log("addChannel",n)},addMember(n){if(n.type===S6e){const r=t().members.some(i=>i.member.uid===n.member.uid);e(r?{members:[n,...t().members.filter(i=>i.member.uid!==n.member.uid)]}:{members:[...t().members,n]})}},addFriend(n){console.log("addFriend",n)},setCurrentContact:n=>{e({currentContact:n})},setMemberSelf:n=>{e({memberSelf:n})},resetContactInfo(){e({newfriends:[],devices:[],groups:[],channels:[],members:[],friends:[],currentContact:{type:"",device:{uid:""}},memberSelf:{type:"",member:{uid:""}}})}})),{name:h6e})));function kNe(){console.log("useElectronApi");const e=Na(),t=Ra(r=>r.userInfo),n=MNe(r=>r.addDevice);p.useEffect(()=>(console.log("useElectronApi useEffect"),Ha?(window.electronAPI.loginSuccess(),window.electronAPI.onNewWindowCreated(r=>{console.log("Dashboard onNewWindowCreated content:",r),e("/enlarge",{state:{content:r}})}),window.electronAPI.onMulticastMessage(r=>{const i=JSON.parse(r);if(i.user.uid!==t.uid){console.log("EVENT_BUS_MULTICAST_MESSAGE_RECEIVED",r);const o={type:Hve,device:i.device,user:i.user,createdAt:i.createdAt};n(o)}}),window.electronAPI.onWebSocketMessage(r=>{console.log("Dashboard onWebSocketMessage content:",r)}),window.electronAPI.onHttpMessage(r=>{console.log("Dashboard onHttpMessage content:",r)}),window.electronAPI.onNotificationMessage(r=>{if(console.log("Dashboard onNotificationMessage content:",r),r.type===r6e){Wt.success("截图成功");const i=r.data;vr.emit(c6e,i.toDataURL())}})):console.log("not electron - in browser"),()=>{console.log("un - useEffect"),Ha?(window.electronAPI.offNewWindowCreated(),window.electronAPI.offMulticastMessageAll(),window.electronAPI.offWebSocketMessageAll(),window.electronAPI.offHttpMessageAll(),window.electronAPI.offNotificationMessageAll()):console.log("not electron")}),[])}const vQt=Ic()(Md(kd(Pd((e,t)=>({currentMember:{nickname:"",user:{uid:"",avatar:""}},memberSelf:{nickname:"",user:{uid:"",avatar:""}},memberResult:{data:{content:[]}},setCurrentMember(n){e({currentMember:n})},setMemberSelf(n){e({memberSelf:n})},setMemberResult:n=>{e({memberResult:n})},resetMembers:()=>e({currentMember:{nickname:"",user:{uid:"",avatar:""}},memberSelf:{nickname:"",user:{uid:"",avatar:""}}})})),{name:f6e}))),PNe=Ic()(Md(kd(Pd((e,t)=>({workgroupResult:{data:{content:[]}},workgroupInfo:{uid:"",orgUid:""},insertWorkgroup(n){e(r=>{r.workgroupResult.data.content.unshift(n)})},updateWorkgroup(n){e(r=>{const i=r.workgroupResult.data.content,o=i.findIndex(a=>a.uid===n.uid);o!==-1?i[o]=n:console.warn(`Workgroup with uid ${n.uid} not found.`)})},deleteWorkgroup(n){e(r=>{const i=r.workgroupResult.data.content,o=i.findIndex(a=>a.uid===n.uid);o!==-1?i.splice(o,1):console.warn(`Workgroup with uid ${n.uid} not found.`)})},setWorkgroupResult:n=>{e({workgroupResult:n})},setWorkgroupInfo(n){e({workgroupInfo:n})},deleteWorkgroupInfo(n){const r=t().workgroupResult.data.content,i=r.findIndex(o=>o.uid===n);i!==-1?e({workgroupResult:{...t().workgroupResult,data:{content:[...r.slice(0,i),...r.slice(i+1)]}}}):console.warn("Workgroup not found in cache:",n),t().workgroupInfo.uid===n&&e({workgroupInfo:{uid:"",orgUid:""}})},resetWorkgroupInfo(){e({workgroupResult:{data:{content:[]}},workgroupInfo:{uid:"",orgUid:""}})}})),{name:_6e}))),bQt=()=>{const e=$l(u=>u.deleteOrg),t=id(u=>u.resetThreads),n=wh(u=>u.resetMessageList),r=vQt(u=>u.resetMembers),i=Ux(u=>u.removeAccessToken),o=Ra(u=>u.resetUserInfo),a=MNe(u=>u.resetContactInfo),s=y0(u=>u.resetAgentInfo),l=PNe(u=>u.resetWorkgroupInfo);return{clearStorage:()=>{e(),t(),n(),r(),i(),o(),a(),s(),l()}}};function DNe(){console.log("useEventBus");const{clearStorage:e}=bQt(),{doDisconnect:t}=VQ(),{setPingLoading:n}=p.useContext(as),r=p.useCallback(async()=>{try{const i=await HWt();console.log("logout result:",i.data),n(!1),t(),e(),DSt()}catch(i){console.log("logout error:",i)}},[]);return p.useEffect(()=>{console.log("useEventBus useEffect");const i=function(o){console.log("token过期,强制刷新登录",o),vr.off(eg,i),r()};return vr.on(eg,i),()=>{console.log("un - useEffect mqttDisconnect"),vr.off(eg)}},[]),{doLogout:r}}const yQt=()=>{const e=Si(),{doLogout:t}=DNe(),{isLoggedIn:n,locale:r,changeLocale:i,mode:o,changeMode:a,handleUpdateAgentStatus:s}=p.useContext(as),{agentInfo:l}=y0(h=>({agentInfo:h.agentInfo})),c=[{key:"settings",label:e.formatMessage({id:"menu.settings",defaultMessage:"Settings"}),icon:H.jsx($Y,{}),children:[{key:"logout",label:e.formatMessage({id:"menu.settings.logout",defaultMessage:"Logout"})}]}],[u,d]=p.useState(c);p.useEffect(()=>{if(d(c),l.uid!==""&&o===Pv){console.log("agentInfo changed",l);const h=[...c],m={key:"status",label:e.formatMessage({id:"menu.agent.status",defaultMessage:"Agent Status"}),type:"group",children:[{key:Lee,icon:l.status===Lee?H.jsx(Qp,{}):H.jsx(H.Fragment,{}),label:e.formatMessage({id:"menu.agent.status.available",defaultMessage:"Available"})},{key:$ee,icon:l.status===$ee?H.jsx(Qp,{}):H.jsx(H.Fragment,{}),label:e.formatMessage({id:"menu.agent.status.rest",defaultMessage:"Rest"})},{key:W8,icon:l.status===W8?H.jsx(Qp,{}):H.jsx(H.Fragment,{}),label:e.formatMessage({id:"menu.agent.status.offline",defaultMessage:"Offline"})}]},g=h[0].children,v=g.findIndex(y=>y.key===m.key);v!==-1?g[v]=m:g.splice(0,0,m),h[0].children=g,d(h)}},[l,r,o]);const f=async h=>{console.log("click",h.key),h.key==="logout"?t():h.key==="zh-cn"||h.key==="zh-tw"||h.key==="en"?i(h.key):h.key===hy||h.key===Pv||h.key===rM?(console.log("mode",h.key),a(h.key)):(console.log("status"),h.key===W8&&zo.warning(e.formatMessage({id:"menu.agent.offline.warning",defaultMessage:"Please end all ongoing conversations before going offline"})),s(h.key))};return H.jsx(H.Fragment,{children:n?H.jsx(H.Fragment,{children:H.jsx(Bd,{inlineCollapsed:!0,onClick:f,style:{width:64,height:34},mode:"inline",items:u})}):H.jsx(H.Fragment,{})})};async function _Qt(e){return $r("/api/v1/workgroup/query/org",{method:"GET",params:{...e,client:wr}})}const LNe=()=>{const[e,t]=p.useState([]),n=new J2e;p.useEffect(()=>{(async()=>{try{const s=await n.getAllMessages();t(s)}catch(s){console.error("Error fetching messages from IndexedDB:",s)}})()},[]);const r=async a=>{try{await n.createMessage(a);const s=await n.getAllMessages();console.log("useIndexedDB createMessage newMessages: ",s),t(s)}catch(s){console.error("Error creating message in IndexedDB:",s)}},i=async(a,s)=>{try{await n.updateMessage(a,s);const l=await n.getAllMessages();t(l)}catch(l){console.error("Error updating message in IndexedDB:",l)}},o=async a=>{try{await n.deleteMessage(a);const s=await n.getAllMessages();t(s)}catch(s){console.error("Error deleting message in IndexedDB:",s)}};return p.useEffect(()=>{console.log("useIndexedDB useEffect");const a=function(s){console.log("useIndexedDB handleNewMessage",s),r(s)};return vr.on(pT,a),()=>{console.log("useIndexedDB useEffect return"),vr.off(pT,a)}},[]),{messages:e,createMessage:r,updateMessage:i,deleteMessage:o}};async function $Ne(){return $r("/api/v1/user/profile",{method:"GET",params:{client:wr}})}async function FNe(e){return $r("/api/v1/user/update",{method:"POST",data:{...e,client:wr}})}async function SQt(e){return $r("/api/v1/user/change/password",{method:"POST",data:{...e,client:wr}})}async function BNe(e){return $r("/api/v1/user/change/email",{method:"POST",data:{...e,client:wr}})}async function jNe(e){return $r("/api/v1/user/change/mobile",{method:"POST",data:{...e,client:wr}})}const EQt=()=>{const e=Si(),{locale:t,changeLocale:n}=p.useContext(as),r=[{key:"lang",icon:H.jsx(kgt,{}),label:e.formatMessage({id:"menu.language"}),children:[{key:"zh-cn",icon:t.locale==="zh-cn"?H.jsx(Qp,{}):H.jsx(H.Fragment,{}),label:e.formatMessage({id:"i18n.lang.zh-CN"})},{key:"zh-tw",icon:t.locale==="zh-tw"?H.jsx(Qp,{}):H.jsx(H.Fragment,{}),label:e.formatMessage({id:"i18n.lang.zh-TW"})},{key:"en",icon:t.locale==="en"?H.jsx(Qp,{}):H.jsx(H.Fragment,{}),label:e.formatMessage({id:"i18n.lang.en-US"})}]}],i=o=>{const a=o.key;n(a)};return H.jsx(Bd,{inlineCollapsed:!0,onClick:i,style:{width:64,height:34},mode:"inline",items:r})};var wl=function(){return wl=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0?La(rE,--Su):0,k_--,fa===10&&(k_=1,t9--),fa}function bd(){return fa=Su2||Dz(fa)>3?"":" "}function PQt(e,t){for(;--t&&bd()&&!(fa<48||fa>102||fa>57&&fa<65||fa>70&&fa<97););return r9(e,rN()+(t<6&&vv()==32&&bd()==32))}function Lz(e){for(;bd();)switch(fa){case e:return Su;case 34:case 39:e!==34&&e!==39&&Lz(fa);break;case 40:e===41&&Lz(e);break;case 92:bd();break}return Su}function DQt(e,t){for(;bd()&&e+fa!==57;)if(e+fa===84&&vv()===47)break;return"/*"+r9(t,Su-1)+"*"+WQ(e===47?e:bd())}function LQt(e){for(;!Dz(vv());)bd();return r9(e,Su)}function $Qt(e){return MQt(iN("",null,null,null,[""],e=NQt(e),0,[0],e))}function iN(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,f=0,h=0,m=0,g=1,v=1,y=1,b=0,_="",E=i,C=o,S=r,w=_;v;)switch(m=b,b=bd()){case 40:if(m!=108&&La(w,d-1)==58){nN(w+=Pr(p6(b),"&","&\f"),"&\f",zNe(c?s[c-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:w+=p6(b);break;case 9:case 10:case 13:case 32:w+=kQt(m);break;case 92:w+=PQt(rN()-1,7);continue;case 47:switch(vv()){case 42:case 47:BC(FQt(DQt(bd(),rN()),t,n,l),l);break;default:w+="/"}break;case 123*g:s[c++]=ff(w)*y;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+u:y==-1&&(w=Pr(w,/\f/g,"")),h>0&&ff(w)-d&&BC(h>32?nue(w+";",r,n,d-1,l):nue(Pr(w," ","")+";",r,n,d-2,l),l);break;case 59:w+=";";default:if(BC(S=tue(w,t,n,c,u,i,s,_,E=[],C=[],d,o),o),b===123)if(u===0)iN(w,t,S,S,E,o,d,s,C);else switch(f===99&&La(w,3)===110?100:f){case 100:case 108:case 109:case 115:iN(e,S,S,r&&BC(tue(e,S,S,0,0,i,s,_,i,E=[],d,C),C),i,C,d,s,r?E:C);break;default:iN(w,S,S,S,[""],C,0,s,C)}}c=u=h=0,g=y=1,_=w="",d=a;break;case 58:d=1+ff(w),h=m;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&AQt()==125)continue}switch(w+=WQ(b),b*g){case 38:y=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(ff(w)-1)*y,y=1;break;case 64:vv()===45&&(w+=p6(bd())),f=vv(),u=d=ff(_=w+=LQt(rN())),b++;break;case 45:m===45&&ff(w)==2&&(g=0)}}return o}function tue(e,t,n,r,i,o,a,s,l,c,u,d){for(var f=i-1,h=i===0?o:[""],m=GNe(h),g=0,v=0,y=0;g0?h[b]+" "+_:Pr(_,/&\f/g,h[b])))&&(l[y++]=E);return n9(e,t,n,i===0?e9:s,l,c,u,d)}function FQt(e,t,n,r){return n9(e,t,n,HNe,WQ(IQt()),M_(e,2,-2),0,r)}function nue(e,t,n,r,i){return n9(e,t,n,GQ,M_(e,0,r),M_(e,r+1,-1),r,i)}function qNe(e,t,n){switch(OQt(e,t)){case 5103:return yi+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return yi+e+e;case 4789:return Sw+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return yi+e+Sw+e+no+e+e;case 5936:switch(La(e,t+11)){case 114:return yi+e+no+Pr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return yi+e+no+Pr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return yi+e+no+Pr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return yi+e+no+e+e;case 6165:return yi+e+no+"flex-"+e+e;case 5187:return yi+e+Pr(e,/(\w+).+(:[^]+)/,yi+"box-$1$2"+no+"flex-$1$2")+e;case 5443:return yi+e+no+"flex-item-"+Pr(e,/flex-|-self/g,"")+(Np(e,/flex-|baseline/)?"":no+"grid-row-"+Pr(e,/flex-|-self/g,""))+e;case 4675:return yi+e+no+"flex-line-pack"+Pr(e,/align-content|flex-|-self/g,"")+e;case 5548:return yi+e+no+Pr(e,"shrink","negative")+e;case 5292:return yi+e+no+Pr(e,"basis","preferred-size")+e;case 6060:return yi+"box-"+Pr(e,"-grow","")+yi+e+no+Pr(e,"grow","positive")+e;case 4554:return yi+Pr(e,/([^-])(transform)/g,"$1"+yi+"$2")+e;case 6187:return Pr(Pr(Pr(e,/(zoom-|grab)/,yi+"$1"),/(image-set)/,yi+"$1"),e,"")+e;case 5495:case 3959:return Pr(e,/(image-set\([^]*)/,yi+"$1$`$1");case 4968:return Pr(Pr(e,/(.+:)(flex-)?(.*)/,yi+"box-pack:$3"+no+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+yi+e+e;case 4200:if(!Np(e,/flex-|baseline/))return no+"grid-column-align"+M_(e,t)+e;break;case 2592:case 3360:return no+Pr(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,Np(r.props,/grid-\w+-end/)})?~nN(e+(n=n[t].value),"span",0)?e:no+Pr(e,"-start","")+e+no+"grid-row-span:"+(~nN(n,"span",0)?Np(n,/\d+/):+Np(n,/\d+/)-+Np(e,/\d+/))+";":no+Pr(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Np(r.props,/grid-\w+-start/)})?e:no+Pr(Pr(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Pr(e,/(.+)-inline(.+)/,yi+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ff(e)-1-t>6)switch(La(e,t+1)){case 109:if(La(e,t+4)!==45)break;case 102:return Pr(e,/(.+:)(.+)-([^]+)/,"$1"+yi+"$2-$3$1"+Sw+(La(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~nN(e,"stretch",0)?qNe(Pr(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Pr(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,o,a,s,l,c){return no+i+":"+o+c+(a?no+i+"-span:"+(s?l:+l-+o)+c:"")+e});case 4949:if(La(e,t+6)===121)return Pr(e,":",":"+yi)+e;break;case 6444:switch(La(e,La(e,14)===45?18:11)){case 120:return Pr(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+yi+(La(e,14)===45?"inline-":"")+"box$3$1"+yi+"$2$3$1"+no+"$2box$3")+e;case 100:return Pr(e,":",":"+no)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Pr(e,"scroll-","scroll-snap-")+e}return e}function Dk(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case GQ:e.return=qNe(e.value,e.length,n);return;case UNe:return Dk([im(e,{value:Pr(e.value,"@","@"+yi)})],r);case e9:if(e.length)return RQt(n=e.props,function(i){switch(Np(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":pb(im(e,{props:[Pr(i,/:(read-\w+)/,":"+Sw+"$1")]})),pb(im(e,{props:[i]})),Pz(e,{props:eue(n,r)});break;case"::placeholder":pb(im(e,{props:[Pr(i,/:(plac\w+)/,":"+yi+"input-$1")]})),pb(im(e,{props:[Pr(i,/:(plac\w+)/,":"+Sw+"$1")]})),pb(im(e,{props:[Pr(i,/:(plac\w+)/,no+"input-$1")]})),pb(im(e,{props:[i]})),Pz(e,{props:eue(n,r)});break}return""})}}var zQt={animationIterationCount:1,aspectRatio: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},tc={npm_package_dependencies_emoji_mart:"^5.6.0",npm_package_dependencies_use_debounce:"^10.0.1",NVM_INC:"/Users/ningjinpeng/.nvm/versions/node/v20.0.0/include/node",ELECTRON_MIRROR:"http://npm.taobao.org/mirrors/electron/",npm_package_devDependencies_prettier:"3.2.5",npm_package_devDependencies_electron_builder:"24.13.3",npm_package_scripts_build_mac_dmg:"tsc && vite build --mode prod && electron-builder --mac --config electron-builder-mac-dmg.yml",npm_package_dependencies_ts_protoc_gen:"^0.15.0",rvm_bin_path:"/Users/ningjinpeng/.rvm/bin",TERM_PROGRAM:"vscode",npm_package_dependencies__bytemd_plugin_breaks:"^1.21.0",npm_package_dependencies_cheerio:"^1.0.0",NODE:"/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin/node",npm_config_version_git_tag:"true",npm_package_homepage:"https://github.com/bytedesk/bytedesk#readme",npm_package_scripts_release_mac:"sh cicd/scripts/build-upload-mac.sh",npm_package_dependencies_axios:"^1.6.5",npm_package_dependencies_moment:"^2.30.1",npm_package_devDependencies_typescript:"^5.1.6",npm_package_devDependencies_vite_plugin_pwa:"^0.20.1",GEM_HOME:"/Users/ningjinpeng/.gem/ruby",NVM_CD_FLAGS:"-q",PYENV_ROOT:"/Users/ningjinpeng/.pyenv",INIT_CWD:"/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/apps/notebase",npm_package_scripts_build_mac_mas:"tsc && vite build --mode prod && electron-builder --mac --config electron-builder-mac-mas.yml",npm_package_devDependencies_jest:"^29.7.0",npm_package_devDependencies_vite:"^5.0.10",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shamefully_hoist:"true",npm_package_dependencies__emotion_styled:"11.11.5",npm_package_dependencies_react_infinite_scroll_component:"^6.1.0",HOMEBREW_API_DOMAIN:"https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api",HOMEBREW_BOTTLE_DOMAIN:"https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles",npm_package_dependencies__ant_design_pro_provider:"^2.15.2",HOMEBREW_REPOSITORY:"/opt/homebrew",TMPDIR:"/var/folders/gs/yt0l6r9963zgwd7fmhn3jfg40000gn/T/",npm_config_init_license:"MIT",npm_package_dependencies__ant_design_x:"^1.1.0",npm_package_dependencies__langchain_community:"^0.2.28",npm_package_dependencies_socket_io:"^4.7.5",npm_package_locales_en_productName:"ByteDesk",npm_package_dependencies_debug:"^4.3.7",npm_package_dependencies_dompurify:"^3.0.9",npm_package_devDependencies__vitejs_plugin_react:"^4.0.4",TERM_PROGRAM_VERSION:"1.99.3",npm_package_scripts_dev:"vite --host --mode dev",npm_package_dependencies_express_rate_limit:"^7.2.0",npm_package_dependencies_uuid:"^9.0.1",MallocNanoZone:"0",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",ZDOTDIR:"/Users/ningjinpeng",npm_package_scripts_build_linux:"tsc && vite build --mode prod && electron-builder --linux --config electron-builder-linux.yml",npm_config_registry:"https://registry.npmmirror.com/",npm_package_private:"true",npm_package_repository_url:"git+https://github.com/bytedesk/bytedesk.git",npm_package_dependencies__ant_design_icons:"^5.6.1",npm_package_dependencies__tanstack_react_query_devtools:"^5.21.0",npm_package_dependencies_bowser:"^2.11.0",npm_package_dependencies_react_dom:"^18.2.0",PNPM_HOME:"/Users/ningjinpeng/Library/pnpm",npm_package_dependencies__ant_design_cssinjs:"^1.22.0",npm_package_dependencies_dayjs:"^1.11.11",npm_package_dependencies_react_dropzone:"^14.2.3",npm_package_readmeFilename:"README.md",OBJC_DISABLE_INITIALIZE_FORK_SAFETY:"YES",npm_package_description:"对话即服务",npm_package_debug_env_VITE_DEV_SERVER_URL:"http://127.0.0.1:9005/",npm_package_devDependencies__testing_library_react:"^14.2.2",npm_package_devDependencies_ajv:"^8.17.1",NVM_DIR:"/Users/ningjinpeng/.nvm",USER:"ningjinpeng",npm_package_license:"GNU",npm_package_devDependencies__types_react:"^18.2.20",npm_package_dependencies_intersection_observer:"^0.12.2",npm_package_dependencies_react_helmet_async:"^2.0.4",COMMAND_MODE:"unix2003",npm_package_scripts_release_open:"sh cicd/scripts/build-open.sh",npm_package_dependencies_aieditor:"^1.3.8",npm_package_dependencies_bytemd:"^1.21.0",npm_package_scripts_release_mas:"sh cicd/scripts/build-mac-mas.sh",npm_package_dependencies_xgplayer:"^3.0.13",FLUTTER_ROOT:"/opt/homebrew/Cellar/ruby/3.4.1/bin:/opt/homebrew/opt/pyqt@5/5.15.7_2/bin:/opt/homebrew/opt/qt@5/5.15.8_2/bin:/Users/ningjinpeng/.pyenv/shims:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin/:/Users/ningjinpeng/.pyenv/shims:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/mysql/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/go/bin:/usr/local/hatch/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin/:/opt/homebrew/opt/libpq/bin:/Users/ningjinpeng/.bun/bin:/Users/ningjinpeng/.gem/ruby/bin:/Users/ningjinpeng/Library/pnpm:/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin:/Users/ningjinpeng/anaconda3/bin:/opt/homebrew/Cellar/ruby/3.4.1/bin:/opt/homebrew/opt/pyqt@5/5.15.7_2/bin:/opt/homebrew/opt/qt@5/5.15.8_2/bin:/Users/ningjinpeng/.cargo/bin:/Library/Java/JavaVirtualMachines/jdk-17.0.4.jdk/Contents/Home/bin:/Users/ningjinpeng/go/bin/:/Users/ningjinpeng/.pub-cache/bin:/Users/ningjinpeng/flutter/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin:/Users/ningjinpeng/.rvm/bin:/Applications/Docker.app/Contents/Resources/bin:/Users/ningjinpeng/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand:/Library/Java/JavaVirtualMachines/jdk-17.0.4.jdk/Contents/Home/bin:/Users/ningjinpeng/go/bin/:/Users/ningjinpeng/.pub-cache/bin:/Users/ningjinpeng/flutter/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin:/Users/ningjinpeng/flutter",HOMEBREW_INSTALL_FROM_API:"1",rvm_path:"/Users/ningjinpeng/.rvm",HOMEBREW_CORE_GIT_REMOTE:"https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git",npm_package_dependencies_react_virtuoso:"^4.7.1",npm_package_dependencies_zustand:"^4.4.7",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.OefpggrK3e/Listeners",npm_package_dependencies__bytemd_plugin_gemoji:"^1.21.0",npm_package_dependencies_highlight_js:"^11.11.1",npm_package_devDependencies__types_express:"^4.17.21",npm_package_devDependencies__types_jest:"^29.5.12",npm_package_devDependencies_less:"^4.2.0",npm_package_devDependencies_postcss:"^8.4.31",PUB_HOSTED_URL:"https://pub.flutter-io.cn",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",VSCODE_PROFILE_INITIALIZED:"1",npm_package_scripts_e2e:"playwright test",npm_execpath:"/usr/local/lib/node_modules/yarn/bin/yarn.js",npm_package_scripts_build_open:"tsc && vite build --mode open",npm_package_dependencies__bytemd_react:"^1.21.0",npm_package_author_name:"weiyuai.cn",npm_package_dependencies_react_use:"^17.5.0",npm_package_devDependencies__electron_osx_sign:"^1.3.1",npm_package_devDependencies__types_react_dom:"^18.2.7",npm_package_dependencies__bytemd_plugin_gfm:"^1.21.0",npm_package_dependencies_peerjs:"^1.5.2",npm_package_devDependencies_styled_components:"^6.1.13",rvm_prefix:"/Users/ningjinpeng",npm_package_scripts_build_web:"tsc && vite build --mode web",npm_package_dependencies__emoji_mart_react:"^1.1.1",npm_package_dependencies_immer:"^10.1.1",npm_config_argv:'{"remain":[],"cooked":["run","build:open"],"original":["build:open"]}',PATH:"/var/folders/gs/yt0l6r9963zgwd7fmhn3jfg40000gn/T/yarn--1746710789981-0.06964675443657953:/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/apps/notebase/node_modules/.bin:/Users/ningjinpeng/.config/yarn/link/node_modules/.bin:/Users/ningjinpeng/.yarn/bin:/Users/ningjinpeng/.nvm/versions/node/v20.0.0/libexec/lib/node_modules/npm/bin/node-gyp-bin:/Users/ningjinpeng/.nvm/versions/node/v20.0.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin/node_modules/npm/bin/node-gyp-bin:/opt/homebrew/opt/libpq/bin:/Users/ningjinpeng/.bun/bin:/Users/ningjinpeng/.gem/ruby/bin:/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin:/Users/ningjinpeng/.pyenv/shims:/Users/ningjinpeng/anaconda3/bin:/opt/homebrew/Cellar/ruby/3.4.1/bin:/opt/homebrew/opt/pyqt@5/5.15.7_2/bin:/opt/homebrew/opt/qt@5/5.15.8_2/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin/:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/mysql/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/go/bin:/usr/local/hatch/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin/:/opt/homebrew/opt/libpq/bin:/Users/ningjinpeng/.bun/bin:/Users/ningjinpeng/.gem/ruby/bin:/Users/ningjinpeng/Library/pnpm:/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin:/Users/ningjinpeng/anaconda3/bin:/opt/homebrew/Cellar/ruby/3.4.1/bin:/opt/homebrew/opt/pyqt@5/5.15.7_2/bin:/opt/homebrew/opt/qt@5/5.15.8_2/bin:/Users/ningjinpeng/.cargo/bin:/Library/Java/JavaVirtualMachines/jdk-17.0.4.jdk/Contents/Home/bin:/Users/ningjinpeng/go/bin/:/Users/ningjinpeng/.pub-cache/bin:/Users/ningjinpeng/flutter/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin:/Users/ningjinpeng/.rvm/bin:/Applications/Docker.app/Contents/Resources/bin:/Users/ningjinpeng/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand:/Library/Java/JavaVirtualMachines/jdk-17.0.4.jdk/Contents/Home/bin:/Users/ningjinpeng/go/bin/:/Users/ningjinpeng/.pub-cache/bin:/Users/ningjinpeng/flutter/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin:/Users/ningjinpeng/.rvm/bin:/Applications/Docker.app/Contents/Resources/bin:/usr/local/bin",npm_package_scripts_release_web:"sh cicd/scripts/build-upload.sh",npm_package_dependencies__ant_design_use_emotion_css:"1.0.4",npm_package_dependencies_electron_context_menu:"^3.6.1",npm_config_auto_install_peers:"true",npm_package_dependencies_react_contexify:"^6.0.0",npm_package_dependencies_systeminformation:"^5.22.3",npm_package_devDependencies_ts_jest:"^29.1.2",__CFBundleIdentifier:"com.microsoft.VSCode",USER_ZDOTDIR:"/Users/ningjinpeng",npm_package_dependencies_electron_screenshots:"^0.5.26",npm_package_devDependencies_tailwindcss:"^3.3.3",PWD:"/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/apps/notebase",npm_config_nodeLinker:"node-modules",npm_package_bugs_url:"https://github.com/bytedesk/bytedesk/issues",npm_package_scripts_preview:"vite preview --host",npm_package_dependencies__bytemd_plugin_frontmatter:"^1.21.0",FLUTTER_STORAGE_BASE_URL:"https://storage.flutter-io.cn",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk-17.0.4.jdk/Contents/Home",npm_package_dependencies_date_fns:"^3.3.1",npm_package_dependencies_ua_parser_js:"^1.0.37",npm_lifecycle_event:"build:open",npm_package_name:"notebase",npm_package_repository_type:"git",npm_package_dependencies_react_intl:"^6.8.9",LOCAL_GIT_DIRECTORY:"/Applications/GitHub Desktop.app/Contents/Resources/app/git",LANG:"zh_CN.UTF-8",npm_package_scripts_build_win:"tsc && vite build --mode prod && electron-builder --win --config electron-builder-windows.yml",npm_package_scripts_release_quanjing:"sh cicd/scripts/build-quanjing.sh",npm_package_scripts_pree2e:"vite build --mode=test",npm_package_dependencies_file_saver:"^2.0.5",npm_package_devDependencies_vite_plugin_electron_renderer:"^0.14.5",npm_config_version_commit_hooks:"true",npm_package_scripts_start:"vite --host --mode dev",npm_package_scripts_build:"tsc && vite build --mode prod && electron-builder",npm_package_scripts_release_win:"sh cicd/scripts/build-upload-win.sh",NODE_PATH:"/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9_less@4.2.1_lightningcss@1.22.1_sass@1.83.4_sugarss@2.0.0_terser@5.36.0/node_modules/vite/bin/node_modules:/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9_less@4.2.1_lightningcss@1.22.1_sass@1.83.4_sugarss@2.0.0_terser@5.36.0/node_modules/vite/node_modules:/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9_less@4.2.1_lightningcss@1.22.1_sass@1.83.4_sugarss@2.0.0_terser@5.36.0/node_modules:/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/node_modules/.pnpm/node_modules",npm_package_dependencies_menubar:"^9.4.0",npm_package_dependencies_react_router_dom:"^6.21.2",XPC_FLAGS:"0x0",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",npm_config_bin_links:"true",npm_package_dependencies__bytemd_plugin_highlight:"^1.21.0",npm_package_dependencies__types_ua_parser_js:"^0.7.39",npm_config_electron_mirror:"https://npmmirror.com/mirrors/electron/",npm_package_engines_node:">=20",npm_package_main:"dist-electron/main/index.js",npm_package_dependencies__tanstack_react_query:"^5.20.5",npm_package_dependencies_dexie:"^4.0.7",npm_package_version:"1.1.7",npm_package_dependencies__emotion_react:"11.11.4",npm_package_dependencies_node_json_db:"^2.3.1",npm_package_dependencies_ws:"^8.16.0",XPC_SERVICE_NAME:"0",npm_package_devDependencies_autoprefixer:"^10.4.16",rvm_version:"1.29.12 (latest)",VSCODE_INJECTION:"1",npm_package_type:"module",PYENV_SHELL:"zsh",SHLVL:"3",HOME:"/Users/ningjinpeng",npm_package_dependencies_react_markdown:"^9.0.1",HOMEBREW_BREW_GIT_REMOTE:"https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",npm_config_strict_ssl:"true",npm_config_save_prefix:"^",npm_package_dependencies_dotenv:"^16.4.5",npm_package_dependencies_mitt:"^3.0.1",npm_package_dependencies_openai:"^4.56.0",npm_config_version_git_message:"v%s",npm_package_dependencies__emoji_mart_data:"^1.2.1",npm_package_devDependencies_cross_env:"^7.0.3",HOMEBREW_PREFIX:"/opt/homebrew",npm_package_dependencies__bytemd_plugin_mermaid:"^1.21.0",npm_package_dependencies_react_photo_view:"^1.2.6",npm_package_devDependencies__types_web_bluetooth:"^0.0.20",npm_package_dependencies_unique_names_generator:"^4.7.1",YARN_WRAP_OUTPUT:"false",LOGNAME:"ningjinpeng",npm_package_locales_zh_CN_productName:"微语",npm_lifecycle_script:"tsc && vite build --mode open",npm_package_author_email:"270580156@qq.com",npm_package_dependencies_lodash_es:"^4.17.21",VSCODE_GIT_IPC_HANDLE:"/var/folders/gs/yt0l6r9963zgwd7fmhn3jfg40000gn/T/vscode-git-7f4d23a467.sock",npm_package_scripts_release_linux:"sh cicd/scripts/build-upload-linux.sh",npm_package_dependencies_react:"^18.2.0",npm_package_dependencies_mqtt:"^5.2.0",BUN_INSTALL:"/Users/ningjinpeng/.bun",NVM_BIN:"/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin",npm_config_user_agent:"yarn/1.22.17 npm/? node/v20.0.0 darwin arm64",npm_config_ignore_scripts:"",npm_config_version_git_sign:"",npm_package_dependencies_node_cmd:"^5.0.0",npm_package_dependencies_text_search_engine:"^1.1.0",npm_package_devDependencies__electron_notarize:"^2.5.0",npm_package_dependencies_socket_io_client:"^4.7.5",npm_package_devDependencies__playwright_test:"^1.37.1",npm_package_devDependencies__types_node:"^20.12.3",INFOPATH:"/opt/homebrew/share/info:/opt/homebrew/share/info:",HOMEBREW_CELLAR:"/opt/homebrew/Cellar",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)",npm_package_dependencies_express:"^4.18.3",npm_config_ignore_optional:"",npm_config_init_version:"1.0.0",npm_package_scripts_build_quanjing:"tsc && vite build --mode quanjing",npm_package_dependencies_antd:"^5.23.2",npm_package_dependencies_langchain:"^0.2.16",npm_package_dependencies__ant_design_compatible:"^5.1.4",npm_package_dependencies_antd_img_crop:"^4.23.0",npm_package_dependencies_electron_updater:"^6.1.1",npm_package_devDependencies_vite_plugin_electron:"^0.28.0",npm_package_dependencies__dicebear_collection:"^8.0.1",npm_package_dependencies__types_file_saver:"^2.0.7",npm_package_devDependencies_electron:"^33.2.0",npm_package_locales_zh_CN_description:"对话即服务",npm_config_version_tag_prefix:"v",npm_package_dependencies__ant_design_pro_components:"^2.6.28",npm_package_dependencies__dicebear_core:"^8.0.1",npm_package_dependencies_dexie_react_hooks:"^1.1.7",npm_package_devDependencies__testing_library_jest_dom:"^6.4.2",npm_package_locales_en_description:"Chat as a Service",npm_node_execpath:"/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin/node",COLORTERM:"truecolor",NODE_ENV:"production"},P_=typeof process<"u"&&tc!==void 0&&(tc.REACT_APP_SC_ATTR||tc.SC_ATTR)||"data-styled",YNe="active",KNe="data-styled-version",i9="6.1.13",qQ=`/*!sc*/ + `,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)"}),r)}var z3=xr.default;Object.defineProperty(vd,"__esModule",{value:!0});vd.default=TYt;vd.unitless=vd.ignore=vd.getComputedToken=void 0;var bYt=z3(p),yYt=$g,_Yt=z3(j3),Uce=Mf,SYt=z3(jf),gNe=z3(IQ),zce=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i{const r=n.getDerivativeToken(e),{override:i}=t,o=zce(t,["override"]);let a=Object.assign(Object.assign({},r),{override:i});return a=(0,gNe.default)(a),o&&Object.entries(o).forEach(s=>{let[l,c]=s;const{theme:u}=c,d=zce(c,["theme"]);let f=d;u&&(f=AQ(Object.assign(Object.assign({},a),d),{override:d},u)),a[l]=f}),a};vd.getComputedToken=AQ;function TYt(){const{token:e,hashed:t,theme:n,override:r,cssVar:i}=bYt.default.useContext(Uce.DesignTokenContext),o=`${_Yt.default}-${t||""}`,a=n||Uce.defaultTheme,[s,l,c]=(0,yYt.useCacheToken)(a,[SYt.default,e],{salt:o,override:r,getComputedToken:AQ,formatToken:gNe.default,cssVar:i&&{prefix:i.prefix,key:i.key,unitless:EYt,ignore:CYt,preserve:wYt}});return[a,c,t?l:"",s,i]}var sg={},Oo={};Object.defineProperty(Oo,"__esModule",{value:!0});Oo.textEllipsis=Oo.resetIcon=Oo.resetComponent=Oo.operationUnit=Oo.genLinkStyle=Oo.genIconStyle=Oo.genFocusStyle=Oo.genFocusOutline=Oo.genCommonStyle=Oo.clearFix=void 0;var xYt=$g;Oo.textEllipsis={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"};const OYt=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}};Oo.resetComponent=OYt;const vNe=()=>({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"}});Oo.resetIcon=vNe;const RYt=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}});Oo.clearFix=RYt;const IYt=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active, &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}});Oo.genLinkStyle=IYt;const AYt=(e,t,n,r)=>{const i=`[class^="${t}"], [class*=" ${t}"]`,o=n?`.${n}`:i,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let s={};return r!==!1&&(s={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[o]:Object.assign(Object.assign(Object.assign({},s),a),{[i]:a})}};Oo.genCommonStyle=AYt;const bNe=(e,t)=>({outline:`${(0,xYt.unit)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:t??1,transition:"outline-offset 0s, outline 0s"});Oo.genFocusOutline=bNe;const yNe=(e,t)=>({"&:focus-visible":Object.assign({},bNe(e,t))});Oo.genFocusStyle=yNe;const NYt=e=>({[`.${e}`]:Object.assign(Object.assign({},vNe()),{[`.${e} .${e}-icon`]:{display:"block"}})});Oo.genIconStyle=NYt;const MYt=e=>Object.assign(Object.assign({color:e.colorLink,textDecoration:e.linkDecoration,outline:"none",cursor:"pointer",transition:`all ${e.motionDurationSlow}`,border:0,padding:0,background:"none",userSelect:"none"},yNe(e)),{"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}});Oo.operationUnit=MYt;var kYt=sa.default;Object.defineProperty(sg,"__esModule",{value:!0});sg.genSubStyleComponent=sg.genStyleHooks=sg.genComponentStyleHook=void 0;var Vce=p,PYt=hNe,d6=lc,f6=Oo,Gce=kYt(vd);const{genStyleHooks:DYt,genComponentStyleHook:LYt,genSubStyleComponent:$Yt}=(0,PYt.genStyleUtils)({usePrefix:()=>{const{getPrefixCls:e,iconPrefixCls:t}=(0,Vce.useContext)(d6.ConfigContext);return{rootPrefixCls:e(),iconPrefixCls:t}},useToken:()=>{const[e,t,n,r,i]=(0,Gce.default)();return{theme:e,realToken:t,hashId:n,token:r,cssVar:i}},useCSP:()=>{const{csp:e}=(0,Vce.useContext)(d6.ConfigContext);return e??{}},getResetStyles:(e,t)=>{var n;return[{"&":(0,f6.genLinkStyle)(e)},(0,f6.genIconStyle)((n=t==null?void 0:t.prefix.iconPrefixCls)!==null&&n!==void 0?n:d6.defaultIconPrefixCls)]},getCommonStyle:f6.genCommonStyle,getCompUnitless:()=>Gce.unitless});sg.genSubStyleComponent=$Yt;sg.genComponentStyleHook=LYt;sg.genStyleHooks=DYt;var NQ={};Object.defineProperty(NQ,"__esModule",{value:!0});NQ.default=BYt;var FYt=RQ;function BYt(e,t){return FYt.PresetColors.reduce((n,r)=>{const i=e[`${r}1`],o=e[`${r}3`],a=e[`${r}6`],s=e[`${r}7`];return Object.assign(Object.assign({},n),t(r,{lightColor:i,lightBorderColor:o,darkColor:a,textColor:s}))},{})}var V3={},jYt=xr.default;Object.defineProperty(V3,"__esModule",{value:!0});V3.default=void 0;var HYt=$g,UYt=Oo,zYt=jYt(vd);const VYt=(e,t)=>{const[n,r]=(0,zYt.default)();return(0,HYt.useStyleRegister)({theme:n,token:r,hashId:"",path:["ant-design-icons",e],nonce:()=>t==null?void 0:t.nonce,layer:{name:"antd"}},()=>[(0,UYt.genIconStyle)(e)])};V3.default=VYt;(function(e){var t=xr.default;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DesignTokenContext",{enumerable:!0,get:function(){return u.DesignTokenContext}}),Object.defineProperty(e,"PresetColors",{enumerable:!0,get:function(){return i.PresetColors}}),Object.defineProperty(e,"calc",{enumerable:!0,get:function(){return r.genCalc}}),Object.defineProperty(e,"defaultConfig",{enumerable:!0,get:function(){return u.defaultConfig}}),Object.defineProperty(e,"genComponentStyleHook",{enumerable:!0,get:function(){return s.genComponentStyleHook}}),Object.defineProperty(e,"genPresetColor",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"genStyleHooks",{enumerable:!0,get:function(){return s.genStyleHooks}}),Object.defineProperty(e,"genSubStyleComponent",{enumerable:!0,get:function(){return s.genSubStyleComponent}}),Object.defineProperty(e,"getLineHeight",{enumerable:!0,get:function(){return o.getLineHeight}}),Object.defineProperty(e,"mergeToken",{enumerable:!0,get:function(){return r.mergeToken}}),Object.defineProperty(e,"statistic",{enumerable:!0,get:function(){return r.statistic}}),Object.defineProperty(e,"statisticToken",{enumerable:!0,get:function(){return r.statisticToken}}),Object.defineProperty(e,"useResetIconStyle",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"useStyleRegister",{enumerable:!0,get:function(){return n.useStyleRegister}}),Object.defineProperty(e,"useToken",{enumerable:!0,get:function(){return a.default}});var n=$g,r=hNe,i=RQ,o=iO,a=t(vd),s=sg,l=t(NQ),c=t(V3),u=Mf})(tE);var G3={},GYt=sa.default;Object.defineProperty(G3,"__esModule",{value:!0});G3.default=void 0;var WYt=GYt(p);const qYt=Object.assign({},WYt),{useId:Wce}=qYt,YYt=()=>"",KYt=typeof Wce>"u"?YYt:Wce;G3.default=KYt;var MQ=xr.default;Object.defineProperty(OQ,"__esModule",{value:!0});OQ.default=eKt;var QYt=MQ(R3),XYt=MQ(F3),ZYt=cu,qce=tE,JYt=MQ(G3);function eKt(e,t,n){var r;(0,ZYt.devUseWarning)("ConfigProvider");const i=e||{},o=i.inherit===!1||!t?Object.assign(Object.assign({},qce.defaultConfig),{hashed:(r=t==null?void 0:t.hashed)!==null&&r!==void 0?r:qce.defaultConfig.hashed,cssVar:t==null?void 0:t.cssVar}):t,a=(0,JYt.default)();return(0,QYt.default)(()=>{var s,l;if(!e)return t;const c=Object.assign({},o.components);Object.keys(e.components||{}).forEach(f=>{c[f]=Object.assign(Object.assign({},c[f]),e.components[f])});const u=`css-var-${a.replace(/:/g,"")}`,d=((s=i.cssVar)!==null&&s!==void 0?s:o.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:n==null?void 0:n.prefixCls},typeof o.cssVar=="object"?o.cssVar:{}),typeof i.cssVar=="object"?i.cssVar:{}),{key:typeof i.cssVar=="object"&&((l=i.cssVar)===null||l===void 0?void 0:l.key)||u});return Object.assign(Object.assign(Object.assign({},o),i),{token:Object.assign(Object.assign({},o.token),i.token),components:c,cssVar:d})},[i,o],(s,l)=>s.some((c,u)=>{const d=l[u];return!(0,XYt.default)(c,d,!0)}))}var kQ={};const tKt=Dx(CKe);var nKt=sa.default;Object.defineProperty(kQ,"__esModule",{value:!0});kQ.default=oKt;var Yce=nKt(p),rKt=tKt,iKt=tE;function oKt(e){const{children:t}=e,[,n]=(0,iKt.useToken)(),{motion:r}=n,i=Yce.useRef(!1);return i.current=i.current||r===!1,i.current?Yce.createElement(rKt.Provider,{motion:r},t):t}var W3={},aKt=sa.default;Object.defineProperty(W3,"__esModule",{value:!0});W3.default=void 0;aKt(p);W3.default=()=>null;var _Ne={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.useResetIconStyle}});var t=tE})(_Ne);(function(e){"use client";var t=xr.default,n=sa.default;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ConfigConsumer",{enumerable:!0,get:function(){return g.ConfigConsumer}}),Object.defineProperty(e,"ConfigContext",{enumerable:!0,get:function(){return g.ConfigContext}}),Object.defineProperty(e,"Variants",{enumerable:!0,get:function(){return g.Variants}}),e.default=e.configConsumerProps=void 0,Object.defineProperty(e,"defaultIconPrefixCls",{enumerable:!0,get:function(){return g.defaultIconPrefixCls}}),Object.defineProperty(e,"defaultPrefixCls",{enumerable:!0,get:function(){return g.defaultPrefixCls}}),e.warnContext=e.globalConfig=void 0;var r=n(p),i=$g,o=t(ZS),a=t(R3),s=I3,l=n(cu),c=t(A3),u=n(aNe),d=t(eE),f=t(d0),h=Mf,m=t(jf),g=lc,v=L3,y=Zv,b=t($3),_=t(OQ),E=t(kQ),C=t(W3),S=n(Jv),w=t(_Ne),T=function(W,j){var U={};for(var Z in W)Object.prototype.hasOwnProperty.call(W,Z)&&j.indexOf(Z)<0&&(U[Z]=W[Z]);if(W!=null&&typeof Object.getOwnPropertySymbols=="function")for(var te=0,Z=Object.getOwnPropertySymbols(W);tej.endsWith("Color"))}const N=W=>{const{prefixCls:j,iconPrefixCls:U,theme:Z,holderRender:te}=W;j!==void 0&&(x=j),U!==void 0&&(A=U),"holderRender"in W&&(M=te),Z&&(k(Z)?(0,v.registerTheme)(B(),Z):I=Z)},L=()=>({getPrefixCls:(W,j)=>j||(W?`${B()}-${W}`:B()),getIconPrefixCls:P,getRootPrefixCls:()=>x||B(),getTheme:()=>I,holderRender:M});e.globalConfig=L;const V=W=>{const{children:j,csp:U,autoInsertSpaceInButton:Z,alert:te,anchor:ae,form:K,locale:Q,componentSize:ie,direction:he,space:pe,splitter:le,virtual:de,dropdownMatchSelectWidth:ve,popupMatchSelectWidth:ne,popupOverflow:ue,legacyLocale:ge,parentContext:Ce,iconPrefixCls:Te,theme:Se,componentDisabled:me,segmented:be,statistic:_e,spin:Re,calendar:De,carousel:z,cascader:D,collapse:q,typography:oe,checkbox:ye,descriptions:ce,divider:Be,drawer:Ve,skeleton:re,steps:Me,image:je,layout:ke,list:Ge,mentions:Ue,modal:qe,progress:At,result:at,slider:pt,breadcrumb:Ct,menu:bt,pagination:Vt,input:Tt,textArea:Ot,empty:Ut,badge:ze,radio:Ye,rate:He,switch:Ze,transfer:yt,avatar:_t,message:Bt,tag:Nt,table:vt,card:ht,tabs:kt,timeline:Et,timePicker:Yt,upload:ct,notification:Rt,tree:Ht,colorPicker:wt,datePicker:St,rangePicker:jt,flex:Pe,wave:Pt,dropdown:rt,warning:Mt,tour:It,tooltip:xn,popover:Hn,popconfirm:R,floatButtonGroup:F,variant:J,inputNumber:Oe,treeSelect:$e}=W,et=r.useCallback((on,an)=>{const{prefixCls:Gn}=W;if(an)return an;const yr=Gn||Ce.getPrefixCls("");return on?`${yr}-${on}`:yr},[Ce.getPrefixCls,W.prefixCls]),$t=Te||Ce.iconPrefixCls||g.defaultIconPrefixCls,hn=U||Ce.csp;(0,w.default)($t,hn);const Fn=(0,_.default)(Se,Ce.theme,{prefixCls:et("")}),Xr={csp:hn,autoInsertSpaceInButton:Z,alert:te,anchor:ae,locale:Q||ge,direction:he,space:pe,splitter:le,virtual:de,popupMatchSelectWidth:ne??ve,popupOverflow:ue,getPrefixCls:et,iconPrefixCls:$t,theme:Fn,segmented:be,statistic:_e,spin:Re,calendar:De,carousel:z,cascader:D,collapse:q,typography:oe,checkbox:ye,descriptions:ce,divider:Be,drawer:Ve,skeleton:re,steps:Me,image:je,input:Tt,textArea:Ot,layout:ke,list:Ge,mentions:Ue,modal:qe,progress:At,result:at,slider:pt,breadcrumb:Ct,menu:bt,pagination:Vt,empty:Ut,badge:ze,radio:Ye,rate:He,switch:Ze,transfer:yt,avatar:_t,message:Bt,tag:Nt,table:vt,card:ht,tabs:kt,timeline:Et,timePicker:Yt,upload:ct,notification:Rt,tree:Ht,colorPicker:wt,datePicker:St,rangePicker:jt,flex:Pe,wave:Pt,dropdown:rt,warning:Mt,tour:It,tooltip:xn,popover:Hn,popconfirm:R,floatButtonGroup:F,variant:J,inputNumber:Oe,treeSelect:$e},Lr=Object.assign({},Ce);Object.keys(Xr).forEach(on=>{Xr[on]!==void 0&&(Lr[on]=Xr[on])}),O.forEach(on=>{const an=W[on];an&&(Lr[on]=an)}),typeof Z<"u"&&(Lr.button=Object.assign({autoInsertSpace:Z},Lr.button));const vi=(0,a.default)(()=>Lr,Lr,(on,an)=>{const Gn=Object.keys(on),yr=Object.keys(an);return Gn.length!==yr.length||Gn.some(oi=>on[oi]!==an[oi])}),Sr=r.useMemo(()=>({prefixCls:$t,csp:hn}),[$t,hn]);let ln=r.createElement(r.Fragment,null,r.createElement(C.default,{dropdownMatchSelectWidth:ve}),j);const _n=r.useMemo(()=>{var on,an,Gn,yr;return(0,s.merge)(((on=f.default.Form)===null||on===void 0?void 0:on.defaultValidateMessages)||{},((Gn=(an=vi.locale)===null||an===void 0?void 0:an.Form)===null||Gn===void 0?void 0:Gn.defaultValidateMessages)||{},((yr=vi.form)===null||yr===void 0?void 0:yr.validateMessages)||{},(K==null?void 0:K.validateMessages)||{})},[vi,K==null?void 0:K.validateMessages]);Object.keys(_n).length>0&&(ln=r.createElement(c.default.Provider,{value:_n},ln)),Q&&(ln=r.createElement(u.default,{locale:Q,_ANT_MARK__:u.ANT_MARK},ln)),($t||hn)&&(ln=r.createElement(o.default.Provider,{value:Sr},ln)),ie&&(ln=r.createElement(S.SizeContextProvider,{size:ie},ln)),ln=r.createElement(E.default,null,ln);const Cr=r.useMemo(()=>{const on=Fn||{},{algorithm:an,token:Gn,components:yr,cssVar:oi}=on,Zi=T(on,["algorithm","token","components","cssVar"]),tr=an&&(!Array.isArray(an)||an.length>0)?(0,i.createTheme)(an):h.defaultTheme,Fi={};Object.entries(yr||{}).forEach(fn=>{let[wn,Mn]=fn;const Qn=Object.assign({},Mn);"algorithm"in Qn&&(Qn.algorithm===!0?Qn.theme=tr:(Array.isArray(Qn.algorithm)||typeof Qn.algorithm=="function")&&(Qn.theme=(0,i.createTheme)(Qn.algorithm)),delete Qn.algorithm),Fi[wn]=Qn});const Jn=Object.assign(Object.assign({},m.default),Gn);return Object.assign(Object.assign({},Zi),{theme:tr,token:Jn,components:Fi,override:Object.assign({override:Jn},Fi),cssVar:oi})},[Fn]);return Se&&(ln=r.createElement(h.DesignTokenContext.Provider,{value:Cr},ln)),vi.warning&&(ln=r.createElement(l.WarningContext.Provider,{value:vi.warning},ln)),me!==void 0&&(ln=r.createElement(y.DisabledContextProvider,{disabled:me},ln)),r.createElement(g.ConfigContext.Provider,{value:vi},ln)},$=W=>{const j=r.useContext(g.ConfigContext),U=r.useContext(d.default);return r.createElement(V,Object.assign({parentContext:j,legacyLocale:U},W))};$.ConfigContext=g.ConfigContext,$.SizeContext=S.default,$.config=N,$.useConfig=b.default,Object.defineProperty($,"SizeContext",{get:()=>S.default}),e.default=$})(bQ);var aO={},sKt=sa.default;Object.defineProperty(aO,"__esModule",{value:!0});aO.LayoutContext=void 0;var lKt=sKt(p);aO.LayoutContext=lKt.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});var PQ={},DQ={},LQ={},cKt=xr.default;Object.defineProperty(LQ,"__esModule",{value:!0});LQ.default=hKt;var uKt=cKt(f0),dKt=Symbol.for("react.element"),fKt=Symbol.for("react.transitional.element"),pKt=Symbol.for("react.fragment");function hKt(e){return e&&(0,uKt.default)(e)==="object"&&(e.$$typeof===dKt||e.$$typeof===fKt)&&e.type===pKt}var SNe=xr.default;Object.defineProperty(DQ,"__esModule",{value:!0});DQ.default=Iz;var mKt=SNe(LQ),gKt=SNe(p);function Iz(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[];return gKt.default.Children.forEach(e,function(r){r==null&&!t.keepEmpty||(Array.isArray(r)?n=n.concat(Iz(r)):(0,mKt.default)(r)&&r.props?n=n.concat(Iz(r.props.children,t)):n.push(r))}),n}var N_={},Az={exports:{}},q3={},$Q={};Object.defineProperty($Q,"__esModule",{value:!0});var vKt={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"};$Q.default=vKt;var bKt=sa.default,FQ=xr.default;Object.defineProperty(q3,"__esModule",{value:!0});q3.default=void 0;var yKt=FQ(o3),ENe=bKt(p),_Kt=FQ($Q),SKt=FQ(XS),EKt=function(t,n){return ENe.createElement(SKt.default,(0,yKt.default)({},t,{ref:n,icon:_Kt.default}))},CKt=ENe.forwardRef(EKt);q3.default=CKt;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=r(q3);function r(o){return o&&o.__esModule?o:{default:o}}const i=n;t.default=i,e.exports=i})(Az,Az.exports);var wKt=Az.exports,Nz={exports:{}},Y3={},BQ={};Object.defineProperty(BQ,"__esModule",{value:!0});var TKt={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"};BQ.default=TKt;var xKt=sa.default,jQ=xr.default;Object.defineProperty(Y3,"__esModule",{value:!0});Y3.default=void 0;var OKt=jQ(o3),CNe=xKt(p),RKt=jQ(BQ),IKt=jQ(XS),AKt=function(t,n){return CNe.createElement(IKt.default,(0,OKt.default)({},t,{ref:n,icon:RKt.default}))},NKt=CNe.forwardRef(AKt);Y3.default=NKt;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=r(Y3);function r(o){return o&&o.__esModule?o:{default:o}}const i=n;t.default=i,e.exports=i})(Nz,Nz.exports);var MKt=Nz.exports,Mz={exports:{}},K3={},HQ={};Object.defineProperty(HQ,"__esModule",{value:!0});var kKt={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"};HQ.default=kKt;var PKt=sa.default,UQ=xr.default;Object.defineProperty(K3,"__esModule",{value:!0});K3.default=void 0;var DKt=UQ(o3),wNe=PKt(p),LKt=UQ(HQ),$Kt=UQ(XS),FKt=function(t,n){return wNe.createElement($Kt.default,(0,DKt.default)({},t,{ref:n,icon:LKt.default}))},BKt=wNe.forwardRef(FKt);K3.default=BKt;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n=r(K3);function r(o){return o&&o.__esModule?o:{default:o}}const i=n;t.default=i,e.exports=i})(Mz,Mz.exports);var jKt=Mz.exports,Q3={},Zp={};Object.defineProperty(Zp,"__esModule",{value:!0});Zp.prepareComponentToken=Zp.default=Zp.DEPRECATED_TOKENS=void 0;var HKt=$g,UKt=tE;const zKt=e=>{const{antCls:t,componentCls:n,colorText:r,footerBg:i,headerHeight:o,headerPadding:a,headerColor:s,footerPadding:l,fontSize:c,bodyBg:u,headerBg:d}=e;return{[n]:{display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:u,"&, *":{boxSizing:"border-box"},[`&${n}-has-sider`]:{flexDirection:"row",[`> ${n}, > ${n}-content`]:{width:0}},[`${n}-header, &${n}-footer`]:{flex:"0 0 auto"},"&-rtl":{direction:"rtl"}},[`${n}-header`]:{height:o,padding:a,color:s,lineHeight:(0,HKt.unit)(o),background:d,[`${t}-menu`]:{lineHeight:"inherit"}},[`${n}-footer`]:{padding:l,color:r,fontSize:c,background:i},[`${n}-content`]:{flex:"auto",color:r,minHeight:0}}},TNe=e=>{const{colorBgLayout:t,controlHeight:n,controlHeightLG:r,colorText:i,controlHeightSM:o,marginXXS:a,colorTextLightSolid:s,colorBgContainer:l}=e,c=r*1.25;return{colorBgHeader:"#001529",colorBgBody:t,colorBgTrigger:"#002140",bodyBg:t,headerBg:"#001529",headerHeight:n*2,headerPadding:`0 ${c}px`,headerColor:i,footerPadding:`${o}px ${c}px`,footerBg:t,siderBg:"#001529",triggerHeight:r+a*2,triggerBg:"#002140",triggerColor:s,zeroTriggerWidth:r,zeroTriggerHeight:r,lightSiderBg:l,lightTriggerBg:l,lightTriggerColor:i}};Zp.prepareComponentToken=TNe;const VKt=Zp.DEPRECATED_TOKENS=[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]];Zp.default=(0,UKt.genStyleHooks)("Layout",e=>[zKt(e)],TNe,{deprecatedTokens:VKt});Object.defineProperty(Q3,"__esModule",{value:!0});Q3.default=void 0;var QE=$g,Kce=Zp,GKt=tE;const WKt=e=>{const{componentCls:t,siderBg:n,motionDurationMid:r,motionDurationSlow:i,antCls:o,triggerHeight:a,triggerColor:s,triggerBg:l,headerHeight:c,zeroTriggerWidth:u,zeroTriggerHeight:d,borderRadiusLG:f,lightSiderBg:h,lightTriggerColor:m,lightTriggerBg:g,bodyBg:v}=e;return{[t]:{position:"relative",minWidth:0,background:n,transition:`all ${r}, background 0s`,"&-has-trigger":{paddingBottom:a},"&-right":{order:1},[`${t}-children`]:{height:"100%",marginTop:-.1,paddingTop:.1,[`${o}-menu${o}-menu-inline-collapsed`]:{width:"auto"}},[`${t}-trigger`]:{position:"fixed",bottom:0,zIndex:1,height:a,color:s,lineHeight:(0,QE.unit)(a),textAlign:"center",background:l,cursor:"pointer",transition:`all ${r}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:c,insetInlineEnd:e.calc(u).mul(-1).equal(),zIndex:1,width:u,height:d,color:s,fontSize:e.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:n,borderRadius:`0 ${(0,QE.unit)(f)} ${(0,QE.unit)(f)} 0`,cursor:"pointer",transition:`background ${i} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${i}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:e.calc(u).mul(-1).equal(),borderRadius:`${(0,QE.unit)(f)} 0 0 ${(0,QE.unit)(f)}`}}},"&-light":{background:h,[`${t}-trigger`]:{color:m,background:g},[`${t}-zero-width-trigger`]:{color:m,background:g,border:`1px solid ${v}`,borderInlineStart:0}}}}};Q3.default=(0,GKt.genStyleHooks)(["Layout","Sider"],e=>[WKt(e)],Kce.prepareComponentToken,{deprecatedTokens:Kce.DEPRECATED_TOKENS});var nE=xr.default,qKt=sa.default;Object.defineProperty(N_,"__esModule",{value:!0});N_.default=N_.SiderContext=void 0;var Ep=qKt(p),Jl=Ep,YKt=nE(wKt),Qce=nE(MKt),Xce=nE(jKt),Zce=nE(i5),KKt=nE(O3),QKt=bQ,XKt=aO,ZKt=nE(Q3),JKt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i!Number.isNaN(Number.parseFloat(e))&&isFinite(e),tQt=N_.SiderContext=Jl.createContext({}),nQt=(()=>{let e=0;return function(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return e+=1,`${t}${e}`}})(),rQt=Jl.forwardRef((e,t)=>{const{prefixCls:n,className:r,trigger:i,children:o,defaultCollapsed:a=!1,theme:s="dark",style:l={},collapsible:c=!1,reverseArrow:u=!1,width:d=200,collapsedWidth:f=80,zeroWidthTriggerStyle:h,breakpoint:m,onCollapse:g,onBreakpoint:v}=e,y=JKt(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:b}=(0,Ep.useContext)(XKt.LayoutContext),[_,E]=(0,Ep.useState)("collapsed"in e?e.collapsed:a),[C,S]=(0,Ep.useState)(!1);(0,Ep.useEffect)(()=>{"collapsed"in e&&E(e.collapsed)},[e.collapsed]);const w=(Q,ie)=>{"collapsed"in e||E(Q),g==null||g(Q,ie)},{getPrefixCls:T,direction:O}=(0,Ep.useContext)(QKt.ConfigContext),x=T("layout-sider",n),[A,I,M]=(0,ZKt.default)(x),B=(0,Ep.useRef)(null);B.current=Q=>{S(Q.matches),v==null||v(Q.matches),_!==Q.matches&&w(Q.matches,"responsive")},(0,Ep.useEffect)(()=>{function Q(he){return B.current(he)}let ie;if(typeof window<"u"){const{matchMedia:he}=window;if(he&&m&&m in Jce){ie=he(`screen and (max-width: ${Jce[m]})`);try{ie.addEventListener("change",Q)}catch{ie.addListener(Q)}Q(ie)}}return()=>{try{ie==null||ie.removeEventListener("change",Q)}catch{ie==null||ie.removeListener(Q)}}},[m]),(0,Ep.useEffect)(()=>{const Q=nQt("ant-sider-");return b.addSider(Q),()=>b.removeSider(Q)},[]);const P=()=>{w(!_,"clickTrigger")},k=(0,KKt.default)(y,["collapsed"]),N=_?f:d,L=eQt(N)?`${N}px`:String(N),V=parseFloat(String(f||0))===0?Jl.createElement("span",{onClick:P,className:(0,Zce.default)(`${x}-zero-width-trigger`,`${x}-zero-width-trigger-${u?"right":"left"}`),style:h},i||Jl.createElement(YKt.default,null)):null,$=O==="rtl"==!u,U={expanded:$?Jl.createElement(Xce.default,null):Jl.createElement(Qce.default,null),collapsed:$?Jl.createElement(Qce.default,null):Jl.createElement(Xce.default,null)}[_?"collapsed":"expanded"],Z=i!==null?V||Jl.createElement("div",{className:`${x}-trigger`,onClick:P,style:{width:L}},i||U):null,te=Object.assign(Object.assign({},l),{flex:`0 0 ${L}`,maxWidth:L,minWidth:L,width:L}),ae=(0,Zce.default)(x,`${x}-${s}`,{[`${x}-collapsed`]:!!_,[`${x}-has-trigger`]:c&&i!==null&&!V,[`${x}-below`]:!!C,[`${x}-zero-width`]:parseFloat(L)===0},r,I,M),K=Jl.useMemo(()=>({siderCollapsed:_}),[_]);return A(Jl.createElement(tQt.Provider,{value:K},Jl.createElement("aside",Object.assign({className:ae},k,{style:te,ref:t}),Jl.createElement("div",{className:`${x}-children`},o),c||C&&V?Z:null)))});N_.default=rQt;var xNe=xr.default;Object.defineProperty(PQ,"__esModule",{value:!0});PQ.default=aQt;var iQt=xNe(DQ),oQt=xNe(N_);function aQt(e,t,n){return typeof n=="boolean"?n:e.length?!0:(0,iQt.default)(t).some(i=>i.type===oQt.default)}var X3,Z3,sQt=sa.default,sO=xr.default;Object.defineProperty(Vp,"__esModule",{value:!0});Vp.default=Vp.Header=Z3=Vp.Footer=X3=Vp.Content=void 0;var lQt=sO(eNe),Qc=sQt(p),ONe=sO(i5),cQt=sO(O3),kz=bQ,uQt=aO,dQt=sO(PQ),RNe=sO(Zp),INe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);iQc.forwardRef((a,s)=>Qc.createElement(i,Object.assign({ref:s,suffixCls:t,tagName:n},a)))}const zQ=Qc.forwardRef((e,t)=>{const{prefixCls:n,suffixCls:r,className:i,tagName:o}=e,a=INe(e,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:s}=Qc.useContext(kz.ConfigContext),l=s("layout",n),[c,u,d]=(0,RNe.default)(l),f=r?`${l}-${r}`:l;return c(Qc.createElement(o,Object.assign({className:(0,ONe.default)(n||f,i,u,d),ref:t},a)))}),fQt=Qc.forwardRef((e,t)=>{const{direction:n}=Qc.useContext(kz.ConfigContext),[r,i]=Qc.useState([]),{prefixCls:o,className:a,rootClassName:s,children:l,hasSider:c,tagName:u,style:d}=e,f=INe(e,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),h=(0,cQt.default)(f,["suffixCls"]),{getPrefixCls:m,layout:g}=Qc.useContext(kz.ConfigContext),v=m("layout",o),y=(0,dQt.default)(r,l,c),[b,_,E]=(0,RNe.default)(v),C=(0,ONe.default)(v,{[`${v}-has-sider`]:y,[`${v}-rtl`]:n==="rtl"},g==null?void 0:g.className,a,s,_,E),S=Qc.useMemo(()=>({siderHook:{addSider:w=>{i(T=>[].concat((0,lQt.default)(T),[w]))},removeSider:w=>{i(T=>T.filter(O=>O!==w))}}}),[]);return b(Qc.createElement(uQt.LayoutContext.Provider,{value:S},Qc.createElement(u,Object.assign({ref:t,className:C,style:Object.assign(Object.assign({},g==null?void 0:g.style),d)},h),l)))}),pQt=J3({tagName:"div",displayName:"Layout"})(fQt);Vp.Header=J3({suffixCls:"header",tagName:"header",displayName:"Header"})(zQ);Z3=Vp.Footer=J3({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(zQ);X3=Vp.Content=J3({suffixCls:"content",tagName:"main",displayName:"Content"})(zQ);Vp.default=pQt;function lO(){const{isDarkMode:e}=uW(),{token:t}=Es.useToken(),n={borderRight:e?"1px solid #333":"1px solid #ccc",background:e?"#141414":"#eee"},r=260,i={borderBottom:e?"1px solid #333":"1px solid #ccc",background:e?"#141414":"#eee"},o={borderLeft:e?"1px solid #333":"1px solid #ccc",background:e?"#141414":"#eee"},a={minHeight:120,overflowY:"auto"},s={height:20,fontSize:12,backgroundColor:t.colorBgContainer,color:t.colorText};return{leftSiderStyle:n,leftSiderWidth:r,headerStyle:i,rightSiderStyle:o,contentStyle:a,footerStyle:s}}const{Header:hQt,Sider:mQt,Content:gQt}=fo,ANe=()=>{const e=Si();p.useContext(as);const t=Na(),{headerStyle:n,leftSiderStyle:r,leftSiderWidth:i,contentStyle:o}=lO(),[a,s]=p.useState([]);p.useEffect(()=>{const c=[{label:e.formatMessage({id:"setting.menu.title",defaultMessage:"设置"}),key:"setting",children:[{label:e.formatMessage({id:"setting.menu.profile",defaultMessage:"个人信息"}),key:"profile"},{label:e.formatMessage({id:"setting.menu.basic",defaultMessage:"基本设置"}),key:"basic"}]}];s(c)},[e]);const l=c=>{console.log(e.formatMessage({id:"setting.menu.click",defaultMessage:"Menu clicked"}),c),t("/setting/"+c.key)};return H.jsxs(fo,{children:[H.jsx(mQt,{style:r,width:i,children:H.jsx(Bd,{mode:"inline",onClick:l,defaultSelectedKeys:["profile"],defaultOpenKeys:["setting"],items:a})}),H.jsxs(fo,{children:[H.jsx(hQt,{style:n,children:e.formatMessage({id:"menu.dashboard.mine"})}),H.jsx(gQt,{style:o,children:H.jsx($D,{})})]})]})},NNe=()=>{const e=Na(),{userInfo:t}=tK(),{translateString:n}=Pc(),{mode:r}=p.useContext(as),[i,o]=p.useState(""),[a,s]=p.useState(""),[l,c]=p.useState(""),u=()=>{e("/setting")};return p.useEffect(()=>{o(n(t==null?void 0:t.nickname)),s(n(t==null?void 0:t.description)),c(t==null?void 0:t.avatar)},[r,t]),H.jsx(H.Fragment,{children:H.jsx(yu,{title:i,content:a,placement:"rightBottom",children:H.jsx(H.Fragment,{children:H.jsx(Rh,{style:{marginTop:60,cursor:"pointer"},size:40,src:l,onClick:u})})})})};function VQ(){const e=Ux(b=>b.accessToken),t=Ra(b=>b.userInfo),n=y0(b=>b.agentInfo),r=x3(),[i,o]=p.useState(!1),{showNotification:a}=vQ(),{translateString:s}=Pc();wh(b=>b.addMessage),id(b=>b.updateThreadContent),p.useContext(as),p.useRef(!1);const l=id(b=>b.threads),[c,u]=p.useState(l),d=p.useCallback(()=>{if(r&&e)return setInterval(()=>{console.log("useMqtt autoCheckConnection"),!wSt()&&r&&e&&g()},1e4);console.log("useMqtt autoCheckConnection isNetworkOnline:",r," accessToken:",e)},[r,e]),f=async()=>{},h=p.useRef(n==null?void 0:n.uid),m=p.useCallback(()=>{if(!i&&e)return setInterval(async()=>{h.current?f():console.log("useMqtt autoPingMessage currentUidRef.current:",h.current)},1e4);console.log("useMqtt autoPingMessage isNetworkOnline:",r," accessToken:",e)},[i,e,t,n]),g=()=>{console.log("useMqtt doConnect"),ESt({uid:t.uid,username:t.username,accessToken:e})},v=()=>{console.log("useMqtt useEffect doDisconnect"),A$()},y=b=>{var _,E;(b==null?void 0:b.type)!==mT&&((_=b==null?void 0:b.user)==null?void 0:_.uid)!==(t==null?void 0:t.uid)&&((E=b==null?void 0:b.user)==null?void 0:E.uid)!==(n==null?void 0:n.uid)&&(LGe(),console.log("playAudio"))};return p.useEffect(()=>{console.log("useMqtt useEffect isNetworkOnline",r),r?g():A$()},[r]),p.useEffect(()=>{if(n!=null&&n.uid){h.current=n==null?void 0:n.uid;const b=m();return()=>{clearInterval(b)}}else h.current=null},[n]),p.useEffect(()=>{console.log("useMqtt useEffect accessToken"),g();const b=d();return()=>{A$(),clearInterval(b)}},[e,t]),p.useEffect(()=>{console.log("useMqtt threads change"),u(l)},[l]),p.useEffect(()=>{const b=function(_){if(console.log("useMqtt handleNewMessage",_),_.type===hT||_.type===Uve||_.type===uB||_.type===mT||_.type===gT)return;const E=_.threadTopic,C=c.find(S=>S.topic===E);C?C.mute?console.log("useMqtt matchingThread muted",E):(console.log("useMqtt matchingThread no mute",E),a(s(oR),s(oR)),y(_)):(console.log("useMqtt matchingThread no"),a(s(oR),s(oR)),y(_))};return vr.on(pT,b),()=>{vr.off(pT)}},[c]),p.useEffect(()=>{console.log("useMqtt useEffect");const b=function(){console.log("handleMqttConnected"),o(!0)},_=function(){console.log("handleMqttDisconnected"),o(!1)};return vr.on(eB,b),vr.on(nB,_),vr.on(rB,_),vr.on(tB,_),vr.on(iB,_),vr.on(oB,_),()=>{console.log("un - useEffect mqttDisconnect"),vr.off(eB),vr.off(nB),vr.off(rB),vr.off(tB),vr.off(iB),vr.off(oB)}},[]),{doConnect:g,doDisconnect:v,isMqttConnected:i}}const MNe=Ic()(Md(kd(Pd((e,t)=>({newfriends:[],devices:[],groups:[],channels:[],members:[],friends:[],currentContact:{type:"",device:{uid:""}},memberSelf:{type:"",member:{uid:""}},addNewfriend(n){console.log("addNewfriend",n)},addDevice(n){var r;if(n.type===Hve){const i=t().devices.some(o=>o.device.uid===n.device.uid);e(i?{devices:[n,...t().devices.filter(o=>o.device.uid!==n.device.uid)]}:{devices:[n,...t().devices]}),((r=t().currentContact.device)==null?void 0:r.uid)===n.device.uid&&e({currentContact:n})}},addGroup(n){console.log("addGroup",n)},addChannel(n){console.log("addChannel",n)},addMember(n){if(n.type===S6e){const r=t().members.some(i=>i.member.uid===n.member.uid);e(r?{members:[n,...t().members.filter(i=>i.member.uid!==n.member.uid)]}:{members:[...t().members,n]})}},addFriend(n){console.log("addFriend",n)},setCurrentContact:n=>{e({currentContact:n})},setMemberSelf:n=>{e({memberSelf:n})},resetContactInfo(){e({newfriends:[],devices:[],groups:[],channels:[],members:[],friends:[],currentContact:{type:"",device:{uid:""}},memberSelf:{type:"",member:{uid:""}}})}})),{name:h6e})));function kNe(){console.log("useElectronApi");const e=Na(),t=Ra(r=>r.userInfo),n=MNe(r=>r.addDevice);p.useEffect(()=>(console.log("useElectronApi useEffect"),Ha?(window.electronAPI.loginSuccess(),window.electronAPI.onNewWindowCreated(r=>{console.log("Dashboard onNewWindowCreated content:",r),e("/enlarge",{state:{content:r}})}),window.electronAPI.onMulticastMessage(r=>{const i=JSON.parse(r);if(i.user.uid!==t.uid){console.log("EVENT_BUS_MULTICAST_MESSAGE_RECEIVED",r);const o={type:Hve,device:i.device,user:i.user,createdAt:i.createdAt};n(o)}}),window.electronAPI.onWebSocketMessage(r=>{console.log("Dashboard onWebSocketMessage content:",r)}),window.electronAPI.onHttpMessage(r=>{console.log("Dashboard onHttpMessage content:",r)}),window.electronAPI.onNotificationMessage(r=>{if(console.log("Dashboard onNotificationMessage content:",r),r.type===r6e){Wt.success("截图成功");const i=r.data;vr.emit(c6e,i.toDataURL())}})):console.log("not electron - in browser"),()=>{console.log("un - useEffect"),Ha?(window.electronAPI.offNewWindowCreated(),window.electronAPI.offMulticastMessageAll(),window.electronAPI.offWebSocketMessageAll(),window.electronAPI.offHttpMessageAll(),window.electronAPI.offNotificationMessageAll()):console.log("not electron")}),[])}const vQt=Ic()(Md(kd(Pd((e,t)=>({currentMember:{nickname:"",user:{uid:"",avatar:""}},memberSelf:{nickname:"",user:{uid:"",avatar:""}},memberResult:{data:{content:[]}},setCurrentMember(n){e({currentMember:n})},setMemberSelf(n){e({memberSelf:n})},setMemberResult:n=>{e({memberResult:n})},resetMembers:()=>e({currentMember:{nickname:"",user:{uid:"",avatar:""}},memberSelf:{nickname:"",user:{uid:"",avatar:""}}})})),{name:f6e}))),PNe=Ic()(Md(kd(Pd((e,t)=>({workgroupResult:{data:{content:[]}},workgroupInfo:{uid:"",orgUid:""},insertWorkgroup(n){e(r=>{r.workgroupResult.data.content.unshift(n)})},updateWorkgroup(n){e(r=>{const i=r.workgroupResult.data.content,o=i.findIndex(a=>a.uid===n.uid);o!==-1?i[o]=n:console.warn(`Workgroup with uid ${n.uid} not found.`)})},deleteWorkgroup(n){e(r=>{const i=r.workgroupResult.data.content,o=i.findIndex(a=>a.uid===n.uid);o!==-1?i.splice(o,1):console.warn(`Workgroup with uid ${n.uid} not found.`)})},setWorkgroupResult:n=>{e({workgroupResult:n})},setWorkgroupInfo(n){e({workgroupInfo:n})},deleteWorkgroupInfo(n){const r=t().workgroupResult.data.content,i=r.findIndex(o=>o.uid===n);i!==-1?e({workgroupResult:{...t().workgroupResult,data:{content:[...r.slice(0,i),...r.slice(i+1)]}}}):console.warn("Workgroup not found in cache:",n),t().workgroupInfo.uid===n&&e({workgroupInfo:{uid:"",orgUid:""}})},resetWorkgroupInfo(){e({workgroupResult:{data:{content:[]}},workgroupInfo:{uid:"",orgUid:""}})}})),{name:_6e}))),bQt=()=>{const e=$l(u=>u.deleteOrg),t=id(u=>u.resetThreads),n=wh(u=>u.resetMessageList),r=vQt(u=>u.resetMembers),i=Ux(u=>u.removeAccessToken),o=Ra(u=>u.resetUserInfo),a=MNe(u=>u.resetContactInfo),s=y0(u=>u.resetAgentInfo),l=PNe(u=>u.resetWorkgroupInfo);return{clearStorage:()=>{e(),t(),n(),r(),i(),o(),a(),s(),l()}}};function DNe(){console.log("useEventBus");const{clearStorage:e}=bQt(),{doDisconnect:t}=VQ(),{setPingLoading:n}=p.useContext(as),r=p.useCallback(async()=>{try{const i=await HWt();console.log("logout result:",i.data),n(!1),t(),e(),DSt()}catch(i){console.log("logout error:",i)}},[]);return p.useEffect(()=>{console.log("useEventBus useEffect");const i=function(o){console.log("token过期,强制刷新登录",o),vr.off(eg,i),r()};return vr.on(eg,i),()=>{console.log("un - useEffect mqttDisconnect"),vr.off(eg)}},[]),{doLogout:r}}const yQt=()=>{const e=Si(),{doLogout:t}=DNe(),{isLoggedIn:n,locale:r,changeLocale:i,mode:o,changeMode:a,handleUpdateAgentStatus:s}=p.useContext(as),{agentInfo:l}=y0(h=>({agentInfo:h.agentInfo})),c=[{key:"settings",label:e.formatMessage({id:"menu.settings",defaultMessage:"Settings"}),icon:H.jsx($Y,{}),children:[{key:"logout",label:e.formatMessage({id:"menu.settings.logout",defaultMessage:"Logout"})}]}],[u,d]=p.useState(c);p.useEffect(()=>{if(d(c),l.uid!==""&&o===Pv){console.log("agentInfo changed",l);const h=[...c],m={key:"status",label:e.formatMessage({id:"menu.agent.status",defaultMessage:"Agent Status"}),type:"group",children:[{key:Lee,icon:l.status===Lee?H.jsx(Qp,{}):H.jsx(H.Fragment,{}),label:e.formatMessage({id:"menu.agent.status.available",defaultMessage:"Available"})},{key:$ee,icon:l.status===$ee?H.jsx(Qp,{}):H.jsx(H.Fragment,{}),label:e.formatMessage({id:"menu.agent.status.rest",defaultMessage:"Rest"})},{key:W8,icon:l.status===W8?H.jsx(Qp,{}):H.jsx(H.Fragment,{}),label:e.formatMessage({id:"menu.agent.status.offline",defaultMessage:"Offline"})}]},g=h[0].children,v=g.findIndex(y=>y.key===m.key);v!==-1?g[v]=m:g.splice(0,0,m),h[0].children=g,d(h)}},[l,r,o]);const f=async h=>{console.log("click",h.key),h.key==="logout"?t():h.key==="zh-cn"||h.key==="zh-tw"||h.key==="en"?i(h.key):h.key===hy||h.key===Pv||h.key===rM?(console.log("mode",h.key),a(h.key)):(console.log("status"),h.key===W8&&zo.warning(e.formatMessage({id:"menu.agent.offline.warning",defaultMessage:"Please end all ongoing conversations before going offline"})),s(h.key))};return H.jsx(H.Fragment,{children:n?H.jsx(H.Fragment,{children:H.jsx(Bd,{inlineCollapsed:!0,onClick:f,style:{width:64,height:34},mode:"inline",items:u})}):H.jsx(H.Fragment,{})})};async function _Qt(e){return $r("/api/v1/workgroup/query/org",{method:"GET",params:{...e,client:wr}})}const LNe=()=>{const[e,t]=p.useState([]),n=new J2e;p.useEffect(()=>{(async()=>{try{const s=await n.getAllMessages();t(s)}catch(s){console.error("Error fetching messages from IndexedDB:",s)}})()},[]);const r=async a=>{try{await n.createMessage(a);const s=await n.getAllMessages();console.log("useIndexedDB createMessage newMessages: ",s),t(s)}catch(s){console.error("Error creating message in IndexedDB:",s)}},i=async(a,s)=>{try{await n.updateMessage(a,s);const l=await n.getAllMessages();t(l)}catch(l){console.error("Error updating message in IndexedDB:",l)}},o=async a=>{try{await n.deleteMessage(a);const s=await n.getAllMessages();t(s)}catch(s){console.error("Error deleting message in IndexedDB:",s)}};return p.useEffect(()=>{console.log("useIndexedDB useEffect");const a=function(s){console.log("useIndexedDB handleNewMessage",s),r(s)};return vr.on(pT,a),()=>{console.log("useIndexedDB useEffect return"),vr.off(pT,a)}},[]),{messages:e,createMessage:r,updateMessage:i,deleteMessage:o}};async function $Ne(){return $r("/api/v1/user/profile",{method:"GET",params:{client:wr}})}async function FNe(e){return $r("/api/v1/user/update",{method:"POST",data:{...e,client:wr}})}async function SQt(e){return $r("/api/v1/user/change/password",{method:"POST",data:{...e,client:wr}})}async function BNe(e){return $r("/api/v1/user/change/email",{method:"POST",data:{...e,client:wr}})}async function jNe(e){return $r("/api/v1/user/change/mobile",{method:"POST",data:{...e,client:wr}})}const EQt=()=>{const e=Si(),{locale:t,changeLocale:n}=p.useContext(as),r=[{key:"lang",icon:H.jsx(kgt,{}),label:e.formatMessage({id:"menu.language"}),children:[{key:"zh-cn",icon:t.locale==="zh-cn"?H.jsx(Qp,{}):H.jsx(H.Fragment,{}),label:e.formatMessage({id:"i18n.lang.zh-CN"})},{key:"zh-tw",icon:t.locale==="zh-tw"?H.jsx(Qp,{}):H.jsx(H.Fragment,{}),label:e.formatMessage({id:"i18n.lang.zh-TW"})},{key:"en",icon:t.locale==="en"?H.jsx(Qp,{}):H.jsx(H.Fragment,{}),label:e.formatMessage({id:"i18n.lang.en-US"})}]}],i=o=>{const a=o.key;n(a)};return H.jsx(Bd,{inlineCollapsed:!0,onClick:i,style:{width:64,height:34},mode:"inline",items:r})};var wl=function(){return wl=Object.assign||function(t){for(var n,r=1,i=arguments.length;r0?La(rE,--Su):0,k_--,fa===10&&(k_=1,t9--),fa}function bd(){return fa=Su2||Dz(fa)>3?"":" "}function PQt(e,t){for(;--t&&bd()&&!(fa<48||fa>102||fa>57&&fa<65||fa>70&&fa<97););return r9(e,rN()+(t<6&&vv()==32&&bd()==32))}function Lz(e){for(;bd();)switch(fa){case e:return Su;case 34:case 39:e!==34&&e!==39&&Lz(fa);break;case 40:e===41&&Lz(e);break;case 92:bd();break}return Su}function DQt(e,t){for(;bd()&&e+fa!==57;)if(e+fa===84&&vv()===47)break;return"/*"+r9(t,Su-1)+"*"+WQ(e===47?e:bd())}function LQt(e){for(;!Dz(vv());)bd();return r9(e,Su)}function $Qt(e){return MQt(iN("",null,null,null,[""],e=NQt(e),0,[0],e))}function iN(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,f=0,h=0,m=0,g=1,v=1,y=1,b=0,_="",E=i,C=o,S=r,w=_;v;)switch(m=b,b=bd()){case 40:if(m!=108&&La(w,d-1)==58){nN(w+=Pr(p6(b),"&","&\f"),"&\f",zNe(c?s[c-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:w+=p6(b);break;case 9:case 10:case 13:case 32:w+=kQt(m);break;case 92:w+=PQt(rN()-1,7);continue;case 47:switch(vv()){case 42:case 47:BC(FQt(DQt(bd(),rN()),t,n,l),l);break;default:w+="/"}break;case 123*g:s[c++]=ff(w)*y;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+u:y==-1&&(w=Pr(w,/\f/g,"")),h>0&&ff(w)-d&&BC(h>32?nue(w+";",r,n,d-1,l):nue(Pr(w," ","")+";",r,n,d-2,l),l);break;case 59:w+=";";default:if(BC(S=tue(w,t,n,c,u,i,s,_,E=[],C=[],d,o),o),b===123)if(u===0)iN(w,t,S,S,E,o,d,s,C);else switch(f===99&&La(w,3)===110?100:f){case 100:case 108:case 109:case 115:iN(e,S,S,r&&BC(tue(e,S,S,0,0,i,s,_,i,E=[],d,C),C),i,C,d,s,r?E:C);break;default:iN(w,S,S,S,[""],C,0,s,C)}}c=u=h=0,g=y=1,_=w="",d=a;break;case 58:d=1+ff(w),h=m;default:if(g<1){if(b==123)--g;else if(b==125&&g++==0&&AQt()==125)continue}switch(w+=WQ(b),b*g){case 38:y=u>0?1:(w+="\f",-1);break;case 44:s[c++]=(ff(w)-1)*y,y=1;break;case 64:vv()===45&&(w+=p6(bd())),f=vv(),u=d=ff(_=w+=LQt(rN())),b++;break;case 45:m===45&&ff(w)==2&&(g=0)}}return o}function tue(e,t,n,r,i,o,a,s,l,c,u,d){for(var f=i-1,h=i===0?o:[""],m=GNe(h),g=0,v=0,y=0;g0?h[b]+" "+_:Pr(_,/&\f/g,h[b])))&&(l[y++]=E);return n9(e,t,n,i===0?e9:s,l,c,u,d)}function FQt(e,t,n,r){return n9(e,t,n,HNe,WQ(IQt()),M_(e,2,-2),0,r)}function nue(e,t,n,r,i){return n9(e,t,n,GQ,M_(e,0,r),M_(e,r+1,-1),r,i)}function qNe(e,t,n){switch(OQt(e,t)){case 5103:return yi+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return yi+e+e;case 4789:return Sw+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return yi+e+Sw+e+no+e+e;case 5936:switch(La(e,t+11)){case 114:return yi+e+no+Pr(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return yi+e+no+Pr(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return yi+e+no+Pr(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return yi+e+no+e+e;case 6165:return yi+e+no+"flex-"+e+e;case 5187:return yi+e+Pr(e,/(\w+).+(:[^]+)/,yi+"box-$1$2"+no+"flex-$1$2")+e;case 5443:return yi+e+no+"flex-item-"+Pr(e,/flex-|-self/g,"")+(Np(e,/flex-|baseline/)?"":no+"grid-row-"+Pr(e,/flex-|-self/g,""))+e;case 4675:return yi+e+no+"flex-line-pack"+Pr(e,/align-content|flex-|-self/g,"")+e;case 5548:return yi+e+no+Pr(e,"shrink","negative")+e;case 5292:return yi+e+no+Pr(e,"basis","preferred-size")+e;case 6060:return yi+"box-"+Pr(e,"-grow","")+yi+e+no+Pr(e,"grow","positive")+e;case 4554:return yi+Pr(e,/([^-])(transform)/g,"$1"+yi+"$2")+e;case 6187:return Pr(Pr(Pr(e,/(zoom-|grab)/,yi+"$1"),/(image-set)/,yi+"$1"),e,"")+e;case 5495:case 3959:return Pr(e,/(image-set\([^]*)/,yi+"$1$`$1");case 4968:return Pr(Pr(e,/(.+:)(flex-)?(.*)/,yi+"box-pack:$3"+no+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+yi+e+e;case 4200:if(!Np(e,/flex-|baseline/))return no+"grid-column-align"+M_(e,t)+e;break;case 2592:case 3360:return no+Pr(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,i){return t=i,Np(r.props,/grid-\w+-end/)})?~nN(e+(n=n[t].value),"span",0)?e:no+Pr(e,"-start","")+e+no+"grid-row-span:"+(~nN(n,"span",0)?Np(n,/\d+/):+Np(n,/\d+/)-+Np(e,/\d+/))+";":no+Pr(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Np(r.props,/grid-\w+-start/)})?e:no+Pr(Pr(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Pr(e,/(.+)-inline(.+)/,yi+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ff(e)-1-t>6)switch(La(e,t+1)){case 109:if(La(e,t+4)!==45)break;case 102:return Pr(e,/(.+:)(.+)-([^]+)/,"$1"+yi+"$2-$3$1"+Sw+(La(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~nN(e,"stretch",0)?qNe(Pr(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return Pr(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,i,o,a,s,l,c){return no+i+":"+o+c+(a?no+i+"-span:"+(s?l:+l-+o)+c:"")+e});case 4949:if(La(e,t+6)===121)return Pr(e,":",":"+yi)+e;break;case 6444:switch(La(e,La(e,14)===45?18:11)){case 120:return Pr(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+yi+(La(e,14)===45?"inline-":"")+"box$3$1"+yi+"$2$3$1"+no+"$2box$3")+e;case 100:return Pr(e,":",":"+no)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Pr(e,"scroll-","scroll-snap-")+e}return e}function Dk(e,t){for(var n="",r=0;r-1&&!e.return)switch(e.type){case GQ:e.return=qNe(e.value,e.length,n);return;case UNe:return Dk([im(e,{value:Pr(e.value,"@","@"+yi)})],r);case e9:if(e.length)return RQt(n=e.props,function(i){switch(Np(i,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":pb(im(e,{props:[Pr(i,/:(read-\w+)/,":"+Sw+"$1")]})),pb(im(e,{props:[i]})),Pz(e,{props:eue(n,r)});break;case"::placeholder":pb(im(e,{props:[Pr(i,/:(plac\w+)/,":"+yi+"input-$1")]})),pb(im(e,{props:[Pr(i,/:(plac\w+)/,":"+Sw+"$1")]})),pb(im(e,{props:[Pr(i,/:(plac\w+)/,no+"input-$1")]})),pb(im(e,{props:[i]})),Pz(e,{props:eue(n,r)});break}return""})}}var zQt={animationIterationCount:1,aspectRatio: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},tc={npm_package_dependencies_emoji_mart:"^5.6.0",npm_package_dependencies_use_debounce:"^10.0.1",NVM_INC:"/Users/ningjinpeng/.nvm/versions/node/v20.0.0/include/node",ELECTRON_MIRROR:"http://npm.taobao.org/mirrors/electron/",npm_package_devDependencies_prettier:"3.2.5",npm_package_devDependencies_electron_builder:"24.13.3",npm_package_scripts_build_mac_dmg:"tsc && vite build --mode prod && electron-builder --mac --config electron-builder-mac-dmg.yml",npm_package_dependencies_ts_protoc_gen:"^0.15.0",rvm_bin_path:"/Users/ningjinpeng/.rvm/bin",TERM_PROGRAM:"vscode",npm_package_dependencies__bytemd_plugin_breaks:"^1.21.0",npm_package_dependencies_cheerio:"^1.0.0",NODE:"/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin/node",npm_config_version_git_tag:"true",npm_package_homepage:"https://github.com/bytedesk/bytedesk#readme",npm_package_scripts_release_mac:"sh cicd/scripts/build-upload-mac.sh",npm_package_dependencies_axios:"^1.6.5",npm_package_dependencies_moment:"^2.30.1",npm_package_devDependencies_typescript:"^5.1.6",npm_package_devDependencies_vite_plugin_pwa:"^0.20.1",GEM_HOME:"/Users/ningjinpeng/.gem/ruby",NVM_CD_FLAGS:"-q",PYENV_ROOT:"/Users/ningjinpeng/.pyenv",INIT_CWD:"/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/apps/notebase",npm_package_scripts_build_mac_mas:"tsc && vite build --mode prod && electron-builder --mac --config electron-builder-mac-mas.yml",npm_package_devDependencies_jest:"^29.7.0",npm_package_devDependencies_vite:"^5.0.10",SHELL:"/bin/zsh",TERM:"xterm-256color",npm_config_shamefully_hoist:"true",npm_package_dependencies__emotion_styled:"11.11.5",npm_package_dependencies_react_infinite_scroll_component:"^6.1.0",HOMEBREW_API_DOMAIN:"https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api",HOMEBREW_BOTTLE_DOMAIN:"https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles",npm_package_dependencies__ant_design_pro_provider:"^2.15.2",HOMEBREW_REPOSITORY:"/opt/homebrew",TMPDIR:"/var/folders/gs/yt0l6r9963zgwd7fmhn3jfg40000gn/T/",npm_config_init_license:"MIT",npm_package_dependencies__ant_design_x:"^1.1.0",npm_package_dependencies__langchain_community:"^0.2.28",npm_package_dependencies_socket_io:"^4.7.5",npm_package_locales_en_productName:"ByteDesk",npm_package_dependencies_debug:"^4.3.7",npm_package_dependencies_dompurify:"^3.0.9",npm_package_devDependencies__vitejs_plugin_react:"^4.0.4",TERM_PROGRAM_VERSION:"1.100.0",npm_package_scripts_dev:"vite --host --mode dev",npm_package_dependencies_express_rate_limit:"^7.2.0",npm_package_dependencies_uuid:"^9.0.1",MallocNanoZone:"0",ORIGINAL_XDG_CURRENT_DESKTOP:"undefined",ZDOTDIR:"/Users/ningjinpeng",npm_package_scripts_build_linux:"tsc && vite build --mode prod && electron-builder --linux --config electron-builder-linux.yml",npm_config_registry:"https://registry.npmmirror.com/",npm_package_private:"true",npm_package_repository_url:"git+https://github.com/bytedesk/bytedesk.git",npm_package_dependencies__ant_design_icons:"^5.6.1",npm_package_dependencies__tanstack_react_query_devtools:"^5.21.0",npm_package_dependencies_bowser:"^2.11.0",npm_package_dependencies_react_dom:"^18.2.0",PNPM_HOME:"/Users/ningjinpeng/Library/pnpm",npm_package_dependencies__ant_design_cssinjs:"^1.22.0",npm_package_dependencies_dayjs:"^1.11.11",npm_package_dependencies_react_dropzone:"^14.2.3",npm_package_readmeFilename:"README.md",OBJC_DISABLE_INITIALIZE_FORK_SAFETY:"YES",npm_package_description:"对话即服务",npm_package_debug_env_VITE_DEV_SERVER_URL:"http://127.0.0.1:9005/",npm_package_devDependencies__testing_library_react:"^14.2.2",npm_package_devDependencies_ajv:"^8.17.1",NVM_DIR:"/Users/ningjinpeng/.nvm",USER:"ningjinpeng",npm_package_license:"GNU",npm_package_devDependencies__types_react:"^18.2.20",npm_package_dependencies_intersection_observer:"^0.12.2",npm_package_dependencies_react_helmet_async:"^2.0.4",COMMAND_MODE:"unix2003",npm_package_scripts_release_open:"sh cicd/scripts/build-open.sh",npm_package_dependencies_aieditor:"^1.3.8",npm_package_dependencies_bytemd:"^1.21.0",npm_package_scripts_release_mas:"sh cicd/scripts/build-mac-mas.sh",npm_package_dependencies_xgplayer:"^3.0.13",FLUTTER_ROOT:"/opt/homebrew/Cellar/ruby/3.4.1/bin:/opt/homebrew/opt/pyqt@5/5.15.7_2/bin:/opt/homebrew/opt/qt@5/5.15.8_2/bin:/Users/ningjinpeng/.pyenv/shims:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin/:/Users/ningjinpeng/.pyenv/shims:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/mysql/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/go/bin:/usr/local/hatch/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin/:/opt/homebrew/opt/libpq/bin:/Users/ningjinpeng/.bun/bin:/Users/ningjinpeng/.gem/ruby/bin:/Users/ningjinpeng/Library/pnpm:/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin:/Users/ningjinpeng/anaconda3/bin:/opt/homebrew/Cellar/ruby/3.4.1/bin:/opt/homebrew/opt/pyqt@5/5.15.7_2/bin:/opt/homebrew/opt/qt@5/5.15.8_2/bin:/Users/ningjinpeng/.cargo/bin:/Library/Java/JavaVirtualMachines/jdk-17.0.4.jdk/Contents/Home/bin:/Users/ningjinpeng/go/bin/:/Users/ningjinpeng/.pub-cache/bin:/Users/ningjinpeng/flutter/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin:/Users/ningjinpeng/.rvm/bin:/Applications/Docker.app/Contents/Resources/bin:/Users/ningjinpeng/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand:/Library/Java/JavaVirtualMachines/jdk-17.0.4.jdk/Contents/Home/bin:/Users/ningjinpeng/go/bin/:/Users/ningjinpeng/.pub-cache/bin:/Users/ningjinpeng/flutter/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin:/Users/ningjinpeng/flutter",HOMEBREW_CORE_GIT_REMOTE:"https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git",HOMEBREW_INSTALL_FROM_API:"1",rvm_path:"/Users/ningjinpeng/.rvm",npm_package_dependencies_react_virtuoso:"^4.7.1",npm_package_dependencies_zustand:"^4.4.7",SSH_AUTH_SOCK:"/private/tmp/com.apple.launchd.Mb2vuU7Blb/Listeners",npm_package_dependencies__bytemd_plugin_gemoji:"^1.21.0",npm_package_dependencies_highlight_js:"^11.11.1",npm_package_devDependencies__types_express:"^4.17.21",npm_package_devDependencies__types_jest:"^29.5.12",npm_package_devDependencies_less:"^4.2.0",npm_package_devDependencies_postcss:"^8.4.31",PUB_HOSTED_URL:"https://pub.flutter-io.cn",__CF_USER_TEXT_ENCODING:"0x1F5:0x19:0x34",VSCODE_PROFILE_INITIALIZED:"1",npm_package_scripts_e2e:"playwright test",npm_execpath:"/usr/local/lib/node_modules/yarn/bin/yarn.js",npm_package_scripts_build_open:"tsc && vite build --mode open",npm_package_dependencies__bytemd_react:"^1.21.0",npm_package_author_name:"weiyuai.cn",npm_package_dependencies_react_use:"^17.5.0",npm_package_devDependencies__electron_osx_sign:"^1.3.1",npm_package_devDependencies__types_react_dom:"^18.2.7",npm_package_dependencies__bytemd_plugin_gfm:"^1.21.0",npm_package_dependencies_peerjs:"^1.5.2",npm_package_devDependencies_styled_components:"^6.1.13",rvm_prefix:"/Users/ningjinpeng",npm_package_scripts_build_web:"tsc && vite build --mode web",npm_package_dependencies__emoji_mart_react:"^1.1.1",npm_package_dependencies_immer:"^10.1.1",npm_config_argv:'{"remain":[],"cooked":["run","build:open"],"original":["build:open"]}',PATH:"/var/folders/gs/yt0l6r9963zgwd7fmhn3jfg40000gn/T/yarn--1746770786080-0.8391517210337023:/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/apps/notebase/node_modules/.bin:/Users/ningjinpeng/.config/yarn/link/node_modules/.bin:/Users/ningjinpeng/.yarn/bin:/Users/ningjinpeng/.nvm/versions/node/v20.0.0/libexec/lib/node_modules/npm/bin/node-gyp-bin:/Users/ningjinpeng/.nvm/versions/node/v20.0.0/lib/node_modules/npm/bin/node-gyp-bin:/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin/node_modules/npm/bin/node-gyp-bin:/opt/homebrew/opt/libpq/bin:/Users/ningjinpeng/.bun/bin:/Users/ningjinpeng/.gem/ruby/bin:/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin:/Users/ningjinpeng/.pyenv/shims:/Users/ningjinpeng/anaconda3/bin:/opt/homebrew/Cellar/ruby/3.4.1/bin:/opt/homebrew/opt/pyqt@5/5.15.7_2/bin:/opt/homebrew/opt/qt@5/5.15.8_2/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin/:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/mysql/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/usr/local/go/bin:/usr/local/hatch/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin/:/opt/homebrew/opt/libpq/bin:/Users/ningjinpeng/.bun/bin:/Users/ningjinpeng/.gem/ruby/bin:/Users/ningjinpeng/Library/pnpm:/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin:/Users/ningjinpeng/anaconda3/bin:/opt/homebrew/Cellar/ruby/3.4.1/bin:/opt/homebrew/opt/pyqt@5/5.15.7_2/bin:/opt/homebrew/opt/qt@5/5.15.8_2/bin:/Users/ningjinpeng/.cargo/bin:/Library/Java/JavaVirtualMachines/jdk-17.0.4.jdk/Contents/Home/bin:/Users/ningjinpeng/go/bin/:/Users/ningjinpeng/.pub-cache/bin:/Users/ningjinpeng/flutter/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin:/Users/ningjinpeng/.rvm/bin:/Applications/Docker.app/Contents/Resources/bin:/Users/ningjinpeng/Library/Application Support/Code/User/globalStorage/github.copilot-chat/debugCommand:/Library/Java/JavaVirtualMachines/jdk-17.0.4.jdk/Contents/Home/bin:/Users/ningjinpeng/go/bin/:/Users/ningjinpeng/.pub-cache/bin:/Users/ningjinpeng/flutter/bin:/Users/ningjinpeng/flutter/bin/cache/dart-sdk/bin:/Users/ningjinpeng/.rvm/bin:/Applications/Docker.app/Contents/Resources/bin:/usr/local/bin",npm_package_scripts_release_web:"sh cicd/scripts/build-upload.sh",npm_package_dependencies__ant_design_use_emotion_css:"1.0.4",npm_package_dependencies_electron_context_menu:"^3.6.1",npm_config_auto_install_peers:"true",npm_package_dependencies_react_contexify:"^6.0.0",npm_package_dependencies_systeminformation:"^5.22.3",npm_package_devDependencies_ts_jest:"^29.1.2",__CFBundleIdentifier:"com.microsoft.VSCode",USER_ZDOTDIR:"/Users/ningjinpeng",npm_package_dependencies_electron_screenshots:"^0.5.26",npm_package_devDependencies_tailwindcss:"^3.3.3",PWD:"/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/apps/notebase",npm_config_nodeLinker:"node-modules",npm_package_bugs_url:"https://github.com/bytedesk/bytedesk/issues",npm_package_scripts_preview:"vite preview --host",npm_package_dependencies__bytemd_plugin_frontmatter:"^1.21.0",FLUTTER_STORAGE_BASE_URL:"https://storage.flutter-io.cn",JAVA_HOME:"/Library/Java/JavaVirtualMachines/jdk-17.0.4.jdk/Contents/Home",npm_package_dependencies_date_fns:"^3.3.1",npm_package_dependencies_ua_parser_js:"^1.0.37",npm_lifecycle_event:"build:open",npm_package_name:"notebase",npm_package_repository_type:"git",npm_package_dependencies_react_intl:"^6.8.9",LOCAL_GIT_DIRECTORY:"/Applications/GitHub Desktop.app/Contents/Resources/app/git",LANG:"zh_CN.UTF-8",npm_package_scripts_build_win:"tsc && vite build --mode prod && electron-builder --win --config electron-builder-windows.yml",npm_package_scripts_release_quanjing:"sh cicd/scripts/build-quanjing.sh",npm_package_scripts_pree2e:"vite build --mode=test",npm_package_dependencies_file_saver:"^2.0.5",npm_package_devDependencies_vite_plugin_electron_renderer:"^0.14.5",npm_config_version_commit_hooks:"true",npm_package_scripts_start:"vite --host --mode dev",npm_package_scripts_build:"tsc && vite build --mode prod && electron-builder",npm_package_scripts_release_win:"sh cicd/scripts/build-upload-win.sh",NODE_PATH:"/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9_less@4.2.1_lightningcss@1.22.1_sass@1.83.4_sugarss@2.0.0_terser@5.36.0/node_modules/vite/bin/node_modules:/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9_less@4.2.1_lightningcss@1.22.1_sass@1.83.4_sugarss@2.0.0_terser@5.36.0/node_modules/vite/node_modules:/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/node_modules/.pnpm/vite@5.4.11_@types+node@20.17.9_less@4.2.1_lightningcss@1.22.1_sass@1.83.4_sugarss@2.0.0_terser@5.36.0/node_modules:/Users/ningjinpeng/Desktop/git/private/github/bytedesk-frontend-private/node_modules/.pnpm/node_modules",npm_package_dependencies_menubar:"^9.4.0",npm_package_dependencies_react_router_dom:"^6.21.2",XPC_FLAGS:"0x0",VSCODE_GIT_ASKPASS_EXTRA_ARGS:"",npm_config_bin_links:"true",npm_package_dependencies__bytemd_plugin_highlight:"^1.21.0",npm_package_dependencies__types_ua_parser_js:"^0.7.39",npm_config_electron_mirror:"https://npmmirror.com/mirrors/electron/",npm_package_engines_node:">=20",npm_package_main:"dist-electron/main/index.js",npm_package_dependencies__tanstack_react_query:"^5.20.5",npm_package_dependencies_dexie:"^4.0.7",npm_package_version:"1.1.8",npm_package_dependencies__emotion_react:"11.11.4",npm_package_dependencies_node_json_db:"^2.3.1",npm_package_dependencies_ws:"^8.16.0",XPC_SERVICE_NAME:"0",npm_package_devDependencies_autoprefixer:"^10.4.16",rvm_version:"1.29.12 (latest)",VSCODE_INJECTION:"1",npm_package_type:"module",HOME:"/Users/ningjinpeng",PYENV_SHELL:"zsh",SHLVL:"3",npm_package_dependencies_react_markdown:"^9.0.1",HOMEBREW_BREW_GIT_REMOTE:"https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git",VSCODE_GIT_ASKPASS_MAIN:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass-main.js",npm_config_strict_ssl:"true",npm_config_save_prefix:"^",npm_package_dependencies_dotenv:"^16.4.5",npm_package_dependencies_mitt:"^3.0.1",npm_package_dependencies_openai:"^4.56.0",npm_config_version_git_message:"v%s",npm_package_dependencies__emoji_mart_data:"^1.2.1",npm_package_devDependencies_cross_env:"^7.0.3",HOMEBREW_PREFIX:"/opt/homebrew",npm_package_dependencies__bytemd_plugin_mermaid:"^1.21.0",npm_package_dependencies_react_photo_view:"^1.2.6",npm_package_devDependencies__types_web_bluetooth:"^0.0.20",npm_package_dependencies_unique_names_generator:"^4.7.1",YARN_WRAP_OUTPUT:"false",LOGNAME:"ningjinpeng",npm_package_locales_zh_CN_productName:"微语",npm_lifecycle_script:"tsc && vite build --mode open",npm_package_author_email:"270580156@qq.com",npm_package_dependencies_lodash_es:"^4.17.21",VSCODE_GIT_IPC_HANDLE:"/var/folders/gs/yt0l6r9963zgwd7fmhn3jfg40000gn/T/vscode-git-7f4d23a467.sock",npm_package_scripts_release_linux:"sh cicd/scripts/build-upload-linux.sh",npm_package_dependencies_react:"^18.2.0",npm_package_dependencies_mqtt:"^5.2.0",BUN_INSTALL:"/Users/ningjinpeng/.bun",NVM_BIN:"/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin",npm_config_user_agent:"yarn/1.22.17 npm/? node/v20.0.0 darwin arm64",npm_config_ignore_scripts:"",npm_config_version_git_sign:"",npm_package_dependencies_node_cmd:"^5.0.0",npm_package_dependencies_text_search_engine:"^1.1.0",npm_package_devDependencies__electron_notarize:"^2.5.0",npm_package_dependencies_socket_io_client:"^4.7.5",npm_package_devDependencies__playwright_test:"^1.37.1",npm_package_devDependencies__types_node:"^20.12.3",HOMEBREW_CELLAR:"/opt/homebrew/Cellar",INFOPATH:"/opt/homebrew/share/info:/opt/homebrew/share/info:",GIT_ASKPASS:"/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/git/dist/askpass.sh",VSCODE_GIT_ASKPASS_NODE:"/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin)",npm_package_dependencies_express:"^4.18.3",npm_config_ignore_optional:"",npm_config_init_version:"1.0.0",npm_package_scripts_build_quanjing:"tsc && vite build --mode quanjing",npm_package_dependencies_antd:"^5.23.2",npm_package_dependencies_langchain:"^0.2.16",npm_package_dependencies__ant_design_compatible:"^5.1.4",npm_package_dependencies_antd_img_crop:"^4.23.0",npm_package_dependencies_electron_updater:"^6.1.1",npm_package_devDependencies_vite_plugin_electron:"^0.28.0",npm_package_dependencies__dicebear_collection:"^8.0.1",npm_package_dependencies__types_file_saver:"^2.0.7",npm_package_devDependencies_electron:"^33.2.0",npm_package_locales_zh_CN_description:"对话即服务",npm_config_version_tag_prefix:"v",npm_package_dependencies__ant_design_pro_components:"^2.6.28",npm_package_dependencies__dicebear_core:"^8.0.1",npm_package_dependencies_dexie_react_hooks:"^1.1.7",npm_package_devDependencies__testing_library_jest_dom:"^6.4.2",npm_package_locales_en_description:"Chat as a Service",npm_node_execpath:"/Users/ningjinpeng/.nvm/versions/node/v20.0.0/bin/node",COLORTERM:"truecolor",NODE_ENV:"production"},P_=typeof process<"u"&&tc!==void 0&&(tc.REACT_APP_SC_ATTR||tc.SC_ATTR)||"data-styled",YNe="active",KNe="data-styled-version",i9="6.1.13",qQ=`/*!sc*/ `,Lk=typeof window<"u"&&"HTMLElement"in window,VQt=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&tc!==void 0&&tc.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&tc.REACT_APP_SC_DISABLE_SPEEDY!==""?tc.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&tc.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&tc!==void 0&&tc.SC_DISABLE_SPEEDY!==void 0&&tc.SC_DISABLE_SPEEDY!==""&&tc.SC_DISABLE_SPEEDY!=="false"&&tc.SC_DISABLE_SPEEDY),o9=Object.freeze([]),D_=Object.freeze({});function GQt(e,t,n){return n===void 0&&(n=D_),e.theme!==n.theme&&e.theme||t||n.theme}var QNe=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),WQt=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,qQt=/(^-|-$)/g;function rue(e){return e.replace(WQt,"-").replace(qQt,"")}var YQt=/(a)(d)/gi,rI=52,iue=function(e){return String.fromCharCode(e+(e>25?39:97))};function $z(e){var t,n="";for(t=Math.abs(e);t>rI;t=t/rI|0)n=iue(t%rI)+n;return(iue(t%rI)+n).replace(YQt,"$1-$2")}var h6,XNe=5381,ry=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ZNe=function(e){return ry(XNe,e)};function KQt(e){return $z(ZNe(e)>>>0)}function QQt(e){return e.displayName||e.name||"Component"}function m6(e){return typeof e=="string"&&!0}var JNe=typeof Symbol=="function"&&Symbol.for,eMe=JNe?Symbol.for("react.memo"):60115,XQt=JNe?Symbol.for("react.forward_ref"):60112,ZQt={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},JQt={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tMe={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},eXt=((h6={})[XQt]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},h6[eMe]=tMe,h6);function oue(e){return("type"in(t=e)&&t.type.$$typeof)===eMe?tMe:"$$typeof"in e?eXt[e.$$typeof]:ZQt;var t}var tXt=Object.defineProperty,nXt=Object.getOwnPropertyNames,aue=Object.getOwnPropertySymbols,rXt=Object.getOwnPropertyDescriptor,iXt=Object.getPrototypeOf,sue=Object.prototype;function nMe(e,t,n){if(typeof t!="string"){if(sue){var r=iXt(t);r&&r!==sue&&nMe(e,r,n)}var i=nXt(t);aue&&(i=i.concat(aue(t)));for(var o=oue(e),a=oue(t),s=0;s0?" Args: ".concat(t.join(", ")):""))}var oXt=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,i=r.length,o=i;t>=o;)if((o<<=1)<0)throw cO(16,"".concat(t));this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=i;a=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],i=this.indexOfGroup(t),o=i+r,a=i;a=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t0&&(v+="".concat(y,","))}),l+="".concat(m).concat(g,'{content:"').concat(v,'"}').concat(qQ)},u=0;u0?".".concat(t):f},u=l.slice();u.push(function(f){f.type===e9&&f.value.includes("&")&&(f.props[0]=f.props[0].replace(gXt,n).replace(r,c))}),a.prefix&&u.push(UQt),u.push(BQt);var d=function(f,h,m,g){h===void 0&&(h=""),m===void 0&&(m=""),g===void 0&&(g="&"),t=g,n=h,r=new RegExp("\\".concat(n,"\\b"),"g");var v=f.replace(vXt,""),y=$Qt(m||h?"".concat(m," ").concat(h," { ").concat(v," }"):v);a.namespace&&(y=oMe(y,a.namespace));var b=[];return Dk(y,jQt(u.concat(HQt(function(_){return b.push(_)})))),b};return d.hash=l.length?l.reduce(function(f,h){return h.name||cO(15),ry(f,h.name)},XNe).toString():"",d}var yXt=new iMe,Bz=bXt(),aMe=se.createContext({shouldForwardProp:void 0,styleSheet:yXt,stylis:Bz});aMe.Consumer;se.createContext(void 0);function due(){return p.useContext(aMe)}var _Xt=function(){function e(t,n){var r=this;this.inject=function(i,o){o===void 0&&(o=Bz);var a=r.name+o.hash;i.hasNameForId(r.id,a)||i.insertRules(r.id,a,o(r.rules,a,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,KQ(this,function(){throw cO(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Bz),this.name+t.hash},e}(),SXt=function(e){return e>="A"&&e<="Z"};function fue(e){for(var t="",n=0;n>>0);if(!n.hasNameForId(this.componentId,a)){var s=r(o,".".concat(a),void 0,this.componentId);n.insertRules(this.componentId,a,s)}i=W1(i,a),this.staticRulesId=a}else{for(var l=ry(this.baseHash,r.hash),c="",u=0;u>>0);n.hasNameForId(this.componentId,h)||n.insertRules(this.componentId,h,r(c,".".concat(h),void 0,this.componentId)),i=W1(i,h)}}return i},e}(),cMe=se.createContext(void 0);cMe.Consumer;var g6={};function TXt(e,t,n){var r=YQ(e),i=e,o=!m6(e),a=t.attrs,s=a===void 0?o9:a,l=t.componentId,c=l===void 0?function(E,C){var S=typeof E!="string"?"sc":rue(E);g6[S]=(g6[S]||0)+1;var w="".concat(S,"-").concat(KQt(i9+S+g6[S]));return C?"".concat(C,"-").concat(w):w}(t.displayName,t.parentComponentId):l,u=t.displayName,d=u===void 0?function(E){return m6(E)?"styled.".concat(E):"Styled(".concat(QQt(E),")")}(e):u,f=t.displayName&&t.componentId?"".concat(rue(t.displayName),"-").concat(t.componentId):t.componentId||c,h=r&&i.attrs?i.attrs.concat(s).filter(Boolean):s,m=t.shouldForwardProp;if(r&&i.shouldForwardProp){var g=i.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;m=function(E,C){return g(E,C)&&v(E,C)}}else m=g}var y=new wXt(n,f,r?i.componentStyle:void 0);function b(E,C){return function(S,w,T){var O=S.attrs,x=S.componentStyle,A=S.defaultProps,I=S.foldedComponentIds,M=S.styledComponentId,B=S.target,P=se.useContext(cMe),k=due(),N=S.shouldForwardProp||k.shouldForwardProp,L=GQt(w,P,A)||D_,V=function(te,ae,K){for(var Q,ie=wl(wl({},ae),{className:void 0,theme:K}),he=0;he{const[o]=Dr.useForm(),a=$l(l=>l.currentOrg);p.useEffect(()=>{t&&n?o.setFieldsValue({name:n==null?void 0:n.name,description:n==null?void 0:n.description,type:n==null?void 0:n.type}):o.setFieldsValue({type:ng})},[o,t,n]);const s=async()=>{try{const l=await o.validateFields();if(console.log("values:",l),t&&n){const c={...l,orgUid:a==null?void 0:a.uid,uid:n==null?void 0:n.uid},u=await fMe(c);if(console.log("updateKbase response:",u.data),u.data.code===200)return Wt.success("知识库更新成功"),i(),!0}else{const c={...l,orgUid:a==null?void 0:a.uid},u=await dMe(c);return console.log("createKbase response:",u.data),u.data.code===200?(Wt.success("知识库创建成功"),i(),!0):(Wt.error(u.data.message),!1)}}catch(l){return console.error("Create space failed:",l),Wt.error("创建知识库失败"),!1}};return H.jsx(Yo,{title:"创建知识库",open:e,onOk:s,onCancel:r,children:H.jsxs(Dr,{form:o,submitter:!1,children:[H.jsx(ci,{name:"name",label:"知识库名称",placeholder:"请输入知识库名称",rules:[{required:!0,message:"请输入知识库名称"}]}),H.jsx(QS,{name:"description",label:"知识库描述",placeholder:"请输入知识库描述",rules:[{required:!0,message:"请输入知识库描述"}],fieldProps:{rows:4}}),H.jsx(i3.Group,{name:"type",label:"知识库类型",rules:[{required:!0,message:"请选择知识库类型"}],options:[{label:"帮助文档",value:K6e},{label:"私有知识库",value:ng}]})]})})},Fg=Ic(e=>({kbases:[],currentKbase:null,setKbases:t=>e({kbases:t}),setCurrentKbase:t=>e({currentKbase:t}),fetchKbases:async t=>{const r=await OXt({pageNumber:0,pageSize:10,type:ng,orgUid:t,queryNotebase:!0});console.log("queryKbasesByOrg response",r.data),r.data.code===200?e({kbases:r.data.data.content||[]}):Wt.error(r.data.message)},toggleStarKbase:t=>e(n=>({kbases:n.kbases.map(r=>r.uid===t?{...r,favorite:!r.favorite}:r)})),createKbase:async t=>{const n={...t,type:ng,queryNotebase:!0},r=await dMe(n);console.log("createKbase response",r.data),r.data.code===200?e(i=>({kbases:[...i.kbases,t]})):Wt.error(r.data.message)},updateKbase:async t=>{const n={...t,type:ng,queryNotebase:!0},r=await fMe(n);console.log("updateKbase response",r.data),r.data.code===200?Wt.success("更新成功"):Wt.error(r.data.message)},deleteKbase:async t=>{const r=await IXt({uid:t});console.log("deleteKbase response",r.data),r.data.code===200?Wt.success("删除成功"):Wt.error(r.data.message)},fetchKbaseDetail:async t=>{const r=await RXt({uid:t});if(console.log("queryKbaseDetail response",r.data),r.data.code===200)e({currentKbase:r.data.data});else throw new Error("KBASE.KbaseResponse not found")}})),{Title:AXt,Paragraph:NXt}=k2,MXt=Do(pD)` .ant-card-body { height: 120px; @@ -944,21 +944,21 @@ img.ProseMirror-separator { %c`+Wde(e)+` %c👷‍ This is a development-only message. It will be removed in production. - `)}function J4e(e){return[Con(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var mx;Yc.NODE_ENV!=="production"&&won();function won(){mx=new Set}function kp(e,t){if(e&&!mx.has(t)){var n;mx.add(t),(n=console).warn.apply(n,J4e(t))}}function SV(e,t){if(e&&!mx.has(t)){var n;mx.add(t),(n=console).error.apply(n,J4e(t))}}function Ton(e){var t=!e,n=Object.prototype.toString.call(e)==="[object Object]"&&!e.addEventListener;SV(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),SV(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var e5e={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},xon={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},uc=Object.assign({appendTo:Q4e,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},e5e,xon),Oon=Object.keys(uc),Ron=function(e){Yc.NODE_ENV!=="production"&&n5e(e,[]);var t=Object.keys(e);t.forEach(function(n){uc[n]=e[n]})};function t5e(e){var t=e.plugins||[],n=t.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var s;r[o]=e[o]!==void 0?e[o]:(s=uc[o])!=null?s:a}return r},{});return Object.assign({},e,n)}function Ion(e,t){var n=t?Object.keys(t5e(Object.assign({},uc,{plugins:t}))):Oon,r=n.reduce(function(i,o){var a=(e.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function qde(e,t){var n=Object.assign({},t,{content:X4e(t.content,[e])},t.ignoreAttributes?{}:Ion(e,t.plugins));return n.aria=Object.assign({},uc.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}function n5e(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var n=Object.keys(e);n.forEach(function(r){var i=lon(uc,Object.keys(e5e)),o=!son(i,r);o&&(o=t.filter(function(a){return a.name===r}).length===0),kp(o,["`"+r+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",` + `)}function J4e(e){return[Con(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}var mx;Yc.NODE_ENV!=="production"&&won();function won(){mx=new Set}function kp(e,t){if(e&&!mx.has(t)){var n;mx.add(t),(n=console).warn.apply(n,J4e(t))}}function SV(e,t){if(e&&!mx.has(t)){var n;mx.add(t),(n=console).error.apply(n,J4e(t))}}function Ton(e){var t=!e,n=Object.prototype.toString.call(e)==="[object Object]"&&!e.addEventListener;SV(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),SV(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}var ePe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},xon={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},uc=Object.assign({appendTo:Q4e,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},ePe,xon),Oon=Object.keys(uc),Ron=function(e){Yc.NODE_ENV!=="production"&&nPe(e,[]);var t=Object.keys(e);t.forEach(function(n){uc[n]=e[n]})};function tPe(e){var t=e.plugins||[],n=t.reduce(function(r,i){var o=i.name,a=i.defaultValue;if(o){var s;r[o]=e[o]!==void 0?e[o]:(s=uc[o])!=null?s:a}return r},{});return Object.assign({},e,n)}function Ion(e,t){var n=t?Object.keys(tPe(Object.assign({},uc,{plugins:t}))):Oon,r=n.reduce(function(i,o){var a=(e.getAttribute("data-tippy-"+o)||"").trim();if(!a)return i;if(o==="content")i[o]=a;else try{i[o]=JSON.parse(a)}catch{i[o]=a}return i},{});return r}function qde(e,t){var n=Object.assign({},t,{content:X4e(t.content,[e])},t.ignoreAttributes?{}:Ion(e,t.plugins));return n.aria=Object.assign({},uc.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}function nPe(e,t){e===void 0&&(e={}),t===void 0&&(t=[]);var n=Object.keys(e);n.forEach(function(r){var i=lon(uc,Object.keys(ePe)),o=!son(i,r);o&&(o=t.filter(function(a){return a.name===r}).length===0),kp(o,["`"+r+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.",` `,`All props: https://atomiks.github.io/tippyjs/v6/all-props/ -`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var Aon=function(){return"innerHTML"};function EV(e,t){e[Aon()]=t}function Yde(e){var t=Rw();return e===!0?t.className=Y4e:(t.className=K4e,hx(e)?t.appendChild(e):EV(t,e)),t}function Kde(e,t){hx(t.content)?(EV(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?EV(e,t.content):e.textContent=t.content)}function CV(e){var t=e.firstElementChild,n=Jk(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(q4e)}),arrow:n.find(function(r){return r.classList.contains(Y4e)||r.classList.contains(K4e)}),backdrop:n.find(function(r){return r.classList.contains(aon)})}}function r5e(e){var t=Rw(),n=Rw();n.className=oon,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Rw();r.className=q4e,r.setAttribute("data-state","hidden"),Kde(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props);function i(o,a){var s=CV(t),l=s.box,c=s.content,u=s.arrow;a.theme?l.setAttribute("data-theme",a.theme):l.removeAttribute("data-theme"),typeof a.animation=="string"?l.setAttribute("data-animation",a.animation):l.removeAttribute("data-animation"),a.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?l.setAttribute("role",a.role):l.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&Kde(c,e.props),a.arrow?u?o.arrow!==a.arrow&&(l.removeChild(u),l.appendChild(Yde(a.arrow))):l.appendChild(Yde(a.arrow)):u&&l.removeChild(u)}return{popper:t,onUpdate:i}}r5e.$$tippy=!0;var Non=1,pI=[],j6=[];function Mon(e,t){var n=qde(e,Object.assign({},uc,t5e(Ude(t)))),r,i,o,a=!1,s=!1,l=!1,c=!1,u,d,f,h=[],m=jde(ve,n.interactiveDebounce),g,v=Non++,y=null,b=uon(n.plugins),_={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},E={id:v,reference:e,popper:Rw(),popperInstance:y,props:n,state:_,plugins:b,clearDelayTimeouts:z,setProps:D,setContent:q,show:oe,hide:ye,hideWithInteractivity:ce,enable:Re,disable:De,unmount:Be,destroy:Ve};if(!n.render)return Yc.NODE_ENV!=="production"&&SV(!0,"render() function has not been supplied."),E;var C=n.render(E),S=C.popper,w=C.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+E.id,E.popper=S,e._tippy=E,S._tippy=E;var T=b.map(function(re){return re.fn(E)}),O=e.hasAttribute("aria-expanded");return pe(),$(),N(),L("onCreate",[E]),n.showOnCreate&&be(),S.addEventListener("mouseenter",function(){E.props.interactive&&E.state.isVisible&&E.clearDelayTimeouts()}),S.addEventListener("mouseleave",function(){E.props.interactive&&E.props.trigger.indexOf("mouseenter")>=0&&B().addEventListener("mousemove",m)}),E;function x(){var re=E.props.touch;return Array.isArray(re)?re:[re,0]}function A(){return x()[0]==="hold"}function I(){var re;return!!((re=E.props.render)!=null&&re.$$tippy)}function M(){return g||e}function B(){var re=M().parentNode;return re?gon(re):document}function P(){return CV(S)}function k(re){return E.state.isMounted&&!E.state.isVisible||pf.isTouch||u&&u.type==="focus"?0:$6(E.props.delay,re?0:1,uc.delay)}function N(re){re===void 0&&(re=!1),S.style.pointerEvents=E.props.interactive&&!re?"":"none",S.style.zIndex=""+E.props.zIndex}function L(re,Me,je){if(je===void 0&&(je=!0),T.forEach(function(Ge){Ge[re]&&Ge[re].apply(Ge,Me)}),je){var ke;(ke=E.props)[re].apply(ke,Me)}}function V(){var re=E.props.aria;if(re.content){var Me="aria-"+re.content,je=S.id,ke=Nb(E.props.triggerTarget||e);ke.forEach(function(Ge){var Ue=Ge.getAttribute(Me);if(E.state.isVisible)Ge.setAttribute(Me,Ue?Ue+" "+je:je);else{var qe=Ue&&Ue.replace(je,"").trim();qe?Ge.setAttribute(Me,qe):Ge.removeAttribute(Me)}})}}function $(){if(!(O||!E.props.aria.expanded)){var re=Nb(E.props.triggerTarget||e);re.forEach(function(Me){E.props.interactive?Me.setAttribute("aria-expanded",E.state.isVisible&&Me===M()?"true":"false"):Me.removeAttribute("aria-expanded")})}}function W(){B().removeEventListener("mousemove",m),pI=pI.filter(function(re){return re!==m})}function j(re){if(!(pf.isTouch&&(l||re.type==="mousedown"))){var Me=re.composedPath&&re.composedPath()[0]||re.target;if(!(E.props.interactive&&Vde(S,Me))){if(Nb(E.props.triggerTarget||e).some(function(je){return Vde(je,Me)})){if(pf.isTouch||E.state.isVisible&&E.props.trigger.indexOf("click")>=0)return}else L("onClickOutside",[E,re]);E.props.hideOnClick===!0&&(E.clearDelayTimeouts(),E.hide(),s=!0,setTimeout(function(){s=!1}),E.state.isMounted||ae())}}}function U(){l=!0}function Z(){l=!1}function te(){var re=B();re.addEventListener("mousedown",j,!0),re.addEventListener("touchend",j,_1),re.addEventListener("touchstart",Z,_1),re.addEventListener("touchmove",U,_1)}function ae(){var re=B();re.removeEventListener("mousedown",j,!0),re.removeEventListener("touchend",j,_1),re.removeEventListener("touchstart",Z,_1),re.removeEventListener("touchmove",U,_1)}function K(re,Me){ie(re,function(){!E.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&Me()})}function Q(re,Me){ie(re,Me)}function ie(re,Me){var je=P().box;function ke(Ge){Ge.target===je&&(B6(je,"remove",ke),Me())}if(re===0)return Me();B6(je,"remove",d),B6(je,"add",ke),d=ke}function he(re,Me,je){je===void 0&&(je=!1);var ke=Nb(E.props.triggerTarget||e);ke.forEach(function(Ge){Ge.addEventListener(re,Me,je),h.push({node:Ge,eventType:re,handler:Me,options:je})})}function pe(){A()&&(he("touchstart",de,{passive:!0}),he("touchend",ne,{passive:!0})),con(E.props.trigger).forEach(function(re){if(re!=="manual")switch(he(re,de),re){case"mouseenter":he("mouseleave",ne);break;case"focus":he(Eon?"focusout":"blur",ue);break;case"focusin":he("focusout",ue);break}})}function le(){h.forEach(function(re){var Me=re.node,je=re.eventType,ke=re.handler,Ge=re.options;Me.removeEventListener(je,ke,Ge)}),h=[]}function de(re){var Me,je=!1;if(!(!E.state.isEnabled||ge(re)||s)){var ke=((Me=u)==null?void 0:Me.type)==="focus";u=re,g=re.currentTarget,$(),!E.state.isVisible&&pon(re)&&pI.forEach(function(Ge){return Ge(re)}),re.type==="click"&&(E.props.trigger.indexOf("mouseenter")<0||a)&&E.props.hideOnClick!==!1&&E.state.isVisible?je=!0:be(re),re.type==="click"&&(a=!je),je&&!ke&&_e(re)}}function ve(re){var Me=re.target,je=M().contains(Me)||S.contains(Me);if(!(re.type==="mousemove"&&je)){var ke=me().concat(S).map(function(Ge){var Ue,qe=Ge._tippy,At=(Ue=qe.popperInstance)==null?void 0:Ue.state;return At?{popperRect:Ge.getBoundingClientRect(),popperState:At,props:n}:null}).filter(Boolean);von(ke,re)&&(W(),_e(re))}}function ne(re){var Me=ge(re)||E.props.trigger.indexOf("click")>=0&&a;if(!Me){if(E.props.interactive){E.hideWithInteractivity(re);return}_e(re)}}function ue(re){E.props.trigger.indexOf("focusin")<0&&re.target!==M()||E.props.interactive&&re.relatedTarget&&S.contains(re.relatedTarget)||_e(re)}function ge(re){return pf.isTouch?A()!==re.type.indexOf("touch")>=0:!1}function Ce(){Te();var re=E.props,Me=re.popperOptions,je=re.placement,ke=re.offset,Ge=re.getReferenceClientRect,Ue=re.moveTransition,qe=I()?CV(S).arrow:null,At=Ge?{getBoundingClientRect:Ge,contextElement:Ge.contextElement||M()}:e,at={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Ct){var bt=Ct.state;if(I()){var Vt=P(),Tt=Vt.box;["placement","reference-hidden","escaped"].forEach(function(Ot){Ot==="placement"?Tt.setAttribute("data-placement",bt.placement):bt.attributes.popper["data-popper-"+Ot]?Tt.setAttribute("data-"+Ot,""):Tt.removeAttribute("data-"+Ot)}),bt.attributes.popper={}}}},pt=[{name:"offset",options:{offset:ke}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ue}},at];I()&&qe&&pt.push({name:"arrow",options:{element:qe,padding:3}}),pt.push.apply(pt,(Me==null?void 0:Me.modifiers)||[]),E.popperInstance=ion(At,S,Object.assign({},Me,{placement:je,onFirstUpdate:f,modifiers:pt}))}function Te(){E.popperInstance&&(E.popperInstance.destroy(),E.popperInstance=null)}function Se(){var re=E.props.appendTo,Me,je=M();E.props.interactive&&re===Q4e||re==="parent"?Me=je.parentNode:Me=X4e(re,[je]),Me.contains(S)||Me.appendChild(S),E.state.isMounted=!0,Ce(),Yc.NODE_ENV!=="production"&&kp(E.props.interactive&&re===uc.appendTo&&je.nextElementSibling!==S,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",` +`,"Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var Aon=function(){return"innerHTML"};function EV(e,t){e[Aon()]=t}function Yde(e){var t=Rw();return e===!0?t.className=Y4e:(t.className=K4e,hx(e)?t.appendChild(e):EV(t,e)),t}function Kde(e,t){hx(t.content)?(EV(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?EV(e,t.content):e.textContent=t.content)}function CV(e){var t=e.firstElementChild,n=Jk(t.children);return{box:t,content:n.find(function(r){return r.classList.contains(q4e)}),arrow:n.find(function(r){return r.classList.contains(Y4e)||r.classList.contains(K4e)}),backdrop:n.find(function(r){return r.classList.contains(aon)})}}function rPe(e){var t=Rw(),n=Rw();n.className=oon,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Rw();r.className=q4e,r.setAttribute("data-state","hidden"),Kde(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props);function i(o,a){var s=CV(t),l=s.box,c=s.content,u=s.arrow;a.theme?l.setAttribute("data-theme",a.theme):l.removeAttribute("data-theme"),typeof a.animation=="string"?l.setAttribute("data-animation",a.animation):l.removeAttribute("data-animation"),a.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof a.maxWidth=="number"?a.maxWidth+"px":a.maxWidth,a.role?l.setAttribute("role",a.role):l.removeAttribute("role"),(o.content!==a.content||o.allowHTML!==a.allowHTML)&&Kde(c,e.props),a.arrow?u?o.arrow!==a.arrow&&(l.removeChild(u),l.appendChild(Yde(a.arrow))):l.appendChild(Yde(a.arrow)):u&&l.removeChild(u)}return{popper:t,onUpdate:i}}rPe.$$tippy=!0;var Non=1,pI=[],j6=[];function Mon(e,t){var n=qde(e,Object.assign({},uc,tPe(Ude(t)))),r,i,o,a=!1,s=!1,l=!1,c=!1,u,d,f,h=[],m=jde(ve,n.interactiveDebounce),g,v=Non++,y=null,b=uon(n.plugins),_={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},E={id:v,reference:e,popper:Rw(),popperInstance:y,props:n,state:_,plugins:b,clearDelayTimeouts:z,setProps:D,setContent:q,show:oe,hide:ye,hideWithInteractivity:ce,enable:Re,disable:De,unmount:Be,destroy:Ve};if(!n.render)return Yc.NODE_ENV!=="production"&&SV(!0,"render() function has not been supplied."),E;var C=n.render(E),S=C.popper,w=C.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+E.id,E.popper=S,e._tippy=E,S._tippy=E;var T=b.map(function(re){return re.fn(E)}),O=e.hasAttribute("aria-expanded");return pe(),$(),N(),L("onCreate",[E]),n.showOnCreate&&be(),S.addEventListener("mouseenter",function(){E.props.interactive&&E.state.isVisible&&E.clearDelayTimeouts()}),S.addEventListener("mouseleave",function(){E.props.interactive&&E.props.trigger.indexOf("mouseenter")>=0&&B().addEventListener("mousemove",m)}),E;function x(){var re=E.props.touch;return Array.isArray(re)?re:[re,0]}function A(){return x()[0]==="hold"}function I(){var re;return!!((re=E.props.render)!=null&&re.$$tippy)}function M(){return g||e}function B(){var re=M().parentNode;return re?gon(re):document}function P(){return CV(S)}function k(re){return E.state.isMounted&&!E.state.isVisible||pf.isTouch||u&&u.type==="focus"?0:$6(E.props.delay,re?0:1,uc.delay)}function N(re){re===void 0&&(re=!1),S.style.pointerEvents=E.props.interactive&&!re?"":"none",S.style.zIndex=""+E.props.zIndex}function L(re,Me,je){if(je===void 0&&(je=!0),T.forEach(function(Ge){Ge[re]&&Ge[re].apply(Ge,Me)}),je){var ke;(ke=E.props)[re].apply(ke,Me)}}function V(){var re=E.props.aria;if(re.content){var Me="aria-"+re.content,je=S.id,ke=Nb(E.props.triggerTarget||e);ke.forEach(function(Ge){var Ue=Ge.getAttribute(Me);if(E.state.isVisible)Ge.setAttribute(Me,Ue?Ue+" "+je:je);else{var qe=Ue&&Ue.replace(je,"").trim();qe?Ge.setAttribute(Me,qe):Ge.removeAttribute(Me)}})}}function $(){if(!(O||!E.props.aria.expanded)){var re=Nb(E.props.triggerTarget||e);re.forEach(function(Me){E.props.interactive?Me.setAttribute("aria-expanded",E.state.isVisible&&Me===M()?"true":"false"):Me.removeAttribute("aria-expanded")})}}function W(){B().removeEventListener("mousemove",m),pI=pI.filter(function(re){return re!==m})}function j(re){if(!(pf.isTouch&&(l||re.type==="mousedown"))){var Me=re.composedPath&&re.composedPath()[0]||re.target;if(!(E.props.interactive&&Vde(S,Me))){if(Nb(E.props.triggerTarget||e).some(function(je){return Vde(je,Me)})){if(pf.isTouch||E.state.isVisible&&E.props.trigger.indexOf("click")>=0)return}else L("onClickOutside",[E,re]);E.props.hideOnClick===!0&&(E.clearDelayTimeouts(),E.hide(),s=!0,setTimeout(function(){s=!1}),E.state.isMounted||ae())}}}function U(){l=!0}function Z(){l=!1}function te(){var re=B();re.addEventListener("mousedown",j,!0),re.addEventListener("touchend",j,_1),re.addEventListener("touchstart",Z,_1),re.addEventListener("touchmove",U,_1)}function ae(){var re=B();re.removeEventListener("mousedown",j,!0),re.removeEventListener("touchend",j,_1),re.removeEventListener("touchstart",Z,_1),re.removeEventListener("touchmove",U,_1)}function K(re,Me){ie(re,function(){!E.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&Me()})}function Q(re,Me){ie(re,Me)}function ie(re,Me){var je=P().box;function ke(Ge){Ge.target===je&&(B6(je,"remove",ke),Me())}if(re===0)return Me();B6(je,"remove",d),B6(je,"add",ke),d=ke}function he(re,Me,je){je===void 0&&(je=!1);var ke=Nb(E.props.triggerTarget||e);ke.forEach(function(Ge){Ge.addEventListener(re,Me,je),h.push({node:Ge,eventType:re,handler:Me,options:je})})}function pe(){A()&&(he("touchstart",de,{passive:!0}),he("touchend",ne,{passive:!0})),con(E.props.trigger).forEach(function(re){if(re!=="manual")switch(he(re,de),re){case"mouseenter":he("mouseleave",ne);break;case"focus":he(Eon?"focusout":"blur",ue);break;case"focusin":he("focusout",ue);break}})}function le(){h.forEach(function(re){var Me=re.node,je=re.eventType,ke=re.handler,Ge=re.options;Me.removeEventListener(je,ke,Ge)}),h=[]}function de(re){var Me,je=!1;if(!(!E.state.isEnabled||ge(re)||s)){var ke=((Me=u)==null?void 0:Me.type)==="focus";u=re,g=re.currentTarget,$(),!E.state.isVisible&&pon(re)&&pI.forEach(function(Ge){return Ge(re)}),re.type==="click"&&(E.props.trigger.indexOf("mouseenter")<0||a)&&E.props.hideOnClick!==!1&&E.state.isVisible?je=!0:be(re),re.type==="click"&&(a=!je),je&&!ke&&_e(re)}}function ve(re){var Me=re.target,je=M().contains(Me)||S.contains(Me);if(!(re.type==="mousemove"&&je)){var ke=me().concat(S).map(function(Ge){var Ue,qe=Ge._tippy,At=(Ue=qe.popperInstance)==null?void 0:Ue.state;return At?{popperRect:Ge.getBoundingClientRect(),popperState:At,props:n}:null}).filter(Boolean);von(ke,re)&&(W(),_e(re))}}function ne(re){var Me=ge(re)||E.props.trigger.indexOf("click")>=0&&a;if(!Me){if(E.props.interactive){E.hideWithInteractivity(re);return}_e(re)}}function ue(re){E.props.trigger.indexOf("focusin")<0&&re.target!==M()||E.props.interactive&&re.relatedTarget&&S.contains(re.relatedTarget)||_e(re)}function ge(re){return pf.isTouch?A()!==re.type.indexOf("touch")>=0:!1}function Ce(){Te();var re=E.props,Me=re.popperOptions,je=re.placement,ke=re.offset,Ge=re.getReferenceClientRect,Ue=re.moveTransition,qe=I()?CV(S).arrow:null,At=Ge?{getBoundingClientRect:Ge,contextElement:Ge.contextElement||M()}:e,at={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Ct){var bt=Ct.state;if(I()){var Vt=P(),Tt=Vt.box;["placement","reference-hidden","escaped"].forEach(function(Ot){Ot==="placement"?Tt.setAttribute("data-placement",bt.placement):bt.attributes.popper["data-popper-"+Ot]?Tt.setAttribute("data-"+Ot,""):Tt.removeAttribute("data-"+Ot)}),bt.attributes.popper={}}}},pt=[{name:"offset",options:{offset:ke}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Ue}},at];I()&&qe&&pt.push({name:"arrow",options:{element:qe,padding:3}}),pt.push.apply(pt,(Me==null?void 0:Me.modifiers)||[]),E.popperInstance=ion(At,S,Object.assign({},Me,{placement:je,onFirstUpdate:f,modifiers:pt}))}function Te(){E.popperInstance&&(E.popperInstance.destroy(),E.popperInstance=null)}function Se(){var re=E.props.appendTo,Me,je=M();E.props.interactive&&re===Q4e||re==="parent"?Me=je.parentNode:Me=X4e(re,[je]),Me.contains(S)||Me.appendChild(S),E.state.isMounted=!0,Ce(),Yc.NODE_ENV!=="production"&&kp(E.props.interactive&&re===uc.appendTo&&je.nextElementSibling!==S,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.",` `,"Using a wrapper
or tag around the reference element","solves this by creating a new parentNode context.",` `,"Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.",` -`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function me(){return Jk(S.querySelectorAll("[data-tippy-root]"))}function be(re){E.clearDelayTimeouts(),re&&L("onTrigger",[E,re]),te();var Me=k(!0),je=x(),ke=je[0],Ge=je[1];pf.isTouch&&ke==="hold"&&Ge&&(Me=Ge),Me?r=setTimeout(function(){E.show()},Me):E.show()}function _e(re){if(E.clearDelayTimeouts(),L("onUntrigger",[E,re]),!E.state.isVisible){ae();return}if(!(E.props.trigger.indexOf("mouseenter")>=0&&E.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(re.type)>=0&&a)){var Me=k(!1);Me?i=setTimeout(function(){E.state.isVisible&&E.hide()},Me):o=requestAnimationFrame(function(){E.hide()})}}function Re(){E.state.isEnabled=!0}function De(){E.hide(),E.state.isEnabled=!1}function z(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function D(re){if(Yc.NODE_ENV!=="production"&&kp(E.state.isDestroyed,gb("setProps")),!E.state.isDestroyed){L("onBeforeUpdate",[E,re]),le();var Me=E.props,je=qde(e,Object.assign({},Me,Ude(re),{ignoreAttributes:!0}));E.props=je,pe(),Me.interactiveDebounce!==je.interactiveDebounce&&(W(),m=jde(ve,je.interactiveDebounce)),Me.triggerTarget&&!je.triggerTarget?Nb(Me.triggerTarget).forEach(function(ke){ke.removeAttribute("aria-expanded")}):je.triggerTarget&&e.removeAttribute("aria-expanded"),$(),N(),w&&w(Me,je),E.popperInstance&&(Ce(),me().forEach(function(ke){requestAnimationFrame(ke._tippy.popperInstance.forceUpdate)})),L("onAfterUpdate",[E,re])}}function q(re){E.setProps({content:re})}function oe(){Yc.NODE_ENV!=="production"&&kp(E.state.isDestroyed,gb("show"));var re=E.state.isVisible,Me=E.state.isDestroyed,je=!E.state.isEnabled,ke=pf.isTouch&&!E.props.touch,Ge=$6(E.props.duration,0,uc.duration);if(!(re||Me||je||ke)&&!M().hasAttribute("disabled")&&(L("onShow",[E],!1),E.props.onShow(E)!==!1)){if(E.state.isVisible=!0,I()&&(S.style.visibility="visible"),N(),te(),E.state.isMounted||(S.style.transition="none"),I()){var Ue=P(),qe=Ue.box,At=Ue.content;F6([qe,At],0)}f=function(){var at;if(!(!E.state.isVisible||c)){if(c=!0,S.offsetHeight,S.style.transition=E.props.moveTransition,I()&&E.props.animation){var pt=P(),Ct=pt.box,bt=pt.content;F6([Ct,bt],Ge),zde([Ct,bt],"visible")}V(),$(),Hde(j6,E),(at=E.popperInstance)==null||at.forceUpdate(),L("onMount",[E]),E.props.animation&&I()&&Q(Ge,function(){E.state.isShown=!0,L("onShown",[E])})}},Se()}}function ye(){Yc.NODE_ENV!=="production"&&kp(E.state.isDestroyed,gb("hide"));var re=!E.state.isVisible,Me=E.state.isDestroyed,je=!E.state.isEnabled,ke=$6(E.props.duration,1,uc.duration);if(!(re||Me||je)&&(L("onHide",[E],!1),E.props.onHide(E)!==!1)){if(E.state.isVisible=!1,E.state.isShown=!1,c=!1,a=!1,I()&&(S.style.visibility="hidden"),W(),ae(),N(!0),I()){var Ge=P(),Ue=Ge.box,qe=Ge.content;E.props.animation&&(F6([Ue,qe],ke),zde([Ue,qe],"hidden"))}V(),$(),E.props.animation?I()&&K(ke,E.unmount):E.unmount()}}function ce(re){Yc.NODE_ENV!=="production"&&kp(E.state.isDestroyed,gb("hideWithInteractivity")),B().addEventListener("mousemove",m),Hde(pI,m),m(re)}function Be(){Yc.NODE_ENV!=="production"&&kp(E.state.isDestroyed,gb("unmount")),E.state.isVisible&&E.hide(),E.state.isMounted&&(Te(),me().forEach(function(re){re._tippy.unmount()}),S.parentNode&&S.parentNode.removeChild(S),j6=j6.filter(function(re){return re!==E}),E.state.isMounted=!1,L("onHidden",[E]))}function Ve(){Yc.NODE_ENV!=="production"&&kp(E.state.isDestroyed,gb("destroy")),!E.state.isDestroyed&&(E.clearDelayTimeouts(),E.unmount(),le(),delete e._tippy,E.state.isDestroyed=!0,L("onDestroy",[E]))}}function So(e,t){t===void 0&&(t={});var n=uc.plugins.concat(t.plugins||[]);Yc.NODE_ENV!=="production"&&(Ton(e),n5e(t,n)),_on();var r=Object.assign({},t,{plugins:n}),i=mon(e);if(Yc.NODE_ENV!=="production"){var o=hx(r.content),a=i.length>1;kp(o&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",` +`,"See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}function me(){return Jk(S.querySelectorAll("[data-tippy-root]"))}function be(re){E.clearDelayTimeouts(),re&&L("onTrigger",[E,re]),te();var Me=k(!0),je=x(),ke=je[0],Ge=je[1];pf.isTouch&&ke==="hold"&&Ge&&(Me=Ge),Me?r=setTimeout(function(){E.show()},Me):E.show()}function _e(re){if(E.clearDelayTimeouts(),L("onUntrigger",[E,re]),!E.state.isVisible){ae();return}if(!(E.props.trigger.indexOf("mouseenter")>=0&&E.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(re.type)>=0&&a)){var Me=k(!1);Me?i=setTimeout(function(){E.state.isVisible&&E.hide()},Me):o=requestAnimationFrame(function(){E.hide()})}}function Re(){E.state.isEnabled=!0}function De(){E.hide(),E.state.isEnabled=!1}function z(){clearTimeout(r),clearTimeout(i),cancelAnimationFrame(o)}function D(re){if(Yc.NODE_ENV!=="production"&&kp(E.state.isDestroyed,gb("setProps")),!E.state.isDestroyed){L("onBeforeUpdate",[E,re]),le();var Me=E.props,je=qde(e,Object.assign({},Me,Ude(re),{ignoreAttributes:!0}));E.props=je,pe(),Me.interactiveDebounce!==je.interactiveDebounce&&(W(),m=jde(ve,je.interactiveDebounce)),Me.triggerTarget&&!je.triggerTarget?Nb(Me.triggerTarget).forEach(function(ke){ke.removeAttribute("aria-expanded")}):je.triggerTarget&&e.removeAttribute("aria-expanded"),$(),N(),w&&w(Me,je),E.popperInstance&&(Ce(),me().forEach(function(ke){requestAnimationFrame(ke._tippy.popperInstance.forceUpdate)})),L("onAfterUpdate",[E,re])}}function q(re){E.setProps({content:re})}function oe(){Yc.NODE_ENV!=="production"&&kp(E.state.isDestroyed,gb("show"));var re=E.state.isVisible,Me=E.state.isDestroyed,je=!E.state.isEnabled,ke=pf.isTouch&&!E.props.touch,Ge=$6(E.props.duration,0,uc.duration);if(!(re||Me||je||ke)&&!M().hasAttribute("disabled")&&(L("onShow",[E],!1),E.props.onShow(E)!==!1)){if(E.state.isVisible=!0,I()&&(S.style.visibility="visible"),N(),te(),E.state.isMounted||(S.style.transition="none"),I()){var Ue=P(),qe=Ue.box,At=Ue.content;F6([qe,At],0)}f=function(){var at;if(!(!E.state.isVisible||c)){if(c=!0,S.offsetHeight,S.style.transition=E.props.moveTransition,I()&&E.props.animation){var pt=P(),Ct=pt.box,bt=pt.content;F6([Ct,bt],Ge),zde([Ct,bt],"visible")}V(),$(),Hde(j6,E),(at=E.popperInstance)==null||at.forceUpdate(),L("onMount",[E]),E.props.animation&&I()&&Q(Ge,function(){E.state.isShown=!0,L("onShown",[E])})}},Se()}}function ye(){Yc.NODE_ENV!=="production"&&kp(E.state.isDestroyed,gb("hide"));var re=!E.state.isVisible,Me=E.state.isDestroyed,je=!E.state.isEnabled,ke=$6(E.props.duration,1,uc.duration);if(!(re||Me||je)&&(L("onHide",[E],!1),E.props.onHide(E)!==!1)){if(E.state.isVisible=!1,E.state.isShown=!1,c=!1,a=!1,I()&&(S.style.visibility="hidden"),W(),ae(),N(!0),I()){var Ge=P(),Ue=Ge.box,qe=Ge.content;E.props.animation&&(F6([Ue,qe],ke),zde([Ue,qe],"hidden"))}V(),$(),E.props.animation?I()&&K(ke,E.unmount):E.unmount()}}function ce(re){Yc.NODE_ENV!=="production"&&kp(E.state.isDestroyed,gb("hideWithInteractivity")),B().addEventListener("mousemove",m),Hde(pI,m),m(re)}function Be(){Yc.NODE_ENV!=="production"&&kp(E.state.isDestroyed,gb("unmount")),E.state.isVisible&&E.hide(),E.state.isMounted&&(Te(),me().forEach(function(re){re._tippy.unmount()}),S.parentNode&&S.parentNode.removeChild(S),j6=j6.filter(function(re){return re!==E}),E.state.isMounted=!1,L("onHidden",[E]))}function Ve(){Yc.NODE_ENV!=="production"&&kp(E.state.isDestroyed,gb("destroy")),!E.state.isDestroyed&&(E.clearDelayTimeouts(),E.unmount(),le(),delete e._tippy,E.state.isDestroyed=!0,L("onDestroy",[E]))}}function So(e,t){t===void 0&&(t={});var n=uc.plugins.concat(t.plugins||[]);Yc.NODE_ENV!=="production"&&(Ton(e),nPe(t,n)),_on();var r=Object.assign({},t,{plugins:n}),i=mon(e);if(Yc.NODE_ENV!=="production"){var o=hx(r.content),a=i.length>1;kp(o&&a,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.",` `,"Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.",` `,`1) content: element.innerHTML -`,"2) content: () => element.cloneNode(true)"].join(" "))}var s=i.reduce(function(l,c){var u=c&&Mon(c,r);return u&&l.push(u),l},[]);return hx(e)?s[0]:s}So.defaultProps=uc;So.setDefaultProps=Ron;So.currentInput=pf;Object.assign({},B4e,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});So.setDefaultProps({render:r5e});class oE extends ei{constructor(){super(...arguments),Qt(this,"tippyInstance"),Qt(this,"tippyEl"),Qt(this,"textEl"),Qt(this,"menuData",[]),Qt(this,"menuTextWidth","fit-content"),Qt(this,"defaultMenuIndex",0),Qt(this,"refreshMenuText",!0),Qt(this,"width","fit-content"),Qt(this,"dropDivWith","fit-content"),Qt(this,"dropDivHeight","fit-content"),Qt(this,"showItemsTip",!1)}renderTemplate(){this.template=` +`,"2) content: () => element.cloneNode(true)"].join(" "))}var s=i.reduce(function(l,c){var u=c&&Mon(c,r);return u&&l.push(u),l},[]);return hx(e)?s[0]:s}So.defaultProps=uc;So.setDefaultProps=Ron;So.currentInput=pf;Object.assign({},B4e,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}});So.setDefaultProps({render:rPe});class oE extends ei{constructor(){super(...arguments),Qt(this,"tippyInstance"),Qt(this,"tippyEl"),Qt(this,"textEl"),Qt(this,"menuData",[]),Qt(this,"menuTextWidth","fit-content"),Qt(this,"defaultMenuIndex",0),Qt(this,"refreshMenuText",!0),Qt(this,"width","fit-content"),Qt(this,"dropDivWith","fit-content"),Qt(this,"dropDivHeight","fit-content"),Qt(this,"showItemsTip",!1)}renderTemplate(){this.template=`
@@ -976,7 +976,7 @@ img.ProseMirror-separator {
${this.onDropdownItemRender(n)}
- `,r.addEventListener("click",i=>{const o=this.menuData[n];o.onClick?o.onClick(i,this.editor.aiEditor)&&this.tippyInstance.hide():(this.onDropdownItemClick(n),this.tippyInstance.hide())}),this.showItemsTip){const i=this.menuData[n];So(r,{appendTo:()=>this.closest(".aie-container"),content:i.tip||i.title,theme:"aietip",arrow:!0,placement:"right"})}t.appendChild(r)}return this.tippyEl=t,t}onTransaction(t){var n,r;const i=(n=this.tippyEl)==null?void 0:n.querySelector(".red-dot");i&&i.classList.remove("red-dot");let o=this.defaultMenuIndex;for(let a=0;atypeof e=="string",tC=()=>{let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n},Qde=e=>e==null?"":""+e,kon=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},Pon=/###/g,Xde=e=>e&&e.indexOf("###")>-1?e.replace(Pon,"."):e,Zde=e=>!e||Er(e),Iw=(e,t,n)=>{const r=Er(t)?t.split("."):t;let i=0;for(;i{const{obj:r,k:i}=Iw(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let o=t[t.length-1],a=t.slice(0,t.length-1),s=Iw(e,a,Object);for(;s.obj===void 0&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=Iw(e,a,Object),s&&s.obj&&typeof s.obj[`${s.k}.${o}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},Don=(e,t,n,r)=>{const{obj:i,k:o}=Iw(e,t,Object);i[o]=i[o]||[],i[o].push(n)},e4=(e,t)=>{const{obj:n,k:r}=Iw(e,t);if(n)return n[r]},Lon=(e,t,n)=>{const r=e4(e,n);return r!==void 0?r:e4(t,n)},i5e=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?Er(e[r])||e[r]instanceof String||Er(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):i5e(e[r],t[r],n):e[r]=t[r]);return e},vb=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var $on={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Fon=e=>Er(e)?e.replace(/[&<>"'\/]/g,t=>$on[t]):e;class Bon{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const jon=[" ",",","?","!",";"],Hon=new Bon(20),Uon=(e,t,n)=>{t=t||"",n=n||"";const r=jon.filter(a=>t.indexOf(a)<0&&n.indexOf(a)<0);if(r.length===0)return!0;const i=Hon.getRegExp(`(${r.map(a=>a==="?"?"\\?":a).join("|")})`);let o=!i.test(e);if(!o){const a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o},wV=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let o=0;o-1&&le&&e.replace("_","-"),zon={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class n4{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||zon,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r{this.observers[r]||(this.observers[r]=new Map);const i=this.observers[r].get(n)||0;this.observers[r].set(n,i+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i{let[a,s]=o;for(let l=0;l{let[a,s]=o;for(let l=0;l1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,a=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;t.indexOf(".")>-1?s=t.split("."):(s=[t,n],r&&(Array.isArray(r)?s.push(...r):Er(r)&&o?s.push(...r.split(o)):s.push(r)));const l=e4(this.data,s);return!l&&!n&&!r&&t.indexOf(".")>-1&&(t=s[0],n=s[1],r=s.slice(2).join(".")),l||!a||!Er(r)?l:wV(this.data&&this.data[t]&&this.data[t][n],r,o)}addResource(t,n,r,i){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let s=[t,n];r&&(s=s.concat(a?r.split(a):r)),t.indexOf(".")>-1&&(s=t.split("."),i=n,n=s[1]),this.addNamespaces(n),Jde(this.data,s,i),o.silent||this.emit("added",t,n,r,i)}addResources(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(Er(r[o])||Array.isArray(r[o]))&&this.addResource(t,n,o,r[o],{silent:!0});i.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[t,n];t.indexOf(".")>-1&&(s=t.split("."),i=r,r=n,n=s[1]),this.addNamespaces(n);let l=e4(this.data,s)||{};a.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?i5e(l,r,o):l={...l,...r},Jde(this.data,s,l),a.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(r=>n[r]&&Object.keys(n[r]).length>0)}toJSON(){return this.data}}var o5e={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,n,r,i))}),t}};const tfe={};class r4 extends E9{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),kon(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=xf.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const a=r&&t.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Uon(t,r,i);if(a&&!s){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:Er(o)?[o]:o};const c=t.split(r);(r!==i||r===i&&this.options.ns.indexOf(c[0])>-1)&&(o=c.shift()),t=c.join(i)}return{key:t,namespaces:Er(o)?[o]:o}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(t[t.length-1],n),l=s[s.length-1],c=n.lng||this.language,u=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&c.toLowerCase()==="cimode"){if(u){const E=n.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${E}${a}`,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${E}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:a}const d=this.resolve(t,n);let f=d&&d.res;const h=d&&d.usedKey||a,m=d&&d.exactUsedKey||a,g=Object.prototype.toString.apply(f),v=["[object Number]","[object Function]","[object RegExp]"],y=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,b=!this.i18nFormat||this.i18nFormat.handleAsObject,_=!Er(f)&&typeof f!="boolean"&&typeof f!="number";if(b&&f&&_&&v.indexOf(g)<0&&!(Er(y)&&Array.isArray(f))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const E=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,f,{...n,ns:s}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(d.res=E,d.usedParams=this.getUsedParamsDetails(n),d):E}if(o){const E=Array.isArray(f),C=E?[]:{},S=E?m:h;for(const w in f)if(Object.prototype.hasOwnProperty.call(f,w)){const T=`${S}${o}${w}`;C[w]=this.translate(T,{...n,joinArrays:!1,ns:s}),C[w]===T&&(C[w]=f[w])}f=C}}else if(b&&Er(y)&&Array.isArray(f))f=f.join(y),f&&(f=this.extendTranslation(f,t,n,r));else{let E=!1,C=!1;const S=n.count!==void 0&&!Er(n.count),w=r4.hasDefaultValue(n),T=S?this.pluralResolver.getSuffix(c,n.count,n):"",O=n.ordinal&&S?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",x=S&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),A=x&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${T}`]||n[`defaultValue${O}`]||n.defaultValue;!this.isValidLookup(f)&&w&&(E=!0,f=A),this.isValidLookup(f)||(C=!0,f=a);const I=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:f,M=w&&A!==f&&this.options.updateMissing;if(C||E||M){if(this.logger.log(M?"updateKey":"missingKey",c,l,a,M?A:f),o){const N=this.resolve(a,{...n,keySeparator:!1});N&&N.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let B=[];const P=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&P&&P[0])for(let N=0;N{const $=w&&V!==f?V:I;this.options.missingKeyHandler?this.options.missingKeyHandler(N,l,L,$,M,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(N,l,L,$,M,n),this.emit("missingKey",N,l,L,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&S?B.forEach(N=>{const L=this.pluralResolver.getSuffixes(N,n);x&&n[`defaultValue${this.options.pluralSeparator}zero`]&&L.indexOf(`${this.options.pluralSeparator}zero`)<0&&L.push(`${this.options.pluralSeparator}zero`),L.forEach(V=>{k([N],a+V,n[`defaultValue${V}`]||A)})}):k(B,a,A))}f=this.extendTranslation(f,t,n,d,r),C&&f===a&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${a}`),(C||E)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,E?f:void 0):f=this.options.parseMissingKeyHandler(f))}return i?(d.res=f,d.usedParams=this.getUsedParamsDetails(n),d):f}extendTranslation(t,n,r,i,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const c=Er(t)&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(c){const f=t.match(this.interpolator.nestingRegexp);u=f&&f.length}let d=r.replace&&!Er(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),t=this.interpolator.interpolate(t,d,r.lng||this.language||i.usedLng,r),c){const f=t.match(this.interpolator.nestingRegexp),h=f&&f.length;u1&&arguments[1]!==void 0?arguments[1]:{},r,i,o,a,s;return Er(t)&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(r))return;const c=this.extractFromKey(l,n),u=c.key;i=u;let d=c.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));const f=n.count!==void 0&&!Er(n.count),h=f&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),m=n.context!==void 0&&(Er(n.context)||typeof n.context=="number")&&n.context!=="",g=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);d.forEach(v=>{this.isValidLookup(r)||(s=v,!tfe[`${g[0]}-${v}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(tfe[`${g[0]}-${v}`]=!0,this.logger.warn(`key "${i}" for languages "${g.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach(y=>{if(this.isValidLookup(r))return;a=y;const b=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(b,u,y,v,n);else{let E;f&&(E=this.pluralResolver.getSuffix(y,n.count,n));const C=`${this.options.pluralSeparator}zero`,S=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(b.push(u+E),n.ordinal&&E.indexOf(S)===0&&b.push(u+E.replace(S,this.options.pluralSeparator)),h&&b.push(u+C)),m){const w=`${u}${this.options.contextSeparator}${n.context}`;b.push(w),f&&(b.push(w+E),n.ordinal&&E.indexOf(S)===0&&b.push(w+E.replace(S,this.options.pluralSeparator)),h&&b.push(w+C))}}let _;for(;_=b.pop();)this.isValidLookup(r)||(o=_,r=this.getResource(y,v,_,n))}))})}),{res:r,usedKey:i,exactUsedKey:o,usedLng:a,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,i):this.resourceStore.getResource(t,n,r,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!Er(t.replace);let i=r?t.replace:t;if(r&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const o of n)delete i[o]}return i}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const H6=e=>e.charAt(0).toUpperCase()+e.slice(1);class nfe{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=xf.create("languageUtils")}getScriptPartFromCode(t){if(t=t4(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=t4(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(Er(t)&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let i=Intl.getCanonicalLocales(t)[0];if(i&&this.options.lowerCaseLng&&(i=i.toLowerCase()),i)return i}catch{}const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(i=>i.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=H6(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=H6(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=H6(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const i=this.getLanguagePartFromCode(r);if(this.isSupportedCode(i))return n=i;n=this.options.supportedLngs.find(o=>{if(o===i||!(o.indexOf("-")<0&&i.indexOf("-")<0)&&(o.indexOf("-")>0&&i.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===i||o.indexOf(i)===0&&i.length>1))return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),Er(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),i=[],o=a=>{a&&(this.isSupportedCode(a)?i.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return Er(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):Er(t)&&o(this.formatLanguageCode(t)),r.forEach(a=>{i.indexOf(a)<0&&o(this.formatLanguageCode(a))}),i}}let Von=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Gon={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const Won=["v1","v2","v3"],qon=["v4"],rfe={zero:0,one:1,two:2,few:3,many:4,other:5},Yon=()=>{const e={};return Von.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Gon[t.fc]}})}),e};class Kon{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=xf.create("pluralResolver"),(!this.options.compatibilityJSON||qon.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Yon(),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi()){const r=t4(t==="dev"?"en":t),i=n.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let a;try{a=new Intl.PluralRules(r,{type:i})}catch{if(!t.match(/-|_/))return;const s=this.languageUtils.getLanguagePartFromCode(t);a=this.getRule(s,n)}return this.pluralRulesCache[o]=a,a}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(i=>`${n}${i}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((i,o)=>rfe[i]-rfe[o]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):r.numbers.map(i=>this.getSuffix(t,i,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,r);return i?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:this.getSuffixRetroCompatible(i,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let i=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const o=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!Won.includes(this.options.compatibilityJSON)}}const ife=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=Lon(e,t,n);return!o&&i&&Er(n)&&(o=wV(e,n,r),o===void 0&&(o=wV(t,n,r))),o},U6=e=>e.replace(/\$/g,"$$$$");class Qon{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=xf.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:i,prefix:o,prefixEscaped:a,suffix:s,suffixEscaped:l,formatSeparator:c,unescapeSuffix:u,unescapePrefix:d,nestingPrefix:f,nestingPrefixEscaped:h,nestingSuffix:m,nestingSuffixEscaped:g,nestingOptionsSeparator:v,maxReplaces:y,alwaysFormat:b}=t.interpolation;this.escape=n!==void 0?n:Fon,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=o?vb(o):a||"{{",this.suffix=s?vb(s):l||"}}",this.formatSeparator=c||",",this.unescapePrefix=u?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=f?vb(f):h||vb("$t("),this.nestingSuffix=m?vb(m):g||vb(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=y||1e3,this.alwaysFormat=b!==void 0?b:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,i){let o,a,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=f=>{if(f.indexOf(this.formatSeparator)<0){const v=ife(n,l,f,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(v,void 0,r,{...i,...n,interpolationkey:f}):v}const h=f.split(this.formatSeparator),m=h.shift().trim(),g=h.join(this.formatSeparator).trim();return this.format(ife(n,l,m,this.options.keySeparator,this.options.ignoreJSONStructure),g,r,{...i,...n,interpolationkey:m})};this.resetRegExp();const u=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,d=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:f=>U6(f)},{regex:this.regexp,safeValue:f=>this.escapeValue?U6(this.escape(f)):U6(f)}].forEach(f=>{for(s=0;o=f.regex.exec(t);){const h=o[1].trim();if(a=c(h),a===void 0)if(typeof u=="function"){const g=u(t,o,i);a=Er(g)?g:""}else if(i&&Object.prototype.hasOwnProperty.call(i,h))a="";else if(d){a=o[0];continue}else this.logger.warn(`missed to pass in variable ${h} for interpolating ${t}`),a="";else!Er(a)&&!this.useRawValueToEscape&&(a=Qde(a));const m=f.safeValue(a);if(t=t.replace(o[0],m),d?(f.regex.lastIndex+=a.length,f.regex.lastIndex-=o[0].length):f.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,a;const s=(l,c)=>{const u=this.nestingOptionsSeparator;if(l.indexOf(u)<0)return l;const d=l.split(new RegExp(`${u}[ ]*{`));let f=`{${d[1]}`;l=d[0],f=this.interpolate(f,a);const h=f.match(/'/g),m=f.match(/"/g);(h&&h.length%2===0&&!m||m.length%2!==0)&&(f=f.replace(/'/g,'"'));try{a=JSON.parse(f),c&&(a={...c,...a})}catch(g){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,g),`${l}${u}${f}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,l};for(;i=this.nestingRegexp.exec(t);){let l=[];a={...r},a=a.replace&&!Er(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const u=i[1].split(this.formatSeparator).map(d=>d.trim());i[1]=u.shift(),l=u,c=!0}if(o=n(s.call(this,i[1].trim(),a),a),o&&i[0]===t&&!Er(o))return o;Er(o)||(o=Qde(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),o=""),c&&(o=l.reduce((u,d)=>this.format(u,d,r.lng,{...r,interpolationkey:i[1].trim()}),o.trim())),t=t.replace(i[0],o),this.regexp.lastIndex=0}return t}}const Xon=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);t==="currency"&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(o=>{if(o){const[a,...s]=o.split(":"),l=s.join(":").trim().replace(/^'+|'+$/g,""),c=a.trim();n[c]||(n[c]=l),l==="false"&&(n[c]=!1),l==="true"&&(n[c]=!0),isNaN(l)||(n[c]=parseInt(l,10))}})}return{formatName:t,formatOptions:n}},bb=e=>{const t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=r+JSON.stringify(o);let s=t[a];return s||(s=e(t4(r),i),t[a]=s),s(n)}};class Zon{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=xf.create("formatter"),this.options=t,this.formats={number:bb((n,r)=>{const i=new Intl.NumberFormat(n,{...r});return o=>i.format(o)}),currency:bb((n,r)=>{const i=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>i.format(o)}),datetime:bb((n,r)=>{const i=new Intl.DateTimeFormat(n,{...r});return o=>i.format(o)}),relativetime:bb((n,r)=>{const i=new Intl.RelativeTimeFormat(n,{...r});return o=>i.format(o,r.range||"day")}),list:bb((n,r)=>{const i=new Intl.ListFormat(n,{...r});return o=>i.format(o)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=bb(n)}format(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=n.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(a=>a.indexOf(")")>-1)){const a=o.findIndex(s=>s.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,a)].join(this.formatSeparator)}return o.reduce((a,s)=>{const{formatName:l,formatOptions:c}=Xon(s);if(this.formats[l]){let u=a;try{const d=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},f=d.locale||d.lng||i.locale||i.lng||r;u=this.formats[l](a,f,{...c,...i,...d})}catch(d){this.logger.warn(d)}return u}else this.logger.warn(`there was no format function for ${l}`);return a},t)}}const Jon=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class ean extends E9{constructor(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=xf.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,i.backend,i)}queueLoad(t,n,r,i){const o={},a={},s={},l={};return t.forEach(c=>{let u=!0;n.forEach(d=>{const f=`${c}|${d}`;!r.reload&&this.store.hasResourceBundle(c,d)?this.state[f]=2:this.state[f]<0||(this.state[f]===1?a[f]===void 0&&(a[f]=!0):(this.state[f]=1,u=!1,a[f]===void 0&&(a[f]=!0),o[f]===void 0&&(o[f]=!0),l[d]===void 0&&(l[d]=!0)))}),u||(s[c]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(t,n,r){const i=t.split("|"),o=i[0],a=i[1];n&&this.emit("failedLoading",o,a,n),!n&&r&&this.store.addResourceBundle(o,a,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const s={};this.queue.forEach(l=>{Don(l.loaded,[o],a),Jon(l,t),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(c=>{s[c]||(s[c]={});const u=l.loaded[c];u.length&&u.forEach(d=>{s[c][d]===void 0&&(s[c][d]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(l=>!l.done)}read(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:i,wait:o,callback:a});return}this.readingCalls++;const s=(c,u)=>{if(this.readingCalls--,this.waitingReads.length>0){const d=this.waitingReads.shift();this.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(c&&u&&i{this.read.call(this,t,n,r,i+1,o*2,a)},o);return}a(c,u)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const c=l(t,n);c&&typeof c.then=="function"?c.then(u=>s(null,u)).catch(s):s(null,c)}catch(c){s(c)}return}return l(t,n,s)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();Er(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Er(n)&&(n=[n]);const o=this.queueLoad(t,n,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(a=>{this.loadOne(a)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(a,s)=>{a&&this.logger.warn(`${n}loading namespace ${o} for language ${i} failed`,a),!a&&s&&this.logger.log(`${n}loaded namespace ${o} for language ${i}`,s),this.loaded(t,a,s)})}saveMissing(t,n,r,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const l={...a,isUpdate:o},c=this.backend.create.bind(this.backend);if(c.length<6)try{let u;c.length===5?u=c(t,n,r,i,l):u=c(t,n,r,i),u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}else c(t,n,r,i,s,l)}!t||!t[0]||this.store.addResource(t[0],n,r,i)}}}const ofe=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Er(e[1])&&(t.defaultValue=e[1]),Er(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),afe=e=>(Er(e.ns)&&(e.ns=[e.ns]),Er(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Er(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),hI=()=>{},tan=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]=="function"&&(e[t]=e[t].bind(e))})};class gx extends E9{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=afe(t),this.services={},this.logger=xf,this.modules={external:[]},tan(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(Er(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const i=ofe();this.options={...i,...this.options,...afe(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const o=l=>l?typeof l=="function"?new l:l:null;if(!this.options.isClone){this.modules.logger?xf.init(o(this.modules.logger),this.options):xf.init(null,this.options);let l;this.modules.formatter?l=this.modules.formatter:typeof Intl<"u"&&(l=Zon);const c=new nfe(this.options);this.store=new efe(this.options.resources,this.options);const u=this.services;u.logger=xf,u.resourceStore=this.store,u.languageUtils=c,u.pluralResolver=new Kon(c,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),l&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(u.formatter=o(l),u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new Qon(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new ean(o(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",function(d){for(var f=arguments.length,h=new Array(f>1?f-1:0),m=1;m1?f-1:0),m=1;m{d.init&&d.init(this)})}if(this.format=this.options.interpolation.format,r||(r=hI),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&l[0]!=="dev"&&(this.options.lng=l[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(l=>{this[l]=function(){return t.store[l](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(l=>{this[l]=function(){return t.store[l](...arguments),t}});const a=tC(),s=()=>{const l=(c,u)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(u),r(c,u)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return l(null,this.t.bind(this));this.changeLanguage(this.options.lng,l)};return this.options.resources||!this.options.initImmediate?s():setTimeout(s,0),a}loadResources(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hI;const r=Er(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(r&&r.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const i=[],o=a=>{!a||a==="cimode"||this.services.languageUtils.toResolveHierarchy(a).forEach(s=>{s!=="cimode"&&i.indexOf(s)<0&&i.push(s)})};r?o(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(a=>o(a)),this.options.preload&&this.options.preload.forEach(a=>o(a)),this.services.backendConnector.load(i,this.options.ns,a=>{!a&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(a)})}else n(null)}reloadResources(t,n,r){const i=tC();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=hI),this.services.backendConnector.reload(t,n,o=>{i.resolve(),r(o)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&o5e.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const i=tC();this.emit("languageChanging",t);const o=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},a=(l,c)=>{c?(o(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),n&&n(l,function(){return r.t(...arguments)})},s=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const c=Er(l)?l:this.services.languageUtils.getBestMatchFromCodes(l);c&&(this.language||o(c),this.translator.language||this.translator.changeLanguage(c),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(c)),this.loadResources(c,u=>{a(u,c)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),i}getFixedT(t,n,r){var i=this;const o=function(a,s){let l;if(typeof s!="object"){for(var c=arguments.length,u=new Array(c>2?c-2:0),d=2;d`${l.keyPrefix}${f}${m}`):h=l.keyPrefix?`${l.keyPrefix}${f}${a}`:a,i.t(h,l)};return Er(t)?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const a=(s,l)=>{const c=this.services.backendConnector.state[`${s}|${l}`];return c===-1||c===0||c===2};if(n.precheck){const s=n.precheck(this,a);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,t)&&(!i||a(o,t)))}loadNamespaces(t,n){const r=tC();return this.options.ns?(Er(t)&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=tC();Er(t)&&(t=[t]);const i=this.options.preload||[],o=t.filter(a=>i.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return o.length?(this.options.preload=i.concat(o),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new nfe(ofe());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new gx(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hI;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},o=new gx(i);return(t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(a=>{o[a]=this[a]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new efe(this.store.data,i),o.services.resourceStore=o.store),o.translator=new r4(o.services,i),o.translator.on("*",function(a){for(var s=arguments.length,l=new Array(s>1?s-1:0),c=1;ccr(e)),this.dropDivHeight="265px",this.dropDivWith="fit-content"}onDropdownActive(e,t){return t==0?e.isActive("paragraph"):e.isActive("heading",{level:t})}onDropdownItemClick(e){e==0?this.editor.chain().setParagraph().focus().run():this.editor.chain().setHeading({level:e}).focus().run()}onDropdownItemRender(e){return e==0?this.menuData[e]:`${this.menuData[e]}`}onMenuTextRender(e){return this.menuData[e].replace(" ","")}};const ian=[{name:"宋体",value:"SimSun"},{name:"仿宋",value:"FangSong"},{name:"黑体",value:"SimHei"},{name:"楷体",value:"KaiTi"},{name:"微软雅黑",value:"Microsoft YaHei"},{name:"方正仿宋简体_GBK",value:"FangSong_GB2312"},{name:"Arial",value:"Arial"}];let oan=class extends oE{constructor(){super(),this.width="72px",this.menuTextWidth="60px",this.dropDivWith="150px"}onCreate(e,t){var n;super.onCreate(e,t),this.menuData=((n=t.fontFamily)==null?void 0:n.values)||ian,this.menuData=[{name:cr("default-font-family"),value:""}].concat(this.menuData)}onDropdownActive(e,t){return e.isActive("textStyle",{fontFamily:this.menuData[t].value})}onDropdownItemClick(e){const t=this.menuData[e].value;t?this.editor.chain().setFontFamily(t).run():this.editor.chain().unsetFontFamily().run()}onDropdownItemRender(e){return this.menuData[e].name}onMenuTextRender(e){return this.menuData[e].name}};const aan=[{name:"9",value:9},{name:"10",value:10},{name:"11",value:11},{name:"12",value:12},{name:"14",value:14},{name:"18",value:18},{name:"20",value:20},{name:"22",value:22},{name:"24",value:24},{name:"26",value:26},{name:"28",value:28},{name:"30",value:30},{name:"36",value:36},{name:"42",value:42},{name:"48",value:48},{name:"56",value:56},{name:"72",value:72}];class san extends oE{constructor(){super(),Qt(this,"defaultValue",14)}onCreate(t,n){var r,i;super.onCreate(t,n),this.menuData=((r=n.fontSize)==null?void 0:r.values)||aan,this.defaultValue=((i=n.fontSize)==null?void 0:i.defaultValue)||this.defaultValue;for(let o=0;o{const o=this.menuData[n];o.onClick?o.onClick(i,this.editor.aiEditor)&&this.tippyInstance.hide():(this.onDropdownItemClick(n),this.tippyInstance.hide())}),this.showItemsTip){const i=this.menuData[n];So(r,{appendTo:()=>this.closest(".aie-container"),content:i.tip||i.title,theme:"aietip",arrow:!0,placement:"right"})}t.appendChild(r)}return this.tippyEl=t,t}onTransaction(t){var n,r;const i=(n=this.tippyEl)==null?void 0:n.querySelector(".red-dot");i&&i.classList.remove("red-dot");let o=this.defaultMenuIndex;for(let a=0;atypeof e=="string",tC=()=>{let e,t;const n=new Promise((r,i)=>{e=r,t=i});return n.resolve=e,n.reject=t,n},Qde=e=>e==null?"":""+e,kon=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},Pon=/###/g,Xde=e=>e&&e.indexOf("###")>-1?e.replace(Pon,"."):e,Zde=e=>!e||Er(e),Iw=(e,t,n)=>{const r=Er(t)?t.split("."):t;let i=0;for(;i{const{obj:r,k:i}=Iw(e,t,Object);if(r!==void 0||t.length===1){r[i]=n;return}let o=t[t.length-1],a=t.slice(0,t.length-1),s=Iw(e,a,Object);for(;s.obj===void 0&&a.length;)o=`${a[a.length-1]}.${o}`,a=a.slice(0,a.length-1),s=Iw(e,a,Object),s&&s.obj&&typeof s.obj[`${s.k}.${o}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=n},Don=(e,t,n,r)=>{const{obj:i,k:o}=Iw(e,t,Object);i[o]=i[o]||[],i[o].push(n)},e4=(e,t)=>{const{obj:n,k:r}=Iw(e,t);if(n)return n[r]},Lon=(e,t,n)=>{const r=e4(e,n);return r!==void 0?r:e4(t,n)},iPe=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?Er(e[r])||e[r]instanceof String||Er(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):iPe(e[r],t[r],n):e[r]=t[r]);return e},vb=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var $on={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Fon=e=>Er(e)?e.replace(/[&<>"'\/]/g,t=>$on[t]):e;class Bon{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const jon=[" ",",","?","!",";"],Hon=new Bon(20),Uon=(e,t,n)=>{t=t||"",n=n||"";const r=jon.filter(a=>t.indexOf(a)<0&&n.indexOf(a)<0);if(r.length===0)return!0;const i=Hon.getRegExp(`(${r.map(a=>a==="?"?"\\?":a).join("|")})`);let o=!i.test(e);if(!o){const a=e.indexOf(n);a>0&&!i.test(e.substring(0,a))&&(o=!0)}return o},wV=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let i=e;for(let o=0;o-1&&le&&e.replace("_","-"),zon={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class n4{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||zon,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r{this.observers[r]||(this.observers[r]=new Map);const i=this.observers[r].get(n)||0;this.observers[r].set(n,i+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i{let[a,s]=o;for(let l=0;l{let[a,s]=o;for(let l=0;l1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,a=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;t.indexOf(".")>-1?s=t.split("."):(s=[t,n],r&&(Array.isArray(r)?s.push(...r):Er(r)&&o?s.push(...r.split(o)):s.push(r)));const l=e4(this.data,s);return!l&&!n&&!r&&t.indexOf(".")>-1&&(t=s[0],n=s[1],r=s.slice(2).join(".")),l||!a||!Er(r)?l:wV(this.data&&this.data[t]&&this.data[t][n],r,o)}addResource(t,n,r,i){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let s=[t,n];r&&(s=s.concat(a?r.split(a):r)),t.indexOf(".")>-1&&(s=t.split("."),i=n,n=s[1]),this.addNamespaces(n),Jde(this.data,s,i),o.silent||this.emit("added",t,n,r,i)}addResources(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in r)(Er(r[o])||Array.isArray(r[o]))&&this.addResource(t,n,o,r[o],{silent:!0});i.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},s=[t,n];t.indexOf(".")>-1&&(s=t.split("."),i=r,r=n,n=s[1]),this.addNamespaces(n);let l=e4(this.data,s)||{};a.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?iPe(l,r,o):l={...l,...r},Jde(this.data,s,l),a.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(r=>n[r]&&Object.keys(n[r]).length>0)}toJSON(){return this.data}}var oPe={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,i){return e.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,n,r,i))}),t}};const tfe={};class r4 extends E9{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),kon(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=xf.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=n.ns||this.options.defaultNS||[];const a=r&&t.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!Uon(t,r,i);if(a&&!s){const l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:Er(o)?[o]:o};const c=t.split(r);(r!==i||r===i&&this.options.ns.indexOf(c[0])>-1)&&(o=c.shift()),t=c.join(i)}return{key:t,namespaces:Er(o)?[o]:o}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(t[t.length-1],n),l=s[s.length-1],c=n.lng||this.language,u=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&c.toLowerCase()==="cimode"){if(u){const E=n.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${E}${a}`,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${E}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:a}const d=this.resolve(t,n);let f=d&&d.res;const h=d&&d.usedKey||a,m=d&&d.exactUsedKey||a,g=Object.prototype.toString.apply(f),v=["[object Number]","[object Function]","[object RegExp]"],y=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,b=!this.i18nFormat||this.i18nFormat.handleAsObject,_=!Er(f)&&typeof f!="boolean"&&typeof f!="number";if(b&&f&&_&&v.indexOf(g)<0&&!(Er(y)&&Array.isArray(f))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const E=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,f,{...n,ns:s}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(d.res=E,d.usedParams=this.getUsedParamsDetails(n),d):E}if(o){const E=Array.isArray(f),C=E?[]:{},S=E?m:h;for(const w in f)if(Object.prototype.hasOwnProperty.call(f,w)){const T=`${S}${o}${w}`;C[w]=this.translate(T,{...n,joinArrays:!1,ns:s}),C[w]===T&&(C[w]=f[w])}f=C}}else if(b&&Er(y)&&Array.isArray(f))f=f.join(y),f&&(f=this.extendTranslation(f,t,n,r));else{let E=!1,C=!1;const S=n.count!==void 0&&!Er(n.count),w=r4.hasDefaultValue(n),T=S?this.pluralResolver.getSuffix(c,n.count,n):"",O=n.ordinal&&S?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",x=S&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),A=x&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${T}`]||n[`defaultValue${O}`]||n.defaultValue;!this.isValidLookup(f)&&w&&(E=!0,f=A),this.isValidLookup(f)||(C=!0,f=a);const I=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:f,M=w&&A!==f&&this.options.updateMissing;if(C||E||M){if(this.logger.log(M?"updateKey":"missingKey",c,l,a,M?A:f),o){const N=this.resolve(a,{...n,keySeparator:!1});N&&N.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let B=[];const P=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&P&&P[0])for(let N=0;N{const $=w&&V!==f?V:I;this.options.missingKeyHandler?this.options.missingKeyHandler(N,l,L,$,M,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(N,l,L,$,M,n),this.emit("missingKey",N,l,L,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&S?B.forEach(N=>{const L=this.pluralResolver.getSuffixes(N,n);x&&n[`defaultValue${this.options.pluralSeparator}zero`]&&L.indexOf(`${this.options.pluralSeparator}zero`)<0&&L.push(`${this.options.pluralSeparator}zero`),L.forEach(V=>{k([N],a+V,n[`defaultValue${V}`]||A)})}):k(B,a,A))}f=this.extendTranslation(f,t,n,d,r),C&&f===a&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${a}`),(C||E)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,E?f:void 0):f=this.options.parseMissingKeyHandler(f))}return i?(d.res=f,d.usedParams=this.getUsedParamsDetails(n),d):f}extendTranslation(t,n,r,i,o){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const c=Er(t)&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(c){const f=t.match(this.interpolator.nestingRegexp);u=f&&f.length}let d=r.replace&&!Er(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),t=this.interpolator.interpolate(t,d,r.lng||this.language||i.usedLng,r),c){const f=t.match(this.interpolator.nestingRegexp),h=f&&f.length;u1&&arguments[1]!==void 0?arguments[1]:{},r,i,o,a,s;return Er(t)&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(r))return;const c=this.extractFromKey(l,n),u=c.key;i=u;let d=c.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));const f=n.count!==void 0&&!Er(n.count),h=f&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),m=n.context!==void 0&&(Er(n.context)||typeof n.context=="number")&&n.context!=="",g=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);d.forEach(v=>{this.isValidLookup(r)||(s=v,!tfe[`${g[0]}-${v}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(s)&&(tfe[`${g[0]}-${v}`]=!0,this.logger.warn(`key "${i}" for languages "${g.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach(y=>{if(this.isValidLookup(r))return;a=y;const b=[u];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(b,u,y,v,n);else{let E;f&&(E=this.pluralResolver.getSuffix(y,n.count,n));const C=`${this.options.pluralSeparator}zero`,S=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(b.push(u+E),n.ordinal&&E.indexOf(S)===0&&b.push(u+E.replace(S,this.options.pluralSeparator)),h&&b.push(u+C)),m){const w=`${u}${this.options.contextSeparator}${n.context}`;b.push(w),f&&(b.push(w+E),n.ordinal&&E.indexOf(S)===0&&b.push(w+E.replace(S,this.options.pluralSeparator)),h&&b.push(w+C))}}let _;for(;_=b.pop();)this.isValidLookup(r)||(o=_,r=this.getResource(y,v,_,n))}))})}),{res:r,usedKey:i,exactUsedKey:o,usedLng:a,usedNS:s}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,i):this.resourceStore.getResource(t,n,r,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!Er(t.replace);let i=r?t.replace:t;if(r&&typeof t.count<"u"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r){i={...i};for(const o of n)delete i[o]}return i}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}const H6=e=>e.charAt(0).toUpperCase()+e.slice(1);class nfe{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=xf.create("languageUtils")}getScriptPartFromCode(t){if(t=t4(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=t4(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(Er(t)&&t.indexOf("-")>-1){if(typeof Intl<"u"&&typeof Intl.getCanonicalLocales<"u")try{let i=Intl.getCanonicalLocales(t)[0];if(i&&this.options.lowerCaseLng&&(i=i.toLowerCase()),i)return i}catch{}const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(i=>i.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=H6(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=H6(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=H6(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(n=i)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const i=this.getLanguagePartFromCode(r);if(this.isSupportedCode(i))return n=i;n=this.options.supportedLngs.find(o=>{if(o===i||!(o.indexOf("-")<0&&i.indexOf("-")<0)&&(o.indexOf("-")>0&&i.indexOf("-")<0&&o.substring(0,o.indexOf("-"))===i||o.indexOf(i)===0&&i.length>1))return o})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),Er(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),i=[],o=a=>{a&&(this.isSupportedCode(a)?i.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return Er(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):Er(t)&&o(this.formatLanguageCode(t)),r.forEach(a=>{i.indexOf(a)<0&&o(this.formatLanguageCode(a))}),i}}let Von=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Gon={1:e=>+(e>1),2:e=>+(e!=1),3:e=>0,4:e=>e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,5:e=>e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5,6:e=>e==1?0:e>=2&&e<=4?1:2,7:e=>e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2,8:e=>e==1?0:e==2?1:e!=8&&e!=11?2:3,9:e=>+(e>=2),10:e=>e==1?0:e==2?1:e<7?2:e<11?3:4,11:e=>e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3,12:e=>+(e%10!=1||e%100==11),13:e=>+(e!==0),14:e=>e==1?0:e==2?1:e==3?2:3,15:e=>e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2,16:e=>e%10==1&&e%100!=11?0:e!==0?1:2,17:e=>e==1||e%10==1&&e%100!=11?0:1,18:e=>e==0?0:e==1?1:2,19:e=>e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3,20:e=>e==1?0:e==0||e%100>0&&e%100<20?1:2,21:e=>e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0,22:e=>e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3};const Won=["v1","v2","v3"],qon=["v4"],rfe={zero:0,one:1,two:2,few:3,many:4,other:5},Yon=()=>{const e={};return Von.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:Gon[t.fc]}})}),e};class Kon{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=xf.create("pluralResolver"),(!this.options.compatibilityJSON||qon.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=Yon(),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi()){const r=t4(t==="dev"?"en":t),i=n.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let a;try{a=new Intl.PluralRules(r,{type:i})}catch{if(!t.match(/-|_/))return;const s=this.languageUtils.getLanguagePartFromCode(t);a=this.getRule(s,n)}return this.pluralRulesCache[o]=a,a}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(i=>`${n}${i}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((i,o)=>rfe[i]-rfe[o]).map(i=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i}`):r.numbers.map(i=>this.getSuffix(t,i,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(t,r);return i?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(n)}`:this.getSuffixRetroCompatible(i,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let i=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const o=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!Won.includes(this.options.compatibilityJSON)}}const ife=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=Lon(e,t,n);return!o&&i&&Er(n)&&(o=wV(e,n,r),o===void 0&&(o=wV(t,n,r))),o},U6=e=>e.replace(/\$/g,"$$$$");class Qon{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=xf.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:i,prefix:o,prefixEscaped:a,suffix:s,suffixEscaped:l,formatSeparator:c,unescapeSuffix:u,unescapePrefix:d,nestingPrefix:f,nestingPrefixEscaped:h,nestingSuffix:m,nestingSuffixEscaped:g,nestingOptionsSeparator:v,maxReplaces:y,alwaysFormat:b}=t.interpolation;this.escape=n!==void 0?n:Fon,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=o?vb(o):a||"{{",this.suffix=s?vb(s):l||"}}",this.formatSeparator=c||",",this.unescapePrefix=u?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=f?vb(f):h||vb("$t("),this.nestingSuffix=m?vb(m):g||vb(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=y||1e3,this.alwaysFormat=b!==void 0?b:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n&&n.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,i){let o,a,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=f=>{if(f.indexOf(this.formatSeparator)<0){const v=ife(n,l,f,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(v,void 0,r,{...i,...n,interpolationkey:f}):v}const h=f.split(this.formatSeparator),m=h.shift().trim(),g=h.join(this.formatSeparator).trim();return this.format(ife(n,l,m,this.options.keySeparator,this.options.ignoreJSONStructure),g,r,{...i,...n,interpolationkey:m})};this.resetRegExp();const u=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,d=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:f=>U6(f)},{regex:this.regexp,safeValue:f=>this.escapeValue?U6(this.escape(f)):U6(f)}].forEach(f=>{for(s=0;o=f.regex.exec(t);){const h=o[1].trim();if(a=c(h),a===void 0)if(typeof u=="function"){const g=u(t,o,i);a=Er(g)?g:""}else if(i&&Object.prototype.hasOwnProperty.call(i,h))a="";else if(d){a=o[0];continue}else this.logger.warn(`missed to pass in variable ${h} for interpolating ${t}`),a="";else!Er(a)&&!this.useRawValueToEscape&&(a=Qde(a));const m=f.safeValue(a);if(t=t.replace(o[0],m),d?(f.regex.lastIndex+=a.length,f.regex.lastIndex-=o[0].length):f.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,o,a;const s=(l,c)=>{const u=this.nestingOptionsSeparator;if(l.indexOf(u)<0)return l;const d=l.split(new RegExp(`${u}[ ]*{`));let f=`{${d[1]}`;l=d[0],f=this.interpolate(f,a);const h=f.match(/'/g),m=f.match(/"/g);(h&&h.length%2===0&&!m||m.length%2!==0)&&(f=f.replace(/'/g,'"'));try{a=JSON.parse(f),c&&(a={...c,...a})}catch(g){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,g),`${l}${u}${f}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,l};for(;i=this.nestingRegexp.exec(t);){let l=[];a={...r},a=a.replace&&!Er(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let c=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const u=i[1].split(this.formatSeparator).map(d=>d.trim());i[1]=u.shift(),l=u,c=!0}if(o=n(s.call(this,i[1].trim(),a),a),o&&i[0]===t&&!Er(o))return o;Er(o)||(o=Qde(o)),o||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),o=""),c&&(o=l.reduce((u,d)=>this.format(u,d,r.lng,{...r,interpolationkey:i[1].trim()}),o.trim())),t=t.replace(i[0],o),this.regexp.lastIndex=0}return t}}const Xon=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const i=r[1].substring(0,r[1].length-1);t==="currency"&&i.indexOf(":")<0?n.currency||(n.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?n.range||(n.range=i.trim()):i.split(";").forEach(o=>{if(o){const[a,...s]=o.split(":"),l=s.join(":").trim().replace(/^'+|'+$/g,""),c=a.trim();n[c]||(n[c]=l),l==="false"&&(n[c]=!1),l==="true"&&(n[c]=!0),isNaN(l)||(n[c]=parseInt(l,10))}})}return{formatName:t,formatOptions:n}},bb=e=>{const t={};return(n,r,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});const a=r+JSON.stringify(o);let s=t[a];return s||(s=e(t4(r),i),t[a]=s),s(n)}};class Zon{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=xf.create("formatter"),this.options=t,this.formats={number:bb((n,r)=>{const i=new Intl.NumberFormat(n,{...r});return o=>i.format(o)}),currency:bb((n,r)=>{const i=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>i.format(o)}),datetime:bb((n,r)=>{const i=new Intl.DateTimeFormat(n,{...r});return o=>i.format(o)}),relativetime:bb((n,r)=>{const i=new Intl.RelativeTimeFormat(n,{...r});return o=>i.format(o,r.range||"day")}),list:bb((n,r)=>{const i=new Intl.ListFormat(n,{...r});return o=>i.format(o)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=bb(n)}format(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=n.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(a=>a.indexOf(")")>-1)){const a=o.findIndex(s=>s.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,a)].join(this.formatSeparator)}return o.reduce((a,s)=>{const{formatName:l,formatOptions:c}=Xon(s);if(this.formats[l]){let u=a;try{const d=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},f=d.locale||d.lng||i.locale||i.lng||r;u=this.formats[l](a,f,{...c,...i,...d})}catch(d){this.logger.warn(d)}return u}else this.logger.warn(`there was no format function for ${l}`);return a},t)}}const Jon=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class ean extends E9{constructor(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=xf.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,i.backend,i)}queueLoad(t,n,r,i){const o={},a={},s={},l={};return t.forEach(c=>{let u=!0;n.forEach(d=>{const f=`${c}|${d}`;!r.reload&&this.store.hasResourceBundle(c,d)?this.state[f]=2:this.state[f]<0||(this.state[f]===1?a[f]===void 0&&(a[f]=!0):(this.state[f]=1,u=!1,a[f]===void 0&&(a[f]=!0),o[f]===void 0&&(o[f]=!0),l[d]===void 0&&(l[d]=!0)))}),u||(s[c]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(t,n,r){const i=t.split("|"),o=i[0],a=i[1];n&&this.emit("failedLoading",o,a,n),!n&&r&&this.store.addResourceBundle(o,a,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const s={};this.queue.forEach(l=>{Don(l.loaded,[o],a),Jon(l,t),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(c=>{s[c]||(s[c]={});const u=l.loaded[c];u.length&&u.forEach(d=>{s[c][d]===void 0&&(s[c][d]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(l=>!l.done)}read(t,n,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:i,wait:o,callback:a});return}this.readingCalls++;const s=(c,u)=>{if(this.readingCalls--,this.waitingReads.length>0){const d=this.waitingReads.shift();this.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(c&&u&&i{this.read.call(this,t,n,r,i+1,o*2,a)},o);return}a(c,u)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const c=l(t,n);c&&typeof c.then=="function"?c.then(u=>s(null,u)).catch(s):s(null,c)}catch(c){s(c)}return}return l(t,n,s)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();Er(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Er(n)&&(n=[n]);const o=this.queueLoad(t,n,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(a=>{this.loadOne(a)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),i=r[0],o=r[1];this.read(i,o,"read",void 0,void 0,(a,s)=>{a&&this.logger.warn(`${n}loading namespace ${o} for language ${i} failed`,a),!a&&s&&this.logger.log(`${n}loaded namespace ${o} for language ${i}`,s),this.loaded(t,a,s)})}saveMissing(t,n,r,i,o){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const l={...a,isUpdate:o},c=this.backend.create.bind(this.backend);if(c.length<6)try{let u;c.length===5?u=c(t,n,r,i,l):u=c(t,n,r,i),u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}else c(t,n,r,i,s,l)}!t||!t[0]||this.store.addResource(t[0],n,r,i)}}}const ofe=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Er(e[1])&&(t.defaultValue=e[1]),Er(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),afe=e=>(Er(e.ns)&&(e.ns=[e.ns]),Er(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Er(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),hI=()=>{},tan=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{typeof e[t]=="function"&&(e[t]=e[t].bind(e))})};class gx extends E9{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=afe(t),this.services={},this.logger=xf,this.modules={external:[]},tan(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(Er(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const i=ofe();this.options={...i,...this.options,...afe(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const o=l=>l?typeof l=="function"?new l:l:null;if(!this.options.isClone){this.modules.logger?xf.init(o(this.modules.logger),this.options):xf.init(null,this.options);let l;this.modules.formatter?l=this.modules.formatter:typeof Intl<"u"&&(l=Zon);const c=new nfe(this.options);this.store=new efe(this.options.resources,this.options);const u=this.services;u.logger=xf,u.resourceStore=this.store,u.languageUtils=c,u.pluralResolver=new Kon(c,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),l&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(u.formatter=o(l),u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new Qon(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new ean(o(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",function(d){for(var f=arguments.length,h=new Array(f>1?f-1:0),m=1;m1?f-1:0),m=1;m{d.init&&d.init(this)})}if(this.format=this.options.interpolation.format,r||(r=hI),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&l[0]!=="dev"&&(this.options.lng=l[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(l=>{this[l]=function(){return t.store[l](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(l=>{this[l]=function(){return t.store[l](...arguments),t}});const a=tC(),s=()=>{const l=(c,u)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(u),r(c,u)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return l(null,this.t.bind(this));this.changeLanguage(this.options.lng,l)};return this.options.resources||!this.options.initImmediate?s():setTimeout(s,0),a}loadResources(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hI;const r=Er(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(r&&r.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const i=[],o=a=>{!a||a==="cimode"||this.services.languageUtils.toResolveHierarchy(a).forEach(s=>{s!=="cimode"&&i.indexOf(s)<0&&i.push(s)})};r?o(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(a=>o(a)),this.options.preload&&this.options.preload.forEach(a=>o(a)),this.services.backendConnector.load(i,this.options.ns,a=>{!a&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(a)})}else n(null)}reloadResources(t,n,r){const i=tC();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=hI),this.services.backendConnector.reload(t,n,o=>{i.resolve(),r(o)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&oPe.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const i=tC();this.emit("languageChanging",t);const o=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},a=(l,c)=>{c?(o(c),this.translator.changeLanguage(c),this.isLanguageChangingTo=void 0,this.emit("languageChanged",c),this.logger.log("languageChanged",c)):this.isLanguageChangingTo=void 0,i.resolve(function(){return r.t(...arguments)}),n&&n(l,function(){return r.t(...arguments)})},s=l=>{!t&&!l&&this.services.languageDetector&&(l=[]);const c=Er(l)?l:this.services.languageUtils.getBestMatchFromCodes(l);c&&(this.language||o(c),this.translator.language||this.translator.changeLanguage(c),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(c)),this.loadResources(c,u=>{a(u,c)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(t),i}getFixedT(t,n,r){var i=this;const o=function(a,s){let l;if(typeof s!="object"){for(var c=arguments.length,u=new Array(c>2?c-2:0),d=2;d`${l.keyPrefix}${f}${m}`):h=l.keyPrefix?`${l.keyPrefix}${f}${a}`:a,i.t(h,l)};return Er(t)?o.lng=t:o.lngs=t,o.ns=n,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const a=(s,l)=>{const c=this.services.backendConnector.state[`${s}|${l}`];return c===-1||c===0||c===2};if(n.precheck){const s=n.precheck(this,a);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,t)&&(!i||a(o,t)))}loadNamespaces(t,n){const r=tC();return this.options.ns?(Er(t)&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=tC();Er(t)&&(t=[t]);const i=this.options.preload||[],o=t.filter(a=>i.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return o.length?(this.options.preload=i.concat(o),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services&&this.services.languageUtils||new nfe(ofe());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new gx(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hI;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const i={...this.options,...t,isClone:!0},o=new gx(i);return(t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(a=>{o[a]=this[a]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r&&(o.store=new efe(this.store.data,i),o.services.resourceStore=o.store),o.translator=new r4(o.services,i),o.translator.on("*",function(a){for(var s=arguments.length,l=new Array(s>1?s-1:0),c=1;ccr(e)),this.dropDivHeight="265px",this.dropDivWith="fit-content"}onDropdownActive(e,t){return t==0?e.isActive("paragraph"):e.isActive("heading",{level:t})}onDropdownItemClick(e){e==0?this.editor.chain().setParagraph().focus().run():this.editor.chain().setHeading({level:e}).focus().run()}onDropdownItemRender(e){return e==0?this.menuData[e]:`${this.menuData[e]}`}onMenuTextRender(e){return this.menuData[e].replace(" ","")}};const ian=[{name:"宋体",value:"SimSun"},{name:"仿宋",value:"FangSong"},{name:"黑体",value:"SimHei"},{name:"楷体",value:"KaiTi"},{name:"微软雅黑",value:"Microsoft YaHei"},{name:"方正仿宋简体_GBK",value:"FangSong_GB2312"},{name:"Arial",value:"Arial"}];let oan=class extends oE{constructor(){super(),this.width="72px",this.menuTextWidth="60px",this.dropDivWith="150px"}onCreate(e,t){var n;super.onCreate(e,t),this.menuData=((n=t.fontFamily)==null?void 0:n.values)||ian,this.menuData=[{name:cr("default-font-family"),value:""}].concat(this.menuData)}onDropdownActive(e,t){return e.isActive("textStyle",{fontFamily:this.menuData[t].value})}onDropdownItemClick(e){const t=this.menuData[e].value;t?this.editor.chain().setFontFamily(t).run():this.editor.chain().unsetFontFamily().run()}onDropdownItemRender(e){return this.menuData[e].name}onMenuTextRender(e){return this.menuData[e].name}};const aan=[{name:"9",value:9},{name:"10",value:10},{name:"11",value:11},{name:"12",value:12},{name:"14",value:14},{name:"18",value:18},{name:"20",value:20},{name:"22",value:22},{name:"24",value:24},{name:"26",value:26},{name:"28",value:28},{name:"30",value:30},{name:"36",value:36},{name:"42",value:42},{name:"48",value:48},{name:"56",value:56},{name:"72",value:72}];class san extends oE{constructor(){super(),Qt(this,"defaultValue",14)}onCreate(t,n){var r,i;super.onCreate(t,n),this.menuData=((r=n.fontSize)==null?void 0:r.values)||aan,this.defaultValue=((i=n.fontSize)==null?void 0:i.defaultValue)||this.defaultValue;for(let o=0;o
@@ -1000,7 +1000,7 @@ img.ProseMirror-separator {
- `,this.registerClickListener()}onClick(e){e.toggleSuperscript()}onActive(e){return e.isActive("superscript")}};const a5e=["ffffff","000000","e9d989","2972f4","609eec","de3c36","a1d533","7334c5","27b5d9","ff8926","f2f2f2","7f7f7f","ddd9c3","c6d9f0","dbe5f1","f2dcdb","ebf1dd","e5e0ec","dbeef3","fdeada","d8d8d8","595959","c4bd97","8db3e2","b8cce4","e5b9b7","d7e3bc","ccc1d9","b7dde8","fbd5b5","bfbfbf","3f3f3f","938953","548dd4","95b3d7","d99694","c3d69b","b2a2c7","92cddc","fac08f","a5a5a5","262626","494429","17365d","366092","953734","76923c","5f497a","31859b","e36c09","6e6e6e","0c0c0c","1d1b10","0f243e","244061","632423","4f6128","3f3151","205867","974806"],s5e=["c00000","ff0000","ffc000","ffff00","92d050","00b050","00b0f0","0070c0","002060","7030a0"];class l5e extends ei{constructor(){super(),Qt(this,"historyColorsKey","historyColors"),Qt(this,"historyColors",[]),Qt(this,"iconSvg"),Qt(this,"menuColorEL"),Qt(this,"onColorItemClick"),Qt(this,"onDefaultColorClick")}connectedCallback(){this.template=` + `,this.registerClickListener()}onClick(e){e.toggleSuperscript()}onActive(e){return e.isActive("superscript")}};const aPe=["ffffff","000000","e9d989","2972f4","609eec","de3c36","a1d533","7334c5","27b5d9","ff8926","f2f2f2","7f7f7f","ddd9c3","c6d9f0","dbe5f1","f2dcdb","ebf1dd","e5e0ec","dbeef3","fdeada","d8d8d8","595959","c4bd97","8db3e2","b8cce4","e5b9b7","d7e3bc","ccc1d9","b7dde8","fbd5b5","bfbfbf","3f3f3f","938953","548dd4","95b3d7","d99694","c3d69b","b2a2c7","92cddc","fac08f","a5a5a5","262626","494429","17365d","366092","953734","76923c","5f497a","31859b","e36c09","6e6e6e","0c0c0c","1d1b10","0f243e","244061","632423","4f6128","3f3151","205867","974806"],sPe=["c00000","ff0000","ffc000","ffff00","92d050","00b050","00b0f0","0070c0","002060","7030a0"];class lPe extends ei{constructor(){super(),Qt(this,"historyColorsKey","historyColors"),Qt(this,"historyColors",[]),Qt(this,"iconSvg"),Qt(this,"menuColorEL"),Qt(this,"onColorItemClick"),Qt(this,"onDefaultColorClick")}connectedCallback(){this.template=`
${this.iconSvg}
@@ -1014,11 +1014,11 @@ img.ProseMirror-separator {
${cr("default")}
- ${a5e.map((n,r)=>`
`).join(" ")} + ${aPe.map((n,r)=>`
`).join(" ")}
${cr("standardColors")}
- ${s5e.map(n=>`
`).join(" ")} + ${sPe.map(n=>`
`).join(" ")}
${cr("historyColors")}
@@ -1027,7 +1027,7 @@ img.ProseMirror-separator {
`,t.querySelector("#defaultColor").addEventListener("click",()=>{this.onDefaultColorClick()}),t.querySelectorAll(".color-item").forEach(n=>{n.addEventListener("click",()=>{this.invokeColorItemClick(t,n)}),n.addEventListener("mouseover",()=>{n.style.border="solid 1px #999"}),n.addEventListener("mouseout",()=>{let r=n.getAttribute("data-color");r==="#ffffff"&&(r="#efefef"),n.style.border=`solid 1px ${r}`})}),t.querySelector("#history-colors").addEventListener("click",n=>{const r=n.target.closest(".history-color-item");r&&this.invokeColorItemClick(t,r)}),t}invokeColorItemClick(t,n){const r=n.getAttribute("data-color");this.historyColors=this.historyColors.filter(i=>i!==r),this.historyColors.unshift(r),this.historyColors.length>7&&(this.historyColors=this.historyColors.slice(0,7)),t.querySelector("#history-colors").innerHTML=` ${this.historyColors.map(i=>`
`).join(" ")} - `,localStorage.setItem(this.historyColorsKey,JSON.stringify(this.historyColors)),this.menuColorEL.style.background=r,this.onColorItemClick(r)}}let han=class extends l5e{constructor(){super(),this.historyColorsKey="highlightHistoryColors",this.iconSvg='',this.onDefaultColorClick=()=>{var e;(e=this.editor)==null||e.chain().focus().unsetHighlight().run()},this.onColorItemClick=e=>{var t;(t=this.editor)==null||t.chain().focus().setHighlight({color:e}).run()}}onActive(e){return e.isActive("highlight")}};class man extends l5e{constructor(){super(),this.historyColorsKey="fontHistoryColors",this.iconSvg='',this.onDefaultColorClick=()=>{var t;(t=this.editor)==null||t.chain().focus().unsetColor().run()},this.onColorItemClick=t=>{var n;(n=this.editor)==null||n.chain().focus().setColor(t).run()}}onActive(t){return t.isActive("textStyle")}}class gan extends ei{constructor(){super(),this.template='
'}}let van=class extends ei{constructor(){super(),this.template=` + `,localStorage.setItem(this.historyColorsKey,JSON.stringify(this.historyColors)),this.menuColorEL.style.background=r,this.onColorItemClick(r)}}let han=class extends lPe{constructor(){super(),this.historyColorsKey="highlightHistoryColors",this.iconSvg='',this.onDefaultColorClick=()=>{var e;(e=this.editor)==null||e.chain().focus().unsetHighlight().run()},this.onColorItemClick=e=>{var t;(t=this.editor)==null||t.chain().focus().setHighlight({color:e}).run()}}onActive(e){return e.isActive("highlight")}};class man extends lPe{constructor(){super(),this.historyColorsKey="fontHistoryColors",this.iconSvg='',this.onDefaultColorClick=()=>{var t;(t=this.editor)==null||t.chain().focus().unsetColor().run()},this.onColorItemClick=t=>{var n;(n=this.editor)==null||n.chain().focus().setColor(t).run()}}onActive(t){return t.isActive("textStyle")}}class gan extends ei{constructor(){super(),this.template='
'}}let van=class extends ei{constructor(){super(),this.template=`
@@ -1154,11 +1154,11 @@ img.ProseMirror-separator { ${this.emojis.map(r=>`
${r}
`).join("")}
`,t.querySelector(".emoji-cells").addEventListener("click",r=>{var i,o;const a=r.target.closest(".emoji-cell");a&&((i=this.editor)==null||i.commands.insertContent(a.querySelector("span").innerHTML),(o=this.tippy)==null||o.hide())}),t}getSize(){const t=this.editor.aiEditor.options;return t.toolbarSize==="large"?30:t.toolbarSize==="medium"?25:20}}class Han extends ei{constructor(){super(),this.template='
',this.registerClickListener()}onClick(t){var n;t.setPainter((n=this.editor)==null?void 0:n.state.selection.$head.marks())}}class bO{constructor(t,n,r){Qt(this,"editor"),Qt(this,"globalConfig"),Qt(this,"aiModelName"),Qt(this,"aiModelConfig"),this.editor=t,this.globalConfig=n,this.aiModelName=r,this.aiModelConfig=n.models[r]}chatWithPayload(t,n){const r=o=>{this.createAiClient(o,n).start(typeof t=="string"?t:JSON.stringify(t))},i=()=>{n==null||n.onStop()};this.globalConfig.onCreateClientUrl?this.globalConfig.onCreateClientUrl(this.aiModelName,this.aiModelConfig,r,i):r(this.createAiClientUrl())}chat(t,n,r){const i=a=>{const s=this.createAiClient(a,r),l=n.includes("{content}")?n.split("{content}").join(t):`${t?t+` -`:""}${n}`,c=this.wrapPayload(l);s.start(typeof c=="string"?c:JSON.stringify(c))},o=()=>{r==null||r.onStop()};this.globalConfig.onCreateClientUrl?this.globalConfig.onCreateClientUrl(this.aiModelName,this.aiModelConfig,i,o):i(this.createAiClientUrl())}}class c5e{constructor(t,n){Qt(this,"isStop",!1),Qt(this,"url"),Qt(this,"webSocket"),Qt(this,"isOpen",!1),Qt(this,"payload"),Qt(this,"listener"),this.url=t,this.listener=n}start(t){this.listener.onStart(this),this.payload=t,this.webSocket=new WebSocket(this.url),this.webSocket.onopen=n=>this.onOpen(n),this.webSocket.onmessage=n=>this.onMessage(n),this.webSocket.onclose=n=>this.onClose(n),this.webSocket.onerror=n=>this.onError(n)}stop(){this.webSocket&&(this.webSocket.close(),this.webSocket=void 0,this.isStop||(this.listener.onStop(),this.isStop=!0))}send(t){this.webSocket&&this.isOpen&&this.webSocket.send(t)}onOpen(t){this.isOpen=!0,this.send(this.payload)}onMessage(t){this.listener.onMessage(t.data)}onClose(t){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}onError(t){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}}var Um=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function C9(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Uan(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var u5e={exports:{}};function zan(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var lfe={exports:{}};const Van={},Gan=Object.freeze(Object.defineProperty({__proto__:null,default:Van},Symbol.toStringTag,{value:"Module"})),Wan=Uan(Gan);var cfe;function w9(){return cfe||(cfe=1,function(e,t){(function(n,r){e.exports=r()})(Um,function(){var n=n||function(r,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Um<"u"&&Um.crypto&&(o=Um.crypto),!o&&typeof zan=="function")try{o=Wan}catch{}var a=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function b(){}return function(_){var E;return b.prototype=_,E=new b,b.prototype=null,E}}(),l={},c=l.lib={},u=c.Base=function(){return{extend:function(b){var _=s(this);return b&&_.mixIn(b),(!_.hasOwnProperty("init")||this.init===_.init)&&(_.init=function(){_.$super.init.apply(this,arguments)}),_.init.prototype=_,_.$super=this,_},create:function(){var b=this.extend();return b.init.apply(b,arguments),b},init:function(){},mixIn:function(b){for(var _ in b)b.hasOwnProperty(_)&&(this[_]=b[_]);b.hasOwnProperty("toString")&&(this.toString=b.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),d=c.WordArray=u.extend({init:function(b,_){b=this.words=b||[],_!=i?this.sigBytes=_:this.sigBytes=b.length*4},toString:function(b){return(b||h).stringify(this)},concat:function(b){var _=this.words,E=b.words,C=this.sigBytes,S=b.sigBytes;if(this.clamp(),C%4)for(var w=0;w>>2]>>>24-w%4*8&255;_[C+w>>>2]|=T<<24-(C+w)%4*8}else for(var O=0;O>>2]=E[O>>>2];return this.sigBytes+=S,this},clamp:function(){var b=this.words,_=this.sigBytes;b[_>>>2]&=4294967295<<32-_%4*8,b.length=r.ceil(_/4)},clone:function(){var b=u.clone.call(this);return b.words=this.words.slice(0),b},random:function(b){for(var _=[],E=0;E>>2]>>>24-S%4*8&255;C.push((w>>>4).toString(16)),C.push((w&15).toString(16))}return C.join("")},parse:function(b){for(var _=b.length,E=[],C=0;C<_;C+=2)E[C>>>3]|=parseInt(b.substr(C,2),16)<<24-C%8*4;return new d.init(E,_/2)}},m=f.Latin1={stringify:function(b){for(var _=b.words,E=b.sigBytes,C=[],S=0;S>>2]>>>24-S%4*8&255;C.push(String.fromCharCode(w))}return C.join("")},parse:function(b){for(var _=b.length,E=[],C=0;C<_;C++)E[C>>>2]|=(b.charCodeAt(C)&255)<<24-C%4*8;return new d.init(E,_)}},g=f.Utf8={stringify:function(b){try{return decodeURIComponent(escape(m.stringify(b)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(b){return m.parse(unescape(encodeURIComponent(b)))}},v=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new d.init,this._nDataBytes=0},_append:function(b){typeof b=="string"&&(b=g.parse(b)),this._data.concat(b),this._nDataBytes+=b.sigBytes},_process:function(b){var _,E=this._data,C=E.words,S=E.sigBytes,w=this.blockSize,T=w*4,O=S/T;b?O=r.ceil(O):O=r.max((O|0)-this._minBufferSize,0);var x=O*w,A=r.min(x*4,S);if(x){for(var I=0;I>>7)^(O<<14|O>>>18)^O>>>3,A=d[T-2],I=(A<<15|A>>>17)^(A<<13|A>>>19)^A>>>10;d[T]=x+d[T-7]+I+d[T-16]}var M=E&C^~E&S,B=v&y^v&b^y&b,P=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),k=(E<<26|E>>>6)^(E<<21|E>>>11)^(E<<7|E>>>25),N=w+k+M+u[T]+d[T],L=P+B;w=S,S=C,C=E,E=_+N|0,_=b,b=y,y=v,v=N+L|0}g[0]=g[0]+v|0,g[1]=g[1]+y|0,g[2]=g[2]+b|0,g[3]=g[3]+_|0,g[4]=g[4]+E|0,g[5]=g[5]+C|0,g[6]=g[6]+S|0,g[7]=g[7]+w|0},_doFinalize:function(){var h=this._data,m=h.words,g=this._nDataBytes*8,v=h.sigBytes*8;return m[v>>>5]|=128<<24-v%32,m[(v+64>>>9<<4)+14]=r.floor(g/4294967296),m[(v+64>>>9<<4)+15]=g,h.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});i.SHA256=s._createHelper(f),i.HmacSHA256=s._createHmacHelper(f)}(Math),n.SHA256})}(ufe)),ufe.exports}var ffe={exports:{}},pfe;function Yan(){return pfe||(pfe=1,function(e,t){(function(n,r){e.exports=r(w9())})(Um,function(n){(function(){var r=n,i=r.lib,o=i.Base,a=r.enc,s=a.Utf8,l=r.algo;l.HMAC=o.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=s.parse(u));var d=c.blockSize,f=d*4;u.sigBytes>f&&(u=c.finalize(u)),u.clamp();for(var h=this._oKey=u.clone(),m=this._iKey=u.clone(),g=h.words,v=m.words,y=0;y>>2]>>>24-h%4*8&255,g=c[h+1>>>2]>>>24-(h+1)%4*8&255,v=c[h+2>>>2]>>>24-(h+2)%4*8&255,y=m<<16|g<<8|v,b=0;b<4&&h+b*.75>>6*(3-b)&63));var _=d.charAt(64);if(_)for(;f.length%4;)f.push(_);return f.join("")},parse:function(l){var c=l.length,u=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var f=0;f>>6-h%4*2,v=m|g;d[f>>>2]|=v<<24-f%4*8,f++}return o.create(d,f)}}(),n.enc.Base64})})(d5e);var Xan=d5e.exports;const Zan=C9(Xan),T9=()=>"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16));class Jan extends bO{constructor(t,n){var r;super(t,n,"spark"),this.aiModelConfig={version:"v3.5",protocol:"wss",...(r=n.models)==null?void 0:r.spark}}createAiClient(t,n){return new c5e(t,{onStart:n.onStart,onStop:n.onStop,onMessage:r=>{var i,o,a,s,l;const c=JSON.parse(r);c.payload&&((o=(i=c.payload.usage)==null?void 0:i.text)!=null&&o.total_tokens&&this.globalConfig.onTokenConsume&&this.globalConfig.onTokenConsume(this.aiModelName,this.aiModelConfig,(s=(a=c.payload.usage)==null?void 0:a.text)==null?void 0:s.total_tokens),(l=c.payload.choices)!=null&&l.text&&c.payload.choices.text[0]&&n.onMessage({...c.payload.choices.text[0],status:c.payload.choices.status}))}})}wrapPayload(t){const n=this.aiModelConfig,r={header:{app_id:n.appId,uid:T9().replace(/-/g,"")},parameter:{chat:{domain:this.getDomain(n),temperature:n.temperature||.5,max_tokens:n.maxTokens||2048}},payload:{message:{text:[{role:"user",content:t}]}}};return JSON.stringify(r)}getDomain(t){switch(t.version){case"v4.0":return"4.0Ultra";case"v3.5":return"generalv3.5";case"v3.1":return"generalv3";case"v2.1":return"generalv2";case"v1.1":return"lite";default:return"general"}}createAiClientUrl(){const t=this.aiModelConfig,n=new Date().toUTCString().replace("GMT","+0000");let r=`host: spark-api.xf-yun.com +`:""}${n}`,c=this.wrapPayload(l);s.start(typeof c=="string"?c:JSON.stringify(c))},o=()=>{r==null||r.onStop()};this.globalConfig.onCreateClientUrl?this.globalConfig.onCreateClientUrl(this.aiModelName,this.aiModelConfig,i,o):i(this.createAiClientUrl())}}class cPe{constructor(t,n){Qt(this,"isStop",!1),Qt(this,"url"),Qt(this,"webSocket"),Qt(this,"isOpen",!1),Qt(this,"payload"),Qt(this,"listener"),this.url=t,this.listener=n}start(t){this.listener.onStart(this),this.payload=t,this.webSocket=new WebSocket(this.url),this.webSocket.onopen=n=>this.onOpen(n),this.webSocket.onmessage=n=>this.onMessage(n),this.webSocket.onclose=n=>this.onClose(n),this.webSocket.onerror=n=>this.onError(n)}stop(){this.webSocket&&(this.webSocket.close(),this.webSocket=void 0,this.isStop||(this.listener.onStop(),this.isStop=!0))}send(t){this.webSocket&&this.isOpen&&this.webSocket.send(t)}onOpen(t){this.isOpen=!0,this.send(this.payload)}onMessage(t){this.listener.onMessage(t.data)}onClose(t){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}onError(t){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}}var Um=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function C9(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Uan(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var uPe={exports:{}};function zan(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var lfe={exports:{}};const Van={},Gan=Object.freeze(Object.defineProperty({__proto__:null,default:Van},Symbol.toStringTag,{value:"Module"})),Wan=Uan(Gan);var cfe;function w9(){return cfe||(cfe=1,function(e,t){(function(n,r){e.exports=r()})(Um,function(){var n=n||function(r,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Um<"u"&&Um.crypto&&(o=Um.crypto),!o&&typeof zan=="function")try{o=Wan}catch{}var a=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},s=Object.create||function(){function b(){}return function(_){var E;return b.prototype=_,E=new b,b.prototype=null,E}}(),l={},c=l.lib={},u=c.Base=function(){return{extend:function(b){var _=s(this);return b&&_.mixIn(b),(!_.hasOwnProperty("init")||this.init===_.init)&&(_.init=function(){_.$super.init.apply(this,arguments)}),_.init.prototype=_,_.$super=this,_},create:function(){var b=this.extend();return b.init.apply(b,arguments),b},init:function(){},mixIn:function(b){for(var _ in b)b.hasOwnProperty(_)&&(this[_]=b[_]);b.hasOwnProperty("toString")&&(this.toString=b.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),d=c.WordArray=u.extend({init:function(b,_){b=this.words=b||[],_!=i?this.sigBytes=_:this.sigBytes=b.length*4},toString:function(b){return(b||h).stringify(this)},concat:function(b){var _=this.words,E=b.words,C=this.sigBytes,S=b.sigBytes;if(this.clamp(),C%4)for(var w=0;w>>2]>>>24-w%4*8&255;_[C+w>>>2]|=T<<24-(C+w)%4*8}else for(var O=0;O>>2]=E[O>>>2];return this.sigBytes+=S,this},clamp:function(){var b=this.words,_=this.sigBytes;b[_>>>2]&=4294967295<<32-_%4*8,b.length=r.ceil(_/4)},clone:function(){var b=u.clone.call(this);return b.words=this.words.slice(0),b},random:function(b){for(var _=[],E=0;E>>2]>>>24-S%4*8&255;C.push((w>>>4).toString(16)),C.push((w&15).toString(16))}return C.join("")},parse:function(b){for(var _=b.length,E=[],C=0;C<_;C+=2)E[C>>>3]|=parseInt(b.substr(C,2),16)<<24-C%8*4;return new d.init(E,_/2)}},m=f.Latin1={stringify:function(b){for(var _=b.words,E=b.sigBytes,C=[],S=0;S>>2]>>>24-S%4*8&255;C.push(String.fromCharCode(w))}return C.join("")},parse:function(b){for(var _=b.length,E=[],C=0;C<_;C++)E[C>>>2]|=(b.charCodeAt(C)&255)<<24-C%4*8;return new d.init(E,_)}},g=f.Utf8={stringify:function(b){try{return decodeURIComponent(escape(m.stringify(b)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(b){return m.parse(unescape(encodeURIComponent(b)))}},v=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new d.init,this._nDataBytes=0},_append:function(b){typeof b=="string"&&(b=g.parse(b)),this._data.concat(b),this._nDataBytes+=b.sigBytes},_process:function(b){var _,E=this._data,C=E.words,S=E.sigBytes,w=this.blockSize,T=w*4,O=S/T;b?O=r.ceil(O):O=r.max((O|0)-this._minBufferSize,0);var x=O*w,A=r.min(x*4,S);if(x){for(var I=0;I>>7)^(O<<14|O>>>18)^O>>>3,A=d[T-2],I=(A<<15|A>>>17)^(A<<13|A>>>19)^A>>>10;d[T]=x+d[T-7]+I+d[T-16]}var M=E&C^~E&S,B=v&y^v&b^y&b,P=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),k=(E<<26|E>>>6)^(E<<21|E>>>11)^(E<<7|E>>>25),N=w+k+M+u[T]+d[T],L=P+B;w=S,S=C,C=E,E=_+N|0,_=b,b=y,y=v,v=N+L|0}g[0]=g[0]+v|0,g[1]=g[1]+y|0,g[2]=g[2]+b|0,g[3]=g[3]+_|0,g[4]=g[4]+E|0,g[5]=g[5]+C|0,g[6]=g[6]+S|0,g[7]=g[7]+w|0},_doFinalize:function(){var h=this._data,m=h.words,g=this._nDataBytes*8,v=h.sigBytes*8;return m[v>>>5]|=128<<24-v%32,m[(v+64>>>9<<4)+14]=r.floor(g/4294967296),m[(v+64>>>9<<4)+15]=g,h.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var h=s.clone.call(this);return h._hash=this._hash.clone(),h}});i.SHA256=s._createHelper(f),i.HmacSHA256=s._createHmacHelper(f)}(Math),n.SHA256})}(ufe)),ufe.exports}var ffe={exports:{}},pfe;function Yan(){return pfe||(pfe=1,function(e,t){(function(n,r){e.exports=r(w9())})(Um,function(n){(function(){var r=n,i=r.lib,o=i.Base,a=r.enc,s=a.Utf8,l=r.algo;l.HMAC=o.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=s.parse(u));var d=c.blockSize,f=d*4;u.sigBytes>f&&(u=c.finalize(u)),u.clamp();for(var h=this._oKey=u.clone(),m=this._iKey=u.clone(),g=h.words,v=m.words,y=0;y>>2]>>>24-h%4*8&255,g=c[h+1>>>2]>>>24-(h+1)%4*8&255,v=c[h+2>>>2]>>>24-(h+2)%4*8&255,y=m<<16|g<<8|v,b=0;b<4&&h+b*.75>>6*(3-b)&63));var _=d.charAt(64);if(_)for(;f.length%4;)f.push(_);return f.join("")},parse:function(l){var c=l.length,u=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var f=0;f>>6-h%4*2,v=m|g;d[f>>>2]|=v<<24-f%4*8,f++}return o.create(d,f)}}(),n.enc.Base64})})(dPe);var Xan=dPe.exports;const Zan=C9(Xan),T9=()=>"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e=>(e^crypto.getRandomValues(new Uint8Array(1))[0]&15>>e/4).toString(16));class Jan extends bO{constructor(t,n){var r;super(t,n,"spark"),this.aiModelConfig={version:"v3.5",protocol:"wss",...(r=n.models)==null?void 0:r.spark}}createAiClient(t,n){return new cPe(t,{onStart:n.onStart,onStop:n.onStop,onMessage:r=>{var i,o,a,s,l;const c=JSON.parse(r);c.payload&&((o=(i=c.payload.usage)==null?void 0:i.text)!=null&&o.total_tokens&&this.globalConfig.onTokenConsume&&this.globalConfig.onTokenConsume(this.aiModelName,this.aiModelConfig,(s=(a=c.payload.usage)==null?void 0:a.text)==null?void 0:s.total_tokens),(l=c.payload.choices)!=null&&l.text&&c.payload.choices.text[0]&&n.onMessage({...c.payload.choices.text[0],status:c.payload.choices.status}))}})}wrapPayload(t){const n=this.aiModelConfig,r={header:{app_id:n.appId,uid:T9().replace(/-/g,"")},parameter:{chat:{domain:this.getDomain(n),temperature:n.temperature||.5,max_tokens:n.maxTokens||2048}},payload:{message:{text:[{role:"user",content:t}]}}};return JSON.stringify(r)}getDomain(t){switch(t.version){case"v4.0":return"4.0Ultra";case"v3.5":return"generalv3.5";case"v3.1":return"generalv3";case"v2.1":return"generalv2";case"v1.1":return"lite";default:return"general"}}createAiClientUrl(){const t=this.aiModelConfig,n=new Date().toUTCString().replace("GMT","+0000");let r=`host: spark-api.xf-yun.com `;r+="date: "+n+` -`,r+=`GET /${t.version}/chat HTTP/1.1`;const i=Qan(r,t.apiSecret),o=Zan.stringify(i),a=`api_key="${t.apiKey}", algorithm="hmac-sha256", headers="host date request-line", signature="${o}"`,s=btoa(a);return`${t.protocol}://spark-api.xf-yun.com/${t.version}/chat?authorization=${s}&date=${encodeURIComponent(n)}&host=spark-api.xf-yun.com`}}class f5e{constructor(t,n){Qt(this,"isStop",!1),Qt(this,"config"),Qt(this,"fetch"),Qt(this,"isOpen",!1),Qt(this,"payload"),Qt(this,"listener"),this.config=t,this.listener=n}start(t){this.payload=t,this.onOpen(),this.listener.onStart(this)}stop(){this.fetch&&(this.fetch=void 0,this.isStop||(this.listener.onStop(),this.isStop=!0))}async send(t){if(this.isOpen)try{this.fetch=await fetch(this.config.url,{method:this.config.method,headers:this.config.headers,body:t});const n=this.fetch;if(!n.body)throw new Error("response.body is none");const r=({done:a,value:s})=>{if(a){this.onClose();return}return this.onMessage(o.decode(s)),i.read().then(({done:l,value:c})=>r({done:l,value:c}))},i=n.body.getReader(),o=new TextDecoder("utf-8");i.read().then(({done:a,value:s})=>r({done:a,value:s}))}catch{this.onError()}}onOpen(){this.isOpen=!0,this.send(this.payload)}onMessage(t){this.listener.onMessage(t)}onClose(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}onError(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}}class esn extends bO{constructor(t,n){var r;super(t,n,"wenxin"),this.aiModelConfig={...(r=n.models)==null?void 0:r.wenxin}}createAiClient(t,n){return new f5e({url:t,method:"POST"},{onStart:n.onStart,onStop:n.onStop,onMessage:r=>{const i=r.match(/data:([\s\S]*)$/);if(!i)return;const o=JSON.parse(i[1]);n.onMessage({status:o.is_end?2:1,role:"assistant",content:o.result||"",index:o.sentence_id})}})}wrapPayload(t){const n={messages:[{role:"user",content:t}],stream:!0,max_tokens:this.aiModelConfig.maxTokens||null,temperature:this.aiModelConfig.temperature||null};return JSON.stringify(n)}createAiClientUrl(){return`https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/completions_pro?access_token=${this.aiModelConfig.access_token}`}}var am;class tsn extends TransformStream{constructor(t={allowCR:!1}){super({transform:(n,r)=>{for(n=ZE(this,am)+n;;){const i=n.indexOf(` +`,r+=`GET /${t.version}/chat HTTP/1.1`;const i=Qan(r,t.apiSecret),o=Zan.stringify(i),a=`api_key="${t.apiKey}", algorithm="hmac-sha256", headers="host date request-line", signature="${o}"`,s=btoa(a);return`${t.protocol}://spark-api.xf-yun.com/${t.version}/chat?authorization=${s}&date=${encodeURIComponent(n)}&host=spark-api.xf-yun.com`}}class fPe{constructor(t,n){Qt(this,"isStop",!1),Qt(this,"config"),Qt(this,"fetch"),Qt(this,"isOpen",!1),Qt(this,"payload"),Qt(this,"listener"),this.config=t,this.listener=n}start(t){this.payload=t,this.onOpen(),this.listener.onStart(this)}stop(){this.fetch&&(this.fetch=void 0,this.isStop||(this.listener.onStop(),this.isStop=!0))}async send(t){if(this.isOpen)try{this.fetch=await fetch(this.config.url,{method:this.config.method,headers:this.config.headers,body:t});const n=this.fetch;if(!n.body)throw new Error("response.body is none");const r=({done:a,value:s})=>{if(a){this.onClose();return}return this.onMessage(o.decode(s)),i.read().then(({done:l,value:c})=>r({done:l,value:c}))},i=n.body.getReader(),o=new TextDecoder("utf-8");i.read().then(({done:a,value:s})=>r({done:a,value:s}))}catch{this.onError()}}onOpen(){this.isOpen=!0,this.send(this.payload)}onMessage(t){this.listener.onMessage(t)}onClose(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}onError(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}}class esn extends bO{constructor(t,n){var r;super(t,n,"wenxin"),this.aiModelConfig={...(r=n.models)==null?void 0:r.wenxin}}createAiClient(t,n){return new fPe({url:t,method:"POST"},{onStart:n.onStart,onStop:n.onStop,onMessage:r=>{const i=r.match(/data:([\s\S]*)$/);if(!i)return;const o=JSON.parse(i[1]);n.onMessage({status:o.is_end?2:1,role:"assistant",content:o.result||"",index:o.sentence_id})}})}wrapPayload(t){const n={messages:[{role:"user",content:t}],stream:!0,max_tokens:this.aiModelConfig.maxTokens||null,temperature:this.aiModelConfig.temperature||null};return JSON.stringify(n)}createAiClientUrl(){return`https://aip.baidubce.com/rpc/2.0/ai_custom/v1/wenxinworkshop/chat/completions_pro?access_token=${this.aiModelConfig.access_token}`}}var am;class tsn extends TransformStream{constructor(t={allowCR:!1}){super({transform:(n,r)=>{for(n=ZE(this,am)+n;;){const i=n.indexOf(` `),o=t.allowCR?n.indexOf("\r"):-1;if(o!==-1&&o!==n.length-1&&(i===-1||i-1>o)){r.enqueue(n.slice(0,o)),n=n.slice(o+1);continue}if(i===-1)break;const a=n[i-1]==="\r"?i-1:i;r.enqueue(n.slice(0,a)),n=n.slice(i+1)}ZZt(this,am,n)},flush:n=>{if(ZE(this,am)==="")return;const r=t.allowCR&&ZE(this,am).endsWith("\r")?ZE(this,am).slice(0,-1):ZE(this,am);n.enqueue(r)}}),XZt(this,am,"")}}am=new WeakMap;function nsn(e){let t=new TextDecoderStream,n=new tsn({allowCR:!0});return e.pipeThrough(t).pipeThrough(n)}function rsn(e){let t=/[:]\s*/.exec(e),n=t&&t.index;if(n)return[e.substring(0,n),e.substring(n+t[0].length)]}async function*isn(e,t){if(!e.body)return;let n=nsn(e.body),r,i=n.getReader(),o;for(;;){if(t&&t.aborted)return i.cancel();if(r=await i.read(),r.done)return;if(!r.value){o&&(yield o),o=void 0;continue}let[a,s]=rsn(r.value)||[];a&&(a==="data"?(o||(o={}),o[a]=o[a]?o[a]+` -`+s:s):a==="event"?(o||(o={}),o[a]=s):a==="id"?(o||(o={}),o[a]=+s||s):a==="retry"&&(o||(o={}),o[a]=+s||void 0))}}class kX{constructor(t,n){Qt(this,"isStop",!1),Qt(this,"config"),Qt(this,"fetch"),Qt(this,"isOpen",!1),Qt(this,"payload"),Qt(this,"listener"),Qt(this,"ctrl",new AbortController),this.config=t,this.listener=n}start(t){this.payload=t,this.onOpen(),this.listener.onStart(this)}stop(){this.fetch&&(this.ctrl.abort(),this.isStop||(this.listener.onStop(),this.isStop=!0))}async send(t){let n=await fetch(this.config.url,{method:this.config.method,signal:this.ctrl.signal,headers:this.config.headers,body:t});if(!n.ok){this.onError();return}try{let r=isn(n,this.ctrl.signal);for await(let i of r)i.data&&i.data.trim()!=="[DONE]"&&this.onMessage(i.data)}catch(r){console.error("error",r),this.onError()}finally{this.onClose()}}onOpen(){this.isOpen=!0,this.send(this.payload)}onMessage(t){this.listener.onMessage(t)}onClose(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}onError(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}}class osn extends bO{constructor(t,n){var r;super(t,n,"custom"),this.aiModelConfig={protocol:"sse",...(r=n.models)==null?void 0:r.custom}}createAiClient(t,n){var r;const i=this.aiModelConfig,o={onStart:n.onStart,onStop:n.onStop,onMessage:s=>{var l;const c=this.aiModelConfig,u=(l=c.parseMessage)==null?void 0:l.call(c,s);u&&n.onMessage(u)}},a={url:t,method:i.method||"post",headers:typeof i.headers=="function"?(r=i.headers)==null?void 0:r.call(i):i.headers};return i.protocol==="sse"?new kX(a,o):i.protocol==="http"?new f5e(a,o):new c5e(t,o)}wrapPayload(t){var n;const r=this.aiModelConfig;return(n=r.wrapPayload)==null?void 0:n.call(r,t)}createAiClientUrl(){var t;const n=this.aiModelConfig;return typeof n.url=="string"?n.url:(t=n.url)==null?void 0:t.call(n)}}class asn extends bO{constructor(t,n){var r;super(t,n,"openai"),this.aiModelConfig={endpoint:"https://api.openai.com",...(r=n.models)==null?void 0:r.openai}}createAiClient(t,n){const r=this.aiModelConfig,i={"Content-Type":"application/json"};return r.apiKey&&(i.Authorization=`Bearer ${r.apiKey}`),new kX({url:t,method:"post",headers:i},{onStart:n.onStart,onStop:n.onStop,onMessage:o=>{var a,s;let l=null;try{l=JSON.parse(o)}catch(c){console.error("error",c,o);return}!l.choices||l.choices.length===0||(n.onMessage({status:l.choices[0].finish_reason==="stop"?2:1,role:"assistant",content:((a=l.choices[0].delta)==null?void 0:a.content)||"",index:l.choices[0].index}),this.globalConfig.onTokenConsume&&(s=l.choices[0].usage)!=null&&s.total_tokens&&this.globalConfig.onTokenConsume(this.aiModelName,this.aiModelConfig,l.choices[0].usage.total_tokens))}})}wrapPayload(t){const n=this.aiModelConfig,r={messages:[{role:"user",content:t}],max_tokens:n.maxTokens||null,temperature:n.temperature||null,stream:!0};return n.model&&(r.model=n.model),JSON.stringify(r)}createAiClientUrl(){const t=this.aiModelConfig;if(t.customUrl){if(typeof t.customUrl=="string")return t.customUrl;if(typeof t.customUrl=="function")return t.customUrl()}return`${t.endpoint}/v1/chat/completions`}}class ssn extends bO{constructor(t,n){var r;super(t,n,"gitee"),this.aiModelConfig={top_p:.7,top_k:50,...(r=n.models)==null?void 0:r.gitee}}createAiClient(t,n){const r=this.aiModelConfig;return new kX({url:t,method:"post",headers:{"Content-Type":"application/json",Authorization:`Bearer ${r.apiKey}`}},{onStart:n.onStart,onStop:n.onStop,onMessage:i=>{var o,a;let s=null;try{s=JSON.parse(i)}catch(l){console.error("error",l,i);return}n.onMessage({status:s.choices[0].finish_reason==="stop"?2:1,role:"assistant",content:((o=s.choices[0].delta)==null?void 0:o.content)||"",index:s.choices[0].index}),this.globalConfig.onTokenConsume&&(a=s.usage)!=null&&a.total_tokens&&this.globalConfig.onTokenConsume(this.aiModelName,this.aiModelConfig,s.usage.total_tokens)}})}wrapPayload(t){const n=this.aiModelConfig,r={messages:[{role:"user",content:t}],stream:!0,max_tokens:n.maxTokens||null,temperature:n.temperature||null,top_p:n.top_p,top_k:n.top_k};return JSON.stringify(r)}createAiClientUrl(){const{endpoint:t}=this.aiModelConfig;return t}}class Cg{static init(t,n){var r;if(n&&n.models)for(let i of Object.keys(n.models))switch(i){case"spark":this.set(i,new Jan(t,n));break;case"wenxin":this.set(i,new esn(t,n));break;case"openai":this.set(i,new asn(t,n));break;case"gitee":this.set(i,new ssn(t,n));break;case"custom":this.set(i,new osn(t,n));break;default:const o=(r=n.modelFactory)==null?void 0:r.create(i,t,n);o&&this.set(i,o)}}static get(t){return(!t||t==="auto")&&(t=Object.keys(this.models)[0]),this.models[t]}static set(t,n){this.models[t]=n}}Qt(Cg,"models",{});const lsn=e=>{let t="";return e.descendants(n=>{n.text&&(t+=n.text)}),t};class i4{constructor(t,n){Qt(this,"editor"),Qt(this,"from"),Qt(this,"options"),this.editor=t,this.from=t.view.state.selection.from,this.options=n||{markdownParseEnable:!0}}onStart(){}onStop(){}onMessage(t){const{state:{tr:n},view:r}=this.editor;if(r.dispatch(n.insertText(t.content)),t.status==2&&this.options.markdownParseEnable){const i=this.editor.state.selection.to,o=this.editor.state.doc.textBetween(this.from,i),{state:{tr:a},view:s}=this.editor,l=this.editor.parseMarkdown(o);if(this.options.useMarkdownTextOnly){const c=lsn(l),u=this.editor.schema.text(c);s.dispatch(a.replaceWith(this.from,i,u).scrollIntoView())}else s.dispatch(a.replaceWith(this.from,i,l).scrollIntoView())}this.editor.commands.scrollIntoView()}}const csn=[{icon:'',name:"ai-continuation",prompt:`{content} +`+s:s):a==="event"?(o||(o={}),o[a]=s):a==="id"?(o||(o={}),o[a]=+s||s):a==="retry"&&(o||(o={}),o[a]=+s||void 0))}}class kX{constructor(t,n){Qt(this,"isStop",!1),Qt(this,"config"),Qt(this,"fetch"),Qt(this,"isOpen",!1),Qt(this,"payload"),Qt(this,"listener"),Qt(this,"ctrl",new AbortController),this.config=t,this.listener=n}start(t){this.payload=t,this.onOpen(),this.listener.onStart(this)}stop(){this.fetch&&(this.ctrl.abort(),this.isStop||(this.listener.onStop(),this.isStop=!0))}async send(t){let n=await fetch(this.config.url,{method:this.config.method,signal:this.ctrl.signal,headers:this.config.headers,body:t});if(!n.ok){this.onError();return}try{let r=isn(n,this.ctrl.signal);for await(let i of r)i.data&&i.data.trim()!=="[DONE]"&&this.onMessage(i.data)}catch(r){console.error("error",r),this.onError()}finally{this.onClose()}}onOpen(){this.isOpen=!0,this.send(this.payload)}onMessage(t){this.listener.onMessage(t)}onClose(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}onError(){this.isOpen=!1,this.isStop||(this.listener.onStop(),this.isStop=!0)}}class osn extends bO{constructor(t,n){var r;super(t,n,"custom"),this.aiModelConfig={protocol:"sse",...(r=n.models)==null?void 0:r.custom}}createAiClient(t,n){var r;const i=this.aiModelConfig,o={onStart:n.onStart,onStop:n.onStop,onMessage:s=>{var l;const c=this.aiModelConfig,u=(l=c.parseMessage)==null?void 0:l.call(c,s);u&&n.onMessage(u)}},a={url:t,method:i.method||"post",headers:typeof i.headers=="function"?(r=i.headers)==null?void 0:r.call(i):i.headers};return i.protocol==="sse"?new kX(a,o):i.protocol==="http"?new fPe(a,o):new cPe(t,o)}wrapPayload(t){var n;const r=this.aiModelConfig;return(n=r.wrapPayload)==null?void 0:n.call(r,t)}createAiClientUrl(){var t;const n=this.aiModelConfig;return typeof n.url=="string"?n.url:(t=n.url)==null?void 0:t.call(n)}}class asn extends bO{constructor(t,n){var r;super(t,n,"openai"),this.aiModelConfig={endpoint:"https://api.openai.com",...(r=n.models)==null?void 0:r.openai}}createAiClient(t,n){const r=this.aiModelConfig,i={"Content-Type":"application/json"};return r.apiKey&&(i.Authorization=`Bearer ${r.apiKey}`),new kX({url:t,method:"post",headers:i},{onStart:n.onStart,onStop:n.onStop,onMessage:o=>{var a,s;let l=null;try{l=JSON.parse(o)}catch(c){console.error("error",c,o);return}!l.choices||l.choices.length===0||(n.onMessage({status:l.choices[0].finish_reason==="stop"?2:1,role:"assistant",content:((a=l.choices[0].delta)==null?void 0:a.content)||"",index:l.choices[0].index}),this.globalConfig.onTokenConsume&&(s=l.choices[0].usage)!=null&&s.total_tokens&&this.globalConfig.onTokenConsume(this.aiModelName,this.aiModelConfig,l.choices[0].usage.total_tokens))}})}wrapPayload(t){const n=this.aiModelConfig,r={messages:[{role:"user",content:t}],max_tokens:n.maxTokens||null,temperature:n.temperature||null,stream:!0};return n.model&&(r.model=n.model),JSON.stringify(r)}createAiClientUrl(){const t=this.aiModelConfig;if(t.customUrl){if(typeof t.customUrl=="string")return t.customUrl;if(typeof t.customUrl=="function")return t.customUrl()}return`${t.endpoint}/v1/chat/completions`}}class ssn extends bO{constructor(t,n){var r;super(t,n,"gitee"),this.aiModelConfig={top_p:.7,top_k:50,...(r=n.models)==null?void 0:r.gitee}}createAiClient(t,n){const r=this.aiModelConfig;return new kX({url:t,method:"post",headers:{"Content-Type":"application/json",Authorization:`Bearer ${r.apiKey}`}},{onStart:n.onStart,onStop:n.onStop,onMessage:i=>{var o,a;let s=null;try{s=JSON.parse(i)}catch(l){console.error("error",l,i);return}n.onMessage({status:s.choices[0].finish_reason==="stop"?2:1,role:"assistant",content:((o=s.choices[0].delta)==null?void 0:o.content)||"",index:s.choices[0].index}),this.globalConfig.onTokenConsume&&(a=s.usage)!=null&&a.total_tokens&&this.globalConfig.onTokenConsume(this.aiModelName,this.aiModelConfig,s.usage.total_tokens)}})}wrapPayload(t){const n=this.aiModelConfig,r={messages:[{role:"user",content:t}],stream:!0,max_tokens:n.maxTokens||null,temperature:n.temperature||null,top_p:n.top_p,top_k:n.top_k};return JSON.stringify(r)}createAiClientUrl(){const{endpoint:t}=this.aiModelConfig;return t}}class Cg{static init(t,n){var r;if(n&&n.models)for(let i of Object.keys(n.models))switch(i){case"spark":this.set(i,new Jan(t,n));break;case"wenxin":this.set(i,new esn(t,n));break;case"openai":this.set(i,new asn(t,n));break;case"gitee":this.set(i,new ssn(t,n));break;case"custom":this.set(i,new osn(t,n));break;default:const o=(r=n.modelFactory)==null?void 0:r.create(i,t,n);o&&this.set(i,o)}}static get(t){return(!t||t==="auto")&&(t=Object.keys(this.models)[0]),this.models[t]}static set(t,n){this.models[t]=n}}Qt(Cg,"models",{});const lsn=e=>{let t="";return e.descendants(n=>{n.text&&(t+=n.text)}),t};class i4{constructor(t,n){Qt(this,"editor"),Qt(this,"from"),Qt(this,"options"),this.editor=t,this.from=t.view.state.selection.from,this.options=n||{markdownParseEnable:!0}}onStart(){}onStop(){}onMessage(t){const{state:{tr:n},view:r}=this.editor;if(r.dispatch(n.insertText(t.content)),t.status==2&&this.options.markdownParseEnable){const i=this.editor.state.selection.to,o=this.editor.state.doc.textBetween(this.from,i),{state:{tr:a},view:s}=this.editor,l=this.editor.parseMarkdown(o);if(this.options.useMarkdownTextOnly){const c=lsn(l),u=this.editor.schema.text(c);s.dispatch(a.replaceWith(this.from,i,u).scrollIntoView())}else s.dispatch(a.replaceWith(this.from,i,l).scrollIntoView())}this.editor.commands.scrollIntoView()}}const csn=[{icon:'',name:"ai-continuation",prompt:`{content} 请帮我继续扩展以上这段文字的内容。 注意:你应该先判断一下这句话是中文还是英文,如果是中文,请给我返回中文的内容,如果是英文,请给我返回英文内容,只需要返回内容即可,不需要告知我是中文还是英文。`,text:"focusBefore",model:"auto"},{icon:'',name:"ai-optimization",prompt:`{content} @@ -1182,7 +1182,7 @@ img.ProseMirror-separator {
- `,this.registerClickListener()}onClick(t){var n;(n=this.editor)!=null&&n.isActive("container")?t.unsetContainer():t.setContainer(""),t.focus()}onActive(t){return t.isActive("container")}}class fsn extends ei{constructor(){super(),Qt(this,"config")}onConfig(t){this.config=t,t.html?this.template=t.html:t.icon&&(this.template=`
${t.icon}
`),this.addEventListener("click",n=>{this.config&&this.config.onClick&&this.config.onClick(n,this.editor.aiEditor)})}}const _r=(e,t)=>{window.customElements.get(e)||window.customElements.define(e,t)},p5e=(e,t,n,r)=>{for(let i of r)if(i)try{if(typeof i=="string"){i=i.trim(),i==="|"&&(i="divider");const o=document.createElement("aie-"+i);if(o.classList.add("aie-menu-item"),o.onCreate(e,t),o.onEditableChange(!!t.editable),i!=="divider"){const a=cr(i);o.setAttribute("data-title",a),o.setAttribute("data-size",t.toolbarSize),a&&So(o,{appendTo:()=>e.editor.view.dom.closest(".aie-container"),content:a,theme:"aietip",arrow:!0})}n.push(o)}else if(i.toolbarKeys){const o=i,a=document.createElement("aie-group");if(a.classList.add("aie-menu-item"),a.onCreate(e,t),a.init(e,t,o),a.onEditableChange(!!t.editable),o.title){const s=cr(o.title);s&&So(a,{appendTo:()=>e.editor.view.dom.closest(".aie-container"),content:s,theme:"aietip",arrow:!0})}n.push(a)}else{const o=i,a=document.createElement("aie-custom");if(a.classList.add("aie-menu-item"),o.id&&a.setAttribute("id",o.id),o.className&&a.classList.add(o.className),a.onCreate(e,t),a.onConfig(o),a.onEditableChange(!!t.editable),o.tip){const s=cr(o.tip);s&&So(a,{appendTo:()=>e.editor.view.dom.closest(".aie-container"),content:s,theme:"aietip",arrow:!0})}o.onCreate&&o.onCreate(a,e.editor.aiEditor),n.push(a)}}catch(o){console.error(o,"Can not create toolbar by key: "+i)}};class psn extends ei{constructor(){super(),Qt(this,"menuButtons",[]),Qt(this,"tippyInstance"),Qt(this,"tippyEl"),Qt(this,"iconSvg",'')}onCreate(t,n){super.onCreate(t,n)}init(t,n,r){p5e(t,n,this.menuButtons,r.toolbarKeys),this.iconSvg=r.icon||this.iconSvg}renderTemplate(){this.template=`
${this.iconSvg}
`}onTransaction(t){for(let n of this.menuButtons)n.onTransaction(t)}connectedCallback(){this.renderTemplate(),super.connectedCallback(),this.tippyInstance=So(this.querySelector("#tippy"),{content:this.createMenuElement(),appendTo:this.closest(".aie-container"),placement:"bottom",trigger:"click",interactive:!0,arrow:!1})}createMenuElement(){const t=document.createElement("div");t.classList.add("aie-dropdown-container");for(let n=0;n{if(a.target.closest(".aie-menu-item"))return;const s=i.querySelector("#tippy");if(s){s.click();return}const l=i.querySelector("#dropdown");if(l){l.click();return}r.click()}),t.appendChild(i)}return this.tippyEl=t,t}}const hsn=["undo","redo","brush","eraser","divider","heading","font-family","font-size","divider","bold","italic","underline","strike","link","code","subscript","superscript","hr","todo","emoji","divider","highlight","font-color","divider","align","line-height","divider","bullet-list","ordered-list","indent-decrease","indent-increase","break","divider","image","video","attachment","quote","container","code-block","table","divider","source-code","printer","fullscreen","ai"];_r("aie-undo",Zrn);_r("aie-redo",Jrn);_r("aie-brush",Han);_r("aie-container",dsn);_r("aie-custom",fsn);_r("aie-eraser",kan);_r("aie-heading",ran);_r("aie-font-family",oan);_r("aie-font-size",san);_r("aie-bold",lan);_r("aie-italic",can);_r("aie-underline",uan);_r("aie-strike",dan);_r("aie-link",Can);_r("aie-source-code",wan);_r("aie-code",Nan);_r("aie-subscript",fan);_r("aie-superscript",pan);_r("aie-highlight",han);_r("aie-font-color",man);_r("aie-divider",gan);_r("aie-bullet-list",van);_r("aie-ordered-list",ban);_r("aie-indent-decrease",yan);_r("aie-indent-increase",_an);_r("aie-align",Ean);_r("aie-todo",Tan);_r("aie-line-height",Oan);_r("aie-break",Lan);_r("aie-quote",Ran);_r("aie-image",Ian);_r("aie-video",Aan);_r("aie-code-block",Man);_r("aie-hr",Pan);_r("aie-table",Dan);_r("aie-attachment",$an);_r("aie-fullscreen",Fan);_r("aie-printer",Ban);_r("aie-emoji",jan);_r("aie-ai",usn);_r("aie-group",psn);class h5e extends HTMLElement{constructor(){super(),Qt(this,"menuButtons",[])}connectedCallback(){if(this.children&&this.children.length>0)return;const t=document.createElement("div");for(let n of this.menuButtons)t.appendChild(n);t.style.display="flex",t.style.flexWrap="wrap",this.appendChild(t)}onCreate(t,n){let r=n.toolbarKeys||hsn;r=r.filter(i=>{var o;return typeof i=="string"?!((o=n.toolbarExcludeKeys)!=null&&o.includes(i)):!0}).filter((i,o,a)=>{const s=a[o-1];if(typeof i=="string"&&(typeof s=="string"||typeof s>"u")){const l=["divider","|",void 0];return l.includes(i)?!l.includes(s):!0}return!0}),p5e(t,n,this.menuButtons,r)}onTransaction(t){for(let n of this.menuButtons)n.onTransaction(t)}onEditableChange(t){for(let n of this.menuButtons)n.onEditableChange(t)}}class m5e extends HTMLElement{constructor(){super(),Qt(this,"count",0),Qt(this,"draggable",!0)}initDraggable(t){if(this.draggable=!!t,!this.draggable)return;let n,r,i=300,o=300,a,s,l;const c=d=>{d.preventDefault(),document.removeEventListener("mouseup",c),document.removeEventListener("mousemove",u)},u=d=>{const f=d.clientX-n,h=d.clientY-r;if(f==0&&h==0)return;let m=a+f,g=s+h;m{var f;d.target.closest("svg")&&(d.preventDefault(),document.addEventListener("mouseup",c),document.addEventListener("mousemove",u),l=(f=d.target.closest(".aie-container"))==null?void 0:f.parentElement,a=l.clientWidth,s=l.clientHeight,n=d.clientX,r=d.clientY)}),this.addEventListener("mouseup",c)}updateCharacters(){this.draggable?this.innerHTML=`
+ `,this.registerClickListener()}onClick(t){var n;(n=this.editor)!=null&&n.isActive("container")?t.unsetContainer():t.setContainer(""),t.focus()}onActive(t){return t.isActive("container")}}class fsn extends ei{constructor(){super(),Qt(this,"config")}onConfig(t){this.config=t,t.html?this.template=t.html:t.icon&&(this.template=`
${t.icon}
`),this.addEventListener("click",n=>{this.config&&this.config.onClick&&this.config.onClick(n,this.editor.aiEditor)})}}const _r=(e,t)=>{window.customElements.get(e)||window.customElements.define(e,t)},pPe=(e,t,n,r)=>{for(let i of r)if(i)try{if(typeof i=="string"){i=i.trim(),i==="|"&&(i="divider");const o=document.createElement("aie-"+i);if(o.classList.add("aie-menu-item"),o.onCreate(e,t),o.onEditableChange(!!t.editable),i!=="divider"){const a=cr(i);o.setAttribute("data-title",a),o.setAttribute("data-size",t.toolbarSize),a&&So(o,{appendTo:()=>e.editor.view.dom.closest(".aie-container"),content:a,theme:"aietip",arrow:!0})}n.push(o)}else if(i.toolbarKeys){const o=i,a=document.createElement("aie-group");if(a.classList.add("aie-menu-item"),a.onCreate(e,t),a.init(e,t,o),a.onEditableChange(!!t.editable),o.title){const s=cr(o.title);s&&So(a,{appendTo:()=>e.editor.view.dom.closest(".aie-container"),content:s,theme:"aietip",arrow:!0})}n.push(a)}else{const o=i,a=document.createElement("aie-custom");if(a.classList.add("aie-menu-item"),o.id&&a.setAttribute("id",o.id),o.className&&a.classList.add(o.className),a.onCreate(e,t),a.onConfig(o),a.onEditableChange(!!t.editable),o.tip){const s=cr(o.tip);s&&So(a,{appendTo:()=>e.editor.view.dom.closest(".aie-container"),content:s,theme:"aietip",arrow:!0})}o.onCreate&&o.onCreate(a,e.editor.aiEditor),n.push(a)}}catch(o){console.error(o,"Can not create toolbar by key: "+i)}};class psn extends ei{constructor(){super(),Qt(this,"menuButtons",[]),Qt(this,"tippyInstance"),Qt(this,"tippyEl"),Qt(this,"iconSvg",'')}onCreate(t,n){super.onCreate(t,n)}init(t,n,r){pPe(t,n,this.menuButtons,r.toolbarKeys),this.iconSvg=r.icon||this.iconSvg}renderTemplate(){this.template=`
${this.iconSvg}
`}onTransaction(t){for(let n of this.menuButtons)n.onTransaction(t)}connectedCallback(){this.renderTemplate(),super.connectedCallback(),this.tippyInstance=So(this.querySelector("#tippy"),{content:this.createMenuElement(),appendTo:this.closest(".aie-container"),placement:"bottom",trigger:"click",interactive:!0,arrow:!1})}createMenuElement(){const t=document.createElement("div");t.classList.add("aie-dropdown-container");for(let n=0;n{if(a.target.closest(".aie-menu-item"))return;const s=i.querySelector("#tippy");if(s){s.click();return}const l=i.querySelector("#dropdown");if(l){l.click();return}r.click()}),t.appendChild(i)}return this.tippyEl=t,t}}const hsn=["undo","redo","brush","eraser","divider","heading","font-family","font-size","divider","bold","italic","underline","strike","link","code","subscript","superscript","hr","todo","emoji","divider","highlight","font-color","divider","align","line-height","divider","bullet-list","ordered-list","indent-decrease","indent-increase","break","divider","image","video","attachment","quote","container","code-block","table","divider","source-code","printer","fullscreen","ai"];_r("aie-undo",Zrn);_r("aie-redo",Jrn);_r("aie-brush",Han);_r("aie-container",dsn);_r("aie-custom",fsn);_r("aie-eraser",kan);_r("aie-heading",ran);_r("aie-font-family",oan);_r("aie-font-size",san);_r("aie-bold",lan);_r("aie-italic",can);_r("aie-underline",uan);_r("aie-strike",dan);_r("aie-link",Can);_r("aie-source-code",wan);_r("aie-code",Nan);_r("aie-subscript",fan);_r("aie-superscript",pan);_r("aie-highlight",han);_r("aie-font-color",man);_r("aie-divider",gan);_r("aie-bullet-list",van);_r("aie-ordered-list",ban);_r("aie-indent-decrease",yan);_r("aie-indent-increase",_an);_r("aie-align",Ean);_r("aie-todo",Tan);_r("aie-line-height",Oan);_r("aie-break",Lan);_r("aie-quote",Ran);_r("aie-image",Ian);_r("aie-video",Aan);_r("aie-code-block",Man);_r("aie-hr",Pan);_r("aie-table",Dan);_r("aie-attachment",$an);_r("aie-fullscreen",Fan);_r("aie-printer",Ban);_r("aie-emoji",jan);_r("aie-ai",usn);_r("aie-group",psn);class hPe extends HTMLElement{constructor(){super(),Qt(this,"menuButtons",[])}connectedCallback(){if(this.children&&this.children.length>0)return;const t=document.createElement("div");for(let n of this.menuButtons)t.appendChild(n);t.style.display="flex",t.style.flexWrap="wrap",this.appendChild(t)}onCreate(t,n){let r=n.toolbarKeys||hsn;r=r.filter(i=>{var o;return typeof i=="string"?!((o=n.toolbarExcludeKeys)!=null&&o.includes(i)):!0}).filter((i,o,a)=>{const s=a[o-1];if(typeof i=="string"&&(typeof s=="string"||typeof s>"u")){const l=["divider","|",void 0];return l.includes(i)?!l.includes(s):!0}return!0}),pPe(t,n,this.menuButtons,r)}onTransaction(t){for(let n of this.menuButtons)n.onTransaction(t)}onEditableChange(t){for(let n of this.menuButtons)n.onEditableChange(t)}}class mPe extends HTMLElement{constructor(){super(),Qt(this,"count",0),Qt(this,"draggable",!0)}initDraggable(t){if(this.draggable=!!t,!this.draggable)return;let n,r,i=300,o=300,a,s,l;const c=d=>{d.preventDefault(),document.removeEventListener("mouseup",c),document.removeEventListener("mousemove",u)},u=d=>{const f=d.clientX-n,h=d.clientY-r;if(f==0&&h==0)return;let m=a+f,g=s+h;m{var f;d.target.closest("svg")&&(d.preventDefault(),document.addEventListener("mouseup",c),document.addEventListener("mousemove",u),l=(f=d.target.closest(".aie-container"))==null?void 0:f.parentElement,a=l.clientWidth,s=l.clientHeight,n=d.clientX,r=d.clientY)}),this.addEventListener("mouseup",c)}updateCharacters(){this.draggable?this.innerHTML=`
Powered by AiEditor, Characters: ${this.count}
@@ -1191,16 +1191,16 @@ img.ProseMirror-separator { `:this.innerHTML=`
Powered by AiEditor, Characters: ${this.count}
- `}onCreate(t,n){this.count=t.editor.storage.characterCount.characters(),this.updateCharacters()}onTransaction(t){const n=t.editor.storage.characterCount.characters();n!=this.count&&(this.count=n,this.updateCharacters())}onEditableChange(t){}}const msn=/^\s*>\s$/,gsn=wo.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:e}){return["blockquote",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setBlockquote:()=>({commands:e})=>e.wrapIn(this.name),toggleBlockquote:()=>({commands:e})=>e.toggleWrap(this.name),unsetBlockquote:()=>({commands:e})=>e.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[o0({find:msn,type:this.type})]}}),vsn=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,bsn=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,ysn=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,_sn=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,Ssn=Pl.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:e=>e.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:e=>e.type.name===this.name},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}]},renderHTML({HTMLAttributes:e}){return["strong",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[i0({find:vsn,type:this.type}),i0({find:ysn,type:this.type})]},addPasteRules(){return[Eg({find:bsn,type:this.type}),Eg({find:_sn,type:this.type})]}}),Esn="listItem",hfe="textStyle",mfe=/^\s*([-+*])\s$/,Csn=wo.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:e}){return["ul",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Esn,this.editor.getAttributes(hfe)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=o0({find:mfe,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=o0({find:mfe,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(hfe),editor:this.editor})),[e]}}),wsn=/(^|[^`])`([^`]+)`(?!`)/,Tsn=/(^|[^`])`([^`]+)`(?!`)/g,xsn=Pl.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:e}){return["code",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setCode:()=>({commands:e})=>e.setMark(this.name),toggleCode:()=>({commands:e})=>e.toggleMark(this.name),unsetCode:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[i0({find:wsn,type:this.type})]},addPasteRules(){return[Eg({find:Tsn,type:this.type})]}}),Osn=/^```([a-z]+)?[\s\n]$/,Rsn=/^~~~([a-z]+)?[\s\n]$/,g5e=wo.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:e=>{var t;const{languageClassPrefix:n}=this.options;return[...((t=e.firstElementChild)===null||t===void 0?void 0:t.classList)||[]].filter(i=>i.startsWith(n)).map(i=>i.replace(n,""))[0]||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:e,HTMLAttributes:t}){return["pre",zr(this.options.HTMLAttributes,t),["code",{class:e.attrs.language?this.options.languageClassPrefix+e.attrs.language:null},0]]},addCommands(){return{setCodeBlock:e=>({commands:t})=>t.setNode(this.name,e),toggleCodeBlock:e=>({commands:t})=>t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:e,$anchor:t}=this.editor.state.selection,n=t.pos===1;return!e||t.parent.type.name!==this.name?!1:n||!t.parent.textContent.length?this.editor.commands.clearNodes():!1},Enter:({editor:e})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:t}=e,{selection:n}=t,{$from:r,empty:i}=n;if(!i||r.parent.type!==this.type)return!1;const o=r.parentOffset===r.parent.nodeSize-2,a=r.parent.textContent.endsWith(` + `}onCreate(t,n){this.count=t.editor.storage.characterCount.characters(),this.updateCharacters()}onTransaction(t){const n=t.editor.storage.characterCount.characters();n!=this.count&&(this.count=n,this.updateCharacters())}onEditableChange(t){}}const msn=/^\s*>\s$/,gsn=wo.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:e}){return["blockquote",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setBlockquote:()=>({commands:e})=>e.wrapIn(this.name),toggleBlockquote:()=>({commands:e})=>e.toggleWrap(this.name),unsetBlockquote:()=>({commands:e})=>e.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[o0({find:msn,type:this.type})]}}),vsn=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,bsn=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,ysn=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,_sn=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,Ssn=Pl.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:e=>e.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:e=>e.type.name===this.name},{style:"font-weight",getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}]},renderHTML({HTMLAttributes:e}){return["strong",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[i0({find:vsn,type:this.type}),i0({find:ysn,type:this.type})]},addPasteRules(){return[Eg({find:bsn,type:this.type}),Eg({find:_sn,type:this.type})]}}),Esn="listItem",hfe="textStyle",mfe=/^\s*([-+*])\s$/,Csn=wo.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:e}){return["ul",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleBulletList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(Esn,this.editor.getAttributes(hfe)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let e=o0({find:mfe,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(e=o0({find:mfe,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(hfe),editor:this.editor})),[e]}}),wsn=/(^|[^`])`([^`]+)`(?!`)/,Tsn=/(^|[^`])`([^`]+)`(?!`)/g,xsn=Pl.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:e}){return["code",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setCode:()=>({commands:e})=>e.setMark(this.name),toggleCode:()=>({commands:e})=>e.toggleMark(this.name),unsetCode:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[i0({find:wsn,type:this.type})]},addPasteRules(){return[Eg({find:Tsn,type:this.type})]}}),Osn=/^```([a-z]+)?[\s\n]$/,Rsn=/^~~~([a-z]+)?[\s\n]$/,gPe=wo.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:e=>{var t;const{languageClassPrefix:n}=this.options;return[...((t=e.firstElementChild)===null||t===void 0?void 0:t.classList)||[]].filter(i=>i.startsWith(n)).map(i=>i.replace(n,""))[0]||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:e,HTMLAttributes:t}){return["pre",zr(this.options.HTMLAttributes,t),["code",{class:e.attrs.language?this.options.languageClassPrefix+e.attrs.language:null},0]]},addCommands(){return{setCodeBlock:e=>({commands:t})=>t.setNode(this.name,e),toggleCodeBlock:e=>({commands:t})=>t.toggleNode(this.name,"paragraph",e)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:e,$anchor:t}=this.editor.state.selection,n=t.pos===1;return!e||t.parent.type.name!==this.name?!1:n||!t.parent.textContent.length?this.editor.commands.clearNodes():!1},Enter:({editor:e})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:t}=e,{selection:n}=t,{$from:r,empty:i}=n;if(!i||r.parent.type!==this.type)return!1;const o=r.parentOffset===r.parent.nodeSize-2,a=r.parent.textContent.endsWith(` `);return!o||!a?!1:e.chain().command(({tr:s})=>(s.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowDown:({editor:e})=>{if(!this.options.exitOnArrowDown)return!1;const{state:t}=e,{selection:n,doc:r}=t,{$from:i,empty:o}=n;if(!o||i.parent.type!==this.type||i.parentOffset!==i.parent.nodeSize-2)return!1;const a=i.after();return a===void 0?!1:r.nodeAt(a)?e.commands.command(({tr:s})=>(s.setSelection(mr.near(r.resolve(a))),!0)):e.commands.exitCode()}}},addInputRules(){return[vV({find:Osn,type:this.type,getAttributes:e=>({language:e[1]})}),vV({find:Rsn,type:this.type,getAttributes:e=>({language:e[1]})})]},addProseMirrorPlugins(){return[new Ei({key:new $i("codeBlockVSCodeHandler"),props:{handlePaste:(e,t)=>{if(!t.clipboardData||this.editor.isActive(this.type.name))return!1;const n=t.clipboardData.getData("text/plain"),r=t.clipboardData.getData("vscode-editor-data"),i=r?JSON.parse(r):void 0,o=i==null?void 0:i.mode;if(!n||!o)return!1;const{tr:a,schema:s}=e.state,l=s.text(n.replace(/\r\n?/g,` `));return a.replaceSelectionWith(this.type.create({language:o},l)),a.selection.$from.parent.type!==this.type&&a.setSelection(Zn.near(a.doc.resolve(Math.max(0,a.selection.from-2)))),a.setMeta("paste",!0),e.dispatch(a),!0}}})]}}),Isn=wo.create({name:"doc",topNode:!0,content:"block+"});function Asn(e={}){return new Ei({view(t){return new Nsn(t,e)}})}class Nsn{constructor(t,n){var r;this.editorView=t,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(i=>{let o=a=>{this[i](a)};return t.dom.addEventListener(i,o),{name:i,handler:o}})}destroy(){this.handlers.forEach(({name:t,handler:n})=>this.editorView.dom.removeEventListener(t,n))}update(t,n){this.cursorPos!=null&&n.doc!=t.state.doc&&(this.cursorPos>t.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(t){t!=this.cursorPos&&(this.cursorPos=t,t==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let t=this.editorView.state.doc.resolve(this.cursorPos),n=!t.parent.inlineContent,r;if(n){let s=t.nodeBefore,l=t.nodeAfter;if(s||l){let c=this.editorView.nodeDOM(this.cursorPos-(s?s.nodeSize:0));if(c){let u=c.getBoundingClientRect(),d=s?u.bottom:u.top;s&&l&&(d=(d+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2),r={left:u.left,right:u.right,top:d-this.width/2,bottom:d+this.width/2}}}}if(!r){let s=this.editorView.coordsAtPos(this.cursorPos);r={left:s.left-this.width/2,right:s.left+this.width/2,top:s.top,bottom:s.bottom}}let i=this.editorView.dom.offsetParent;this.element||(this.element=i.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let o,a;if(!i||i==document.body&&getComputedStyle(i).position=="static")o=-pageXOffset,a=-pageYOffset;else{let s=i.getBoundingClientRect();o=s.left-i.scrollLeft,a=s.top-i.scrollTop}this.element.style.left=r.left-o+"px",this.element.style.top=r.top-a+"px",this.element.style.width=r.right-r.left+"px",this.element.style.height=r.bottom-r.top+"px"}scheduleRemoval(t){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),t)}dragover(t){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:t.clientX,top:t.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),i=r&&r.type.spec.disableDropCursor,o=typeof i=="function"?i(this.editorView,n,t):i;if(n&&!o){let a=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let s=Mke(this.editorView.state.doc,a,this.editorView.dragging.slice);s!=null&&(a=s)}this.setCursor(a),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(t){(t.target==this.editorView.dom||!this.editorView.dom.contains(t.relatedTarget))&&this.setCursor(null)}}const Msn=gi.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[Asn(this.options)]}});class Vo extends mr{constructor(t){super(t,t)}map(t,n){let r=t.resolve(n.map(this.head));return Vo.valid(r)?new Vo(r):mr.near(r)}content(){return Rn.empty}eq(t){return t instanceof Vo&&t.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(t,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new Vo(t.resolve(n.pos))}getBookmark(){return new PX(this.anchor)}static valid(t){let n=t.parent;if(n.isTextblock||!ksn(t)||!Psn(t))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let i=n.contentMatchAt(t.index()).defaultType;return i&&i.isTextblock}static findGapCursorFrom(t,n,r=!1){e:for(;;){if(!r&&Vo.valid(t))return t;let i=t.pos,o=null;for(let a=t.depth;;a--){let s=t.node(a);if(n>0?t.indexAfter(a)0){o=s.child(n>0?t.indexAfter(a):t.index(a)-1);break}else if(a==0)return null;i+=n;let l=t.doc.resolve(i);if(Vo.valid(l))return l}for(;;){let a=n>0?o.firstChild:o.lastChild;if(!a){if(o.isAtom&&!o.isText&&!sr.isSelectable(o)){t=t.doc.resolve(i+o.nodeSize*n),r=!1;continue e}break}o=a,i+=n;let s=t.doc.resolve(i);if(Vo.valid(s))return s}return null}}}Vo.prototype.visible=!1;Vo.findFrom=Vo.findGapCursorFrom;mr.jsonID("gapcursor",Vo);class PX{constructor(t){this.pos=t}map(t){return new PX(t.map(this.pos))}resolve(t){let n=t.resolve(this.pos);return Vo.valid(n)?new Vo(n):mr.near(n)}}function ksn(e){for(let t=e.depth;t>=0;t--){let n=e.index(t),r=e.node(t);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n-1);;i=i.lastChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function Psn(e){for(let t=e.depth;t>=0;t--){let n=e.indexAfter(t),r=e.node(t);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let i=r.child(n);;i=i.firstChild){if(i.childCount==0&&!i.inlineContent||i.isAtom||i.type.spec.isolating)return!0;if(i.inlineContent)return!1}}return!0}function Dsn(){return new Ei({props:{decorations:Bsn,createSelectionBetween(e,t,n){return t.pos==n.pos&&Vo.valid(n)?new Vo(n):null},handleClick:$sn,handleKeyDown:Lsn,handleDOMEvents:{beforeinput:Fsn}}})}const Lsn=mX({ArrowLeft:mI("horiz",-1),ArrowRight:mI("horiz",1),ArrowUp:mI("vert",-1),ArrowDown:mI("vert",1)});function mI(e,t){const n=e=="vert"?t>0?"down":"up":t>0?"right":"left";return function(r,i,o){let a=r.selection,s=t>0?a.$to:a.$from,l=a.empty;if(a instanceof Zn){if(!o.endOfTextblock(n)||s.depth==0)return!1;l=!1,s=r.doc.resolve(t>0?s.after():s.before())}let c=Vo.findGapCursorFrom(s,t,l);return c?(i&&i(r.tr.setSelection(new Vo(c))),!0):!1}}function $sn(e,t,n){if(!e||!e.editable)return!1;let r=e.state.doc.resolve(t);if(!Vo.valid(r))return!1;let i=e.posAtCoords({left:n.clientX,top:n.clientY});return i&&i.inside>-1&&sr.isSelectable(e.state.doc.nodeAt(i.inside))?!1:(e.dispatch(e.state.tr.setSelection(new Vo(r))),!0)}function Fsn(e,t){if(t.inputType!="insertCompositionText"||!(e.state.selection instanceof Vo))return!1;let{$from:n}=e.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(e.state.schema.nodes.text);if(!r)return!1;let i=Zt.empty;for(let a=r.length-1;a>=0;a--)i=Zt.from(r[a].createAndFill(null,i));let o=e.state.tr.replace(n.pos,n.pos,new Rn(i,0,0));return o.setSelection(Zn.near(o.doc.resolve(n.pos+1))),e.dispatch(o),!1}function Bsn(e){if(!(e.selection instanceof Vo))return null;let t=document.createElement("div");return t.className="ProseMirror-gapcursor",Ci.create(e.doc,[na.widget(e.selection.head,t,{key:"gapcursor"})])}const jsn=gi.create({name:"gapCursor",addProseMirrorPlugins(){return[Dsn()]},extendNodeSchema(e){var t;const n={name:e.name,options:e.options,storage:e.storage};return{allowGapCursor:(t=Ar(Wn(e,"allowGapCursor",n)))!==null&&t!==void 0?t:null}}}),Hsn=wo.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:e}){return["br",zr(this.options.HTMLAttributes,e)]},renderText(){return` -`},addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:n,editor:r})=>e.first([()=>e.exitCode(),()=>e.command(()=>{const{selection:i,storedMarks:o}=n;if(i.$from.parent.type.spec.isolating)return!1;const{keepMarks:a}=this.options,{splittableMarks:s}=r.extensionManager,l=o||i.$to.parentOffset&&i.$from.marks();return t().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&l&&a){const d=l.filter(f=>s.includes(f.type.name));c.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),v5e=wo.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(e=>({tag:`h${e}`,attrs:{level:e}}))},renderHTML({node:e,HTMLAttributes:t}){return[`h${this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0]}`,zr(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:e=>({commands:t})=>this.options.levels.includes(e.level)?t.setNode(this.name,e):!1,toggleHeading:e=>({commands:t})=>this.options.levels.includes(e.level)?t.toggleNode(this.name,"paragraph",e):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((e,t)=>({...e,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})}),{})},addInputRules(){return this.options.levels.map(e=>vV({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${e}})\\s$`),type:this.type,getAttributes:{level:e}}))}});var o4=200,za=function(){};za.prototype.append=function(e){return e.length?(e=za.from(e),!this.length&&e||e.length=t?za.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))};za.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};za.prototype.forEach=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)};za.prototype.map=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length);var r=[];return this.forEach(function(i,o){return r.push(e(i,o))},t,n),r};za.from=function(e){return e instanceof za?e:e&&e.length?new b5e(e):za.empty};var b5e=function(e){function t(r){e.call(this),this.values=r}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(r,i){return r==0&&i==this.length?this:new t(this.values.slice(r,i))},t.prototype.getInner=function(r){return this.values[r]},t.prototype.forEachInner=function(r,i,o,a){for(var s=i;s=o;s--)if(r(this.values[s],a+s)===!1)return!1},t.prototype.leafAppend=function(r){if(this.length+r.length<=o4)return new t(this.values.concat(r.flatten()))},t.prototype.leafPrepend=function(r){if(this.length+r.length<=o4)return new t(r.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(za);za.empty=new b5e([]);var Usn=function(e){function t(n,r){e.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(n){return na&&this.right.forEachInner(n,Math.max(r-a,0),Math.min(this.length,i)-a,o+a)===!1)return!1},t.prototype.forEachInvertedInner=function(n,r,i,o){var a=this.left.length;if(r>a&&this.right.forEachInvertedInner(n,r-a,Math.max(i,a)-a,o+a)===!1||i=i?this.right.slice(n-i,r-i):this.left.slice(n,i).append(this.right.slice(0,r-i))},t.prototype.leafAppend=function(n){var r=this.right.leafAppend(n);if(r)return new t(this.left,r)},t.prototype.leafPrepend=function(n){var r=this.left.leafPrepend(n);if(r)return new t(r,this.right)},t.prototype.appendInner=function(n){return this.left.depth>=Math.max(this.right.depth,n.depth)+1?new t(this.left,new t(this.right,n)):new t(this,n)},t}(za);const zsn=500;class nd{constructor(t,n){this.items=t,this.eventCount=n}popEvent(t,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,o;n&&(i=this.remapping(r,this.items.length),o=i.maps.length);let a=t.tr,s,l,c=[],u=[];return this.items.forEach((d,f)=>{if(!d.step){i||(i=this.remapping(r,f+1),o=i.maps.length),o--,u.push(d);return}if(i){u.push(new nf(d.map));let h=d.step.map(i.slice(o)),m;h&&a.maybeStep(h).doc&&(m=a.mapping.maps[a.mapping.maps.length-1],c.push(new nf(m,void 0,void 0,c.length+u.length))),o--,m&&i.appendMap(m,o)}else a.maybeStep(d.step);if(d.selection)return s=i?d.selection.map(i.slice(o)):d.selection,l=new nd(this.items.slice(0,r).append(u.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(t,n,r,i){let o=[],a=this.eventCount,s=this.items,l=!i&&s.length?s.get(s.length-1):null;for(let u=0;uGsn&&(s=Vsn(s,c),a-=c),new nd(s.append(o),a)}remapping(t,n){let r=new Ry;return this.items.forEach((i,o)=>{let a=i.mirrorOffset!=null&&o-i.mirrorOffset>=t?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,a)},t,n),r}addMaps(t){return this.eventCount==0?this:new nd(this.items.append(t.map(n=>new nf(n))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),o=t.mapping,a=t.steps.length,s=this.eventCount;this.items.forEach(f=>{f.selection&&s--},i);let l=n;this.items.forEach(f=>{let h=o.getMirror(--l);if(h==null)return;a=Math.min(a,h);let m=o.maps[h];if(f.step){let g=t.steps[h].invert(t.docs[h]),v=f.selection&&f.selection.map(o.slice(l+1,h));v&&s++,r.push(new nf(m,g,v))}else r.push(new nf(m))},i);let c=[];for(let f=n;fzsn&&(d=d.compress(this.items.length-r.length)),d}emptyItemCount(){let t=0;return this.items.forEach(n=>{n.step||t++}),t}compress(t=this.items.length){let n=this.remapping(0,t),r=n.maps.length,i=[],o=0;return this.items.forEach((a,s)=>{if(s>=t)i.push(a),a.selection&&o++;else if(a.step){let l=a.step.map(n.slice(r)),c=l&&l.getMap();if(r--,c&&n.appendMap(c,r),l){let u=a.selection&&a.selection.map(n.slice(r));u&&o++;let d=new nf(c.invert(),l,u),f,h=i.length-1;(f=i.length&&i[h].merge(d))?i[h]=f:i.push(d)}}else a.map&&r--},this.items.length,0),new nd(za.from(i.reverse()),o)}}nd.empty=new nd(za.empty,0);function Vsn(e,t){let n;return e.forEach((r,i)=>{if(r.selection&&t--==0)return n=i,!1}),e.slice(n)}class nf{constructor(t,n,r,i){this.map=t,this.step=n,this.selection=r,this.mirrorOffset=i}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new nf(n.getMap().invert(),n,this.selection)}}}class hm{constructor(t,n,r,i,o){this.done=t,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}}const Gsn=20;function Wsn(e,t,n,r){let i=n.getMeta(wv),o;if(i)return i.historyState;n.getMeta(Ksn)&&(e=new hm(e.done,e.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return e;if(a&&a.getMeta(wv))return a.getMeta(wv).redo?new hm(e.done.addTransform(n,void 0,r,bN(t)),e.undone,gfe(n.mapping.maps),e.prevTime,e.prevComposition):new hm(e.done,e.undone.addTransform(n,void 0,r,bN(t)),null,e.prevTime,e.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),l=e.prevTime==0||!a&&e.prevComposition!=s&&(e.prevTime<(n.time||0)-r.newGroupDelay||!qsn(n,e.prevRanges)),c=a?z6(e.prevRanges,n.mapping):gfe(n.mapping.maps);return new hm(e.done.addTransform(n,l?t.selection.getBookmark():void 0,r,bN(t)),nd.empty,c,n.time,s??e.prevComposition)}else return(o=n.getMeta("rebased"))?new hm(e.done.rebased(n,o),e.undone.rebased(n,o),z6(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new hm(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),z6(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function qsn(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((r,i)=>{for(let o=0;o=t[o]&&(n=!0)}),n}function gfe(e){let t=[];for(let n=e.length-1;n>=0&&t.length==0;n--)e[n].forEach((r,i,o,a)=>t.push(o,a));return t}function z6(e,t){if(!e)return null;let n=[];for(let r=0;r{let i=wv.getState(n);if(!i||(e?i.undone:i.done).eventCount==0)return!1;if(r){let o=Ysn(i,n,e);o&&r(o.scrollIntoView())}return!0}}const _5e=y5e(!1),S5e=y5e(!0),Xsn=gi.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:e,dispatch:t})=>_5e(e,t),redo:()=>({state:e,dispatch:t})=>S5e(e,t)}},addProseMirrorPlugins(){return[Qsn(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),Zsn=wo.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:e}){return["hr",zr(this.options.HTMLAttributes,e)]},addCommands(){return{setHorizontalRule:()=>({chain:e,state:t})=>{const{selection:n}=t,{$from:r,$to:i}=n,o=e();return r.parentOffset===0?o.insertContentAt({from:Math.max(r.pos-1,0),to:i.pos},{type:this.name}):L4e(n)?o.insertContentAt(i.pos,{type:this.name}):o.insertContent({type:this.name}),o.command(({tr:a,dispatch:s})=>{var l;if(s){const{$to:c}=a.selection,u=c.end();if(c.nodeAfter)c.nodeAfter.isTextblock?a.setSelection(Zn.create(a.doc,c.pos+1)):c.nodeAfter.isBlock?a.setSelection(sr.create(a.doc,c.pos)):a.setSelection(Zn.create(a.doc,c.pos));else{const d=(l=c.parent.type.contentMatch.defaultType)===null||l===void 0?void 0:l.create();d&&(a.insert(u,d),a.setSelection(Zn.create(a.doc,u+1)))}a.scrollIntoView()}return!0}).run()}}},addInputRules(){return[wX({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),Jsn=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,eln=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,tln=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,nln=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,rln=Pl.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:e=>e.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:e=>e.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:e}){return["em",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=>({commands:e})=>e.setMark(this.name),toggleItalic:()=>({commands:e})=>e.toggleMark(this.name),unsetItalic:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[i0({find:Jsn,type:this.type}),i0({find:tln,type:this.type})]},addPasteRules(){return[Eg({find:eln,type:this.type}),Eg({find:nln,type:this.type})]}}),iln=wo.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:e}){return["li",zr(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),oln="listItem",bfe="textStyle",yfe=/^(\d+)\.\s$/,aln=wo.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1},type:{default:null,parseHTML:e=>e.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:e}){const{start:t,...n}=e;return t===1?["ol",zr(this.options.HTMLAttributes,n),0]:["ol",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(oln,this.editor.getAttributes(bfe)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=o0({find:yfe,type:this.type,getAttributes:t=>({start:+t[1]}),joinPredicate:(t,n)=>n.childCount+n.attrs.start===+t[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=o0({find:yfe,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:t=>({start:+t[1],...this.editor.getAttributes(bfe)}),joinPredicate:(t,n)=>n.childCount+n.attrs.start===+t[1],editor:this.editor})),[e]}}),sln=wo.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:e}){return["p",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),lln=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,cln=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,uln=Pl.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:e=>e.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:e}){return["s",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setStrike:()=>({commands:e})=>e.setMark(this.name),toggleStrike:()=>({commands:e})=>e.toggleMark(this.name),unsetStrike:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[i0({find:lln,type:this.type})]},addPasteRules(){return[Eg({find:cln,type:this.type})]}}),dln=wo.create({name:"text",group:"inline"}),fln=gi.create({name:"starterKit",addExtensions(){const e=[];return this.options.bold!==!1&&e.push(Ssn.configure(this.options.bold)),this.options.blockquote!==!1&&e.push(gsn.configure(this.options.blockquote)),this.options.bulletList!==!1&&e.push(Csn.configure(this.options.bulletList)),this.options.code!==!1&&e.push(xsn.configure(this.options.code)),this.options.codeBlock!==!1&&e.push(g5e.configure(this.options.codeBlock)),this.options.document!==!1&&e.push(Isn.configure(this.options.document)),this.options.dropcursor!==!1&&e.push(Msn.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&e.push(jsn.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&e.push(Hsn.configure(this.options.hardBreak)),this.options.heading!==!1&&e.push(v5e.configure(this.options.heading)),this.options.history!==!1&&e.push(Xsn.configure(this.options.history)),this.options.horizontalRule!==!1&&e.push(Zsn.configure(this.options.horizontalRule)),this.options.italic!==!1&&e.push(rln.configure(this.options.italic)),this.options.listItem!==!1&&e.push(iln.configure(this.options.listItem)),this.options.orderedList!==!1&&e.push(aln.configure(this.options.orderedList)),this.options.paragraph!==!1&&e.push(sln.configure(this.options.paragraph)),this.options.strike!==!1&&e.push(uln.configure(this.options.strike)),this.options.text!==!1&&e.push(dln.configure(this.options.text)),e}}),pln=Pl.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:e=>e.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:e}){return["u",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setUnderline:()=>({commands:e})=>e.setMark(this.name),toggleUnderline:()=>({commands:e})=>e.toggleMark(this.name),unsetUnderline:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),hln=e=>{if(!e.children.length)return;const t=e.querySelectorAll("span");t&&t.forEach(n=>{var r,i;const o=n.getAttribute("style"),a=(i=(r=n.parentElement)===null||r===void 0?void 0:r.closest("span"))===null||i===void 0?void 0:i.getAttribute("style");n.setAttribute("style",`${a};${o}`)})},mln=Pl.create({name:"textStyle",priority:101,addOptions(){return{HTMLAttributes:{},mergeNestedSpanStyles:!1}},parseHTML(){return[{tag:"span",getAttrs:e=>e.hasAttribute("style")?(this.options.mergeNestedSpanStyles&&hln(e),{}):!1}]},renderHTML({HTMLAttributes:e}){return["span",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({tr:e})=>{const{selection:t}=e;return e.doc.nodesBetween(t.from,t.to,(n,r)=>{if(n.isTextblock)return!0;n.marks.filter(i=>i.type===this.type).some(i=>Object.values(i.attrs).some(o=>!!o))||e.removeMark(r,r+n.nodeSize,this.type)}),!0}}}}),gln=gi.create({name:"fontFamily",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontFamily:{default:null,parseHTML:e=>e.style.fontFamily,renderHTML:e=>e.fontFamily?{style:`font-family: ${e.fontFamily}`}:{}}}}]},addCommands(){return{setFontFamily:e=>({chain:t})=>t().setMark("textStyle",{fontFamily:e}).run(),unsetFontFamily:()=>({chain:e})=>e().setMark("textStyle",{fontFamily:null}).removeEmptyTextStyle().run()}}}),E5e=e=>{const t=document.createElement("div");return t.classList.add("aie-loader-placeholder"),t.innerHTML=` +`},addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:n,editor:r})=>e.first([()=>e.exitCode(),()=>e.command(()=>{const{selection:i,storedMarks:o}=n;if(i.$from.parent.type.spec.isolating)return!1;const{keepMarks:a}=this.options,{splittableMarks:s}=r.extensionManager,l=o||i.$to.parentOffset&&i.$from.marks();return t().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&l&&a){const d=l.filter(f=>s.includes(f.type.name));c.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),vPe=wo.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(e=>({tag:`h${e}`,attrs:{level:e}}))},renderHTML({node:e,HTMLAttributes:t}){return[`h${this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0]}`,zr(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:e=>({commands:t})=>this.options.levels.includes(e.level)?t.setNode(this.name,e):!1,toggleHeading:e=>({commands:t})=>this.options.levels.includes(e.level)?t.toggleNode(this.name,"paragraph",e):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((e,t)=>({...e,[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})}),{})},addInputRules(){return this.options.levels.map(e=>vV({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${e}})\\s$`),type:this.type,getAttributes:{level:e}}))}});var o4=200,za=function(){};za.prototype.append=function(e){return e.length?(e=za.from(e),!this.length&&e||e.length=t?za.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))};za.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};za.prototype.forEach=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)};za.prototype.map=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length);var r=[];return this.forEach(function(i,o){return r.push(e(i,o))},t,n),r};za.from=function(e){return e instanceof za?e:e&&e.length?new bPe(e):za.empty};var bPe=function(e){function t(r){e.call(this),this.values=r}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(r,i){return r==0&&i==this.length?this:new t(this.values.slice(r,i))},t.prototype.getInner=function(r){return this.values[r]},t.prototype.forEachInner=function(r,i,o,a){for(var s=i;s=o;s--)if(r(this.values[s],a+s)===!1)return!1},t.prototype.leafAppend=function(r){if(this.length+r.length<=o4)return new t(this.values.concat(r.flatten()))},t.prototype.leafPrepend=function(r){if(this.length+r.length<=o4)return new t(r.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(za);za.empty=new bPe([]);var Usn=function(e){function t(n,r){e.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(n){return na&&this.right.forEachInner(n,Math.max(r-a,0),Math.min(this.length,i)-a,o+a)===!1)return!1},t.prototype.forEachInvertedInner=function(n,r,i,o){var a=this.left.length;if(r>a&&this.right.forEachInvertedInner(n,r-a,Math.max(i,a)-a,o+a)===!1||i=i?this.right.slice(n-i,r-i):this.left.slice(n,i).append(this.right.slice(0,r-i))},t.prototype.leafAppend=function(n){var r=this.right.leafAppend(n);if(r)return new t(this.left,r)},t.prototype.leafPrepend=function(n){var r=this.left.leafPrepend(n);if(r)return new t(r,this.right)},t.prototype.appendInner=function(n){return this.left.depth>=Math.max(this.right.depth,n.depth)+1?new t(this.left,new t(this.right,n)):new t(this,n)},t}(za);const zsn=500;class nd{constructor(t,n){this.items=t,this.eventCount=n}popEvent(t,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,o;n&&(i=this.remapping(r,this.items.length),o=i.maps.length);let a=t.tr,s,l,c=[],u=[];return this.items.forEach((d,f)=>{if(!d.step){i||(i=this.remapping(r,f+1),o=i.maps.length),o--,u.push(d);return}if(i){u.push(new nf(d.map));let h=d.step.map(i.slice(o)),m;h&&a.maybeStep(h).doc&&(m=a.mapping.maps[a.mapping.maps.length-1],c.push(new nf(m,void 0,void 0,c.length+u.length))),o--,m&&i.appendMap(m,o)}else a.maybeStep(d.step);if(d.selection)return s=i?d.selection.map(i.slice(o)):d.selection,l=new nd(this.items.slice(0,r).append(u.reverse().concat(c)),this.eventCount-1),!1},this.items.length,0),{remaining:l,transform:a,selection:s}}addTransform(t,n,r,i){let o=[],a=this.eventCount,s=this.items,l=!i&&s.length?s.get(s.length-1):null;for(let u=0;uGsn&&(s=Vsn(s,c),a-=c),new nd(s.append(o),a)}remapping(t,n){let r=new Ry;return this.items.forEach((i,o)=>{let a=i.mirrorOffset!=null&&o-i.mirrorOffset>=t?r.maps.length-i.mirrorOffset:void 0;r.appendMap(i.map,a)},t,n),r}addMaps(t){return this.eventCount==0?this:new nd(this.items.append(t.map(n=>new nf(n))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;let r=[],i=Math.max(0,this.items.length-n),o=t.mapping,a=t.steps.length,s=this.eventCount;this.items.forEach(f=>{f.selection&&s--},i);let l=n;this.items.forEach(f=>{let h=o.getMirror(--l);if(h==null)return;a=Math.min(a,h);let m=o.maps[h];if(f.step){let g=t.steps[h].invert(t.docs[h]),v=f.selection&&f.selection.map(o.slice(l+1,h));v&&s++,r.push(new nf(m,g,v))}else r.push(new nf(m))},i);let c=[];for(let f=n;fzsn&&(d=d.compress(this.items.length-r.length)),d}emptyItemCount(){let t=0;return this.items.forEach(n=>{n.step||t++}),t}compress(t=this.items.length){let n=this.remapping(0,t),r=n.maps.length,i=[],o=0;return this.items.forEach((a,s)=>{if(s>=t)i.push(a),a.selection&&o++;else if(a.step){let l=a.step.map(n.slice(r)),c=l&&l.getMap();if(r--,c&&n.appendMap(c,r),l){let u=a.selection&&a.selection.map(n.slice(r));u&&o++;let d=new nf(c.invert(),l,u),f,h=i.length-1;(f=i.length&&i[h].merge(d))?i[h]=f:i.push(d)}}else a.map&&r--},this.items.length,0),new nd(za.from(i.reverse()),o)}}nd.empty=new nd(za.empty,0);function Vsn(e,t){let n;return e.forEach((r,i)=>{if(r.selection&&t--==0)return n=i,!1}),e.slice(n)}class nf{constructor(t,n,r,i){this.map=t,this.step=n,this.selection=r,this.mirrorOffset=i}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new nf(n.getMap().invert(),n,this.selection)}}}class hm{constructor(t,n,r,i,o){this.done=t,this.undone=n,this.prevRanges=r,this.prevTime=i,this.prevComposition=o}}const Gsn=20;function Wsn(e,t,n,r){let i=n.getMeta(wv),o;if(i)return i.historyState;n.getMeta(Ksn)&&(e=new hm(e.done,e.undone,null,0,-1));let a=n.getMeta("appendedTransaction");if(n.steps.length==0)return e;if(a&&a.getMeta(wv))return a.getMeta(wv).redo?new hm(e.done.addTransform(n,void 0,r,bN(t)),e.undone,gfe(n.mapping.maps),e.prevTime,e.prevComposition):new hm(e.done,e.undone.addTransform(n,void 0,r,bN(t)),null,e.prevTime,e.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(a&&a.getMeta("addToHistory")===!1)){let s=n.getMeta("composition"),l=e.prevTime==0||!a&&e.prevComposition!=s&&(e.prevTime<(n.time||0)-r.newGroupDelay||!qsn(n,e.prevRanges)),c=a?z6(e.prevRanges,n.mapping):gfe(n.mapping.maps);return new hm(e.done.addTransform(n,l?t.selection.getBookmark():void 0,r,bN(t)),nd.empty,c,n.time,s??e.prevComposition)}else return(o=n.getMeta("rebased"))?new hm(e.done.rebased(n,o),e.undone.rebased(n,o),z6(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new hm(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),z6(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function qsn(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((r,i)=>{for(let o=0;o=t[o]&&(n=!0)}),n}function gfe(e){let t=[];for(let n=e.length-1;n>=0&&t.length==0;n--)e[n].forEach((r,i,o,a)=>t.push(o,a));return t}function z6(e,t){if(!e)return null;let n=[];for(let r=0;r{let i=wv.getState(n);if(!i||(e?i.undone:i.done).eventCount==0)return!1;if(r){let o=Ysn(i,n,e);o&&r(o.scrollIntoView())}return!0}}const _Pe=yPe(!1),SPe=yPe(!0),Xsn=gi.create({name:"history",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:e,dispatch:t})=>_Pe(e,t),redo:()=>({state:e,dispatch:t})=>SPe(e,t)}},addProseMirrorPlugins(){return[Qsn(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),Zsn=wo.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:e}){return["hr",zr(this.options.HTMLAttributes,e)]},addCommands(){return{setHorizontalRule:()=>({chain:e,state:t})=>{const{selection:n}=t,{$from:r,$to:i}=n,o=e();return r.parentOffset===0?o.insertContentAt({from:Math.max(r.pos-1,0),to:i.pos},{type:this.name}):L4e(n)?o.insertContentAt(i.pos,{type:this.name}):o.insertContent({type:this.name}),o.command(({tr:a,dispatch:s})=>{var l;if(s){const{$to:c}=a.selection,u=c.end();if(c.nodeAfter)c.nodeAfter.isTextblock?a.setSelection(Zn.create(a.doc,c.pos+1)):c.nodeAfter.isBlock?a.setSelection(sr.create(a.doc,c.pos)):a.setSelection(Zn.create(a.doc,c.pos));else{const d=(l=c.parent.type.contentMatch.defaultType)===null||l===void 0?void 0:l.create();d&&(a.insert(u,d),a.setSelection(Zn.create(a.doc,u+1)))}a.scrollIntoView()}return!0}).run()}}},addInputRules(){return[wX({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),Jsn=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,eln=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,tln=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,nln=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,rln=Pl.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:e=>e.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:e=>e.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:e}){return["em",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=>({commands:e})=>e.setMark(this.name),toggleItalic:()=>({commands:e})=>e.toggleMark(this.name),unsetItalic:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[i0({find:Jsn,type:this.type}),i0({find:tln,type:this.type})]},addPasteRules(){return[Eg({find:eln,type:this.type}),Eg({find:nln,type:this.type})]}}),iln=wo.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:e}){return["li",zr(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),oln="listItem",bfe="textStyle",yfe=/^(\d+)\.\s$/,aln=wo.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:e=>e.hasAttribute("start")?parseInt(e.getAttribute("start")||"",10):1},type:{default:null,parseHTML:e=>e.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:e}){const{start:t,...n}=e;return t===1?["ol",zr(this.options.HTMLAttributes,n),0]:["ol",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{toggleOrderedList:()=>({commands:e,chain:t})=>this.options.keepAttributes?t().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(oln,this.editor.getAttributes(bfe)).run():e.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let e=o0({find:yfe,type:this.type,getAttributes:t=>({start:+t[1]}),joinPredicate:(t,n)=>n.childCount+n.attrs.start===+t[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(e=o0({find:yfe,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:t=>({start:+t[1],...this.editor.getAttributes(bfe)}),joinPredicate:(t,n)=>n.childCount+n.attrs.start===+t[1],editor:this.editor})),[e]}}),sln=wo.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:e}){return["p",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),lln=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,cln=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,uln=Pl.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:e=>e.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:e}){return["s",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setStrike:()=>({commands:e})=>e.setMark(this.name),toggleStrike:()=>({commands:e})=>e.toggleMark(this.name),unsetStrike:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[i0({find:lln,type:this.type})]},addPasteRules(){return[Eg({find:cln,type:this.type})]}}),dln=wo.create({name:"text",group:"inline"}),fln=gi.create({name:"starterKit",addExtensions(){const e=[];return this.options.bold!==!1&&e.push(Ssn.configure(this.options.bold)),this.options.blockquote!==!1&&e.push(gsn.configure(this.options.blockquote)),this.options.bulletList!==!1&&e.push(Csn.configure(this.options.bulletList)),this.options.code!==!1&&e.push(xsn.configure(this.options.code)),this.options.codeBlock!==!1&&e.push(gPe.configure(this.options.codeBlock)),this.options.document!==!1&&e.push(Isn.configure(this.options.document)),this.options.dropcursor!==!1&&e.push(Msn.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&e.push(jsn.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&e.push(Hsn.configure(this.options.hardBreak)),this.options.heading!==!1&&e.push(vPe.configure(this.options.heading)),this.options.history!==!1&&e.push(Xsn.configure(this.options.history)),this.options.horizontalRule!==!1&&e.push(Zsn.configure(this.options.horizontalRule)),this.options.italic!==!1&&e.push(rln.configure(this.options.italic)),this.options.listItem!==!1&&e.push(iln.configure(this.options.listItem)),this.options.orderedList!==!1&&e.push(aln.configure(this.options.orderedList)),this.options.paragraph!==!1&&e.push(sln.configure(this.options.paragraph)),this.options.strike!==!1&&e.push(uln.configure(this.options.strike)),this.options.text!==!1&&e.push(dln.configure(this.options.text)),e}}),pln=Pl.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:e=>e.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:e}){return["u",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setUnderline:()=>({commands:e})=>e.setMark(this.name),toggleUnderline:()=>({commands:e})=>e.toggleMark(this.name),unsetUnderline:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),hln=e=>{if(!e.children.length)return;const t=e.querySelectorAll("span");t&&t.forEach(n=>{var r,i;const o=n.getAttribute("style"),a=(i=(r=n.parentElement)===null||r===void 0?void 0:r.closest("span"))===null||i===void 0?void 0:i.getAttribute("style");n.setAttribute("style",`${a};${o}`)})},mln=Pl.create({name:"textStyle",priority:101,addOptions(){return{HTMLAttributes:{},mergeNestedSpanStyles:!1}},parseHTML(){return[{tag:"span",getAttrs:e=>e.hasAttribute("style")?(this.options.mergeNestedSpanStyles&&hln(e),{}):!1}]},renderHTML({HTMLAttributes:e}){return["span",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{removeEmptyTextStyle:()=>({tr:e})=>{const{selection:t}=e;return e.doc.nodesBetween(t.from,t.to,(n,r)=>{if(n.isTextblock)return!0;n.marks.filter(i=>i.type===this.type).some(i=>Object.values(i.attrs).some(o=>!!o))||e.removeMark(r,r+n.nodeSize,this.type)}),!0}}}}),gln=gi.create({name:"fontFamily",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontFamily:{default:null,parseHTML:e=>e.style.fontFamily,renderHTML:e=>e.fontFamily?{style:`font-family: ${e.fontFamily}`}:{}}}}]},addCommands(){return{setFontFamily:e=>({chain:t})=>t().setMark("textStyle",{fontFamily:e}).run(),unsetFontFamily:()=>({chain:e})=>e().setMark("textStyle",{fontFamily:null}).removeEmptyTextStyle().run()}}}),EPe=e=>{const t=document.createElement("div");return t.classList.add("aie-loader-placeholder"),t.innerHTML=` `,na.widget(e.pos,t,{id:e.id})},vln=e=>{const t=document.createElement("div");return t.classList.add("aie-loader-placeholder"),t.style.height="20px",t.style.display="inline-block",t.innerHTML=` ${e.text} - `,na.widget(e.pos,t,{id:e.id})},bln=(e,t,n,r)=>{const i=new FormData;return i.append(r,e),new Promise((o,a)=>{fetch(t,{method:"post",headers:{Accept:"application/json",...n},body:i}).then(s=>s.json()).then(s=>{o(s)}).catch(s=>{a(s)})})},yln=(e,t,n,r)=>{let i=new FileReader;return new Promise((o,a)=>{i.onload=()=>o({errorCode:0,data:{src:i.result,href:e.name}}),i.onerror=()=>a(i.error),setTimeout(()=>i.readAsDataURL(e),5e3*Math.random())})},DX=e=>e?bln:yln,_fe=new $i("aie-attachment-plugin"),nC="attachment_action",_ln=gi.create({name:"attachment",addOptions(){return{uploadUrl:"",uploadHeaders:{},HTMLAttributes:{}}},addCommands(){return{uploadAttachment:e=>()=>{const t=typeof this.options.uploadHeaders=="object"?this.options.uploadHeaders:typeof this.options.uploadHeaders=="function"?this.options.uploadHeaders():{};if(this.options.uploaderEvent&&this.options.uploaderEvent.onUploadBefore&&this.options.uploaderEvent.onUploadBefore(e,this.options.uploadUrl,t)===!1)return!1;const n=T9(),{state:{tr:r},view:i,schema:o}=this.editor;r.selection.empty||r.deleteSelection(),i.dispatch(r.setMeta(nC,{type:"add",id:n,pos:r.selection.from,text:e.name}));const a=this.options.uploader||DX(this.options.uploadUrl),s=this.options.uploadFormName||"attachment";return a(e,this.options.uploadUrl,t,s).then(l=>{var c;if((c=this.options.uploaderEvent)!=null&&c.onSuccess){const u=this.options.uploaderEvent.onSuccess(e,l);if(typeof u=="boolean"&&!u)return;typeof u=="object"&&(l=u)}if(l.errorCode===0&&l.data&&l.data.href){let u=_fe.getState(this.editor.state).find(void 0,void 0,f=>f.id==n);const d=l.data.fileName||e.name;i.dispatch(i.state.tr.insertText(` ${d} `,u[0].from).addMark(u[0].from+1,d.length+u[0].from+1,o.marks.link.create({href:l.data.href,target:"_blank"})).setMeta(nC,{type:"remove",id:n}))}else i.dispatch(r.setMeta(nC,{type:"remove",id:n})),this.options.uploaderEvent&&this.options.uploaderEvent.onFailed&&this.options.uploaderEvent.onFailed(e,l)}).catch(l=>{const{state:{tr:c},view:u}=this.editor;u.dispatch(c.setMeta(nC,{type:"remove",id:n})),this.options.uploaderEvent&&this.options.uploaderEvent.onError&&this.options.uploaderEvent.onError(e,l)}),!0}}},addProseMirrorPlugins(){const e=this.editor;return[new Ei({key:_fe,state:{init:()=>Ci.empty,apply:(t,n)=>{const r=t.getMeta(nC);return n=n.map(t.mapping,t.doc),r&&r.type==="add"?n=n.add(t.doc,[vln(r)]):r&&r.type==="remove"&&(n=n.remove(n.find(void 0,void 0,i=>i.id==r.id))),n}},props:{decorations(t){return this.getState(t)},handleDOMEvents:{drop(t,n){if(!(n.dataTransfer&&n.dataTransfer.files&&n.dataTransfer.files.length))return!1;const r=Array.from(n.dataTransfer.files).filter(i=>!/video/i.test(i.type)&&!/image/i.test(i.type));return n.preventDefault(),r.forEach(i=>{e.commands.uploadAttachment(i)}),!0}}}})]}}),Sln=gi.create({name:"painter",addCommands(){return{setPainter:e=>({view:{dispatch:t,state:{tr:n},dom:r}})=>(r.style.cursor="context-menu",t(n.setMeta("painterAction",{type:"start",marks:e})),!0)}},addProseMirrorPlugins(){return[new Ei({key:new $i("aie-painter"),state:{init:()=>[],apply:(e,t)=>{const n=e.getMeta("painterAction");return n&&n.type==="start"?t=n.marks:n&&n.type==="end"&&(t=[]),t}},props:{handleDOMEvents:{mousedown(e,t){const n=this.getState(e.state);if(!n||n.length==0)return!1;const r=()=>{document.removeEventListener("mouseup",r);let{dispatch:i,state:{tr:o,selection:a},dom:s}=e;s.style.cursor="",o=o.removeMark(a.from,a.to);for(let l of n)l.type.name!="link"&&(o=o.addMark(a.from,a.to,l));i(o.setMeta("painterAction",{type:"end"}))};return document.addEventListener("mouseup",r),!0}}}})]}}),Eln=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/,Cln=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g,wln=Pl.create({name:"highlight",addOptions(){return{multicolor:!1,HTMLAttributes:{}}},addAttributes(){return this.options.multicolor?{color:{default:null,parseHTML:e=>e.getAttribute("data-color")||e.style.backgroundColor,renderHTML:e=>e.color?{"data-color":e.color,style:`background-color: ${e.color}; color: inherit`}:{}}}:{}},parseHTML(){return[{tag:"mark"}]},renderHTML({HTMLAttributes:e}){return["mark",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setHighlight:e=>({commands:t})=>t.setMark(this.name,e),toggleHighlight:e=>({commands:t})=>t.toggleMark(this.name,e),unsetHighlight:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}},addInputRules(){return[i0({find:Eln,type:this.type})]},addPasteRules(){return[Eg({find:Cln,type:this.type})]}}),Tln=gi.create({name:"color",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{color:{default:null,parseHTML:e=>{var t;return(t=e.style.color)===null||t===void 0?void 0:t.replace(/['"]+/g,"")},renderHTML:e=>e.color?{style:`color: ${e.color}`}:{}}}}]},addCommands(){return{setColor:e=>({chain:t})=>t().setMark("textStyle",{color:e}).run(),unsetColor:()=>({chain:e})=>e().setMark("textStyle",{color:null}).removeEmptyTextStyle().run()}}}),xln=gi.create({name:"fontSize",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:e=>{var t;return(t=e.style.fontSize)==null?void 0:t.replace(/['"]+/g,"")},renderHTML:e=>e.fontSize?{style:`font-size: ${e.fontSize}`}:{}}}}]},addCommands(){return{setFontSize:e=>({chain:t})=>t().setMark("textStyle",{fontSize:e}).run(),unsetFontSize:()=>({chain:e})=>e().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()}}}),Oln=gi.create({name:"lineHeight",addOptions(){return{types:["heading","paragraph"],defaultHeight:"100%"}},addGlobalAttributes(){return[{types:this.options.types,attributes:{lineHeight:{default:this.options.defaultHeight,parseHTML:e=>e.style.lineHeight||this.options.defaultHeight,renderHTML:e=>e.lineHeight===this.options.defaultHeight?{}:{style:`line-height: ${e.lineHeight}`}}}}]},addCommands(){return{setLineHeight:e=>({commands:t})=>this.options.types.every(n=>t.updateAttributes(n,{lineHeight:e})),unsetLineHeight:()=>({commands:e})=>this.options.types.every(t=>e.resetAttributes(t,"lineHeight"))}}}),Rln=gi.create({name:"textAlign",addOptions(){return{types:[],alignments:["left","center","right","justify"],defaultAlignment:null}},addGlobalAttributes(){return[{types:this.options.types,attributes:{textAlign:{default:this.options.defaultAlignment,parseHTML:e=>{const t=e.style.textAlign;return this.options.alignments.includes(t)?t:this.options.defaultAlignment},renderHTML:e=>e.textAlign?{style:`text-align: ${e.textAlign}`}:{}}}}]},addCommands(){return{setTextAlign:e=>({commands:t})=>this.options.alignments.includes(e)?this.options.types.map(n=>t.updateAttributes(n,{textAlign:e})).every(n=>n):!1,unsetTextAlign:()=>({commands:e})=>this.options.types.map(t=>e.resetAttributes(t,"textAlign")).every(t=>t)}},addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.setTextAlign("left"),"Mod-Shift-e":()=>this.editor.commands.setTextAlign("center"),"Mod-Shift-r":()=>this.editor.commands.setTextAlign("right"),"Mod-Shift-j":()=>this.editor.commands.setTextAlign("justify")}}}),Iln=gi.create({name:"indent",addOptions(){return{types:["listItem","paragraph"],minLevel:0,maxLevel:8}},addGlobalAttributes(){return[{types:this.options.types,attributes:{indent:{default:0,parseHTML:e=>{let t=Number(e.getAttribute("data-indent"));if(t)return t>this.options.maxLevel?t=this.options.maxLevel:t0&&(t=Math.round(r/2)),t?(t>this.options.maxLevel?t=this.options.maxLevel:te.indent?{style:`text-indent: ${(e==null?void 0:e.indent)*2}em`,"data-indent":e==null?void 0:e.indent}:{}}}}]},addCommands(){const e=(r,i,o)=>{var a;const s=(a=r==null?void 0:r.doc)==null?void 0:a.nodeAt(i);if(s){const l=(s.attrs.indent||0)+o,{minLevel:c,maxLevel:u}=this.options,d=lu?u:l;if(d!==s.attrs.indent){const{indent:f,...h}=s.attrs,m=d>c?{...h,indent:d}:h;return r.setNodeMarkup(i,s.type,m,s.marks)}}return r},t=(r,i)=>{const{doc:o,selection:a}=r;if(o&&a&&(a instanceof Zn||a instanceof bc)){const{from:s,to:l}=a;o.nodesBetween(s,l,(c,u)=>this.options.types.includes(c.type.name)?(r=e(r,u,i),!1):!0)}return r},n=r=>()=>({tr:i,state:o,dispatch:a})=>{const{selection:s}=o;return i=i.setSelection(s),i=t(i,r),i.docChanged?(a==null||a(i),!0):!1};return{indent:n(1),outdent:n(-1)}},addKeyboardShortcuts(){return{Tab:()=>this.editor.isActive("listItem")||this.editor.isActive("orderedList")?!1:this.editor.commands.indent(),"Shift-Tab":()=>this.editor.isActive("listItem")||this.editor.isActive("orderedList")?!1:this.editor.commands.outdent()}}}),Aln=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,Nln=wo.create({name:"image",addOptions(){return{inline:!1,allowBase64:!1,HTMLAttributes:{}}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},title:{default:null}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:e}){return["img",zr(this.options.HTMLAttributes,e)]},addCommands(){return{setImage:e=>({commands:t})=>t.insertContent({type:this.name,attrs:e})}},addInputRules(){return[wX({find:Aln,type:this.type,getAttributes:e=>{const[,,t,n,r]=e;return{src:n,alt:t,title:r}}})]}}),C5e=(e,t,n)=>{const r=e.querySelector(".resize-obj"),i=10;let o,a,s,l;const c=f=>{f.preventDefault(),t.addEventListener("mousemove",u),t.addEventListener("mouseup",d),t.addEventListener("mouseleave",d),o=f.clientX,a=Number(r.getAttribute("data-with"))||r.clientWidth,s=f.target.getAttribute("data-position"),l=t.clientWidth-100},u=f=>{const h=f.clientX-o;if(h==0)return;const m=s==="right"?h>0:h<0;let g=a+Math.abs(h)*(m?1:-1);g>=l&&(g=l),g{t.removeEventListener("mousemove",u),t.removeEventListener("mouseup",d),t.removeEventListener("mouseleave",d);const f={width:Number(r.getAttribute("data-width"))};n(f)};for(let f of e.querySelector(".aie-resize").children)f.addEventListener("mousedown",c)},Mln=e=>typeof e=="number"||!isNaN(+e)?`${e}px`:e,Sfe=new $i("aie-image-plugin"),rC="image_action",kln=Nln.extend({name:"image",draggable:!0,selectable:!0,addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),uploadUrl:"",uploadHeaders:{},uploader:void 0,defaultSize:350}},allowGapCursor(){return!this.options.inline},addAttributes(){return{src:{default:"",parseHTML:e=>`${e.getAttribute("src")??""}`},alt:{default:"",parseHTML:e=>`${e.getAttribute("alt")??""}`,renderHTML:({alt:e})=>e?{alt:e}:{}},title:{default:"",parseHTML:e=>`${e.getAttribute("title")??""}`,renderHTML:({title:e})=>e?{title:e}:{}},width:{default:this.options.defaultSize,parseHTML:e=>`${e.getAttribute("width")??""}`,renderHTML:({width:e})=>e?{width:e}:{}},height:{default:"auto",parseHTML:e=>`${e.getAttribute("height")??""}`,renderHTML:({height:e})=>e?{height:e}:{}},align:{default:"left",parseHTML:e=>e.getAttribute("data-align")||e.getAttribute("align"),renderHTML:({align:e})=>e?{"data-align":e}:{}},href:{default:null,parseHTML:e=>{var t;if(((t=e.parentElement)==null?void 0:t.tagName)==="A")return e.parentElement.getAttribute("href")}},target:{default:null,parseHTML:e=>{var t;if(((t=e.parentElement)==null?void 0:t.tagName)==="A")return e.parentElement.getAttribute("target")}},"data-src":{default:null,parseHTML:e=>`${e.getAttribute("data-src")??""}`,renderHTML:e=>e["data-src"]?{"data-src":e["data-src"]}:{}},loading:{default:null,parseHTML:e=>`${e.getAttribute("loading")??""}`,renderHTML:({loading:e})=>e?{loading:e}:{}}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:e}){const t=zr(this.options.HTMLAttributes,e);return t.href?["div",{style:`text-align:${t["data-align"]||"left"}`},["a",{href:t.href,target:t.target},["img",{...t,href:null,target:null}]]]:(t.target=null,["div",{style:`text-align:${t["data-align"]||"left"}`},["img",t]])},addCommands(){var e;return{...(e=this.parent)==null?void 0:e.call(this),uploadImage:t=>()=>{const n=typeof this.options.uploadHeaders=="object"?this.options.uploadHeaders:typeof this.options.uploadHeaders=="function"?this.options.uploadHeaders():{};if(this.options.uploaderEvent&&this.options.uploaderEvent.onUploadBefore&&this.options.uploaderEvent.onUploadBefore(t,this.options.uploadUrl,n)===!1)return!1;setTimeout(()=>{this.editor.commands.deleteSelection()});const r=T9(),{state:{tr:i},view:o,schema:a}=this.editor;o.dispatch(i.setMeta(rC,{type:"add",id:r,pos:i.selection.from}));const s=this.options.uploader||DX(this.options.uploadUrl),l=this.options.uploadFormName||"image";return s(t,this.options.uploadUrl,n,l).then(c=>{var u;if((u=this.options.uploaderEvent)!=null&&u.onSuccess){const d=this.options.uploaderEvent.onSuccess(t,c);if(typeof d=="boolean"&&!d)return;typeof d=="object"&&(c=d)}if(c.errorCode===0&&c.data&&c.data.src){let d=Sfe.getState(this.editor.state).find(void 0,void 0,f=>f.id==r);o.dispatch(o.state.tr.insert(d[0].from-1,a.nodes.image.create({src:c.data.src,alt:c.data.alt,align:c.data.align||"left",width:c.data.width||this.options.defaultSize,height:c.data.height||"auto","data-src":c.data["data-src"],loading:c.data.loading,class:c.data.class})).setMeta(rC,{type:"remove",id:r}))}else o.dispatch(i.setMeta(rC,{type:"remove",id:r})),this.options.uploaderEvent&&this.options.uploaderEvent.onFailed&&this.options.uploaderEvent.onFailed(t,c)}).catch(c=>{const{state:{tr:u},view:d}=this.editor;d.dispatch(u.setMeta(rC,{type:"remove",id:r})),this.options.uploaderEvent&&this.options.uploaderEvent.onError&&this.options.uploaderEvent.onError(t,c)}),!0}}},addNodeView(){return e=>{const t=document.createElement("div"),{src:n,width:r,height:i,align:o,alt:a}=e.node.attrs,s=Mln(r||this.options.defaultSize),l=s.indexOf("%")>0?`style="width: ${s};"`:"",c=s.indexOf("%")>0?"calc(100% - 2px)":s;return t.classList.add(`align-${o}`),this.editor.isEditable?(t.innerHTML=` + `,na.widget(e.pos,t,{id:e.id})},bln=(e,t,n,r)=>{const i=new FormData;return i.append(r,e),new Promise((o,a)=>{fetch(t,{method:"post",headers:{Accept:"application/json",...n},body:i}).then(s=>s.json()).then(s=>{o(s)}).catch(s=>{a(s)})})},yln=(e,t,n,r)=>{let i=new FileReader;return new Promise((o,a)=>{i.onload=()=>o({errorCode:0,data:{src:i.result,href:e.name}}),i.onerror=()=>a(i.error),setTimeout(()=>i.readAsDataURL(e),5e3*Math.random())})},DX=e=>e?bln:yln,_fe=new $i("aie-attachment-plugin"),nC="attachment_action",_ln=gi.create({name:"attachment",addOptions(){return{uploadUrl:"",uploadHeaders:{},HTMLAttributes:{}}},addCommands(){return{uploadAttachment:e=>()=>{const t=typeof this.options.uploadHeaders=="object"?this.options.uploadHeaders:typeof this.options.uploadHeaders=="function"?this.options.uploadHeaders():{};if(this.options.uploaderEvent&&this.options.uploaderEvent.onUploadBefore&&this.options.uploaderEvent.onUploadBefore(e,this.options.uploadUrl,t)===!1)return!1;const n=T9(),{state:{tr:r},view:i,schema:o}=this.editor;r.selection.empty||r.deleteSelection(),i.dispatch(r.setMeta(nC,{type:"add",id:n,pos:r.selection.from,text:e.name}));const a=this.options.uploader||DX(this.options.uploadUrl),s=this.options.uploadFormName||"attachment";return a(e,this.options.uploadUrl,t,s).then(l=>{var c;if((c=this.options.uploaderEvent)!=null&&c.onSuccess){const u=this.options.uploaderEvent.onSuccess(e,l);if(typeof u=="boolean"&&!u)return;typeof u=="object"&&(l=u)}if(l.errorCode===0&&l.data&&l.data.href){let u=_fe.getState(this.editor.state).find(void 0,void 0,f=>f.id==n);const d=l.data.fileName||e.name;i.dispatch(i.state.tr.insertText(` ${d} `,u[0].from).addMark(u[0].from+1,d.length+u[0].from+1,o.marks.link.create({href:l.data.href,target:"_blank"})).setMeta(nC,{type:"remove",id:n}))}else i.dispatch(r.setMeta(nC,{type:"remove",id:n})),this.options.uploaderEvent&&this.options.uploaderEvent.onFailed&&this.options.uploaderEvent.onFailed(e,l)}).catch(l=>{const{state:{tr:c},view:u}=this.editor;u.dispatch(c.setMeta(nC,{type:"remove",id:n})),this.options.uploaderEvent&&this.options.uploaderEvent.onError&&this.options.uploaderEvent.onError(e,l)}),!0}}},addProseMirrorPlugins(){const e=this.editor;return[new Ei({key:_fe,state:{init:()=>Ci.empty,apply:(t,n)=>{const r=t.getMeta(nC);return n=n.map(t.mapping,t.doc),r&&r.type==="add"?n=n.add(t.doc,[vln(r)]):r&&r.type==="remove"&&(n=n.remove(n.find(void 0,void 0,i=>i.id==r.id))),n}},props:{decorations(t){return this.getState(t)},handleDOMEvents:{drop(t,n){if(!(n.dataTransfer&&n.dataTransfer.files&&n.dataTransfer.files.length))return!1;const r=Array.from(n.dataTransfer.files).filter(i=>!/video/i.test(i.type)&&!/image/i.test(i.type));return n.preventDefault(),r.forEach(i=>{e.commands.uploadAttachment(i)}),!0}}}})]}}),Sln=gi.create({name:"painter",addCommands(){return{setPainter:e=>({view:{dispatch:t,state:{tr:n},dom:r}})=>(r.style.cursor="context-menu",t(n.setMeta("painterAction",{type:"start",marks:e})),!0)}},addProseMirrorPlugins(){return[new Ei({key:new $i("aie-painter"),state:{init:()=>[],apply:(e,t)=>{const n=e.getMeta("painterAction");return n&&n.type==="start"?t=n.marks:n&&n.type==="end"&&(t=[]),t}},props:{handleDOMEvents:{mousedown(e,t){const n=this.getState(e.state);if(!n||n.length==0)return!1;const r=()=>{document.removeEventListener("mouseup",r);let{dispatch:i,state:{tr:o,selection:a},dom:s}=e;s.style.cursor="",o=o.removeMark(a.from,a.to);for(let l of n)l.type.name!="link"&&(o=o.addMark(a.from,a.to,l));i(o.setMeta("painterAction",{type:"end"}))};return document.addEventListener("mouseup",r),!0}}}})]}}),Eln=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))$/,Cln=/(?:^|\s)(==(?!\s+==)((?:[^=]+))==(?!\s+==))/g,wln=Pl.create({name:"highlight",addOptions(){return{multicolor:!1,HTMLAttributes:{}}},addAttributes(){return this.options.multicolor?{color:{default:null,parseHTML:e=>e.getAttribute("data-color")||e.style.backgroundColor,renderHTML:e=>e.color?{"data-color":e.color,style:`background-color: ${e.color}; color: inherit`}:{}}}:{}},parseHTML(){return[{tag:"mark"}]},renderHTML({HTMLAttributes:e}){return["mark",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setHighlight:e=>({commands:t})=>t.setMark(this.name,e),toggleHighlight:e=>({commands:t})=>t.toggleMark(this.name,e),unsetHighlight:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-h":()=>this.editor.commands.toggleHighlight()}},addInputRules(){return[i0({find:Eln,type:this.type})]},addPasteRules(){return[Eg({find:Cln,type:this.type})]}}),Tln=gi.create({name:"color",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{color:{default:null,parseHTML:e=>{var t;return(t=e.style.color)===null||t===void 0?void 0:t.replace(/['"]+/g,"")},renderHTML:e=>e.color?{style:`color: ${e.color}`}:{}}}}]},addCommands(){return{setColor:e=>({chain:t})=>t().setMark("textStyle",{color:e}).run(),unsetColor:()=>({chain:e})=>e().setMark("textStyle",{color:null}).removeEmptyTextStyle().run()}}}),xln=gi.create({name:"fontSize",addOptions(){return{types:["textStyle"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{fontSize:{default:null,parseHTML:e=>{var t;return(t=e.style.fontSize)==null?void 0:t.replace(/['"]+/g,"")},renderHTML:e=>e.fontSize?{style:`font-size: ${e.fontSize}`}:{}}}}]},addCommands(){return{setFontSize:e=>({chain:t})=>t().setMark("textStyle",{fontSize:e}).run(),unsetFontSize:()=>({chain:e})=>e().setMark("textStyle",{fontSize:null}).removeEmptyTextStyle().run()}}}),Oln=gi.create({name:"lineHeight",addOptions(){return{types:["heading","paragraph"],defaultHeight:"100%"}},addGlobalAttributes(){return[{types:this.options.types,attributes:{lineHeight:{default:this.options.defaultHeight,parseHTML:e=>e.style.lineHeight||this.options.defaultHeight,renderHTML:e=>e.lineHeight===this.options.defaultHeight?{}:{style:`line-height: ${e.lineHeight}`}}}}]},addCommands(){return{setLineHeight:e=>({commands:t})=>this.options.types.every(n=>t.updateAttributes(n,{lineHeight:e})),unsetLineHeight:()=>({commands:e})=>this.options.types.every(t=>e.resetAttributes(t,"lineHeight"))}}}),Rln=gi.create({name:"textAlign",addOptions(){return{types:[],alignments:["left","center","right","justify"],defaultAlignment:null}},addGlobalAttributes(){return[{types:this.options.types,attributes:{textAlign:{default:this.options.defaultAlignment,parseHTML:e=>{const t=e.style.textAlign;return this.options.alignments.includes(t)?t:this.options.defaultAlignment},renderHTML:e=>e.textAlign?{style:`text-align: ${e.textAlign}`}:{}}}}]},addCommands(){return{setTextAlign:e=>({commands:t})=>this.options.alignments.includes(e)?this.options.types.map(n=>t.updateAttributes(n,{textAlign:e})).every(n=>n):!1,unsetTextAlign:()=>({commands:e})=>this.options.types.map(t=>e.resetAttributes(t,"textAlign")).every(t=>t)}},addKeyboardShortcuts(){return{"Mod-Shift-l":()=>this.editor.commands.setTextAlign("left"),"Mod-Shift-e":()=>this.editor.commands.setTextAlign("center"),"Mod-Shift-r":()=>this.editor.commands.setTextAlign("right"),"Mod-Shift-j":()=>this.editor.commands.setTextAlign("justify")}}}),Iln=gi.create({name:"indent",addOptions(){return{types:["listItem","paragraph"],minLevel:0,maxLevel:8}},addGlobalAttributes(){return[{types:this.options.types,attributes:{indent:{default:0,parseHTML:e=>{let t=Number(e.getAttribute("data-indent"));if(t)return t>this.options.maxLevel?t=this.options.maxLevel:t0&&(t=Math.round(r/2)),t?(t>this.options.maxLevel?t=this.options.maxLevel:te.indent?{style:`text-indent: ${(e==null?void 0:e.indent)*2}em`,"data-indent":e==null?void 0:e.indent}:{}}}}]},addCommands(){const e=(r,i,o)=>{var a;const s=(a=r==null?void 0:r.doc)==null?void 0:a.nodeAt(i);if(s){const l=(s.attrs.indent||0)+o,{minLevel:c,maxLevel:u}=this.options,d=lu?u:l;if(d!==s.attrs.indent){const{indent:f,...h}=s.attrs,m=d>c?{...h,indent:d}:h;return r.setNodeMarkup(i,s.type,m,s.marks)}}return r},t=(r,i)=>{const{doc:o,selection:a}=r;if(o&&a&&(a instanceof Zn||a instanceof bc)){const{from:s,to:l}=a;o.nodesBetween(s,l,(c,u)=>this.options.types.includes(c.type.name)?(r=e(r,u,i),!1):!0)}return r},n=r=>()=>({tr:i,state:o,dispatch:a})=>{const{selection:s}=o;return i=i.setSelection(s),i=t(i,r),i.docChanged?(a==null||a(i),!0):!1};return{indent:n(1),outdent:n(-1)}},addKeyboardShortcuts(){return{Tab:()=>this.editor.isActive("listItem")||this.editor.isActive("orderedList")?!1:this.editor.commands.indent(),"Shift-Tab":()=>this.editor.isActive("listItem")||this.editor.isActive("orderedList")?!1:this.editor.commands.outdent()}}}),Aln=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,Nln=wo.create({name:"image",addOptions(){return{inline:!1,allowBase64:!1,HTMLAttributes:{}}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},title:{default:null}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:e}){return["img",zr(this.options.HTMLAttributes,e)]},addCommands(){return{setImage:e=>({commands:t})=>t.insertContent({type:this.name,attrs:e})}},addInputRules(){return[wX({find:Aln,type:this.type,getAttributes:e=>{const[,,t,n,r]=e;return{src:n,alt:t,title:r}}})]}}),CPe=(e,t,n)=>{const r=e.querySelector(".resize-obj"),i=10;let o,a,s,l;const c=f=>{f.preventDefault(),t.addEventListener("mousemove",u),t.addEventListener("mouseup",d),t.addEventListener("mouseleave",d),o=f.clientX,a=Number(r.getAttribute("data-with"))||r.clientWidth,s=f.target.getAttribute("data-position"),l=t.clientWidth-100},u=f=>{const h=f.clientX-o;if(h==0)return;const m=s==="right"?h>0:h<0;let g=a+Math.abs(h)*(m?1:-1);g>=l&&(g=l),g{t.removeEventListener("mousemove",u),t.removeEventListener("mouseup",d),t.removeEventListener("mouseleave",d);const f={width:Number(r.getAttribute("data-width"))};n(f)};for(let f of e.querySelector(".aie-resize").children)f.addEventListener("mousedown",c)},Mln=e=>typeof e=="number"||!isNaN(+e)?`${e}px`:e,Sfe=new $i("aie-image-plugin"),rC="image_action",kln=Nln.extend({name:"image",draggable:!0,selectable:!0,addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),uploadUrl:"",uploadHeaders:{},uploader:void 0,defaultSize:350}},allowGapCursor(){return!this.options.inline},addAttributes(){return{src:{default:"",parseHTML:e=>`${e.getAttribute("src")??""}`},alt:{default:"",parseHTML:e=>`${e.getAttribute("alt")??""}`,renderHTML:({alt:e})=>e?{alt:e}:{}},title:{default:"",parseHTML:e=>`${e.getAttribute("title")??""}`,renderHTML:({title:e})=>e?{title:e}:{}},width:{default:this.options.defaultSize,parseHTML:e=>`${e.getAttribute("width")??""}`,renderHTML:({width:e})=>e?{width:e}:{}},height:{default:"auto",parseHTML:e=>`${e.getAttribute("height")??""}`,renderHTML:({height:e})=>e?{height:e}:{}},align:{default:"left",parseHTML:e=>e.getAttribute("data-align")||e.getAttribute("align"),renderHTML:({align:e})=>e?{"data-align":e}:{}},href:{default:null,parseHTML:e=>{var t;if(((t=e.parentElement)==null?void 0:t.tagName)==="A")return e.parentElement.getAttribute("href")}},target:{default:null,parseHTML:e=>{var t;if(((t=e.parentElement)==null?void 0:t.tagName)==="A")return e.parentElement.getAttribute("target")}},"data-src":{default:null,parseHTML:e=>`${e.getAttribute("data-src")??""}`,renderHTML:e=>e["data-src"]?{"data-src":e["data-src"]}:{}},loading:{default:null,parseHTML:e=>`${e.getAttribute("loading")??""}`,renderHTML:({loading:e})=>e?{loading:e}:{}}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:e}){const t=zr(this.options.HTMLAttributes,e);return t.href?["div",{style:`text-align:${t["data-align"]||"left"}`},["a",{href:t.href,target:t.target},["img",{...t,href:null,target:null}]]]:(t.target=null,["div",{style:`text-align:${t["data-align"]||"left"}`},["img",t]])},addCommands(){var e;return{...(e=this.parent)==null?void 0:e.call(this),uploadImage:t=>()=>{const n=typeof this.options.uploadHeaders=="object"?this.options.uploadHeaders:typeof this.options.uploadHeaders=="function"?this.options.uploadHeaders():{};if(this.options.uploaderEvent&&this.options.uploaderEvent.onUploadBefore&&this.options.uploaderEvent.onUploadBefore(t,this.options.uploadUrl,n)===!1)return!1;setTimeout(()=>{this.editor.commands.deleteSelection()});const r=T9(),{state:{tr:i},view:o,schema:a}=this.editor;o.dispatch(i.setMeta(rC,{type:"add",id:r,pos:i.selection.from}));const s=this.options.uploader||DX(this.options.uploadUrl),l=this.options.uploadFormName||"image";return s(t,this.options.uploadUrl,n,l).then(c=>{var u;if((u=this.options.uploaderEvent)!=null&&u.onSuccess){const d=this.options.uploaderEvent.onSuccess(t,c);if(typeof d=="boolean"&&!d)return;typeof d=="object"&&(c=d)}if(c.errorCode===0&&c.data&&c.data.src){let d=Sfe.getState(this.editor.state).find(void 0,void 0,f=>f.id==r);o.dispatch(o.state.tr.insert(d[0].from-1,a.nodes.image.create({src:c.data.src,alt:c.data.alt,align:c.data.align||"left",width:c.data.width||this.options.defaultSize,height:c.data.height||"auto","data-src":c.data["data-src"],loading:c.data.loading,class:c.data.class})).setMeta(rC,{type:"remove",id:r}))}else o.dispatch(i.setMeta(rC,{type:"remove",id:r})),this.options.uploaderEvent&&this.options.uploaderEvent.onFailed&&this.options.uploaderEvent.onFailed(t,c)}).catch(c=>{const{state:{tr:u},view:d}=this.editor;d.dispatch(u.setMeta(rC,{type:"remove",id:r})),this.options.uploaderEvent&&this.options.uploaderEvent.onError&&this.options.uploaderEvent.onError(t,c)}),!0}}},addNodeView(){return e=>{const t=document.createElement("div"),{src:n,width:r,height:i,align:o,alt:a}=e.node.attrs,s=Mln(r||this.options.defaultSize),l=s.indexOf("%")>0?`style="width: ${s};"`:"",c=s.indexOf("%")>0?"calc(100% - 2px)":s;return t.classList.add(`align-${o}`),this.editor.isEditable?(t.innerHTML=`
@@ -1210,14 +1210,14 @@ img.ProseMirror-separator {
${a}
- `,C5e(t,this.editor.view.dom,u=>this.editor.commands.updateAttributes("image",u)),{dom:t}):(t.innerHTML=`
+ `,CPe(t,this.editor.view.dom,u=>this.editor.commands.updateAttributes("image",u)),{dom:t}):(t.innerHTML=`
${a} -
`,{dom:t})}},addProseMirrorPlugins(){const e=this.editor;return[new Ei({key:Sfe,state:{init:()=>Ci.empty,apply:(t,n)=>{const r=t.getMeta(rC);if(r){let i=!1;const o=n.map(t.mapping,t.doc,{onRemove:a=>{i=!0}});i||(n=o),r.type==="add"?n=n.add(t.doc,[E5e(r)]):r.type==="remove"&&(n=n.remove(n.find(void 0,void 0,a=>a.id==r.id)))}return n}},props:{decorations(t){return this.getState(t)},handlePaste:(t,n)=>{var r;const i=Array.from(((r=n.clipboardData)==null?void 0:r.items)||[]);let o=!1;for(const a of i)if(a.type.indexOf("image")===0){const s=a.getAsFile();s&&(n.preventDefault(),o=!0,this.editor.commands.uploadImage(s))}return o},handleDOMEvents:{drop(t,n){if(!(n.dataTransfer&&n.dataTransfer.files&&n.dataTransfer.files.length))return!1;const r=Array.from(n.dataTransfer.files).filter(l=>/image/i.test(l.type));if(r.length===0)return!1;n.preventDefault();const{state:{tr:i,doc:o},dispatch:a}=t,s=t.posAtCoords({left:n.clientX,top:n.clientY});return a(i.setSelection(Zn.create(o,s.pos)).scrollIntoView()),r.forEach(l=>{e.commands.uploadImage(l)}),!0}},transformPastedHTML(t){const n=new DOMParser().parseFromString(t,"text/html").querySelector("body");if(n!=null&&n.children){const r=n.querySelectorAll("p > img");for(const i of r){const o=i.parentNode,a=Array.prototype.indexOf.call(n.children,o);n.insertBefore(i,n.children[a])}return n.innerHTML}return t}}})]}});var TV,xV;if(typeof WeakMap<"u"){let e=new WeakMap;TV=t=>e.get(t),xV=(t,n)=>(e.set(t,n),n)}else{const e=[];let t=0;TV=n=>{for(let r=0;r(t==10&&(t=0),e[t++]=n,e[t++]=r)}var Io=class{constructor(e,t,n,r){this.width=e,this.height=t,this.map=n,this.problems=r}findCell(e){for(let t=0;t=n){(o||(o=[])).push({type:"overlong_rowspan",pos:u,n:y-_});break}const E=i+_*t;for(let C=0;Cr&&(o+=c.attrs.colspan)}}for(let a=0;a1&&(n=!0)}t==-1?t=o:t!=o&&(t=Math.max(t,o))}return t}function Lln(e,t,n){e.problems||(e.problems=[]);const r={};for(let i=0;i0;t--)if(e.node(t).type.spec.tableRole=="row")return e.node(0).resolve(e.before(t+1));return null}function Fln(e){for(let t=e.depth;t>0;t--){const n=e.node(t).type.spec.tableRole;if(n==="cell"||n==="header_cell")return e.node(t)}return null}function zd(e){const t=e.selection.$head;for(let n=t.depth;n>0;n--)if(t.node(n).type.spec.tableRole=="row")return!0;return!1}function x9(e){const t=e.selection;if("$anchorCell"in t&&t.$anchorCell)return t.$anchorCell.pos>t.$headCell.pos?t.$anchorCell:t.$headCell;if("node"in t&&t.node&&t.node.type.spec.tableRole=="cell")return t.$anchor;const n=aE(t.$head)||Bln(t.$head);if(n)return n;throw new RangeError(`No cell found around position ${t.head}`)}function Bln(e){for(let t=e.nodeAfter,n=e.pos;t;t=t.firstChild,n++){const r=t.type.spec.tableRole;if(r=="cell"||r=="header_cell")return e.doc.resolve(n)}for(let t=e.nodeBefore,n=e.pos;t;t=t.lastChild,n--){const r=t.type.spec.tableRole;if(r=="cell"||r=="header_cell")return e.doc.resolve(n-t.nodeSize)}}function OV(e){return e.parent.type.spec.tableRole=="row"&&!!e.nodeAfter}function jln(e){return e.node(0).resolve(e.pos+e.nodeAfter.nodeSize)}function LX(e,t){return e.depth==t.depth&&e.pos>=t.start(-1)&&e.pos<=t.end(-1)}function w5e(e,t,n){const r=e.node(-1),i=Io.get(r),o=e.start(-1),a=i.nextCell(e.pos-o,t,n);return a==null?null:e.node(0).resolve(o+a)}function s0(e,t,n=1){const r={...e,colspan:e.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(t,n),r.colwidth.some(i=>i>0)||(r.colwidth=null)),r}function T5e(e,t,n=1){const r={...e,colspan:e.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let i=0;iu!=n.pos-o);l.unshift(n.pos-o);const c=l.map(u=>{const d=r.nodeAt(u);if(!d)throw RangeError(`No cell with offset ${u} found`);const f=o+u+1;return new $ke(s.resolve(f),s.resolve(f+d.content.size))});super(c[0].$from,c[0].$to,c),this.$anchorCell=t,this.$headCell=n}map(t,n){const r=t.resolve(n.map(this.$anchorCell.pos)),i=t.resolve(n.map(this.$headCell.pos));if(OV(r)&&OV(i)&&LX(r,i)){const o=this.$anchorCell.node(-1)!=r.node(-1);return o&&this.isRowSelection()?Cp.rowSelection(r,i):o&&this.isColSelection()?Cp.colSelection(r,i):new Cp(r,i)}return Zn.between(r,i)}content(){const t=this.$anchorCell.node(-1),n=Io.get(t),r=this.$anchorCell.start(-1),i=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),o={},a=[];for(let l=i.top;l0||v>0){let y=m.attrs;if(g>0&&(y=s0(y,0,g)),v>0&&(y=s0(y,y.colspan-v,v)),h.lefti.bottom){const y={...m.attrs,rowspan:Math.min(h.bottom,i.bottom)-Math.max(h.top,i.top)};h.top0)return!1;const r=t+this.$anchorCell.nodeAfter.attrs.rowspan,i=n+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,i)==this.$headCell.node(-1).childCount}static colSelection(t,n=t){const r=t.node(-1),i=Io.get(r),o=t.start(-1),a=i.findCell(t.pos-o),s=i.findCell(n.pos-o),l=t.node(0);return a.top<=s.top?(a.top>0&&(t=l.resolve(o+i.map[a.left])),s.bottom0&&(n=l.resolve(o+i.map[s.left])),a.bottom0)return!1;const a=i+this.$anchorCell.nodeAfter.attrs.colspan,s=o+this.$headCell.nodeAfter.attrs.colspan;return Math.max(a,s)==n.width}eq(t){return t instanceof Cp&&t.$anchorCell.pos==this.$anchorCell.pos&&t.$headCell.pos==this.$headCell.pos}static rowSelection(t,n=t){const r=t.node(-1),i=Io.get(r),o=t.start(-1),a=i.findCell(t.pos-o),s=i.findCell(n.pos-o),l=t.node(0);return a.left<=s.left?(a.left>0&&(t=l.resolve(o+i.map[a.top*i.width])),s.right0&&(n=l.resolve(o+i.map[s.top*i.width])),a.right{t.push(na.node(r,r+n.nodeSize,{class:"selectedCell"}))}),Ci.create(e.doc,t)}function Vln({$from:e,$to:t}){if(e.pos==t.pos||e.pos=0&&!(e.after(i+1)=0&&!(t.before(o+1)>t.start(o));o--,r--);return n==r&&/row|table/.test(e.node(i).type.spec.tableRole)}function Gln({$from:e,$to:t}){let n,r;for(let i=e.depth;i>0;i--){const o=e.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){n=o;break}}for(let i=t.depth;i>0;i--){const o=t.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){r=o;break}}return n!==r&&t.parentOffset===0}function Wln(e,t,n){const r=(t||e).selection,i=(t||e).doc;let o,a;if(r instanceof sr&&(a=r.node.type.spec.tableRole)){if(a=="cell"||a=="header_cell")o=Ti.create(i,r.from);else if(a=="row"){const s=i.resolve(r.from+1);o=Ti.rowSelection(s,s)}else if(!n){const s=Io.get(r.node),l=r.from+1,c=l+s.map[s.width*s.height-1];o=Ti.create(i,l+1,c)}}else r instanceof Zn&&Vln(r)?o=Zn.create(i,r.from):r instanceof Zn&&Gln(r)&&(o=Zn.create(i,r.$from.start(),r.$from.end()));return o&&(t||(t=e.tr)).setSelection(o),t}var qln=new $i("fix-tables");function O5e(e,t,n,r){const i=e.childCount,o=t.childCount;e:for(let a=0,s=0;a{i.type.spec.tableRole=="table"&&(n=Yln(e,i,o,n))};return t?t.doc!=e.doc&&O5e(t.doc,e.doc,0,r):e.doc.descendants(r),n}function Yln(e,t,n,r){const i=Io.get(t);if(!i.problems)return r;r||(r=e.tr);const o=[];for(let l=0;l0){let h="cell";u.firstChild&&(h=u.firstChild.type.spec.tableRole);const m=[];for(let v=0;v0?-1:0;Hln(t,r,i+o)&&(o=i==0||i==t.width?null:0);for(let a=0;a0&&i0&&t.map[s-1]==l||i0?-1:0;Jln(t,r,i+l)&&(l=i==0||i==t.height?null:0);for(let c=0,u=t.width*i;c0&&i0&&d==t.map[u-t.width]){const f=n.nodeAt(d).attrs;e.setNodeMarkup(e.mapping.slice(s).map(d+r),null,{...f,rowspan:f.rowspan-1}),c+=f.colspan-1}else if(i0&&n[o]==n[o-1]||r.right0&&n[i]==n[i-e]||r.bottomn[r.type.spec.tableRole])(e,t)}function ocn(e){return(t,n)=>{var r;const i=t.selection;let o,a;if(i instanceof Ti){if(i.$anchorCell.pos!=i.$headCell.pos)return!1;o=i.$anchorCell.nodeAfter,a=i.$anchorCell.pos}else{if(o=Fln(i.$from),!o)return!1;a=(r=aE(i.$from))==null?void 0:r.pos}if(o==null||a==null||o.attrs.colspan==1&&o.attrs.rowspan==1)return!1;if(n){let s=o.attrs;const l=[],c=s.colwidth;s.rowspan>1&&(s={...s,rowspan:1}),s.colspan>1&&(s={...s,colspan:1});const u=Xf(t),d=t.tr;for(let h=0;h{a.attrs[e]!==t&&o.setNodeMarkup(s,null,{...a.attrs,[e]:t})}):o.setNodeMarkup(i.pos,null,{...i.nodeAfter.attrs,[e]:t}),r(o)}return!0}}function scn(e){return function(t,n){if(!zd(t))return!1;if(n){const r=Ps(t.schema),i=Xf(t),o=t.tr,a=i.map.cellsInRect(e=="column"?{left:i.left,top:0,right:i.right,bottom:i.map.height}:e=="row"?{left:0,top:i.top,right:i.map.width,bottom:i.bottom}:i),s=a.map(l=>i.table.nodeAt(l));for(let l=0;l{const h=f+o.tableStart,m=a.doc.nodeAt(h);m&&a.setNodeMarkup(h,d,m.attrs)}),r(a)}return!0}}vx("row",{useDeprecatedLogic:!0});vx("column",{useDeprecatedLogic:!0});var lcn=vx("cell",{useDeprecatedLogic:!0});function ccn(e,t){if(t<0){const n=e.nodeBefore;if(n)return e.pos-n.nodeSize;for(let r=e.index(-1)-1,i=e.before();r>=0;r--){const o=e.node(-1).child(r),a=o.lastChild;if(a)return i-1-a.nodeSize;i-=o.nodeSize}}else{if(e.index()0;r--)if(n.node(r).type.spec.tableRole=="table")return t&&t(e.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}function gI(e,t){const n=e.selection;if(!(n instanceof Ti))return!1;if(t){const r=e.tr,i=Ps(e.schema).cell.createAndFill().content;n.forEachCell((o,a)=>{o.content.eq(i)||r.replace(r.mapping.map(a+1),r.mapping.map(a+o.nodeSize-1),new Rn(i,0,0))}),r.docChanged&&t(r)}return!0}function dcn(e){if(!e.size)return null;let{content:t,openStart:n,openEnd:r}=e;for(;t.childCount==1&&(n>0&&r>0||t.child(0).type.spec.tableRole=="table");)n--,r--,t=t.child(0).content;const i=t.child(0),o=i.type.spec.tableRole,a=i.type.schema,s=[];if(o=="row")for(let l=0;l=0;a--){const{rowspan:s,colspan:l}=o.child(a).attrs;for(let c=i;c=t.length&&t.push(Zt.empty),n[i]r&&(f=f.type.createChecked(s0(f.attrs,f.attrs.colspan,u+f.attrs.colspan-r),f.content)),c.push(f),u+=f.attrs.colspan;for(let h=1;hi&&(d=d.type.create({...d.attrs,rowspan:Math.max(1,i-d.attrs.rowspan)},d.content)),l.push(d)}o.push(Zt.from(l))}n=o,t=i}return{width:e,height:t,rows:n}}function hcn(e,t,n,r,i,o,a){const s=e.doc.type.schema,l=Ps(s);let c,u;if(i>t.width)for(let d=0,f=0;dt.height){const d=[];for(let m=0,g=(t.height-1)*t.width;m=t.width?!1:n.nodeAt(t.map[g+m]).type==l.header_cell;d.push(v?u||(u=l.header_cell.createAndFill()):c||(c=l.cell.createAndFill()))}const f=l.row.create(null,Zt.from(d)),h=[];for(let m=t.height;m{if(!i)return!1;const o=n.selection;if(o instanceof Ti)return yN(n,r,mr.near(o.$headCell,t));if(e!="horiz"&&!o.empty)return!1;const a=N5e(i,e,t);if(a==null)return!1;if(e=="horiz")return yN(n,r,mr.near(n.doc.resolve(o.head+t),t));{const s=n.doc.resolve(a),l=w5e(s,e,t);let c;return l?c=mr.near(l,1):t<0?c=mr.near(n.doc.resolve(s.before(-1)),-1):c=mr.near(n.doc.resolve(s.after(-1)),1),yN(n,r,c)}}}function bI(e,t){return(n,r,i)=>{if(!i)return!1;const o=n.selection;let a;if(o instanceof Ti)a=o;else{const l=N5e(i,e,t);if(l==null)return!1;a=new Ti(n.doc.resolve(l))}const s=w5e(a.$headCell,e,t);return s?yN(n,r,new Ti(a.$anchorCell,s)):!1}}function gcn(e,t){const n=e.state.doc,r=aE(n.resolve(t));return r?(e.dispatch(e.state.tr.setSelection(new Ti(r))),!0):!1}function vcn(e,t,n){if(!zd(e.state))return!1;let r=dcn(n);const i=e.state.selection;if(i instanceof Ti){r||(r={width:1,height:1,rows:[Zt.from(RV(Ps(e.state.schema).cell,n))]});const o=i.$anchorCell.node(-1),a=i.$anchorCell.start(-1),s=Io.get(o).rectBetween(i.$anchorCell.pos-a,i.$headCell.pos-a);return r=pcn(r,s.right-s.left,s.bottom-s.top),Ife(e.state,e.dispatch,a,s,r),!0}else if(r){const o=x9(e.state),a=o.start(-1);return Ife(e.state,e.dispatch,a,Io.get(o.node(-1)).findCell(o.pos-a),r),!0}else return!1}function bcn(e,t){var n;if(t.ctrlKey||t.metaKey)return;const r=Afe(e,t.target);let i;if(t.shiftKey&&e.state.selection instanceof Ti)o(e.state.selection.$anchorCell,t),t.preventDefault();else if(t.shiftKey&&r&&(i=aE(e.state.selection.$anchor))!=null&&((n=G6(e,t))==null?void 0:n.pos)!=i.pos)o(i,t),t.preventDefault();else if(!r)return;function o(l,c){let u=G6(e,c);const d=Sm.getState(e.state)==null;if(!u||!LX(l,u))if(d)u=l;else return;const f=new Ti(l,u);if(d||!e.state.selection.eq(f)){const h=e.state.tr.setSelection(f);d&&h.setMeta(Sm,l.pos),e.dispatch(h)}}function a(){e.root.removeEventListener("mouseup",a),e.root.removeEventListener("dragstart",a),e.root.removeEventListener("mousemove",s),Sm.getState(e.state)!=null&&e.dispatch(e.state.tr.setMeta(Sm,-1))}function s(l){const c=l,u=Sm.getState(e.state);let d;if(u!=null)d=e.state.doc.resolve(u);else if(Afe(e,c.target)!=r&&(d=G6(e,t),!d))return a();d&&o(d,c)}e.root.addEventListener("mouseup",a),e.root.addEventListener("dragstart",a),e.root.addEventListener("mousemove",s)}function N5e(e,t,n){if(!(e.state.selection instanceof Zn))return null;const{$head:r}=e.state.selection;for(let i=r.depth-1;i>=0;i--){const o=r.node(i);if((n<0?r.index(i):r.indexAfter(i))!=(n<0?0:o.childCount))return null;if(o.type.spec.tableRole=="cell"||o.type.spec.tableRole=="header_cell"){const a=r.before(i),s=t=="vert"?n>0?"down":"up":n>0?"right":"left";return e.endOfTextblock(s)?a:null}}return null}function Afe(e,t){for(;t&&t!=e.dom;t=t.parentNode)if(t.nodeName=="TD"||t.nodeName=="TH")return t;return null}function G6(e,t){const n=e.posAtCoords({left:t.clientX,top:t.clientY});return n&&n?aE(e.state.doc.resolve(n.pos)):null}var ycn=class{constructor(e,t){this.node=e,this.defaultCellMinWidth=t,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.table.style.setProperty("--default-cell-min-width",`${t}px`),this.colgroup=this.table.appendChild(document.createElement("colgroup")),IV(e,this.colgroup,this.table,t),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type!=this.node.type?!1:(this.node=e,IV(e,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(e){return e.type=="attributes"&&(e.target==this.table||this.colgroup.contains(e.target))}};function IV(e,t,n,r,i,o){var a;let s=0,l=!0,c=t.firstChild;const u=e.firstChild;if(u){for(let d=0,f=0;dnew r(f,n,h)),new Scn(-1,!1)},apply(a,s){return s.apply(a)}},props:{attributes:a=>{const s=dc.getState(a);return s&&s.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(a,s)=>{Ecn(a,s,e,i)},mouseleave:a=>{Ccn(a)},mousedown:(a,s)=>{wcn(a,s,t,n)}},decorations:a=>{const s=dc.getState(a);if(s&&s.activeHandle>-1)return Icn(a,s.activeHandle)},nodeViews:{}}});return o}var Scn=class _N{constructor(t,n){this.activeHandle=t,this.dragging=n}apply(t){const n=this,r=t.getMeta(dc);if(r&&r.setHandle!=null)return new _N(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new _N(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&t.docChanged){let i=t.mapping.map(n.activeHandle,-1);return OV(t.doc.resolve(i))||(i=-1),new _N(i,n.dragging)}return n}};function Ecn(e,t,n,r){if(!e.editable)return;const i=dc.getState(e.state);if(i&&!i.dragging){const o=xcn(t.target);let a=-1;if(o){const{left:s,right:l}=o.getBoundingClientRect();t.clientX-s<=n?a=Nfe(e,t,"left",n):l-t.clientX<=n&&(a=Nfe(e,t,"right",n))}if(a!=i.activeHandle){if(!r&&a!==-1){const s=e.state.doc.resolve(a),l=s.node(-1),c=Io.get(l),u=s.start(-1);if(c.colCount(s.pos-u)+s.nodeAfter.attrs.colspan-1==c.width-1)return}M5e(e,a)}}}function Ccn(e){if(!e.editable)return;const t=dc.getState(e.state);t&&t.activeHandle>-1&&!t.dragging&&M5e(e,-1)}function wcn(e,t,n,r){var i;if(!e.editable)return!1;const o=(i=e.dom.ownerDocument.defaultView)!=null?i:window,a=dc.getState(e.state);if(!a||a.activeHandle==-1||a.dragging)return!1;const s=e.state.doc.nodeAt(a.activeHandle),l=Tcn(e,a.activeHandle,s.attrs);e.dispatch(e.state.tr.setMeta(dc,{setDragging:{startX:t.clientX,startWidth:l}}));function c(d){o.removeEventListener("mouseup",c),o.removeEventListener("mousemove",u);const f=dc.getState(e.state);f!=null&&f.dragging&&(Ocn(e,f.activeHandle,Mfe(f.dragging,d,n)),e.dispatch(e.state.tr.setMeta(dc,{setDragging:null})))}function u(d){if(!d.which)return c(d);const f=dc.getState(e.state);if(f&&f.dragging){const h=Mfe(f.dragging,d,n);kfe(e,f.activeHandle,h,r)}}return kfe(e,a.activeHandle,l,r),o.addEventListener("mouseup",c),o.addEventListener("mousemove",u),t.preventDefault(),!0}function Tcn(e,t,{colspan:n,colwidth:r}){const i=r&&r[r.length-1];if(i)return i;const o=e.domAtPos(t);let a=o.node.childNodes[o.offset].offsetWidth,s=n;if(r)for(let l=0;l{const r=e.nodes[n];r.spec.tableRole&&(t[r.spec.tableRole]=r)}),e.cached.tableNodeTypes=t,t}function Pcn(e,t,n,r,i){const o=kcn(e),a=[],s=[];for(let c=0;c{const{selection:t}=e.state;if(!Dcn(t))return!1;let n=0;const r=P4e(t.ranges[0].$from,i=>i.type.name==="table");return r==null||r.node.descendants(i=>{if(i.type.name==="table")return!1;["tableCell","tableHeader"].includes(i.type.name)&&(n+=1)}),n===t.ranges.length?(e.commands.deleteTable(),!0):!1},Lcn=wo.create({name:"table",addOptions(){return{HTMLAttributes:{},resizable:!1,handleWidth:5,cellMinWidth:25,View:Ncn,lastColumnResizable:!0,allowTableNodeSelection:!1}},content:"tableRow+",tableRole:"table",isolating:!0,group:"block",parseHTML(){return[{tag:"table"}]},renderHTML({node:e,HTMLAttributes:t}){const{colgroup:n,tableWidth:r,tableMinWidth:i}=Mcn(e,this.options.cellMinWidth);return["table",zr(this.options.HTMLAttributes,t,{style:r?`width: ${r}`:`min-width: ${i}`}),n,["tbody",0]]},addCommands(){return{insertTable:({rows:e=3,cols:t=3,withHeaderRow:n=!0}={})=>({tr:r,dispatch:i,editor:o})=>{const a=Pcn(o.schema,e,t,n);if(i){const s=r.selection.from+1;r.replaceSelectionWith(a).scrollIntoView().setSelection(Zn.near(r.doc.resolve(s)))}return!0},addColumnBefore:()=>({state:e,dispatch:t})=>Kln(e,t),addColumnAfter:()=>({state:e,dispatch:t})=>Qln(e,t),deleteColumn:()=>({state:e,dispatch:t})=>Zln(e,t),addRowBefore:()=>({state:e,dispatch:t})=>ecn(e,t),addRowAfter:()=>({state:e,dispatch:t})=>tcn(e,t),deleteRow:()=>({state:e,dispatch:t})=>rcn(e,t),deleteTable:()=>({state:e,dispatch:t})=>ucn(e,t),mergeCells:()=>({state:e,dispatch:t})=>Cfe(e,t),splitCell:()=>({state:e,dispatch:t})=>wfe(e,t),toggleHeaderColumn:()=>({state:e,dispatch:t})=>vx("column")(e,t),toggleHeaderRow:()=>({state:e,dispatch:t})=>vx("row")(e,t),toggleHeaderCell:()=>({state:e,dispatch:t})=>lcn(e,t),mergeOrSplit:()=>({state:e,dispatch:t})=>Cfe(e,t)?!0:wfe(e,t),setCellAttribute:(e,t)=>({state:n,dispatch:r})=>acn(e,t)(n,r),goToNextCell:()=>({state:e,dispatch:t})=>xfe(1)(e,t),goToPreviousCell:()=>({state:e,dispatch:t})=>xfe(-1)(e,t),fixTables:()=>({state:e,dispatch:t})=>(t&&R5e(e),!0),setCellSelection:e=>({tr:t,dispatch:n})=>{if(n){const r=Ti.create(t.doc,e.anchorCell,e.headCell);t.setSelection(r)}return!0}}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.goToNextCell()?!0:this.editor.can().addRowAfter()?this.editor.chain().addRowAfter().goToNextCell().run():!1,"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:yI,"Mod-Backspace":yI,Delete:yI,"Mod-Delete":yI}},addProseMirrorPlugins(){return[...this.options.resizable&&this.editor.isEditable?[_cn({handleWidth:this.options.handleWidth,cellMinWidth:this.options.cellMinWidth,defaultCellMinWidth:this.options.cellMinWidth,View:this.options.View,lastColumnResizable:this.options.lastColumnResizable})]:[],Acn({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema(e){const t={name:e.name,options:e.options,storage:e.storage};return{tableRole:Ar(Wn(e,"tableRole",t))}}}),$cn=wo.create({name:"tableRow",addOptions(){return{HTMLAttributes:{}}},content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML(){return[{tag:"tr"}]},renderHTML({HTMLAttributes:e}){return["tr",zr(this.options.HTMLAttributes,e),0]}}),Fcn=wo.create({name:"tableHeader",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:e=>{const t=e.getAttribute("colwidth");return t?t.split(",").map(n=>parseInt(n,10)):null}}}},tableRole:"header_cell",isolating:!0,parseHTML(){return[{tag:"th"}]},renderHTML({HTMLAttributes:e}){return["th",zr(this.options.HTMLAttributes,e),0]}}),Bcn=Fcn.extend({addAttributes(){var e;return{...(e=this.parent)==null?void 0:e.call(this),backgroundColor:{default:null,parseHTML:t=>t.style.backgroundColor||null,renderHTML:t=>t.backgroundColor?{style:`background-color: ${t.backgroundColor}`}:{}},color:{default:null,parseHTML:t=>t.style.color||null,renderHTML:t=>t.color?{style:`color: ${t.color}`}:{}},width:{default:null,parseHTML:t=>t.style.width||null,renderHTML:t=>t.width?{style:`width: ${t.width}`}:{}}}}}),jcn=wo.create({name:"tableCell",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:e=>{const t=e.getAttribute("colwidth");return t?t.split(",").map(n=>parseInt(n,10)):null}}}},tableRole:"cell",isolating:!0,parseHTML(){return[{tag:"td"}]},renderHTML({HTMLAttributes:e}){return["td",zr(this.options.HTMLAttributes,e),0]}}),Hcn=jcn.extend({addAttributes(){var e;return{...(e=this.parent)==null?void 0:e.call(this),backgroundColor:{default:null,parseHTML:t=>t.style.backgroundColor||null,renderHTML:t=>t.backgroundColor?{style:`background-color: ${t.backgroundColor}`}:{}},color:{default:null,parseHTML:t=>t.style.color||null,renderHTML:t=>t.color?{style:`color: ${t.color}`}:{}},width:{default:null,parseHTML:t=>t.style.width||null,renderHTML:t=>t.width?{style:`width: ${t.width}`}:{}}}}}),Ucn=gi.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:e=>e.length,wordCounter:e=>e.split(" ").filter(t=>t!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=e=>{const t=(e==null?void 0:e.node)||this.editor.state.doc;if(((e==null?void 0:e.mode)||this.options.mode)==="textSize"){const n=t.textBetween(0,t.content.size,void 0," ");return this.options.textCounter(n)}return t.nodeSize},this.storage.words=e=>{const t=(e==null?void 0:e.node)||this.editor.state.doc,n=t.textBetween(0,t.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let e=!1;return[new Ei({key:new $i("characterCount"),appendTransaction:(t,n,r)=>{if(e)return;const i=this.options.limit;if(i==null||i===0){e=!0;return}const o=this.storage.characters({node:r.doc});if(o>i){const a=o-i,s=0,l=a;console.warn(`[CharacterCount] Initial content exceeded limit of ${i} characters. Content was automatically trimmed.`);const c=r.tr.deleteRange(s,l);return e=!0,c}e=!0},filterTransaction:(t,n)=>{const r=this.options.limit;if(!t.docChanged||r===0||r===null||r===void 0)return!0;const i=this.storage.characters({node:n.doc}),o=this.storage.characters({node:t.doc});if(o<=r||i>r&&o>r&&o<=i)return!0;if(i>r&&o>r&&o>i||!t.getMeta("paste"))return!1;const a=t.selection.$head.pos,s=o-r,l=a-s,c=a;return t.deleteRange(l,c),!(this.storage.characters({node:t.doc})>r)}})]}}),zcn="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",Vcn="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",q_=(e,t)=>{for(const n in t)e[n]=t[n];return e},NV="numeric",MV="ascii",kV="alpha",Aw="asciinumeric",zC="alphanumeric",PV="domain",k5e="emoji",Gcn="scheme",Wcn="slashscheme",W6="whitespace";function qcn(e,t){return e in t||(t[e]=[]),t[e]}function K1(e,t,n){t[NV]&&(t[Aw]=!0,t[zC]=!0),t[MV]&&(t[Aw]=!0,t[kV]=!0),t[Aw]&&(t[zC]=!0),t[kV]&&(t[zC]=!0),t[zC]&&(t[PV]=!0),t[k5e]&&(t[PV]=!0);for(const r in t){const i=qcn(r,n);i.indexOf(e)<0&&i.push(e)}}function Ycn(e,t){const n={};for(const r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}function El(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}El.groups={};El.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let r=0;re.ta(t,n,r,i),$o=(e,t,n,r,i)=>e.tr(t,n,r,i),Lfe=(e,t,n,r,i)=>e.ts(t,n,r,i),un=(e,t,n,r,i)=>e.tt(t,n,r,i),wp="WORD",DV="UWORD",P5e="ASCIINUMERICAL",D5e="ALPHANUMERICAL",bx="LOCALHOST",LV="TLD",$V="UTLD",SN="SCHEME",Mb="SLASH_SCHEME",$X="NUM",FV="WS",FX="NL",Nw="OPENBRACE",Mw="CLOSEBRACE",a4="OPENBRACKET",s4="CLOSEBRACKET",l4="OPENPAREN",c4="CLOSEPAREN",u4="OPENANGLEBRACKET",d4="CLOSEANGLEBRACKET",f4="FULLWIDTHLEFTPAREN",p4="FULLWIDTHRIGHTPAREN",h4="LEFTCORNERBRACKET",m4="RIGHTCORNERBRACKET",g4="LEFTWHITECORNERBRACKET",v4="RIGHTWHITECORNERBRACKET",b4="FULLWIDTHLESSTHAN",y4="FULLWIDTHGREATERTHAN",_4="AMPERSAND",BX="APOSTROPHE",S4="ASTERISK",mm="AT",E4="BACKSLASH",C4="BACKTICK",w4="CARET",Em="COLON",jX="COMMA",T4="DOLLAR",rf="DOT",x4="EQUALS",HX="EXCLAMATION",Vc="HYPHEN",kw="PERCENT",O4="PIPE",R4="PLUS",I4="POUND",Pw="QUERY",UX="QUOTE",L5e="FULLWIDTHMIDDLEDOT",zX="SEMI",of="SLASH",Dw="TILDE",A4="UNDERSCORE",$5e="EMOJI",N4="SYM";var F5e=Object.freeze({__proto__:null,WORD:wp,UWORD:DV,ASCIINUMERICAL:P5e,ALPHANUMERICAL:D5e,LOCALHOST:bx,TLD:LV,UTLD:$V,SCHEME:SN,SLASH_SCHEME:Mb,NUM:$X,WS:FV,NL:FX,OPENBRACE:Nw,CLOSEBRACE:Mw,OPENBRACKET:a4,CLOSEBRACKET:s4,OPENPAREN:l4,CLOSEPAREN:c4,OPENANGLEBRACKET:u4,CLOSEANGLEBRACKET:d4,FULLWIDTHLEFTPAREN:f4,FULLWIDTHRIGHTPAREN:p4,LEFTCORNERBRACKET:h4,RIGHTCORNERBRACKET:m4,LEFTWHITECORNERBRACKET:g4,RIGHTWHITECORNERBRACKET:v4,FULLWIDTHLESSTHAN:b4,FULLWIDTHGREATERTHAN:y4,AMPERSAND:_4,APOSTROPHE:BX,ASTERISK:S4,AT:mm,BACKSLASH:E4,BACKTICK:C4,CARET:w4,COLON:Em,COMMA:jX,DOLLAR:T4,DOT:rf,EQUALS:x4,EXCLAMATION:HX,HYPHEN:Vc,PERCENT:kw,PIPE:O4,PLUS:R4,POUND:I4,QUERY:Pw,QUOTE:UX,FULLWIDTHMIDDLEDOT:L5e,SEMI:zX,SLASH:of,TILDE:Dw,UNDERSCORE:A4,EMOJI:$5e,SYM:N4});const dp=/[a-z]/,iC=new RegExp("\\p{L}","u"),q6=new RegExp("\\p{Emoji}","u"),fp=/\d/,Y6=/\s/,$fe="\r",K6=` -`,Kcn="️",Qcn="‍",Q6="";let _I=null,SI=null;function Xcn(e=[]){const t={};El.groups=t;const n=new El;_I==null&&(_I=Ffe(zcn)),SI==null&&(SI=Ffe(Vcn)),un(n,"'",BX),un(n,"{",Nw),un(n,"}",Mw),un(n,"[",a4),un(n,"]",s4),un(n,"(",l4),un(n,")",c4),un(n,"<",u4),un(n,">",d4),un(n,"(",f4),un(n,")",p4),un(n,"「",h4),un(n,"」",m4),un(n,"『",g4),un(n,"』",v4),un(n,"<",b4),un(n,">",y4),un(n,"&",_4),un(n,"*",S4),un(n,"@",mm),un(n,"`",C4),un(n,"^",w4),un(n,":",Em),un(n,",",jX),un(n,"$",T4),un(n,".",rf),un(n,"=",x4),un(n,"!",HX),un(n,"-",Vc),un(n,"%",kw),un(n,"|",O4),un(n,"+",R4),un(n,"#",I4),un(n,"?",Pw),un(n,'"',UX),un(n,"/",of),un(n,";",zX),un(n,"~",Dw),un(n,"_",A4),un(n,"\\",E4),un(n,"・",L5e);const r=$o(n,fp,$X,{[NV]:!0});$o(r,fp,r);const i=$o(r,dp,P5e,{[Aw]:!0}),o=$o(r,iC,D5e,{[zC]:!0}),a=$o(n,dp,wp,{[MV]:!0});$o(a,fp,i),$o(a,dp,a),$o(i,fp,i),$o(i,dp,i);const s=$o(n,iC,DV,{[kV]:!0});$o(s,dp),$o(s,fp,o),$o(s,iC,s),$o(o,fp,o),$o(o,dp),$o(o,iC,o);const l=un(n,K6,FX,{[W6]:!0}),c=un(n,$fe,FV,{[W6]:!0}),u=$o(n,Y6,FV,{[W6]:!0});un(n,Q6,u),un(c,K6,l),un(c,Q6,u),$o(c,Y6,u),un(u,$fe),un(u,K6),$o(u,Y6,u),un(u,Q6,u);const d=$o(n,q6,$5e,{[k5e]:!0});un(d,"#"),$o(d,q6,d),un(d,Kcn,d);const f=un(d,Qcn);un(f,"#"),$o(f,q6,d);const h=[[dp,a],[fp,i]],m=[[dp,null],[iC,s],[fp,o]];for(let g=0;g<_I.length;g++)zh(n,_I[g],LV,wp,h);for(let g=0;gg[0]>v[0]?1:-1);for(let g=0;g=0?y[PV]=!0:dp.test(v)?fp.test(v)?y[Aw]=!0:y[MV]=!0:y[NV]=!0,Lfe(n,v,v,y)}return Lfe(n,"localhost",bx,{ascii:!0}),n.jd=new El(N4),{start:n,tokens:q_({groups:t},F5e)}}function B5e(e,t){const n=Zcn(t.replace(/[A-Z]/g,s=>s.toLowerCase())),r=n.length,i=[];let o=0,a=0;for(;a=0&&(d+=n[a].length,f++),c+=n[a].length,o+=n[a].length,a++;o-=d,a-=f,c-=d,i.push({t:u.t,v:t.slice(o-c,o),s:o-c,e:o})}return i}function Zcn(e){const t=[],n=e.length;let r=0;for(;r56319||r+1===n||(o=e.charCodeAt(r+1))<56320||o>57343?e[r]:e.slice(r,r+2);t.push(a),r+=a.length}return t}function zh(e,t,n,r,i){let o;const a=t.length;for(let s=0;s=0;)o++;if(o>0){t.push(n.join(""));for(let a=parseInt(e.substring(r,r+o),10);a>0;a--)n.pop();r+=o}else n.push(e[r]),r++}return t}const yx={defaultProtocol:"http",events:null,format:Bfe,formatHref:Bfe,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function VX(e,t=null){let n=q_({},yx);e&&(n=q_(n,e instanceof VX?e.o:e));const r=n.ignoreTags,i=[];for(let o=0;on?r.substring(0,n)+"…":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=yx.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",n,this),i=e.get("tagName",n,t),o=this.toFormattedString(e),a={},s=e.get("className",n,t),l=e.get("target",n,t),c=e.get("rel",n,t),u=e.getObj("attributes",n,t),d=e.getObj("events",n,t);return a.href=r,s&&(a.class=s),l&&(a.target=l),c&&(a.rel=c),u&&q_(a,u),{tagName:i,attributes:a,content:o,eventListeners:d}}};function O9(e,t){class n extends j5e{constructor(i,o){super(i,o),this.t=e}}for(const r in t)n.prototype[r]=t[r];return n.t=e,n}const jfe=O9("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Hfe=O9("text"),Jcn=O9("nl"),EI=O9("url",{isLink:!0,toHref(e=yx.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==bx&&e[1].t===Em}}),jc=e=>new El(e);function eun({groups:e}){const t=e.domain.concat([_4,S4,mm,E4,C4,w4,T4,x4,Vc,$X,kw,O4,R4,I4,of,N4,Dw,A4]),n=[Em,jX,rf,HX,kw,Pw,UX,zX,u4,d4,Nw,Mw,s4,a4,l4,c4,f4,p4,h4,m4,g4,v4,b4,y4],r=[_4,BX,S4,E4,C4,w4,T4,x4,Vc,Nw,Mw,kw,O4,R4,I4,Pw,of,N4,Dw,A4],i=jc(),o=un(i,Dw);kr(o,r,o),kr(o,e.domain,o);const a=jc(),s=jc(),l=jc();kr(i,e.domain,a),kr(i,e.scheme,s),kr(i,e.slashscheme,l),kr(a,r,o),kr(a,e.domain,a);const c=un(a,mm);un(o,mm,c),un(s,mm,c),un(l,mm,c);const u=un(o,rf);kr(u,r,o),kr(u,e.domain,o);const d=jc();kr(c,e.domain,d),kr(d,e.domain,d);const f=un(d,rf);kr(f,e.domain,d);const h=jc(jfe);kr(f,e.tld,h),kr(f,e.utld,h),un(c,bx,h);const m=un(d,Vc);un(m,Vc,m),kr(m,e.domain,d),kr(h,e.domain,d),un(h,rf,f),un(h,Vc,m);const g=un(h,Em);kr(g,e.numeric,jfe);const v=un(a,Vc),y=un(a,rf);un(v,Vc,v),kr(v,e.domain,a),kr(y,r,o),kr(y,e.domain,a);const b=jc(EI);kr(y,e.tld,b),kr(y,e.utld,b),kr(b,e.domain,a),kr(b,r,o),un(b,rf,y),un(b,Vc,v),un(b,mm,c);const _=un(b,Em),E=jc(EI);kr(_,e.numeric,E);const C=jc(EI),S=jc();kr(C,t,C),kr(C,n,S),kr(S,t,C),kr(S,n,S),un(b,of,C),un(E,of,C);const w=un(s,Em),T=un(l,Em),O=un(T,of),x=un(O,of);kr(s,e.domain,a),un(s,rf,y),un(s,Vc,v),kr(l,e.domain,a),un(l,rf,y),un(l,Vc,v),kr(w,e.domain,C),un(w,of,C),un(w,Pw,C),kr(x,e.domain,C),kr(x,t,C),un(x,of,C);const A=[[Nw,Mw],[a4,s4],[l4,c4],[u4,d4],[f4,p4],[h4,m4],[g4,v4],[b4,y4]];for(let I=0;I=0&&f++,i++,u++;if(f<0)i-=u,i0&&(o.push(X6(Hfe,t,a)),a=[]),i-=f,u-=f;const h=d.t,m=n.slice(i-u,i);o.push(X6(h,t,m))}}return a.length>0&&o.push(X6(Hfe,t,a)),o}function X6(e,t,n){const r=n[0].s,i=n[n.length-1].e,o=t.slice(r,i);return new e(o,n)}const nun=typeof console<"u"&&console&&console.warn||(()=>{}),run="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",ao={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function iun(){return El.groups={},ao.scanner=null,ao.parser=null,ao.tokenQueue=[],ao.pluginQueue=[],ao.customSchemes=[],ao.initialized=!1,ao}function Ufe(e,t=!1){if(ao.initialized&&nun(`linkifyjs: already initialized - will not register custom scheme "${e}" ${run}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error(`linkifyjs: incorrect scheme format. +
`,{dom:t})}},addProseMirrorPlugins(){const e=this.editor;return[new Ei({key:Sfe,state:{init:()=>Ci.empty,apply:(t,n)=>{const r=t.getMeta(rC);if(r){let i=!1;const o=n.map(t.mapping,t.doc,{onRemove:a=>{i=!0}});i||(n=o),r.type==="add"?n=n.add(t.doc,[EPe(r)]):r.type==="remove"&&(n=n.remove(n.find(void 0,void 0,a=>a.id==r.id)))}return n}},props:{decorations(t){return this.getState(t)},handlePaste:(t,n)=>{var r;const i=Array.from(((r=n.clipboardData)==null?void 0:r.items)||[]);let o=!1;for(const a of i)if(a.type.indexOf("image")===0){const s=a.getAsFile();s&&(n.preventDefault(),o=!0,this.editor.commands.uploadImage(s))}return o},handleDOMEvents:{drop(t,n){if(!(n.dataTransfer&&n.dataTransfer.files&&n.dataTransfer.files.length))return!1;const r=Array.from(n.dataTransfer.files).filter(l=>/image/i.test(l.type));if(r.length===0)return!1;n.preventDefault();const{state:{tr:i,doc:o},dispatch:a}=t,s=t.posAtCoords({left:n.clientX,top:n.clientY});return a(i.setSelection(Zn.create(o,s.pos)).scrollIntoView()),r.forEach(l=>{e.commands.uploadImage(l)}),!0}},transformPastedHTML(t){const n=new DOMParser().parseFromString(t,"text/html").querySelector("body");if(n!=null&&n.children){const r=n.querySelectorAll("p > img");for(const i of r){const o=i.parentNode,a=Array.prototype.indexOf.call(n.children,o);n.insertBefore(i,n.children[a])}return n.innerHTML}return t}}})]}});var TV,xV;if(typeof WeakMap<"u"){let e=new WeakMap;TV=t=>e.get(t),xV=(t,n)=>(e.set(t,n),n)}else{const e=[];let t=0;TV=n=>{for(let r=0;r(t==10&&(t=0),e[t++]=n,e[t++]=r)}var Io=class{constructor(e,t,n,r){this.width=e,this.height=t,this.map=n,this.problems=r}findCell(e){for(let t=0;t=n){(o||(o=[])).push({type:"overlong_rowspan",pos:u,n:y-_});break}const E=i+_*t;for(let C=0;Cr&&(o+=c.attrs.colspan)}}for(let a=0;a1&&(n=!0)}t==-1?t=o:t!=o&&(t=Math.max(t,o))}return t}function Lln(e,t,n){e.problems||(e.problems=[]);const r={};for(let i=0;i0;t--)if(e.node(t).type.spec.tableRole=="row")return e.node(0).resolve(e.before(t+1));return null}function Fln(e){for(let t=e.depth;t>0;t--){const n=e.node(t).type.spec.tableRole;if(n==="cell"||n==="header_cell")return e.node(t)}return null}function zd(e){const t=e.selection.$head;for(let n=t.depth;n>0;n--)if(t.node(n).type.spec.tableRole=="row")return!0;return!1}function x9(e){const t=e.selection;if("$anchorCell"in t&&t.$anchorCell)return t.$anchorCell.pos>t.$headCell.pos?t.$anchorCell:t.$headCell;if("node"in t&&t.node&&t.node.type.spec.tableRole=="cell")return t.$anchor;const n=aE(t.$head)||Bln(t.$head);if(n)return n;throw new RangeError(`No cell found around position ${t.head}`)}function Bln(e){for(let t=e.nodeAfter,n=e.pos;t;t=t.firstChild,n++){const r=t.type.spec.tableRole;if(r=="cell"||r=="header_cell")return e.doc.resolve(n)}for(let t=e.nodeBefore,n=e.pos;t;t=t.lastChild,n--){const r=t.type.spec.tableRole;if(r=="cell"||r=="header_cell")return e.doc.resolve(n-t.nodeSize)}}function OV(e){return e.parent.type.spec.tableRole=="row"&&!!e.nodeAfter}function jln(e){return e.node(0).resolve(e.pos+e.nodeAfter.nodeSize)}function LX(e,t){return e.depth==t.depth&&e.pos>=t.start(-1)&&e.pos<=t.end(-1)}function wPe(e,t,n){const r=e.node(-1),i=Io.get(r),o=e.start(-1),a=i.nextCell(e.pos-o,t,n);return a==null?null:e.node(0).resolve(o+a)}function s0(e,t,n=1){const r={...e,colspan:e.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(t,n),r.colwidth.some(i=>i>0)||(r.colwidth=null)),r}function TPe(e,t,n=1){const r={...e,colspan:e.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let i=0;iu!=n.pos-o);l.unshift(n.pos-o);const c=l.map(u=>{const d=r.nodeAt(u);if(!d)throw RangeError(`No cell with offset ${u} found`);const f=o+u+1;return new $ke(s.resolve(f),s.resolve(f+d.content.size))});super(c[0].$from,c[0].$to,c),this.$anchorCell=t,this.$headCell=n}map(t,n){const r=t.resolve(n.map(this.$anchorCell.pos)),i=t.resolve(n.map(this.$headCell.pos));if(OV(r)&&OV(i)&&LX(r,i)){const o=this.$anchorCell.node(-1)!=r.node(-1);return o&&this.isRowSelection()?Cp.rowSelection(r,i):o&&this.isColSelection()?Cp.colSelection(r,i):new Cp(r,i)}return Zn.between(r,i)}content(){const t=this.$anchorCell.node(-1),n=Io.get(t),r=this.$anchorCell.start(-1),i=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),o={},a=[];for(let l=i.top;l0||v>0){let y=m.attrs;if(g>0&&(y=s0(y,0,g)),v>0&&(y=s0(y,y.colspan-v,v)),h.lefti.bottom){const y={...m.attrs,rowspan:Math.min(h.bottom,i.bottom)-Math.max(h.top,i.top)};h.top0)return!1;const r=t+this.$anchorCell.nodeAfter.attrs.rowspan,i=n+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,i)==this.$headCell.node(-1).childCount}static colSelection(t,n=t){const r=t.node(-1),i=Io.get(r),o=t.start(-1),a=i.findCell(t.pos-o),s=i.findCell(n.pos-o),l=t.node(0);return a.top<=s.top?(a.top>0&&(t=l.resolve(o+i.map[a.left])),s.bottom0&&(n=l.resolve(o+i.map[s.left])),a.bottom0)return!1;const a=i+this.$anchorCell.nodeAfter.attrs.colspan,s=o+this.$headCell.nodeAfter.attrs.colspan;return Math.max(a,s)==n.width}eq(t){return t instanceof Cp&&t.$anchorCell.pos==this.$anchorCell.pos&&t.$headCell.pos==this.$headCell.pos}static rowSelection(t,n=t){const r=t.node(-1),i=Io.get(r),o=t.start(-1),a=i.findCell(t.pos-o),s=i.findCell(n.pos-o),l=t.node(0);return a.left<=s.left?(a.left>0&&(t=l.resolve(o+i.map[a.top*i.width])),s.right0&&(n=l.resolve(o+i.map[s.top*i.width])),a.right{t.push(na.node(r,r+n.nodeSize,{class:"selectedCell"}))}),Ci.create(e.doc,t)}function Vln({$from:e,$to:t}){if(e.pos==t.pos||e.pos=0&&!(e.after(i+1)=0&&!(t.before(o+1)>t.start(o));o--,r--);return n==r&&/row|table/.test(e.node(i).type.spec.tableRole)}function Gln({$from:e,$to:t}){let n,r;for(let i=e.depth;i>0;i--){const o=e.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){n=o;break}}for(let i=t.depth;i>0;i--){const o=t.node(i);if(o.type.spec.tableRole==="cell"||o.type.spec.tableRole==="header_cell"){r=o;break}}return n!==r&&t.parentOffset===0}function Wln(e,t,n){const r=(t||e).selection,i=(t||e).doc;let o,a;if(r instanceof sr&&(a=r.node.type.spec.tableRole)){if(a=="cell"||a=="header_cell")o=Ti.create(i,r.from);else if(a=="row"){const s=i.resolve(r.from+1);o=Ti.rowSelection(s,s)}else if(!n){const s=Io.get(r.node),l=r.from+1,c=l+s.map[s.width*s.height-1];o=Ti.create(i,l+1,c)}}else r instanceof Zn&&Vln(r)?o=Zn.create(i,r.from):r instanceof Zn&&Gln(r)&&(o=Zn.create(i,r.$from.start(),r.$from.end()));return o&&(t||(t=e.tr)).setSelection(o),t}var qln=new $i("fix-tables");function OPe(e,t,n,r){const i=e.childCount,o=t.childCount;e:for(let a=0,s=0;a{i.type.spec.tableRole=="table"&&(n=Yln(e,i,o,n))};return t?t.doc!=e.doc&&OPe(t.doc,e.doc,0,r):e.doc.descendants(r),n}function Yln(e,t,n,r){const i=Io.get(t);if(!i.problems)return r;r||(r=e.tr);const o=[];for(let l=0;l0){let h="cell";u.firstChild&&(h=u.firstChild.type.spec.tableRole);const m=[];for(let v=0;v0?-1:0;Hln(t,r,i+o)&&(o=i==0||i==t.width?null:0);for(let a=0;a0&&i0&&t.map[s-1]==l||i0?-1:0;Jln(t,r,i+l)&&(l=i==0||i==t.height?null:0);for(let c=0,u=t.width*i;c0&&i0&&d==t.map[u-t.width]){const f=n.nodeAt(d).attrs;e.setNodeMarkup(e.mapping.slice(s).map(d+r),null,{...f,rowspan:f.rowspan-1}),c+=f.colspan-1}else if(i0&&n[o]==n[o-1]||r.right0&&n[i]==n[i-e]||r.bottomn[r.type.spec.tableRole])(e,t)}function ocn(e){return(t,n)=>{var r;const i=t.selection;let o,a;if(i instanceof Ti){if(i.$anchorCell.pos!=i.$headCell.pos)return!1;o=i.$anchorCell.nodeAfter,a=i.$anchorCell.pos}else{if(o=Fln(i.$from),!o)return!1;a=(r=aE(i.$from))==null?void 0:r.pos}if(o==null||a==null||o.attrs.colspan==1&&o.attrs.rowspan==1)return!1;if(n){let s=o.attrs;const l=[],c=s.colwidth;s.rowspan>1&&(s={...s,rowspan:1}),s.colspan>1&&(s={...s,colspan:1});const u=Xf(t),d=t.tr;for(let h=0;h{a.attrs[e]!==t&&o.setNodeMarkup(s,null,{...a.attrs,[e]:t})}):o.setNodeMarkup(i.pos,null,{...i.nodeAfter.attrs,[e]:t}),r(o)}return!0}}function scn(e){return function(t,n){if(!zd(t))return!1;if(n){const r=Ps(t.schema),i=Xf(t),o=t.tr,a=i.map.cellsInRect(e=="column"?{left:i.left,top:0,right:i.right,bottom:i.map.height}:e=="row"?{left:0,top:i.top,right:i.map.width,bottom:i.bottom}:i),s=a.map(l=>i.table.nodeAt(l));for(let l=0;l{const h=f+o.tableStart,m=a.doc.nodeAt(h);m&&a.setNodeMarkup(h,d,m.attrs)}),r(a)}return!0}}vx("row",{useDeprecatedLogic:!0});vx("column",{useDeprecatedLogic:!0});var lcn=vx("cell",{useDeprecatedLogic:!0});function ccn(e,t){if(t<0){const n=e.nodeBefore;if(n)return e.pos-n.nodeSize;for(let r=e.index(-1)-1,i=e.before();r>=0;r--){const o=e.node(-1).child(r),a=o.lastChild;if(a)return i-1-a.nodeSize;i-=o.nodeSize}}else{if(e.index()0;r--)if(n.node(r).type.spec.tableRole=="table")return t&&t(e.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}function gI(e,t){const n=e.selection;if(!(n instanceof Ti))return!1;if(t){const r=e.tr,i=Ps(e.schema).cell.createAndFill().content;n.forEachCell((o,a)=>{o.content.eq(i)||r.replace(r.mapping.map(a+1),r.mapping.map(a+o.nodeSize-1),new Rn(i,0,0))}),r.docChanged&&t(r)}return!0}function dcn(e){if(!e.size)return null;let{content:t,openStart:n,openEnd:r}=e;for(;t.childCount==1&&(n>0&&r>0||t.child(0).type.spec.tableRole=="table");)n--,r--,t=t.child(0).content;const i=t.child(0),o=i.type.spec.tableRole,a=i.type.schema,s=[];if(o=="row")for(let l=0;l=0;a--){const{rowspan:s,colspan:l}=o.child(a).attrs;for(let c=i;c=t.length&&t.push(Zt.empty),n[i]r&&(f=f.type.createChecked(s0(f.attrs,f.attrs.colspan,u+f.attrs.colspan-r),f.content)),c.push(f),u+=f.attrs.colspan;for(let h=1;hi&&(d=d.type.create({...d.attrs,rowspan:Math.max(1,i-d.attrs.rowspan)},d.content)),l.push(d)}o.push(Zt.from(l))}n=o,t=i}return{width:e,height:t,rows:n}}function hcn(e,t,n,r,i,o,a){const s=e.doc.type.schema,l=Ps(s);let c,u;if(i>t.width)for(let d=0,f=0;dt.height){const d=[];for(let m=0,g=(t.height-1)*t.width;m=t.width?!1:n.nodeAt(t.map[g+m]).type==l.header_cell;d.push(v?u||(u=l.header_cell.createAndFill()):c||(c=l.cell.createAndFill()))}const f=l.row.create(null,Zt.from(d)),h=[];for(let m=t.height;m{if(!i)return!1;const o=n.selection;if(o instanceof Ti)return yN(n,r,mr.near(o.$headCell,t));if(e!="horiz"&&!o.empty)return!1;const a=NPe(i,e,t);if(a==null)return!1;if(e=="horiz")return yN(n,r,mr.near(n.doc.resolve(o.head+t),t));{const s=n.doc.resolve(a),l=wPe(s,e,t);let c;return l?c=mr.near(l,1):t<0?c=mr.near(n.doc.resolve(s.before(-1)),-1):c=mr.near(n.doc.resolve(s.after(-1)),1),yN(n,r,c)}}}function bI(e,t){return(n,r,i)=>{if(!i)return!1;const o=n.selection;let a;if(o instanceof Ti)a=o;else{const l=NPe(i,e,t);if(l==null)return!1;a=new Ti(n.doc.resolve(l))}const s=wPe(a.$headCell,e,t);return s?yN(n,r,new Ti(a.$anchorCell,s)):!1}}function gcn(e,t){const n=e.state.doc,r=aE(n.resolve(t));return r?(e.dispatch(e.state.tr.setSelection(new Ti(r))),!0):!1}function vcn(e,t,n){if(!zd(e.state))return!1;let r=dcn(n);const i=e.state.selection;if(i instanceof Ti){r||(r={width:1,height:1,rows:[Zt.from(RV(Ps(e.state.schema).cell,n))]});const o=i.$anchorCell.node(-1),a=i.$anchorCell.start(-1),s=Io.get(o).rectBetween(i.$anchorCell.pos-a,i.$headCell.pos-a);return r=pcn(r,s.right-s.left,s.bottom-s.top),Ife(e.state,e.dispatch,a,s,r),!0}else if(r){const o=x9(e.state),a=o.start(-1);return Ife(e.state,e.dispatch,a,Io.get(o.node(-1)).findCell(o.pos-a),r),!0}else return!1}function bcn(e,t){var n;if(t.ctrlKey||t.metaKey)return;const r=Afe(e,t.target);let i;if(t.shiftKey&&e.state.selection instanceof Ti)o(e.state.selection.$anchorCell,t),t.preventDefault();else if(t.shiftKey&&r&&(i=aE(e.state.selection.$anchor))!=null&&((n=G6(e,t))==null?void 0:n.pos)!=i.pos)o(i,t),t.preventDefault();else if(!r)return;function o(l,c){let u=G6(e,c);const d=Sm.getState(e.state)==null;if(!u||!LX(l,u))if(d)u=l;else return;const f=new Ti(l,u);if(d||!e.state.selection.eq(f)){const h=e.state.tr.setSelection(f);d&&h.setMeta(Sm,l.pos),e.dispatch(h)}}function a(){e.root.removeEventListener("mouseup",a),e.root.removeEventListener("dragstart",a),e.root.removeEventListener("mousemove",s),Sm.getState(e.state)!=null&&e.dispatch(e.state.tr.setMeta(Sm,-1))}function s(l){const c=l,u=Sm.getState(e.state);let d;if(u!=null)d=e.state.doc.resolve(u);else if(Afe(e,c.target)!=r&&(d=G6(e,t),!d))return a();d&&o(d,c)}e.root.addEventListener("mouseup",a),e.root.addEventListener("dragstart",a),e.root.addEventListener("mousemove",s)}function NPe(e,t,n){if(!(e.state.selection instanceof Zn))return null;const{$head:r}=e.state.selection;for(let i=r.depth-1;i>=0;i--){const o=r.node(i);if((n<0?r.index(i):r.indexAfter(i))!=(n<0?0:o.childCount))return null;if(o.type.spec.tableRole=="cell"||o.type.spec.tableRole=="header_cell"){const a=r.before(i),s=t=="vert"?n>0?"down":"up":n>0?"right":"left";return e.endOfTextblock(s)?a:null}}return null}function Afe(e,t){for(;t&&t!=e.dom;t=t.parentNode)if(t.nodeName=="TD"||t.nodeName=="TH")return t;return null}function G6(e,t){const n=e.posAtCoords({left:t.clientX,top:t.clientY});return n&&n?aE(e.state.doc.resolve(n.pos)):null}var ycn=class{constructor(e,t){this.node=e,this.defaultCellMinWidth=t,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.table.style.setProperty("--default-cell-min-width",`${t}px`),this.colgroup=this.table.appendChild(document.createElement("colgroup")),IV(e,this.colgroup,this.table,t),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type!=this.node.type?!1:(this.node=e,IV(e,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(e){return e.type=="attributes"&&(e.target==this.table||this.colgroup.contains(e.target))}};function IV(e,t,n,r,i,o){var a;let s=0,l=!0,c=t.firstChild;const u=e.firstChild;if(u){for(let d=0,f=0;dnew r(f,n,h)),new Scn(-1,!1)},apply(a,s){return s.apply(a)}},props:{attributes:a=>{const s=dc.getState(a);return s&&s.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(a,s)=>{Ecn(a,s,e,i)},mouseleave:a=>{Ccn(a)},mousedown:(a,s)=>{wcn(a,s,t,n)}},decorations:a=>{const s=dc.getState(a);if(s&&s.activeHandle>-1)return Icn(a,s.activeHandle)},nodeViews:{}}});return o}var Scn=class _N{constructor(t,n){this.activeHandle=t,this.dragging=n}apply(t){const n=this,r=t.getMeta(dc);if(r&&r.setHandle!=null)return new _N(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new _N(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&t.docChanged){let i=t.mapping.map(n.activeHandle,-1);return OV(t.doc.resolve(i))||(i=-1),new _N(i,n.dragging)}return n}};function Ecn(e,t,n,r){if(!e.editable)return;const i=dc.getState(e.state);if(i&&!i.dragging){const o=xcn(t.target);let a=-1;if(o){const{left:s,right:l}=o.getBoundingClientRect();t.clientX-s<=n?a=Nfe(e,t,"left",n):l-t.clientX<=n&&(a=Nfe(e,t,"right",n))}if(a!=i.activeHandle){if(!r&&a!==-1){const s=e.state.doc.resolve(a),l=s.node(-1),c=Io.get(l),u=s.start(-1);if(c.colCount(s.pos-u)+s.nodeAfter.attrs.colspan-1==c.width-1)return}MPe(e,a)}}}function Ccn(e){if(!e.editable)return;const t=dc.getState(e.state);t&&t.activeHandle>-1&&!t.dragging&&MPe(e,-1)}function wcn(e,t,n,r){var i;if(!e.editable)return!1;const o=(i=e.dom.ownerDocument.defaultView)!=null?i:window,a=dc.getState(e.state);if(!a||a.activeHandle==-1||a.dragging)return!1;const s=e.state.doc.nodeAt(a.activeHandle),l=Tcn(e,a.activeHandle,s.attrs);e.dispatch(e.state.tr.setMeta(dc,{setDragging:{startX:t.clientX,startWidth:l}}));function c(d){o.removeEventListener("mouseup",c),o.removeEventListener("mousemove",u);const f=dc.getState(e.state);f!=null&&f.dragging&&(Ocn(e,f.activeHandle,Mfe(f.dragging,d,n)),e.dispatch(e.state.tr.setMeta(dc,{setDragging:null})))}function u(d){if(!d.which)return c(d);const f=dc.getState(e.state);if(f&&f.dragging){const h=Mfe(f.dragging,d,n);kfe(e,f.activeHandle,h,r)}}return kfe(e,a.activeHandle,l,r),o.addEventListener("mouseup",c),o.addEventListener("mousemove",u),t.preventDefault(),!0}function Tcn(e,t,{colspan:n,colwidth:r}){const i=r&&r[r.length-1];if(i)return i;const o=e.domAtPos(t);let a=o.node.childNodes[o.offset].offsetWidth,s=n;if(r)for(let l=0;l{const r=e.nodes[n];r.spec.tableRole&&(t[r.spec.tableRole]=r)}),e.cached.tableNodeTypes=t,t}function Pcn(e,t,n,r,i){const o=kcn(e),a=[],s=[];for(let c=0;c{const{selection:t}=e.state;if(!Dcn(t))return!1;let n=0;const r=P4e(t.ranges[0].$from,i=>i.type.name==="table");return r==null||r.node.descendants(i=>{if(i.type.name==="table")return!1;["tableCell","tableHeader"].includes(i.type.name)&&(n+=1)}),n===t.ranges.length?(e.commands.deleteTable(),!0):!1},Lcn=wo.create({name:"table",addOptions(){return{HTMLAttributes:{},resizable:!1,handleWidth:5,cellMinWidth:25,View:Ncn,lastColumnResizable:!0,allowTableNodeSelection:!1}},content:"tableRow+",tableRole:"table",isolating:!0,group:"block",parseHTML(){return[{tag:"table"}]},renderHTML({node:e,HTMLAttributes:t}){const{colgroup:n,tableWidth:r,tableMinWidth:i}=Mcn(e,this.options.cellMinWidth);return["table",zr(this.options.HTMLAttributes,t,{style:r?`width: ${r}`:`min-width: ${i}`}),n,["tbody",0]]},addCommands(){return{insertTable:({rows:e=3,cols:t=3,withHeaderRow:n=!0}={})=>({tr:r,dispatch:i,editor:o})=>{const a=Pcn(o.schema,e,t,n);if(i){const s=r.selection.from+1;r.replaceSelectionWith(a).scrollIntoView().setSelection(Zn.near(r.doc.resolve(s)))}return!0},addColumnBefore:()=>({state:e,dispatch:t})=>Kln(e,t),addColumnAfter:()=>({state:e,dispatch:t})=>Qln(e,t),deleteColumn:()=>({state:e,dispatch:t})=>Zln(e,t),addRowBefore:()=>({state:e,dispatch:t})=>ecn(e,t),addRowAfter:()=>({state:e,dispatch:t})=>tcn(e,t),deleteRow:()=>({state:e,dispatch:t})=>rcn(e,t),deleteTable:()=>({state:e,dispatch:t})=>ucn(e,t),mergeCells:()=>({state:e,dispatch:t})=>Cfe(e,t),splitCell:()=>({state:e,dispatch:t})=>wfe(e,t),toggleHeaderColumn:()=>({state:e,dispatch:t})=>vx("column")(e,t),toggleHeaderRow:()=>({state:e,dispatch:t})=>vx("row")(e,t),toggleHeaderCell:()=>({state:e,dispatch:t})=>lcn(e,t),mergeOrSplit:()=>({state:e,dispatch:t})=>Cfe(e,t)?!0:wfe(e,t),setCellAttribute:(e,t)=>({state:n,dispatch:r})=>acn(e,t)(n,r),goToNextCell:()=>({state:e,dispatch:t})=>xfe(1)(e,t),goToPreviousCell:()=>({state:e,dispatch:t})=>xfe(-1)(e,t),fixTables:()=>({state:e,dispatch:t})=>(t&&RPe(e),!0),setCellSelection:e=>({tr:t,dispatch:n})=>{if(n){const r=Ti.create(t.doc,e.anchorCell,e.headCell);t.setSelection(r)}return!0}}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.goToNextCell()?!0:this.editor.can().addRowAfter()?this.editor.chain().addRowAfter().goToNextCell().run():!1,"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:yI,"Mod-Backspace":yI,Delete:yI,"Mod-Delete":yI}},addProseMirrorPlugins(){return[...this.options.resizable&&this.editor.isEditable?[_cn({handleWidth:this.options.handleWidth,cellMinWidth:this.options.cellMinWidth,defaultCellMinWidth:this.options.cellMinWidth,View:this.options.View,lastColumnResizable:this.options.lastColumnResizable})]:[],Acn({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema(e){const t={name:e.name,options:e.options,storage:e.storage};return{tableRole:Ar(Wn(e,"tableRole",t))}}}),$cn=wo.create({name:"tableRow",addOptions(){return{HTMLAttributes:{}}},content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML(){return[{tag:"tr"}]},renderHTML({HTMLAttributes:e}){return["tr",zr(this.options.HTMLAttributes,e),0]}}),Fcn=wo.create({name:"tableHeader",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:e=>{const t=e.getAttribute("colwidth");return t?t.split(",").map(n=>parseInt(n,10)):null}}}},tableRole:"header_cell",isolating:!0,parseHTML(){return[{tag:"th"}]},renderHTML({HTMLAttributes:e}){return["th",zr(this.options.HTMLAttributes,e),0]}}),Bcn=Fcn.extend({addAttributes(){var e;return{...(e=this.parent)==null?void 0:e.call(this),backgroundColor:{default:null,parseHTML:t=>t.style.backgroundColor||null,renderHTML:t=>t.backgroundColor?{style:`background-color: ${t.backgroundColor}`}:{}},color:{default:null,parseHTML:t=>t.style.color||null,renderHTML:t=>t.color?{style:`color: ${t.color}`}:{}},width:{default:null,parseHTML:t=>t.style.width||null,renderHTML:t=>t.width?{style:`width: ${t.width}`}:{}}}}}),jcn=wo.create({name:"tableCell",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:e=>{const t=e.getAttribute("colwidth");return t?t.split(",").map(n=>parseInt(n,10)):null}}}},tableRole:"cell",isolating:!0,parseHTML(){return[{tag:"td"}]},renderHTML({HTMLAttributes:e}){return["td",zr(this.options.HTMLAttributes,e),0]}}),Hcn=jcn.extend({addAttributes(){var e;return{...(e=this.parent)==null?void 0:e.call(this),backgroundColor:{default:null,parseHTML:t=>t.style.backgroundColor||null,renderHTML:t=>t.backgroundColor?{style:`background-color: ${t.backgroundColor}`}:{}},color:{default:null,parseHTML:t=>t.style.color||null,renderHTML:t=>t.color?{style:`color: ${t.color}`}:{}},width:{default:null,parseHTML:t=>t.style.width||null,renderHTML:t=>t.width?{style:`width: ${t.width}`}:{}}}}}),Ucn=gi.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:e=>e.length,wordCounter:e=>e.split(" ").filter(t=>t!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=e=>{const t=(e==null?void 0:e.node)||this.editor.state.doc;if(((e==null?void 0:e.mode)||this.options.mode)==="textSize"){const n=t.textBetween(0,t.content.size,void 0," ");return this.options.textCounter(n)}return t.nodeSize},this.storage.words=e=>{const t=(e==null?void 0:e.node)||this.editor.state.doc,n=t.textBetween(0,t.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let e=!1;return[new Ei({key:new $i("characterCount"),appendTransaction:(t,n,r)=>{if(e)return;const i=this.options.limit;if(i==null||i===0){e=!0;return}const o=this.storage.characters({node:r.doc});if(o>i){const a=o-i,s=0,l=a;console.warn(`[CharacterCount] Initial content exceeded limit of ${i} characters. Content was automatically trimmed.`);const c=r.tr.deleteRange(s,l);return e=!0,c}e=!0},filterTransaction:(t,n)=>{const r=this.options.limit;if(!t.docChanged||r===0||r===null||r===void 0)return!0;const i=this.storage.characters({node:n.doc}),o=this.storage.characters({node:t.doc});if(o<=r||i>r&&o>r&&o<=i)return!0;if(i>r&&o>r&&o>i||!t.getMeta("paste"))return!1;const a=t.selection.$head.pos,s=o-r,l=a-s,c=a;return t.deleteRange(l,c),!(this.storage.characters({node:t.doc})>r)}})]}}),zcn="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster6d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",Vcn="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",q_=(e,t)=>{for(const n in t)e[n]=t[n];return e},NV="numeric",MV="ascii",kV="alpha",Aw="asciinumeric",zC="alphanumeric",PV="domain",kPe="emoji",Gcn="scheme",Wcn="slashscheme",W6="whitespace";function qcn(e,t){return e in t||(t[e]=[]),t[e]}function K1(e,t,n){t[NV]&&(t[Aw]=!0,t[zC]=!0),t[MV]&&(t[Aw]=!0,t[kV]=!0),t[Aw]&&(t[zC]=!0),t[kV]&&(t[zC]=!0),t[zC]&&(t[PV]=!0),t[kPe]&&(t[PV]=!0);for(const r in t){const i=qcn(r,n);i.indexOf(e)<0&&i.push(e)}}function Ycn(e,t){const n={};for(const r in t)t[r].indexOf(e)>=0&&(n[r]=!0);return n}function El(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}El.groups={};El.prototype={accepts(){return!!this.t},go(e){const t=this,n=t.j[e];if(n)return n;for(let r=0;re.ta(t,n,r,i),$o=(e,t,n,r,i)=>e.tr(t,n,r,i),Lfe=(e,t,n,r,i)=>e.ts(t,n,r,i),un=(e,t,n,r,i)=>e.tt(t,n,r,i),wp="WORD",DV="UWORD",PPe="ASCIINUMERICAL",DPe="ALPHANUMERICAL",bx="LOCALHOST",LV="TLD",$V="UTLD",SN="SCHEME",Mb="SLASH_SCHEME",$X="NUM",FV="WS",FX="NL",Nw="OPENBRACE",Mw="CLOSEBRACE",a4="OPENBRACKET",s4="CLOSEBRACKET",l4="OPENPAREN",c4="CLOSEPAREN",u4="OPENANGLEBRACKET",d4="CLOSEANGLEBRACKET",f4="FULLWIDTHLEFTPAREN",p4="FULLWIDTHRIGHTPAREN",h4="LEFTCORNERBRACKET",m4="RIGHTCORNERBRACKET",g4="LEFTWHITECORNERBRACKET",v4="RIGHTWHITECORNERBRACKET",b4="FULLWIDTHLESSTHAN",y4="FULLWIDTHGREATERTHAN",_4="AMPERSAND",BX="APOSTROPHE",S4="ASTERISK",mm="AT",E4="BACKSLASH",C4="BACKTICK",w4="CARET",Em="COLON",jX="COMMA",T4="DOLLAR",rf="DOT",x4="EQUALS",HX="EXCLAMATION",Vc="HYPHEN",kw="PERCENT",O4="PIPE",R4="PLUS",I4="POUND",Pw="QUERY",UX="QUOTE",LPe="FULLWIDTHMIDDLEDOT",zX="SEMI",of="SLASH",Dw="TILDE",A4="UNDERSCORE",$Pe="EMOJI",N4="SYM";var FPe=Object.freeze({__proto__:null,WORD:wp,UWORD:DV,ASCIINUMERICAL:PPe,ALPHANUMERICAL:DPe,LOCALHOST:bx,TLD:LV,UTLD:$V,SCHEME:SN,SLASH_SCHEME:Mb,NUM:$X,WS:FV,NL:FX,OPENBRACE:Nw,CLOSEBRACE:Mw,OPENBRACKET:a4,CLOSEBRACKET:s4,OPENPAREN:l4,CLOSEPAREN:c4,OPENANGLEBRACKET:u4,CLOSEANGLEBRACKET:d4,FULLWIDTHLEFTPAREN:f4,FULLWIDTHRIGHTPAREN:p4,LEFTCORNERBRACKET:h4,RIGHTCORNERBRACKET:m4,LEFTWHITECORNERBRACKET:g4,RIGHTWHITECORNERBRACKET:v4,FULLWIDTHLESSTHAN:b4,FULLWIDTHGREATERTHAN:y4,AMPERSAND:_4,APOSTROPHE:BX,ASTERISK:S4,AT:mm,BACKSLASH:E4,BACKTICK:C4,CARET:w4,COLON:Em,COMMA:jX,DOLLAR:T4,DOT:rf,EQUALS:x4,EXCLAMATION:HX,HYPHEN:Vc,PERCENT:kw,PIPE:O4,PLUS:R4,POUND:I4,QUERY:Pw,QUOTE:UX,FULLWIDTHMIDDLEDOT:LPe,SEMI:zX,SLASH:of,TILDE:Dw,UNDERSCORE:A4,EMOJI:$Pe,SYM:N4});const dp=/[a-z]/,iC=new RegExp("\\p{L}","u"),q6=new RegExp("\\p{Emoji}","u"),fp=/\d/,Y6=/\s/,$fe="\r",K6=` +`,Kcn="️",Qcn="‍",Q6="";let _I=null,SI=null;function Xcn(e=[]){const t={};El.groups=t;const n=new El;_I==null&&(_I=Ffe(zcn)),SI==null&&(SI=Ffe(Vcn)),un(n,"'",BX),un(n,"{",Nw),un(n,"}",Mw),un(n,"[",a4),un(n,"]",s4),un(n,"(",l4),un(n,")",c4),un(n,"<",u4),un(n,">",d4),un(n,"(",f4),un(n,")",p4),un(n,"「",h4),un(n,"」",m4),un(n,"『",g4),un(n,"』",v4),un(n,"<",b4),un(n,">",y4),un(n,"&",_4),un(n,"*",S4),un(n,"@",mm),un(n,"`",C4),un(n,"^",w4),un(n,":",Em),un(n,",",jX),un(n,"$",T4),un(n,".",rf),un(n,"=",x4),un(n,"!",HX),un(n,"-",Vc),un(n,"%",kw),un(n,"|",O4),un(n,"+",R4),un(n,"#",I4),un(n,"?",Pw),un(n,'"',UX),un(n,"/",of),un(n,";",zX),un(n,"~",Dw),un(n,"_",A4),un(n,"\\",E4),un(n,"・",LPe);const r=$o(n,fp,$X,{[NV]:!0});$o(r,fp,r);const i=$o(r,dp,PPe,{[Aw]:!0}),o=$o(r,iC,DPe,{[zC]:!0}),a=$o(n,dp,wp,{[MV]:!0});$o(a,fp,i),$o(a,dp,a),$o(i,fp,i),$o(i,dp,i);const s=$o(n,iC,DV,{[kV]:!0});$o(s,dp),$o(s,fp,o),$o(s,iC,s),$o(o,fp,o),$o(o,dp),$o(o,iC,o);const l=un(n,K6,FX,{[W6]:!0}),c=un(n,$fe,FV,{[W6]:!0}),u=$o(n,Y6,FV,{[W6]:!0});un(n,Q6,u),un(c,K6,l),un(c,Q6,u),$o(c,Y6,u),un(u,$fe),un(u,K6),$o(u,Y6,u),un(u,Q6,u);const d=$o(n,q6,$Pe,{[kPe]:!0});un(d,"#"),$o(d,q6,d),un(d,Kcn,d);const f=un(d,Qcn);un(f,"#"),$o(f,q6,d);const h=[[dp,a],[fp,i]],m=[[dp,null],[iC,s],[fp,o]];for(let g=0;g<_I.length;g++)zh(n,_I[g],LV,wp,h);for(let g=0;gg[0]>v[0]?1:-1);for(let g=0;g=0?y[PV]=!0:dp.test(v)?fp.test(v)?y[Aw]=!0:y[MV]=!0:y[NV]=!0,Lfe(n,v,v,y)}return Lfe(n,"localhost",bx,{ascii:!0}),n.jd=new El(N4),{start:n,tokens:q_({groups:t},FPe)}}function BPe(e,t){const n=Zcn(t.replace(/[A-Z]/g,s=>s.toLowerCase())),r=n.length,i=[];let o=0,a=0;for(;a=0&&(d+=n[a].length,f++),c+=n[a].length,o+=n[a].length,a++;o-=d,a-=f,c-=d,i.push({t:u.t,v:t.slice(o-c,o),s:o-c,e:o})}return i}function Zcn(e){const t=[],n=e.length;let r=0;for(;r56319||r+1===n||(o=e.charCodeAt(r+1))<56320||o>57343?e[r]:e.slice(r,r+2);t.push(a),r+=a.length}return t}function zh(e,t,n,r,i){let o;const a=t.length;for(let s=0;s=0;)o++;if(o>0){t.push(n.join(""));for(let a=parseInt(e.substring(r,r+o),10);a>0;a--)n.pop();r+=o}else n.push(e[r]),r++}return t}const yx={defaultProtocol:"http",events:null,format:Bfe,formatHref:Bfe,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function VX(e,t=null){let n=q_({},yx);e&&(n=q_(n,e instanceof VX?e.o:e));const r=n.ignoreTags,i=[];for(let o=0;on?r.substring(0,n)+"…":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=yx.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",n,this),i=e.get("tagName",n,t),o=this.toFormattedString(e),a={},s=e.get("className",n,t),l=e.get("target",n,t),c=e.get("rel",n,t),u=e.getObj("attributes",n,t),d=e.getObj("events",n,t);return a.href=r,s&&(a.class=s),l&&(a.target=l),c&&(a.rel=c),u&&q_(a,u),{tagName:i,attributes:a,content:o,eventListeners:d}}};function O9(e,t){class n extends jPe{constructor(i,o){super(i,o),this.t=e}}for(const r in t)n.prototype[r]=t[r];return n.t=e,n}const jfe=O9("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),Hfe=O9("text"),Jcn=O9("nl"),EI=O9("url",{isLink:!0,toHref(e=yx.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){const e=this.tk;return e.length>=2&&e[0].t!==bx&&e[1].t===Em}}),jc=e=>new El(e);function eun({groups:e}){const t=e.domain.concat([_4,S4,mm,E4,C4,w4,T4,x4,Vc,$X,kw,O4,R4,I4,of,N4,Dw,A4]),n=[Em,jX,rf,HX,kw,Pw,UX,zX,u4,d4,Nw,Mw,s4,a4,l4,c4,f4,p4,h4,m4,g4,v4,b4,y4],r=[_4,BX,S4,E4,C4,w4,T4,x4,Vc,Nw,Mw,kw,O4,R4,I4,Pw,of,N4,Dw,A4],i=jc(),o=un(i,Dw);kr(o,r,o),kr(o,e.domain,o);const a=jc(),s=jc(),l=jc();kr(i,e.domain,a),kr(i,e.scheme,s),kr(i,e.slashscheme,l),kr(a,r,o),kr(a,e.domain,a);const c=un(a,mm);un(o,mm,c),un(s,mm,c),un(l,mm,c);const u=un(o,rf);kr(u,r,o),kr(u,e.domain,o);const d=jc();kr(c,e.domain,d),kr(d,e.domain,d);const f=un(d,rf);kr(f,e.domain,d);const h=jc(jfe);kr(f,e.tld,h),kr(f,e.utld,h),un(c,bx,h);const m=un(d,Vc);un(m,Vc,m),kr(m,e.domain,d),kr(h,e.domain,d),un(h,rf,f),un(h,Vc,m);const g=un(h,Em);kr(g,e.numeric,jfe);const v=un(a,Vc),y=un(a,rf);un(v,Vc,v),kr(v,e.domain,a),kr(y,r,o),kr(y,e.domain,a);const b=jc(EI);kr(y,e.tld,b),kr(y,e.utld,b),kr(b,e.domain,a),kr(b,r,o),un(b,rf,y),un(b,Vc,v),un(b,mm,c);const _=un(b,Em),E=jc(EI);kr(_,e.numeric,E);const C=jc(EI),S=jc();kr(C,t,C),kr(C,n,S),kr(S,t,C),kr(S,n,S),un(b,of,C),un(E,of,C);const w=un(s,Em),T=un(l,Em),O=un(T,of),x=un(O,of);kr(s,e.domain,a),un(s,rf,y),un(s,Vc,v),kr(l,e.domain,a),un(l,rf,y),un(l,Vc,v),kr(w,e.domain,C),un(w,of,C),un(w,Pw,C),kr(x,e.domain,C),kr(x,t,C),un(x,of,C);const A=[[Nw,Mw],[a4,s4],[l4,c4],[u4,d4],[f4,p4],[h4,m4],[g4,v4],[b4,y4]];for(let I=0;I=0&&f++,i++,u++;if(f<0)i-=u,i0&&(o.push(X6(Hfe,t,a)),a=[]),i-=f,u-=f;const h=d.t,m=n.slice(i-u,i);o.push(X6(h,t,m))}}return a.length>0&&o.push(X6(Hfe,t,a)),o}function X6(e,t,n){const r=n[0].s,i=n[n.length-1].e,o=t.slice(r,i);return new e(o,n)}const nun=typeof console<"u"&&console&&console.warn||(()=>{}),run="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",ao={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function iun(){return El.groups={},ao.scanner=null,ao.parser=null,ao.tokenQueue=[],ao.pluginQueue=[],ao.customSchemes=[],ao.initialized=!1,ao}function Ufe(e,t=!1){if(ao.initialized&&nun(`linkifyjs: already initialized - will not register custom scheme "${e}" ${run}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw new Error(`linkifyjs: incorrect scheme format. 1. Must only contain digits, lowercase ASCII letters or "-" 2. Cannot start or end with "-" -3. "-" cannot repeat`);ao.customSchemes.push([e,t])}function oun(){ao.scanner=Xcn(ao.customSchemes);for(let e=0;e{const i=t.some(l=>l.docChanged)&&!n.doc.eq(r.doc),o=t.some(l=>l.getMeta("preventAutolink"));if(!i||o)return;const{tr:a}=r,s=drn(n.doc,[...t]);if(brn(s).forEach(({newRange:l})=>{const c=prn(r.doc,l,f=>f.isTextblock);let u,d;if(c.length>1?(u=c[0],d=r.doc.textBetween(u.pos,u.pos+u.node.nodeSize,void 0," ")):c.length&&r.doc.textBetween(l.from,l.to," "," ").endsWith(" ")&&(u=c[0],d=r.doc.textBetween(u.pos,l.to,void 0," ")),u&&d){const f=d.split(" ").filter(v=>v!=="");if(f.length<=0)return!1;const h=f[f.length-1],m=u.pos+d.lastIndexOf(h);if(!h)return!1;const g=GX(h).map(v=>v.toObject(e.defaultProtocol));if(!aun(g))return!1;g.filter(v=>v.isLink).map(v=>({...v,from:m+v.start+1,to:m+v.end+1})).filter(v=>r.schema.marks.code?!r.doc.rangeHasMark(v.from,v.to,r.schema.marks.code):!0).filter(v=>e.validate(v.value)).filter(v=>e.shouldAutoLink(v.value)).forEach(v=>{CX(v.from,v.to,r.doc).some(y=>y.mark.type===e.type)||a.addMark(v.from,v.to,e.type.create({href:v.href}))})}}),!!a.steps.length)return a}})}function lun(e){return new Ei({key:new $i("handleClickLink"),props:{handleClick:(t,n,r)=>{var i,o;if(r.button!==0||!t.editable)return!1;let a=r.target;const s=[];for(;a.nodeName!=="DIV";)s.push(a),a=a.parentNode;if(!s.find(f=>f.nodeName==="A"))return!1;const l=D4e(t.state,e.type.name),c=r.target,u=(i=c==null?void 0:c.href)!==null&&i!==void 0?i:l.href,d=(o=c==null?void 0:c.target)!==null&&o!==void 0?o:l.target;return c&&u?(window.open(u,d),!0):!1}}})}function cun(e){return new Ei({key:new $i("handlePasteLink"),props:{handlePaste:(t,n,r)=>{const{state:i}=t,{selection:o}=i,{empty:a}=o;if(a)return!1;let s="";r.content.forEach(c=>{s+=c.textContent});const l=H5e(s,{defaultProtocol:e.defaultProtocol}).find(c=>c.isLink&&c.value===s);return!s||!l?!1:e.editor.commands.setMark(e.type,{href:l.href})}}})}const uun=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function l1(e,t){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return t&&t.forEach(r=>{const i=typeof r=="string"?r:r.scheme;i&&n.push(i)}),!e||e.replace(uun,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const dun=Pl.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(e=>{if(typeof e=="string"){Ufe(e);return}Ufe(e.scheme,e.optionalSlashes)})},onDestroy(){iun()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(e,t)=>!!l1(e,t.protocols),validate:e=>!!e,shouldAutoLink:e=>!!e}},addAttributes(){return{href:{default:null,parseHTML(e){return e.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href");return!t||!this.options.isAllowedUri(t,{defaultValidate:n=>!!l1(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:t=>!!l1(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",zr(this.options.HTMLAttributes,e),0]:["a",zr(this.options.HTMLAttributes,{...e,href:""}),0]},addCommands(){return{setLink:e=>({chain:t})=>{const{href:n}=e;return this.options.isAllowedUri(n,{defaultValidate:r=>!!l1(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?t().setMark(this.name,e).setMeta("preventAutolink",!0).run():!1},toggleLink:e=>({chain:t})=>{const{href:n}=e;return this.options.isAllowedUri(n,{defaultValidate:r=>!!l1(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run():!1},unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Eg({find:e=>{const t=[];if(e){const{protocols:n,defaultProtocol:r}=this.options,i=H5e(e).filter(o=>o.isLink&&this.options.isAllowedUri(o.value,{defaultValidate:a=>!!l1(a,n),protocols:n,defaultProtocol:r}));i.length&&i.forEach(o=>t.push({text:o.value,data:{href:o.href},index:o.start}))}return t},type:this.type,getAttributes:e=>{var t;return{href:(t=e.data)===null||t===void 0?void 0:t.href}}})]},addProseMirrorPlugins(){const e=[],{protocols:t,defaultProtocol:n}=this.options;return this.options.autolink&&e.push(sun({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:r=>this.options.isAllowedUri(r,{defaultValidate:i=>!!l1(i,t),protocols:t,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&e.push(lun({type:this.type})),this.options.linkOnPaste&&e.push(cun({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),e}}),fun=Pl.create({name:"superscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sup"},{style:"vertical-align",getAttrs(e){return e!=="super"?!1:null}}]},renderHTML({HTMLAttributes:e}){return["sup",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setSuperscript:()=>({commands:e})=>e.setMark(this.name),toggleSuperscript:()=>({commands:e})=>e.toggleMark(this.name),unsetSuperscript:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-.":()=>this.editor.commands.toggleSuperscript()}}}),pun=Pl.create({name:"subscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sub"},{style:"vertical-align",getAttrs(e){return e!=="sub"?!1:null}}]},renderHTML({HTMLAttributes:e}){return["sub",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setSubscript:()=>({commands:e})=>e.setMark(this.name),toggleSubscript:()=>({commands:e})=>e.toggleMark(this.name),unsetSubscript:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-,":()=>this.editor.commands.toggleSubscript()}}}),hun=wo.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:e}){return["ul",zr(this.options.HTMLAttributes,e,{"data-type":this.name}),0]},addCommands(){return{toggleTaskList:()=>({commands:e})=>e.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}}),mun=/^\s*(\[([( |x])?\])\s$/,gun=wo.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList"}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:e=>{const t=e.getAttribute("data-checked");return t===""||t==="true"},renderHTML:e=>({"data-checked":e.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:e,HTMLAttributes:t}){return["li",zr(this.options.HTMLAttributes,t,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:e.attrs.checked?"checked":null}],["span"]],["div",0]]},addKeyboardShortcuts(){const e={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...e,Tab:()=>this.editor.commands.sinkListItem(this.name)}:e},addNodeView(){return({node:e,HTMLAttributes:t,getPos:n,editor:r})=>{const i=document.createElement("li"),o=document.createElement("label"),a=document.createElement("span"),s=document.createElement("input"),l=document.createElement("div");return o.contentEditable="false",s.type="checkbox",s.addEventListener("mousedown",c=>c.preventDefault()),s.addEventListener("change",c=>{if(!r.isEditable&&!this.options.onReadOnlyChecked){s.checked=!s.checked;return}const{checked:u}=c.target;r.isEditable&&typeof n=="function"&&r.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:d})=>{const f=n();if(typeof f!="number")return!1;const h=d.doc.nodeAt(f);return d.setNodeMarkup(f,void 0,{...h==null?void 0:h.attrs,checked:u}),!0}).run(),!r.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(e,u)||(s.checked=!s.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([c,u])=>{i.setAttribute(c,u)}),i.dataset.checked=e.attrs.checked,s.checked=e.attrs.checked,o.append(s,a),i.append(o,l),Object.entries(t).forEach(([c,u])=>{i.setAttribute(c,u)}),{dom:i,contentDOM:l,update:c=>c.type!==this.type?!1:(i.dataset.checked=c.attrs.checked,s.checked=c.attrs.checked,!0)}}},addInputRules(){return[o0({find:mun,type:this.type,getAttributes:e=>({checked:e[e.length-1]==="x"})})]}});function vun(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function U5e(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const n=e[t],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&U5e(n)}),e}let zfe=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function z5e(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function zm(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const bun="",Vfe=e=>!!e.scope,yun=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`};let _un=class{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=z5e(e)}openNode(e){if(!Vfe(e))return;const t=yun(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){Vfe(e)&&(this.buffer+=bun)}value(){return this.buffer}span(e){this.buffer+=``}};const Gfe=(e={})=>{const t={children:[]};return Object.assign(t,e),t};let Sun=class V5e{constructor(){this.rootNode=Gfe(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n=Gfe({scope:t});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{V5e._collapse(n)}))}},Eun=class extends Sun{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new _un(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function _x(e){return e?typeof e=="string"?e:e.source:null}function G5e(e){return F0("(?=",e,")")}function Cun(e){return F0("(?:",e,")*")}function wun(e){return F0("(?:",e,")?")}function F0(...e){return e.map(t=>_x(t)).join("")}function Tun(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function WX(...e){return"("+(Tun(e).capture?"":"?:")+e.map(t=>_x(t)).join("|")+")"}function W5e(e){return new RegExp(e.toString()+"|").exec("").length-1}function xun(e,t){const n=e&&e.exec(t);return n&&n.index===0}const Oun=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function qX(e,{joinWith:t}){let n=0;return e.map(r=>{n+=1;const i=n;let o=_x(r),a="";for(;o.length>0;){const s=Oun.exec(o);if(!s){a+=o;break}a+=o.substring(0,s.index),o=o.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+i):(a+=s[0],s[0]==="("&&n++)}return a}).map(r=>`(${r})`).join(t)}const Run=/\b\B/,q5e="[a-zA-Z]\\w*",YX="[a-zA-Z_]\\w*",Y5e="\\b\\d+(\\.\\d+)?",K5e="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Q5e="\\b(0b[01]+)",Iun="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Aun=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=F0(t,/.*\b/,e.binary,/\b.*/)),zm({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},Sx={begin:"\\\\[\\s\\S]",relevance:0},Nun={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Sx]},Mun={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Sx]},kun={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},R9=function(e,t,n={}){const r=zm({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=WX("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:F0(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},Pun=R9("//","$"),Dun=R9("/\\*","\\*/"),Lun=R9("#","$"),$un={scope:"number",begin:Y5e,relevance:0},Fun={scope:"number",begin:K5e,relevance:0},Bun={scope:"number",begin:Q5e,relevance:0},jun={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Sx,{begin:/\[/,end:/\]/,relevance:0,contains:[Sx]}]},Hun={scope:"title",begin:q5e,relevance:0},Uun={scope:"title",begin:YX,relevance:0},zun={begin:"\\.\\s*"+YX,relevance:0},Vun=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})};var CI=Object.freeze({__proto__:null,APOS_STRING_MODE:Nun,BACKSLASH_ESCAPE:Sx,BINARY_NUMBER_MODE:Bun,BINARY_NUMBER_RE:Q5e,COMMENT:R9,C_BLOCK_COMMENT_MODE:Dun,C_LINE_COMMENT_MODE:Pun,C_NUMBER_MODE:Fun,C_NUMBER_RE:K5e,END_SAME_AS_BEGIN:Vun,HASH_COMMENT_MODE:Lun,IDENT_RE:q5e,MATCH_NOTHING_RE:Run,METHOD_GUARD:zun,NUMBER_MODE:$un,NUMBER_RE:Y5e,PHRASAL_WORDS_MODE:kun,QUOTE_STRING_MODE:Mun,REGEXP_MODE:jun,RE_STARTERS_RE:Iun,SHEBANG:Aun,TITLE_MODE:Hun,UNDERSCORE_IDENT_RE:YX,UNDERSCORE_TITLE_MODE:Uun});function Gun(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function Wun(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function qun(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Gun,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function Yun(e,t){Array.isArray(e.illegal)&&(e.illegal=WX(...e.illegal))}function Kun(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Qun(e,t){e.relevance===void 0&&(e.relevance=1)}const Xun=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=n.keywords,e.begin=F0(n.beforeMatch,G5e(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},Zun=["of","and","for","in","not","or","if","then","parent","list","value"],Jun="keyword";function X5e(e,t,n=Jun){const r=Object.create(null);return typeof e=="string"?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(o){Object.assign(r,X5e(e[o],t,o))}),r;function i(o,a){t&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){const l=s.split("|");r[l[0]]=[o,edn(l[0],l[1])]})}}function edn(e,t){return t?Number(t):tdn(e)?0:1}function tdn(e){return Zun.includes(e.toLowerCase())}const Wfe={},Tv=e=>{console.error(e)},qfe=(e,...t)=>{console.log(`WARN: ${e}`,...t)},yb=(e,t)=>{Wfe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Wfe[`${e}/${t}`]=!0)},M4=new Error;function Z5e(e,t,{key:n}){let r=0;const i=e[n],o={},a={};for(let s=1;s<=t.length;s++)a[s+r]=i[s],o[s+r]=!0,r+=W5e(t[s-1]);e[n]=a,e[n]._emit=o,e[n]._multi=!0}function ndn(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Tv("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),M4;if(typeof e.beginScope!="object"||e.beginScope===null)throw Tv("beginScope must be object"),M4;Z5e(e,e.begin,{key:"beginScope"}),e.begin=qX(e.begin,{joinWith:""})}}function rdn(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Tv("skip, excludeEnd, returnEnd not compatible with endScope: {}"),M4;if(typeof e.endScope!="object"||e.endScope===null)throw Tv("endScope must be object"),M4;Z5e(e,e.end,{key:"endScope"}),e.end=qX(e.end,{joinWith:""})}}function idn(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function odn(e){idn(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),ndn(e),rdn(e)}function adn(e){function t(a,s){return new RegExp(_x(a),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=W5e(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=t(qX(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const c=l.findIndex((d,f)=>f>0&&d!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new n;return this.rules.slice(s).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(s);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(s)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(a){const s=new r;return a.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),a.terminatorEnd&&s.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&s.addRule(a.illegal,{type:"illegal"}),s}function o(a,s){const l=a;if(a.isCompiled)return l;[Wun,Kun,odn,Xun].forEach(u=>u(a,s)),e.compilerExtensions.forEach(u=>u(a,s)),a.__beforeBegin=null,[qun,Yun,Qun].forEach(u=>u(a,s)),a.isCompiled=!0;let c=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),c=a.keywords.$pattern,delete a.keywords.$pattern),c=c||/\w+/,a.keywords&&(a.keywords=X5e(a.keywords,e.case_insensitive)),l.keywordPatternRe=t(c,!0),s&&(a.begin||(a.begin=/\B|\b/),l.beginRe=t(l.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(l.endRe=t(l.end)),l.terminatorEnd=_x(l.end)||"",a.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(l.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return sdn(u==="self"?a:u)})),a.contains.forEach(function(u){o(u,l)}),a.starts&&o(a.starts,s),l.matcher=i(l),l}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=zm(e.classNameAliases||{}),o(e)}function J5e(e){return e?e.endsWithParent||J5e(e.starts):!1}function sdn(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return zm(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:J5e(e)?zm(e,{starts:e.starts?zm(e.starts):null}):Object.isFrozen(e)?zm(e):e}var ldn="11.10.0";let cdn=class extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}};const Z6=z5e,Yfe=zm,Kfe=Symbol("nomatch"),udn=7,ePe=function(e){const t=Object.create(null),n=Object.create(null),r=[];let i=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Eun};function l(N){return s.noHighlightRe.test(N)}function c(N){let L=N.className+" ";L+=N.parentNode?N.parentNode.className:"";const V=s.languageDetectRe.exec(L);if(V){const $=O(V[1]);return $||(qfe(o.replace("{}",V[1])),qfe("Falling back to no-highlight mode for this block.",N)),$?V[1]:"no-highlight"}return L.split(/\s+/).find($=>l($)||O($))}function u(N,L,V){let $="",W="";typeof L=="object"?($=N,V=L.ignoreIllegals,W=L.language):(yb("10.7.0","highlight(lang, code, ...args) has been deprecated."),yb("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),W=N,$=L),V===void 0&&(V=!0);const j={code:$,language:W};P("before:highlight",j);const U=j.result?j.result:d(j.language,j.code,V);return U.code=j.code,P("after:highlight",U),U}function d(N,L,V,$){const W=Object.create(null);function j(D,q){return D.keywords[q]}function U(){if(!Te.keywords){me.addText(be);return}let D=0;Te.keywordPatternRe.lastIndex=0;let q=Te.keywordPatternRe.exec(be),oe="";for(;q;){oe+=be.substring(D,q.index);const ye=ue.case_insensitive?q[0].toLowerCase():q[0],ce=j(Te,ye);if(ce){const[Be,Ve]=ce;if(me.addText(oe),oe="",W[ye]=(W[ye]||0)+1,W[ye]<=udn&&(_e+=Ve),Be.startsWith("_"))oe+=q[0];else{const re=ue.classNameAliases[Be]||Be;ae(q[0],re)}}else oe+=q[0];D=Te.keywordPatternRe.lastIndex,q=Te.keywordPatternRe.exec(be)}oe+=be.substring(D),me.addText(oe)}function Z(){if(be==="")return;let D=null;if(typeof Te.subLanguage=="string"){if(!t[Te.subLanguage]){me.addText(be);return}D=d(Te.subLanguage,be,!0,Se[Te.subLanguage]),Se[Te.subLanguage]=D._top}else D=h(be,Te.subLanguage.length?Te.subLanguage:null);Te.relevance>0&&(_e+=D.relevance),me.__addSublanguage(D._emitter,D.language)}function te(){Te.subLanguage!=null?Z():U(),be=""}function ae(D,q){D!==""&&(me.startScope(q),me.addText(D),me.endScope())}function K(D,q){let oe=1;const ye=q.length-1;for(;oe<=ye;){if(!D._emit[oe]){oe++;continue}const ce=ue.classNameAliases[D[oe]]||D[oe],Be=q[oe];ce?ae(Be,ce):(be=Be,U(),be=""),oe++}}function Q(D,q){return D.scope&&typeof D.scope=="string"&&me.openNode(ue.classNameAliases[D.scope]||D.scope),D.beginScope&&(D.beginScope._wrap?(ae(be,ue.classNameAliases[D.beginScope._wrap]||D.beginScope._wrap),be=""):D.beginScope._multi&&(K(D.beginScope,q),be="")),Te=Object.create(D,{parent:{value:Te}}),Te}function ie(D,q,oe){let ye=xun(D.endRe,oe);if(ye){if(D["on:end"]){const ce=new zfe(D);D["on:end"](q,ce),ce.isMatchIgnored&&(ye=!1)}if(ye){for(;D.endsParent&&D.parent;)D=D.parent;return D}}if(D.endsWithParent)return ie(D.parent,q,oe)}function he(D){return Te.matcher.regexIndex===0?(be+=D[0],1):(z=!0,0)}function pe(D){const q=D[0],oe=D.rule,ye=new zfe(oe),ce=[oe.__beforeBegin,oe["on:begin"]];for(const Be of ce)if(Be&&(Be(D,ye),ye.isMatchIgnored))return he(q);return oe.skip?be+=q:(oe.excludeBegin&&(be+=q),te(),!oe.returnBegin&&!oe.excludeBegin&&(be=q)),Q(oe,D),oe.returnBegin?0:q.length}function le(D){const q=D[0],oe=L.substring(D.index),ye=ie(Te,D,oe);if(!ye)return Kfe;const ce=Te;Te.endScope&&Te.endScope._wrap?(te(),ae(q,Te.endScope._wrap)):Te.endScope&&Te.endScope._multi?(te(),K(Te.endScope,D)):ce.skip?be+=q:(ce.returnEnd||ce.excludeEnd||(be+=q),te(),ce.excludeEnd&&(be=q));do Te.scope&&me.closeNode(),!Te.skip&&!Te.subLanguage&&(_e+=Te.relevance),Te=Te.parent;while(Te!==ye.parent);return ye.starts&&Q(ye.starts,D),ce.returnEnd?0:q.length}function de(){const D=[];for(let q=Te;q!==ue;q=q.parent)q.scope&&D.unshift(q.scope);D.forEach(q=>me.openNode(q))}let ve={};function ne(D,q){const oe=q&&q[0];if(be+=D,oe==null)return te(),0;if(ve.type==="begin"&&q.type==="end"&&ve.index===q.index&&oe===""){if(be+=L.slice(q.index,q.index+1),!i){const ye=new Error(`0 width match regex (${N})`);throw ye.languageName=N,ye.badRule=ve.rule,ye}return 1}if(ve=q,q.type==="begin")return pe(q);if(q.type==="illegal"&&!V){const ye=new Error('Illegal lexeme "'+oe+'" for mode "'+(Te.scope||"")+'"');throw ye.mode=Te,ye}else if(q.type==="end"){const ye=le(q);if(ye!==Kfe)return ye}if(q.type==="illegal"&&oe==="")return 1;if(De>1e5&&De>q.index*3)throw new Error("potential infinite loop, way more iterations than matches");return be+=oe,oe.length}const ue=O(N);if(!ue)throw Tv(o.replace("{}",N)),new Error('Unknown language: "'+N+'"');const ge=adn(ue);let Ce="",Te=$||ge;const Se={},me=new s.__emitter(s);de();let be="",_e=0,Re=0,De=0,z=!1;try{if(ue.__emitTokens)ue.__emitTokens(L,me);else{for(Te.matcher.considerAll();;){De++,z?z=!1:Te.matcher.considerAll(),Te.matcher.lastIndex=Re;const D=Te.matcher.exec(L);if(!D)break;const q=L.substring(Re,D.index),oe=ne(q,D);Re=D.index+oe}ne(L.substring(Re))}return me.finalize(),Ce=me.toHTML(),{language:N,value:Ce,relevance:_e,illegal:!1,_emitter:me,_top:Te}}catch(D){if(D.message&&D.message.includes("Illegal"))return{language:N,value:Z6(L),illegal:!0,relevance:0,_illegalBy:{message:D.message,index:Re,context:L.slice(Re-100,Re+100),mode:D.mode,resultSoFar:Ce},_emitter:me};if(i)return{language:N,value:Z6(L),illegal:!1,relevance:0,errorRaised:D,_emitter:me,_top:Te};throw D}}function f(N){const L={value:Z6(N),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return L._emitter.addText(N),L}function h(N,L){L=L||s.languages||Object.keys(t);const V=f(N),$=L.filter(O).filter(A).map(te=>d(te,N,!1));$.unshift(V);const W=$.sort((te,ae)=>{if(te.relevance!==ae.relevance)return ae.relevance-te.relevance;if(te.language&&ae.language){if(O(te.language).supersetOf===ae.language)return 1;if(O(ae.language).supersetOf===te.language)return-1}return 0}),[j,U]=W,Z=j;return Z.secondBest=U,Z}function m(N,L,V){const $=L&&n[L]||V;N.classList.add("hljs"),N.classList.add(`language-${$}`)}function g(N){let L=null;const V=c(N);if(l(V))return;if(P("before:highlightElement",{el:N,language:V}),N.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",N);return}if(N.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(N)),s.throwUnescapedHTML))throw new cdn("One of your code blocks includes unescaped HTML.",N.innerHTML);L=N;const $=L.textContent,W=V?u($,{language:V,ignoreIllegals:!0}):h($);N.innerHTML=W.value,N.dataset.highlighted="yes",m(N,V,W.language),N.result={language:W.language,re:W.relevance,relevance:W.relevance},W.secondBest&&(N.secondBest={language:W.secondBest.language,relevance:W.secondBest.relevance}),P("after:highlightElement",{el:N,result:W,text:$})}function v(N){s=Yfe(s,N)}const y=()=>{E(),yb("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function b(){E(),yb("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let _=!1;function E(){if(document.readyState==="loading"){_=!0;return}document.querySelectorAll(s.cssSelector).forEach(g)}function C(){_&&E()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",C,!1);function S(N,L){let V=null;try{V=L(e)}catch($){if(Tv("Language definition for '{}' could not be registered.".replace("{}",N)),i)Tv($);else throw $;V=a}V.name||(V.name=N),t[N]=V,V.rawDefinition=L.bind(null,e),V.aliases&&x(V.aliases,{languageName:N})}function w(N){delete t[N];for(const L of Object.keys(n))n[L]===N&&delete n[L]}function T(){return Object.keys(t)}function O(N){return N=(N||"").toLowerCase(),t[N]||t[n[N]]}function x(N,{languageName:L}){typeof N=="string"&&(N=[N]),N.forEach(V=>{n[V.toLowerCase()]=L})}function A(N){const L=O(N);return L&&!L.disableAutodetect}function I(N){N["before:highlightBlock"]&&!N["before:highlightElement"]&&(N["before:highlightElement"]=L=>{N["before:highlightBlock"](Object.assign({block:L.el},L))}),N["after:highlightBlock"]&&!N["after:highlightElement"]&&(N["after:highlightElement"]=L=>{N["after:highlightBlock"](Object.assign({block:L.el},L))})}function M(N){I(N),r.push(N)}function B(N){const L=r.indexOf(N);L!==-1&&r.splice(L,1)}function P(N,L){const V=N;r.forEach(function($){$[V]&&$[V](L)})}function k(N){return yb("10.7.0","highlightBlock will be removed entirely in v12.0"),yb("10.7.0","Please use highlightElement now."),g(N)}Object.assign(e,{highlight:u,highlightAuto:h,highlightAll:E,highlightElement:g,highlightBlock:k,configure:v,initHighlighting:y,initHighlightingOnLoad:b,registerLanguage:S,unregisterLanguage:w,listLanguages:T,getLanguage:O,registerAliases:x,autoDetection:A,inherit:Yfe,addPlugin:M,removePlugin:B}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=ldn,e.regex={concat:F0,lookahead:G5e,either:WX,optional:wun,anyNumberOfTimes:Cun};for(const N in CI)typeof CI[N]=="object"&&U5e(CI[N]);return Object.assign(e,CI),e},Y_=ePe({});Y_.newInstance=()=>ePe({});var ddn=Y_;Y_.HighlightJS=Y_;Y_.default=Y_;var fdn=vun(ddn);function tPe(e,t=[]){return e.map(n=>{const r=[...t,...n.properties?n.properties.className:[]];return n.children?tPe(n.children,r):{text:n.value,classes:r}}).flat()}function Qfe(e){return e.value||e.children||[]}function pdn(e){return!!fdn.getLanguage(e)}function Xfe({doc:e,name:t,lowlight:n,defaultLanguage:r}){const i=[];return mV(e,o=>o.type.name===t).forEach(o=>{var a;let s=o.pos+1;const l=o.node.attrs.language||r,c=n.listLanguages(),u=l&&(c.includes(l)||pdn(l)||!((a=n.registered)===null||a===void 0)&&a.call(n,l))?Qfe(n.highlight(l,o.node.textContent)):Qfe(n.highlightAuto(o.node.textContent));tPe(u).forEach(d=>{const f=s+d.text.length;if(d.classes.length){const h=na.inline(s,f,{class:d.classes.join(" ")});i.push(h)}s=f})}),Ci.create(e,i)}function hdn(e){return typeof e=="function"}function mdn({name:e,lowlight:t,defaultLanguage:n}){if(!["highlight","highlightAuto","listLanguages"].every(i=>hdn(t[i])))throw Error("You should provide an instance of lowlight to use the code-block-lowlight extension");const r=new Ei({key:new $i("lowlight"),state:{init:(i,{doc:o})=>Xfe({doc:o,name:e,lowlight:t,defaultLanguage:n}),apply:(i,o,a,s)=>{const l=a.selection.$head.parent.type.name,c=s.selection.$head.parent.type.name,u=mV(a.doc,f=>f.type.name===e),d=mV(s.doc,f=>f.type.name===e);return i.docChanged&&([l,c].includes(e)||d.length!==u.length||i.steps.some(f=>f.from!==void 0&&f.to!==void 0&&u.some(h=>h.pos>=f.from&&h.pos+h.node.nodeSize<=f.to)))?Xfe({doc:i.doc,name:e,lowlight:t,defaultLanguage:n}):o.map(i.mapping,i.doc)}},props:{decorations(i){return r.getState(i)}}});return r}const gdn=g5e.extend({addOptions(){var e;return{...(e=this.parent)===null||e===void 0?void 0:e.call(this),lowlight:{},languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}},addProseMirrorPlugins(){var e;return[...((e=this.parent)===null||e===void 0?void 0:e.call(this))||[],mdn({name:this.name,lowlight:this.options.lowlight,defaultLanguage:this.options.defaultLanguage})]}});function Zfe(e,t,n={}){const{empty:r,ranges:i,from:o,to:a}=e.selection,s=t?Ph(t,e.schema):null;if(r)return!!(e.storedMarks||e.selection.$from.marks()).filter(m=>s?s.name===m.type.name:!0).find(m=>U_(m.attrs,n,{strict:!1}));let l=o,c=a;const u=[];i.forEach(({$from:m,$to:g})=>{const v=m.pos,y=g.pos;l=Math.min(l,v),c=Math.max(l,y),e.doc.nodesBetween(v,y,(b,_)=>{if(!b.isText&&!b.marks.length)return;const E=Math.max(v,_),C=Math.min(y,_+b.nodeSize);u.push(...b.marks.map(S=>({mark:S,from:E,to:C})))})});const d=c-l;if(d===0)return!1;const f=u.filter(m=>s?s.name===m.mark.type.name:!0).filter(m=>U_(m.mark.attrs,n,{strict:!1})).reduce((m,g)=>m+g.to-g.from,0),h=u.filter(m=>s?m.mark.type!==s&&m.mark.type.excludes(s):!0).reduce((m,g)=>m+g.to-g.from,0);return(f>0?f+h:f)>=d}function Jfe(e){var t;return!!((t=e.spec.group)!=null&&t.split(" ").includes("list"))}function J6(e,t,n={}){if(!t)return r0(e,null,n)||Zfe(e,null,n);const r=e.schema.nodes[t];if(r){if(Jfe(r)){const i=y9(o=>Jfe(o.type))(e.selection);return!!(i&&i.node.type.name===t)}return r0(e,t,n)}return e.schema.marks[t]?Zfe(e,t,n):!1}function epe(e){return new hO({find:e.find,handler:({state:t,range:n,match:r,commands:i})=>{const o=t.doc.resolve(n.from),a=Ar(e.getAttributes,void 0,r)||{};if(!o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,a),setTimeout(()=>i.focus(!0),0)}})}const nPe=[{name:"Auto",value:"auto"},{name:"Plain Text",value:"plaintext",alias:["text","txt"]},{name:"Bash",value:"bash",alias:["sh"]},{name:"BASIC",value:"basic",alias:[]},{name:"C",value:"c",alias:["h"]},{name:"Clojure",value:"clojure",alias:["clj","edn"]},{name:"CMake",value:"cmake",alias:["cmake.in"]},{name:"CoffeeScript",value:"coffeescript",alias:["coffee","cson","iced"]},{name:"C++",value:"cpp",alias:["cc","c++","h++","hpp","hh","hxx","cxx"]},{name:"C#",value:"csharp",alias:["cs","c#"]},{name:"CSS",value:"css",alias:[]},{name:"Dart",value:"dart",alias:[]},{name:"Delphi",value:"delphi",alias:["dpr","dfm","pas","pascal"]},{name:"Dockerfile",value:"dockerfile",alias:["docker"]},{name:"Erlang",value:"erlang",alias:["erl"]},{name:"Go",value:"go",alias:["golang"]},{name:"GraphQL",value:"graphql",alias:["gql"]},{name:"Groovy",value:"groovy",alias:[]},{name:"Java",value:"java",alias:["jsp"]},{name:"JavaScript",value:"javascript",alias:["js","jsx","mjs","cjs"]},{name:"JSON",value:"json",alias:[]},{name:"Kotlin",value:"kotlin",alias:["kt","kts"]},{name:"Lua",value:"lua",alias:[]},{name:"Makefile",value:"makefile",alias:["mk","mak","make"]},{name:"Markdown",value:"markdown",alias:["md","mkdown","mkd"]},{name:"Matlab",value:"matlab",alias:[]},{name:"Objective-C",value:"objectivec",alias:["mm","objc","obj-c","obj-c++","objective-c++"]},{name:"PHP",value:"php",alias:[]},{name:"Properties",value:"properties",alias:[]},{name:"Python",value:"python",alias:["py","gyp","ipython"]},{name:"Ruby",value:"ruby",alias:["rb","gemspec","podspec","thor","irb"]},{name:"Rust",value:"rust",alias:["rs"]},{name:"Scala",value:"scala",alias:[]},{name:"SCSS",value:"scss",alias:[]},{name:"Shell",value:"shell",alias:["console","shellsession"]},{name:"SQL",value:"sql",alias:[]},{name:"Swift",value:"swift",alias:[]},{name:"TypeScript",value:"typescript",alias:["ts","tsx"]},{name:"WebAssembly",value:"wasm",alias:[]},{name:"HTML, XML",value:"xml",alias:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"]},{name:"YAML",value:"yaml",alias:["yml"]}],tpe=e=>{if(!e)return null;const t=e.toLocaleLowerCase();return nPe.find(n=>n.value===t||n.alias&&n.alias.includes(t))};function npe(e,t){const{$from:n,from:r,to:i}=e,o=(t.textContent||"").split(` +3. "-" cannot repeat`);ao.customSchemes.push([e,t])}function oun(){ao.scanner=Xcn(ao.customSchemes);for(let e=0;e{const i=t.some(l=>l.docChanged)&&!n.doc.eq(r.doc),o=t.some(l=>l.getMeta("preventAutolink"));if(!i||o)return;const{tr:a}=r,s=drn(n.doc,[...t]);if(brn(s).forEach(({newRange:l})=>{const c=prn(r.doc,l,f=>f.isTextblock);let u,d;if(c.length>1?(u=c[0],d=r.doc.textBetween(u.pos,u.pos+u.node.nodeSize,void 0," ")):c.length&&r.doc.textBetween(l.from,l.to," "," ").endsWith(" ")&&(u=c[0],d=r.doc.textBetween(u.pos,l.to,void 0," ")),u&&d){const f=d.split(" ").filter(v=>v!=="");if(f.length<=0)return!1;const h=f[f.length-1],m=u.pos+d.lastIndexOf(h);if(!h)return!1;const g=GX(h).map(v=>v.toObject(e.defaultProtocol));if(!aun(g))return!1;g.filter(v=>v.isLink).map(v=>({...v,from:m+v.start+1,to:m+v.end+1})).filter(v=>r.schema.marks.code?!r.doc.rangeHasMark(v.from,v.to,r.schema.marks.code):!0).filter(v=>e.validate(v.value)).filter(v=>e.shouldAutoLink(v.value)).forEach(v=>{CX(v.from,v.to,r.doc).some(y=>y.mark.type===e.type)||a.addMark(v.from,v.to,e.type.create({href:v.href}))})}}),!!a.steps.length)return a}})}function lun(e){return new Ei({key:new $i("handleClickLink"),props:{handleClick:(t,n,r)=>{var i,o;if(r.button!==0||!t.editable)return!1;let a=r.target;const s=[];for(;a.nodeName!=="DIV";)s.push(a),a=a.parentNode;if(!s.find(f=>f.nodeName==="A"))return!1;const l=D4e(t.state,e.type.name),c=r.target,u=(i=c==null?void 0:c.href)!==null&&i!==void 0?i:l.href,d=(o=c==null?void 0:c.target)!==null&&o!==void 0?o:l.target;return c&&u?(window.open(u,d),!0):!1}}})}function cun(e){return new Ei({key:new $i("handlePasteLink"),props:{handlePaste:(t,n,r)=>{const{state:i}=t,{selection:o}=i,{empty:a}=o;if(a)return!1;let s="";r.content.forEach(c=>{s+=c.textContent});const l=HPe(s,{defaultProtocol:e.defaultProtocol}).find(c=>c.isLink&&c.value===s);return!s||!l?!1:e.editor.commands.setMark(e.type,{href:l.href})}}})}const uun=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function l1(e,t){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return t&&t.forEach(r=>{const i=typeof r=="string"?r:r.scheme;i&&n.push(i)}),!e||e.replace(uun,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}const dun=Pl.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(e=>{if(typeof e=="string"){Ufe(e);return}Ufe(e.scheme,e.optionalSlashes)})},onDestroy(){iun()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(e,t)=>!!l1(e,t.protocols),validate:e=>!!e,shouldAutoLink:e=>!!e}},addAttributes(){return{href:{default:null,parseHTML(e){return e.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href");return!t||!this.options.isAllowedUri(t,{defaultValidate:n=>!!l1(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:t=>!!l1(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",zr(this.options.HTMLAttributes,e),0]:["a",zr(this.options.HTMLAttributes,{...e,href:""}),0]},addCommands(){return{setLink:e=>({chain:t})=>{const{href:n}=e;return this.options.isAllowedUri(n,{defaultValidate:r=>!!l1(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?t().setMark(this.name,e).setMeta("preventAutolink",!0).run():!1},toggleLink:e=>({chain:t})=>{const{href:n}=e;return this.options.isAllowedUri(n,{defaultValidate:r=>!!l1(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run():!1},unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Eg({find:e=>{const t=[];if(e){const{protocols:n,defaultProtocol:r}=this.options,i=HPe(e).filter(o=>o.isLink&&this.options.isAllowedUri(o.value,{defaultValidate:a=>!!l1(a,n),protocols:n,defaultProtocol:r}));i.length&&i.forEach(o=>t.push({text:o.value,data:{href:o.href},index:o.start}))}return t},type:this.type,getAttributes:e=>{var t;return{href:(t=e.data)===null||t===void 0?void 0:t.href}}})]},addProseMirrorPlugins(){const e=[],{protocols:t,defaultProtocol:n}=this.options;return this.options.autolink&&e.push(sun({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:r=>this.options.isAllowedUri(r,{defaultValidate:i=>!!l1(i,t),protocols:t,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),this.options.openOnClick===!0&&e.push(lun({type:this.type})),this.options.linkOnPaste&&e.push(cun({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type})),e}}),fun=Pl.create({name:"superscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sup"},{style:"vertical-align",getAttrs(e){return e!=="super"?!1:null}}]},renderHTML({HTMLAttributes:e}){return["sup",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setSuperscript:()=>({commands:e})=>e.setMark(this.name),toggleSuperscript:()=>({commands:e})=>e.toggleMark(this.name),unsetSuperscript:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-.":()=>this.editor.commands.toggleSuperscript()}}}),pun=Pl.create({name:"subscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sub"},{style:"vertical-align",getAttrs(e){return e!=="sub"?!1:null}}]},renderHTML({HTMLAttributes:e}){return["sub",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setSubscript:()=>({commands:e})=>e.setMark(this.name),toggleSubscript:()=>({commands:e})=>e.toggleMark(this.name),unsetSubscript:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-,":()=>this.editor.commands.toggleSubscript()}}}),hun=wo.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:e}){return["ul",zr(this.options.HTMLAttributes,e,{"data-type":this.name}),0]},addCommands(){return{toggleTaskList:()=>({commands:e})=>e.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}}),mun=/^\s*(\[([( |x])?\])\s$/,gun=wo.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList"}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:e=>{const t=e.getAttribute("data-checked");return t===""||t==="true"},renderHTML:e=>({"data-checked":e.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:e,HTMLAttributes:t}){return["li",zr(this.options.HTMLAttributes,t,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:e.attrs.checked?"checked":null}],["span"]],["div",0]]},addKeyboardShortcuts(){const e={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...e,Tab:()=>this.editor.commands.sinkListItem(this.name)}:e},addNodeView(){return({node:e,HTMLAttributes:t,getPos:n,editor:r})=>{const i=document.createElement("li"),o=document.createElement("label"),a=document.createElement("span"),s=document.createElement("input"),l=document.createElement("div");return o.contentEditable="false",s.type="checkbox",s.addEventListener("mousedown",c=>c.preventDefault()),s.addEventListener("change",c=>{if(!r.isEditable&&!this.options.onReadOnlyChecked){s.checked=!s.checked;return}const{checked:u}=c.target;r.isEditable&&typeof n=="function"&&r.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:d})=>{const f=n();if(typeof f!="number")return!1;const h=d.doc.nodeAt(f);return d.setNodeMarkup(f,void 0,{...h==null?void 0:h.attrs,checked:u}),!0}).run(),!r.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(e,u)||(s.checked=!s.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([c,u])=>{i.setAttribute(c,u)}),i.dataset.checked=e.attrs.checked,s.checked=e.attrs.checked,o.append(s,a),i.append(o,l),Object.entries(t).forEach(([c,u])=>{i.setAttribute(c,u)}),{dom:i,contentDOM:l,update:c=>c.type!==this.type?!1:(i.dataset.checked=c.attrs.checked,s.checked=c.attrs.checked,!0)}}},addInputRules(){return[o0({find:mun,type:this.type,getAttributes:e=>({checked:e[e.length-1]==="x"})})]}});function vun(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function UPe(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const n=e[t],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&UPe(n)}),e}let zfe=class{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function zPe(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function zm(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const bun="",Vfe=e=>!!e.scope,yun=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`};let _un=class{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=zPe(e)}openNode(e){if(!Vfe(e))return;const t=yun(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){Vfe(e)&&(this.buffer+=bun)}value(){return this.buffer}span(e){this.buffer+=``}};const Gfe=(e={})=>{const t={children:[]};return Object.assign(t,e),t};let Sun=class VPe{constructor(){this.rootNode=Gfe(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n=Gfe({scope:t});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{VPe._collapse(n)}))}},Eun=class extends Sun{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const n=e.root;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){return new _un(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function _x(e){return e?typeof e=="string"?e:e.source:null}function GPe(e){return F0("(?=",e,")")}function Cun(e){return F0("(?:",e,")*")}function wun(e){return F0("(?:",e,")?")}function F0(...e){return e.map(t=>_x(t)).join("")}function Tun(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function WX(...e){return"("+(Tun(e).capture?"":"?:")+e.map(t=>_x(t)).join("|")+")"}function WPe(e){return new RegExp(e.toString()+"|").exec("").length-1}function xun(e,t){const n=e&&e.exec(t);return n&&n.index===0}const Oun=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function qX(e,{joinWith:t}){let n=0;return e.map(r=>{n+=1;const i=n;let o=_x(r),a="";for(;o.length>0;){const s=Oun.exec(o);if(!s){a+=o;break}a+=o.substring(0,s.index),o=o.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+i):(a+=s[0],s[0]==="("&&n++)}return a}).map(r=>`(${r})`).join(t)}const Run=/\b\B/,qPe="[a-zA-Z]\\w*",YX="[a-zA-Z_]\\w*",YPe="\\b\\d+(\\.\\d+)?",KPe="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",QPe="\\b(0b[01]+)",Iun="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Aun=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=F0(t,/.*\b/,e.binary,/\b.*/)),zm({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},Sx={begin:"\\\\[\\s\\S]",relevance:0},Nun={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Sx]},Mun={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Sx]},kun={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},R9=function(e,t,n={}){const r=zm({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=WX("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:F0(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},Pun=R9("//","$"),Dun=R9("/\\*","\\*/"),Lun=R9("#","$"),$un={scope:"number",begin:YPe,relevance:0},Fun={scope:"number",begin:KPe,relevance:0},Bun={scope:"number",begin:QPe,relevance:0},jun={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Sx,{begin:/\[/,end:/\]/,relevance:0,contains:[Sx]}]},Hun={scope:"title",begin:qPe,relevance:0},Uun={scope:"title",begin:YX,relevance:0},zun={begin:"\\.\\s*"+YX,relevance:0},Vun=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})};var CI=Object.freeze({__proto__:null,APOS_STRING_MODE:Nun,BACKSLASH_ESCAPE:Sx,BINARY_NUMBER_MODE:Bun,BINARY_NUMBER_RE:QPe,COMMENT:R9,C_BLOCK_COMMENT_MODE:Dun,C_LINE_COMMENT_MODE:Pun,C_NUMBER_MODE:Fun,C_NUMBER_RE:KPe,END_SAME_AS_BEGIN:Vun,HASH_COMMENT_MODE:Lun,IDENT_RE:qPe,MATCH_NOTHING_RE:Run,METHOD_GUARD:zun,NUMBER_MODE:$un,NUMBER_RE:YPe,PHRASAL_WORDS_MODE:kun,QUOTE_STRING_MODE:Mun,REGEXP_MODE:jun,RE_STARTERS_RE:Iun,SHEBANG:Aun,TITLE_MODE:Hun,UNDERSCORE_IDENT_RE:YX,UNDERSCORE_TITLE_MODE:Uun});function Gun(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function Wun(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function qun(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Gun,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function Yun(e,t){Array.isArray(e.illegal)&&(e.illegal=WX(...e.illegal))}function Kun(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Qun(e,t){e.relevance===void 0&&(e.relevance=1)}const Xun=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=n.keywords,e.begin=F0(n.beforeMatch,GPe(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},Zun=["of","and","for","in","not","or","if","then","parent","list","value"],Jun="keyword";function XPe(e,t,n=Jun){const r=Object.create(null);return typeof e=="string"?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(o){Object.assign(r,XPe(e[o],t,o))}),r;function i(o,a){t&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){const l=s.split("|");r[l[0]]=[o,edn(l[0],l[1])]})}}function edn(e,t){return t?Number(t):tdn(e)?0:1}function tdn(e){return Zun.includes(e.toLowerCase())}const Wfe={},Tv=e=>{console.error(e)},qfe=(e,...t)=>{console.log(`WARN: ${e}`,...t)},yb=(e,t)=>{Wfe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Wfe[`${e}/${t}`]=!0)},M4=new Error;function ZPe(e,t,{key:n}){let r=0;const i=e[n],o={},a={};for(let s=1;s<=t.length;s++)a[s+r]=i[s],o[s+r]=!0,r+=WPe(t[s-1]);e[n]=a,e[n]._emit=o,e[n]._multi=!0}function ndn(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Tv("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),M4;if(typeof e.beginScope!="object"||e.beginScope===null)throw Tv("beginScope must be object"),M4;ZPe(e,e.begin,{key:"beginScope"}),e.begin=qX(e.begin,{joinWith:""})}}function rdn(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Tv("skip, excludeEnd, returnEnd not compatible with endScope: {}"),M4;if(typeof e.endScope!="object"||e.endScope===null)throw Tv("endScope must be object"),M4;ZPe(e,e.end,{key:"endScope"}),e.end=qX(e.end,{joinWith:""})}}function idn(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function odn(e){idn(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),ndn(e),rdn(e)}function adn(e){function t(a,s){return new RegExp(_x(a),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=WPe(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=t(qX(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const c=l.findIndex((d,f)=>f>0&&d!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new n;return this.rules.slice(s).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(s);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(s)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(a){const s=new r;return a.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),a.terminatorEnd&&s.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&s.addRule(a.illegal,{type:"illegal"}),s}function o(a,s){const l=a;if(a.isCompiled)return l;[Wun,Kun,odn,Xun].forEach(u=>u(a,s)),e.compilerExtensions.forEach(u=>u(a,s)),a.__beforeBegin=null,[qun,Yun,Qun].forEach(u=>u(a,s)),a.isCompiled=!0;let c=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),c=a.keywords.$pattern,delete a.keywords.$pattern),c=c||/\w+/,a.keywords&&(a.keywords=XPe(a.keywords,e.case_insensitive)),l.keywordPatternRe=t(c,!0),s&&(a.begin||(a.begin=/\B|\b/),l.beginRe=t(l.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(l.endRe=t(l.end)),l.terminatorEnd=_x(l.end)||"",a.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(l.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return sdn(u==="self"?a:u)})),a.contains.forEach(function(u){o(u,l)}),a.starts&&o(a.starts,s),l.matcher=i(l),l}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=zm(e.classNameAliases||{}),o(e)}function JPe(e){return e?e.endsWithParent||JPe(e.starts):!1}function sdn(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return zm(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:JPe(e)?zm(e,{starts:e.starts?zm(e.starts):null}):Object.isFrozen(e)?zm(e):e}var ldn="11.10.0";let cdn=class extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}};const Z6=zPe,Yfe=zm,Kfe=Symbol("nomatch"),udn=7,e5e=function(e){const t=Object.create(null),n=Object.create(null),r=[];let i=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Eun};function l(N){return s.noHighlightRe.test(N)}function c(N){let L=N.className+" ";L+=N.parentNode?N.parentNode.className:"";const V=s.languageDetectRe.exec(L);if(V){const $=O(V[1]);return $||(qfe(o.replace("{}",V[1])),qfe("Falling back to no-highlight mode for this block.",N)),$?V[1]:"no-highlight"}return L.split(/\s+/).find($=>l($)||O($))}function u(N,L,V){let $="",W="";typeof L=="object"?($=N,V=L.ignoreIllegals,W=L.language):(yb("10.7.0","highlight(lang, code, ...args) has been deprecated."),yb("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),W=N,$=L),V===void 0&&(V=!0);const j={code:$,language:W};P("before:highlight",j);const U=j.result?j.result:d(j.language,j.code,V);return U.code=j.code,P("after:highlight",U),U}function d(N,L,V,$){const W=Object.create(null);function j(D,q){return D.keywords[q]}function U(){if(!Te.keywords){me.addText(be);return}let D=0;Te.keywordPatternRe.lastIndex=0;let q=Te.keywordPatternRe.exec(be),oe="";for(;q;){oe+=be.substring(D,q.index);const ye=ue.case_insensitive?q[0].toLowerCase():q[0],ce=j(Te,ye);if(ce){const[Be,Ve]=ce;if(me.addText(oe),oe="",W[ye]=(W[ye]||0)+1,W[ye]<=udn&&(_e+=Ve),Be.startsWith("_"))oe+=q[0];else{const re=ue.classNameAliases[Be]||Be;ae(q[0],re)}}else oe+=q[0];D=Te.keywordPatternRe.lastIndex,q=Te.keywordPatternRe.exec(be)}oe+=be.substring(D),me.addText(oe)}function Z(){if(be==="")return;let D=null;if(typeof Te.subLanguage=="string"){if(!t[Te.subLanguage]){me.addText(be);return}D=d(Te.subLanguage,be,!0,Se[Te.subLanguage]),Se[Te.subLanguage]=D._top}else D=h(be,Te.subLanguage.length?Te.subLanguage:null);Te.relevance>0&&(_e+=D.relevance),me.__addSublanguage(D._emitter,D.language)}function te(){Te.subLanguage!=null?Z():U(),be=""}function ae(D,q){D!==""&&(me.startScope(q),me.addText(D),me.endScope())}function K(D,q){let oe=1;const ye=q.length-1;for(;oe<=ye;){if(!D._emit[oe]){oe++;continue}const ce=ue.classNameAliases[D[oe]]||D[oe],Be=q[oe];ce?ae(Be,ce):(be=Be,U(),be=""),oe++}}function Q(D,q){return D.scope&&typeof D.scope=="string"&&me.openNode(ue.classNameAliases[D.scope]||D.scope),D.beginScope&&(D.beginScope._wrap?(ae(be,ue.classNameAliases[D.beginScope._wrap]||D.beginScope._wrap),be=""):D.beginScope._multi&&(K(D.beginScope,q),be="")),Te=Object.create(D,{parent:{value:Te}}),Te}function ie(D,q,oe){let ye=xun(D.endRe,oe);if(ye){if(D["on:end"]){const ce=new zfe(D);D["on:end"](q,ce),ce.isMatchIgnored&&(ye=!1)}if(ye){for(;D.endsParent&&D.parent;)D=D.parent;return D}}if(D.endsWithParent)return ie(D.parent,q,oe)}function he(D){return Te.matcher.regexIndex===0?(be+=D[0],1):(z=!0,0)}function pe(D){const q=D[0],oe=D.rule,ye=new zfe(oe),ce=[oe.__beforeBegin,oe["on:begin"]];for(const Be of ce)if(Be&&(Be(D,ye),ye.isMatchIgnored))return he(q);return oe.skip?be+=q:(oe.excludeBegin&&(be+=q),te(),!oe.returnBegin&&!oe.excludeBegin&&(be=q)),Q(oe,D),oe.returnBegin?0:q.length}function le(D){const q=D[0],oe=L.substring(D.index),ye=ie(Te,D,oe);if(!ye)return Kfe;const ce=Te;Te.endScope&&Te.endScope._wrap?(te(),ae(q,Te.endScope._wrap)):Te.endScope&&Te.endScope._multi?(te(),K(Te.endScope,D)):ce.skip?be+=q:(ce.returnEnd||ce.excludeEnd||(be+=q),te(),ce.excludeEnd&&(be=q));do Te.scope&&me.closeNode(),!Te.skip&&!Te.subLanguage&&(_e+=Te.relevance),Te=Te.parent;while(Te!==ye.parent);return ye.starts&&Q(ye.starts,D),ce.returnEnd?0:q.length}function de(){const D=[];for(let q=Te;q!==ue;q=q.parent)q.scope&&D.unshift(q.scope);D.forEach(q=>me.openNode(q))}let ve={};function ne(D,q){const oe=q&&q[0];if(be+=D,oe==null)return te(),0;if(ve.type==="begin"&&q.type==="end"&&ve.index===q.index&&oe===""){if(be+=L.slice(q.index,q.index+1),!i){const ye=new Error(`0 width match regex (${N})`);throw ye.languageName=N,ye.badRule=ve.rule,ye}return 1}if(ve=q,q.type==="begin")return pe(q);if(q.type==="illegal"&&!V){const ye=new Error('Illegal lexeme "'+oe+'" for mode "'+(Te.scope||"")+'"');throw ye.mode=Te,ye}else if(q.type==="end"){const ye=le(q);if(ye!==Kfe)return ye}if(q.type==="illegal"&&oe==="")return 1;if(De>1e5&&De>q.index*3)throw new Error("potential infinite loop, way more iterations than matches");return be+=oe,oe.length}const ue=O(N);if(!ue)throw Tv(o.replace("{}",N)),new Error('Unknown language: "'+N+'"');const ge=adn(ue);let Ce="",Te=$||ge;const Se={},me=new s.__emitter(s);de();let be="",_e=0,Re=0,De=0,z=!1;try{if(ue.__emitTokens)ue.__emitTokens(L,me);else{for(Te.matcher.considerAll();;){De++,z?z=!1:Te.matcher.considerAll(),Te.matcher.lastIndex=Re;const D=Te.matcher.exec(L);if(!D)break;const q=L.substring(Re,D.index),oe=ne(q,D);Re=D.index+oe}ne(L.substring(Re))}return me.finalize(),Ce=me.toHTML(),{language:N,value:Ce,relevance:_e,illegal:!1,_emitter:me,_top:Te}}catch(D){if(D.message&&D.message.includes("Illegal"))return{language:N,value:Z6(L),illegal:!0,relevance:0,_illegalBy:{message:D.message,index:Re,context:L.slice(Re-100,Re+100),mode:D.mode,resultSoFar:Ce},_emitter:me};if(i)return{language:N,value:Z6(L),illegal:!1,relevance:0,errorRaised:D,_emitter:me,_top:Te};throw D}}function f(N){const L={value:Z6(N),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return L._emitter.addText(N),L}function h(N,L){L=L||s.languages||Object.keys(t);const V=f(N),$=L.filter(O).filter(A).map(te=>d(te,N,!1));$.unshift(V);const W=$.sort((te,ae)=>{if(te.relevance!==ae.relevance)return ae.relevance-te.relevance;if(te.language&&ae.language){if(O(te.language).supersetOf===ae.language)return 1;if(O(ae.language).supersetOf===te.language)return-1}return 0}),[j,U]=W,Z=j;return Z.secondBest=U,Z}function m(N,L,V){const $=L&&n[L]||V;N.classList.add("hljs"),N.classList.add(`language-${$}`)}function g(N){let L=null;const V=c(N);if(l(V))return;if(P("before:highlightElement",{el:N,language:V}),N.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",N);return}if(N.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(N)),s.throwUnescapedHTML))throw new cdn("One of your code blocks includes unescaped HTML.",N.innerHTML);L=N;const $=L.textContent,W=V?u($,{language:V,ignoreIllegals:!0}):h($);N.innerHTML=W.value,N.dataset.highlighted="yes",m(N,V,W.language),N.result={language:W.language,re:W.relevance,relevance:W.relevance},W.secondBest&&(N.secondBest={language:W.secondBest.language,relevance:W.secondBest.relevance}),P("after:highlightElement",{el:N,result:W,text:$})}function v(N){s=Yfe(s,N)}const y=()=>{E(),yb("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function b(){E(),yb("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let _=!1;function E(){if(document.readyState==="loading"){_=!0;return}document.querySelectorAll(s.cssSelector).forEach(g)}function C(){_&&E()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",C,!1);function S(N,L){let V=null;try{V=L(e)}catch($){if(Tv("Language definition for '{}' could not be registered.".replace("{}",N)),i)Tv($);else throw $;V=a}V.name||(V.name=N),t[N]=V,V.rawDefinition=L.bind(null,e),V.aliases&&x(V.aliases,{languageName:N})}function w(N){delete t[N];for(const L of Object.keys(n))n[L]===N&&delete n[L]}function T(){return Object.keys(t)}function O(N){return N=(N||"").toLowerCase(),t[N]||t[n[N]]}function x(N,{languageName:L}){typeof N=="string"&&(N=[N]),N.forEach(V=>{n[V.toLowerCase()]=L})}function A(N){const L=O(N);return L&&!L.disableAutodetect}function I(N){N["before:highlightBlock"]&&!N["before:highlightElement"]&&(N["before:highlightElement"]=L=>{N["before:highlightBlock"](Object.assign({block:L.el},L))}),N["after:highlightBlock"]&&!N["after:highlightElement"]&&(N["after:highlightElement"]=L=>{N["after:highlightBlock"](Object.assign({block:L.el},L))})}function M(N){I(N),r.push(N)}function B(N){const L=r.indexOf(N);L!==-1&&r.splice(L,1)}function P(N,L){const V=N;r.forEach(function($){$[V]&&$[V](L)})}function k(N){return yb("10.7.0","highlightBlock will be removed entirely in v12.0"),yb("10.7.0","Please use highlightElement now."),g(N)}Object.assign(e,{highlight:u,highlightAuto:h,highlightAll:E,highlightElement:g,highlightBlock:k,configure:v,initHighlighting:y,initHighlightingOnLoad:b,registerLanguage:S,unregisterLanguage:w,listLanguages:T,getLanguage:O,registerAliases:x,autoDetection:A,inherit:Yfe,addPlugin:M,removePlugin:B}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=ldn,e.regex={concat:F0,lookahead:GPe,either:WX,optional:wun,anyNumberOfTimes:Cun};for(const N in CI)typeof CI[N]=="object"&&UPe(CI[N]);return Object.assign(e,CI),e},Y_=e5e({});Y_.newInstance=()=>e5e({});var ddn=Y_;Y_.HighlightJS=Y_;Y_.default=Y_;var fdn=vun(ddn);function t5e(e,t=[]){return e.map(n=>{const r=[...t,...n.properties?n.properties.className:[]];return n.children?t5e(n.children,r):{text:n.value,classes:r}}).flat()}function Qfe(e){return e.value||e.children||[]}function pdn(e){return!!fdn.getLanguage(e)}function Xfe({doc:e,name:t,lowlight:n,defaultLanguage:r}){const i=[];return mV(e,o=>o.type.name===t).forEach(o=>{var a;let s=o.pos+1;const l=o.node.attrs.language||r,c=n.listLanguages(),u=l&&(c.includes(l)||pdn(l)||!((a=n.registered)===null||a===void 0)&&a.call(n,l))?Qfe(n.highlight(l,o.node.textContent)):Qfe(n.highlightAuto(o.node.textContent));t5e(u).forEach(d=>{const f=s+d.text.length;if(d.classes.length){const h=na.inline(s,f,{class:d.classes.join(" ")});i.push(h)}s=f})}),Ci.create(e,i)}function hdn(e){return typeof e=="function"}function mdn({name:e,lowlight:t,defaultLanguage:n}){if(!["highlight","highlightAuto","listLanguages"].every(i=>hdn(t[i])))throw Error("You should provide an instance of lowlight to use the code-block-lowlight extension");const r=new Ei({key:new $i("lowlight"),state:{init:(i,{doc:o})=>Xfe({doc:o,name:e,lowlight:t,defaultLanguage:n}),apply:(i,o,a,s)=>{const l=a.selection.$head.parent.type.name,c=s.selection.$head.parent.type.name,u=mV(a.doc,f=>f.type.name===e),d=mV(s.doc,f=>f.type.name===e);return i.docChanged&&([l,c].includes(e)||d.length!==u.length||i.steps.some(f=>f.from!==void 0&&f.to!==void 0&&u.some(h=>h.pos>=f.from&&h.pos+h.node.nodeSize<=f.to)))?Xfe({doc:i.doc,name:e,lowlight:t,defaultLanguage:n}):o.map(i.mapping,i.doc)}},props:{decorations(i){return r.getState(i)}}});return r}const gdn=gPe.extend({addOptions(){var e;return{...(e=this.parent)===null||e===void 0?void 0:e.call(this),lowlight:{},languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}},addProseMirrorPlugins(){var e;return[...((e=this.parent)===null||e===void 0?void 0:e.call(this))||[],mdn({name:this.name,lowlight:this.options.lowlight,defaultLanguage:this.options.defaultLanguage})]}});function Zfe(e,t,n={}){const{empty:r,ranges:i,from:o,to:a}=e.selection,s=t?Ph(t,e.schema):null;if(r)return!!(e.storedMarks||e.selection.$from.marks()).filter(m=>s?s.name===m.type.name:!0).find(m=>U_(m.attrs,n,{strict:!1}));let l=o,c=a;const u=[];i.forEach(({$from:m,$to:g})=>{const v=m.pos,y=g.pos;l=Math.min(l,v),c=Math.max(l,y),e.doc.nodesBetween(v,y,(b,_)=>{if(!b.isText&&!b.marks.length)return;const E=Math.max(v,_),C=Math.min(y,_+b.nodeSize);u.push(...b.marks.map(S=>({mark:S,from:E,to:C})))})});const d=c-l;if(d===0)return!1;const f=u.filter(m=>s?s.name===m.mark.type.name:!0).filter(m=>U_(m.mark.attrs,n,{strict:!1})).reduce((m,g)=>m+g.to-g.from,0),h=u.filter(m=>s?m.mark.type!==s&&m.mark.type.excludes(s):!0).reduce((m,g)=>m+g.to-g.from,0);return(f>0?f+h:f)>=d}function Jfe(e){var t;return!!((t=e.spec.group)!=null&&t.split(" ").includes("list"))}function J6(e,t,n={}){if(!t)return r0(e,null,n)||Zfe(e,null,n);const r=e.schema.nodes[t];if(r){if(Jfe(r)){const i=y9(o=>Jfe(o.type))(e.selection);return!!(i&&i.node.type.name===t)}return r0(e,t,n)}return e.schema.marks[t]?Zfe(e,t,n):!1}function epe(e){return new hO({find:e.find,handler:({state:t,range:n,match:r,commands:i})=>{const o=t.doc.resolve(n.from),a=Ar(e.getAttributes,void 0,r)||{};if(!o.node(-1).canReplaceWith(o.index(-1),o.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,a),setTimeout(()=>i.focus(!0),0)}})}const n5e=[{name:"Auto",value:"auto"},{name:"Plain Text",value:"plaintext",alias:["text","txt"]},{name:"Bash",value:"bash",alias:["sh"]},{name:"BASIC",value:"basic",alias:[]},{name:"C",value:"c",alias:["h"]},{name:"Clojure",value:"clojure",alias:["clj","edn"]},{name:"CMake",value:"cmake",alias:["cmake.in"]},{name:"CoffeeScript",value:"coffeescript",alias:["coffee","cson","iced"]},{name:"C++",value:"cpp",alias:["cc","c++","h++","hpp","hh","hxx","cxx"]},{name:"C#",value:"csharp",alias:["cs","c#"]},{name:"CSS",value:"css",alias:[]},{name:"Dart",value:"dart",alias:[]},{name:"Delphi",value:"delphi",alias:["dpr","dfm","pas","pascal"]},{name:"Dockerfile",value:"dockerfile",alias:["docker"]},{name:"Erlang",value:"erlang",alias:["erl"]},{name:"Go",value:"go",alias:["golang"]},{name:"GraphQL",value:"graphql",alias:["gql"]},{name:"Groovy",value:"groovy",alias:[]},{name:"Java",value:"java",alias:["jsp"]},{name:"JavaScript",value:"javascript",alias:["js","jsx","mjs","cjs"]},{name:"JSON",value:"json",alias:[]},{name:"Kotlin",value:"kotlin",alias:["kt","kts"]},{name:"Lua",value:"lua",alias:[]},{name:"Makefile",value:"makefile",alias:["mk","mak","make"]},{name:"Markdown",value:"markdown",alias:["md","mkdown","mkd"]},{name:"Matlab",value:"matlab",alias:[]},{name:"Objective-C",value:"objectivec",alias:["mm","objc","obj-c","obj-c++","objective-c++"]},{name:"PHP",value:"php",alias:[]},{name:"Properties",value:"properties",alias:[]},{name:"Python",value:"python",alias:["py","gyp","ipython"]},{name:"Ruby",value:"ruby",alias:["rb","gemspec","podspec","thor","irb"]},{name:"Rust",value:"rust",alias:["rs"]},{name:"Scala",value:"scala",alias:[]},{name:"SCSS",value:"scss",alias:[]},{name:"Shell",value:"shell",alias:["console","shellsession"]},{name:"SQL",value:"sql",alias:[]},{name:"Swift",value:"swift",alias:[]},{name:"TypeScript",value:"typescript",alias:["ts","tsx"]},{name:"WebAssembly",value:"wasm",alias:[]},{name:"HTML, XML",value:"xml",alias:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"]},{name:"YAML",value:"yaml",alias:["yml"]}],tpe=e=>{if(!e)return null;const t=e.toLocaleLowerCase();return n5e.find(n=>n.value===t||n.alias&&n.alias.includes(t))};function npe(e,t){const{$from:n,from:r,to:i}=e,o=(t.textContent||"").split(` `).reduce((d,f,h)=>(d[h]=(d[h-1]||0)+f.length+(h===0?0:1),d),{}),a=n.parentOffset,s=n.parentOffset+i-r,l=Object.keys(o),c=l.find(d=>o[d]>=a),u=l.find(d=>o[d]>=s);return{start:c,end:u}}const vdn=/^[`·]{3}([a-z]+)?[\s\n]$/,bdn=/^[~~]{3}([a-z]+)?[\s\n]$/,ydn=gdn.extend({addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),lowlight:{},defaultLanguage:null,languages:[]}},addCommands(){var e;return{...(e=this.parent)==null?void 0:e.call(this),addCodeComments:(t,n)=>({editor:r})=>{const{view:{dispatch:i},state:{tr:o}}=r;return i(o.setSelection(sr.create(r.state.doc,n)).deleteSelection()),Cg.get(this.options.codeCommentsAi.model).chat(t.textContent,this.options.codeCommentsAi.prompt,new i4(r,{markdownParseEnable:!0,useMarkdownTextOnly:!0})),!0},addCodeExplain:(t,n)=>({editor:r})=>{const{view:{dispatch:i},state:{tr:o}}=r,a=r.state.doc.nodeSize;a<=n+t.nodeSize+2?(r.commands.insertContentAt(n+t.nodeSize+1,"

"),i(o.setSelection(Zn.create(r.state.doc,a-2)))):i(o.setSelection(Zn.create(r.state.doc,n+t.nodeSize+1)));const s=Cg.get(this.options.codeExplainAi.model);return s==null||s.chat(t.textContent,this.options.codeExplainAi.prompt,new i4(r)),!0},toggleCodeBlock:t=>({commands:n,editor:r,chain:i})=>{const{state:o}=r,{from:a,to:s}=o.selection;if(!J6(o,this.name)&&!o.selection.empty){let l=!0;const c=[];if(o.doc.nodesBetween(a,s,(u,d)=>{if(u.isInline)return!1;if(u.type.name!=="paragraph")return d+1<=a&&d+u.nodeSize-1>=s?void 0:(l=!1,!1);{const f=(u.textContent||"").slice(d+1>a?0:a-d-1,d+u.nodeSize-11)return i().command(({state:u,tr:d})=>(d.replaceRangeWith(a,s,this.type.create(t,u.schema.text(c.join(` `)))),!0)).setTextSelection({from:a+2,to:a+2}).run()}return n.toggleNode(this.name,"paragraph",t)}}},addKeyboardShortcuts(){var e;return{...(e=this.parent)==null?void 0:e.call(this),Tab:({editor:t})=>{const{state:n,view:r}=t;if(!J6(n,this.name))return!1;const{selection:i,tr:o}=n,a=" ";if(i.empty)r.dispatch(o.insertText(a));else{const{$from:s,from:l,to:c}=i,u=s.node();if(u.type!==this.type)return!1;const{start:d,end:f}=npe(i,u);if(d===void 0||f===void 0)return r.dispatch(o.replaceSelectionWith(n.schema.text(a))),!0;const h=(u.textContent||"").split(` `).map((v,y)=>y>=d&&y<=f&&v?a+v:v),m=s.node(1),g=s.start(1);o.replaceWith(g,g+m.nodeSize-2,n.schema.text(h.join(` @@ -1236,16 +1236,16 @@ https://github.com/highlightjs/highlight.js/issues/2277`),W=N,$=L),V===void 0&&(
`;const o=()=>{var s;const l=document.createElement("div");return l.classList.add("aie-codeblock-langs"),l.innerHTML=` - ${(s=this.options.languages)==null?void 0:s.map(c=>`
${c.name}
`).join("")}`,l.addEventListener("click",c=>{const u=c.target.closest(".aie-codeblock-langs-item");if(u){const d=u.getAttribute("data-item");e.editor.chain().setCodeBlock({language:d}).run()}}),l},a=So(r.querySelector(".aie-codeblock-tools-lang"),{content:o(),appendTo:e.editor.options.element,placement:"bottom-end",trigger:"click",interactive:!0,arrow:!1,aria:{content:null,expanded:!1}});return(t=r.querySelector(".aie-codeblock-tools-comments"))==null||t.addEventListener("click",s=>{const l=e.editor.view.posAtCoords({left:s.clientX,top:s.clientY}),c=e.editor.state.doc.resolve(l.pos).parent;e.editor.chain().addCodeComments(c,l.pos)}),(n=r.querySelector(".aie-codeblock-tools-explain"))==null||n.addEventListener("click",s=>{const l=e.editor.view.posAtCoords({left:s.clientX,top:s.clientY}),c=e.editor.state.doc.resolve(l.pos).parent;e.editor.chain().addCodeExplain(c,l.pos)}),{dom:r,contentDOM:r.querySelector("code"),destroy:()=>{a.destroy()}}}}});function _dn(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",n="далее возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",r="загрузитьизфайла вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",i="разделительстраниц разделительстрок символтабуляции ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",o="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц отображениевремениэлементовпланировщика типфайлаформатированногодокумента обходрезультатазапроса типзаписизапроса видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов доступкфайлу режимдиалогавыборафайла режимоткрытияфайла типизмеренияпостроителязапроса видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",a="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",s="null истина ложь неопределено",l=e.inherit(e.NUMBER_MODE),c={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},u={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},d={match:/[;()+\-:=,]/,className:"punctuation",relevance:0},f=e.inherit(e.C_LINE_COMMENT_MODE),h={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:n+r},contains:[f]},m={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},g={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:s},contains:[l,c,u]},f]},e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:n,built_in:i,class:o,type:a,literal:s},contains:[h,g,f,m,l,c,u,d]}}function Sdn(e){const t=e.regex,n=/^[a-zA-Z][a-zA-Z0-9-]*/,r=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],i=e.COMMENT(/;/,/$/),o={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},a={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},s={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},l={scope:"symbol",match:/%[si](?=".*")/},c={scope:"attribute",match:t.concat(n,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:r,contains:[{scope:"operator",match:/=\/?/},c,i,o,a,s,l,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}function Edn(e){const t=e.regex,n=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t.concat(/"/,t.either(...n)),end:/"/,keywords:n,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}function Cdn(e){const t=e.regex,n=/[a-zA-Z_$][a-zA-Z0-9_$]*/,r=t.concat(n,t.concat("(\\.",n,")*")),i=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:n,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o]},{begin:t.concat(/:\s*/,i)}]},e.METHOD_GUARD],illegal:/#/}}function wdn(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,r=t+"(\\."+t+")?("+n+")?",i="\\w+",o="\\b("+(t+"#"+i+"(\\."+i+")?#("+n+")?")+"|"+r+")",a="[A-Za-z](_?[A-Za-z0-9.])*",s=`[]\\{\\}%#'"`,l=e.COMMENT("--","$"),c={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:s,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:a,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[l,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:o,relevance:0},{className:"symbol",begin:"'"+a},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:s},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[l,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:s},c,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:s}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:s},c]}}function Tdn(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},n={className:"symbol",begin:"[a-zA-Z0-9_]+@"},r={className:"keyword",begin:"<",end:">",contains:[t,n]};return t.contains=[r],n.contains=[r],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,n,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}function xdn(e){const t={className:"number",begin:/[$%]\d+/},n={className:"number",begin:/\b\d+/},r={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},i={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[r,i,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{scope:"punctuation",match:/\\\n/},{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",t]},r,n,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}function Odn(e){const t=e.regex,n=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),r={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,n]},i=e.COMMENT(/--/,/$/),o=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",i]}),a=[i,o,e.HASH_COMMENT_MODE],s=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],l=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[n,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(...l),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(...s),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,r]},...a],illegal:/\/\/|->|=>|\[\[/}}function Rdn(e){const t=e.regex,n="[A-Za-z_][0-9A-Za-z_]*",r={keyword:["break","case","catch","continue","debugger","do","else","export","for","function","if","import","in","new","of","return","switch","try","var","void","while"],literal:["BackSlash","DoubleQuote","ForwardSlash","Infinity","NaN","NewLine","PI","SingleQuote","Tab","TextFormatting","false","null","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","ChangeTimeZone","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","ConvexHull","Cos","Count","Crosses","Cut","Date|0","DateAdd","DateDiff","DateOnly","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","DistanceToCoordinate","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureInFilter","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipClass","FeatureSetByRelationshipName","Filter","FilterBySubtypeCode","Find","First|0","Floor","FromCharCode","FromCodePoint","FromJSON","Front","GdbVersion","Generalize","Geometry","GetEnvironment","GetFeatureSet","GetFeatureSetInfo","GetUser","GroupBy","Guid","HasKey","HasValue","Hash","Hour","IIf","ISOMonth","ISOWeek","ISOWeekday","ISOYear","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","IsSelfIntersecting","IsSimple","KnowledgeGraphByPortalItem","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","MeasureToCoordinate","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NearestCoordinate","NearestVertex","NextSequenceValue","None","Now","Number","Offset","OrderBy","Overlaps","Point","PointToCoordinate","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","QueryGraph","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","StandardizeFilename","StandardizeGuid","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Time","TimeZone","TimeZoneOffset","Timestamp","ToCharCode","ToCodePoint","ToHex","ToLocal","ToUTC","Today","Top|0","Touches","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When|0","Within","Year|0"]},i=["aggregatedFeatures","analytic","config","datapoint","datastore","editcontext","feature","featureSet","feedfeature","fencefeature","fencenotificationtype","graph","join","layer","locationupdate","map","measure","measure","originalFeature","record","reference","rowindex","sourcedatastore","sourcefeature","sourcelayer","target","targetdatastore","targetfeature","targetlayer","userInput","value","variables","view"],o={className:"symbol",begin:"\\$"+t.either(...i)},a={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},s={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},l={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,s]};s.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,a,e.REGEXP_MODE];const c=s.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:r,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,a,{begin:/[{,]\s*/,relevance:0,contains:[{begin:n+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:n,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+n+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:c}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:n}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:c}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}function Idn(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}function Adn(e){const t=e.regex,n={begin:"^'{3,}[ \\t]*$",relevance:10},r=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],i=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],o=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],a={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},s={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},s,a,...r,...i,...o,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},n,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}function Ndn(e){const t=e.regex,n=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],r=["get","set","args","call"];return{name:"AspectJ",keywords:n,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:n.concat(r),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:n,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:n.concat(r),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:n,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}function Mdn(e){const t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}function kdn(e){const t="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",n=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],r="True False And Null Not Or Default",i="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},a={begin:"\\$[A-z0-9_]+"},s={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},l={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},c={className:"meta",begin:"#",end:"$",keywords:{keyword:n},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[s,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},s,o]},u={className:"symbol",begin:"@[A-z0-9_]+"},d={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[a,s,l]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:t,built_in:i,literal:r},contains:[o,a,s,l,c,u,d]}}function Pdn(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}function Ddn(e){const t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},n="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",r={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:n},contains:[t,r,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}function Ldn(e){const t=e.UNDERSCORE_IDENT_RE,n={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},r={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:n};return{name:"X++",aliases:["x++"],keywords:n,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},r]}}function $dn(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[{scope:"string",begin:/"/,end:/"|$/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}function Fdn(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}function Bdn(e){const t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[t]},t]}}function jdn(e){const t=e.regex,n=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],r="false true",i=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],o={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",begin:/(#\d+)+/},s={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},l={className:"string",begin:'"',end:'"'},c={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[o,a,e.NUMBER_MODE]},...i]},u=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],d={match:[/OBJECT/,/\s+/,t.either(...u),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:n,literal:r},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},o,a,s,l,e.NUMBER_MODE,d,c]}}function Hdn(e){const t=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],n=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],r=["true","false"],i={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:t,type:n,literal:r},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},i]}}function Udn(e){const t=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],n=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],r=["doc","by","license","see","throws","tagged"],i={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},o=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[i]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return i.contains=o,{name:"Ceylon",keywords:{keyword:t.concat(n),meta:r},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(o)}}function zdn(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}function Vdn(e){const t="a-zA-Z_\\-!.?+*=<>&'",n="[#]?["+t+"]["+t+"0-9/;:$#]*",r="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",i={$pattern:n,built_in:r+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o={begin:n,relevance:0},a={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},s={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},l={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),u={scope:"punctuation",match:/,/,relevance:0},d=e.COMMENT(";","$",{relevance:0}),f={className:"literal",begin:/\b(true|false|nil)\b/},h={begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},m={className:"symbol",begin:"[:]{1,2}"+n},g={begin:"\\(",end:"\\)"},v={endsWithParent:!0,relevance:0},y={keywords:i,className:"name",begin:n,relevance:0,starts:v},b=[u,g,s,l,c,d,m,h,a,f,o],_={beginKeywords:r,keywords:{$pattern:n,keyword:r},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,relevance:0,excludeEnd:!0,endsParent:!0}].concat(b)};return g.contains=[_,y,v],v.contains=b,h.contains=b,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[u,g,s,l,c,d,m,h,a,f]}}function Gdn(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}function Wdn(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}const qdn=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Ydn=["true","false","null","undefined","NaN","Infinity"],Kdn=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Qdn=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Xdn=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Zdn=[].concat(Xdn,Kdn,Qdn);function Jdn(e){const t=["npm","print"],n=["yes","no","on","off"],r=["then","unless","until","loop","by","when","and","or","is","isnt","not"],i=["var","const","let","function","static"],o=m=>g=>!m.includes(g),a={keyword:qdn.concat(r).filter(o(i)),literal:Ydn.concat(n),built_in:Zdn.concat(t)},s="[A-Za-z$_][0-9A-Za-z$_]*",l={className:"subst",begin:/#\{/,end:/\}/,keywords:a},c=[e.BINARY_NUMBER_MODE,e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,l]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[l,e.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+s},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];l.contains=c;const u=e.inherit(e.TITLE_MODE,{begin:s}),d="(\\(.*\\)\\s*)?\\B[-=]>",f={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(c)}]},h={variants:[{match:[/class\s+/,s,/\s+extends\s+/,s]},{match:[/class\s+/,s]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:a,illegal:/\/\*/,contains:[...c,e.COMMENT("###","###"),e.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+s+"\\s*=\\s*"+d,end:"[-=]>",returnBegin:!0,contains:[u,f]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:d,end:"[-=]>",returnBegin:!0,contains:[f]}]},h,{begin:s+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}function efn(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}function tfn(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}function nfn(e){const t="primitive rsc_template",n="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\ number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:t,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+n.split(" ").join("|")+")\\s+",keywords:n,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}function rfn(e){const t="(_?[ui](8|16|32|64|128))?",n="(_?f(32|64))?",r="[a-zA-Z_]\\w*[!?=]?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",o="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",a={$pattern:r,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},s={className:"subst",begin:/#\{/,end:/\}/,keywords:a},l={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},c={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:a};function u(y,b){const _=[{begin:y,end:b}];return _[0].contains=_,_}const d={className:"string",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:u("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},f={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%q<",end:">",contains:u("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},h={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},m={className:"regexp",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:"%r\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%r<",end:">",contains:u("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},g={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},v=[c,d,f,m,h,g,l,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[d,{begin:i}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+n+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return s.contains=v,c.contains=v.slice(1),{name:"Crystal",aliases:["cr"],keywords:a,contains:v}}function ifn(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}function ofn(e){const t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},n="(0|[1-9][\\d_]*)",r="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",a="0[xX]"+o,s="([eE][+-]?"+r+")",l="("+r+"(\\.\\d*|"+s+")|\\d+\\."+r+"|\\."+n+s+"?)",c="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+r+")",u="("+n+"|"+i+"|"+a+")",d="("+c+"|"+l+")",f=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,h={className:"number",begin:"\\b"+u+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},m={className:"number",begin:"\\b("+d+"([fF]|L|i|[fF]i|Li)?|"+u+"(i|[fF]i|Li))",relevance:0},g={className:"string",begin:"'("+f+"|.)",end:"'",illegal:"."},v={className:"string",begin:'"',contains:[{begin:f,relevance:0}],end:'"[cwd]?'},y={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},b={className:"string",begin:"`",end:"`[cwd]?"},_={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},E={className:"string",begin:'q"\\{',end:'\\}"'},C={className:"meta",begin:"^#!",end:"$",relevance:5},S={className:"meta",begin:"#(line)",end:"$",relevance:5},w={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},T=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,T,_,v,y,b,E,m,h,g,C,S,w]}}function afn(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},r={className:"number",relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},i={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[r,i];const o=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],a=o.map(s=>`${s}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:o.concat(a).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},r,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}function sfn(e){const t=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"number",relevance:0,variants:[{match:/\b\d[\d_]*(\.\d[\d_]*)?/},{match:/\$[\dA-Fa-f_]+/},{match:/\$/,relevance:0},{match:/&[0-7][0-7_]*/},{match:/%[01_]+/},{match:/%/,relevance:0}]},a={className:"string",variants:[{match:/#\d[\d_]*/},{match:/#\$[\dA-Fa-f][\dA-Fa-f_]*/},{match:/#&[0-7][0-7_]*/},{match:/#%[01][01_]*/}]},s={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},l={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[i,a,r].concat(n)},r].concat(n)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,a,o,s,l,r].concat(n)}}function lfn(e){const t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}function cfn(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}function ufn(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},i={className:"variable",begin:/&[a-z\d_]*\b/},o={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},a={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},s={className:"params",relevance:0,begin:"<",end:">",contains:[n,i]},l={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},c={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},u={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},d={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},f={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[c,i,o,a,l,d,u,s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,t,r,f,{begin:e.IDENT_RE+"::",keywords:""}]}}function hfn(e){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}function mfn(e){const t=e.COMMENT(/\(\*/,/\*\)/),n={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},r={begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,n,r]}}function gfn(e){const t=e.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",i={$pattern:n,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},o={className:"subst",begin:/#\{/,end:/\}/,keywords:i},a={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},s={match:/\\[\s\S]/,scope:"char.escape",relevance:0},l=`[/|([{<"']`,c=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],u=b=>({scope:"char.escape",begin:t.concat(/\\/,b),relevance:0}),d={className:"string",begin:"~[a-z](?="+l+")",contains:c.map(b=>e.inherit(b,{contains:[u(b.end),s,o]}))},f={className:"string",begin:"~[A-Z](?="+l+")",contains:c.map(b=>e.inherit(b,{contains:[u(b.end)]}))},h={className:"regex",variants:[{begin:"~r(?="+l+")",contains:c.map(b=>e.inherit(b,{end:t.concat(b.end,/[uismxfU]{0,7}/),contains:[u(b.end),s,o]}))},{begin:"~R(?="+l+")",contains:c.map(b=>e.inherit(b,{end:t.concat(b.end,/[uismxfU]{0,7}/),contains:[u(b.end)]}))}]},m={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},g={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},v=e.inherit(g,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),y=[m,h,f,d,e.HASH_COMMENT_MODE,v,g,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[m,{begin:r}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},a,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return o.contains=y,{name:"Elixir",aliases:["ex","exs"],keywords:i,contains:y}}function vfn(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]},i={begin:/\{/,end:/\}/,contains:r.contains},o={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,r,i,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},o,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,n,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}function bfn(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}function yfn(e){const t="[a-z'][a-zA-Z0-9_']*",n="("+t+":"+t+"|"+t+")",r={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor maybe else",literal:"false true"},i=e.COMMENT("%","$"),o={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},a={begin:"fun\\s+"+t+"/\\d+"},s={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},l={begin:/\{/,end:/\}/,relevance:0},c={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},u={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},d={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},f={scope:"string",match:/\$(\\([^0-9]|[0-9]{1,3}|)|.)/},h={scope:"string",match:/"""("*)(?!")[\s\S]*?"""\1/},m={scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{match:/~\w?"""("*)(?!")[\s\S]*?"""\1/},{begin:/~\w?\(/,end:/\)/},{begin:/~\w?\[/,end:/\]/},{begin:/~\w?{/,end:/}/},{begin:/~\w?/},{begin:/~\w?\//,end:/\//},{begin:/~\w?\|/,end:/\|/},{begin:/~\w?'/,end:/'/},{begin:/~\w?"/,end:/"/},{begin:/~\w?`/,end:/`/},{begin:/~\w?#/,end:/#/}]},g={beginKeywords:"fun receive if try case maybe",end:"end",keywords:r};g.contains=[i,a,e.inherit(e.APOS_STRING_MODE,{className:""}),g,s,m,h,e.QUOTE_STRING_MODE,o,l,c,u,d,f];const v=[i,a,g,s,m,h,e.QUOTE_STRING_MODE,o,l,c,u,d,f];s.contains[1].contains=v,l.contains=v,d.contains[1].contains=v;const y=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-moduledoc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec","-on_load","-nifs"],b={className:"params",begin:"\\(",end:"\\)",contains:v};return{name:"Erlang",aliases:["erl"],keywords:r,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[b,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:r,contains:v}},i,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:y.map(_=>`${_}|1.5`).join(" ")},contains:[b,m,h,e.QUOTE_STRING_MODE]},o,m,h,e.QUOTE_STRING_MODE,d,c,u,l,f,{begin:/\.$/}]}}function _fn(e){const t=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}function Sfn(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ARRAYTOTEXT","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","BYCOL","BYROW","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CHOOSECOLS","CHOOSEROWS","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DROP","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPAND","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE","F.DIST","FDIST","F.DIST.RT","FILTER","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HSTACK","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGE","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISOMITTED","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LAMBDA","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LET","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MAKEARRAY","MAP","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDB","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDARRAY","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REDUCE","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SCAN","SEARCH","SEARCHB","SEC","SECH","SECOND","SEQUENCE","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SORT","SORTBY","SQRT","SQRTPI","SQL.REQUEST","STANDARDIZE","STOCKHISTORY","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TAKE","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTAFTER","TEXTBEFORE","TEXTJOIN","TEXTSPLIT","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TOCOL","TOROW","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UNIQUE","UPPER","VALUE","VALUETOTEXT","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","VSTACK","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","WRAPCOLS","WRAPROWS","XIRR","XLOOKUP","XMATCH","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}function Efn(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}function Cfn(e){const t={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},n={className:"string",variants:[{begin:'"',end:'"'}]},r={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,n,r,e.C_NUMBER_MODE]}}function wfn(e){const t=e.regex,n={className:"params",begin:"\\(",end:"\\)"},r={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},i=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,a={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,o,i)},{begin:t.concat(/\b\d+/,o,i)},{begin:t.concat(/\.\d+/,o,i)}],relevance:0},s={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]},l={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{$pattern:/\b[a-z][a-z0-9_]+\b|\.[a-z][a-z0-9_]+\./,keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[l,s,{begin:/^C\s*=(?!=)/,relevance:0},r,a]}}function Tfn(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function rPe(e){return e?typeof e=="string"?e:e.source:null}function oC(e){return Uu("(?=",e,")")}function Uu(...e){return e.map(t=>rPe(t)).join("")}function xfn(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function c1(...e){return"("+(xfn(e).capture?"":"?:")+e.map(t=>rPe(t)).join("|")+")"}function Ofn(e){const t=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],n={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},r=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],i=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],o=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],a=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],s={keyword:t,literal:i,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":o},l={variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),e.C_LINE_COMMENT_MODE]},c=/[a-zA-Z_](\w|')*/,u={scope:"variable",begin:/``/,end:/``/},d=/\B('|\^)/,f={scope:"symbol",variants:[{match:Uu(d,/``.*?``/)},{match:Uu(d,e.UNDERSCORE_IDENT_RE)}],relevance:0},h=function({includeEqual:P}){let k;P?k="!%&*+-/<=>@^|~?":k="!%&*+-/<>@^|~?";const N=Array.from(k),L=Uu("[",...N.map(Tfn),"]"),V=c1(L,/\./),$=Uu(V,oC(V)),W=c1(Uu($,V,"*"),Uu(L,"+"));return{scope:"operator",match:c1(W,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},m=h({includeEqual:!0}),g=h({includeEqual:!1}),v=function(P,k){return{begin:Uu(P,oC(Uu(/\s*/,c1(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:k,end:oC(c1(/\n/,/=/)),relevance:0,keywords:e.inherit(s,{type:a}),contains:[l,f,e.inherit(u,{scope:null}),g]}},y=v(/:/,"operator"),b=v(/\bof\b/,"keyword"),_={begin:[/(^|\s+)/,/type/,/\s+/,c],beginScope:{2:"keyword",4:"title.class"},end:oC(/\(|=|$/),keywords:s,contains:[l,e.inherit(u,{scope:null}),f,{scope:"operator",match:/<|>/},y]},E={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},C={begin:[/^\s*/,Uu(/#/,c1(...r)),/\b/],beginScope:{2:"meta"},end:oC(/\s|$/)},S={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},w={scope:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},T={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},e.BACKSLASH_ESCAPE]},O={scope:"string",begin:/"""/,end:/"""/,relevance:2},x={scope:"subst",begin:/\{/,end:/\}/,keywords:s},A={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,x]},I={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,x]},M={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},x],relevance:2},B={scope:"string",match:Uu(/'/,c1(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return x.contains=[I,A,T,w,B,n,l,u,y,E,C,S,f,m],{name:"F#",aliases:["fs","f#"],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[n,{variants:[M,I,A,O,T,w,B]},l,u,_,{scope:"meta",begin:/\[\]/,relevance:2,contains:[u,O,T,w,B,S]},b,y,E,C,S,f,m]}}function Rfn(e){const t=e.regex,n={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},r={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},i={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},o={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},a={begin:"/",end:"/",keywords:n,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},s=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,l={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[o,a,{className:"comment",begin:t.concat(s,t.anyNumberOfTimes(t.concat(/[ ]+/,s))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:n,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,l]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[l]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},r,i]},e.C_NUMBER_MODE,i]}}function Ifn(e){const t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},n=e.COMMENT("@","@"),r={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n]},i={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},o=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,i]}],a={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},s=function(f,h,m){const g=e.inherit({className:"function",beginKeywords:f,end:h,excludeEnd:!0,contains:[].concat(o)},{});return g.contains.push(a),g.contains.push(e.C_NUMBER_MODE),g.contains.push(e.C_BLOCK_COMMENT_MODE),g.contains.push(n),g},l={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},c={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},u={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},l,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},d={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,l,u,c,"self"]};return u.contains.push(d),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,c,r,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},s("proc keyword",";"),s("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,n,d]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},u,i]}}function Afn(e){const t=e.regex,n={$pattern:/[A-Z]+|%/,keyword:["THEN","ELSE","ENDIF","IF","GOTO","DO","WHILE","WH","END","CALL","SUB","ENDSUB","EQ","NE","LT","GT","LE","GE","AND","OR","XOR","%"],built_in:["ATAN","ABS","ACOS","ASIN","COS","EXP","FIX","FUP","ROUND","LN","SIN","SQRT","TAN","EXISTS"]},r=/\b/;function i(h,m){if(h.index===0)return;const g=h.input[h.index-1];g>="0"&&g<="9"||g!=="_"&&m.ignoreMatch()}const o=/[+-]?((\.\d+)|(\d+)(\.\d*)?)/,a=/[GM]\s*\d+(\.\d+)?/,s=/T\s*\d+/,l=/O\s*\d+/,c=/O<.+>/,u=/[ABCUVWXYZ]\s*/,d=/[FHIJKPQRS]\s*/,f=[e.COMMENT(/\(/,/\)/),e.COMMENT(/;/,/$/),e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{scope:"title.function",variants:[{match:t.concat(r,a)},{begin:a,"on:begin":i},{match:t.concat(r,s)},{begin:s,"on:begin":i}]},{scope:"symbol",variants:[{match:t.concat(r,l)},{begin:l,"on:begin":i},{match:t.concat(r,c)},{begin:c,"on:begin":i},{match:/\*\s*\d+\s*$/}]},{scope:"operator",match:/^N\s*\d+/},{scope:"variable",match:/-?#\s*\d+/},{scope:"property",variants:[{match:t.concat(r,u,o)},{begin:t.concat(u,o),"on:begin":i}]},{scope:"params",variants:[{match:t.concat(r,d,o)},{begin:t.concat(d,o),"on:begin":i}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,disableAutodetect:!0,keywords:n,contains:f}}function Nfn(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}function Mfn(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}function kfn(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","new","not","or","repeat","return","static","switch","then","until","var","while","with","xor"],built_in:["abs","alarm_get","alarm_set","angle_difference","animcurve_channel_evaluate","animcurve_channel_new","animcurve_create","animcurve_destroy","animcurve_exists","animcurve_get","animcurve_get_channel","animcurve_get_channel_index","animcurve_point_new","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_all","array_any","array_concat","array_contains","array_contains_ext","array_copy","array_copy_while","array_create","array_create_ext","array_delete","array_equals","array_filter","array_filter_ext","array_find_index","array_first","array_foreach","array_get","array_get_index","array_insert","array_intersection","array_last","array_length","array_map","array_map_ext","array_pop","array_push","array_reduce","array_resize","array_reverse","array_reverse_ext","array_set","array_shuffle","array_shuffle_ext","array_sort","array_union","array_unique","array_unique_ext","asset_add_tags","asset_clear_tags","asset_get_ids","asset_get_index","asset_get_tags","asset_get_type","asset_has_any_tag","asset_has_tags","asset_remove_tags","audio_bus_clear_emitters","audio_bus_create","audio_bus_get_emitters","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_effect_create","audio_emitter_bus","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_bus","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_get_assets","audio_group_get_gain","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_pause_all","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_sound","audio_play_sound_at","audio_play_sound_ext","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_audio_group","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_loop","audio_sound_get_loop_end","audio_sound_get_loop_start","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_is_playable","audio_sound_length","audio_sound_loop","audio_sound_loop_end","audio_sound_loop_start","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_paused","audio_sync_group_is_playing","audio_system_is_available","audio_system_is_initialised","base64_decode","base64_encode","bool","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_compress","buffer_copy","buffer_copy_from_vertex_buffer","buffer_copy_stride","buffer_crc32","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_decompress","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_set_used_size","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","call_cancel","call_later","camera_apply","camera_copy_transforms","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","db_to_lin","dbg_add_font_glyphs","dbg_button","dbg_checkbox","dbg_color","dbg_colour","dbg_drop_down","dbg_same_line","dbg_section","dbg_section_delete","dbg_section_exists","dbg_slider","dbg_slider_int","dbg_sprite","dbg_text","dbg_text_input","dbg_view","dbg_view_delete","dbg_view_exists","dbg_watch","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_frequency","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_drawevent","draw_enable_skeleton_blendmodes","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_enable_skeleton_blendmodes","draw_get_font","draw_get_halign","draw_get_lighting","draw_get_swf_aa_level","draw_get_valign","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_circle_precision","draw_set_color","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_to_mp_grid","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_is_list","ds_list_is_map","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_is_list","ds_map_is_map","ds_map_keys_to_array","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_values_to_array","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","effect_create_depth","effect_create_layer","environment_get_variable","event_inherited","event_perform","event_perform_async","event_perform_object","event_user","exception_unhandled_handler","exp","extension_exists","extension_get_option_count","extension_get_option_names","extension_get_option_value","extension_get_options","extension_get_version","external_call","external_define","external_free","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_cache_glyph","font_delete","font_enable_effects","font_enable_sdf","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_info","font_get_italic","font_get_last","font_get_name","font_get_sdf_enabled","font_get_sdf_spread","font_get_size","font_get_texture","font_get_uvs","font_replace_sprite","font_replace_sprite_ext","font_sdf_spread","font_set_cache_size","frac","fx_create","fx_get_name","fx_get_parameter","fx_get_parameter_names","fx_get_parameters","fx_get_single_layer","fx_set_parameter","fx_set_parameters","fx_set_single_layer","game_change","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_get_guid","gamepad_get_mapping","gamepad_get_option","gamepad_hat_count","gamepad_hat_value","gamepad_is_connected","gamepad_is_supported","gamepad_remove_mapping","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_option","gamepad_set_vibration","gamepad_test_mapping","gc_collect","gc_enable","gc_get_stats","gc_get_target_frame_time","gc_is_enabled","gc_target_frame_time","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gif_add_surface","gif_open","gif_save","gif_save_buffer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_depth","gpu_get_fog","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_depth","gpu_set_fog","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","handle_parse","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_get_request_crossorigin","http_post_string","http_request","http_set_request_crossorigin","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","instanceof","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_callable","is_debug_overlay_open","is_handle","is_infinity","is_instanceof","is_int32","is_int64","is_keyboard_used_debug_overlay","is_method","is_mouse_over_debug_overlay","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","json_decode","json_encode","json_parse","json_stringify","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_clear_fx","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_enable_fx","layer_exists","layer_force_draw_depth","layer_fx_is_enabled","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_fx","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_sequence_angle","layer_sequence_create","layer_sequence_destroy","layer_sequence_exists","layer_sequence_get_angle","layer_sequence_get_headdir","layer_sequence_get_headpos","layer_sequence_get_instance","layer_sequence_get_length","layer_sequence_get_sequence","layer_sequence_get_speedscale","layer_sequence_get_x","layer_sequence_get_xscale","layer_sequence_get_y","layer_sequence_get_yscale","layer_sequence_headdir","layer_sequence_headpos","layer_sequence_is_finished","layer_sequence_is_paused","layer_sequence_pause","layer_sequence_play","layer_sequence_speedscale","layer_sequence_x","layer_sequence_xscale","layer_sequence_y","layer_sequence_yscale","layer_set_fx","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","lin_to_db","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","method","method_call","method_get_index","method_get_self","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_and_collide","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","nameof","network_connect","network_connect_async","network_connect_raw","network_connect_raw_async","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_check_permission","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","os_request_permission","os_set_orientation_lock","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_delay","part_emitter_destroy","part_emitter_destroy_all","part_emitter_enable","part_emitter_exists","part_emitter_interval","part_emitter_region","part_emitter_relative","part_emitter_stream","part_particles_burst","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_angle","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_color","part_system_colour","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_info","part_system_get_layer","part_system_global_space","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_size_x","part_type_size_y","part_type_speed","part_type_sprite","part_type_step","part_type_subimage","particle_exists","particle_get_info","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","ref_create","rollback_chat","rollback_create_game","rollback_define_extra_network_latency","rollback_define_input","rollback_define_input_frame_delay","rollback_define_mock_input","rollback_define_player","rollback_display_events","rollback_get_info","rollback_get_input","rollback_get_player_prefs","rollback_join_game","rollback_leave_game","rollback_set_player_prefs","rollback_start_game","rollback_sync_on_frame","rollback_use_late_join","rollback_use_manual_start","rollback_use_player_prefs","rollback_use_random_input","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_info","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_camera","room_set_height","room_set_persistent","room_set_view_enabled","room_set_viewport","room_set_width","round","scheduler_resolution_get","scheduler_resolution_set","screen_save","screen_save_part","script_execute","script_execute_ext","script_exists","script_get_name","sequence_create","sequence_destroy","sequence_exists","sequence_get","sequence_get_objects","sequence_instance_override_object","sequence_keyframe_new","sequence_keyframedata_new","sequence_track_new","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_f_buffer","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_message_ext","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_event_frames","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_get_position","skeleton_animation_is_finished","skeleton_animation_is_looping","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_animation_set_position","skeleton_attachment_create","skeleton_attachment_create_color","skeleton_attachment_create_colour","skeleton_attachment_destroy","skeleton_attachment_exists","skeleton_attachment_get","skeleton_attachment_replace","skeleton_attachment_replace_color","skeleton_attachment_replace_colour","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_list","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_find_slot","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_create","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_alpha_get","skeleton_slot_color_get","skeleton_slot_color_set","skeleton_slot_colour_get","skeleton_slot_colour_set","skeleton_slot_data","skeleton_slot_data_instance","skeleton_slot_list","sprite_add","sprite_add_ext","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_mode","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_info","sprite_get_name","sprite_get_nineslice","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_nineslice_create","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_bbox","sprite_set_bbox_mode","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_nineslice","sprite_set_offset","sprite_set_speed","sqr","sqrt","static_get","static_set","string","string_byte_at","string_byte_length","string_char_at","string_concat","string_concat_ext","string_copy","string_count","string_delete","string_digits","string_ends_with","string_ext","string_foreach","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_join","string_join_ext","string_last_pos","string_last_pos_ext","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_pos_ext","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_split","string_split_ext","string_starts_with","string_trim","string_trim_end","string_trim_start","string_upper","string_width","string_width_ext","struct_exists","struct_foreach","struct_get","struct_get_from_hash","struct_get_names","struct_names_count","struct_remove","struct_set","struct_set_from_hash","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_format_is_supported","surface_free","surface_get_depth_disable","surface_get_format","surface_get_height","surface_get_target","surface_get_target_ext","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tag_get_asset_ids","tag_get_assets","tan","texture_debug_messages","texture_flush","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_is_ready","texture_prefetch","texture_set_stage","texturegroup_get_fonts","texturegroup_get_names","texturegroup_get_sprites","texturegroup_get_status","texturegroup_get_textures","texturegroup_get_tilesets","texturegroup_load","texturegroup_set_mode","texturegroup_unload","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_height","tilemap_set_mask","tilemap_set_width","tilemap_tileset","tilemap_x","tilemap_y","tileset_get_info","tileset_get_name","tileset_get_texture","tileset_get_uvs","time_bpm_to_seconds","time_seconds_to_bpm","time_source_create","time_source_destroy","time_source_exists","time_source_get_children","time_source_get_parent","time_source_get_period","time_source_get_reps_completed","time_source_get_reps_remaining","time_source_get_state","time_source_get_time_remaining","time_source_get_units","time_source_pause","time_source_reconfigure","time_source_reset","time_source_resume","time_source_start","time_source_stop","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","uwp_device_touchscreen_available","uwp_livetile_badge_clear","uwp_livetile_badge_notification","uwp_livetile_notification_begin","uwp_livetile_notification_end","uwp_livetile_notification_expiry","uwp_livetile_notification_image_add","uwp_livetile_notification_secondary_begin","uwp_livetile_notification_tag","uwp_livetile_notification_template_add","uwp_livetile_notification_text_add","uwp_livetile_queue_enable","uwp_livetile_tile_clear","uwp_secondarytile_badge_clear","uwp_secondarytile_badge_notification","uwp_secondarytile_delete","uwp_secondarytile_pin","uwp_secondarytile_tile_clear","variable_clone","variable_get_hash","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_names_count","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_format_get_info","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_submit_ext","vertex_texcoord","vertex_ubyte4","vertex_update_buffer_from_buffer","vertex_update_buffer_from_vertex","video_close","video_draw","video_enable_loop","video_get_duration","video_get_format","video_get_position","video_get_status","video_get_volume","video_is_looping","video_open","video_pause","video_resume","video_seek_to","video_set_volume","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","wallpaper_set_config","wallpaper_set_subscriptions","weak_ref_alive","weak_ref_any_alive","weak_ref_create","window_center","window_device","window_enable_borderless_fullscreen","window_get_borderless_fullscreen","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_showborder","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_delta_x","window_mouse_get_delta_y","window_mouse_get_locked","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_mouse_set_locked","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_showborder","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_tile_background_color","winphone_tile_background_colour","zip_add_file","zip_create","zip_save","zip_unzip","zip_unzip_async"],symbol:["AudioEffect","AudioEffectType","AudioLFOType","GM_build_date","GM_build_type","GM_is_sandboxed","GM_project_filename","GM_runtime_version","GM_version","NaN","_GMFILE_","_GMFUNCTION_","_GMLINE_","alignmentH","alignmentV","all","animcurvetype_bezier","animcurvetype_catmullrom","animcurvetype_linear","asset_animationcurve","asset_font","asset_object","asset_path","asset_room","asset_script","asset_sequence","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3D","audio_bus_main","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_exponent_distance_scaled","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_inverse_distance_scaled","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_stereo","bboxkind_diamond","bboxkind_ellipse","bboxkind_precise","bboxkind_rectangular","bboxmode_automatic","bboxmode_fullimage","bboxmode_manual","bm_add","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_grow","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","c_aqua","c_black","c_blue","c_dkgray","c_dkgrey","c_fuchsia","c_gray","c_green","c_grey","c_lime","c_ltgray","c_ltgrey","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cache_directory","characterSpacing","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","coreColor","coreColour","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","dropShadowEnabled","dropShadowEnabled","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","effectsEnabled","effectsEnabled","ev_alarm","ev_animation_end","ev_animation_event","ev_animation_update","ev_async_audio_playback","ev_async_audio_playback_ended","ev_async_audio_recording","ev_async_dialog","ev_async_push_notification","ev_async_save_load","ev_async_save_load","ev_async_social","ev_async_system_event","ev_async_web","ev_async_web_cloud","ev_async_web_iap","ev_async_web_image_load","ev_async_web_networking","ev_async_web_steam","ev_audio_playback","ev_audio_playback_ended","ev_audio_recording","ev_boundary","ev_boundary_view0","ev_boundary_view1","ev_boundary_view2","ev_boundary_view3","ev_boundary_view4","ev_boundary_view5","ev_boundary_view6","ev_boundary_view7","ev_broadcast_message","ev_cleanup","ev_collision","ev_create","ev_destroy","ev_dialog_async","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_normal","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_outside_view0","ev_outside_view1","ev_outside_view2","ev_outside_view3","ev_outside_view4","ev_outside_view5","ev_outside_view6","ev_outside_view7","ev_pre_create","ev_push_notification","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_social","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_system_event","ev_trigger","ev_user0","ev_user1","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_web_async","ev_web_cloud","ev_web_iap","ev_web_image_load","ev_web_networking","ev_web_sound_load","ev_web_steam","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_none","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","false","frameSizeX","frameSizeY","gamespeed_fps","gamespeed_microseconds","global","glowColor","glowColour","glowEnabled","glowEnabled","glowEnd","glowStart","gp_axis_acceleration_x","gp_axis_acceleration_y","gp_axis_acceleration_z","gp_axis_angular_velocity_x","gp_axis_angular_velocity_y","gp_axis_angular_velocity_z","gp_axis_orientation_w","gp_axis_orientation_x","gp_axis_orientation_y","gp_axis_orientation_z","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","infinity","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sequence","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","lineSpacing","m_axisx","m_axisx_gui","m_axisy","m_axisy_gui","m_scroll_down","m_scroll_up","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mb_side1","mb_side2","mip_markedonly","mip_off","mip_on","network_config_avoid_time_wait","network_config_connect_timeout","network_config_disable_multicast","network_config_disable_reliable_udp","network_config_enable_multicast","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_config_websocket_protocol","network_connect_active","network_connect_blocking","network_connect_nonblocking","network_connect_none","network_connect_passive","network_send_binary","network_send_text","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_socket_ws","network_socket_wss","network_type_connect","network_type_data","network_type_disconnect","network_type_down","network_type_non_blocking_connect","network_type_up","network_type_up_failed","nineslice_blank","nineslice_bottom","nineslice_center","nineslice_centre","nineslice_hide","nineslice_left","nineslice_mirror","nineslice_repeat","nineslice_right","nineslice_stretch","nineslice_top","noone","of_challenge_lose","of_challenge_tie","of_challenge_win","os_android","os_gdk","os_gxgames","os_ios","os_linux","os_macosx","os_operagx","os_permission_denied","os_permission_denied_dont_request","os_permission_granted","os_ps3","os_ps4","os_ps5","os_psvita","os_switch","os_tvos","os_unknown","os_uwp","os_win8native","os_windows","os_winphone","os_xboxone","os_xboxseriesxs","other","outlineColor","outlineColour","outlineDist","outlineEnabled","outlineEnabled","paragraphSpacing","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pointer_invalid","pointer_null","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_mode_burst","ps_mode_stream","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","rollback_chat_message","rollback_connect_error","rollback_connect_info","rollback_connected_to_peer","rollback_connection_rejected","rollback_disconnected_from_peer","rollback_end_game","rollback_game_full","rollback_game_info","rollback_game_interrupted","rollback_game_resumed","rollback_high_latency","rollback_player_prefs","rollback_protocol_rejected","rollback_synchronized_with_peer","rollback_synchronizing_with_peer","self","seqaudiokey_loop","seqaudiokey_oneshot","seqdir_left","seqdir_right","seqinterpolation_assign","seqinterpolation_lerp","seqplay_loop","seqplay_oneshot","seqplay_pingpong","seqtextkey_bottom","seqtextkey_center","seqtextkey_justify","seqtextkey_left","seqtextkey_middle","seqtextkey_right","seqtextkey_top","seqtracktype_audio","seqtracktype_bool","seqtracktype_clipmask","seqtracktype_clipmask_mask","seqtracktype_clipmask_subject","seqtracktype_color","seqtracktype_colour","seqtracktype_empty","seqtracktype_graphic","seqtracktype_group","seqtracktype_instance","seqtracktype_message","seqtracktype_moment","seqtracktype_particlesystem","seqtracktype_real","seqtracktype_sequence","seqtracktype_spriteframes","seqtracktype_string","seqtracktype_text","shadowColor","shadowColour","shadowOffsetX","shadowOffsetY","shadowSoftness","sprite_add_ext_error_cancelled","sprite_add_ext_error_decompressfailed","sprite_add_ext_error_loadfailed","sprite_add_ext_error_setupfailed","sprite_add_ext_error_spritenotfound","sprite_add_ext_error_unknown","spritespeed_framespergameframe","spritespeed_framespersecond","surface_r16float","surface_r32float","surface_r8unorm","surface_rg8unorm","surface_rgba16float","surface_rgba32float","surface_rgba4unorm","surface_rgba8unorm","texturegroup_status_fetched","texturegroup_status_loaded","texturegroup_status_loading","texturegroup_status_unloaded","tf_anisotropic","tf_linear","tf_point","thickness","tile_flip","tile_index_mask","tile_mirror","tile_rotate","time_source_expire_after","time_source_expire_nearest","time_source_game","time_source_global","time_source_state_active","time_source_state_initial","time_source_state_paused","time_source_state_stopped","time_source_units_frames","time_source_units_seconds","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","tm_systemtiming","true","ty_real","ty_string","undefined","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","video_format_rgba","video_format_yuv","video_status_closed","video_status_paused","video_status_playing","video_status_preparing","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f10","vk_f11","vk_f12","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up","wallpaper_config","wallpaper_subscription_data","wrap"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","colour?ColourTrack","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","drawn_by_sequence","event_action","event_data","event_number","event_object","event_type","font_texture_page_size","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gravity","gravity_direction","health","hspeed","iap_data","id","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","in_collision_tree","in_sequence","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","longMessage","managed","mask_index","message","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","player_avatar_sprite","player_avatar_url","player_id","player_local","player_type","player_user_id","program_directory","rollback_api_server","rollback_confirmed_frame","rollback_current_frame","rollback_event_id","rollback_event_param","rollback_game_running","room","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","script","sequence_instance","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","stacktrace","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_camera","view_current","view_enabled","view_hport","view_surface_id","view_visible","view_wport","view_xport","view_yport","visible","vspeed","webgl_enabled","working_directory","x","xprevious","xstart","y","yprevious","ystart"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}function Pfn(e){return{name:"Golo",keywords:{keyword:["println","readln","print","import","module","function","local","return","let","var","while","for","foreach","times","in","case","when","match","with","break","continue","augment","augmentation","each","find","filter","reduce","if","then","else","otherwise","try","catch","finally","raise","throw","orIfNull","DynamicObject|10","DynamicVariable","struct","Observable","map","set","vector","list","array"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}function Dfn(e){return{name:"Gradle",case_insensitive:!0,keywords:["task","project","allprojects","subprojects","artifacts","buildscript","configurations","dependencies","repositories","sourceSets","description","delete","from","into","include","exclude","source","classpath","destinationDir","includes","options","sourceCompatibility","targetCompatibility","group","flatDir","doLast","doFirst","flatten","todir","fromdir","ant","def","abstract","break","case","catch","continue","default","do","else","extends","final","finally","for","if","implements","instanceof","native","new","private","protected","public","return","static","switch","synchronized","throw","throws","transient","try","volatile","while","strictfp","package","import","false","null","super","this","true","antlrtask","checkstyle","codenarc","copy","boolean","byte","char","class","double","float","int","interface","long","short","void","compile","runTime","file","fileTree","abs","any","append","asList","asWritable","call","collect","compareTo","count","div","dump","each","eachByte","eachFile","eachLine","every","find","findAll","flatten","getAt","getErr","getIn","getOut","getText","grep","immutable","inject","inspect","intersect","invokeMethods","isCase","join","leftShift","minus","multiply","newInputStream","newOutputStream","newPrintWriter","newReader","newWriter","next","plus","pop","power","previous","print","println","push","putAt","read","readBytes","readLines","reverse","reverseEach","round","size","sort","splitEachLine","step","subMap","times","toInteger","toList","tokenize","upto","waitForOrKill","withPrintWriter","withReader","withStream","withWriter","withWriterAppend","write","writeLine"],contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.REGEXP_MODE]}}function e7(e,t={}){return t.variants=e,t}function Lfn(e){const t=e.regex,n="[A-Za-z0-9_$]+",r=e7([e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),i={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[e.BACKSLASH_ESCAPE]},o=e7([e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]),a=e7([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE],{className:"string"}),s={match:[/(class|interface|trait|enum|record|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"Groovy",keywords:{"variable.language":"this super",literal:"true false null",type:["byte","short","char","int","long","boolean","float","double","void"],keyword:["def","as","in","assert","trait","abstract","static","volatile","transient","public","private","protected","synchronized","final","class","interface","enum","if","else","for","while","switch","case","break","default","continue","throw","throws","try","catch","finally","implements","extends","new","import","package","return","instanceof","var"]},contains:[e.SHEBANG({binary:"groovy",relevance:10}),r,a,i,o,s,{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:n+"[ ]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[r,a,i,o,"self"]},{className:"symbol",begin:"^[ ]*"+t.lookahead(n+":"),excludeBegin:!0,end:n+":",relevance:0}],illegal:/#|<\//}}function $fn(e){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},e.COMMENT("^\\s*(!=#|=#|-#|/).*$",null,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",end:/$/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}function Ffn(e){const t=e.regex,n={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},r={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},i=/""|"[^"]+"/,o=/''|'[^']+'/,a=/\[\]|\[[^\]]+\]/,s=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,l=/(\.|\/)/,c=t.either(i,o,a,s),u=t.concat(t.optional(/\.|\.\/|\//),c,t.anyNumberOfTimes(t.concat(l,c))),d=t.concat("(",a,"|",s,")(?==)"),f={begin:u},h=e.inherit(f,{keywords:r}),m={begin:/\(/,end:/\)/},g={className:"attr",begin:d,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,h,m]}}},v={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},y={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,v,g,h,m],returnEnd:!0},b=e.inherit(f,{className:"name",keywords:n,starts:e.inherit(y,{end:/\)/})});m.contains=[b];const _=e.inherit(f,{keywords:n,className:"name",starts:e.inherit(y,{end:/\}\}/})}),E=e.inherit(f,{keywords:n,className:"name"}),C=e.inherit(f,{className:"name",keywords:n,starts:e.inherit(y,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[_],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[E]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[_]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[E]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[C]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[C]}]}}function Bfn(e){const t="([0-9]_*)+",n="([0-9a-fA-F]_*)+",r="([01]_*)+",i="([0-7]_*)+",o="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",a={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},s={className:"meta",begin:/\{-#/,end:/#-\}/},l={className:"meta",begin:"^#",end:"$"},c={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},u={begin:"\\(",end:"\\)",illegal:'"',contains:[s,l,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),a]},d={begin:/\{/,end:/\}/,contains:u.contains},f={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](${i})\\b`},{match:`\\b0[bB](${r})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[u,a],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[u,a],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[c,u,a]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[s,c,u,d,a]},{beginKeywords:"default",end:"$",contains:[c,u,a]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,a]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[c,e.QUOTE_STRING_MODE,a]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},s,l,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,f,c,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${o}--+|--+(?!-)${o}`},a,{begin:"->|<-"}]}}function jfn(e){const t="[a-zA-Z_$][a-zA-Z0-9_$]*",n=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:n,relevance:0},{className:"variable",begin:"\\$"+t},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",beginKeywords:"new",end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}}function Hfn(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}function Ufn(e){const t=e.regex,n="HTTP/([32]|1\\.[01])",r=/[A-Za-z][A-Za-z0-9-]*/,i={className:"attribute",begin:t.concat("^",r,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},o=[i,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+n+" \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},{begin:"(?=^[A-Z]+ (.*?) "+n+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},e.inherit(i,{relevance:0})]}}function zfn(e){const t="a-zA-Z_\\-!.?+*=<>&#'",n="["+t+"]["+t+"0-9/;:]*",r={$pattern:n,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},i="[-+]?\\d+(\\.\\d+)?",o={begin:n,relevance:0},a={className:"number",begin:i,relevance:0},s=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l=e.COMMENT(";","$",{relevance:0}),c={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},u={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},d={className:"comment",begin:"\\^"+n},f=e.COMMENT("\\^\\{","\\}"),h={className:"symbol",begin:"[:]{1,2}"+n},m={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0},v={className:"name",relevance:0,keywords:r,begin:n,starts:g},y=[m,s,d,f,l,h,u,a,c,o];return m.contains=[e.COMMENT("comment",""),v,g],g.contains=y,u.contains=y,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),m,s,d,f,l,h,u,a,c]}}function Vfn(e){const t="\\[",n="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:t,end:n}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:t,end:n,contains:["self"]}]}}function Gfn(e){const t=e.regex,n={className:"params",begin:"\\(",end:"\\)"},r=/(_[a-z_\d]+)?/,i=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,i,r)},{begin:t.concat(/\b\d+/,i,r)},{begin:t.concat(/\.\d+/,i,r)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),o]}}function Wfn(e){const t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",n="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",r="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",i="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE smHidden smMaximized smMinimized smNormal wmNo wmYes COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID RESULT_VAR_NAME RESULT_VAR_NAME_ENG AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ISBL_SYNTAX NO_SYNTAX XML_SYNTAX WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",o="atUser atGroup atRole aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty apBegin apEnd alLeft alRight asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways cirCommon cirRevoked ctSignature ctEncode ctSignatureEncode clbUnchecked clbChecked clbGrayed ceISB ceAlways ceNever ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob cfInternal cfDisplay ciUnspecified ciWrite ciRead ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton cctDate cctInteger cctNumeric cctPick cctReference cctString cctText cltInternal cltPrimary cltGUI dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange dssEdit dssInsert dssBrowse dssInActive dftDate dftShortDate dftDateTime dftTimeStamp dotDays dotHours dotMinutes dotSeconds dtkndLocal dtkndUTC arNone arView arEdit arFull ddaView ddaEdit emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ecotFile ecotProcess eaGet eaCopy eaCreate eaCreateStandardRoute edltAll edltNothing edltQuery essmText essmCard esvtLast esvtLastActive esvtSpecified edsfExecutive edsfArchive edstSQLServer edstFile edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile vsDefault vsDesign vsActive vsObsolete etNone etCertificate etPassword etCertificatePassword ecException ecWarning ecInformation estAll estApprovingOnly evtLast evtLastActive evtQuery fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch grhAuto grhX1 grhX2 grhX3 hltText hltRTF hltHTML iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG im8bGrayscale im24bRGB im1bMonochrome itBMP itJPEG itWMF itPNG ikhInformation ikhWarning ikhError ikhNoIcon icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler isShow isHide isByUserSettings jkJob jkNotice jkControlJob jtInner jtLeft jtRight jtFull jtCross lbpAbove lbpBelow lbpLeft lbpRight eltPerConnection eltPerUser sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac sfsItalic sfsStrikeout sfsNormal ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom vtEqual vtGreaterOrEqual vtLessOrEqual vtRange rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth rdWindow rdFile rdPrinter rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument reOnChange reOnChangeValues ttGlobal ttLocal ttUser ttSystem ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal smSelect smLike smCard stNone stAuthenticating stApproving sctString sctStream sstAnsiSort sstNaturalSort svtEqual svtContain soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown tarAbortByUser tarAbortByWorkflowException tvtAllWords tvtExactPhrase tvtAnyWord usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected btAnd btDetailAnd btOr btNotOr btOnly vmView vmSelect vmNavigation vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection wfatPrevious wfatNext wfatCancel wfatFinish wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 wfetQueryParameter wfetText wfetDelimiter wfetLabel wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal waAll waPerformers waManual wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection wiLow wiNormal wiHigh wrtSoft wrtHard wsInit wsRunning wsDone wsControlled wsAborted wsContinued wtmFull wtmFromCurrent wtmOnlyCurrent ",a="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",s="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",l="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",c=i+o,u=s,d="null true false nil ",f={className:"number",begin:e.NUMBER_RE,relevance:0},h={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},m={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},g={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,m]},v={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,m]},y={variants:[g,v]},b={$pattern:t,keyword:r,built_in:c,class:u,literal:d},_={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:b,relevance:0},E={className:"type",begin:":[ \\t]*("+l.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},C={className:"variable",keywords:b,begin:t,relevance:0,contains:[E,_]},S=n+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:b,illegal:"\\$|\\?|%|,|;$|~|#|@|/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}function Qfn(e){const t="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",r="\\]|\\?>",i={$pattern:t+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},o=e.COMMENT("",{relevance:0}),a={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},s={className:"meta",begin:"\\[/noprocess|"+n},l={className:"symbol",begin:"'"+t+"'"},c=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[l]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[o]}},a,s,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[o]}},a,s].concat(c)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(c)}}function Xfn(e){const t=e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(O=>O+"(?![a-zA-Z@:_])")),n=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(O=>O+"(?![a-zA-Z:_])").join("|")),r=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],i=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],o={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:t},{endsParent:!0,begin:n},{endsParent:!0,variants:i},{endsParent:!0,relevance:0,variants:r}]},a={className:"params",relevance:0,begin:/#+\d?/},s={variants:i},l={className:"built_in",relevance:0,begin:/[$&^_]/},c={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},u=e.COMMENT("%","$",{relevance:0}),d=[o,a,s,l,c,u],f={begin:/\{/,end:/\}/,relevance:0,contains:["self",...d]},h=e.inherit(f,{relevance:0,endsParent:!0,contains:[f,...d]}),m={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[f,...d]},g={begin:/\s+/,relevance:0},v=[h],y=[m],b=function(O,x){return{contains:[g],starts:{relevance:0,contains:O,starts:x}}},_=function(O,x){return{begin:"\\\\"+O+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+O},relevance:0,contains:[g],starts:x}},E=function(O,x){return e.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+O+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},b(v,x))},C=(O="string")=>e.END_SAME_AS_BEGIN({className:O,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),S=function(O){return{className:"string",end:"(?=\\\\end\\{"+O+"\\})"}},w=(O="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:O,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),T=[...["verb","lstinline"].map(O=>_(O,{contains:[C()]})),_("mint",b(v,{contains:[C()]})),_("mintinline",b(v,{contains:[w(),C()]})),_("url",{contains:[w("link"),w("link")]}),_("hyperref",{contains:[w("link")]}),_("href",b(y,{contains:[w("link")]})),...[].concat(...["","\\*"].map(O=>[E("verbatim"+O,S("verbatim"+O)),E("filecontents"+O,b(v,S("filecontents"+O))),...["","B","L"].map(x=>E(x+"Verbatim"+O,b(y,S(x+"Verbatim"+O))))])),E("minted",b(y,b(v,S("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...T,...d]}}function Zfn(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}function Jfn(e){const t=/([A-Za-z_][A-Za-z_0-9]*)?/,n={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},r={match:[t,/(?=\()/],scope:{1:"keyword"},contains:[n]};return n.contains.unshift(r),{name:"Leaf",contains:[{match:[/#+/,t,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[n]},{match:[/#+/,t,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}function epn(e){const t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",n="\\|[^]*?\\|",r="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},o={className:"number",variants:[{begin:r,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+r+" +"+r,end:"\\)"}]},a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),l={begin:"\\*",end:"\\*"},c={className:"symbol",begin:"[:&]"+t},u={begin:t,relevance:0},d={begin:n},f={contains:[o,a,l,c,{begin:"\\(",end:"\\)",contains:["self",i,a,o,u]},u],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+n}]},h={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},m={begin:"\\(\\s*",end:"\\)"},g={endsWithParent:!0,relevance:0};return m.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:n}]},g],g.contains=[f,h,m,i,o,a,s,l,c,d,u],{name:"Lisp",illegal:/\S/,contains:[o,e.SHEBANG(),i,a,s,f,h,m,u]}}function tpn(e){const t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},n=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],r=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,r],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r].concat(n),illegal:";$|^\\[|^=|&|\\{"}}const npn=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],rpn=["true","false","null","undefined","NaN","Infinity"],ipn=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],opn=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],apn=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],spn=[].concat(apn,ipn,opn);function lpn(e){const t=["npm","print"],n=["yes","no","on","off","it","that","void"],r=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],i={keyword:npn.concat(r),literal:rpn.concat(n),built_in:spn.concat(t)},o="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",a=e.inherit(e.TITLE_MODE,{begin:o}),s={className:"subst",begin:/#\{/,end:/\}/,keywords:i},l={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:i},c=[e.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,s,l]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,l]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[s,e.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+o},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];s.contains=c;const u={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(c)}]},d={begin:"(#=>|=>|\\|>>|-?->|!->)"},f={variants:[{match:[/class\s+/,o,/\s+extends\s+/,o]},{match:[/class\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i};return{name:"LiveScript",aliases:["ls"],keywords:i,illegal:/\/\*/,contains:c.concat([e.COMMENT("\\/\\*","\\*\\/"),e.HASH_COMMENT_MODE,d,{className:"function",contains:[a,u],returnBegin:!0,variants:[{begin:"("+o+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+o+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+o+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},f,{begin:o+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}function cpn(e){const t=e.regex,n=/([-a-zA-Z$._][\w$.-]*)/,r={className:"type",begin:/\bi\d+(?=\s|\b)/},i={className:"operator",relevance:0,begin:/=/},o={className:"punctuation",relevance:0,begin:/,/},a={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},s={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},l={className:"variable",variants:[{begin:t.concat(/%/,n)},{begin:/%\d+/},{begin:/#\d+/}]},c={className:"title",variants:[{begin:t.concat(/@/,n)},{begin:/@\d+/},{begin:t.concat(/!/,n)},{begin:t.concat(/!\d+/,n)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:{keyword:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly",type:"void half bfloat float double fp128 x86_fp80 ppc_fp128 x86_amx x86_mmx ptr label token metadata opaque"},contains:[r,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},c,o,i,l,s,a]}}function upn(e){const t={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},n={className:"number",relevance:0,begin:e.C_NUMBER_RE},r={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},i={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[t,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},n,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},i,r,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}const dpn=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","AcousticAbsorbingValue","AcousticImpedanceValue","AcousticNormalVelocityValue","AcousticPDEComponent","AcousticPressureCondition","AcousticRadiationValue","AcousticSoundHardValue","AcousticSoundSoftCondition","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","Adjugate","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirSoundAttenuation","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowChatServices","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimatedImage","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","AnimationVideo","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","Antihermitian","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Application","Apply","ApplyReaction","ApplySides","ApplyTo","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ArgumentsOptions","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayPlot3D","ArrayQ","ArrayReduce","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssessmentFunction","AssessmentResultObject","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstroAngularSeparation","AstroBackground","AstroCenter","AstroDistance","AstroGraphics","AstroGridLines","AstroGridLinesStyle","AstronomicalData","AstroPosition","AstroProjection","AstroRange","AstroRangePadding","AstroReferenceFrame","AstroStyling","AstroZoomLevel","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticExpectation","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProbability","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomLabels","AtomLabelStyle","AtomList","AtomQ","AttachCell","AttachedCell","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTrackApply","AudioTrackSelection","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoOperatorRenderings","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","Axis3DBox","Axis3DBoxOptions","AxisBox","AxisBoxOptions","AxisLabel","AxisObject","AxisStyle","BabyMonsterGroupB","Back","BackFaceColor","BackFaceGlowColor","BackFaceOpacity","BackFaceSpecularColor","BackFaceSpecularExponent","BackFaceSurfaceAppearance","BackFaceTexture","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesagL","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","Beveled","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","BilateralLaplaceTransform","BilateralZTransform","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","BinnedVariogramList","Binomial","BinomialDistribution","BinomialPointProcess","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BioSequence","BioSequenceBackTranslateList","BioSequenceComplement","BioSequenceInstances","BioSequenceModify","BioSequencePlot","BioSequenceQ","BioSequenceReverseComplement","BioSequenceTranscribe","BioSequenceTranslate","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitRate","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockDiagonalMatrix","BlockLowerTriangularMatrix","BlockMap","BlockRandom","BlockUpperTriangularMatrix","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","Blurring","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondLabels","BondLabelStyle","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuckyballGraph","BuildCompiledComponent","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayFormatQ","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalizeRegion","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Canvas","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CaputoD","CardinalBSplineBasis","CarlemanLinearize","CarlsonRC","CarlsonRD","CarlsonRE","CarlsonRF","CarlsonRG","CarlsonRJ","CarlsonRK","CarlsonRM","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Cast","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyMatrix","CauchyPointProcess","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDingbatMargin","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellFrameStyle","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellInsertionPointCell","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellTrayPosition","CellTrayWidgets","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CenteredInterval","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","CheckArguments","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalConvert","ChemicalData","ChemicalFormula","ChemicalInstance","ChemicalReaction","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularArcThrough","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","ClickToCopy","ClickToCopyEnabled","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringMeasurements","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","CollinearPoints","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionBinning","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinatorB","CombinatorC","CombinatorI","CombinatorK","CombinatorS","CombinatorW","CombinatorY","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledComponent","CompiledExpressionDeclaration","CompiledFunction","CompiledLayer","CompilerCallback","CompilerEnvironment","CompilerEnvironmentAppend","CompilerEnvironmentAppendTo","CompilerEnvironmentObject","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteIntegral","CompleteKaryTree","CompletionsListPacket","Complex","ComplexArrayPlot","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","ConcaveHullMesh","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","Confirm","ConfirmAssert","ConfirmBy","ConfirmMatch","ConfirmQuiet","ConformationMethod","ConformAudio","ConformImages","Congruent","ConicGradientFilling","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegion3DBoxOptions","ConicHullRegionBox","ConicHullRegionBoxOptions","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnectSystemModelController","ConnesWindow","ConoverTest","ConservativeConvectionPDETerm","ConsoleMessage","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentDetectorFunction","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","ConvectionPDETerm","Convergents","ConversionOptions","ConversionRules","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexHullRegion","ConvexOptimization","ConvexPolygonQ","ConvexPolyhedronQ","ConvexRegionQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoplanarPoints","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyFunction","CopyTag","CopyToClipboard","CoreNilpotentDecomposition","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","CoulombF","CoulombG","CoulombH1","CoulombH2","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateCompilerEnvironment","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateLicenseEntitlement","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateTypeInstance","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CSGRegion","CSGRegionQ","CSGRegionTree","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","CuboidBoxOptions","Cumulant","CumulantGeneratingFunction","CumulativeFeatureImpactPlot","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylinderBoxOptions","CylindricalDecomposition","CylindricalDecompositionFunction","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinSubmit","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DatasetTheme","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateGranularity","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateScale","DateSelect","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareCompiledComponent","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","Default2DTool","Default3DTool","DefaultAttachedCellStyle","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDockedCellStyle","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAdjacentDuplicates","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteElements","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterAutoMatching","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivativePDETerm","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DiffusionPDETerm","DiggleGatesPointProcess","DiggleGrattonPointProcess","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","DirectionalLight","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteInputOutputModel","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskBoxOptions","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCell","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DominatorTreeGraph","DominatorVertexList","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DownValuesFunction","DragAndDrop","DrawBackFaces","DrawEdges","DrawFrontFaces","DrawHighlighted","DrazinInverse","Drop","DropoutLayer","DropShadowing","DSolve","DSolveChangeVariables","DSolveValue","Dt","DualLinearProgramming","DualPlanarGraph","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoEvaluation","EchoFunction","EchoLabel","EchoTiming","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeChromaticNumber","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeTransitiveGraphQ","EdgeValueRange","EdgeValueSizes","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddedSQLEntityClass","EmbeddedSQLExpression","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EmptySpaceF","EnableConsolePrintPacket","Enabled","Enclose","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedPointNormals","EstimatedPointProcess","EstimatedProcess","EstimatedVariogramModel","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","EvaluationPrivileges","EvaluationRateLimit","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedContexts","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionTree","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FaceRecognize","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureImpactPlot","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FeatureValueDependencyPlot","FeatureValueImpactPlot","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileFormatProperties","FileFormatQ","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FileNameToFormatList","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileSystemTree","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","FilledTorus","FillForm","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeColoring","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindIsomers","FindIsomorphicSubgraph","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPlanarColoring","FindPointProcessParameters","FindPostmanTour","FindProcessParameters","FindRegionTransform","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSubgraphIsomorphism","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexColoring","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","FlatShading","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlightData","FlipView","Floor","FlowPolynomial","Fold","FoldList","FoldPair","FoldPairList","FoldWhile","FoldWhileList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForAllType","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormProtectionMethod","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","ForwardCloudCredentials","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FoxH","FoxHReduce","FractionalBrownianMotionProcess","FractionalD","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameListVideo","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDateString","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRawPointer","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceGlowColor","FrontFaceOpacity","FrontFaceSpecularColor","FrontFaceSpecularExponent","FrontFaceSurfaceAppearance","FrontFaceTexture","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionAnalytic","FunctionBijective","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionContinuous","FunctionConvexity","FunctionDeclaration","FunctionDiscontinuities","FunctionDomain","FunctionExpand","FunctionInjective","FunctionInterpolation","FunctionLayer","FunctionMeromorphic","FunctionMonotonicity","FunctionPeriod","FunctionPoles","FunctionRange","FunctionSign","FunctionSingularities","FunctionSpace","FunctionSurjective","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedAssetFormat","GeneratedAssetLocation","GeneratedCell","GeneratedCellStyles","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundary","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBoundsRegionBoundary","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeodesicPolyhedron","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeoGraphPlot","GeoGraphValuePlot","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricStep","GeometricStylingRules","GeometricTest","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoOrientationData","GeoPath","GeoPolygon","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetContext","GetEnvironment","GetFileName","GetLinebreakInformationPacket","GibbsPointProcess","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","GouraudShading","Grad","Gradient","GradientFilter","GradientFittedMesh","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphJoin","GraphLayerLabels","GraphLayers","GraphLayerStyle","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphProduct","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphSum","GraphTree","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","GreekStyle","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GridVideo","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOpenerColor","GroupOpenerInsideFrame","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HardcorePointProcess","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","Headers","HeaderSize","HeaderStyle","Heads","HeatFluxValue","HeatInsulationValue","HeatOutflowValue","HeatRadiationValue","HeatSymmetryValue","HeatTemperatureCondition","HeatTransferPDEComponent","HeatTransferValue","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelmholtzPDEComponent","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","HelpViewerSettings","Here","HermiteDecomposition","HermiteH","Hermitian","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighlightString","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramPointDensity","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IfCompiled","IgnoreCase","IgnoreDiacritics","IgnoreIsotopes","IgnorePunctuation","IgnoreSpellCheck","IgnoreStereochemistry","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEditMode","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageStitch","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImageVectorscopePlot","ImageWaveformPlot","ImagingDevice","ImplicitD","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportedObject","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","InactiveStyle","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludedContexts","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularSolutions","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InertEvaluate","InertExpression","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfiniteLineThrough","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonPointProcess","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObject","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputPorts","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","IntegrateChangeVariables","Interactive","InteractiveTradingChart","InterfaceSwitched","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseBilateralLaplaceTransform","InverseBilateralZTransform","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsomorphicSubgraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiEpsilon","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JacobiZN","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelConfiguration","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LameC","LameCPrime","LameEigenvalueA","LameEigenvalueB","LameS","LameSPrime","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","LaplacianPDETerm","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayeredGraphPlot3D","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapVariant","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LexicographicOrder","LexicographicSort","LibraryDataType","LibraryFunction","LibraryFunctionDeclaration","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseEntitlementObject","LicenseEntitlements","LicenseID","LicensingSettings","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientFilling","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLinePlot3D","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListStreamPlot3D","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorDisplacementPlot","ListVectorDisplacementPlot3D","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LiteralType","LoadCompiledComponent","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalEvaluate","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrix","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapApply","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MassConcentrationCondition","MassFluxValue","MassImpermeableBoundaryValue","MassOutflowValue","MassSymmetryValue","MassTransferValue","MassTransportPDEComponent","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MaterialShading","MaternPointProcess","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDisplayedChildren","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanPointDensity","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","MIMETypeToFormatList","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinPointSeparation","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MissingValueSynthesis","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","ModelPredictiveController","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeAlign","MoleculeContainsQ","MoleculeDraw","MoleculeEquivalentQ","MoleculeFreeQ","MoleculeGraph","MoleculeMatchQ","MoleculeMaximumCommonSubstructure","MoleculeModify","MoleculeName","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeSubstructureCount","MoleculeValue","Moment","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","MultiaxisArrangement","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","MultiscriptBoxOptions","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NCaputoD","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborG","NearestNeighborGraph","NearestTo","NebulaData","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativelyOrientedPoints","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestTree","NestWhile","NestWhileList","NetAppend","NetArray","NetArrayLayer","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExternalObject","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetUnfold","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NeymanScottPointProcess","NFractionalD","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalScale","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookBrowseDirectory","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookGet","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookPath","NotebookPrint","NotebookPut","NotebookRead","Notebooks","NotebookSave","NotebookSelection","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSolveValues","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberDigit","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObjectExistsQ","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrdinalScale","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputPorts","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","OverlayVideo","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletSymbol","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairCorrelationG","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalettesMenuSettings","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelAxisPlot","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelKernels","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricConvexOptimization","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentEdgeLabel","ParentEdgeLabelFunction","ParentEdgeLabelStyle","ParentEdgeShapeFunction","ParentEdgeStyle","ParentEdgeStyleFunction","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternReaction","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PenttinenPointProcess","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMatrix","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentSymbol","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhongShading","PhysicalSystemData","Pi","Pick","PickedElements","PickMode","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderLayer","PlaceholderReplace","Plain","PlanarAngle","PlanarFaceList","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlaybackSettings","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointCountDistribution","PointDensity","PointDensityFunction","PointFigureChart","PointLegend","PointLight","PointProcessEstimator","PointProcessFitTest","PointProcessParameterAssumptions","PointProcessParameterQ","PointSize","PointStatisticFunction","PointValuePlot","PoissonConsulDistribution","PoissonDistribution","PoissonPDEComponent","PoissonPointProcess","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronBox","PolyhedronBoxOptions","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExpressionQ","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PolynomialSumOfSquaresList","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","PositionLargest","PositionSmallest","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositivelyOrientedPoints","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","PreferencesSettings","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","ProgressReporting","Projection","Prolog","PromptForm","ProofObject","PropagateAborts","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QuestionGenerator","QuestionInterface","QuestionObject","QuestionSelector","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","QuietEcho","Quit","Quotient","QuotientRemainder","RadialAxisPlot","RadialGradientFilling","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomArrayLayer","RandomChoice","RandomColor","RandomComplex","RandomDate","RandomEntity","RandomFunction","RandomGeneratorState","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPointConfiguration","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomTime","RandomTree","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalExpressionQ","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","ReactionBalance","ReactionBalancedQ","ReactionPDETerm","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecalibrationFunction","RecognitionPrior","RecognitionThreshold","ReconstructionMesh","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionCongruent","RegionConvert","RegionDifference","RegionDilation","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionErosion","RegionFillingStyle","RegionFit","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSimilar","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteBatchJobAbort","RemoteBatchJobObject","RemoteBatchJobs","RemoteBatchMapSubmit","RemoteBatchSubmissionEnvironment","RemoteBatchSubmit","RemoteConnect","RemoteConnectionObject","RemoteEvaluate","RemoteFile","RemoteInputFiles","RemoteKernelObject","RemoteProviderSettings","RemoteRun","RemoteRunProcess","RemovalConditions","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceAt","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetScheduledTask","ReshapeLayer","Residue","ResidueSum","ResizeLayer","Resolve","ResolveContextAliases","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnCreatesNewCell","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RipleyK","RipleyRassonRegion","RiskAchievementImportance","RiskReductionImportance","RobustConvexOptimization","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","RootTree","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","RulesTree","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameAs","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SecurityCertificate","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceIndicesLayer","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetFileDate","SetFileFormatProperties","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideShowVideo","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SmoothPointDensity","SnDispersion","Snippet","SnippetsVideo","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolarTime","SolidAngle","SolidBoundaryLoadValue","SolidData","SolidDisplacementCondition","SolidFixedCondition","SolidMechanicsPDEComponent","SolidMechanicsStrain","SolidMechanicsStress","SolidRegionQ","Solve","SolveAlways","SolveDelayed","SolveValues","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","SourcePDETerm","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SparseArrayQ","SpatialBinnedPointData","SpatialBoundaryCorrection","SpatialEstimate","SpatialEstimatorFunction","SpatialGraphDistribution","SpatialJ","SpatialMedian","SpatialNoiseLevel","SpatialObservationRegionQ","SpatialPointData","SpatialPointSelect","SpatialRandomnessTest","SpatialTransformationLayer","SpatialTrendFunction","Speak","SpeakerMatchQ","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","Sphere","SphereBox","SphereBoxOptions","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","SpotLight","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StraussHardcorePointProcess","StraussPointProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPlot3D","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","StrictInequalities","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFormatQ","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTakeDrop","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripStyleOnPaste","StripWrapperBoxes","StrokeForm","Struckthrough","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTrackSelection","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricDifference","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelMeasurements","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelControllerData","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxAlignment","TableViewBoxBackground","TableViewBoxHeaders","TableViewBoxItemSize","TableViewBoxItemStyle","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TerminatedEvaluation","TernaryListPlot","TernaryPlotCorners","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThomasPointProcess","ThompsonGroupTh","Thread","Threaded","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","TickDirection","TickLabelOrientation","TickLabelPositioning","TickLabels","TickLengths","TickPositions","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeSystem","TimeSystemConvert","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRawPointer","ToRules","Torus","TorusGraph","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","TourVideo","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackCellChangeTimes","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainImageContentDetector","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TrainTextContentDetector","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapEnterKey","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","Tree","TreeCases","TreeChildren","TreeCount","TreeData","TreeDelete","TreeDepth","TreeElementCoordinates","TreeElementLabel","TreeElementLabelFunction","TreeElementLabelStyle","TreeElementShape","TreeElementShapeFunction","TreeElementSize","TreeElementSizeFunction","TreeElementStyle","TreeElementStyleFunction","TreeExpression","TreeExtract","TreeFold","TreeForm","TreeGraph","TreeGraphQ","TreeInsert","TreeLayout","TreeLeafCount","TreeLeafQ","TreeLeaves","TreeLevel","TreeMap","TreeMapAt","TreeOutline","TreePlot","TreePosition","TreeQ","TreeReplacePart","TreeRules","TreeScan","TreeSelect","TreeSize","TreeTraversalOrder","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeDeclaration","TypeEvaluate","TypeHint","TypeOf","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UniqueElements","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","UnlabeledTree","UnmanageObject","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","Until","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrix","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseEmbeddedLibrary","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValenceFilling","ValidationLength","ValidationSet","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","VandermondeMatrix","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceGammaPointProcess","VarianceTest","VariogramFunction","VariogramModel","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorDisplacementPlot","VectorDisplacementPlot3D","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","VersionedPreferences","VertexAdd","VertexCapacity","VertexChromaticNumber","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInComponentGraph","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutComponentGraph","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexTransitiveGraphQ","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoCapture","VideoCombine","VideoDelete","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoGenerator","VideoInsert","VideoIntervals","VideoJoin","VideoMap","VideoMapList","VideoMapTimeSeries","VideoPadding","VideoPause","VideoPlay","VideoQ","VideoRecord","VideoReplace","VideoScreenCapture","VideoSplit","VideoStop","VideoStream","VideoStreams","VideoTimeStretch","VideoTrackSelection","VideoTranscode","VideoTransparency","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WavePDEComponent","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebColumn","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebItem","WebPageMetaInformation","WebRow","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WholeCellGroupOpener","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WithCleanup","WithLock","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframCloudSettings","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$CompilerEnvironment","$ConditionHold","$ConfiguredKernels","$Context","$ContextAliases","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CryptographicEllipticCurveNames","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultKernels","$DefaultLocalBase","$DefaultLocalKernel","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultRemoteBatchSubmissionEnvironment","$DefaultRemoteKernel","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeneratedAssetLocation","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxDisplayedChildren","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$ProgressReporting","$PublisherID","$RandomGeneratorState","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterCloudUserID","$RequesterCloudUserUUID","$RequesterWolframID","$RequesterWolframUUID","$ResourceSystemBase","$ResourceSystemPath","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TargetSystems","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function fpn(e){const t=e.regex,n=/([2-9]|[1-2]\d|[3][0-5])\^\^/,r=/(\w*\.\w+|\w+\.\w*|\w+)/,i=/(\d*\.\d+|\d+\.\d*|\d+)/,o=t.either(t.concat(n,r),i),a=/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,s=/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/,l=t.either(a,s),c=/\*\^[+-]?\d+/,u={className:"number",relevance:0,begin:t.concat(o,t.optional(l),t.optional(c))},d=/[a-zA-Z$][a-zA-Z0-9$]*/,f=new Set(dpn),h={variants:[{className:"builtin-symbol",begin:d,"on:begin":(E,C)=>{f.has(E[0])||C.ignoreMatch()}},{className:"symbol",relevance:0,begin:d}]},m={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},g={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},v={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},y={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},b={className:"brace",relevance:0,begin:/[[\](){}]/},_={className:"message-name",relevance:0,begin:t.concat("::",d)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[e.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),v,y,_,h,m,e.QUOTE_STRING_MODE,u,g,b]}}function ppn(e){const t="('|\\.')+",n={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}function hpn(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}function mpn(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},n,e.C_BLOCK_COMMENT_MODE,r,e.NUMBER_MODE,i,o,{begin:/:-/},{begin:/\.$/}]}}function vpn(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}function bpn(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}function ypn(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}function _pn(e){const t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},n={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},r={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),n,r,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}function Spn(e){const t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={className:"subst",begin:/#\{/,end:/\}/,keywords:t},i=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];r.contains=i;const o=e.inherit(e.TITLE_MODE,{begin:n}),a="(\\(.*\\)\\s*)?\\B[-=]>",s={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(i)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:i.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+n+"\\s*=\\s*"+a,end:"[-=]>",returnBegin:!0,contains:[o,s]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:a,end:"[-=]>",returnBegin:!0,contains:[s]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[o]},o]},{className:"name",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}function Epn(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}function Cpn(e){const t={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},n={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},r={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},i={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),i,r,t,n]}}function wpn(e){const t=e.regex,n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:r.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:"[^\\s\\}\\{]"}}function Tpn(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","concept","const","continue","converter","defer","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}function xpn(e){const t=e.regex,n={keyword:["assert","else","if","in","inherit","let","or","rec","then","with"],literal:["true","false","null"],built_in:["abort","baseNameOf","builtins","derivation","derivationStrict","dirOf","fetchGit","fetchMercurial","fetchTarball","fetchTree","fromTOML","import","isNull","map","placeholder","removeAttrs","scopedImport","throw","toString"]},r={scope:"built_in",match:t.either(...["abort","add","addDrvOutputDependencies","addErrorContext","all","any","appendContext","attrNames","attrValues","baseNameOf","bitAnd","bitOr","bitXor","break","builtins","catAttrs","ceil","compareVersions","concatLists","concatMap","concatStringsSep","convertHash","currentSystem","currentTime","deepSeq","derivation","derivationStrict","dirOf","div","elem","elemAt","false","fetchGit","fetchMercurial","fetchTarball","fetchTree","fetchurl","filter","filterSource","findFile","flakeRefToString","floor","foldl'","fromJSON","fromTOML","functionArgs","genList","genericClosure","getAttr","getContext","getEnv","getFlake","groupBy","hasAttr","hasContext","hashFile","hashString","head","import","intersectAttrs","isAttrs","isBool","isFloat","isFunction","isInt","isList","isNull","isPath","isString","langVersion","length","lessThan","listToAttrs","map","mapAttrs","match","mul","nixPath","nixVersion","null","parseDrvName","parseFlakeRef","partition","path","pathExists","placeholder","readDir","readFile","readFileType","removeAttrs","replaceStrings","scopedImport","seq","sort","split","splitVersion","storeDir","storePath","stringLength","sub","substring","tail","throw","toFile","toJSON","toPath","toString","toXML","trace","traceVerbose","true","tryEval","typeOf","unsafeDiscardOutputDependency","unsafeDiscardStringContext","unsafeGetAttrPos","warn","zipAttrsWith"].map(S=>`builtins\\.${S}`)),relevance:10},i="[A-Za-z_][A-Za-z0-9_'-]*",o={scope:"symbol",match:new RegExp(`<${i}(/${i})*>`)},a="[A-Za-z0-9_\\+\\.-]+",s={scope:"symbol",match:new RegExp(`(\\.\\.|\\.|~)?/(${a})?(/${a})*(?=[\\s;])`)},l=t.either("==","=","\\+\\+","\\+","<=","<\\|","<",">=",">","->","//","/","!=","!","\\|\\|","\\|>","\\?","\\*","&&"),c={scope:"operator",match:t.concat(l,/(?!-)/),relevance:0},u={scope:"number",match:new RegExp(`${e.NUMBER_RE}(?!-)`),relevance:0},d={variants:[{scope:"operator",beforeMatch:/\s/,begin:/-(?!>)/},{begin:[new RegExp(`${e.NUMBER_RE}`),/-/,/(?!>)/],beginScope:{1:"number",2:"operator"}},{begin:[l,/-/,/(?!>)/],beginScope:{1:"operator",2:"operator"}}],relevance:0},f={beforeMatch:/(^|\{|;)\s*/,begin:new RegExp(`${i}(\\.${i})*\\s*=(?!=)`),returnBegin:!0,relevance:0,contains:[{scope:"attr",match:new RegExp(`${i}(\\.${i})*(?=\\s*=)`),relevance:.2}]},h={scope:"char.escape",match:/\\\$/},m={scope:"char.escape",match:/''\$/},g={scope:"subst",begin:/\$\{/,end:/\}/,keywords:n},v={scope:"char.escape",match:/'''/},y={scope:"char.escape",match:/\\(?!\$)./},b={scope:"string",variants:[{begin:"''",end:"''",contains:[m,g,v,y]},{begin:'"',end:'"',contains:[h,g,y]}]},_={scope:"params",match:new RegExp(`${i}\\s*:(?=\\s)`)},E=[u,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),r,b,o,s,_,f,d,c];g.contains=E;const C=[{scope:"meta.prompt",match:/^nix-repl>(?=\s)/,relevance:10},{scope:"meta",beforeMatch:/\s+/,begin:/:([a-z]+|\?)/}];return{name:"Nix",aliases:["nixos"],keywords:n,contains:E.concat(C)}}function Opn(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function Rpn(e){const t=e.regex,n=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],r=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],i=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],o={className:"variable.constant",begin:t.concat(/\$/,t.either(...n))},a={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},s={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},l={className:"variable",begin:/\$+\([\w^.:!-]+\)/},c={className:"params",begin:t.either(...r)},u={className:"keyword",begin:t.concat(/!/,t.either(...i))},d={className:"char.escape",begin:/\$(\\[nrt]|\$)/},f={className:"title.function",begin:/\w+::\w+/},h={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[d,o,a,s,l]},m=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],g=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],v={match:[/Function/,/\s+/,t.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},y={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:m,literal:g},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),y,v,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},h,u,a,s,l,c,f,e.NUMBER_MODE]}}function Ipn(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}function Apn(e){const t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"literal",begin:"false|true|PI|undef"},r={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),o={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},a={className:"params",begin:"\\(",end:"\\)",contains:["self",r,i,t,n]},s={begin:"[*!#%]",relevance:0},l={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[a,e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,o,i,t,s,l]}}function Npn(e){const t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},n=e.COMMENT(/\{/,/\}/,{relevance:0}),r=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},o={className:"string",begin:"(#\\d+)+"},a={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[i,o]},n,r]},s={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[n,r,e.C_LINE_COMMENT_MODE,i,o,e.NUMBER_MODE,a,s]}}function Mpn(e){const t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}function kpn(e){const t={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},n={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,t,n]}}function Ppn(e){const t=e.COMMENT("--","$"),n="[a-zA-Z_][a-zA-Z_0-9$]*",r="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",i="<<\\s*"+n+"\\s*>>",o="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",a="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",s="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",l="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",c=l.trim().split(" ").map(function(m){return m.split("|")[0]}).join("|"),u="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",d="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",f="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",h="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(m){return m.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:o+s+a,built_in:u+d+f},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+h+")\\s*\\("},{begin:"\\.("+c+")\\b"},{begin:"\\b("+c+")\\s+PATH\\b",keywords:{keyword:"PATH",type:l.replace("PATH ","")}},{className:"type",begin:"\\b("+c+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:r,end:r,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:i,relevance:10}]}}function Dpn(e){const t={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},n={className:"string",begin:'"""',end:'"""',relevance:10},r={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},i={className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},o={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},a={begin:e.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:t,contains:[o,n,r,i,a,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}function Lpn(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",r="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",i={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,a={begin:"`[\\s\\S]",relevance:0},s={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},l={className:"literal",begin:/\$(null|true|false)\b/},c={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,s,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},u={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},d={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},f=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[d]}),h={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},m={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},g={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[s]}]},v={begin:/using\s/,end:/$/,returnBegin:!0,contains:[c,u,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},y={variants:[{className:"operator",begin:"(".concat(r,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},b={className:"selector-tag",begin:/@\B/,relevance:0},_={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},E=[_,f,a,e.NUMBER_MODE,c,u,h,s,l,b],C={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",E,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return _.contains.unshift(C),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:i,contains:E.concat(m,g,v,y,C)}}function $pn(e){const t=e.regex,n=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],r=e.IDENT_RE,i={variants:[{match:t.concat(t.either(...n),t.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:t.concat(/\b(?!for|if|while)/,r,t.lookahead(/\s*\(/)),className:"title.function"}]},o={match:[/new\s+/,r],className:{1:"keyword",2:"class.title"}},a={relevance:0,match:[/\./,r],className:{2:"property"}},s={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,r]},{match:[/class/,/\s+/,r]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},l=["boolean","byte","char","color","double","float","int","long","short"],c=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...n,...c],type:l},contains:[s,o,i,a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}function Fpn(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}function Bpn(e){const t={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},n={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},r={begin:/\(/,end:/\)/,relevance:0},i={begin:/\[/,end:/\]/},o={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},a={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},s={className:"string",begin:/0'(\\'|.)/},l={className:"string",begin:/0'\\s/},c=[t,n,r,{begin:/:-/},i,o,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,s,l,e.C_NUMBER_MODE];return r.contains=c,i.contains=c,{name:"Prolog",contains:c.concat([{begin:/\.$/}])}}function jpn(e){const t="[ \\t\\f]*",n="[ \\t\\f]+",r=t+"[:=]"+t,i=n,o="("+r+"|"+i+")",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",s={end:o,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:a+r},{begin:a+i}],contains:[{className:"attr",begin:a,endsParent:!0}],starts:s},{className:"attr",begin:a+t+"$"}]}}function Hpn(e){const t=["package","import","option","optional","required","repeated","group","oneof"],n=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],r={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:t,type:n,literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}function Upn(e){const t={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},n=e.COMMENT("#","$"),r="([A-Za-z_]|::)(\\w|::)*",i=e.inherit(e.TITLE_MODE,{begin:r}),o={className:"variable",begin:"\\$"+r},a={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[n,o,a,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[i,n]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:t,relevance:0,contains:[a,n,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},o]}],relevance:0}]}}function zpn(e){const t={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},n={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},t,n]}}function Vpn(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}function Gpn(e){const t=e.regex,n={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},r="[a-zA-Z_][a-zA-Z0-9\\._]*",i={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},o={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},a={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:r,returnEnd:!1}},s={begin:r+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:r,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},l={begin:t.concat(r,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:r})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:n,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},o,i,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},a,s,l],illegal:/#/}}function Wpn(e){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},e.inherit(e.APOS_STRING_MODE,{scope:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}function qpn(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},e.COMMENT("^#","$"),s,l,a,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[s,l,a,{className:"literal",begin:"\\b("+i.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+r.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+o.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}function Qpn(e){const t=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],n=["matrix","float","color","point","normal","vector"],r=["while","for","if","do","return","else","break","extern","continue"],i={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:r,built_in:t,type:n},illegal:"",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,o,l,s,e.C_NUMBER_MODE,c,u,...d,f,n]}}function ehn(e){const t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(-|\\+)?\\d+([./]\\d+)?",r=n+"[+\\-]"+n+"i",i={$pattern:t,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},o={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},a={className:"number",variants:[{begin:n,relevance:0},{begin:r,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},s=e.QUOTE_STRING_MODE,l=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],c={begin:t,relevance:0},u={className:"symbol",begin:"'"+t},d={endsWithParent:!0,relevance:0},f={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",o,s,a,c,u]}]},h={className:"name",relevance:0,begin:t,keywords:i},m={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[h,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[c]}]},h,d]};return d.contains=[o,a,s,c,u,f,m].concat(l),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),a,s,u,f,m].concat(l)}}function thn(e){const t=[e.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}function nhn(e){const t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],n=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],r=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+r.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: + ${(s=this.options.languages)==null?void 0:s.map(c=>`
${c.name}
`).join("")}`,l.addEventListener("click",c=>{const u=c.target.closest(".aie-codeblock-langs-item");if(u){const d=u.getAttribute("data-item");e.editor.chain().setCodeBlock({language:d}).run()}}),l},a=So(r.querySelector(".aie-codeblock-tools-lang"),{content:o(),appendTo:e.editor.options.element,placement:"bottom-end",trigger:"click",interactive:!0,arrow:!1,aria:{content:null,expanded:!1}});return(t=r.querySelector(".aie-codeblock-tools-comments"))==null||t.addEventListener("click",s=>{const l=e.editor.view.posAtCoords({left:s.clientX,top:s.clientY}),c=e.editor.state.doc.resolve(l.pos).parent;e.editor.chain().addCodeComments(c,l.pos)}),(n=r.querySelector(".aie-codeblock-tools-explain"))==null||n.addEventListener("click",s=>{const l=e.editor.view.posAtCoords({left:s.clientX,top:s.clientY}),c=e.editor.state.doc.resolve(l.pos).parent;e.editor.chain().addCodeExplain(c,l.pos)}),{dom:r,contentDOM:r.querySelector("code"),destroy:()=>{a.destroy()}}}}});function _dn(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",n="далее возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",r="загрузитьизфайла вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",i="разделительстраниц разделительстрок символтабуляции ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",o="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц отображениевремениэлементовпланировщика типфайлаформатированногодокумента обходрезультатазапроса типзаписизапроса видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов доступкфайлу режимдиалогавыборафайла режимоткрытияфайла типизмеренияпостроителязапроса видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",a="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",s="null истина ложь неопределено",l=e.inherit(e.NUMBER_MODE),c={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},u={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},d={match:/[;()+\-:=,]/,className:"punctuation",relevance:0},f=e.inherit(e.C_LINE_COMMENT_MODE),h={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:n+r},contains:[f]},m={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},g={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:s},contains:[l,c,u]},f]},e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:n,built_in:i,class:o,type:a,literal:s},contains:[h,g,f,m,l,c,u,d]}}function Sdn(e){const t=e.regex,n=/^[a-zA-Z][a-zA-Z0-9-]*/,r=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],i=e.COMMENT(/;/,/$/),o={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},a={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},s={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},l={scope:"symbol",match:/%[si](?=".*")/},c={scope:"attribute",match:t.concat(n,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:r,contains:[{scope:"operator",match:/=\/?/},c,i,o,a,s,l,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}function Edn(e){const t=e.regex,n=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t.concat(/"/,t.either(...n)),end:/"/,keywords:n,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}function Cdn(e){const t=e.regex,n=/[a-zA-Z_$][a-zA-Z0-9_$]*/,r=t.concat(n,t.concat("(\\.",n,")*")),i=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,o={className:"rest_arg",begin:/[.]{3}/,end:n,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o]},{begin:t.concat(/:\s*/,i)}]},e.METHOD_GUARD],illegal:/#/}}function wdn(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,r=t+"(\\."+t+")?("+n+")?",i="\\w+",o="\\b("+(t+"#"+i+"(\\."+i+")?#("+n+")?")+"|"+r+")",a="[A-Za-z](_?[A-Za-z0-9.])*",s=`[]\\{\\}%#'"`,l=e.COMMENT("--","$"),c={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:s,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:a,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[l,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:o,relevance:0},{className:"symbol",begin:"'"+a},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:s},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[l,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:s},c,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:s}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:s},c]}}function Tdn(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},n={className:"symbol",begin:"[a-zA-Z0-9_]+@"},r={className:"keyword",begin:"<",end:">",contains:[t,n]};return t.contains=[r],n.contains=[r],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,n,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}function xdn(e){const t={className:"number",begin:/[$%]\d+/},n={className:"number",begin:/\b\d+/},r={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},i={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[r,i,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{scope:"punctuation",match:/\\\n/},{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",t]},r,n,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}function Odn(e){const t=e.regex,n=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),r={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,n]},i=e.COMMENT(/--/,/$/),o=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",i]}),a=[i,o,e.HASH_COMMENT_MODE],s=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],l=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[n,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(...l),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(...s),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,r]},...a],illegal:/\/\/|->|=>|\[\[/}}function Rdn(e){const t=e.regex,n="[A-Za-z_][0-9A-Za-z_]*",r={keyword:["break","case","catch","continue","debugger","do","else","export","for","function","if","import","in","new","of","return","switch","try","var","void","while"],literal:["BackSlash","DoubleQuote","ForwardSlash","Infinity","NaN","NewLine","PI","SingleQuote","Tab","TextFormatting","false","null","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","ChangeTimeZone","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","ConvexHull","Cos","Count","Crosses","Cut","Date|0","DateAdd","DateDiff","DateOnly","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","DistanceToCoordinate","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureInFilter","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipClass","FeatureSetByRelationshipName","Filter","FilterBySubtypeCode","Find","First|0","Floor","FromCharCode","FromCodePoint","FromJSON","Front","GdbVersion","Generalize","Geometry","GetEnvironment","GetFeatureSet","GetFeatureSetInfo","GetUser","GroupBy","Guid","HasKey","HasValue","Hash","Hour","IIf","ISOMonth","ISOWeek","ISOWeekday","ISOYear","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","IsSelfIntersecting","IsSimple","KnowledgeGraphByPortalItem","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","MeasureToCoordinate","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NearestCoordinate","NearestVertex","NextSequenceValue","None","Now","Number","Offset","OrderBy","Overlaps","Point","PointToCoordinate","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","QueryGraph","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","StandardizeFilename","StandardizeGuid","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Time","TimeZone","TimeZoneOffset","Timestamp","ToCharCode","ToCodePoint","ToHex","ToLocal","ToUTC","Today","Top|0","Touches","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When|0","Within","Year|0"]},i=["aggregatedFeatures","analytic","config","datapoint","datastore","editcontext","feature","featureSet","feedfeature","fencefeature","fencenotificationtype","graph","join","layer","locationupdate","map","measure","measure","originalFeature","record","reference","rowindex","sourcedatastore","sourcefeature","sourcelayer","target","targetdatastore","targetfeature","targetlayer","userInput","value","variables","view"],o={className:"symbol",begin:"\\$"+t.either(...i)},a={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},s={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},l={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,s]};s.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,a,e.REGEXP_MODE];const c=s.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:r,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,a,{begin:/[{,]\s*/,relevance:0,contains:[{begin:n+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:n,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+n+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:n},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:c}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:n}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:c}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}function Idn(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}function Adn(e){const t=e.regex,n={begin:"^'{3,}[ \\t]*$",relevance:10},r=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],i=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],o=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],a={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},s={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},s,a,...r,...i,...o,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},n,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}function Ndn(e){const t=e.regex,n=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],r=["get","set","args","call"];return{name:"AspectJ",keywords:n,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:n.concat(r),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:n,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:n.concat(r),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:n,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:n,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}function Mdn(e){const t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}function kdn(e){const t="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",n=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],r="True False And Null Not Or Default",i="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",o={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},a={begin:"\\$[A-z0-9_]+"},s={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},l={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},c={className:"meta",begin:"#",end:"$",keywords:{keyword:n},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[s,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},s,o]},u={className:"symbol",begin:"@[A-z0-9_]+"},d={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[a,s,l]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:t,built_in:i,literal:r},contains:[o,a,s,l,c,u,d]}}function Pdn(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}function Ddn(e){const t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},n="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",r={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:n},contains:[t,r,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}function Ldn(e){const t=e.UNDERSCORE_IDENT_RE,n={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},r={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:n};return{name:"X++",aliases:["x++"],keywords:n,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},r]}}function $dn(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[{scope:"string",begin:/"/,end:/"|$/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}function Fdn(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}function Bdn(e){const t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[t]},t]}}function jdn(e){const t=e.regex,n=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],r="false true",i=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],o={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},a={className:"string",begin:/(#\d+)+/},s={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},l={className:"string",begin:'"',end:'"'},c={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:n,contains:[o,a,e.NUMBER_MODE]},...i]},u=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],d={match:[/OBJECT/,/\s+/,t.either(...u),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:n,literal:r},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},o,a,s,l,e.NUMBER_MODE,d,c]}}function Hdn(e){const t=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],n=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],r=["true","false"],i={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:t,type:n,literal:r},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},i]}}function Udn(e){const t=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],n=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],r=["doc","by","license","see","throws","tagged"],i={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},o=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[i]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return i.contains=o,{name:"Ceylon",keywords:{keyword:t.concat(n),meta:r},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(o)}}function zdn(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}function Vdn(e){const t="a-zA-Z_\\-!.?+*=<>&'",n="[#]?["+t+"]["+t+"0-9/;:$#]*",r="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",i={$pattern:n,built_in:r+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},o={begin:n,relevance:0},a={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},s={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},l={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),u={scope:"punctuation",match:/,/,relevance:0},d=e.COMMENT(";","$",{relevance:0}),f={className:"literal",begin:/\b(true|false|nil)\b/},h={begin:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},m={className:"symbol",begin:"[:]{1,2}"+n},g={begin:"\\(",end:"\\)"},v={endsWithParent:!0,relevance:0},y={keywords:i,className:"name",begin:n,relevance:0,starts:v},b=[u,g,s,l,c,d,m,h,a,f,o],_={beginKeywords:r,keywords:{$pattern:n,keyword:r},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,relevance:0,excludeEnd:!0,endsParent:!0}].concat(b)};return g.contains=[_,y,v],v.contains=b,h.contains=b,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[u,g,s,l,c,d,m,h,a,f]}}function Gdn(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}function Wdn(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}const qdn=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],Ydn=["true","false","null","undefined","NaN","Infinity"],Kdn=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Qdn=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Xdn=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Zdn=[].concat(Xdn,Kdn,Qdn);function Jdn(e){const t=["npm","print"],n=["yes","no","on","off"],r=["then","unless","until","loop","by","when","and","or","is","isnt","not"],i=["var","const","let","function","static"],o=m=>g=>!m.includes(g),a={keyword:qdn.concat(r).filter(o(i)),literal:Ydn.concat(n),built_in:Zdn.concat(t)},s="[A-Za-z$_][0-9A-Za-z$_]*",l={className:"subst",begin:/#\{/,end:/\}/,keywords:a},c=[e.BINARY_NUMBER_MODE,e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,l]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[l,e.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+s},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];l.contains=c;const u=e.inherit(e.TITLE_MODE,{begin:s}),d="(\\(.*\\)\\s*)?\\B[-=]>",f={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(c)}]},h={variants:[{match:[/class\s+/,s,/\s+extends\s+/,s]},{match:[/class\s+/,s]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:a};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:a,illegal:/\/\*/,contains:[...c,e.COMMENT("###","###"),e.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+s+"\\s*=\\s*"+d,end:"[-=]>",returnBegin:!0,contains:[u,f]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:d,end:"[-=]>",returnBegin:!0,contains:[f]}]},h,{begin:s+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}function efn(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}function tfn(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}function nfn(e){const t="primitive rsc_template",n="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\ number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:t,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+n.split(" ").join("|")+")\\s+",keywords:n,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}function rfn(e){const t="(_?[ui](8|16|32|64|128))?",n="(_?f(32|64))?",r="[a-zA-Z_]\\w*[!?=]?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",o="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",a={$pattern:r,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},s={className:"subst",begin:/#\{/,end:/\}/,keywords:a},l={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},c={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:a};function u(y,b){const _=[{begin:y,end:b}];return _[0].contains=_,_}const d={className:"string",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:u("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},f={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%q<",end:">",contains:u("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},h={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},m={className:"regexp",contains:[e.BACKSLASH_ESCAPE,s],variants:[{begin:"%r\\(",end:"\\)",contains:u("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:u("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:u(/\{/,/\}/)},{begin:"%r<",end:">",contains:u("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},g={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},v=[c,d,f,m,h,g,l,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:o})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[d,{begin:i}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+n+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return s.contains=v,c.contains=v.slice(1),{name:"Crystal",aliases:["cr"],keywords:a,contains:v}}function ifn(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}function ofn(e){const t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},n="(0|[1-9][\\d_]*)",r="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="0[bB][01_]+",o="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",a="0[xX]"+o,s="([eE][+-]?"+r+")",l="("+r+"(\\.\\d*|"+s+")|\\d+\\."+r+"|\\."+n+s+"?)",c="(0[xX]("+o+"\\."+o+"|\\.?"+o+")[pP][+-]?"+r+")",u="("+n+"|"+i+"|"+a+")",d="("+c+"|"+l+")",f=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,h={className:"number",begin:"\\b"+u+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},m={className:"number",begin:"\\b("+d+"([fF]|L|i|[fF]i|Li)?|"+u+"(i|[fF]i|Li))",relevance:0},g={className:"string",begin:"'("+f+"|.)",end:"'",illegal:"."},v={className:"string",begin:'"',contains:[{begin:f,relevance:0}],end:'"[cwd]?'},y={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},b={className:"string",begin:"`",end:"`[cwd]?"},_={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},E={className:"string",begin:'q"\\{',end:'\\}"'},C={className:"meta",begin:"^#!",end:"$",relevance:5},S={className:"meta",begin:"#(line)",end:"$",relevance:5},w={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},T=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,T,_,v,y,b,E,m,h,g,C,S,w]}}function afn(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},n={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},r={className:"number",relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},i={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,n]}]};n.contains=[r,i];const o=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],a=o.map(s=>`${s}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:o.concat(a).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},r,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}function sfn(e){const t=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"number",relevance:0,variants:[{match:/\b\d[\d_]*(\.\d[\d_]*)?/},{match:/\$[\dA-Fa-f_]+/},{match:/\$/,relevance:0},{match:/&[0-7][0-7_]*/},{match:/%[01_]+/},{match:/%/,relevance:0}]},a={className:"string",variants:[{match:/#\d[\d_]*/},{match:/#\$[\dA-Fa-f][\dA-Fa-f_]*/},{match:/#&[0-7][0-7_]*/},{match:/#%[01][01_]*/}]},s={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},l={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[i,a,r].concat(n)},r].concat(n)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,a,o,s,l,r].concat(n)}}function lfn(e){const t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}function cfn(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}function ufn(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},i={className:"variable",begin:/&[a-z\d_]*\b/},o={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},a={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},s={className:"params",relevance:0,begin:"<",end:">",contains:[n,i]},l={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},c={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},u={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},d={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},f={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[c,i,o,a,l,d,u,s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,t,r,f,{begin:e.IDENT_RE+"::",keywords:""}]}}function hfn(e){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}function mfn(e){const t=e.COMMENT(/\(\*/,/\*\)/),n={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},r={begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,n,r]}}function gfn(e){const t=e.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",i={$pattern:n,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},o={className:"subst",begin:/#\{/,end:/\}/,keywords:i},a={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},s={match:/\\[\s\S]/,scope:"char.escape",relevance:0},l=`[/|([{<"']`,c=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],u=b=>({scope:"char.escape",begin:t.concat(/\\/,b),relevance:0}),d={className:"string",begin:"~[a-z](?="+l+")",contains:c.map(b=>e.inherit(b,{contains:[u(b.end),s,o]}))},f={className:"string",begin:"~[A-Z](?="+l+")",contains:c.map(b=>e.inherit(b,{contains:[u(b.end)]}))},h={className:"regex",variants:[{begin:"~r(?="+l+")",contains:c.map(b=>e.inherit(b,{end:t.concat(b.end,/[uismxfU]{0,7}/),contains:[u(b.end),s,o]}))},{begin:"~R(?="+l+")",contains:c.map(b=>e.inherit(b,{end:t.concat(b.end,/[uismxfU]{0,7}/),contains:[u(b.end)]}))}]},m={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},g={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},v=e.inherit(g,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),y=[m,h,f,d,e.HASH_COMMENT_MODE,v,g,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[m,{begin:r}],relevance:0},{className:"symbol",begin:n+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},a,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return o.contains=y,{name:"Elixir",aliases:["ex","exs"],keywords:i,contains:y}}function vfn(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]},i={begin:/\{/,end:/\}/,contains:r.contains},o={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[n,r,i,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},o,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,n,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}function bfn(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}function yfn(e){const t="[a-z'][a-zA-Z0-9_']*",n="("+t+":"+t+"|"+t+")",r={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor maybe else",literal:"false true"},i=e.COMMENT("%","$"),o={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},a={begin:"fun\\s+"+t+"/\\d+"},s={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},l={begin:/\{/,end:/\}/,relevance:0},c={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},u={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},d={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},f={scope:"string",match:/\$(\\([^0-9]|[0-9]{1,3}|)|.)/},h={scope:"string",match:/"""("*)(?!")[\s\S]*?"""\1/},m={scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{match:/~\w?"""("*)(?!")[\s\S]*?"""\1/},{begin:/~\w?\(/,end:/\)/},{begin:/~\w?\[/,end:/\]/},{begin:/~\w?{/,end:/}/},{begin:/~\w?/},{begin:/~\w?\//,end:/\//},{begin:/~\w?\|/,end:/\|/},{begin:/~\w?'/,end:/'/},{begin:/~\w?"/,end:/"/},{begin:/~\w?`/,end:/`/},{begin:/~\w?#/,end:/#/}]},g={beginKeywords:"fun receive if try case maybe",end:"end",keywords:r};g.contains=[i,a,e.inherit(e.APOS_STRING_MODE,{className:""}),g,s,m,h,e.QUOTE_STRING_MODE,o,l,c,u,d,f];const v=[i,a,g,s,m,h,e.QUOTE_STRING_MODE,o,l,c,u,d,f];s.contains[1].contains=v,l.contains=v,d.contains[1].contains=v;const y=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-moduledoc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec","-on_load","-nifs"],b={className:"params",begin:"\\(",end:"\\)",contains:v};return{name:"Erlang",aliases:["erl"],keywords:r,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[b,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:r,contains:v}},i,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:y.map(_=>`${_}|1.5`).join(" ")},contains:[b,m,h,e.QUOTE_STRING_MODE]},o,m,h,e.QUOTE_STRING_MODE,d,c,u,l,f,{begin:/\.$/}]}}function _fn(e){const t=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}function Sfn(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ARRAYTOTEXT","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","BYCOL","BYROW","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CHOOSECOLS","CHOOSEROWS","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DROP","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPAND","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE","F.DIST","FDIST","F.DIST.RT","FILTER","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HSTACK","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGE","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISOMITTED","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LAMBDA","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LET","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MAKEARRAY","MAP","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDB","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDARRAY","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REDUCE","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SCAN","SEARCH","SEARCHB","SEC","SECH","SECOND","SEQUENCE","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SORT","SORTBY","SQRT","SQRTPI","SQL.REQUEST","STANDARDIZE","STOCKHISTORY","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TAKE","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTAFTER","TEXTBEFORE","TEXTJOIN","TEXTSPLIT","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TOCOL","TOROW","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UNIQUE","UPPER","VALUE","VALUETOTEXT","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","VSTACK","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","WRAPCOLS","WRAPROWS","XIRR","XLOOKUP","XMATCH","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}function Efn(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}function Cfn(e){const t={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},n={className:"string",variants:[{begin:'"',end:'"'}]},r={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,n,r,e.C_NUMBER_MODE]}}function wfn(e){const t=e.regex,n={className:"params",begin:"\\(",end:"\\)"},r={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},i=/(_[a-z_\d]+)?/,o=/([de][+-]?\d+)?/,a={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,o,i)},{begin:t.concat(/\b\d+/,o,i)},{begin:t.concat(/\.\d+/,o,i)}],relevance:0},s={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]},l={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{$pattern:/\b[a-z][a-z0-9_]+\b|\.[a-z][a-z0-9_]+\./,keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[l,s,{begin:/^C\s*=(?!=)/,relevance:0},r,a]}}function Tfn(e){return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function r5e(e){return e?typeof e=="string"?e:e.source:null}function oC(e){return Uu("(?=",e,")")}function Uu(...e){return e.map(t=>r5e(t)).join("")}function xfn(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function c1(...e){return"("+(xfn(e).capture?"":"?:")+e.map(t=>r5e(t)).join("|")+")"}function Ofn(e){const t=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],n={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},r=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],i=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],o=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],a=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],s={keyword:t,literal:i,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":o},l={variants:[e.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),e.C_LINE_COMMENT_MODE]},c=/[a-zA-Z_](\w|')*/,u={scope:"variable",begin:/``/,end:/``/},d=/\B('|\^)/,f={scope:"symbol",variants:[{match:Uu(d,/``.*?``/)},{match:Uu(d,e.UNDERSCORE_IDENT_RE)}],relevance:0},h=function({includeEqual:P}){let k;P?k="!%&*+-/<=>@^|~?":k="!%&*+-/<>@^|~?";const N=Array.from(k),L=Uu("[",...N.map(Tfn),"]"),V=c1(L,/\./),$=Uu(V,oC(V)),W=c1(Uu($,V,"*"),Uu(L,"+"));return{scope:"operator",match:c1(W,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},m=h({includeEqual:!0}),g=h({includeEqual:!1}),v=function(P,k){return{begin:Uu(P,oC(Uu(/\s*/,c1(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:k,end:oC(c1(/\n/,/=/)),relevance:0,keywords:e.inherit(s,{type:a}),contains:[l,f,e.inherit(u,{scope:null}),g]}},y=v(/:/,"operator"),b=v(/\bof\b/,"keyword"),_={begin:[/(^|\s+)/,/type/,/\s+/,c],beginScope:{2:"keyword",4:"title.class"},end:oC(/\(|=|$/),keywords:s,contains:[l,e.inherit(u,{scope:null}),f,{scope:"operator",match:/<|>/},y]},E={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},C={begin:[/^\s*/,Uu(/#/,c1(...r)),/\b/],beginScope:{2:"meta"},end:oC(/\s|$/)},S={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},w={scope:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},T={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},e.BACKSLASH_ESCAPE]},O={scope:"string",begin:/"""/,end:/"""/,relevance:2},x={scope:"subst",begin:/\{/,end:/\}/,keywords:s},A={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},e.BACKSLASH_ESCAPE,x]},I={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},e.BACKSLASH_ESCAPE,x]},M={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},x],relevance:2},B={scope:"string",match:Uu(/'/,c1(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return x.contains=[I,A,T,w,B,n,l,u,y,E,C,S,f,m],{name:"F#",aliases:["fs","f#"],keywords:s,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[n,{variants:[M,I,A,O,T,w,B]},l,u,_,{scope:"meta",begin:/\[\]/,relevance:2,contains:[u,O,T,w,B,S]},b,y,E,C,S,f,m]}}function Rfn(e){const t=e.regex,n={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},r={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},i={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},o={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},a={begin:"/",end:"/",keywords:n,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},s=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,l={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[o,a,{className:"comment",begin:t.concat(s,t.anyNumberOfTimes(t.concat(/[ ]+/,s))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:n,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,l]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[l]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},r,i]},e.C_NUMBER_MODE,i]}}function Ifn(e){const t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},n=e.COMMENT("@","@"),r={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n]},i={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},o=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,i]}],a={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},s=function(f,h,m){const g=e.inherit({className:"function",beginKeywords:f,end:h,excludeEnd:!0,contains:[].concat(o)},{});return g.contains.push(a),g.contains.push(e.C_NUMBER_MODE),g.contains.push(e.C_BLOCK_COMMENT_MODE),g.contains.push(n),g},l={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},c={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},u={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},l,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},d={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,l,u,c,"self"]};return u.contains.push(d),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,c,r,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},s("proc keyword",";"),s("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,n,d]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},u,i]}}function Afn(e){const t=e.regex,n={$pattern:/[A-Z]+|%/,keyword:["THEN","ELSE","ENDIF","IF","GOTO","DO","WHILE","WH","END","CALL","SUB","ENDSUB","EQ","NE","LT","GT","LE","GE","AND","OR","XOR","%"],built_in:["ATAN","ABS","ACOS","ASIN","COS","EXP","FIX","FUP","ROUND","LN","SIN","SQRT","TAN","EXISTS"]},r=/\b/;function i(h,m){if(h.index===0)return;const g=h.input[h.index-1];g>="0"&&g<="9"||g!=="_"&&m.ignoreMatch()}const o=/[+-]?((\.\d+)|(\d+)(\.\d*)?)/,a=/[GM]\s*\d+(\.\d+)?/,s=/T\s*\d+/,l=/O\s*\d+/,c=/O<.+>/,u=/[ABCUVWXYZ]\s*/,d=/[FHIJKPQRS]\s*/,f=[e.COMMENT(/\(/,/\)/),e.COMMENT(/;/,/$/),e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{scope:"title.function",variants:[{match:t.concat(r,a)},{begin:a,"on:begin":i},{match:t.concat(r,s)},{begin:s,"on:begin":i}]},{scope:"symbol",variants:[{match:t.concat(r,l)},{begin:l,"on:begin":i},{match:t.concat(r,c)},{begin:c,"on:begin":i},{match:/\*\s*\d+\s*$/}]},{scope:"operator",match:/^N\s*\d+/},{scope:"variable",match:/-?#\s*\d+/},{scope:"property",variants:[{match:t.concat(r,u,o)},{begin:t.concat(u,o),"on:begin":i}]},{scope:"params",variants:[{match:t.concat(r,d,o)},{begin:t.concat(d,o),"on:begin":i}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,disableAutodetect:!0,keywords:n,contains:f}}function Nfn(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}function Mfn(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}function kfn(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","new","not","or","repeat","return","static","switch","then","until","var","while","with","xor"],built_in:["abs","alarm_get","alarm_set","angle_difference","animcurve_channel_evaluate","animcurve_channel_new","animcurve_create","animcurve_destroy","animcurve_exists","animcurve_get","animcurve_get_channel","animcurve_get_channel_index","animcurve_point_new","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_all","array_any","array_concat","array_contains","array_contains_ext","array_copy","array_copy_while","array_create","array_create_ext","array_delete","array_equals","array_filter","array_filter_ext","array_find_index","array_first","array_foreach","array_get","array_get_index","array_insert","array_intersection","array_last","array_length","array_map","array_map_ext","array_pop","array_push","array_reduce","array_resize","array_reverse","array_reverse_ext","array_set","array_shuffle","array_shuffle_ext","array_sort","array_union","array_unique","array_unique_ext","asset_add_tags","asset_clear_tags","asset_get_ids","asset_get_index","asset_get_tags","asset_get_type","asset_has_any_tag","asset_has_tags","asset_remove_tags","audio_bus_clear_emitters","audio_bus_create","audio_bus_get_emitters","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_effect_create","audio_emitter_bus","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_bus","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_get_assets","audio_group_get_gain","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_pause_all","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_sound","audio_play_sound_at","audio_play_sound_ext","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_audio_group","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_loop","audio_sound_get_loop_end","audio_sound_get_loop_start","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_is_playable","audio_sound_length","audio_sound_loop","audio_sound_loop_end","audio_sound_loop_start","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_paused","audio_sync_group_is_playing","audio_system_is_available","audio_system_is_initialised","base64_decode","base64_encode","bool","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_compress","buffer_copy","buffer_copy_from_vertex_buffer","buffer_copy_stride","buffer_crc32","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_decompress","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_set_used_size","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","call_cancel","call_later","camera_apply","camera_copy_transforms","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","db_to_lin","dbg_add_font_glyphs","dbg_button","dbg_checkbox","dbg_color","dbg_colour","dbg_drop_down","dbg_same_line","dbg_section","dbg_section_delete","dbg_section_exists","dbg_slider","dbg_slider_int","dbg_sprite","dbg_text","dbg_text_input","dbg_view","dbg_view_delete","dbg_view_exists","dbg_watch","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_frequency","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_drawevent","draw_enable_skeleton_blendmodes","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_enable_skeleton_blendmodes","draw_get_font","draw_get_halign","draw_get_lighting","draw_get_swf_aa_level","draw_get_valign","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_circle_precision","draw_set_color","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_to_mp_grid","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_is_list","ds_list_is_map","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_is_list","ds_map_is_map","ds_map_keys_to_array","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_values_to_array","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","effect_create_depth","effect_create_layer","environment_get_variable","event_inherited","event_perform","event_perform_async","event_perform_object","event_user","exception_unhandled_handler","exp","extension_exists","extension_get_option_count","extension_get_option_names","extension_get_option_value","extension_get_options","extension_get_version","external_call","external_define","external_free","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_cache_glyph","font_delete","font_enable_effects","font_enable_sdf","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_info","font_get_italic","font_get_last","font_get_name","font_get_sdf_enabled","font_get_sdf_spread","font_get_size","font_get_texture","font_get_uvs","font_replace_sprite","font_replace_sprite_ext","font_sdf_spread","font_set_cache_size","frac","fx_create","fx_get_name","fx_get_parameter","fx_get_parameter_names","fx_get_parameters","fx_get_single_layer","fx_set_parameter","fx_set_parameters","fx_set_single_layer","game_change","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_get_guid","gamepad_get_mapping","gamepad_get_option","gamepad_hat_count","gamepad_hat_value","gamepad_is_connected","gamepad_is_supported","gamepad_remove_mapping","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_option","gamepad_set_vibration","gamepad_test_mapping","gc_collect","gc_enable","gc_get_stats","gc_get_target_frame_time","gc_is_enabled","gc_target_frame_time","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gif_add_surface","gif_open","gif_save","gif_save_buffer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_depth","gpu_get_fog","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_depth","gpu_set_fog","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","handle_parse","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_get_request_crossorigin","http_post_string","http_request","http_set_request_crossorigin","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","instanceof","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_callable","is_debug_overlay_open","is_handle","is_infinity","is_instanceof","is_int32","is_int64","is_keyboard_used_debug_overlay","is_method","is_mouse_over_debug_overlay","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","json_decode","json_encode","json_parse","json_stringify","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_clear_fx","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_enable_fx","layer_exists","layer_force_draw_depth","layer_fx_is_enabled","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_fx","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_sequence_angle","layer_sequence_create","layer_sequence_destroy","layer_sequence_exists","layer_sequence_get_angle","layer_sequence_get_headdir","layer_sequence_get_headpos","layer_sequence_get_instance","layer_sequence_get_length","layer_sequence_get_sequence","layer_sequence_get_speedscale","layer_sequence_get_x","layer_sequence_get_xscale","layer_sequence_get_y","layer_sequence_get_yscale","layer_sequence_headdir","layer_sequence_headpos","layer_sequence_is_finished","layer_sequence_is_paused","layer_sequence_pause","layer_sequence_play","layer_sequence_speedscale","layer_sequence_x","layer_sequence_xscale","layer_sequence_y","layer_sequence_yscale","layer_set_fx","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","lin_to_db","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","method","method_call","method_get_index","method_get_self","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_and_collide","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","nameof","network_connect","network_connect_async","network_connect_raw","network_connect_raw_async","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_check_permission","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","os_request_permission","os_set_orientation_lock","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_delay","part_emitter_destroy","part_emitter_destroy_all","part_emitter_enable","part_emitter_exists","part_emitter_interval","part_emitter_region","part_emitter_relative","part_emitter_stream","part_particles_burst","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_angle","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_color","part_system_colour","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_info","part_system_get_layer","part_system_global_space","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_size_x","part_type_size_y","part_type_speed","part_type_sprite","part_type_step","part_type_subimage","particle_exists","particle_get_info","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","ref_create","rollback_chat","rollback_create_game","rollback_define_extra_network_latency","rollback_define_input","rollback_define_input_frame_delay","rollback_define_mock_input","rollback_define_player","rollback_display_events","rollback_get_info","rollback_get_input","rollback_get_player_prefs","rollback_join_game","rollback_leave_game","rollback_set_player_prefs","rollback_start_game","rollback_sync_on_frame","rollback_use_late_join","rollback_use_manual_start","rollback_use_player_prefs","rollback_use_random_input","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_info","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_camera","room_set_height","room_set_persistent","room_set_view_enabled","room_set_viewport","room_set_width","round","scheduler_resolution_get","scheduler_resolution_set","screen_save","screen_save_part","script_execute","script_execute_ext","script_exists","script_get_name","sequence_create","sequence_destroy","sequence_exists","sequence_get","sequence_get_objects","sequence_instance_override_object","sequence_keyframe_new","sequence_keyframedata_new","sequence_track_new","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_f_buffer","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_message_ext","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_event_frames","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_get_position","skeleton_animation_is_finished","skeleton_animation_is_looping","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_animation_set_position","skeleton_attachment_create","skeleton_attachment_create_color","skeleton_attachment_create_colour","skeleton_attachment_destroy","skeleton_attachment_exists","skeleton_attachment_get","skeleton_attachment_replace","skeleton_attachment_replace_color","skeleton_attachment_replace_colour","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_list","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_find_slot","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_create","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_alpha_get","skeleton_slot_color_get","skeleton_slot_color_set","skeleton_slot_colour_get","skeleton_slot_colour_set","skeleton_slot_data","skeleton_slot_data_instance","skeleton_slot_list","sprite_add","sprite_add_ext","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_mode","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_info","sprite_get_name","sprite_get_nineslice","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_nineslice_create","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_bbox","sprite_set_bbox_mode","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_nineslice","sprite_set_offset","sprite_set_speed","sqr","sqrt","static_get","static_set","string","string_byte_at","string_byte_length","string_char_at","string_concat","string_concat_ext","string_copy","string_count","string_delete","string_digits","string_ends_with","string_ext","string_foreach","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_join","string_join_ext","string_last_pos","string_last_pos_ext","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_pos_ext","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_split","string_split_ext","string_starts_with","string_trim","string_trim_end","string_trim_start","string_upper","string_width","string_width_ext","struct_exists","struct_foreach","struct_get","struct_get_from_hash","struct_get_names","struct_names_count","struct_remove","struct_set","struct_set_from_hash","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_format_is_supported","surface_free","surface_get_depth_disable","surface_get_format","surface_get_height","surface_get_target","surface_get_target_ext","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tag_get_asset_ids","tag_get_assets","tan","texture_debug_messages","texture_flush","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_is_ready","texture_prefetch","texture_set_stage","texturegroup_get_fonts","texturegroup_get_names","texturegroup_get_sprites","texturegroup_get_status","texturegroup_get_textures","texturegroup_get_tilesets","texturegroup_load","texturegroup_set_mode","texturegroup_unload","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_height","tilemap_set_mask","tilemap_set_width","tilemap_tileset","tilemap_x","tilemap_y","tileset_get_info","tileset_get_name","tileset_get_texture","tileset_get_uvs","time_bpm_to_seconds","time_seconds_to_bpm","time_source_create","time_source_destroy","time_source_exists","time_source_get_children","time_source_get_parent","time_source_get_period","time_source_get_reps_completed","time_source_get_reps_remaining","time_source_get_state","time_source_get_time_remaining","time_source_get_units","time_source_pause","time_source_reconfigure","time_source_reset","time_source_resume","time_source_start","time_source_stop","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","uwp_device_touchscreen_available","uwp_livetile_badge_clear","uwp_livetile_badge_notification","uwp_livetile_notification_begin","uwp_livetile_notification_end","uwp_livetile_notification_expiry","uwp_livetile_notification_image_add","uwp_livetile_notification_secondary_begin","uwp_livetile_notification_tag","uwp_livetile_notification_template_add","uwp_livetile_notification_text_add","uwp_livetile_queue_enable","uwp_livetile_tile_clear","uwp_secondarytile_badge_clear","uwp_secondarytile_badge_notification","uwp_secondarytile_delete","uwp_secondarytile_pin","uwp_secondarytile_tile_clear","variable_clone","variable_get_hash","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_names_count","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_format_get_info","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_submit_ext","vertex_texcoord","vertex_ubyte4","vertex_update_buffer_from_buffer","vertex_update_buffer_from_vertex","video_close","video_draw","video_enable_loop","video_get_duration","video_get_format","video_get_position","video_get_status","video_get_volume","video_is_looping","video_open","video_pause","video_resume","video_seek_to","video_set_volume","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","wallpaper_set_config","wallpaper_set_subscriptions","weak_ref_alive","weak_ref_any_alive","weak_ref_create","window_center","window_device","window_enable_borderless_fullscreen","window_get_borderless_fullscreen","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_showborder","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_delta_x","window_mouse_get_delta_y","window_mouse_get_locked","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_mouse_set_locked","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_showborder","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_tile_background_color","winphone_tile_background_colour","zip_add_file","zip_create","zip_save","zip_unzip","zip_unzip_async"],symbol:["AudioEffect","AudioEffectType","AudioLFOType","GM_build_date","GM_build_type","GM_is_sandboxed","GM_project_filename","GM_runtime_version","GM_version","NaN","_GMFILE_","_GMFUNCTION_","_GMLINE_","alignmentH","alignmentV","all","animcurvetype_bezier","animcurvetype_catmullrom","animcurvetype_linear","asset_animationcurve","asset_font","asset_object","asset_path","asset_room","asset_script","asset_sequence","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3D","audio_bus_main","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_exponent_distance_scaled","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_inverse_distance_scaled","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_stereo","bboxkind_diamond","bboxkind_ellipse","bboxkind_precise","bboxkind_rectangular","bboxmode_automatic","bboxmode_fullimage","bboxmode_manual","bm_add","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_grow","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","c_aqua","c_black","c_blue","c_dkgray","c_dkgrey","c_fuchsia","c_gray","c_green","c_grey","c_lime","c_ltgray","c_ltgrey","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cache_directory","characterSpacing","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","coreColor","coreColour","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","dropShadowEnabled","dropShadowEnabled","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","effectsEnabled","effectsEnabled","ev_alarm","ev_animation_end","ev_animation_event","ev_animation_update","ev_async_audio_playback","ev_async_audio_playback_ended","ev_async_audio_recording","ev_async_dialog","ev_async_push_notification","ev_async_save_load","ev_async_save_load","ev_async_social","ev_async_system_event","ev_async_web","ev_async_web_cloud","ev_async_web_iap","ev_async_web_image_load","ev_async_web_networking","ev_async_web_steam","ev_audio_playback","ev_audio_playback_ended","ev_audio_recording","ev_boundary","ev_boundary_view0","ev_boundary_view1","ev_boundary_view2","ev_boundary_view3","ev_boundary_view4","ev_boundary_view5","ev_boundary_view6","ev_boundary_view7","ev_broadcast_message","ev_cleanup","ev_collision","ev_create","ev_destroy","ev_dialog_async","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_normal","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_outside_view0","ev_outside_view1","ev_outside_view2","ev_outside_view3","ev_outside_view4","ev_outside_view5","ev_outside_view6","ev_outside_view7","ev_pre_create","ev_push_notification","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_social","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_system_event","ev_trigger","ev_user0","ev_user1","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_web_async","ev_web_cloud","ev_web_iap","ev_web_image_load","ev_web_networking","ev_web_sound_load","ev_web_steam","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_none","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","false","frameSizeX","frameSizeY","gamespeed_fps","gamespeed_microseconds","global","glowColor","glowColour","glowEnabled","glowEnabled","glowEnd","glowStart","gp_axis_acceleration_x","gp_axis_acceleration_y","gp_axis_acceleration_z","gp_axis_angular_velocity_x","gp_axis_angular_velocity_y","gp_axis_angular_velocity_z","gp_axis_orientation_w","gp_axis_orientation_x","gp_axis_orientation_y","gp_axis_orientation_z","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","infinity","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sequence","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","lineSpacing","m_axisx","m_axisx_gui","m_axisy","m_axisy_gui","m_scroll_down","m_scroll_up","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mb_side1","mb_side2","mip_markedonly","mip_off","mip_on","network_config_avoid_time_wait","network_config_connect_timeout","network_config_disable_multicast","network_config_disable_reliable_udp","network_config_enable_multicast","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_config_websocket_protocol","network_connect_active","network_connect_blocking","network_connect_nonblocking","network_connect_none","network_connect_passive","network_send_binary","network_send_text","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_socket_ws","network_socket_wss","network_type_connect","network_type_data","network_type_disconnect","network_type_down","network_type_non_blocking_connect","network_type_up","network_type_up_failed","nineslice_blank","nineslice_bottom","nineslice_center","nineslice_centre","nineslice_hide","nineslice_left","nineslice_mirror","nineslice_repeat","nineslice_right","nineslice_stretch","nineslice_top","noone","of_challenge_lose","of_challenge_tie","of_challenge_win","os_android","os_gdk","os_gxgames","os_ios","os_linux","os_macosx","os_operagx","os_permission_denied","os_permission_denied_dont_request","os_permission_granted","os_ps3","os_ps4","os_ps5","os_psvita","os_switch","os_tvos","os_unknown","os_uwp","os_win8native","os_windows","os_winphone","os_xboxone","os_xboxseriesxs","other","outlineColor","outlineColour","outlineDist","outlineEnabled","outlineEnabled","paragraphSpacing","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pointer_invalid","pointer_null","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_mode_burst","ps_mode_stream","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","rollback_chat_message","rollback_connect_error","rollback_connect_info","rollback_connected_to_peer","rollback_connection_rejected","rollback_disconnected_from_peer","rollback_end_game","rollback_game_full","rollback_game_info","rollback_game_interrupted","rollback_game_resumed","rollback_high_latency","rollback_player_prefs","rollback_protocol_rejected","rollback_synchronized_with_peer","rollback_synchronizing_with_peer","self","seqaudiokey_loop","seqaudiokey_oneshot","seqdir_left","seqdir_right","seqinterpolation_assign","seqinterpolation_lerp","seqplay_loop","seqplay_oneshot","seqplay_pingpong","seqtextkey_bottom","seqtextkey_center","seqtextkey_justify","seqtextkey_left","seqtextkey_middle","seqtextkey_right","seqtextkey_top","seqtracktype_audio","seqtracktype_bool","seqtracktype_clipmask","seqtracktype_clipmask_mask","seqtracktype_clipmask_subject","seqtracktype_color","seqtracktype_colour","seqtracktype_empty","seqtracktype_graphic","seqtracktype_group","seqtracktype_instance","seqtracktype_message","seqtracktype_moment","seqtracktype_particlesystem","seqtracktype_real","seqtracktype_sequence","seqtracktype_spriteframes","seqtracktype_string","seqtracktype_text","shadowColor","shadowColour","shadowOffsetX","shadowOffsetY","shadowSoftness","sprite_add_ext_error_cancelled","sprite_add_ext_error_decompressfailed","sprite_add_ext_error_loadfailed","sprite_add_ext_error_setupfailed","sprite_add_ext_error_spritenotfound","sprite_add_ext_error_unknown","spritespeed_framespergameframe","spritespeed_framespersecond","surface_r16float","surface_r32float","surface_r8unorm","surface_rg8unorm","surface_rgba16float","surface_rgba32float","surface_rgba4unorm","surface_rgba8unorm","texturegroup_status_fetched","texturegroup_status_loaded","texturegroup_status_loading","texturegroup_status_unloaded","tf_anisotropic","tf_linear","tf_point","thickness","tile_flip","tile_index_mask","tile_mirror","tile_rotate","time_source_expire_after","time_source_expire_nearest","time_source_game","time_source_global","time_source_state_active","time_source_state_initial","time_source_state_paused","time_source_state_stopped","time_source_units_frames","time_source_units_seconds","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","tm_systemtiming","true","ty_real","ty_string","undefined","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","video_format_rgba","video_format_yuv","video_status_closed","video_status_paused","video_status_playing","video_status_preparing","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f10","vk_f11","vk_f12","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up","wallpaper_config","wallpaper_subscription_data","wrap"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","colour?ColourTrack","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","drawn_by_sequence","event_action","event_data","event_number","event_object","event_type","font_texture_page_size","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gravity","gravity_direction","health","hspeed","iap_data","id","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","in_collision_tree","in_sequence","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","longMessage","managed","mask_index","message","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","player_avatar_sprite","player_avatar_url","player_id","player_local","player_type","player_user_id","program_directory","rollback_api_server","rollback_confirmed_frame","rollback_current_frame","rollback_event_id","rollback_event_param","rollback_game_running","room","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","script","sequence_instance","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","stacktrace","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_camera","view_current","view_enabled","view_hport","view_surface_id","view_visible","view_wport","view_xport","view_yport","visible","vspeed","webgl_enabled","working_directory","x","xprevious","xstart","y","yprevious","ystart"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}function Pfn(e){return{name:"Golo",keywords:{keyword:["println","readln","print","import","module","function","local","return","let","var","while","for","foreach","times","in","case","when","match","with","break","continue","augment","augmentation","each","find","filter","reduce","if","then","else","otherwise","try","catch","finally","raise","throw","orIfNull","DynamicObject|10","DynamicVariable","struct","Observable","map","set","vector","list","array"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}function Dfn(e){return{name:"Gradle",case_insensitive:!0,keywords:["task","project","allprojects","subprojects","artifacts","buildscript","configurations","dependencies","repositories","sourceSets","description","delete","from","into","include","exclude","source","classpath","destinationDir","includes","options","sourceCompatibility","targetCompatibility","group","flatDir","doLast","doFirst","flatten","todir","fromdir","ant","def","abstract","break","case","catch","continue","default","do","else","extends","final","finally","for","if","implements","instanceof","native","new","private","protected","public","return","static","switch","synchronized","throw","throws","transient","try","volatile","while","strictfp","package","import","false","null","super","this","true","antlrtask","checkstyle","codenarc","copy","boolean","byte","char","class","double","float","int","interface","long","short","void","compile","runTime","file","fileTree","abs","any","append","asList","asWritable","call","collect","compareTo","count","div","dump","each","eachByte","eachFile","eachLine","every","find","findAll","flatten","getAt","getErr","getIn","getOut","getText","grep","immutable","inject","inspect","intersect","invokeMethods","isCase","join","leftShift","minus","multiply","newInputStream","newOutputStream","newPrintWriter","newReader","newWriter","next","plus","pop","power","previous","print","println","push","putAt","read","readBytes","readLines","reverse","reverseEach","round","size","sort","splitEachLine","step","subMap","times","toInteger","toList","tokenize","upto","waitForOrKill","withPrintWriter","withReader","withStream","withWriter","withWriterAppend","write","writeLine"],contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.REGEXP_MODE]}}function e7(e,t={}){return t.variants=e,t}function Lfn(e){const t=e.regex,n="[A-Za-z0-9_$]+",r=e7([e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),i={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[e.BACKSLASH_ESCAPE]},o=e7([e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]),a=e7([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE],{className:"string"}),s={match:[/(class|interface|trait|enum|record|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"Groovy",keywords:{"variable.language":"this super",literal:"true false null",type:["byte","short","char","int","long","boolean","float","double","void"],keyword:["def","as","in","assert","trait","abstract","static","volatile","transient","public","private","protected","synchronized","final","class","interface","enum","if","else","for","while","switch","case","break","default","continue","throw","throws","try","catch","finally","implements","extends","new","import","package","return","instanceof","var"]},contains:[e.SHEBANG({binary:"groovy",relevance:10}),r,a,i,o,s,{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:n+"[ ]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[r,a,i,o,"self"]},{className:"symbol",begin:"^[ ]*"+t.lookahead(n+":"),excludeBegin:!0,end:n+":",relevance:0}],illegal:/#|<\//}}function $fn(e){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},e.COMMENT("^\\s*(!=#|=#|-#|/).*$",null,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",end:/$/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}function Ffn(e){const t=e.regex,n={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},r={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},i=/""|"[^"]+"/,o=/''|'[^']+'/,a=/\[\]|\[[^\]]+\]/,s=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,l=/(\.|\/)/,c=t.either(i,o,a,s),u=t.concat(t.optional(/\.|\.\/|\//),c,t.anyNumberOfTimes(t.concat(l,c))),d=t.concat("(",a,"|",s,")(?==)"),f={begin:u},h=e.inherit(f,{keywords:r}),m={begin:/\(/,end:/\)/},g={className:"attr",begin:d,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,h,m]}}},v={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},y={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,v,g,h,m],returnEnd:!0},b=e.inherit(f,{className:"name",keywords:n,starts:e.inherit(y,{end:/\)/})});m.contains=[b];const _=e.inherit(f,{keywords:n,className:"name",starts:e.inherit(y,{end:/\}\}/})}),E=e.inherit(f,{keywords:n,className:"name"}),C=e.inherit(f,{className:"name",keywords:n,starts:e.inherit(y,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[_],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[E]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[_]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[E]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[C]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[C]}]}}function Bfn(e){const t="([0-9]_*)+",n="([0-9a-fA-F]_*)+",r="([01]_*)+",i="([0-7]_*)+",o="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",a={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},s={className:"meta",begin:/\{-#/,end:/#-\}/},l={className:"meta",begin:"^#",end:"$"},c={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},u={begin:"\\(",end:"\\)",illegal:'"',contains:[s,l,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),a]},d={begin:/\{/,end:/\}/,contains:u.contains},f={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${n})(\\.(${n}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](${i})\\b`},{match:`\\b0[bB](${r})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[u,a],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[u,a],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[c,u,a]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[s,c,u,d,a]},{beginKeywords:"default",end:"$",contains:[c,u,a]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,a]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[c,e.QUOTE_STRING_MODE,a]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},s,l,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,f,c,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${o}--+|--+(?!-)${o}`},a,{begin:"->|<-"}]}}function jfn(e){const t="[a-zA-Z_$][a-zA-Z0-9_$]*",n=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:n,relevance:0},{className:"variable",begin:"\\$"+t},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",beginKeywords:"new",end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}}function Hfn(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}function Ufn(e){const t=e.regex,n="HTTP/([32]|1\\.[01])",r=/[A-Za-z][A-Za-z0-9-]*/,i={className:"attribute",begin:t.concat("^",r,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},o=[i,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+n+" \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},{begin:"(?=^[A-Z]+ (.*?) "+n+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},e.inherit(i,{relevance:0})]}}function zfn(e){const t="a-zA-Z_\\-!.?+*=<>&#'",n="["+t+"]["+t+"0-9/;:]*",r={$pattern:n,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},i="[-+]?\\d+(\\.\\d+)?",o={begin:n,relevance:0},a={className:"number",begin:i,relevance:0},s=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l=e.COMMENT(";","$",{relevance:0}),c={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},u={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},d={className:"comment",begin:"\\^"+n},f=e.COMMENT("\\^\\{","\\}"),h={className:"symbol",begin:"[:]{1,2}"+n},m={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0},v={className:"name",relevance:0,keywords:r,begin:n,starts:g},y=[m,s,d,f,l,h,u,a,c,o];return m.contains=[e.COMMENT("comment",""),v,g],g.contains=y,u.contains=y,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),m,s,d,f,l,h,u,a,c]}}function Vfn(e){const t="\\[",n="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:t,end:n}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:t,end:n,contains:["self"]}]}}function Gfn(e){const t=e.regex,n={className:"params",begin:"\\(",end:"\\)"},r=/(_[a-z_\d]+)?/,i=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,i,r)},{begin:t.concat(/\b\d+/,i,r)},{begin:t.concat(/\.\d+/,i,r)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),o]}}function Wfn(e){const t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",n="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",r="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",i="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE smHidden smMaximized smMinimized smNormal wmNo wmYes COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID RESULT_VAR_NAME RESULT_VAR_NAME_ENG AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ISBL_SYNTAX NO_SYNTAX XML_SYNTAX WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",o="atUser atGroup atRole aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty apBegin apEnd alLeft alRight asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways cirCommon cirRevoked ctSignature ctEncode ctSignatureEncode clbUnchecked clbChecked clbGrayed ceISB ceAlways ceNever ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob cfInternal cfDisplay ciUnspecified ciWrite ciRead ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton cctDate cctInteger cctNumeric cctPick cctReference cctString cctText cltInternal cltPrimary cltGUI dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange dssEdit dssInsert dssBrowse dssInActive dftDate dftShortDate dftDateTime dftTimeStamp dotDays dotHours dotMinutes dotSeconds dtkndLocal dtkndUTC arNone arView arEdit arFull ddaView ddaEdit emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ecotFile ecotProcess eaGet eaCopy eaCreate eaCreateStandardRoute edltAll edltNothing edltQuery essmText essmCard esvtLast esvtLastActive esvtSpecified edsfExecutive edsfArchive edstSQLServer edstFile edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile vsDefault vsDesign vsActive vsObsolete etNone etCertificate etPassword etCertificatePassword ecException ecWarning ecInformation estAll estApprovingOnly evtLast evtLastActive evtQuery fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch grhAuto grhX1 grhX2 grhX3 hltText hltRTF hltHTML iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG im8bGrayscale im24bRGB im1bMonochrome itBMP itJPEG itWMF itPNG ikhInformation ikhWarning ikhError ikhNoIcon icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler isShow isHide isByUserSettings jkJob jkNotice jkControlJob jtInner jtLeft jtRight jtFull jtCross lbpAbove lbpBelow lbpLeft lbpRight eltPerConnection eltPerUser sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac sfsItalic sfsStrikeout sfsNormal ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom vtEqual vtGreaterOrEqual vtLessOrEqual vtRange rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth rdWindow rdFile rdPrinter rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument reOnChange reOnChangeValues ttGlobal ttLocal ttUser ttSystem ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal smSelect smLike smCard stNone stAuthenticating stApproving sctString sctStream sstAnsiSort sstNaturalSort svtEqual svtContain soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown tarAbortByUser tarAbortByWorkflowException tvtAllWords tvtExactPhrase tvtAnyWord usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected btAnd btDetailAnd btOr btNotOr btOnly vmView vmSelect vmNavigation vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection wfatPrevious wfatNext wfatCancel wfatFinish wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 wfetQueryParameter wfetText wfetDelimiter wfetLabel wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal waAll waPerformers waManual wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection wiLow wiNormal wiHigh wrtSoft wrtHard wsInit wsRunning wsDone wsControlled wsAborted wsContinued wtmFull wtmFromCurrent wtmOnlyCurrent ",a="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",s="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",l="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",c=i+o,u=s,d="null true false nil ",f={className:"number",begin:e.NUMBER_RE,relevance:0},h={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},m={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},g={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,m]},v={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,m]},y={variants:[g,v]},b={$pattern:t,keyword:r,built_in:c,class:u,literal:d},_={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:b,relevance:0},E={className:"type",begin:":[ \\t]*("+l.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},C={className:"variable",keywords:b,begin:t,relevance:0,contains:[E,_]},S=n+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:b,illegal:"\\$|\\?|%|,|;$|~|#|@|/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}function Qfn(e){const t="[a-zA-Z_][\\w.]*",n="<\\?(lasso(script)?|=)",r="\\]|\\?>",i={$pattern:t+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},o=e.COMMENT("",{relevance:0}),a={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[o]}},s={className:"meta",begin:"\\[/noprocess|"+n},l={className:"symbol",begin:"'"+t+"'"},c=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[l]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[o]}},a,s,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[o]}},a,s].concat(c)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(c)}}function Xfn(e){const t=e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(O=>O+"(?![a-zA-Z@:_])")),n=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(O=>O+"(?![a-zA-Z:_])").join("|")),r=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],i=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],o={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:t},{endsParent:!0,begin:n},{endsParent:!0,variants:i},{endsParent:!0,relevance:0,variants:r}]},a={className:"params",relevance:0,begin:/#+\d?/},s={variants:i},l={className:"built_in",relevance:0,begin:/[$&^_]/},c={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},u=e.COMMENT("%","$",{relevance:0}),d=[o,a,s,l,c,u],f={begin:/\{/,end:/\}/,relevance:0,contains:["self",...d]},h=e.inherit(f,{relevance:0,endsParent:!0,contains:[f,...d]}),m={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[f,...d]},g={begin:/\s+/,relevance:0},v=[h],y=[m],b=function(O,x){return{contains:[g],starts:{relevance:0,contains:O,starts:x}}},_=function(O,x){return{begin:"\\\\"+O+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+O},relevance:0,contains:[g],starts:x}},E=function(O,x){return e.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+O+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},b(v,x))},C=(O="string")=>e.END_SAME_AS_BEGIN({className:O,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),S=function(O){return{className:"string",end:"(?=\\\\end\\{"+O+"\\})"}},w=(O="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:O,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),T=[...["verb","lstinline"].map(O=>_(O,{contains:[C()]})),_("mint",b(v,{contains:[C()]})),_("mintinline",b(v,{contains:[w(),C()]})),_("url",{contains:[w("link"),w("link")]}),_("hyperref",{contains:[w("link")]}),_("href",b(y,{contains:[w("link")]})),...[].concat(...["","\\*"].map(O=>[E("verbatim"+O,S("verbatim"+O)),E("filecontents"+O,b(v,S("filecontents"+O))),...["","B","L"].map(x=>E(x+"Verbatim"+O,b(y,S(x+"Verbatim"+O))))])),E("minted",b(y,b(v,S("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...T,...d]}}function Zfn(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}function Jfn(e){const t=/([A-Za-z_][A-Za-z_0-9]*)?/,n={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},r={match:[t,/(?=\()/],scope:{1:"keyword"},contains:[n]};return n.contains.unshift(r),{name:"Leaf",contains:[{match:[/#+/,t,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[n]},{match:[/#+/,t,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}function epn(e){const t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",n="\\|[^]*?\\|",r="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},o={className:"number",variants:[{begin:r,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+r+" +"+r,end:"\\)"}]},a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),l={begin:"\\*",end:"\\*"},c={className:"symbol",begin:"[:&]"+t},u={begin:t,relevance:0},d={begin:n},f={contains:[o,a,l,c,{begin:"\\(",end:"\\)",contains:["self",i,a,o,u]},u],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+n}]},h={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},m={begin:"\\(\\s*",end:"\\)"},g={endsWithParent:!0,relevance:0};return m.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:n}]},g],g.contains=[f,h,m,i,o,a,s,l,c,d,u],{name:"Lisp",illegal:/\S/,contains:[o,e.SHEBANG(),i,a,s,f,h,m,u]}}function tpn(e){const t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},n=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],r=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,r],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r].concat(n),illegal:";$|^\\[|^=|&|\\{"}}const npn=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],rpn=["true","false","null","undefined","NaN","Infinity"],ipn=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],opn=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],apn=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],spn=[].concat(apn,ipn,opn);function lpn(e){const t=["npm","print"],n=["yes","no","on","off","it","that","void"],r=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],i={keyword:npn.concat(r),literal:rpn.concat(n),built_in:spn.concat(t)},o="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",a=e.inherit(e.TITLE_MODE,{begin:o}),s={className:"subst",begin:/#\{/,end:/\}/,keywords:i},l={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:i},c=[e.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,s,l]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,l]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[s,e.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+o},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];s.contains=c;const u={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(c)}]},d={begin:"(#=>|=>|\\|>>|-?->|!->)"},f={variants:[{match:[/class\s+/,o,/\s+extends\s+/,o]},{match:[/class\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i};return{name:"LiveScript",aliases:["ls"],keywords:i,illegal:/\/\*/,contains:c.concat([e.COMMENT("\\/\\*","\\*\\/"),e.HASH_COMMENT_MODE,d,{className:"function",contains:[a,u],returnBegin:!0,variants:[{begin:"("+o+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+o+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+o+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},f,{begin:o+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}function cpn(e){const t=e.regex,n=/([-a-zA-Z$._][\w$.-]*)/,r={className:"type",begin:/\bi\d+(?=\s|\b)/},i={className:"operator",relevance:0,begin:/=/},o={className:"punctuation",relevance:0,begin:/,/},a={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},s={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},l={className:"variable",variants:[{begin:t.concat(/%/,n)},{begin:/%\d+/},{begin:/#\d+/}]},c={className:"title",variants:[{begin:t.concat(/@/,n)},{begin:/@\d+/},{begin:t.concat(/!/,n)},{begin:t.concat(/!\d+/,n)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:{keyword:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly",type:"void half bfloat float double fp128 x86_fp80 ppc_fp128 x86_amx x86_mmx ptr label token metadata opaque"},contains:[r,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},c,o,i,l,s,a]}}function upn(e){const t={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},n={className:"number",relevance:0,begin:e.C_NUMBER_RE},r={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},i={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[t,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},n,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},i,r,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}const dpn=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","AcousticAbsorbingValue","AcousticImpedanceValue","AcousticNormalVelocityValue","AcousticPDEComponent","AcousticPressureCondition","AcousticRadiationValue","AcousticSoundHardValue","AcousticSoundSoftCondition","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","Adjugate","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirSoundAttenuation","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowChatServices","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimatedImage","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","AnimationVideo","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","Antihermitian","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Application","Apply","ApplyReaction","ApplySides","ApplyTo","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ArgumentsOptions","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayPlot3D","ArrayQ","ArrayReduce","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssessmentFunction","AssessmentResultObject","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstroAngularSeparation","AstroBackground","AstroCenter","AstroDistance","AstroGraphics","AstroGridLines","AstroGridLinesStyle","AstronomicalData","AstroPosition","AstroProjection","AstroRange","AstroRangePadding","AstroReferenceFrame","AstroStyling","AstroZoomLevel","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticExpectation","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProbability","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomLabels","AtomLabelStyle","AtomList","AtomQ","AttachCell","AttachedCell","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTrackApply","AudioTrackSelection","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoOperatorRenderings","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","Axis3DBox","Axis3DBoxOptions","AxisBox","AxisBoxOptions","AxisLabel","AxisObject","AxisStyle","BabyMonsterGroupB","Back","BackFaceColor","BackFaceGlowColor","BackFaceOpacity","BackFaceSpecularColor","BackFaceSpecularExponent","BackFaceSurfaceAppearance","BackFaceTexture","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesagL","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","Beveled","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","BilateralLaplaceTransform","BilateralZTransform","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","BinnedVariogramList","Binomial","BinomialDistribution","BinomialPointProcess","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BioSequence","BioSequenceBackTranslateList","BioSequenceComplement","BioSequenceInstances","BioSequenceModify","BioSequencePlot","BioSequenceQ","BioSequenceReverseComplement","BioSequenceTranscribe","BioSequenceTranslate","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitRate","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockDiagonalMatrix","BlockLowerTriangularMatrix","BlockMap","BlockRandom","BlockUpperTriangularMatrix","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","Blurring","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondLabels","BondLabelStyle","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuckyballGraph","BuildCompiledComponent","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayFormatQ","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalizeRegion","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Canvas","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CaputoD","CardinalBSplineBasis","CarlemanLinearize","CarlsonRC","CarlsonRD","CarlsonRE","CarlsonRF","CarlsonRG","CarlsonRJ","CarlsonRK","CarlsonRM","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Cast","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyMatrix","CauchyPointProcess","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDingbatMargin","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellFrameStyle","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellInsertionPointCell","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellTrayPosition","CellTrayWidgets","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CenteredInterval","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","CheckArguments","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalConvert","ChemicalData","ChemicalFormula","ChemicalInstance","ChemicalReaction","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularArcThrough","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","ClickToCopy","ClickToCopyEnabled","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringMeasurements","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","CollinearPoints","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionBinning","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinatorB","CombinatorC","CombinatorI","CombinatorK","CombinatorS","CombinatorW","CombinatorY","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledComponent","CompiledExpressionDeclaration","CompiledFunction","CompiledLayer","CompilerCallback","CompilerEnvironment","CompilerEnvironmentAppend","CompilerEnvironmentAppendTo","CompilerEnvironmentObject","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteIntegral","CompleteKaryTree","CompletionsListPacket","Complex","ComplexArrayPlot","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","ConcaveHullMesh","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","Confirm","ConfirmAssert","ConfirmBy","ConfirmMatch","ConfirmQuiet","ConformationMethod","ConformAudio","ConformImages","Congruent","ConicGradientFilling","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegion3DBoxOptions","ConicHullRegionBox","ConicHullRegionBoxOptions","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnectSystemModelController","ConnesWindow","ConoverTest","ConservativeConvectionPDETerm","ConsoleMessage","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentDetectorFunction","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","ConvectionPDETerm","Convergents","ConversionOptions","ConversionRules","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexHullRegion","ConvexOptimization","ConvexPolygonQ","ConvexPolyhedronQ","ConvexRegionQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoplanarPoints","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyFunction","CopyTag","CopyToClipboard","CoreNilpotentDecomposition","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","CoulombF","CoulombG","CoulombH1","CoulombH2","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateCompilerEnvironment","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateLicenseEntitlement","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateTypeInstance","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CSGRegion","CSGRegionQ","CSGRegionTree","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","CuboidBoxOptions","Cumulant","CumulantGeneratingFunction","CumulativeFeatureImpactPlot","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylinderBoxOptions","CylindricalDecomposition","CylindricalDecompositionFunction","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinSubmit","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DatasetTheme","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateGranularity","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateScale","DateSelect","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareCompiledComponent","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","Default2DTool","Default3DTool","DefaultAttachedCellStyle","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDockedCellStyle","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAdjacentDuplicates","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteElements","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterAutoMatching","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivativePDETerm","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DiffusionPDETerm","DiggleGatesPointProcess","DiggleGrattonPointProcess","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","DirectionalLight","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteInputOutputModel","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskBoxOptions","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCell","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DominatorTreeGraph","DominatorVertexList","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DownValuesFunction","DragAndDrop","DrawBackFaces","DrawEdges","DrawFrontFaces","DrawHighlighted","DrazinInverse","Drop","DropoutLayer","DropShadowing","DSolve","DSolveChangeVariables","DSolveValue","Dt","DualLinearProgramming","DualPlanarGraph","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoEvaluation","EchoFunction","EchoLabel","EchoTiming","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeChromaticNumber","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeTransitiveGraphQ","EdgeValueRange","EdgeValueSizes","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddedSQLEntityClass","EmbeddedSQLExpression","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EmptySpaceF","EnableConsolePrintPacket","Enabled","Enclose","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedPointNormals","EstimatedPointProcess","EstimatedProcess","EstimatedVariogramModel","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","EvaluationPrivileges","EvaluationRateLimit","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedContexts","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionTree","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FaceRecognize","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureImpactPlot","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FeatureValueDependencyPlot","FeatureValueImpactPlot","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileFormatProperties","FileFormatQ","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FileNameToFormatList","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileSystemTree","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","FilledTorus","FillForm","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeColoring","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindIsomers","FindIsomorphicSubgraph","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPlanarColoring","FindPointProcessParameters","FindPostmanTour","FindProcessParameters","FindRegionTransform","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSubgraphIsomorphism","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexColoring","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","FlatShading","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlightData","FlipView","Floor","FlowPolynomial","Fold","FoldList","FoldPair","FoldPairList","FoldWhile","FoldWhileList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForAllType","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormProtectionMethod","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","ForwardCloudCredentials","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FoxH","FoxHReduce","FractionalBrownianMotionProcess","FractionalD","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameListVideo","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDateString","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRawPointer","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceGlowColor","FrontFaceOpacity","FrontFaceSpecularColor","FrontFaceSpecularExponent","FrontFaceSurfaceAppearance","FrontFaceTexture","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionAnalytic","FunctionBijective","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionContinuous","FunctionConvexity","FunctionDeclaration","FunctionDiscontinuities","FunctionDomain","FunctionExpand","FunctionInjective","FunctionInterpolation","FunctionLayer","FunctionMeromorphic","FunctionMonotonicity","FunctionPeriod","FunctionPoles","FunctionRange","FunctionSign","FunctionSingularities","FunctionSpace","FunctionSurjective","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedAssetFormat","GeneratedAssetLocation","GeneratedCell","GeneratedCellStyles","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundary","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBoundsRegionBoundary","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeodesicPolyhedron","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeoGraphPlot","GeoGraphValuePlot","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricStep","GeometricStylingRules","GeometricTest","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoOrientationData","GeoPath","GeoPolygon","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetContext","GetEnvironment","GetFileName","GetLinebreakInformationPacket","GibbsPointProcess","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","GouraudShading","Grad","Gradient","GradientFilter","GradientFittedMesh","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphJoin","GraphLayerLabels","GraphLayers","GraphLayerStyle","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphProduct","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphSum","GraphTree","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","GreekStyle","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GridVideo","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOpenerColor","GroupOpenerInsideFrame","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HardcorePointProcess","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","Headers","HeaderSize","HeaderStyle","Heads","HeatFluxValue","HeatInsulationValue","HeatOutflowValue","HeatRadiationValue","HeatSymmetryValue","HeatTemperatureCondition","HeatTransferPDEComponent","HeatTransferValue","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelmholtzPDEComponent","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","HelpViewerSettings","Here","HermiteDecomposition","HermiteH","Hermitian","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighlightString","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramPointDensity","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IfCompiled","IgnoreCase","IgnoreDiacritics","IgnoreIsotopes","IgnorePunctuation","IgnoreSpellCheck","IgnoreStereochemistry","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEditMode","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageStitch","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImageVectorscopePlot","ImageWaveformPlot","ImagingDevice","ImplicitD","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportedObject","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","InactiveStyle","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludedContexts","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularSolutions","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InertEvaluate","InertExpression","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfiniteLineThrough","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonPointProcess","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObject","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputPorts","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","IntegrateChangeVariables","Interactive","InteractiveTradingChart","InterfaceSwitched","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseBilateralLaplaceTransform","InverseBilateralZTransform","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsomorphicSubgraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiEpsilon","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JacobiZN","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelConfiguration","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LameC","LameCPrime","LameEigenvalueA","LameEigenvalueB","LameS","LameSPrime","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","LaplacianPDETerm","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayeredGraphPlot3D","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapVariant","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LexicographicOrder","LexicographicSort","LibraryDataType","LibraryFunction","LibraryFunctionDeclaration","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseEntitlementObject","LicenseEntitlements","LicenseID","LicensingSettings","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientFilling","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLinePlot3D","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListStreamPlot3D","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorDisplacementPlot","ListVectorDisplacementPlot3D","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LiteralType","LoadCompiledComponent","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalEvaluate","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrix","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapApply","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MassConcentrationCondition","MassFluxValue","MassImpermeableBoundaryValue","MassOutflowValue","MassSymmetryValue","MassTransferValue","MassTransportPDEComponent","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MaterialShading","MaternPointProcess","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDisplayedChildren","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanPointDensity","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","MIMETypeToFormatList","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinPointSeparation","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MissingValueSynthesis","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","ModelPredictiveController","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeAlign","MoleculeContainsQ","MoleculeDraw","MoleculeEquivalentQ","MoleculeFreeQ","MoleculeGraph","MoleculeMatchQ","MoleculeMaximumCommonSubstructure","MoleculeModify","MoleculeName","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeSubstructureCount","MoleculeValue","Moment","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","MultiaxisArrangement","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","MultiscriptBoxOptions","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NCaputoD","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborG","NearestNeighborGraph","NearestTo","NebulaData","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativelyOrientedPoints","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestTree","NestWhile","NestWhileList","NetAppend","NetArray","NetArrayLayer","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExternalObject","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetUnfold","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NeymanScottPointProcess","NFractionalD","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalScale","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookBrowseDirectory","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookGet","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookPath","NotebookPrint","NotebookPut","NotebookRead","Notebooks","NotebookSave","NotebookSelection","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSolveValues","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberDigit","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObjectExistsQ","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrdinalScale","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputPorts","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","OverlayVideo","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletSymbol","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairCorrelationG","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalettesMenuSettings","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelAxisPlot","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelKernels","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricConvexOptimization","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentEdgeLabel","ParentEdgeLabelFunction","ParentEdgeLabelStyle","ParentEdgeShapeFunction","ParentEdgeStyle","ParentEdgeStyleFunction","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternReaction","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PenttinenPointProcess","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMatrix","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentSymbol","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhongShading","PhysicalSystemData","Pi","Pick","PickedElements","PickMode","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderLayer","PlaceholderReplace","Plain","PlanarAngle","PlanarFaceList","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlaybackSettings","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointCountDistribution","PointDensity","PointDensityFunction","PointFigureChart","PointLegend","PointLight","PointProcessEstimator","PointProcessFitTest","PointProcessParameterAssumptions","PointProcessParameterQ","PointSize","PointStatisticFunction","PointValuePlot","PoissonConsulDistribution","PoissonDistribution","PoissonPDEComponent","PoissonPointProcess","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronBox","PolyhedronBoxOptions","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExpressionQ","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PolynomialSumOfSquaresList","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","PositionLargest","PositionSmallest","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositivelyOrientedPoints","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","PreferencesSettings","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","ProgressReporting","Projection","Prolog","PromptForm","ProofObject","PropagateAborts","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QuestionGenerator","QuestionInterface","QuestionObject","QuestionSelector","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","QuietEcho","Quit","Quotient","QuotientRemainder","RadialAxisPlot","RadialGradientFilling","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomArrayLayer","RandomChoice","RandomColor","RandomComplex","RandomDate","RandomEntity","RandomFunction","RandomGeneratorState","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPointConfiguration","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomTime","RandomTree","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalExpressionQ","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","ReactionBalance","ReactionBalancedQ","ReactionPDETerm","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecalibrationFunction","RecognitionPrior","RecognitionThreshold","ReconstructionMesh","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionCongruent","RegionConvert","RegionDifference","RegionDilation","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionErosion","RegionFillingStyle","RegionFit","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSimilar","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteBatchJobAbort","RemoteBatchJobObject","RemoteBatchJobs","RemoteBatchMapSubmit","RemoteBatchSubmissionEnvironment","RemoteBatchSubmit","RemoteConnect","RemoteConnectionObject","RemoteEvaluate","RemoteFile","RemoteInputFiles","RemoteKernelObject","RemoteProviderSettings","RemoteRun","RemoteRunProcess","RemovalConditions","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceAt","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetScheduledTask","ReshapeLayer","Residue","ResidueSum","ResizeLayer","Resolve","ResolveContextAliases","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnCreatesNewCell","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RipleyK","RipleyRassonRegion","RiskAchievementImportance","RiskReductionImportance","RobustConvexOptimization","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","RootTree","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","RulesTree","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameAs","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SecurityCertificate","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceIndicesLayer","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetFileDate","SetFileFormatProperties","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideShowVideo","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SmoothPointDensity","SnDispersion","Snippet","SnippetsVideo","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolarTime","SolidAngle","SolidBoundaryLoadValue","SolidData","SolidDisplacementCondition","SolidFixedCondition","SolidMechanicsPDEComponent","SolidMechanicsStrain","SolidMechanicsStress","SolidRegionQ","Solve","SolveAlways","SolveDelayed","SolveValues","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","SourcePDETerm","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SparseArrayQ","SpatialBinnedPointData","SpatialBoundaryCorrection","SpatialEstimate","SpatialEstimatorFunction","SpatialGraphDistribution","SpatialJ","SpatialMedian","SpatialNoiseLevel","SpatialObservationRegionQ","SpatialPointData","SpatialPointSelect","SpatialRandomnessTest","SpatialTransformationLayer","SpatialTrendFunction","Speak","SpeakerMatchQ","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","Sphere","SphereBox","SphereBoxOptions","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","SpotLight","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StraussHardcorePointProcess","StraussPointProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPlot3D","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","StrictInequalities","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFormatQ","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTakeDrop","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripStyleOnPaste","StripWrapperBoxes","StrokeForm","Struckthrough","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTrackSelection","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricDifference","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelMeasurements","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelControllerData","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxAlignment","TableViewBoxBackground","TableViewBoxHeaders","TableViewBoxItemSize","TableViewBoxItemStyle","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TerminatedEvaluation","TernaryListPlot","TernaryPlotCorners","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThomasPointProcess","ThompsonGroupTh","Thread","Threaded","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","TickDirection","TickLabelOrientation","TickLabelPositioning","TickLabels","TickLengths","TickPositions","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeSystem","TimeSystemConvert","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRawPointer","ToRules","Torus","TorusGraph","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","TourVideo","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackCellChangeTimes","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainImageContentDetector","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TrainTextContentDetector","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapEnterKey","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","Tree","TreeCases","TreeChildren","TreeCount","TreeData","TreeDelete","TreeDepth","TreeElementCoordinates","TreeElementLabel","TreeElementLabelFunction","TreeElementLabelStyle","TreeElementShape","TreeElementShapeFunction","TreeElementSize","TreeElementSizeFunction","TreeElementStyle","TreeElementStyleFunction","TreeExpression","TreeExtract","TreeFold","TreeForm","TreeGraph","TreeGraphQ","TreeInsert","TreeLayout","TreeLeafCount","TreeLeafQ","TreeLeaves","TreeLevel","TreeMap","TreeMapAt","TreeOutline","TreePlot","TreePosition","TreeQ","TreeReplacePart","TreeRules","TreeScan","TreeSelect","TreeSize","TreeTraversalOrder","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeDeclaration","TypeEvaluate","TypeHint","TypeOf","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UniqueElements","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","UnlabeledTree","UnmanageObject","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","Until","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrix","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseEmbeddedLibrary","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValenceFilling","ValidationLength","ValidationSet","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","VandermondeMatrix","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceGammaPointProcess","VarianceTest","VariogramFunction","VariogramModel","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorDisplacementPlot","VectorDisplacementPlot3D","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","VersionedPreferences","VertexAdd","VertexCapacity","VertexChromaticNumber","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInComponentGraph","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutComponentGraph","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexTransitiveGraphQ","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoCapture","VideoCombine","VideoDelete","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoGenerator","VideoInsert","VideoIntervals","VideoJoin","VideoMap","VideoMapList","VideoMapTimeSeries","VideoPadding","VideoPause","VideoPlay","VideoQ","VideoRecord","VideoReplace","VideoScreenCapture","VideoSplit","VideoStop","VideoStream","VideoStreams","VideoTimeStretch","VideoTrackSelection","VideoTranscode","VideoTransparency","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WavePDEComponent","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebColumn","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebItem","WebPageMetaInformation","WebRow","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WholeCellGroupOpener","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WithCleanup","WithLock","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframCloudSettings","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$CompilerEnvironment","$ConditionHold","$ConfiguredKernels","$Context","$ContextAliases","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CryptographicEllipticCurveNames","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultKernels","$DefaultLocalBase","$DefaultLocalKernel","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultRemoteBatchSubmissionEnvironment","$DefaultRemoteKernel","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeneratedAssetLocation","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxDisplayedChildren","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$ProgressReporting","$PublisherID","$RandomGeneratorState","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterCloudUserID","$RequesterCloudUserUUID","$RequesterWolframID","$RequesterWolframUUID","$ResourceSystemBase","$ResourceSystemPath","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TargetSystems","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function fpn(e){const t=e.regex,n=/([2-9]|[1-2]\d|[3][0-5])\^\^/,r=/(\w*\.\w+|\w+\.\w*|\w+)/,i=/(\d*\.\d+|\d+\.\d*|\d+)/,o=t.either(t.concat(n,r),i),a=/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,s=/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/,l=t.either(a,s),c=/\*\^[+-]?\d+/,u={className:"number",relevance:0,begin:t.concat(o,t.optional(l),t.optional(c))},d=/[a-zA-Z$][a-zA-Z0-9$]*/,f=new Set(dpn),h={variants:[{className:"builtin-symbol",begin:d,"on:begin":(E,C)=>{f.has(E[0])||C.ignoreMatch()}},{className:"symbol",relevance:0,begin:d}]},m={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},g={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},v={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},y={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},b={className:"brace",relevance:0,begin:/[[\](){}]/},_={className:"message-name",relevance:0,begin:t.concat("::",d)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[e.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),v,y,_,h,m,e.QUOTE_STRING_MODE,u,g,b]}}function ppn(e){const t="('|\\.')+",n={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:n},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}function hpn(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}function mpn(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},n,e.C_BLOCK_COMMENT_MODE,r,e.NUMBER_MODE,i,o,{begin:/:-/},{begin:/\.$/}]}}function vpn(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}function bpn(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}function ypn(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}function _pn(e){const t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},n={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},r={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),n,r,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}function Spn(e){const t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={className:"subst",begin:/#\{/,end:/\}/,keywords:t},i=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];r.contains=i;const o=e.inherit(e.TITLE_MODE,{begin:n}),a="(\\(.*\\)\\s*)?\\B[-=]>",s={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(i)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:i.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+n+"\\s*=\\s*"+a,end:"[-=]>",returnBegin:!0,contains:[o,s]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:a,end:"[-=]>",returnBegin:!0,contains:[s]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[o]},o]},{className:"name",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}function Epn(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}function Cpn(e){const t={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},n={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},r={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},i={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),i,r,t,n]}}function wpn(e){const t=e.regex,n={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},n]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:r.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],illegal:"[^\\s\\}\\{]"}}function Tpn(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","concept","const","continue","converter","defer","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}function xpn(e){const t=e.regex,n={keyword:["assert","else","if","in","inherit","let","or","rec","then","with"],literal:["true","false","null"],built_in:["abort","baseNameOf","builtins","derivation","derivationStrict","dirOf","fetchGit","fetchMercurial","fetchTarball","fetchTree","fromTOML","import","isNull","map","placeholder","removeAttrs","scopedImport","throw","toString"]},r={scope:"built_in",match:t.either(...["abort","add","addDrvOutputDependencies","addErrorContext","all","any","appendContext","attrNames","attrValues","baseNameOf","bitAnd","bitOr","bitXor","break","builtins","catAttrs","ceil","compareVersions","concatLists","concatMap","concatStringsSep","convertHash","currentSystem","currentTime","deepSeq","derivation","derivationStrict","dirOf","div","elem","elemAt","false","fetchGit","fetchMercurial","fetchTarball","fetchTree","fetchurl","filter","filterSource","findFile","flakeRefToString","floor","foldl'","fromJSON","fromTOML","functionArgs","genList","genericClosure","getAttr","getContext","getEnv","getFlake","groupBy","hasAttr","hasContext","hashFile","hashString","head","import","intersectAttrs","isAttrs","isBool","isFloat","isFunction","isInt","isList","isNull","isPath","isString","langVersion","length","lessThan","listToAttrs","map","mapAttrs","match","mul","nixPath","nixVersion","null","parseDrvName","parseFlakeRef","partition","path","pathExists","placeholder","readDir","readFile","readFileType","removeAttrs","replaceStrings","scopedImport","seq","sort","split","splitVersion","storeDir","storePath","stringLength","sub","substring","tail","throw","toFile","toJSON","toPath","toString","toXML","trace","traceVerbose","true","tryEval","typeOf","unsafeDiscardOutputDependency","unsafeDiscardStringContext","unsafeGetAttrPos","warn","zipAttrsWith"].map(S=>`builtins\\.${S}`)),relevance:10},i="[A-Za-z_][A-Za-z0-9_'-]*",o={scope:"symbol",match:new RegExp(`<${i}(/${i})*>`)},a="[A-Za-z0-9_\\+\\.-]+",s={scope:"symbol",match:new RegExp(`(\\.\\.|\\.|~)?/(${a})?(/${a})*(?=[\\s;])`)},l=t.either("==","=","\\+\\+","\\+","<=","<\\|","<",">=",">","->","//","/","!=","!","\\|\\|","\\|>","\\?","\\*","&&"),c={scope:"operator",match:t.concat(l,/(?!-)/),relevance:0},u={scope:"number",match:new RegExp(`${e.NUMBER_RE}(?!-)`),relevance:0},d={variants:[{scope:"operator",beforeMatch:/\s/,begin:/-(?!>)/},{begin:[new RegExp(`${e.NUMBER_RE}`),/-/,/(?!>)/],beginScope:{1:"number",2:"operator"}},{begin:[l,/-/,/(?!>)/],beginScope:{1:"operator",2:"operator"}}],relevance:0},f={beforeMatch:/(^|\{|;)\s*/,begin:new RegExp(`${i}(\\.${i})*\\s*=(?!=)`),returnBegin:!0,relevance:0,contains:[{scope:"attr",match:new RegExp(`${i}(\\.${i})*(?=\\s*=)`),relevance:.2}]},h={scope:"char.escape",match:/\\\$/},m={scope:"char.escape",match:/''\$/},g={scope:"subst",begin:/\$\{/,end:/\}/,keywords:n},v={scope:"char.escape",match:/'''/},y={scope:"char.escape",match:/\\(?!\$)./},b={scope:"string",variants:[{begin:"''",end:"''",contains:[m,g,v,y]},{begin:'"',end:'"',contains:[h,g,y]}]},_={scope:"params",match:new RegExp(`${i}\\s*:(?=\\s)`)},E=[u,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),r,b,o,s,_,f,d,c];g.contains=E;const C=[{scope:"meta.prompt",match:/^nix-repl>(?=\s)/,relevance:10},{scope:"meta",beforeMatch:/\s+/,begin:/:([a-z]+|\?)/}];return{name:"Nix",aliases:["nixos"],keywords:n,contains:E.concat(C)}}function Opn(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function Rpn(e){const t=e.regex,n=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],r=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],i=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],o={className:"variable.constant",begin:t.concat(/\$/,t.either(...n))},a={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},s={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},l={className:"variable",begin:/\$+\([\w^.:!-]+\)/},c={className:"params",begin:t.either(...r)},u={className:"keyword",begin:t.concat(/!/,t.either(...i))},d={className:"char.escape",begin:/\$(\\[nrt]|\$)/},f={className:"title.function",begin:/\w+::\w+/},h={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[d,o,a,s,l]},m=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],g=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],v={match:[/Function/,/\s+/,t.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},y={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:m,literal:g},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),y,v,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},h,u,a,s,l,c,f,e.NUMBER_MODE]}}function Ipn(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}function Apn(e){const t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"literal",begin:"false|true|PI|undef"},r={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),o={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},a={className:"params",begin:"\\(",end:"\\)",contains:["self",r,i,t,n]},s={begin:"[*!#%]",relevance:0},l={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[a,e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,o,i,t,s,l]}}function Npn(e){const t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},n=e.COMMENT(/\{/,/\}/,{relevance:0}),r=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},o={className:"string",begin:"(#\\d+)+"},a={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[i,o]},n,r]},s={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[n,r,e.C_LINE_COMMENT_MODE,i,o,e.NUMBER_MODE,a,s]}}function Mpn(e){const t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}function kpn(e){const t={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},n={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,t,n]}}function Ppn(e){const t=e.COMMENT("--","$"),n="[a-zA-Z_][a-zA-Z_0-9$]*",r="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",i="<<\\s*"+n+"\\s*>>",o="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",a="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",s="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",l="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",c=l.trim().split(" ").map(function(m){return m.split("|")[0]}).join("|"),u="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",d="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",f="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",h="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(m){return m.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:o+s+a,built_in:u+d+f},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+h+")\\s*\\("},{begin:"\\.("+c+")\\b"},{begin:"\\b("+c+")\\s+PATH\\b",keywords:{keyword:"PATH",type:l.replace("PATH ","")}},{className:"type",begin:"\\b("+c+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:r,end:r,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:i,relevance:10}]}}function Dpn(e){const t={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},n={className:"string",begin:'"""',end:'"""',relevance:10},r={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},i={className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE],relevance:0},o={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},a={begin:e.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:t,contains:[o,n,r,i,a,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}function Lpn(e){const t=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",r="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",i={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},o=/\w[\w\d]*((-)[\w\d]+)*/,a={begin:"`[\\s\\S]",relevance:0},s={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},l={className:"literal",begin:/\$(null|true|false)\b/},c={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,s,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},u={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},d={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},f=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[d]}),h={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},m={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},g={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[s]}]},v={begin:/using\s/,end:/$/,returnBegin:!0,contains:[c,u,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},y={variants:[{className:"operator",begin:"(".concat(r,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},b={className:"selector-tag",begin:/@\B/,relevance:0},_={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},e.inherit(e.TITLE_MODE,{endsParent:!0})]},E=[_,f,a,e.NUMBER_MODE,c,u,h,s,l,b],C={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",E,{begin:"("+t.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return _.contains.unshift(C),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:i,contains:E.concat(m,g,v,y,C)}}function $pn(e){const t=e.regex,n=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],r=e.IDENT_RE,i={variants:[{match:t.concat(t.either(...n),t.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:t.concat(/\b(?!for|if|while)/,r,t.lookahead(/\s*\(/)),className:"title.function"}]},o={match:[/new\s+/,r],className:{1:"keyword",2:"class.title"}},a={relevance:0,match:[/\./,r],className:{2:"property"}},s={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,r]},{match:[/class/,/\s+/,r]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},l=["boolean","byte","char","color","double","float","int","long","short"],c=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...n,...c],type:l},contains:[s,o,i,a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}function Fpn(e){return{name:"Python profiler",contains:[e.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}function Bpn(e){const t={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},n={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},r={begin:/\(/,end:/\)/,relevance:0},i={begin:/\[/,end:/\]/},o={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},a={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},s={className:"string",begin:/0'(\\'|.)/},l={className:"string",begin:/0'\\s/},c=[t,n,r,{begin:/:-/},i,o,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,a,s,l,e.C_NUMBER_MODE];return r.contains=c,i.contains=c,{name:"Prolog",contains:c.concat([{begin:/\.$/}])}}function jpn(e){const t="[ \\t\\f]*",n="[ \\t\\f]+",r=t+"[:=]"+t,i=n,o="("+r+"|"+i+")",a="([^\\\\:= \\t\\f\\n]|\\\\.)+",s={end:o,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:a+r},{begin:a+i}],contains:[{className:"attr",begin:a,endsParent:!0}],starts:s},{className:"attr",begin:a+t+"$"}]}}function Hpn(e){const t=["package","import","option","optional","required","repeated","group","oneof"],n=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],r={match:[/(message|enum|service)\s+/,e.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:t,type:n,literal:["true","false"]},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}function Upn(e){const t={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},n=e.COMMENT("#","$"),r="([A-Za-z_]|::)(\\w|::)*",i=e.inherit(e.TITLE_MODE,{begin:r}),o={className:"variable",begin:"\\$"+r},a={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[n,o,a,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[i,n]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:e.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:t,relevance:0,contains:[a,n,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:e.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},o]}],relevance:0}]}}function zpn(e){const t={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},n={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[e.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},e.UNDERSCORE_TITLE_MODE]},t,n]}}function Vpn(e){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}function Gpn(e){const t=e.regex,n={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},r="[a-zA-Z_][a-zA-Z0-9\\._]*",i={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},o={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},a={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:r,returnEnd:!1}},s={begin:r+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:r,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},l={begin:t.concat(r,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[e.inherit(e.TITLE_MODE,{begin:r})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:n,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},o,i,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+e.IDENT_RE,relevance:0},a,s,l],illegal:/#/}}function Wpn(e){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},e.inherit(e.APOS_STRING_MODE,{scope:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}function qpn(e){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},e.COMMENT("^#","$"),s,l,a,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[s,l,a,{className:"literal",begin:"\\b("+i.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+r.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+o.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}function Qpn(e){const t=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],n=["matrix","float","color","point","normal","vector"],r=["while","for","if","do","return","else","break","extern","continue"],i={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:r,built_in:t,type:n},illegal:"",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i,o,l,s,e.C_NUMBER_MODE,c,u,...d,f,n]}}function ehn(e){const t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(-|\\+)?\\d+([./]\\d+)?",r=n+"[+\\-]"+n+"i",i={$pattern:t,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},o={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},a={className:"number",variants:[{begin:n,relevance:0},{begin:r,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},s=e.QUOTE_STRING_MODE,l=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],c={begin:t,relevance:0},u={className:"symbol",begin:"'"+t},d={endsWithParent:!0,relevance:0},f={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",o,s,a,c,u]}]},h={className:"name",relevance:0,begin:t,keywords:i},m={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[h,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[c]}]},h,d]};return d.contains=[o,a,s,c,u,f,m].concat(l),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[e.SHEBANG(),a,s,u,f,m].concat(l)}}function thn(e){const t=[e.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}function nhn(e){const t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],n=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],r=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+r.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+t.join("|")+")\\s"},{begin:"\\s("+t.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+n.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: ]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}function rhn(e){const t="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},r={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:t+":",relevance:0},e.C_NUMBER_MODE,r,n,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,n,e.C_NUMBER_MODE,r]}]}}function ihn(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}function ohn(e){const t={className:"variable",begin:/\b_+[a-zA-Z]\w*/},n={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},r={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},i=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],o=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],a=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],s={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},e.inherit(r,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:i,built_in:a,literal:o},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,t,n,r,s],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}function ahn(e){const t=e.regex,n=["functions","model","data","parameters","quantities","transformed","generated"],r=["for","in","if","else","while","break","continue","return"],i=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],o=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],a=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],s=e.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),l={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},e.C_LINE_COMMENT_MODE]},c=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:e.IDENT_RE,title:n,type:i,keyword:r,built_in:o},contains:[e.C_LINE_COMMENT_MODE,l,e.HASH_COMMENT_MODE,s,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:t.concat(/[<,]\s*/,t.either(...c),/\s*=/),keywords:c},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,t.either(...a),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:a,begin:t.concat(/\w*/,t.either(...a),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,t.concat(t.either(...a),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+t.either(...a)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:t.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}function shn(e){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r ]*?"'`},{begin:`"[^\r "]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ ]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}function lhn(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}const chn=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),uhn=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],dhn=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],fhn=[...uhn,...dhn],phn=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),hhn=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),mhn=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),ghn=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function vhn(e){const t=chn(e),n="and or not only",r={className:"variable",begin:"\\$"+e.IDENT_RE},i=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],o="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+o,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+o,className:"selector-id"},{begin:"\\b("+fhn.join("|")+")"+o,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+hhn.join("|")+")"+o},{className:"selector-pseudo",begin:"&?:(:)?("+mhn.join("|")+")"+o},t.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:n,attribute:phn.join(" ")},contains:[t.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+i.join("|")+"))\\b"},r,t.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[t.HEXCOLOR,r,e.APOS_STRING_MODE,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE]}]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+ghn.join("|")+")\\b",starts:{end:/;|$/,contains:[t.HEXCOLOR,r,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,t.CSS_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},t.FUNCTION_DISPATCH]}}function bhn(e){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ (multipart)?`,end:`\\] -`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}function yhn(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}function _hn(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}function Shn(e){const t=e.regex,n=/[a-zA-Z_][a-zA-Z0-9_]*/,r={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t.concat(/\$/,t.optional(/::/),n,"(::",n,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[r]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},r]}}function Ehn(e){const t=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...t,"set","list","map"]},end:">",contains:["self"]}]}}function Chn(e){const t={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"symbol",begin:":[^\\]]+"},r={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,n]},i={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,n]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[r,i,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}function whn(e){const t=e.regex,n=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],r=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let i=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];i=i.concat(i.map(m=>`end${m}`));const o={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},a={scope:"number",match:/\d+/},s={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[o,a]},l={beginKeywords:n.join(" "),keywords:{name:n},relevance:0,contains:[s]},c={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:r}]},u=(m,{relevance:g})=>({beginScope:{1:"template-tag",3:"name"},relevance:g||2,endScope:"template-tag",begin:[/\{%/,/\s*/,t.either(...m)],end:/%\}/,keywords:"in",contains:[c,l,o,a]}),d=/[a-z_]+/,f=u(i,{relevance:2}),h=u([d],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),f,h,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",c,l,o,a]}]}}function Thn(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}function xhn(e){const t=e.regex,n=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],r=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],i={begin:t.concat(t.either(...n),"\\s*\\("),relevance:0,keywords:{built_in:n}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:r,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[i,e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}function Ohn(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}function Rhn(e){const t=e.regex,n={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},r=["__FILE__","__LINE__"],i=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:n,contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either(...r))},{scope:"meta",begin:t.concat(/`/,t.either(...i)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:i}]}}function Ihn(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,r=t+"(\\."+t+")?("+n+")?",i="\\w+",o="\\b("+(t+"#"+i+"(\\."+i+")?#("+n+")?")+"|"+r+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:o,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}function Ahn(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}function Nhn(e){const t=e.regex,n=/[a-zA-Z]\w*/,r=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],i=["true","false","null"],o=["this","super"],a=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],s=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],l={relevance:0,match:t.concat(/\b(?!(if|while|for|else|super)\b)/,n,/(?=\s*[({])/),className:"title.function"},c={match:t.concat(t.either(t.concat(/\b(?!(if|while|for|else|super)\b)/,n),t.either(...s)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:n}]}]}},u={variants:[{match:[/class\s+/,n,/\s+is\s+/,n]},{match:[/class\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r},d={relevance:0,match:t.either(...s),className:"operator"},f={className:"string",begin:/"""/,end:/"""/},h={className:"property",begin:t.concat(/\./,t.lookahead(n)),end:n,excludeBegin:!0,relevance:0},m={relevance:0,match:t.concat(/\b_/,n),scope:"variable"},g={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:a}},v=e.C_NUMBER_MODE,y={match:[n,/\s*/,/=/,/\s*/,/\(/,n,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},b=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),_={scope:"subst",begin:/%\(/,end:/\)/,contains:[v,g,l,m,d]},E={scope:"string",begin:/"/,end:/"/,contains:[_,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};_.contains.push(E);const C=[...r,...o,...i],S={relevance:0,match:t.concat("\\b(?!",C.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:r,"variable.language":o,literal:i},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:i},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},v,E,f,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g,u,y,c,l,d,m,h,S]}}function Mhn(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}function khn(e){const t=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],n=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],r=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],i={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:t,literal:["true","false","nil"],built_in:n.concat(r)},o={className:"string",begin:'"',end:'"',illegal:"\\n"},a={className:"string",begin:"'",end:"'",illegal:"\\n"},s={className:"string",begin:"<<",end:">>"},l={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},c={beginKeywords:"import",end:"$",keywords:i,contains:[o]},u={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:i}})]};return{name:"XL",aliases:["tao"],keywords:i,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,a,s,u,c,l,e.NUMBER_MODE]}}function Phn(e){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}function Dhn(e){const t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n=e.UNDERSCORE_TITLE_MODE,r={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},i="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",e.C_BLOCK_COMMENT_MODE,t,r]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},t,r]}}function Lhn(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",f=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],h=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],m=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],g=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],v={type:h,keyword:f,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:m},y={className:"function.dispatch",relevance:0,keywords:{_hint:g},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},b=[y,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],_={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:v,contains:b.concat([{begin:/\(/,end:/\)/,keywords:v,contains:b.concat(["self"]),relevance:0}]),relevance:0},E={className:"function",begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:v,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:v,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:v,illegal:"",keywords:v,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:v},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function $hn(e){const t={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},n=Lhn(e),r=n.keywords;return r.type=[...r.type,...t.type],r.literal=[...r.literal,...t.literal],r.built_in=[...r.built_in,...t.built_in],r._hints=t._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n}function Fhn(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);const l={match:/\\"/},c={className:"string",begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],h=e.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),m={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},g=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],v=["true","false"],y={match:/(\/[a-z._-]+)+/},b=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],_=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],E=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],C=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:g,literal:v,built_in:[...b,..._,"set","shopt",...E,...C]},contains:[h,e.SHEBANG(),m,d,o,a,y,s,l,c,u,n]}}function Bhn(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",f={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},h=[c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:f,contains:h.concat([{begin:/\(/,end:/\)/,keywords:f,contains:h.concat(["self"]),relevance:0}]),relevance:0},g={begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:f,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:f,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:f,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:f}}}function jhn(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",f=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],h=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],m=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],g=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],v={type:h,keyword:f,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:m},y={className:"function.dispatch",relevance:0,keywords:{_hint:g},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},b=[y,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],_={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:v,contains:b.concat([{begin:/\(/,end:/\)/,keywords:v,contains:b.concat(["self"]),relevance:0}]),relevance:0},E={className:"function",begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:v,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:v,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:v,illegal:"",keywords:v,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:v},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function Hhn(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],r=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],o=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],a={keyword:i.concat(o),built_in:t,literal:r},s=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},u={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},d=e.inherit(u,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:a},h=e.inherit(f,{illegal:/\n/}),m={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,h]},g={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},v=e.inherit(g,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},h]});f.contains=[g,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.C_BLOCK_COMMENT_MODE],h.contains=[v,m,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const y={variants:[c,g,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},b={begin:"<",end:">",contains:[{beginKeywords:"in out"},s]},_=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",E={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},y,l,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},s,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+_+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,b],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[y,l,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},E]}}const Uhn=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),zhn=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Vhn=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],Ghn=[...zhn,...Vhn],Whn=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),qhn=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Yhn=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Khn=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function Qhn(e){const t=e.regex,n=Uhn(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",o=/@-?\w[\w]*(-\w+)*/,a="[a-zA-Z-][a-zA-Z0-9_-]*",s=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+a,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+qhn.join("|")+")"},{begin:":(:)?("+Yhn.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Khn.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...s,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...s,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:o},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:Whn.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...s,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+Ghn.join("|")+")\\b"}]}}function Xhn(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function Zhn(e){const t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"iPe(e,t,n-1))}function tmn(e){const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",r=n+iPe("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),i={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},o={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},a={className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:i,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:i,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,rpe,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},rpe,o]}}const ipe="[A-Za-z$_][0-9A-Za-z$_]*",nmn=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],rmn=["true","false","null","undefined","NaN","Infinity"],oPe=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],aPe=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],sPe=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],imn=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],omn=[].concat(sPe,oPe,aPe);function amn(e){const t=e.regex,n=(N,{after:L})=>{const V="",end:""},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(N,L)=>{const V=N[0].length+N.index,$=N.input[V];if($==="<"||$===","){L.ignoreMatch();return}$===">"&&(n(N,{after:V})||L.ignoreMatch());let W;const j=N.input.substring(V);if(W=j.match(/^\s*=/)){L.ignoreMatch();return}if((W=j.match(/^\s+extends\s+/))&&W.index===0){L.ignoreMatch();return}}},s={$pattern:ipe,keyword:nmn,literal:rmn,built_in:omn,"variable.language":imn},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},f={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},h={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"xml"}},m={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"css"}},g={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"graphql"}},v={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},y={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},b=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,g,v,{match:/\$\d+/},d];f.contains=b.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(b)});const _=[].concat(y,f.contains),E=_.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(_)}]),C={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},w={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...oPe,...aPe]}},T={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},O={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[C],illegal:/%/},x={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function A(N){return t.concat("(?!",N.join("|"),")")}const I={match:t.concat(/\b/,A([...sPe,"super","import"].map(N=>`${N}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},M={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},B={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},C]},P="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",k={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[C]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:w},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),T,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,g,v,y,{match:/\$\d+/},d,w,{scope:"attr",match:r+t.lookahead(":"),relevance:0},k,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,e.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},O,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[C,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},M,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[C]},I,x,S,B,{match:/\$[(.]/}]}}function smn(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],i={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var Pb="[0-9](_*[0-9])*",xI=`\\.(${Pb})`,OI="[0-9a-fA-F](_*[0-9a-fA-F])*",lmn={className:"number",variants:[{begin:`(\\b(${Pb})((${xI})|\\.)?|(${xI}))[eE][+-]?(${Pb})[fFdD]?\\b`},{begin:`\\b(${Pb})((${xI})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${xI})[fFdD]?\\b`},{begin:`\\b(${Pb})[fFdD]\\b`},{begin:`\\b0[xX]((${OI})\\.?|(${OI})?\\.(${OI}))[pP][+-]?(${Pb})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${OI})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function cmn(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},r={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},i={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},o={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},a={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[o,i]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,o,i]}]};i.contains.push(a);const s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(a,{className:"string"}),"self"]}]},c=lmn,u=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},f=d;return f.variants[1].contains=[d],d.variants[1].contains=[f],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,u,n,r,s,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,l,a,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,l]},a,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},c]}}const umn=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),dmn=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],fmn=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],pmn=[...dmn,...fmn],hmn=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),lPe=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),cPe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),mmn=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),gmn=lPe.concat(cPe).sort().reverse();function vmn(e){const t=umn(e),n=gmn,r="and or not only",i="[\\w-]+",o="("+i+"|@\\{"+i+"\\})",a=[],s=[],l=function(_){return{className:"string",begin:"~?"+_+".*?"+_}},c=function(_,E,C){return{className:_,begin:E,relevance:C}},u={$pattern:/[a-z-]+/,keyword:r,attribute:hmn.join(" ")},d={begin:"\\(",end:"\\)",contains:s,keywords:u,relevance:0};s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l("'"),l('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,d,c("variable","@@?"+i,10),c("variable","@\\{"+i+"\\}"),c("built_in","~?`[^`]*?`"),{className:"attribute",begin:i+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const f=s.concat({begin:/\{/,end:/\}/,contains:a}),h={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(s)},m={begin:o+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+mmn.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:s}}]},g={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:u,returnEnd:!0,contains:s,relevance:0}},v={className:"variable",variants:[{begin:"@"+i+"\\s*:",relevance:15},{begin:"@"+i}],starts:{end:"[;}]",returnEnd:!0,contains:f}},y={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:o,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,c("keyword","all\\b"),c("variable","@\\{"+i+"\\}"),{begin:"\\b("+pmn.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,c("selector-tag",o,0),c("selector-id","#"+o),c("selector-class","\\."+o,0),c("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+lPe.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+cPe.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:f},{begin:"!important"},t.FUNCTION_DISPATCH]},b={begin:i+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[y]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g,v,b,m,y,h,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}function bmn(e){const t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}}function ymn(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%",subLanguage:"xml",relevance:0},r={begin:"^[-\\*]{3,}",end:"$"},i={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},o={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},s=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,s,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},d=e.inherit(c,{contains:[]}),f=e.inherit(u,{contains:[]});c.contains.push(f),u.contains.push(d);let h=[n,l];return[c,u,d,f].forEach(m=>{m.contains=m.contains.concat(h)}),h=h.concat(c,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:h},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:h}]}]},n,o,c,u,{className:"quote",begin:"^>\\s+",contains:h,end:"$"},i,r,l,a,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function Smn(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,r={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},i={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:r,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+i.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:i,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function Emn(e){const t=e.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},a={begin:/->\{/,end:/\}/},s={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},l={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},c={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,o,l],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(g,v,y="\\1")=>{const b=y==="\\1"?y:t.concat(y,v);return t.concat(t.concat("(?:",g,")"),v,/(?:\\.|[^\\\/])*?/,b,/(?:\\.|[^\\\/])*?/,y,r)},h=(g,v,y)=>t.concat(t.concat("(?:",g,")"),v,/(?:\\.|[^\\\/])*?/,y,r),m=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:u,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},c,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:f("s|tr|y",t.either(...d,{capture:!0}))},{begin:f("s|tr|y","\\(","\\)")},{begin:f("s|tr|y","\\[","\\]")},{begin:f("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:h("(?:m|qr)?",/\//,/\//)},{begin:h("m|qr",t.either(...d,{capture:!0}),/\1/)},{begin:h("m|qr",/\(/,/\)/)},{begin:h("m|qr",/\[/,/\]/)},{begin:h("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,c]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return o.contains=m,a.contains=m,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:m}}function Cmn(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),o=t.concat(/[A-Z]+/,n),a={scope:"variable",match:"\\$+"+r},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(M,B)=>{B.data._beginMatch=M[1]||M[2]},"on:end":(M,B)=>{B.data._beginMatch!==M[1]&&B.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),h=`[ -]`,m={scope:"string",variants:[u,c,d,f]},g={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},v=["false","null","true"],y=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],b=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],_={keyword:y,literal:(M=>{const B=[];return M.forEach(P=>{B.push(P),P.toLowerCase()===P?B.push(P.toUpperCase()):B.push(P.toLowerCase())}),B})(v),built_in:b},E=M=>M.map(B=>B.replace(/\|\d+$/,"")),C={variants:[{match:[/new/,t.concat(h,"+"),t.concat("(?!",E(b).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},S=t.concat(r,"\\b(?!\\()"),w={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},T={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},O={relevance:0,begin:/\(/,end:/\)/,keywords:_,contains:[T,a,w,e.C_BLOCK_COMMENT_MODE,m,g,C]},x={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",E(y).join("\\b|"),"|",E(b).join("\\b|"),"\\b)"),r,t.concat(h,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[O]};O.contains.push(x);const A=[T,w,e.C_BLOCK_COMMENT_MODE,m,g,C],I={begin:t.concat(/#\[\s*\\?/,t.either(i,o)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:v,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:v,keyword:["new","array"]},contains:["self",...A]},...A,{scope:"meta",variants:[{match:i},{match:o}]}]};return{case_insensitive:!1,keywords:_,contains:[I,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},a,x,w,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},C,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:_,contains:["self",I,a,w,e.C_BLOCK_COMMENT_MODE,m,g]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},m,g]}}function wmn(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function Tmn(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function xmn(e){const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},o={className:"meta",begin:/^(>>>|\.\.\.) /},a={className:"subst",begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o,s,a]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,a]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${r.join("|")}`,f={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${c})[jJ](?=${d})`}]},h={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:["self",o,f,l,e.HASH_COMMENT_MODE]}]};return a.contains=[l,f,o],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[o,f,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,h,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,m,l]}]}}function Omn(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function Rmn(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[o,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function Imn(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},a={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[a]}),e.COMMENT("^=begin","^=end",{contains:[a],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:o},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[1-9](_?[0-9])*|0",f="[0-9](_?[0-9])*",h={className:"number",relevance:0,variants:[{begin:`\\b(${d})(\\.(${f}))?([eE][+-]?(${f})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},m={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},g=[u,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:o},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[m]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},h,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l);c.contains=g,m.contains=g;const v=[{begin:/^\s*=>/,starts:{end:"$",contains:g}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:o,contains:g}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(v).concat(l).concat(g)}}function Amn(e){const t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),o={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},a="([ui](8|16|32|64|128|size)|f(32|64))?",s=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],l=["true","false","Some","None","Ok","Err"],c=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],u=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:u,keyword:s,literal:l,built_in:c},illegal:""},o]}}const Nmn=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Mmn=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],kmn=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],Pmn=[...Mmn,...kmn],Dmn=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Lmn=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),$mn=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Fmn=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function Bmn(e){const t=Nmn(e),n=$mn,r=Lmn,i="@[a-z-]+",o="and or not only",a={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Pmn.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},a,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Fmn.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,a,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:o,attribute:Dmn.join(" ")},contains:[{begin:i,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},a,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function jmn(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function Hmn(e){const t=e.regex,n=e.COMMENT("--","$"),r={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},o=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],s=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],l=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],u=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],d=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],f=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],h=u,m=[...c,...l].filter(C=>!u.includes(C)),g={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},v={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},y={match:t.concat(/\b/,t.either(...h),/\s*\(/),relevance:0,keywords:{built_in:h}};function b(C){return t.concat(/\b/,t.either(...C.map(S=>S.replace(/\s+/,"\\s+"))),/\b/)}const _={scope:"keyword",match:b(f),relevance:0};function E(C,{exceptions:S,when:w}={}){const T=w;return S=S||[],C.map(O=>O.match(/\|\d+$/)||S.includes(O)?O:T(O)?`${O}|0`:O)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:E(m,{when:C=>C.length<3}),literal:o,type:s,built_in:d},contains:[{scope:"type",match:b(a)},_,y,g,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,v]}}function uPe(e){return e?typeof e=="string"?e:e.source:null}function aC(e){return ki("(?=",e,")")}function ki(...e){return e.map(t=>uPe(t)).join("")}function Umn(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Us(...e){return"("+(Umn(e).capture?"":"?:")+e.map(t=>uPe(t)).join("|")+")"}const KX=e=>ki(/\b/,e,/\w$/.test(e)?/\b/:/\B/),zmn=["Protocol","Type"].map(KX),ope=["init","self"].map(KX),Vmn=["Any","Self"],t7=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],ape=["false","nil","true"],Gmn=["assignment","associativity","higherThan","left","lowerThan","none","right"],Wmn=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],spe=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],dPe=Us(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),fPe=Us(dPe,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),n7=ki(dPe,fPe,"*"),pPe=Us(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),k4=Us(pPe,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),ef=ki(pPe,k4,"*"),RI=ki(/[A-Z]/,k4,"*"),qmn=["attached","autoclosure",ki(/convention\(/,Us("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",ki(/objc\(/,ef,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],Ymn=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function Kmn(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,Us(...zmn,...ope)],className:{2:"keyword"}},o={match:ki(/\./,Us(...t7)),relevance:0},a=t7.filter(ue=>typeof ue=="string").concat(["_|0"]),s=t7.filter(ue=>typeof ue!="string").concat(Vmn).map(KX),l={variants:[{className:"keyword",match:Us(...s,...ope)}]},c={$pattern:Us(/\b\w+/,/#\w+/),keyword:a.concat(Wmn),literal:ape},u=[i,o,l],d={match:ki(/\./,Us(...spe)),relevance:0},f={className:"built_in",match:ki(/\b/,Us(...spe),/(?=\()/)},h=[d,f],m={match:/->/,relevance:0},g={className:"operator",relevance:0,variants:[{match:n7},{match:`\\.(\\.|${fPe})+`}]},v=[m,g],y="([0-9]_*)+",b="([0-9a-fA-F]_*)+",_={className:"number",relevance:0,variants:[{match:`\\b(${y})(\\.(${y}))?([eE][+-]?(${y}))?\\b`},{match:`\\b0x(${b})(\\.(${b}))?([pP][+-]?(${y}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},E=(ue="")=>({className:"subst",variants:[{match:ki(/\\/,ue,/[0\\tnr"']/)},{match:ki(/\\/,ue,/u\{[0-9a-fA-F]{1,8}\}/)}]}),C=(ue="")=>({className:"subst",match:ki(/\\/,ue,/[\t ]*(?:[\r\n]|\r\n)/)}),S=(ue="")=>({className:"subst",label:"interpol",begin:ki(/\\/,ue,/\(/),end:/\)/}),w=(ue="")=>({begin:ki(ue,/"""/),end:ki(/"""/,ue),contains:[E(ue),C(ue),S(ue)]}),T=(ue="")=>({begin:ki(ue,/"/),end:ki(/"/,ue),contains:[E(ue),S(ue)]}),O={className:"string",variants:[w(),w("#"),w("##"),w("###"),T(),T("#"),T("##"),T("###")]},x=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],A={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:x},I=ue=>{const ge=ki(ue,/\//),Ce=ki(/\//,ue);return{begin:ge,end:Ce,contains:[...x,{scope:"comment",begin:`#(?!.*${Ce})`,end:/$/}]}},M={scope:"regexp",variants:[I("###"),I("##"),I("#"),A]},B={match:ki(/`/,ef,/`/)},P={className:"variable",match:/\$\d+/},k={className:"variable",match:`\\$${k4}+`},N=[B,P,k],L={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Ymn,contains:[...v,_,O]}]}},V={scope:"keyword",match:ki(/@/,Us(...qmn),aC(Us(/\(/,/\s+/)))},$={scope:"meta",match:ki(/@/,ef)},W=[L,V,$],j={match:aC(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:ki(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,k4,"+")},{className:"type",match:RI,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:ki(/\s+&\s+/,aC(RI)),relevance:0}]},U={begin://,keywords:c,contains:[...r,...u,...W,m,j]};j.contains.push(U);const Z={match:ki(ef,/\s*:/),keywords:"_|0",relevance:0},te={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:["self",Z,...r,M,...u,...h,...v,_,O,...N,...W,j]},ae={begin://,keywords:"repeat each",contains:[...r,j]},K={begin:Us(aC(ki(ef,/\s*:/)),aC(ki(ef,/\s+/,ef,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:ef}]},Q={begin:/\(/,end:/\)/,keywords:c,contains:[K,...r,...u,...v,_,O,...W,j,te],endsParent:!0,illegal:/["']/},ie={match:[/(func|macro)/,/\s+/,Us(B.match,ef,n7)],className:{1:"keyword",3:"title.function"},contains:[ae,Q,t],illegal:[/\[/,/%/]},he={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ae,Q,t],illegal:/\[|%/},pe={match:[/operator/,/\s+/,n7],className:{1:"keyword",3:"title"}},le={begin:[/precedencegroup/,/\s+/,RI],className:{1:"keyword",3:"title"},contains:[j],keywords:[...Gmn,...ape],end:/}/},de={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},ve={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},ne={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,ef,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:c,contains:[ae,...u,{begin:/:/,end:/\{/,keywords:c,contains:[{scope:"title.class.inherited",match:RI},...u],relevance:0}]};for(const ue of O.variants){const ge=ue.contains.find(Te=>Te.label==="interpol");ge.keywords=c;const Ce=[...u,...h,...v,_,O,...N];ge.contains=[...Ce,{begin:/\(/,end:/\)/,contains:["self",...Ce]}]}return{name:"Swift",keywords:c,contains:[...r,ie,he,de,ve,ne,pe,le,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},M,...u,...h,...v,_,O,...N,...W,j,te]}}const P4="[A-Za-z$_][0-9A-Za-z$_]*",hPe=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],mPe=["true","false","null","undefined","NaN","Infinity"],gPe=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],vPe=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],bPe=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],yPe=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],_Pe=[].concat(bPe,gPe,vPe);function Qmn(e){const t=e.regex,n=(N,{after:L})=>{const V="",end:""},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(N,L)=>{const V=N[0].length+N.index,$=N.input[V];if($==="<"||$===","){L.ignoreMatch();return}$===">"&&(n(N,{after:V})||L.ignoreMatch());let W;const j=N.input.substring(V);if(W=j.match(/^\s*=/)){L.ignoreMatch();return}if((W=j.match(/^\s+extends\s+/))&&W.index===0){L.ignoreMatch();return}}},s={$pattern:P4,keyword:hPe,literal:mPe,built_in:_Pe,"variable.language":yPe},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},f={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},h={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"xml"}},m={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"css"}},g={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"graphql"}},v={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},y={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},b=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,g,v,{match:/\$\d+/},d];f.contains=b.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(b)});const _=[].concat(y,f.contains),E=_.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(_)}]),C={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},w={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...gPe,...vPe]}},T={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},O={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[C],illegal:/%/},x={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function A(N){return t.concat("(?!",N.join("|"),")")}const I={match:t.concat(/\b/,A([...bPe,"super","import"].map(N=>`${N}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},M={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},B={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},C]},P="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",k={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[C]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:w},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),T,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,g,v,y,{match:/\$\d+/},d,w,{scope:"attr",match:r+t.lookahead(":"),relevance:0},k,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,e.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},O,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[C,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},M,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[C]},I,x,S,B,{match:/\$[(.]/}]}}function Xmn(e){const t=e.regex,n=Qmn(e),r=P4,i=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},a={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},l=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],c={$pattern:P4,keyword:hPe.concat(l),literal:mPe,built_in:_Pe.concat(i),"variable.language":yPe},u={className:"meta",begin:"@"+r},d=(g,v,y)=>{const b=g.contains.findIndex(_=>_.label===v);if(b===-1)throw new Error("can not find mode to replace");g.contains.splice(b,1,y)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(u);const f=n.contains.find(g=>g.scope==="attr"),h=Object.assign({},f,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,f,h]),n.contains=n.contains.concat([u,o,a,h]),d(n,"shebang",e.SHEBANG()),d(n,"use_strict",s);const m=n.contains.find(g=>g.label==="func.def");return m.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}function Zmn(e){const t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},r={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,o=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,l={className:"literal",variants:[{begin:t.concat(/# */,t.either(o,i),/ *#/)},{begin:t.concat(/# */,s,/ *#/)},{begin:t.concat(/# */,a,/ *#/)},{begin:t.concat(/# */,t.either(o,i),/ +/,t.either(a,s),/ *#/)}]},c={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:"label",begin:/^\w+:/},d=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),f=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,r,l,c,u,d,f,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[f]}]}}function Jmn(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const n=e.COMMENT(/;;/,/$/),r=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},o={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},s={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},l={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},c={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:r},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},o,a,i,e.QUOTE_STRING_MODE,l,c,s]}}function egn(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(o,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:"string"}),l=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[o,l,s,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[o,a,l,s]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:c}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function tgn(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},a={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(a,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},c={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},u={begin:/\{/,end:/\}/,contains:[c],illegal:"\\n",relevance:0},d={begin:"\\[",end:"\\]",contains:[c],illegal:"\\n",relevance:0},f=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},l,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},u,d,o,a],h=[...f];return h.pop(),h.push(s),c.contains=h,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:f}}const ngn={arduino:$hn,bash:Fhn,c:Bhn,cpp:jhn,csharp:Hhn,css:Qhn,diff:Xhn,go:Zhn,graphql:Jhn,ini:emn,java:tmn,javascript:amn,json:smn,kotlin:cmn,less:vmn,lua:bmn,makefile:ymn,markdown:_mn,objectivec:Smn,perl:Emn,php:Cmn,"php-template":wmn,plaintext:Tmn,python:xmn,"python-repl":Omn,r:Rmn,ruby:Imn,rust:Amn,scss:Bmn,shell:jmn,sql:Hmn,swift:Kmn,typescript:Xmn,vbnet:Zmn,wasm:Jmn,xml:egn,yaml:tgn},rgn={...ngn,"1c":_dn,abnf:Sdn,accesslog:Edn,actionscript:Cdn,ada:wdn,angelscript:Tdn,apache:xdn,applescript:Odn,arcade:Rdn,armasm:Idn,asciidoc:Adn,aspectj:Ndn,autohotkey:Mdn,autoit:kdn,avrasm:Pdn,awk:Ddn,axapta:Ldn,basic:$dn,bnf:Fdn,brainfuck:Bdn,cal:jdn,capnproto:Hdn,ceylon:Udn,clean:zdn,clojure:Vdn,"clojure-repl":Gdn,cmake:Wdn,coffeescript:Jdn,coq:efn,cos:tfn,crmsh:nfn,crystal:rfn,csp:ifn,d:ofn,dart:afn,delphi:sfn,django:lfn,dns:cfn,dockerfile:ufn,dos:dfn,dsconfig:ffn,dts:pfn,dust:hfn,ebnf:mfn,elixir:gfn,elm:vfn,erb:bfn,erlang:yfn,"erlang-repl":_fn,excel:Sfn,fix:Efn,flix:Cfn,fortran:wfn,fsharp:Ofn,gams:Rfn,gauss:Ifn,gcode:Afn,gherkin:Nfn,glsl:Mfn,gml:kfn,golo:Pfn,gradle:Dfn,groovy:Lfn,haml:$fn,handlebars:Ffn,haskell:Bfn,haxe:jfn,hsp:Hfn,http:Ufn,hy:zfn,inform7:Vfn,irpf90:Gfn,isbl:Wfn,"jboss-cli":qfn,julia:Yfn,"julia-repl":Kfn,lasso:Qfn,latex:Xfn,ldif:Zfn,leaf:Jfn,lisp:epn,livecodeserver:tpn,livescript:lpn,llvm:cpn,lsl:upn,mathematica:fpn,matlab:ppn,maxima:hpn,mel:mpn,mercury:gpn,mipsasm:vpn,mizar:bpn,mojolicious:ypn,monkey:_pn,moonscript:Spn,n1ql:Epn,nestedtext:Cpn,nginx:wpn,nim:Tpn,nix:xpn,"node-repl":Opn,nsis:Rpn,ocaml:Ipn,openscad:Apn,oxygene:Npn,parser3:Mpn,pf:kpn,pgsql:Ppn,pony:Dpn,powershell:Lpn,processing:$pn,profile:Fpn,prolog:Bpn,properties:jpn,protobuf:Hpn,puppet:Upn,purebasic:zpn,q:Vpn,qml:Gpn,reasonml:Wpn,rib:qpn,roboconf:Ypn,routeros:Kpn,rsl:Qpn,ruleslanguage:Xpn,sas:Zpn,scala:Jpn,scheme:ehn,scilab:thn,smali:nhn,smalltalk:rhn,sml:ihn,sqf:ohn,stan:ahn,stata:shn,step21:lhn,stylus:vhn,subunit:bhn,taggerscript:yhn,tap:_hn,tcl:Shn,thrift:Ehn,tp:Chn,twig:whn,vala:Thn,vbscript:xhn,"vbscript-html":Ohn,verilog:Rhn,vhdl:Ihn,vim:Ahn,wren:Nhn,x86asm:Mhn,xl:khn,xquery:Phn,zephir:Dhn};function SPe(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const n=e[t],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&SPe(n)}),e}class lpe{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function EPe(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Vm(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const ign="",cpe=e=>!!e.scope,ogn=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`};class agn{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=EPe(t)}openNode(t){if(!cpe(t))return;const n=ogn(t.scope,{prefix:this.classPrefix});this.span(n)}closeNode(t){cpe(t)&&(this.buffer+=ign)}value(){return this.buffer}span(t){this.buffer+=``}}const upe=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class QX{constructor(){this.rootNode=upe(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n=upe({scope:t});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{QX._collapse(n)}))}}class sgn extends QX{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,n){const r=t.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new agn(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Ex(e){return e?typeof e=="string"?e:e.source:null}function CPe(e){return B0("(?=",e,")")}function lgn(e){return B0("(?:",e,")*")}function cgn(e){return B0("(?:",e,")?")}function B0(...e){return e.map(t=>Ex(t)).join("")}function ugn(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function XX(...e){return"("+(ugn(e).capture?"":"?:")+e.map(t=>Ex(t)).join("|")+")"}function wPe(e){return new RegExp(e.toString()+"|").exec("").length-1}function dgn(e,t){const n=e&&e.exec(t);return n&&n.index===0}const fgn=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ZX(e,{joinWith:t}){let n=0;return e.map(r=>{n+=1;const i=n;let o=Ex(r),a="";for(;o.length>0;){const s=fgn.exec(o);if(!s){a+=o;break}a+=o.substring(0,s.index),o=o.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+i):(a+=s[0],s[0]==="("&&n++)}return a}).map(r=>`(${r})`).join(t)}const pgn=/\b\B/,TPe="[a-zA-Z]\\w*",JX="[a-zA-Z_]\\w*",xPe="\\b\\d+(\\.\\d+)?",OPe="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",RPe="\\b(0b[01]+)",hgn="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",mgn=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=B0(t,/.*\b/,e.binary,/\b.*/)),Vm({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},Cx={begin:"\\\\[\\s\\S]",relevance:0},ggn={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Cx]},vgn={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Cx]},bgn={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},I9=function(e,t,n={}){const r=Vm({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=XX("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:B0(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},ygn=I9("//","$"),_gn=I9("/\\*","\\*/"),Sgn=I9("#","$"),Egn={scope:"number",begin:xPe,relevance:0},Cgn={scope:"number",begin:OPe,relevance:0},wgn={scope:"number",begin:RPe,relevance:0},Tgn={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Cx,{begin:/\[/,end:/\]/,relevance:0,contains:[Cx]}]},xgn={scope:"title",begin:TPe,relevance:0},Ogn={scope:"title",begin:JX,relevance:0},Rgn={begin:"\\.\\s*"+JX,relevance:0},Ign=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})};var II=Object.freeze({__proto__:null,APOS_STRING_MODE:ggn,BACKSLASH_ESCAPE:Cx,BINARY_NUMBER_MODE:wgn,BINARY_NUMBER_RE:RPe,COMMENT:I9,C_BLOCK_COMMENT_MODE:_gn,C_LINE_COMMENT_MODE:ygn,C_NUMBER_MODE:Cgn,C_NUMBER_RE:OPe,END_SAME_AS_BEGIN:Ign,HASH_COMMENT_MODE:Sgn,IDENT_RE:TPe,MATCH_NOTHING_RE:pgn,METHOD_GUARD:Rgn,NUMBER_MODE:Egn,NUMBER_RE:xPe,PHRASAL_WORDS_MODE:bgn,QUOTE_STRING_MODE:vgn,REGEXP_MODE:Tgn,RE_STARTERS_RE:hgn,SHEBANG:mgn,TITLE_MODE:xgn,UNDERSCORE_IDENT_RE:JX,UNDERSCORE_TITLE_MODE:Ogn});function Agn(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function Ngn(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function Mgn(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Agn,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function kgn(e,t){Array.isArray(e.illegal)&&(e.illegal=XX(...e.illegal))}function Pgn(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Dgn(e,t){e.relevance===void 0&&(e.relevance=1)}const Lgn=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=n.keywords,e.begin=B0(n.beforeMatch,CPe(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},$gn=["of","and","for","in","not","or","if","then","parent","list","value"],Fgn="keyword";function IPe(e,t,n=Fgn){const r=Object.create(null);return typeof e=="string"?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(o){Object.assign(r,IPe(e[o],t,o))}),r;function i(o,a){t&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){const l=s.split("|");r[l[0]]=[o,Bgn(l[0],l[1])]})}}function Bgn(e,t){return t?Number(t):jgn(e)?0:1}function jgn(e){return $gn.includes(e.toLowerCase())}const dpe={},xv=e=>{console.error(e)},fpe=(e,...t)=>{console.log(`WARN: ${e}`,...t)},_b=(e,t)=>{dpe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),dpe[`${e}/${t}`]=!0)},D4=new Error;function APe(e,t,{key:n}){let r=0;const i=e[n],o={},a={};for(let s=1;s<=t.length;s++)a[s+r]=i[s],o[s+r]=!0,r+=wPe(t[s-1]);e[n]=a,e[n]._emit=o,e[n]._multi=!0}function Hgn(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw xv("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),D4;if(typeof e.beginScope!="object"||e.beginScope===null)throw xv("beginScope must be object"),D4;APe(e,e.begin,{key:"beginScope"}),e.begin=ZX(e.begin,{joinWith:""})}}function Ugn(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw xv("skip, excludeEnd, returnEnd not compatible with endScope: {}"),D4;if(typeof e.endScope!="object"||e.endScope===null)throw xv("endScope must be object"),D4;APe(e,e.end,{key:"endScope"}),e.end=ZX(e.end,{joinWith:""})}}function zgn(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Vgn(e){zgn(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),Hgn(e),Ugn(e)}function Ggn(e){function t(a,s){return new RegExp(Ex(a),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=wPe(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=t(ZX(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const c=l.findIndex((d,f)=>f>0&&d!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new n;return this.rules.slice(s).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(s);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(s)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(a){const s=new r;return a.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),a.terminatorEnd&&s.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&s.addRule(a.illegal,{type:"illegal"}),s}function o(a,s){const l=a;if(a.isCompiled)return l;[Ngn,Pgn,Vgn,Lgn].forEach(u=>u(a,s)),e.compilerExtensions.forEach(u=>u(a,s)),a.__beforeBegin=null,[Mgn,kgn,Dgn].forEach(u=>u(a,s)),a.isCompiled=!0;let c=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),c=a.keywords.$pattern,delete a.keywords.$pattern),c=c||/\w+/,a.keywords&&(a.keywords=IPe(a.keywords,e.case_insensitive)),l.keywordPatternRe=t(c,!0),s&&(a.begin||(a.begin=/\B|\b/),l.beginRe=t(l.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(l.endRe=t(l.end)),l.terminatorEnd=Ex(l.end)||"",a.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(l.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return Wgn(u==="self"?a:u)})),a.contains.forEach(function(u){o(u,l)}),a.starts&&o(a.starts,s),l.matcher=i(l),l}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Vm(e.classNameAliases||{}),o(e)}function NPe(e){return e?e.endsWithParent||NPe(e.starts):!1}function Wgn(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Vm(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:NPe(e)?Vm(e,{starts:e.starts?Vm(e.starts):null}):Object.isFrozen(e)?Vm(e):e}var qgn="11.11.1";class Ygn extends Error{constructor(t,n){super(t),this.name="HTMLInjectionError",this.html=n}}const r7=EPe,ppe=Vm,hpe=Symbol("nomatch"),Kgn=7,MPe=function(e){const t=Object.create(null),n=Object.create(null),r=[];let i=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:sgn};function l(k){return s.noHighlightRe.test(k)}function c(k){let N=k.className+" ";N+=k.parentNode?k.parentNode.className:"";const L=s.languageDetectRe.exec(N);if(L){const V=T(L[1]);return V||(fpe(o.replace("{}",L[1])),fpe("Falling back to no-highlight mode for this block.",k)),V?L[1]:"no-highlight"}return N.split(/\s+/).find(V=>l(V)||T(V))}function u(k,N,L){let V="",$="";typeof N=="object"?(V=k,L=N.ignoreIllegals,$=N.language):(_b("10.7.0","highlight(lang, code, ...args) has been deprecated."),_b("10.7.0",`Please use highlight(code, options) instead. +`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}function yhn(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}function _hn(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}function Shn(e){const t=e.regex,n=/[a-zA-Z_][a-zA-Z0-9_]*/,r={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t.concat(/\$/,t.optional(/::/),n,"(::",n,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[r]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},r]}}function Ehn(e){const t=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...t,"set","list","map"]},end:">",contains:["self"]}]}}function Chn(e){const t={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"symbol",begin:":[^\\]]+"},r={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,n]},i={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,n]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[r,i,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}function whn(e){const t=e.regex,n=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],r=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let i=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];i=i.concat(i.map(m=>`end${m}`));const o={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},a={scope:"number",match:/\d+/},s={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[o,a]},l={beginKeywords:n.join(" "),keywords:{name:n},relevance:0,contains:[s]},c={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:r}]},u=(m,{relevance:g})=>({beginScope:{1:"template-tag",3:"name"},relevance:g||2,endScope:"template-tag",begin:[/\{%/,/\s*/,t.either(...m)],end:/%\}/,keywords:"in",contains:[c,l,o,a]}),d=/[a-z_]+/,f=u(i,{relevance:2}),h=u([d],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#\}/),f,h,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",c,l,o,a]}]}}function Thn(e){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}function xhn(e){const t=e.regex,n=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],r=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],i={begin:t.concat(t.either(...n),"\\s*\\("),relevance:0,keywords:{built_in:n}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:r,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[i,e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}function Ohn(e){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}function Rhn(e){const t=e.regex,n={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},r=["__FILE__","__LINE__"],i=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:n,contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{scope:"number",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:t.concat(/`/,t.either(...r))},{scope:"meta",begin:t.concat(/`/,t.either(...i)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:i}]}}function Ihn(e){const t="\\d(_|\\d)*",n="[eE][-+]?"+t,r=t+"(\\."+t+")?("+n+")?",i="\\w+",o="\\b("+(t+"#"+i+"(\\."+i+")?#("+n+")?")+"|"+r+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:o,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}function Ahn(e){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[e.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},e.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,e.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}function Nhn(e){const t=e.regex,n=/[a-zA-Z]\w*/,r=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],i=["true","false","null"],o=["this","super"],a=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],s=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],l={relevance:0,match:t.concat(/\b(?!(if|while|for|else|super)\b)/,n,/(?=\s*[({])/),className:"title.function"},c={match:t.concat(t.either(t.concat(/\b(?!(if|while|for|else|super)\b)/,n),t.either(...s)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:n}]}]}},u={variants:[{match:[/class\s+/,n,/\s+is\s+/,n]},{match:[/class\s+/,n]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:r},d={relevance:0,match:t.either(...s),className:"operator"},f={className:"string",begin:/"""/,end:/"""/},h={className:"property",begin:t.concat(/\./,t.lookahead(n)),end:n,excludeBegin:!0,relevance:0},m={relevance:0,match:t.concat(/\b_/,n),scope:"variable"},g={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:a}},v=e.C_NUMBER_MODE,y={match:[n,/\s*/,/=/,/\s*/,/\(/,n,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},b=e.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),_={scope:"subst",begin:/%\(/,end:/\)/,contains:[v,g,l,m,d]},E={scope:"string",begin:/"/,end:/"/,contains:[_,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};_.contains.push(E);const C=[...r,...o,...i],S={relevance:0,match:t.concat("\\b(?!",C.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:r,"variable.language":o,literal:i},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:i},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},v,E,f,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g,u,y,c,l,d,m,h,S]}}function Mhn(e){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+e.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}function khn(e){const t=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],n=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],r=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],i={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:t,literal:["true","false","nil"],built_in:n.concat(r)},o={className:"string",begin:'"',end:'"',illegal:"\\n"},a={className:"string",begin:"'",end:"'",illegal:"\\n"},s={className:"string",begin:"<<",end:">>"},l={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},c={beginKeywords:"import",end:"$",keywords:i,contains:[o]},u={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,keywords:i}})]};return{name:"XL",aliases:["tao"],keywords:i,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,o,a,s,u,c,l,e.NUMBER_MODE]}}function Phn(e){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}function Dhn(e){const t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n=e.UNDERSCORE_TITLE_MODE,r={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},i="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",e.C_BLOCK_COMMENT_MODE,t,r]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},t,r]}}function Lhn(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",f=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],h=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],m=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],g=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],v={type:h,keyword:f,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:m},y={className:"function.dispatch",relevance:0,keywords:{_hint:g},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},b=[y,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],_={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:v,contains:b.concat([{begin:/\(/,end:/\)/,keywords:v,contains:b.concat(["self"]),relevance:0}]),relevance:0},E={className:"function",begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:v,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:v,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:v,illegal:"",keywords:v,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:v},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function $hn(e){const t={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},n=Lhn(e),r=n.keywords;return r.type=[...r.type,...t.type],r.literal=[...r.literal,...t.literal],r.built_in=[...r.built_in,...t.built_in],r._hints=t._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n}function Fhn(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},s={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(s);const l={match:/\\"/},c={className:"string",begin:/'/,end:/'/},u={match:/\\'/},d={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],h=e.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),m={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},g=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],v=["true","false"],y={match:/(\/[a-z._-]+)+/},b=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],_=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],E=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],C=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:g,literal:v,built_in:[...b,..._,"set","shopt",...E,...C]},contains:[h,e.SHEBANG(),m,d,o,a,y,s,l,c,u,n]}}function Bhn(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",f={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},h=[c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],m={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:f,contains:h.concat([{begin:/\(/,end:/\)/,keywords:f,contains:h.concat(["self"]),relevance:0}]),relevance:0},g={begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:f,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:f,relevance:0},{begin:d,returnBegin:!0,contains:[e.inherit(u,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C",aliases:["h"],keywords:f,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:c,strings:s,keywords:f}}}function jhn(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},s={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},l={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},c={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(s,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.IDENT_RE+"\\s*\\(",f=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],h=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],m=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],g=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],v={type:h,keyword:f,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:m},y={className:"function.dispatch",relevance:0,keywords:{_hint:g},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},b=[y,c,a,n,e.C_BLOCK_COMMENT_MODE,l,s],_={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:v,contains:b.concat([{begin:/\(/,end:/\)/,keywords:v,contains:b.concat(["self"]),relevance:0}]),relevance:0},E={className:"function",begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:v,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:v,relevance:0},{begin:d,returnBegin:!0,contains:[u],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[s,l]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,s,l,a,{begin:/\(/,end:/\)/,keywords:v,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,a]}]},a,n,e.C_BLOCK_COMMENT_MODE,c]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:v,illegal:"",keywords:v,contains:["self",a]},{begin:e.IDENT_RE+"::",keywords:v},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function Hhn(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],r=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],o=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],a={keyword:i.concat(o),built_in:t,literal:r},s=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},u={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},d=e.inherit(u,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:a},h=e.inherit(f,{illegal:/\n/}),m={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,h]},g={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},v=e.inherit(g,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},h]});f.contains=[g,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.C_BLOCK_COMMENT_MODE],h.contains=[v,m,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const y={variants:[c,g,m,u,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},b={begin:"<",end:">",contains:[{beginKeywords:"in out"},s]},_=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",E={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:a,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},y,l,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},s,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[s,b,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+_+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:a,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,b],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,relevance:0,contains:[y,l,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},E]}}const Uhn=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),zhn=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Vhn=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],Ghn=[...zhn,...Vhn],Whn=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),qhn=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),Yhn=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Khn=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function Qhn(e){const t=e.regex,n=Uhn(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",o=/@-?\w[\w]*(-\w+)*/,a="[a-zA-Z-][a-zA-Z0-9_-]*",s=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+a,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+qhn.join("|")+")"},{begin:":(:)?("+Yhn.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Khn.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...s,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...s,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:o},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:Whn.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...s,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+Ghn.join("|")+")\\b"}]}}function Xhn(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function Zhn(e){const t={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:t,illegal:"i5e(e,t,n-1))}function tmn(e){const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",r=n+i5e("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),i={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},o={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},a={className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:i,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:i,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:i,relevance:0,contains:[o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,rpe,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},rpe,o]}}const ipe="[A-Za-z$_][0-9A-Za-z$_]*",nmn=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],rmn=["true","false","null","undefined","NaN","Infinity"],o5e=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],a5e=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],s5e=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],imn=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],omn=[].concat(s5e,o5e,a5e);function amn(e){const t=e.regex,n=(N,{after:L})=>{const V="",end:""},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(N,L)=>{const V=N[0].length+N.index,$=N.input[V];if($==="<"||$===","){L.ignoreMatch();return}$===">"&&(n(N,{after:V})||L.ignoreMatch());let W;const j=N.input.substring(V);if(W=j.match(/^\s*=/)){L.ignoreMatch();return}if((W=j.match(/^\s+extends\s+/))&&W.index===0){L.ignoreMatch();return}}},s={$pattern:ipe,keyword:nmn,literal:rmn,built_in:omn,"variable.language":imn},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},f={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},h={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"xml"}},m={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"css"}},g={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"graphql"}},v={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},y={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},b=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,g,v,{match:/\$\d+/},d];f.contains=b.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(b)});const _=[].concat(y,f.contains),E=_.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(_)}]),C={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},w={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...o5e,...a5e]}},T={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},O={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[C],illegal:/%/},x={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function A(N){return t.concat("(?!",N.join("|"),")")}const I={match:t.concat(/\b/,A([...s5e,"super","import"].map(N=>`${N}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},M={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},B={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},C]},P="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",k={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[C]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:w},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),T,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,g,v,y,{match:/\$\d+/},d,w,{scope:"attr",match:r+t.lookahead(":"),relevance:0},k,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,e.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},O,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[C,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},M,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[C]},I,x,S,B,{match:/\$[(.]/}]}}function smn(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],i={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var Pb="[0-9](_*[0-9])*",xI=`\\.(${Pb})`,OI="[0-9a-fA-F](_*[0-9a-fA-F])*",lmn={className:"number",variants:[{begin:`(\\b(${Pb})((${xI})|\\.)?|(${xI}))[eE][+-]?(${Pb})[fFdD]?\\b`},{begin:`\\b(${Pb})((${xI})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${xI})[fFdD]?\\b`},{begin:`\\b(${Pb})[fFdD]\\b`},{begin:`\\b0[xX]((${OI})\\.?|(${OI})?\\.(${OI}))[pP][+-]?(${Pb})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${OI})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function cmn(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},r={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},i={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},o={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},a={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[o,i]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,o,i]}]};i.contains.push(a);const s={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},l={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(a,{className:"string"}),"self"]}]},c=lmn,u=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),d={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},f=d;return f.variants[1].contains=[d],d.variants[1].contains=[f],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,u,n,r,s,l,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[d,e.C_LINE_COMMENT_MODE,u],relevance:0},e.C_LINE_COMMENT_MODE,u,s,l,a,e.C_NUMBER_MODE]},u]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},s,l]},a,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` +`},c]}}const umn=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),dmn=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],fmn=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],pmn=[...dmn,...fmn],hmn=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),l5e=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),c5e=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),mmn=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),gmn=l5e.concat(c5e).sort().reverse();function vmn(e){const t=umn(e),n=gmn,r="and or not only",i="[\\w-]+",o="("+i+"|@\\{"+i+"\\})",a=[],s=[],l=function(_){return{className:"string",begin:"~?"+_+".*?"+_}},c=function(_,E,C){return{className:_,begin:E,relevance:C}},u={$pattern:/[a-z-]+/,keyword:r,attribute:hmn.join(" ")},d={begin:"\\(",end:"\\)",contains:s,keywords:u,relevance:0};s.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,l("'"),l('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,d,c("variable","@@?"+i,10),c("variable","@\\{"+i+"\\}"),c("built_in","~?`[^`]*?`"),{className:"attribute",begin:i+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const f=s.concat({begin:/\{/,end:/\}/,contains:a}),h={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(s)},m={begin:o+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+mmn.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:s}}]},g={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:u,returnEnd:!0,contains:s,relevance:0}},v={className:"variable",variants:[{begin:"@"+i+"\\s*:",relevance:15},{begin:"@"+i}],starts:{end:"[;}]",returnEnd:!0,contains:f}},y={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:o,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,h,c("keyword","all\\b"),c("variable","@\\{"+i+"\\}"),{begin:"\\b("+pmn.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,c("selector-tag",o,0),c("selector-id","#"+o),c("selector-class","\\."+o,0),c("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+l5e.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+c5e.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:f},{begin:"!important"},t.FUNCTION_DISPATCH]},b={begin:i+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[y]};return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,g,v,b,m,y,h,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:a}}function bmn(e){const t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}}function ymn(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%",subLanguage:"xml",relevance:0},r={begin:"^[-\\*]{3,}",end:"$"},i={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},o={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},a={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},s=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,s,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},d=e.inherit(c,{contains:[]}),f=e.inherit(u,{contains:[]});c.contains.push(f),u.contains.push(d);let h=[n,l];return[c,u,d,f].forEach(m=>{m.contains=m.contains.concat(h)}),h=h.concat(c,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:h},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:h}]}]},n,o,c,u,{className:"quote",begin:"^>\\s+",contains:h,end:"$"},i,r,l,a,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function Smn(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,r={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},i={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:r,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+i.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:i,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function Emn(e){const t=e.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:n.join(" ")},o={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},a={begin:/->\{/,end:/\}/},s={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},l={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[s]},c={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},u=[e.BACKSLASH_ESCAPE,o,l],d=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],f=(g,v,y="\\1")=>{const b=y==="\\1"?y:t.concat(y,v);return t.concat(t.concat("(?:",g,")"),v,/(?:\\.|[^\\\/])*?/,b,/(?:\\.|[^\\\/])*?/,y,r)},h=(g,v,y)=>t.concat(t.concat("(?:",g,")"),v,/(?:\\.|[^\\\/])*?/,y,r),m=[l,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),a,{className:"string",contains:u,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},c,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:f("s|tr|y",t.either(...d,{capture:!0}))},{begin:f("s|tr|y","\\(","\\)")},{begin:f("s|tr|y","\\[","\\]")},{begin:f("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:h("(?:m|qr)?",/\//,/\//)},{begin:h("m|qr",t.either(...d,{capture:!0}),/\1/)},{begin:h("m|qr",/\(/,/\)/)},{begin:h("m|qr",/\[/,/\]/)},{begin:h("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,s,c]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return o.contains=m,a.contains=m,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:m}}function Cmn(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),o=t.concat(/[A-Z]+/,n),a={scope:"variable",match:"\\$+"+r},s={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},l={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),u=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(l)}),d={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(l),"on:begin":(M,B)=>{B.data._beginMatch=M[1]||M[2]},"on:end":(M,B)=>{B.data._beginMatch!==M[1]&&B.ignoreMatch()}},f=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),h=`[ +]`,m={scope:"string",variants:[u,c,d,f]},g={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},v=["false","null","true"],y=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],b=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],_={keyword:y,literal:(M=>{const B=[];return M.forEach(P=>{B.push(P),P.toLowerCase()===P?B.push(P.toUpperCase()):B.push(P.toLowerCase())}),B})(v),built_in:b},E=M=>M.map(B=>B.replace(/\|\d+$/,"")),C={variants:[{match:[/new/,t.concat(h,"+"),t.concat("(?!",E(b).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},S=t.concat(r,"\\b(?!\\()"),w={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),S],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},T={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},O={relevance:0,begin:/\(/,end:/\)/,keywords:_,contains:[T,a,w,e.C_BLOCK_COMMENT_MODE,m,g,C]},x={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",E(y).join("\\b|"),"|",E(b).join("\\b|"),"\\b)"),r,t.concat(h,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[O]};O.contains.push(x);const A=[T,w,e.C_BLOCK_COMMENT_MODE,m,g,C],I={begin:t.concat(/#\[\s*\\?/,t.either(i,o)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:v,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:v,keyword:["new","array"]},contains:["self",...A]},...A,{scope:"meta",variants:[{match:i},{match:o}]}]};return{case_insensitive:!1,keywords:_,contains:[I,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},a,x,w,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},C,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:_,contains:["self",I,a,w,e.C_BLOCK_COMMENT_MODE,m,g]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},m,g]}}function wmn(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function Tmn(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function xmn(e){const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},o={className:"meta",begin:/^(>>>|\.\.\.) /},a={className:"subst",begin:/\{/,end:/\}/,keywords:i,illegal:/#/},s={begin:/\{\{/,relevance:0},l={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,o,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,o,s,a]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,s,a]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,s,a]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},c="[0-9](_?[0-9])*",u=`(\\b(${c}))?\\.(${c})|\\b(${c})\\.`,d=`\\b|${r.join("|")}`,f={className:"number",relevance:0,variants:[{begin:`(\\b(${c})|(${u}))[eE][+-]?(${c})[jJ]?(?=${d})`},{begin:`(${u})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${d})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${d})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${d})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${d})`},{begin:`\\b(${c})[jJ](?=${d})`}]},h={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:["self",o,f,l,e.HASH_COMMENT_MODE]}]};return a.contains=[l,f,o],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[o,f,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},l,h,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[f,m,l]}]}}function Omn(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function Rmn(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),i=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,o=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[i,r]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[o,r]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:o},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function Imn(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},a={className:"doctag",begin:"@[A-Za-z]+"},s={begin:"#<",end:">"},l=[e.COMMENT("#","$",{contains:[a]}),e.COMMENT("^=begin","^=end",{contains:[a],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:o},u={className:"string",contains:[e.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,c]})]}]},d="[1-9](_?[0-9])*|0",f="[0-9](_?[0-9])*",h={className:"number",relevance:0,variants:[{begin:`\\b(${d})(\\.(${f}))?([eE][+-]?(${f})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},m={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},g=[u,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:o},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[m]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},h,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(s,l),relevance:0}].concat(s,l);c.contains=g,m.contains=g;const v=[{begin:/^\s*=>/,starts:{end:"$",contains:g}},{className:"meta.prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]|(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>)(?=[ ])",starts:{end:"$",keywords:o,contains:g}}];return l.unshift(s),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(v).concat(l).concat(g)}}function Amn(e){const t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),o={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,i,t.lookahead(/\s*\(/))},a="([ui](8|16|32|64|128|size)|f(32|64))?",s=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],l=["true","false","Some","None","Ok","Err"],c=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],u=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:u,keyword:s,literal:l,built_in:c},illegal:""},o]}}const Nmn=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Mmn=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],kmn=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],Pmn=[...Mmn,...kmn],Dmn=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),Lmn=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),$mn=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),Fmn=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function Bmn(e){const t=Nmn(e),n=$mn,r=Lmn,i="@[a-z-]+",o="and or not only",a={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+Pmn.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+r.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},a,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+Fmn.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,a,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:i,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:o,attribute:Dmn.join(" ")},contains:[{begin:i,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},a,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function jmn(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function Hmn(e){const t=e.regex,n=e.COMMENT("--","$"),r={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/"/,end:/"/,contains:[{match:/""/}]},o=["true","false","unknown"],a=["double precision","large object","with timezone","without timezone"],s=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],l=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],u=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],d=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],f=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],h=u,m=[...c,...l].filter(C=>!u.includes(C)),g={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},v={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},y={match:t.concat(/\b/,t.either(...h),/\s*\(/),relevance:0,keywords:{built_in:h}};function b(C){return t.concat(/\b/,t.either(...C.map(S=>S.replace(/\s+/,"\\s+"))),/\b/)}const _={scope:"keyword",match:b(f),relevance:0};function E(C,{exceptions:S,when:w}={}){const T=w;return S=S||[],C.map(O=>O.match(/\|\d+$/)||S.includes(O)?O:T(O)?`${O}|0`:O)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:E(m,{when:C=>C.length<3}),literal:o,type:s,built_in:d},contains:[{scope:"type",match:b(a)},_,y,g,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,v]}}function u5e(e){return e?typeof e=="string"?e:e.source:null}function aC(e){return ki("(?=",e,")")}function ki(...e){return e.map(t=>u5e(t)).join("")}function Umn(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function Us(...e){return"("+(Umn(e).capture?"":"?:")+e.map(t=>u5e(t)).join("|")+")"}const KX=e=>ki(/\b/,e,/\w$/.test(e)?/\b/:/\B/),zmn=["Protocol","Type"].map(KX),ope=["init","self"].map(KX),Vmn=["Any","Self"],t7=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],ape=["false","nil","true"],Gmn=["assignment","associativity","higherThan","left","lowerThan","none","right"],Wmn=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],spe=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],d5e=Us(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),f5e=Us(d5e,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),n7=ki(d5e,f5e,"*"),p5e=Us(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),k4=Us(p5e,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),ef=ki(p5e,k4,"*"),RI=ki(/[A-Z]/,k4,"*"),qmn=["attached","autoclosure",ki(/convention\(/,Us("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",ki(/objc\(/,ef,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],Ymn=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function Kmn(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\./,Us(...zmn,...ope)],className:{2:"keyword"}},o={match:ki(/\./,Us(...t7)),relevance:0},a=t7.filter(ue=>typeof ue=="string").concat(["_|0"]),s=t7.filter(ue=>typeof ue!="string").concat(Vmn).map(KX),l={variants:[{className:"keyword",match:Us(...s,...ope)}]},c={$pattern:Us(/\b\w+/,/#\w+/),keyword:a.concat(Wmn),literal:ape},u=[i,o,l],d={match:ki(/\./,Us(...spe)),relevance:0},f={className:"built_in",match:ki(/\b/,Us(...spe),/(?=\()/)},h=[d,f],m={match:/->/,relevance:0},g={className:"operator",relevance:0,variants:[{match:n7},{match:`\\.(\\.|${f5e})+`}]},v=[m,g],y="([0-9]_*)+",b="([0-9a-fA-F]_*)+",_={className:"number",relevance:0,variants:[{match:`\\b(${y})(\\.(${y}))?([eE][+-]?(${y}))?\\b`},{match:`\\b0x(${b})(\\.(${b}))?([pP][+-]?(${y}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},E=(ue="")=>({className:"subst",variants:[{match:ki(/\\/,ue,/[0\\tnr"']/)},{match:ki(/\\/,ue,/u\{[0-9a-fA-F]{1,8}\}/)}]}),C=(ue="")=>({className:"subst",match:ki(/\\/,ue,/[\t ]*(?:[\r\n]|\r\n)/)}),S=(ue="")=>({className:"subst",label:"interpol",begin:ki(/\\/,ue,/\(/),end:/\)/}),w=(ue="")=>({begin:ki(ue,/"""/),end:ki(/"""/,ue),contains:[E(ue),C(ue),S(ue)]}),T=(ue="")=>({begin:ki(ue,/"/),end:ki(/"/,ue),contains:[E(ue),S(ue)]}),O={className:"string",variants:[w(),w("#"),w("##"),w("###"),T(),T("#"),T("##"),T("###")]},x=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],A={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:x},I=ue=>{const ge=ki(ue,/\//),Ce=ki(/\//,ue);return{begin:ge,end:Ce,contains:[...x,{scope:"comment",begin:`#(?!.*${Ce})`,end:/$/}]}},M={scope:"regexp",variants:[I("###"),I("##"),I("#"),A]},B={match:ki(/`/,ef,/`/)},P={className:"variable",match:/\$\d+/},k={className:"variable",match:`\\$${k4}+`},N=[B,P,k],L={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:Ymn,contains:[...v,_,O]}]}},V={scope:"keyword",match:ki(/@/,Us(...qmn),aC(Us(/\(/,/\s+/)))},$={scope:"meta",match:ki(/@/,ef)},W=[L,V,$],j={match:aC(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:ki(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,k4,"+")},{className:"type",match:RI,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:ki(/\s+&\s+/,aC(RI)),relevance:0}]},U={begin://,keywords:c,contains:[...r,...u,...W,m,j]};j.contains.push(U);const Z={match:ki(ef,/\s*:/),keywords:"_|0",relevance:0},te={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:["self",Z,...r,M,...u,...h,...v,_,O,...N,...W,j]},ae={begin://,keywords:"repeat each",contains:[...r,j]},K={begin:Us(aC(ki(ef,/\s*:/)),aC(ki(ef,/\s+/,ef,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:ef}]},Q={begin:/\(/,end:/\)/,keywords:c,contains:[K,...r,...u,...v,_,O,...W,j,te],endsParent:!0,illegal:/["']/},ie={match:[/(func|macro)/,/\s+/,Us(B.match,ef,n7)],className:{1:"keyword",3:"title.function"},contains:[ae,Q,t],illegal:[/\[/,/%/]},he={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[ae,Q,t],illegal:/\[|%/},pe={match:[/operator/,/\s+/,n7],className:{1:"keyword",3:"title"}},le={begin:[/precedencegroup/,/\s+/,RI],className:{1:"keyword",3:"title"},contains:[j],keywords:[...Gmn,...ape],end:/}/},de={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},ve={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},ne={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,ef,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:c,contains:[ae,...u,{begin:/:/,end:/\{/,keywords:c,contains:[{scope:"title.class.inherited",match:RI},...u],relevance:0}]};for(const ue of O.variants){const ge=ue.contains.find(Te=>Te.label==="interpol");ge.keywords=c;const Ce=[...u,...h,...v,_,O,...N];ge.contains=[...Ce,{begin:/\(/,end:/\)/,contains:["self",...Ce]}]}return{name:"Swift",keywords:c,contains:[...r,ie,he,de,ve,ne,pe,le,{beginKeywords:"import",end:/$/,contains:[...r],relevance:0},M,...u,...h,...v,_,O,...N,...W,j,te]}}const P4="[A-Za-z$_][0-9A-Za-z$_]*",h5e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],m5e=["true","false","null","undefined","NaN","Infinity"],g5e=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],v5e=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],b5e=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],y5e=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],_5e=[].concat(b5e,g5e,v5e);function Qmn(e){const t=e.regex,n=(N,{after:L})=>{const V="",end:""},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,a={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(N,L)=>{const V=N[0].length+N.index,$=N.input[V];if($==="<"||$===","){L.ignoreMatch();return}$===">"&&(n(N,{after:V})||L.ignoreMatch());let W;const j=N.input.substring(V);if(W=j.match(/^\s*=/)){L.ignoreMatch();return}if((W=j.match(/^\s+extends\s+/))&&W.index===0){L.ignoreMatch();return}}},s={$pattern:P4,keyword:h5e,literal:m5e,built_in:_5e,"variable.language":y5e},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",d={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},f={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},h={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"xml"}},m={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"css"}},g={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,f],subLanguage:"graphql"}},v={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,f]},y={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},b=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,g,v,{match:/\$\d+/},d];f.contains=b.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(b)});const _=[].concat(y,f.contains),E=_.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(_)}]),C={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E},S={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},w={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...g5e,...v5e]}},T={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},O={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[C],illegal:/%/},x={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function A(N){return t.concat("(?!",N.join("|"),")")}const I={match:t.concat(/\b/,A([...b5e,"super","import"].map(N=>`${N}\\s*\\(`)),r,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},M={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},B={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},C]},P="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",k={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(P)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[C]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:E,CLASS_REFERENCE:w},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),T,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,g,v,y,{match:/\$\d+/},d,w,{scope:"attr",match:r+t.lookahead(":"),relevance:0},k,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,e.REGEXP_MODE,{className:"function",begin:P,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:E}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},O,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[C,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},M,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[C]},I,x,S,B,{match:/\$[(.]/}]}}function Xmn(e){const t=e.regex,n=Qmn(e),r=P4,i=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},a={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:i},contains:[n.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},l=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],c={$pattern:P4,keyword:h5e.concat(l),literal:m5e,built_in:_5e.concat(i),"variable.language":y5e},u={className:"meta",begin:"@"+r},d=(g,v,y)=>{const b=g.contains.findIndex(_=>_.label===v);if(b===-1)throw new Error("can not find mode to replace");g.contains.splice(b,1,y)};Object.assign(n.keywords,c),n.exports.PARAMS_CONTAINS.push(u);const f=n.contains.find(g=>g.scope==="attr"),h=Object.assign({},f,{match:t.concat(r,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,f,h]),n.contains=n.contains.concat([u,o,a,h]),d(n,"shebang",e.SHEBANG()),d(n,"use_strict",s);const m=n.contains.find(g=>g.label==="func.def");return m.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}function Zmn(e){const t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},r={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},i=/\d{1,2}\/\d{1,2}\/\d{4}/,o=/\d{4}-\d{1,2}-\d{1,2}/,a=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,s=/\d{1,2}(:\d{1,2}){1,2}/,l={className:"literal",variants:[{begin:t.concat(/# */,t.either(o,i),/ *#/)},{begin:t.concat(/# */,s,/ *#/)},{begin:t.concat(/# */,a,/ *#/)},{begin:t.concat(/# */,t.either(o,i),/ +/,t.either(a,s),/ *#/)}]},c={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},u={className:"label",begin:/^\w+:/},d=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),f=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,r,l,c,u,d,f,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[f]}]}}function Jmn(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const n=e.COMMENT(/;;/,/$/),r=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],i={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},o={className:"variable",begin:/\$[\w_]+/},a={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},s={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},l={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},c={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:r},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},o,a,i,e.QUOTE_STRING_MODE,l,c,s]}}function egn(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},a=e.inherit(o,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:"string"}),l=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[o,l,s,a,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[o,a,l,s]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:c}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function tgn(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},a={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},s=e.inherit(a,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),l={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},c={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},u={begin:/\{/,end:/\}/,contains:[c],illegal:"\\n",relevance:0},d={begin:"\\[",end:"\\]",contains:[c],illegal:"\\n",relevance:0},f=[r,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},l,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},u,d,o,a],h=[...f];return h.pop(),h.push(s),c.contains=h,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:f}}const ngn={arduino:$hn,bash:Fhn,c:Bhn,cpp:jhn,csharp:Hhn,css:Qhn,diff:Xhn,go:Zhn,graphql:Jhn,ini:emn,java:tmn,javascript:amn,json:smn,kotlin:cmn,less:vmn,lua:bmn,makefile:ymn,markdown:_mn,objectivec:Smn,perl:Emn,php:Cmn,"php-template":wmn,plaintext:Tmn,python:xmn,"python-repl":Omn,r:Rmn,ruby:Imn,rust:Amn,scss:Bmn,shell:jmn,sql:Hmn,swift:Kmn,typescript:Xmn,vbnet:Zmn,wasm:Jmn,xml:egn,yaml:tgn},rgn={...ngn,"1c":_dn,abnf:Sdn,accesslog:Edn,actionscript:Cdn,ada:wdn,angelscript:Tdn,apache:xdn,applescript:Odn,arcade:Rdn,armasm:Idn,asciidoc:Adn,aspectj:Ndn,autohotkey:Mdn,autoit:kdn,avrasm:Pdn,awk:Ddn,axapta:Ldn,basic:$dn,bnf:Fdn,brainfuck:Bdn,cal:jdn,capnproto:Hdn,ceylon:Udn,clean:zdn,clojure:Vdn,"clojure-repl":Gdn,cmake:Wdn,coffeescript:Jdn,coq:efn,cos:tfn,crmsh:nfn,crystal:rfn,csp:ifn,d:ofn,dart:afn,delphi:sfn,django:lfn,dns:cfn,dockerfile:ufn,dos:dfn,dsconfig:ffn,dts:pfn,dust:hfn,ebnf:mfn,elixir:gfn,elm:vfn,erb:bfn,erlang:yfn,"erlang-repl":_fn,excel:Sfn,fix:Efn,flix:Cfn,fortran:wfn,fsharp:Ofn,gams:Rfn,gauss:Ifn,gcode:Afn,gherkin:Nfn,glsl:Mfn,gml:kfn,golo:Pfn,gradle:Dfn,groovy:Lfn,haml:$fn,handlebars:Ffn,haskell:Bfn,haxe:jfn,hsp:Hfn,http:Ufn,hy:zfn,inform7:Vfn,irpf90:Gfn,isbl:Wfn,"jboss-cli":qfn,julia:Yfn,"julia-repl":Kfn,lasso:Qfn,latex:Xfn,ldif:Zfn,leaf:Jfn,lisp:epn,livecodeserver:tpn,livescript:lpn,llvm:cpn,lsl:upn,mathematica:fpn,matlab:ppn,maxima:hpn,mel:mpn,mercury:gpn,mipsasm:vpn,mizar:bpn,mojolicious:ypn,monkey:_pn,moonscript:Spn,n1ql:Epn,nestedtext:Cpn,nginx:wpn,nim:Tpn,nix:xpn,"node-repl":Opn,nsis:Rpn,ocaml:Ipn,openscad:Apn,oxygene:Npn,parser3:Mpn,pf:kpn,pgsql:Ppn,pony:Dpn,powershell:Lpn,processing:$pn,profile:Fpn,prolog:Bpn,properties:jpn,protobuf:Hpn,puppet:Upn,purebasic:zpn,q:Vpn,qml:Gpn,reasonml:Wpn,rib:qpn,roboconf:Ypn,routeros:Kpn,rsl:Qpn,ruleslanguage:Xpn,sas:Zpn,scala:Jpn,scheme:ehn,scilab:thn,smali:nhn,smalltalk:rhn,sml:ihn,sqf:ohn,stan:ahn,stata:shn,step21:lhn,stylus:vhn,subunit:bhn,taggerscript:yhn,tap:_hn,tcl:Shn,thrift:Ehn,tp:Chn,twig:whn,vala:Thn,vbscript:xhn,"vbscript-html":Ohn,verilog:Rhn,vhdl:Ihn,vim:Ahn,wren:Nhn,x86asm:Mhn,xl:khn,xquery:Phn,zephir:Dhn};function S5e(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const n=e[t],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&S5e(n)}),e}class lpe{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function E5e(e){return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Vm(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const ign="",cpe=e=>!!e.scope,ogn=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`};class agn{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=E5e(t)}openNode(t){if(!cpe(t))return;const n=ogn(t.scope,{prefix:this.classPrefix});this.span(n)}closeNode(t){cpe(t)&&(this.buffer+=ign)}value(){return this.buffer}span(t){this.buffer+=``}}const upe=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class QX{constructor(){this.rootNode=upe(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n=upe({scope:t});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{QX._collapse(n)}))}}class sgn extends QX{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,n){const r=t.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new agn(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Ex(e){return e?typeof e=="string"?e:e.source:null}function C5e(e){return B0("(?=",e,")")}function lgn(e){return B0("(?:",e,")*")}function cgn(e){return B0("(?:",e,")?")}function B0(...e){return e.map(t=>Ex(t)).join("")}function ugn(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function XX(...e){return"("+(ugn(e).capture?"":"?:")+e.map(t=>Ex(t)).join("|")+")"}function w5e(e){return new RegExp(e.toString()+"|").exec("").length-1}function dgn(e,t){const n=e&&e.exec(t);return n&&n.index===0}const fgn=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ZX(e,{joinWith:t}){let n=0;return e.map(r=>{n+=1;const i=n;let o=Ex(r),a="";for(;o.length>0;){const s=fgn.exec(o);if(!s){a+=o;break}a+=o.substring(0,s.index),o=o.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?a+="\\"+String(Number(s[1])+i):(a+=s[0],s[0]==="("&&n++)}return a}).map(r=>`(${r})`).join(t)}const pgn=/\b\B/,T5e="[a-zA-Z]\\w*",JX="[a-zA-Z_]\\w*",x5e="\\b\\d+(\\.\\d+)?",O5e="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",R5e="\\b(0b[01]+)",hgn="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",mgn=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=B0(t,/.*\b/,e.binary,/\b.*/)),Vm({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},Cx={begin:"\\\\[\\s\\S]",relevance:0},ggn={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Cx]},vgn={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Cx]},bgn={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},I9=function(e,t,n={}){const r=Vm({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=XX("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:B0(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},ygn=I9("//","$"),_gn=I9("/\\*","\\*/"),Sgn=I9("#","$"),Egn={scope:"number",begin:x5e,relevance:0},Cgn={scope:"number",begin:O5e,relevance:0},wgn={scope:"number",begin:R5e,relevance:0},Tgn={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Cx,{begin:/\[/,end:/\]/,relevance:0,contains:[Cx]}]},xgn={scope:"title",begin:T5e,relevance:0},Ogn={scope:"title",begin:JX,relevance:0},Rgn={begin:"\\.\\s*"+JX,relevance:0},Ign=function(e){return Object.assign(e,{"on:begin":(t,n)=>{n.data._beginMatch=t[1]},"on:end":(t,n)=>{n.data._beginMatch!==t[1]&&n.ignoreMatch()}})};var II=Object.freeze({__proto__:null,APOS_STRING_MODE:ggn,BACKSLASH_ESCAPE:Cx,BINARY_NUMBER_MODE:wgn,BINARY_NUMBER_RE:R5e,COMMENT:I9,C_BLOCK_COMMENT_MODE:_gn,C_LINE_COMMENT_MODE:ygn,C_NUMBER_MODE:Cgn,C_NUMBER_RE:O5e,END_SAME_AS_BEGIN:Ign,HASH_COMMENT_MODE:Sgn,IDENT_RE:T5e,MATCH_NOTHING_RE:pgn,METHOD_GUARD:Rgn,NUMBER_MODE:Egn,NUMBER_RE:x5e,PHRASAL_WORDS_MODE:bgn,QUOTE_STRING_MODE:vgn,REGEXP_MODE:Tgn,RE_STARTERS_RE:hgn,SHEBANG:mgn,TITLE_MODE:xgn,UNDERSCORE_IDENT_RE:JX,UNDERSCORE_TITLE_MODE:Ogn});function Agn(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function Ngn(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function Mgn(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=Agn,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function kgn(e,t){Array.isArray(e.illegal)&&(e.illegal=XX(...e.illegal))}function Pgn(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function Dgn(e,t){e.relevance===void 0&&(e.relevance=1)}const Lgn=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},e);Object.keys(e).forEach(r=>{delete e[r]}),e.keywords=n.keywords,e.begin=B0(n.beforeMatch,C5e(n.begin)),e.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},e.relevance=0,delete n.beforeMatch},$gn=["of","and","for","in","not","or","if","then","parent","list","value"],Fgn="keyword";function I5e(e,t,n=Fgn){const r=Object.create(null);return typeof e=="string"?i(n,e.split(" ")):Array.isArray(e)?i(n,e):Object.keys(e).forEach(function(o){Object.assign(r,I5e(e[o],t,o))}),r;function i(o,a){t&&(a=a.map(s=>s.toLowerCase())),a.forEach(function(s){const l=s.split("|");r[l[0]]=[o,Bgn(l[0],l[1])]})}}function Bgn(e,t){return t?Number(t):jgn(e)?0:1}function jgn(e){return $gn.includes(e.toLowerCase())}const dpe={},xv=e=>{console.error(e)},fpe=(e,...t)=>{console.log(`WARN: ${e}`,...t)},_b=(e,t)=>{dpe[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),dpe[`${e}/${t}`]=!0)},D4=new Error;function A5e(e,t,{key:n}){let r=0;const i=e[n],o={},a={};for(let s=1;s<=t.length;s++)a[s+r]=i[s],o[s+r]=!0,r+=w5e(t[s-1]);e[n]=a,e[n]._emit=o,e[n]._multi=!0}function Hgn(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw xv("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),D4;if(typeof e.beginScope!="object"||e.beginScope===null)throw xv("beginScope must be object"),D4;A5e(e,e.begin,{key:"beginScope"}),e.begin=ZX(e.begin,{joinWith:""})}}function Ugn(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw xv("skip, excludeEnd, returnEnd not compatible with endScope: {}"),D4;if(typeof e.endScope!="object"||e.endScope===null)throw xv("endScope must be object"),D4;A5e(e,e.end,{key:"endScope"}),e.end=ZX(e.end,{joinWith:""})}}function zgn(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function Vgn(e){zgn(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),Hgn(e),Ugn(e)}function Ggn(e){function t(a,s){return new RegExp(Ex(a),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(s?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,s]),this.matchAt+=w5e(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(l=>l[1]);this.matcherRe=t(ZX(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(s);if(!l)return null;const c=l.findIndex((d,f)=>f>0&&d!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const l=new n;return this.rules.slice(s).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[s]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,l){this.rules.push([s,l]),l.type==="begin"&&this.count++}exec(s){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(s);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(s)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function i(a){const s=new r;return a.contains.forEach(l=>s.addRule(l.begin,{rule:l,type:"begin"})),a.terminatorEnd&&s.addRule(a.terminatorEnd,{type:"end"}),a.illegal&&s.addRule(a.illegal,{type:"illegal"}),s}function o(a,s){const l=a;if(a.isCompiled)return l;[Ngn,Pgn,Vgn,Lgn].forEach(u=>u(a,s)),e.compilerExtensions.forEach(u=>u(a,s)),a.__beforeBegin=null,[Mgn,kgn,Dgn].forEach(u=>u(a,s)),a.isCompiled=!0;let c=null;return typeof a.keywords=="object"&&a.keywords.$pattern&&(a.keywords=Object.assign({},a.keywords),c=a.keywords.$pattern,delete a.keywords.$pattern),c=c||/\w+/,a.keywords&&(a.keywords=I5e(a.keywords,e.case_insensitive)),l.keywordPatternRe=t(c,!0),s&&(a.begin||(a.begin=/\B|\b/),l.beginRe=t(l.begin),!a.end&&!a.endsWithParent&&(a.end=/\B|\b/),a.end&&(l.endRe=t(l.end)),l.terminatorEnd=Ex(l.end)||"",a.endsWithParent&&s.terminatorEnd&&(l.terminatorEnd+=(a.end?"|":"")+s.terminatorEnd)),a.illegal&&(l.illegalRe=t(a.illegal)),a.contains||(a.contains=[]),a.contains=[].concat(...a.contains.map(function(u){return Wgn(u==="self"?a:u)})),a.contains.forEach(function(u){o(u,l)}),a.starts&&o(a.starts,s),l.matcher=i(l),l}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Vm(e.classNameAliases||{}),o(e)}function N5e(e){return e?e.endsWithParent||N5e(e.starts):!1}function Wgn(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Vm(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:N5e(e)?Vm(e,{starts:e.starts?Vm(e.starts):null}):Object.isFrozen(e)?Vm(e):e}var qgn="11.11.1";class Ygn extends Error{constructor(t,n){super(t),this.name="HTMLInjectionError",this.html=n}}const r7=E5e,ppe=Vm,hpe=Symbol("nomatch"),Kgn=7,M5e=function(e){const t=Object.create(null),n=Object.create(null),r=[];let i=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",a={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:sgn};function l(k){return s.noHighlightRe.test(k)}function c(k){let N=k.className+" ";N+=k.parentNode?k.parentNode.className:"";const L=s.languageDetectRe.exec(N);if(L){const V=T(L[1]);return V||(fpe(o.replace("{}",L[1])),fpe("Falling back to no-highlight mode for this block.",k)),V?L[1]:"no-highlight"}return N.split(/\s+/).find(V=>l(V)||T(V))}function u(k,N,L){let V="",$="";typeof N=="object"?(V=k,L=N.ignoreIllegals,$=N.language):(_b("10.7.0","highlight(lang, code, ...args) has been deprecated."),_b("10.7.0",`Please use highlight(code, options) instead. https://github.com/highlightjs/highlight.js/issues/2277`),$=k,V=N),L===void 0&&(L=!0);const W={code:V,language:$};B("before:highlight",W);const j=W.result?W.result:d(W.language,W.code,L);return j.code=W.code,B("after:highlight",j),j}function d(k,N,L,V){const $=Object.create(null);function W(z,D){return z.keywords[D]}function j(){if(!Ce.keywords){Se.addText(me);return}let z=0;Ce.keywordPatternRe.lastIndex=0;let D=Ce.keywordPatternRe.exec(me),q="";for(;D;){q+=me.substring(z,D.index);const oe=ne.case_insensitive?D[0].toLowerCase():D[0],ye=W(Ce,oe);if(ye){const[ce,Be]=ye;if(Se.addText(q),q="",$[oe]=($[oe]||0)+1,$[oe]<=Kgn&&(be+=Be),ce.startsWith("_"))q+=D[0];else{const Ve=ne.classNameAliases[ce]||ce;te(D[0],Ve)}}else q+=D[0];z=Ce.keywordPatternRe.lastIndex,D=Ce.keywordPatternRe.exec(me)}q+=me.substring(z),Se.addText(q)}function U(){if(me==="")return;let z=null;if(typeof Ce.subLanguage=="string"){if(!t[Ce.subLanguage]){Se.addText(me);return}z=d(Ce.subLanguage,me,!0,Te[Ce.subLanguage]),Te[Ce.subLanguage]=z._top}else z=h(me,Ce.subLanguage.length?Ce.subLanguage:null);Ce.relevance>0&&(be+=z.relevance),Se.__addSublanguage(z._emitter,z.language)}function Z(){Ce.subLanguage!=null?U():j(),me=""}function te(z,D){z!==""&&(Se.startScope(D),Se.addText(z),Se.endScope())}function ae(z,D){let q=1;const oe=D.length-1;for(;q<=oe;){if(!z._emit[q]){q++;continue}const ye=ne.classNameAliases[z[q]]||z[q],ce=D[q];ye?te(ce,ye):(me=ce,j(),me=""),q++}}function K(z,D){return z.scope&&typeof z.scope=="string"&&Se.openNode(ne.classNameAliases[z.scope]||z.scope),z.beginScope&&(z.beginScope._wrap?(te(me,ne.classNameAliases[z.beginScope._wrap]||z.beginScope._wrap),me=""):z.beginScope._multi&&(ae(z.beginScope,D),me="")),Ce=Object.create(z,{parent:{value:Ce}}),Ce}function Q(z,D,q){let oe=dgn(z.endRe,q);if(oe){if(z["on:end"]){const ye=new lpe(z);z["on:end"](D,ye),ye.isMatchIgnored&&(oe=!1)}if(oe){for(;z.endsParent&&z.parent;)z=z.parent;return z}}if(z.endsWithParent)return Q(z.parent,D,q)}function ie(z){return Ce.matcher.regexIndex===0?(me+=z[0],1):(De=!0,0)}function he(z){const D=z[0],q=z.rule,oe=new lpe(q),ye=[q.__beforeBegin,q["on:begin"]];for(const ce of ye)if(ce&&(ce(z,oe),oe.isMatchIgnored))return ie(D);return q.skip?me+=D:(q.excludeBegin&&(me+=D),Z(),!q.returnBegin&&!q.excludeBegin&&(me=D)),K(q,z),q.returnBegin?0:D.length}function pe(z){const D=z[0],q=N.substring(z.index),oe=Q(Ce,z,q);if(!oe)return hpe;const ye=Ce;Ce.endScope&&Ce.endScope._wrap?(Z(),te(D,Ce.endScope._wrap)):Ce.endScope&&Ce.endScope._multi?(Z(),ae(Ce.endScope,z)):ye.skip?me+=D:(ye.returnEnd||ye.excludeEnd||(me+=D),Z(),ye.excludeEnd&&(me=D));do Ce.scope&&Se.closeNode(),!Ce.skip&&!Ce.subLanguage&&(be+=Ce.relevance),Ce=Ce.parent;while(Ce!==oe.parent);return oe.starts&&K(oe.starts,z),ye.returnEnd?0:D.length}function le(){const z=[];for(let D=Ce;D!==ne;D=D.parent)D.scope&&z.unshift(D.scope);z.forEach(D=>Se.openNode(D))}let de={};function ve(z,D){const q=D&&D[0];if(me+=z,q==null)return Z(),0;if(de.type==="begin"&&D.type==="end"&&de.index===D.index&&q===""){if(me+=N.slice(D.index,D.index+1),!i){const oe=new Error(`0 width match regex (${k})`);throw oe.languageName=k,oe.badRule=de.rule,oe}return 1}if(de=D,D.type==="begin")return he(D);if(D.type==="illegal"&&!L){const oe=new Error('Illegal lexeme "'+q+'" for mode "'+(Ce.scope||"")+'"');throw oe.mode=Ce,oe}else if(D.type==="end"){const oe=pe(D);if(oe!==hpe)return oe}if(D.type==="illegal"&&q==="")return me+=` -`,1;if(Re>1e5&&Re>D.index*3)throw new Error("potential infinite loop, way more iterations than matches");return me+=q,q.length}const ne=T(k);if(!ne)throw xv(o.replace("{}",k)),new Error('Unknown language: "'+k+'"');const ue=Ggn(ne);let ge="",Ce=V||ue;const Te={},Se=new s.__emitter(s);le();let me="",be=0,_e=0,Re=0,De=!1;try{if(ne.__emitTokens)ne.__emitTokens(N,Se);else{for(Ce.matcher.considerAll();;){Re++,De?De=!1:Ce.matcher.considerAll(),Ce.matcher.lastIndex=_e;const z=Ce.matcher.exec(N);if(!z)break;const D=N.substring(_e,z.index),q=ve(D,z);_e=z.index+q}ve(N.substring(_e))}return Se.finalize(),ge=Se.toHTML(),{language:k,value:ge,relevance:be,illegal:!1,_emitter:Se,_top:Ce}}catch(z){if(z.message&&z.message.includes("Illegal"))return{language:k,value:r7(N),illegal:!0,relevance:0,_illegalBy:{message:z.message,index:_e,context:N.slice(_e-100,_e+100),mode:z.mode,resultSoFar:ge},_emitter:Se};if(i)return{language:k,value:r7(N),illegal:!1,relevance:0,errorRaised:z,_emitter:Se,_top:Ce};throw z}}function f(k){const N={value:r7(k),illegal:!1,relevance:0,_top:a,_emitter:new s.__emitter(s)};return N._emitter.addText(k),N}function h(k,N){N=N||s.languages||Object.keys(t);const L=f(k),V=N.filter(T).filter(x).map(Z=>d(Z,k,!1));V.unshift(L);const $=V.sort((Z,te)=>{if(Z.relevance!==te.relevance)return te.relevance-Z.relevance;if(Z.language&&te.language){if(T(Z.language).supersetOf===te.language)return 1;if(T(te.language).supersetOf===Z.language)return-1}return 0}),[W,j]=$,U=W;return U.secondBest=j,U}function m(k,N,L){const V=N&&n[N]||L;k.classList.add("hljs"),k.classList.add(`language-${V}`)}function g(k){let N=null;const L=c(k);if(l(L))return;if(B("before:highlightElement",{el:k,language:L}),k.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",k);return}if(k.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(k)),s.throwUnescapedHTML))throw new Ygn("One of your code blocks includes unescaped HTML.",k.innerHTML);N=k;const V=N.textContent,$=L?u(V,{language:L,ignoreIllegals:!0}):h(V);k.innerHTML=$.value,k.dataset.highlighted="yes",m(k,L,$.language),k.result={language:$.language,re:$.relevance,relevance:$.relevance},$.secondBest&&(k.secondBest={language:$.secondBest.language,relevance:$.secondBest.relevance}),B("after:highlightElement",{el:k,result:$,text:V})}function v(k){s=ppe(s,k)}const y=()=>{E(),_b("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function b(){E(),_b("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let _=!1;function E(){function k(){E()}if(document.readyState==="loading"){_||window.addEventListener("DOMContentLoaded",k,!1),_=!0;return}document.querySelectorAll(s.cssSelector).forEach(g)}function C(k,N){let L=null;try{L=N(e)}catch(V){if(xv("Language definition for '{}' could not be registered.".replace("{}",k)),i)xv(V);else throw V;L=a}L.name||(L.name=k),t[k]=L,L.rawDefinition=N.bind(null,e),L.aliases&&O(L.aliases,{languageName:k})}function S(k){delete t[k];for(const N of Object.keys(n))n[N]===k&&delete n[N]}function w(){return Object.keys(t)}function T(k){return k=(k||"").toLowerCase(),t[k]||t[n[k]]}function O(k,{languageName:N}){typeof k=="string"&&(k=[k]),k.forEach(L=>{n[L.toLowerCase()]=N})}function x(k){const N=T(k);return N&&!N.disableAutodetect}function A(k){k["before:highlightBlock"]&&!k["before:highlightElement"]&&(k["before:highlightElement"]=N=>{k["before:highlightBlock"](Object.assign({block:N.el},N))}),k["after:highlightBlock"]&&!k["after:highlightElement"]&&(k["after:highlightElement"]=N=>{k["after:highlightBlock"](Object.assign({block:N.el},N))})}function I(k){A(k),r.push(k)}function M(k){const N=r.indexOf(k);N!==-1&&r.splice(N,1)}function B(k,N){const L=k;r.forEach(function(V){V[L]&&V[L](N)})}function P(k){return _b("10.7.0","highlightBlock will be removed entirely in v12.0"),_b("10.7.0","Please use highlightElement now."),g(k)}Object.assign(e,{highlight:u,highlightAuto:h,highlightAll:E,highlightElement:g,highlightBlock:P,configure:v,initHighlighting:y,initHighlightingOnLoad:b,registerLanguage:C,unregisterLanguage:S,listLanguages:w,getLanguage:T,registerAliases:O,autoDetection:x,inherit:ppe,addPlugin:I,removePlugin:M}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=qgn,e.regex={concat:B0,lookahead:CPe,either:XX,optional:cgn,anyNumberOfTimes:lgn};for(const k in II)typeof II[k]=="object"&&SPe(II[k]);return Object.assign(e,II),e},K_=MPe({});K_.newInstance=()=>MPe({});var Qgn=K_;K_.HighlightJS=K_;K_.default=K_;const Xgn=C9(Qgn),mpe={},Zgn="hljs-";function Jgn(e){const t=Xgn.newInstance();return e&&o(e),{highlight:n,highlightAuto:r,listLanguages:i,register:o,registerAlias:a,registered:s};function n(l,c,u){const d=u||mpe,f=typeof d.prefix=="string"?d.prefix:Zgn;if(!t.getLanguage(l))throw new Error("Unknown language: `"+l+"` is not registered");t.configure({__emitter:e1n,classPrefix:f});const h=t.highlight(c,{ignoreIllegals:!0,language:l});if(h.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:h.errorRaised});const m=h._emitter.root,g=m.data;return g.language=h.language,g.relevance=h.relevance,m}function r(l,c){const u=(c||mpe).subset||i();let d=-1,f=0,h;for(;++df&&(f=g.data.relevance,h=g)}return h||{type:"root",children:[],data:{language:void 0,relevance:f}}}function i(){return t.listLanguages()}function o(l,c){if(typeof l=="string")t.registerLanguage(l,c);else{let u;for(u in l)Object.hasOwn(l,u)&&t.registerLanguage(u,l[u])}}function a(l,c){if(typeof l=="string")t.registerAliases(typeof c=="string"?c:[...c],{languageName:l});else{let u;for(u in l)if(Object.hasOwn(l,u)){const d=l[u];t.registerAliases(typeof d=="string"?d:[...d],{languageName:u})}}}function s(l){return!!t.getLanguage(l)}}class e1n{constructor(t){this.options=t,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(t){if(t==="")return;const n=this.stack[this.stack.length-1],r=n.children[n.children.length-1];r&&r.type==="text"?r.value+=t:n.children.push({type:"text",value:t})}startScope(t){this.openNode(String(t))}endScope(){this.closeNode()}__addSublanguage(t,n){const r=this.stack[this.stack.length-1],i=t.root.children;n?r.children.push({type:"element",tagName:"span",properties:{className:[n]},children:i}):r.children.push(...i)}openNode(t){const n=this,r=t.split(".").map(function(a,s){return s?a+"_".repeat(s):n.options.classPrefix+a}),i=this.stack[this.stack.length-1],o={type:"element",tagName:"span",properties:{className:r},children:[]};i.children.push(o),this.stack.push(o)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const t1n=/!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\)/,gpe=new $i("aie-video-plugin"),sC="video_action",n1n=wo.create({name:"video",group:"block",addAttributes(){return{src:{default:null,parseHTML:e=>{const t=e.getAttribute("src");if(t)return t;const n=e.querySelector("source");return n?n.getAttribute("src"):null},renderHTML:e=>({src:e.src})},poster:{default:null,parseHTML:e=>e.getAttribute("poster"),renderHTML:e=>({poster:e.poster})},width:{default:350,parseHTML:e=>`${e.getAttribute("width")??""}`},controls:{default:!0,parseHTML:e=>`${e.getAttribute("controls")??"true"}`}}},parseHTML(){return[{tag:"video",getAttrs:e=>({src:e.getAttribute("src"),poster:e.getAttribute("poster")})}]},renderHTML({HTMLAttributes:e}){return["video",{controls:"true",...e,src:null},["source",{src:e.src}]]},addCommands(){return{setVideo:e=>({commands:t})=>t.insertContent(`
- `,r.addEventListener("click",l=>{const c=l.target.closest(".item");if(c){const u=Number(c.getAttribute("data-index"));a.command({index:u,event:l,aiItem:u>n?a.items[u-n-1]:null})}})};return{onStart:l=>{r=document.createElement("div"),r.classList.add("suggestion"),a=l,l.clientRect&&(s(),i=So("body",{getReferenceClientRect:l.clientRect,appendTo:()=>l.editor.view.dom.closest(".aie-container"),content:r,showOnCreate:!0,interactive:!0,allowHTML:!0,trigger:"manual",placement:"right-start",arrow:!1})[0])},onUpdate(l){a=l,l.clientRect&&(i==null||i.setProps({getReferenceClientRect:l.clientRect}))},onKeyDown(l){return l.event.key==="Escape"?(i==null||i.hide(),!0):l.event.key==="ArrowUp"?(o<=n?(o-=t,o<0&&(o=n+a.items.length)):(o-=1,o<0&&(o=n+a.items.length)),s(),!0):l.event.key==="ArrowDown"?(on&&(o=n+1)):(o+=1,o>n+a.items.length&&(o=0)),s(),!0):l.event.key==="ArrowLeft"?(o-=1,o<0&&(o=n+a.items.length),s(),!0):l.event.key==="ArrowRight"?(o+=1,o>n+a.items.length&&(o=0),s(),!0):l.event.key==="Enter"?(a.command({index:o,event:l.event,aiItem:o>n?a.items[o-n-1]:null}),!0):!1},onExit(){i==null||i.destroy(),r.remove()}}}}}},addProseMirrorPlugins(){return[LPe({editor:this.editor,...this.options.suggestion})]}}),K1n=gi.create({addProseMirrorPlugins(){const e=this.editor;return[new Ei({key:new $i("selection-marker"),props:{decorations(t){return t.selection.empty||e.isFocused||!e.isEditable?null:Ci.create(t.doc,[na.inline(t.selection.from,t.selection.to,{class:"selection-marker"})])}}})]}}),o7=e=>{const t=document.createElement("div");return t.innerHTML=e,t.firstElementChild},Q1n=(e,t)=>{const n=new RegExp(`<${t}[^>]*>(.*?)`,"gi");return e.replace(n,(r,i)=>i)},X1n=(e,t)=>{for(let n of t)e=Q1n(e,n);return e},Z1n=(e,t,n)=>{function r(c){const u=document.createDocumentFragment();for(;c.firstChild;){const d=c.removeChild(c.firstChild),f=i(d);f&&u.appendChild(f)}return u}function i(c){var u;if(c.nodeType===Node.ELEMENT_NODE){const d=c;if(t.includes(d.tagName.toLowerCase())){if(!((u=d.textContent)!=null&&u.trim()))return d;for(;d.attributes.length>0;)d.removeAttribute(d.attributes[0].name);return d.appendChild(r(d)),d}else return r(d)}else if(c.nodeType===Node.TEXT_NODE&&c.textContent&&c.textContent.trim().length>0)return c;return null}function o(c){const u=c.querySelectorAll("br");for(let d=0;dv.appendChild(y)),f.replaceWith(v),h.remove(),d++}}}e=e.replace(/(\n)/gm," ");const a=new DOMParser().parseFromString(e,"text/html"),s=i(a.body),l=document.createElement("div");return s&&(l.appendChild(s),o(l)),l.innerHTML},J1n=e=>{var t;const n=e.documentElement.getAttributeNames();if(n&&n.length>0)for(let o of n){const a=e.documentElement.getAttribute(o);if(a!=null&&a.includes("microsoft")||a!=null&&a.includes("excel"))return!0}let r=e.getElementsByTagName("meta");for(let o of r){let a=o.getAttribute("name"),s=o.getAttribute("content");if(a&&a.toLowerCase()==="generator"&&(s!=null&&s.includes("Microsoft")||s!=null&&s.includes("LibreOffice")||s!=null&&s.includes("OpenOffice")))return!0}const i=(t=e.body.innerHTML)==null?void 0:t.trim();return!!(i!=null&&i.startsWith(""))},evn=e=>{const t=document.createElement("div");return t.innerHTML=e,t.querySelectorAll("p").forEach(n=>{(!n.textContent||n.textContent.trim()==="")&&(n.querySelector("img")||n.remove())}),t.innerHTML},tvn=e=>["table","thead","tbody","tr","th","td","ul","ol","li","pre","blockquote","figure","iframe","video","audio","svg","math","embed"].includes(e.tagName.toLowerCase()),nvn=e=>{const t=new DOMParser().parseFromString(e,"text/html"),n=document.createDocumentFragment(),r=t.body.children;for(let o of r){if(tvn(o)){n.appendChild(o.cloneNode(!0));continue}o.hasAttribute("data-pm-slice")?o.childNodes.forEach(a=>{n.appendChild(a.cloneNode(!0))}):n.appendChild(o.cloneNode(!0))}const i=document.createElement("div");return i.appendChild(n),i.innerHTML},jV=e=>{if(!e)return"";const t=new DOMParser().parseFromString(e,"text/html"),n=t.querySelectorAll("ul");n&&n.forEach(a=>{var s;if((s=a.getAttribute("class"))!=null&&s.includes("task-list")){a.getAttributeNames().forEach(c=>{a.removeAttribute(c)}),a.setAttribute("data-type","taskList");const l=a.firstElementChild;if((l==null?void 0:l.tagName)==="P"){const c=document.createDocumentFragment();l.childNodes.forEach(u=>{c.append(u.cloneNode(!0))}),l.replaceWith(c)}a.querySelectorAll("li").forEach(c=>{c.getAttributeNames().forEach(d=>{a.removeAttribute(d)});const u=c.querySelector("input[type='checkbox']");u&&(c.setAttribute("data-type","taskItem"),c.setAttribute("data-checked",u.hasAttribute("checked")?"true":"false"))})}});const r=t.querySelectorAll("li");r&&r.forEach(a=>{a.innerHTML||(a.innerHTML="

")});const i=t.querySelectorAll("body>p>img");if(i.length>0){const a=t.querySelector("body");for(const s of i){const l=s.parentNode,c=Array.prototype.indexOf.call(a.children,l);a.insertBefore(s,a.children[c])}}let o="";return t.body.childNodes.forEach(a=>{if(a.nodeType===Node.TEXT_NODE)o+=a.textContent;else if(a.nodeType===Node.ELEMENT_NODE){const s=a;s===t.body.firstChild&&s.tagName==="P"||s.querySelector("img")&&s.tagName!=="A"?o+=s.innerHTML:o+=s.outerHTML}}),o},$Pe=["info","warning","danger"],rvn=/^:::([a-z]+)?[\s\n]$/,ivn=wo.create({name:"container",group:"block",content:"block+",defining:!0,addOptions(){return{HTMLAttributes:{class:"container-wrapper"},typeItems:$Pe,defaultType:null}},addAttributes(){return{containerClass:{default:this.options.defaultType,parseHTML:e=>{for(let t of e.classList)if(t!="container-wrapper")return t},renderHTML:e=>({class:e.containerClass})}}},parseHTML(){return[{tag:"div.container-wrapper"}]},renderHTML({HTMLAttributes:e}){return["div",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setContainer:e=>({commands:t})=>(e||(e=this.options.defaultType),t.wrapIn(this.name,{containerClass:e})),toggleContainer:e=>({commands:t})=>(e||(e=this.options.defaultType),t.toggleWrap(this.name,{containerClass:e})),unsetContainer:()=>({commands:e})=>e.lift(this.name)}},addInputRules(){return[o0({find:rvn,type:this.type,getAttributes:e=>({containerClass:e[1]})})]},addNodeView(){return({node:e,editor:t})=>{const n=document.createElement("div");n.classList.add("container-wrapper"),n.classList.add(e.attrs.containerClass);let r=n,i=null;if(t.isEditable){n.style.position="relative",n.appendChild(o7(`
+ `,r.addEventListener("click",l=>{const c=l.target.closest(".item");if(c){const u=Number(c.getAttribute("data-index"));a.command({index:u,event:l,aiItem:u>n?a.items[u-n-1]:null})}})};return{onStart:l=>{r=document.createElement("div"),r.classList.add("suggestion"),a=l,l.clientRect&&(s(),i=So("body",{getReferenceClientRect:l.clientRect,appendTo:()=>l.editor.view.dom.closest(".aie-container"),content:r,showOnCreate:!0,interactive:!0,allowHTML:!0,trigger:"manual",placement:"right-start",arrow:!1})[0])},onUpdate(l){a=l,l.clientRect&&(i==null||i.setProps({getReferenceClientRect:l.clientRect}))},onKeyDown(l){return l.event.key==="Escape"?(i==null||i.hide(),!0):l.event.key==="ArrowUp"?(o<=n?(o-=t,o<0&&(o=n+a.items.length)):(o-=1,o<0&&(o=n+a.items.length)),s(),!0):l.event.key==="ArrowDown"?(on&&(o=n+1)):(o+=1,o>n+a.items.length&&(o=0)),s(),!0):l.event.key==="ArrowLeft"?(o-=1,o<0&&(o=n+a.items.length),s(),!0):l.event.key==="ArrowRight"?(o+=1,o>n+a.items.length&&(o=0),s(),!0):l.event.key==="Enter"?(a.command({index:o,event:l.event,aiItem:o>n?a.items[o-n-1]:null}),!0):!1},onExit(){i==null||i.destroy(),r.remove()}}}}}},addProseMirrorPlugins(){return[L5e({editor:this.editor,...this.options.suggestion})]}}),K1n=gi.create({addProseMirrorPlugins(){const e=this.editor;return[new Ei({key:new $i("selection-marker"),props:{decorations(t){return t.selection.empty||e.isFocused||!e.isEditable?null:Ci.create(t.doc,[na.inline(t.selection.from,t.selection.to,{class:"selection-marker"})])}}})]}}),o7=e=>{const t=document.createElement("div");return t.innerHTML=e,t.firstElementChild},Q1n=(e,t)=>{const n=new RegExp(`<${t}[^>]*>(.*?)`,"gi");return e.replace(n,(r,i)=>i)},X1n=(e,t)=>{for(let n of t)e=Q1n(e,n);return e},Z1n=(e,t,n)=>{function r(c){const u=document.createDocumentFragment();for(;c.firstChild;){const d=c.removeChild(c.firstChild),f=i(d);f&&u.appendChild(f)}return u}function i(c){var u;if(c.nodeType===Node.ELEMENT_NODE){const d=c;if(t.includes(d.tagName.toLowerCase())){if(!((u=d.textContent)!=null&&u.trim()))return d;for(;d.attributes.length>0;)d.removeAttribute(d.attributes[0].name);return d.appendChild(r(d)),d}else return r(d)}else if(c.nodeType===Node.TEXT_NODE&&c.textContent&&c.textContent.trim().length>0)return c;return null}function o(c){const u=c.querySelectorAll("br");for(let d=0;dv.appendChild(y)),f.replaceWith(v),h.remove(),d++}}}e=e.replace(/(\n)/gm," ");const a=new DOMParser().parseFromString(e,"text/html"),s=i(a.body),l=document.createElement("div");return s&&(l.appendChild(s),o(l)),l.innerHTML},J1n=e=>{var t;const n=e.documentElement.getAttributeNames();if(n&&n.length>0)for(let o of n){const a=e.documentElement.getAttribute(o);if(a!=null&&a.includes("microsoft")||a!=null&&a.includes("excel"))return!0}let r=e.getElementsByTagName("meta");for(let o of r){let a=o.getAttribute("name"),s=o.getAttribute("content");if(a&&a.toLowerCase()==="generator"&&(s!=null&&s.includes("Microsoft")||s!=null&&s.includes("LibreOffice")||s!=null&&s.includes("OpenOffice")))return!0}const i=(t=e.body.innerHTML)==null?void 0:t.trim();return!!(i!=null&&i.startsWith(""))},evn=e=>{const t=document.createElement("div");return t.innerHTML=e,t.querySelectorAll("p").forEach(n=>{(!n.textContent||n.textContent.trim()==="")&&(n.querySelector("img")||n.remove())}),t.innerHTML},tvn=e=>["table","thead","tbody","tr","th","td","ul","ol","li","pre","blockquote","figure","iframe","video","audio","svg","math","embed"].includes(e.tagName.toLowerCase()),nvn=e=>{const t=new DOMParser().parseFromString(e,"text/html"),n=document.createDocumentFragment(),r=t.body.children;for(let o of r){if(tvn(o)){n.appendChild(o.cloneNode(!0));continue}o.hasAttribute("data-pm-slice")?o.childNodes.forEach(a=>{n.appendChild(a.cloneNode(!0))}):n.appendChild(o.cloneNode(!0))}const i=document.createElement("div");return i.appendChild(n),i.innerHTML},jV=e=>{if(!e)return"";const t=new DOMParser().parseFromString(e,"text/html"),n=t.querySelectorAll("ul");n&&n.forEach(a=>{var s;if((s=a.getAttribute("class"))!=null&&s.includes("task-list")){a.getAttributeNames().forEach(c=>{a.removeAttribute(c)}),a.setAttribute("data-type","taskList");const l=a.firstElementChild;if((l==null?void 0:l.tagName)==="P"){const c=document.createDocumentFragment();l.childNodes.forEach(u=>{c.append(u.cloneNode(!0))}),l.replaceWith(c)}a.querySelectorAll("li").forEach(c=>{c.getAttributeNames().forEach(d=>{a.removeAttribute(d)});const u=c.querySelector("input[type='checkbox']");u&&(c.setAttribute("data-type","taskItem"),c.setAttribute("data-checked",u.hasAttribute("checked")?"true":"false"))})}});const r=t.querySelectorAll("li");r&&r.forEach(a=>{a.innerHTML||(a.innerHTML="

")});const i=t.querySelectorAll("body>p>img");if(i.length>0){const a=t.querySelector("body");for(const s of i){const l=s.parentNode,c=Array.prototype.indexOf.call(a.children,l);a.insertBefore(s,a.children[c])}}let o="";return t.body.childNodes.forEach(a=>{if(a.nodeType===Node.TEXT_NODE)o+=a.textContent;else if(a.nodeType===Node.ELEMENT_NODE){const s=a;s===t.body.firstChild&&s.tagName==="P"||s.querySelector("img")&&s.tagName!=="A"?o+=s.innerHTML:o+=s.outerHTML}}),o},$5e=["info","warning","danger"],rvn=/^:::([a-z]+)?[\s\n]$/,ivn=wo.create({name:"container",group:"block",content:"block+",defining:!0,addOptions(){return{HTMLAttributes:{class:"container-wrapper"},typeItems:$5e,defaultType:null}},addAttributes(){return{containerClass:{default:this.options.defaultType,parseHTML:e=>{for(let t of e.classList)if(t!="container-wrapper")return t},renderHTML:e=>({class:e.containerClass})}}},parseHTML(){return[{tag:"div.container-wrapper"}]},renderHTML({HTMLAttributes:e}){return["div",zr(this.options.HTMLAttributes,e),0]},addCommands(){return{setContainer:e=>({commands:t})=>(e||(e=this.options.defaultType),t.wrapIn(this.name,{containerClass:e})),toggleContainer:e=>({commands:t})=>(e||(e=this.options.defaultType),t.toggleWrap(this.name,{containerClass:e})),unsetContainer:()=>({commands:e})=>e.lift(this.name)}},addInputRules(){return[o0({find:rvn,type:this.type,getAttributes:e=>({containerClass:e[1]})})]},addNodeView(){return({node:e,editor:t})=>{const n=document.createElement("div");n.classList.add("container-wrapper"),n.classList.add(e.attrs.containerClass);let r=n,i=null;if(t.isEditable){n.style.position="relative",n.appendChild(o7(`
`)),r=o7("
"),n.appendChild(r);const o=()=>{const a=o7(`
${cr("type")}
${this.options.typeItems.map(s=>`
`).join("")}
-
`);return a.addEventListener("click",s=>{s.target instanceof HTMLElement&&s.target.classList.contains("aie-container-tools-body-color-box")&&t.commands.updateAttributes(this.name,{containerClass:s.target.getAttribute("title")})}),a};i=So(n.querySelector(".aie-container-tools"),{content:o(),appendTo:()=>n.closest(".aie-container"),placement:"bottom-end",trigger:"click",interactive:!0,arrow:!1,offset:[8,0],aria:{content:null,expanded:!1}})}return{dom:n,contentDOM:r,destroy(){i==null||i.destroy()}}}}}),ovn=v5e.extend({addAttributes(){var e;return{...(e=this.parent)==null?void 0:e.call(this),id:{default:null}}}}),avn=gi.create({name:"saveExt",addKeyboardShortcuts(){return{"Mod-s":({editor:e})=>this.options.onSave?this.options.onSave(e.aiEditor):!1}}}),svn=wo.create({name:"figure",content:"block+",group:"block",defining:!0,draggable:!0,selectable:!0,addOptions(){return{HTMLAttributes:{dir:"auto"}}},parseHTML(){return[{tag:"figure"}]},renderHTML({HTMLAttributes:e}){return["figure",zr(this.options.HTMLAttributes,e),0]}}),lvn=wo.create({name:"figcaption",content:"inline*",group:"block",defining:!0,addOptions(){return{HTMLAttributes:{dir:"auto"}}},parseHTML(){return[{tag:"figcaption"}]},renderHTML({HTMLAttributes:e}){return["figcaption",zr(this.options.HTMLAttributes,e),0]}}),cvn=gi.create({name:"pasteExt",priority:1e3,addProseMirrorPlugins(){return[new Ei({key:new $i("aie-paste"),props:{handlePaste:(e,t)=>{if(e.props.editable&&!e.props.editable(e.state)||!t.clipboardData)return!1;let n=t.clipboardData.getData("text/plain"),r=t.clipboardData.getData("text/html");if(!r&&n){n=n.replace(/\n/g,"
");const i=this.editor.parseMarkdown(n);if(i){const{state:{tr:o},dispatch:a}=e;return a(o.replaceSelection(new Rn(i,0,0)).scrollIntoView()),!0}}else if(r){r=nvn(r);const{options:i}=this.editor.aiEditor;if(i.htmlPasteConfig){if(i.htmlPasteConfig.pasteAsText)r=Z1n(r,["p","br"]);else if(i.htmlPasteConfig.pasteClean){r=X1n(r,["a","span","strong","b","em","i","u"]);const o=new DOMParser().parseFromString(r,"text/html").documentElement.querySelector("body");o&&(o==null||o.querySelectorAll("*").forEach(a=>{a.removeAttribute("style")}),r=o==null?void 0:o.innerHTML)}if(i.htmlPasteConfig.removeEmptyParagraphs!==!1&&(r=evn(r)),i.htmlPasteConfig.pasteProcessor&&(r=i.htmlPasteConfig.pasteProcessor(r)),r)return this.editor.commands.insertContent(r),!0}else if(n&&r){const o=new DOMParser().parseFromString(r,"text/html"),a=o.querySelector("table");if(a&&J1n(o))return this.editor.commands.insertContent(a.outerHTML,{parseOptions:{preserveWhitespace:!1}}),!0}}}}})]}}),uvn=gi.create({name:"className",addOptions(){return{types:["heading","paragraph","container","codeBlock","blockquote","bulletList","orderedList","listItem","taskList","taskItem","image","video","table","iframe"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{class:{defaultValue:"",parseHTML:e=>e.getAttribute("class"),renderHTML:e=>e.class?{class:e.class}:{}}}}]},addCommands(){return{setClassName:(e,t)=>({chain:n})=>!e||!this.options.types.includes(e)?!1:n().updateAttributes(e,{class:t}).run()}},onTransaction({editor:e,transaction:t}){t.steps.length>0&&t.steps.forEach(n=>{if(n instanceof Ea){let r=!1;if(n.getMap().forEach((i,o,a,s)=>{s==a+2&&(r=!0)}),r){const i=n.slice.content.lastChild;i&&!i.textContent&&e.commands.updateAttributes(i.type,{...i.attrs,class:""})}}})}}),dvn=(e,t)=>{var n,r,i,o,a,s,l,c,u,d,f,h,m,g,v,y,b,_,E,C,S,w,T,O,x,A,I,M,B,P,k,N;const L=[fln.configure({codeBlock:!1,heading:!1})];return L.push(pln,mln,gln,ovn,_ln.configure({uploadUrl:(n=t.attachment)==null?void 0:n.uploadUrl,uploadHeaders:(r=t.attachment)==null?void 0:r.uploadHeaders,uploadFormName:(i=t.attachment)==null?void 0:i.uploadFormName,uploader:((o=t.attachment)==null?void 0:o.uploader)||t.uploader,uploaderEvent:(a=t.attachment)==null?void 0:a.uploaderEvent}),Sln,K1n,wln.configure({multicolor:!0}),Tln,xln,Oln,Rln.configure({types:["heading","paragraph"]}),Iln,kln.configure({allowBase64:typeof((s=t.image)==null?void 0:s.allowBase64)>"u"?!0:(l=t.image)==null?void 0:l.allowBase64,defaultSize:((c=t.image)==null?void 0:c.defaultSize)||350,uploadUrl:(u=t.image)==null?void 0:u.uploadUrl,uploadHeaders:(d=t.image)==null?void 0:d.uploadHeaders,uploadFormName:(f=t.image)==null?void 0:f.uploadFormName,uploader:((h=t.image)==null?void 0:h.uploader)||t.uploader,uploaderEvent:(m=t.image)==null?void 0:m.uploaderEvent}),Lcn.configure({resizable:!0,lastColumnResizable:!0,allowTableNodeSelection:!0}),$cn,Hcn,Bcn,Ucn.configure({textCounter:typeof(t==null?void 0:t.textCounter)=="function"?t.textCounter:V=>V.length}),dun.configure({openOnClick:!1,autolink:typeof((g=t.link)==null?void 0:g.autolink)>"u"?!0:(v=t.link)==null?void 0:v.autolink,HTMLAttributes:{ref:(y=t==null?void 0:t.link)==null?void 0:y.rel,class:(b=t==null?void 0:t.link)==null?void 0:b.class}}),fun,pun,hun,gun.configure({nested:!0}),ydn.configure({lowlight:Jgn(rgn),defaultLanguage:"auto",languageClassPrefix:"language-",languages:((_=t.codeBlock)==null?void 0:_.languages)||nPe,codeExplainAi:((C=(E=t.ai)==null?void 0:E.codeBlock)==null?void 0:C.codeExplain)||{model:"auto",prompt:((S=t.codeBlock)==null?void 0:S.codeExplainPrompt)||"帮我对这个代码进行解释,返回代码的解释内容,注意,不需要对代码的注释进行解释"},codeCommentsAi:((T=(w=t.ai)==null?void 0:w.codeBlock)==null?void 0:T.codeComments)||{model:"auto",prompt:((O=t.codeBlock)==null?void 0:O.codeCommentsPrompt)||"帮我对这个代码添加代码注释,并返回添加注释的代码,注意只需要返回代码。"}}),n1n.configure({uploadUrl:(x=t.video)==null?void 0:x.uploadUrl,uploadHeaders:(A=t.video)==null?void 0:A.uploadHeaders,uploadFormName:(I=t.video)==null?void 0:I.uploadFormName,uploader:((M=t.video)==null?void 0:M.uploader)||t.uploader,uploaderEvent:(B=t.video)==null?void 0:B.uploaderEvent}),r1n,svn,lvn,avn.configure({onSave:t.onSave}),cvn,uvn,ivn.configure({defaultType:((P=t.container)==null?void 0:P.defaultType)||"warning",typeItems:((k=t.container)==null?void 0:k.typeItems)||$Pe}),...j1n(e)),t.placeholder&&L.push(H1n.configure({placeholder:t.placeholder})),((N=t.ai)==null?void 0:N.commandsEnable)!==!1&&L.push(Y1n.configure({suggestion:{items:V=>{var $;return(($=t.ai)==null?void 0:$.commands)||q1n}}})),t.onMentionQuery&&L.push(W1n(t.onMentionQuery)),L},fvn={default:"默认",delete:"删除",confirm:"确定",cancel:"取消",resize:"调整大小",type:"类型",undo:"撤销",redo:"重做",brush:"格式刷",container:"高亮块",eraser:"清除格式",heading:"正文/标题","font-family":"字体","font-size":"字号",bold:"加粗",italic:"斜体",underline:"下划线",strike:"删除线",link:"链接","source-code":"源代码",code:"行内代码",subscript:"下标",superscript:"上标",hr:"分割线",todo:"任务列表",emoji:"表情",highlight:"高亮","font-color":"字体颜色",align:"对齐","line-height":"行高","bullet-list":"无序列表","ordered-list":"有序列表","indent-decrease":"减少缩进","indent-increase":"增加缩进",break:"强制换行",image:"图片",video:"视频",attachment:"附件",quote:"引用","code-block":"代码块",table:"表格",printer:"打印",fullscreen:"全屏",ai:"人工智能","menu-group":"菜单组",paragraph:"正文",h1:"标题 1",h2:"标题 2",h3:"标题 3",h4:"标题 4",h5:"标题 5",h6:"标题 6",standardColors:"标准色",historyColors:"最近使用",insertTable:"插入表格",row:"行",column:"列","align-left":"居左对齐","align-right":"居右对齐","align-center":"居中对齐","align-justify":"两端对齐","insert-column-left":"左侧插入列","insert-column-right":"右侧插入列","insert-row-top":"上方插入行","insert-row-bottom":"下方插入行","delete-column":"删除当前列","delete-row":"删除当前行","merge-cells-horizontal":"合并单元格","merge-cells-vertical":"合并单元格","split-cells-horizontal":"解除合并单元格","split-cells-vertical":"解除合并单元格","delete-table":"删除表格","edit-link":"编辑链接",unlink:"取消链接","visit-link":"访问链接","link-address":"链接地址","link-open-type":"打开方式","link-open-blank":"新窗口","default-font-size":"字号","default-font-family":"默认字体","codeblock-ai-auto-comment":"自动注释","codeblock-ai-code-explain":"代码解释","image-property":"图片属性","image-size":"图片大小","image-keep-current":"保持当前","image-original-size":"图片原始大小","placeholder-tell-ai-what-to-do-next":"告诉 AI 下一步应该如何?比如:帮我翻译成英语","tip-you-can-enter-text-above-or-select-the-operation-below":"提示:您可以在上面输入文字或者选择下方的操作","you-can-do-the-following":"您可以进行以下操作:","improve-writing":"改进写作","check-spelling-and-grammar":"检查拼写和语法","make-shorter":"简化内容","make-longer":"丰富内容",translate:"翻译",summarize:"总结","ai-append":"追加","ai-replace":"替换","ai-cancel":"舍弃","ai-continuation":"AI 续写","ai-optimization":"AI 优化","ai-proofreading":"AI 校对","ai-translation":"AI 翻译"},pvn={default:"Default",delete:"Delete",confirm:"Confirm",cancel:"Cancel",resize:"Resize",type:"Type",undo:"Undo",redo:"Redo",brush:"Format Painter",container:"Highlight container",eraser:"clear format",heading:"Paragraph/Heading","font-family":"Font Family","font-size":"Font Size",bold:"Bold",italic:"Italics",underline:"Underline",strike:"Strikethrough",link:"Link","source-code":"Source code",code:"Inline code",subscript:"Subscript",superscript:"Superscript",hr:"Dividing line",todo:"Task list",emoji:"Emoji expression",highlight:"Highlight","font-color":"Font color",align:"Alignment","line-height":"Line height","bullet-list":"Unordered list","ordered-list":"Ordered list","indent-decrease":"Decrease indent","indent-increase":"Increase indent",break:"Force line break",image:"Image",video:"video",attachment:"Attachment",quote:"Quote","code-block":"Code block",table:"Table",printer:"Print",fullscreen:"Full screen",ai:"AI","menu-group":"Menu Group",paragraph:"Paragraph",h1:"H1",h2:"H2",h3:"H3",h4:"H4",h5:"H5",h6:"H6",standardColors:"Standard colors",historyColors:"Recently used colors",insertTable:"Insert Table",row:"Row",column:"Column","align-left":"Align left","align-right":"Align right","align-center":"Align center","align-justify":"Align justify","insert-column-left":"Insert column left","insert-column-right":"Insert column right","insert-row-top":"Insert row top","insert-row-bottom":"Insert row bottom","delete-column":"Delete column","delete-row":"Delete row","merge-cells-horizontal":"Merge cells","merge-cells-vertical":"Merge cells","split-cells-horizontal":"Split cells","split-cells-vertical":"Split cells","delete-table":"Delete table","edit-link":"Edit link",unlink:"Unlink","visit-link":"Visit link","link-address":"Link address","link-open-type":"Open type","link-open-blank":"Blank","default-font-size":"Size","default-font-family":"Default font","codeblock-ai-auto-comment":"auto comment","codeblock-ai-code-explain":"code explain","image-property":"Image property","image-size":"Image size","image-keep-current":"Keep current","image-original-size":"Image original size","placeholder-tell-ai-what-to-do-next":"Tell AI what to do next? e.g., help me translate into English","tip-you-can-enter-text-above-or-select-the-operation-below":"Tip: You can enter text above or select the operation below","you-can-do-the-following":"You can do the following:","improve-writing":"Improve your writing","check-spelling-and-grammar":"Check spelling and grammar","make-shorter":"Make shorter","make-longer":"Make longer",translate:"Translate",summarize:"Summarize","ai-append":"Append","ai-replace":"Replace","ai-cancel":"Cancel","ai-continuation":"Continuation","ai-optimization":"Optimization","ai-proofreading":"Proofreading","ai-translation":"Translation"},hvn={default:"Standard",delete:"Löschen",confirm:"Bestätigen",cancel:"Abbrechen",resize:"Größe ändern",undo:"Rückgängig",redo:"Wiederholen",brush:"Format übertragen",container:"Auswahl hervorheben",eraser:"Format löschen",heading:"Absatz/Überschrift","font-family":"Schriftart","font-size":"Schriftgröße",bold:"Fett",italic:"Kursiv",underline:"Unterstrichen",strike:"Durchgestrichen",link:"Link","source-code":"Quellcode",code:"Inline-Code",subscript:"Tiefgestellt",superscript:"Hochgestellt",hr:"Trennlinie",todo:"Aufgabenliste",emoji:"Emojis",highlight:"Hervorheben","font-color":"Schriftfarbe",align:"Ausrichtung","line-height":"Zeilenhöhe","bullet-list":"Aufzählungsliste","ordered-list":"Nummerierte Liste","indent-decrease":"Einzug verkleinern","indent-increase":"Einzug vergrößern",break:"Zeilenumbruch erzwingen",image:"Bild",video:"Video",attachment:"Anhang",quote:"Zitat","code-block":"Codeblock",table:"Tabelle",printer:"Drucken",fullscreen:"Vollbild",ai:"KI","menu-group":"Menügruppe",paragraph:"Absatz",h1:"Überschrift 1",h2:"Überschrift 2",h3:"Überschrift 3",h4:"Überschrift 4",h5:"Überschrift 5",h6:"Überschrift 6",standardColors:"Standardfarben",historyColors:"Zuletzt verwendete Farben",insertTable:"Tabelle einfügen",row:"Zeile",column:"Spalte","align-left":"Linksbündig","align-right":"Rechtsbündig","align-center":"Zentriert","align-justify":"Blocksatz","insert-column-left":"Spalte links einfügen","insert-column-right":"Spalte rechts einfügen","insert-row-top":"Zeile oben einfügen","insert-row-bottom":"Zeile unten einfügen","delete-column":"Spalte löschen","delete-row":"Zeile löschen","merge-cells-horizontal":"Zellen horizontal verbinden","merge-cells-vertical":"Zellen vertikal verbinden","split-cells-horizontal":"Zellen horizontal teilen","split-cells-vertical":"Zellen vertikal teilen","delete-table":"Tabelle löschen","edit-link":"Link bearbeiten",unlink:"Link entfernen","visit-link":"Link besuchen","link-address":"Link-Adresse","link-open-type":"Link öffnen in...","link-open-blank":"Neues Fenster","default-font-size":"Schriftgröße","default-font-family":"Standardschriftart","codeblock-ai-auto-comment":"Automatischer Kommentar","codeblock-ai-code-explain":"Code-Erklärung","image-property":"Bildeigenschaft","image-size":"Bildgröße","image-keep-current":"Aktuell behalten","image-original-size":"Originalgröße des Bilds","placeholder-tell-ai-what-to-do-next":"Sagen Sie der KI, was als Nächstes zu tun ist, z.B. helfen Sie mir, ins Englische zu übersetzen","tip-you-can-enter-text-above-or-select-the-operation-below":"Tipp: Sie können oben Text eingeben oder die untenstehende Operation auswählen","you-can-do-the-following":"Sie können Folgendes tun:","improve-writing":"Schreiben verbessern","check-spelling-and-grammar":"Rechtschreibung und Grammatik prüfen","make-shorter":"Kürzen","make-longer":"Verlängern",translate:"Übersetzen",summarize:"Zusammenfassen","ai-append":"Anhängen","ai-replace":"Ersetzen","ai-cancel":"Abbrechen","ai-continuation":"Vorschläge für Fortsetzung","ai-optimization":"Optimierung","ai-proofreading":"Korrekturlesen","ai-translation":"Übersetzung"},mvn={default:"Padrão",delete:"Excluir",confirm:"Confirmar",cancel:"Cancelar",resize:"Redimensionar",undo:"Desfazer",redo:"Refazer",brush:"Pincel",container:"Destacar seleção",eraser:"Apagar formatação",heading:"Cabeçalho","font-family":"Fonte","font-size":"Tamanho da fonte",bold:"Negrito",italic:"Itálico",underline:"Sublinhado",strike:"Tachado",link:"Link","source-code":"Código-fonte",code:"Código em linha",subscript:"Subscrito",superscript:"Sobrescrito",hr:"Linha horizontal",todo:"Lista de tarefas",emoji:"Emoji",highlight:"Destacar","font-color":"Cor da fonte",align:"Alinhamento","line-height":"Altura da linha","bullet-list":"Lista com marcadores","ordered-list":"Lista numerada","indent-decrease":"Diminuir recuo","indent-increase":"Aumentar recuo",break:"Quebra de linha",image:"Imagem",video:"Vídeo",attachment:"Anexo",quote:"Citação","code-block":"Bloco de código",table:"Tabela",printer:"Imprimir",fullscreen:"Tela cheia",ai:"IA","menu-group":"Grupo de menu",paragraph:"Parágrafo",h1:"Cabeçalho 1",h2:"Cabeçalho 2",h3:"Cabeçalho 3",h4:"Cabeçalho 4",h5:"Cabeçalho 5",h6:"Cabeçalho 6",standardColors:"Cores padrão",historyColors:"Cores recentes",insertTable:"Inserir tabela",row:"Linha",column:"Coluna","align-left":"Alinhar à esquerda","align-right":"Alinhar à direita","align-center":"Centralizar","align-justify":"Justificar","insert-column-left":"Inserir coluna à esquerda","insert-column-right":"Inserir coluna à direita","insert-row-top":"Inserir linha acima","insert-row-bottom":"Inserir linha abaixo","delete-column":"Excluir coluna","delete-row":"Excluir linha","merge-cells-horizontal":"Mesclar células horizontalmente","merge-cells-vertical":"Mesclar células verticalmente","split-cells-horizontal":"Dividir células horizontalmente","split-cells-vertical":"Dividir células verticalmente","delete-table":"Excluir tabela","edit-link":"Editar link",unlink:"Remover link","visit-link":"Visitar link","link-address":"Endereço do link","link-open-type":"Abrir link em...","link-open-blank":"Nova janela","default-font-size":"Tamanho padrão da fonte","default-font-family":"Fonte padrão","codeblock-ai-auto-comment":"Comentário automático","codeblock-ai-code-explain":"Explicação do código","placeholder-tell-ai-what-to-do-next":"Diga à IA o que fazer a seguir, por exemplo, ajude-me a traduzir para o inglês","tip-you-can-enter-text-above-or-select-the-operation-below":"Dica: Você pode digitar o texto acima ou selecionar a operação abaixo","you-can-do-the-following":"Você pode fazer o seguinte:","improve-writing":"Melhorar escrita","check-spelling-and-grammar":"Verificar ortografia e gramática","make-shorter":"Encurtar","make-longer":"Alongar",translate:"Traduzir",summarize:"Resumir","ai-append":"Anexar","ai-replace":"Substituir","ai-cancel":"Cancelar","ai-continuation":"Sugestões de continuação","ai-optimization":"Otimização","ai-proofreading":"Revisão","ai-translation":"Tradução"},gvn={default:"Predeterminado",delete:"Eliminar",confirm:"Confirmar",cancel:"Cancelar",resize:"Redimensionar",undo:"Deshacer",redo:"Rehacer",brush:"Pincel de formato",container:"Bloque resaltado",eraser:"Borrar formato",heading:"Texto/Título","font-family":"Fuente","font-size":"Tamaño de fuente",bold:"Negrita",italic:"Cursiva",underline:"Subrayado",strike:"Tachado",link:"Enlace","source-code":"Código fuente",code:"Código en línea",subscript:"Subíndice",superscript:"Superíndice",hr:"Línea divisoria",todo:"Lista de tareas",emoji:"Emoji",highlight:"Resaltar","font-color":"Color de fuente",align:"Alinear","line-height":"Altura de línea","bullet-list":"Lista desordenada","ordered-list":"Lista ordenada","indent-decrease":"Disminuir sangría","indent-increase":"Aumentar sangría",break:"Salto de línea",image:"Imagen",video:"Video",attachment:"Adjunto",quote:"Cita","code-block":"Bloque de código",table:"Tabla",printer:"Imprimir",fullscreen:"Pantalla completa",ai:"Inteligencia artificial","menu-group":"Grupo de menú",paragraph:"Párrafo",h1:"Encabezado 1",h2:"Encabezado 2",h3:"Encabezado 3",h4:"Encabezado 4",h5:"Encabezado 5",h6:"Encabezado 6",standardColors:"Colores estándar",historyColors:"Usado recientemente",insertTable:"Insertar tabla",row:"Fila",column:"Columna","align-left":"Alinear a la izquierda","align-right":"Alinear a la derecha","align-center":"Alinear al centro","align-justify":"Justificar","insert-column-left":"Insertar columna a la izquierda","insert-column-right":"Insertar columna a la derecha","insert-row-top":"Insertar fila arriba","insert-row-bottom":"Insertar fila abajo","delete-column":"Eliminar columna","delete-row":"Eliminar fila","merge-cells-horizontal":"Combinar celdas horizontalmente","merge-cells-vertical":"Combinar celdas verticalmente","split-cells-horizontal":"Dividir celdas horizontalmente","split-cells-vertical":"Dividir celdas verticalmente","delete-table":"Eliminar tabla","edit-link":"Editar enlace",unlink:"Eliminar enlace","visit-link":"Visitar enlace","link-address":"Dirección del enlace","link-open-type":"Tipo de apertura","link-open-blank":"Nueva ventana","default-font-size":"Tamaño de fuente predeterminado","default-font-family":"Fuente predeterminada","codeblock-ai-auto-comment":"Comentario automático","codeblock-ai-code-explain":"Explicación del código","placeholder-tell-ai-what-to-do-next":"Dile a la IA qué hacer a continuación. Ejemplo: Traducir al inglés","tip-you-can-enter-text-above-or-select-the-operation-below":"Sugerencia: Puedes ingresar el texto arriba o seleccionar una operación abajo","you-can-do-the-following":"Puedes hacer lo siguiente:","improve-writing":"Mejorar escritura","check-spelling-and-grammar":"Revisar ortografía y gramática","make-shorter":"Hacer más corto","make-longer":"Hacer más largo",translate:"Traducir",summarize:"Resumir","ai-append":"Añadir","ai-replace":"Reemplazar","ai-cancel":"Cancelar","ai-continuation":"Continuación con IA","ai-optimization":"Optimización con IA","ai-proofreading":"Corrección con IA","ai-translation":"Traducción con IA"},vvn={default:"डिफ़ॉल्ट",delete:"हटाएं",confirm:"पुष्टि करें",cancel:"रद्द करें",resize:"आकार बदलें",undo:"पूर्ववत करें",redo:"फिर से करें",brush:"फॉर्मेट ब्रश",container:"हाइलाइट ब्लॉक",eraser:"फॉर्मेट साफ़ करें",heading:"पाठ/शीर्षक","font-family":"फ़ॉन्ट","font-size":"फ़ॉन्ट आकार",bold:"बोल्ड",italic:"इटैलिक",underline:"रेखांकन",strike:"स्ट्राइकथ्रू",link:"लिंक","source-code":"स्रोत कोड",code:"इनलाइन कोड",subscript:"सबस्क्रिप्ट",superscript:"सुपरस्क्रिप्ट",hr:"विभाजक रेखा",todo:"कार्य सूची",emoji:"इमोजी",highlight:"हाइलाइट","font-color":"फ़ॉन्ट रंग",align:"संरेखित करें","line-height":"लाइन हाइट","bullet-list":"बिना क्रम वाली सूची","ordered-list":"क्रमबद्ध सूची","indent-decrease":"इंडेंट घटाएं","indent-increase":"इंडेंट बढ़ाएं",break:"लाइन ब्रेक",image:"चित्र",video:"वीडियो",attachment:"अनुलग्नक",quote:"उद्धरण","code-block":"कोड ब्लॉक",table:"तालिका",printer:"प्रिंट करें",fullscreen:"पूर्ण स्क्रीन",ai:"कृत्रिम बुद्धिमत्ता","menu-group":"मेनू समूह",paragraph:"पैराग्राफ",h1:"शीर्षक 1",h2:"शीर्षक 2",h3:"शीर्षक 3",h4:"शीर्षक 4",h5:"शीर्षक 5",h6:"शीर्षक 6",standardColors:"मानक रंग",historyColors:"हालिया रंग",insertTable:"तालिका सम्मिलित करें",row:"पंक्ति",column:"स्तंभ","align-left":"बाएं संरेखित","align-right":"दाएं संरेखित","align-center":"केंद्र संरेखित","align-justify":"दोनों तरफ संरेखित","insert-column-left":"बाईं ओर स्तंभ जोड़ें","insert-column-right":"दाईं ओर स्तंभ जोड़ें","insert-row-top":"ऊपर पंक्ति जोड़ें","insert-row-bottom":"नीचे पंक्ति जोड़ें","delete-column":"स्तंभ हटाएं","delete-row":"पंक्ति हटाएं","merge-cells-horizontal":"सेलों को क्षैतिज मिलाएं","merge-cells-vertical":"सेलों को लंबवत मिलाएं","split-cells-horizontal":"सेलों को क्षैतिज विभाजित करें","split-cells-vertical":"सेलों को लंबवत विभाजित करें","delete-table":"तालिका हटाएं","edit-link":"लिंक संपादित करें",unlink:"लिंक हटाएं","visit-link":"लिंक पर जाएं","link-address":"लिंक पता","link-open-type":"लिंक खोलने का प्रकार","link-open-blank":"नई विंडो","default-font-size":"डिफ़ॉल्ट फ़ॉन्ट आकार","default-font-family":"डिफ़ॉल्ट फ़ॉन्ट","codeblock-ai-auto-comment":"स्वचालित टिप्पणी","codeblock-ai-code-explain":"कोड व्याख्या","placeholder-tell-ai-what-to-do-next":"AI को बताएं कि अगला कदम क्या होना चाहिए? उदाहरण: कृपया इसे अंग्रेजी में अनुवाद करें","tip-you-can-enter-text-above-or-select-the-operation-below":"सुझाव: आप ऊपर टेक्स्ट दर्ज कर सकते हैं या नीचे दिए गए ऑपरेशन का चयन कर सकते हैं","you-can-do-the-following":"आप निम्नलिखित कर सकते हैं:","improve-writing":"लेखन सुधारें","check-spelling-and-grammar":"वर्तनी और व्याकरण जांचें","make-shorter":"छोटा करें","make-longer":"लंबा करें",translate:"अनुवाद करें",summarize:"सारांश","ai-append":"जोड़ें","ai-replace":"बदलें","ai-cancel":"रद्द करें","ai-continuation":"AI जारी रखें","ai-optimization":"AI अनुकूलन","ai-proofreading":"AI प्रूफरीडिंग","ai-translation":"AI अनुवाद"},bvn={default:"Default",delete:"Hapus",confirm:"Konfirmasi",cancel:"Batal",resize:"Ubah ukuran",undo:"Batalkan",redo:"Ulangi",brush:"Kuas format",container:"Blok sorot",eraser:"Hapus format",heading:"Teks/Judul","font-family":"Font","font-size":"Ukuran font",bold:"Tebal",italic:"Miring",underline:"Garis bawah",strike:"Garis coret",link:"Tautan","source-code":"Kode sumber",code:"Kode dalam baris",subscript:"Subskrip",superscript:"Superskrip",hr:"Garis pemisah",todo:"Daftar tugas",emoji:"Emoji",highlight:"Sorot","font-color":"Warna font",align:"Rata","line-height":"Tinggi baris","bullet-list":"Daftar tak berurut","ordered-list":"Daftar berurut","indent-decrease":"Kurangi inden","indent-increase":"Tambah inden",break:"Pecah baris",image:"Gambar",video:"Video",attachment:"Lampiran",quote:"Kutipan","code-block":"Blok kode",table:"Tabel",printer:"Cetak",fullscreen:"Layar penuh",ai:"Kecerdasan buatan","menu-group":"Grup menu",paragraph:"Teks",h1:"Judul 1",h2:"Judul 2",h3:"Judul 3",h4:"Judul 4",h5:"Judul 5",h6:"Judul 6",standardColors:"Warna standar",historyColors:"Warna terbaru",insertTable:"Sisipkan tabel",row:"Baris",column:"Kolom","align-left":"Rata kiri","align-right":"Rata kanan","align-center":"Rata tengah","align-justify":"Rata kedua sisi","insert-column-left":"Sisipkan kolom di kiri","insert-column-right":"Sisipkan kolom di kanan","insert-row-top":"Sisipkan baris di atas","insert-row-bottom":"Sisipkan baris di bawah","delete-column":"Hapus kolom","delete-row":"Hapus baris","merge-cells-horizontal":"Gabungkan sel horizontal","merge-cells-vertical":"Gabungkan sel vertikal","split-cells-horizontal":"Pisahkan sel horizontal","split-cells-vertical":"Pisahkan sel vertikal","delete-table":"Hapus tabel","edit-link":"Edit tautan",unlink:"Hapus tautan","visit-link":"Kunjungi tautan","link-address":"Alamat tautan","link-open-type":"Jenis pembukaan tautan","link-open-blank":"Jendela baru","default-font-size":"Ukuran font","default-font-family":"Font default","codeblock-ai-auto-comment":"Komentar otomatis","codeblock-ai-code-explain":"Penjelasan kode","placeholder-tell-ai-what-to-do-next":"Beritahu AI langkah berikutnya? Contoh: Bantu saya terjemahkan ke bahasa Inggris","tip-you-can-enter-text-above-or-select-the-operation-below":"Tip: Anda bisa memasukkan teks di atas atau memilih operasi di bawah","you-can-do-the-following":"Anda dapat melakukan hal-hal berikut:","improve-writing":"Tingkatkan tulisan","check-spelling-and-grammar":"Periksa ejaan dan tata bahasa","make-shorter":"Buat lebih singkat","make-longer":"Buat lebih panjang",translate:"Terjemahkan",summarize:"Ringkas","ai-append":"Tambahkan","ai-replace":"Ganti","ai-cancel":"Batalkan","ai-continuation":"AI Lanjutkan","ai-optimization":"AI Optimasi","ai-proofreading":"AI Koreksi","ai-translation":"AI Terjemahan"},yvn={default:"デフォルト",delete:"削除",confirm:"確認",cancel:"キャンセル",resize:"サイズ調整",undo:"元に戻す",redo:"やり直す",brush:"フォーマットブラシ",container:"ハイライトブロック",eraser:"フォーマットクリア",heading:"テキスト/見出し","font-family":"フォント","font-size":"フォントサイズ",bold:"太字",italic:"斜体",underline:"下線",strike:"取り消し線",link:"リンク","source-code":"ソースコード",code:"インラインコード",subscript:"下付き文字",superscript:"上付き文字",hr:"区切り線",todo:"タスクリスト",emoji:"絵文字",highlight:"ハイライト","font-color":"フォントカラー",align:"配置","line-height":"行の高さ","bullet-list":"箇条書きリスト","ordered-list":"番号付きリスト","indent-decrease":"インデントを減らす","indent-increase":"インデントを増やす",break:"改行",image:"画像",video:"ビデオ",attachment:"添付ファイル",quote:"引用","code-block":"コードブロック",table:"テーブル",printer:"印刷",fullscreen:"全画面",ai:"AI","menu-group":"メニューグループ",paragraph:"段落",h1:"見出し 1",h2:"見出し 2",h3:"見出し 3",h4:"見出し 4",h5:"見出し 5",h6:"見出し 6",standardColors:"標準色",historyColors:"最近使用した色",insertTable:"テーブル挿入",row:"行",column:"列","align-left":"左揃え","align-right":"右揃え","align-center":"中央揃え","align-justify":"両端揃え","insert-column-left":"左に列を挿入","insert-column-right":"右に列を挿入","insert-row-top":"上に行を挿入","insert-row-bottom":"下に行を挿入","delete-column":"列を削除","delete-row":"行を削除","merge-cells-horizontal":"セルを横に結合","merge-cells-vertical":"セルを縦に結合","split-cells-horizontal":"セルを横に分割","split-cells-vertical":"セルを縦に分割","delete-table":"テーブルを削除","edit-link":"リンク編集",unlink:"リンク解除","visit-link":"リンクを訪問","link-address":"リンクアドレス","link-open-type":"開き方","link-open-blank":"新しいウィンドウで開く","default-font-size":"デフォルトフォントサイズ","default-font-family":"デフォルトフォント","codeblock-ai-auto-comment":"自動コメント","codeblock-ai-code-explain":"コードの説明","placeholder-tell-ai-what-to-do-next":"次にAIに何をさせるか教えてください。例:英語に翻訳して","tip-you-can-enter-text-above-or-select-the-operation-below":"ヒント:上にテキストを入力するか、下の操作を選択できます","you-can-do-the-following":"次の操作ができます:","improve-writing":"文章を改善","check-spelling-and-grammar":"スペルと文法のチェック","make-shorter":"短くする","make-longer":"長くする",translate:"翻訳",summarize:"要約","ai-append":"追加","ai-replace":"置換","ai-cancel":"キャンセル","ai-continuation":"AI継続","ai-optimization":"AI最適化","ai-proofreading":"AI校正","ai-translation":"AI翻訳"},_vn={default:"기본값",delete:"삭제",confirm:"확인",cancel:"취소",resize:"크기 조정",undo:"실행 취소",redo:"다시 실행",brush:"형식 브러시",container:"강조 블록",eraser:"서식 지우기",heading:"본문/제목","font-family":"글꼴","font-size":"글꼴 크기",bold:"굵게",italic:"기울임꼴",underline:"밑줄",strike:"취소선",link:"링크","source-code":"소스 코드",code:"인라인 코드",subscript:"아래 첨자",superscript:"위 첨자",hr:"구분선",todo:"할 일 목록",emoji:"이모지",highlight:"강조","font-color":"글꼴 색상",align:"정렬","line-height":"줄 간격","bullet-list":"글머리 기호 목록","ordered-list":"번호 목록","indent-decrease":"들여쓰기 줄이기","indent-increase":"들여쓰기 늘리기",break:"줄바꿈",image:"이미지",video:"비디오",attachment:"첨부 파일",quote:"인용","code-block":"코드 블록",table:"테이블",printer:"인쇄",fullscreen:"전체 화면",ai:"AI","menu-group":"메뉴 그룹",paragraph:"본문",h1:"제목 1",h2:"제목 2",h3:"제목 3",h4:"제목 4",h5:"제목 5",h6:"제목 6",standardColors:"표준 색상",historyColors:"최근 사용 색상",insertTable:"테이블 삽입",row:"행",column:"열","align-left":"왼쪽 정렬","align-right":"오른쪽 정렬","align-center":"가운데 정렬","align-justify":"양쪽 맞춤","insert-column-left":"왼쪽에 열 삽입","insert-column-right":"오른쪽에 열 삽입","insert-row-top":"위쪽에 행 삽입","insert-row-bottom":"아래쪽에 행 삽입","delete-column":"열 삭제","delete-row":"행 삭제","merge-cells-horizontal":"셀 병합","merge-cells-vertical":"셀 세로 병합","split-cells-horizontal":"셀 가로 분할","split-cells-vertical":"셀 세로 분할","delete-table":"테이블 삭제","edit-link":"링크 편집",unlink:"링크 해제","visit-link":"링크 방문","link-address":"링크 주소","link-open-type":"열기 유형","link-open-blank":"새 창","default-font-size":"기본 글꼴 크기","default-font-family":"기본 글꼴","codeblock-ai-auto-comment":"자동 주석","codeblock-ai-code-explain":"코드 설명","placeholder-tell-ai-what-to-do-next":"AI에게 다음 작업을 지시하세요. 예: 영어로 번역해 주세요","tip-you-can-enter-text-above-or-select-the-operation-below":"팁: 위에 텍스트를 입력하거나 아래 작업을 선택할 수 있습니다","you-can-do-the-following":"다음 작업을 수행할 수 있습니다:","improve-writing":"글쓰기 개선","check-spelling-and-grammar":"철자 및 문법 검사","make-shorter":"짧게 만들기","make-longer":"길게 만들기",translate:"번역",summarize:"요약","ai-append":"추가","ai-replace":"대체","ai-cancel":"취소","ai-continuation":"AI 계속","ai-optimization":"AI 최적화","ai-proofreading":"AI 교정","ai-translation":"AI 번역"},Svn={default:"ค่าเริ่มต้น",delete:"ลบ",confirm:"ยืนยัน",cancel:"ยกเลิก",resize:"ปรับขนาด",undo:"เลิกทำ",redo:"ทำซ้ำ",brush:"แปรงรูปแบบ",container:"บล็อกไฮไลท์",eraser:"ล้างรูปแบบ",heading:"ข้อความ/หัวข้อ","font-family":"แบบอักษร","font-size":"ขนาดตัวอักษร",bold:"ตัวหนา",italic:"ตัวเอียง",underline:"ขีดเส้นใต้",strike:"ขีดฆ่า",link:"ลิงก์","source-code":"โค้ดต้นฉบับ",code:"โค้ดในบรรทัด",subscript:"ตัวห้อย",superscript:"ตัวยก",hr:"เส้นแบ่ง",todo:"รายการสิ่งที่ต้องทำ",emoji:"อีโมจิ",highlight:"ไฮไลท์","font-color":"สีตัวอักษร",align:"จัดแนว","line-height":"ความสูงบรรทัด","bullet-list":"รายการจุด","ordered-list":"รายการลำดับ","indent-decrease":"ลดการเยื้อง","indent-increase":"เพิ่มการเยื้อง",break:"ขึ้นบรรทัดใหม่",image:"รูปภาพ",video:"วิดีโอ",attachment:"ไฟล์แนบ",quote:"อ้างอิง","code-block":"บล็อกโค้ด",table:"ตาราง",printer:"พิมพ์",fullscreen:"เต็มจอ",ai:"ปัญญาประดิษฐ์","menu-group":"กลุ่มเมนู",paragraph:"ข้อความ",h1:"หัวข้อ 1",h2:"หัวข้อ 2",h3:"หัวข้อ 3",h4:"หัวข้อ 4",h5:"หัวข้อ 5",h6:"หัวข้อ 6",standardColors:"สีมาตรฐาน",historyColors:"ใช้ล่าสุด",insertTable:"แทรกตาราง",row:"แถว",column:"คอลัมน์","align-left":"จัดชิดซ้าย","align-right":"จัดชิดขวา","align-center":"จัดกึ่งกลาง","align-justify":"จัดเต็มหน้า","insert-column-left":"แทรกคอลัมน์ด้านซ้าย","insert-column-right":"แทรกคอลัมน์ด้านขวา","insert-row-top":"แทรกแถวด้านบน","insert-row-bottom":"แทรกแถวด้านล่าง","delete-column":"ลบคอลัมน์","delete-row":"ลบแถว","merge-cells-horizontal":"ผสานเซลล์ตามแนวนอน","merge-cells-vertical":"ผสานเซลล์ตามแนวตั้ง","split-cells-horizontal":"แยกเซลล์แนวนอน","split-cells-vertical":"แยกเซลล์แนวตั้ง","delete-table":"ลบตาราง","edit-link":"แก้ไขลิงก์",unlink:"ยกเลิกการเชื่อมโยง","visit-link":"เยี่ยมชมลิงก์","link-address":"ที่อยู่ลิงก์","link-open-type":"วิธีการเปิด","link-open-blank":"หน้าต่างใหม่","default-font-size":"ขนาดตัวอักษร","default-font-family":"แบบอักษรเริ่มต้น","codeblock-ai-auto-comment":"คอมเมนต์อัตโนมัติ","codeblock-ai-code-explain":"อธิบายโค้ด","placeholder-tell-ai-what-to-do-next":"บอก AI ว่าต้องทำอะไรต่อไป เช่น ช่วยแปลเป็นภาษาอังกฤษ","tip-you-can-enter-text-above-or-select-the-operation-below":"เคล็ดลับ: คุณสามารถป้อนข้อความข้างบนหรือเลือกการดำเนินการด้านล่าง","you-can-do-the-following":"คุณสามารถทำสิ่งต่อไปนี้:","improve-writing":"ปรับปรุงการเขียน","check-spelling-and-grammar":"ตรวจสอบการสะกดและไวยากรณ์","make-shorter":"ทำให้สั้นลง","make-longer":"ทำให้ยาวขึ้น",translate:"แปล",summarize:"สรุป","ai-append":"เพิ่ม","ai-replace":"แทนที่","ai-cancel":"ยกเลิก","ai-continuation":"AI เขียนต่อ","ai-optimization":"AI ปรับแต่ง","ai-proofreading":"AI พิสูจน์อักษร","ai-translation":"AI แปล"},Evn={default:"Mặc định",delete:"Xóa",confirm:"Xác nhận",cancel:"Hủy",resize:"Điều chỉnh kích thước",undo:"Hoàn tác",redo:"Làm lại",brush:"Chổi định dạng",container:"Khối nổi bật",eraser:"Xóa định dạng",heading:"Nội dung/Đầu đề","font-family":"Phông chữ","font-size":"Cỡ chữ",bold:"In đậm",italic:"In nghiêng",underline:"Gạch chân",strike:"Gạch ngang",link:"Liên kết","source-code":"Mã nguồn",code:"Mã trong dòng",subscript:"Chỉ số dưới",superscript:"Chỉ số trên",hr:"Đường phân cách",todo:"Danh sách công việc",emoji:"Biểu tượng cảm xúc",highlight:"Đánh dấu","font-color":"Màu chữ",align:"Căn chỉnh","line-height":"Chiều cao dòng","bullet-list":"Danh sách dấu chấm","ordered-list":"Danh sách có thứ tự","indent-decrease":"Giảm thụt lề","indent-increase":"Tăng thụt lề",break:"Xuống dòng",image:"Hình ảnh",video:"Video",attachment:"Tệp đính kèm",quote:"Trích dẫn","code-block":"Khối mã",table:"Bảng",printer:"In",fullscreen:"Toàn màn hình",ai:"Trí tuệ nhân tạo","menu-group":"Nhóm menu",paragraph:"Nội dung",h1:"Tiêu đề 1",h2:"Tiêu đề 2",h3:"Tiêu đề 3",h4:"Tiêu đề 4",h5:"Tiêu đề 5",h6:"Tiêu đề 6",standardColors:"Màu tiêu chuẩn",historyColors:"Màu đã dùng gần đây",insertTable:"Chèn bảng",row:"Hàng",column:"Cột","align-left":"Căn trái","align-right":"Căn phải","align-center":"Căn giữa","align-justify":"Căn đều","insert-column-left":"Chèn cột bên trái","insert-column-right":"Chèn cột bên phải","insert-row-top":"Chèn hàng phía trên","insert-row-bottom":"Chèn hàng phía dưới","delete-column":"Xóa cột hiện tại","delete-row":"Xóa hàng hiện tại","merge-cells-horizontal":"Gộp ô ngang","merge-cells-vertical":"Gộp ô dọc","split-cells-horizontal":"Tách ô ngang","split-cells-vertical":"Tách ô dọc","delete-table":"Xóa bảng","edit-link":"Chỉnh sửa liên kết",unlink:"Hủy liên kết","visit-link":"Truy cập liên kết","link-address":"Địa chỉ liên kết","link-open-type":"Cách mở liên kết","link-open-blank":"Cửa sổ mới","default-font-size":"Cỡ chữ","default-font-family":"Phông chữ mặc định","codeblock-ai-auto-comment":"Nhận xét tự động","codeblock-ai-code-explain":"Giải thích mã","placeholder-tell-ai-what-to-do-next":"Nói với AI bước tiếp theo là gì? Ví dụ: Giúp tôi dịch sang tiếng Anh","tip-you-can-enter-text-above-or-select-the-operation-below":"Mẹo: Bạn có thể nhập văn bản phía trên hoặc chọn thao tác bên dưới","you-can-do-the-following":"Bạn có thể thực hiện các thao tác sau:","improve-writing":"Cải thiện bài viết","check-spelling-and-grammar":"Kiểm tra chính tả và ngữ pháp","make-shorter":"Rút gọn","make-longer":"Mở rộng nội dung",translate:"Dịch",summarize:"Tóm tắt","ai-append":"Thêm vào","ai-replace":"Thay thế","ai-cancel":"Hủy","ai-continuation":"AI Viết tiếp","ai-optimization":"AI Tối ưu hóa","ai-proofreading":"AI Hiệu đính","ai-translation":"AI Dịch"},bpe={};function Cvn(e){let t=bpe[e];if(t)return t;t=bpe[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n=55296&&u<=57343?i+="���":i+=String.fromCharCode(u),o+=6;continue}}if((s&248)===240&&o+91114111?i+="����":(d-=65536,i+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),o+=9;continue}}i+="�"}return i})}Q_.defaultChars=";/?:@&=+$,#";Q_.componentChars="";const ype={};function wvn(e){let t=ype[e];if(t)return t;t=ype[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n"u"&&(n=!0);const r=wvn(t);let i="";for(let o=0,a=e.length;o=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){i+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[o])}return i}yO.defaultChars=";/?:@&=+$,-_.!~*'()#";yO.componentChars="-_.!~*'()";function tZ(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function $4(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Tvn=/^([a-z0-9.+-]+:)/i,xvn=/:[0-9]*$/,Ovn=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Rvn=["<",">",'"',"`"," ","\r",` -`," "],Ivn=["{","}","|","\\","^","`"].concat(Rvn),Avn=["'"].concat(Ivn),_pe=["%","/","?",";","#"].concat(Avn),Spe=["/","?","#"],Nvn=255,Epe=/^[+a-z0-9A-Z_-]{0,63}$/,Mvn=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Cpe={javascript:!0,"javascript:":!0},wpe={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function nZ(e,t){if(e&&e instanceof $4)return e;const n=new $4;return n.parse(e,t),n}$4.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&e.split("#").length===1){const c=Ovn.exec(o);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=Tvn.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=o.substr(0,2)==="//",i&&!(a&&Cpe[a])&&(o=o.substr(2),this.slashes=!0)),!Cpe[a]&&(i||a&&!wpe[a])){let c=-1;for(let m=0;m127?b+="x":b+=y[_];if(!b.match(Epe)){const _=m.slice(0,g),E=m.slice(g+1),C=y.match(Mvn);C&&(_.push(C[1]),E.unshift(C[2])),E.length&&(o=E.join(".")+o),this.hostname=_.join(".");break}}}}this.hostname.length>Nvn&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=o.indexOf("#");s!==-1&&(this.hash=o.substr(s),o=o.slice(0,s));const l=o.indexOf("?");return l!==-1&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),wpe[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};$4.prototype.parseHost=function(e){let t=xvn.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const kvn=Object.freeze(Object.defineProperty({__proto__:null,decode:Q_,encode:yO,format:tZ,parse:nZ},Symbol.toStringTag,{value:"Module"})),FPe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,BPe=/[\0-\x1F\x7F-\x9F]/,Pvn=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,rZ=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\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-\u2E4F\u2E52-\u2E5D\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[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,jPe=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,HPe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Dvn=Object.freeze(Object.defineProperty({__proto__:null,Any:FPe,Cc:BPe,Cf:Pvn,P:rZ,S:jPe,Z:HPe},Symbol.toStringTag,{value:"Module"})),Lvn=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),$vn=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var a7;const Fvn=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Bvn=(a7=String.fromCodePoint)!==null&&a7!==void 0?a7:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function jvn(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Fvn.get(e))!==null&&t!==void 0?t:e}var Ba;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Ba||(Ba={}));const Hvn=32;var Gm;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Gm||(Gm={}));function HV(e){return e>=Ba.ZERO&&e<=Ba.NINE}function Uvn(e){return e>=Ba.UPPER_A&&e<=Ba.UPPER_F||e>=Ba.LOWER_A&&e<=Ba.LOWER_F}function zvn(e){return e>=Ba.UPPER_A&&e<=Ba.UPPER_Z||e>=Ba.LOWER_A&&e<=Ba.LOWER_Z||HV(e)}function Vvn(e){return e===Ba.EQUALS||zvn(e)}var Pa;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Pa||(Pa={}));var Cm;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Cm||(Cm={}));class Gvn{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Pa.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Cm.Strict}startEntity(t){this.decodeMode=t,this.state=Pa.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Pa.EntityStart:return t.charCodeAt(n)===Ba.NUM?(this.state=Pa.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Pa.NamedEntity,this.stateNamedEntity(t,n));case Pa.NumericStart:return this.stateNumericStart(t,n);case Pa.NumericDecimal:return this.stateNumericDecimal(t,n);case Pa.NumericHex:return this.stateNumericHex(t,n);case Pa.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Hvn)===Ba.LOWER_X?(this.state=Pa.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Pa.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const o=r-n;this.result=this.result*Math.pow(i,o)+parseInt(t.substr(n,o),i),this.consumed+=o}}stateNumericHex(t,n){const r=n;for(;n>14;for(;n>14,o!==0){if(a===Ba.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Cm.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&Gm.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~Gm.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case Pa.NamedEntity:return this.result!==0&&(this.decodeMode!==Cm.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Pa.NumericDecimal:return this.emitNumericEntity(0,2);case Pa.NumericHex:return this.emitNumericEntity(0,3);case Pa.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Pa.EntityStart:return 0}}}function UPe(e){let t="";const n=new Gvn(e,r=>t+=Bvn(r));return function(r,i){let o=0,a=0;for(;(a=r.indexOf("&",a))>=0;){t+=r.slice(o,a),n.startEntity(i);const l=n.write(r,a+1);if(l<0){o=a+n.end();break}o=a+l,a=l===0?o+1:o}const s=t+r.slice(o);return t="",s}}function Wvn(e,t,n,r){const i=(t&Gm.BRANCH_LENGTH)>>7,o=t&Gm.JUMP_TABLE;if(i===0)return o!==0&&r===o?n:-1;if(o){const l=r-o;return l<0||l>=i?-1:e[n+l]-1}let a=n,s=a+i-1;for(;a<=s;){const l=a+s>>>1,c=e[l];if(cr)s=l-1;else return e[l+i]}return-1}const qvn=UPe(Lvn);UPe($vn);function zPe(e,t=Cm.Legacy){return qvn(e,t)}function Yvn(e){return Object.prototype.toString.call(e)}function iZ(e){return Yvn(e)==="[object String]"}const Kvn=Object.prototype.hasOwnProperty;function Qvn(e,t){return Kvn.call(e,t)}function M9(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!="object")throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function VPe(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function oZ(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function F4(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const GPe=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Xvn=/&([a-z#][a-z0-9]{1,31});/gi,Zvn=new RegExp(GPe.source+"|"+Xvn.source,"gi"),Jvn=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function e0n(e,t){if(t.charCodeAt(0)===35&&Jvn.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return oZ(r)?F4(r):e}const n=zPe(e);return n!==e?n:e}function t0n(e){return e.indexOf("\\")<0?e:e.replace(GPe,"$1")}function X_(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Zvn,function(t,n,r){return n||e0n(t,r)})}const n0n=/[&<>"]/,r0n=/[&<>"]/g,i0n={"&":"&","<":"<",">":">",'"':"""};function o0n(e){return i0n[e]}function wg(e){return n0n.test(e)?e.replace(r0n,o0n):e}const a0n=/[.?*+^$[\]\\(){}|-]/g;function s0n(e){return e.replace(a0n,"\\$&")}function Qi(e){switch(e){case 9:case 32:return!0}return!1}function Tx(e){if(e>=8192&&e<=8202)return!0;switch(e){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}function xx(e){return rZ.test(e)||jPe.test(e)}function Ox(e){switch(e){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 k9(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const l0n={mdurl:kvn,ucmicro:Dvn},c0n=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:VPe,assign:M9,escapeHtml:wg,escapeRE:s0n,fromCodePoint:F4,has:Qvn,isMdAsciiPunct:Ox,isPunctChar:xx,isSpace:Qi,isString:iZ,isValidEntityCode:oZ,isWhiteSpace:Tx,lib:l0n,normalizeReference:k9,unescapeAll:X_,unescapeMd:t0n},Symbol.toStringTag,{value:"Module"}));function u0n(e,t,n){let r,i,o,a;const s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos32))return o;if(r===41){if(a===0)break;a--}i++}return t===i||a!==0||(o.str=X_(e.slice(t,i)),o.pos=i,o.ok=!0),o}function f0n(e,t,n,r){let i,o=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=n)return a;let s=e.charCodeAt(o);if(s!==34&&s!==39&&s!==40)return a;t++,o++,s===40&&(s=41),a.marker=s}for(;o"+wg(o.content)+""};Zf.code_block=function(e,t,n,r,i){const o=e[t];return""+wg(e[t].content)+` +
`);return a.addEventListener("click",s=>{s.target instanceof HTMLElement&&s.target.classList.contains("aie-container-tools-body-color-box")&&t.commands.updateAttributes(this.name,{containerClass:s.target.getAttribute("title")})}),a};i=So(n.querySelector(".aie-container-tools"),{content:o(),appendTo:()=>n.closest(".aie-container"),placement:"bottom-end",trigger:"click",interactive:!0,arrow:!1,offset:[8,0],aria:{content:null,expanded:!1}})}return{dom:n,contentDOM:r,destroy(){i==null||i.destroy()}}}}}),ovn=vPe.extend({addAttributes(){var e;return{...(e=this.parent)==null?void 0:e.call(this),id:{default:null}}}}),avn=gi.create({name:"saveExt",addKeyboardShortcuts(){return{"Mod-s":({editor:e})=>this.options.onSave?this.options.onSave(e.aiEditor):!1}}}),svn=wo.create({name:"figure",content:"block+",group:"block",defining:!0,draggable:!0,selectable:!0,addOptions(){return{HTMLAttributes:{dir:"auto"}}},parseHTML(){return[{tag:"figure"}]},renderHTML({HTMLAttributes:e}){return["figure",zr(this.options.HTMLAttributes,e),0]}}),lvn=wo.create({name:"figcaption",content:"inline*",group:"block",defining:!0,addOptions(){return{HTMLAttributes:{dir:"auto"}}},parseHTML(){return[{tag:"figcaption"}]},renderHTML({HTMLAttributes:e}){return["figcaption",zr(this.options.HTMLAttributes,e),0]}}),cvn=gi.create({name:"pasteExt",priority:1e3,addProseMirrorPlugins(){return[new Ei({key:new $i("aie-paste"),props:{handlePaste:(e,t)=>{if(e.props.editable&&!e.props.editable(e.state)||!t.clipboardData)return!1;let n=t.clipboardData.getData("text/plain"),r=t.clipboardData.getData("text/html");if(!r&&n){n=n.replace(/\n/g,"
");const i=this.editor.parseMarkdown(n);if(i){const{state:{tr:o},dispatch:a}=e;return a(o.replaceSelection(new Rn(i,0,0)).scrollIntoView()),!0}}else if(r){r=nvn(r);const{options:i}=this.editor.aiEditor;if(i.htmlPasteConfig){if(i.htmlPasteConfig.pasteAsText)r=Z1n(r,["p","br"]);else if(i.htmlPasteConfig.pasteClean){r=X1n(r,["a","span","strong","b","em","i","u"]);const o=new DOMParser().parseFromString(r,"text/html").documentElement.querySelector("body");o&&(o==null||o.querySelectorAll("*").forEach(a=>{a.removeAttribute("style")}),r=o==null?void 0:o.innerHTML)}if(i.htmlPasteConfig.removeEmptyParagraphs!==!1&&(r=evn(r)),i.htmlPasteConfig.pasteProcessor&&(r=i.htmlPasteConfig.pasteProcessor(r)),r)return this.editor.commands.insertContent(r),!0}else if(n&&r){const o=new DOMParser().parseFromString(r,"text/html"),a=o.querySelector("table");if(a&&J1n(o))return this.editor.commands.insertContent(a.outerHTML,{parseOptions:{preserveWhitespace:!1}}),!0}}}}})]}}),uvn=gi.create({name:"className",addOptions(){return{types:["heading","paragraph","container","codeBlock","blockquote","bulletList","orderedList","listItem","taskList","taskItem","image","video","table","iframe"]}},addGlobalAttributes(){return[{types:this.options.types,attributes:{class:{defaultValue:"",parseHTML:e=>e.getAttribute("class"),renderHTML:e=>e.class?{class:e.class}:{}}}}]},addCommands(){return{setClassName:(e,t)=>({chain:n})=>!e||!this.options.types.includes(e)?!1:n().updateAttributes(e,{class:t}).run()}},onTransaction({editor:e,transaction:t}){t.steps.length>0&&t.steps.forEach(n=>{if(n instanceof Ea){let r=!1;if(n.getMap().forEach((i,o,a,s)=>{s==a+2&&(r=!0)}),r){const i=n.slice.content.lastChild;i&&!i.textContent&&e.commands.updateAttributes(i.type,{...i.attrs,class:""})}}})}}),dvn=(e,t)=>{var n,r,i,o,a,s,l,c,u,d,f,h,m,g,v,y,b,_,E,C,S,w,T,O,x,A,I,M,B,P,k,N;const L=[fln.configure({codeBlock:!1,heading:!1})];return L.push(pln,mln,gln,ovn,_ln.configure({uploadUrl:(n=t.attachment)==null?void 0:n.uploadUrl,uploadHeaders:(r=t.attachment)==null?void 0:r.uploadHeaders,uploadFormName:(i=t.attachment)==null?void 0:i.uploadFormName,uploader:((o=t.attachment)==null?void 0:o.uploader)||t.uploader,uploaderEvent:(a=t.attachment)==null?void 0:a.uploaderEvent}),Sln,K1n,wln.configure({multicolor:!0}),Tln,xln,Oln,Rln.configure({types:["heading","paragraph"]}),Iln,kln.configure({allowBase64:typeof((s=t.image)==null?void 0:s.allowBase64)>"u"?!0:(l=t.image)==null?void 0:l.allowBase64,defaultSize:((c=t.image)==null?void 0:c.defaultSize)||350,uploadUrl:(u=t.image)==null?void 0:u.uploadUrl,uploadHeaders:(d=t.image)==null?void 0:d.uploadHeaders,uploadFormName:(f=t.image)==null?void 0:f.uploadFormName,uploader:((h=t.image)==null?void 0:h.uploader)||t.uploader,uploaderEvent:(m=t.image)==null?void 0:m.uploaderEvent}),Lcn.configure({resizable:!0,lastColumnResizable:!0,allowTableNodeSelection:!0}),$cn,Hcn,Bcn,Ucn.configure({textCounter:typeof(t==null?void 0:t.textCounter)=="function"?t.textCounter:V=>V.length}),dun.configure({openOnClick:!1,autolink:typeof((g=t.link)==null?void 0:g.autolink)>"u"?!0:(v=t.link)==null?void 0:v.autolink,HTMLAttributes:{ref:(y=t==null?void 0:t.link)==null?void 0:y.rel,class:(b=t==null?void 0:t.link)==null?void 0:b.class}}),fun,pun,hun,gun.configure({nested:!0}),ydn.configure({lowlight:Jgn(rgn),defaultLanguage:"auto",languageClassPrefix:"language-",languages:((_=t.codeBlock)==null?void 0:_.languages)||n5e,codeExplainAi:((C=(E=t.ai)==null?void 0:E.codeBlock)==null?void 0:C.codeExplain)||{model:"auto",prompt:((S=t.codeBlock)==null?void 0:S.codeExplainPrompt)||"帮我对这个代码进行解释,返回代码的解释内容,注意,不需要对代码的注释进行解释"},codeCommentsAi:((T=(w=t.ai)==null?void 0:w.codeBlock)==null?void 0:T.codeComments)||{model:"auto",prompt:((O=t.codeBlock)==null?void 0:O.codeCommentsPrompt)||"帮我对这个代码添加代码注释,并返回添加注释的代码,注意只需要返回代码。"}}),n1n.configure({uploadUrl:(x=t.video)==null?void 0:x.uploadUrl,uploadHeaders:(A=t.video)==null?void 0:A.uploadHeaders,uploadFormName:(I=t.video)==null?void 0:I.uploadFormName,uploader:((M=t.video)==null?void 0:M.uploader)||t.uploader,uploaderEvent:(B=t.video)==null?void 0:B.uploaderEvent}),r1n,svn,lvn,avn.configure({onSave:t.onSave}),cvn,uvn,ivn.configure({defaultType:((P=t.container)==null?void 0:P.defaultType)||"warning",typeItems:((k=t.container)==null?void 0:k.typeItems)||$5e}),...j1n(e)),t.placeholder&&L.push(H1n.configure({placeholder:t.placeholder})),((N=t.ai)==null?void 0:N.commandsEnable)!==!1&&L.push(Y1n.configure({suggestion:{items:V=>{var $;return(($=t.ai)==null?void 0:$.commands)||q1n}}})),t.onMentionQuery&&L.push(W1n(t.onMentionQuery)),L},fvn={default:"默认",delete:"删除",confirm:"确定",cancel:"取消",resize:"调整大小",type:"类型",undo:"撤销",redo:"重做",brush:"格式刷",container:"高亮块",eraser:"清除格式",heading:"正文/标题","font-family":"字体","font-size":"字号",bold:"加粗",italic:"斜体",underline:"下划线",strike:"删除线",link:"链接","source-code":"源代码",code:"行内代码",subscript:"下标",superscript:"上标",hr:"分割线",todo:"任务列表",emoji:"表情",highlight:"高亮","font-color":"字体颜色",align:"对齐","line-height":"行高","bullet-list":"无序列表","ordered-list":"有序列表","indent-decrease":"减少缩进","indent-increase":"增加缩进",break:"强制换行",image:"图片",video:"视频",attachment:"附件",quote:"引用","code-block":"代码块",table:"表格",printer:"打印",fullscreen:"全屏",ai:"人工智能","menu-group":"菜单组",paragraph:"正文",h1:"标题 1",h2:"标题 2",h3:"标题 3",h4:"标题 4",h5:"标题 5",h6:"标题 6",standardColors:"标准色",historyColors:"最近使用",insertTable:"插入表格",row:"行",column:"列","align-left":"居左对齐","align-right":"居右对齐","align-center":"居中对齐","align-justify":"两端对齐","insert-column-left":"左侧插入列","insert-column-right":"右侧插入列","insert-row-top":"上方插入行","insert-row-bottom":"下方插入行","delete-column":"删除当前列","delete-row":"删除当前行","merge-cells-horizontal":"合并单元格","merge-cells-vertical":"合并单元格","split-cells-horizontal":"解除合并单元格","split-cells-vertical":"解除合并单元格","delete-table":"删除表格","edit-link":"编辑链接",unlink:"取消链接","visit-link":"访问链接","link-address":"链接地址","link-open-type":"打开方式","link-open-blank":"新窗口","default-font-size":"字号","default-font-family":"默认字体","codeblock-ai-auto-comment":"自动注释","codeblock-ai-code-explain":"代码解释","image-property":"图片属性","image-size":"图片大小","image-keep-current":"保持当前","image-original-size":"图片原始大小","placeholder-tell-ai-what-to-do-next":"告诉 AI 下一步应该如何?比如:帮我翻译成英语","tip-you-can-enter-text-above-or-select-the-operation-below":"提示:您可以在上面输入文字或者选择下方的操作","you-can-do-the-following":"您可以进行以下操作:","improve-writing":"改进写作","check-spelling-and-grammar":"检查拼写和语法","make-shorter":"简化内容","make-longer":"丰富内容",translate:"翻译",summarize:"总结","ai-append":"追加","ai-replace":"替换","ai-cancel":"舍弃","ai-continuation":"AI 续写","ai-optimization":"AI 优化","ai-proofreading":"AI 校对","ai-translation":"AI 翻译"},pvn={default:"Default",delete:"Delete",confirm:"Confirm",cancel:"Cancel",resize:"Resize",type:"Type",undo:"Undo",redo:"Redo",brush:"Format Painter",container:"Highlight container",eraser:"clear format",heading:"Paragraph/Heading","font-family":"Font Family","font-size":"Font Size",bold:"Bold",italic:"Italics",underline:"Underline",strike:"Strikethrough",link:"Link","source-code":"Source code",code:"Inline code",subscript:"Subscript",superscript:"Superscript",hr:"Dividing line",todo:"Task list",emoji:"Emoji expression",highlight:"Highlight","font-color":"Font color",align:"Alignment","line-height":"Line height","bullet-list":"Unordered list","ordered-list":"Ordered list","indent-decrease":"Decrease indent","indent-increase":"Increase indent",break:"Force line break",image:"Image",video:"video",attachment:"Attachment",quote:"Quote","code-block":"Code block",table:"Table",printer:"Print",fullscreen:"Full screen",ai:"AI","menu-group":"Menu Group",paragraph:"Paragraph",h1:"H1",h2:"H2",h3:"H3",h4:"H4",h5:"H5",h6:"H6",standardColors:"Standard colors",historyColors:"Recently used colors",insertTable:"Insert Table",row:"Row",column:"Column","align-left":"Align left","align-right":"Align right","align-center":"Align center","align-justify":"Align justify","insert-column-left":"Insert column left","insert-column-right":"Insert column right","insert-row-top":"Insert row top","insert-row-bottom":"Insert row bottom","delete-column":"Delete column","delete-row":"Delete row","merge-cells-horizontal":"Merge cells","merge-cells-vertical":"Merge cells","split-cells-horizontal":"Split cells","split-cells-vertical":"Split cells","delete-table":"Delete table","edit-link":"Edit link",unlink:"Unlink","visit-link":"Visit link","link-address":"Link address","link-open-type":"Open type","link-open-blank":"Blank","default-font-size":"Size","default-font-family":"Default font","codeblock-ai-auto-comment":"auto comment","codeblock-ai-code-explain":"code explain","image-property":"Image property","image-size":"Image size","image-keep-current":"Keep current","image-original-size":"Image original size","placeholder-tell-ai-what-to-do-next":"Tell AI what to do next? e.g., help me translate into English","tip-you-can-enter-text-above-or-select-the-operation-below":"Tip: You can enter text above or select the operation below","you-can-do-the-following":"You can do the following:","improve-writing":"Improve your writing","check-spelling-and-grammar":"Check spelling and grammar","make-shorter":"Make shorter","make-longer":"Make longer",translate:"Translate",summarize:"Summarize","ai-append":"Append","ai-replace":"Replace","ai-cancel":"Cancel","ai-continuation":"Continuation","ai-optimization":"Optimization","ai-proofreading":"Proofreading","ai-translation":"Translation"},hvn={default:"Standard",delete:"Löschen",confirm:"Bestätigen",cancel:"Abbrechen",resize:"Größe ändern",undo:"Rückgängig",redo:"Wiederholen",brush:"Format übertragen",container:"Auswahl hervorheben",eraser:"Format löschen",heading:"Absatz/Überschrift","font-family":"Schriftart","font-size":"Schriftgröße",bold:"Fett",italic:"Kursiv",underline:"Unterstrichen",strike:"Durchgestrichen",link:"Link","source-code":"Quellcode",code:"Inline-Code",subscript:"Tiefgestellt",superscript:"Hochgestellt",hr:"Trennlinie",todo:"Aufgabenliste",emoji:"Emojis",highlight:"Hervorheben","font-color":"Schriftfarbe",align:"Ausrichtung","line-height":"Zeilenhöhe","bullet-list":"Aufzählungsliste","ordered-list":"Nummerierte Liste","indent-decrease":"Einzug verkleinern","indent-increase":"Einzug vergrößern",break:"Zeilenumbruch erzwingen",image:"Bild",video:"Video",attachment:"Anhang",quote:"Zitat","code-block":"Codeblock",table:"Tabelle",printer:"Drucken",fullscreen:"Vollbild",ai:"KI","menu-group":"Menügruppe",paragraph:"Absatz",h1:"Überschrift 1",h2:"Überschrift 2",h3:"Überschrift 3",h4:"Überschrift 4",h5:"Überschrift 5",h6:"Überschrift 6",standardColors:"Standardfarben",historyColors:"Zuletzt verwendete Farben",insertTable:"Tabelle einfügen",row:"Zeile",column:"Spalte","align-left":"Linksbündig","align-right":"Rechtsbündig","align-center":"Zentriert","align-justify":"Blocksatz","insert-column-left":"Spalte links einfügen","insert-column-right":"Spalte rechts einfügen","insert-row-top":"Zeile oben einfügen","insert-row-bottom":"Zeile unten einfügen","delete-column":"Spalte löschen","delete-row":"Zeile löschen","merge-cells-horizontal":"Zellen horizontal verbinden","merge-cells-vertical":"Zellen vertikal verbinden","split-cells-horizontal":"Zellen horizontal teilen","split-cells-vertical":"Zellen vertikal teilen","delete-table":"Tabelle löschen","edit-link":"Link bearbeiten",unlink:"Link entfernen","visit-link":"Link besuchen","link-address":"Link-Adresse","link-open-type":"Link öffnen in...","link-open-blank":"Neues Fenster","default-font-size":"Schriftgröße","default-font-family":"Standardschriftart","codeblock-ai-auto-comment":"Automatischer Kommentar","codeblock-ai-code-explain":"Code-Erklärung","image-property":"Bildeigenschaft","image-size":"Bildgröße","image-keep-current":"Aktuell behalten","image-original-size":"Originalgröße des Bilds","placeholder-tell-ai-what-to-do-next":"Sagen Sie der KI, was als Nächstes zu tun ist, z.B. helfen Sie mir, ins Englische zu übersetzen","tip-you-can-enter-text-above-or-select-the-operation-below":"Tipp: Sie können oben Text eingeben oder die untenstehende Operation auswählen","you-can-do-the-following":"Sie können Folgendes tun:","improve-writing":"Schreiben verbessern","check-spelling-and-grammar":"Rechtschreibung und Grammatik prüfen","make-shorter":"Kürzen","make-longer":"Verlängern",translate:"Übersetzen",summarize:"Zusammenfassen","ai-append":"Anhängen","ai-replace":"Ersetzen","ai-cancel":"Abbrechen","ai-continuation":"Vorschläge für Fortsetzung","ai-optimization":"Optimierung","ai-proofreading":"Korrekturlesen","ai-translation":"Übersetzung"},mvn={default:"Padrão",delete:"Excluir",confirm:"Confirmar",cancel:"Cancelar",resize:"Redimensionar",undo:"Desfazer",redo:"Refazer",brush:"Pincel",container:"Destacar seleção",eraser:"Apagar formatação",heading:"Cabeçalho","font-family":"Fonte","font-size":"Tamanho da fonte",bold:"Negrito",italic:"Itálico",underline:"Sublinhado",strike:"Tachado",link:"Link","source-code":"Código-fonte",code:"Código em linha",subscript:"Subscrito",superscript:"Sobrescrito",hr:"Linha horizontal",todo:"Lista de tarefas",emoji:"Emoji",highlight:"Destacar","font-color":"Cor da fonte",align:"Alinhamento","line-height":"Altura da linha","bullet-list":"Lista com marcadores","ordered-list":"Lista numerada","indent-decrease":"Diminuir recuo","indent-increase":"Aumentar recuo",break:"Quebra de linha",image:"Imagem",video:"Vídeo",attachment:"Anexo",quote:"Citação","code-block":"Bloco de código",table:"Tabela",printer:"Imprimir",fullscreen:"Tela cheia",ai:"IA","menu-group":"Grupo de menu",paragraph:"Parágrafo",h1:"Cabeçalho 1",h2:"Cabeçalho 2",h3:"Cabeçalho 3",h4:"Cabeçalho 4",h5:"Cabeçalho 5",h6:"Cabeçalho 6",standardColors:"Cores padrão",historyColors:"Cores recentes",insertTable:"Inserir tabela",row:"Linha",column:"Coluna","align-left":"Alinhar à esquerda","align-right":"Alinhar à direita","align-center":"Centralizar","align-justify":"Justificar","insert-column-left":"Inserir coluna à esquerda","insert-column-right":"Inserir coluna à direita","insert-row-top":"Inserir linha acima","insert-row-bottom":"Inserir linha abaixo","delete-column":"Excluir coluna","delete-row":"Excluir linha","merge-cells-horizontal":"Mesclar células horizontalmente","merge-cells-vertical":"Mesclar células verticalmente","split-cells-horizontal":"Dividir células horizontalmente","split-cells-vertical":"Dividir células verticalmente","delete-table":"Excluir tabela","edit-link":"Editar link",unlink:"Remover link","visit-link":"Visitar link","link-address":"Endereço do link","link-open-type":"Abrir link em...","link-open-blank":"Nova janela","default-font-size":"Tamanho padrão da fonte","default-font-family":"Fonte padrão","codeblock-ai-auto-comment":"Comentário automático","codeblock-ai-code-explain":"Explicação do código","placeholder-tell-ai-what-to-do-next":"Diga à IA o que fazer a seguir, por exemplo, ajude-me a traduzir para o inglês","tip-you-can-enter-text-above-or-select-the-operation-below":"Dica: Você pode digitar o texto acima ou selecionar a operação abaixo","you-can-do-the-following":"Você pode fazer o seguinte:","improve-writing":"Melhorar escrita","check-spelling-and-grammar":"Verificar ortografia e gramática","make-shorter":"Encurtar","make-longer":"Alongar",translate:"Traduzir",summarize:"Resumir","ai-append":"Anexar","ai-replace":"Substituir","ai-cancel":"Cancelar","ai-continuation":"Sugestões de continuação","ai-optimization":"Otimização","ai-proofreading":"Revisão","ai-translation":"Tradução"},gvn={default:"Predeterminado",delete:"Eliminar",confirm:"Confirmar",cancel:"Cancelar",resize:"Redimensionar",undo:"Deshacer",redo:"Rehacer",brush:"Pincel de formato",container:"Bloque resaltado",eraser:"Borrar formato",heading:"Texto/Título","font-family":"Fuente","font-size":"Tamaño de fuente",bold:"Negrita",italic:"Cursiva",underline:"Subrayado",strike:"Tachado",link:"Enlace","source-code":"Código fuente",code:"Código en línea",subscript:"Subíndice",superscript:"Superíndice",hr:"Línea divisoria",todo:"Lista de tareas",emoji:"Emoji",highlight:"Resaltar","font-color":"Color de fuente",align:"Alinear","line-height":"Altura de línea","bullet-list":"Lista desordenada","ordered-list":"Lista ordenada","indent-decrease":"Disminuir sangría","indent-increase":"Aumentar sangría",break:"Salto de línea",image:"Imagen",video:"Video",attachment:"Adjunto",quote:"Cita","code-block":"Bloque de código",table:"Tabla",printer:"Imprimir",fullscreen:"Pantalla completa",ai:"Inteligencia artificial","menu-group":"Grupo de menú",paragraph:"Párrafo",h1:"Encabezado 1",h2:"Encabezado 2",h3:"Encabezado 3",h4:"Encabezado 4",h5:"Encabezado 5",h6:"Encabezado 6",standardColors:"Colores estándar",historyColors:"Usado recientemente",insertTable:"Insertar tabla",row:"Fila",column:"Columna","align-left":"Alinear a la izquierda","align-right":"Alinear a la derecha","align-center":"Alinear al centro","align-justify":"Justificar","insert-column-left":"Insertar columna a la izquierda","insert-column-right":"Insertar columna a la derecha","insert-row-top":"Insertar fila arriba","insert-row-bottom":"Insertar fila abajo","delete-column":"Eliminar columna","delete-row":"Eliminar fila","merge-cells-horizontal":"Combinar celdas horizontalmente","merge-cells-vertical":"Combinar celdas verticalmente","split-cells-horizontal":"Dividir celdas horizontalmente","split-cells-vertical":"Dividir celdas verticalmente","delete-table":"Eliminar tabla","edit-link":"Editar enlace",unlink:"Eliminar enlace","visit-link":"Visitar enlace","link-address":"Dirección del enlace","link-open-type":"Tipo de apertura","link-open-blank":"Nueva ventana","default-font-size":"Tamaño de fuente predeterminado","default-font-family":"Fuente predeterminada","codeblock-ai-auto-comment":"Comentario automático","codeblock-ai-code-explain":"Explicación del código","placeholder-tell-ai-what-to-do-next":"Dile a la IA qué hacer a continuación. Ejemplo: Traducir al inglés","tip-you-can-enter-text-above-or-select-the-operation-below":"Sugerencia: Puedes ingresar el texto arriba o seleccionar una operación abajo","you-can-do-the-following":"Puedes hacer lo siguiente:","improve-writing":"Mejorar escritura","check-spelling-and-grammar":"Revisar ortografía y gramática","make-shorter":"Hacer más corto","make-longer":"Hacer más largo",translate:"Traducir",summarize:"Resumir","ai-append":"Añadir","ai-replace":"Reemplazar","ai-cancel":"Cancelar","ai-continuation":"Continuación con IA","ai-optimization":"Optimización con IA","ai-proofreading":"Corrección con IA","ai-translation":"Traducción con IA"},vvn={default:"डिफ़ॉल्ट",delete:"हटाएं",confirm:"पुष्टि करें",cancel:"रद्द करें",resize:"आकार बदलें",undo:"पूर्ववत करें",redo:"फिर से करें",brush:"फॉर्मेट ब्रश",container:"हाइलाइट ब्लॉक",eraser:"फॉर्मेट साफ़ करें",heading:"पाठ/शीर्षक","font-family":"फ़ॉन्ट","font-size":"फ़ॉन्ट आकार",bold:"बोल्ड",italic:"इटैलिक",underline:"रेखांकन",strike:"स्ट्राइकथ्रू",link:"लिंक","source-code":"स्रोत कोड",code:"इनलाइन कोड",subscript:"सबस्क्रिप्ट",superscript:"सुपरस्क्रिप्ट",hr:"विभाजक रेखा",todo:"कार्य सूची",emoji:"इमोजी",highlight:"हाइलाइट","font-color":"फ़ॉन्ट रंग",align:"संरेखित करें","line-height":"लाइन हाइट","bullet-list":"बिना क्रम वाली सूची","ordered-list":"क्रमबद्ध सूची","indent-decrease":"इंडेंट घटाएं","indent-increase":"इंडेंट बढ़ाएं",break:"लाइन ब्रेक",image:"चित्र",video:"वीडियो",attachment:"अनुलग्नक",quote:"उद्धरण","code-block":"कोड ब्लॉक",table:"तालिका",printer:"प्रिंट करें",fullscreen:"पूर्ण स्क्रीन",ai:"कृत्रिम बुद्धिमत्ता","menu-group":"मेनू समूह",paragraph:"पैराग्राफ",h1:"शीर्षक 1",h2:"शीर्षक 2",h3:"शीर्षक 3",h4:"शीर्षक 4",h5:"शीर्षक 5",h6:"शीर्षक 6",standardColors:"मानक रंग",historyColors:"हालिया रंग",insertTable:"तालिका सम्मिलित करें",row:"पंक्ति",column:"स्तंभ","align-left":"बाएं संरेखित","align-right":"दाएं संरेखित","align-center":"केंद्र संरेखित","align-justify":"दोनों तरफ संरेखित","insert-column-left":"बाईं ओर स्तंभ जोड़ें","insert-column-right":"दाईं ओर स्तंभ जोड़ें","insert-row-top":"ऊपर पंक्ति जोड़ें","insert-row-bottom":"नीचे पंक्ति जोड़ें","delete-column":"स्तंभ हटाएं","delete-row":"पंक्ति हटाएं","merge-cells-horizontal":"सेलों को क्षैतिज मिलाएं","merge-cells-vertical":"सेलों को लंबवत मिलाएं","split-cells-horizontal":"सेलों को क्षैतिज विभाजित करें","split-cells-vertical":"सेलों को लंबवत विभाजित करें","delete-table":"तालिका हटाएं","edit-link":"लिंक संपादित करें",unlink:"लिंक हटाएं","visit-link":"लिंक पर जाएं","link-address":"लिंक पता","link-open-type":"लिंक खोलने का प्रकार","link-open-blank":"नई विंडो","default-font-size":"डिफ़ॉल्ट फ़ॉन्ट आकार","default-font-family":"डिफ़ॉल्ट फ़ॉन्ट","codeblock-ai-auto-comment":"स्वचालित टिप्पणी","codeblock-ai-code-explain":"कोड व्याख्या","placeholder-tell-ai-what-to-do-next":"AI को बताएं कि अगला कदम क्या होना चाहिए? उदाहरण: कृपया इसे अंग्रेजी में अनुवाद करें","tip-you-can-enter-text-above-or-select-the-operation-below":"सुझाव: आप ऊपर टेक्स्ट दर्ज कर सकते हैं या नीचे दिए गए ऑपरेशन का चयन कर सकते हैं","you-can-do-the-following":"आप निम्नलिखित कर सकते हैं:","improve-writing":"लेखन सुधारें","check-spelling-and-grammar":"वर्तनी और व्याकरण जांचें","make-shorter":"छोटा करें","make-longer":"लंबा करें",translate:"अनुवाद करें",summarize:"सारांश","ai-append":"जोड़ें","ai-replace":"बदलें","ai-cancel":"रद्द करें","ai-continuation":"AI जारी रखें","ai-optimization":"AI अनुकूलन","ai-proofreading":"AI प्रूफरीडिंग","ai-translation":"AI अनुवाद"},bvn={default:"Default",delete:"Hapus",confirm:"Konfirmasi",cancel:"Batal",resize:"Ubah ukuran",undo:"Batalkan",redo:"Ulangi",brush:"Kuas format",container:"Blok sorot",eraser:"Hapus format",heading:"Teks/Judul","font-family":"Font","font-size":"Ukuran font",bold:"Tebal",italic:"Miring",underline:"Garis bawah",strike:"Garis coret",link:"Tautan","source-code":"Kode sumber",code:"Kode dalam baris",subscript:"Subskrip",superscript:"Superskrip",hr:"Garis pemisah",todo:"Daftar tugas",emoji:"Emoji",highlight:"Sorot","font-color":"Warna font",align:"Rata","line-height":"Tinggi baris","bullet-list":"Daftar tak berurut","ordered-list":"Daftar berurut","indent-decrease":"Kurangi inden","indent-increase":"Tambah inden",break:"Pecah baris",image:"Gambar",video:"Video",attachment:"Lampiran",quote:"Kutipan","code-block":"Blok kode",table:"Tabel",printer:"Cetak",fullscreen:"Layar penuh",ai:"Kecerdasan buatan","menu-group":"Grup menu",paragraph:"Teks",h1:"Judul 1",h2:"Judul 2",h3:"Judul 3",h4:"Judul 4",h5:"Judul 5",h6:"Judul 6",standardColors:"Warna standar",historyColors:"Warna terbaru",insertTable:"Sisipkan tabel",row:"Baris",column:"Kolom","align-left":"Rata kiri","align-right":"Rata kanan","align-center":"Rata tengah","align-justify":"Rata kedua sisi","insert-column-left":"Sisipkan kolom di kiri","insert-column-right":"Sisipkan kolom di kanan","insert-row-top":"Sisipkan baris di atas","insert-row-bottom":"Sisipkan baris di bawah","delete-column":"Hapus kolom","delete-row":"Hapus baris","merge-cells-horizontal":"Gabungkan sel horizontal","merge-cells-vertical":"Gabungkan sel vertikal","split-cells-horizontal":"Pisahkan sel horizontal","split-cells-vertical":"Pisahkan sel vertikal","delete-table":"Hapus tabel","edit-link":"Edit tautan",unlink:"Hapus tautan","visit-link":"Kunjungi tautan","link-address":"Alamat tautan","link-open-type":"Jenis pembukaan tautan","link-open-blank":"Jendela baru","default-font-size":"Ukuran font","default-font-family":"Font default","codeblock-ai-auto-comment":"Komentar otomatis","codeblock-ai-code-explain":"Penjelasan kode","placeholder-tell-ai-what-to-do-next":"Beritahu AI langkah berikutnya? Contoh: Bantu saya terjemahkan ke bahasa Inggris","tip-you-can-enter-text-above-or-select-the-operation-below":"Tip: Anda bisa memasukkan teks di atas atau memilih operasi di bawah","you-can-do-the-following":"Anda dapat melakukan hal-hal berikut:","improve-writing":"Tingkatkan tulisan","check-spelling-and-grammar":"Periksa ejaan dan tata bahasa","make-shorter":"Buat lebih singkat","make-longer":"Buat lebih panjang",translate:"Terjemahkan",summarize:"Ringkas","ai-append":"Tambahkan","ai-replace":"Ganti","ai-cancel":"Batalkan","ai-continuation":"AI Lanjutkan","ai-optimization":"AI Optimasi","ai-proofreading":"AI Koreksi","ai-translation":"AI Terjemahan"},yvn={default:"デフォルト",delete:"削除",confirm:"確認",cancel:"キャンセル",resize:"サイズ調整",undo:"元に戻す",redo:"やり直す",brush:"フォーマットブラシ",container:"ハイライトブロック",eraser:"フォーマットクリア",heading:"テキスト/見出し","font-family":"フォント","font-size":"フォントサイズ",bold:"太字",italic:"斜体",underline:"下線",strike:"取り消し線",link:"リンク","source-code":"ソースコード",code:"インラインコード",subscript:"下付き文字",superscript:"上付き文字",hr:"区切り線",todo:"タスクリスト",emoji:"絵文字",highlight:"ハイライト","font-color":"フォントカラー",align:"配置","line-height":"行の高さ","bullet-list":"箇条書きリスト","ordered-list":"番号付きリスト","indent-decrease":"インデントを減らす","indent-increase":"インデントを増やす",break:"改行",image:"画像",video:"ビデオ",attachment:"添付ファイル",quote:"引用","code-block":"コードブロック",table:"テーブル",printer:"印刷",fullscreen:"全画面",ai:"AI","menu-group":"メニューグループ",paragraph:"段落",h1:"見出し 1",h2:"見出し 2",h3:"見出し 3",h4:"見出し 4",h5:"見出し 5",h6:"見出し 6",standardColors:"標準色",historyColors:"最近使用した色",insertTable:"テーブル挿入",row:"行",column:"列","align-left":"左揃え","align-right":"右揃え","align-center":"中央揃え","align-justify":"両端揃え","insert-column-left":"左に列を挿入","insert-column-right":"右に列を挿入","insert-row-top":"上に行を挿入","insert-row-bottom":"下に行を挿入","delete-column":"列を削除","delete-row":"行を削除","merge-cells-horizontal":"セルを横に結合","merge-cells-vertical":"セルを縦に結合","split-cells-horizontal":"セルを横に分割","split-cells-vertical":"セルを縦に分割","delete-table":"テーブルを削除","edit-link":"リンク編集",unlink:"リンク解除","visit-link":"リンクを訪問","link-address":"リンクアドレス","link-open-type":"開き方","link-open-blank":"新しいウィンドウで開く","default-font-size":"デフォルトフォントサイズ","default-font-family":"デフォルトフォント","codeblock-ai-auto-comment":"自動コメント","codeblock-ai-code-explain":"コードの説明","placeholder-tell-ai-what-to-do-next":"次にAIに何をさせるか教えてください。例:英語に翻訳して","tip-you-can-enter-text-above-or-select-the-operation-below":"ヒント:上にテキストを入力するか、下の操作を選択できます","you-can-do-the-following":"次の操作ができます:","improve-writing":"文章を改善","check-spelling-and-grammar":"スペルと文法のチェック","make-shorter":"短くする","make-longer":"長くする",translate:"翻訳",summarize:"要約","ai-append":"追加","ai-replace":"置換","ai-cancel":"キャンセル","ai-continuation":"AI継続","ai-optimization":"AI最適化","ai-proofreading":"AI校正","ai-translation":"AI翻訳"},_vn={default:"기본값",delete:"삭제",confirm:"확인",cancel:"취소",resize:"크기 조정",undo:"실행 취소",redo:"다시 실행",brush:"형식 브러시",container:"강조 블록",eraser:"서식 지우기",heading:"본문/제목","font-family":"글꼴","font-size":"글꼴 크기",bold:"굵게",italic:"기울임꼴",underline:"밑줄",strike:"취소선",link:"링크","source-code":"소스 코드",code:"인라인 코드",subscript:"아래 첨자",superscript:"위 첨자",hr:"구분선",todo:"할 일 목록",emoji:"이모지",highlight:"강조","font-color":"글꼴 색상",align:"정렬","line-height":"줄 간격","bullet-list":"글머리 기호 목록","ordered-list":"번호 목록","indent-decrease":"들여쓰기 줄이기","indent-increase":"들여쓰기 늘리기",break:"줄바꿈",image:"이미지",video:"비디오",attachment:"첨부 파일",quote:"인용","code-block":"코드 블록",table:"테이블",printer:"인쇄",fullscreen:"전체 화면",ai:"AI","menu-group":"메뉴 그룹",paragraph:"본문",h1:"제목 1",h2:"제목 2",h3:"제목 3",h4:"제목 4",h5:"제목 5",h6:"제목 6",standardColors:"표준 색상",historyColors:"최근 사용 색상",insertTable:"테이블 삽입",row:"행",column:"열","align-left":"왼쪽 정렬","align-right":"오른쪽 정렬","align-center":"가운데 정렬","align-justify":"양쪽 맞춤","insert-column-left":"왼쪽에 열 삽입","insert-column-right":"오른쪽에 열 삽입","insert-row-top":"위쪽에 행 삽입","insert-row-bottom":"아래쪽에 행 삽입","delete-column":"열 삭제","delete-row":"행 삭제","merge-cells-horizontal":"셀 병합","merge-cells-vertical":"셀 세로 병합","split-cells-horizontal":"셀 가로 분할","split-cells-vertical":"셀 세로 분할","delete-table":"테이블 삭제","edit-link":"링크 편집",unlink:"링크 해제","visit-link":"링크 방문","link-address":"링크 주소","link-open-type":"열기 유형","link-open-blank":"새 창","default-font-size":"기본 글꼴 크기","default-font-family":"기본 글꼴","codeblock-ai-auto-comment":"자동 주석","codeblock-ai-code-explain":"코드 설명","placeholder-tell-ai-what-to-do-next":"AI에게 다음 작업을 지시하세요. 예: 영어로 번역해 주세요","tip-you-can-enter-text-above-or-select-the-operation-below":"팁: 위에 텍스트를 입력하거나 아래 작업을 선택할 수 있습니다","you-can-do-the-following":"다음 작업을 수행할 수 있습니다:","improve-writing":"글쓰기 개선","check-spelling-and-grammar":"철자 및 문법 검사","make-shorter":"짧게 만들기","make-longer":"길게 만들기",translate:"번역",summarize:"요약","ai-append":"추가","ai-replace":"대체","ai-cancel":"취소","ai-continuation":"AI 계속","ai-optimization":"AI 최적화","ai-proofreading":"AI 교정","ai-translation":"AI 번역"},Svn={default:"ค่าเริ่มต้น",delete:"ลบ",confirm:"ยืนยัน",cancel:"ยกเลิก",resize:"ปรับขนาด",undo:"เลิกทำ",redo:"ทำซ้ำ",brush:"แปรงรูปแบบ",container:"บล็อกไฮไลท์",eraser:"ล้างรูปแบบ",heading:"ข้อความ/หัวข้อ","font-family":"แบบอักษร","font-size":"ขนาดตัวอักษร",bold:"ตัวหนา",italic:"ตัวเอียง",underline:"ขีดเส้นใต้",strike:"ขีดฆ่า",link:"ลิงก์","source-code":"โค้ดต้นฉบับ",code:"โค้ดในบรรทัด",subscript:"ตัวห้อย",superscript:"ตัวยก",hr:"เส้นแบ่ง",todo:"รายการสิ่งที่ต้องทำ",emoji:"อีโมจิ",highlight:"ไฮไลท์","font-color":"สีตัวอักษร",align:"จัดแนว","line-height":"ความสูงบรรทัด","bullet-list":"รายการจุด","ordered-list":"รายการลำดับ","indent-decrease":"ลดการเยื้อง","indent-increase":"เพิ่มการเยื้อง",break:"ขึ้นบรรทัดใหม่",image:"รูปภาพ",video:"วิดีโอ",attachment:"ไฟล์แนบ",quote:"อ้างอิง","code-block":"บล็อกโค้ด",table:"ตาราง",printer:"พิมพ์",fullscreen:"เต็มจอ",ai:"ปัญญาประดิษฐ์","menu-group":"กลุ่มเมนู",paragraph:"ข้อความ",h1:"หัวข้อ 1",h2:"หัวข้อ 2",h3:"หัวข้อ 3",h4:"หัวข้อ 4",h5:"หัวข้อ 5",h6:"หัวข้อ 6",standardColors:"สีมาตรฐาน",historyColors:"ใช้ล่าสุด",insertTable:"แทรกตาราง",row:"แถว",column:"คอลัมน์","align-left":"จัดชิดซ้าย","align-right":"จัดชิดขวา","align-center":"จัดกึ่งกลาง","align-justify":"จัดเต็มหน้า","insert-column-left":"แทรกคอลัมน์ด้านซ้าย","insert-column-right":"แทรกคอลัมน์ด้านขวา","insert-row-top":"แทรกแถวด้านบน","insert-row-bottom":"แทรกแถวด้านล่าง","delete-column":"ลบคอลัมน์","delete-row":"ลบแถว","merge-cells-horizontal":"ผสานเซลล์ตามแนวนอน","merge-cells-vertical":"ผสานเซลล์ตามแนวตั้ง","split-cells-horizontal":"แยกเซลล์แนวนอน","split-cells-vertical":"แยกเซลล์แนวตั้ง","delete-table":"ลบตาราง","edit-link":"แก้ไขลิงก์",unlink:"ยกเลิกการเชื่อมโยง","visit-link":"เยี่ยมชมลิงก์","link-address":"ที่อยู่ลิงก์","link-open-type":"วิธีการเปิด","link-open-blank":"หน้าต่างใหม่","default-font-size":"ขนาดตัวอักษร","default-font-family":"แบบอักษรเริ่มต้น","codeblock-ai-auto-comment":"คอมเมนต์อัตโนมัติ","codeblock-ai-code-explain":"อธิบายโค้ด","placeholder-tell-ai-what-to-do-next":"บอก AI ว่าต้องทำอะไรต่อไป เช่น ช่วยแปลเป็นภาษาอังกฤษ","tip-you-can-enter-text-above-or-select-the-operation-below":"เคล็ดลับ: คุณสามารถป้อนข้อความข้างบนหรือเลือกการดำเนินการด้านล่าง","you-can-do-the-following":"คุณสามารถทำสิ่งต่อไปนี้:","improve-writing":"ปรับปรุงการเขียน","check-spelling-and-grammar":"ตรวจสอบการสะกดและไวยากรณ์","make-shorter":"ทำให้สั้นลง","make-longer":"ทำให้ยาวขึ้น",translate:"แปล",summarize:"สรุป","ai-append":"เพิ่ม","ai-replace":"แทนที่","ai-cancel":"ยกเลิก","ai-continuation":"AI เขียนต่อ","ai-optimization":"AI ปรับแต่ง","ai-proofreading":"AI พิสูจน์อักษร","ai-translation":"AI แปล"},Evn={default:"Mặc định",delete:"Xóa",confirm:"Xác nhận",cancel:"Hủy",resize:"Điều chỉnh kích thước",undo:"Hoàn tác",redo:"Làm lại",brush:"Chổi định dạng",container:"Khối nổi bật",eraser:"Xóa định dạng",heading:"Nội dung/Đầu đề","font-family":"Phông chữ","font-size":"Cỡ chữ",bold:"In đậm",italic:"In nghiêng",underline:"Gạch chân",strike:"Gạch ngang",link:"Liên kết","source-code":"Mã nguồn",code:"Mã trong dòng",subscript:"Chỉ số dưới",superscript:"Chỉ số trên",hr:"Đường phân cách",todo:"Danh sách công việc",emoji:"Biểu tượng cảm xúc",highlight:"Đánh dấu","font-color":"Màu chữ",align:"Căn chỉnh","line-height":"Chiều cao dòng","bullet-list":"Danh sách dấu chấm","ordered-list":"Danh sách có thứ tự","indent-decrease":"Giảm thụt lề","indent-increase":"Tăng thụt lề",break:"Xuống dòng",image:"Hình ảnh",video:"Video",attachment:"Tệp đính kèm",quote:"Trích dẫn","code-block":"Khối mã",table:"Bảng",printer:"In",fullscreen:"Toàn màn hình",ai:"Trí tuệ nhân tạo","menu-group":"Nhóm menu",paragraph:"Nội dung",h1:"Tiêu đề 1",h2:"Tiêu đề 2",h3:"Tiêu đề 3",h4:"Tiêu đề 4",h5:"Tiêu đề 5",h6:"Tiêu đề 6",standardColors:"Màu tiêu chuẩn",historyColors:"Màu đã dùng gần đây",insertTable:"Chèn bảng",row:"Hàng",column:"Cột","align-left":"Căn trái","align-right":"Căn phải","align-center":"Căn giữa","align-justify":"Căn đều","insert-column-left":"Chèn cột bên trái","insert-column-right":"Chèn cột bên phải","insert-row-top":"Chèn hàng phía trên","insert-row-bottom":"Chèn hàng phía dưới","delete-column":"Xóa cột hiện tại","delete-row":"Xóa hàng hiện tại","merge-cells-horizontal":"Gộp ô ngang","merge-cells-vertical":"Gộp ô dọc","split-cells-horizontal":"Tách ô ngang","split-cells-vertical":"Tách ô dọc","delete-table":"Xóa bảng","edit-link":"Chỉnh sửa liên kết",unlink:"Hủy liên kết","visit-link":"Truy cập liên kết","link-address":"Địa chỉ liên kết","link-open-type":"Cách mở liên kết","link-open-blank":"Cửa sổ mới","default-font-size":"Cỡ chữ","default-font-family":"Phông chữ mặc định","codeblock-ai-auto-comment":"Nhận xét tự động","codeblock-ai-code-explain":"Giải thích mã","placeholder-tell-ai-what-to-do-next":"Nói với AI bước tiếp theo là gì? Ví dụ: Giúp tôi dịch sang tiếng Anh","tip-you-can-enter-text-above-or-select-the-operation-below":"Mẹo: Bạn có thể nhập văn bản phía trên hoặc chọn thao tác bên dưới","you-can-do-the-following":"Bạn có thể thực hiện các thao tác sau:","improve-writing":"Cải thiện bài viết","check-spelling-and-grammar":"Kiểm tra chính tả và ngữ pháp","make-shorter":"Rút gọn","make-longer":"Mở rộng nội dung",translate:"Dịch",summarize:"Tóm tắt","ai-append":"Thêm vào","ai-replace":"Thay thế","ai-cancel":"Hủy","ai-continuation":"AI Viết tiếp","ai-optimization":"AI Tối ưu hóa","ai-proofreading":"AI Hiệu đính","ai-translation":"AI Dịch"},bpe={};function Cvn(e){let t=bpe[e];if(t)return t;t=bpe[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);t.push(r)}for(let n=0;n=55296&&u<=57343?i+="���":i+=String.fromCharCode(u),o+=6;continue}}if((s&248)===240&&o+91114111?i+="����":(d-=65536,i+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),o+=9;continue}}i+="�"}return i})}Q_.defaultChars=";/?:@&=+$,#";Q_.componentChars="";const ype={};function wvn(e){let t=ype[e];if(t)return t;t=ype[e]=[];for(let n=0;n<128;n++){const r=String.fromCharCode(n);/^[0-9a-z]$/i.test(r)?t.push(r):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n"u"&&(n=!0);const r=wvn(t);let i="";for(let o=0,a=e.length;o=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){i+=encodeURIComponent(e[o]+e[o+1]),o++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[o])}return i}yO.defaultChars=";/?:@&=+$,-_.!~*'()#";yO.componentChars="-_.!~*'()";function tZ(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function $4(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Tvn=/^([a-z0-9.+-]+:)/i,xvn=/:[0-9]*$/,Ovn=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Rvn=["<",">",'"',"`"," ","\r",` +`," "],Ivn=["{","}","|","\\","^","`"].concat(Rvn),Avn=["'"].concat(Ivn),_pe=["%","/","?",";","#"].concat(Avn),Spe=["/","?","#"],Nvn=255,Epe=/^[+a-z0-9A-Z_-]{0,63}$/,Mvn=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Cpe={javascript:!0,"javascript:":!0},wpe={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function nZ(e,t){if(e&&e instanceof $4)return e;const n=new $4;return n.parse(e,t),n}$4.prototype.parse=function(e,t){let n,r,i,o=e;if(o=o.trim(),!t&&e.split("#").length===1){const c=Ovn.exec(o);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let a=Tvn.exec(o);if(a&&(a=a[0],n=a.toLowerCase(),this.protocol=a,o=o.substr(a.length)),(t||a||o.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=o.substr(0,2)==="//",i&&!(a&&Cpe[a])&&(o=o.substr(2),this.slashes=!0)),!Cpe[a]&&(i||a&&!wpe[a])){let c=-1;for(let m=0;m127?b+="x":b+=y[_];if(!b.match(Epe)){const _=m.slice(0,g),E=m.slice(g+1),C=y.match(Mvn);C&&(_.push(C[1]),E.unshift(C[2])),E.length&&(o=E.join(".")+o),this.hostname=_.join(".");break}}}}this.hostname.length>Nvn&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=o.indexOf("#");s!==-1&&(this.hash=o.substr(s),o=o.slice(0,s));const l=o.indexOf("?");return l!==-1&&(this.search=o.substr(l),o=o.slice(0,l)),o&&(this.pathname=o),wpe[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};$4.prototype.parseHost=function(e){let t=xvn.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const kvn=Object.freeze(Object.defineProperty({__proto__:null,decode:Q_,encode:yO,format:tZ,parse:nZ},Symbol.toStringTag,{value:"Module"})),F5e=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,B5e=/[\0-\x1F\x7F-\x9F]/,Pvn=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,rZ=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\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-\u2E4F\u2E52-\u2E5D\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[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,j5e=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,H5e=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Dvn=Object.freeze(Object.defineProperty({__proto__:null,Any:F5e,Cc:B5e,Cf:Pvn,P:rZ,S:j5e,Z:H5e},Symbol.toStringTag,{value:"Module"})),Lvn=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),$vn=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var a7;const Fvn=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Bvn=(a7=String.fromCodePoint)!==null&&a7!==void 0?a7:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function jvn(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Fvn.get(e))!==null&&t!==void 0?t:e}var Ba;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Ba||(Ba={}));const Hvn=32;var Gm;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Gm||(Gm={}));function HV(e){return e>=Ba.ZERO&&e<=Ba.NINE}function Uvn(e){return e>=Ba.UPPER_A&&e<=Ba.UPPER_F||e>=Ba.LOWER_A&&e<=Ba.LOWER_F}function zvn(e){return e>=Ba.UPPER_A&&e<=Ba.UPPER_Z||e>=Ba.LOWER_A&&e<=Ba.LOWER_Z||HV(e)}function Vvn(e){return e===Ba.EQUALS||zvn(e)}var Pa;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Pa||(Pa={}));var Cm;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Cm||(Cm={}));class Gvn{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Pa.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Cm.Strict}startEntity(t){this.decodeMode=t,this.state=Pa.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Pa.EntityStart:return t.charCodeAt(n)===Ba.NUM?(this.state=Pa.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Pa.NamedEntity,this.stateNamedEntity(t,n));case Pa.NumericStart:return this.stateNumericStart(t,n);case Pa.NumericDecimal:return this.stateNumericDecimal(t,n);case Pa.NumericHex:return this.stateNumericHex(t,n);case Pa.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Hvn)===Ba.LOWER_X?(this.state=Pa.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Pa.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const o=r-n;this.result=this.result*Math.pow(i,o)+parseInt(t.substr(n,o),i),this.consumed+=o}}stateNumericHex(t,n){const r=n;for(;n>14;for(;n>14,o!==0){if(a===Ba.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Cm.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&Gm.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~Gm.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case Pa.NamedEntity:return this.result!==0&&(this.decodeMode!==Cm.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Pa.NumericDecimal:return this.emitNumericEntity(0,2);case Pa.NumericHex:return this.emitNumericEntity(0,3);case Pa.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Pa.EntityStart:return 0}}}function U5e(e){let t="";const n=new Gvn(e,r=>t+=Bvn(r));return function(r,i){let o=0,a=0;for(;(a=r.indexOf("&",a))>=0;){t+=r.slice(o,a),n.startEntity(i);const l=n.write(r,a+1);if(l<0){o=a+n.end();break}o=a+l,a=l===0?o+1:o}const s=t+r.slice(o);return t="",s}}function Wvn(e,t,n,r){const i=(t&Gm.BRANCH_LENGTH)>>7,o=t&Gm.JUMP_TABLE;if(i===0)return o!==0&&r===o?n:-1;if(o){const l=r-o;return l<0||l>=i?-1:e[n+l]-1}let a=n,s=a+i-1;for(;a<=s;){const l=a+s>>>1,c=e[l];if(cr)s=l-1;else return e[l+i]}return-1}const qvn=U5e(Lvn);U5e($vn);function z5e(e,t=Cm.Legacy){return qvn(e,t)}function Yvn(e){return Object.prototype.toString.call(e)}function iZ(e){return Yvn(e)==="[object String]"}const Kvn=Object.prototype.hasOwnProperty;function Qvn(e,t){return Kvn.call(e,t)}function M9(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!="object")throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function V5e(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function oZ(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function F4(e){if(e>65535){e-=65536;const t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}const G5e=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Xvn=/&([a-z#][a-z0-9]{1,31});/gi,Zvn=new RegExp(G5e.source+"|"+Xvn.source,"gi"),Jvn=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function e0n(e,t){if(t.charCodeAt(0)===35&&Jvn.test(t)){const r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return oZ(r)?F4(r):e}const n=z5e(e);return n!==e?n:e}function t0n(e){return e.indexOf("\\")<0?e:e.replace(G5e,"$1")}function X_(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Zvn,function(t,n,r){return n||e0n(t,r)})}const n0n=/[&<>"]/,r0n=/[&<>"]/g,i0n={"&":"&","<":"<",">":">",'"':"""};function o0n(e){return i0n[e]}function wg(e){return n0n.test(e)?e.replace(r0n,o0n):e}const a0n=/[.?*+^$[\]\\(){}|-]/g;function s0n(e){return e.replace(a0n,"\\$&")}function Qi(e){switch(e){case 9:case 32:return!0}return!1}function Tx(e){if(e>=8192&&e<=8202)return!0;switch(e){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}function xx(e){return rZ.test(e)||j5e.test(e)}function Ox(e){switch(e){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 k9(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const l0n={mdurl:kvn,ucmicro:Dvn},c0n=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:V5e,assign:M9,escapeHtml:wg,escapeRE:s0n,fromCodePoint:F4,has:Qvn,isMdAsciiPunct:Ox,isPunctChar:xx,isSpace:Qi,isString:iZ,isValidEntityCode:oZ,isWhiteSpace:Tx,lib:l0n,normalizeReference:k9,unescapeAll:X_,unescapeMd:t0n},Symbol.toStringTag,{value:"Module"}));function u0n(e,t,n){let r,i,o,a;const s=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos32))return o;if(r===41){if(a===0)break;a--}i++}return t===i||a!==0||(o.str=X_(e.slice(t,i)),o.pos=i,o.ok=!0),o}function f0n(e,t,n,r){let i,o=t;const a={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(r)a.str=r.str,a.marker=r.marker;else{if(o>=n)return a;let s=e.charCodeAt(o);if(s!==34&&s!==39&&s!==40)return a;t++,o++,s===40&&(s=41),a.marker=s}for(;o"+wg(o.content)+""};Zf.code_block=function(e,t,n,r,i){const o=e[t];return""+wg(e[t].content)+` `};Zf.fence=function(e,t,n,r,i){const o=e[t],a=o.info?X_(o.info).trim():"";let s="",l="";if(a){const u=a.split(/(\s+)/g);s=u[0],l=u.slice(2).join("")}let c;if(n.highlight?c=n.highlight(o.content,s,l)||wg(o.content):c=wg(o.content),c.indexOf("${c} `}return`
${c}
@@ -1437,9 +1437,9 @@ ${cr("ai-append")} `};Zf.text=function(e,t){return wg(e[t].content)};Zf.html_block=function(e,t){return e[t].content};Zf.html_inline=function(e,t){return e[t].content};function sE(){this.rules=M9({},Zf)}sE.prototype.renderAttrs=function(e){let t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t `:">",i};sE.prototype.renderInline=function(e,t,n){let r="";const i=this.rules;for(let o=0,a=e.length;o=0&&(n=this.attrs[t][1]),n};Vd.prototype.attrJoin=function(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t};function WPe(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}WPe.prototype.Token=Vd;const h0n=/\r\n?|\n/g,m0n=/\0/g;function g0n(e){let t;t=e.src.replace(h0n,` -`),t=t.replace(m0n,"�"),e.src=t}function v0n(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function b0n(e){const t=e.tokens;for(let n=0,r=t.length;n\s]/i.test(e)}function _0n(e){return/^<\/a\s*>/i.test(e)}function S0n(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n=0;a--){const s=i[a];if(s.type==="link_close"){for(a--;i[a].level!==s.level&&i[a].type!=="link_open";)a--;continue}if(s.type==="html_inline"&&(y0n(s.content)&&o>0&&o--,_0n(s.content)&&o++),!(o>0)&&s.type==="text"&&e.md.linkify.test(s.content)){const l=s.content;let c=e.md.linkify.match(l);const u=[];let d=s.level,f=0;c.length>0&&c[0].index===0&&a>0&&i[a-1].type==="text_special"&&(c=c.slice(1));for(let h=0;hf){const C=new e.Token("text","",0);C.content=l.slice(f,y),C.level=d,u.push(C)}const b=new e.Token("link_open","a",1);b.attrs=[["href",g]],b.level=d++,b.markup="linkify",b.info="auto",u.push(b);const _=new e.Token("text","",0);_.content=v,_.level=d,u.push(_);const E=new e.Token("link_close","a",-1);E.level=--d,E.markup="linkify",E.info="auto",u.push(E),f=c[h].lastIndex}if(f=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(C0n,T0n)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function O0n(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&qPe.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function R0n(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(E0n.test(e.tokens[t].content)&&x0n(e.tokens[t].children),qPe.test(e.tokens[t].content)&&O0n(e.tokens[t].children))}const I0n=/['"]/,Tpe=/['"]/g,xpe="’";function AI(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function A0n(e,t){let n;const r=[];for(let i=0;i=0&&!(r[n].level<=a);n--);if(r.length=n+1,o.type!=="text")continue;let s=o.content,l=0,c=s.length;e:for(;l=0)m=s.charCodeAt(u.index-1);else for(n=i-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){m=e[n].content.charCodeAt(e[n].content.length-1);break}let g=32;if(l=48&&m<=57&&(f=d=!1),d&&f&&(d=v,f=y),!d&&!f){h&&(o.content=AI(o.content,u.index,xpe));continue}if(f)for(n=r.length-1;n>=0;n--){let E=r[n];if(r[n].level=0;t--)e.tokens[t].type!=="inline"||!I0n.test(e.tokens[t].content)||A0n(e.tokens[t].children,e)}function M0n(e){let t,n;const r=e.tokens,i=r.length;for(let o=0;o0&&this.level++,this.tokens.push(r),r};Jf.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Jf.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!Qi(this.src.charCodeAt(--e)))return e+1;return e};Jf.prototype.skipChars=function(e,t){for(let n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e};Jf.prototype.getLines=function(e,t,n,r){if(e>=t)return"";const i=new Array(t-e);for(let o=0,a=e;an?i[o]=new Array(s-n+1).join(" ")+this.src.slice(c,u):i[o]=this.src.slice(c,u)}return i.join("")};Jf.prototype.Token=Vd;const k0n=65536;function l7(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Ope(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),o=!1,a=0,s="";for(;rn)return!1;let i=t+1;if(e.sCount[i]=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;const a=e.src.charCodeAt(o++);if(a!==124&&a!==45&&a!==58||o>=e.eMarks[i])return!1;const s=e.src.charCodeAt(o++);if(s!==124&&s!==45&&s!==58&&!Qi(s)||a===45&&Qi(s))return!1;for(;o=4)return!1;c=Ope(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const d=c.length;if(d===0||d!==u.length)return!1;if(r)return!0;const f=e.parentType;e.parentType="table";const h=e.md.block.ruler.getRules("blockquote"),m=e.push("table_open","table",1),g=[t,0];m.map=g;const v=e.push("thead_open","thead",1);v.map=[t,t+1];const y=e.push("tr_open","tr",1);y.map=[t,t+1];for(let E=0;E=4||(c=Ope(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),_+=d-c.length,_>k0n))break;if(i===t+2){const S=e.push("tbody_open","tbody",1);S.map=b=[t+2,0]}const C=e.push("tr_open","tr",1);C.map=[i,i+1];for(let S=0;S=4){r++,i=r;continue}break}e.line=i;const o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+` -`,o.map=[t,e.line],!0}function L0n(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>o)return!1;const a=e.src.charCodeAt(i);if(a!==126&&a!==96)return!1;let s=i;i=e.skipChars(i,a);let l=i-s;if(l<3)return!1;const c=e.src.slice(s,i),u=e.src.slice(i,o);if(a===96&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;d++,!(d>=n||(i=s=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],i=4)&&(i=e.skipChars(i,a),!(i-s=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;const s=[],l=[],c=[],u=[],d=e.md.block.ruler.getRules("blockquote"),f=e.parentType;e.parentType="blockquote";let h=!1,m;for(m=t;m=o)break;if(e.src.charCodeAt(i++)===62&&!_){let C=e.sCount[m]+1,S,w;e.src.charCodeAt(i)===32?(i++,C++,w=!1,S=!0):e.src.charCodeAt(i)===9?(S=!0,(e.bsCount[m]+C)%4===3?(i++,C++,w=!1):w=!0):S=!1;let T=C;for(s.push(e.bMarks[m]),e.bMarks[m]=i;i=o,l.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+(S?1:0),c.push(e.sCount[m]),e.sCount[m]=T-C,u.push(e.tShift[m]),e.tShift[m]=i-e.bMarks[m];continue}if(h)break;let E=!1;for(let C=0,S=d.length;C";const y=[t,0];v.map=y,e.md.block.tokenize(e,t,m);const b=e.push("blockquote_close","blockquote",-1);b.markup=">",e.lineMax=a,e.parentType=f,y[1]=e.line;for(let _=0;_=4)return!1;let o=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(o++);if(a!==42&&a!==45&&a!==95)return!1;let s=1;for(;o=r)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=e.src.charCodeAt(i++),o>=48&&o<=57){if(i-n>=10)return-1;continue}if(o===41||o===46)break;return-1}return i=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(u=!0);let d,f,h;if((h=Ipe(e,l))>=0){if(d=!0,a=e.bMarks[l]+e.tShift[l],f=Number(e.src.slice(a,h-1)),u&&f!==1)return!1}else if((h=Rpe(e,l))>=0)d=!1;else return!1;if(u&&e.skipSpaces(h)>=e.eMarks[l])return!1;if(r)return!0;const m=e.src.charCodeAt(h-1),g=e.tokens.length;d?(s=e.push("ordered_list_open","ol",1),f!==1&&(s.attrs=[["start",f]])):s=e.push("bullet_list_open","ul",1);const v=[l,0];s.map=v,s.markup=String.fromCharCode(m);let y=!1;const b=e.md.block.ruler.getRules("list"),_=e.parentType;for(e.parentType="list";l=i?w=1:w=C-E,w>4&&(w=1);const T=E+w;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(m);const O=[l,0];s.map=O,d&&(s.info=e.src.slice(a,h-1));const x=e.tight,A=e.tShift[l],I=e.sCount[l],M=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=T,e.tight=!0,e.tShift[l]=S-e.bMarks[l],e.sCount[l]=C,S>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),(!e.tight||y)&&(c=!1),y=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=M,e.tShift[l]=A,e.sCount[l]=I,e.tight=x,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(m),l=e.line,O[1]=l,l>=n||e.sCount[l]=4)break;let B=!1;for(let P=0,k=b.length;P=4||e.src.charCodeAt(i)!==91)return!1;function s(b){const _=e.lineMax;if(b>=_||e.isEmpty(b))return null;let E=!1;if(e.sCount[b]-e.blkIndent>3&&(E=!0),e.sCount[b]<0&&(E=!0),!E){const w=e.md.block.ruler.getRules("reference"),T=e.parentType;e.parentType="reference";let O=!1;for(let x=0,A=w.length;x"u"&&(e.env.references={}),typeof e.env.references[y]>"u"&&(e.env.references[y]={title:v,href:d}),e.line=a),!0):!1}const U0n=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],z0n="[a-zA-Z_:][a-zA-Z0-9:._-]*",V0n="[^\"'=<>`\\x00-\\x20]+",G0n="'[^']*'",W0n='"[^"]*"',q0n="(?:"+V0n+"|"+G0n+"|"+W0n+")",Y0n="(?:\\s+"+z0n+"(?:\\s*=\\s*"+q0n+")?)",YPe="<[A-Za-z][A-Za-z0-9\\-]*"+Y0n+"*\\s*\\/?>",KPe="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",K0n="",Q0n="<[?][\\s\\S]*?[?]>",X0n="]*>",Z0n="",J0n=new RegExp("^(?:"+YPe+"|"+KPe+"|"+K0n+"|"+Q0n+"|"+X0n+"|"+Z0n+")"),ebn=new RegExp("^(?:"+YPe+"|"+KPe+")"),Sb=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(ebn.source+"\\s*$"),/^$/,!1]];function tbn(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let a=e.src.slice(i,o),s=0;for(;s=4)return!1;let a=e.src.charCodeAt(i);if(a!==35||i>=o)return!1;let s=1;for(a=e.src.charCodeAt(++i);a===35&&i6||ii&&Qi(e.src.charCodeAt(l-1))&&(o=l),e.line=t+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];const u=e.push("inline","",0);u.content=e.src.slice(i,o).trim(),u.map=[t,e.line],u.children=[];const d=e.push("heading_close","h"+String(s),-1);return d.markup="########".slice(0,s),!0}function rbn(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let o=0,a,s=t+1;for(;s3)continue;if(e.sCount[s]>=e.blkIndent){let h=e.bMarks[s]+e.tShift[s];const m=e.eMarks[s];if(h=m))){o=a===61?1:2;break}}if(e.sCount[s]<0)continue;let f=!1;for(let h=0,m=r.length;h3||e.sCount[o]<0)continue;let c=!1;for(let u=0,d=r.length;u=n||e.sCount[a]=o){e.line=n;break}const l=e.line;let c=!1;for(let u=0;u=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};_O.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const i=e.pending.match(sbn);if(!i)return!1;const o=i[1],a=e.md.linkify.matchAtStart(e.src.slice(n-o.length));if(!a)return!1;let s=a.url;if(s.length<=o.length)return!1;s=s.replace(/\*+$/,"");const l=e.md.normalizeLink(s);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-o.length);const c=e.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";const u=e.push("text","",0);u.content=e.md.normalizeLinkText(s);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=s.length-o.length,!0}function cbn(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let o=r-1;for(;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n?@[]^_`{|}~-".split("").forEach(function(e){sZ[e.charCodeAt(0)]=1});function ubn(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push("hardbreak","br",0),n++;n=55296&&i<=56319&&n+1=56320&&s<=57343&&(o+=e.src[n+1],n++)}const a="\\"+o;if(!t){const s=e.push("text_special","",0);i<256&&sZ[i]!==0?s.content=o:s.content=a,s.markup=a,s.info="escape"}return e.pos=n+1,!0}function dbn(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const r=n;n++;const i=e.posMax;for(;n=0;r--){const i=t[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const o=t[i.end],a=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===o.token+1,s=String.fromCharCode(i.marker),l=e.tokens[i.token];l.type=a?"strong_open":"em_open",l.tag=a?"strong":"em",l.nesting=1,l.markup=a?s+s:s,l.content="";const c=e.tokens[o.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?s+s:s,c.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--)}}function mbn(e){const t=e.tokens_meta,n=e.tokens_meta.length;Npe(e,e.delimiters);for(let r=0;r=d)return!1;if(l=m,i=e.md.helpers.parseLinkDestination(e.src,m,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?m=i.pos:a="",l=m;m=d||e.src.charCodeAt(m)!==41)&&(c=!0),m++}if(c){if(typeof e.env.references>"u")return!1;if(m=0?r=e.src.slice(l,m++):m=h+1):m=h+1,r||(r=e.src.slice(f,h)),o=e.env.references[k9(r)],!o)return e.pos=u,!1;a=o.href,s=o.title}if(!t){e.pos=f,e.posMax=h;const g=e.push("link_open","a",1),v=[["href",a]];g.attrs=v,s&&v.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=m,e.posMax=d,!0}function vbn(e,t){let n,r,i,o,a,s,l,c,u="";const d=e.pos,f=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const h=e.pos+2,m=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(m<0)return!1;if(o=m+1,o=f)return!1;for(c=o,s=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?o=s.pos:u=""),c=o;o=f||e.src.charCodeAt(o)!==41)return e.pos=d,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o=0?i=e.src.slice(c,o++):o=m+1):o=m+1,i||(i=e.src.slice(h,m)),a=e.env.references[k9(i)],!a)return e.pos=d,!1;u=a.href,l=a.title}if(!t){r=e.src.slice(h,m);const g=[];e.md.inline.parse(r,e.md,e.env,g);const v=e.push("image","img",0),y=[["src",u],["alt",""]];v.attrs=y,v.children=g,v.content=r,l&&y.push(["title",l])}return e.pos=o,e.posMax=f,!0}const bbn=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,ybn=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function _bn(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const a=e.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}const o=e.src.slice(r+1,n);if(ybn.test(o)){const a=e.md.normalizeLink(o);if(!e.md.validateLink(a))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(o);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=o.length+2,!0}if(bbn.test(o)){const a=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(a))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(o);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=o.length+2,!0}return!1}function Sbn(e){return/^\s]/i.test(e)}function Ebn(e){return/^<\/a\s*>/i.test(e)}function Cbn(e){const t=e|32;return t>=97&&t<=122}function wbn(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!Cbn(i))return!1;const o=e.src.slice(r).match(J0n);if(!o)return!1;if(!t){const a=e.push("html_inline","",0);a.content=o[0],Sbn(a.content)&&e.linkLevel++,Ebn(a.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}const Tbn=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,xbn=/^&([a-z][a-z0-9]{1,31});/i;function Obn(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const i=e.src.slice(n).match(Tbn);if(i){if(!t){const o=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=e.push("text_special","",0);a.content=oZ(o)?F4(o):F4(65533),a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(n).match(xbn);if(i){const o=zPe(i[0]);if(o!==i[0]){if(!t){const a=e.push("text_special","",0);a.content=o,a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function Mpe(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const o=[];for(let a=0;al;c-=o[c]+1){const d=e[c];if(d.marker===s.marker&&d.open&&d.end<0){let f=!1;if((d.close||s.open)&&(d.length+s.length)%3===0&&(d.length%3!==0||s.length%3!==0)&&(f=!0),!f){const h=c>0&&!e[c-1].open?o[c-1]+1:0;o[a]=a-c+h,o[c]=h,s.open=!1,d.end=a,d.close=!1,u=-1,i=-2;break}}}u!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=u)}}function Rbn(e){const t=e.tokens_meta,n=e.tokens_meta.length;Mpe(e.delimiters);for(let r=0;r0&&r++,i[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos};SO.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};SO.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const o=this.ruler2.getRules(""),a=o.length;for(let s=0;s|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function UV(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function D9(e){return Object.prototype.toString.call(e)}function Nbn(e){return D9(e)==="[object String]"}function Mbn(e){return D9(e)==="[object Object]"}function kbn(e){return D9(e)==="[object RegExp]"}function kpe(e){return D9(e)==="[object Function]"}function Pbn(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const ZPe={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Dbn(e){return Object.keys(e||{}).reduce(function(t,n){return t||ZPe.hasOwnProperty(n)},!1)}const Lbn={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},$bn="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Fbn="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Bbn(e){e.__index__=-1,e.__text_cache__=""}function jbn(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function Ppe(){return function(e,t){t.normalize(e)}}function B4(e){const t=e.re=Abn(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push($bn),n.push(t.src_xn),t.src_tlds=n.join("|");function r(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];e.__compiled__={};function o(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}Object.keys(e.__schemas__).forEach(function(s){const l=e.__schemas__[s];if(l===null)return;const c={validate:null,link:null};if(e.__compiled__[s]=c,Mbn(l)){kbn(l.validate)?c.validate=jbn(l.validate):kpe(l.validate)?c.validate=l.validate:o(s,l),kpe(l.normalize)?c.normalize=l.normalize:l.normalize?o(s,l):c.normalize=Ppe();return}if(Nbn(l)){i.push(s);return}o(s,l)}),i.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:Ppe()};const a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(Pbn).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),Bbn(e)}function Hbn(e,t){const n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function zV(e,t){const n=new Hbn(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function xc(e,t){if(!(this instanceof xc))return new xc(e,t);t||Dbn(e)&&(t=e,e={}),this.__opts__=UV({},ZPe,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=UV({},Lbn,e),this.__compiled__={},this.__tlds__=Fbn,this.__tlds_replaced__=!1,this.re={},B4(this)}xc.prototype.add=function(e,t){return this.__schemas__[e]=t,B4(this),this};xc.prototype.set=function(e){return this.__opts__=UV(this.__opts__,e),this};xc.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,r,i,o,a,s,l,c;if(this.re.schema_test.test(e)){for(s=this.re.schema_search,s.lastIndex=0;(t=s.exec(e))!==null;)if(i=this.testSchemaAt(e,t[2],s.lastIndex),i){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&(r=e.match(this.re.email_fuzzy))!==null&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a))),this.__index__>=0};xc.prototype.pretest=function(e){return this.re.pretest.test(e)};xc.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0};xc.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(zV(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)t.push(zV(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null};xc.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,zV(this,0)):null};xc.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,r,i){return n!==i[r-1]}).reverse(),B4(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,B4(this),this)};xc.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};xc.prototype.onCompile=function(){};const My=2147483647,Of=36,lZ=1,Rx=26,Ubn=38,zbn=700,JPe=72,eDe=128,tDe="-",Vbn=/^xn--/,Gbn=/[^\0-\x7F]/,Wbn=/[\x2E\u3002\uFF0E\uFF61]/g,qbn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d7=Of-lZ,Rf=Math.floor,f7=String.fromCharCode;function gm(e){throw new RangeError(qbn[e])}function Ybn(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function nDe(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(Wbn,".");const i=e.split("."),o=Ybn(i,t).join(".");return r+o}function rDe(e){const t=[];let n=0;const r=e.length;for(;n=55296&&i<=56319&&nString.fromCodePoint(...e),Qbn=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Of},Dpe=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},iDe=function(e,t,n){let r=0;for(e=n?Rf(e/zbn):e>>1,e+=Rf(e/t);e>d7*Rx>>1;r+=Of)e=Rf(e/d7);return Rf(r+(d7+1)*e/(e+Ubn))},oDe=function(e){const t=[],n=e.length;let r=0,i=eDe,o=JPe,a=e.lastIndexOf(tDe);a<0&&(a=0);for(let s=0;s=128&&gm("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s=n&&gm("invalid-input");const f=Qbn(e.charCodeAt(s++));f>=Of&&gm("invalid-input"),f>Rf((My-r)/u)&&gm("overflow"),r+=f*u;const h=d<=o?lZ:d>=o+Rx?Rx:d-o;if(fRf(My/m)&&gm("overflow"),u*=m}const c=t.length+1;o=iDe(r-l,c,l==0),Rf(r/c)>My-i&&gm("overflow"),i+=Rf(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},aDe=function(e){const t=[];e=rDe(e);const n=e.length;let r=eDe,i=0,o=JPe;for(const l of e)l<128&&t.push(f7(l));const a=t.length;let s=a;for(a&&t.push(tDe);s=r&&uRf((My-i)/c)&&gm("overflow"),i+=(l-r)*c,r=l;for(const u of e)if(uMy&&gm("overflow"),u===r){let d=i;for(let f=Of;;f+=Of){const h=f<=o?lZ:f>=o+Rx?Rx:f-o;if(d=0))try{t.hostname=sDe.toASCII(t.hostname)}catch{}return yO(tZ(t))}function syn(e){const t=nZ(e,!0);if(t.hostname&&(!t.protocol||lDe.indexOf(t.protocol)>=0))try{t.hostname=sDe.toUnicode(t.hostname)}catch{}return Q_(tZ(t),Q_.defaultChars+"%")}function wu(e,t){if(!(this instanceof wu))return new wu(e,t);t||iZ(e)||(t=e||{},e="default"),this.inline=new SO,this.block=new P9,this.core=new aZ,this.renderer=new sE,this.linkify=new xc,this.validateLink=oyn,this.normalizeLink=ayn,this.normalizeLinkText=syn,this.utils=c0n,this.helpers=M9({},p0n),this.options={},this.configure(e),t&&this.set(t)}wu.prototype.set=function(e){return M9(this.options,e),this};wu.prototype.configure=function(e){const t=this;if(iZ(e)){const n=e;if(e=nyn[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};wu.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};wu.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};wu.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};wu.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};wu.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};wu.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};wu.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};function lyn(e,t,n){function r(f){return f.trim().split(" ",2)[0]===t}function i(f,h,m,g,v){return f[h].nesting===1&&f[h].attrJoin("class",t),v.renderToken(f,h,m,g,v)}n=n||{};const o=3,a=n.marker||":",s=a.charCodeAt(0),l=a.length,c=n.validate||r,u=n.render||i;function d(f,h,m,g){let v,y=!1,b=f.bMarks[h]+f.tShift[h],_=f.eMarks[h];if(s!==f.src.charCodeAt(b))return!1;for(v=b+1;v<=_&&a[(v-b)%l]===f.src[v];v++);const E=Math.floor((v-b)/l);if(E=m||(b=f.bMarks[w]+f.tShift[w],_=f.eMarks[w],b<_&&f.sCount[w]=4)){for(v=b+1;v<=_&&a[(v-b)%l]===f.src[v];v++);if(!(Math.floor((v-b)/l)=0;r--)if(e[r].level===n)return r;return-1}function dyn(e,t){return vyn(e[t])&&byn(e[t-1])&&yyn(e[t-2])&&_yn(e[t])}function fyn(e,t){if(e.children.unshift(pyn(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),cDe)if(uDe){e.children.pop();var n="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);e.children[0].content=e.children[0].content.slice(0,-1)+' id="'+n+'">',e.children.push(gyn(e.content,n,t))}else e.children.unshift(hyn(t)),e.children.push(myn(t))}function pyn(e,t){var n=new t("html_inline","",0),r=VV?' disabled="" ':"";return e.content.indexOf("[ ] ")===0?n.content='':(e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0)&&(n.content=''),n}function hyn(e){var t=new e("html_inline","",0);return t.content="",t}function gyn(e,t,n){var r=new n("html_inline","",0);return r.content='",r.attrs=[{for:t}],r}function vyn(e){return e.type==="inline"}function byn(e){return e.type==="paragraph_open"}function yyn(e){return e.type==="list_item_open"}function _yn(e){return e.content.indexOf("[ ] ")===0||e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0}const Syn=C9(cyn);function Eyn(e){for(var t=1;t0&&e[t-1]===` +`;break}return r};sE.prototype.render=function(e,t,n){let r="";const i=this.rules;for(let o=0,a=e.length;o=0&&(n=this.attrs[t][1]),n};Vd.prototype.attrJoin=function(e,t){const n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t};function W5e(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}W5e.prototype.Token=Vd;const h0n=/\r\n?|\n/g,m0n=/\0/g;function g0n(e){let t;t=e.src.replace(h0n,` +`),t=t.replace(m0n,"�"),e.src=t}function v0n(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function b0n(e){const t=e.tokens;for(let n=0,r=t.length;n\s]/i.test(e)}function _0n(e){return/^<\/a\s*>/i.test(e)}function S0n(e){const t=e.tokens;if(e.md.options.linkify)for(let n=0,r=t.length;n=0;a--){const s=i[a];if(s.type==="link_close"){for(a--;i[a].level!==s.level&&i[a].type!=="link_open";)a--;continue}if(s.type==="html_inline"&&(y0n(s.content)&&o>0&&o--,_0n(s.content)&&o++),!(o>0)&&s.type==="text"&&e.md.linkify.test(s.content)){const l=s.content;let c=e.md.linkify.match(l);const u=[];let d=s.level,f=0;c.length>0&&c[0].index===0&&a>0&&i[a-1].type==="text_special"&&(c=c.slice(1));for(let h=0;hf){const C=new e.Token("text","",0);C.content=l.slice(f,y),C.level=d,u.push(C)}const b=new e.Token("link_open","a",1);b.attrs=[["href",g]],b.level=d++,b.markup="linkify",b.info="auto",u.push(b);const _=new e.Token("text","",0);_.content=v,_.level=d,u.push(_);const E=new e.Token("link_close","a",-1);E.level=--d,E.markup="linkify",E.info="auto",u.push(E),f=c[h].lastIndex}if(f=0;n--){const r=e[n];r.type==="text"&&!t&&(r.content=r.content.replace(C0n,T0n)),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function O0n(e){let t=0;for(let n=e.length-1;n>=0;n--){const r=e[n];r.type==="text"&&!t&&q5e.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),r.type==="link_open"&&r.info==="auto"&&t--,r.type==="link_close"&&r.info==="auto"&&t++}}function R0n(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(E0n.test(e.tokens[t].content)&&x0n(e.tokens[t].children),q5e.test(e.tokens[t].content)&&O0n(e.tokens[t].children))}const I0n=/['"]/,Tpe=/['"]/g,xpe="’";function AI(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function A0n(e,t){let n;const r=[];for(let i=0;i=0&&!(r[n].level<=a);n--);if(r.length=n+1,o.type!=="text")continue;let s=o.content,l=0,c=s.length;e:for(;l=0)m=s.charCodeAt(u.index-1);else for(n=i-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){m=e[n].content.charCodeAt(e[n].content.length-1);break}let g=32;if(l=48&&m<=57&&(f=d=!1),d&&f&&(d=v,f=y),!d&&!f){h&&(o.content=AI(o.content,u.index,xpe));continue}if(f)for(n=r.length-1;n>=0;n--){let E=r[n];if(r[n].level=0;t--)e.tokens[t].type!=="inline"||!I0n.test(e.tokens[t].content)||A0n(e.tokens[t].children,e)}function M0n(e){let t,n;const r=e.tokens,i=r.length;for(let o=0;o0&&this.level++,this.tokens.push(r),r};Jf.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Jf.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!Qi(this.src.charCodeAt(--e)))return e+1;return e};Jf.prototype.skipChars=function(e,t){for(let n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e};Jf.prototype.getLines=function(e,t,n,r){if(e>=t)return"";const i=new Array(t-e);for(let o=0,a=e;an?i[o]=new Array(s-n+1).join(" ")+this.src.slice(c,u):i[o]=this.src.slice(c,u)}return i.join("")};Jf.prototype.Token=Vd;const k0n=65536;function l7(e,t){const n=e.bMarks[t]+e.tShift[t],r=e.eMarks[t];return e.src.slice(n,r)}function Ope(e){const t=[],n=e.length;let r=0,i=e.charCodeAt(r),o=!1,a=0,s="";for(;rn)return!1;let i=t+1;if(e.sCount[i]=4)return!1;let o=e.bMarks[i]+e.tShift[i];if(o>=e.eMarks[i])return!1;const a=e.src.charCodeAt(o++);if(a!==124&&a!==45&&a!==58||o>=e.eMarks[i])return!1;const s=e.src.charCodeAt(o++);if(s!==124&&s!==45&&s!==58&&!Qi(s)||a===45&&Qi(s))return!1;for(;o=4)return!1;c=Ope(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const d=c.length;if(d===0||d!==u.length)return!1;if(r)return!0;const f=e.parentType;e.parentType="table";const h=e.md.block.ruler.getRules("blockquote"),m=e.push("table_open","table",1),g=[t,0];m.map=g;const v=e.push("thead_open","thead",1);v.map=[t,t+1];const y=e.push("tr_open","tr",1);y.map=[t,t+1];for(let E=0;E=4||(c=Ope(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),_+=d-c.length,_>k0n))break;if(i===t+2){const S=e.push("tbody_open","tbody",1);S.map=b=[t+2,0]}const C=e.push("tr_open","tr",1);C.map=[i,i+1];for(let S=0;S=4){r++,i=r;continue}break}e.line=i;const o=e.push("code_block","code",0);return o.content=e.getLines(t,i,4+e.blkIndent,!1)+` +`,o.map=[t,e.line],!0}function L0n(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>o)return!1;const a=e.src.charCodeAt(i);if(a!==126&&a!==96)return!1;let s=i;i=e.skipChars(i,a);let l=i-s;if(l<3)return!1;const c=e.src.slice(s,i),u=e.src.slice(i,o);if(a===96&&u.indexOf(String.fromCharCode(a))>=0)return!1;if(r)return!0;let d=t,f=!1;for(;d++,!(d>=n||(i=s=e.bMarks[d]+e.tShift[d],o=e.eMarks[d],i=4)&&(i=e.skipChars(i,a),!(i-s=4||e.src.charCodeAt(i)!==62)return!1;if(r)return!0;const s=[],l=[],c=[],u=[],d=e.md.block.ruler.getRules("blockquote"),f=e.parentType;e.parentType="blockquote";let h=!1,m;for(m=t;m=o)break;if(e.src.charCodeAt(i++)===62&&!_){let C=e.sCount[m]+1,S,w;e.src.charCodeAt(i)===32?(i++,C++,w=!1,S=!0):e.src.charCodeAt(i)===9?(S=!0,(e.bsCount[m]+C)%4===3?(i++,C++,w=!1):w=!0):S=!1;let T=C;for(s.push(e.bMarks[m]),e.bMarks[m]=i;i=o,l.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+(S?1:0),c.push(e.sCount[m]),e.sCount[m]=T-C,u.push(e.tShift[m]),e.tShift[m]=i-e.bMarks[m];continue}if(h)break;let E=!1;for(let C=0,S=d.length;C";const y=[t,0];v.map=y,e.md.block.tokenize(e,t,m);const b=e.push("blockquote_close","blockquote",-1);b.markup=">",e.lineMax=a,e.parentType=f,y[1]=e.line;for(let _=0;_=4)return!1;let o=e.bMarks[t]+e.tShift[t];const a=e.src.charCodeAt(o++);if(a!==42&&a!==45&&a!==95)return!1;let s=1;for(;o=r)return-1;let o=e.src.charCodeAt(i++);if(o<48||o>57)return-1;for(;;){if(i>=r)return-1;if(o=e.src.charCodeAt(i++),o>=48&&o<=57){if(i-n>=10)return-1;continue}if(o===41||o===46)break;return-1}return i=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(u=!0);let d,f,h;if((h=Ipe(e,l))>=0){if(d=!0,a=e.bMarks[l]+e.tShift[l],f=Number(e.src.slice(a,h-1)),u&&f!==1)return!1}else if((h=Rpe(e,l))>=0)d=!1;else return!1;if(u&&e.skipSpaces(h)>=e.eMarks[l])return!1;if(r)return!0;const m=e.src.charCodeAt(h-1),g=e.tokens.length;d?(s=e.push("ordered_list_open","ol",1),f!==1&&(s.attrs=[["start",f]])):s=e.push("bullet_list_open","ul",1);const v=[l,0];s.map=v,s.markup=String.fromCharCode(m);let y=!1;const b=e.md.block.ruler.getRules("list"),_=e.parentType;for(e.parentType="list";l=i?w=1:w=C-E,w>4&&(w=1);const T=E+w;s=e.push("list_item_open","li",1),s.markup=String.fromCharCode(m);const O=[l,0];s.map=O,d&&(s.info=e.src.slice(a,h-1));const x=e.tight,A=e.tShift[l],I=e.sCount[l],M=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=T,e.tight=!0,e.tShift[l]=S-e.bMarks[l],e.sCount[l]=C,S>=i&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,l,n,!0),(!e.tight||y)&&(c=!1),y=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=M,e.tShift[l]=A,e.sCount[l]=I,e.tight=x,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(m),l=e.line,O[1]=l,l>=n||e.sCount[l]=4)break;let B=!1;for(let P=0,k=b.length;P=4||e.src.charCodeAt(i)!==91)return!1;function s(b){const _=e.lineMax;if(b>=_||e.isEmpty(b))return null;let E=!1;if(e.sCount[b]-e.blkIndent>3&&(E=!0),e.sCount[b]<0&&(E=!0),!E){const w=e.md.block.ruler.getRules("reference"),T=e.parentType;e.parentType="reference";let O=!1;for(let x=0,A=w.length;x"u"&&(e.env.references={}),typeof e.env.references[y]>"u"&&(e.env.references[y]={title:v,href:d}),e.line=a),!0):!1}const U0n=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],z0n="[a-zA-Z_:][a-zA-Z0-9:._-]*",V0n="[^\"'=<>`\\x00-\\x20]+",G0n="'[^']*'",W0n='"[^"]*"',q0n="(?:"+V0n+"|"+G0n+"|"+W0n+")",Y0n="(?:\\s+"+z0n+"(?:\\s*=\\s*"+q0n+")?)",Y5e="<[A-Za-z][A-Za-z0-9\\-]*"+Y0n+"*\\s*\\/?>",K5e="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",K0n="",Q0n="<[?][\\s\\S]*?[?]>",X0n="]*>",Z0n="",J0n=new RegExp("^(?:"+Y5e+"|"+K5e+"|"+K0n+"|"+Q0n+"|"+X0n+"|"+Z0n+")"),ebn=new RegExp("^(?:"+Y5e+"|"+K5e+")"),Sb=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(ebn.source+"\\s*$"),/^$/,!1]];function tbn(e,t,n,r){let i=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let a=e.src.slice(i,o),s=0;for(;s=4)return!1;let a=e.src.charCodeAt(i);if(a!==35||i>=o)return!1;let s=1;for(a=e.src.charCodeAt(++i);a===35&&i6||ii&&Qi(e.src.charCodeAt(l-1))&&(o=l),e.line=t+1;const c=e.push("heading_open","h"+String(s),1);c.markup="########".slice(0,s),c.map=[t,e.line];const u=e.push("inline","",0);u.content=e.src.slice(i,o).trim(),u.map=[t,e.line],u.children=[];const d=e.push("heading_close","h"+String(s),-1);return d.markup="########".slice(0,s),!0}function rbn(e,t,n){const r=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let o=0,a,s=t+1;for(;s3)continue;if(e.sCount[s]>=e.blkIndent){let h=e.bMarks[s]+e.tShift[s];const m=e.eMarks[s];if(h=m))){o=a===61?1:2;break}}if(e.sCount[s]<0)continue;let f=!1;for(let h=0,m=r.length;h3||e.sCount[o]<0)continue;let c=!1;for(let u=0,d=r.length;u=n||e.sCount[a]=o){e.line=n;break}const l=e.line;let c=!1;for(let u=0;u=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),a=e.line,a0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(i),r};_O.prototype.scanDelims=function(e,t){const n=this.posMax,r=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let o=e;for(;o0)return!1;const n=e.pos,r=e.posMax;if(n+3>r||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;const i=e.pending.match(sbn);if(!i)return!1;const o=i[1],a=e.md.linkify.matchAtStart(e.src.slice(n-o.length));if(!a)return!1;let s=a.url;if(s.length<=o.length)return!1;s=s.replace(/\*+$/,"");const l=e.md.normalizeLink(s);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-o.length);const c=e.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";const u=e.push("text","",0);u.content=e.md.normalizeLinkText(s);const d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=s.length-o.length,!0}function cbn(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;const r=e.pending.length-1,i=e.posMax;if(!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){let o=r-1;for(;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n?@[]^_`{|}~-".split("").forEach(function(e){sZ[e.charCodeAt(0)]=1});function ubn(e,t){let n=e.pos;const r=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=r))return!1;let i=e.src.charCodeAt(n);if(i===10){for(t||e.push("hardbreak","br",0),n++;n=55296&&i<=56319&&n+1=56320&&s<=57343&&(o+=e.src[n+1],n++)}const a="\\"+o;if(!t){const s=e.push("text_special","",0);i<256&&sZ[i]!==0?s.content=o:s.content=a,s.markup=a,s.info="escape"}return e.pos=n+1,!0}function dbn(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==96)return!1;const r=n;n++;const i=e.posMax;for(;n=0;r--){const i=t[r];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const o=t[i.end],a=r>0&&t[r-1].end===i.end+1&&t[r-1].marker===i.marker&&t[r-1].token===i.token-1&&t[i.end+1].token===o.token+1,s=String.fromCharCode(i.marker),l=e.tokens[i.token];l.type=a?"strong_open":"em_open",l.tag=a?"strong":"em",l.nesting=1,l.markup=a?s+s:s,l.content="";const c=e.tokens[o.token];c.type=a?"strong_close":"em_close",c.tag=a?"strong":"em",c.nesting=-1,c.markup=a?s+s:s,c.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[i.end+1].token].content="",r--)}}function mbn(e){const t=e.tokens_meta,n=e.tokens_meta.length;Npe(e,e.delimiters);for(let r=0;r=d)return!1;if(l=m,i=e.md.helpers.parseLinkDestination(e.src,m,e.posMax),i.ok){for(a=e.md.normalizeLink(i.str),e.md.validateLink(a)?m=i.pos:a="",l=m;m=d||e.src.charCodeAt(m)!==41)&&(c=!0),m++}if(c){if(typeof e.env.references>"u")return!1;if(m=0?r=e.src.slice(l,m++):m=h+1):m=h+1,r||(r=e.src.slice(f,h)),o=e.env.references[k9(r)],!o)return e.pos=u,!1;a=o.href,s=o.title}if(!t){e.pos=f,e.posMax=h;const g=e.push("link_open","a",1),v=[["href",a]];g.attrs=v,s&&v.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=m,e.posMax=d,!0}function vbn(e,t){let n,r,i,o,a,s,l,c,u="";const d=e.pos,f=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const h=e.pos+2,m=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(m<0)return!1;if(o=m+1,o=f)return!1;for(c=o,s=e.md.helpers.parseLinkDestination(e.src,o,e.posMax),s.ok&&(u=e.md.normalizeLink(s.str),e.md.validateLink(u)?o=s.pos:u=""),c=o;o=f||e.src.charCodeAt(o)!==41)return e.pos=d,!1;o++}else{if(typeof e.env.references>"u")return!1;if(o=0?i=e.src.slice(c,o++):o=m+1):o=m+1,i||(i=e.src.slice(h,m)),a=e.env.references[k9(i)],!a)return e.pos=d,!1;u=a.href,l=a.title}if(!t){r=e.src.slice(h,m);const g=[];e.md.inline.parse(r,e.md,e.env,g);const v=e.push("image","img",0),y=[["src",u],["alt",""]];v.attrs=y,v.children=g,v.content=r,l&&y.push(["title",l])}return e.pos=o,e.posMax=f,!0}const bbn=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,ybn=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function _bn(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;const r=e.pos,i=e.posMax;for(;;){if(++n>=i)return!1;const a=e.src.charCodeAt(n);if(a===60)return!1;if(a===62)break}const o=e.src.slice(r+1,n);if(ybn.test(o)){const a=e.md.normalizeLink(o);if(!e.md.validateLink(a))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(o);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=o.length+2,!0}if(bbn.test(o)){const a=e.md.normalizeLink("mailto:"+o);if(!e.md.validateLink(a))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",a]],s.markup="autolink",s.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(o);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=o.length+2,!0}return!1}function Sbn(e){return/^\s]/i.test(e)}function Ebn(e){return/^<\/a\s*>/i.test(e)}function Cbn(e){const t=e|32;return t>=97&&t<=122}function wbn(e,t){if(!e.md.options.html)return!1;const n=e.posMax,r=e.pos;if(e.src.charCodeAt(r)!==60||r+2>=n)return!1;const i=e.src.charCodeAt(r+1);if(i!==33&&i!==63&&i!==47&&!Cbn(i))return!1;const o=e.src.slice(r).match(J0n);if(!o)return!1;if(!t){const a=e.push("html_inline","",0);a.content=o[0],Sbn(a.content)&&e.linkLevel++,Ebn(a.content)&&e.linkLevel--}return e.pos+=o[0].length,!0}const Tbn=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,xbn=/^&([a-z][a-z0-9]{1,31});/i;function Obn(e,t){const n=e.pos,r=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=r)return!1;if(e.src.charCodeAt(n+1)===35){const i=e.src.slice(n).match(Tbn);if(i){if(!t){const o=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=e.push("text_special","",0);a.content=oZ(o)?F4(o):F4(65533),a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}else{const i=e.src.slice(n).match(xbn);if(i){const o=z5e(i[0]);if(o!==i[0]){if(!t){const a=e.push("text_special","",0);a.content=o,a.markup=i[0],a.info="entity"}return e.pos+=i[0].length,!0}}}return!1}function Mpe(e){const t={},n=e.length;if(!n)return;let r=0,i=-2;const o=[];for(let a=0;al;c-=o[c]+1){const d=e[c];if(d.marker===s.marker&&d.open&&d.end<0){let f=!1;if((d.close||s.open)&&(d.length+s.length)%3===0&&(d.length%3!==0||s.length%3!==0)&&(f=!0),!f){const h=c>0&&!e[c-1].open?o[c-1]+1:0;o[a]=a-c+h,o[c]=h,s.open=!1,d.end=a,d.close=!1,u=-1,i=-2;break}}}u!==-1&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=u)}}function Rbn(e){const t=e.tokens_meta,n=e.tokens_meta.length;Mpe(e.delimiters);for(let r=0;r0&&r++,i[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;a||e.pos++,o[t]=e.pos};SO.prototype.tokenize=function(e){const t=this.ruler.getRules(""),n=t.length,r=e.posMax,i=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(a){if(e.pos>=r)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};SO.prototype.parse=function(e,t,n,r){const i=new this.State(e,t,n,r);this.tokenize(i);const o=this.ruler2.getRules(""),a=o.length;for(let s=0;s|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function UV(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function D9(e){return Object.prototype.toString.call(e)}function Nbn(e){return D9(e)==="[object String]"}function Mbn(e){return D9(e)==="[object Object]"}function kbn(e){return D9(e)==="[object RegExp]"}function kpe(e){return D9(e)==="[object Function]"}function Pbn(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const Z5e={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Dbn(e){return Object.keys(e||{}).reduce(function(t,n){return t||Z5e.hasOwnProperty(n)},!1)}const Lbn={"http:":{validate:function(e,t,n){const r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){const r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){const r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},$bn="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Fbn="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Bbn(e){e.__index__=-1,e.__text_cache__=""}function jbn(e){return function(t,n){const r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function Ppe(){return function(e,t){t.normalize(e)}}function B4(e){const t=e.re=Abn(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push($bn),n.push(t.src_xn),t.src_tlds=n.join("|");function r(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(r(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(r(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(r(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(r(t.tpl_host_fuzzy_test),"i");const i=[];e.__compiled__={};function o(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}Object.keys(e.__schemas__).forEach(function(s){const l=e.__schemas__[s];if(l===null)return;const c={validate:null,link:null};if(e.__compiled__[s]=c,Mbn(l)){kbn(l.validate)?c.validate=jbn(l.validate):kpe(l.validate)?c.validate=l.validate:o(s,l),kpe(l.normalize)?c.normalize=l.normalize:l.normalize?o(s,l):c.normalize=Ppe();return}if(Nbn(l)){i.push(s);return}o(s,l)}),i.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:Ppe()};const a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(Pbn).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),Bbn(e)}function Hbn(e,t){const n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function zV(e,t){const n=new Hbn(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function xc(e,t){if(!(this instanceof xc))return new xc(e,t);t||Dbn(e)&&(t=e,e={}),this.__opts__=UV({},Z5e,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=UV({},Lbn,e),this.__compiled__={},this.__tlds__=Fbn,this.__tlds_replaced__=!1,this.re={},B4(this)}xc.prototype.add=function(e,t){return this.__schemas__[e]=t,B4(this),this};xc.prototype.set=function(e){return this.__opts__=UV(this.__opts__,e),this};xc.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,n,r,i,o,a,s,l,c;if(this.re.schema_test.test(e)){for(s=this.re.schema_search,s.lastIndex=0;(t=s.exec(e))!==null;)if(i=this.testSchemaAt(e,t[2],s.lastIndex),i){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&(r=e.match(this.re.email_fuzzy))!==null&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a))),this.__index__>=0};xc.prototype.pretest=function(e){return this.re.pretest.test(e)};xc.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0};xc.prototype.match=function(e){const t=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(zV(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)t.push(zV(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return t.length?t:null};xc.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const n=this.testSchemaAt(e,t[2],t[0].length);return n?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+n,zV(this,0)):null};xc.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,r,i){return n!==i[r-1]}).reverse(),B4(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,B4(this),this)};xc.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};xc.prototype.onCompile=function(){};const My=2147483647,Of=36,lZ=1,Rx=26,Ubn=38,zbn=700,J5e=72,eDe=128,tDe="-",Vbn=/^xn--/,Gbn=/[^\0-\x7F]/,Wbn=/[\x2E\u3002\uFF0E\uFF61]/g,qbn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},d7=Of-lZ,Rf=Math.floor,f7=String.fromCharCode;function gm(e){throw new RangeError(qbn[e])}function Ybn(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function nDe(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(Wbn,".");const i=e.split("."),o=Ybn(i,t).join(".");return r+o}function rDe(e){const t=[];let n=0;const r=e.length;for(;n=55296&&i<=56319&&nString.fromCodePoint(...e),Qbn=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Of},Dpe=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},iDe=function(e,t,n){let r=0;for(e=n?Rf(e/zbn):e>>1,e+=Rf(e/t);e>d7*Rx>>1;r+=Of)e=Rf(e/d7);return Rf(r+(d7+1)*e/(e+Ubn))},oDe=function(e){const t=[],n=e.length;let r=0,i=eDe,o=J5e,a=e.lastIndexOf(tDe);a<0&&(a=0);for(let s=0;s=128&&gm("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s=n&&gm("invalid-input");const f=Qbn(e.charCodeAt(s++));f>=Of&&gm("invalid-input"),f>Rf((My-r)/u)&&gm("overflow"),r+=f*u;const h=d<=o?lZ:d>=o+Rx?Rx:d-o;if(fRf(My/m)&&gm("overflow"),u*=m}const c=t.length+1;o=iDe(r-l,c,l==0),Rf(r/c)>My-i&&gm("overflow"),i+=Rf(r/c),r%=c,t.splice(r++,0,i)}return String.fromCodePoint(...t)},aDe=function(e){const t=[];e=rDe(e);const n=e.length;let r=eDe,i=0,o=J5e;for(const l of e)l<128&&t.push(f7(l));const a=t.length;let s=a;for(a&&t.push(tDe);s=r&&uRf((My-i)/c)&&gm("overflow"),i+=(l-r)*c,r=l;for(const u of e)if(uMy&&gm("overflow"),u===r){let d=i;for(let f=Of;;f+=Of){const h=f<=o?lZ:f>=o+Rx?Rx:f-o;if(d=0))try{t.hostname=sDe.toASCII(t.hostname)}catch{}return yO(tZ(t))}function syn(e){const t=nZ(e,!0);if(t.hostname&&(!t.protocol||lDe.indexOf(t.protocol)>=0))try{t.hostname=sDe.toUnicode(t.hostname)}catch{}return Q_(tZ(t),Q_.defaultChars+"%")}function wu(e,t){if(!(this instanceof wu))return new wu(e,t);t||iZ(e)||(t=e||{},e="default"),this.inline=new SO,this.block=new P9,this.core=new aZ,this.renderer=new sE,this.linkify=new xc,this.validateLink=oyn,this.normalizeLink=ayn,this.normalizeLinkText=syn,this.utils=c0n,this.helpers=M9({},p0n),this.options={},this.configure(e),t&&this.set(t)}wu.prototype.set=function(e){return M9(this.options,e),this};wu.prototype.configure=function(e){const t=this;if(iZ(e)){const n=e;if(e=nyn[n],!e)throw new Error('Wrong `markdown-it` preset "'+n+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(n){e.components[n].rules&&t[n].ruler.enableOnly(e.components[n].rules),e.components[n].rules2&&t[n].ruler2.enableOnly(e.components[n].rules2)}),this};wu.prototype.enable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this};wu.prototype.disable=function(e,t){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){n=n.concat(this[i].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));const r=e.filter(function(i){return n.indexOf(i)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this};wu.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};wu.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};wu.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};wu.prototype.parseInline=function(e,t){const n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};wu.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};function lyn(e,t,n){function r(f){return f.trim().split(" ",2)[0]===t}function i(f,h,m,g,v){return f[h].nesting===1&&f[h].attrJoin("class",t),v.renderToken(f,h,m,g,v)}n=n||{};const o=3,a=n.marker||":",s=a.charCodeAt(0),l=a.length,c=n.validate||r,u=n.render||i;function d(f,h,m,g){let v,y=!1,b=f.bMarks[h]+f.tShift[h],_=f.eMarks[h];if(s!==f.src.charCodeAt(b))return!1;for(v=b+1;v<=_&&a[(v-b)%l]===f.src[v];v++);const E=Math.floor((v-b)/l);if(E=m||(b=f.bMarks[w]+f.tShift[w],_=f.eMarks[w],b<_&&f.sCount[w]=4)){for(v=b+1;v<=_&&a[(v-b)%l]===f.src[v];v++);if(!(Math.floor((v-b)/l)=0;r--)if(e[r].level===n)return r;return-1}function dyn(e,t){return vyn(e[t])&&byn(e[t-1])&&yyn(e[t-2])&&_yn(e[t])}function fyn(e,t){if(e.children.unshift(pyn(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),cDe)if(uDe){e.children.pop();var n="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);e.children[0].content=e.children[0].content.slice(0,-1)+' id="'+n+'">',e.children.push(gyn(e.content,n,t))}else e.children.unshift(hyn(t)),e.children.push(myn(t))}function pyn(e,t){var n=new t("html_inline","",0),r=VV?' disabled="" ':"";return e.content.indexOf("[ ] ")===0?n.content='':(e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0)&&(n.content=''),n}function hyn(e){var t=new e("html_inline","",0);return t.content="",t}function gyn(e,t,n){var r=new n("html_inline","",0);return r.content='",r.attrs=[{for:t}],r}function vyn(e){return e.type==="inline"}function byn(e){return e.type==="paragraph_open"}function yyn(e){return e.type==="list_item_open"}function _yn(e){return e.content.indexOf("[ ] ")===0||e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0}const Syn=C9(cyn);function Eyn(e){for(var t=1;t0&&e[t-1]===` `;)t--;return e.substring(0,t)}var Tyn=["ADDRESS","ARTICLE","ASIDE","AUDIO","BLOCKQUOTE","BODY","CANVAS","CENTER","DD","DIR","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","FRAMESET","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","HTML","ISINDEX","LI","MAIN","MENU","NAV","NOFRAMES","NOSCRIPT","OL","OUTPUT","P","PRE","SECTION","TABLE","TBODY","TD","TFOOT","TH","THEAD","TR","UL"];function cZ(e){return uZ(e,Tyn)}var dDe=["AREA","BASE","BR","COL","COMMAND","EMBED","HR","IMG","INPUT","KEYGEN","LINK","META","PARAM","SOURCE","TRACK","WBR"];function fDe(e){return uZ(e,dDe)}function xyn(e){return hDe(e,dDe)}var pDe=["A","TABLE","THEAD","TBODY","TFOOT","TH","TD","IFRAME","SCRIPT","AUDIO","VIDEO"];function Oyn(e){return uZ(e,pDe)}function Ryn(e){return hDe(e,pDe)}function uZ(e,t){return t.indexOf(e.nodeName)>=0}function hDe(e,t){return e.getElementsByTagName&&t.some(function(n){return e.getElementsByTagName(n).length})}var $s={};$s.paragraph={filter:"p",replacement:function(e){return` `+e+` @@ -1517,7 +1517,7 @@ ${cr("ai-append")} `}};Z_.tableSection={filter:["thead","tbody","tfoot"],replacement:function(e){return e}};function Xyn(e){var t=e.parentNode;return t.nodeName==="THEAD"||t.firstChild===e&&(t.nodeName==="TABLE"||Zyn(t))&&Qyn.call(e.childNodes,function(n){return n.nodeName==="TH"})}function Zyn(e){var t=e.previousSibling;return e.nodeName==="TBODY"&&(!t||t.nodeName==="THEAD"&&/^\s*$/i.test(t.textContent))}function WV(e,t=null,n=null){n===null&&(n=Kyn.call(t.parentNode.childNodes,t));var r=" ";n===0&&(r="| ");let i=e.trim().replace(/\n\r/g,"
").replace(/\n/g,"
");for(i=i.replace(/\|+/g,"\\|");i.length<3;)i+=" ";return t&&(i=Jyn(i,t," ")),r+i+" |"}function bDe(e){if(!e.childNodes)return!1;for(let t=0;tt&&(t=r)}return t}function SDe(e){e.keep(function(n){return n.nodeName==="TABLE"});for(var t in Z_)e.addRule(t,Z_[t])}function e_n(e){e.addRule("taskListItems",{filter:function(t){return t.type==="checkbox"&&t.parentNode.nodeName==="LI"},replacement:function(t,n){return(n.checked?"[x]":"[ ]")+" "}})}function t_n(e){e.use([qyn,Yyn,SDe,e_n])}const pZ=wu({html:!0,linkify:!0,typographer:!0});pZ.use(lyn,"container-wrapper",{validate:function(e){return!0},render:function(e,t){return e[t].nesting===1?`
`:"
"}});pZ.use(Syn,{enabled:!0,label:!0});const j0=new H4({headingStyle:"atx",hr:"---",bulletListMarker:"-",codeBlockStyle:"fenced",fence:"```",emDelimiter:"_",strongDelimiter:"**",linkStyle:"inlined",linkReferenceStyle:"full",preformattedCode:!1});j0.use(t_n);j0.use(SDe);j0.addRule("strikethrough",{filter:["del","s","strike"],replacement:function(e){return"~~"+e+"~~"}});j0.keep(e=>!(e&&e.nodeName==="DIV"));j0.addRule("checkbox",{filter:e=>{var t,n;if(e.tagName==="INPUT"&&e.getAttribute("type")==="checkbox"||e.tagName==="LABEL"&&((t=e.firstElementChild)==null?void 0:t.tagName)==="INPUT"&&((n=e.firstElementChild)==null?void 0:n.getAttribute("type"))==="checkbox")return!0},replacement:function(e,t){var n;return t.type==="checkbox"?t.checked?"[x]":"[ ]":t.tagName==="LABEL"&&((n=t.firstElementChild)==null?void 0:n.type)==="checkbox"?t.firstElementChild.checked?"[x]":"[ ]":null}});j0.addRule("container",{filter:e=>e.tagName==="DIV"&&e.classList.contains("container-wrapper"),replacement:function(e,t){let n="";for(let r of t.classList)if(r!="container-wrapper"){n=r;break}return`:::${n} `+e.trim()+` ::: -`}});const U4=e=>{if(!e)return e;const t=pZ.render(e).trim();return t?jV(t.includes("{if(!e)return e;const t=new DOMParser().parseFromString(e,"text/html");t.querySelectorAll("colgroup").forEach(r=>r.remove()),t.querySelectorAll("li").forEach(r=>{const i=r.querySelector("div");if(i&&!i.querySelector("img")&&i.firstElementChild){const o=document.createDocumentFragment();o.append(" "),i.firstElementChild.childNodes.forEach(a=>{o.append(a.cloneNode(!0))}),i.replaceWith(o)}});const n=t.body.innerHTML;return j0.turndown(n)};_r("aie-header",h5e);_r("aie-footer",m5e);const r_n={theme:"light",lang:"zh",contentRetentionKey:"ai-editor-content",editable:!0,draggable:!0,placeholder:"",toolbarSize:"small"};class i_n extends Qrn{constructor(t,n={}){super(n),Qt(this,"aiEditor"),this.aiEditor=t}parseHtml(t){function n(r){return new window.DOMParser().parseFromString(`${r}`,"text/html").body}return Oy.fromSchema(this.schema).parse(n(t),{}).content}parseMarkdown(t){const n=U4(t);return this.parseHtml(n)}insertMarkdown(t){this.commands.insertContent(U4(t))}}class o_n{constructor(t){Qt(this,"customLayout",!1),Qt(this,"innerEditor"),Qt(this,"container"),Qt(this,"header"),Qt(this,"mainEl"),Qt(this,"footer"),Qt(this,"options"),Qt(this,"eventComponents",[]),this.options={...r_n,...t},this.initI18nAndInnerEditor()}initI18nAndInnerEditor(){const t=this.options.i18n||{},n={de:{translation:{...hvn,...t.de}},en:{translation:{...pvn,...t.en}},pt:{translation:{...mvn,...t.pt}},zh:{translation:{...fvn,...t.zh}},es:{translation:{...gvn,...t.es}},hi:{translation:{...vvn,...t.hi}},id:{translation:{...bvn,...t.id}},ja:{translation:{...yvn,...t.ja}},ko:{translation:{..._vn,...t.ko}},th:{translation:{...Svn,...t.th}},vi:{translation:{...Evn,...t.vi}}};for(let r of Object.keys(t))r!="de"&&r!="en"&&r!="pt"&&r!="zh"&&(n[r]={translation:{...t[r]}});ss.init({lng:this.options.lang,resources:n},(r,i)=>{this.initInnerEditor()})}initInnerEditor(){const t=typeof this.options.element=="string"?document.querySelector(this.options.element):this.options.element;t.classList.add(`aie-theme-${this.options.theme}`),this.container=t.querySelector(".aie-container"),this.container?this.customLayout=!0:(this.container=document.createElement("div"),this.container.classList.add("aie-container")),t.appendChild(this.container),this.mainEl=document.createElement("div"),this.mainEl.style.flexGrow="1",this.mainEl.style.overflow="auto",this.header=new h5e,this.eventComponents.push(this.header),this.footer=new m5e,this.footer.initDraggable(this.options.draggable),this.eventComponents.push(this.footer);let n=this.options.content;if(typeof n=="string"&&(this.options.contentIsMarkdown?n=U4(n):n=jV(n)),this.options.contentRetention&&this.options.contentRetentionKey){const r=localStorage.getItem(this.options.contentRetentionKey);if(r)try{n=JSON.parse(r)}catch(i){console.error(i,"Can not parse the cache content from localStorage.")}}this.innerEditor=new i_n(this,{...this.options,element:this.mainEl,content:n,editable:this.options.editable,extensions:this.getExtensions(),onCreate:r=>this.onCreate(r),onTransaction:r=>this.onTransaction(r),onFocus:()=>{var r,i;return(i=(r=this.options)==null?void 0:r.onFocus)==null?void 0:i.call(r,this)},onBlur:()=>{var r,i;return(i=(r=this.options)==null?void 0:r.onBlur)==null?void 0:i.call(r,this)},onDestroy:()=>{var r,i;return(i=(r=this.options)==null?void 0:r.onDestroy)==null?void 0:i.call(r,this)},editorProps:{attributes:{class:"aie-content"}}})}getExtensions(){let t=dvn(this,this.options);if(this.options.onCreateBefore){const n=this.options.onCreateBefore(this,t);n&&(t=n)}return t}onCreate(t){this.innerEditor.view.dom.style.height="calc(100% - 20px)",this.eventComponents.forEach(n=>{n.onCreate&&n.onCreate(t,this.options)}),(this.container.querySelector(".aie-container-header")||this.container).appendChild(this.header),(this.container.querySelector(".aie-container-main")||this.container).appendChild(this.mainEl),(this.container.querySelector(".aie-container-footer")||this.container).appendChild(this.footer),this.options.ai&&Cg.init(this.innerEditor,this.options.ai),this.options.onCreated&&this.options.onCreated(this)}onTransaction(t){var n,r;if(this.eventComponents.forEach(i=>{i.onTransaction&&i.onTransaction(t)}),!t.transaction.getMeta("ignoreChanged")&&((r=(n=this.options).onTransaction)==null||r.call(n,this,t.transaction),t.transaction.docChanged&&this.options.onChange&&this.options.onChange(this),t.transaction.docChanged&&this.options.contentRetention&&this.options.contentRetentionKey)){const i=t.editor.getHTML();if(i==="

"||i==="")localStorage.removeItem(this.options.contentRetentionKey);else{const o=t.editor.getJSON();localStorage.setItem(this.options.contentRetentionKey,JSON.stringify(o))}}}getHtml(){return this.innerEditor.getHTML()}getJson(){return this.innerEditor.getJSON()}getText(){return this.innerEditor.getText()}getSelectedText(){const t=this.innerEditor.state.selection;return t.empty?"":v9(this.innerEditor.state.doc,{from:t.from,to:t.to})}getMarkdown(){return n_n(this.getHtml())}getOptions(){return this.options}getAttributes(t){return this.innerEditor.getAttributes(t)}setAttributes(t,n){this.innerEditor.commands.updateAttributes(t,n)}isActive(t,n){return typeof t=="object"||!n?this.innerEditor.isActive(t):this.innerEditor.isActive(t,n)}commands(){return this.innerEditor.commands}commandsChain(){return this.innerEditor.chain()}getOutline(){const t=this.innerEditor.state.doc,n=[];return t.descendants((r,i)=>{if(r.type.name==="heading"){const o=`aie-heading-${n.length+1}`;if(r.attrs.id!==o){const{state:{tr:s},view:{dispatch:l}}=this.innerEditor;l(s.setNodeMarkup(i,void 0,{...r.attrs,id:o}).setMeta("ignoreChanged",!0))}let a="";r.descendants(s=>{s.text&&(a+=s.text)}),n.push({id:o,text:a,level:r.attrs.level,pos:i,size:r.nodeSize})}}),n}focus(){return this.innerEditor.commands.focus(),this}focusPos(t){return this.innerEditor.commands.focus(t),this}focusStart(){return this.innerEditor.commands.focus("start"),this}focusEnd(){return this.innerEditor.commands.focus("end"),this}isFocused(){return this.innerEditor.isFocused}blur(){return this.innerEditor.commands.blur(),this}insert(t){return typeof t=="string"&&(t=jV(t)),this.innerEditor.commands.insertContent(t),this}insertMarkdown(t){return this.innerEditor.insertMarkdown(t),this}setEditable(t){return this.options.editable=t,this.innerEditor.setEditable(t,!0),this.eventComponents.forEach(n=>{n.onEditableChange(t)}),this}setContent(t){return this.focus().clear().insert(t),this}setMarkdownContent(t){const n=U4(t);return this.setContent(n)}clear(){return this.innerEditor.commands.clearContent(!0),this}isEmpty(){return this.innerEditor.isEmpty}changeLang(t){return this.destroy(),this.options.lang=t,ss.changeLanguage(t),this.initInnerEditor(),this}changeTheme(t){const n=typeof this.options.element=="string"?document.querySelector(this.options.element):this.options.element;t||(t=this.options.theme==="dark"?"light":"dark"),n.classList.remove(`aie-theme-${this.options.theme}`),n.classList.add(`aie-theme-${t}`),this.options.theme=t}removeRetention(){return this.options.contentRetentionKey&&localStorage.removeItem(this.options.contentRetentionKey),this}destroy(){var t,n,r,i;(n=(t=this.options).onDestroy)==null||n.call(t,this),this.innerEditor.destroy(),this.eventComponents=[],this.customLayout?((r=this.header)==null||r.remove(),this.mainEl.remove(),(i=this.footer)==null||i.remove()):this.container.remove()}isDestroyed(){return this.innerEditor.isDestroyed}}const a_n=({placeholder:e,defaultValue:t,value:n,style:r,toolbarKeys:i,onChange:o,...a})=>{const{isDarkMode:s}=uW(),l=p.useRef(null),c=p.useRef(null);return p.useEffect(()=>{if(l.current){if(!c.current){const u=new o_n({element:l.current,theme:s?"dark":"light",placeholder:e,content:t,toolbarKeys:i,image:{uploadUrl:nw(),uploadFormName:"file",uploadHeaders:{Authorization:"Bearer "+localStorage.getItem(tg)},uploader:(d,f,h,m)=>{console.log("uploader:",d,f,h,m);const g=En(new Date).format("YYYYMMDDHHmmss")+"_"+d.name,v=new FormData;return v.append("file",d),v.append("fileName",g),v.append("file_type",d.type),v.append("isAvatar","false"),v.append("kbType",q8),v.append("categoryUid",""),v.append("kbUid",""),v.append("client",wr),new Promise((y,b)=>{fetch(f,{method:"POST",headers:{Accept:"application/json",...h},body:v}).then(_=>_.json()).then(_=>{if(console.log("upload data:",_),_.code===200){Wt.destroy(),Wt.success(`${g} 上传成功`);const E={errorCode:0,data:{src:_.data.fileUrl,alt:g}};y(E)}else Wt.destroy(),Wt.error(`${g} 上传失败`)}).catch(_=>{b(_)})})}},video:{uploadUrl:nw(),uploadFormName:"file",uploadHeaders:{Authorization:"Bearer "+localStorage.getItem(tg)},uploader:(d,f,h,m)=>{console.log("uploader:",d,f,h,m);const g=En(new Date).format("YYYYMMDDHHmmss")+"_"+d.name,v=new FormData;return v.append("file",d),v.append("fileName",g),v.append("file_type",d.type),v.append("isAvatar","false"),v.append("kbType",q8),v.append("categoryUid",""),v.append("kbUid",""),v.append("client",wr),new Promise((y,b)=>{fetch(f,{method:"POST",headers:{Accept:"application/json",...h},body:v}).then(_=>_.json()).then(_=>{if(console.log("upload data:",_),_.code===200){Wt.destroy(),Wt.success(`${g} 上传成功`);const E={errorCode:0,data:{src:_.data.fileUrl,poster:"https://www.weiyuai.cn/avatars/video_poster.png"}};y(E)}else Wt.destroy(),Wt.error(`${g} 上传失败`)}).catch(_=>{b(_)})})}},attachment:{uploadUrl:nw(),uploadFormName:"file",uploadHeaders:{Authorization:"Bearer "+localStorage.getItem(tg)},uploader:(d,f,h,m)=>{console.log("uploader:",d,f,h,m);const g=En(new Date).format("YYYYMMDDHHmmss")+"_"+d.name,v=new FormData;return v.append("file",d),v.append("fileName",g),v.append("file_type",d.type),v.append("isAvatar","false"),v.append("kbType",q8),v.append("categoryUid",""),v.append("kbUid",""),v.append("client",wr),new Promise((y,b)=>{fetch(f,{method:"POST",headers:{Accept:"application/json",...h},body:v}).then(_=>_.json()).then(_=>{if(console.log("upload data:",_),_.code===200){Wt.destroy(),Wt.success(`${g} 上传成功`);const E={errorCode:0,data:{href:_.data.fileUrl,fileName:g}};y(E)}else Wt.destroy(),Wt.error(`${g} 上传失败`)}).catch(_=>{b(_)})})}},onChange:d=>{typeof o=="function"&&o(d.getHtml(),d.getMarkdown())}});c.current=u}return()=>{c.current&&(c.current.destroy(),c.current=null)}}},[]),p.useEffect(()=>{c.current&&n!==c.current.getHtml()&&c.current.setContent(n||"")},[n]),H.jsx(H.Fragment,{children:H.jsx("div",{ref:l,...a,style:{height:"100%",...r}})})},{Header:s_n,Content:l_n}=fo,c_n=Do(fo)` +`}});const U4=e=>{if(!e)return e;const t=pZ.render(e).trim();return t?jV(t.includes("{if(!e)return e;const t=new DOMParser().parseFromString(e,"text/html");t.querySelectorAll("colgroup").forEach(r=>r.remove()),t.querySelectorAll("li").forEach(r=>{const i=r.querySelector("div");if(i&&!i.querySelector("img")&&i.firstElementChild){const o=document.createDocumentFragment();o.append(" "),i.firstElementChild.childNodes.forEach(a=>{o.append(a.cloneNode(!0))}),i.replaceWith(o)}});const n=t.body.innerHTML;return j0.turndown(n)};_r("aie-header",hPe);_r("aie-footer",mPe);const r_n={theme:"light",lang:"zh",contentRetentionKey:"ai-editor-content",editable:!0,draggable:!0,placeholder:"",toolbarSize:"small"};class i_n extends Qrn{constructor(t,n={}){super(n),Qt(this,"aiEditor"),this.aiEditor=t}parseHtml(t){function n(r){return new window.DOMParser().parseFromString(`${r}`,"text/html").body}return Oy.fromSchema(this.schema).parse(n(t),{}).content}parseMarkdown(t){const n=U4(t);return this.parseHtml(n)}insertMarkdown(t){this.commands.insertContent(U4(t))}}class o_n{constructor(t){Qt(this,"customLayout",!1),Qt(this,"innerEditor"),Qt(this,"container"),Qt(this,"header"),Qt(this,"mainEl"),Qt(this,"footer"),Qt(this,"options"),Qt(this,"eventComponents",[]),this.options={...r_n,...t},this.initI18nAndInnerEditor()}initI18nAndInnerEditor(){const t=this.options.i18n||{},n={de:{translation:{...hvn,...t.de}},en:{translation:{...pvn,...t.en}},pt:{translation:{...mvn,...t.pt}},zh:{translation:{...fvn,...t.zh}},es:{translation:{...gvn,...t.es}},hi:{translation:{...vvn,...t.hi}},id:{translation:{...bvn,...t.id}},ja:{translation:{...yvn,...t.ja}},ko:{translation:{..._vn,...t.ko}},th:{translation:{...Svn,...t.th}},vi:{translation:{...Evn,...t.vi}}};for(let r of Object.keys(t))r!="de"&&r!="en"&&r!="pt"&&r!="zh"&&(n[r]={translation:{...t[r]}});ss.init({lng:this.options.lang,resources:n},(r,i)=>{this.initInnerEditor()})}initInnerEditor(){const t=typeof this.options.element=="string"?document.querySelector(this.options.element):this.options.element;t.classList.add(`aie-theme-${this.options.theme}`),this.container=t.querySelector(".aie-container"),this.container?this.customLayout=!0:(this.container=document.createElement("div"),this.container.classList.add("aie-container")),t.appendChild(this.container),this.mainEl=document.createElement("div"),this.mainEl.style.flexGrow="1",this.mainEl.style.overflow="auto",this.header=new hPe,this.eventComponents.push(this.header),this.footer=new mPe,this.footer.initDraggable(this.options.draggable),this.eventComponents.push(this.footer);let n=this.options.content;if(typeof n=="string"&&(this.options.contentIsMarkdown?n=U4(n):n=jV(n)),this.options.contentRetention&&this.options.contentRetentionKey){const r=localStorage.getItem(this.options.contentRetentionKey);if(r)try{n=JSON.parse(r)}catch(i){console.error(i,"Can not parse the cache content from localStorage.")}}this.innerEditor=new i_n(this,{...this.options,element:this.mainEl,content:n,editable:this.options.editable,extensions:this.getExtensions(),onCreate:r=>this.onCreate(r),onTransaction:r=>this.onTransaction(r),onFocus:()=>{var r,i;return(i=(r=this.options)==null?void 0:r.onFocus)==null?void 0:i.call(r,this)},onBlur:()=>{var r,i;return(i=(r=this.options)==null?void 0:r.onBlur)==null?void 0:i.call(r,this)},onDestroy:()=>{var r,i;return(i=(r=this.options)==null?void 0:r.onDestroy)==null?void 0:i.call(r,this)},editorProps:{attributes:{class:"aie-content"}}})}getExtensions(){let t=dvn(this,this.options);if(this.options.onCreateBefore){const n=this.options.onCreateBefore(this,t);n&&(t=n)}return t}onCreate(t){this.innerEditor.view.dom.style.height="calc(100% - 20px)",this.eventComponents.forEach(n=>{n.onCreate&&n.onCreate(t,this.options)}),(this.container.querySelector(".aie-container-header")||this.container).appendChild(this.header),(this.container.querySelector(".aie-container-main")||this.container).appendChild(this.mainEl),(this.container.querySelector(".aie-container-footer")||this.container).appendChild(this.footer),this.options.ai&&Cg.init(this.innerEditor,this.options.ai),this.options.onCreated&&this.options.onCreated(this)}onTransaction(t){var n,r;if(this.eventComponents.forEach(i=>{i.onTransaction&&i.onTransaction(t)}),!t.transaction.getMeta("ignoreChanged")&&((r=(n=this.options).onTransaction)==null||r.call(n,this,t.transaction),t.transaction.docChanged&&this.options.onChange&&this.options.onChange(this),t.transaction.docChanged&&this.options.contentRetention&&this.options.contentRetentionKey)){const i=t.editor.getHTML();if(i==="

"||i==="")localStorage.removeItem(this.options.contentRetentionKey);else{const o=t.editor.getJSON();localStorage.setItem(this.options.contentRetentionKey,JSON.stringify(o))}}}getHtml(){return this.innerEditor.getHTML()}getJson(){return this.innerEditor.getJSON()}getText(){return this.innerEditor.getText()}getSelectedText(){const t=this.innerEditor.state.selection;return t.empty?"":v9(this.innerEditor.state.doc,{from:t.from,to:t.to})}getMarkdown(){return n_n(this.getHtml())}getOptions(){return this.options}getAttributes(t){return this.innerEditor.getAttributes(t)}setAttributes(t,n){this.innerEditor.commands.updateAttributes(t,n)}isActive(t,n){return typeof t=="object"||!n?this.innerEditor.isActive(t):this.innerEditor.isActive(t,n)}commands(){return this.innerEditor.commands}commandsChain(){return this.innerEditor.chain()}getOutline(){const t=this.innerEditor.state.doc,n=[];return t.descendants((r,i)=>{if(r.type.name==="heading"){const o=`aie-heading-${n.length+1}`;if(r.attrs.id!==o){const{state:{tr:s},view:{dispatch:l}}=this.innerEditor;l(s.setNodeMarkup(i,void 0,{...r.attrs,id:o}).setMeta("ignoreChanged",!0))}let a="";r.descendants(s=>{s.text&&(a+=s.text)}),n.push({id:o,text:a,level:r.attrs.level,pos:i,size:r.nodeSize})}}),n}focus(){return this.innerEditor.commands.focus(),this}focusPos(t){return this.innerEditor.commands.focus(t),this}focusStart(){return this.innerEditor.commands.focus("start"),this}focusEnd(){return this.innerEditor.commands.focus("end"),this}isFocused(){return this.innerEditor.isFocused}blur(){return this.innerEditor.commands.blur(),this}insert(t){return typeof t=="string"&&(t=jV(t)),this.innerEditor.commands.insertContent(t),this}insertMarkdown(t){return this.innerEditor.insertMarkdown(t),this}setEditable(t){return this.options.editable=t,this.innerEditor.setEditable(t,!0),this.eventComponents.forEach(n=>{n.onEditableChange(t)}),this}setContent(t){return this.focus().clear().insert(t),this}setMarkdownContent(t){const n=U4(t);return this.setContent(n)}clear(){return this.innerEditor.commands.clearContent(!0),this}isEmpty(){return this.innerEditor.isEmpty}changeLang(t){return this.destroy(),this.options.lang=t,ss.changeLanguage(t),this.initInnerEditor(),this}changeTheme(t){const n=typeof this.options.element=="string"?document.querySelector(this.options.element):this.options.element;t||(t=this.options.theme==="dark"?"light":"dark"),n.classList.remove(`aie-theme-${this.options.theme}`),n.classList.add(`aie-theme-${t}`),this.options.theme=t}removeRetention(){return this.options.contentRetentionKey&&localStorage.removeItem(this.options.contentRetentionKey),this}destroy(){var t,n,r,i;(n=(t=this.options).onDestroy)==null||n.call(t,this),this.innerEditor.destroy(),this.eventComponents=[],this.customLayout?((r=this.header)==null||r.remove(),this.mainEl.remove(),(i=this.footer)==null||i.remove()):this.container.remove()}isDestroyed(){return this.innerEditor.isDestroyed}}const a_n=({placeholder:e,defaultValue:t,value:n,style:r,toolbarKeys:i,onChange:o,...a})=>{const{isDarkMode:s}=uW(),l=p.useRef(null),c=p.useRef(null);return p.useEffect(()=>{if(l.current){if(!c.current){const u=new o_n({element:l.current,theme:s?"dark":"light",placeholder:e,content:t,toolbarKeys:i,image:{uploadUrl:nw(),uploadFormName:"file",uploadHeaders:{Authorization:"Bearer "+localStorage.getItem(tg)},uploader:(d,f,h,m)=>{console.log("uploader:",d,f,h,m);const g=En(new Date).format("YYYYMMDDHHmmss")+"_"+d.name,v=new FormData;return v.append("file",d),v.append("fileName",g),v.append("file_type",d.type),v.append("isAvatar","false"),v.append("kbType",q8),v.append("categoryUid",""),v.append("kbUid",""),v.append("client",wr),new Promise((y,b)=>{fetch(f,{method:"POST",headers:{Accept:"application/json",...h},body:v}).then(_=>_.json()).then(_=>{if(console.log("upload data:",_),_.code===200){Wt.destroy(),Wt.success(`${g} 上传成功`);const E={errorCode:0,data:{src:_.data.fileUrl,alt:g}};y(E)}else Wt.destroy(),Wt.error(`${g} 上传失败`)}).catch(_=>{b(_)})})}},video:{uploadUrl:nw(),uploadFormName:"file",uploadHeaders:{Authorization:"Bearer "+localStorage.getItem(tg)},uploader:(d,f,h,m)=>{console.log("uploader:",d,f,h,m);const g=En(new Date).format("YYYYMMDDHHmmss")+"_"+d.name,v=new FormData;return v.append("file",d),v.append("fileName",g),v.append("file_type",d.type),v.append("isAvatar","false"),v.append("kbType",q8),v.append("categoryUid",""),v.append("kbUid",""),v.append("client",wr),new Promise((y,b)=>{fetch(f,{method:"POST",headers:{Accept:"application/json",...h},body:v}).then(_=>_.json()).then(_=>{if(console.log("upload data:",_),_.code===200){Wt.destroy(),Wt.success(`${g} 上传成功`);const E={errorCode:0,data:{src:_.data.fileUrl,poster:"https://www.weiyuai.cn/avatars/video_poster.png"}};y(E)}else Wt.destroy(),Wt.error(`${g} 上传失败`)}).catch(_=>{b(_)})})}},attachment:{uploadUrl:nw(),uploadFormName:"file",uploadHeaders:{Authorization:"Bearer "+localStorage.getItem(tg)},uploader:(d,f,h,m)=>{console.log("uploader:",d,f,h,m);const g=En(new Date).format("YYYYMMDDHHmmss")+"_"+d.name,v=new FormData;return v.append("file",d),v.append("fileName",g),v.append("file_type",d.type),v.append("isAvatar","false"),v.append("kbType",q8),v.append("categoryUid",""),v.append("kbUid",""),v.append("client",wr),new Promise((y,b)=>{fetch(f,{method:"POST",headers:{Accept:"application/json",...h},body:v}).then(_=>_.json()).then(_=>{if(console.log("upload data:",_),_.code===200){Wt.destroy(),Wt.success(`${g} 上传成功`);const E={errorCode:0,data:{href:_.data.fileUrl,fileName:g}};y(E)}else Wt.destroy(),Wt.error(`${g} 上传失败`)}).catch(_=>{b(_)})})}},onChange:d=>{typeof o=="function"&&o(d.getHtml(),d.getMarkdown())}});c.current=u}return()=>{c.current&&(c.current.destroy(),c.current=null)}}},[]),p.useEffect(()=>{c.current&&n!==c.current.getHtml()&&c.current.setContent(n||"")},[n]),H.jsx(H.Fragment,{children:H.jsx("div",{ref:l,...a,style:{height:"100%",...r}})})},{Header:s_n,Content:l_n}=fo,c_n=Do(fo)` height: 100vh; `,u_n=Do(s_n)` padding: 0 24px; @@ -1575,7 +1575,7 @@ ${cr("ai-append")} `))}function l(h,m,g,v){const y=g.enter("tableCell"),b=g.enter("phrasing"),_=r9e(h,g,{...v,before:o,after:o});return b(),y(),_}function c(h,m){return VRn(h,{align:m,alignDelimiters:r,padding:n,stringLength:i})}function u(h,m,g){const v=h.children;let y=-1;const b=[],_=m.enter("table");for(;++y-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let a=o.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const s=n.createTracker(r);s.move(o+" ".repeat(a-o.length)),s.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),u);return l(),c;function u(d,f,h){return f?(h?"":" ".repeat(a))+d:(h?o:o+" ".repeat(a-o.length))+d}}const nIn={exit:{taskListCheckValueChecked:Yme,taskListCheckValueUnchecked:Yme,paragraph:iIn}},rIn={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:oIn}};function Yme(e){const t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function iIn(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1],r=n.children[0];if(r&&r.type==="text"){const i=t.children;let o=-1,a;for(;++o',CheckCorrect:'',InsertTable:''},cIn="Strikethrough",uIn="text",dIn="Table",fIn="Heading",pIn="Task list",hIn="todo",mIn={strike:cIn,strikeText:uIn,table:dIn,tableHeading:fIn,task:pIn,taskText:hIn};function gIn({locale:e,...t}={}){const n={...mIn,...e};return{remark:r=>r.use(lIn,t),actions:[{title:n.strike,icon:Y7.Strikethrough,cheatsheet:`~~${n.strikeText}~~`,handler:{type:"action",click({wrapText:r,editor:i}){r("~~"),i.focus()}}},{title:n.task,icon:Y7.CheckCorrect,cheatsheet:`- [ ] ${n.taskText}`,handler:{type:"action",click({replaceLines:r,editor:i}){r(o=>"- [ ] "+o),i.focus()}}},{title:n.table,icon:Y7.InsertTable,handler:{type:"action",click({editor:r,appendBlock:i,codemirror:o}){const{line:a}=i(`| ${n.tableHeading} | | | --- | --- | | | | -`);r.setSelection(o.Pos(a,2),o.Pos(a,2+n.tableHeading.length)),r.focus()}}}]}}function vIn({init:e}={}){let t;return{viewerEffect({markdownBody:n}){(async()=>{const r=n.querySelectorAll("pre>code");r.length!==0&&(t||(t=await NW(()=>import("./index-B_0OH6cD.js"),[]).then(i=>i.default),e&&await e(t)),r.forEach(i=>{t.highlightElement(i)}))})()}}}const bIn={ChartGraph:''},yIn="Entity relationship diagram",_In="Flow chart",SIn="Gantt chart",EIn="Mermaid diagrams",CIn="Mindmaps",wIn="Pie chart",TIn="Sequence diagram",xIn="State diagram",OIn="Timeline",RIn="User journey diagram",IIn={class:"Class diagram",er:yIn,flowchart:_In,gantt:SIn,mermaid:EIn,mindmap:CIn,pie:wIn,sequence:TIn,state:xIn,timeline:OIn,uj:RIn};function AIn({locale:e,...t}={}){const n={...IIn,...e};let r;const i=[{title:n.flowchart,code:`graph TD +`);r.setSelection(o.Pos(a,2),o.Pos(a,2+n.tableHeading.length)),r.focus()}}}]}}function vIn({init:e}={}){let t;return{viewerEffect({markdownBody:n}){(async()=>{const r=n.querySelectorAll("pre>code");r.length!==0&&(t||(t=await NW(()=>import("./index-OrGLwwPA.js"),[]).then(i=>i.default),e&&await e(t)),r.forEach(i=>{t.highlightElement(i)}))})()}}}const bIn={ChartGraph:''},yIn="Entity relationship diagram",_In="Flow chart",SIn="Gantt chart",EIn="Mermaid diagrams",CIn="Mindmaps",wIn="Pie chart",TIn="Sequence diagram",xIn="State diagram",OIn="Timeline",RIn="User journey diagram",IIn={class:"Class diagram",er:yIn,flowchart:_In,gantt:SIn,mermaid:EIn,mindmap:CIn,pie:wIn,sequence:TIn,state:xIn,timeline:OIn,uj:RIn};function AIn({locale:e,...t}={}){const n={...IIn,...e};let r;const i=[{title:n.flowchart,code:`graph TD Start --> Stop`},{title:n.sequence,code:`sequenceDiagram Alice->>John: Hello John, how are you? John-->>Alice: Great! @@ -1640,7 +1640,7 @@ another task : 24d`},{title:n.pie,code:`pie title Pets adopted by volunteer : Google 2005 : Youtube 2006 : Twitter - `}];return{viewerEffect({markdownBody:o}){(async()=>{const a=o.querySelectorAll("pre>code.language-mermaid");a.length!==0&&(r||(r=await NW(()=>import("./mermaid.core-C-ExL7Zv.js").then(s=>s.au),[]).then(s=>s.default),t&&r.initialize(t)),a.forEach((s,l)=>{const c=s.parentElement,u=s.innerText,d=document.createElement("div");d.classList.add("bytemd-mermaid"),d.style.lineHeight="initial",c.replaceWith(d),r.render(`bytemd-mermaid-${Date.now()}-${l}`,u,d).then(f=>{d.innerHTML=f.svg}).catch(f=>{})}))})()},actions:[{title:n.mermaid,icon:bIn.ChartGraph,cheatsheet:"```mermaid",handler:{type:"dropdown",actions:i.map(({title:o,code:a})=>({title:o,handler:{type:"action",click({editor:s,appendBlock:l,codemirror:c}){const{line:u}=l("```mermaid\n"+a+"\n```");s.setSelection(c.Pos(u+1,0),c.Pos(u+a.split(` + `}];return{viewerEffect({markdownBody:o}){(async()=>{const a=o.querySelectorAll("pre>code.language-mermaid");a.length!==0&&(r||(r=await NW(()=>import("./mermaid.core-BAvrjf3l.js").then(s=>s.au),[]).then(s=>s.default),t&&r.initialize(t)),a.forEach((s,l)=>{const c=s.parentElement,u=s.innerText,d=document.createElement("div");d.classList.add("bytemd-mermaid"),d.style.lineHeight="initial",c.replaceWith(d),r.render(`bytemd-mermaid-${Date.now()}-${l}`,u,d).then(f=>{d.innerHTML=f.svg}).catch(f=>{})}))})()},actions:[{title:n.mermaid,icon:bIn.ChartGraph,cheatsheet:"```mermaid",handler:{type:"dropdown",actions:i.map(({title:o,code:a})=>({title:o,handler:{type:"action",click({editor:s,appendBlock:l,codemirror:c}){const{line:u}=l("```mermaid\n"+a+"\n```");s.setSelection(c.Pos(u+1,0),c.Pos(u+a.split(` `).length)),s.focus()}}})),...n}}]}}function Nx(e){"@babel/helpers - typeof";return Nx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Nx(e)}function Kme(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function rG(e){for(var t=1;t a, & > span":{paddingInlineEnd:s,fontSize:o,lineHeight:d},"&-name":{color:h,fontSize:i,transition:"color ".concat(g),"> *":{color:h,"&:hover":{color:h}}},"&-time":{color:m,whiteSpace:"nowrap",cursor:"auto"}},"&-detail p":{whiteSpace:"pre-wrap",marginBlock:0}}),"".concat(n,"-actions"),{marginTop:l,marginBottom:0,paddingInlineStart:0,"> li":{display:"inline-block",color:h,"> span":{marginInlineEnd:l,color:h,fontSize:o,cursor:"pointer",transition:"color ".concat(g),userSelect:"none","&:hover":{color:f}}}}),"".concat(n,"-nested"),{marginInlineStart:44})))};function PIn(e){var t=Es.useToken(),n=t.theme,r=t.token,i=t.hashId,o=p.useContext(Ln.ConfigContext),a=o.iconPrefixCls;return[c_({theme:n,token:r,hashId:i,path:["compatible","Comment",e,a]},function(){var s=rG({componentCls:".".concat(e)},r);return[kIn(s)]}),i]}function Mx(e){"@babel/helpers - typeof";return Mx=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mx(e)}var DIn=["actions","author","avatar","children","className","content","prefixCls","datetime"];function iG(){return iG=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function GIn(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o=0)&&(n[i]=e[i]);return n}var WIn=Ln.ConfigContext,qIn=function(t){var n=t.actions,r=t.author,i=t.avatar,o=t.children,a=t.className,s=t.content,l=t.prefixCls,c=t.datetime,u=VIn(t,DIn),d=p.useContext(WIn),f=d.getPrefixCls,h=d.direction,m=function(x,A){return p.createElement("div",{className:xe("".concat(x,"-nested"))},A)},g=f("comment",l),v=PIn(g),y=BIn(v,2),b=y[0],_=y[1],E=i?p.createElement("div",{className:"".concat(g,"-avatar")},typeof i=="string"?p.createElement("img",{src:i,alt:"comment-avatar"}):i):null,C=n&&n.length?p.createElement("ul",{className:"".concat(g,"-actions")},n.map(function(O,x){return p.createElement("li",{key:"action-".concat(x)},O)})):null,S=(r||c)&&p.createElement("div",{className:"".concat(g,"-content-author")},r&&p.createElement("span",{className:"".concat(g,"-content-author-name")},r),c&&p.createElement("span",{className:"".concat(g,"-content-author-time")},c)),w=p.createElement("div",{className:"".concat(g,"-content")},S,p.createElement("div",{className:"".concat(g,"-content-detail")},s),C),T=xe(g,LIn({},"".concat(g,"-rtl"),h==="rtl"),a,_);return b(p.createElement("div",iG({},u,{className:T}),p.createElement("div",{className:"".concat(g,"-inner")},E,w),o?m(g,o):null))};async function YIn(e){return $r("/api/v1/comment/query/org",{method:"GET",params:{...e,client:wr}})}async function KIn(e){return $r("/api/v1/comment/create",{method:"POST",data:{...e,client:wr}})}async function QIn(e){return $r("/api/v1/comment/delete",{method:"POST",data:{...e,client:wr}})}const{TextArea:XIn}=Ki,ZIn=Do.div` .ant-comment-content-detail { @@ -1748,4 +1748,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho * https://github.com/lancedikson/bowser * MIT License | (c) Dustin Diaz 2012-2015 * MIT License | (c) Denis Demchenko 2015-2019 - */class cMn{static getParser(t,n=!1){if(typeof t!="string")throw new Error("UserAgent should be a string");return new rge(t,n)}static parse(t){return new rge(t).getResult()}static get BROWSER_MAP(){return h9e}static get ENGINE_MAP(){return cm}static get OS_MAP(){return Bs}static get PLATFORMS_MAP(){return Xo}}const{defaultAlgorithm:uMn,darkAlgorithm:dMn}=Es,fMn={"zh-cn":hNn,"zh-tw":LNn,en:rMn},pMn=()=>{const{isDarkMode:e,locale:t}=p.useContext(as),n=new iEt({defaultOptions:{queries:{refetchOnWindowFocus:!1}}}),[r,i]=p.useState(!1),o=()=>{const s=cMn.getParser(window.navigator.userAgent);console.log("browser:",s),Ha?console.log("OsName:",s.getOSName()):console.log("BrowserName:",s.getBrowserName()),s.getOSName().toLocaleLowerCase().indexOf("mac")===-1&&i(!0)},a=async()=>{if(console.log("getConfig"),await x0e(),Ha)console.log("is electron");else{await T0e();const s=B5();console.log("Base URL:",s)}};return p.useEffect(()=>{l_e(),o(),a()},[]),H.jsx(Ln,{locale:t,theme:{algorithm:e?dMn:uMn},children:H.jsx(aEt,{client:n,children:H.jsx(f9e,{children:H.jsx(p.Suspense,{fallback:H.jsx("div",{children:"loading..."}),children:H.jsxs(PWt,{messages:fMn[t.locale],locale:t.locale,defaultLocale:"zh-cn",children:[r&&H.jsx(qAn,{children:H.jsx("link",{rel:"stylesheet",type:"text/css",href:M6e})}),H.jsxs(GP,{children:[H.jsx(ySt,{}),H.jsx(DCt,{router:_An})]})]})})})})})},hMn=()=>H.jsx("div",{className:"App",children:H.jsx(LSt,{children:H.jsx(pMn,{})})});eF.createRoot(document.getElementById("root")).render(H.jsx(hMn,{}));postMessage({payload:"removeLoading"},"*");export{Tse as $,mwe as A,R0 as B,lRt as C,tRt as D,cRt as E,uRt as F,dRe as G,jD as H,H2t as I,yK as J,pRe as K,uRe as L,JOe as M,jOt as N,LOt as O,nRt as P,so as Q,qOt as R,gk as S,jS as T,_se as U,$2 as V,HOt as W,tRe as X,V2t as Y,G2t as Z,NW as _,$l as a,W2t as a0,z2t as a1,Q2t as a2,iRe as a3,tOt as a4,p2n as a5,bK as b,FS as c,UD as d,_K as e,BU as f,di as g,aRe as h,nRe as i,cRe as j,FU as k,BS as l,br as m,fRt as n,Y2t as o,Aqe as p,Mqe as q,$r as r,cH as s,d2t as t,id as u,uOt as v,vK as w,NGe as x,Cjt as y,vwe as z}; + */class cMn{static getParser(t,n=!1){if(typeof t!="string")throw new Error("UserAgent should be a string");return new rge(t,n)}static parse(t){return new rge(t).getResult()}static get BROWSER_MAP(){return h9e}static get ENGINE_MAP(){return cm}static get OS_MAP(){return Bs}static get PLATFORMS_MAP(){return Xo}}const{defaultAlgorithm:uMn,darkAlgorithm:dMn}=Es,fMn={"zh-cn":hNn,"zh-tw":LNn,en:rMn},pMn=()=>{const{isDarkMode:e,locale:t}=p.useContext(as),n=new iEt({defaultOptions:{queries:{refetchOnWindowFocus:!1}}}),[r,i]=p.useState(!1),o=()=>{const s=cMn.getParser(window.navigator.userAgent);console.log("browser:",s),Ha?console.log("OsName:",s.getOSName()):console.log("BrowserName:",s.getBrowserName()),s.getOSName().toLocaleLowerCase().indexOf("mac")===-1&&i(!0)},a=async()=>{if(console.log("getConfig"),await x0e(),Ha)console.log("is electron");else{await T0e();const s=BP();console.log("Base URL:",s)}};return p.useEffect(()=>{l_e(),o(),a()},[]),H.jsx(Ln,{locale:t,theme:{algorithm:e?dMn:uMn},children:H.jsx(aEt,{client:n,children:H.jsx(f9e,{children:H.jsx(p.Suspense,{fallback:H.jsx("div",{children:"loading..."}),children:H.jsxs(PWt,{messages:fMn[t.locale],locale:t.locale,defaultLocale:"zh-cn",children:[r&&H.jsx(qAn,{children:H.jsx("link",{rel:"stylesheet",type:"text/css",href:M6e})}),H.jsxs(G5,{children:[H.jsx(ySt,{}),H.jsx(DCt,{router:_An})]})]})})})})})},hMn=()=>H.jsx("div",{className:"App",children:H.jsx(LSt,{children:H.jsx(pMn,{})})});eF.createRoot(document.getElementById("root")).render(H.jsx(hMn,{}));postMessage({payload:"removeLoading"},"*");export{Tse as $,mwe as A,R0 as B,lRt as C,tRt as D,cRt as E,uRt as F,dRe as G,jD as H,H2t as I,yK as J,pRe as K,uRe as L,JOe as M,jOt as N,LOt as O,nRt as P,so as Q,qOt as R,gk as S,jS as T,_se as U,$2 as V,HOt as W,tRe as X,V2t as Y,G2t as Z,NW as _,$l as a,W2t as a0,z2t as a1,Q2t as a2,iRe as a3,tOt as a4,p2n as a5,bK as b,FS as c,UD as d,_K as e,BU as f,di as g,aRe as h,nRe as i,cRe as j,FU as k,BS as l,br as m,fRt as n,Y2t as o,Aqe as p,Mqe as q,$r as r,cH as s,d2t as t,id as u,uOt as v,vK as w,NGe as x,Cjt as y,vwe as z}; diff --git a/deploy/server/notebase/assets/index-B_0OH6cD.js b/deploy/server/notebase/assets/index-OrGLwwPA.js similarity index 99% rename from deploy/server/notebase/assets/index-B_0OH6cD.js rename to deploy/server/notebase/assets/index-OrGLwwPA.js index 7af30ffe2e..20ac1dbce3 100644 --- a/deploy/server/notebase/assets/index-B_0OH6cD.js +++ b/deploy/server/notebase/assets/index-OrGLwwPA.js @@ -1,4 +1,4 @@ -import{g as xl}from"./index-OntvGoV0.js";function ul(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(e=>{const t=n[e],a=typeof t;(a==="object"||a==="function")&&!Object.isFrozen(t)&&ul(t)}),n}class yr{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function pl(n){return n.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function _e(n,...e){const t=Object.create(null);for(const a in n)t[a]=n[a];return e.forEach(function(a){for(const r in a)t[r]=a[r]}),t}const Pl="",hr=n=>!!n.scope,wl=(n,{prefix:e})=>{if(n.startsWith("language:"))return n.replace("language:","language-");if(n.includes(".")){const t=n.split(".");return[`${e}${t.shift()}`,...t.map((a,r)=>`${a}${"_".repeat(r+1)}`)].join(" ")}return`${e}${n}`};class kl{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=pl(e)}openNode(e){if(!hr(e))return;const t=wl(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){hr(e)&&(this.buffer+=Pl)}value(){return this.buffer}span(e){this.buffer+=``}}const Dr=(n={})=>{const e={children:[]};return Object.assign(e,n),e};class _r{constructor(){this.rootNode=Dr(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=Dr({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(a=>this._walk(e,a)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{_r._collapse(t)}))}}class Ul extends _r{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const a=e.root;t&&(a.scope=`language:${t}`),this.add(a)}toHTML(){return new kl(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Oe(n){return n?typeof n=="string"?n:n.source:null}function ml(n){return me("(?=",n,")")}function Fl(n){return me("(?:",n,")*")}function Bl(n){return me("(?:",n,")?")}function me(...n){return n.map(t=>Oe(t)).join("")}function Gl(n){const e=n[n.length-1];return typeof e=="object"&&e.constructor===Object?(n.splice(n.length-1,1),e):{}}function dr(...n){return"("+(Gl(n).capture?"":"?:")+n.map(a=>Oe(a)).join("|")+")"}function El(n){return new RegExp(n.toString()+"|").exec("").length-1}function Yl(n,e){const t=n&&n.exec(e);return t&&t.index===0}const ql=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ur(n,{joinWith:e}){let t=0;return n.map(a=>{t+=1;const r=t;let i=Oe(a),s="";for(;i.length>0;){const o=ql.exec(i);if(!o){s+=i;break}s+=i.substring(0,o.index),i=i.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?s+="\\"+String(Number(o[1])+r):(s+=o[0],o[0]==="("&&t++)}return s}).map(a=>`(${a})`).join(e)}const Hl=/\b\B/,gl="[a-zA-Z]\\w*",pr="[a-zA-Z_]\\w*",Sl="\\b\\d+(\\.\\d+)?",Tl="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",bl="\\b(0b[01]+)",Vl="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",zl=(n={})=>{const e=/^#![ ]*\//;return n.binary&&(n.begin=me(e,/.*\b/,n.binary,/\b.*/)),_e({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,a)=>{t.index!==0&&a.ignoreMatch()}},n)},Ie={begin:"\\\\[\\s\\S]",relevance:0},Wl={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ie]},Kl={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ie]},$l={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},De=function(n,e,t={}){const a=_e({scope:"comment",begin:n,end:e,contains:[]},t);a.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const r=dr("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return a.contains.push({begin:me(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},Ql=De("//","$"),Xl=De("/\\*","\\*/"),Zl=De("#","$"),Jl={scope:"number",begin:Sl,relevance:0},jl={scope:"number",begin:Tl,relevance:0},ec={scope:"number",begin:bl,relevance:0},tc={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Ie,{begin:/\[/,end:/\]/,relevance:0,contains:[Ie]}]},nc={scope:"title",begin:gl,relevance:0},ac={scope:"title",begin:pr,relevance:0},rc={begin:"\\.\\s*"+pr,relevance:0},ic=function(n){return Object.assign(n,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var ye=Object.freeze({__proto__:null,APOS_STRING_MODE:Wl,BACKSLASH_ESCAPE:Ie,BINARY_NUMBER_MODE:ec,BINARY_NUMBER_RE:bl,COMMENT:De,C_BLOCK_COMMENT_MODE:Xl,C_LINE_COMMENT_MODE:Ql,C_NUMBER_MODE:jl,C_NUMBER_RE:Tl,END_SAME_AS_BEGIN:ic,HASH_COMMENT_MODE:Zl,IDENT_RE:gl,MATCH_NOTHING_RE:Hl,METHOD_GUARD:rc,NUMBER_MODE:Jl,NUMBER_RE:Sl,PHRASAL_WORDS_MODE:$l,QUOTE_STRING_MODE:Kl,REGEXP_MODE:tc,RE_STARTERS_RE:Vl,SHEBANG:zl,TITLE_MODE:nc,UNDERSCORE_IDENT_RE:pr,UNDERSCORE_TITLE_MODE:ac});function oc(n,e){n.input[n.index-1]==="."&&e.ignoreMatch()}function sc(n,e){n.className!==void 0&&(n.scope=n.className,delete n.className)}function lc(n,e){e&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=oc,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function cc(n,e){Array.isArray(n.illegal)&&(n.illegal=dr(...n.illegal))}function _c(n,e){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function dc(n,e){n.relevance===void 0&&(n.relevance=1)}const uc=(n,e)=>{if(!n.beforeMatch)return;if(n.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},n);Object.keys(n).forEach(a=>{delete n[a]}),n.keywords=t.keywords,n.begin=me(t.beforeMatch,ml(t.begin)),n.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},n.relevance=0,delete t.beforeMatch},pc=["of","and","for","in","not","or","if","then","parent","list","value"],mc="keyword";function Rl(n,e,t=mc){const a=Object.create(null);return typeof n=="string"?r(t,n.split(" ")):Array.isArray(n)?r(t,n):Object.keys(n).forEach(function(i){Object.assign(a,Rl(n[i],e,i))}),a;function r(i,s){e&&(s=s.map(o=>o.toLowerCase())),s.forEach(function(o){const l=o.split("|");a[l[0]]=[i,Ec(l[0],l[1])]})}}function Ec(n,e){return e?Number(e):gc(n)?0:1}function gc(n){return pc.includes(n.toLowerCase())}const Mr={},pe=n=>{console.error(n)},Lr=(n,...e)=>{console.log(`WARN: ${n}`,...e)},be=(n,e)=>{Mr[`${n}/${e}`]||(console.log(`Deprecated as of ${n}. ${e}`),Mr[`${n}/${e}`]=!0)},he=new Error;function fl(n,e,{key:t}){let a=0;const r=n[t],i={},s={};for(let o=1;o<=e.length;o++)s[o+a]=r[o],i[o+a]=!0,a+=El(e[o-1]);n[t]=s,n[t]._emit=i,n[t]._multi=!0}function Sc(n){if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw pe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),he;if(typeof n.beginScope!="object"||n.beginScope===null)throw pe("beginScope must be object"),he;fl(n,n.begin,{key:"beginScope"}),n.begin=ur(n.begin,{joinWith:""})}}function Tc(n){if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw pe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),he;if(typeof n.endScope!="object"||n.endScope===null)throw pe("endScope must be object"),he;fl(n,n.end,{key:"endScope"}),n.end=ur(n.end,{joinWith:""})}}function bc(n){n.scope&&typeof n.scope=="object"&&n.scope!==null&&(n.beginScope=n.scope,delete n.scope)}function Rc(n){bc(n),typeof n.beginScope=="string"&&(n.beginScope={_wrap:n.beginScope}),typeof n.endScope=="string"&&(n.endScope={_wrap:n.endScope}),Sc(n),Tc(n)}function fc(n){function e(s,o){return new RegExp(Oe(s),"m"+(n.case_insensitive?"i":"")+(n.unicodeRegex?"u":"")+(o?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,o]),this.matchAt+=El(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(l=>l[1]);this.matcherRe=e(ur(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(o);if(!l)return null;const _=l.findIndex((d,p)=>p>0&&d!==void 0),c=this.matchIndexes[_];return l.splice(0,_),Object.assign(l,c)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const l=new t;return this.rules.slice(o).forEach(([_,c])=>l.addRule(_,c)),l.compile(),this.multiRegexes[o]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,l){this.rules.push([o,l]),l.type==="begin"&&this.count++}exec(o){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let _=l.exec(o);if(this.resumingScanAtSamePosition()&&!(_&&_.index===this.lastIndex)){const c=this.getMatcher(0);c.lastIndex=this.lastIndex+1,_=c.exec(o)}return _&&(this.regexIndex+=_.position+1,this.regexIndex===this.count&&this.considerAll()),_}}function r(s){const o=new a;return s.contains.forEach(l=>o.addRule(l.begin,{rule:l,type:"begin"})),s.terminatorEnd&&o.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&o.addRule(s.illegal,{type:"illegal"}),o}function i(s,o){const l=s;if(s.isCompiled)return l;[sc,_c,Rc,uc].forEach(c=>c(s,o)),n.compilerExtensions.forEach(c=>c(s,o)),s.__beforeBegin=null,[lc,cc,dc].forEach(c=>c(s,o)),s.isCompiled=!0;let _=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),_=s.keywords.$pattern,delete s.keywords.$pattern),_=_||/\w+/,s.keywords&&(s.keywords=Rl(s.keywords,n.case_insensitive)),l.keywordPatternRe=e(_,!0),o&&(s.begin||(s.begin=/\B|\b/),l.beginRe=e(l.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(l.endRe=e(l.end)),l.terminatorEnd=Oe(l.end)||"",s.endsWithParent&&o.terminatorEnd&&(l.terminatorEnd+=(s.end?"|":"")+o.terminatorEnd)),s.illegal&&(l.illegalRe=e(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(c){return Cc(c==="self"?s:c)})),s.contains.forEach(function(c){i(c,l)}),s.starts&&i(s.starts,o),l.matcher=r(l),l}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=_e(n.classNameAliases||{}),i(n)}function Cl(n){return n?n.endsWithParent||Cl(n.starts):!1}function Cc(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(e){return _e(n,{variants:null},e)})),n.cachedVariants?n.cachedVariants:Cl(n)?_e(n,{starts:n.starts?_e(n.starts):null}):Object.isFrozen(n)?_e(n):n}var Nc="11.11.1";class Oc extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const Le=pl,xr=_e,Pr=Symbol("nomatch"),Ic=7,Nl=function(n){const e=Object.create(null),t=Object.create(null),a=[];let r=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Ul};function l(T){return o.noHighlightRe.test(T)}function _(T){let O=T.className+" ";O+=T.parentNode?T.parentNode.className:"";const M=o.languageDetectRe.exec(O);if(M){const w=v(M[1]);return w||(Lr(i.replace("{}",M[1])),Lr("Falling back to no-highlight mode for this block.",T)),w?M[1]:"no-highlight"}return O.split(/\s+/).find(w=>l(w)||v(w))}function c(T,O,M){let w="",B="";typeof O=="object"?(w=T,M=O.ignoreIllegals,B=O.language):(be("10.7.0","highlight(lang, code, ...args) has been deprecated."),be("10.7.0",`Please use highlight(code, options) instead. +import{g as xl}from"./index-D31-yJHm.js";function ul(n){return n instanceof Map?n.clear=n.delete=n.set=function(){throw new Error("map is read-only")}:n instanceof Set&&(n.add=n.clear=n.delete=function(){throw new Error("set is read-only")}),Object.freeze(n),Object.getOwnPropertyNames(n).forEach(e=>{const t=n[e],a=typeof t;(a==="object"||a==="function")&&!Object.isFrozen(t)&&ul(t)}),n}class yr{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function pl(n){return n.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function _e(n,...e){const t=Object.create(null);for(const a in n)t[a]=n[a];return e.forEach(function(a){for(const r in a)t[r]=a[r]}),t}const Pl="",hr=n=>!!n.scope,wl=(n,{prefix:e})=>{if(n.startsWith("language:"))return n.replace("language:","language-");if(n.includes(".")){const t=n.split(".");return[`${e}${t.shift()}`,...t.map((a,r)=>`${a}${"_".repeat(r+1)}`)].join(" ")}return`${e}${n}`};class kl{constructor(e,t){this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){this.buffer+=pl(e)}openNode(e){if(!hr(e))return;const t=wl(e.scope,{prefix:this.classPrefix});this.span(t)}closeNode(e){hr(e)&&(this.buffer+=Pl)}value(){return this.buffer}span(e){this.buffer+=``}}const Dr=(n={})=>{const e={children:[]};return Object.assign(e,n),e};class _r{constructor(){this.rootNode=Dr(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const t=Dr({scope:e});this.add(t),this.stack.push(t)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,t){return typeof t=="string"?e.addText(t):t.children&&(e.openNode(t),t.children.forEach(a=>this._walk(e,a)),e.closeNode(t)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(t=>typeof t=="string")?e.children=[e.children.join("")]:e.children.forEach(t=>{_r._collapse(t)}))}}class Ul extends _r{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,t){const a=e.root;t&&(a.scope=`language:${t}`),this.add(a)}toHTML(){return new kl(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Oe(n){return n?typeof n=="string"?n:n.source:null}function ml(n){return me("(?=",n,")")}function Fl(n){return me("(?:",n,")*")}function Bl(n){return me("(?:",n,")?")}function me(...n){return n.map(t=>Oe(t)).join("")}function Gl(n){const e=n[n.length-1];return typeof e=="object"&&e.constructor===Object?(n.splice(n.length-1,1),e):{}}function dr(...n){return"("+(Gl(n).capture?"":"?:")+n.map(a=>Oe(a)).join("|")+")"}function El(n){return new RegExp(n.toString()+"|").exec("").length-1}function Yl(n,e){const t=n&&n.exec(e);return t&&t.index===0}const ql=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ur(n,{joinWith:e}){let t=0;return n.map(a=>{t+=1;const r=t;let i=Oe(a),s="";for(;i.length>0;){const o=ql.exec(i);if(!o){s+=i;break}s+=i.substring(0,o.index),i=i.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?s+="\\"+String(Number(o[1])+r):(s+=o[0],o[0]==="("&&t++)}return s}).map(a=>`(${a})`).join(e)}const Hl=/\b\B/,gl="[a-zA-Z]\\w*",pr="[a-zA-Z_]\\w*",Sl="\\b\\d+(\\.\\d+)?",Tl="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",bl="\\b(0b[01]+)",Vl="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",zl=(n={})=>{const e=/^#![ ]*\//;return n.binary&&(n.begin=me(e,/.*\b/,n.binary,/\b.*/)),_e({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(t,a)=>{t.index!==0&&a.ignoreMatch()}},n)},Ie={begin:"\\\\[\\s\\S]",relevance:0},Wl={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ie]},Kl={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ie]},$l={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},De=function(n,e,t={}){const a=_e({scope:"comment",begin:n,end:e,contains:[]},t);a.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const r=dr("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return a.contains.push({begin:me(/[ ]+/,"(",r,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),a},Ql=De("//","$"),Xl=De("/\\*","\\*/"),Zl=De("#","$"),Jl={scope:"number",begin:Sl,relevance:0},jl={scope:"number",begin:Tl,relevance:0},ec={scope:"number",begin:bl,relevance:0},tc={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Ie,{begin:/\[/,end:/\]/,relevance:0,contains:[Ie]}]},nc={scope:"title",begin:gl,relevance:0},ac={scope:"title",begin:pr,relevance:0},rc={begin:"\\.\\s*"+pr,relevance:0},ic=function(n){return Object.assign(n,{"on:begin":(e,t)=>{t.data._beginMatch=e[1]},"on:end":(e,t)=>{t.data._beginMatch!==e[1]&&t.ignoreMatch()}})};var ye=Object.freeze({__proto__:null,APOS_STRING_MODE:Wl,BACKSLASH_ESCAPE:Ie,BINARY_NUMBER_MODE:ec,BINARY_NUMBER_RE:bl,COMMENT:De,C_BLOCK_COMMENT_MODE:Xl,C_LINE_COMMENT_MODE:Ql,C_NUMBER_MODE:jl,C_NUMBER_RE:Tl,END_SAME_AS_BEGIN:ic,HASH_COMMENT_MODE:Zl,IDENT_RE:gl,MATCH_NOTHING_RE:Hl,METHOD_GUARD:rc,NUMBER_MODE:Jl,NUMBER_RE:Sl,PHRASAL_WORDS_MODE:$l,QUOTE_STRING_MODE:Kl,REGEXP_MODE:tc,RE_STARTERS_RE:Vl,SHEBANG:zl,TITLE_MODE:nc,UNDERSCORE_IDENT_RE:pr,UNDERSCORE_TITLE_MODE:ac});function oc(n,e){n.input[n.index-1]==="."&&e.ignoreMatch()}function sc(n,e){n.className!==void 0&&(n.scope=n.className,delete n.className)}function lc(n,e){e&&n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",n.__beforeBegin=oc,n.keywords=n.keywords||n.beginKeywords,delete n.beginKeywords,n.relevance===void 0&&(n.relevance=0))}function cc(n,e){Array.isArray(n.illegal)&&(n.illegal=dr(...n.illegal))}function _c(n,e){if(n.match){if(n.begin||n.end)throw new Error("begin & end are not supported with match");n.begin=n.match,delete n.match}}function dc(n,e){n.relevance===void 0&&(n.relevance=1)}const uc=(n,e)=>{if(!n.beforeMatch)return;if(n.starts)throw new Error("beforeMatch cannot be used with starts");const t=Object.assign({},n);Object.keys(n).forEach(a=>{delete n[a]}),n.keywords=t.keywords,n.begin=me(t.beforeMatch,ml(t.begin)),n.starts={relevance:0,contains:[Object.assign(t,{endsParent:!0})]},n.relevance=0,delete t.beforeMatch},pc=["of","and","for","in","not","or","if","then","parent","list","value"],mc="keyword";function Rl(n,e,t=mc){const a=Object.create(null);return typeof n=="string"?r(t,n.split(" ")):Array.isArray(n)?r(t,n):Object.keys(n).forEach(function(i){Object.assign(a,Rl(n[i],e,i))}),a;function r(i,s){e&&(s=s.map(o=>o.toLowerCase())),s.forEach(function(o){const l=o.split("|");a[l[0]]=[i,Ec(l[0],l[1])]})}}function Ec(n,e){return e?Number(e):gc(n)?0:1}function gc(n){return pc.includes(n.toLowerCase())}const Mr={},pe=n=>{console.error(n)},Lr=(n,...e)=>{console.log(`WARN: ${n}`,...e)},be=(n,e)=>{Mr[`${n}/${e}`]||(console.log(`Deprecated as of ${n}. ${e}`),Mr[`${n}/${e}`]=!0)},he=new Error;function fl(n,e,{key:t}){let a=0;const r=n[t],i={},s={};for(let o=1;o<=e.length;o++)s[o+a]=r[o],i[o+a]=!0,a+=El(e[o-1]);n[t]=s,n[t]._emit=i,n[t]._multi=!0}function Sc(n){if(Array.isArray(n.begin)){if(n.skip||n.excludeBegin||n.returnBegin)throw pe("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),he;if(typeof n.beginScope!="object"||n.beginScope===null)throw pe("beginScope must be object"),he;fl(n,n.begin,{key:"beginScope"}),n.begin=ur(n.begin,{joinWith:""})}}function Tc(n){if(Array.isArray(n.end)){if(n.skip||n.excludeEnd||n.returnEnd)throw pe("skip, excludeEnd, returnEnd not compatible with endScope: {}"),he;if(typeof n.endScope!="object"||n.endScope===null)throw pe("endScope must be object"),he;fl(n,n.end,{key:"endScope"}),n.end=ur(n.end,{joinWith:""})}}function bc(n){n.scope&&typeof n.scope=="object"&&n.scope!==null&&(n.beginScope=n.scope,delete n.scope)}function Rc(n){bc(n),typeof n.beginScope=="string"&&(n.beginScope={_wrap:n.beginScope}),typeof n.endScope=="string"&&(n.endScope={_wrap:n.endScope}),Sc(n),Tc(n)}function fc(n){function e(s,o){return new RegExp(Oe(s),"m"+(n.case_insensitive?"i":"")+(n.unicodeRegex?"u":"")+(o?"g":""))}class t{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,o]),this.matchAt+=El(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(l=>l[1]);this.matcherRe=e(ur(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(o);if(!l)return null;const _=l.findIndex((d,p)=>p>0&&d!==void 0),c=this.matchIndexes[_];return l.splice(0,_),Object.assign(l,c)}}class a{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const l=new t;return this.rules.slice(o).forEach(([_,c])=>l.addRule(_,c)),l.compile(),this.multiRegexes[o]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,l){this.rules.push([o,l]),l.type==="begin"&&this.count++}exec(o){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let _=l.exec(o);if(this.resumingScanAtSamePosition()&&!(_&&_.index===this.lastIndex)){const c=this.getMatcher(0);c.lastIndex=this.lastIndex+1,_=c.exec(o)}return _&&(this.regexIndex+=_.position+1,this.regexIndex===this.count&&this.considerAll()),_}}function r(s){const o=new a;return s.contains.forEach(l=>o.addRule(l.begin,{rule:l,type:"begin"})),s.terminatorEnd&&o.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&o.addRule(s.illegal,{type:"illegal"}),o}function i(s,o){const l=s;if(s.isCompiled)return l;[sc,_c,Rc,uc].forEach(c=>c(s,o)),n.compilerExtensions.forEach(c=>c(s,o)),s.__beforeBegin=null,[lc,cc,dc].forEach(c=>c(s,o)),s.isCompiled=!0;let _=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),_=s.keywords.$pattern,delete s.keywords.$pattern),_=_||/\w+/,s.keywords&&(s.keywords=Rl(s.keywords,n.case_insensitive)),l.keywordPatternRe=e(_,!0),o&&(s.begin||(s.begin=/\B|\b/),l.beginRe=e(l.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(l.endRe=e(l.end)),l.terminatorEnd=Oe(l.end)||"",s.endsWithParent&&o.terminatorEnd&&(l.terminatorEnd+=(s.end?"|":"")+o.terminatorEnd)),s.illegal&&(l.illegalRe=e(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(c){return Cc(c==="self"?s:c)})),s.contains.forEach(function(c){i(c,l)}),s.starts&&i(s.starts,o),l.matcher=r(l),l}if(n.compilerExtensions||(n.compilerExtensions=[]),n.contains&&n.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return n.classNameAliases=_e(n.classNameAliases||{}),i(n)}function Cl(n){return n?n.endsWithParent||Cl(n.starts):!1}function Cc(n){return n.variants&&!n.cachedVariants&&(n.cachedVariants=n.variants.map(function(e){return _e(n,{variants:null},e)})),n.cachedVariants?n.cachedVariants:Cl(n)?_e(n,{starts:n.starts?_e(n.starts):null}):Object.isFrozen(n)?_e(n):n}var Nc="11.11.1";class Oc extends Error{constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}const Le=pl,xr=_e,Pr=Symbol("nomatch"),Ic=7,Nl=function(n){const e=Object.create(null),t=Object.create(null),a=[];let r=!0;const i="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Ul};function l(T){return o.noHighlightRe.test(T)}function _(T){let O=T.className+" ";O+=T.parentNode?T.parentNode.className:"";const M=o.languageDetectRe.exec(O);if(M){const w=v(M[1]);return w||(Lr(i.replace("{}",M[1])),Lr("Falling back to no-highlight mode for this block.",T)),w?M[1]:"no-highlight"}return O.split(/\s+/).find(w=>l(w)||v(w))}function c(T,O,M){let w="",B="";typeof O=="object"?(w=T,M=O.ignoreIllegals,B=O.language):(be("10.7.0","highlight(lang, code, ...args) has been deprecated."),be("10.7.0",`Please use highlight(code, options) instead. https://github.com/highlightjs/highlight.js/issues/2277`),B=T,w=O),M===void 0&&(M=!0);const Q={code:w,language:B};X("before:highlight",Q);const ne=Q.result?Q.result:d(Q.language,Q.code,M);return ne.code=Q.code,X("after:highlight",ne),ne}function d(T,O,M,w){const B=Object.create(null);function Q(N,y){return N.keywords[y]}function ne(){if(!x.keywords){te.addText(Y);return}let N=0;x.keywordPatternRe.lastIndex=0;let y=x.keywordPatternRe.exec(Y),P="";for(;y;){P+=Y.substring(N,y.index);const U=oe.case_insensitive?y[0].toLowerCase():y[0],Z=Q(x,U);if(Z){const[se,Ce]=Z;if(te.addText(P),P="",B[U]=(B[U]||0)+1,B[U]<=Ic&&(ue+=Ce),se.startsWith("_"))P+=y[0];else{const Ae=oe.classNameAliases[se]||se;H(y[0],Ae)}}else P+=y[0];N=x.keywordPatternRe.lastIndex,y=x.keywordPatternRe.exec(Y)}P+=Y.substring(N),te.addText(P)}function ae(){if(Y==="")return;let N=null;if(typeof x.subLanguage=="string"){if(!e[x.subLanguage]){te.addText(Y);return}N=d(x.subLanguage,Y,!0,fe[x.subLanguage]),fe[x.subLanguage]=N._top}else N=E(Y,x.subLanguage.length?x.subLanguage:null);x.relevance>0&&(ue+=N.relevance),te.__addSublanguage(N._emitter,N.language)}function z(){x.subLanguage!=null?ae():ne(),Y=""}function H(N,y){N!==""&&(te.startScope(y),te.addText(N),te.endScope())}function J(N,y){let P=1;const U=y.length-1;for(;P<=U;){if(!N._emit[P]){P++;continue}const Z=oe.classNameAliases[N[P]]||N[P],se=y[P];Z?H(se,Z):(Y=se,ne(),Y=""),P++}}function V(N,y){return N.scope&&typeof N.scope=="string"&&te.openNode(oe.classNameAliases[N.scope]||N.scope),N.beginScope&&(N.beginScope._wrap?(H(Y,oe.classNameAliases[N.beginScope._wrap]||N.beginScope._wrap),Y=""):N.beginScope._multi&&(J(N.beginScope,y),Y="")),x=Object.create(N,{parent:{value:x}}),x}function G(N,y,P){let U=Yl(N.endRe,P);if(U){if(N["on:end"]){const Z=new yr(N);N["on:end"](y,Z),Z.isMatchIgnored&&(U=!1)}if(U){for(;N.endsParent&&N.parent;)N=N.parent;return N}}if(N.endsWithParent)return G(N.parent,y,P)}function K(N){return x.matcher.regexIndex===0?(Y+=N[0],1):(ce=!0,0)}function j(N){const y=N[0],P=N.rule,U=new yr(P),Z=[P.__beforeBegin,P["on:begin"]];for(const se of Z)if(se&&(se(N,U),U.isMatchIgnored))return K(y);return P.skip?Y+=y:(P.excludeBegin&&(Y+=y),z(),!P.returnBegin&&!P.excludeBegin&&(Y=y)),V(P,N),P.returnBegin?0:y.length}function ee(N){const y=N[0],P=O.substring(N.index),U=G(x,N,P);if(!U)return Pr;const Z=x;x.endScope&&x.endScope._wrap?(z(),H(y,x.endScope._wrap)):x.endScope&&x.endScope._multi?(z(),J(x.endScope,N)):Z.skip?Y+=y:(Z.returnEnd||Z.excludeEnd||(Y+=y),z(),Z.excludeEnd&&(Y=y));do x.scope&&te.closeNode(),!x.skip&&!x.subLanguage&&(ue+=x.relevance),x=x.parent;while(x!==U.parent);return U.starts&&V(U.starts,N),Z.returnEnd?0:y.length}function re(){const N=[];for(let y=x;y!==oe;y=y.parent)y.scope&&N.unshift(y.scope);N.forEach(y=>te.openNode(y))}let ie={};function Ee(N,y){const P=y&&y[0];if(Y+=N,P==null)return z(),0;if(ie.type==="begin"&&y.type==="end"&&ie.index===y.index&&P===""){if(Y+=O.slice(y.index,y.index+1),!r){const U=new Error(`0 width match regex (${T})`);throw U.languageName=T,U.badRule=ie.rule,U}return 1}if(ie=y,y.type==="begin")return j(y);if(y.type==="illegal"&&!M){const U=new Error('Illegal lexeme "'+P+'" for mode "'+(x.scope||"")+'"');throw U.mode=x,U}else if(y.type==="end"){const U=ee(y);if(U!==Pr)return U}if(y.type==="illegal"&&P==="")return Y+=` `,1;if(Se>1e5&&Se>y.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Y+=P,P.length}const oe=v(T);if(!oe)throw pe(i.replace("{}",T)),new Error('Unknown language: "'+T+'"');const ge=fc(oe);let de="",x=w||ge;const fe={},te=new o.__emitter(o);re();let Y="",ue=0,le=0,Se=0,ce=!1;try{if(oe.__emitTokens)oe.__emitTokens(O,te);else{for(x.matcher.considerAll();;){Se++,ce?ce=!1:x.matcher.considerAll(),x.matcher.lastIndex=le;const N=x.matcher.exec(O);if(!N)break;const y=O.substring(le,N.index),P=Ee(y,N);le=N.index+P}Ee(O.substring(le))}return te.finalize(),de=te.toHTML(),{language:T,value:de,relevance:ue,illegal:!1,_emitter:te,_top:x}}catch(N){if(N.message&&N.message.includes("Illegal"))return{language:T,value:Le(O),illegal:!0,relevance:0,_illegalBy:{message:N.message,index:le,context:O.slice(le-100,le+100),mode:N.mode,resultSoFar:de},_emitter:te};if(r)return{language:T,value:Le(O),illegal:!1,relevance:0,errorRaised:N,_emitter:te,_top:x};throw N}}function p(T){const O={value:Le(T),illegal:!1,relevance:0,_top:s,_emitter:new o.__emitter(o)};return O._emitter.addText(T),O}function E(T,O){O=O||o.languages||Object.keys(e);const M=p(T),w=O.filter(v).filter(k).map(z=>d(z,T,!1));w.unshift(M);const B=w.sort((z,H)=>{if(z.relevance!==H.relevance)return H.relevance-z.relevance;if(z.language&&H.language){if(v(z.language).supersetOf===H.language)return 1;if(v(H.language).supersetOf===z.language)return-1}return 0}),[Q,ne]=B,ae=Q;return ae.secondBest=ne,ae}function m(T,O,M){const w=O&&t[O]||M;T.classList.add("hljs"),T.classList.add(`language-${w}`)}function S(T){let O=null;const M=_(T);if(l(M))return;if(X("before:highlightElement",{el:T,language:M}),T.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",T);return}if(T.children.length>0&&(o.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(T)),o.throwUnescapedHTML))throw new Oc("One of your code blocks includes unescaped HTML.",T.innerHTML);O=T;const w=O.textContent,B=M?c(w,{language:M,ignoreIllegals:!0}):E(w);T.innerHTML=B.value,T.dataset.highlighted="yes",m(T,M,B.language),T.result={language:B.language,re:B.relevance,relevance:B.relevance},B.secondBest&&(T.secondBest={language:B.secondBest.language,relevance:B.secondBest.relevance}),X("after:highlightElement",{el:T,result:B,text:w})}function g(T){o=xr(o,T)}const b=()=>{A(),be("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function R(){A(),be("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let f=!1;function A(){function T(){A()}if(document.readyState==="loading"){f||window.addEventListener("DOMContentLoaded",T,!1),f=!0;return}document.querySelectorAll(o.cssSelector).forEach(S)}function I(T,O){let M=null;try{M=O(n)}catch(w){if(pe("Language definition for '{}' could not be registered.".replace("{}",T)),r)pe(w);else throw w;M=s}M.name||(M.name=T),e[T]=M,M.rawDefinition=O.bind(null,n),M.aliases&&L(M.aliases,{languageName:T})}function C(T){delete e[T];for(const O of Object.keys(t))t[O]===T&&delete t[O]}function h(){return Object.keys(e)}function v(T){return T=(T||"").toLowerCase(),e[T]||e[t[T]]}function L(T,{languageName:O}){typeof T=="string"&&(T=[T]),T.forEach(M=>{t[M.toLowerCase()]=O})}function k(T){const O=v(T);return O&&!O.disableAutodetect}function D(T){T["before:highlightBlock"]&&!T["before:highlightElement"]&&(T["before:highlightElement"]=O=>{T["before:highlightBlock"](Object.assign({block:O.el},O))}),T["after:highlightBlock"]&&!T["after:highlightElement"]&&(T["after:highlightElement"]=O=>{T["after:highlightBlock"](Object.assign({block:O.el},O))})}function F(T){D(T),a.push(T)}function $(T){const O=a.indexOf(T);O!==-1&&a.splice(O,1)}function X(T,O){const M=T;a.forEach(function(w){w[M]&&w[M](O)})}function q(T){return be("10.7.0","highlightBlock will be removed entirely in v12.0"),be("10.7.0","Please use highlightElement now."),S(T)}Object.assign(n,{highlight:c,highlightAuto:E,highlightAll:A,highlightElement:S,highlightBlock:q,configure:g,initHighlighting:b,initHighlightingOnLoad:R,registerLanguage:I,unregisterLanguage:C,listLanguages:h,getLanguage:v,registerAliases:L,autoDetection:k,inherit:xr,addPlugin:F,removePlugin:$}),n.debugMode=function(){r=!1},n.safeMode=function(){r=!0},n.versionString=Nc,n.regex={concat:me,lookahead:ml,either:dr,optional:Bl,anyNumberOfTimes:Fl};for(const T in ye)typeof ye[T]=="object"&&ul(ye[T]);return Object.assign(n,ye),n},Re=Nl({});Re.newInstance=()=>Nl({});var Ac=Re;Re.HighlightJS=Re;Re.default=Re;var xe,wr;function vc(){if(wr)return xe;wr=1;function n(e){const t="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",i="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",l="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",E="разделительстраниц разделительстрок символтабуляции "+"ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон "+"acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища "+"wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",B="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля "+"автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы "+"виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента "+"авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных "+"использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц "+"отображениевремениэлементовпланировщика "+"типфайлаформатированногодокумента "+"обходрезультатазапроса типзаписизапроса "+"видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов "+"доступкфайлу режимдиалогавыборафайла режимоткрытияфайла "+"типизмеренияпостроителязапроса "+"видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений "+"wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson "+"видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных "+"важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения "+"режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации "+"расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии "+"кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip "+"звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp "+"направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса "+"httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений "+"важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",ae="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",z="null истина ложь неопределено",H=e.inherit(e.NUMBER_MODE),J={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},V={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},G={match:/[;()+\-:=,]/,className:"punctuation",relevance:0},K=e.inherit(e.C_LINE_COMMENT_MODE),j={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:t,keyword:i+l},contains:[K]},ee={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},re={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:t,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:t,keyword:"знач",literal:z},contains:[H,J,V]},K]},e.inherit(e.TITLE_MODE,{begin:t})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:t,keyword:i,built_in:E,class:B,type:ae,literal:z},contains:[j,re,K,ee,H,J,V,G]}}return xe=n,xe}var Pe,kr;function yc(){if(kr)return Pe;kr=1;function n(e){const t=e.regex,a=/^[a-zA-Z][a-zA-Z0-9-]*/,r=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],i=e.COMMENT(/;/,/$/),s={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},o={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},l={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},_={scope:"symbol",match:/%[si](?=".*")/},c={scope:"attribute",match:t.concat(a,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:r,contains:[{scope:"operator",match:/=\/?/},c,i,s,o,l,_,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return Pe=n,Pe}var we,Ur;function hc(){if(Ur)return we;Ur=1;function n(e){const t=e.regex,a=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:t.concat(/"/,t.either(...a)),end:/"/,keywords:a,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return we=n,we}var ke,Fr;function Dc(){if(Fr)return ke;Fr=1;function n(e){const t=e.regex,a=/[a-zA-Z_$][a-zA-Z0-9_$]*/,r=t.concat(a,t.concat("(\\.",a,")*")),i=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,s={className:"rest_arg",begin:/[.]{3}/,end:a,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[e.inherit(e.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s]},{begin:t.concat(/:\s*/,i)}]},e.METHOD_GUARD],illegal:/#/}}return ke=n,ke}var Ue,Br;function Mc(){if(Br)return Ue;Br=1;function n(e){const t="\\d(_|\\d)*",a="[eE][-+]?"+t,r=t+"(\\."+t+")?("+a+")?",i="\\w+",o="\\b("+(t+"#"+i+"(\\."+i+")?#("+a+")?")+"|"+r+")",l="[A-Za-z](_?[A-Za-z0-9.])*",_=`[]\\{\\}%#'"`,c=e.COMMENT("--","$"),d={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:_,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:l,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[c,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:o,relevance:0},{className:"symbol",begin:"'"+l},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:_},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[c,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:_},d,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:_}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:_},d]}}return Ue=n,Ue}var Fe,Gr;function Lc(){if(Gr)return Fe;Gr=1;function n(e){const t={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},a={className:"symbol",begin:"[a-zA-Z0-9_]+@"},r={className:"keyword",begin:"<",end:">",contains:[t,a]};return t.contains=[r],a.contains=[r],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE],relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},t,a,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return Fe=n,Fe}var Be,Yr;function xc(){if(Yr)return Be;Yr=1;function n(e){const t={className:"number",begin:/[$%]\d+/},a={className:"number",begin:/\b\d+/},r={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},i={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[r,i,e.inherit(e.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{scope:"punctuation",match:/\\\n/},{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",t]},r,a,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}return Be=n,Be}var Ge,qr;function Pc(){if(qr)return Ge;qr=1;function n(e){const t=e.regex,a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),r={className:"params",begin:/\(/,end:/\)/,contains:["self",e.C_NUMBER_MODE,a]},i=e.COMMENT(/--/,/$/),s=e.COMMENT(/\(\*/,/\*\)/,{contains:["self",i]}),o=[i,s,e.HASH_COMMENT_MODE],l=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],_=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[a,e.C_NUMBER_MODE,{className:"built_in",begin:t.concat(/\b/,t.either(..._),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:t.concat(/\b/,t.either(...l),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[e.UNDERSCORE_TITLE_MODE,r]},...o],illegal:/\/\/|->|=>|\[\[/}}return Ge=n,Ge}var Ye,Hr;function wc(){if(Hr)return Ye;Hr=1;function n(e){const t=e.regex,a="[A-Za-z_][0-9A-Za-z_]*",r={keyword:["break","case","catch","continue","debugger","do","else","export","for","function","if","import","in","new","of","return","switch","try","var","void","while"],literal:["BackSlash","DoubleQuote","ForwardSlash","Infinity","NaN","NewLine","PI","SingleQuote","Tab","TextFormatting","false","null","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","ChangeTimeZone","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","ConvexHull","Cos","Count","Crosses","Cut","Date|0","DateAdd","DateDiff","DateOnly","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","DistanceToCoordinate","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureInFilter","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipClass","FeatureSetByRelationshipName","Filter","FilterBySubtypeCode","Find","First|0","Floor","FromCharCode","FromCodePoint","FromJSON","Front","GdbVersion","Generalize","Geometry","GetEnvironment","GetFeatureSet","GetFeatureSetInfo","GetUser","GroupBy","Guid","HasKey","HasValue","Hash","Hour","IIf","ISOMonth","ISOWeek","ISOWeekday","ISOYear","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","IsSelfIntersecting","IsSimple","KnowledgeGraphByPortalItem","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","MeasureToCoordinate","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NearestCoordinate","NearestVertex","NextSequenceValue","None","Now","Number","Offset","OrderBy","Overlaps","Point","PointToCoordinate","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","QueryGraph","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","StandardizeFilename","StandardizeGuid","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Time","TimeZone","TimeZoneOffset","Timestamp","ToCharCode","ToCodePoint","ToHex","ToLocal","ToUTC","Today","Top|0","Touches","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When|0","Within","Year|0"]},i=["aggregatedFeatures","analytic","config","datapoint","datastore","editcontext","feature","featureSet","feedfeature","fencefeature","fencenotificationtype","graph","join","layer","locationupdate","map","measure","measure","originalFeature","record","reference","rowindex","sourcedatastore","sourcefeature","sourcelayer","target","targetdatastore","targetfeature","targetlayer","userInput","value","variables","view"],s={className:"symbol",begin:"\\$"+t.either(...i)},o={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},l={className:"subst",begin:"\\$\\{",end:"\\}",keywords:r,contains:[]},_={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,l]};l.contains=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,o,e.REGEXP_MODE];const c=l.contains.concat([e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:r,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,s,o,{begin:/[{,]\s*/,relevance:0,contains:[{begin:a+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:a,relevance:0}]}]},{begin:"("+e.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+a+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:a},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:r,contains:c}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{className:"title.function",begin:a}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:c}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return Ye=n,Ye}var qe,Vr;function kc(){if(Vr)return qe;Vr=1;function n(t){const a=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),i="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",l="(?!struct)("+i+"|"+a.optional(s)+"[a-zA-Z_]\\w*"+a.optional("<[^<>]+>")+")",_={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},d={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},p={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},E={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(d,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},m={className:"title",begin:a.optional(s)+t.IDENT_RE,relevance:0},S=a.optional(s)+t.IDENT_RE+"\\s*\\(",g=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],b=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],R=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],f=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],C={type:b,keyword:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:R},h={className:"function.dispatch",relevance:0,keywords:{_hint:f},begin:a.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,a.lookahead(/(<[^<>]+>|)\s*\(/))},v=[h,E,_,r,t.C_BLOCK_COMMENT_MODE,p,d],L={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:C,contains:v.concat([{begin:/\(/,end:/\)/,keywords:C,contains:v.concat(["self"]),relevance:0}]),relevance:0},k={className:"function",begin:"("+l+"[\\*&\\s]+)+"+S,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:C,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:i,keywords:C,relevance:0},{begin:S,returnBegin:!0,contains:[m],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[d,p]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:C,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,d,p,_,{begin:/\(/,end:/\)/,keywords:C,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,d,p,_]}]},_,r,t.C_BLOCK_COMMENT_MODE,E]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:C,illegal:"",keywords:C,contains:["self",_]},{begin:t.IDENT_RE+"::",keywords:C},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function e(t){const a={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},r=n(t),i=r.keywords;return i.type=[...i.type,...a.type],i.literal=[...i.literal,...a.literal],i.built_in=[...i.built_in,...a.built_in],i._hints=a._hints,r.name="Arduino",r.aliases=["ino"],r.supersetOf="cpp",r}return qe=e,qe}var He,zr;function Uc(){if(zr)return He;zr=1;function n(e){const t={variants:[e.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),e.COMMENT("[;@]","$",{relevance:0}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},t,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return He=n,He}var Ve,Wr;function Fc(){if(Wr)return Ve;Wr=1;function n(e){const t=e.regex,a=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},s={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(s,{begin:/\(/,end:/\)/}),l=e.inherit(e.APOS_STRING_MODE,{className:"string"}),_=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[s,_,l,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[s,o,_,l]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[_]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:c}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return Ve=n,Ve}var ze,Kr;function Bc(){if(Kr)return ze;Kr=1;function n(e){const t=e.regex,a={begin:"^'{3,}[ \\t]*$",relevance:10},r=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],i=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],s=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],o={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},l={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},l,o,...r,...i,...s,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},a,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return ze=n,ze}var We,$r;function Gc(){if($r)return We;$r=1;function n(e){const t=e.regex,a=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],r=["get","set","args","call"];return{name:"AspectJ",keywords:a,illegal:/<\/|#/,contains:[e.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:a.concat(r),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:a,illegal:/["\[\]]/,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:a.concat(r),relevance:0},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:a,excludeEnd:!0,contains:[{begin:t.concat(e.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:a,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return We=n,We}var Ke,Qr;function Yc(){if(Qr)return Ke;Qr=1;function n(e){const t={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),e.COMMENT(";","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return Ke=n,Ke}var $e,Xr;function qc(){if(Xr)return $e;Xr=1;function n(e){const t="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",a=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],r="True False And Null Not Or Default",i="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",s={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},o={begin:"\\$[A-z0-9_]+"},l={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},_={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},c={className:"meta",begin:"#",end:"$",keywords:{keyword:a},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[l,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},l,s]},d={className:"symbol",begin:"@[A-z0-9_]+"},p={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[o,l,_]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:t,built_in:i,literal:r},contains:[s,o,l,_,c,d,p]}}return $e=n,$e}var Qe,Zr;function Hc(){if(Zr)return Qe;Zr=1;function n(e){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+e.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return Qe=n,Qe}var Xe,Jr;function Vc(){if(Jr)return Xe;Jr=1;function n(e){const t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},a="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",r={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:a},contains:[t,r,e.REGEXP_MODE,e.HASH_COMMENT_MODE,e.NUMBER_MODE]}}return Xe=n,Xe}var Ze,jr;function zc(){if(jr)return Ze;jr=1;function n(e){const t=e.UNDERSCORE_IDENT_RE,s={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},o={variants:[{match:[/(class|interface)\s+/,t,/\s+(extends|implements)\s+/,t]},{match:[/class\s+/,t]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:s};return{name:"X++",aliases:["x++"],keywords:s,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},o]}}return Ze=n,Ze}var Je,ei;function Wc(){if(ei)return Je;ei=1;function n(e){const t=e.regex,a={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[a]}]};Object.assign(a,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const i={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},s=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},l={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,a,i]};i.contains.push(l);const _={match:/\\"/},c={className:"string",begin:/'/,end:/'/},d={match:/\\'/},p={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,a]},E=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],m=e.SHEBANG({binary:`(${E.join("|")})`,relevance:10}),S={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},g=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],b=["true","false"],R={match:/(\/[a-z._-]+)+/},f=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],A=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],I=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],C=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:g,literal:b,built_in:[...f,...A,"set","shopt",...I,...C]},contains:[m,e.SHEBANG(),S,p,s,o,R,l,_,c,d,a]}}return Je=n,Je}var je,ti;function Kc(){if(ti)return je;ti=1;function n(e){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[{scope:"string",begin:/"/,end:/"|$/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return je=n,je}var et,ni;function $c(){if(ni)return et;ni=1;function n(e){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}]}}return et=n,et}var tt,ai;function Qc(){if(ai)return tt;ai=1;function n(e){const t={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[e.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[t]},t]}}return tt=n,tt}var nt,ri;function Xc(){if(ri)return nt;ri=1;function n(e){const t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",l={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},p={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},E={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},m=t.optional(i)+e.IDENT_RE+"\\s*\\(",b={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},R=[p,l,a,e.C_BLOCK_COMMENT_MODE,d,c],f={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:b,contains:R.concat([{begin:/\(/,end:/\)/,keywords:b,contains:R.concat(["self"]),relevance:0}]),relevance:0},A={begin:"("+o+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:b,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:b,relevance:0},{begin:m,returnBegin:!0,contains:[e.inherit(E,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,c,d,l,{begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,c,d,l]}]},l,a,e.C_BLOCK_COMMENT_MODE,p]};return{name:"C",aliases:["h"],keywords:b,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:p,strings:c,keywords:b}}}return nt=n,nt}var at,ii;function Zc(){if(ii)return at;ii=1;function n(e){const t=e.regex,a=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],r="false true",i=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],s={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},o={className:"string",begin:/(#\d+)+/},l={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},_={className:"string",begin:'"',end:'"'},c={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:a,contains:[s,o,e.NUMBER_MODE]},...i]},d=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],p={match:[/OBJECT/,/\s+/,t.either(...d),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:a,literal:r},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},s,o,l,_,e.NUMBER_MODE,p,c]}}return at=n,at}var rt,oi;function Jc(){if(oi)return rt;oi=1;function n(e){const t=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],a=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],r=["true","false"],i={variants:[{match:[/(struct|enum|interface)/,/\s+/,e.IDENT_RE]},{match:[/extends/,/\s*\(/,e.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:t,type:a,literal:r},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},i]}}return rt=n,rt}var it,si;function jc(){if(si)return it;si=1;function n(e){const t=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],a=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],r=["doc","by","license","see","throws","tagged"],i={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},s=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[i]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return i.contains=s,{name:"Ceylon",keywords:{keyword:t.concat(a),meta:r},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(s)}}return it=n,it}var ot,li;function e_(){if(li)return ot;li=1;function n(e){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return ot=n,ot}var st,ci;function t_(){if(ci)return st;ci=1;function n(e){const t="a-zA-Z_\\-!.?+*=<>&'",a="[#]?["+t+"]["+t+"0-9/;:$#]*",r="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",i={$pattern:a,built_in:r+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},s={begin:a,relevance:0},o={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},l={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},_={scope:"regex",begin:/#"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]},c=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),d={scope:"punctuation",match:/,/,relevance:0},p=e.COMMENT(";","$",{relevance:0}),E={className:"literal",begin:/\b(true|false|nil)\b/},m={begin:"\\[|(#::?"+a+")?\\{",end:"[\\]\\}]",relevance:0},S={className:"symbol",begin:"[:]{1,2}"+a},g={begin:"\\(",end:"\\)"},b={endsWithParent:!0,relevance:0},R={keywords:i,className:"name",begin:a,relevance:0,starts:b},f=[d,g,l,_,c,p,S,m,o,E,s],A={beginKeywords:r,keywords:{$pattern:a,keyword:r},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:a,relevance:0,excludeEnd:!0,endsParent:!0}].concat(f)};return g.contains=[A,R,b],b.contains=f,m.contains=f,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[d,g,l,_,c,p,S,m,o,E]}}return st=n,st}var lt,_i;function n_(){if(_i)return lt;_i=1;function n(e){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return lt=n,lt}var ct,di;function a_(){if(di)return ct;di=1;function n(e){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},e.COMMENT(/#\[\[/,/]]/),e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}return ct=n,ct}var _t,ui;function r_(){if(ui)return _t;ui=1;const n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],e=["true","false","null","undefined","NaN","Infinity"],t=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=[].concat(r,t,a);function s(o){const l=["npm","print"],_=["yes","no","on","off"],c=["then","unless","until","loop","by","when","and","or","is","isnt","not"],d=["var","const","let","function","static"],p=I=>C=>!I.includes(C),E={keyword:n.concat(c).filter(p(d)),literal:e.concat(_),built_in:i.concat(l)},m="[A-Za-z$_][0-9A-Za-z$_]*",S={className:"subst",begin:/#\{/,end:/\}/,keywords:E},g=[o.BINARY_NUMBER_MODE,o.inherit(o.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[o.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,S]},{begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE,S]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[S,o.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+m},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];S.contains=g;const b=o.inherit(o.TITLE_MODE,{begin:m}),R="(\\(.*\\)\\s*)?\\B[-=]>",f={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:E,contains:["self"].concat(g)}]},A={variants:[{match:[/class\s+/,m,/\s+extends\s+/,m]},{match:[/class\s+/,m]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:E};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:E,illegal:/\/\*/,contains:[...g,o.COMMENT("###","###"),o.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+m+"\\s*=\\s*"+R,end:"[-=]>",returnBegin:!0,contains:[b,f]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:R,end:"[-=]>",returnBegin:!0,contains:[f]}]},A,{begin:m+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return _t=s,_t}var dt,pi;function i_(){if(pi)return dt;pi=1;function n(e){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[e.QUOTE_STRING_MODE,e.COMMENT("\\(\\*","\\*\\)"),e.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return dt=n,dt}var ut,mi;function o_(){if(mi)return ut;mi=1;function n(e){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return ut=n,ut}var pt,Ei;function s_(){if(Ei)return pt;Ei=1;function n(e){const t=e.regex,a=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),r="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",o="(?!struct)("+r+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",l={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},d={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},p={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},a,e.C_BLOCK_COMMENT_MODE]},E={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},m=t.optional(i)+e.IDENT_RE+"\\s*\\(",S=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],g=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],b=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],R=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],I={type:g,keyword:S,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:b},C={className:"function.dispatch",relevance:0,keywords:{_hint:R},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},h=[C,p,l,a,e.C_BLOCK_COMMENT_MODE,d,c],v={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:I,contains:h.concat([{begin:/\(/,end:/\)/,keywords:I,contains:h.concat(["self"]),relevance:0}]),relevance:0},L={className:"function",begin:"("+o+"[\\*&\\s]+)+"+m,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:I,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,keywords:I,relevance:0},{begin:m,returnBegin:!0,contains:[E],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,d]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:I,relevance:0,contains:[a,e.C_BLOCK_COMMENT_MODE,c,d,l,{begin:/\(/,end:/\)/,keywords:I,relevance:0,contains:["self",a,e.C_BLOCK_COMMENT_MODE,c,d,l]}]},l,a,e.C_BLOCK_COMMENT_MODE,p]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:I,illegal:"",keywords:I,contains:["self",l]},{begin:e.IDENT_RE+"::",keywords:I},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return pt=n,pt}var mt,gi;function l_(){if(gi)return mt;gi=1;function n(e){const t="primitive rsc_template",a="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization"+" "+"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\"+" "+"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:t,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+a.split(" ").join("|")+")\\s+",keywords:a,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return mt=n,mt}var Et,Si;function c_(){if(Si)return Et;Si=1;function n(e){const t="(_?[ui](8|16|32|64|128))?",a="(_?f(32|64))?",r="[a-zA-Z_]\\w*[!?=]?",i="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",s="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",o={$pattern:r,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},l={className:"subst",begin:/#\{/,end:/\}/,keywords:o},_={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},c={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:o};function d(R,f){const A=[{begin:R,end:f}];return A[0].contains=A,A}const p={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:d("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},E={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%q<",end:">",contains:d("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},m={begin:"(?!%\\})("+e.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},S={className:"regexp",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:"%r\\(",end:"\\)",contains:d("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:d("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:d(/\{/,/\}/)},{begin:"%r<",end:">",contains:d("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},g={className:"meta",begin:"@\\[",end:"\\]",contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"})]},b=[c,p,E,S,m,g,_,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:s}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:s})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:s})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:i,endsParent:!0})],relevance:2},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[p,{begin:i}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+a+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+t}],relevance:0}];return l.contains=b,c.contains=b.slice(1),{name:"Crystal",aliases:["cr"],keywords:o,contains:b}}return Et=n,Et}var gt,Ti;function __(){if(Ti)return gt;Ti=1;function n(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],a=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],r=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],s=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],o={keyword:i.concat(s),built_in:t,literal:r},l=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),_={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},d={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},p=e.inherit(d,{illegal:/\n/}),E={className:"subst",begin:/\{/,end:/\}/,keywords:o},m=e.inherit(E,{illegal:/\n/}),S={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,m]},g={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},E]},b=e.inherit(g,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},m]});E.contains=[g,S,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,e.C_BLOCK_COMMENT_MODE],m.contains=[b,S,p,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const R={variants:[c,g,S,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},f={begin:"<",end:">",contains:[{beginKeywords:"in out"},l]},A=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",I={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:o,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},R,_,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},l,f,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[l,f,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+A+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:o,contains:[{beginKeywords:a.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,f],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,relevance:0,contains:[R,_,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},I]}}return gt=n,gt}var St,bi;function d_(){if(bi)return St;bi=1;function n(e){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return St=n,St}var Tt,Ri;function u_(){if(Ri)return Tt;Ri=1;const n=_=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:_.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[_.APOS_STRING_MODE,_.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:_.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],t=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],a=[...e,...t],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),i=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),s=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),o=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function l(_){const c=_.regex,d=n(_),p={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},E="and or not only",m=/@-?\w[\w]*(-\w+)*/,S="[a-zA-Z-][a-zA-Z0-9_-]*",g=[_.APOS_STRING_MODE,_.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[d.BLOCK_COMMENT,p,d.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+S,relevance:0},d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+i.join("|")+")"},{begin:":(:)?("+s.join("|")+")"}]},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+o.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[d.BLOCK_COMMENT,d.HEXCOLOR,d.IMPORTANT,d.CSS_NUMBER_MODE,...g,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...g,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},d.FUNCTION_DISPATCH]},{begin:c.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:m},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:E,attribute:r.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...g,d.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+a.join("|")+")\\b"}]}}return Tt=l,Tt}var bt,fi;function p_(){if(fi)return bt;fi=1;function n(e){const t={$pattern:e.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},a="(0|[1-9][\\d_]*)",r="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",i="0[bB][01_]+",s="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",o="0[xX]"+s,l="([eE][+-]?"+r+")",_="("+r+"(\\.\\d*|"+l+")|\\d+\\."+r+"|\\."+a+l+"?)",c="(0[xX]("+s+"\\."+s+"|\\.?"+s+")[pP][+-]?"+r+")",d="("+a+"|"+i+"|"+o+")",p="("+c+"|"+_+")",E=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,m={className:"number",begin:"\\b"+d+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},S={className:"number",begin:"\\b("+p+"([fF]|L|i|[fF]i|Li)?|"+d+"(i|[fF]i|Li))",relevance:0},g={className:"string",begin:"'("+E+"|.)",end:"'",illegal:"."},R={className:"string",begin:'"',contains:[{begin:E,relevance:0}],end:'"[cwd]?'},f={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},A={className:"string",begin:"`",end:"`[cwd]?"},I={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},C={className:"string",begin:'q"\\{',end:'\\}"'},h={className:"meta",begin:"^#!",end:"$",relevance:5},v={className:"meta",begin:"#(line)",end:"$",relevance:5},L={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},k=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,k,I,R,f,A,C,S,m,g,h,v,L]}}return bt=n,bt}var Rt,Ci;function m_(){if(Ci)return Rt;Ci=1;function n(e){const t=e.regex,a={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},r={begin:"^[-\\*]{3,}",end:"$"},i={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},s={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},l=/[A-Za-z][A-Za-z0-9+.-]*/,_={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,l,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},d={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},p=e.inherit(c,{contains:[]}),E=e.inherit(d,{contains:[]});c.contains.push(E),d.contains.push(p);let m=[a,_];return[c,d,p,E].forEach(R=>{R.contains=R.contains.concat(m)}),m=m.concat(c,d),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:m},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:m}]}]},a,s,c,d,{className:"quote",begin:"^>\\s+",contains:m,end:"$"},i,r,_,o,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}return Rt=n,Rt}var ft,Ni;function E_(){if(Ni)return ft;Ni=1;function n(e){const t={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},a={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},r={className:"number",relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},i={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,a]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,a]}]};a.contains=[r,i];const s=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=s.map(c=>`${c}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:s.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},r,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return ft=n,ft}var Ct,Oi;function g_(){if(Oi)return Ct;Oi=1;function n(e){const t=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],a=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},i={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},s={className:"number",relevance:0,variants:[{match:/\b\d[\d_]*(\.\d[\d_]*)?/},{match:/\$[\dA-Fa-f_]+/},{match:/\$/,relevance:0},{match:/&[0-7][0-7_]*/},{match:/%[01_]+/},{match:/%/,relevance:0}]},o={className:"string",variants:[{match:/#\d[\d_]*/},{match:/#\$[\dA-Fa-f][\dA-Fa-f_]*/},{match:/#&[0-7][0-7_]*/},{match:/#%[01][01_]*/}]},l={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},_={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[i,o,r].concat(a)},r].concat(a)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[i,o,s,l,_,r].concat(a)}}return Ct=n,Ct}var Nt,Ii;function S_(){if(Ii)return Nt;Ii=1;function n(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return Nt=n,Nt}var Ot,Ai;function T_(){if(Ai)return Ot;Ai=1;function n(e){const t={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),e.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[t],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[t]}]}}return Ot=n,Ot}var It,vi;function b_(){if(vi)return It;vi=1;function n(e){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},e.inherit(e.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return It=n,It}var At,yi;function R_(){if(yi)return At;yi=1;function n(e){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[e.HASH_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},i={className:"variable",begin:/&[a-z\d_]*\b/},s={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},o={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},l={className:"params",relevance:0,begin:"<",end:">",contains:[a,i]},_={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},c={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},d={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},p={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},E={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[c,i,s,o,_,p,d,l,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,t,r,E,{begin:e.IDENT_RE+"::",keywords:""}]}}return ht=n,ht}var Dt,Li;function O_(){if(Li)return Dt;Li=1;function n(e){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[e.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}return Dt=n,Dt}var Mt,xi;function I_(){if(xi)return Mt;xi=1;function n(e){const t=e.COMMENT(/\(\*/,/\*\)/),a={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},i={begin:/=/,end:/[.;]/,contains:[t,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[t,a,i]}}return Mt=n,Mt}var Lt,Pi;function A_(){if(Pi)return Lt;Pi=1;function n(e){const t=e.regex,a="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",o={$pattern:a,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},l={className:"subst",begin:/#\{/,end:/\}/,keywords:o},_={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},d={match:/\\[\s\S]/,scope:"char.escape",relevance:0},p=`[/|([{<"']`,E=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],m=C=>({scope:"char.escape",begin:t.concat(/\\/,C),relevance:0}),S={className:"string",begin:"~[a-z](?="+p+")",contains:E.map(C=>e.inherit(C,{contains:[m(C.end),d,l]}))},g={className:"string",begin:"~[A-Z](?="+p+")",contains:E.map(C=>e.inherit(C,{contains:[m(C.end)]}))},b={className:"regex",variants:[{begin:"~r(?="+p+")",contains:E.map(C=>e.inherit(C,{end:t.concat(C.end,/[uismxfU]{0,7}/),contains:[m(C.end),d,l]}))},{begin:"~R(?="+p+")",contains:E.map(C=>e.inherit(C,{end:t.concat(C.end,/[uismxfU]{0,7}/),contains:[m(C.end)]}))}]},R={className:"string",contains:[e.BACKSLASH_ESCAPE,l],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},f={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:a,endsParent:!0})]},A=e.inherit(f,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),I=[R,b,g,S,e.HASH_COMMENT_MODE,A,f,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[R,{begin:r}],relevance:0},{className:"symbol",begin:a+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},_,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return l.contains=I,{name:"Elixir",aliases:["ex","exs"],keywords:o,contains:I}}return Lt=n,Lt}var xt,wi;function v_(){if(wi)return xt;wi=1;function n(e){const t={variants:[e.COMMENT("--","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},a={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},t]},i={begin:/\{/,end:/\}/,contains:r.contains},s={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[r,t],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[a,r,i,t]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,t]},{begin:"port",end:"$",keywords:"port",contains:[t]},s,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,a,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),t,{begin:"->|<-"}],illegal:/;/}}return xt=n,xt}var Pt,ki;function y_(){if(ki)return Pt;ki=1;function n(e){const t=e.regex,a="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},l={className:"doctag",begin:"@[A-Za-z]+"},_={begin:"#<",end:">"},c=[e.COMMENT("#","$",{contains:[l]}),e.COMMENT("^=begin","^=end",{contains:[l],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],d={className:"subst",begin:/#\{/,end:/\}/,keywords:o},p={className:"string",contains:[e.BACKSLASH_ESCAPE,d],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,d]})]}]},E="[1-9](_?[0-9])*|0",m="[0-9](_?[0-9])*",S={className:"number",relevance:0,variants:[{begin:`\\b(${E})(\\.(${m}))?([eE][+-]?(${m})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},g={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},h=[p,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:o},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{match:[/def/,/\s+/,a],scope:{1:"keyword",3:"title.function"},contains:[g]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[p,{begin:a}],relevance:0},S,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,d],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(_,c),relevance:0}].concat(_,c);d.contains=h,g.contains=h;const D=[{begin:/^\s*=>/,starts:{end:"$",contains:h}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:o,contains:h}}];return c.unshift(_),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(D).concat(c).concat(h)}}return Pt=n,Pt}var wt,Ui;function h_(){if(Ui)return wt;Ui=1;function n(e){return{name:"ERB",subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return wt=n,wt}var kt,Fi;function D_(){if(Fi)return kt;Fi=1;function n(e){const t=e.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:t.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return kt=n,kt}var Ut,Bi;function M_(){if(Bi)return Ut;Bi=1;function n(e){const t="[a-z'][a-zA-Z0-9_']*",a="("+t+":"+t+"|"+t+")",r={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor maybe else",literal:"false true"},i=e.COMMENT("%","$"),s={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},o={begin:"fun\\s+"+t+"/\\d+"},l={begin:a+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:a,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},_={begin:/\{/,end:/\}/,relevance:0},c={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},d={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},p={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},E={scope:"string",match:/\$(\\([^0-9]|[0-9]{1,3}|)|.)/},m={scope:"string",match:/"""("*)(?!")[\s\S]*?"""\1/},S={scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{match:/~\w?"""("*)(?!")[\s\S]*?"""\1/},{begin:/~\w?\(/,end:/\)/},{begin:/~\w?\[/,end:/\]/},{begin:/~\w?{/,end:/}/},{begin:/~\w?/},{begin:/~\w?\//,end:/\//},{begin:/~\w?\|/,end:/\|/},{begin:/~\w?'/,end:/'/},{begin:/~\w?"/,end:/"/},{begin:/~\w?`/,end:/`/},{begin:/~\w?#/,end:/#/}]},g={beginKeywords:"fun receive if try case maybe",end:"end",keywords:r};g.contains=[i,o,e.inherit(e.APOS_STRING_MODE,{className:""}),g,l,S,m,e.QUOTE_STRING_MODE,s,_,c,d,p,E];const b=[i,o,g,l,S,m,e.QUOTE_STRING_MODE,s,_,c,d,p,E];l.contains[1].contains=b,_.contains=b,p.contains[1].contains=b;const R=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-moduledoc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec","-on_load","-nifs"],f={className:"params",begin:"\\(",end:"\\)",contains:b};return{name:"Erlang",aliases:["erl"],keywords:r,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[f,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:r,contains:b}},i,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+e.IDENT_RE,keyword:R.map(A=>`${A}|1.5`).join(" ")},contains:[f,S,m,e.QUOTE_STRING_MODE]},s,S,m,e.QUOTE_STRING_MODE,p,c,d,_,E,{begin:/\.$/}]}}return Ut=n,Ut}var Ft,Gi;function L_(){if(Gi)return Ft;Gi=1;function n(e){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ARRAYTOTEXT","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","BYCOL","BYROW","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CHOOSECOLS","CHOOSEROWS","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DROP","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPAND","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE","F.DIST","FDIST","F.DIST.RT","FILTER","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HSTACK","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGE","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISOMITTED","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LAMBDA","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LET","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MAKEARRAY","MAP","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDB","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDARRAY","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REDUCE","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SCAN","SEARCH","SEARCHB","SEC","SECH","SECOND","SEQUENCE","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SORT","SORTBY","SQRT","SQRTPI","SQL.REQUEST","STANDARDIZE","STOCKHISTORY","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TAKE","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTAFTER","TEXTBEFORE","TEXTJOIN","TEXTSPLIT","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TOCOL","TOROW","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UNIQUE","UPPER","VALUE","VALUETOTEXT","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","VSTACK","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","WRAPCOLS","WRAPROWS","XIRR","XLOOKUP","XMATCH","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},e.BACKSLASH_ESCAPE,e.QUOTE_STRING_MODE,{className:"number",begin:e.NUMBER_RE+"(%)?",relevance:0},e.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return Ft=n,Ft}var Bt,Yi;function x_(){if(Yi)return Bt;Yi=1;function n(e){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return Bt=n,Bt}var Gt,qi;function P_(){if(qi)return Gt;qi=1;function n(e){const t={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},a={className:"string",variants:[{begin:'"',end:'"'}]},i={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t,a,i,e.C_NUMBER_MODE]}}return Gt=n,Gt}var Yt,Hi;function w_(){if(Hi)return Yt;Hi=1;function n(e){const t=e.regex,a={className:"params",begin:"\\(",end:"\\)"},r={variants:[e.COMMENT("!","$",{relevance:0}),e.COMMENT("^C[ ]","$",{relevance:0}),e.COMMENT("^C$","$",{relevance:0})]},i=/(_[a-z_\d]+)?/,s=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,s,i)},{begin:t.concat(/\b\d+/,s,i)},{begin:t.concat(/\.\d+/,s,i)}],relevance:0},l={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,a]},_={className:"string",relevance:0,variants:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{$pattern:/\b[a-z][a-z0-9_]+\b|\.[a-z][a-z0-9_]+\./,keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[_,l,{begin:/^C\s*=(?!=)/,relevance:0},r,o]}}return Yt=n,Yt}var qt,Vi;function k_(){if(Vi)return qt;Vi=1;function n(o){return new RegExp(o.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return a("(?=",o,")")}function a(...o){return o.map(_=>e(_)).join("")}function r(o){const l=o[o.length-1];return typeof l=="object"&&l.constructor===Object?(o.splice(o.length-1,1),l):{}}function i(...o){return"("+(r(o).capture?"":"?:")+o.map(c=>e(c)).join("|")+")"}function s(o){const l=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],_={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},c=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],d=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],p=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],E=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],S={keyword:l,literal:d,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":p},b={variants:[o.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),o.C_LINE_COMMENT_MODE]},R=/[a-zA-Z_](\w|')*/,f={scope:"variable",begin:/``/,end:/``/},A=/\B('|\^)/,I={scope:"symbol",variants:[{match:a(A,/``.*?``/)},{match:a(A,o.UNDERSCORE_IDENT_RE)}],relevance:0},C=function({includeEqual:H}){let J;H?J="!%&*+-/<=>@^|~?":J="!%&*+-/<>@^|~?";const V=Array.from(J),G=a("[",...V.map(n),"]"),K=i(G,/\./),j=a(K,t(K)),ee=i(a(j,K,"*"),a(G,"+"));return{scope:"operator",match:i(ee,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},h=C({includeEqual:!0}),v=C({includeEqual:!1}),L=function(H,J){return{begin:a(H,t(a(/\s*/,i(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:J,end:t(i(/\n/,/=/)),relevance:0,keywords:o.inherit(S,{type:E}),contains:[b,I,o.inherit(f,{scope:null}),v]}},k=L(/:/,"operator"),D=L(/\bof\b/,"keyword"),F={begin:[/(^|\s+)/,/type/,/\s+/,R],beginScope:{2:"keyword",4:"title.class"},end:t(/\(|=|$/),keywords:S,contains:[b,o.inherit(f,{scope:null}),I,{scope:"operator",match:/<|>/},k]},$={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},X={begin:[/^\s*/,a(/#/,i(...c)),/\b/],beginScope:{2:"meta"},end:t(/\s|$/)},q={variants:[o.BINARY_NUMBER_MODE,o.C_NUMBER_MODE]},T={scope:"string",begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE]},O={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},o.BACKSLASH_ESCAPE]},M={scope:"string",begin:/"""/,end:/"""/,relevance:2},w={scope:"subst",begin:/\{/,end:/\}/,keywords:S},B={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},o.BACKSLASH_ESCAPE,w]},Q={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},o.BACKSLASH_ESCAPE,w]},ne={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},w],relevance:2},ae={scope:"string",match:a(/'/,i(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return w.contains=[Q,B,O,T,ae,_,b,f,k,$,X,q,I,h],{name:"F#",aliases:["fs","f#"],keywords:S,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[_,{variants:[ne,Q,B,M,O,T,ae]},b,f,F,{scope:"meta",begin:/\[\]/,relevance:2,contains:[f,M,O,T,ae,q]},D,k,$,X,q,I,h]}}return qt=s,qt}var Ht,zi;function U_(){if(zi)return Ht;zi=1;function n(e){const t=e.regex,a={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},r={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},i={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},s={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},o={begin:"/",end:"/",keywords:a,contains:[s,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},l=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,_={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[s,o,{className:"comment",begin:t.concat(l,t.anyNumberOfTimes(t.concat(/[ ]+/,l))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:a,contains:[e.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,o,_]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[_]},e.COMMENT("^\\*","$"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},r,i]},e.C_NUMBER_MODE,i]}}return Ht=n,Ht}var Vt,Wi;function F_(){if(Wi)return Vt;Wi=1;function n(e){const t={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},a=e.COMMENT("@","@"),r={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a]},i={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},s=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,i]}],o={className:"title",begin:e.UNDERSCORE_IDENT_RE,relevance:0},l=function(E,m,S){const g=e.inherit({className:"function",beginKeywords:E,end:m,excludeEnd:!0,contains:[].concat(s)},{});return g.contains.push(o),g.contains.push(e.C_NUMBER_MODE),g.contains.push(e.C_BLOCK_COMMENT_MODE),g.contains.push(a),g},_={className:"built_in",begin:"\\b("+t.built_in.split(" ").join("|")+")\\b"},c={className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE],relevance:0},d={begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:t,relevance:0,contains:[{beginKeywords:t.keyword},_,{className:"built_in",begin:e.UNDERSCORE_IDENT_RE,relevance:0}]},p={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:t.built_in,literal:t.literal},contains:[e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,a,_,d,c,"self"]};return d.contains.push(p),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:t,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,c,r,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},l("proc keyword",";"),l("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE,a,p]},{variants:[{begin:e.UNDERSCORE_IDENT_RE+"\\."+e.UNDERSCORE_IDENT_RE},{begin:e.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},d,i]}}return Vt=n,Vt}var zt,Ki;function B_(){if(Ki)return zt;Ki=1;function n(e){const t=e.regex,a={$pattern:/[A-Z]+|%/,keyword:["THEN","ELSE","ENDIF","IF","GOTO","DO","WHILE","WH","END","CALL","SUB","ENDSUB","EQ","NE","LT","GT","LE","GE","AND","OR","XOR","%"],built_in:["ATAN","ABS","ACOS","ASIN","COS","EXP","FIX","FUP","ROUND","LN","SIN","SQRT","TAN","EXISTS"]},r=/\b/;function i(m,S){if(m.index===0)return;const g=m.input[m.index-1];g>="0"&&g<="9"||g!=="_"&&S.ignoreMatch()}const s=/[+-]?((\.\d+)|(\d+)(\.\d*)?)/,o=/[GM]\s*\d+(\.\d+)?/,l=/T\s*\d+/,_=/O\s*\d+/,c=/O<.+>/,d=/[ABCUVWXYZ]\s*/,p=/[FHIJKPQRS]\s*/,E=[e.COMMENT(/\(/,/\)/),e.COMMENT(/;/,/$/),e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{scope:"title.function",variants:[{match:t.concat(r,o)},{begin:o,"on:begin":i},{match:t.concat(r,l)},{begin:l,"on:begin":i}]},{scope:"symbol",variants:[{match:t.concat(r,_)},{begin:_,"on:begin":i},{match:t.concat(r,c)},{begin:c,"on:begin":i},{match:/\*\s*\d+\s*$/}]},{scope:"operator",match:/^N\s*\d+/},{scope:"variable",match:/-?#\s*\d+/},{scope:"property",variants:[{match:t.concat(r,d,s)},{begin:t.concat(d,s),"on:begin":i}]},{scope:"params",variants:[{match:t.concat(r,p,s)},{begin:t.concat(p,s),"on:begin":i}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,disableAutodetect:!0,keywords:a,contains:E}}return zt=n,zt}var Wt,$i;function G_(){if($i)return Wt;$i=1;function n(e){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}return Wt=n,Wt}var Kt,Qi;function Y_(){if(Qi)return Kt;Qi=1;function n(e){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return Kt=n,Kt}var $t,Xi;function q_(){if(Xi)return $t;Xi=1;function n(e){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","new","not","or","repeat","return","static","switch","then","until","var","while","with","xor"],built_in:["abs","alarm_get","alarm_set","angle_difference","animcurve_channel_evaluate","animcurve_channel_new","animcurve_create","animcurve_destroy","animcurve_exists","animcurve_get","animcurve_get_channel","animcurve_get_channel_index","animcurve_point_new","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_all","array_any","array_concat","array_contains","array_contains_ext","array_copy","array_copy_while","array_create","array_create_ext","array_delete","array_equals","array_filter","array_filter_ext","array_find_index","array_first","array_foreach","array_get","array_get_index","array_insert","array_intersection","array_last","array_length","array_map","array_map_ext","array_pop","array_push","array_reduce","array_resize","array_reverse","array_reverse_ext","array_set","array_shuffle","array_shuffle_ext","array_sort","array_union","array_unique","array_unique_ext","asset_add_tags","asset_clear_tags","asset_get_ids","asset_get_index","asset_get_tags","asset_get_type","asset_has_any_tag","asset_has_tags","asset_remove_tags","audio_bus_clear_emitters","audio_bus_create","audio_bus_get_emitters","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_effect_create","audio_emitter_bus","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_bus","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_get_assets","audio_group_get_gain","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_pause_all","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_sound","audio_play_sound_at","audio_play_sound_ext","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_audio_group","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_loop","audio_sound_get_loop_end","audio_sound_get_loop_start","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_is_playable","audio_sound_length","audio_sound_loop","audio_sound_loop_end","audio_sound_loop_start","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_paused","audio_sync_group_is_playing","audio_system_is_available","audio_system_is_initialised","base64_decode","base64_encode","bool","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_compress","buffer_copy","buffer_copy_from_vertex_buffer","buffer_copy_stride","buffer_crc32","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_decompress","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_set_used_size","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","call_cancel","call_later","camera_apply","camera_copy_transforms","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","db_to_lin","dbg_add_font_glyphs","dbg_button","dbg_checkbox","dbg_color","dbg_colour","dbg_drop_down","dbg_same_line","dbg_section","dbg_section_delete","dbg_section_exists","dbg_slider","dbg_slider_int","dbg_sprite","dbg_text","dbg_text_input","dbg_view","dbg_view_delete","dbg_view_exists","dbg_watch","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_frequency","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_drawevent","draw_enable_skeleton_blendmodes","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_enable_skeleton_blendmodes","draw_get_font","draw_get_halign","draw_get_lighting","draw_get_swf_aa_level","draw_get_valign","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_circle_precision","draw_set_color","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_to_mp_grid","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_is_list","ds_list_is_map","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_is_list","ds_map_is_map","ds_map_keys_to_array","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_values_to_array","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","effect_create_depth","effect_create_layer","environment_get_variable","event_inherited","event_perform","event_perform_async","event_perform_object","event_user","exception_unhandled_handler","exp","extension_exists","extension_get_option_count","extension_get_option_names","extension_get_option_value","extension_get_options","extension_get_version","external_call","external_define","external_free","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_cache_glyph","font_delete","font_enable_effects","font_enable_sdf","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_info","font_get_italic","font_get_last","font_get_name","font_get_sdf_enabled","font_get_sdf_spread","font_get_size","font_get_texture","font_get_uvs","font_replace_sprite","font_replace_sprite_ext","font_sdf_spread","font_set_cache_size","frac","fx_create","fx_get_name","fx_get_parameter","fx_get_parameter_names","fx_get_parameters","fx_get_single_layer","fx_set_parameter","fx_set_parameters","fx_set_single_layer","game_change","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_get_guid","gamepad_get_mapping","gamepad_get_option","gamepad_hat_count","gamepad_hat_value","gamepad_is_connected","gamepad_is_supported","gamepad_remove_mapping","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_option","gamepad_set_vibration","gamepad_test_mapping","gc_collect","gc_enable","gc_get_stats","gc_get_target_frame_time","gc_is_enabled","gc_target_frame_time","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gif_add_surface","gif_open","gif_save","gif_save_buffer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_depth","gpu_get_fog","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_depth","gpu_set_fog","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","handle_parse","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_get_request_crossorigin","http_post_string","http_request","http_set_request_crossorigin","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","instanceof","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_callable","is_debug_overlay_open","is_handle","is_infinity","is_instanceof","is_int32","is_int64","is_keyboard_used_debug_overlay","is_method","is_mouse_over_debug_overlay","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","json_decode","json_encode","json_parse","json_stringify","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_clear_fx","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_enable_fx","layer_exists","layer_force_draw_depth","layer_fx_is_enabled","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_fx","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_sequence_angle","layer_sequence_create","layer_sequence_destroy","layer_sequence_exists","layer_sequence_get_angle","layer_sequence_get_headdir","layer_sequence_get_headpos","layer_sequence_get_instance","layer_sequence_get_length","layer_sequence_get_sequence","layer_sequence_get_speedscale","layer_sequence_get_x","layer_sequence_get_xscale","layer_sequence_get_y","layer_sequence_get_yscale","layer_sequence_headdir","layer_sequence_headpos","layer_sequence_is_finished","layer_sequence_is_paused","layer_sequence_pause","layer_sequence_play","layer_sequence_speedscale","layer_sequence_x","layer_sequence_xscale","layer_sequence_y","layer_sequence_yscale","layer_set_fx","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","lin_to_db","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","method","method_call","method_get_index","method_get_self","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_and_collide","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","nameof","network_connect","network_connect_async","network_connect_raw","network_connect_raw_async","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_check_permission","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","os_request_permission","os_set_orientation_lock","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_delay","part_emitter_destroy","part_emitter_destroy_all","part_emitter_enable","part_emitter_exists","part_emitter_interval","part_emitter_region","part_emitter_relative","part_emitter_stream","part_particles_burst","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_angle","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_color","part_system_colour","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_info","part_system_get_layer","part_system_global_space","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_size_x","part_type_size_y","part_type_speed","part_type_sprite","part_type_step","part_type_subimage","particle_exists","particle_get_info","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","ref_create","rollback_chat","rollback_create_game","rollback_define_extra_network_latency","rollback_define_input","rollback_define_input_frame_delay","rollback_define_mock_input","rollback_define_player","rollback_display_events","rollback_get_info","rollback_get_input","rollback_get_player_prefs","rollback_join_game","rollback_leave_game","rollback_set_player_prefs","rollback_start_game","rollback_sync_on_frame","rollback_use_late_join","rollback_use_manual_start","rollback_use_player_prefs","rollback_use_random_input","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_info","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_camera","room_set_height","room_set_persistent","room_set_view_enabled","room_set_viewport","room_set_width","round","scheduler_resolution_get","scheduler_resolution_set","screen_save","screen_save_part","script_execute","script_execute_ext","script_exists","script_get_name","sequence_create","sequence_destroy","sequence_exists","sequence_get","sequence_get_objects","sequence_instance_override_object","sequence_keyframe_new","sequence_keyframedata_new","sequence_track_new","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_f_buffer","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_message_ext","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_event_frames","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_get_position","skeleton_animation_is_finished","skeleton_animation_is_looping","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_animation_set_position","skeleton_attachment_create","skeleton_attachment_create_color","skeleton_attachment_create_colour","skeleton_attachment_destroy","skeleton_attachment_exists","skeleton_attachment_get","skeleton_attachment_replace","skeleton_attachment_replace_color","skeleton_attachment_replace_colour","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_list","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_find_slot","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_create","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_alpha_get","skeleton_slot_color_get","skeleton_slot_color_set","skeleton_slot_colour_get","skeleton_slot_colour_set","skeleton_slot_data","skeleton_slot_data_instance","skeleton_slot_list","sprite_add","sprite_add_ext","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_mode","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_info","sprite_get_name","sprite_get_nineslice","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_nineslice_create","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_bbox","sprite_set_bbox_mode","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_nineslice","sprite_set_offset","sprite_set_speed","sqr","sqrt","static_get","static_set","string","string_byte_at","string_byte_length","string_char_at","string_concat","string_concat_ext","string_copy","string_count","string_delete","string_digits","string_ends_with","string_ext","string_foreach","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_join","string_join_ext","string_last_pos","string_last_pos_ext","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_pos_ext","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_split","string_split_ext","string_starts_with","string_trim","string_trim_end","string_trim_start","string_upper","string_width","string_width_ext","struct_exists","struct_foreach","struct_get","struct_get_from_hash","struct_get_names","struct_names_count","struct_remove","struct_set","struct_set_from_hash","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_format_is_supported","surface_free","surface_get_depth_disable","surface_get_format","surface_get_height","surface_get_target","surface_get_target_ext","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tag_get_asset_ids","tag_get_assets","tan","texture_debug_messages","texture_flush","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_is_ready","texture_prefetch","texture_set_stage","texturegroup_get_fonts","texturegroup_get_names","texturegroup_get_sprites","texturegroup_get_status","texturegroup_get_textures","texturegroup_get_tilesets","texturegroup_load","texturegroup_set_mode","texturegroup_unload","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_height","tilemap_set_mask","tilemap_set_width","tilemap_tileset","tilemap_x","tilemap_y","tileset_get_info","tileset_get_name","tileset_get_texture","tileset_get_uvs","time_bpm_to_seconds","time_seconds_to_bpm","time_source_create","time_source_destroy","time_source_exists","time_source_get_children","time_source_get_parent","time_source_get_period","time_source_get_reps_completed","time_source_get_reps_remaining","time_source_get_state","time_source_get_time_remaining","time_source_get_units","time_source_pause","time_source_reconfigure","time_source_reset","time_source_resume","time_source_start","time_source_stop","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","uwp_device_touchscreen_available","uwp_livetile_badge_clear","uwp_livetile_badge_notification","uwp_livetile_notification_begin","uwp_livetile_notification_end","uwp_livetile_notification_expiry","uwp_livetile_notification_image_add","uwp_livetile_notification_secondary_begin","uwp_livetile_notification_tag","uwp_livetile_notification_template_add","uwp_livetile_notification_text_add","uwp_livetile_queue_enable","uwp_livetile_tile_clear","uwp_secondarytile_badge_clear","uwp_secondarytile_badge_notification","uwp_secondarytile_delete","uwp_secondarytile_pin","uwp_secondarytile_tile_clear","variable_clone","variable_get_hash","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_names_count","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_format_get_info","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_submit_ext","vertex_texcoord","vertex_ubyte4","vertex_update_buffer_from_buffer","vertex_update_buffer_from_vertex","video_close","video_draw","video_enable_loop","video_get_duration","video_get_format","video_get_position","video_get_status","video_get_volume","video_is_looping","video_open","video_pause","video_resume","video_seek_to","video_set_volume","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","wallpaper_set_config","wallpaper_set_subscriptions","weak_ref_alive","weak_ref_any_alive","weak_ref_create","window_center","window_device","window_enable_borderless_fullscreen","window_get_borderless_fullscreen","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_showborder","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_delta_x","window_mouse_get_delta_y","window_mouse_get_locked","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_mouse_set_locked","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_showborder","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_tile_background_color","winphone_tile_background_colour","zip_add_file","zip_create","zip_save","zip_unzip","zip_unzip_async"],symbol:["AudioEffect","AudioEffectType","AudioLFOType","GM_build_date","GM_build_type","GM_is_sandboxed","GM_project_filename","GM_runtime_version","GM_version","NaN","_GMFILE_","_GMFUNCTION_","_GMLINE_","alignmentH","alignmentV","all","animcurvetype_bezier","animcurvetype_catmullrom","animcurvetype_linear","asset_animationcurve","asset_font","asset_object","asset_path","asset_room","asset_script","asset_sequence","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3D","audio_bus_main","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_exponent_distance_scaled","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_inverse_distance_scaled","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_stereo","bboxkind_diamond","bboxkind_ellipse","bboxkind_precise","bboxkind_rectangular","bboxmode_automatic","bboxmode_fullimage","bboxmode_manual","bm_add","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_grow","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","c_aqua","c_black","c_blue","c_dkgray","c_dkgrey","c_fuchsia","c_gray","c_green","c_grey","c_lime","c_ltgray","c_ltgrey","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cache_directory","characterSpacing","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","coreColor","coreColour","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","dropShadowEnabled","dropShadowEnabled","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","effectsEnabled","effectsEnabled","ev_alarm","ev_animation_end","ev_animation_event","ev_animation_update","ev_async_audio_playback","ev_async_audio_playback_ended","ev_async_audio_recording","ev_async_dialog","ev_async_push_notification","ev_async_save_load","ev_async_save_load","ev_async_social","ev_async_system_event","ev_async_web","ev_async_web_cloud","ev_async_web_iap","ev_async_web_image_load","ev_async_web_networking","ev_async_web_steam","ev_audio_playback","ev_audio_playback_ended","ev_audio_recording","ev_boundary","ev_boundary_view0","ev_boundary_view1","ev_boundary_view2","ev_boundary_view3","ev_boundary_view4","ev_boundary_view5","ev_boundary_view6","ev_boundary_view7","ev_broadcast_message","ev_cleanup","ev_collision","ev_create","ev_destroy","ev_dialog_async","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_normal","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_outside_view0","ev_outside_view1","ev_outside_view2","ev_outside_view3","ev_outside_view4","ev_outside_view5","ev_outside_view6","ev_outside_view7","ev_pre_create","ev_push_notification","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_social","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_system_event","ev_trigger","ev_user0","ev_user1","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_web_async","ev_web_cloud","ev_web_iap","ev_web_image_load","ev_web_networking","ev_web_sound_load","ev_web_steam","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_none","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","false","frameSizeX","frameSizeY","gamespeed_fps","gamespeed_microseconds","global","glowColor","glowColour","glowEnabled","glowEnabled","glowEnd","glowStart","gp_axis_acceleration_x","gp_axis_acceleration_y","gp_axis_acceleration_z","gp_axis_angular_velocity_x","gp_axis_angular_velocity_y","gp_axis_angular_velocity_z","gp_axis_orientation_w","gp_axis_orientation_x","gp_axis_orientation_y","gp_axis_orientation_z","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","infinity","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sequence","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","lineSpacing","m_axisx","m_axisx_gui","m_axisy","m_axisy_gui","m_scroll_down","m_scroll_up","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mb_side1","mb_side2","mip_markedonly","mip_off","mip_on","network_config_avoid_time_wait","network_config_connect_timeout","network_config_disable_multicast","network_config_disable_reliable_udp","network_config_enable_multicast","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_config_websocket_protocol","network_connect_active","network_connect_blocking","network_connect_nonblocking","network_connect_none","network_connect_passive","network_send_binary","network_send_text","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_socket_ws","network_socket_wss","network_type_connect","network_type_data","network_type_disconnect","network_type_down","network_type_non_blocking_connect","network_type_up","network_type_up_failed","nineslice_blank","nineslice_bottom","nineslice_center","nineslice_centre","nineslice_hide","nineslice_left","nineslice_mirror","nineslice_repeat","nineslice_right","nineslice_stretch","nineslice_top","noone","of_challenge_lose","of_challenge_tie","of_challenge_win","os_android","os_gdk","os_gxgames","os_ios","os_linux","os_macosx","os_operagx","os_permission_denied","os_permission_denied_dont_request","os_permission_granted","os_ps3","os_ps4","os_ps5","os_psvita","os_switch","os_tvos","os_unknown","os_uwp","os_win8native","os_windows","os_winphone","os_xboxone","os_xboxseriesxs","other","outlineColor","outlineColour","outlineDist","outlineEnabled","outlineEnabled","paragraphSpacing","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pointer_invalid","pointer_null","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_mode_burst","ps_mode_stream","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","rollback_chat_message","rollback_connect_error","rollback_connect_info","rollback_connected_to_peer","rollback_connection_rejected","rollback_disconnected_from_peer","rollback_end_game","rollback_game_full","rollback_game_info","rollback_game_interrupted","rollback_game_resumed","rollback_high_latency","rollback_player_prefs","rollback_protocol_rejected","rollback_synchronized_with_peer","rollback_synchronizing_with_peer","self","seqaudiokey_loop","seqaudiokey_oneshot","seqdir_left","seqdir_right","seqinterpolation_assign","seqinterpolation_lerp","seqplay_loop","seqplay_oneshot","seqplay_pingpong","seqtextkey_bottom","seqtextkey_center","seqtextkey_justify","seqtextkey_left","seqtextkey_middle","seqtextkey_right","seqtextkey_top","seqtracktype_audio","seqtracktype_bool","seqtracktype_clipmask","seqtracktype_clipmask_mask","seqtracktype_clipmask_subject","seqtracktype_color","seqtracktype_colour","seqtracktype_empty","seqtracktype_graphic","seqtracktype_group","seqtracktype_instance","seqtracktype_message","seqtracktype_moment","seqtracktype_particlesystem","seqtracktype_real","seqtracktype_sequence","seqtracktype_spriteframes","seqtracktype_string","seqtracktype_text","shadowColor","shadowColour","shadowOffsetX","shadowOffsetY","shadowSoftness","sprite_add_ext_error_cancelled","sprite_add_ext_error_decompressfailed","sprite_add_ext_error_loadfailed","sprite_add_ext_error_setupfailed","sprite_add_ext_error_spritenotfound","sprite_add_ext_error_unknown","spritespeed_framespergameframe","spritespeed_framespersecond","surface_r16float","surface_r32float","surface_r8unorm","surface_rg8unorm","surface_rgba16float","surface_rgba32float","surface_rgba4unorm","surface_rgba8unorm","texturegroup_status_fetched","texturegroup_status_loaded","texturegroup_status_loading","texturegroup_status_unloaded","tf_anisotropic","tf_linear","tf_point","thickness","tile_flip","tile_index_mask","tile_mirror","tile_rotate","time_source_expire_after","time_source_expire_nearest","time_source_game","time_source_global","time_source_state_active","time_source_state_initial","time_source_state_paused","time_source_state_stopped","time_source_units_frames","time_source_units_seconds","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","tm_systemtiming","true","ty_real","ty_string","undefined","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","video_format_rgba","video_format_yuv","video_status_closed","video_status_paused","video_status_playing","video_status_preparing","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f10","vk_f11","vk_f12","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up","wallpaper_config","wallpaper_subscription_data","wrap"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","colour?ColourTrack","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","drawn_by_sequence","event_action","event_data","event_number","event_object","event_type","font_texture_page_size","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gravity","gravity_direction","health","hspeed","iap_data","id","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","in_collision_tree","in_sequence","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","longMessage","managed","mask_index","message","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","player_avatar_sprite","player_avatar_url","player_id","player_local","player_type","player_user_id","program_directory","rollback_api_server","rollback_confirmed_frame","rollback_current_frame","rollback_event_id","rollback_event_param","rollback_game_running","room","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","script","sequence_instance","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","stacktrace","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_camera","view_current","view_enabled","view_hport","view_surface_id","view_visible","view_wport","view_xport","view_yport","visible","vspeed","webgl_enabled","working_directory","x","xprevious","xstart","y","yprevious","ystart"]},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}return $t=n,$t}var Qt,Zi;function H_(){if(Zi)return Qt;Zi=1;function n(e){const s={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:s,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return en=n,en}var tn,ao;function Q_(){if(ao)return tn;ao=1;function n(e){const t=e.regex,a={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},r={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},i=/""|"[^"]+"/,s=/''|'[^']+'/,o=/\[\]|\[[^\]]+\]/,l=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,_=/(\.|\/)/,c=t.either(i,s,o,l),d=t.concat(t.optional(/\.|\.\/|\//),c,t.anyNumberOfTimes(t.concat(_,c))),p=t.concat("(",o,"|",l,")(?==)"),E={begin:d},m=e.inherit(E,{keywords:r}),S={begin:/\(/,end:/\)/},g={className:"attr",begin:p,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,m,S]}}},b={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},R={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,b,g,m,S],returnEnd:!0},f=e.inherit(E,{className:"name",keywords:a,starts:e.inherit(R,{end:/\)/})});S.contains=[f];const A=e.inherit(E,{keywords:a,className:"name",starts:e.inherit(R,{end:/\}\}/})}),I=e.inherit(E,{keywords:a,className:"name"}),C=e.inherit(E,{className:"name",keywords:a,starts:e.inherit(R,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[A],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[I]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[A]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[I]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[C]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[C]}]}}return tn=n,tn}var nn,ro;function X_(){if(ro)return nn;ro=1;function n(e){const t="([0-9]_*)+",a="([0-9a-fA-F]_*)+",r="([01]_*)+",i="([0-7]_*)+",_="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",c={variants:[e.COMMENT("--+","$"),e.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},d={className:"meta",begin:/\{-#/,end:/#-\}/},p={className:"meta",begin:"^#",end:"$"},E={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},m={begin:"\\(",end:"\\)",illegal:'"',contains:[d,p,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"}),c]},S={begin:/\{/,end:/\}/,contains:m.contains},g={className:"number",relevance:0,variants:[{match:`\\b(${t})(\\.(${t}))?([eE][+-]?(${t}))?\\b`},{match:`\\b0[xX]_*(${a})(\\.(${a}))?([pP][+-]?(${t}))?\\b`},{match:`\\b0[oO](${i})\\b`},{match:`\\b0[bB](${r})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[m,c],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[m,c],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[E,m,c]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[d,E,m,S,c]},{beginKeywords:"default",end:"$",contains:[E,m,c]},{beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE,c]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[E,e.QUOTE_STRING_MODE,c]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},d,p,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},e.QUOTE_STRING_MODE,g,E,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${_}--+|--+(?!-)${_}`},c,{begin:"->|<-"}]}}return nn=n,nn}var an,io;function Z_(){if(io)return an;io=1;function n(e){const t="[a-zA-Z_$][a-zA-Z0-9_$]*",a=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",begin:a,relevance:0},{className:"variable",begin:"\\$"+t},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",beginKeywords:"new",end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[e.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+e.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},e.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:e.IDENT_RE,relevance:0}]},e.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[e.TITLE_MODE]}],illegal:/<\//}}return an=n,an}var rn,oo;function J_(){if(oo)return rn;oo=1;function n(e){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[e.BACKSLASH_ESCAPE]},e.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),e.NUMBER_MODE,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},e.NUMBER_MODE,e.C_NUMBER_MODE]}}return rn=n,rn}var on,so;function j_(){if(so)return on;so=1;function n(e){const t=e.regex,a="HTTP/([32]|1\\.[01])",r=/[A-Za-z][A-Za-z0-9-]*/,i={className:"attribute",begin:t.concat("^",r,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},s=[i,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+a+" \\d{3})",end:/$/,contains:[{className:"meta",begin:a},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},{begin:"(?=^[A-Z]+ (.*?) "+a+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:a},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:s}},e.inherit(i,{relevance:0})]}}return on=n,on}var sn,lo;function ed(){if(lo)return sn;lo=1;function n(e){const t="a-zA-Z_\\-!.?+*=<>&#'",a="["+t+"]["+t+"0-9/;:]*",r={$pattern:a,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},i="[-+]?\\d+(\\.\\d+)?",s={begin:a,relevance:0},o={className:"number",begin:i,relevance:0},l=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),_=e.COMMENT(";","$",{relevance:0}),c={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},d={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},p={className:"comment",begin:"\\^"+a},E=e.COMMENT("\\^\\{","\\}"),m={className:"symbol",begin:"[:]{1,2}"+a},S={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0},b={className:"name",relevance:0,keywords:r,begin:a,starts:g},R=[S,l,p,E,_,m,d,o,c,s];return S.contains=[e.COMMENT("comment",""),b,g],g.contains=R,d.contains=R,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[e.SHEBANG(),S,l,p,E,_,m,d,o,c]}}return sn=n,sn}var ln,co;function td(){if(co)return ln;co=1;function n(e){const t="\\[",a="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:t,end:a}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:t,end:a,contains:["self"]}]}}return ln=n,ln}var cn,_o;function nd(){if(_o)return cn;_o=1;function n(e){const t=e.regex,a={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const i={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},s={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},l={begin:/\[/,end:/\]/,contains:[r,s,i,o,a,"self"],relevance:0},_=/[A-Za-z0-9_-]+/,c=/"(\\"|[^"])*"/,d=/'[^']*'/,p=t.either(_,c,d),E=t.concat(p,"(\\s*\\.\\s*",p,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[r,{className:"section",begin:/\[+/,end:/\]+/},{begin:E,className:"attr",starts:{end:/$/,contains:[r,l,s,i,o,a]}}]}}return cn=n,cn}var _n,uo;function ad(){if(uo)return _n;uo=1;function n(e){const t=e.regex,a={className:"params",begin:"\\(",end:"\\)"},r=/(_[a-z_\d]+)?/,i=/([de][+-]?\d+)?/,s={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,i,r)},{begin:t.concat(/\b\d+/,i,r)},{begin:t.concat(/\.\d+/,i,r)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,a]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),s]}}return _n=n,_n}var dn,po;function rd(){if(po)return dn;po=1;function n(e){const t="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",a="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",r="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",H="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE "+"CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE "+"ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME "+"DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY "+"ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION "+"JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY "+"ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE "+"smHidden smMaximized smMinimized smNormal wmNo wmYes "+"COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND "+"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE "+"MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY "+"NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY "+"dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT "+"CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM "+"ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME "+"PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE "+"ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE "+"CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT "+"STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER "+"COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE "+"SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID "+"RESULT_VAR_NAME RESULT_VAR_NAME_ENG "+"AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID "+"SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY "+"SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY "+"SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS "+"SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS "+"SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS "+"ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME "+"TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME "+"ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk "+"EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE "+"cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate "+"ISBL_SYNTAX NO_SYNTAX XML_SYNTAX "+"WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY "+"SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",Ol="atUser atGroup atRole "+"aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty "+"apBegin apEnd "+"alLeft alRight "+"asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways "+"cirCommon cirRevoked "+"ctSignature ctEncode ctSignatureEncode "+"clbUnchecked clbChecked clbGrayed "+"ceISB ceAlways ceNever "+"ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob "+"cfInternal cfDisplay "+"ciUnspecified ciWrite ciRead "+"ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog "+"ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton "+"cctDate cctInteger cctNumeric cctPick cctReference cctString cctText "+"cltInternal cltPrimary cltGUI "+"dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange "+"dssEdit dssInsert dssBrowse dssInActive "+"dftDate dftShortDate dftDateTime dftTimeStamp "+"dotDays dotHours dotMinutes dotSeconds "+"dtkndLocal dtkndUTC "+"arNone arView arEdit arFull "+"ddaView ddaEdit "+"emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode "+"ecotFile ecotProcess "+"eaGet eaCopy eaCreate eaCreateStandardRoute "+"edltAll edltNothing edltQuery "+"essmText essmCard "+"esvtLast esvtLastActive esvtSpecified "+"edsfExecutive edsfArchive "+"edstSQLServer edstFile "+"edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile "+"vsDefault vsDesign vsActive vsObsolete "+"etNone etCertificate etPassword etCertificatePassword "+"ecException ecWarning ecInformation "+"estAll estApprovingOnly "+"evtLast evtLastActive evtQuery "+"fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger "+"ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch "+"grhAuto grhX1 grhX2 grhX3 "+"hltText hltRTF hltHTML "+"iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG "+"im8bGrayscale im24bRGB im1bMonochrome "+"itBMP itJPEG itWMF itPNG "+"ikhInformation ikhWarning ikhError ikhNoIcon "+"icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler "+"isShow isHide isByUserSettings "+"jkJob jkNotice jkControlJob "+"jtInner jtLeft jtRight jtFull jtCross "+"lbpAbove lbpBelow lbpLeft lbpRight "+"eltPerConnection eltPerUser "+"sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac "+"sfsItalic sfsStrikeout sfsNormal "+"ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents "+"mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom "+"vtEqual vtGreaterOrEqual vtLessOrEqual vtRange "+"rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth "+"rdWindow rdFile rdPrinter "+"rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument "+"reOnChange reOnChangeValues "+"ttGlobal ttLocal ttUser ttSystem "+"ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal "+"smSelect smLike smCard "+"stNone stAuthenticating stApproving "+"sctString sctStream "+"sstAnsiSort sstNaturalSort "+"svtEqual svtContain "+"soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown "+"tarAbortByUser tarAbortByWorkflowException "+"tvtAllWords tvtExactPhrase tvtAnyWord "+"usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp "+"utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected "+"btAnd btDetailAnd btOr btNotOr btOnly "+"vmView vmSelect vmNavigation "+"vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection "+"wfatPrevious wfatNext wfatCancel wfatFinish "+"wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 "+"wfetQueryParameter wfetText wfetDelimiter wfetLabel "+"wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate "+"wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal "+"wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal "+"waAll waPerformers waManual "+"wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause "+"wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection "+"wiLow wiNormal wiHigh "+"wrtSoft wrtHard "+"wsInit wsRunning wsDone wsControlled wsAborted wsContinued "+"wtmFull wtmFromCurrent wtmOnlyCurrent ",Il="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",Al="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",vl="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",yl=H+Ol,hl=Al,Dl="null true false nil ",fr={className:"number",begin:e.NUMBER_RE,relevance:0},Cr={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},Nr={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},Ml={className:"comment",begin:"//",end:"$",relevance:0,contains:[e.PHRASAL_WORDS_MODE,Nr]},Ll={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[e.PHRASAL_WORDS_MODE,Nr]},Or={variants:[Ml,Ll]},ve={$pattern:t,keyword:r,built_in:yl,class:hl,literal:Dl},Me={begin:"\\.\\s*"+e.UNDERSCORE_IDENT_RE,keywords:ve,relevance:0},Ir={className:"type",begin:":[ \\t]*("+vl.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},Ar={className:"variable",keywords:ve,begin:t,relevance:0,contains:[Ir,Me]},vr=a+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:ve,illegal:"\\$|\\?|%|,|;$|~|#|@|r(s,o,l-1))}function i(s){const o=s.regex,l="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",_=l+r("(?:<"+l+"~~~(?:\\s*,\\s*"+l+"~~~)*>)?",/~~~/g,2),m={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},S={className:"meta",begin:"@"+l,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},g={className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[s.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:m,illegal:/<\/|#/,contains:[s.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[s.BACKSLASH_ESCAPE]},s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,l],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[o.concat(/(?!else)/,l),/\s+/,l,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,l],className:{1:"keyword",3:"title.class"},contains:[g,s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+_+"\\s+)",s.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:m,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:m,relevance:0,contains:[S,s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,a,s.C_BLOCK_COMMENT_MODE]},s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE]},a,S]}}return un=i,un}var pn,Eo;function od(){if(Eo)return pn;Eo=1;const n="[A-Za-z$_][0-9A-Za-z$_]*",e=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],t=["true","false","null","undefined","NaN","Infinity"],a=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],r=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],s=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],o=[].concat(i,a,r);function l(_){const c=_.regex,d=(V,{after:G})=>{const K="",end:""},m=/<[A-Za-z0-9\\._:-]+\s*\/>/,S={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(V,G)=>{const K=V[0].length+V.index,j=V.input[K];if(j==="<"||j===","){G.ignoreMatch();return}j===">"&&(d(V,{after:K})||G.ignoreMatch());let ee;const re=V.input.substring(K);if(ee=re.match(/^\s*=/)){G.ignoreMatch();return}if((ee=re.match(/^\s+extends\s+/))&&ee.index===0){G.ignoreMatch();return}}},g={$pattern:n,keyword:e,literal:t,built_in:o,"variable.language":s},b="[0-9](_?[0-9])*",R=`\\.(${b})`,f="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",A={className:"number",variants:[{begin:`(\\b(${f})((${R})|\\.)?|(${R}))[eE][+-]?(${b})\\b`},{begin:`\\b(${f})\\b((${R})\\b|\\.)?|(${R})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},I={className:"subst",begin:"\\$\\{",end:"\\}",keywords:g,contains:[]},C={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[_.BACKSLASH_ESCAPE,I],subLanguage:"xml"}},h={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[_.BACKSLASH_ESCAPE,I],subLanguage:"css"}},v={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[_.BACKSLASH_ESCAPE,I],subLanguage:"graphql"}},L={className:"string",begin:"`",end:"`",contains:[_.BACKSLASH_ESCAPE,I]},D={className:"comment",variants:[_.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:p+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),_.C_BLOCK_COMMENT_MODE,_.C_LINE_COMMENT_MODE]},F=[_.APOS_STRING_MODE,_.QUOTE_STRING_MODE,C,h,v,L,{match:/\$\d+/},A];I.contains=F.concat({begin:/\{/,end:/\}/,keywords:g,contains:["self"].concat(F)});const $=[].concat(D,I.contains),X=$.concat([{begin:/(\s*)\(/,end:/\)/,keywords:g,contains:["self"].concat($)}]),q={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:X},T={variants:[{match:[/class/,/\s+/,p,/\s+/,/extends/,/\s+/,c.concat(p,"(",c.concat(/\./,p),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,p],scope:{1:"keyword",3:"title.class"}}]},O={relevance:0,match:c.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...a,...r]}},M={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},w={variants:[{match:[/function/,/\s+/,p,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[q],illegal:/%/},B={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Q(V){return c.concat("(?!",V.join("|"),")")}const ne={match:c.concat(/\b/,Q([...i,"super","import"].map(V=>`${V}\\s*\\(`)),p,c.lookahead(/\s*\(/)),className:"title.function",relevance:0},ae={begin:c.concat(/\./,c.lookahead(c.concat(p,/(?![0-9A-Za-z$_(])/))),end:p,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},z={match:[/get|set/,/\s+/,p,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},q]},H="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+_.UNDERSCORE_IDENT_RE+")\\s*=>",J={match:[/const|var|let/,/\s+/,p,/\s*/,/=\s*/,/(async\s*)?/,c.lookahead(H)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[q]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:g,exports:{PARAMS_CONTAINS:X,CLASS_REFERENCE:O},illegal:/#(?![$_A-z])/,contains:[_.SHEBANG({label:"shebang",binary:"node",relevance:5}),M,_.APOS_STRING_MODE,_.QUOTE_STRING_MODE,C,h,v,L,D,{match:/\$\d+/},A,O,{scope:"attr",match:p+c.lookahead(":"),relevance:0},J,{begin:"("+_.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[D,_.REGEXP_MODE,{className:"function",begin:H,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:_.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:g,contains:X}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:E.begin,end:E.end},{match:m},{begin:S.begin,"on:begin":S.isTrulyOpeningTag,end:S.end}],subLanguage:"xml",contains:[{begin:S.begin,end:S.end,skip:!0,contains:["self"]}]}]},w,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+_.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[q,_.inherit(_.TITLE_MODE,{begin:p,className:"title.function"})]},{match:/\.\.\./,relevance:0},ae,{match:"\\$"+p,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[q]},ne,B,T,z,{match:/\$[(.]/}]}}return pn=l,pn}var mn,go;function sd(){if(go)return mn;go=1;function n(e){const a={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},r={className:"function",begin:/:[\w\-.]+/,relevance:0},i={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},s={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,s,r,i,a]}}return mn=n,mn}var En,So;function ld(){if(So)return En;So=1;function n(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},a={match:/[{}[\],:]/,className:"punctuation",relevance:0},r=["true","false","null"],i={scope:"literal",beginKeywords:r.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:r},contains:[t,a,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return En=n,En}var gn,To;function cd(){if(To)return gn;To=1;function n(e){const t="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",s={$pattern:t,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},o={keywords:s,illegal:/<\//},l={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},_={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},c={className:"subst",begin:/\$\(/,end:/\)/,keywords:s},d={className:"variable",begin:"\\$"+t},p={className:"string",contains:[e.BACKSLASH_ESCAPE,c,d],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},E={className:"string",contains:[e.BACKSLASH_ESCAPE,c,d],begin:"`",end:"`"},m={className:"meta",begin:"@"+t},S={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return o.name="Julia",o.contains=[l,_,p,E,m,S,e.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],c.contains=o.contains,o}return gn=n,gn}var Sn,bo;function _d(){if(bo)return Sn;bo=1;function n(e){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return Sn=n,Sn}var Tn,Ro;function dd(){if(Ro)return Tn;Ro=1;var n="[0-9](_*[0-9])*",e=`\\.(${n})`,t="[0-9a-fA-F](_*[0-9a-fA-F])*",a={className:"number",variants:[{begin:`(\\b(${n})((${e})|\\.)?|(${e}))[eE][+-]?(${n})[fFdD]?\\b`},{begin:`\\b(${n})((${e})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e})[fFdD]?\\b`},{begin:`\\b(${n})[fFdD]\\b`},{begin:`\\b0[xX]((${t})\\.?|(${t})?\\.(${t}))[pP][+-]?(${n})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${t})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function r(i){const s={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},o={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},l={className:"symbol",begin:i.UNDERSCORE_IDENT_RE+"@"},_={className:"subst",begin:/\$\{/,end:/\}/,contains:[i.C_NUMBER_MODE]},c={className:"variable",begin:"\\$"+i.UNDERSCORE_IDENT_RE},d={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[c,_]},{begin:"'",end:"'",illegal:/\n/,contains:[i.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[i.BACKSLASH_ESCAPE,c,_]}]};_.contains.push(d);const p={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+i.UNDERSCORE_IDENT_RE+")?"},E={className:"meta",begin:"@"+i.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[i.inherit(d,{className:"string"}),"self"]}]},m=a,S=i.COMMENT("/\\*","\\*/",{contains:[i.C_BLOCK_COMMENT_MODE]}),g={variants:[{className:"type",begin:i.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},b=g;return b.variants[1].contains=[g],g.variants[1].contains=[b],{name:"Kotlin",aliases:["kt","kts"],keywords:s,contains:[i.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),i.C_LINE_COMMENT_MODE,S,o,l,p,E,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:s,relevance:5,contains:[{begin:i.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[i.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:s,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[g,i.C_LINE_COMMENT_MODE,S],relevance:0},i.C_LINE_COMMENT_MODE,S,p,E,d,i.C_NUMBER_MODE]},S]},{begin:[/class|interface|trait/,/\s+/,i.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},i.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},p,E]},d,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` `},m]}}return Tn=r,Tn}var bn,fo;function ud(){if(fo)return bn;fo=1;function n(e){const t="[a-zA-Z_][\\w.]*",a="<\\?(lasso(script)?|=)",r="\\]|\\?>",i={$pattern:t+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},s=e.COMMENT("",{relevance:0}),o={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[s]}},l={className:"meta",begin:"\\[/noprocess|"+a},_={className:"symbol",begin:"'"+t+"'"},c=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:t,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+t,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[_]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:t+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[|"+a,returnEnd:!0,relevance:0,contains:[s]}},o,l,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:i,contains:[{className:"meta",begin:r,relevance:0,starts:{end:"\\[noprocess\\]|"+a,returnEnd:!0,contains:[s]}},o,l].concat(c)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(c)}}return bn=n,bn}var Rn,Co;function pd(){if(Co)return Rn;Co=1;function n(e){const a=e.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(D=>D+"(?![a-zA-Z@:_])")),r=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(D=>D+"(?![a-zA-Z:_])").join("|")),i=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],s=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],o={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:a},{endsParent:!0,begin:r},{endsParent:!0,variants:s},{endsParent:!0,relevance:0,variants:i}]},l={className:"params",relevance:0,begin:/#+\d?/},_={variants:s},c={className:"built_in",relevance:0,begin:/[$&^_]/},d={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},p=e.COMMENT("%","$",{relevance:0}),E=[o,l,_,c,d,p],m={begin:/\{/,end:/\}/,relevance:0,contains:["self",...E]},S=e.inherit(m,{relevance:0,endsParent:!0,contains:[m,...E]}),g={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[m,...E]},b={begin:/\s+/,relevance:0},R=[S],f=[g],A=function(D,F){return{contains:[b],starts:{relevance:0,contains:D,starts:F}}},I=function(D,F){return{begin:"\\\\"+D+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+D},relevance:0,contains:[b],starts:F}},C=function(D,F){return e.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+D+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},A(R,F))},h=(D="string")=>e.END_SAME_AS_BEGIN({className:D,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),v=function(D){return{className:"string",end:"(?=\\\\end\\{"+D+"\\})"}},L=(D="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:D,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),k=[...["verb","lstinline"].map(D=>I(D,{contains:[h()]})),I("mint",A(R,{contains:[h()]})),I("mintinline",A(R,{contains:[L(),h()]})),I("url",{contains:[L("link"),L("link")]}),I("hyperref",{contains:[L("link")]}),I("href",A(f,{contains:[L("link")]})),...[].concat(...["","\\*"].map(D=>[C("verbatim"+D,v("verbatim"+D)),C("filecontents"+D,A(R,v("filecontents"+D))),...["","B","L"].map(F=>C(F+"Verbatim"+D,A(f,v(F+"Verbatim"+D))))])),C("minted",A(f,A(R,v("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...k,...E]}}return Rn=n,Rn}var fn,No;function md(){if(No)return fn;No=1;function n(e){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},e.HASH_COMMENT_MODE]}}return fn=n,fn}var Cn,Oo;function Ed(){if(Oo)return Cn;Oo=1;function n(e){const t=/([A-Za-z_][A-Za-z_0-9]*)?/,r={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},i={match:[t,/(?=\()/],scope:{1:"keyword"},contains:[r]};return r.contains.unshift(i),{name:"Leaf",contains:[{match:[/#+/,t,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[r]},{match:[/#+/,t,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return Cn=n,Cn}var Nn,Io;function gd(){if(Io)return Nn;Io=1;const n=c=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:c.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[c.APOS_STRING_MODE,c.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:c.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),e=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],t=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],a=[...e,...t],r=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),i=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),s=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),o=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),l=i.concat(s).sort().reverse();function _(c){const d=n(c),p=l,E="and or not only",m="[\\w-]+",S="("+m+"|@\\{"+m+"\\})",g=[],b=[],R=function($){return{className:"string",begin:"~?"+$+".*?"+$}},f=function($,X,q){return{className:$,begin:X,relevance:q}},A={$pattern:/[a-z-]+/,keyword:E,attribute:r.join(" ")},I={begin:"\\(",end:"\\)",contains:b,keywords:A,relevance:0};b.push(c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,R("'"),R('"'),d.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},d.HEXCOLOR,I,f("variable","@@?"+m,10),f("variable","@\\{"+m+"\\}"),f("built_in","~?`[^`]*?`"),{className:"attribute",begin:m+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},d.IMPORTANT,{beginKeywords:"and not"},d.FUNCTION_DISPATCH);const C=b.concat({begin:/\{/,end:/\}/,contains:g}),h={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(b)},v={begin:S+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},d.CSS_VARIABLE,{className:"attribute",begin:"\\b("+o.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:b}}]},L={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:A,returnEnd:!0,contains:b,relevance:0}},k={className:"variable",variants:[{begin:"@"+m+"\\s*:",relevance:15},{begin:"@"+m}],starts:{end:"[;}]",returnEnd:!0,contains:C}},D={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:S,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,h,f("keyword","all\\b"),f("variable","@\\{"+m+"\\}"),{begin:"\\b("+a.join("|")+")\\b",className:"selector-tag"},d.CSS_NUMBER_MODE,f("selector-tag",S,0),f("selector-id","#"+S),f("selector-class","\\."+S,0),f("selector-tag","&",0),d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+i.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+s.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:C},{begin:"!important"},d.FUNCTION_DISPATCH]},F={begin:m+`:(:)?(${p.join("|")})`,returnBegin:!0,contains:[D]};return g.push(c.C_LINE_COMMENT_MODE,c.C_BLOCK_COMMENT_MODE,L,k,F,v,D,h,d.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:g}}return Nn=_,Nn}var On,Ao;function Sd(){if(Ao)return On;Ao=1;function n(e){const t="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",a="\\|[^]*?\\|",r="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},s={className:"number",variants:[{begin:r,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+r+" +"+r,end:"\\)"}]},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),l=e.COMMENT(";","$",{relevance:0}),_={begin:"\\*",end:"\\*"},c={className:"symbol",begin:"[:&]"+t},d={begin:t,relevance:0},p={begin:a},m={contains:[s,o,_,c,{begin:"\\(",end:"\\)",contains:["self",i,o,s,d]},d],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+a}]},S={variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},g={begin:"\\(\\s*",end:"\\)"},b={endsWithParent:!0,relevance:0};return g.contains=[{className:"name",variants:[{begin:t,relevance:0},{begin:a}]},b],b.contains=[m,S,g,i,s,o,l,_,c,p,d],{name:"Lisp",illegal:/\S/,contains:[s,e.SHEBANG(),i,o,l,m,S,g,d]}}return On=n,On}var In,vo;function Td(){if(vo)return In;vo=1;function n(e){const t={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},a=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],r=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,r],relevance:0},{beginKeywords:"command on",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r].concat(a),illegal:";$|^\\[|^=|&|\\{"}}return In=n,In}var An,yo;function bd(){if(yo)return An;yo=1;const n=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],e=["true","false","null","undefined","NaN","Infinity"],t=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],r=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],i=[].concat(r,t,a);function s(o){const l=["npm","print"],_=["yes","no","on","off","it","that","void"],c=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],d={keyword:n.concat(c),literal:e.concat(_),built_in:i.concat(l)},p="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",E=o.inherit(o.TITLE_MODE,{begin:p}),m={className:"subst",begin:/#\{/,end:/\}/,keywords:d},S={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:d},g=[o.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[o.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[o.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[o.BACKSLASH_ESCAPE,m,S]},{begin:/"/,end:/"/,contains:[o.BACKSLASH_ESCAPE,m,S]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[m,o.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+p},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];m.contains=g;const b={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:d,contains:["self"].concat(g)}]},R={begin:"(#=>|=>|\\|>>|-?->|!->)"},f={variants:[{match:[/class\s+/,p,/\s+extends\s+/,p]},{match:[/class\s+/,p]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:d};return{name:"LiveScript",aliases:["ls"],keywords:d,illegal:/\/\*/,contains:g.concat([o.COMMENT("\\/\\*","\\*\\/"),o.HASH_COMMENT_MODE,R,{className:"function",contains:[E,b],returnBegin:!0,variants:[{begin:"("+p+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+p+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+p+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},f,{begin:p+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return An=s,An}var vn,ho;function Rd(){if(ho)return vn;ho=1;function n(e){const t=e.regex,a=/([-a-zA-Z$._][\w$.-]*)/,r={className:"type",begin:/\bi\d+(?=\s|\b)/},i={className:"operator",relevance:0,begin:/=/},s={className:"punctuation",relevance:0,begin:/,/},o={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},l={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},_={className:"variable",variants:[{begin:t.concat(/%/,a)},{begin:/%\d+/},{begin:/#\d+/}]},c={className:"title",variants:[{begin:t.concat(/@/,a)},{begin:/@\d+/},{begin:t.concat(/!/,a)},{begin:t.concat(/!\d+/,a)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:{keyword:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly",type:"void half bfloat float double fp128 x86_fp80 ppc_fp128 x86_amx x86_mmx ptr label token metadata opaque"},contains:[r,e.COMMENT(/;\s*$/,null,{relevance:0}),e.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},c,s,i,_,l,o]}}return vn=n,vn}var yn,Do;function fd(){if(Do)return yn;Do=1;function n(e){const a={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},r={className:"number",relevance:0,begin:e.C_NUMBER_RE},i={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},s={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[a,{className:"comment",variants:[e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/")],relevance:0},r,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},s,i,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return yn=n,yn}var hn,Mo;function Cd(){if(Mo)return hn;Mo=1;function n(e){const t="\\[=*\\[",a="\\]=*\\]",r={begin:t,end:a,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,a,{contains:[r],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:a,contains:[r],relevance:5}])}}return hn=n,hn}var Dn,Lo;function Nd(){if(Lo)return Dn;Lo=1;function n(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%{S.has(h[0])||v.ignoreMatch()}},{className:"symbol",relevance:0,begin:m}]},b={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},R={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},f={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},A={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},I={className:"brace",relevance:0,begin:/[[\](){}]/},C={className:"message-name",relevance:0,begin:a.concat("::",m)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[t.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),f,A,C,g,b,t.QUOTE_STRING_MODE,E,R,I]}}return Mn=e,Mn}var Ln,Po;function Id(){if(Po)return Ln;Po=1;function n(e){const t="('|\\.')+",a={relevance:0,contains:[{begin:t}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:a},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",begin:e.C_NUMBER_RE,relevance:0,starts:a},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:a},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:a},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}}return Ln=n,Ln}var xn,wo;function Ad(){if(wo)return xn;wo=1;function n(e){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},e.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return xn=n,xn}var Pn,ko;function vd(){if(ko)return Pn;ko=1;function n(e){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},a,e.C_BLOCK_COMMENT_MODE,r,e.NUMBER_MODE,i,s,{begin:/:-/},{begin:/\.$/}]}}return wn=n,wn}var kn,Fo;function hd(){if(Fo)return kn;Fo=1;function n(e){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+e.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},e.COMMENT("[;#](?!\\s*$)","$"),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return kn=n,kn}var Un,Bo;function Dd(){if(Bo)return Un;Bo=1;function n(e){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}return Un=n,Un}var Fn,Go;function Md(){if(Go)return Fn;Go=1;function n(e){const t=e.regex,a=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\w.]+/,keyword:a.join(" ")},s={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:i},o={begin:/->\{/,end:/\}/},l={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},_={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[l]},c={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},d=[e.BACKSLASH_ESCAPE,s,_],p=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],E=(g,b,R="\\1")=>{const f=R==="\\1"?R:t.concat(R,b);return t.concat(t.concat("(?:",g,")"),b,/(?:\\.|[^\\\/])*?/,f,/(?:\\.|[^\\\/])*?/,R,r)},m=(g,b,R)=>t.concat(t.concat("(?:",g,")"),b,/(?:\\.|[^\\\/])*?/,R,r),S=[_,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:d,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},c,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:E("s|tr|y",t.either(...p,{capture:!0}))},{begin:E("s|tr|y","\\(","\\)")},{begin:E("s|tr|y","\\[","\\]")},{begin:E("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:m("(?:m|qr)?",/\//,/\//)},{begin:m("m|qr",t.either(...p,{capture:!0}),/\1/)},{begin:m("m|qr",/\(/,/\)/)},{begin:m("m|qr",/\[/,/\]/)},{begin:m("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,l]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,l,c]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return s.contains=S,o.contains=S,{name:"Perl",aliases:["pl","pm"],keywords:i,contains:S}}return Fn=n,Fn}var Bn,Yo;function Ld(){if(Yo)return Bn;Yo=1;function n(e){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return Bn=n,Bn}var Gn,qo;function xd(){if(qo)return Gn;qo=1;function n(e){const t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]},a={variants:[{match:[/(function|method)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},r={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,e.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),a,r,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}return Gn=n,Gn}var Yn,Ho;function Pd(){if(Ho)return Yn;Ho=1;function n(e){const t={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},a="[A-Za-z$_][0-9A-Za-z$_]*",r={className:"subst",begin:/#\{/,end:/\}/,keywords:t},i=[e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r]}]},{className:"built_in",begin:"@__"+e.IDENT_RE},{begin:"@"+e.IDENT_RE},{begin:e.IDENT_RE+"\\\\"+e.IDENT_RE}];r.contains=i;const s=e.inherit(e.TITLE_MODE,{begin:a}),o="(\\(.*\\)\\s*)?\\B[-=]>",l={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(i)}]};return{name:"MoonScript",aliases:["moon"],keywords:t,illegal:/\/\*/,contains:i.concat([e.COMMENT("--","$"),{className:"function",begin:"^\\s*"+a+"\\s*=\\s*"+o,end:"[-=]>",returnBegin:!0,contains:[s,l]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:o,end:"[-=]>",returnBegin:!0,contains:[l]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[s]},s]},{className:"name",begin:a+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return Yn=n,Yn}var qn,Vo;function wd(){if(Vo)return qn;Vo=1;function n(e){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_BLOCK_COMMENT_MODE]}}return qn=n,qn}var Hn,zo;function kd(){if(zo)return Hn;zo=1;function n(e){const t={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},a={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},r={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},i={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[e.inherit(e.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),i,r,t,a]}}return Hn=n,Hn}var Vn,Wo;function Ud(){if(Wo)return Vn;Wo=1;function n(e){const t=e.regex,a={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)}]},i={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[a]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},a]};return{name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:i.contains,keywords:{section:"upstream location"}},{className:"section",begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:i}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return Vn=n,Vn}var zn,Ko;function Fd(){if(Ko)return zn;Ko=1;function n(e){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","concept","const","continue","converter","defer","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},e.HASH_COMMENT_MODE]}}return zn=n,zn}var Wn,$o;function Bd(){if($o)return Wn;$o=1;function n(e){const t=e.regex,a={keyword:["assert","else","if","in","inherit","let","or","rec","then","with"],literal:["true","false","null"],built_in:["abort","baseNameOf","builtins","derivation","derivationStrict","dirOf","fetchGit","fetchMercurial","fetchTarball","fetchTree","fromTOML","import","isNull","map","placeholder","removeAttrs","scopedImport","throw","toString"]},r={scope:"built_in",match:t.either(...["abort","add","addDrvOutputDependencies","addErrorContext","all","any","appendContext","attrNames","attrValues","baseNameOf","bitAnd","bitOr","bitXor","break","builtins","catAttrs","ceil","compareVersions","concatLists","concatMap","concatStringsSep","convertHash","currentSystem","currentTime","deepSeq","derivation","derivationStrict","dirOf","div","elem","elemAt","false","fetchGit","fetchMercurial","fetchTarball","fetchTree","fetchurl","filter","filterSource","findFile","flakeRefToString","floor","foldl'","fromJSON","fromTOML","functionArgs","genList","genericClosure","getAttr","getContext","getEnv","getFlake","groupBy","hasAttr","hasContext","hashFile","hashString","head","import","intersectAttrs","isAttrs","isBool","isFloat","isFunction","isInt","isList","isNull","isPath","isString","langVersion","length","lessThan","listToAttrs","map","mapAttrs","match","mul","nixPath","nixVersion","null","parseDrvName","parseFlakeRef","partition","path","pathExists","placeholder","readDir","readFile","readFileType","removeAttrs","replaceStrings","scopedImport","seq","sort","split","splitVersion","storeDir","storePath","stringLength","sub","substring","tail","throw","toFile","toJSON","toPath","toString","toXML","trace","traceVerbose","true","tryEval","typeOf","unsafeDiscardOutputDependency","unsafeDiscardStringContext","unsafeGetAttrPos","warn","zipAttrsWith"].map(h=>`builtins\\.${h}`)),relevance:10},i="[A-Za-z_][A-Za-z0-9_'-]*",s={scope:"symbol",match:new RegExp(`<${i}(/${i})*>`)},o="[A-Za-z0-9_\\+\\.-]+",l={scope:"symbol",match:new RegExp(`(\\.\\.|\\.|~)?/(${o})?(/${o})*(?=[\\s;])`)},_=t.either("==","=","\\+\\+","\\+","<=","<\\|","<",">=",">","->","//","/","!=","!","\\|\\|","\\|>","\\?","\\*","&&"),c={scope:"operator",match:t.concat(_,/(?!-)/),relevance:0},d={scope:"number",match:new RegExp(`${e.NUMBER_RE}(?!-)`),relevance:0},p={variants:[{scope:"operator",beforeMatch:/\s/,begin:/-(?!>)/},{begin:[new RegExp(`${e.NUMBER_RE}`),/-/,/(?!>)/],beginScope:{1:"number",2:"operator"}},{begin:[_,/-/,/(?!>)/],beginScope:{1:"operator",2:"operator"}}],relevance:0},E={beforeMatch:/(^|\{|;)\s*/,begin:new RegExp(`${i}(\\.${i})*\\s*=(?!=)`),returnBegin:!0,relevance:0,contains:[{scope:"attr",match:new RegExp(`${i}(\\.${i})*(?=\\s*=)`),relevance:.2}]},m={scope:"char.escape",match:/\\\$/},S={scope:"char.escape",match:/''\$/},g={scope:"subst",begin:/\$\{/,end:/\}/,keywords:a},b={scope:"char.escape",match:/'''/},R={scope:"char.escape",match:/\\(?!\$)./},f={scope:"string",variants:[{begin:"''",end:"''",contains:[S,g,b,R]},{begin:'"',end:'"',contains:[m,g,R]}]},A={scope:"params",match:new RegExp(`${i}\\s*:(?=\\s)`)},I=[d,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),r,f,s,l,A,E,p,c];g.contains=I;const C=[{scope:"meta.prompt",match:/^nix-repl>(?=\s)/,relevance:10},{scope:"meta",beforeMatch:/\s+/,begin:/:([a-z]+|\?)/}];return{name:"Nix",aliases:["nixos"],keywords:a,contains:I.concat(C)}}return Wn=n,Wn}var Kn,Qo;function Gd(){if(Qo)return Kn;Qo=1;function n(e){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return Kn=n,Kn}var $n,Xo;function Yd(){if(Xo)return $n;Xo=1;function n(e){const t=e.regex,a=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],r=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],i=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],s={className:"variable.constant",begin:t.concat(/\$/,t.either(...a))},o={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},l={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},_={className:"variable",begin:/\$+\([\w^.:!-]+\)/},c={className:"params",begin:t.either(...r)},d={className:"keyword",begin:t.concat(/!/,t.either(...i))},p={className:"char.escape",begin:/\$(\\[nrt]|\$)/},E={className:"title.function",begin:/\w+::\w+/},m={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[p,s,o,l,_]},S=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],g=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],b={match:[/Function/,/\s+/,t.concat(/(\.)?/,e.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},f={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:S,literal:g},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),f,b,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},m,d,o,l,_,c,E,e.NUMBER_MODE]}}return $n=n,$n}var Qn,Zo;function qd(){if(Zo)return Qn;Zo=1;function n(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},a=/[a-zA-Z@][a-zA-Z0-9_]*/,l={"variable.language":["this","super"],$pattern:a,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},_={$pattern:a,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:l,illegal:"/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+_.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:_,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}return Qn=n,Qn}var Xn,Jo;function Hd(){if(Jo)return Xn;Jo=1;function n(e){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return Xn=n,Xn}var Zn,jo;function Vd(){if(jo)return Zn;jo=1;function n(e){const t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},a={className:"literal",begin:"false|true|PI|undef"},r={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},i=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},o={className:"params",begin:"\\(",end:"\\)",contains:["self",r,i,t,a]},l={begin:"[*!#%]",relevance:0},_={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[o,e.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,s,i,t,l,_]}}return Zn=n,Zn}var Jn,es;function zd(){if(es)return Jn;es=1;function n(e){const t={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},a=e.COMMENT(/\{/,/\}/,{relevance:0}),r=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},s={className:"string",begin:"(#\\d+)+"},o={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.inherit(e.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[i,s]},a,r]},l={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[a,r,e.C_LINE_COMMENT_MODE,i,s,e.NUMBER_MODE,o,l]}}return Jn=n,Jn}var jn,ts;function Wd(){if(ts)return jn;ts=1;function n(e){const t=e.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[t]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}return jn=n,jn}var ea,ns;function Kd(){if(ns)return ea;ns=1;function n(e){const t={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},a={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,t,a]}}return ea=n,ea}var ta,as;function $d(){if(as)return ta;as=1;function n(e){const t=e.COMMENT("--","$"),a="[a-zA-Z_][a-zA-Z_0-9$]*",r="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",i="<<\\s*"+a+"\\s*>>",s="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",o="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",l="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",_="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",c=_.trim().split(" ").map(function(g){return g.split("|")[0]}).join("|"),d="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",p="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",E="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",S="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(g){return g.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:s+l+o,built_in:d+p+E},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:e.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+S+")\\s*\\("},{begin:"\\.("+c+")\\b"},{begin:"\\b("+c+")\\s+PATH\\b",keywords:{keyword:"PATH",type:_.replace("PATH ","")}},{className:"type",begin:"\\b("+c+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},e.END_SAME_AS_BEGIN({begin:r,end:r,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:i,relevance:10}]}}return ta=n,ta}var na,rs;function Qd(){if(rs)return na;rs=1;function n(e){const t=e.regex,a=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,a),i=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,a),s=t.concat(/[A-Z]+/,a),o={scope:"variable",match:"\\$+"+r},l={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},_={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},c=e.inherit(e.APOS_STRING_MODE,{illegal:null}),d=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(_)}),p={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(_),"on:begin":(q,T)=>{T.data._beginMatch=q[1]||q[2]},"on:end":(q,T)=>{T.data._beginMatch!==q[1]&&T.ignoreMatch()}},E=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),m=`[ diff --git a/starter/src/main/resources/static/notebase/assets/infoDiagram-f8f76790-BgNjqXTg.js b/deploy/server/notebase/assets/infoDiagram-f8f76790-DX5l4_2z.js similarity index 98% rename from starter/src/main/resources/static/notebase/assets/infoDiagram-f8f76790-BgNjqXTg.js rename to deploy/server/notebase/assets/infoDiagram-f8f76790-DX5l4_2z.js index 74731c73df..c008a883b5 100644 --- a/starter/src/main/resources/static/notebase/assets/infoDiagram-f8f76790-BgNjqXTg.js +++ b/deploy/server/notebase/assets/infoDiagram-f8f76790-DX5l4_2z.js @@ -1,4 +1,4 @@ -import{l as Y,N as D,i as M}from"./mermaid.core-FIymlv9x.js";import"./index-BtAN2wrW.js";var O=function(){var a=function(u,t,e,n){for(e=e||{},n=u.length;n--;e[u[n]]=t);return e},f=[6,9,10],m={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,s,r,i,d){switch(i.length-1,r){case 1:return s;case 4:break;case 6:s.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},a(f,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},a(f,[2,3]),a(f,[2,4]),a(f,[2,5]),a(f,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=e,n}},parse:function(t){var e=this,n=[0],s=[],r=[null],i=[],d=this.table,P="",v=0,L=0,j=2,T=1,R=i.slice.call(arguments,1),o=Object.create(this.lexer),p={yy:{}};for(var E in this.yy)Object.prototype.hasOwnProperty.call(this.yy,E)&&(p.yy[E]=this.yy[E]);o.setInput(t,p.yy),p.yy.lexer=o,p.yy.parser=this,typeof o.yylloc>"u"&&(o.yylloc={});var I=o.yylloc;i.push(I);var z=o.options&&o.options.ranges;typeof p.yy.parseError=="function"?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function U(){var y;return y=s.pop()||o.lex()||T,typeof y!="number"&&(y instanceof Array&&(s=y,y=s.pop()),y=e.symbols_[y]||y),y}for(var l,g,h,w,_={},b,c,F,S;;){if(g=n[n.length-1],this.defaultActions[g]?h=this.defaultActions[g]:((l===null||typeof l>"u")&&(l=U()),h=d[g]&&d[g][l]),typeof h>"u"||!h.length||!h[0]){var A="";S=[];for(b in d[g])this.terminals_[b]&&b>j&&S.push("'"+this.terminals_[b]+"'");o.showPosition?A="Parse error on line "+(v+1)+`: +import{l as Y,N as D,i as M}from"./mermaid.core-BAvrjf3l.js";import"./index-D31-yJHm.js";var O=function(){var a=function(u,t,e,n){for(e=e||{},n=u.length;n--;e[u[n]]=t);return e},f=[6,9,10],m={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,s,r,i,d){switch(i.length-1,r){case 1:return s;case 4:break;case 6:s.setInfo(!0);break}},table:[{3:1,4:[1,2]},{1:[3]},a(f,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},a(f,[2,3]),a(f,[2,4]),a(f,[2,5]),a(f,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(e.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=e,n}},parse:function(t){var e=this,n=[0],s=[],r=[null],i=[],d=this.table,P="",v=0,L=0,j=2,T=1,R=i.slice.call(arguments,1),o=Object.create(this.lexer),p={yy:{}};for(var E in this.yy)Object.prototype.hasOwnProperty.call(this.yy,E)&&(p.yy[E]=this.yy[E]);o.setInput(t,p.yy),p.yy.lexer=o,p.yy.parser=this,typeof o.yylloc>"u"&&(o.yylloc={});var I=o.yylloc;i.push(I);var z=o.options&&o.options.ranges;typeof p.yy.parseError=="function"?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function U(){var y;return y=s.pop()||o.lex()||T,typeof y!="number"&&(y instanceof Array&&(s=y,y=s.pop()),y=e.symbols_[y]||y),y}for(var l,g,h,w,_={},b,c,F,S;;){if(g=n[n.length-1],this.defaultActions[g]?h=this.defaultActions[g]:((l===null||typeof l>"u")&&(l=U()),h=d[g]&&d[g][l]),typeof h>"u"||!h.length||!h[0]){var A="";S=[];for(b in d[g])this.terminals_[b]&&b>j&&S.push("'"+this.terminals_[b]+"'");o.showPosition?A="Parse error on line "+(v+1)+`: `+o.showPosition()+` Expecting `+S.join(", ")+", got '"+(this.terminals_[l]||l)+"'":A="Parse error on line "+(v+1)+": Unexpected "+(l==T?"end of input":"'"+(this.terminals_[l]||l)+"'"),this.parseError(A,{text:o.match,token:this.terminals_[l]||l,line:o.yylineno,loc:I,expected:S})}if(h[0]instanceof Array&&h.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+l);switch(h[0]){case 1:n.push(l),r.push(o.yytext),i.push(o.yylloc),n.push(h[1]),l=null,L=o.yyleng,P=o.yytext,v=o.yylineno,I=o.yylloc;break;case 2:if(c=this.productions_[h[1]][1],_.$=r[r.length-c],_._$={first_line:i[i.length-(c||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(c||1)].first_column,last_column:i[i.length-1].last_column},z&&(_._$.range=[i[i.length-(c||1)].range[0],i[i.length-1].range[1]]),w=this.performAction.apply(_,[P,L,v,p.yy,h[1],r,i].concat(R)),typeof w<"u")return w;c&&(n=n.slice(0,-1*c*2),r=r.slice(0,-1*c),i=i.slice(0,-1*c)),n.push(this.productions_[h[1]][0]),r.push(_.$),i.push(_._$),F=d[n[n.length-2]][n[n.length-1]],n.push(F);break;case 3:return!0}}return!0}},k=function(){var u={EOF:1,parseError:function(e,n){if(this.yy.parser)this.yy.parser.parseError(e,n);else throw new Error(e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var e=t.match(/(?:\r\n?|\n).*/g);return e?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===s.length?this.yylloc.first_column:0)+s[s.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+` diff --git a/starter/src/main/resources/static/notebase/assets/journeyDiagram-49397b02-CHlnvB_A.js b/deploy/server/notebase/assets/journeyDiagram-49397b02-Baqb-1Ht.js similarity index 98% rename from starter/src/main/resources/static/notebase/assets/journeyDiagram-49397b02-CHlnvB_A.js rename to deploy/server/notebase/assets/journeyDiagram-49397b02-Baqb-1Ht.js index ac527ff3d0..68bae85daf 100644 --- a/starter/src/main/resources/static/notebase/assets/journeyDiagram-49397b02-CHlnvB_A.js +++ b/deploy/server/notebase/assets/journeyDiagram-49397b02-Baqb-1Ht.js @@ -1,4 +1,4 @@ -import{c as A,A as yt,B as ft,s as dt,g as pt,b as gt,a as mt,C as xt,h as W,i as kt}from"./mermaid.core-FIymlv9x.js";import{d as _t,f as bt,a as vt,g as it}from"./svgDrawCommon-08f97a94-DNtJ_ALA.js";import"./index-BtAN2wrW.js";import{a as Q}from"./arc-Dg9FQBDn.js";import"./path-CbwjOpE9.js";var G=function(){var t=function(p,s,r,a){for(r=r||{},a=p.length;a--;r[p[a]]=s);return r},e=[6,8,10,11,12,14,16,17,18],i=[1,9],l=[1,10],n=[1,11],h=[1,12],c=[1,13],f=[1,14],y={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:function(s,r,a,u,d,o,w){var k=o.length-1;switch(d){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 13:u.addTask(o[k-1],o[k]),this.$="task";break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:l,14:n,16:h,17:c,18:f},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:l,14:n,16:h,17:c,18:f},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:function(s,r){if(r.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=r,a}},parse:function(s){var r=this,a=[0],u=[],d=[null],o=[],w=this.table,k="",R=0,Z=0,lt=2,J=1,ct=o.slice.call(arguments,1),x=Object.create(this.lexer),S={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(S.yy[z]=this.yy[z]);x.setInput(s,S.yy),S.yy.lexer=x,S.yy.parser=this,typeof x.yylloc>"u"&&(x.yylloc={});var Y=x.yylloc;o.push(Y);var ht=x.options&&x.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ut(){var T;return T=u.pop()||x.lex()||J,typeof T!="number"&&(T instanceof Array&&(u=T,T=u.pop()),T=r.symbols_[T]||T),T}for(var _,E,b,O,C={},N,$,K,B;;){if(E=a[a.length-1],this.defaultActions[E]?b=this.defaultActions[E]:((_===null||typeof _>"u")&&(_=ut()),b=w[E]&&w[E][_]),typeof b>"u"||!b.length||!b[0]){var q="";B=[];for(N in w[E])this.terminals_[N]&&N>lt&&B.push("'"+this.terminals_[N]+"'");x.showPosition?q="Parse error on line "+(R+1)+`: +import{c as A,A as yt,B as ft,s as dt,g as pt,b as gt,a as mt,C as xt,h as W,i as kt}from"./mermaid.core-BAvrjf3l.js";import{d as _t,f as bt,a as vt,g as it}from"./svgDrawCommon-08f97a94-DgTDkXBR.js";import"./index-D31-yJHm.js";import{a as Q}from"./arc-CEKBcz1C.js";import"./path-CbwjOpE9.js";var G=function(){var t=function(p,s,r,a){for(r=r||{},a=p.length;a--;r[p[a]]=s);return r},e=[6,8,10,11,12,14,16,17,18],i=[1,9],l=[1,10],n=[1,11],h=[1,12],c=[1,13],f=[1,14],y={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:function(s,r,a,u,d,o,w){var k=o.length-1;switch(d){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 13:u.addTask(o[k-1],o[k]),this.$="task";break}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:i,12:l,14:n,16:h,17:c,18:f},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:i,12:l,14:n,16:h,17:c,18:f},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:function(s,r){if(r.recoverable)this.trace(s);else{var a=new Error(s);throw a.hash=r,a}},parse:function(s){var r=this,a=[0],u=[],d=[null],o=[],w=this.table,k="",R=0,Z=0,lt=2,J=1,ct=o.slice.call(arguments,1),x=Object.create(this.lexer),S={yy:{}};for(var z in this.yy)Object.prototype.hasOwnProperty.call(this.yy,z)&&(S.yy[z]=this.yy[z]);x.setInput(s,S.yy),S.yy.lexer=x,S.yy.parser=this,typeof x.yylloc>"u"&&(x.yylloc={});var Y=x.yylloc;o.push(Y);var ht=x.options&&x.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ut(){var T;return T=u.pop()||x.lex()||J,typeof T!="number"&&(T instanceof Array&&(u=T,T=u.pop()),T=r.symbols_[T]||T),T}for(var _,E,b,O,C={},N,$,K,B;;){if(E=a[a.length-1],this.defaultActions[E]?b=this.defaultActions[E]:((_===null||typeof _>"u")&&(_=ut()),b=w[E]&&w[E][_]),typeof b>"u"||!b.length||!b[0]){var q="";B=[];for(N in w[E])this.terminals_[N]&&N>lt&&B.push("'"+this.terminals_[N]+"'");x.showPosition?q="Parse error on line "+(R+1)+`: `+x.showPosition()+` Expecting `+B.join(", ")+", got '"+(this.terminals_[_]||_)+"'":q="Parse error on line "+(R+1)+": Unexpected "+(_==J?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(q,{text:x.match,token:this.terminals_[_]||_,line:x.yylineno,loc:Y,expected:B})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+E+", token: "+_);switch(b[0]){case 1:a.push(_),d.push(x.yytext),o.push(x.yylloc),a.push(b[1]),_=null,Z=x.yyleng,k=x.yytext,R=x.yylineno,Y=x.yylloc;break;case 2:if($=this.productions_[b[1]][1],C.$=d[d.length-$],C._$={first_line:o[o.length-($||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-($||1)].first_column,last_column:o[o.length-1].last_column},ht&&(C._$.range=[o[o.length-($||1)].range[0],o[o.length-1].range[1]]),O=this.performAction.apply(C,[k,Z,R,S.yy,b[1],d,o].concat(ct)),typeof O<"u")return O;$&&(a=a.slice(0,-1*$*2),d=d.slice(0,-1*$),o=o.slice(0,-1*$)),a.push(this.productions_[b[1]][0]),d.push(C.$),o.push(C._$),K=w[a[a.length-2]][a[a.length-1]],a.push(K);break;case 3:return!0}}return!0}},m=function(){var p={EOF:1,parseError:function(r,a){if(this.yy.parser)this.yy.parser.parseError(r,a);else throw new Error(r)},setInput:function(s,r){return this.yy=r||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var r=s.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},unput:function(s){var r=s.length,a=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===u.length?this.yylloc.first_column:0)+u[u.length-a.length].length-a[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(s){this.unput(this.match.slice(s))},pastInput:function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var s=this.pastInput(),r=new Array(s.length+1).join("-");return s+this.upcomingInput()+` diff --git a/starter/src/main/resources/static/notebase/assets/layout-CU5MaBZ2.js b/deploy/server/notebase/assets/layout-BLe2lUnK.js similarity index 99% rename from starter/src/main/resources/static/notebase/assets/layout-CU5MaBZ2.js rename to deploy/server/notebase/assets/layout-BLe2lUnK.js index 1da0574432..0163b578d9 100644 --- a/starter/src/main/resources/static/notebase/assets/layout-CU5MaBZ2.js +++ b/deploy/server/notebase/assets/layout-BLe2lUnK.js @@ -1 +1 @@ -import{a as F,b as gn,c as zn,d as L,k as Xn,e as Hn,g as Un,j as P,l as xn,m as En,n as kn,t as Jn,o as yn,p as Kn,q as jn,f as s,G as x,h as w,i as g,r as M,v as y,s as Y}from"./graph-BpOdqLUS.js";import{B as A,C as Zn,D as Qn,E as Nn,F as B,G as Ln,H as ne,e as _n,f as K,I as ee,J as re,K as j,L as te,N as Cn,O as ie,P as ae,n as U}from"./index-BtAN2wrW.js";var oe=/\s/;function ue(n){for(var e=n.length;e--&&oe.test(n.charAt(e)););return e}var de=/^\s+/;function fe(n){return n&&n.slice(0,ue(n)+1).replace(de,"")}var un=NaN,se=/^[-+]0x[0-9a-f]+$/i,ce=/^0b[01]+$/i,he=/^0o[0-7]+$/i,le=parseInt;function ve(n){if(typeof n=="number")return n;if(F(n))return un;if(A(n)){var e=typeof n.valueOf=="function"?n.valueOf():n;n=A(e)?e+"":e}if(typeof n!="string")return n===0?n:+n;n=fe(n);var r=ce.test(n);return r||he.test(n)?le(n.slice(2),r?2:8):se.test(n)?un:+n}var dn=1/0,pe=17976931348623157e292;function S(n){if(!n)return n===0?n:0;if(n=ve(n),n===dn||n===-dn){var e=n<0?-1:1;return e*pe}return n===n?n:0}function we(n){var e=S(n),r=e%1;return e===e?r?e-r:e:0}function _(n){var e=n==null?0:n.length;return e?gn(n):[]}function me(n){return Zn(Qn(n,void 0,_),n+"")}var be=1,ge=4;function xe(n){return zn(n,be|ge)}var In=Object.prototype,Ee=In.hasOwnProperty,ke=Nn(function(n,e){n=Object(n);var r=-1,t=e.length,i=t>2?e[2]:void 0;for(i&&B(e[0],e[1],i)&&(t=1);++r-1?i[o?e[a]:a]:void 0}}var Ne=Math.max;function Le(n,e,r){var t=n==null?0:n.length;if(!t)return-1;var i=r==null?0:we(r);return i<0&&(i=Ne(t+i,0)),Hn(n,L(e),i)}var Z=ye(Le);function Rn(n,e){var r=-1,t=_n(n)?Array(n.length):[];return Un(n,function(i,o,a){t[++r]=e(i,o,a)}),t}function m(n,e){var r=K(n)?P:Rn;return r(n,L(e))}function _e(n,e){return n==null?n:ee(n,xn(e),Ln)}function Ce(n,e){return n&&En(n,xn(e))}function Ie(n,e){return n>e}function Tn(n,e){return ne||o&&a&&d&&!u&&!f||t&&a&&d||!r&&d||!i)return 1;if(!t&&!o&&!f&&n=u)return d;var f=r[t];return d*(f=="desc"?-1:1)}}return n.index-e.index}function Se(n,e,r){e.length?e=P(e,function(o){return K(o)?function(a){return yn(a,o.length===1?o[0]:o)}:o}):e=[j];var t=-1;e=P(e,ie(L));var i=Rn(n,function(o,a,u){var d=P(e,function(f){return f(o)});return{criteria:d,index:++t,value:o}});return Me(i,function(o,a){return Pe(o,a,r)})}function Fe(n,e){return Te(n,e,function(r,t){return Kn(n,t)})}var V=me(function(n,e){return n==null?{}:Fe(n,e)}),Ae=Math.ceil,Be=Math.max;function Ge(n,e,r,t){for(var i=-1,o=Be(Ae((e-n)/(r||1)),0),a=Array(o);o--;)a[++i]=n,n+=r;return a}function Ve(n){return function(e,r,t){return t&&typeof t!="number"&&B(e,r,t)&&(r=t=void 0),e=S(e),r===void 0?(r=e,e=0):r=S(r),t=t===void 0?e1&&B(n,e[0],e[1])?e=[]:r>2&&B(e[0],e[1],e[2])&&(e=[e[0]]),Se(n,gn(e),[])}),Ye=0;function en(n){var e=++Ye;return jn(n)+e}function De(n,e,r){for(var t=-1,i=n.length,o=e.length,a={};++t0;--u)if(a=e[u].dequeue(),a){t=t.concat(q(n,e,r,a,!0));break}}}return t}function q(n,e,r,t,i){var o=i?[]:void 0;return s(n.inEdges(t.v),function(a){var u=n.edge(a),d=n.node(a.v);i&&o.push({v:a.v,w:a.w}),d.out-=u,J(e,r,d)}),s(n.outEdges(t.v),function(a){var u=n.edge(a),d=a.w,f=n.node(d);f.in-=u,J(e,r,f)}),n.removeNode(t.v),o}function Ue(n,e){var r=new x,t=0,i=0;s(n.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),s(n.edges(),function(u){var d=r.edge(u.v,u.w)||0,f=e(u),c=d+f;r.setEdge(u.v,u.w,c),i=Math.max(i,r.node(u.v).out+=f),t=Math.max(t,r.node(u.w).in+=f)});var o=N(i+t+3).map(function(){return new qe}),a=t+1;return s(r.nodes(),function(u){J(o,a,r.node(u))}),{graph:r,buckets:o,zeroIdx:a}}function J(n,e,r){r.out?r.in?n[r.out-r.in+e].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}function Je(n){var e=n.graph().acyclicer==="greedy"?Xe(n,r(n)):Ke(n);s(e,function(t){var i=n.edge(t);n.removeEdge(t),i.forwardName=t.name,i.reversed=!0,n.setEdge(t.w,t.v,i,en("rev"))});function r(t){return function(i){return t.edge(i).weight}}}function Ke(n){var e=[],r={},t={};function i(o){w(t,o)||(t[o]=!0,r[o]=!0,s(n.outEdges(o),function(a){w(r,a.w)?e.push(a):i(a.w)}),delete r[o])}return s(n.nodes(),i),e}function je(n){s(n.edges(),function(e){var r=n.edge(e);if(r.reversed){n.removeEdge(e);var t=r.forwardName;delete r.reversed,delete r.forwardName,n.setEdge(e.w,e.v,r,t)}})}function C(n,e,r,t){var i;do i=en(t);while(n.hasNode(i));return r.dummy=e,n.setNode(i,r),i}function Ze(n){var e=new x().setGraph(n.graph());return s(n.nodes(),function(r){e.setNode(r,n.node(r))}),s(n.edges(),function(r){var t=e.edge(r.v,r.w)||{weight:0,minlen:1},i=n.edge(r);e.setEdge(r.v,r.w,{weight:t.weight+i.weight,minlen:Math.max(t.minlen,i.minlen)})}),e}function Mn(n){var e=new x({multigraph:n.isMultigraph()}).setGraph(n.graph());return s(n.nodes(),function(r){n.children(r).length||e.setNode(r,n.node(r))}),s(n.edges(),function(r){e.setEdge(r,n.edge(r))}),e}function sn(n,e){var r=n.x,t=n.y,i=e.x-r,o=e.y-t,a=n.width/2,u=n.height/2;if(!i&&!o)throw new Error("Not possible to find intersection inside of the rectangle");var d,f;return Math.abs(o)*a>Math.abs(i)*u?(o<0&&(u=-u),d=u*i/o,f=u):(i<0&&(a=-a),d=a,f=a*o/i),{x:r+d,y:t+f}}function $(n){var e=m(N(On(n)+1),function(){return[]});return s(n.nodes(),function(r){var t=n.node(r),i=t.rank;g(i)||(e[i][t.order]=r)}),e}function Qe(n){var e=R(m(n.nodes(),function(r){return n.node(r).rank}));s(n.nodes(),function(r){var t=n.node(r);w(t,"rank")&&(t.rank-=e)})}function nr(n){var e=R(m(n.nodes(),function(o){return n.node(o).rank})),r=[];s(n.nodes(),function(o){var a=n.node(o).rank-e;r[a]||(r[a]=[]),r[a].push(o)});var t=0,i=n.graph().nodeRankFactor;s(r,function(o,a){g(o)&&a%i!==0?--t:t&&s(o,function(u){n.node(u).rank+=t})})}function cn(n,e,r,t){var i={width:0,height:0};return arguments.length>=4&&(i.rank=r,i.order=t),C(n,"border",i,e)}function On(n){return E(m(n.nodes(),function(e){var r=n.node(e).rank;if(!g(r))return r}))}function er(n,e){var r={lhs:[],rhs:[]};return s(n,function(t){e(t)?r.lhs.push(t):r.rhs.push(t)}),r}function rr(n,e){return e()}function tr(n){function e(r){var t=n.children(r),i=n.node(r);if(t.length&&s(t,e),w(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var o=i.minRank,a=i.maxRank+1;oa.lim&&(u=a,d=!0);var f=M(e.edges(),function(c){return d===vn(n,n.node(c.v),u)&&d!==vn(n,n.node(c.w),u)});return nn(f,function(c){return T(e,c)})}function Dn(n,e,r,t){var i=r.v,o=r.w;n.removeEdge(i,o),n.setEdge(t.v,t.w,{}),an(n),tn(n,e),br(n,e)}function br(n,e){var r=Z(n.nodes(),function(i){return!e.node(i).parent}),t=wr(n,r);t=t.slice(1),s(t,function(i){var o=n.node(i).parent,a=e.edge(i,o),u=!1;a||(a=e.edge(o,i),u=!0),e.node(i).rank=e.node(o).rank+(u?a.minlen:-a.minlen)})}function gr(n,e,r){return n.hasEdge(e,r)}function vn(n,e,r){return r.low<=e.lim&&e.lim<=r.lim}function xr(n){switch(n.graph().ranker){case"network-simplex":pn(n);break;case"tight-tree":kr(n);break;case"longest-path":Er(n);break;default:pn(n)}}var Er=rn;function kr(n){rn(n),Sn(n)}function pn(n){k(n)}function yr(n){var e=C(n,"root",{},"_root"),r=Nr(n),t=E(y(r))-1,i=2*t+1;n.graph().nestingRoot=e,s(n.edges(),function(a){n.edge(a).minlen*=i});var o=Lr(n)+1;s(n.children(),function(a){$n(n,e,i,o,t,r,a)}),n.graph().nodeRankFactor=i}function $n(n,e,r,t,i,o,a){var u=n.children(a);if(!u.length){a!==e&&n.setEdge(e,a,{weight:0,minlen:r});return}var d=cn(n,"_bt"),f=cn(n,"_bb"),c=n.node(a);n.setParent(d,a),c.borderTop=d,n.setParent(f,a),c.borderBottom=f,s(u,function(h){$n(n,e,r,t,i,o,h);var l=n.node(h),v=l.borderTop?l.borderTop:h,p=l.borderBottom?l.borderBottom:h,b=l.borderTop?t:2*t,I=v!==p?1:i-o[a]+1;n.setEdge(d,v,{weight:b,minlen:I,nestingEdge:!0}),n.setEdge(p,f,{weight:b,minlen:I,nestingEdge:!0})}),n.parent(a)||n.setEdge(e,d,{weight:0,minlen:i+o[a]})}function Nr(n){var e={};function r(t,i){var o=n.children(t);o&&o.length&&s(o,function(a){r(a,i+1)}),e[t]=i}return s(n.children(),function(t){r(t,1)}),e}function Lr(n){return Y(n.edges(),function(e,r){return e+n.edge(r).weight},0)}function _r(n){var e=n.graph();n.removeNode(e.nestingRoot),delete e.nestingRoot,s(n.edges(),function(r){var t=n.edge(r);t.nestingEdge&&n.removeEdge(r)})}function Cr(n,e,r){var t={},i;s(r,function(o){for(var a=n.parent(o),u,d;a;){if(u=n.parent(a),u?(d=t[u],t[u]=a):(d=i,i=a),d&&d!==a){e.setEdge(d,a);return}a=u}})}function Ir(n,e,r){var t=Rr(n),i=new x({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(o){return n.node(o)});return s(n.nodes(),function(o){var a=n.node(o),u=n.parent(o);(a.rank===e||a.minRank<=e&&e<=a.maxRank)&&(i.setNode(o),i.setParent(o,u||t),s(n[r](o),function(d){var f=d.v===o?d.w:d.v,c=i.edge(f,o),h=g(c)?0:c.weight;i.setEdge(f,o,{weight:n.edge(d).weight+h})}),w(a,"minRank")&&i.setNode(o,{borderLeft:a.borderLeft[e],borderRight:a.borderRight[e]}))}),i}function Rr(n){for(var e;n.hasNode(e=en("_root")););return e}function Tr(n,e){for(var r=0,t=1;t0;)c%2&&(h+=u[c+1]),c=c-1>>1,u[c]+=f.weight;d+=f.weight*h})),d}function Or(n){var e={},r=M(n.nodes(),function(u){return!n.children(u).length}),t=E(m(r,function(u){return n.node(u).rank})),i=m(N(t+1),function(){return[]});function o(u){if(!w(e,u)){e[u]=!0;var d=n.node(u);i[d.rank].push(u),s(n.successors(u),o)}}var a=O(r,function(u){return n.node(u).rank});return s(a,o),i}function Pr(n,e){return m(e,function(r){var t=n.inEdges(r);if(t.length){var i=Y(t,function(o,a){var u=n.edge(a),d=n.node(a.v);return{sum:o.sum+u.weight*d.order,weight:o.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:i.sum/i.weight,weight:i.weight}}else return{v:r}})}function Sr(n,e){var r={};s(n,function(i,o){var a=r[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:o};g(i.barycenter)||(a.barycenter=i.barycenter,a.weight=i.weight)}),s(e.edges(),function(i){var o=r[i.v],a=r[i.w];!g(o)&&!g(a)&&(a.indegree++,o.out.push(r[i.w]))});var t=M(r,function(i){return!i.indegree});return Fr(t)}function Fr(n){var e=[];function r(o){return function(a){a.merged||(g(a.barycenter)||g(o.barycenter)||a.barycenter>=o.barycenter)&&Ar(o,a)}}function t(o){return function(a){a.in.push(o),--a.indegree===0&&n.push(a)}}for(;n.length;){var i=n.pop();e.push(i),s(i.in.reverse(),r(i)),s(i.out,t(i))}return m(M(e,function(o){return!o.merged}),function(o){return V(o,["vs","i","barycenter","weight"])})}function Ar(n,e){var r=0,t=0;n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.vs=e.vs.concat(n.vs),n.barycenter=r/t,n.weight=t,n.i=Math.min(e.i,n.i),e.merged=!0}function Br(n,e){var r=er(n,function(c){return w(c,"barycenter")}),t=r.lhs,i=O(r.rhs,function(c){return-c.i}),o=[],a=0,u=0,d=0;t.sort(Gr(!!e)),d=wn(o,i,d),s(t,function(c){d+=c.vs.length,o.push(c.vs),a+=c.barycenter*c.weight,u+=c.weight,d=wn(o,i,d)});var f={vs:_(o)};return u&&(f.barycenter=a/u,f.weight=u),f}function wn(n,e,r){for(var t;e.length&&(t=G(e)).i<=r;)e.pop(),n.push(t.vs),r++;return r}function Gr(n){return function(e,r){return e.barycenterr.barycenter?1:n?r.i-e.i:e.i-r.i}}function qn(n,e,r,t){var i=n.children(e),o=n.node(e),a=o?o.borderLeft:void 0,u=o?o.borderRight:void 0,d={};a&&(i=M(i,function(p){return p!==a&&p!==u}));var f=Pr(n,i);s(f,function(p){if(n.children(p.v).length){var b=qn(n,p.v,r,t);d[p.v]=b,w(b,"barycenter")&&Yr(p,b)}});var c=Sr(f,r);Vr(c,d);var h=Br(c,t);if(a&&(h.vs=_([a,h.vs,u]),n.predecessors(a).length)){var l=n.node(n.predecessors(a)[0]),v=n.node(n.predecessors(u)[0]);w(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+l.order+v.order)/(h.weight+2),h.weight+=2}return h}function Vr(n,e){s(n,function(r){r.vs=_(r.vs.map(function(t){return e[t]?e[t].vs:t}))})}function Yr(n,e){g(n.barycenter)?(n.barycenter=e.barycenter,n.weight=e.weight):(n.barycenter=(n.barycenter*n.weight+e.barycenter*e.weight)/(n.weight+e.weight),n.weight+=e.weight)}function Dr(n){var e=On(n),r=mn(n,N(1,e+1),"inEdges"),t=mn(n,N(e-1,-1,-1),"outEdges"),i=Or(n);bn(n,i);for(var o=Number.POSITIVE_INFINITY,a,u=0,d=0;d<4;++u,++d){$r(u%2?r:t,u%4>=2),i=$(n);var f=Tr(n,i);fa||u>e[d].lim));for(f=d,d=t;(d=n.parent(d))!==f;)o.push(d);return{path:i.concat(o.reverse()),lca:f}}function zr(n){var e={},r=0;function t(i){var o=r;s(n.children(i),t),e[i]={low:o,lim:r++}}return s(n.children(),t),e}function Xr(n,e){var r={};function t(i,o){var a=0,u=0,d=i.length,f=G(o);return s(o,function(c,h){var l=Ur(n,c),v=l?n.node(l).order:d;(l||c===f)&&(s(o.slice(u,h+1),function(p){s(n.predecessors(p),function(b){var I=n.node(b),on=I.order;(onf)&&Wn(r,l,c)})})}function i(o,a){var u=-1,d,f=0;return s(a,function(c,h){if(n.node(c).dummy==="border"){var l=n.predecessors(c);l.length&&(d=n.node(l[0]).order,t(a,f,h,u,d),f=h,u=d)}t(a,f,a.length,d,o.length)}),a}return Y(e,i),r}function Ur(n,e){if(n.node(e).dummy)return Z(n.predecessors(e),function(r){return n.node(r).dummy})}function Wn(n,e,r){if(e>r){var t=e;e=r,r=t}var i=n[e];i||(n[e]=i={}),i[r]=!0}function Jr(n,e,r){if(e>r){var t=e;e=r,r=t}return w(n[e],r)}function Kr(n,e,r,t){var i={},o={},a={};return s(e,function(u){s(u,function(d,f){i[d]=d,o[d]=d,a[d]=f})}),s(e,function(u){var d=-1;s(u,function(f){var c=t(f);if(c.length){c=O(c,function(b){return a[b]});for(var h=(c.length-1)/2,l=Math.floor(h),v=Math.ceil(h);l<=v;++l){var p=c[l];o[f]===f&&d2?e[2]:void 0;for(i&&B(e[0],e[1],i)&&(t=1);++r-1?i[o?e[a]:a]:void 0}}var Ne=Math.max;function Le(n,e,r){var t=n==null?0:n.length;if(!t)return-1;var i=r==null?0:we(r);return i<0&&(i=Ne(t+i,0)),Hn(n,L(e),i)}var Z=ye(Le);function Rn(n,e){var r=-1,t=_n(n)?Array(n.length):[];return Un(n,function(i,o,a){t[++r]=e(i,o,a)}),t}function m(n,e){var r=K(n)?P:Rn;return r(n,L(e))}function _e(n,e){return n==null?n:ee(n,xn(e),Ln)}function Ce(n,e){return n&&En(n,xn(e))}function Ie(n,e){return n>e}function Tn(n,e){return ne||o&&a&&d&&!u&&!f||t&&a&&d||!r&&d||!i)return 1;if(!t&&!o&&!f&&n=u)return d;var f=r[t];return d*(f=="desc"?-1:1)}}return n.index-e.index}function Se(n,e,r){e.length?e=P(e,function(o){return K(o)?function(a){return yn(a,o.length===1?o[0]:o)}:o}):e=[j];var t=-1;e=P(e,ie(L));var i=Rn(n,function(o,a,u){var d=P(e,function(f){return f(o)});return{criteria:d,index:++t,value:o}});return Me(i,function(o,a){return Pe(o,a,r)})}function Fe(n,e){return Te(n,e,function(r,t){return Kn(n,t)})}var V=me(function(n,e){return n==null?{}:Fe(n,e)}),Ae=Math.ceil,Be=Math.max;function Ge(n,e,r,t){for(var i=-1,o=Be(Ae((e-n)/(r||1)),0),a=Array(o);o--;)a[++i]=n,n+=r;return a}function Ve(n){return function(e,r,t){return t&&typeof t!="number"&&B(e,r,t)&&(r=t=void 0),e=S(e),r===void 0?(r=e,e=0):r=S(r),t=t===void 0?e1&&B(n,e[0],e[1])?e=[]:r>2&&B(e[0],e[1],e[2])&&(e=[e[0]]),Se(n,gn(e),[])}),Ye=0;function en(n){var e=++Ye;return jn(n)+e}function De(n,e,r){for(var t=-1,i=n.length,o=e.length,a={};++t0;--u)if(a=e[u].dequeue(),a){t=t.concat(q(n,e,r,a,!0));break}}}return t}function q(n,e,r,t,i){var o=i?[]:void 0;return s(n.inEdges(t.v),function(a){var u=n.edge(a),d=n.node(a.v);i&&o.push({v:a.v,w:a.w}),d.out-=u,J(e,r,d)}),s(n.outEdges(t.v),function(a){var u=n.edge(a),d=a.w,f=n.node(d);f.in-=u,J(e,r,f)}),n.removeNode(t.v),o}function Ue(n,e){var r=new x,t=0,i=0;s(n.nodes(),function(u){r.setNode(u,{v:u,in:0,out:0})}),s(n.edges(),function(u){var d=r.edge(u.v,u.w)||0,f=e(u),c=d+f;r.setEdge(u.v,u.w,c),i=Math.max(i,r.node(u.v).out+=f),t=Math.max(t,r.node(u.w).in+=f)});var o=N(i+t+3).map(function(){return new qe}),a=t+1;return s(r.nodes(),function(u){J(o,a,r.node(u))}),{graph:r,buckets:o,zeroIdx:a}}function J(n,e,r){r.out?r.in?n[r.out-r.in+e].enqueue(r):n[n.length-1].enqueue(r):n[0].enqueue(r)}function Je(n){var e=n.graph().acyclicer==="greedy"?Xe(n,r(n)):Ke(n);s(e,function(t){var i=n.edge(t);n.removeEdge(t),i.forwardName=t.name,i.reversed=!0,n.setEdge(t.w,t.v,i,en("rev"))});function r(t){return function(i){return t.edge(i).weight}}}function Ke(n){var e=[],r={},t={};function i(o){w(t,o)||(t[o]=!0,r[o]=!0,s(n.outEdges(o),function(a){w(r,a.w)?e.push(a):i(a.w)}),delete r[o])}return s(n.nodes(),i),e}function je(n){s(n.edges(),function(e){var r=n.edge(e);if(r.reversed){n.removeEdge(e);var t=r.forwardName;delete r.reversed,delete r.forwardName,n.setEdge(e.w,e.v,r,t)}})}function C(n,e,r,t){var i;do i=en(t);while(n.hasNode(i));return r.dummy=e,n.setNode(i,r),i}function Ze(n){var e=new x().setGraph(n.graph());return s(n.nodes(),function(r){e.setNode(r,n.node(r))}),s(n.edges(),function(r){var t=e.edge(r.v,r.w)||{weight:0,minlen:1},i=n.edge(r);e.setEdge(r.v,r.w,{weight:t.weight+i.weight,minlen:Math.max(t.minlen,i.minlen)})}),e}function Mn(n){var e=new x({multigraph:n.isMultigraph()}).setGraph(n.graph());return s(n.nodes(),function(r){n.children(r).length||e.setNode(r,n.node(r))}),s(n.edges(),function(r){e.setEdge(r,n.edge(r))}),e}function sn(n,e){var r=n.x,t=n.y,i=e.x-r,o=e.y-t,a=n.width/2,u=n.height/2;if(!i&&!o)throw new Error("Not possible to find intersection inside of the rectangle");var d,f;return Math.abs(o)*a>Math.abs(i)*u?(o<0&&(u=-u),d=u*i/o,f=u):(i<0&&(a=-a),d=a,f=a*o/i),{x:r+d,y:t+f}}function $(n){var e=m(N(On(n)+1),function(){return[]});return s(n.nodes(),function(r){var t=n.node(r),i=t.rank;g(i)||(e[i][t.order]=r)}),e}function Qe(n){var e=R(m(n.nodes(),function(r){return n.node(r).rank}));s(n.nodes(),function(r){var t=n.node(r);w(t,"rank")&&(t.rank-=e)})}function nr(n){var e=R(m(n.nodes(),function(o){return n.node(o).rank})),r=[];s(n.nodes(),function(o){var a=n.node(o).rank-e;r[a]||(r[a]=[]),r[a].push(o)});var t=0,i=n.graph().nodeRankFactor;s(r,function(o,a){g(o)&&a%i!==0?--t:t&&s(o,function(u){n.node(u).rank+=t})})}function cn(n,e,r,t){var i={width:0,height:0};return arguments.length>=4&&(i.rank=r,i.order=t),C(n,"border",i,e)}function On(n){return E(m(n.nodes(),function(e){var r=n.node(e).rank;if(!g(r))return r}))}function er(n,e){var r={lhs:[],rhs:[]};return s(n,function(t){e(t)?r.lhs.push(t):r.rhs.push(t)}),r}function rr(n,e){return e()}function tr(n){function e(r){var t=n.children(r),i=n.node(r);if(t.length&&s(t,e),w(i,"minRank")){i.borderLeft=[],i.borderRight=[];for(var o=i.minRank,a=i.maxRank+1;oa.lim&&(u=a,d=!0);var f=M(e.edges(),function(c){return d===vn(n,n.node(c.v),u)&&d!==vn(n,n.node(c.w),u)});return nn(f,function(c){return T(e,c)})}function Dn(n,e,r,t){var i=r.v,o=r.w;n.removeEdge(i,o),n.setEdge(t.v,t.w,{}),an(n),tn(n,e),br(n,e)}function br(n,e){var r=Z(n.nodes(),function(i){return!e.node(i).parent}),t=wr(n,r);t=t.slice(1),s(t,function(i){var o=n.node(i).parent,a=e.edge(i,o),u=!1;a||(a=e.edge(o,i),u=!0),e.node(i).rank=e.node(o).rank+(u?a.minlen:-a.minlen)})}function gr(n,e,r){return n.hasEdge(e,r)}function vn(n,e,r){return r.low<=e.lim&&e.lim<=r.lim}function xr(n){switch(n.graph().ranker){case"network-simplex":pn(n);break;case"tight-tree":kr(n);break;case"longest-path":Er(n);break;default:pn(n)}}var Er=rn;function kr(n){rn(n),Sn(n)}function pn(n){k(n)}function yr(n){var e=C(n,"root",{},"_root"),r=Nr(n),t=E(y(r))-1,i=2*t+1;n.graph().nestingRoot=e,s(n.edges(),function(a){n.edge(a).minlen*=i});var o=Lr(n)+1;s(n.children(),function(a){$n(n,e,i,o,t,r,a)}),n.graph().nodeRankFactor=i}function $n(n,e,r,t,i,o,a){var u=n.children(a);if(!u.length){a!==e&&n.setEdge(e,a,{weight:0,minlen:r});return}var d=cn(n,"_bt"),f=cn(n,"_bb"),c=n.node(a);n.setParent(d,a),c.borderTop=d,n.setParent(f,a),c.borderBottom=f,s(u,function(h){$n(n,e,r,t,i,o,h);var l=n.node(h),v=l.borderTop?l.borderTop:h,p=l.borderBottom?l.borderBottom:h,b=l.borderTop?t:2*t,I=v!==p?1:i-o[a]+1;n.setEdge(d,v,{weight:b,minlen:I,nestingEdge:!0}),n.setEdge(p,f,{weight:b,minlen:I,nestingEdge:!0})}),n.parent(a)||n.setEdge(e,d,{weight:0,minlen:i+o[a]})}function Nr(n){var e={};function r(t,i){var o=n.children(t);o&&o.length&&s(o,function(a){r(a,i+1)}),e[t]=i}return s(n.children(),function(t){r(t,1)}),e}function Lr(n){return Y(n.edges(),function(e,r){return e+n.edge(r).weight},0)}function _r(n){var e=n.graph();n.removeNode(e.nestingRoot),delete e.nestingRoot,s(n.edges(),function(r){var t=n.edge(r);t.nestingEdge&&n.removeEdge(r)})}function Cr(n,e,r){var t={},i;s(r,function(o){for(var a=n.parent(o),u,d;a;){if(u=n.parent(a),u?(d=t[u],t[u]=a):(d=i,i=a),d&&d!==a){e.setEdge(d,a);return}a=u}})}function Ir(n,e,r){var t=Rr(n),i=new x({compound:!0}).setGraph({root:t}).setDefaultNodeLabel(function(o){return n.node(o)});return s(n.nodes(),function(o){var a=n.node(o),u=n.parent(o);(a.rank===e||a.minRank<=e&&e<=a.maxRank)&&(i.setNode(o),i.setParent(o,u||t),s(n[r](o),function(d){var f=d.v===o?d.w:d.v,c=i.edge(f,o),h=g(c)?0:c.weight;i.setEdge(f,o,{weight:n.edge(d).weight+h})}),w(a,"minRank")&&i.setNode(o,{borderLeft:a.borderLeft[e],borderRight:a.borderRight[e]}))}),i}function Rr(n){for(var e;n.hasNode(e=en("_root")););return e}function Tr(n,e){for(var r=0,t=1;t0;)c%2&&(h+=u[c+1]),c=c-1>>1,u[c]+=f.weight;d+=f.weight*h})),d}function Or(n){var e={},r=M(n.nodes(),function(u){return!n.children(u).length}),t=E(m(r,function(u){return n.node(u).rank})),i=m(N(t+1),function(){return[]});function o(u){if(!w(e,u)){e[u]=!0;var d=n.node(u);i[d.rank].push(u),s(n.successors(u),o)}}var a=O(r,function(u){return n.node(u).rank});return s(a,o),i}function Pr(n,e){return m(e,function(r){var t=n.inEdges(r);if(t.length){var i=Y(t,function(o,a){var u=n.edge(a),d=n.node(a.v);return{sum:o.sum+u.weight*d.order,weight:o.weight+u.weight}},{sum:0,weight:0});return{v:r,barycenter:i.sum/i.weight,weight:i.weight}}else return{v:r}})}function Sr(n,e){var r={};s(n,function(i,o){var a=r[i.v]={indegree:0,in:[],out:[],vs:[i.v],i:o};g(i.barycenter)||(a.barycenter=i.barycenter,a.weight=i.weight)}),s(e.edges(),function(i){var o=r[i.v],a=r[i.w];!g(o)&&!g(a)&&(a.indegree++,o.out.push(r[i.w]))});var t=M(r,function(i){return!i.indegree});return Fr(t)}function Fr(n){var e=[];function r(o){return function(a){a.merged||(g(a.barycenter)||g(o.barycenter)||a.barycenter>=o.barycenter)&&Ar(o,a)}}function t(o){return function(a){a.in.push(o),--a.indegree===0&&n.push(a)}}for(;n.length;){var i=n.pop();e.push(i),s(i.in.reverse(),r(i)),s(i.out,t(i))}return m(M(e,function(o){return!o.merged}),function(o){return V(o,["vs","i","barycenter","weight"])})}function Ar(n,e){var r=0,t=0;n.weight&&(r+=n.barycenter*n.weight,t+=n.weight),e.weight&&(r+=e.barycenter*e.weight,t+=e.weight),n.vs=e.vs.concat(n.vs),n.barycenter=r/t,n.weight=t,n.i=Math.min(e.i,n.i),e.merged=!0}function Br(n,e){var r=er(n,function(c){return w(c,"barycenter")}),t=r.lhs,i=O(r.rhs,function(c){return-c.i}),o=[],a=0,u=0,d=0;t.sort(Gr(!!e)),d=wn(o,i,d),s(t,function(c){d+=c.vs.length,o.push(c.vs),a+=c.barycenter*c.weight,u+=c.weight,d=wn(o,i,d)});var f={vs:_(o)};return u&&(f.barycenter=a/u,f.weight=u),f}function wn(n,e,r){for(var t;e.length&&(t=G(e)).i<=r;)e.pop(),n.push(t.vs),r++;return r}function Gr(n){return function(e,r){return e.barycenterr.barycenter?1:n?r.i-e.i:e.i-r.i}}function qn(n,e,r,t){var i=n.children(e),o=n.node(e),a=o?o.borderLeft:void 0,u=o?o.borderRight:void 0,d={};a&&(i=M(i,function(p){return p!==a&&p!==u}));var f=Pr(n,i);s(f,function(p){if(n.children(p.v).length){var b=qn(n,p.v,r,t);d[p.v]=b,w(b,"barycenter")&&Yr(p,b)}});var c=Sr(f,r);Vr(c,d);var h=Br(c,t);if(a&&(h.vs=_([a,h.vs,u]),n.predecessors(a).length)){var l=n.node(n.predecessors(a)[0]),v=n.node(n.predecessors(u)[0]);w(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+l.order+v.order)/(h.weight+2),h.weight+=2}return h}function Vr(n,e){s(n,function(r){r.vs=_(r.vs.map(function(t){return e[t]?e[t].vs:t}))})}function Yr(n,e){g(n.barycenter)?(n.barycenter=e.barycenter,n.weight=e.weight):(n.barycenter=(n.barycenter*n.weight+e.barycenter*e.weight)/(n.weight+e.weight),n.weight+=e.weight)}function Dr(n){var e=On(n),r=mn(n,N(1,e+1),"inEdges"),t=mn(n,N(e-1,-1,-1),"outEdges"),i=Or(n);bn(n,i);for(var o=Number.POSITIVE_INFINITY,a,u=0,d=0;d<4;++u,++d){$r(u%2?r:t,u%4>=2),i=$(n);var f=Tr(n,i);fa||u>e[d].lim));for(f=d,d=t;(d=n.parent(d))!==f;)o.push(d);return{path:i.concat(o.reverse()),lca:f}}function zr(n){var e={},r=0;function t(i){var o=r;s(n.children(i),t),e[i]={low:o,lim:r++}}return s(n.children(),t),e}function Xr(n,e){var r={};function t(i,o){var a=0,u=0,d=i.length,f=G(o);return s(o,function(c,h){var l=Ur(n,c),v=l?n.node(l).order:d;(l||c===f)&&(s(o.slice(u,h+1),function(p){s(n.predecessors(p),function(b){var I=n.node(b),on=I.order;(onf)&&Wn(r,l,c)})})}function i(o,a){var u=-1,d,f=0;return s(a,function(c,h){if(n.node(c).dummy==="border"){var l=n.predecessors(c);l.length&&(d=n.node(l[0]).order,t(a,f,h,u,d),f=h,u=d)}t(a,f,a.length,d,o.length)}),a}return Y(e,i),r}function Ur(n,e){if(n.node(e).dummy)return Z(n.predecessors(e),function(r){return n.node(r).dummy})}function Wn(n,e,r){if(e>r){var t=e;e=r,r=t}var i=n[e];i||(n[e]=i={}),i[r]=!0}function Jr(n,e,r){if(e>r){var t=e;e=r,r=t}return w(n[e],r)}function Kr(n,e,r,t){var i={},o={},a={};return s(e,function(u){s(u,function(d,f){i[d]=d,o[d]=d,a[d]=f})}),s(e,function(u){var d=-1;s(u,function(f){var c=t(f);if(c.length){c=O(c,function(b){return a[b]});for(var h=(c.length-1)/2,l=Math.floor(h),v=Math.ceil(h);l<=v;++l){var p=c[l];o[f]===f&&dt?1:n>=t?0:NaN}function hn(n,t){return n==null||t==null?NaN:tn?1:t>=n?0:NaN}function Q(n){let t,e,r;n.length!==2?(t=F,e=(u,c)=>F(n(u),c),r=(u,c)=>n(u)-c):(t=n===F||n===hn?n:mn,e=n,r=n);function i(u,c,o=0,s=u.length){if(o>>1;e(u[h],c)<0?o=h+1:s=h}while(o>>1;e(u[h],c)<=0?o=h+1:s=h}while(oo&&r(u[h-1],c)>-r(u[h],c)?h-1:h}return{left:i,center:a,right:f}}function mn(){return 0}function ln(n){return n===null?NaN:+n}const sn=Q(F),dn=sn.right;Q(ln).center;const gn=Math.sqrt(50),yn=Math.sqrt(10),Mn=Math.sqrt(2);function R(n,t,e){const r=(t-n)/Math.max(0,e),i=Math.floor(Math.log10(r)),f=r/Math.pow(10,i),a=f>=gn?10:f>=yn?5:f>=Mn?2:1;let u,c,o;return i<0?(o=Math.pow(10,-i)/a,u=Math.round(n*o),c=Math.round(t*o),u/ot&&--c,o=-o):(o=Math.pow(10,i)*a,u=Math.round(n/o),c=Math.round(t/o),u*ot&&--c),c0))return[];if(n===t)return[n];const r=t=i))return[];const u=f-i+1,c=new Array(u);if(r)if(a<0)for(let o=0;o=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function E(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,r=n.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+n.slice(e+1)]}function v(n){return n=E(Math.abs(n)),n?n[1]:NaN}function jn(n,t){return function(e,r){for(var i=e.length,f=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),f.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return f.reverse().join(t)}}function Pn(n){return function(t){return t.replace(/[0-9]/g,function(e){return n[+e]})}}var zn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=zn.exec(n)))throw new Error("invalid format: "+n);var t;return new X({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}D.prototype=X.prototype;function X(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}X.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function $n(n){n:for(var t=n.length,e=1,r=-1,i;e0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(i+1):n}var nn;function Fn(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1],f=i-(nn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return f===a?r:f>a?r+new Array(f-a+1).join("0"):f>0?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+E(n,Math.max(0,t+f-1))[0]}function U(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const W={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:bn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>U(n*100,t),r:U,s:Fn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function _(n){return n}var H=Array.prototype.map,J=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rn(n){var t=n.grouping===void 0||n.thousands===void 0?_:jn(H.call(n.grouping,Number),n.thousands+""),e=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",i=n.decimal===void 0?".":n.decimal+"",f=n.numerals===void 0?_:Pn(H.call(n.numerals,String)),a=n.percent===void 0?"%":n.percent+"",u=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function o(h){h=D(h);var l=h.fill,p=h.align,y=h.sign,S=h.symbol,k=h.zero,b=h.width,T=h.comma,w=h.precision,B=h.trim,d=h.type;d==="n"?(T=!0,d="g"):W[d]||(w===void 0&&(w=12),B=!0,d="g"),(k||l==="0"&&p==="=")&&(k=!0,l="0",p="=");var en=S==="$"?e:S==="#"&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",on=S==="$"?r:/[%p]/.test(d)?a:"",G=W[d],an=/[defgprs%]/.test(d);w=w===void 0?6:/[gprs]/.test(d)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function O(m){var N=en,g=on,x,V,j;if(d==="c")g=G(m)+g,m="";else{m=+m;var P=m<0||1/m<0;if(m=isNaN(m)?c:G(Math.abs(m),w),B&&(m=$n(m)),P&&+m==0&&y!=="+"&&(P=!1),N=(P?y==="("?y:u:y==="-"||y==="("?"":y)+N,g=(d==="s"?J[8+nn/3]:"")+g+(P&&y==="("?")":""),an){for(x=-1,V=m.length;++xj||j>57){g=(j===46?i+m.slice(x+1):m.slice(x))+g,m=m.slice(0,x);break}}}T&&!k&&(m=t(m,1/0));var z=N.length+m.length+g.length,M=z>1)+N+m+g+M.slice(z);break;default:m=M+N+m+g;break}return f(m)}return O.toString=function(){return h+""},O}function s(h,l){var p=o((h=D(h),h.type="f",h)),y=Math.max(-8,Math.min(8,Math.floor(v(l)/3)))*3,S=Math.pow(10,-y),k=J[8+y/3];return function(b){return p(S*b)+k}}return{format:o,formatPrefix:s}}var $,tn,rn;En({thousands:",",grouping:[3],currency:["$",""]});function En(n){return $=Rn(n),tn=$.format,rn=$.formatPrefix,$}function Dn(n){return Math.max(0,-v(Math.abs(n)))}function Tn(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(v(t)/3)))*3-v(Math.abs(n)))}function In(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,v(t)-v(n))+1}function Ln(n){return function(){return n}}function qn(n){return+n}var K=[0,1];function A(n){return n}function q(n,t){return(t-=n=+n)?function(e){return(e-n)/t}:Ln(isNaN(t)?NaN:.5)}function Cn(n,t){var e;return n>t&&(e=n,n=t,t=e),function(r){return Math.max(n,Math.min(t,r))}}function Xn(n,t,e){var r=n[0],i=n[1],f=t[0],a=t[1];return i2?Bn:Xn,c=o=null,h}function h(l){return l==null||isNaN(l=+l)?f:(c||(c=u(n.map(r),t,e)))(r(a(l)))}return h.invert=function(l){return a(i((o||(o=u(t,n.map(r),I)))(l)))},h.domain=function(l){return arguments.length?(n=Array.from(l,qn),s()):n.slice()},h.range=function(l){return arguments.length?(t=Array.from(l),s()):t.slice()},h.rangeRound=function(l){return t=Array.from(l),e=Sn,s()},h.clamp=function(l){return arguments.length?(a=l?!0:A,s()):a!==A},h.interpolate=function(l){return arguments.length?(e=l,s()):e},h.unknown=function(l){return arguments.length?(f=l,h):f},function(l,p){return r=l,i=p,s()}}function Vn(){return On()(A,A)}function Yn(n,t,e,r){var i=wn(n,t,e),f;switch(r=D(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(f=Tn(i,a))&&(r.precision=f),rn(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=In(i,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=Dn(i))&&(r.precision=f-(r.type==="%")*2);break}}return tn(r)}function Zn(n){var t=n.domain;return n.ticks=function(e){var r=t();return pn(r[0],r[r.length-1],e??10)},n.tickFormat=function(e,r){var i=t();return Yn(i[0],i[i.length-1],e??10,r)},n.nice=function(e){e==null&&(e=10);var r=t(),i=0,f=r.length-1,a=r[i],u=r[f],c,o,s=10;for(u0;){if(o=L(a,u,e),o===c)return r[i]=a,r[f]=u,t(r);if(o>0)a=Math.floor(a/o)*o,u=Math.ceil(u/o)*o;else if(o<0)a=Math.ceil(a*o)/o,u=Math.floor(u*o)/o;else break;c=o}return n},n}function Un(){var n=Vn();return n.copy=function(){return Gn(n,Un())},cn.apply(n,arguments),Zn(n)}export{Gn as a,Q as b,Vn as c,Un as l,wn as t}; +import{W as un,X as I,Y,Z,_ as fn}from"./mermaid.core-BAvrjf3l.js";import{i as cn}from"./init-Gi6I4Gst.js";function F(n,t){return n==null||t==null?NaN:nt?1:n>=t?0:NaN}function hn(n,t){return n==null||t==null?NaN:tn?1:t>=n?0:NaN}function Q(n){let t,e,r;n.length!==2?(t=F,e=(u,c)=>F(n(u),c),r=(u,c)=>n(u)-c):(t=n===F||n===hn?n:mn,e=n,r=n);function i(u,c,o=0,s=u.length){if(o>>1;e(u[h],c)<0?o=h+1:s=h}while(o>>1;e(u[h],c)<=0?o=h+1:s=h}while(oo&&r(u[h-1],c)>-r(u[h],c)?h-1:h}return{left:i,center:a,right:f}}function mn(){return 0}function ln(n){return n===null?NaN:+n}const sn=Q(F),dn=sn.right;Q(ln).center;const gn=Math.sqrt(50),yn=Math.sqrt(10),Mn=Math.sqrt(2);function R(n,t,e){const r=(t-n)/Math.max(0,e),i=Math.floor(Math.log10(r)),f=r/Math.pow(10,i),a=f>=gn?10:f>=yn?5:f>=Mn?2:1;let u,c,o;return i<0?(o=Math.pow(10,-i)/a,u=Math.round(n*o),c=Math.round(t*o),u/ot&&--c,o=-o):(o=Math.pow(10,i)*a,u=Math.round(n/o),c=Math.round(t/o),u*ot&&--c),c0))return[];if(n===t)return[n];const r=t=i))return[];const u=f-i+1,c=new Array(u);if(r)if(a<0)for(let o=0;o=1e21?n.toLocaleString("en").replace(/,/g,""):n.toString(10)}function E(n,t){if((e=(n=t?n.toExponential(t-1):n.toExponential()).indexOf("e"))<0)return null;var e,r=n.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+n.slice(e+1)]}function v(n){return n=E(Math.abs(n)),n?n[1]:NaN}function jn(n,t){return function(e,r){for(var i=e.length,f=[],a=0,u=n[0],c=0;i>0&&u>0&&(c+u+1>r&&(u=Math.max(1,r-c)),f.push(e.substring(i-=u,i+u)),!((c+=u+1)>r));)u=n[a=(a+1)%n.length];return f.reverse().join(t)}}function Pn(n){return function(t){return t.replace(/[0-9]/g,function(e){return n[+e]})}}var zn=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function D(n){if(!(t=zn.exec(n)))throw new Error("invalid format: "+n);var t;return new X({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}D.prototype=X.prototype;function X(n){this.fill=n.fill===void 0?" ":n.fill+"",this.align=n.align===void 0?">":n.align+"",this.sign=n.sign===void 0?"-":n.sign+"",this.symbol=n.symbol===void 0?"":n.symbol+"",this.zero=!!n.zero,this.width=n.width===void 0?void 0:+n.width,this.comma=!!n.comma,this.precision=n.precision===void 0?void 0:+n.precision,this.trim=!!n.trim,this.type=n.type===void 0?"":n.type+""}X.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function $n(n){n:for(var t=n.length,e=1,r=-1,i;e0&&(r=0);break}return r>0?n.slice(0,r)+n.slice(i+1):n}var nn;function Fn(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1],f=i-(nn=Math.max(-8,Math.min(8,Math.floor(i/3)))*3)+1,a=r.length;return f===a?r:f>a?r+new Array(f-a+1).join("0"):f>0?r.slice(0,f)+"."+r.slice(f):"0."+new Array(1-f).join("0")+E(n,Math.max(0,t+f-1))[0]}function U(n,t){var e=E(n,t);if(!e)return n+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}const W={"%":(n,t)=>(n*100).toFixed(t),b:n=>Math.round(n).toString(2),c:n=>n+"",d:bn,e:(n,t)=>n.toExponential(t),f:(n,t)=>n.toFixed(t),g:(n,t)=>n.toPrecision(t),o:n=>Math.round(n).toString(8),p:(n,t)=>U(n*100,t),r:U,s:Fn,X:n=>Math.round(n).toString(16).toUpperCase(),x:n=>Math.round(n).toString(16)};function _(n){return n}var H=Array.prototype.map,J=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Rn(n){var t=n.grouping===void 0||n.thousands===void 0?_:jn(H.call(n.grouping,Number),n.thousands+""),e=n.currency===void 0?"":n.currency[0]+"",r=n.currency===void 0?"":n.currency[1]+"",i=n.decimal===void 0?".":n.decimal+"",f=n.numerals===void 0?_:Pn(H.call(n.numerals,String)),a=n.percent===void 0?"%":n.percent+"",u=n.minus===void 0?"−":n.minus+"",c=n.nan===void 0?"NaN":n.nan+"";function o(h){h=D(h);var l=h.fill,p=h.align,y=h.sign,S=h.symbol,k=h.zero,b=h.width,T=h.comma,w=h.precision,B=h.trim,d=h.type;d==="n"?(T=!0,d="g"):W[d]||(w===void 0&&(w=12),B=!0,d="g"),(k||l==="0"&&p==="=")&&(k=!0,l="0",p="=");var en=S==="$"?e:S==="#"&&/[boxX]/.test(d)?"0"+d.toLowerCase():"",on=S==="$"?r:/[%p]/.test(d)?a:"",G=W[d],an=/[defgprs%]/.test(d);w=w===void 0?6:/[gprs]/.test(d)?Math.max(1,Math.min(21,w)):Math.max(0,Math.min(20,w));function O(m){var N=en,g=on,x,V,j;if(d==="c")g=G(m)+g,m="";else{m=+m;var P=m<0||1/m<0;if(m=isNaN(m)?c:G(Math.abs(m),w),B&&(m=$n(m)),P&&+m==0&&y!=="+"&&(P=!1),N=(P?y==="("?y:u:y==="-"||y==="("?"":y)+N,g=(d==="s"?J[8+nn/3]:"")+g+(P&&y==="("?")":""),an){for(x=-1,V=m.length;++xj||j>57){g=(j===46?i+m.slice(x+1):m.slice(x))+g,m=m.slice(0,x);break}}}T&&!k&&(m=t(m,1/0));var z=N.length+m.length+g.length,M=z>1)+N+m+g+M.slice(z);break;default:m=M+N+m+g;break}return f(m)}return O.toString=function(){return h+""},O}function s(h,l){var p=o((h=D(h),h.type="f",h)),y=Math.max(-8,Math.min(8,Math.floor(v(l)/3)))*3,S=Math.pow(10,-y),k=J[8+y/3];return function(b){return p(S*b)+k}}return{format:o,formatPrefix:s}}var $,tn,rn;En({thousands:",",grouping:[3],currency:["$",""]});function En(n){return $=Rn(n),tn=$.format,rn=$.formatPrefix,$}function Dn(n){return Math.max(0,-v(Math.abs(n)))}function Tn(n,t){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(v(t)/3)))*3-v(Math.abs(n)))}function In(n,t){return n=Math.abs(n),t=Math.abs(t)-n,Math.max(0,v(t)-v(n))+1}function Ln(n){return function(){return n}}function qn(n){return+n}var K=[0,1];function A(n){return n}function q(n,t){return(t-=n=+n)?function(e){return(e-n)/t}:Ln(isNaN(t)?NaN:.5)}function Cn(n,t){var e;return n>t&&(e=n,n=t,t=e),function(r){return Math.max(n,Math.min(t,r))}}function Xn(n,t,e){var r=n[0],i=n[1],f=t[0],a=t[1];return i2?Bn:Xn,c=o=null,h}function h(l){return l==null||isNaN(l=+l)?f:(c||(c=u(n.map(r),t,e)))(r(a(l)))}return h.invert=function(l){return a(i((o||(o=u(t,n.map(r),I)))(l)))},h.domain=function(l){return arguments.length?(n=Array.from(l,qn),s()):n.slice()},h.range=function(l){return arguments.length?(t=Array.from(l),s()):t.slice()},h.rangeRound=function(l){return t=Array.from(l),e=Sn,s()},h.clamp=function(l){return arguments.length?(a=l?!0:A,s()):a!==A},h.interpolate=function(l){return arguments.length?(e=l,s()):e},h.unknown=function(l){return arguments.length?(f=l,h):f},function(l,p){return r=l,i=p,s()}}function Vn(){return On()(A,A)}function Yn(n,t,e,r){var i=wn(n,t,e),f;switch(r=D(r??",f"),r.type){case"s":{var a=Math.max(Math.abs(n),Math.abs(t));return r.precision==null&&!isNaN(f=Tn(i,a))&&(r.precision=f),rn(r,a)}case"":case"e":case"g":case"p":case"r":{r.precision==null&&!isNaN(f=In(i,Math.max(Math.abs(n),Math.abs(t))))&&(r.precision=f-(r.type==="e"));break}case"f":case"%":{r.precision==null&&!isNaN(f=Dn(i))&&(r.precision=f-(r.type==="%")*2);break}}return tn(r)}function Zn(n){var t=n.domain;return n.ticks=function(e){var r=t();return pn(r[0],r[r.length-1],e??10)},n.tickFormat=function(e,r){var i=t();return Yn(i[0],i[i.length-1],e??10,r)},n.nice=function(e){e==null&&(e=10);var r=t(),i=0,f=r.length-1,a=r[i],u=r[f],c,o,s=10;for(u0;){if(o=L(a,u,e),o===c)return r[i]=a,r[f]=u,t(r);if(o>0)a=Math.floor(a/o)*o,u=Math.ceil(u/o)*o;else if(o<0)a=Math.ceil(a*o)/o,u=Math.floor(u*o)/o;else break;c=o}return n},n}function Un(){var n=Vn();return n.copy=function(){return Gn(n,Un())},cn.apply(n,arguments),Zn(n)}export{Gn as a,Q as b,Vn as c,Un as l,wn as t}; diff --git a/starter/src/main/resources/static/notebase/assets/mermaid.core-FIymlv9x.js b/deploy/server/notebase/assets/mermaid.core-BAvrjf3l.js similarity index 98% rename from starter/src/main/resources/static/notebase/assets/mermaid.core-FIymlv9x.js rename to deploy/server/notebase/assets/mermaid.core-BAvrjf3l.js index bf11f6eac8..5771a44934 100644 --- a/starter/src/main/resources/static/notebase/assets/mermaid.core-FIymlv9x.js +++ b/deploy/server/notebase/assets/mermaid.core-BAvrjf3l.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/c4Diagram-3d4e48cf-DXb0Vwol.js","assets/svgDrawCommon-08f97a94-DNtJ_ALA.js","assets/index-BtAN2wrW.js","assets/index-BSK517PL.css","assets/flowDiagram-66a62f08-DWMBDtsb.js","assets/flowDb-956e92f1-DjKrptK2.js","assets/graph-BpOdqLUS.js","assets/layout-CU5MaBZ2.js","assets/styles-c10674c1-C0PgCO5e.js","assets/index-3862675e-BiX2WQe8.js","assets/clone-BGk7b5r6.js","assets/edges-e0da2a9e-Z33Rjibo.js","assets/createText-2e5e7dd3-DizPWu1a.js","assets/line-SEOZUXIE.js","assets/array-BKyUJesY.js","assets/path-CbwjOpE9.js","assets/channel-yOhp9TGv.js","assets/flowDiagram-v2-96b9c2cf-CYQK_b-U.js","assets/erDiagram-9861fffd-CezLaDTC.js","assets/gitGraphDiagram-72cf32ee-BKWlzQDH.js","assets/ganttDiagram-c361ad54-DHboeplh.js","assets/linear-BhlQwjXr.js","assets/init-Gi6I4Gst.js","assets/infoDiagram-f8f76790-BgNjqXTg.js","assets/pieDiagram-8a3498a8-DTgB9XFG.js","assets/arc-Dg9FQBDn.js","assets/ordinal-Cboi1Yqb.js","assets/quadrantDiagram-120e2f19-CEZXRsAL.js","assets/xychartDiagram-e933f94c-Due0eqh6.js","assets/requirementDiagram-deff3bca-BqGhi4kj.js","assets/sequenceDiagram-704730f1-Ba9F8Hxw.js","assets/classDiagram-70f12bd4-DWxTvJIz.js","assets/styles-9a916d00-BKnCP0aD.js","assets/classDiagram-v2-f2320105-BoU4YYt4.js","assets/stateDiagram-587899a1-4KpkWWuI.js","assets/styles-6aaf32cf-Du_J7c8r.js","assets/stateDiagram-v2-d93cdb3a-BZ7uT5cn.js","assets/journeyDiagram-49397b02-CHlnvB_A.js","assets/flowchart-elk-definition-4a651766-BBAk_N-v.js","assets/timeline-definition-85554ec2-DAuyT-Du.js","assets/mindmap-definition-fc14e90a-DPIrb4jY.js","assets/sankeyDiagram-04a897e0-C5f10lDs.js","assets/Tableau10-B-NsZVaP.js","assets/blockDiagram-38ab4fdb-DUbFopgE.js"])))=>i.map(i=>d[i]); -import{o as Ua,i as Mo,b as Si,c as wi,t as le,d as Io,M as cr,e as Ya,f as Va,h as ja,j as Ga,k as Xa,l as Oo,m as Ka,n as Za,s as Qa,p as Ja,q as tl,_ as I}from"./index-BtAN2wrW.js";var el=Ua(Object.keys,Object),il=Object.prototype,rl=il.hasOwnProperty;function nl(t){if(!Mo(t))return el(t);var e=[];for(var i in Object(t))rl.call(t,i)&&i!="constructor"&&e.push(i);return e}var ur=Si(wi,"DataView"),dr=Si(wi,"Promise"),fr=Si(wi,"Set"),pr=Si(wi,"WeakMap"),En="[object Map]",ol="[object Object]",Mn="[object Promise]",In="[object Set]",On="[object WeakMap]",Dn="[object DataView]",sl=le(ur),al=le(cr),ll=le(dr),hl=le(fr),cl=le(pr),Ot=Io;(ur&&Ot(new ur(new ArrayBuffer(1)))!=Dn||cr&&Ot(new cr)!=En||dr&&Ot(dr.resolve())!=Mn||fr&&Ot(new fr)!=In||pr&&Ot(new pr)!=On)&&(Ot=function(t){var e=Io(t),i=e==ol?t.constructor:void 0,r=i?le(i):"";if(r)switch(r){case sl:return Dn;case al:return En;case ll:return Mn;case hl:return In;case cl:return On}return e});var ul="[object Map]",dl="[object Set]",fl=Object.prototype,pl=fl.hasOwnProperty;function Zi(t){if(t==null)return!0;if(Ya(t)&&(Va(t)||typeof t=="string"||typeof t.splice=="function"||ja(t)||Ga(t)||Xa(t)))return!t.length;var e=Ot(t);if(e==ul||e==dl)return!t.size;if(Mo(t))return!nl(t).length;for(var i in t)if(pl.call(t,i))return!1;return!0}var gl="Expected a function";function Re(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(gl);var i=function(){var r=arguments,n=e?e.apply(this,r):r[0],o=i.cache;if(o.has(n))return o.get(n);var s=t.apply(this,r);return i.cache=o.set(n,s)||o,s};return i.cache=new(Re.Cache||Oo),i}Re.Cache=Oo;function ml(t){for(var e=[],i=1;ii.map(i=>d[i]); +import{o as Ua,i as Mo,b as Si,c as wi,t as le,d as Io,M as cr,e as Ya,f as Va,h as ja,j as Ga,k as Xa,l as Oo,m as Ka,n as Za,s as Qa,p as Ja,q as tl,_ as I}from"./index-D31-yJHm.js";var el=Ua(Object.keys,Object),il=Object.prototype,rl=il.hasOwnProperty;function nl(t){if(!Mo(t))return el(t);var e=[];for(var i in Object(t))rl.call(t,i)&&i!="constructor"&&e.push(i);return e}var ur=Si(wi,"DataView"),dr=Si(wi,"Promise"),fr=Si(wi,"Set"),pr=Si(wi,"WeakMap"),En="[object Map]",ol="[object Object]",Mn="[object Promise]",In="[object Set]",On="[object WeakMap]",Dn="[object DataView]",sl=le(ur),al=le(cr),ll=le(dr),hl=le(fr),cl=le(pr),Ot=Io;(ur&&Ot(new ur(new ArrayBuffer(1)))!=Dn||cr&&Ot(new cr)!=En||dr&&Ot(dr.resolve())!=Mn||fr&&Ot(new fr)!=In||pr&&Ot(new pr)!=On)&&(Ot=function(t){var e=Io(t),i=e==ol?t.constructor:void 0,r=i?le(i):"";if(r)switch(r){case sl:return Dn;case al:return En;case ll:return Mn;case hl:return In;case cl:return On}return e});var ul="[object Map]",dl="[object Set]",fl=Object.prototype,pl=fl.hasOwnProperty;function Zi(t){if(t==null)return!0;if(Ya(t)&&(Va(t)||typeof t=="string"||typeof t.splice=="function"||ja(t)||Ga(t)||Xa(t)))return!t.length;var e=Ot(t);if(e==ul||e==dl)return!t.size;if(Mo(t))return!nl(t).length;for(var i in t)if(pl.call(t,i))return!1;return!0}var gl="Expected a function";function Re(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(gl);var i=function(){var r=arguments,n=e?e.apply(this,r):r[0],o=i.cache;if(o.has(n))return o.get(n);var s=t.apply(this,r);return i.cache=o.set(n,s)||o,s};return i.cache=new(Re.Cache||Oo),i}Re.Cache=Oo;function ml(t){for(var e=[],i=1;i `:`
${r}
`).join("").replace(Sr,(r,n)=>i.renderToString(n,{throwOnError:!0,displayMode:!0,output:po()?"mathml":"htmlAndMathml"}).replace(/\n/g," ").replace(//g,""))},zr={getRows:kd,sanitizeText:De,sanitizeTextOrArray:wd,hasBreaks:Bd,splitBreaks:Ad,lineBreakRegex:ze,removeScript:Bs,getUrl:Fd,evaluate:Ls,getMax:Ed,getMin:Md},j=(t,e)=>e?f(t,{s:-40,l:10}):f(t,{s:-40,l:-10}),Ii="#ffffff",Oi="#f2f2f2";let Nd=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){var e,i,r,n,o,s,a,l,c,u,p;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||f(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||f(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||j(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||j(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||j(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||j(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||_(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||_(this.tertiaryColor),this.lineColor=this.lineColor||_(this.background),this.arrowheadColor=this.arrowheadColor||_(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?S(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||S(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||_(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||b(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||f(this.primaryColor,{h:30}),this.cScale4=this.cScale4||f(this.primaryColor,{h:60}),this.cScale5=this.cScale5||f(this.primaryColor,{h:90}),this.cScale6=this.cScale6||f(this.primaryColor,{h:120}),this.cScale7=this.cScale7||f(this.primaryColor,{h:150}),this.cScale8=this.cScale8||f(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||f(this.primaryColor,{h:270}),this.cScale10=this.cScale10||f(this.primaryColor,{h:300}),this.cScale11=this.cScale11||f(this.primaryColor,{h:330}),this.darkMode)for(let g=0;g{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}};const Rd=t=>{const e=new Nd;return e.calculate(t),e};let Pd=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=b(this.primaryColor,16),this.tertiaryColor=f(this.primaryColor,{h:-160}),this.primaryBorderColor=_(this.background),this.secondaryBorderColor=j(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=j(this.tertiaryColor,this.darkMode),this.primaryTextColor=_(this.primaryColor),this.secondaryTextColor=_(this.secondaryColor),this.tertiaryTextColor=_(this.tertiaryColor),this.lineColor=_(this.background),this.textColor=_(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=b(_("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=Be(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=S("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=S(this.sectionBkgColor,10),this.taskBorderColor=Be(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Be(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){var e,i,r,n,o,s,a,l,c,u,p;this.secondBkg=b(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=b(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=b(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=f(this.primaryColor,{h:64}),this.fillType3=f(this.secondaryColor,{h:64}),this.fillType4=f(this.primaryColor,{h:-64}),this.fillType5=f(this.secondaryColor,{h:-64}),this.fillType6=f(this.primaryColor,{h:128}),this.fillType7=f(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||f(this.primaryColor,{h:30}),this.cScale4=this.cScale4||f(this.primaryColor,{h:60}),this.cScale5=this.cScale5||f(this.primaryColor,{h:90}),this.cScale6=this.cScale6||f(this.primaryColor,{h:120}),this.cScale7=this.cScale7||f(this.primaryColor,{h:150}),this.cScale8=this.cScale8||f(this.primaryColor,{h:210}),this.cScale9=this.cScale9||f(this.primaryColor,{h:270}),this.cScale10=this.cScale10||f(this.primaryColor,{h:300}),this.cScale11=this.cScale11||f(this.primaryColor,{h:330});for(let h=0;h{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}};const qd=t=>{const e=new Pd;return e.calculate(t),e};let $d=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=f(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=f(this.primaryColor,{h:-160}),this.primaryBorderColor=j(this.primaryColor,this.darkMode),this.secondaryBorderColor=j(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=j(this.tertiaryColor,this.darkMode),this.primaryTextColor=_(this.primaryColor),this.secondaryTextColor=_(this.secondaryColor),this.tertiaryTextColor=_(this.tertiaryColor),this.lineColor=_(this.background),this.textColor=_(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=Be(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){var e,i,r,n,o,s,a,l,c,u,p;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||f(this.primaryColor,{h:30}),this.cScale4=this.cScale4||f(this.primaryColor,{h:60}),this.cScale5=this.cScale5||f(this.primaryColor,{h:90}),this.cScale6=this.cScale6||f(this.primaryColor,{h:120}),this.cScale7=this.cScale7||f(this.primaryColor,{h:150}),this.cScale8=this.cScale8||f(this.primaryColor,{h:210}),this.cScale9=this.cScale9||f(this.primaryColor,{h:270}),this.cScale10=this.cScale10||f(this.primaryColor,{h:300}),this.cScale11=this.cScale11||f(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||S(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||S(this.tertiaryColor,40);for(let h=0;h{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}};const zd=t=>{const e=new $d;return e.calculate(t),e};let Wd=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=b("#cde498",10),this.primaryBorderColor=j(this.primaryColor,this.darkMode),this.secondaryBorderColor=j(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=j(this.tertiaryColor,this.darkMode),this.primaryTextColor=_(this.primaryColor),this.secondaryTextColor=_(this.secondaryColor),this.tertiaryTextColor=_(this.primaryColor),this.lineColor=_(this.background),this.textColor=_(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var e,i,r,n,o,s,a,l,c,u,p;this.actorBorder=S(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||f(this.primaryColor,{h:30}),this.cScale4=this.cScale4||f(this.primaryColor,{h:60}),this.cScale5=this.cScale5||f(this.primaryColor,{h:90}),this.cScale6=this.cScale6||f(this.primaryColor,{h:120}),this.cScale7=this.cScale7||f(this.primaryColor,{h:150}),this.cScale8=this.cScale8||f(this.primaryColor,{h:210}),this.cScale9=this.cScale9||f(this.primaryColor,{h:270}),this.cScale10=this.cScale10||f(this.primaryColor,{h:300}),this.cScale11=this.cScale11||f(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||S(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||S(this.tertiaryColor,40);for(let h=0;h{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}};const Hd=t=>{const e=new Wd;return e.calculate(t),e};class Ud{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=b(this.contrast,55),this.background="#ffffff",this.tertiaryColor=f(this.primaryColor,{h:-160}),this.primaryBorderColor=j(this.primaryColor,this.darkMode),this.secondaryBorderColor=j(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=j(this.tertiaryColor,this.darkMode),this.primaryTextColor=_(this.primaryColor),this.secondaryTextColor=_(this.secondaryColor),this.tertiaryTextColor=_(this.tertiaryColor),this.lineColor=_(this.background),this.textColor=_(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){var e,i,r,n,o,s,a,l,c,u,p;this.secondBkg=b(this.contrast,55),this.border2=this.contrast,this.actorBorder=b(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let h=0;h{this[r]=e[r]}),this.updateColors(),i.forEach(r=>{this[r]=e[r]})}}const Yd=t=>{const e=new Ud;return e.calculate(t),e},wt={base:{getThemeVariables:Rd},dark:{getThemeVariables:qd},default:{getThemeVariables:zd},forest:{getThemeVariables:Hd},neutral:{getThemeVariables:Yd}},vt={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},theme:"default",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","maxEdges"],legacyMathML:!1,deterministicIds:!1,fontSize:16},Fs={...vt,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:wt.default.getThemeVariables(),sequence:{...vt.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...vt.gantt,tickInterval:void 0,useWidth:void 0},c4:{...vt.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...vt.pie,useWidth:984},xyChart:{...vt.xyChart,useWidth:void 0},requirement:{...vt.requirement,useWidth:void 0},gitGraph:{...vt.gitGraph,useMaxWidth:!1},sankey:{...vt.sankey,useMaxWidth:!1}},Es=(t,e="")=>Object.keys(t).reduce((i,r)=>Array.isArray(t[r])?i:typeof t[r]=="object"&&t[r]!==null?[...i,e+r,...Es(t[r],"")]:[...i,e+r],[]),Vd=new Set(Es(Fs,"")),jd=Fs,mi=t=>{if(k.debug("sanitizeDirective called with",t),!(typeof t!="object"||t==null)){if(Array.isArray(t)){t.forEach(e=>mi(e));return}for(const e of Object.keys(t)){if(k.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!Vd.has(e)||t[e]==null){k.debug("sanitize deleting key: ",e),delete t[e];continue}if(typeof t[e]=="object"){k.debug("sanitizing object",e),mi(t[e]);continue}const i=["themeCSS","fontFamily","altFontFamily"];for(const r of i)e.includes(r)&&(k.debug("sanitizing css option",e),t[e]=Gd(t[e]))}if(t.themeVariables)for(const e of Object.keys(t.themeVariables)){const i=t.themeVariables[e];i!=null&&i.match&&!i.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}k.debug("After sanitization",t)}},Gd=t=>{let e=0,i=0;for(const r of t){if(e{for(const{id:e,detector:i,loader:r}of t)Ds(e,i,r)},Ds=(t,e,i)=>{ne[t]?k.error(`Detector with key ${t} already exists`):ne[t]={detector:e,loader:i},k.debug(`Detector with key ${t} added${i?" with loader":""}`)},Kd=t=>ne[t].loader,wr=(t,e,{depth:i=2,clobber:r=!1}={})=>{const n={depth:i,clobber:r};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(o=>wr(t,o,n)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(o=>{t.includes(o)||t.push(o)}),t):t===void 0||i<=0?t!=null&&typeof t=="object"&&typeof e=="object"?Object.assign(t,e):e:(e!==void 0&&typeof t=="object"&&typeof e=="object"&&Object.keys(e).forEach(o=>{typeof e[o]=="object"&&(t[o]===void 0||typeof t[o]=="object")?(t[o]===void 0&&(t[o]=Array.isArray(e[o])?[]:{}),t[o]=wr(t[o],e[o],{depth:i-1,clobber:r})):(r||typeof t[o]!="object"&&typeof e[o]!="object")&&(t[o]=e[o])}),t)},W=wr,Zd="​",Qd={curveBasis:Ou,curveBasisClosed:Du,curveBasisOpen:Nu,curveBumpX:Mu,curveBumpY:Iu,curveBundle:Ru,curveCardinalClosed:qu,curveCardinalOpen:$u,curveCardinal:Pu,curveCatmullRomClosed:Wu,curveCatmullRomOpen:Hu,curveCatmullRom:zu,curveLinear:Eu,curveLinearClosed:Uu,curveMonotoneX:Yu,curveMonotoneY:Vu,curveNatural:ju,curveStep:Gu,curveStepAfter:Ku,curveStepBefore:Xu},Jd=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,tf=function(t,e){const i=Ns(t,/(?:init\b)|(?:initialize\b)/);let r={};if(Array.isArray(i)){const s=i.map(a=>a.args);mi(s),r=W(r,[...s])}else r=i.args;if(!r)return;let n=Di(t,e);const o="config";return r[o]!==void 0&&(n==="flowchart-v2"&&(n="flowchart"),r[n]=r[o],delete r[o]),r},Ns=function(t,e=null){try{const i=new RegExp(`[%]{2}(?![{]${Jd.source})(?=[}][%]{2}).* -`,"ig");t=t.trim().replace(i,"").replace(/'/gm,'"'),k.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let r;const n=[];for(;(r=Ae.exec(t))!==null;)if(r.index===Ae.lastIndex&&Ae.lastIndex++,r&&!e||e&&r[1]&&r[1].match(e)||e&&r[2]&&r[2].match(e)){const o=r[1]?r[1]:r[2],s=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;n.push({type:o,args:s})}return n.length===0?{type:t,args:null}:n.length===1?n[0]:n}catch(i){return k.error(`ERROR: ${i.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},ef=function(t){return t.replace(Ae,"")},rf=function(t,e){for(const[i,r]of e.entries())if(r.match(t))return i;return-1};function nf(t,e){if(!t)return e;const i=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return Qd[i]??e}function of(t,e){const i=t.trim();if(i)return e.securityLevel!=="loose"?Do.sanitizeUrl(i):i}const sf=(t,...e)=>{const i=t.split("."),r=i.length-1,n=i[r];let o=window;for(let s=0;s{i+=Rs(n,e),e=n});const r=i/2;return Wr(t,r)}function lf(t){return t.length===1?t[0]:af(t)}const mo=(t,e=2)=>{const i=Math.pow(10,e);return Math.round(t*i)/i},Wr=(t,e)=>{let i,r=e;for(const n of t){if(i){const o=Rs(n,i);if(o=1)return{x:n.x,y:n.y};if(s>0&&s<1)return{x:mo((1-s)*i.x+s*n.x,5),y:mo((1-s)*i.y+s*n.y,5)}}}i=n}throw new Error("Could not find a suitable point for the given distance")},hf=(t,e,i)=>{k.info(`our points ${JSON.stringify(e)}`),e[0]!==i&&(e=e.reverse());const n=Wr(e,25),o=t?10:5,s=Math.atan2(e[0].y-n.y,e[0].x-n.x),a={x:0,y:0};return a.x=Math.sin(s)*o+(e[0].x+n.x)/2,a.y=-Math.cos(s)*o+(e[0].y+n.y)/2,a};function cf(t,e,i){const r=structuredClone(i);k.info("our points",r),e!=="start_left"&&e!=="start_right"&&r.reverse();const n=25+t,o=Wr(r,n),s=10+t*.5,a=Math.atan2(r[0].y-o.y,r[0].x-o.x),l={x:0,y:0};return e==="start_left"?(l.x=Math.sin(a+Math.PI)*s+(r[0].x+o.x)/2,l.y=-Math.cos(a+Math.PI)*s+(r[0].y+o.y)/2):e==="end_right"?(l.x=Math.sin(a-Math.PI)*s+(r[0].x+o.x)/2-5,l.y=-Math.cos(a-Math.PI)*s+(r[0].y+o.y)/2-5):e==="end_left"?(l.x=Math.sin(a)*s+(r[0].x+o.x)/2-5,l.y=-Math.cos(a)*s+(r[0].y+o.y)/2-5):(l.x=Math.sin(a)*s+(r[0].x+o.x)/2,l.y=-Math.cos(a)*s+(r[0].y+o.y)/2),l}function uf(t){let e="",i="";for(const r of t)r!==void 0&&(r.startsWith("color:")||r.startsWith("text-align:")?i=i+r+";":e=e+r+";");return{style:e,labelStyle:i}}let _o=0;const df=()=>(_o++,"id-"+Math.random().toString(36).substr(2,12)+"-"+_o);function ff(t){let e="";const i="0123456789abcdef",r=i.length;for(let n=0;nff(t.length),gf=function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},mf=function(t,e){const i=e.text.replace(zr.lineBreakRegex," "),[,r]=Ur(e.fontSize),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.style("text-anchor",e.anchor),n.style("font-family",e.fontFamily),n.style("font-size",r),n.style("font-weight",e.fontWeight),n.attr("fill",e.fill),e.class!==void 0&&n.attr("class",e.class);const o=n.append("tspan");return o.attr("x",e.x+e.textMargin*2),o.attr("fill",e.fill),o.text(i),n},_f=Re((t,e,i)=>{if(!t||(i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},i),zr.lineBreakRegex.test(t)))return t;const r=t.split(" "),n=[];let o="";return r.forEach((s,a)=>{const l=_i(`${s} `,i),c=_i(o,i);if(l>e){const{hyphenatedStrings:h,remainingWord:g}=yf(s,e,"-",i);n.push(o,...h),o=g}else c+l>=e?(n.push(o),o=s):o=[o,s].filter(Boolean).join(" ");a+1===r.length&&n.push(o)}),n.filter(s=>s!=="").join(i.joinWith)},(t,e,i)=>`${t}${e}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`),yf=Re((t,e,i="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const n=[...t],o=[];let s="";return n.forEach((a,l)=>{const c=`${s}${a}`;if(_i(c,r)>=e){const p=l+1,h=n.length===p,g=`${c}${i}`;o.push(h?c:g),s=""}else s=c}),{hyphenatedStrings:o,remainingWord:s}},(t,e,i="-",r)=>`${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`);function Cf(t,e){return Hr(t,e).height}function _i(t,e){return Hr(t,e).width}const Hr=Re((t,e)=>{const{fontSize:i=12,fontFamily:r="Arial",fontWeight:n=400}=e;if(!t)return{width:0,height:0};const[,o]=Ur(i),s=["sans-serif",r],a=t.split(zr.lineBreakRegex),l=[],c=ot("body");if(!c.remove)return{width:0,height:0,lineHeight:0};const u=c.append("svg");for(const h of s){let g=0;const y={width:0,height:0,lineHeight:0};for(const w of a){const v=gf();v.text=w||Zd;const E=mf(u,v).style("font-size",o).style("font-weight",n).style("font-family",h),B=(E._groups||E)[0][0].getBBox();if(B.width===0&&B.height===0)throw new Error("svg element not in render tree");y.width=Math.round(Math.max(y.width,B.width)),g=Math.round(B.height),y.height+=g,y.lineHeight=Math.round(Math.max(y.lineHeight,g))}l.push(y)}u.remove();const p=isNaN(l[1].height)||isNaN(l[1].width)||isNaN(l[1].lineHeight)||l[0].height>l[1].height&&l[0].width>l[1].width&&l[0].lineHeight>l[1].lineHeight?0:1;return l[p]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`);class xf{constructor(e=!1,i){this.count=0,this.count=i?i.length:0,this.next=e?()=>this.count++:()=>Date.now()}}let ti;const bf=function(t){return ti=ti||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),ti.innerHTML=t,unescape(ti.textContent)};function Ps(t){return"str"in t}const Tf=(t,e,i,r)=>{var n;if(!r)return;const o=(n=t.node())==null?void 0:n.getBBox();o&&t.append("text").text(r).attr("x",o.x+o.width/2).attr("y",-i).attr("class",e)},Ur=t=>{if(typeof t=="number")return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]};function qs(t,e){return Za({},t,e)}const Le={assignWithDepth:W,wrapLabel:_f,calculateTextHeight:Cf,calculateTextWidth:_i,calculateTextDimensions:Hr,cleanAndMerge:qs,detectInit:tf,detectDirective:Ns,isSubstringInArray:rf,interpolateToCurve:nf,calcLabelPosition:lf,calcCardinalityPosition:hf,calcTerminalLabelPosition:cf,formatUrl:of,getStylesFromArray:uf,generateId:df,random:pf,runFunc:sf,entityDecode:bf,insertTitle:Tf,parseFontSize:Ur,InitIDGenerator:xf},kf=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(i){return i.substring(0,i.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(i){return i.substring(0,i.length-1)}),e=e.replace(/#\w+;/g,function(i){const r=i.substring(1,i.length-1);return/^\+?\d+$/.test(r)?"fl°°"+r+"¶ß":"fl°"+r+"¶ß"}),e},vf=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},yo="10.9.3",oe=Object.freeze(jd);let K=W({},oe),$s,se=[],Fe=W({},oe);const Ni=(t,e)=>{let i=W({},t),r={};for(const n of e)Hs(n),r=W(r,n);if(i=W(i,r),r.theme&&r.theme in wt){const n=W({},$s),o=W(n.themeVariables||{},r.themeVariables);i.theme&&i.theme in wt&&(i.themeVariables=wt[i.theme].getThemeVariables(o))}return Fe=i,Us(Fe),Fe},Sf=t=>(K=W({},oe),K=W(K,t),t.theme&&wt[t.theme]&&(K.themeVariables=wt[t.theme].getThemeVariables(t.themeVariables)),Ni(K,se),K),wf=t=>{$s=W({},t)},Bf=t=>(K=W(K,t),Ni(K,se),K),zs=()=>W({},K),Ws=t=>(Us(t),W(Fe,t),_t()),_t=()=>W({},Fe),Hs=t=>{t&&(["secure",...K.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(k.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&delete t[e]}),Object.keys(t).forEach(e=>{typeof t[e]=="string"&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],typeof t[e]=="object"&&Hs(t[e])}))},Af=t=>{mi(t),t.fontFamily&&(!t.themeVariables||!t.themeVariables.fontFamily)&&(t.themeVariables={fontFamily:t.fontFamily}),se.push(t),Ni(K,se)},yi=(t=K)=>{se=[],Ni(t,se)},Lf={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},Co={},Ff=t=>{Co[t]||(k.warn(Lf[t]),Co[t]=!0)},Us=t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&Ff("LAZY_LOAD_DEPRECATED")},Ys="c4",Ef=t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),Mf=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./c4Diagram-3d4e48cf-DXb0Vwol.js");return{diagram:e}},__vite__mapDeps([0,1,2,3]));return{id:Ys,diagram:t}},If={id:Ys,detector:Ef,loader:Mf},Of=If,Vs="flowchart",Df=(t,e)=>{var i,r;return((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="dagre-wrapper"||((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)},Nf=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./flowDiagram-66a62f08-DWMBDtsb.js");return{diagram:e}},__vite__mapDeps([4,5,6,2,3,7,8,9,10,11,12,13,14,15,16]));return{id:Vs,diagram:t}},Rf={id:Vs,detector:Df,loader:Nf},Pf=Rf,js="flowchart-v2",qf=(t,e)=>{var i,r,n;return((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="dagre-d3"||((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)&&((n=e==null?void 0:e.flowchart)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(t)},$f=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./flowDiagram-v2-96b9c2cf-CYQK_b-U.js");return{diagram:e}},__vite__mapDeps([17,5,8,6,2,3,9,7,10,11,12,13,14,15,16]));return{id:js,diagram:t}},zf={id:js,detector:qf,loader:$f},Wf=zf,Gs="er",Hf=t=>/^\s*erDiagram/.test(t),Uf=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./erDiagram-9861fffd-CezLaDTC.js");return{diagram:e}},__vite__mapDeps([18,6,2,3,7,13,14,15]));return{id:Gs,diagram:t}},Yf={id:Gs,detector:Hf,loader:Uf},Vf=Yf,Xs="gitGraph",jf=t=>/^\s*gitGraph/.test(t),Gf=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./gitGraphDiagram-72cf32ee-BKWlzQDH.js");return{diagram:e}},__vite__mapDeps([19,2,3]));return{id:Xs,diagram:t}},Xf={id:Xs,detector:jf,loader:Gf},Kf=Xf,Ks="gantt",Zf=t=>/^\s*gantt/.test(t),Qf=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./ganttDiagram-c361ad54-DHboeplh.js");return{diagram:e}},__vite__mapDeps([20,2,3,21,22]));return{id:Ks,diagram:t}},Jf={id:Ks,detector:Zf,loader:Qf},tp=Jf,Zs="info",ep=t=>/^\s*info/.test(t),ip=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./infoDiagram-f8f76790-BgNjqXTg.js");return{diagram:e}},__vite__mapDeps([23,2,3]));return{id:Zs,diagram:t}},rp={id:Zs,detector:ep,loader:ip},Qs="pie",np=t=>/^\s*pie/.test(t),op=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./pieDiagram-8a3498a8-DTgB9XFG.js");return{diagram:e}},__vite__mapDeps([24,2,3,25,15,26,22,14]));return{id:Qs,diagram:t}},sp={id:Qs,detector:np,loader:op},Js="quadrantChart",ap=t=>/^\s*quadrantChart/.test(t),lp=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./quadrantDiagram-120e2f19-CEZXRsAL.js");return{diagram:e}},__vite__mapDeps([27,2,3,21,22]));return{id:Js,diagram:t}},hp={id:Js,detector:ap,loader:lp},cp=hp,ta="xychart",up=t=>/^\s*xychart-beta/.test(t),dp=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./xychartDiagram-e933f94c-Due0eqh6.js");return{diagram:e}},__vite__mapDeps([28,12,2,3,22,26,21,13,14,15]));return{id:ta,diagram:t}},fp={id:ta,detector:up,loader:dp},pp=fp,ea="requirement",gp=t=>/^\s*requirement(Diagram)?/.test(t),mp=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./requirementDiagram-deff3bca-BqGhi4kj.js");return{diagram:e}},__vite__mapDeps([29,6,2,3,7,13,14,15]));return{id:ea,diagram:t}},_p={id:ea,detector:gp,loader:mp},yp=_p,ia="sequence",Cp=t=>/^\s*sequenceDiagram/.test(t),xp=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./sequenceDiagram-704730f1-Ba9F8Hxw.js");return{diagram:e}},__vite__mapDeps([30,1,2,3]));return{id:ia,diagram:t}},bp={id:ia,detector:Cp,loader:xp},Tp=bp,ra="class",kp=(t,e)=>{var i;return((i=e==null?void 0:e.class)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t)},vp=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./classDiagram-70f12bd4-DWxTvJIz.js");return{diagram:e}},__vite__mapDeps([31,32,6,2,3,7,13,14,15]));return{id:ra,diagram:t}},Sp={id:ra,detector:kp,loader:vp},wp=Sp,na="classDiagram",Bp=(t,e)=>{var i;return/^\s*classDiagram/.test(t)&&((i=e==null?void 0:e.class)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t)},Ap=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./classDiagram-v2-f2320105-BoU4YYt4.js");return{diagram:e}},__vite__mapDeps([33,32,6,2,3,9,7,10,11,12,13,14,15]));return{id:na,diagram:t}},Lp={id:na,detector:Bp,loader:Ap},Fp=Lp,oa="state",Ep=(t,e)=>{var i;return((i=e==null?void 0:e.state)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t)},Mp=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./stateDiagram-587899a1-4KpkWWuI.js");return{diagram:e}},__vite__mapDeps([34,35,6,2,3,7,13,14,15]));return{id:oa,diagram:t}},Ip={id:oa,detector:Ep,loader:Mp},Op=Ip,sa="stateDiagram",Dp=(t,e)=>{var i;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&((i=e==null?void 0:e.state)==null?void 0:i.defaultRenderer)==="dagre-wrapper")},Np=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./stateDiagram-v2-d93cdb3a-BZ7uT5cn.js");return{diagram:e}},__vite__mapDeps([36,35,6,2,3,9,7,10,11,12,13,14,15]));return{id:sa,diagram:t}},Rp={id:sa,detector:Dp,loader:Np},Pp=Rp,aa="journey",qp=t=>/^\s*journey/.test(t),$p=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./journeyDiagram-49397b02-CHlnvB_A.js");return{diagram:e}},__vite__mapDeps([37,1,2,3,25,15]));return{id:aa,diagram:t}},zp={id:aa,detector:qp,loader:$p},Wp=zp,Hp=function(t,e){for(let i of e)t.attr(i[0],i[1])},Up=function(t,e,i){let r=new Map;return i?(r.set("width","100%"),r.set("style",`max-width: ${e}px;`)):(r.set("height",t),r.set("width",e)),r},la=function(t,e,i,r){const n=Up(e,i,r);Hp(t,n)},Yp=function(t,e,i,r){const n=e.node().getBBox(),o=n.width,s=n.height;k.info(`SVG bounds: ${o}x${s}`,n);let a=0,l=0;k.info(`Graph bounds: ${a}x${l}`,t),a=o+i*2,l=s+i*2,k.info(`Calculated bounds: ${a}x${l}`),la(e,l,a,r);const c=`${n.x-i} ${n.y-i} ${n.width+2*i} ${n.height+2*i}`;e.attr("viewBox",c)},si={},Vp=(t,e,i)=>{let r="";return t in si&&si[t]?r=si[t](i):k.warn(`No theme found for ${t}`),` & { +`,"ig");t=t.trim().replace(i,"").replace(/'/gm,'"'),k.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let r;const n=[];for(;(r=Ae.exec(t))!==null;)if(r.index===Ae.lastIndex&&Ae.lastIndex++,r&&!e||e&&r[1]&&r[1].match(e)||e&&r[2]&&r[2].match(e)){const o=r[1]?r[1]:r[2],s=r[3]?r[3].trim():r[4]?JSON.parse(r[4].trim()):null;n.push({type:o,args:s})}return n.length===0?{type:t,args:null}:n.length===1?n[0]:n}catch(i){return k.error(`ERROR: ${i.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},ef=function(t){return t.replace(Ae,"")},rf=function(t,e){for(const[i,r]of e.entries())if(r.match(t))return i;return-1};function nf(t,e){if(!t)return e;const i=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return Qd[i]??e}function of(t,e){const i=t.trim();if(i)return e.securityLevel!=="loose"?Do.sanitizeUrl(i):i}const sf=(t,...e)=>{const i=t.split("."),r=i.length-1,n=i[r];let o=window;for(let s=0;s{i+=Rs(n,e),e=n});const r=i/2;return Wr(t,r)}function lf(t){return t.length===1?t[0]:af(t)}const mo=(t,e=2)=>{const i=Math.pow(10,e);return Math.round(t*i)/i},Wr=(t,e)=>{let i,r=e;for(const n of t){if(i){const o=Rs(n,i);if(o=1)return{x:n.x,y:n.y};if(s>0&&s<1)return{x:mo((1-s)*i.x+s*n.x,5),y:mo((1-s)*i.y+s*n.y,5)}}}i=n}throw new Error("Could not find a suitable point for the given distance")},hf=(t,e,i)=>{k.info(`our points ${JSON.stringify(e)}`),e[0]!==i&&(e=e.reverse());const n=Wr(e,25),o=t?10:5,s=Math.atan2(e[0].y-n.y,e[0].x-n.x),a={x:0,y:0};return a.x=Math.sin(s)*o+(e[0].x+n.x)/2,a.y=-Math.cos(s)*o+(e[0].y+n.y)/2,a};function cf(t,e,i){const r=structuredClone(i);k.info("our points",r),e!=="start_left"&&e!=="start_right"&&r.reverse();const n=25+t,o=Wr(r,n),s=10+t*.5,a=Math.atan2(r[0].y-o.y,r[0].x-o.x),l={x:0,y:0};return e==="start_left"?(l.x=Math.sin(a+Math.PI)*s+(r[0].x+o.x)/2,l.y=-Math.cos(a+Math.PI)*s+(r[0].y+o.y)/2):e==="end_right"?(l.x=Math.sin(a-Math.PI)*s+(r[0].x+o.x)/2-5,l.y=-Math.cos(a-Math.PI)*s+(r[0].y+o.y)/2-5):e==="end_left"?(l.x=Math.sin(a)*s+(r[0].x+o.x)/2-5,l.y=-Math.cos(a)*s+(r[0].y+o.y)/2-5):(l.x=Math.sin(a)*s+(r[0].x+o.x)/2,l.y=-Math.cos(a)*s+(r[0].y+o.y)/2),l}function uf(t){let e="",i="";for(const r of t)r!==void 0&&(r.startsWith("color:")||r.startsWith("text-align:")?i=i+r+";":e=e+r+";");return{style:e,labelStyle:i}}let _o=0;const df=()=>(_o++,"id-"+Math.random().toString(36).substr(2,12)+"-"+_o);function ff(t){let e="";const i="0123456789abcdef",r=i.length;for(let n=0;nff(t.length),gf=function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},mf=function(t,e){const i=e.text.replace(zr.lineBreakRegex," "),[,r]=Ur(e.fontSize),n=t.append("text");n.attr("x",e.x),n.attr("y",e.y),n.style("text-anchor",e.anchor),n.style("font-family",e.fontFamily),n.style("font-size",r),n.style("font-weight",e.fontWeight),n.attr("fill",e.fill),e.class!==void 0&&n.attr("class",e.class);const o=n.append("tspan");return o.attr("x",e.x+e.textMargin*2),o.attr("fill",e.fill),o.text(i),n},_f=Re((t,e,i)=>{if(!t||(i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},i),zr.lineBreakRegex.test(t)))return t;const r=t.split(" "),n=[];let o="";return r.forEach((s,a)=>{const l=_i(`${s} `,i),c=_i(o,i);if(l>e){const{hyphenatedStrings:h,remainingWord:g}=yf(s,e,"-",i);n.push(o,...h),o=g}else c+l>=e?(n.push(o),o=s):o=[o,s].filter(Boolean).join(" ");a+1===r.length&&n.push(o)}),n.filter(s=>s!=="").join(i.joinWith)},(t,e,i)=>`${t}${e}${i.fontSize}${i.fontWeight}${i.fontFamily}${i.joinWith}`),yf=Re((t,e,i="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);const n=[...t],o=[];let s="";return n.forEach((a,l)=>{const c=`${s}${a}`;if(_i(c,r)>=e){const p=l+1,h=n.length===p,g=`${c}${i}`;o.push(h?c:g),s=""}else s=c}),{hyphenatedStrings:o,remainingWord:s}},(t,e,i="-",r)=>`${t}${e}${i}${r.fontSize}${r.fontWeight}${r.fontFamily}`);function Cf(t,e){return Hr(t,e).height}function _i(t,e){return Hr(t,e).width}const Hr=Re((t,e)=>{const{fontSize:i=12,fontFamily:r="Arial",fontWeight:n=400}=e;if(!t)return{width:0,height:0};const[,o]=Ur(i),s=["sans-serif",r],a=t.split(zr.lineBreakRegex),l=[],c=ot("body");if(!c.remove)return{width:0,height:0,lineHeight:0};const u=c.append("svg");for(const h of s){let g=0;const y={width:0,height:0,lineHeight:0};for(const w of a){const v=gf();v.text=w||Zd;const E=mf(u,v).style("font-size",o).style("font-weight",n).style("font-family",h),B=(E._groups||E)[0][0].getBBox();if(B.width===0&&B.height===0)throw new Error("svg element not in render tree");y.width=Math.round(Math.max(y.width,B.width)),g=Math.round(B.height),y.height+=g,y.lineHeight=Math.round(Math.max(y.lineHeight,g))}l.push(y)}u.remove();const p=isNaN(l[1].height)||isNaN(l[1].width)||isNaN(l[1].lineHeight)||l[0].height>l[1].height&&l[0].width>l[1].width&&l[0].lineHeight>l[1].lineHeight?0:1;return l[p]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`);class xf{constructor(e=!1,i){this.count=0,this.count=i?i.length:0,this.next=e?()=>this.count++:()=>Date.now()}}let ti;const bf=function(t){return ti=ti||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),ti.innerHTML=t,unescape(ti.textContent)};function Ps(t){return"str"in t}const Tf=(t,e,i,r)=>{var n;if(!r)return;const o=(n=t.node())==null?void 0:n.getBBox();o&&t.append("text").text(r).attr("x",o.x+o.width/2).attr("y",-i).attr("class",e)},Ur=t=>{if(typeof t=="number")return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]};function qs(t,e){return Za({},t,e)}const Le={assignWithDepth:W,wrapLabel:_f,calculateTextHeight:Cf,calculateTextWidth:_i,calculateTextDimensions:Hr,cleanAndMerge:qs,detectInit:tf,detectDirective:Ns,isSubstringInArray:rf,interpolateToCurve:nf,calcLabelPosition:lf,calcCardinalityPosition:hf,calcTerminalLabelPosition:cf,formatUrl:of,getStylesFromArray:uf,generateId:df,random:pf,runFunc:sf,entityDecode:bf,insertTitle:Tf,parseFontSize:Ur,InitIDGenerator:xf},kf=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(i){return i.substring(0,i.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(i){return i.substring(0,i.length-1)}),e=e.replace(/#\w+;/g,function(i){const r=i.substring(1,i.length-1);return/^\+?\d+$/.test(r)?"fl°°"+r+"¶ß":"fl°"+r+"¶ß"}),e},vf=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},yo="10.9.3",oe=Object.freeze(jd);let K=W({},oe),$s,se=[],Fe=W({},oe);const Ni=(t,e)=>{let i=W({},t),r={};for(const n of e)Hs(n),r=W(r,n);if(i=W(i,r),r.theme&&r.theme in wt){const n=W({},$s),o=W(n.themeVariables||{},r.themeVariables);i.theme&&i.theme in wt&&(i.themeVariables=wt[i.theme].getThemeVariables(o))}return Fe=i,Us(Fe),Fe},Sf=t=>(K=W({},oe),K=W(K,t),t.theme&&wt[t.theme]&&(K.themeVariables=wt[t.theme].getThemeVariables(t.themeVariables)),Ni(K,se),K),wf=t=>{$s=W({},t)},Bf=t=>(K=W(K,t),Ni(K,se),K),zs=()=>W({},K),Ws=t=>(Us(t),W(Fe,t),_t()),_t=()=>W({},Fe),Hs=t=>{t&&(["secure",...K.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(k.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&delete t[e]}),Object.keys(t).forEach(e=>{typeof t[e]=="string"&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],typeof t[e]=="object"&&Hs(t[e])}))},Af=t=>{mi(t),t.fontFamily&&(!t.themeVariables||!t.themeVariables.fontFamily)&&(t.themeVariables={fontFamily:t.fontFamily}),se.push(t),Ni(K,se)},yi=(t=K)=>{se=[],Ni(t,se)},Lf={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},Co={},Ff=t=>{Co[t]||(k.warn(Lf[t]),Co[t]=!0)},Us=t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&Ff("LAZY_LOAD_DEPRECATED")},Ys="c4",Ef=t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),Mf=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./c4Diagram-3d4e48cf-Cp7_t9ml.js");return{diagram:e}},__vite__mapDeps([0,1,2,3]));return{id:Ys,diagram:t}},If={id:Ys,detector:Ef,loader:Mf},Of=If,Vs="flowchart",Df=(t,e)=>{var i,r;return((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="dagre-wrapper"||((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)},Nf=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./flowDiagram-66a62f08-C_WpALI9.js");return{diagram:e}},__vite__mapDeps([4,5,6,2,3,7,8,9,10,11,12,13,14,15,16]));return{id:Vs,diagram:t}},Rf={id:Vs,detector:Df,loader:Nf},Pf=Rf,js="flowchart-v2",qf=(t,e)=>{var i,r,n;return((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="dagre-d3"||((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)&&((n=e==null?void 0:e.flowchart)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(t)},$f=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./flowDiagram-v2-96b9c2cf-C9e0plfq.js");return{diagram:e}},__vite__mapDeps([17,5,8,6,2,3,9,7,10,11,12,13,14,15,16]));return{id:js,diagram:t}},zf={id:js,detector:qf,loader:$f},Wf=zf,Gs="er",Hf=t=>/^\s*erDiagram/.test(t),Uf=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./erDiagram-9861fffd-CCnwInuf.js");return{diagram:e}},__vite__mapDeps([18,6,2,3,7,13,14,15]));return{id:Gs,diagram:t}},Yf={id:Gs,detector:Hf,loader:Uf},Vf=Yf,Xs="gitGraph",jf=t=>/^\s*gitGraph/.test(t),Gf=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./gitGraphDiagram-72cf32ee-BObyaSg-.js");return{diagram:e}},__vite__mapDeps([19,2,3]));return{id:Xs,diagram:t}},Xf={id:Xs,detector:jf,loader:Gf},Kf=Xf,Ks="gantt",Zf=t=>/^\s*gantt/.test(t),Qf=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./ganttDiagram-c361ad54-BfwOPup8.js");return{diagram:e}},__vite__mapDeps([20,2,3,21,22]));return{id:Ks,diagram:t}},Jf={id:Ks,detector:Zf,loader:Qf},tp=Jf,Zs="info",ep=t=>/^\s*info/.test(t),ip=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./infoDiagram-f8f76790-DX5l4_2z.js");return{diagram:e}},__vite__mapDeps([23,2,3]));return{id:Zs,diagram:t}},rp={id:Zs,detector:ep,loader:ip},Qs="pie",np=t=>/^\s*pie/.test(t),op=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./pieDiagram-8a3498a8-DQ21l9sS.js");return{diagram:e}},__vite__mapDeps([24,2,3,25,15,26,22,14]));return{id:Qs,diagram:t}},sp={id:Qs,detector:np,loader:op},Js="quadrantChart",ap=t=>/^\s*quadrantChart/.test(t),lp=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./quadrantDiagram-120e2f19-CHlOmUhY.js");return{diagram:e}},__vite__mapDeps([27,2,3,21,22]));return{id:Js,diagram:t}},hp={id:Js,detector:ap,loader:lp},cp=hp,ta="xychart",up=t=>/^\s*xychart-beta/.test(t),dp=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./xychartDiagram-e933f94c-Djsho-Gs.js");return{diagram:e}},__vite__mapDeps([28,12,2,3,22,26,21,13,14,15]));return{id:ta,diagram:t}},fp={id:ta,detector:up,loader:dp},pp=fp,ea="requirement",gp=t=>/^\s*requirement(Diagram)?/.test(t),mp=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./requirementDiagram-deff3bca-DHmZaaTc.js");return{diagram:e}},__vite__mapDeps([29,6,2,3,7,13,14,15]));return{id:ea,diagram:t}},_p={id:ea,detector:gp,loader:mp},yp=_p,ia="sequence",Cp=t=>/^\s*sequenceDiagram/.test(t),xp=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./sequenceDiagram-704730f1-C_IYP5uy.js");return{diagram:e}},__vite__mapDeps([30,1,2,3]));return{id:ia,diagram:t}},bp={id:ia,detector:Cp,loader:xp},Tp=bp,ra="class",kp=(t,e)=>{var i;return((i=e==null?void 0:e.class)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t)},vp=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./classDiagram-70f12bd4-BdmI0nDR.js");return{diagram:e}},__vite__mapDeps([31,32,6,2,3,7,13,14,15]));return{id:ra,diagram:t}},Sp={id:ra,detector:kp,loader:vp},wp=Sp,na="classDiagram",Bp=(t,e)=>{var i;return/^\s*classDiagram/.test(t)&&((i=e==null?void 0:e.class)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t)},Ap=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./classDiagram-v2-f2320105-BVq0RdVw.js");return{diagram:e}},__vite__mapDeps([33,32,6,2,3,9,7,10,11,12,13,14,15]));return{id:na,diagram:t}},Lp={id:na,detector:Bp,loader:Ap},Fp=Lp,oa="state",Ep=(t,e)=>{var i;return((i=e==null?void 0:e.state)==null?void 0:i.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t)},Mp=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./stateDiagram-587899a1-g-33mMUW.js");return{diagram:e}},__vite__mapDeps([34,35,6,2,3,7,13,14,15]));return{id:oa,diagram:t}},Ip={id:oa,detector:Ep,loader:Mp},Op=Ip,sa="stateDiagram",Dp=(t,e)=>{var i;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&((i=e==null?void 0:e.state)==null?void 0:i.defaultRenderer)==="dagre-wrapper")},Np=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./stateDiagram-v2-d93cdb3a-Bxhj-4C-.js");return{diagram:e}},__vite__mapDeps([36,35,6,2,3,9,7,10,11,12,13,14,15]));return{id:sa,diagram:t}},Rp={id:sa,detector:Dp,loader:Np},Pp=Rp,aa="journey",qp=t=>/^\s*journey/.test(t),$p=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./journeyDiagram-49397b02-Baqb-1Ht.js");return{diagram:e}},__vite__mapDeps([37,1,2,3,25,15]));return{id:aa,diagram:t}},zp={id:aa,detector:qp,loader:$p},Wp=zp,Hp=function(t,e){for(let i of e)t.attr(i[0],i[1])},Up=function(t,e,i){let r=new Map;return i?(r.set("width","100%"),r.set("style",`max-width: ${e}px;`)):(r.set("height",t),r.set("width",e)),r},la=function(t,e,i,r){const n=Up(e,i,r);Hp(t,n)},Yp=function(t,e,i,r){const n=e.node().getBBox(),o=n.width,s=n.height;k.info(`SVG bounds: ${o}x${s}`,n);let a=0,l=0;k.info(`Graph bounds: ${a}x${l}`,t),a=o+i*2,l=s+i*2,k.info(`Calculated bounds: ${a}x${l}`),la(e,l,a,r);const c=`${n.x-i} ${n.y-i} ${n.width+2*i} ${n.height+2*i}`;e.attr("viewBox",c)},si={},Vp=(t,e,i)=>{let r="";return t in si&&si[t]?r=si[t](i):k.warn(`No theme found for ${t}`),` & { font-family: ${i.fontFamily}; font-size: ${i.fontSize}; fill: ${i.textColor} @@ -62,7 +62,7 @@ import{o as Ua,i as Mo,b as Si,c as wi,t as le,d as Io,M as cr,e as Ya,f as Va,h ${e} `},jp=(t,e)=>{e!==void 0&&(si[t]=e)},Gp=Vp;let Yr="",Vr="",jr="";const Gr=t=>De(t,_t()),Xp=()=>{Yr="",jr="",Vr=""},Kp=t=>{Yr=Gr(t).replace(/^\s+/g,"")},Zp=()=>Yr,Qp=t=>{jr=Gr(t).replace(/\n\s+/g,` `)},Jp=()=>jr,tg=t=>{Vr=Gr(t)},eg=()=>Vr,ig=Object.freeze(Object.defineProperty({__proto__:null,clear:Xp,getAccDescription:Jp,getAccTitle:Zp,getDiagramTitle:eg,setAccDescription:Qp,setAccTitle:Kp,setDiagramTitle:tg},Symbol.toStringTag,{value:"Module"})),rg=k,ng=$r,Xr=_t,A_=Ws,L_=oe,og=t=>De(t,Xr()),sg=Yp,ag=()=>ig,Ci={},xi=(t,e,i)=>{var r;if(Ci[t])throw new Error(`Diagram ${t} already registered.`);Ci[t]=e,i&&Ds(t,i),jp(t,e.styles),(r=e.injectUtils)==null||r.call(e,rg,ng,Xr,og,sg,ag(),()=>{})},Kr=t=>{if(t in Ci)return Ci[t];throw new lg(t)};class lg extends Error{constructor(e){super(`Diagram ${e} not found.`)}}const hg=t=>{var e;const{securityLevel:i}=Xr();let r=ot("body");if(i==="sandbox"){const s=((e=ot(`#i${t}`).node())==null?void 0:e.contentDocument)??document;r=ot(s.body)}return r.select(`#${t}`)},cg=(t,e,i)=>{k.debug(`rendering svg for syntax error -`);const r=hg(e),n=r.append("g");r.attr("viewBox","0 0 2412 512"),la(r,100,512,!0),n.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),n.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),n.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),n.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),n.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),n.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${i}`)},ha={draw:cg},ug=ha,dg={db:{},renderer:ha,parser:{parser:{yy:{}},parse:()=>{}}},fg=dg,ca="flowchart-elk",pg=(t,e)=>{var i;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk")},gg=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./flowchart-elk-definition-4a651766-BBAk_N-v.js");return{diagram:e}},__vite__mapDeps([38,5,11,12,2,3,13,14,15]));return{id:ca,diagram:t}},mg={id:ca,detector:pg,loader:gg},_g=mg,ua="timeline",yg=t=>/^\s*timeline/.test(t),Cg=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./timeline-definition-85554ec2-DAuyT-Du.js");return{diagram:e}},__vite__mapDeps([39,2,3,25,15]));return{id:ua,diagram:t}},xg={id:ua,detector:yg,loader:Cg},bg=xg,da="mindmap",Tg=t=>/^\s*mindmap/.test(t),kg=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./mindmap-definition-fc14e90a-DPIrb4jY.js");return{diagram:e}},__vite__mapDeps([40,2,3,12]));return{id:da,diagram:t}},vg={id:da,detector:Tg,loader:kg},Sg=vg,fa="sankey",wg=t=>/^\s*sankey-beta/.test(t),Bg=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./sankeyDiagram-04a897e0-C5f10lDs.js");return{diagram:e}},__vite__mapDeps([41,2,3,26,22,42]));return{id:fa,diagram:t}},Ag={id:fa,detector:wg,loader:Bg},Lg=Ag,pa="block",Fg=t=>/^\s*block-beta/.test(t),Eg=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./blockDiagram-38ab4fdb-DUbFopgE.js");return{diagram:e}},__vite__mapDeps([43,10,6,2,3,11,12,13,14,15,26,22,16,42]));return{id:pa,diagram:t}},Mg={id:pa,detector:Fg,loader:Eg},Ig=Mg;let xo=!1;const Zr=()=>{xo||(xo=!0,xi("error",fg,t=>t.toLowerCase().trim()==="error"),xi("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},t=>t.toLowerCase().trimStart().startsWith("---")),Os(Of,Fp,wp,Vf,tp,rp,sp,yp,Tp,_g,Wf,Pf,Sg,bg,Kf,Pp,Op,Wp,cp,Lg,pp,Ig))};class ga{constructor(e,i={}){this.text=e,this.metadata=i,this.type="graph",this.text=kf(e),this.text+=` +`);const r=hg(e),n=r.append("g");r.attr("viewBox","0 0 2412 512"),la(r,100,512,!0),n.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),n.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),n.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),n.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),n.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),n.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${i}`)},ha={draw:cg},ug=ha,dg={db:{},renderer:ha,parser:{parser:{yy:{}},parse:()=>{}}},fg=dg,ca="flowchart-elk",pg=(t,e)=>{var i;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk")},gg=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./flowchart-elk-definition-4a651766-9vYtQEKe.js");return{diagram:e}},__vite__mapDeps([38,5,11,12,2,3,13,14,15]));return{id:ca,diagram:t}},mg={id:ca,detector:pg,loader:gg},_g=mg,ua="timeline",yg=t=>/^\s*timeline/.test(t),Cg=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./timeline-definition-85554ec2-BRovp9-m.js");return{diagram:e}},__vite__mapDeps([39,2,3,25,15]));return{id:ua,diagram:t}},xg={id:ua,detector:yg,loader:Cg},bg=xg,da="mindmap",Tg=t=>/^\s*mindmap/.test(t),kg=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./mindmap-definition-fc14e90a-B-LOfIWs.js");return{diagram:e}},__vite__mapDeps([40,2,3,12]));return{id:da,diagram:t}},vg={id:da,detector:Tg,loader:kg},Sg=vg,fa="sankey",wg=t=>/^\s*sankey-beta/.test(t),Bg=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./sankeyDiagram-04a897e0-DrBeyGaL.js");return{diagram:e}},__vite__mapDeps([41,2,3,26,22,42]));return{id:fa,diagram:t}},Ag={id:fa,detector:wg,loader:Bg},Lg=Ag,pa="block",Fg=t=>/^\s*block-beta/.test(t),Eg=async()=>{const{diagram:t}=await I(async()=>{const{diagram:e}=await import("./blockDiagram-38ab4fdb-xFi-u6I5.js");return{diagram:e}},__vite__mapDeps([43,10,6,2,3,11,12,13,14,15,26,22,16,42]));return{id:pa,diagram:t}},Mg={id:pa,detector:Fg,loader:Eg},Ig=Mg;let xo=!1;const Zr=()=>{xo||(xo=!0,xi("error",fg,t=>t.toLowerCase().trim()==="error"),xi("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},t=>t.toLowerCase().trimStart().startsWith("---")),Os(Of,Fp,wp,Vf,tp,rp,sp,yp,Tp,_g,Wf,Pf,Sg,bg,Kf,Pp,Op,Wp,cp,Lg,pp,Ig))};class ga{constructor(e,i={}){this.text=e,this.metadata=i,this.type="graph",this.text=kf(e),this.text+=` `;const r=_t();try{this.type=Di(e,r)}catch(o){this.type="error",this.detectError=o}const n=Kr(this.type);k.debug("Type "+this.type),this.db=n.db,this.renderer=n.renderer,this.parser=n.parser,this.parser.parser.yy=this.db,this.init=n.init,this.parse()}parse(){var e,i,r,n,o;if(this.detectError)throw this.detectError;(i=(e=this.db).clear)==null||i.call(e);const s=_t();(r=this.init)==null||r.call(this,s),this.metadata.title&&((o=(n=this.db).setDiagramTitle)==null||o.call(n,this.metadata.title)),this.parser.parse(this.text)}async render(e,i){await this.renderer.draw(this.text,e,i,this)}getParser(){return this.parser}getType(){return this.type}}const Og=async(t,e={})=>{const i=Di(t,_t());try{Kr(i)}catch{const n=Kd(i);if(!n)throw new Is(`Diagram ${i} not found.`);const{id:o,diagram:s}=await n();xi(o,s)}return new ga(t,e)};let bo=[];const Dg=()=>{bo.forEach(t=>{t()}),bo=[]},Ng="graphics-document document";function Rg(t,e){t.attr("role",Ng),e!==""&&t.attr("aria-roledescription",e)}function Pg(t,e,i,r){if(t.insert!==void 0){if(i){const n=`chart-desc-${r}`;t.attr("aria-describedby",n),t.insert("desc",":first-child").attr("id",n).text(i)}if(e){const n=`chart-title-${r}`;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}}const qg=t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function ma(t){return typeof t>"u"||t===null}function $g(t){return typeof t=="object"&&t!==null}function zg(t){return Array.isArray(t)?t:ma(t)?[]:[t]}function Wg(t,e){var i,r,n,o;if(e)for(o=Object.keys(e),i=0,r=o.length;ia&&(o=" ... ",e=r-a+o.length),i-r>a&&(s=" ...",i=r+a-s.length),{str:o+t.slice(e,i).replace(/\t/g,"→")+s,pos:r-e+o.length}}function ar(t,e){return V.repeat(" ",e-t.length)+t}function Zg(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var i=/\r?\n|\r|\0/g,r=[0],n=[],o,s=-1;o=i.exec(t.buffer);)n.push(o.index),r.push(o.index+o[0].length),t.position<=o.index&&s<0&&(s=r.length-2);s<0&&(s=r.length-1);var a="",l,c,u=Math.min(t.line+e.linesAfter,n.length).toString().length,p=e.maxLength-(e.indent+u+3);for(l=1;l<=e.linesBefore&&!(s-l<0);l++)c=sr(t.buffer,r[s-l],n[s-l],t.position-(r[s]-r[s-l]),p),a=V.repeat(" ",e.indent)+ar((t.line-l+1).toString(),u)+" | "+c.str+` diff --git a/deploy/server/notebase/assets/mindmap-definition-fc14e90a-CKgjepuZ.js b/deploy/server/notebase/assets/mindmap-definition-fc14e90a-B-LOfIWs.js similarity index 99% rename from deploy/server/notebase/assets/mindmap-definition-fc14e90a-CKgjepuZ.js rename to deploy/server/notebase/assets/mindmap-definition-fc14e90a-B-LOfIWs.js index 8c7fcb9bad..06e90a3b23 100644 --- a/deploy/server/notebase/assets/mindmap-definition-fc14e90a-CKgjepuZ.js +++ b/deploy/server/notebase/assets/mindmap-definition-fc14e90a-B-LOfIWs.js @@ -1,4 +1,4 @@ -import{l as Sr,c as Ai,N as Pu,t as Nu,P as hn,d as dn,h as Mu,a6 as ku,a7 as Bu,a8 as Fu,T as Gu}from"./mermaid.core-C-ExL7Zv.js";import{Q as Li,g as zu}from"./index-OntvGoV0.js";import{a as _u}from"./createText-2e5e7dd3-CkLmKZf8.js";function We(t){"@babel/helpers - typeof";return We=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},We(t)}function fr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vu(t,e){for(var r=0;rt.length)&&(e=t.length);for(var r=0,a=new Array(e);rt.length)&&(e=t.length);for(var r=0,a=new Array(e);r=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(l){throw l},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,s=!1,o;return{s:function(){r=r.call(t)},n:function(){var l=r.next();return i=l.done,l},e:function(l){s=!0,o=l},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(s)throw o}}}}var $e=typeof window>"u"?null:window,is=$e?$e.navigator:null;$e&&$e.document;var qu=We(""),Lo=We({}),Ku=We(function(){}),Zu=typeof HTMLElement>"u"?"undefined":We(HTMLElement),Oa=function(e){return e&&e.instanceString&&Ve(e.instanceString)?e.instanceString():null},ce=function(e){return e!=null&&We(e)==qu},Ve=function(e){return e!=null&&We(e)===Ku},Me=function(e){return!xt(e)&&(Array.isArray?Array.isArray(e):e!=null&&e instanceof Array)},Ae=function(e){return e!=null&&We(e)===Lo&&!Me(e)&&e.constructor===Object},Qu=function(e){return e!=null&&We(e)===Lo},re=function(e){return e!=null&&We(e)===We(1)&&!isNaN(e)},Ju=function(e){return re(e)&&Math.floor(e)===e},gn=function(e){if(Zu!=="undefined")return e!=null&&e instanceof HTMLElement},xt=function(e){return Pa(e)||Ro(e)},Pa=function(e){return Oa(e)==="collection"&&e._private.single},Ro=function(e){return Oa(e)==="collection"&&!e._private.single},Ii=function(e){return Oa(e)==="core"},Io=function(e){return Oa(e)==="stylesheet"},ju=function(e){return Oa(e)==="event"},ar=function(e){return e==null?!0:!!(e===""||e.match(/^\s+$/))},ef=function(e){return typeof HTMLElement>"u"?!1:e instanceof HTMLElement},tf=function(e){return Ae(e)&&re(e.x1)&&re(e.x2)&&re(e.y1)&&re(e.y2)},rf=function(e){return Qu(e)&&Ve(e.then)},af=function(){return is&&is.userAgent.match(/msie|trident|edge/i)},wa=function(e,r){r||(r=function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var i=[],s=0;sr?1:0},cf=function(e,r){return-1*Po(e,r)},he=Object.assign!=null?Object.assign.bind(Object):function(t){for(var e=arguments,r=1;r1&&(p-=1),p<1/6?d+(g-d)*6*p:p<1/2?g:p<2/3?d+(g-d)*(2/3-p)*6:d}var c=new RegExp("^"+of+"$").exec(e);if(c){if(a=parseInt(c[1]),a<0?a=(360- -1*a%360)%360:a>360&&(a=a%360),a/=360,n=parseFloat(c[2]),n<0||n>100||(n=n/100,i=parseFloat(c[3]),i<0||i>100)||(i=i/100,s=c[4],s!==void 0&&(s=parseFloat(s),s<0||s>1)))return;if(n===0)o=l=u=Math.round(i*255);else{var h=i<.5?i*(1+n):i+n-i*n,v=2*i-h;o=Math.round(255*f(v,h,a+1/3)),l=Math.round(255*f(v,h,a)),u=Math.round(255*f(v,h,a-1/3))}r=[o,l,u,s]}return r},df=function(e){var r,a=new RegExp("^"+nf+"$").exec(e);if(a){r=[];for(var n=[],i=1;i<=3;i++){var s=a[i];if(s[s.length-1]==="%"&&(n[i]=!0),s=parseFloat(s),n[i]&&(s=s/100*255),s<0||s>255)return;r.push(Math.floor(s))}var o=n[1]||n[2]||n[3],l=n[1]&&n[2]&&n[3];if(o&&!l)return;var u=a[4];if(u!==void 0){if(u=parseFloat(u),u<0||u>1)return;r.push(u)}}return r},gf=function(e){return pf[e.toLowerCase()]},No=function(e){return(Me(e)?e:null)||gf(e)||vf(e)||df(e)||hf(e)},pf={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},Mo=function(e){for(var r=e.map,a=e.keys,n=a.length,i=0;i=e||w<0||c&&x>=i}function y(){var D=Xn();if(p(D))return b(D);o=setTimeout(y,g(D))}function b(D){return o=void 0,h&&a?v(D):(a=n=void 0,s)}function m(){o!==void 0&&clearTimeout(o),u=0,a=l=n=o=void 0}function E(){return o===void 0?s:b(Xn())}function C(){var D=Xn(),w=p(D);if(a=arguments,n=this,l=D,w){if(o===void 0)return d(l);if(c)return clearTimeout(o),o=setTimeout(y,e),v(l)}return o===void 0&&(o=setTimeout(y,e)),s}return C.cancel=m,C.flush=E,C}var Ma=ec,Wn=$e?$e.performance:null,Go=Wn&&Wn.now?function(){return Wn.now()}:function(){return Date.now()},tc=function(){if($e){if($e.requestAnimationFrame)return function(t){$e.requestAnimationFrame(t)};if($e.mozRequestAnimationFrame)return function(t){$e.mozRequestAnimationFrame(t)};if($e.webkitRequestAnimationFrame)return function(t){$e.webkitRequestAnimationFrame(t)};if($e.msRequestAnimationFrame)return function(t){$e.msRequestAnimationFrame(t)}}return function(t){t&&setTimeout(function(){t(Go())},1e3/60)}}(),pn=function(e){return tc(e)},Xt=Go,kr=9261,zo=65599,va=5381,_o=function(e){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kr,a=r,n;n=e.next(),!n.done;)a=a*zo+n.value|0;return a},Ea=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:kr;return r*zo+e|0},xa=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:va;return(r<<5)+r+e|0},rc=function(e,r){return e*2097152+r},Qt=function(e){return e[0]*2097152+e[1]},Ya=function(e,r){return[Ea(e[0],r[0]),xa(e[1],r[1])]},ac=function(e,r){var a={value:0,done:!1},n=0,i=e.length,s={next:function(){return n=0;n--)e[n]===r&&e.splice(n,1)},Mi=function(e){e.splice(0,e.length)},fc=function(e,r){for(var a=0;a"u"?"undefined":We(Set))!==vc?Set:hc,Rn=function(e,r){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e===void 0||r===void 0||!Ii(e)){_e("An element must have a core reference and parameters set");return}var n=r.group;if(n==null&&(r.data&&r.data.source!=null&&r.data.target!=null?n="edges":n="nodes"),n!=="nodes"&&n!=="edges"){_e("An element must be of type `nodes` or `edges`; you specified `"+n+"`");return}this.length=1,this[0]=this;var i=this._private={cy:e,single:!0,data:r.data||{},position:r.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:n,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!r.selected,selectable:r.selectable===void 0?!0:!!r.selectable,locked:!!r.locked,grabbed:!1,grabbable:r.grabbable===void 0?!0:!!r.grabbable,pannable:r.pannable===void 0?n==="edges":!!r.pannable,active:!1,classes:new Xr,animation:{current:[],queue:[]},rscratch:{},scratch:r.scratch||{},edges:[],children:[],parent:r.parent&&r.parent.isNode()?r.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(i.position.x==null&&(i.position.x=0),i.position.y==null&&(i.position.y=0),r.renderedPosition){var s=r.renderedPosition,o=e.pan(),l=e.zoom();i.position={x:(s.x-o.x)/l,y:(s.y-o.y)/l}}var u=[];Me(r.classes)?u=r.classes:ce(r.classes)&&(u=r.classes.split(/\s+/));for(var f=0,c=u.length;fb?1:0},f=function(y,b,m,E,C){var D;if(m==null&&(m=0),C==null&&(C=a),m<0)throw new Error("lo must be non-negative");for(E==null&&(E=y.length);mS;0<=S?T++:T--)x.push(T);return x}).apply(this).reverse(),w=[],E=0,C=D.length;EA;0<=A?++x:--x)L.push(s(y,m));return L},g=function(y,b,m,E){var C,D,w;for(E==null&&(E=a),C=y[m];m>b;){if(w=m-1>>1,D=y[w],E(C,D)<0){y[m]=D,m=w;continue}break}return y[m]=C},p=function(y,b,m){var E,C,D,w,x;for(m==null&&(m=a),C=y.length,x=b,D=y[b],E=2*b+1;E0;){var D=b.pop(),w=p(D),x=D.id();if(h[x]=w,w!==1/0)for(var T=D.neighborhood().intersect(d),S=0;S0)for(M.unshift(k);c[z];){var F=c[z];M.unshift(F.edge),M.unshift(F.node),B=F.node,z=B.id()}return o.spawn(M)}}}},yc={kruskal:function(e){e=e||function(m){return 1};for(var r=this.byGroup(),a=r.nodes,n=r.edges,i=a.length,s=new Array(i),o=a,l=function(E){for(var C=0;C0;){if(C(),w++,E===f){for(var x=[],T=i,S=f,A=y[S];x.unshift(T),A!=null&&x.unshift(A),T=p[S],T!=null;)S=T.id(),A=y[S];return{found:!0,distance:c[E],path:this.spawn(x),steps:w}}v[E]=!0;for(var L=m._private.edges,I=0;IA&&(d[S]=A,b[S]=T,m[S]=C),!i){var L=T*f+x;!i&&d[L]>A&&(d[L]=A,b[L]=x,m[L]=C)}}}for(var I=0;I1&&arguments[1]!==void 0?arguments[1]:s,pe=m(ue),ye=[],de=pe;;){if(de==null)return r.spawn();var me=b(de),xe=me.edge,De=me.pred;if(ye.unshift(de[0]),de.same(le)&&ye.length>0)break;xe!=null&&ye.unshift(xe),de=De}return l.spawn(ye)},D=0;D=0;f--){var c=u[f],h=c[1],v=c[2];(r[h]===o&&r[v]===l||r[h]===l&&r[v]===o)&&u.splice(f,1)}for(var d=0;dn;){var i=Math.floor(Math.random()*r.length);r=Dc(i,e,r),a--}return r},Sc={kargerStein:function(){var e=this,r=this.byGroup(),a=r.nodes,n=r.edges;n.unmergeBy(function(M){return M.isLoop()});var i=a.length,s=n.length,o=Math.ceil(Math.pow(Math.log(i)/Math.LN2,2)),l=Math.floor(i/Cc);if(i<2){_e("At least 2 nodes are required for Karger-Stein algorithm");return}for(var u=[],f=0;f1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=1/0,i=r;i1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=-1/0,i=r;i1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=0,i=0,s=r;s1&&arguments[1]!==void 0?arguments[1]:0,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;n?e=e.slice(r,a):(a0&&e.splice(0,r));for(var o=0,l=e.length-1;l>=0;l--){var u=e[l];s?isFinite(u)||(e[l]=-1/0,o++):e.splice(l,1)}i&&e.sort(function(h,v){return h-v});var f=e.length,c=Math.floor(f/2);return f%2!==0?e[c+1+o]:(e[c-1+o]+e[c+o])/2},Pc=function(e){return Math.PI*e/180},$a=function(e,r){return Math.atan2(r,e)-Math.PI/2},ki=Math.log2||function(t){return Math.log(t)/Math.log(2)},Wo=function(e){return e>0?1:e<0?-1:0},Er=function(e,r){return Math.sqrt(gr(e,r))},gr=function(e,r){var a=r.x-e.x,n=r.y-e.y;return a*a+n*n},Nc=function(e){for(var r=e.length,a=0,n=0;n=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(e.w!=null&&e.h!=null&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},kc=function(e){return{x1:e.x1,x2:e.x2,w:e.w,y1:e.y1,y2:e.y2,h:e.h}},Bc=function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},Fc=function(e,r,a){return{x1:e.x1+r,x2:e.x2+r,y1:e.y1+a,y2:e.y2+a,w:e.w,h:e.h}},qo=function(e,r){e.x1=Math.min(e.x1,r.x1),e.x2=Math.max(e.x2,r.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,r.y1),e.y2=Math.max(e.y2,r.y2),e.h=e.y2-e.y1},Gc=function(e,r,a){e.x1=Math.min(e.x1,r),e.x2=Math.max(e.x2,r),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,a),e.y2=Math.max(e.y2,a),e.h=e.y2-e.y1},an=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.x1-=r,e.x2+=r,e.y1-=r,e.y2+=r,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},nn=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],a,n,i,s;if(r.length===1)a=n=i=s=r[0];else if(r.length===2)a=i=r[0],s=n=r[1];else if(r.length===4){var o=je(r,4);a=o[0],n=o[1],i=o[2],s=o[3]}return e.x1-=s,e.x2+=n,e.y1-=a,e.y2+=i,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},hs=function(e,r){e.x1=r.x1,e.y1=r.y1,e.x2=r.x2,e.y2=r.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},Bi=function(e,r){return!(e.x1>r.x2||r.x1>e.x2||e.x2r.y2||r.y1>e.y2)},Yr=function(e,r,a){return e.x1<=r&&r<=e.x2&&e.y1<=a&&a<=e.y2},zc=function(e,r){return Yr(e,r.x,r.y)},Ko=function(e,r){return Yr(e,r.x1,r.y1)&&Yr(e,r.x2,r.y2)},Zo=function(e,r,a,n,i,s,o){var l=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"auto",u=l==="auto"?xr(i,s):l,f=i/2,c=s/2;u=Math.min(u,f,c);var h=u!==f,v=u!==c,d;if(h){var g=a-f+u-o,p=n-c-o,y=a+f-u+o,b=p;if(d=er(e,r,a,n,g,p,y,b,!1),d.length>0)return d}if(v){var m=a+f+o,E=n-c+u-o,C=m,D=n+c-u+o;if(d=er(e,r,a,n,m,E,C,D,!1),d.length>0)return d}if(h){var w=a-f+u-o,x=n+c+o,T=a+f-u+o,S=x;if(d=er(e,r,a,n,w,x,T,S,!1),d.length>0)return d}if(v){var A=a-f-o,L=n-c+u-o,I=A,R=n+c-u+o;if(d=er(e,r,a,n,A,L,I,R,!1),d.length>0)return d}var P;{var N=a-f+u,k=n-c+u;if(P=ha(e,r,a,n,N,k,u+o),P.length>0&&P[0]<=N&&P[1]<=k)return[P[0],P[1]]}{var M=a+f-u,B=n-c+u;if(P=ha(e,r,a,n,M,B,u+o),P.length>0&&P[0]>=M&&P[1]<=B)return[P[0],P[1]]}{var z=a+f-u,F=n+c-u;if(P=ha(e,r,a,n,z,F,u+o),P.length>0&&P[0]>=z&&P[1]>=F)return[P[0],P[1]]}{var G=a-f+u,H=n+c-u;if(P=ha(e,r,a,n,G,H,u+o),P.length>0&&P[0]<=G&&P[1]>=H)return[P[0],P[1]]}return[]},_c=function(e,r,a,n,i,s,o){var l=o,u=Math.min(a,i),f=Math.max(a,i),c=Math.min(n,s),h=Math.max(n,s);return u-l<=e&&e<=f+l&&c-l<=r&&r<=h+l},Vc=function(e,r,a,n,i,s,o,l,u){var f={x1:Math.min(a,o,i)-u,x2:Math.max(a,o,i)+u,y1:Math.min(n,l,s)-u,y2:Math.max(n,l,s)+u};return!(ef.x2||rf.y2)},Uc=function(e,r,a,n){a-=n;var i=r*r-4*e*a;if(i<0)return[];var s=Math.sqrt(i),o=2*e,l=(-r+s)/o,u=(-r-s)/o;return[l,u]},Yc=function(e,r,a,n,i){var s=1e-5;e===0&&(e=s),r/=e,a/=e,n/=e;var o,l,u,f,c,h,v,d;if(l=(3*a-r*r)/9,u=-(27*n)+r*(9*a-2*(r*r)),u/=54,o=l*l*l+u*u,i[1]=0,v=r/3,o>0){c=u+Math.sqrt(o),c=c<0?-Math.pow(-c,1/3):Math.pow(c,1/3),h=u-Math.sqrt(o),h=h<0?-Math.pow(-h,1/3):Math.pow(h,1/3),i[0]=-v+c+h,v+=(c+h)/2,i[4]=i[2]=-v,v=Math.sqrt(3)*(-h+c)/2,i[3]=v,i[5]=-v;return}if(i[5]=i[3]=0,o===0){d=u<0?-Math.pow(-u,1/3):Math.pow(u,1/3),i[0]=-v+2*d,i[4]=i[2]=-(d+v);return}l=-l,f=l*l*l,f=Math.acos(u/Math.sqrt(f)),d=2*Math.sqrt(l),i[0]=-v+d*Math.cos(f/3),i[2]=-v+d*Math.cos((f+2*Math.PI)/3),i[4]=-v+d*Math.cos((f+4*Math.PI)/3)},$c=function(e,r,a,n,i,s,o,l){var u=1*a*a-4*a*i+2*a*o+4*i*i-4*i*o+o*o+n*n-4*n*s+2*n*l+4*s*s-4*s*l+l*l,f=1*9*a*i-3*a*a-3*a*o-6*i*i+3*i*o+9*n*s-3*n*n-3*n*l-6*s*s+3*s*l,c=1*3*a*a-6*a*i+a*o-a*e+2*i*i+2*i*e-o*e+3*n*n-6*n*s+n*l-n*r+2*s*s+2*s*r-l*r,h=1*a*i-a*a+a*e-i*e+n*s-n*n+n*r-s*r,v=[];Yc(u,f,c,h,v);for(var d=1e-7,g=[],p=0;p<6;p+=2)Math.abs(v[p+1])=0&&v[p]<=1&&g.push(v[p]);g.push(1),g.push(0);for(var y=-1,b,m,E,C=0;C=0?Eu?(e-i)*(e-i)+(r-s)*(r-s):f-h},pt=function(e,r,a){for(var n,i,s,o,l,u=0,f=0;f=e&&e>=s||n<=e&&e<=s)l=(e-n)/(s-n)*(o-i)+i,l>r&&u++;else continue;return u%2!==0},Wt=function(e,r,a,n,i,s,o,l,u){var f=new Array(a.length),c;l[0]!=null?(c=Math.atan(l[1]/l[0]),l[0]<0?c=c+Math.PI/2:c=-c-Math.PI/2):c=l;for(var h=Math.cos(-c),v=Math.sin(-c),d=0;d0){var p=bn(f,-u);g=mn(p)}else g=f;return pt(e,r,g)},Xc=function(e,r,a,n,i,s,o,l){for(var u=new Array(a.length*2),f=0;f=0&&p<=1&&b.push(p),y>=0&&y<=1&&b.push(y),b.length===0)return[];var m=b[0]*l[0]+e,E=b[0]*l[1]+r;if(b.length>1){if(b[0]==b[1])return[m,E];var C=b[1]*l[0]+e,D=b[1]*l[1]+r;return[m,E,C,D]}else return[m,E]},Kn=function(e,r,a){return r<=e&&e<=a||a<=e&&e<=r?e:e<=r&&r<=a||a<=r&&r<=e?r:a},er=function(e,r,a,n,i,s,o,l,u){var f=e-i,c=a-e,h=o-i,v=r-s,d=n-r,g=l-s,p=h*v-g*f,y=c*v-d*f,b=g*c-h*d;if(b!==0){var m=p/b,E=y/b,C=.001,D=0-C,w=1+C;return D<=m&&m<=w&&D<=E&&E<=w?[e+m*c,r+m*d]:u?[e+m*c,r+m*d]:[]}else return p===0||y===0?Kn(e,a,o)===o?[o,l]:Kn(e,a,i)===i?[i,s]:Kn(i,o,a)===a?[a,n]:[]:[]},Da=function(e,r,a,n,i,s,o,l){var u=[],f,c=new Array(a.length),h=!0;s==null&&(h=!1);var v;if(h){for(var d=0;d0){var g=bn(c,-l);v=mn(g)}else v=c}else v=a;for(var p,y,b,m,E=0;E2){for(var d=[f[0],f[1]],g=Math.pow(d[0]-e,2)+Math.pow(d[1]-r,2),p=1;pf&&(f=E)},get:function(m){return u[m]}},h=0;h0?N=P.edgesTo(R)[0]:N=R.edgesTo(P)[0];var k=n(N);R=R.id(),x[R]>x[L]+k&&(x[R]=x[L]+k,T.nodes.indexOf(R)<0?T.push(R):T.updateItem(R),w[R]=0,D[R]=[]),x[R]==x[L]+k&&(w[R]=w[R]+w[L],D[R].push(L))}else for(var M=0;M0;){for(var G=C.pop(),H=0;H0&&o.push(a[l]);o.length!==0&&i.push(n.collection(o))}return i},lv=function(e,r){for(var a=0;a5&&arguments[5]!==void 0?arguments[5]:cv,o=n,l,u,f=0;f=2?ia(e,r,a,0,ms,vv):ia(e,r,a,0,ys)},squaredEuclidean:function(e,r,a){return ia(e,r,a,0,ms)},manhattan:function(e,r,a){return ia(e,r,a,0,ys)},max:function(e,r,a){return ia(e,r,a,-1/0,hv)}};$r["squared-euclidean"]=$r.squaredEuclidean;$r.squaredeuclidean=$r.squaredEuclidean;function On(t,e,r,a,n,i){var s;return Ve(t)?s=t:s=$r[t]||$r.euclidean,e===0&&Ve(t)?s(n,i):s(e,r,a,n,i)}var dv=et({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Gi=function(e){return dv(e)},wn=function(e,r,a,n,i){var s=i!=="kMedoids",o=s?function(c){return a[c]}:function(c){return n[c](a)},l=function(h){return n[h](r)},u=a,f=r;return On(e,n.length,o,l,u,f)},Zn=function(e,r,a){for(var n=a.length,i=new Array(n),s=new Array(n),o=new Array(r),l=null,u=0;ua)return!1}return!0},yv=function(e,r,a){for(var n=0;no&&(o=r[u][f],l=f);i[l].push(e[u])}for(var c=0;c=i.threshold||i.mode==="dendrogram"&&e.length===1)return!1;var d=r[s],g=r[n[s]],p;i.mode==="dendrogram"?p={left:d,right:g,key:d.key}:p={value:d.value.concat(g.value),key:d.key},e[d.index]=p,e.splice(g.index,1),r[d.key]=p;for(var y=0;ya[g.key][b.key]&&(l=a[g.key][b.key])):i.linkage==="max"?(l=a[d.key][b.key],a[d.key][b.key]0&&n.push(i);return n},Cs=function(e,r,a){for(var n=[],i=0;io&&(s=u,o=r[i*e+u])}s>0&&n.push(s)}for(var f=0;fu&&(l=f,u=c)}a[i]=s[l]}return n=Cs(e,r,a),n},Ds=function(e){for(var r=this.cy(),a=this.nodes(),n=Ov(e),i={},s=0;s=A?(L=A,A=R,I=P):R>L&&(L=R);for(var N=0;N0?1:0;w[T%n.minIterations*o+G]=H,F+=H}if(F>0&&(T>=n.minIterations-1||T==n.maxIterations-1)){for(var X=0,K=0;K1||D>1)&&(o=!0),c[m]=[],b.outgoers().forEach(function(x){x.isEdge()&&c[m].push(x.id())})}else h[m]=[void 0,b.target().id()]}):s.forEach(function(b){var m=b.id();if(b.isNode()){var E=b.degree(!0);E%2&&(l?u?o=!0:u=m:l=m),c[m]=[],b.connectedEdges().forEach(function(C){return c[m].push(C.id())})}else h[m]=[b.source().id(),b.target().id()]});var v={found:!1,trail:void 0};if(o)return v;if(u&&l)if(i){if(f&&u!=f)return v;f=u}else{if(f&&u!=f&&l!=f)return v;f||(f=u)}else f||(f=s[0].id());var d=function(m){for(var E=m,C=[m],D,w,x;c[E].length;)D=c[E].shift(),w=h[D][0],x=h[D][1],E!=x?(c[x]=c[x].filter(function(T){return T!=D}),E=x):!i&&E!=w&&(c[w]=c[w].filter(function(T){return T!=D}),E=w),C.unshift(D),C.unshift(E);return C},g=[],p=[];for(p=d(f);p.length!=1;)c[p[0]].length==0?(g.unshift(s.getElementById(p.shift())),g.unshift(s.getElementById(p.shift()))):p=d(p.shift()).concat(p);g.unshift(s.getElementById(p.shift()));for(var y in c)if(c[y].length)return v;return v.found=!0,v.trail=this.spawn(g,!0),v}},Wa=function(){var e=this,r={},a=0,n=0,i=[],s=[],o={},l=function(h,v){for(var d=s.length-1,g=[],p=e.spawn();s[d].x!=h||s[d].y!=v;)g.push(s.pop().edge),d--;g.push(s.pop().edge),g.forEach(function(y){var b=y.connectedNodes().intersection(e);p.merge(y),b.forEach(function(m){var E=m.id(),C=m.connectedEdges().intersection(e);p.merge(m),r[E].cutVertex?p.merge(C.filter(function(D){return D.isLoop()})):p.merge(C)})}),i.push(p)},u=function c(h,v,d){h===d&&(n+=1),r[v]={id:a,low:a++,cutVertex:!1};var g=e.getElementById(v).connectedEdges().intersection(e);if(g.size()===0)i.push(e.spawn(e.getElementById(v)));else{var p,y,b,m;g.forEach(function(E){p=E.source().id(),y=E.target().id(),b=p===v?y:p,b!==d&&(m=E.id(),o[m]||(o[m]=!0,s.push({x:v,y:b,edge:E})),b in r?r[v].low=Math.min(r[v].low,r[b].id):(c(h,b,v),r[v].low=Math.min(r[v].low,r[b].low),r[v].id<=r[b].low&&(r[v].cutVertex=!0,l(v,b))))})}};e.forEach(function(c){if(c.isNode()){var h=c.id();h in r||(n=0,u(h,h),r[h].cutVertex=n>1)}});var f=Object.keys(r).filter(function(c){return r[c].cutVertex}).map(function(c){return e.getElementById(c)});return{cut:e.spawn(f),components:i}},zv={hopcroftTarjanBiconnected:Wa,htbc:Wa,htb:Wa,hopcroftTarjanBiconnectedComponents:Wa},qa=function(){var e=this,r={},a=0,n=[],i=[],s=e.spawn(e),o=function l(u){i.push(u),r[u]={index:a,low:a++,explored:!1};var f=e.getElementById(u).connectedEdges().intersection(e);if(f.forEach(function(g){var p=g.target().id();p!==u&&(p in r||l(p),r[p].explored||(r[u].low=Math.min(r[u].low,r[p].low)))}),r[u].index===r[u].low){for(var c=e.spawn();;){var h=i.pop();if(c.merge(e.getElementById(h)),r[h].low=r[u].index,r[h].explored=!0,h===u)break}var v=c.edgesWith(c),d=c.merge(v);n.push(d),s=s.difference(d)}};return e.forEach(function(l){if(l.isNode()){var u=l.id();u in r||o(u)}}),{cut:s,components:n}},_v={tarjanStronglyConnected:qa,tsc:qa,tscc:qa,tarjanStronglyConnectedComponents:qa},al={};[Ta,pc,yc,bc,Ec,Tc,Sc,Qc,zr,_r,vi,fv,Tv,Rv,Bv,Gv,zv,_v].forEach(function(t){he(al,t)});/*! diff --git a/starter/src/main/resources/static/notebase/assets/pieDiagram-8a3498a8-DTgB9XFG.js b/deploy/server/notebase/assets/pieDiagram-8a3498a8-DQ21l9sS.js similarity index 99% rename from starter/src/main/resources/static/notebase/assets/pieDiagram-8a3498a8-DTgB9XFG.js rename to deploy/server/notebase/assets/pieDiagram-8a3498a8-DQ21l9sS.js index fbf5853746..8f8260b293 100644 --- a/starter/src/main/resources/static/notebase/assets/pieDiagram-8a3498a8-DTgB9XFG.js +++ b/deploy/server/notebase/assets/pieDiagram-8a3498a8-DQ21l9sS.js @@ -1,4 +1,4 @@ -import{O as H,P as at,A as lt,B as ot,s as ct,g as ht,b as ut,a as yt,C as ft,d as pt,c as et,l as it,Q as gt,N as dt,T as mt,i as _t}from"./mermaid.core-FIymlv9x.js";import"./index-BtAN2wrW.js";import{a as tt}from"./arc-Dg9FQBDn.js";import{o as xt}from"./ordinal-Cboi1Yqb.js";import{a as kt}from"./array-BKyUJesY.js";import{c as F}from"./path-CbwjOpE9.js";import"./init-Gi6I4Gst.js";function vt(e,u){return ue?1:u>=e?0:NaN}function bt(e){return e}function St(){var e=bt,u=vt,$=null,p=F(0),g=F(H),A=F(0);function y(a){var l,d=(a=kt(a)).length,m,I,T=0,_=new Array(d),v=new Array(d),c=+p.apply(this,arguments),E=Math.min(H,Math.max(-H,g.apply(this,arguments)-c)),O,w=Math.min(Math.abs(E)/d,A.apply(this,arguments)),b=w*(E<0?-1:1),t;for(l=0;l0&&(T+=t);for(u!=null?_.sort(function(i,n){return u(v[i],v[n])}):$!=null&&_.sort(function(i,n){return $(a[i],a[n])}),l=0,I=T?(E-d*b)/T:0;l0?t*I:0)+b,v[m]={data:a[m],index:l,value:t,startAngle:c,endAngle:O,padAngle:w};return v}return y.value=function(a){return arguments.length?(e=typeof a=="function"?a:F(+a),y):e},y.sortValues=function(a){return arguments.length?(u=a,$=null,y):u},y.sort=function(a){return arguments.length?($=a,u=null,y):$},y.startAngle=function(a){return arguments.length?(p=typeof a=="function"?a:F(+a),y):p},y.endAngle=function(a){return arguments.length?(g=typeof a=="function"?a:F(+a),y):g},y.padAngle=function(a){return arguments.length?(A=typeof a=="function"?a:F(+a),y):A},y}var J=function(){var e=function(b,t,i,n){for(i=i||{},n=b.length;n--;i[b[n]]=t);return i},u=[1,3],$=[1,4],p=[1,5],g=[1,6],A=[1,10,12,14,16,18,19,20,21,22],y=[2,4],a=[1,5,10,12,14,16,18,19,20,21,22],l=[20,21,22],d=[2,7],m=[1,12],I=[1,13],T=[1,14],_=[1,15],v=[1,16],c=[1,17],E={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(t,i,n,r,o,s,P){var x=s.length-1;switch(o){case 3:r.setShowData(!0);break;case 6:this.$=s[x-1];break;case 8:r.addSection(s[x-1],r.cleanupValue(s[x]));break;case 9:this.$=s[x].trim(),r.setDiagramTitle(this.$);break;case 10:this.$=s[x].trim(),r.setAccTitle(this.$);break;case 11:case 12:this.$=s[x].trim(),r.setAccDescription(this.$);break;case 13:r.addSection(s[x].substr(8)),this.$=s[x].substr(8);break}},table:[{3:1,4:2,5:u,20:$,21:p,22:g},{1:[3]},{3:7,4:2,5:u,20:$,21:p,22:g},e(A,y,{6:8,7:[1,9]}),e(a,[2,14]),e(a,[2,15]),e(a,[2,16]),{1:[2,1]},e(l,d,{8:10,9:11,1:[2,2],10:m,12:I,14:T,16:_,18:v,19:c}),e(A,y,{6:18}),e(A,[2,5]),{4:19,20:$,21:p,22:g},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},e(l,[2,12]),e(l,[2,13]),e(l,d,{8:10,9:11,1:[2,3],10:m,12:I,14:T,16:_,18:v,19:c}),e(A,[2,6]),e(l,[2,8]),e(l,[2,9]),e(l,[2,10]),e(l,[2,11])],defaultActions:{7:[2,1]},parseError:function(t,i){if(i.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=i,n}},parse:function(t){var i=this,n=[0],r=[],o=[null],s=[],P=this.table,x="",f=0,V=0,R=2,M=1,U=s.slice.call(arguments,1),h=Object.create(this.lexer),N={yy:{}};for(var Y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Y)&&(N.yy[Y]=this.yy[Y]);h.setInput(t,N.yy),N.yy.lexer=h,N.yy.parser=this,typeof h.yylloc>"u"&&(h.yylloc={});var Q=h.yylloc;s.push(Q);var st=h.options&&h.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function rt(){var C;return C=r.pop()||h.lex()||M,typeof C!="number"&&(C instanceof Array&&(r=C,C=r.pop()),C=i.symbols_[C]||C),C}for(var k,L,S,Z,z={},j,D,X,W;;){if(L=n[n.length-1],this.defaultActions[L]?S=this.defaultActions[L]:((k===null||typeof k>"u")&&(k=rt()),S=P[L]&&P[L][k]),typeof S>"u"||!S.length||!S[0]){var q="";W=[];for(j in P[L])this.terminals_[j]&&j>R&&W.push("'"+this.terminals_[j]+"'");h.showPosition?q="Parse error on line "+(f+1)+`: +import{O as H,P as at,A as lt,B as ot,s as ct,g as ht,b as ut,a as yt,C as ft,d as pt,c as et,l as it,Q as gt,N as dt,T as mt,i as _t}from"./mermaid.core-BAvrjf3l.js";import"./index-D31-yJHm.js";import{a as tt}from"./arc-CEKBcz1C.js";import{o as xt}from"./ordinal-Cboi1Yqb.js";import{a as kt}from"./array-BKyUJesY.js";import{c as F}from"./path-CbwjOpE9.js";import"./init-Gi6I4Gst.js";function vt(e,u){return ue?1:u>=e?0:NaN}function bt(e){return e}function St(){var e=bt,u=vt,$=null,p=F(0),g=F(H),A=F(0);function y(a){var l,d=(a=kt(a)).length,m,I,T=0,_=new Array(d),v=new Array(d),c=+p.apply(this,arguments),E=Math.min(H,Math.max(-H,g.apply(this,arguments)-c)),O,w=Math.min(Math.abs(E)/d,A.apply(this,arguments)),b=w*(E<0?-1:1),t;for(l=0;l0&&(T+=t);for(u!=null?_.sort(function(i,n){return u(v[i],v[n])}):$!=null&&_.sort(function(i,n){return $(a[i],a[n])}),l=0,I=T?(E-d*b)/T:0;l0?t*I:0)+b,v[m]={data:a[m],index:l,value:t,startAngle:c,endAngle:O,padAngle:w};return v}return y.value=function(a){return arguments.length?(e=typeof a=="function"?a:F(+a),y):e},y.sortValues=function(a){return arguments.length?(u=a,$=null,y):u},y.sort=function(a){return arguments.length?($=a,u=null,y):$},y.startAngle=function(a){return arguments.length?(p=typeof a=="function"?a:F(+a),y):p},y.endAngle=function(a){return arguments.length?(g=typeof a=="function"?a:F(+a),y):g},y.padAngle=function(a){return arguments.length?(A=typeof a=="function"?a:F(+a),y):A},y}var J=function(){var e=function(b,t,i,n){for(i=i||{},n=b.length;n--;i[b[n]]=t);return i},u=[1,3],$=[1,4],p=[1,5],g=[1,6],A=[1,10,12,14,16,18,19,20,21,22],y=[2,4],a=[1,5,10,12,14,16,18,19,20,21,22],l=[20,21,22],d=[2,7],m=[1,12],I=[1,13],T=[1,14],_=[1,15],v=[1,16],c=[1,17],E={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(t,i,n,r,o,s,P){var x=s.length-1;switch(o){case 3:r.setShowData(!0);break;case 6:this.$=s[x-1];break;case 8:r.addSection(s[x-1],r.cleanupValue(s[x]));break;case 9:this.$=s[x].trim(),r.setDiagramTitle(this.$);break;case 10:this.$=s[x].trim(),r.setAccTitle(this.$);break;case 11:case 12:this.$=s[x].trim(),r.setAccDescription(this.$);break;case 13:r.addSection(s[x].substr(8)),this.$=s[x].substr(8);break}},table:[{3:1,4:2,5:u,20:$,21:p,22:g},{1:[3]},{3:7,4:2,5:u,20:$,21:p,22:g},e(A,y,{6:8,7:[1,9]}),e(a,[2,14]),e(a,[2,15]),e(a,[2,16]),{1:[2,1]},e(l,d,{8:10,9:11,1:[2,2],10:m,12:I,14:T,16:_,18:v,19:c}),e(A,y,{6:18}),e(A,[2,5]),{4:19,20:$,21:p,22:g},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},e(l,[2,12]),e(l,[2,13]),e(l,d,{8:10,9:11,1:[2,3],10:m,12:I,14:T,16:_,18:v,19:c}),e(A,[2,6]),e(l,[2,8]),e(l,[2,9]),e(l,[2,10]),e(l,[2,11])],defaultActions:{7:[2,1]},parseError:function(t,i){if(i.recoverable)this.trace(t);else{var n=new Error(t);throw n.hash=i,n}},parse:function(t){var i=this,n=[0],r=[],o=[null],s=[],P=this.table,x="",f=0,V=0,R=2,M=1,U=s.slice.call(arguments,1),h=Object.create(this.lexer),N={yy:{}};for(var Y in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Y)&&(N.yy[Y]=this.yy[Y]);h.setInput(t,N.yy),N.yy.lexer=h,N.yy.parser=this,typeof h.yylloc>"u"&&(h.yylloc={});var Q=h.yylloc;s.push(Q);var st=h.options&&h.options.ranges;typeof N.yy.parseError=="function"?this.parseError=N.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function rt(){var C;return C=r.pop()||h.lex()||M,typeof C!="number"&&(C instanceof Array&&(r=C,C=r.pop()),C=i.symbols_[C]||C),C}for(var k,L,S,Z,z={},j,D,X,W;;){if(L=n[n.length-1],this.defaultActions[L]?S=this.defaultActions[L]:((k===null||typeof k>"u")&&(k=rt()),S=P[L]&&P[L][k]),typeof S>"u"||!S.length||!S[0]){var q="";W=[];for(j in P[L])this.terminals_[j]&&j>R&&W.push("'"+this.terminals_[j]+"'");h.showPosition?q="Parse error on line "+(f+1)+`: `+h.showPosition()+` Expecting `+W.join(", ")+", got '"+(this.terminals_[k]||k)+"'":q="Parse error on line "+(f+1)+": Unexpected "+(k==M?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(q,{text:h.match,token:this.terminals_[k]||k,line:h.yylineno,loc:Q,expected:W})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+k);switch(S[0]){case 1:n.push(k),o.push(h.yytext),s.push(h.yylloc),n.push(S[1]),k=null,V=h.yyleng,x=h.yytext,f=h.yylineno,Q=h.yylloc;break;case 2:if(D=this.productions_[S[1]][1],z.$=o[o.length-D],z._$={first_line:s[s.length-(D||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(D||1)].first_column,last_column:s[s.length-1].last_column},st&&(z._$.range=[s[s.length-(D||1)].range[0],s[s.length-1].range[1]]),Z=this.performAction.apply(z,[x,V,f,N.yy,S[1],o,s].concat(U)),typeof Z<"u")return Z;D&&(n=n.slice(0,-1*D*2),o=o.slice(0,-1*D),s=s.slice(0,-1*D)),n.push(this.productions_[S[1]][0]),o.push(z.$),s.push(z._$),X=P[n[n.length-2]][n[n.length-1]],n.push(X);break;case 3:return!0}}return!0}},O=function(){var b={EOF:1,parseError:function(i,n){if(this.yy.parser)this.yy.parser.parseError(i,n);else throw new Error(i)},setInput:function(t,i){return this.yy=i||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var i=t.match(/(?:\r\n?|\n).*/g);return i?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var i=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-i),this.offset-=i;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-i},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-i]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),i=new Array(t.length+1).join("-");return t+this.upcomingInput()+` diff --git a/deploy/server/notebase/assets/quadrantDiagram-120e2f19-Dx69kHpN.js b/deploy/server/notebase/assets/quadrantDiagram-120e2f19-CHlOmUhY.js similarity index 99% rename from deploy/server/notebase/assets/quadrantDiagram-120e2f19-Dx69kHpN.js rename to deploy/server/notebase/assets/quadrantDiagram-120e2f19-CHlOmUhY.js index 1d16d2bf49..9523c7ca74 100644 --- a/deploy/server/notebase/assets/quadrantDiagram-120e2f19-Dx69kHpN.js +++ b/deploy/server/notebase/assets/quadrantDiagram-120e2f19-CHlOmUhY.js @@ -1,4 +1,4 @@ -import{U as vt,c as yt,P as D,l as ot,s as Lt,g as Ct,A as zt,B as bt,a as Et,b as Dt,C as It,h as gt,i as Bt,d as wt}from"./mermaid.core-C-ExL7Zv.js";import"./index-OntvGoV0.js";import{l as mt}from"./linear-BCwlPy8V.js";import"./init-Gi6I4Gst.js";var pt=function(){var e=function(K,n,r,l){for(r=r||{},l=K.length;l--;r[K[l]]=n);return r},s=[1,3],h=[1,4],x=[1,5],f=[1,6],d=[1,7],c=[1,5,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],g=[1,5,6,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],i=[32,33,34],y=[2,7],p=[1,13],B=[1,17],N=[1,18],V=[1,19],I=[1,20],b=[1,21],M=[1,22],X=[1,23],C=[1,24],it=[1,25],at=[1,26],nt=[1,27],U=[1,30],Q=[1,31],T=[1,32],m=[1,33],_=[1,34],t=[1,35],A=[1,36],S=[1,37],k=[1,38],F=[1,39],P=[1,40],v=[1,41],L=[1,42],O=[1,57],Y=[1,58],z=[5,22,26,32,33,34,40,41,42,43,44,45,46,47,48,49,50,51],ht={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,QUADRANT:6,document:7,line:8,statement:9,axisDetails:10,quadrantDetails:11,points:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,text:21,point_start:22,point_x:23,point_y:24,"X-AXIS":25,"AXIS-TEXT-DELIMITER":26,"Y-AXIS":27,QUADRANT_1:28,QUADRANT_2:29,QUADRANT_3:30,QUADRANT_4:31,NEWLINE:32,SEMI:33,EOF:34,alphaNumToken:35,textNoTagsToken:36,STR:37,MD_STR:38,alphaNum:39,PUNCTUATION:40,AMP:41,NUM:42,ALPHA:43,COMMA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,UNDERSCORE:50,MINUS:51,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",6:"QUADRANT",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",22:"point_start",23:"point_x",24:"point_y",25:"X-AXIS",26:"AXIS-TEXT-DELIMITER",27:"Y-AXIS",28:"QUADRANT_1",29:"QUADRANT_2",30:"QUADRANT_3",31:"QUADRANT_4",32:"NEWLINE",33:"SEMI",34:"EOF",37:"STR",38:"MD_STR",40:"PUNCTUATION",41:"AMP",42:"NUM",43:"ALPHA",44:"COMMA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"UNDERSCORE",51:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[9,0],[9,2],[9,1],[9,1],[9,1],[9,2],[9,2],[9,2],[9,1],[9,1],[12,4],[10,4],[10,3],[10,2],[10,4],[10,3],[10,2],[11,2],[11,2],[11,2],[11,2],[4,1],[4,1],[4,1],[21,1],[21,2],[21,1],[21,1],[39,1],[39,2],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[36,1],[36,1],[36,1]],performAction:function(n,r,l,o,q,a,et){var u=a.length-1;switch(q){case 12:this.$=a[u].trim(),o.setDiagramTitle(this.$);break;case 13:this.$=a[u].trim(),o.setAccTitle(this.$);break;case 14:case 15:this.$=a[u].trim(),o.setAccDescription(this.$);break;case 16:o.addSection(a[u].substr(8)),this.$=a[u].substr(8);break;case 17:o.addPoint(a[u-3],a[u-1],a[u]);break;case 18:o.setXAxisLeftText(a[u-2]),o.setXAxisRightText(a[u]);break;case 19:a[u-1].text+=" ⟶ ",o.setXAxisLeftText(a[u-1]);break;case 20:o.setXAxisLeftText(a[u]);break;case 21:o.setYAxisBottomText(a[u-2]),o.setYAxisTopText(a[u]);break;case 22:a[u-1].text+=" ⟶ ",o.setYAxisBottomText(a[u-1]);break;case 23:o.setYAxisBottomText(a[u]);break;case 24:o.setQuadrant1Text(a[u]);break;case 25:o.setQuadrant2Text(a[u]);break;case 26:o.setQuadrant3Text(a[u]);break;case 27:o.setQuadrant4Text(a[u]);break;case 31:this.$={text:a[u],type:"text"};break;case 32:this.$={text:a[u-1].text+""+a[u],type:a[u-1].type};break;case 33:this.$={text:a[u],type:"text"};break;case 34:this.$={text:a[u],type:"markdown"};break;case 35:this.$=a[u];break;case 36:this.$=a[u-1]+""+a[u];break}},table:[{3:1,4:2,5:s,6:h,32:x,33:f,34:d},{1:[3]},{3:8,4:2,5:s,6:h,32:x,33:f,34:d},{3:9,4:2,5:s,6:h,32:x,33:f,34:d},e(c,[2,4],{7:10}),e(g,[2,28]),e(g,[2,29]),e(g,[2,30]),{1:[2,1]},{1:[2,2]},e(i,y,{8:11,9:12,10:14,11:15,12:16,21:28,35:29,1:[2,3],5:p,13:B,15:N,17:V,19:I,20:b,25:M,27:X,28:C,29:it,30:at,31:nt,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(c,[2,5]),{4:43,32:x,33:f,34:d},e(i,y,{10:14,11:15,12:16,21:28,35:29,9:44,5:p,13:B,15:N,17:V,19:I,20:b,25:M,27:X,28:C,29:it,30:at,31:nt,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{14:[1,45]},{16:[1,46]},{18:[1,47]},e(i,[2,15]),e(i,[2,16]),{21:48,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:49,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:50,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:51,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:52,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:53,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{5:O,22:[1,54],35:56,36:55,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y},e(z,[2,31]),e(z,[2,33]),e(z,[2,34]),e(z,[2,37]),e(z,[2,38]),e(z,[2,39]),e(z,[2,40]),e(z,[2,41]),e(z,[2,42]),e(z,[2,43]),e(z,[2,44]),e(z,[2,45]),e(z,[2,46]),e(z,[2,47]),e(c,[2,6]),e(i,[2,8]),e(i,[2,12]),e(i,[2,13]),e(i,[2,14]),e(i,[2,20],{36:55,35:56,5:O,26:[1,59],40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,23],{36:55,35:56,5:O,26:[1,60],40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,24],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,25],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,26],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,27],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),{23:[1,61]},e(z,[2,32]),e(z,[2,48]),e(z,[2,49]),e(z,[2,50]),e(i,[2,19],{35:29,21:62,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(i,[2,22],{35:29,21:63,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),{24:[1,64]},e(i,[2,18],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,21],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,17])],defaultActions:{8:[2,1],9:[2,2]},parseError:function(n,r){if(r.recoverable)this.trace(n);else{var l=new Error(n);throw l.hash=r,l}},parse:function(n){var r=this,l=[0],o=[],q=[null],a=[],et=this.table,u="",st=0,qt=0,St=2,Tt=1,kt=a.slice.call(arguments,1),E=Object.create(this.lexer),Z={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Z.yy[dt]=this.yy[dt]);E.setInput(n,Z.yy),Z.yy.lexer=E,Z.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var ut=E.yylloc;a.push(ut);var Ft=E.options&&E.options.ranges;typeof Z.yy.parseError=="function"?this.parseError=Z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Pt(){var j;return j=o.pop()||E.lex()||Tt,typeof j!="number"&&(j instanceof Array&&(o=j,j=o.pop()),j=r.symbols_[j]||j),j}for(var W,J,H,xt,tt={},rt,$,_t,lt;;){if(J=l[l.length-1],this.defaultActions[J]?H=this.defaultActions[J]:((W===null||typeof W>"u")&&(W=Pt()),H=et[J]&&et[J][W]),typeof H>"u"||!H.length||!H[0]){var ft="";lt=[];for(rt in et[J])this.terminals_[rt]&&rt>St&<.push("'"+this.terminals_[rt]+"'");E.showPosition?ft="Parse error on line "+(st+1)+`: +import{U as vt,c as yt,P as D,l as ot,s as Lt,g as Ct,A as zt,B as bt,a as Et,b as Dt,C as It,h as gt,i as Bt,d as wt}from"./mermaid.core-BAvrjf3l.js";import"./index-D31-yJHm.js";import{l as mt}from"./linear-CtvYWXGN.js";import"./init-Gi6I4Gst.js";var pt=function(){var e=function(K,n,r,l){for(r=r||{},l=K.length;l--;r[K[l]]=n);return r},s=[1,3],h=[1,4],x=[1,5],f=[1,6],d=[1,7],c=[1,5,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],g=[1,5,6,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],i=[32,33,34],y=[2,7],p=[1,13],B=[1,17],N=[1,18],V=[1,19],I=[1,20],b=[1,21],M=[1,22],X=[1,23],C=[1,24],it=[1,25],at=[1,26],nt=[1,27],U=[1,30],Q=[1,31],T=[1,32],m=[1,33],_=[1,34],t=[1,35],A=[1,36],S=[1,37],k=[1,38],F=[1,39],P=[1,40],v=[1,41],L=[1,42],O=[1,57],Y=[1,58],z=[5,22,26,32,33,34,40,41,42,43,44,45,46,47,48,49,50,51],ht={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,QUADRANT:6,document:7,line:8,statement:9,axisDetails:10,quadrantDetails:11,points:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,text:21,point_start:22,point_x:23,point_y:24,"X-AXIS":25,"AXIS-TEXT-DELIMITER":26,"Y-AXIS":27,QUADRANT_1:28,QUADRANT_2:29,QUADRANT_3:30,QUADRANT_4:31,NEWLINE:32,SEMI:33,EOF:34,alphaNumToken:35,textNoTagsToken:36,STR:37,MD_STR:38,alphaNum:39,PUNCTUATION:40,AMP:41,NUM:42,ALPHA:43,COMMA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,UNDERSCORE:50,MINUS:51,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",6:"QUADRANT",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",22:"point_start",23:"point_x",24:"point_y",25:"X-AXIS",26:"AXIS-TEXT-DELIMITER",27:"Y-AXIS",28:"QUADRANT_1",29:"QUADRANT_2",30:"QUADRANT_3",31:"QUADRANT_4",32:"NEWLINE",33:"SEMI",34:"EOF",37:"STR",38:"MD_STR",40:"PUNCTUATION",41:"AMP",42:"NUM",43:"ALPHA",44:"COMMA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"UNDERSCORE",51:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[9,0],[9,2],[9,1],[9,1],[9,1],[9,2],[9,2],[9,2],[9,1],[9,1],[12,4],[10,4],[10,3],[10,2],[10,4],[10,3],[10,2],[11,2],[11,2],[11,2],[11,2],[4,1],[4,1],[4,1],[21,1],[21,2],[21,1],[21,1],[39,1],[39,2],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[36,1],[36,1],[36,1]],performAction:function(n,r,l,o,q,a,et){var u=a.length-1;switch(q){case 12:this.$=a[u].trim(),o.setDiagramTitle(this.$);break;case 13:this.$=a[u].trim(),o.setAccTitle(this.$);break;case 14:case 15:this.$=a[u].trim(),o.setAccDescription(this.$);break;case 16:o.addSection(a[u].substr(8)),this.$=a[u].substr(8);break;case 17:o.addPoint(a[u-3],a[u-1],a[u]);break;case 18:o.setXAxisLeftText(a[u-2]),o.setXAxisRightText(a[u]);break;case 19:a[u-1].text+=" ⟶ ",o.setXAxisLeftText(a[u-1]);break;case 20:o.setXAxisLeftText(a[u]);break;case 21:o.setYAxisBottomText(a[u-2]),o.setYAxisTopText(a[u]);break;case 22:a[u-1].text+=" ⟶ ",o.setYAxisBottomText(a[u-1]);break;case 23:o.setYAxisBottomText(a[u]);break;case 24:o.setQuadrant1Text(a[u]);break;case 25:o.setQuadrant2Text(a[u]);break;case 26:o.setQuadrant3Text(a[u]);break;case 27:o.setQuadrant4Text(a[u]);break;case 31:this.$={text:a[u],type:"text"};break;case 32:this.$={text:a[u-1].text+""+a[u],type:a[u-1].type};break;case 33:this.$={text:a[u],type:"text"};break;case 34:this.$={text:a[u],type:"markdown"};break;case 35:this.$=a[u];break;case 36:this.$=a[u-1]+""+a[u];break}},table:[{3:1,4:2,5:s,6:h,32:x,33:f,34:d},{1:[3]},{3:8,4:2,5:s,6:h,32:x,33:f,34:d},{3:9,4:2,5:s,6:h,32:x,33:f,34:d},e(c,[2,4],{7:10}),e(g,[2,28]),e(g,[2,29]),e(g,[2,30]),{1:[2,1]},{1:[2,2]},e(i,y,{8:11,9:12,10:14,11:15,12:16,21:28,35:29,1:[2,3],5:p,13:B,15:N,17:V,19:I,20:b,25:M,27:X,28:C,29:it,30:at,31:nt,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(c,[2,5]),{4:43,32:x,33:f,34:d},e(i,y,{10:14,11:15,12:16,21:28,35:29,9:44,5:p,13:B,15:N,17:V,19:I,20:b,25:M,27:X,28:C,29:it,30:at,31:nt,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{14:[1,45]},{16:[1,46]},{18:[1,47]},e(i,[2,15]),e(i,[2,16]),{21:48,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:49,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:50,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:51,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:52,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{21:53,35:29,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L},{5:O,22:[1,54],35:56,36:55,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y},e(z,[2,31]),e(z,[2,33]),e(z,[2,34]),e(z,[2,37]),e(z,[2,38]),e(z,[2,39]),e(z,[2,40]),e(z,[2,41]),e(z,[2,42]),e(z,[2,43]),e(z,[2,44]),e(z,[2,45]),e(z,[2,46]),e(z,[2,47]),e(c,[2,6]),e(i,[2,8]),e(i,[2,12]),e(i,[2,13]),e(i,[2,14]),e(i,[2,20],{36:55,35:56,5:O,26:[1,59],40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,23],{36:55,35:56,5:O,26:[1,60],40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,24],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,25],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,26],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,27],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),{23:[1,61]},e(z,[2,32]),e(z,[2,48]),e(z,[2,49]),e(z,[2,50]),e(i,[2,19],{35:29,21:62,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),e(i,[2,22],{35:29,21:63,37:U,38:Q,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L}),{24:[1,64]},e(i,[2,18],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,21],{36:55,35:56,5:O,40:T,41:m,42:_,43:t,44:A,45:S,46:k,47:F,48:P,49:v,50:L,51:Y}),e(i,[2,17])],defaultActions:{8:[2,1],9:[2,2]},parseError:function(n,r){if(r.recoverable)this.trace(n);else{var l=new Error(n);throw l.hash=r,l}},parse:function(n){var r=this,l=[0],o=[],q=[null],a=[],et=this.table,u="",st=0,qt=0,St=2,Tt=1,kt=a.slice.call(arguments,1),E=Object.create(this.lexer),Z={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(Z.yy[dt]=this.yy[dt]);E.setInput(n,Z.yy),Z.yy.lexer=E,Z.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var ut=E.yylloc;a.push(ut);var Ft=E.options&&E.options.ranges;typeof Z.yy.parseError=="function"?this.parseError=Z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Pt(){var j;return j=o.pop()||E.lex()||Tt,typeof j!="number"&&(j instanceof Array&&(o=j,j=o.pop()),j=r.symbols_[j]||j),j}for(var W,J,H,xt,tt={},rt,$,_t,lt;;){if(J=l[l.length-1],this.defaultActions[J]?H=this.defaultActions[J]:((W===null||typeof W>"u")&&(W=Pt()),H=et[J]&&et[J][W]),typeof H>"u"||!H.length||!H[0]){var ft="";lt=[];for(rt in et[J])this.terminals_[rt]&&rt>St&<.push("'"+this.terminals_[rt]+"'");E.showPosition?ft="Parse error on line "+(st+1)+`: `+E.showPosition()+` Expecting `+lt.join(", ")+", got '"+(this.terminals_[W]||W)+"'":ft="Parse error on line "+(st+1)+": Unexpected "+(W==Tt?"end of input":"'"+(this.terminals_[W]||W)+"'"),this.parseError(ft,{text:E.match,token:this.terminals_[W]||W,line:E.yylineno,loc:ut,expected:lt})}if(H[0]instanceof Array&&H.length>1)throw new Error("Parse Error: multiple actions possible at state: "+J+", token: "+W);switch(H[0]){case 1:l.push(W),q.push(E.yytext),a.push(E.yylloc),l.push(H[1]),W=null,qt=E.yyleng,u=E.yytext,st=E.yylineno,ut=E.yylloc;break;case 2:if($=this.productions_[H[1]][1],tt.$=q[q.length-$],tt._$={first_line:a[a.length-($||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-($||1)].first_column,last_column:a[a.length-1].last_column},Ft&&(tt._$.range=[a[a.length-($||1)].range[0],a[a.length-1].range[1]]),xt=this.performAction.apply(tt,[u,qt,st,Z.yy,H[1],q,a].concat(kt)),typeof xt<"u")return xt;$&&(l=l.slice(0,-1*$*2),q=q.slice(0,-1*$),a=a.slice(0,-1*$)),l.push(this.productions_[H[1]][0]),q.push(tt.$),a.push(tt._$),_t=et[l[l.length-2]][l[l.length-1]],l.push(_t);break;case 3:return!0}}return!0}},At=function(){var K={EOF:1,parseError:function(r,l){if(this.yy.parser)this.yy.parser.parseError(r,l);else throw new Error(r)},setInput:function(n,r){return this.yy=r||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var r=n.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},unput:function(n){var r=n.length,l=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var o=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1&&(this.yylineno-=l.length-1);var q=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===o.length?this.yylloc.first_column:0)+o[o.length-l.length].length-l[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[q[0],q[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(n){this.unput(this.match.slice(n))},pastInput:function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var n=this.pastInput(),r=new Array(n.length+1).join("-");return n+this.upcomingInput()+` diff --git a/deploy/server/notebase/assets/requirementDiagram-deff3bca-Un4QkXUj.js b/deploy/server/notebase/assets/requirementDiagram-deff3bca-DHmZaaTc.js similarity index 98% rename from deploy/server/notebase/assets/requirementDiagram-deff3bca-Un4QkXUj.js rename to deploy/server/notebase/assets/requirementDiagram-deff3bca-DHmZaaTc.js index 5023a092bf..38c314f56e 100644 --- a/deploy/server/notebase/assets/requirementDiagram-deff3bca-Un4QkXUj.js +++ b/deploy/server/notebase/assets/requirementDiagram-deff3bca-DHmZaaTc.js @@ -1,4 +1,4 @@ -import{c as Te,s as Ce,g as Fe,b as Me,a as De,l as Ne,C as Pe,h as oe,i as Ye,j as ke}from"./mermaid.core-C-ExL7Zv.js";import{G as Ue}from"./graph-1GVnZ2QQ.js";import{l as Be}from"./layout-BoOjEFWe.js";import"./index-OntvGoV0.js";import{l as Qe}from"./line-CZuLgQF7.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";var ce=function(){var e=function(V,i,n,a){for(n=n||{},a=V.length;a--;n[V[a]]=i);return n},t=[1,3],l=[1,4],c=[1,5],u=[1,6],d=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],p=[1,18],h=[2,7],o=[1,22],g=[1,23],R=[1,24],A=[1,25],T=[1,26],N=[1,27],v=[1,20],k=[1,28],x=[1,29],F=[62,63],de=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],pe=[1,47],fe=[1,48],ye=[1,49],_e=[1,50],ge=[1,51],Ee=[1,52],Re=[1,53],O=[53,54],M=[1,64],D=[1,60],P=[1,61],Y=[1,62],U=[1,63],B=[1,65],j=[1,69],z=[1,70],X=[1,67],J=[1,68],m=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],ie={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:function(i,n,a,r,f,s,W){var _=s.length-1;switch(f){case 4:this.$=s[_].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[_].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:r.addRequirement(s[_-3],s[_-4]);break;case 14:r.setNewReqId(s[_-2]);break;case 15:r.setNewReqText(s[_-2]);break;case 16:r.setNewReqRisk(s[_-2]);break;case 17:r.setNewReqVerifyMethod(s[_-2]);break;case 20:this.$=r.RequirementType.REQUIREMENT;break;case 21:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=r.RiskLevel.LOW_RISK;break;case 27:this.$=r.RiskLevel.MED_RISK;break;case 28:this.$=r.RiskLevel.HIGH_RISK;break;case 29:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=r.VerifyType.VERIFY_TEST;break;case 33:r.addElement(s[_-3]);break;case 34:r.setNewElementType(s[_-2]);break;case 35:r.setNewElementDocRef(s[_-2]);break;case 38:r.addRelationship(s[_-2],s[_],s[_-4]);break;case 39:r.addRelationship(s[_-2],s[_-4],s[_]);break;case 40:this.$=r.Relationships.CONTAINS;break;case 41:this.$=r.Relationships.COPIES;break;case 42:this.$=r.Relationships.DERIVES;break;case 43:this.$=r.Relationships.SATISFIES;break;case 44:this.$=r.Relationships.VERIFIES;break;case 45:this.$=r.Relationships.REFINES;break;case 46:this.$=r.Relationships.TRACES;break}},table:[{3:1,4:2,6:t,9:l,11:c,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:l,11:c,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(d,[2,6]),{3:12,4:2,6:t,9:l,11:c,13:u},{1:[2,2]},{4:17,5:p,7:13,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},e(d,[2,4]),e(d,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:p,7:31,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:32,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:33,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:34,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:35,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(de,[2,49]),e(de,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:pe,56:fe,57:ye,58:_e,59:ge,60:Ee,61:Re},{52:54,55:pe,56:fe,57:ye,58:_e,59:ge,60:Ee,61:Re},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),{54:[1,58]},{5:M,20:59,21:D,24:P,26:Y,28:U,30:B},{5:j,30:z,46:66,47:X,49:J},{23:71,62:k,63:x},{23:72,62:k,63:x},e(m,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:M,20:77,21:D,24:P,26:Y,28:U,30:B},e(m,[2,19]),e(m,[2,33]),{22:[1,78]},{22:[1,79]},{5:j,30:z,46:80,47:X,49:J},e(m,[2,37]),e(m,[2,38]),e(m,[2,39]),{23:81,62:k,63:x},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(m,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(m,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:M,20:106,21:D,24:P,26:Y,28:U,30:B},{5:M,20:107,21:D,24:P,26:Y,28:U,30:B},{5:M,20:108,21:D,24:P,26:Y,28:U,30:B},{5:M,20:109,21:D,24:P,26:Y,28:U,30:B},{5:j,30:z,46:110,47:X,49:J},{5:j,30:z,46:111,47:X,49:J},e(m,[2,14]),e(m,[2,15]),e(m,[2,16]),e(m,[2,17]),e(m,[2,34]),e(m,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:function(i,n){if(n.recoverable)this.trace(i);else{var a=new Error(i);throw a.hash=n,a}},parse:function(i){var n=this,a=[0],r=[],f=[null],s=[],W=this.table,_="",Z=0,me=0,Ve=2,Ie=1,qe=s.slice.call(arguments,1),E=Object.create(this.lexer),L={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(L.yy[ne]=this.yy[ne]);E.setInput(i,L.yy),L.yy.lexer=E,L.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var se=E.yylloc;s.push(se);var Oe=E.options&&E.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(){var $;return $=r.pop()||E.lex()||Ie,typeof $!="number"&&($ instanceof Array&&(r=$,$=r.pop()),$=n.symbols_[$]||$),$}for(var I,C,S,ae,Q={},ee,w,be,te;;){if(C=a[a.length-1],this.defaultActions[C]?S=this.defaultActions[C]:((I===null||typeof I>"u")&&(I=Le()),S=W[C]&&W[C][I]),typeof S>"u"||!S.length||!S[0]){var le="";te=[];for(ee in W[C])this.terminals_[ee]&&ee>Ve&&te.push("'"+this.terminals_[ee]+"'");E.showPosition?le="Parse error on line "+(Z+1)+`: +import{c as Te,s as Ce,g as Fe,b as Me,a as De,l as Ne,C as Pe,h as oe,i as Ye,j as ke}from"./mermaid.core-BAvrjf3l.js";import{G as Ue}from"./graph-heRzvxcs.js";import{l as Be}from"./layout-BLe2lUnK.js";import"./index-D31-yJHm.js";import{l as Qe}from"./line-F7vHXKX5.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";var ce=function(){var e=function(V,i,n,a){for(n=n||{},a=V.length;a--;n[V[a]]=i);return n},t=[1,3],l=[1,4],c=[1,5],u=[1,6],d=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],p=[1,18],h=[2,7],o=[1,22],g=[1,23],R=[1,24],A=[1,25],T=[1,26],N=[1,27],v=[1,20],k=[1,28],x=[1,29],F=[62,63],de=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],pe=[1,47],fe=[1,48],ye=[1,49],_e=[1,50],ge=[1,51],Ee=[1,52],Re=[1,53],O=[53,54],M=[1,64],D=[1,60],P=[1,61],Y=[1,62],U=[1,63],B=[1,65],j=[1,69],z=[1,70],X=[1,67],J=[1,68],m=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],ie={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:function(i,n,a,r,f,s,W){var _=s.length-1;switch(f){case 4:this.$=s[_].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[_].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:r.addRequirement(s[_-3],s[_-4]);break;case 14:r.setNewReqId(s[_-2]);break;case 15:r.setNewReqText(s[_-2]);break;case 16:r.setNewReqRisk(s[_-2]);break;case 17:r.setNewReqVerifyMethod(s[_-2]);break;case 20:this.$=r.RequirementType.REQUIREMENT;break;case 21:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=r.RiskLevel.LOW_RISK;break;case 27:this.$=r.RiskLevel.MED_RISK;break;case 28:this.$=r.RiskLevel.HIGH_RISK;break;case 29:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=r.VerifyType.VERIFY_TEST;break;case 33:r.addElement(s[_-3]);break;case 34:r.setNewElementType(s[_-2]);break;case 35:r.setNewElementDocRef(s[_-2]);break;case 38:r.addRelationship(s[_-2],s[_],s[_-4]);break;case 39:r.addRelationship(s[_-2],s[_-4],s[_]);break;case 40:this.$=r.Relationships.CONTAINS;break;case 41:this.$=r.Relationships.COPIES;break;case 42:this.$=r.Relationships.DERIVES;break;case 43:this.$=r.Relationships.SATISFIES;break;case 44:this.$=r.Relationships.VERIFIES;break;case 45:this.$=r.Relationships.REFINES;break;case 46:this.$=r.Relationships.TRACES;break}},table:[{3:1,4:2,6:t,9:l,11:c,13:u},{1:[3]},{3:8,4:2,5:[1,7],6:t,9:l,11:c,13:u},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(d,[2,6]),{3:12,4:2,6:t,9:l,11:c,13:u},{1:[2,2]},{4:17,5:p,7:13,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},e(d,[2,4]),e(d,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:p,7:31,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:32,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:33,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:34,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{4:17,5:p,7:35,8:h,9:l,11:c,13:u,14:14,15:15,16:16,17:19,23:21,31:o,32:g,33:R,34:A,35:T,36:N,44:v,62:k,63:x},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(F,[2,20]),e(F,[2,21]),e(F,[2,22]),e(F,[2,23]),e(F,[2,24]),e(F,[2,25]),e(de,[2,49]),e(de,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:pe,56:fe,57:ye,58:_e,59:ge,60:Ee,61:Re},{52:54,55:pe,56:fe,57:ye,58:_e,59:ge,60:Ee,61:Re},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(O,[2,40]),e(O,[2,41]),e(O,[2,42]),e(O,[2,43]),e(O,[2,44]),e(O,[2,45]),e(O,[2,46]),{54:[1,58]},{5:M,20:59,21:D,24:P,26:Y,28:U,30:B},{5:j,30:z,46:66,47:X,49:J},{23:71,62:k,63:x},{23:72,62:k,63:x},e(m,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:M,20:77,21:D,24:P,26:Y,28:U,30:B},e(m,[2,19]),e(m,[2,33]),{22:[1,78]},{22:[1,79]},{5:j,30:z,46:80,47:X,49:J},e(m,[2,37]),e(m,[2,38]),e(m,[2,39]),{23:81,62:k,63:x},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(m,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(m,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:M,20:106,21:D,24:P,26:Y,28:U,30:B},{5:M,20:107,21:D,24:P,26:Y,28:U,30:B},{5:M,20:108,21:D,24:P,26:Y,28:U,30:B},{5:M,20:109,21:D,24:P,26:Y,28:U,30:B},{5:j,30:z,46:110,47:X,49:J},{5:j,30:z,46:111,47:X,49:J},e(m,[2,14]),e(m,[2,15]),e(m,[2,16]),e(m,[2,17]),e(m,[2,34]),e(m,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:function(i,n){if(n.recoverable)this.trace(i);else{var a=new Error(i);throw a.hash=n,a}},parse:function(i){var n=this,a=[0],r=[],f=[null],s=[],W=this.table,_="",Z=0,me=0,Ve=2,Ie=1,qe=s.slice.call(arguments,1),E=Object.create(this.lexer),L={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(L.yy[ne]=this.yy[ne]);E.setInput(i,L.yy),L.yy.lexer=E,L.yy.parser=this,typeof E.yylloc>"u"&&(E.yylloc={});var se=E.yylloc;s.push(se);var Oe=E.options&&E.options.ranges;typeof L.yy.parseError=="function"?this.parseError=L.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Le(){var $;return $=r.pop()||E.lex()||Ie,typeof $!="number"&&($ instanceof Array&&(r=$,$=r.pop()),$=n.symbols_[$]||$),$}for(var I,C,S,ae,Q={},ee,w,be,te;;){if(C=a[a.length-1],this.defaultActions[C]?S=this.defaultActions[C]:((I===null||typeof I>"u")&&(I=Le()),S=W[C]&&W[C][I]),typeof S>"u"||!S.length||!S[0]){var le="";te=[];for(ee in W[C])this.terminals_[ee]&&ee>Ve&&te.push("'"+this.terminals_[ee]+"'");E.showPosition?le="Parse error on line "+(Z+1)+`: `+E.showPosition()+` Expecting `+te.join(", ")+", got '"+(this.terminals_[I]||I)+"'":le="Parse error on line "+(Z+1)+": Unexpected "+(I==Ie?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(le,{text:E.match,token:this.terminals_[I]||I,line:E.yylineno,loc:se,expected:te})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+C+", token: "+I);switch(S[0]){case 1:a.push(I),f.push(E.yytext),s.push(E.yylloc),a.push(S[1]),I=null,me=E.yyleng,_=E.yytext,Z=E.yylineno,se=E.yylloc;break;case 2:if(w=this.productions_[S[1]][1],Q.$=f[f.length-w],Q._$={first_line:s[s.length-(w||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(w||1)].first_column,last_column:s[s.length-1].last_column},Oe&&(Q._$.range=[s[s.length-(w||1)].range[0],s[s.length-1].range[1]]),ae=this.performAction.apply(Q,[_,me,Z,L.yy,S[1],f,s].concat(qe)),typeof ae<"u")return ae;w&&(a=a.slice(0,-1*w*2),f=f.slice(0,-1*w),s=s.slice(0,-1*w)),a.push(this.productions_[S[1]][0]),f.push(Q.$),s.push(Q._$),be=W[a[a.length-2]][a[a.length-1]],a.push(be);break;case 3:return!0}}return!0}},$e=function(){var V={EOF:1,parseError:function(n,a){if(this.yy.parser)this.yy.parser.parseError(n,a);else throw new Error(n)},setInput:function(i,n){return this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var n=i.length,a=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===r.length?this.yylloc.first_column:0)+r[r.length-a.length].length-a[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),n=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/deploy/server/notebase/assets/sankeyDiagram-04a897e0-DrgFT6ez.js b/deploy/server/notebase/assets/sankeyDiagram-04a897e0-DrBeyGaL.js similarity index 99% rename from deploy/server/notebase/assets/sankeyDiagram-04a897e0-DrgFT6ez.js rename to deploy/server/notebase/assets/sankeyDiagram-04a897e0-DrBeyGaL.js index 37d6a54af0..2f6ff554fe 100644 --- a/deploy/server/notebase/assets/sankeyDiagram-04a897e0-DrgFT6ez.js +++ b/deploy/server/notebase/assets/sankeyDiagram-04a897e0-DrBeyGaL.js @@ -1,4 +1,4 @@ -import{c as rt,g as mt,s as kt,a as _t,b as xt,B as vt,A as bt,C as wt,j as St,a4 as Lt,h as G,t as Et}from"./mermaid.core-C-ExL7Zv.js";import"./index-OntvGoV0.js";import{o as At}from"./ordinal-Cboi1Yqb.js";import{s as Tt}from"./Tableau10-B-NsZVaP.js";import"./init-Gi6I4Gst.js";function ot(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s=a)&&(s=a);else{let a=-1;for(let u of t)(u=n(u,++a,t))!=null&&(s=u)&&(s=u)}return s}function yt(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s>a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let u of t)(u=n(u,++a,t))!=null&&(s>u||s===void 0&&u>=u)&&(s=u)}return s}function Z(t,n){let s=0;if(n===void 0)for(let a of t)(a=+a)&&(s+=a);else{let a=-1;for(let u of t)(u=+n(u,++a,t))&&(s+=u)}return s}function Mt(t){return t.target.depth}function Nt(t){return t.depth}function Ct(t,n){return n-1-t.height}function dt(t,n){return t.sourceLinks.length?t.depth:n-1}function Pt(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?yt(t.sourceLinks,Mt)-1:0}function Y(t){return function(){return t}}function lt(t,n){return H(t.source,n.source)||t.index-n.index}function at(t,n){return H(t.target,n.target)||t.index-n.index}function H(t,n){return t.y0-n.y0}function J(t){return t.value}function It(t){return t.index}function $t(t){return t.nodes}function Ot(t){return t.links}function ct(t,n){const s=t.get(n);if(!s)throw new Error("missing: "+n);return s}function ut({nodes:t}){for(const n of t){let s=n.y0,a=s;for(const u of n.sourceLinks)u.y0=s+u.width/2,s+=u.width;for(const u of n.targetLinks)u.y1=a+u.width/2,a+=u.width}}function jt(){let t=0,n=0,s=1,a=1,u=24,_=8,g,p=It,i=dt,o,c,m=$t,b=Ot,y=6;function x(){const e={nodes:m.apply(null,arguments),links:b.apply(null,arguments)};return E(e),L(e),A(e),N(e),S(e),ut(e),e}x.update=function(e){return ut(e),e},x.nodeId=function(e){return arguments.length?(p=typeof e=="function"?e:Y(e),x):p},x.nodeAlign=function(e){return arguments.length?(i=typeof e=="function"?e:Y(e),x):i},x.nodeSort=function(e){return arguments.length?(o=e,x):o},x.nodeWidth=function(e){return arguments.length?(u=+e,x):u},x.nodePadding=function(e){return arguments.length?(_=g=+e,x):_},x.nodes=function(e){return arguments.length?(m=typeof e=="function"?e:Y(e),x):m},x.links=function(e){return arguments.length?(b=typeof e=="function"?e:Y(e),x):b},x.linkSort=function(e){return arguments.length?(c=e,x):c},x.size=function(e){return arguments.length?(t=n=0,s=+e[0],a=+e[1],x):[s-t,a-n]},x.extent=function(e){return arguments.length?(t=+e[0][0],s=+e[1][0],n=+e[0][1],a=+e[1][1],x):[[t,n],[s,a]]},x.iterations=function(e){return arguments.length?(y=+e,x):y};function E({nodes:e,links:f}){for(const[h,r]of e.entries())r.index=h,r.sourceLinks=[],r.targetLinks=[];const l=new Map(e.map((h,r)=>[p(h,r,e),h]));for(const[h,r]of f.entries()){r.index=h;let{source:k,target:v}=r;typeof k!="object"&&(k=r.source=ct(l,k)),typeof v!="object"&&(v=r.target=ct(l,v)),k.sourceLinks.push(r),v.targetLinks.push(r)}if(c!=null)for(const{sourceLinks:h,targetLinks:r}of e)h.sort(c),r.sort(c)}function L({nodes:e}){for(const f of e)f.value=f.fixedValue===void 0?Math.max(Z(f.sourceLinks,J),Z(f.targetLinks,J)):f.fixedValue}function A({nodes:e}){const f=e.length;let l=new Set(e),h=new Set,r=0;for(;l.size;){for(const k of l){k.depth=r;for(const{target:v}of k.sourceLinks)h.add(v)}if(++r>f)throw new Error("circular link");l=h,h=new Set}}function N({nodes:e}){const f=e.length;let l=new Set(e),h=new Set,r=0;for(;l.size;){for(const k of l){k.height=r;for(const{source:v}of k.targetLinks)h.add(v)}if(++r>f)throw new Error("circular link");l=h,h=new Set}}function I({nodes:e}){const f=ot(e,r=>r.depth)+1,l=(s-t-u)/(f-1),h=new Array(f);for(const r of e){const k=Math.max(0,Math.min(f-1,Math.floor(i.call(null,r,f))));r.layer=k,r.x0=t+k*l,r.x1=r.x0+u,h[k]?h[k].push(r):h[k]=[r]}if(o)for(const r of h)r.sort(o);return h}function j(e){const f=yt(e,l=>(a-n-(l.length-1)*g)/Z(l,J));for(const l of e){let h=n;for(const r of l){r.y0=h,r.y1=h+r.value*f,h=r.y1+g;for(const k of r.sourceLinks)k.width=k.value*f}h=(a-h+g)/(l.length+1);for(let r=0;rl.length)-1)),j(f);for(let l=0;l0))continue;let U=(R/z-v.y0)*f;v.y0+=U,v.y1+=U,w(v)}o===void 0&&k.sort(H),C(k,l)}}function O(e,f,l){for(let h=e.length,r=h-2;r>=0;--r){const k=e[r];for(const v of k){let R=0,z=0;for(const{target:W,value:K}of v.sourceLinks){let F=K*(W.layer-v.layer);R+=V(v,W)*F,z+=F}if(!(z>0))continue;let U=(R/z-v.y0)*f;v.y0+=U,v.y1+=U,w(v)}o===void 0&&k.sort(H),C(k,l)}}function C(e,f){const l=e.length>>1,h=e[l];d(e,h.y0-g,l-1,f),P(e,h.y1+g,l+1,f),d(e,a,e.length-1,f),P(e,n,0,f)}function P(e,f,l,h){for(;l1e-6&&(r.y0+=k,r.y1+=k),f=r.y1+g}}function d(e,f,l,h){for(;l>=0;--l){const r=e[l],k=(r.y1-f)*h;k>1e-6&&(r.y0-=k,r.y1-=k),f=r.y0-g}}function w({sourceLinks:e,targetLinks:f}){if(c===void 0){for(const{source:{sourceLinks:l}}of f)l.sort(at);for(const{target:{targetLinks:l}}of e)l.sort(lt)}}function $(e){if(c===void 0)for(const{sourceLinks:f,targetLinks:l}of e)f.sort(at),l.sort(lt)}function T(e,f){let l=e.y0-(e.sourceLinks.length-1)*g/2;for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;l+=r+g}for(const{source:h,width:r}of f.targetLinks){if(h===e)break;l-=r}return l}function V(e,f){let l=f.y0-(f.targetLinks.length-1)*g/2;for(const{source:h,width:r}of f.targetLinks){if(h===e)break;l+=r+g}for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;l-=r}return l}return x}var tt=Math.PI,et=2*tt,D=1e-6,zt=et-D;function nt(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function gt(){return new nt}nt.prototype=gt.prototype={constructor:nt,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,s,a){this._+="Q"+ +t+","+ +n+","+(this._x1=+s)+","+(this._y1=+a)},bezierCurveTo:function(t,n,s,a,u,_){this._+="C"+ +t+","+ +n+","+ +s+","+ +a+","+(this._x1=+u)+","+(this._y1=+_)},arcTo:function(t,n,s,a,u){t=+t,n=+n,s=+s,a=+a,u=+u;var _=this._x1,g=this._y1,p=s-t,i=a-n,o=_-t,c=g-n,m=o*o+c*c;if(u<0)throw new Error("negative radius: "+u);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(m>D)if(!(Math.abs(c*p-i*o)>D)||!u)this._+="L"+(this._x1=t)+","+(this._y1=n);else{var b=s-_,y=a-g,x=p*p+i*i,E=b*b+y*y,L=Math.sqrt(x),A=Math.sqrt(m),N=u*Math.tan((tt-Math.acos((x+m-E)/(2*L*A)))/2),I=N/A,j=N/L;Math.abs(I-1)>D&&(this._+="L"+(t+I*o)+","+(n+I*c)),this._+="A"+u+","+u+",0,0,"+ +(c*b>o*y)+","+(this._x1=t+j*p)+","+(this._y1=n+j*i)}},arc:function(t,n,s,a,u,_){t=+t,n=+n,s=+s,_=!!_;var g=s*Math.cos(a),p=s*Math.sin(a),i=t+g,o=n+p,c=1^_,m=_?a-u:u-a;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+i+","+o:(Math.abs(this._x1-i)>D||Math.abs(this._y1-o)>D)&&(this._+="L"+i+","+o),s&&(m<0&&(m=m%et+et),m>zt?this._+="A"+s+","+s+",0,1,"+c+","+(t-g)+","+(n-p)+"A"+s+","+s+",0,1,"+c+","+(this._x1=i)+","+(this._y1=o):m>D&&(this._+="A"+s+","+s+",0,"+ +(m>=tt)+","+c+","+(this._x1=t+s*Math.cos(u))+","+(this._y1=n+s*Math.sin(u))))},rect:function(t,n,s,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +s+"v"+ +a+"h"+-s+"Z"},toString:function(){return this._}};function ht(t){return function(){return t}}function Dt(t){return t[0]}function Bt(t){return t[1]}var Vt=Array.prototype.slice;function Rt(t){return t.source}function Ut(t){return t.target}function Wt(t){var n=Rt,s=Ut,a=Dt,u=Bt,_=null;function g(){var p,i=Vt.call(arguments),o=n.apply(this,i),c=s.apply(this,i);if(_||(_=p=gt()),t(_,+a.apply(this,(i[0]=o,i)),+u.apply(this,i),+a.apply(this,(i[0]=c,i)),+u.apply(this,i)),p)return _=null,p+""||null}return g.source=function(p){return arguments.length?(n=p,g):n},g.target=function(p){return arguments.length?(s=p,g):s},g.x=function(p){return arguments.length?(a=typeof p=="function"?p:ht(+p),g):a},g.y=function(p){return arguments.length?(u=typeof p=="function"?p:ht(+p),g):u},g.context=function(p){return arguments.length?(_=p??null,g):_},g}function Ft(t,n,s,a,u){t.moveTo(n,s),t.bezierCurveTo(n=(n+a)/2,s,n,u,a,u)}function Gt(){return Wt(Ft)}function Yt(t){return[t.source.x1,t.y0]}function Ht(t){return[t.target.x0,t.y1]}function Xt(){return Gt().source(Yt).target(Ht)}var it=function(){var t=function(p,i,o,c){for(o=o||{},c=p.length;c--;o[p[c]]=i);return o},n=[1,9],s=[1,10],a=[1,5,10,12],u={trace:function(){},yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:function(i,o,c,m,b,y,x){var E=y.length-1;switch(b){case 7:const L=m.findOrCreateNode(y[E-4].trim().replaceAll('""','"')),A=m.findOrCreateNode(y[E-2].trim().replaceAll('""','"')),N=parseFloat(y[E].trim());m.addLink(L,A,N);break;case 8:case 9:case 11:this.$=y[E];break;case 10:this.$=y[E-1];break}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:n,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:s},{15:18,16:7,17:8,18:n,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:n,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:function(i,o){if(o.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=o,c}},parse:function(i){var o=this,c=[0],m=[],b=[null],y=[],x=this.table,E="",L=0,A=0,N=2,I=1,j=y.slice.call(arguments,1),S=Object.create(this.lexer),M={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(M.yy[O]=this.yy[O]);S.setInput(i,M.yy),M.yy.lexer=S,M.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var C=S.yylloc;y.push(C);var P=S.options&&S.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function d(){var v;return v=m.pop()||S.lex()||I,typeof v!="number"&&(v instanceof Array&&(m=v,v=m.pop()),v=o.symbols_[v]||v),v}for(var w,$,T,V,e={},f,l,h,r;;){if($=c[c.length-1],this.defaultActions[$]?T=this.defaultActions[$]:((w===null||typeof w>"u")&&(w=d()),T=x[$]&&x[$][w]),typeof T>"u"||!T.length||!T[0]){var k="";r=[];for(f in x[$])this.terminals_[f]&&f>N&&r.push("'"+this.terminals_[f]+"'");S.showPosition?k="Parse error on line "+(L+1)+`: +import{c as rt,g as mt,s as kt,a as _t,b as xt,B as vt,A as bt,C as wt,j as St,a4 as Lt,h as G,t as Et}from"./mermaid.core-BAvrjf3l.js";import"./index-D31-yJHm.js";import{o as At}from"./ordinal-Cboi1Yqb.js";import{s as Tt}from"./Tableau10-B-NsZVaP.js";import"./init-Gi6I4Gst.js";function ot(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s=a)&&(s=a);else{let a=-1;for(let u of t)(u=n(u,++a,t))!=null&&(s=u)&&(s=u)}return s}function yt(t,n){let s;if(n===void 0)for(const a of t)a!=null&&(s>a||s===void 0&&a>=a)&&(s=a);else{let a=-1;for(let u of t)(u=n(u,++a,t))!=null&&(s>u||s===void 0&&u>=u)&&(s=u)}return s}function Z(t,n){let s=0;if(n===void 0)for(let a of t)(a=+a)&&(s+=a);else{let a=-1;for(let u of t)(u=+n(u,++a,t))&&(s+=u)}return s}function Mt(t){return t.target.depth}function Nt(t){return t.depth}function Ct(t,n){return n-1-t.height}function dt(t,n){return t.sourceLinks.length?t.depth:n-1}function Pt(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?yt(t.sourceLinks,Mt)-1:0}function Y(t){return function(){return t}}function lt(t,n){return H(t.source,n.source)||t.index-n.index}function at(t,n){return H(t.target,n.target)||t.index-n.index}function H(t,n){return t.y0-n.y0}function J(t){return t.value}function It(t){return t.index}function $t(t){return t.nodes}function Ot(t){return t.links}function ct(t,n){const s=t.get(n);if(!s)throw new Error("missing: "+n);return s}function ut({nodes:t}){for(const n of t){let s=n.y0,a=s;for(const u of n.sourceLinks)u.y0=s+u.width/2,s+=u.width;for(const u of n.targetLinks)u.y1=a+u.width/2,a+=u.width}}function jt(){let t=0,n=0,s=1,a=1,u=24,_=8,g,p=It,i=dt,o,c,m=$t,b=Ot,y=6;function x(){const e={nodes:m.apply(null,arguments),links:b.apply(null,arguments)};return E(e),L(e),A(e),N(e),S(e),ut(e),e}x.update=function(e){return ut(e),e},x.nodeId=function(e){return arguments.length?(p=typeof e=="function"?e:Y(e),x):p},x.nodeAlign=function(e){return arguments.length?(i=typeof e=="function"?e:Y(e),x):i},x.nodeSort=function(e){return arguments.length?(o=e,x):o},x.nodeWidth=function(e){return arguments.length?(u=+e,x):u},x.nodePadding=function(e){return arguments.length?(_=g=+e,x):_},x.nodes=function(e){return arguments.length?(m=typeof e=="function"?e:Y(e),x):m},x.links=function(e){return arguments.length?(b=typeof e=="function"?e:Y(e),x):b},x.linkSort=function(e){return arguments.length?(c=e,x):c},x.size=function(e){return arguments.length?(t=n=0,s=+e[0],a=+e[1],x):[s-t,a-n]},x.extent=function(e){return arguments.length?(t=+e[0][0],s=+e[1][0],n=+e[0][1],a=+e[1][1],x):[[t,n],[s,a]]},x.iterations=function(e){return arguments.length?(y=+e,x):y};function E({nodes:e,links:f}){for(const[h,r]of e.entries())r.index=h,r.sourceLinks=[],r.targetLinks=[];const l=new Map(e.map((h,r)=>[p(h,r,e),h]));for(const[h,r]of f.entries()){r.index=h;let{source:k,target:v}=r;typeof k!="object"&&(k=r.source=ct(l,k)),typeof v!="object"&&(v=r.target=ct(l,v)),k.sourceLinks.push(r),v.targetLinks.push(r)}if(c!=null)for(const{sourceLinks:h,targetLinks:r}of e)h.sort(c),r.sort(c)}function L({nodes:e}){for(const f of e)f.value=f.fixedValue===void 0?Math.max(Z(f.sourceLinks,J),Z(f.targetLinks,J)):f.fixedValue}function A({nodes:e}){const f=e.length;let l=new Set(e),h=new Set,r=0;for(;l.size;){for(const k of l){k.depth=r;for(const{target:v}of k.sourceLinks)h.add(v)}if(++r>f)throw new Error("circular link");l=h,h=new Set}}function N({nodes:e}){const f=e.length;let l=new Set(e),h=new Set,r=0;for(;l.size;){for(const k of l){k.height=r;for(const{source:v}of k.targetLinks)h.add(v)}if(++r>f)throw new Error("circular link");l=h,h=new Set}}function I({nodes:e}){const f=ot(e,r=>r.depth)+1,l=(s-t-u)/(f-1),h=new Array(f);for(const r of e){const k=Math.max(0,Math.min(f-1,Math.floor(i.call(null,r,f))));r.layer=k,r.x0=t+k*l,r.x1=r.x0+u,h[k]?h[k].push(r):h[k]=[r]}if(o)for(const r of h)r.sort(o);return h}function j(e){const f=yt(e,l=>(a-n-(l.length-1)*g)/Z(l,J));for(const l of e){let h=n;for(const r of l){r.y0=h,r.y1=h+r.value*f,h=r.y1+g;for(const k of r.sourceLinks)k.width=k.value*f}h=(a-h+g)/(l.length+1);for(let r=0;rl.length)-1)),j(f);for(let l=0;l0))continue;let U=(R/z-v.y0)*f;v.y0+=U,v.y1+=U,w(v)}o===void 0&&k.sort(H),C(k,l)}}function O(e,f,l){for(let h=e.length,r=h-2;r>=0;--r){const k=e[r];for(const v of k){let R=0,z=0;for(const{target:W,value:K}of v.sourceLinks){let F=K*(W.layer-v.layer);R+=V(v,W)*F,z+=F}if(!(z>0))continue;let U=(R/z-v.y0)*f;v.y0+=U,v.y1+=U,w(v)}o===void 0&&k.sort(H),C(k,l)}}function C(e,f){const l=e.length>>1,h=e[l];d(e,h.y0-g,l-1,f),P(e,h.y1+g,l+1,f),d(e,a,e.length-1,f),P(e,n,0,f)}function P(e,f,l,h){for(;l1e-6&&(r.y0+=k,r.y1+=k),f=r.y1+g}}function d(e,f,l,h){for(;l>=0;--l){const r=e[l],k=(r.y1-f)*h;k>1e-6&&(r.y0-=k,r.y1-=k),f=r.y0-g}}function w({sourceLinks:e,targetLinks:f}){if(c===void 0){for(const{source:{sourceLinks:l}}of f)l.sort(at);for(const{target:{targetLinks:l}}of e)l.sort(lt)}}function $(e){if(c===void 0)for(const{sourceLinks:f,targetLinks:l}of e)f.sort(at),l.sort(lt)}function T(e,f){let l=e.y0-(e.sourceLinks.length-1)*g/2;for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;l+=r+g}for(const{source:h,width:r}of f.targetLinks){if(h===e)break;l-=r}return l}function V(e,f){let l=f.y0-(f.targetLinks.length-1)*g/2;for(const{source:h,width:r}of f.targetLinks){if(h===e)break;l+=r+g}for(const{target:h,width:r}of e.sourceLinks){if(h===f)break;l-=r}return l}return x}var tt=Math.PI,et=2*tt,D=1e-6,zt=et-D;function nt(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function gt(){return new nt}nt.prototype=gt.prototype={constructor:nt,moveTo:function(t,n){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,n){this._+="L"+(this._x1=+t)+","+(this._y1=+n)},quadraticCurveTo:function(t,n,s,a){this._+="Q"+ +t+","+ +n+","+(this._x1=+s)+","+(this._y1=+a)},bezierCurveTo:function(t,n,s,a,u,_){this._+="C"+ +t+","+ +n+","+ +s+","+ +a+","+(this._x1=+u)+","+(this._y1=+_)},arcTo:function(t,n,s,a,u){t=+t,n=+n,s=+s,a=+a,u=+u;var _=this._x1,g=this._y1,p=s-t,i=a-n,o=_-t,c=g-n,m=o*o+c*c;if(u<0)throw new Error("negative radius: "+u);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=n);else if(m>D)if(!(Math.abs(c*p-i*o)>D)||!u)this._+="L"+(this._x1=t)+","+(this._y1=n);else{var b=s-_,y=a-g,x=p*p+i*i,E=b*b+y*y,L=Math.sqrt(x),A=Math.sqrt(m),N=u*Math.tan((tt-Math.acos((x+m-E)/(2*L*A)))/2),I=N/A,j=N/L;Math.abs(I-1)>D&&(this._+="L"+(t+I*o)+","+(n+I*c)),this._+="A"+u+","+u+",0,0,"+ +(c*b>o*y)+","+(this._x1=t+j*p)+","+(this._y1=n+j*i)}},arc:function(t,n,s,a,u,_){t=+t,n=+n,s=+s,_=!!_;var g=s*Math.cos(a),p=s*Math.sin(a),i=t+g,o=n+p,c=1^_,m=_?a-u:u-a;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+i+","+o:(Math.abs(this._x1-i)>D||Math.abs(this._y1-o)>D)&&(this._+="L"+i+","+o),s&&(m<0&&(m=m%et+et),m>zt?this._+="A"+s+","+s+",0,1,"+c+","+(t-g)+","+(n-p)+"A"+s+","+s+",0,1,"+c+","+(this._x1=i)+","+(this._y1=o):m>D&&(this._+="A"+s+","+s+",0,"+ +(m>=tt)+","+c+","+(this._x1=t+s*Math.cos(u))+","+(this._y1=n+s*Math.sin(u))))},rect:function(t,n,s,a){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+n)+"h"+ +s+"v"+ +a+"h"+-s+"Z"},toString:function(){return this._}};function ht(t){return function(){return t}}function Dt(t){return t[0]}function Bt(t){return t[1]}var Vt=Array.prototype.slice;function Rt(t){return t.source}function Ut(t){return t.target}function Wt(t){var n=Rt,s=Ut,a=Dt,u=Bt,_=null;function g(){var p,i=Vt.call(arguments),o=n.apply(this,i),c=s.apply(this,i);if(_||(_=p=gt()),t(_,+a.apply(this,(i[0]=o,i)),+u.apply(this,i),+a.apply(this,(i[0]=c,i)),+u.apply(this,i)),p)return _=null,p+""||null}return g.source=function(p){return arguments.length?(n=p,g):n},g.target=function(p){return arguments.length?(s=p,g):s},g.x=function(p){return arguments.length?(a=typeof p=="function"?p:ht(+p),g):a},g.y=function(p){return arguments.length?(u=typeof p=="function"?p:ht(+p),g):u},g.context=function(p){return arguments.length?(_=p??null,g):_},g}function Ft(t,n,s,a,u){t.moveTo(n,s),t.bezierCurveTo(n=(n+a)/2,s,n,u,a,u)}function Gt(){return Wt(Ft)}function Yt(t){return[t.source.x1,t.y0]}function Ht(t){return[t.target.x0,t.y1]}function Xt(){return Gt().source(Yt).target(Ht)}var it=function(){var t=function(p,i,o,c){for(o=o||{},c=p.length;c--;o[p[c]]=i);return o},n=[1,9],s=[1,10],a=[1,5,10,12],u={trace:function(){},yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:function(i,o,c,m,b,y,x){var E=y.length-1;switch(b){case 7:const L=m.findOrCreateNode(y[E-4].trim().replaceAll('""','"')),A=m.findOrCreateNode(y[E-2].trim().replaceAll('""','"')),N=parseFloat(y[E].trim());m.addLink(L,A,N);break;case 8:case 9:case 11:this.$=y[E];break;case 10:this.$=y[E-1];break}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:n,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(a,[2,8]),t(a,[2,9]),{19:[1,16]},t(a,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:n,20:s},{15:18,16:7,17:8,18:n,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(a,[2,10]),{15:21,16:7,17:8,18:n,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:function(i,o){if(o.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=o,c}},parse:function(i){var o=this,c=[0],m=[],b=[null],y=[],x=this.table,E="",L=0,A=0,N=2,I=1,j=y.slice.call(arguments,1),S=Object.create(this.lexer),M={yy:{}};for(var O in this.yy)Object.prototype.hasOwnProperty.call(this.yy,O)&&(M.yy[O]=this.yy[O]);S.setInput(i,M.yy),M.yy.lexer=S,M.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var C=S.yylloc;y.push(C);var P=S.options&&S.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function d(){var v;return v=m.pop()||S.lex()||I,typeof v!="number"&&(v instanceof Array&&(m=v,v=m.pop()),v=o.symbols_[v]||v),v}for(var w,$,T,V,e={},f,l,h,r;;){if($=c[c.length-1],this.defaultActions[$]?T=this.defaultActions[$]:((w===null||typeof w>"u")&&(w=d()),T=x[$]&&x[$][w]),typeof T>"u"||!T.length||!T[0]){var k="";r=[];for(f in x[$])this.terminals_[f]&&f>N&&r.push("'"+this.terminals_[f]+"'");S.showPosition?k="Parse error on line "+(L+1)+`: `+S.showPosition()+` Expecting `+r.join(", ")+", got '"+(this.terminals_[w]||w)+"'":k="Parse error on line "+(L+1)+": Unexpected "+(w==I?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(k,{text:S.match,token:this.terminals_[w]||w,line:S.yylineno,loc:C,expected:r})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+$+", token: "+w);switch(T[0]){case 1:c.push(w),b.push(S.yytext),y.push(S.yylloc),c.push(T[1]),w=null,A=S.yyleng,E=S.yytext,L=S.yylineno,C=S.yylloc;break;case 2:if(l=this.productions_[T[1]][1],e.$=b[b.length-l],e._$={first_line:y[y.length-(l||1)].first_line,last_line:y[y.length-1].last_line,first_column:y[y.length-(l||1)].first_column,last_column:y[y.length-1].last_column},P&&(e._$.range=[y[y.length-(l||1)].range[0],y[y.length-1].range[1]]),V=this.performAction.apply(e,[E,A,L,M.yy,T[1],b,y].concat(j)),typeof V<"u")return V;l&&(c=c.slice(0,-1*l*2),b=b.slice(0,-1*l),y=y.slice(0,-1*l)),c.push(this.productions_[T[1]][0]),b.push(e.$),y.push(e._$),h=x[c[c.length-2]][c[c.length-1]],c.push(h);break;case 3:return!0}}return!0}},_=function(){var p={EOF:1,parseError:function(o,c){if(this.yy.parser)this.yy.parser.parseError(o,c);else throw new Error(o)},setInput:function(i,o){return this.yy=o||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var o=i.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var o=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var m=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var b=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===m.length?this.yylloc.first_column:0)+m[m.length-c.length].length-c[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),o=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/starter/src/main/resources/static/notebase/assets/sequenceDiagram-704730f1-Ba9F8Hxw.js b/deploy/server/notebase/assets/sequenceDiagram-704730f1-C_IYP5uy.js similarity index 99% rename from starter/src/main/resources/static/notebase/assets/sequenceDiagram-704730f1-Ba9F8Hxw.js rename to deploy/server/notebase/assets/sequenceDiagram-704730f1-C_IYP5uy.js index dd0a46f5cf..7ee145bac2 100644 --- a/starter/src/main/resources/static/notebase/assets/sequenceDiagram-704730f1-Ba9F8Hxw.js +++ b/deploy/server/notebase/assets/sequenceDiagram-704730f1-C_IYP5uy.js @@ -1,4 +1,4 @@ -import{g as we,B as ve,A as _e,c as st,s as $t,b as ke,a as Pe,C as Le,l as X,d as At,j as v,e as Ie,h as Lt,i as Ae,y as B,$ as nt,a0 as wt,m as te,r as ee,V as Bt,T as se,a1 as Ne}from"./mermaid.core-FIymlv9x.js";import{d as Se,a as Me,g as Nt,b as zt,c as Re,e as Ce}from"./svgDrawCommon-08f97a94-DNtJ_ALA.js";import"./index-BtAN2wrW.js";var Yt=function(){var t=function(dt,w,k,L){for(k=k||{},L=dt.length;L--;k[dt[L]]=w);return k},e=[1,2],c=[1,3],s=[1,4],i=[2,4],a=[1,9],o=[1,11],l=[1,13],p=[1,14],r=[1,16],x=[1,17],T=[1,18],u=[1,24],g=[1,25],m=[1,26],_=[1,27],I=[1,28],V=[1,29],S=[1,30],O=[1,31],R=[1,32],q=[1,33],z=[1,34],J=[1,35],$=[1,36],H=[1,37],U=[1,38],F=[1,39],W=[1,41],Z=[1,42],K=[1,43],Q=[1,44],tt=[1,45],N=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],P=[4,5,16,50,52,53],j=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],rt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],A=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Gt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ht=[68,69,70],ot=[1,120],Mt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,DOTTED_ARROW:74,SOLID_CROSS:75,DOTTED_CROSS:76,SOLID_POINT:77,DOTTED_POINT:78,TXT:79,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"DOTTED_ARROW",75:"SOLID_CROSS",76:"DOTTED_CROSS",77:"SOLID_POINT",78:"DOTTED_POINT",79:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:function(w,k,L,b,M,h,Et){var d=h.length-1;switch(M){case 3:return b.apply(h[d]),h[d];case 4:case 9:this.$=[];break;case 5:case 10:h[d-1].push(h[d]),this.$=h[d-1];break;case 6:case 7:case 11:case 12:this.$=h[d];break;case 8:case 13:this.$=[];break;case 15:h[d].type="createParticipant",this.$=h[d];break;case 16:h[d-1].unshift({type:"boxStart",boxData:b.parseBoxData(h[d-2])}),h[d-1].push({type:"boxEnd",boxText:h[d-2]}),this.$=h[d-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(h[d-2]),sequenceIndexStep:Number(h[d-1]),sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(h[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:b.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:h[d-1]};break;case 23:this.$={type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:h[d-1]};break;case 29:b.setDiagramTitle(h[d].substring(6)),this.$=h[d].substring(6);break;case 30:b.setDiagramTitle(h[d].substring(7)),this.$=h[d].substring(7);break;case 31:this.$=h[d].trim(),b.setAccTitle(this.$);break;case 32:case 33:this.$=h[d].trim(),b.setAccDescription(this.$);break;case 34:h[d-1].unshift({type:"loopStart",loopText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.LOOP_START}),h[d-1].push({type:"loopEnd",loopText:h[d-2],signalType:b.LINETYPE.LOOP_END}),this.$=h[d-1];break;case 35:h[d-1].unshift({type:"rectStart",color:b.parseMessage(h[d-2]),signalType:b.LINETYPE.RECT_START}),h[d-1].push({type:"rectEnd",color:b.parseMessage(h[d-2]),signalType:b.LINETYPE.RECT_END}),this.$=h[d-1];break;case 36:h[d-1].unshift({type:"optStart",optText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.OPT_START}),h[d-1].push({type:"optEnd",optText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.OPT_END}),this.$=h[d-1];break;case 37:h[d-1].unshift({type:"altStart",altText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.ALT_START}),h[d-1].push({type:"altEnd",signalType:b.LINETYPE.ALT_END}),this.$=h[d-1];break;case 38:h[d-1].unshift({type:"parStart",parText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.PAR_START}),h[d-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=h[d-1];break;case 39:h[d-1].unshift({type:"parStart",parText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.PAR_OVER_START}),h[d-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=h[d-1];break;case 40:h[d-1].unshift({type:"criticalStart",criticalText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.CRITICAL_START}),h[d-1].push({type:"criticalEnd",signalType:b.LINETYPE.CRITICAL_END}),this.$=h[d-1];break;case 41:h[d-1].unshift({type:"breakStart",breakText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.BREAK_START}),h[d-1].push({type:"breakEnd",optText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.BREAK_END}),this.$=h[d-1];break;case 43:this.$=h[d-3].concat([{type:"option",optionText:b.parseMessage(h[d-1]),signalType:b.LINETYPE.CRITICAL_OPTION},h[d]]);break;case 45:this.$=h[d-3].concat([{type:"and",parText:b.parseMessage(h[d-1]),signalType:b.LINETYPE.PAR_AND},h[d]]);break;case 47:this.$=h[d-3].concat([{type:"else",altText:b.parseMessage(h[d-1]),signalType:b.LINETYPE.ALT_ELSE},h[d]]);break;case 48:h[d-3].draw="participant",h[d-3].type="addParticipant",h[d-3].description=b.parseMessage(h[d-1]),this.$=h[d-3];break;case 49:h[d-1].draw="participant",h[d-1].type="addParticipant",this.$=h[d-1];break;case 50:h[d-3].draw="actor",h[d-3].type="addParticipant",h[d-3].description=b.parseMessage(h[d-1]),this.$=h[d-3];break;case 51:h[d-1].draw="actor",h[d-1].type="addParticipant",this.$=h[d-1];break;case 52:h[d-1].type="destroyParticipant",this.$=h[d-1];break;case 53:this.$=[h[d-1],{type:"addNote",placement:h[d-2],actor:h[d-1].actor,text:h[d]}];break;case 54:h[d-2]=[].concat(h[d-1],h[d-1]).slice(0,2),h[d-2][0]=h[d-2][0].actor,h[d-2][1]=h[d-2][1].actor,this.$=[h[d-1],{type:"addNote",placement:b.PLACEMENT.OVER,actor:h[d-2].slice(0,2),text:h[d]}];break;case 55:this.$=[h[d-1],{type:"addLinks",actor:h[d-1].actor,text:h[d]}];break;case 56:this.$=[h[d-1],{type:"addALink",actor:h[d-1].actor,text:h[d]}];break;case 57:this.$=[h[d-1],{type:"addProperties",actor:h[d-1].actor,text:h[d]}];break;case 58:this.$=[h[d-1],{type:"addDetails",actor:h[d-1].actor,text:h[d]}];break;case 61:this.$=[h[d-2],h[d]];break;case 62:this.$=h[d];break;case 63:this.$=b.PLACEMENT.LEFTOF;break;case 64:this.$=b.PLACEMENT.RIGHTOF;break;case 65:this.$=[h[d-4],h[d-1],{type:"addMessage",from:h[d-4].actor,to:h[d-1].actor,signalType:h[d-3],msg:h[d],activate:!0},{type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:h[d-1]}];break;case 66:this.$=[h[d-4],h[d-1],{type:"addMessage",from:h[d-4].actor,to:h[d-1].actor,signalType:h[d-3],msg:h[d]},{type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:h[d-4]}];break;case 67:this.$=[h[d-3],h[d-1],{type:"addMessage",from:h[d-3].actor,to:h[d-1].actor,signalType:h[d-2],msg:h[d]}];break;case 68:this.$={type:"addParticipant",actor:h[d]};break;case 69:this.$=b.LINETYPE.SOLID_OPEN;break;case 70:this.$=b.LINETYPE.DOTTED_OPEN;break;case 71:this.$=b.LINETYPE.SOLID;break;case 72:this.$=b.LINETYPE.DOTTED;break;case 73:this.$=b.LINETYPE.SOLID_CROSS;break;case 74:this.$=b.LINETYPE.DOTTED_CROSS;break;case 75:this.$=b.LINETYPE.SOLID_POINT;break;case 76:this.$=b.LINETYPE.DOTTED_POINT;break;case 77:this.$=b.parseMessage(h[d].trim().substring(1));break}},table:[{3:1,4:e,5:c,6:s},{1:[3]},{3:5,4:e,5:c,6:s},{3:6,4:e,5:c,6:s},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:o,8:8,9:10,12:12,13:l,14:p,17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},t(y,[2,5]),{9:47,12:12,13:l,14:p,17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:H,52:U,53:F},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:N},{22:55,70:N},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:N},{22:72,70:N},{22:73,70:N},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82]},{55:83,57:[1,84],65:[1,85],66:[1,86]},{22:87,70:N},{22:88,70:N},{22:89,70:N},{22:90,70:N},t([5,51,64,71,72,73,74,75,76,77,78,79],[2,68]),t(y,[2,6]),t(y,[2,15]),t(P,[2,9],{10:91}),t(y,[2,17]),{5:[1,93],19:[1,92]},{5:[1,94]},t(y,[2,21]),{5:[1,95]},{5:[1,96]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t(j,i,{7:97}),t(j,i,{7:98}),t(j,i,{7:99}),t(rt,i,{40:100,7:101}),t(A,i,{42:102,7:103}),t(A,i,{7:103,42:104}),t(Gt,i,{45:105,7:106}),t(j,i,{7:107}),{5:[1,109],51:[1,108]},{5:[1,111],51:[1,110]},{5:[1,112]},{22:115,68:[1,113],69:[1,114],70:N},t(ht,[2,69]),t(ht,[2,70]),t(ht,[2,71]),t(ht,[2,72]),t(ht,[2,73]),t(ht,[2,74]),t(ht,[2,75]),t(ht,[2,76]),{22:116,70:N},{22:118,58:117,70:N},{70:[2,63]},{70:[2,64]},{56:119,79:ot},{56:121,79:ot},{56:122,79:ot},{56:123,79:ot},{4:[1,126],5:[1,128],11:125,12:127,16:[1,124],50:H,52:U,53:F},{5:[1,129]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[1,130],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[1,131],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[1,132],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{16:[1,133]},{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[2,46],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,49:[1,134],50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{16:[1,135]},{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[2,44],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,48:[1,136],50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{16:[1,137]},{16:[1,138]},{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[2,42],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,47:[1,139],50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[1,140],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{15:[1,141]},t(y,[2,49]),{15:[1,142]},t(y,[2,51]),t(y,[2,52]),{22:143,70:N},{22:144,70:N},{56:145,79:ot},{56:146,79:ot},{56:147,79:ot},{64:[1,148],79:[2,62]},{5:[2,55]},{5:[2,77]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(P,[2,10]),{12:149,50:H,52:U,53:F},t(P,[2,12]),t(P,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,150]},t(y,[2,38]),{15:[1,151]},t(y,[2,39]),t(y,[2,40]),{15:[1,152]},t(y,[2,41]),{5:[1,153]},{5:[1,154]},{56:155,79:ot},{56:156,79:ot},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:157,70:N},t(P,[2,11]),t(rt,i,{7:101,40:158}),t(A,i,{7:103,42:159}),t(Gt,i,{7:106,45:160}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{79:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],85:[2,63],86:[2,64],119:[2,55],120:[2,77],121:[2,56],122:[2,57],123:[2,58],145:[2,67],146:[2,53],147:[2,54],155:[2,65],156:[2,66],157:[2,61],158:[2,47],159:[2,45],160:[2,43]},parseError:function(w,k){if(k.recoverable)this.trace(w);else{var L=new Error(w);throw L.hash=k,L}},parse:function(w){var k=this,L=[0],b=[],M=[null],h=[],Et=this.table,d="",_t=0,Xt=0,Te=2,Jt=1,be=h.slice.call(arguments,1),Y=Object.create(this.lexer),pt={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(pt.yy[Ct]=this.yy[Ct]);Y.setInput(w,pt.yy),pt.yy.lexer=Y,pt.yy.parser=this,typeof Y.yylloc>"u"&&(Y.yylloc={});var Dt=Y.yylloc;h.push(Dt);var Ee=Y.options&&Y.options.ranges;typeof pt.yy.parseError=="function"?this.parseError=pt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function me(){var lt;return lt=b.pop()||Y.lex()||Jt,typeof lt!="number"&&(lt instanceof Array&&(b=lt,lt=b.pop()),lt=k.symbols_[lt]||lt),lt}for(var G,ut,et,Vt,yt={},kt,ct,Zt,Pt;;){if(ut=L[L.length-1],this.defaultActions[ut]?et=this.defaultActions[ut]:((G===null||typeof G>"u")&&(G=me()),et=Et[ut]&&Et[ut][G]),typeof et>"u"||!et.length||!et[0]){var Ot="";Pt=[];for(kt in Et[ut])this.terminals_[kt]&&kt>Te&&Pt.push("'"+this.terminals_[kt]+"'");Y.showPosition?Ot="Parse error on line "+(_t+1)+`: +import{g as we,B as ve,A as _e,c as st,s as $t,b as ke,a as Pe,C as Le,l as X,d as At,j as v,e as Ie,h as Lt,i as Ae,y as B,$ as nt,a0 as wt,m as te,r as ee,V as Bt,T as se,a1 as Ne}from"./mermaid.core-BAvrjf3l.js";import{d as Se,a as Me,g as Nt,b as zt,c as Re,e as Ce}from"./svgDrawCommon-08f97a94-DgTDkXBR.js";import"./index-D31-yJHm.js";var Yt=function(){var t=function(dt,w,k,L){for(k=k||{},L=dt.length;L--;k[dt[L]]=w);return k},e=[1,2],c=[1,3],s=[1,4],i=[2,4],a=[1,9],o=[1,11],l=[1,13],p=[1,14],r=[1,16],x=[1,17],T=[1,18],u=[1,24],g=[1,25],m=[1,26],_=[1,27],I=[1,28],V=[1,29],S=[1,30],O=[1,31],R=[1,32],q=[1,33],z=[1,34],J=[1,35],$=[1,36],H=[1,37],U=[1,38],F=[1,39],W=[1,41],Z=[1,42],K=[1,43],Q=[1,44],tt=[1,45],N=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],P=[4,5,16,50,52,53],j=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],rt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],A=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Gt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],ht=[68,69,70],ot=[1,120],Mt={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,DOTTED_ARROW:74,SOLID_CROSS:75,DOTTED_CROSS:76,SOLID_POINT:77,DOTTED_POINT:78,TXT:79,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"DOTTED_ARROW",75:"SOLID_CROSS",76:"DOTTED_CROSS",77:"SOLID_POINT",78:"DOTTED_POINT",79:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:function(w,k,L,b,M,h,Et){var d=h.length-1;switch(M){case 3:return b.apply(h[d]),h[d];case 4:case 9:this.$=[];break;case 5:case 10:h[d-1].push(h[d]),this.$=h[d-1];break;case 6:case 7:case 11:case 12:this.$=h[d];break;case 8:case 13:this.$=[];break;case 15:h[d].type="createParticipant",this.$=h[d];break;case 16:h[d-1].unshift({type:"boxStart",boxData:b.parseBoxData(h[d-2])}),h[d-1].push({type:"boxEnd",boxText:h[d-2]}),this.$=h[d-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(h[d-2]),sequenceIndexStep:Number(h[d-1]),sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(h[d-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:b.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:b.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:h[d-1]};break;case 23:this.$={type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:h[d-1]};break;case 29:b.setDiagramTitle(h[d].substring(6)),this.$=h[d].substring(6);break;case 30:b.setDiagramTitle(h[d].substring(7)),this.$=h[d].substring(7);break;case 31:this.$=h[d].trim(),b.setAccTitle(this.$);break;case 32:case 33:this.$=h[d].trim(),b.setAccDescription(this.$);break;case 34:h[d-1].unshift({type:"loopStart",loopText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.LOOP_START}),h[d-1].push({type:"loopEnd",loopText:h[d-2],signalType:b.LINETYPE.LOOP_END}),this.$=h[d-1];break;case 35:h[d-1].unshift({type:"rectStart",color:b.parseMessage(h[d-2]),signalType:b.LINETYPE.RECT_START}),h[d-1].push({type:"rectEnd",color:b.parseMessage(h[d-2]),signalType:b.LINETYPE.RECT_END}),this.$=h[d-1];break;case 36:h[d-1].unshift({type:"optStart",optText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.OPT_START}),h[d-1].push({type:"optEnd",optText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.OPT_END}),this.$=h[d-1];break;case 37:h[d-1].unshift({type:"altStart",altText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.ALT_START}),h[d-1].push({type:"altEnd",signalType:b.LINETYPE.ALT_END}),this.$=h[d-1];break;case 38:h[d-1].unshift({type:"parStart",parText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.PAR_START}),h[d-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=h[d-1];break;case 39:h[d-1].unshift({type:"parStart",parText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.PAR_OVER_START}),h[d-1].push({type:"parEnd",signalType:b.LINETYPE.PAR_END}),this.$=h[d-1];break;case 40:h[d-1].unshift({type:"criticalStart",criticalText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.CRITICAL_START}),h[d-1].push({type:"criticalEnd",signalType:b.LINETYPE.CRITICAL_END}),this.$=h[d-1];break;case 41:h[d-1].unshift({type:"breakStart",breakText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.BREAK_START}),h[d-1].push({type:"breakEnd",optText:b.parseMessage(h[d-2]),signalType:b.LINETYPE.BREAK_END}),this.$=h[d-1];break;case 43:this.$=h[d-3].concat([{type:"option",optionText:b.parseMessage(h[d-1]),signalType:b.LINETYPE.CRITICAL_OPTION},h[d]]);break;case 45:this.$=h[d-3].concat([{type:"and",parText:b.parseMessage(h[d-1]),signalType:b.LINETYPE.PAR_AND},h[d]]);break;case 47:this.$=h[d-3].concat([{type:"else",altText:b.parseMessage(h[d-1]),signalType:b.LINETYPE.ALT_ELSE},h[d]]);break;case 48:h[d-3].draw="participant",h[d-3].type="addParticipant",h[d-3].description=b.parseMessage(h[d-1]),this.$=h[d-3];break;case 49:h[d-1].draw="participant",h[d-1].type="addParticipant",this.$=h[d-1];break;case 50:h[d-3].draw="actor",h[d-3].type="addParticipant",h[d-3].description=b.parseMessage(h[d-1]),this.$=h[d-3];break;case 51:h[d-1].draw="actor",h[d-1].type="addParticipant",this.$=h[d-1];break;case 52:h[d-1].type="destroyParticipant",this.$=h[d-1];break;case 53:this.$=[h[d-1],{type:"addNote",placement:h[d-2],actor:h[d-1].actor,text:h[d]}];break;case 54:h[d-2]=[].concat(h[d-1],h[d-1]).slice(0,2),h[d-2][0]=h[d-2][0].actor,h[d-2][1]=h[d-2][1].actor,this.$=[h[d-1],{type:"addNote",placement:b.PLACEMENT.OVER,actor:h[d-2].slice(0,2),text:h[d]}];break;case 55:this.$=[h[d-1],{type:"addLinks",actor:h[d-1].actor,text:h[d]}];break;case 56:this.$=[h[d-1],{type:"addALink",actor:h[d-1].actor,text:h[d]}];break;case 57:this.$=[h[d-1],{type:"addProperties",actor:h[d-1].actor,text:h[d]}];break;case 58:this.$=[h[d-1],{type:"addDetails",actor:h[d-1].actor,text:h[d]}];break;case 61:this.$=[h[d-2],h[d]];break;case 62:this.$=h[d];break;case 63:this.$=b.PLACEMENT.LEFTOF;break;case 64:this.$=b.PLACEMENT.RIGHTOF;break;case 65:this.$=[h[d-4],h[d-1],{type:"addMessage",from:h[d-4].actor,to:h[d-1].actor,signalType:h[d-3],msg:h[d],activate:!0},{type:"activeStart",signalType:b.LINETYPE.ACTIVE_START,actor:h[d-1]}];break;case 66:this.$=[h[d-4],h[d-1],{type:"addMessage",from:h[d-4].actor,to:h[d-1].actor,signalType:h[d-3],msg:h[d]},{type:"activeEnd",signalType:b.LINETYPE.ACTIVE_END,actor:h[d-4]}];break;case 67:this.$=[h[d-3],h[d-1],{type:"addMessage",from:h[d-3].actor,to:h[d-1].actor,signalType:h[d-2],msg:h[d]}];break;case 68:this.$={type:"addParticipant",actor:h[d]};break;case 69:this.$=b.LINETYPE.SOLID_OPEN;break;case 70:this.$=b.LINETYPE.DOTTED_OPEN;break;case 71:this.$=b.LINETYPE.SOLID;break;case 72:this.$=b.LINETYPE.DOTTED;break;case 73:this.$=b.LINETYPE.SOLID_CROSS;break;case 74:this.$=b.LINETYPE.DOTTED_CROSS;break;case 75:this.$=b.LINETYPE.SOLID_POINT;break;case 76:this.$=b.LINETYPE.DOTTED_POINT;break;case 77:this.$=b.parseMessage(h[d].trim().substring(1));break}},table:[{3:1,4:e,5:c,6:s},{1:[3]},{3:5,4:e,5:c,6:s},{3:6,4:e,5:c,6:s},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:o,8:8,9:10,12:12,13:l,14:p,17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},t(y,[2,5]),{9:47,12:12,13:l,14:p,17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:H,52:U,53:F},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:N},{22:55,70:N},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:N},{22:72,70:N},{22:73,70:N},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82]},{55:83,57:[1,84],65:[1,85],66:[1,86]},{22:87,70:N},{22:88,70:N},{22:89,70:N},{22:90,70:N},t([5,51,64,71,72,73,74,75,76,77,78,79],[2,68]),t(y,[2,6]),t(y,[2,15]),t(P,[2,9],{10:91}),t(y,[2,17]),{5:[1,93],19:[1,92]},{5:[1,94]},t(y,[2,21]),{5:[1,95]},{5:[1,96]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t(j,i,{7:97}),t(j,i,{7:98}),t(j,i,{7:99}),t(rt,i,{40:100,7:101}),t(A,i,{42:102,7:103}),t(A,i,{7:103,42:104}),t(Gt,i,{45:105,7:106}),t(j,i,{7:107}),{5:[1,109],51:[1,108]},{5:[1,111],51:[1,110]},{5:[1,112]},{22:115,68:[1,113],69:[1,114],70:N},t(ht,[2,69]),t(ht,[2,70]),t(ht,[2,71]),t(ht,[2,72]),t(ht,[2,73]),t(ht,[2,74]),t(ht,[2,75]),t(ht,[2,76]),{22:116,70:N},{22:118,58:117,70:N},{70:[2,63]},{70:[2,64]},{56:119,79:ot},{56:121,79:ot},{56:122,79:ot},{56:123,79:ot},{4:[1,126],5:[1,128],11:125,12:127,16:[1,124],50:H,52:U,53:F},{5:[1,129]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[1,130],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[1,131],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[1,132],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{16:[1,133]},{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[2,46],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,49:[1,134],50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{16:[1,135]},{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[2,44],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,48:[1,136],50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{16:[1,137]},{16:[1,138]},{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[2,42],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,47:[1,139],50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{4:a,5:o,8:8,9:10,12:12,13:l,14:p,16:[1,140],17:15,18:r,21:x,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:u,30:g,31:m,33:_,35:I,36:V,37:S,38:O,39:R,41:q,43:z,44:J,46:$,50:H,52:U,53:F,54:W,59:Z,60:K,61:Q,62:tt,70:N},{15:[1,141]},t(y,[2,49]),{15:[1,142]},t(y,[2,51]),t(y,[2,52]),{22:143,70:N},{22:144,70:N},{56:145,79:ot},{56:146,79:ot},{56:147,79:ot},{64:[1,148],79:[2,62]},{5:[2,55]},{5:[2,77]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(P,[2,10]),{12:149,50:H,52:U,53:F},t(P,[2,12]),t(P,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,150]},t(y,[2,38]),{15:[1,151]},t(y,[2,39]),t(y,[2,40]),{15:[1,152]},t(y,[2,41]),{5:[1,153]},{5:[1,154]},{56:155,79:ot},{56:156,79:ot},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:157,70:N},t(P,[2,11]),t(rt,i,{7:101,40:158}),t(A,i,{7:103,42:159}),t(Gt,i,{7:106,45:160}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{79:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],85:[2,63],86:[2,64],119:[2,55],120:[2,77],121:[2,56],122:[2,57],123:[2,58],145:[2,67],146:[2,53],147:[2,54],155:[2,65],156:[2,66],157:[2,61],158:[2,47],159:[2,45],160:[2,43]},parseError:function(w,k){if(k.recoverable)this.trace(w);else{var L=new Error(w);throw L.hash=k,L}},parse:function(w){var k=this,L=[0],b=[],M=[null],h=[],Et=this.table,d="",_t=0,Xt=0,Te=2,Jt=1,be=h.slice.call(arguments,1),Y=Object.create(this.lexer),pt={yy:{}};for(var Ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ct)&&(pt.yy[Ct]=this.yy[Ct]);Y.setInput(w,pt.yy),pt.yy.lexer=Y,pt.yy.parser=this,typeof Y.yylloc>"u"&&(Y.yylloc={});var Dt=Y.yylloc;h.push(Dt);var Ee=Y.options&&Y.options.ranges;typeof pt.yy.parseError=="function"?this.parseError=pt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function me(){var lt;return lt=b.pop()||Y.lex()||Jt,typeof lt!="number"&&(lt instanceof Array&&(b=lt,lt=b.pop()),lt=k.symbols_[lt]||lt),lt}for(var G,ut,et,Vt,yt={},kt,ct,Zt,Pt;;){if(ut=L[L.length-1],this.defaultActions[ut]?et=this.defaultActions[ut]:((G===null||typeof G>"u")&&(G=me()),et=Et[ut]&&Et[ut][G]),typeof et>"u"||!et.length||!et[0]){var Ot="";Pt=[];for(kt in Et[ut])this.terminals_[kt]&&kt>Te&&Pt.push("'"+this.terminals_[kt]+"'");Y.showPosition?Ot="Parse error on line "+(_t+1)+`: `+Y.showPosition()+` Expecting `+Pt.join(", ")+", got '"+(this.terminals_[G]||G)+"'":Ot="Parse error on line "+(_t+1)+": Unexpected "+(G==Jt?"end of input":"'"+(this.terminals_[G]||G)+"'"),this.parseError(Ot,{text:Y.match,token:this.terminals_[G]||G,line:Y.yylineno,loc:Dt,expected:Pt})}if(et[0]instanceof Array&&et.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ut+", token: "+G);switch(et[0]){case 1:L.push(G),M.push(Y.yytext),h.push(Y.yylloc),L.push(et[1]),G=null,Xt=Y.yyleng,d=Y.yytext,_t=Y.yylineno,Dt=Y.yylloc;break;case 2:if(ct=this.productions_[et[1]][1],yt.$=M[M.length-ct],yt._$={first_line:h[h.length-(ct||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(ct||1)].first_column,last_column:h[h.length-1].last_column},Ee&&(yt._$.range=[h[h.length-(ct||1)].range[0],h[h.length-1].range[1]]),Vt=this.performAction.apply(yt,[d,Xt,_t,pt.yy,et[1],M,h].concat(be)),typeof Vt<"u")return Vt;ct&&(L=L.slice(0,-1*ct*2),M=M.slice(0,-1*ct),h=h.slice(0,-1*ct)),L.push(this.productions_[et[1]][0]),M.push(yt.$),h.push(yt._$),Zt=Et[L[L.length-2]][L[L.length-1]],L.push(Zt);break;case 3:return!0}}return!0}},ye=function(){var dt={EOF:1,parseError:function(k,L){if(this.yy.parser)this.yy.parser.parseError(k,L);else throw new Error(k)},setInput:function(w,k){return this.yy=k||this.yy||{},this._input=w,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var w=this._input[0];this.yytext+=w,this.yyleng++,this.offset++,this.match+=w,this.matched+=w;var k=w.match(/(?:\r\n?|\n).*/g);return k?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),w},unput:function(w){var k=w.length,L=w.split(/(?:\r\n?|\n)/g);this._input=w+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-k),this.offset-=k;var b=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),L.length-1&&(this.yylineno-=L.length-1);var M=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:L?(L.length===b.length?this.yylloc.first_column:0)+b[b.length-L.length].length-L[0].length:this.yylloc.first_column-k},this.options.ranges&&(this.yylloc.range=[M[0],M[0]+this.yyleng-k]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(w){this.unput(this.match.slice(w))},pastInput:function(){var w=this.matched.substr(0,this.matched.length-this.match.length);return(w.length>20?"...":"")+w.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var w=this.match;return w.length<20&&(w+=this._input.substr(0,20-w.length)),(w.substr(0,20)+(w.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var w=this.pastInput(),k=new Array(w.length+1).join("-");return w+this.upcomingInput()+` diff --git a/starter/src/main/resources/static/notebase/assets/stateDiagram-587899a1-4KpkWWuI.js b/deploy/server/notebase/assets/stateDiagram-587899a1-g-33mMUW.js similarity index 97% rename from starter/src/main/resources/static/notebase/assets/stateDiagram-587899a1-4KpkWWuI.js rename to deploy/server/notebase/assets/stateDiagram-587899a1-g-33mMUW.js index 52f683058e..c6d50b3d6d 100644 --- a/starter/src/main/resources/static/notebase/assets/stateDiagram-587899a1-4KpkWWuI.js +++ b/deploy/server/notebase/assets/stateDiagram-587899a1-g-33mMUW.js @@ -1 +1 @@ -import{p as P,d as N,s as W}from"./styles-6aaf32cf-Du_J7c8r.js";import{c as t,h as H,l as b,i as R,j as T,D as v,y as U}from"./mermaid.core-FIymlv9x.js";import{G as C}from"./graph-BpOdqLUS.js";import{l as F}from"./layout-CU5MaBZ2.js";import"./index-BtAN2wrW.js";import{l as $}from"./line-SEOZUXIE.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";const O=e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),X=e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),J=(e,i)=>{const o=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),c=o.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c.width+2*t().state.padding).attr("height",c.height+2*t().state.padding).attr("rx",t().state.radius),o},Y=(e,i)=>{const o=function(l,m,w){const E=l.append("tspan").attr("x",2*t().state.padding).text(m);w||E.attr("dy",t().state.textHeight)},s=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=s.height,p=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,r=!0;i.descriptions.forEach(function(l){a||(o(p,l,r),r=!1),a=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),d=Math.max(x.width,s.width);return y.attr("x2",d+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",d+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},I=(e,i,o)=>{const c=t().state.padding,s=2*t().state.padding,g=e.node().getBBox(),p=g.width,a=g.x,r=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=r.node().getBBox().width+s;let d=Math.max(x,p);d===p&&(d=d+s);let l;const m=e.node().getBBox();i.doc,l=a-c,x>p&&(l=(p-d)/2+c),Math.abs(a-m.x)p&&(l=a-(x-p)/2);const w=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",w).attr("class",o?"alt-composit":"composit").attr("width",d).attr("height",m.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),r.attr("x",l+c),x<=p&&r.attr("x",a+(d-s)/2-x/2+c),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",d).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",d).attr("height",m.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},_=e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),q=(e,i)=>{let o=t().state.forkWidth,c=t().state.forkHeight;if(i.parentId){let s=o;o=c,c=s}return e.append("rect").style("stroke","black").style("fill","black").attr("width",o).attr("height",c).attr("x",t().state.padding).attr("y",t().state.padding)},Z=(e,i,o,c)=>{let s=0;const g=c.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let p=e.replace(/\r\n/g,"
");p=p.replace(/\n/g,"
");const a=p.split(T.lineBreakRegex);let r=1.25*t().state.noteMargin;for(const y of a){const x=y.trim();if(x.length>0){const d=g.append("tspan");if(d.text(x),r===0){const l=d.node().getBBox();r+=l.height}s+=r,d.attr("x",i+t().state.noteMargin),d.attr("y",o+s+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:s}},j=(e,i)=>{i.attr("class","state-note");const o=i.append("rect").attr("x",0).attr("y",t().state.padding),c=i.append("g"),{textWidth:s,textHeight:g}=Z(e,0,0,c);return o.attr("height",g+2*t().state.noteMargin),o.attr("width",s+t().state.noteMargin*2),o},L=function(e,i){const o=i.id,c={id:o,label:i.id,width:0,height:0},s=e.append("g").attr("id",o).attr("class","stateGroup");i.type==="start"&&O(s),i.type==="end"&&_(s),(i.type==="fork"||i.type==="join")&&q(s,i),i.type==="note"&&j(i.note.text,s),i.type==="divider"&&X(s),i.type==="default"&&i.descriptions.length===0&&J(s,i),i.type==="default"&&i.descriptions.length>0&&Y(s,i);const g=s.node().getBBox();return c.width=g.width+2*t().state.padding,c.height=g.height+2*t().state.padding,c};let G=0;const D=function(e,i,o){const c=function(r){switch(r){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}};i.points=i.points.filter(r=>!Number.isNaN(r.y));const s=i.points,g=$().x(function(r){return r.x}).y(function(r){return r.y}).curve(v),p=e.append("path").attr("d",g(s)).attr("id","edge"+G).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+c(N.relationType.DEPENDENCY)+"End)"),o.title!==void 0){const r=e.append("g").attr("class","stateLabel"),{x:y,y:x}=U.calcLabelPosition(i.points),d=T.getRows(o.title);let l=0;const m=[];let w=0,E=0;for(let u=0;u<=d.length;u++){const h=r.append("text").attr("text-anchor","middle").text(d[u]).attr("x",y).attr("y",x+l),f=h.node().getBBox();w=Math.max(w,f.width),E=Math.min(E,f.x),b.info(f.x,y,x+l),l===0&&(l=h.node().getBBox().height,b.info("Title height",l,x)),m.push(h)}let k=l*d.length;if(d.length>1){const u=(d.length-1)*l*.5;m.forEach((h,f)=>h.attr("y",x+f*l-u)),k=l*d.length}const n=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",y-w/2-t().state.padding/2).attr("y",x-k/2-t().state.padding/2-3.5).attr("width",w+t().state.padding).attr("height",k+t().state.padding),b.info(n)}G++};let B;const z={},K=function(){},Q=function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},V=function(e,i,o,c){B=t().state;const s=t().securityLevel;let g;s==="sandbox"&&(g=H("#i"+i));const p=s==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),a=s==="sandbox"?g.nodes()[0].contentDocument:document;b.debug("Rendering diagram "+e);const r=p.select(`[id='${i}']`);Q(r);const y=c.db.getRootDoc();A(y,r,void 0,!1,p,a,c);const x=B.padding,d=r.node().getBBox(),l=d.width+x*2,m=d.height+x*2,w=l*1.75;R(r,m,w,B.useMaxWidth),r.attr("viewBox",`${d.x-B.padding} ${d.y-B.padding} `+l+" "+m)},tt=e=>e?e.length*B.fontSizeFactor:1,A=(e,i,o,c,s,g,p)=>{const a=new C({compound:!0,multigraph:!0});let r,y=!0;for(r=0;r{const f=h.parentElement;let S=0,M=0;f&&(f.parentElement&&(S=f.parentElement.getBBox().width),M=parseInt(f.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",S-M-8)})):b.debug("No Node "+n+": "+JSON.stringify(a.node(n)))});let E=w.getBBox();a.edges().forEach(function(n){n!==void 0&&a.edge(n)!==void 0&&(b.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(a.edge(n))),D(i,a.edge(n),a.edge(n).relation))}),E=w.getBBox();const k={id:o||"root",label:o||"root",width:0,height:0};return k.width=E.width+2*B.padding,k.height=E.height+2*B.padding,b.debug("Doc rendered",k,a),k},et={setConf:K,draw:V},lt={parser:P,db:N,renderer:et,styles:W,init:e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()}};export{lt as diagram}; +import{p as P,d as N,s as W}from"./styles-6aaf32cf-DtALnpbq.js";import{c as t,h as H,l as b,i as R,j as T,D as v,y as U}from"./mermaid.core-BAvrjf3l.js";import{G as C}from"./graph-heRzvxcs.js";import{l as F}from"./layout-BLe2lUnK.js";import"./index-D31-yJHm.js";import{l as $}from"./line-F7vHXKX5.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";const O=e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),X=e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),J=(e,i)=>{const o=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),c=o.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",c.width+2*t().state.padding).attr("height",c.height+2*t().state.padding).attr("rx",t().state.radius),o},Y=(e,i)=>{const o=function(l,m,w){const E=l.append("tspan").attr("x",2*t().state.padding).text(m);w||E.attr("dy",t().state.textHeight)},s=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),g=s.height,p=e.append("text").attr("x",t().state.padding).attr("y",g+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description");let a=!0,r=!0;i.descriptions.forEach(function(l){a||(o(p,l,r),r=!1),a=!1});const y=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+g+t().state.dividerMargin/2).attr("y2",t().state.padding+g+t().state.dividerMargin/2).attr("class","descr-divider"),x=p.node().getBBox(),d=Math.max(x.width,s.width);return y.attr("x2",d+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",d+2*t().state.padding).attr("height",x.height+g+2*t().state.padding).attr("rx",t().state.radius),e},I=(e,i,o)=>{const c=t().state.padding,s=2*t().state.padding,g=e.node().getBBox(),p=g.width,a=g.x,r=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=r.node().getBBox().width+s;let d=Math.max(x,p);d===p&&(d=d+s);let l;const m=e.node().getBBox();i.doc,l=a-c,x>p&&(l=(p-d)/2+c),Math.abs(a-m.x)p&&(l=a-(x-p)/2);const w=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",l).attr("y",w).attr("class",o?"alt-composit":"composit").attr("width",d).attr("height",m.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),r.attr("x",l+c),x<=p&&r.attr("x",a+(d-s)/2-x/2+c),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",d).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",l).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",d).attr("height",m.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},_=e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),q=(e,i)=>{let o=t().state.forkWidth,c=t().state.forkHeight;if(i.parentId){let s=o;o=c,c=s}return e.append("rect").style("stroke","black").style("fill","black").attr("width",o).attr("height",c).attr("x",t().state.padding).attr("y",t().state.padding)},Z=(e,i,o,c)=>{let s=0;const g=c.append("text");g.style("text-anchor","start"),g.attr("class","noteText");let p=e.replace(/\r\n/g,"
");p=p.replace(/\n/g,"
");const a=p.split(T.lineBreakRegex);let r=1.25*t().state.noteMargin;for(const y of a){const x=y.trim();if(x.length>0){const d=g.append("tspan");if(d.text(x),r===0){const l=d.node().getBBox();r+=l.height}s+=r,d.attr("x",i+t().state.noteMargin),d.attr("y",o+s+1.25*t().state.noteMargin)}}return{textWidth:g.node().getBBox().width,textHeight:s}},j=(e,i)=>{i.attr("class","state-note");const o=i.append("rect").attr("x",0).attr("y",t().state.padding),c=i.append("g"),{textWidth:s,textHeight:g}=Z(e,0,0,c);return o.attr("height",g+2*t().state.noteMargin),o.attr("width",s+t().state.noteMargin*2),o},L=function(e,i){const o=i.id,c={id:o,label:i.id,width:0,height:0},s=e.append("g").attr("id",o).attr("class","stateGroup");i.type==="start"&&O(s),i.type==="end"&&_(s),(i.type==="fork"||i.type==="join")&&q(s,i),i.type==="note"&&j(i.note.text,s),i.type==="divider"&&X(s),i.type==="default"&&i.descriptions.length===0&&J(s,i),i.type==="default"&&i.descriptions.length>0&&Y(s,i);const g=s.node().getBBox();return c.width=g.width+2*t().state.padding,c.height=g.height+2*t().state.padding,c};let G=0;const D=function(e,i,o){const c=function(r){switch(r){case N.relationType.AGGREGATION:return"aggregation";case N.relationType.EXTENSION:return"extension";case N.relationType.COMPOSITION:return"composition";case N.relationType.DEPENDENCY:return"dependency"}};i.points=i.points.filter(r=>!Number.isNaN(r.y));const s=i.points,g=$().x(function(r){return r.x}).y(function(r){return r.y}).curve(v),p=e.append("path").attr("d",g(s)).attr("id","edge"+G).attr("class","transition");let a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),p.attr("marker-end","url("+a+"#"+c(N.relationType.DEPENDENCY)+"End)"),o.title!==void 0){const r=e.append("g").attr("class","stateLabel"),{x:y,y:x}=U.calcLabelPosition(i.points),d=T.getRows(o.title);let l=0;const m=[];let w=0,E=0;for(let u=0;u<=d.length;u++){const h=r.append("text").attr("text-anchor","middle").text(d[u]).attr("x",y).attr("y",x+l),f=h.node().getBBox();w=Math.max(w,f.width),E=Math.min(E,f.x),b.info(f.x,y,x+l),l===0&&(l=h.node().getBBox().height,b.info("Title height",l,x)),m.push(h)}let k=l*d.length;if(d.length>1){const u=(d.length-1)*l*.5;m.forEach((h,f)=>h.attr("y",x+f*l-u)),k=l*d.length}const n=r.node().getBBox();r.insert("rect",":first-child").attr("class","box").attr("x",y-w/2-t().state.padding/2).attr("y",x-k/2-t().state.padding/2-3.5).attr("width",w+t().state.padding).attr("height",k+t().state.padding),b.info(n)}G++};let B;const z={},K=function(){},Q=function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},V=function(e,i,o,c){B=t().state;const s=t().securityLevel;let g;s==="sandbox"&&(g=H("#i"+i));const p=s==="sandbox"?H(g.nodes()[0].contentDocument.body):H("body"),a=s==="sandbox"?g.nodes()[0].contentDocument:document;b.debug("Rendering diagram "+e);const r=p.select(`[id='${i}']`);Q(r);const y=c.db.getRootDoc();A(y,r,void 0,!1,p,a,c);const x=B.padding,d=r.node().getBBox(),l=d.width+x*2,m=d.height+x*2,w=l*1.75;R(r,m,w,B.useMaxWidth),r.attr("viewBox",`${d.x-B.padding} ${d.y-B.padding} `+l+" "+m)},tt=e=>e?e.length*B.fontSizeFactor:1,A=(e,i,o,c,s,g,p)=>{const a=new C({compound:!0,multigraph:!0});let r,y=!0;for(r=0;r{const f=h.parentElement;let S=0,M=0;f&&(f.parentElement&&(S=f.parentElement.getBBox().width),M=parseInt(f.getAttribute("data-x-shift"),10),Number.isNaN(M)&&(M=0)),h.setAttribute("x1",0-M+8),h.setAttribute("x2",S-M-8)})):b.debug("No Node "+n+": "+JSON.stringify(a.node(n)))});let E=w.getBBox();a.edges().forEach(function(n){n!==void 0&&a.edge(n)!==void 0&&(b.debug("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(a.edge(n))),D(i,a.edge(n),a.edge(n).relation))}),E=w.getBBox();const k={id:o||"root",label:o||"root",width:0,height:0};return k.width=E.width+2*B.padding,k.height=E.height+2*B.padding,b.debug("Doc rendered",k,a),k},et={setConf:K,draw:V},lt={parser:P,db:N,renderer:et,styles:W,init:e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,N.clear()}};export{lt as diagram}; diff --git a/deploy/server/notebase/assets/stateDiagram-v2-d93cdb3a-DLAVqT32.js b/deploy/server/notebase/assets/stateDiagram-v2-d93cdb3a-Bxhj-4C-.js similarity index 90% rename from deploy/server/notebase/assets/stateDiagram-v2-d93cdb3a-DLAVqT32.js rename to deploy/server/notebase/assets/stateDiagram-v2-d93cdb3a-Bxhj-4C-.js index 90dd50a035..8f9a522e0a 100644 --- a/deploy/server/notebase/assets/stateDiagram-v2-d93cdb3a-DLAVqT32.js +++ b/deploy/server/notebase/assets/stateDiagram-v2-d93cdb3a-Bxhj-4C-.js @@ -1 +1 @@ -import{p as J,d as B,s as Q,D as H,a as X,S as Z,b as F,c as I}from"./styles-6aaf32cf-mjwuICQ-.js";import{G as tt}from"./graph-1GVnZ2QQ.js";import{l as E,c as g,h as x,y as et,i as ot,j as w}from"./mermaid.core-C-ExL7Zv.js";import{r as st}from"./index-3862675e-BWNp9fcM.js";import"./index-OntvGoV0.js";import"./layout-BoOjEFWe.js";import"./clone-EOKkErtd.js";import"./edges-e0da2a9e-Db8forlG.js";import"./createText-2e5e7dd3-CkLmKZf8.js";import"./line-CZuLgQF7.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";const h="rect",C="rectWithTitle",nt="start",it="end",ct="divider",rt="roundedWithTitle",lt="note",at="noteGroup",_="statediagram",dt="state",Et=`${_}-${dt}`,U="transition",St="note",Tt="note-edge",pt=`${U} ${Tt}`,_t=`${_}-${St}`,ut="cluster",Dt=`${_}-${ut}`,bt="cluster-alt",ft=`${_}-${bt}`,V="parent",Y="note",At="state",N="----",ht=`${N}${Y}`,M=`${N}${V}`,m="fill:none",W="fill: #333",z="c",j="text",q="normal";let y={},d=0;const yt=function(t){const n=Object.keys(t);for(const e of n)t[e]},gt=function(t,n){return n.db.extract(n.db.getRootDocV2()),n.db.getClasses()};function $t(t){return t==null?"":t.classes?t.classes.join(" "):""}function R(t="",n=0,e="",i=N){const c=e!==null&&e.length>0?`${i}${e}`:"";return`${At}-${t}${c}-${n}`}const A=(t,n,e,i,c,r)=>{const o=e.id,u=$t(i[o]);if(o!=="root"){let T=h;e.start===!0&&(T=nt),e.start===!1&&(T=it),e.type!==H&&(T=e.type),y[o]||(y[o]={id:o,shape:T,description:w.sanitizeText(o,g()),classes:`${u} ${Et}`});const s=y[o];e.description&&(Array.isArray(s.description)?(s.shape=C,s.description.push(e.description)):s.description.length>0?(s.shape=C,s.description===o?s.description=[e.description]:s.description=[s.description,e.description]):(s.shape=h,s.description=e.description),s.description=w.sanitizeTextOrArray(s.description,g())),s.description.length===1&&s.shape===C&&(s.shape=h),!s.type&&e.doc&&(E.info("Setting cluster for ",o,G(e)),s.type="group",s.dir=G(e),s.shape=e.type===X?ct:rt,s.classes=s.classes+" "+Dt+" "+(r?ft:""));const p={labelStyle:"",shape:s.shape,labelText:s.description,classes:s.classes,style:"",id:o,dir:s.dir,domId:R(o,d),type:s.type,padding:15};if(p.centerLabel=!0,e.note){const l={labelStyle:"",shape:lt,labelText:e.note.text,classes:_t,style:"",id:o+ht+"-"+d,domId:R(o,d,Y),type:s.type,padding:15},a={labelStyle:"",shape:at,labelText:e.note.text,classes:s.classes,style:"",id:o+M,domId:R(o,d,V),type:"group",padding:0};d++;const D=o+M;t.setNode(D,a),t.setNode(l.id,l),t.setNode(o,p),t.setParent(o,D),t.setParent(l.id,D);let S=o,b=l.id;e.note.position==="left of"&&(S=l.id,b=o),t.setEdge(S,b,{arrowhead:"none",arrowType:"",style:m,labelStyle:"",classes:pt,arrowheadStyle:W,labelpos:z,labelType:j,thickness:q})}else t.setNode(o,p)}n&&n.id!=="root"&&(E.trace("Setting node ",o," to be child of its parent ",n.id),t.setParent(o,n.id)),e.doc&&(E.trace("Adding nodes children "),xt(t,e,e.doc,i,c,!r))},xt=(t,n,e,i,c,r)=>{E.trace("items",e),e.forEach(o=>{switch(o.stmt){case F:A(t,n,o,i,c,r);break;case H:A(t,n,o,i,c,r);break;case Z:{A(t,n,o.state1,i,c,r),A(t,n,o.state2,i,c,r);const u={id:"edge"+d,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:m,labelStyle:"",label:w.sanitizeText(o.description,g()),arrowheadStyle:W,labelpos:z,labelType:j,thickness:q,classes:U};t.setEdge(o.state1.id,o.state2.id,u,d),d++}break}})},G=(t,n=I)=>{let e=n;if(t.doc)for(let i=0;i{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,B.clear()}};export{Vt as diagram}; +import{p as J,d as B,s as Q,D as H,a as X,S as Z,b as F,c as I}from"./styles-6aaf32cf-DtALnpbq.js";import{G as tt}from"./graph-heRzvxcs.js";import{l as E,c as g,h as x,y as et,i as ot,j as w}from"./mermaid.core-BAvrjf3l.js";import{r as st}from"./index-3862675e-m4ra-w5r.js";import"./index-D31-yJHm.js";import"./layout-BLe2lUnK.js";import"./clone-nOFmi_ju.js";import"./edges-e0da2a9e-CZlmjOgF.js";import"./createText-2e5e7dd3-Cn1HPiN2.js";import"./line-F7vHXKX5.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";const h="rect",C="rectWithTitle",nt="start",it="end",ct="divider",rt="roundedWithTitle",lt="note",at="noteGroup",_="statediagram",dt="state",Et=`${_}-${dt}`,U="transition",St="note",Tt="note-edge",pt=`${U} ${Tt}`,_t=`${_}-${St}`,ut="cluster",Dt=`${_}-${ut}`,bt="cluster-alt",ft=`${_}-${bt}`,V="parent",Y="note",At="state",N="----",ht=`${N}${Y}`,M=`${N}${V}`,m="fill:none",W="fill: #333",z="c",j="text",q="normal";let y={},d=0;const yt=function(t){const n=Object.keys(t);for(const e of n)t[e]},gt=function(t,n){return n.db.extract(n.db.getRootDocV2()),n.db.getClasses()};function $t(t){return t==null?"":t.classes?t.classes.join(" "):""}function R(t="",n=0,e="",i=N){const c=e!==null&&e.length>0?`${i}${e}`:"";return`${At}-${t}${c}-${n}`}const A=(t,n,e,i,c,r)=>{const o=e.id,u=$t(i[o]);if(o!=="root"){let T=h;e.start===!0&&(T=nt),e.start===!1&&(T=it),e.type!==H&&(T=e.type),y[o]||(y[o]={id:o,shape:T,description:w.sanitizeText(o,g()),classes:`${u} ${Et}`});const s=y[o];e.description&&(Array.isArray(s.description)?(s.shape=C,s.description.push(e.description)):s.description.length>0?(s.shape=C,s.description===o?s.description=[e.description]:s.description=[s.description,e.description]):(s.shape=h,s.description=e.description),s.description=w.sanitizeTextOrArray(s.description,g())),s.description.length===1&&s.shape===C&&(s.shape=h),!s.type&&e.doc&&(E.info("Setting cluster for ",o,G(e)),s.type="group",s.dir=G(e),s.shape=e.type===X?ct:rt,s.classes=s.classes+" "+Dt+" "+(r?ft:""));const p={labelStyle:"",shape:s.shape,labelText:s.description,classes:s.classes,style:"",id:o,dir:s.dir,domId:R(o,d),type:s.type,padding:15};if(p.centerLabel=!0,e.note){const l={labelStyle:"",shape:lt,labelText:e.note.text,classes:_t,style:"",id:o+ht+"-"+d,domId:R(o,d,Y),type:s.type,padding:15},a={labelStyle:"",shape:at,labelText:e.note.text,classes:s.classes,style:"",id:o+M,domId:R(o,d,V),type:"group",padding:0};d++;const D=o+M;t.setNode(D,a),t.setNode(l.id,l),t.setNode(o,p),t.setParent(o,D),t.setParent(l.id,D);let S=o,b=l.id;e.note.position==="left of"&&(S=l.id,b=o),t.setEdge(S,b,{arrowhead:"none",arrowType:"",style:m,labelStyle:"",classes:pt,arrowheadStyle:W,labelpos:z,labelType:j,thickness:q})}else t.setNode(o,p)}n&&n.id!=="root"&&(E.trace("Setting node ",o," to be child of its parent ",n.id),t.setParent(o,n.id)),e.doc&&(E.trace("Adding nodes children "),xt(t,e,e.doc,i,c,!r))},xt=(t,n,e,i,c,r)=>{E.trace("items",e),e.forEach(o=>{switch(o.stmt){case F:A(t,n,o,i,c,r);break;case H:A(t,n,o,i,c,r);break;case Z:{A(t,n,o.state1,i,c,r),A(t,n,o.state2,i,c,r);const u={id:"edge"+d,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:m,labelStyle:"",label:w.sanitizeText(o.description,g()),arrowheadStyle:W,labelpos:z,labelType:j,thickness:q,classes:U};t.setEdge(o.state1.id,o.state2.id,u,d),d++}break}})},G=(t,n=I)=>{let e=n;if(t.doc)for(let i=0;i{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,B.clear()}};export{Vt as diagram}; diff --git a/starter/src/main/resources/static/notebase/assets/styles-6aaf32cf-Du_J7c8r.js b/deploy/server/notebase/assets/styles-6aaf32cf-DtALnpbq.js similarity index 99% rename from starter/src/main/resources/static/notebase/assets/styles-6aaf32cf-Du_J7c8r.js rename to deploy/server/notebase/assets/styles-6aaf32cf-DtALnpbq.js index db0f134868..ad5cc6dcda 100644 --- a/starter/src/main/resources/static/notebase/assets/styles-6aaf32cf-Du_J7c8r.js +++ b/deploy/server/notebase/assets/styles-6aaf32cf-DtALnpbq.js @@ -1,4 +1,4 @@ -import{c as Y,g as Ut,s as zt,a as Mt,b as Ht,A as Xt,B as Kt,l as D,j as ot,C as Wt,a2 as Jt}from"./mermaid.core-FIymlv9x.js";var gt=function(){var t=function(C,r,n,i){for(n=n||{},i=C.length;i--;n[C[i]]=r);return n},s=[1,2],a=[1,3],h=[1,4],f=[2,4],d=[1,9],y=[1,11],k=[1,15],u=[1,16],E=[1,17],T=[1,18],R=[1,30],G=[1,19],j=[1,20],U=[1,21],z=[1,22],M=[1,23],H=[1,25],X=[1,26],K=[1,27],W=[1,28],J=[1,29],q=[1,32],Q=[1,33],Z=[1,34],tt=[1,35],w=[1,31],c=[1,4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],et=[1,4,5,13,14,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],Dt=[4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],ht={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,cssClassStatement:11,idStatement:12,DESCR:13,"-->":14,HIDE_EMPTY:15,scale:16,WIDTH:17,COMPOSIT_STATE:18,STRUCT_START:19,STRUCT_STOP:20,STATE_DESCR:21,AS:22,ID:23,FORK:24,JOIN:25,CHOICE:26,CONCURRENT:27,note:28,notePosition:29,NOTE_TEXT:30,direction:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,classDef:37,CLASSDEF_ID:38,CLASSDEF_STYLEOPTS:39,DEFAULT:40,class:41,CLASSENTITY_IDS:42,STYLECLASS:43,direction_tb:44,direction_bt:45,direction_rl:46,direction_lr:47,eol:48,";":49,EDGE_STATE:50,STYLE_SEPARATOR:51,left_of:52,right_of:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",13:"DESCR",14:"-->",15:"HIDE_EMPTY",16:"scale",17:"WIDTH",18:"COMPOSIT_STATE",19:"STRUCT_START",20:"STRUCT_STOP",21:"STATE_DESCR",22:"AS",23:"ID",24:"FORK",25:"JOIN",26:"CHOICE",27:"CONCURRENT",28:"note",30:"NOTE_TEXT",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"classDef",38:"CLASSDEF_ID",39:"CLASSDEF_STYLEOPTS",40:"DEFAULT",41:"class",42:"CLASSENTITY_IDS",43:"STYLECLASS",44:"direction_tb",45:"direction_bt",46:"direction_rl",47:"direction_lr",49:";",50:"EDGE_STATE",51:"STYLE_SEPARATOR",52:"left_of",53:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[31,1],[31,1],[31,1],[31,1],[48,1],[48,1],[12,1],[12,1],[12,3],[12,3],[29,1],[29,1]],performAction:function(r,n,i,o,p,e,$){var l=e.length-1;switch(p){case 3:return o.setRootDoc(e[l]),e[l];case 4:this.$=[];break;case 5:e[l]!="nl"&&(e[l-1].push(e[l]),this.$=e[l-1]);break;case 6:case 7:this.$=e[l];break;case 8:this.$="nl";break;case 11:this.$=e[l];break;case 12:const B=e[l-1];B.description=o.trimColon(e[l]),this.$=B;break;case 13:this.$={stmt:"relation",state1:e[l-2],state2:e[l]};break;case 14:const ft=o.trimColon(e[l]);this.$={stmt:"relation",state1:e[l-3],state2:e[l-1],description:ft};break;case 18:this.$={stmt:"state",id:e[l-3],type:"default",description:"",doc:e[l-1]};break;case 19:var A=e[l],O=e[l-2].trim();if(e[l].match(":")){var st=e[l].split(":");A=st[0],O=[O,st[1]]}this.$={stmt:"state",id:A,type:"default",description:O};break;case 20:this.$={stmt:"state",id:e[l-3],type:"default",description:e[l-5],doc:e[l-1]};break;case 21:this.$={stmt:"state",id:e[l],type:"fork"};break;case 22:this.$={stmt:"state",id:e[l],type:"join"};break;case 23:this.$={stmt:"state",id:e[l],type:"choice"};break;case 24:this.$={stmt:"state",id:o.getDividerId(),type:"divider"};break;case 25:this.$={stmt:"state",id:e[l-1].trim(),note:{position:e[l-2].trim(),text:e[l].trim()}};break;case 28:this.$=e[l].trim(),o.setAccTitle(this.$);break;case 29:case 30:this.$=e[l].trim(),o.setAccDescription(this.$);break;case 31:case 32:this.$={stmt:"classDef",id:e[l-1].trim(),classes:e[l].trim()};break;case 33:this.$={stmt:"applyClass",id:e[l-1].trim(),styleClass:e[l].trim()};break;case 34:o.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 35:o.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 36:o.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 37:o.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:case 41:this.$={stmt:"state",id:e[l].trim(),type:"default",description:""};break;case 42:this.$={stmt:"state",id:e[l-2].trim(),classes:[e[l].trim()],type:"default",description:""};break;case 43:this.$={stmt:"state",id:e[l-2].trim(),classes:[e[l].trim()],type:"default",description:""};break}},table:[{3:1,4:s,5:a,6:h},{1:[3]},{3:5,4:s,5:a,6:h},{3:6,4:s,5:a,6:h},t([1,4,5,15,16,18,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],f,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:d,5:y,8:8,9:10,10:12,11:13,12:14,15:k,16:u,18:E,21:T,23:R,24:G,25:j,26:U,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,5]),{9:36,10:12,11:13,12:14,15:k,16:u,18:E,21:T,23:R,24:G,25:j,26:U,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,7]),t(c,[2,8]),t(c,[2,9]),t(c,[2,10]),t(c,[2,11],{13:[1,37],14:[1,38]}),t(c,[2,15]),{17:[1,39]},t(c,[2,17],{19:[1,40]}),{22:[1,41]},t(c,[2,21]),t(c,[2,22]),t(c,[2,23]),t(c,[2,24]),{29:42,30:[1,43],52:[1,44],53:[1,45]},t(c,[2,27]),{33:[1,46]},{35:[1,47]},t(c,[2,30]),{38:[1,48],40:[1,49]},{42:[1,50]},t(et,[2,40],{51:[1,51]}),t(et,[2,41],{51:[1,52]}),t(c,[2,34]),t(c,[2,35]),t(c,[2,36]),t(c,[2,37]),t(c,[2,6]),t(c,[2,12]),{12:53,23:R,50:w},t(c,[2,16]),t(Dt,f,{7:54}),{23:[1,55]},{23:[1,56]},{22:[1,57]},{23:[2,44]},{23:[2,45]},t(c,[2,28]),t(c,[2,29]),{39:[1,58]},{39:[1,59]},{43:[1,60]},{23:[1,61]},{23:[1,62]},t(c,[2,13],{13:[1,63]}),{4:d,5:y,8:8,9:10,10:12,11:13,12:14,15:k,16:u,18:E,20:[1,64],21:T,23:R,24:G,25:j,26:U,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,19],{19:[1,65]}),{30:[1,66]},{23:[1,67]},t(c,[2,31]),t(c,[2,32]),t(c,[2,33]),t(et,[2,42]),t(et,[2,43]),t(c,[2,14]),t(c,[2,18]),t(Dt,f,{7:68}),t(c,[2,25]),t(c,[2,26]),{4:d,5:y,8:8,9:10,10:12,11:13,12:14,15:k,16:u,18:E,20:[1,69],21:T,23:R,24:G,25:j,26:U,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,20])],defaultActions:{5:[2,1],6:[2,2],44:[2,44],45:[2,45]},parseError:function(r,n){if(n.recoverable)this.trace(r);else{var i=new Error(r);throw i.hash=n,i}},parse:function(r){var n=this,i=[0],o=[],p=[null],e=[],$=this.table,l="",A=0,O=0,st=2,B=1,ft=e.slice.call(arguments,1),S=Object.create(this.lexer),v={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(v.yy[dt]=this.yy[dt]);S.setInput(r,v.yy),v.yy.lexer=S,v.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var yt=S.yylloc;e.push(yt);var Gt=S.options&&S.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function jt(){var x;return x=o.pop()||S.lex()||B,typeof x!="number"&&(x instanceof Array&&(o=x,x=o.pop()),x=n.symbols_[x]||x),x}for(var _,L,m,pt,N={},it,b,Ct,rt;;){if(L=i[i.length-1],this.defaultActions[L]?m=this.defaultActions[L]:((_===null||typeof _>"u")&&(_=jt()),m=$[L]&&$[L][_]),typeof m>"u"||!m.length||!m[0]){var St="";rt=[];for(it in $[L])this.terminals_[it]&&it>st&&rt.push("'"+this.terminals_[it]+"'");S.showPosition?St="Parse error on line "+(A+1)+`: +import{c as Y,g as Ut,s as zt,a as Mt,b as Ht,A as Xt,B as Kt,l as D,j as ot,C as Wt,a2 as Jt}from"./mermaid.core-BAvrjf3l.js";var gt=function(){var t=function(C,r,n,i){for(n=n||{},i=C.length;i--;n[C[i]]=r);return n},s=[1,2],a=[1,3],h=[1,4],f=[2,4],d=[1,9],y=[1,11],k=[1,15],u=[1,16],E=[1,17],T=[1,18],R=[1,30],G=[1,19],j=[1,20],U=[1,21],z=[1,22],M=[1,23],H=[1,25],X=[1,26],K=[1,27],W=[1,28],J=[1,29],q=[1,32],Q=[1,33],Z=[1,34],tt=[1,35],w=[1,31],c=[1,4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],et=[1,4,5,13,14,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],Dt=[4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],ht={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,cssClassStatement:11,idStatement:12,DESCR:13,"-->":14,HIDE_EMPTY:15,scale:16,WIDTH:17,COMPOSIT_STATE:18,STRUCT_START:19,STRUCT_STOP:20,STATE_DESCR:21,AS:22,ID:23,FORK:24,JOIN:25,CHOICE:26,CONCURRENT:27,note:28,notePosition:29,NOTE_TEXT:30,direction:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,classDef:37,CLASSDEF_ID:38,CLASSDEF_STYLEOPTS:39,DEFAULT:40,class:41,CLASSENTITY_IDS:42,STYLECLASS:43,direction_tb:44,direction_bt:45,direction_rl:46,direction_lr:47,eol:48,";":49,EDGE_STATE:50,STYLE_SEPARATOR:51,left_of:52,right_of:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",13:"DESCR",14:"-->",15:"HIDE_EMPTY",16:"scale",17:"WIDTH",18:"COMPOSIT_STATE",19:"STRUCT_START",20:"STRUCT_STOP",21:"STATE_DESCR",22:"AS",23:"ID",24:"FORK",25:"JOIN",26:"CHOICE",27:"CONCURRENT",28:"note",30:"NOTE_TEXT",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"classDef",38:"CLASSDEF_ID",39:"CLASSDEF_STYLEOPTS",40:"DEFAULT",41:"class",42:"CLASSENTITY_IDS",43:"STYLECLASS",44:"direction_tb",45:"direction_bt",46:"direction_rl",47:"direction_lr",49:";",50:"EDGE_STATE",51:"STYLE_SEPARATOR",52:"left_of",53:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[31,1],[31,1],[31,1],[31,1],[48,1],[48,1],[12,1],[12,1],[12,3],[12,3],[29,1],[29,1]],performAction:function(r,n,i,o,p,e,$){var l=e.length-1;switch(p){case 3:return o.setRootDoc(e[l]),e[l];case 4:this.$=[];break;case 5:e[l]!="nl"&&(e[l-1].push(e[l]),this.$=e[l-1]);break;case 6:case 7:this.$=e[l];break;case 8:this.$="nl";break;case 11:this.$=e[l];break;case 12:const B=e[l-1];B.description=o.trimColon(e[l]),this.$=B;break;case 13:this.$={stmt:"relation",state1:e[l-2],state2:e[l]};break;case 14:const ft=o.trimColon(e[l]);this.$={stmt:"relation",state1:e[l-3],state2:e[l-1],description:ft};break;case 18:this.$={stmt:"state",id:e[l-3],type:"default",description:"",doc:e[l-1]};break;case 19:var A=e[l],O=e[l-2].trim();if(e[l].match(":")){var st=e[l].split(":");A=st[0],O=[O,st[1]]}this.$={stmt:"state",id:A,type:"default",description:O};break;case 20:this.$={stmt:"state",id:e[l-3],type:"default",description:e[l-5],doc:e[l-1]};break;case 21:this.$={stmt:"state",id:e[l],type:"fork"};break;case 22:this.$={stmt:"state",id:e[l],type:"join"};break;case 23:this.$={stmt:"state",id:e[l],type:"choice"};break;case 24:this.$={stmt:"state",id:o.getDividerId(),type:"divider"};break;case 25:this.$={stmt:"state",id:e[l-1].trim(),note:{position:e[l-2].trim(),text:e[l].trim()}};break;case 28:this.$=e[l].trim(),o.setAccTitle(this.$);break;case 29:case 30:this.$=e[l].trim(),o.setAccDescription(this.$);break;case 31:case 32:this.$={stmt:"classDef",id:e[l-1].trim(),classes:e[l].trim()};break;case 33:this.$={stmt:"applyClass",id:e[l-1].trim(),styleClass:e[l].trim()};break;case 34:o.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 35:o.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 36:o.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 37:o.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:case 41:this.$={stmt:"state",id:e[l].trim(),type:"default",description:""};break;case 42:this.$={stmt:"state",id:e[l-2].trim(),classes:[e[l].trim()],type:"default",description:""};break;case 43:this.$={stmt:"state",id:e[l-2].trim(),classes:[e[l].trim()],type:"default",description:""};break}},table:[{3:1,4:s,5:a,6:h},{1:[3]},{3:5,4:s,5:a,6:h},{3:6,4:s,5:a,6:h},t([1,4,5,15,16,18,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],f,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:d,5:y,8:8,9:10,10:12,11:13,12:14,15:k,16:u,18:E,21:T,23:R,24:G,25:j,26:U,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,5]),{9:36,10:12,11:13,12:14,15:k,16:u,18:E,21:T,23:R,24:G,25:j,26:U,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,7]),t(c,[2,8]),t(c,[2,9]),t(c,[2,10]),t(c,[2,11],{13:[1,37],14:[1,38]}),t(c,[2,15]),{17:[1,39]},t(c,[2,17],{19:[1,40]}),{22:[1,41]},t(c,[2,21]),t(c,[2,22]),t(c,[2,23]),t(c,[2,24]),{29:42,30:[1,43],52:[1,44],53:[1,45]},t(c,[2,27]),{33:[1,46]},{35:[1,47]},t(c,[2,30]),{38:[1,48],40:[1,49]},{42:[1,50]},t(et,[2,40],{51:[1,51]}),t(et,[2,41],{51:[1,52]}),t(c,[2,34]),t(c,[2,35]),t(c,[2,36]),t(c,[2,37]),t(c,[2,6]),t(c,[2,12]),{12:53,23:R,50:w},t(c,[2,16]),t(Dt,f,{7:54}),{23:[1,55]},{23:[1,56]},{22:[1,57]},{23:[2,44]},{23:[2,45]},t(c,[2,28]),t(c,[2,29]),{39:[1,58]},{39:[1,59]},{43:[1,60]},{23:[1,61]},{23:[1,62]},t(c,[2,13],{13:[1,63]}),{4:d,5:y,8:8,9:10,10:12,11:13,12:14,15:k,16:u,18:E,20:[1,64],21:T,23:R,24:G,25:j,26:U,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,19],{19:[1,65]}),{30:[1,66]},{23:[1,67]},t(c,[2,31]),t(c,[2,32]),t(c,[2,33]),t(et,[2,42]),t(et,[2,43]),t(c,[2,14]),t(c,[2,18]),t(Dt,f,{7:68}),t(c,[2,25]),t(c,[2,26]),{4:d,5:y,8:8,9:10,10:12,11:13,12:14,15:k,16:u,18:E,20:[1,69],21:T,23:R,24:G,25:j,26:U,27:z,28:M,31:24,32:H,34:X,36:K,37:W,41:J,44:q,45:Q,46:Z,47:tt,50:w},t(c,[2,20])],defaultActions:{5:[2,1],6:[2,2],44:[2,44],45:[2,45]},parseError:function(r,n){if(n.recoverable)this.trace(r);else{var i=new Error(r);throw i.hash=n,i}},parse:function(r){var n=this,i=[0],o=[],p=[null],e=[],$=this.table,l="",A=0,O=0,st=2,B=1,ft=e.slice.call(arguments,1),S=Object.create(this.lexer),v={yy:{}};for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,dt)&&(v.yy[dt]=this.yy[dt]);S.setInput(r,v.yy),v.yy.lexer=S,v.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var yt=S.yylloc;e.push(yt);var Gt=S.options&&S.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function jt(){var x;return x=o.pop()||S.lex()||B,typeof x!="number"&&(x instanceof Array&&(o=x,x=o.pop()),x=n.symbols_[x]||x),x}for(var _,L,m,pt,N={},it,b,Ct,rt;;){if(L=i[i.length-1],this.defaultActions[L]?m=this.defaultActions[L]:((_===null||typeof _>"u")&&(_=jt()),m=$[L]&&$[L][_]),typeof m>"u"||!m.length||!m[0]){var St="";rt=[];for(it in $[L])this.terminals_[it]&&it>st&&rt.push("'"+this.terminals_[it]+"'");S.showPosition?St="Parse error on line "+(A+1)+`: `+S.showPosition()+` Expecting `+rt.join(", ")+", got '"+(this.terminals_[_]||_)+"'":St="Parse error on line "+(A+1)+": Unexpected "+(_==B?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(St,{text:S.match,token:this.terminals_[_]||_,line:S.yylineno,loc:yt,expected:rt})}if(m[0]instanceof Array&&m.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+_);switch(m[0]){case 1:i.push(_),p.push(S.yytext),e.push(S.yylloc),i.push(m[1]),_=null,O=S.yyleng,l=S.yytext,A=S.yylineno,yt=S.yylloc;break;case 2:if(b=this.productions_[m[1]][1],N.$=p[p.length-b],N._$={first_line:e[e.length-(b||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(b||1)].first_column,last_column:e[e.length-1].last_column},Gt&&(N._$.range=[e[e.length-(b||1)].range[0],e[e.length-1].range[1]]),pt=this.performAction.apply(N,[l,O,A,v.yy,m[1],p,e].concat(ft)),typeof pt<"u")return pt;b&&(i=i.slice(0,-1*b*2),p=p.slice(0,-1*b),e=e.slice(0,-1*b)),i.push(this.productions_[m[1]][0]),p.push(N.$),e.push(N._$),Ct=$[i[i.length-2]][i[i.length-1]],i.push(Ct);break;case 3:return!0}}return!0}},Yt=function(){var C={EOF:1,parseError:function(n,i){if(this.yy.parser)this.yy.parser.parseError(n,i);else throw new Error(n)},setInput:function(r,n){return this.yy=n||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var n=r.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var n=r.length,i=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var o=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===o.length?this.yylloc.first_column:0)+o[o.length-i.length].length-i[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),n=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/starter/src/main/resources/static/notebase/assets/styles-9a916d00-BKnCP0aD.js b/deploy/server/notebase/assets/styles-9a916d00-BdJRCaQs.js similarity index 99% rename from starter/src/main/resources/static/notebase/assets/styles-9a916d00-BKnCP0aD.js rename to deploy/server/notebase/assets/styles-9a916d00-BdJRCaQs.js index e99b178e87..d5a0052d80 100644 --- a/starter/src/main/resources/static/notebase/assets/styles-9a916d00-BKnCP0aD.js +++ b/deploy/server/notebase/assets/styles-9a916d00-BdJRCaQs.js @@ -1,4 +1,4 @@ -import{s as ut,g as rt,a as at,b as lt,c as F,A as ct,B as ot,j as v,C as ht,l as At,y as We,h as z,d as pt,E as Re}from"./mermaid.core-FIymlv9x.js";var Ve=function(){var e=function(x,u,a,h){for(a=a||{},h=x.length;h--;a[x[h]]=u);return a},i=[1,17],r=[1,18],l=[1,19],o=[1,39],A=[1,40],g=[1,25],D=[1,23],B=[1,24],_=[1,31],fe=[1,32],de=[1,33],Ee=[1,34],Ce=[1,35],me=[1,36],be=[1,26],ge=[1,27],ke=[1,28],Te=[1,29],d=[1,43],Fe=[1,30],E=[1,42],C=[1,44],m=[1,41],k=[1,45],ye=[1,9],c=[1,8,9],Y=[1,56],j=[1,57],Q=[1,58],X=[1,59],H=[1,60],De=[1,61],Be=[1,62],W=[1,8,9,39],Ge=[1,74],M=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],q=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],J=[13,74,80,95,97,98],G=[13,64,65,74,80,95,97,98],Ue=[13,59,60,61,62,63,74,80,95,97,98],_e=[1,93],Z=[1,110],$=[1,108],ee=[1,102],te=[1,103],se=[1,104],ie=[1,105],ne=[1,106],ue=[1,107],re=[1,109],Se=[1,8,9,37,39,42],ae=[1,8,9,21],ze=[1,8,9,78],S=[1,8,9,21,73,74,78,80,81,82,83,84,85],Ne={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:function(u,a,h,n,f,t,U){var s=t.length-1;switch(f){case 8:this.$=t[s-1];break;case 9:case 11:case 12:this.$=t[s];break;case 10:case 13:this.$=t[s-1]+t[s];break;case 14:case 15:this.$=t[s-1]+"~"+t[s]+"~";break;case 16:n.addRelation(t[s]);break;case 17:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 27:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 28:case 29:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 30:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 31:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 32:this.$=t[s],n.addNamespace(t[s]);break;case 33:this.$=[t[s]];break;case 34:this.$=[t[s-1]];break;case 35:t[s].unshift(t[s-2]),this.$=t[s];break;case 37:n.setCssClass(t[s-2],t[s]);break;case 38:n.addMembers(t[s-3],t[s-1]);break;case 39:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 40:this.$=t[s],n.addClass(t[s]);break;case 41:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 42:n.addAnnotation(t[s],t[s-2]);break;case 43:this.$=[t[s]];break;case 44:t[s].push(t[s-1]),this.$=t[s];break;case 45:break;case 46:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 47:break;case 48:break;case 49:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 51:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 52:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 53:n.addNote(t[s],t[s-1]);break;case 54:n.addNote(t[s]);break;case 55:n.setDirection("TB");break;case 56:n.setDirection("BT");break;case 57:n.setDirection("RL");break;case 58:n.setDirection("LR");break;case 59:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 61:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 62:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 63:this.$=n.relationType.AGGREGATION;break;case 64:this.$=n.relationType.EXTENSION;break;case 65:this.$=n.relationType.COMPOSITION;break;case 66:this.$=n.relationType.DEPENDENCY;break;case 67:this.$=n.relationType.LOLLIPOP;break;case 68:this.$=n.lineType.LINE;break;case 69:this.$=n.lineType.DOTTED_LINE;break;case 70:case 76:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 71:case 77:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 72:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 73:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 74:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 75:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 78:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 79:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 82:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 83:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 84:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 85:n.setCssClass(t[s-1],t[s]);break;case 86:this.$=[t[s]];break;case 87:t[s-2].push(t[s]),this.$=t[s-2];break;case 89:this.$=t[s-1]+t[s];break}},table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:l,36:21,40:o,41:22,44:A,45:g,47:D,48:B,50:_,52:fe,53:de,54:Ee,55:Ce,56:me,66:be,67:ge,69:ke,73:Te,74:d,76:Fe,80:E,95:C,97:m,98:k},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(ye,[2,5],{8:[1,46]}),{8:[1,47]},e(c,[2,16],{21:[1,48]}),e(c,[2,18]),e(c,[2,19]),e(c,[2,20]),e(c,[2,21]),e(c,[2,22]),e(c,[2,23]),e(c,[2,24]),e(c,[2,25]),e(c,[2,26]),{32:[1,49]},{34:[1,50]},e(c,[2,29]),e(c,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:Y,60:j,61:Q,62:X,63:H,64:De,65:Be}),{37:[1,63]},e(W,[2,36],{37:[1,65],42:[1,64]}),e(c,[2,47]),e(c,[2,48]),{16:66,74:d,80:E,95:C,97:m},{16:37,17:67,18:38,74:d,80:E,95:C,97:m,98:k},{16:37,17:68,18:38,74:d,80:E,95:C,97:m,98:k},{16:37,17:69,18:38,74:d,80:E,95:C,97:m,98:k},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:d,80:E,95:C,97:m,98:k},{13:Ge,51:73},e(c,[2,55]),e(c,[2,56]),e(c,[2,57]),e(c,[2,58]),e(M,[2,11],{16:37,18:38,17:75,19:[1,76],74:d,80:E,95:C,97:m,98:k}),e(M,[2,12],{19:[1,77]}),{15:78,16:79,74:d,80:E,95:C,97:m},{16:37,17:80,18:38,74:d,80:E,95:C,97:m,98:k},e(q,[2,112]),e(q,[2,113]),e(q,[2,114]),e(q,[2,115]),e([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),e(ye,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:i,33:r,35:l,40:o,44:A,45:g,47:D,48:B,50:_,52:fe,53:de,54:Ee,55:Ce,56:me,66:be,67:ge,69:ke,73:Te,74:d,76:Fe,80:E,95:C,97:m,98:k}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:l,36:21,40:o,41:22,44:A,45:g,47:D,48:B,50:_,52:fe,53:de,54:Ee,55:Ce,56:me,66:be,67:ge,69:ke,73:Te,74:d,76:Fe,80:E,95:C,97:m,98:k},e(c,[2,17]),e(c,[2,27]),e(c,[2,28]),{13:[1,84],16:37,17:83,18:38,74:d,80:E,95:C,97:m,98:k},{49:85,57:54,58:55,59:Y,60:j,61:Q,62:X,63:H,64:De,65:Be},e(c,[2,46]),{58:86,64:De,65:Be},e(J,[2,62],{57:87,59:Y,60:j,61:Q,62:X,63:H}),e(G,[2,63]),e(G,[2,64]),e(G,[2,65]),e(G,[2,66]),e(G,[2,67]),e(Ue,[2,68]),e(Ue,[2,69]),{8:[1,89],23:90,38:88,41:22,44:A},{16:91,74:d,80:E,95:C,97:m},{43:92,47:_e},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:Z,73:$,74:ee,75:99,77:100,79:101,80:te,81:se,82:ie,83:ne,84:ue,85:re},{74:[1,111]},{13:Ge,51:112},e(c,[2,54]),e(c,[2,117]),e(M,[2,13]),e(M,[2,14]),e(M,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:d,80:E,95:C,97:m},e(Se,[2,40],{11:114,12:[1,115]}),e(ye,[2,7]),{9:[1,116]},e(ae,[2,49]),{16:37,17:117,18:38,74:d,80:E,95:C,97:m,98:k},{13:[1,119],16:37,17:118,18:38,74:d,80:E,95:C,97:m,98:k},e(J,[2,61],{57:120,59:Y,60:j,61:Q,62:X,63:H}),e(J,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:A},{8:[1,123],39:[2,33]},e(W,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:_e},{16:37,17:127,18:38,74:d,80:E,95:C,97:m,98:k},e(c,[2,70],{13:[1,128]}),e(c,[2,72],{13:[1,130],68:[1,129]}),e(c,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},e(c,[2,84],{78:[1,134]}),e(ze,[2,86],{79:135,21:Z,73:$,74:ee,80:te,81:se,82:ie,83:ne,84:ue,85:re}),e(S,[2,88]),e(S,[2,90]),e(S,[2,91]),e(S,[2,92]),e(S,[2,93]),e(S,[2,94]),e(S,[2,95]),e(S,[2,96]),e(S,[2,97]),e(S,[2,98]),e(c,[2,85]),e(c,[2,53]),{37:[2,10]},e(Se,[2,41]),{13:[1,136]},{1:[2,4]},e(ae,[2,51]),e(ae,[2,50]),{16:37,17:137,18:38,74:d,80:E,95:C,97:m,98:k},e(J,[2,59]),e(c,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:A},{43:140,47:_e},e(W,[2,38]),{39:[2,44]},e(c,[2,42]),e(c,[2,71]),e(c,[2,73]),e(c,[2,74],{68:[1,141]}),e(c,[2,77]),e(c,[2,78],{13:[1,142]}),e(c,[2,80],{13:[1,144],68:[1,143]}),{21:Z,73:$,74:ee,77:145,79:101,80:te,81:se,82:ie,83:ne,84:ue,85:re},e(S,[2,89]),{14:[1,146]},e(ae,[2,52]),e(c,[2,31]),{39:[2,35]},{39:[1,147]},e(c,[2,75]),e(c,[2,79]),e(c,[2,81]),e(c,[2,82],{68:[1,148]}),e(ze,[2,87],{79:135,21:Z,73:$,74:ee,80:te,81:se,82:ie,83:ne,84:ue,85:re}),e(Se,[2,8]),e(W,[2,39]),e(c,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:function(u,a){if(a.recoverable)this.trace(u);else{var h=new Error(u);throw h.hash=a,h}},parse:function(u){var a=this,h=[0],n=[],f=[null],t=[],U=this.table,s="",le=0,Ke=0,tt=2,Ye=1,st=t.slice.call(arguments,1),b=Object.create(this.lexer),I={yy:{}};for(var ve in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ve)&&(I.yy[ve]=this.yy[ve]);b.setInput(u,I.yy),I.yy.lexer=b,I.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var xe=b.yylloc;t.push(xe);var it=b.options&&b.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function nt(){var L;return L=n.pop()||b.lex()||Ye,typeof L!="number"&&(L instanceof Array&&(n=L,L=n.pop()),L=a.symbols_[L]||L),L}for(var T,R,y,Oe,P={},ce,N,je,oe;;){if(R=h[h.length-1],this.defaultActions[R]?y=this.defaultActions[R]:((T===null||typeof T>"u")&&(T=nt()),y=U[R]&&U[R][T]),typeof y>"u"||!y.length||!y[0]){var Ie="";oe=[];for(ce in U[R])this.terminals_[ce]&&ce>tt&&oe.push("'"+this.terminals_[ce]+"'");b.showPosition?Ie="Parse error on line "+(le+1)+`: +import{s as ut,g as rt,a as at,b as lt,c as F,A as ct,B as ot,j as v,C as ht,l as At,y as We,h as z,d as pt,E as Re}from"./mermaid.core-BAvrjf3l.js";var Ve=function(){var e=function(x,u,a,h){for(a=a||{},h=x.length;h--;a[x[h]]=u);return a},i=[1,17],r=[1,18],l=[1,19],o=[1,39],A=[1,40],g=[1,25],D=[1,23],B=[1,24],_=[1,31],fe=[1,32],de=[1,33],Ee=[1,34],Ce=[1,35],me=[1,36],be=[1,26],ge=[1,27],ke=[1,28],Te=[1,29],d=[1,43],Fe=[1,30],E=[1,42],C=[1,44],m=[1,41],k=[1,45],ye=[1,9],c=[1,8,9],Y=[1,56],j=[1,57],Q=[1,58],X=[1,59],H=[1,60],De=[1,61],Be=[1,62],W=[1,8,9,39],Ge=[1,74],M=[1,8,9,12,13,21,37,39,42,59,60,61,62,63,64,65,70,72],q=[1,8,9,12,13,19,21,37,39,42,46,59,60,61,62,63,64,65,70,72,74,80,95,97,98],J=[13,74,80,95,97,98],G=[13,64,65,74,80,95,97,98],Ue=[13,59,60,61,62,63,74,80,95,97,98],_e=[1,93],Z=[1,110],$=[1,108],ee=[1,102],te=[1,103],se=[1,104],ie=[1,105],ne=[1,106],ue=[1,107],re=[1,109],Se=[1,8,9,37,39,42],ae=[1,8,9,21],ze=[1,8,9,78],S=[1,8,9,21,73,74,78,80,81,82,83,84,85],Ne={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,styleStatement:27,cssClassStatement:28,noteStatement:29,direction:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,namespaceIdentifier:36,STRUCT_START:37,classStatements:38,STRUCT_STOP:39,NAMESPACE:40,classIdentifier:41,STYLE_SEPARATOR:42,members:43,CLASS:44,ANNOTATION_START:45,ANNOTATION_END:46,MEMBER:47,SEPARATOR:48,relation:49,NOTE_FOR:50,noteText:51,NOTE:52,direction_tb:53,direction_bt:54,direction_rl:55,direction_lr:56,relationType:57,lineType:58,AGGREGATION:59,EXTENSION:60,COMPOSITION:61,DEPENDENCY:62,LOLLIPOP:63,LINE:64,DOTTED_LINE:65,CALLBACK:66,LINK:67,LINK_TARGET:68,CLICK:69,CALLBACK_NAME:70,CALLBACK_ARGS:71,HREF:72,STYLE:73,ALPHA:74,stylesOpt:75,CSSCLASS:76,style:77,COMMA:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,commentToken:86,textToken:87,graphCodeTokens:88,textNoTagsToken:89,TAGSTART:90,TAGEND:91,"==":92,"--":93,DEFAULT:94,MINUS:95,keywords:96,UNICODE_TEXT:97,BQUOTE_STR:98,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",37:"STRUCT_START",39:"STRUCT_STOP",40:"NAMESPACE",42:"STYLE_SEPARATOR",44:"CLASS",45:"ANNOTATION_START",46:"ANNOTATION_END",47:"MEMBER",48:"SEPARATOR",50:"NOTE_FOR",52:"NOTE",53:"direction_tb",54:"direction_bt",55:"direction_rl",56:"direction_lr",59:"AGGREGATION",60:"EXTENSION",61:"COMPOSITION",62:"DEPENDENCY",63:"LOLLIPOP",64:"LINE",65:"DOTTED_LINE",66:"CALLBACK",67:"LINK",68:"LINK_TARGET",69:"CLICK",70:"CALLBACK_NAME",71:"CALLBACK_ARGS",72:"HREF",73:"STYLE",74:"ALPHA",76:"CSSCLASS",78:"COMMA",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",88:"graphCodeTokens",90:"TAGSTART",91:"TAGEND",92:"==",93:"--",94:"DEFAULT",95:"MINUS",96:"keywords",97:"UNICODE_TEXT",98:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[36,2],[38,1],[38,2],[38,3],[23,1],[23,3],[23,4],[23,6],[41,2],[41,3],[25,4],[43,1],[43,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[29,3],[29,2],[30,1],[30,1],[30,1],[30,1],[49,3],[49,2],[49,2],[49,1],[57,1],[57,1],[57,1],[57,1],[57,1],[58,1],[58,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[28,3],[75,1],[75,3],[77,1],[77,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[86,1],[86,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[87,1],[89,1],[89,1],[89,1],[89,1],[16,1],[16,1],[16,1],[16,1],[18,1],[51,1]],performAction:function(u,a,h,n,f,t,U){var s=t.length-1;switch(f){case 8:this.$=t[s-1];break;case 9:case 11:case 12:this.$=t[s];break;case 10:case 13:this.$=t[s-1]+t[s];break;case 14:case 15:this.$=t[s-1]+"~"+t[s]+"~";break;case 16:n.addRelation(t[s]);break;case 17:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 27:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 28:case 29:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 30:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 31:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 32:this.$=t[s],n.addNamespace(t[s]);break;case 33:this.$=[t[s]];break;case 34:this.$=[t[s-1]];break;case 35:t[s].unshift(t[s-2]),this.$=t[s];break;case 37:n.setCssClass(t[s-2],t[s]);break;case 38:n.addMembers(t[s-3],t[s-1]);break;case 39:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 40:this.$=t[s],n.addClass(t[s]);break;case 41:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 42:n.addAnnotation(t[s],t[s-2]);break;case 43:this.$=[t[s]];break;case 44:t[s].push(t[s-1]),this.$=t[s];break;case 45:break;case 46:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 47:break;case 48:break;case 49:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 51:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 52:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 53:n.addNote(t[s],t[s-1]);break;case 54:n.addNote(t[s]);break;case 55:n.setDirection("TB");break;case 56:n.setDirection("BT");break;case 57:n.setDirection("RL");break;case 58:n.setDirection("LR");break;case 59:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 60:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 61:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 62:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 63:this.$=n.relationType.AGGREGATION;break;case 64:this.$=n.relationType.EXTENSION;break;case 65:this.$=n.relationType.COMPOSITION;break;case 66:this.$=n.relationType.DEPENDENCY;break;case 67:this.$=n.relationType.LOLLIPOP;break;case 68:this.$=n.lineType.LINE;break;case 69:this.$=n.lineType.DOTTED_LINE;break;case 70:case 76:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 71:case 77:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 72:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 73:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 74:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 75:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 78:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 79:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 82:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 83:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 84:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 85:n.setCssClass(t[s-1],t[s]);break;case 86:this.$=[t[s]];break;case 87:t[s-2].push(t[s]),this.$=t[s-2];break;case 89:this.$=t[s-1]+t[s];break}},table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:l,36:21,40:o,41:22,44:A,45:g,47:D,48:B,50:_,52:fe,53:de,54:Ee,55:Ce,56:me,66:be,67:ge,69:ke,73:Te,74:d,76:Fe,80:E,95:C,97:m,98:k},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(ye,[2,5],{8:[1,46]}),{8:[1,47]},e(c,[2,16],{21:[1,48]}),e(c,[2,18]),e(c,[2,19]),e(c,[2,20]),e(c,[2,21]),e(c,[2,22]),e(c,[2,23]),e(c,[2,24]),e(c,[2,25]),e(c,[2,26]),{32:[1,49]},{34:[1,50]},e(c,[2,29]),e(c,[2,45],{49:51,57:54,58:55,13:[1,52],21:[1,53],59:Y,60:j,61:Q,62:X,63:H,64:De,65:Be}),{37:[1,63]},e(W,[2,36],{37:[1,65],42:[1,64]}),e(c,[2,47]),e(c,[2,48]),{16:66,74:d,80:E,95:C,97:m},{16:37,17:67,18:38,74:d,80:E,95:C,97:m,98:k},{16:37,17:68,18:38,74:d,80:E,95:C,97:m,98:k},{16:37,17:69,18:38,74:d,80:E,95:C,97:m,98:k},{74:[1,70]},{13:[1,71]},{16:37,17:72,18:38,74:d,80:E,95:C,97:m,98:k},{13:Ge,51:73},e(c,[2,55]),e(c,[2,56]),e(c,[2,57]),e(c,[2,58]),e(M,[2,11],{16:37,18:38,17:75,19:[1,76],74:d,80:E,95:C,97:m,98:k}),e(M,[2,12],{19:[1,77]}),{15:78,16:79,74:d,80:E,95:C,97:m},{16:37,17:80,18:38,74:d,80:E,95:C,97:m,98:k},e(q,[2,112]),e(q,[2,113]),e(q,[2,114]),e(q,[2,115]),e([1,8,9,12,13,19,21,37,39,42,59,60,61,62,63,64,65,70,72],[2,116]),e(ye,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,17:20,36:21,41:22,16:37,18:38,5:81,31:i,33:r,35:l,40:o,44:A,45:g,47:D,48:B,50:_,52:fe,53:de,54:Ee,55:Ce,56:me,66:be,67:ge,69:ke,73:Te,74:d,76:Fe,80:E,95:C,97:m,98:k}),{5:82,10:5,16:37,17:20,18:38,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:16,31:i,33:r,35:l,36:21,40:o,41:22,44:A,45:g,47:D,48:B,50:_,52:fe,53:de,54:Ee,55:Ce,56:me,66:be,67:ge,69:ke,73:Te,74:d,76:Fe,80:E,95:C,97:m,98:k},e(c,[2,17]),e(c,[2,27]),e(c,[2,28]),{13:[1,84],16:37,17:83,18:38,74:d,80:E,95:C,97:m,98:k},{49:85,57:54,58:55,59:Y,60:j,61:Q,62:X,63:H,64:De,65:Be},e(c,[2,46]),{58:86,64:De,65:Be},e(J,[2,62],{57:87,59:Y,60:j,61:Q,62:X,63:H}),e(G,[2,63]),e(G,[2,64]),e(G,[2,65]),e(G,[2,66]),e(G,[2,67]),e(Ue,[2,68]),e(Ue,[2,69]),{8:[1,89],23:90,38:88,41:22,44:A},{16:91,74:d,80:E,95:C,97:m},{43:92,47:_e},{46:[1,94]},{13:[1,95]},{13:[1,96]},{70:[1,97],72:[1,98]},{21:Z,73:$,74:ee,75:99,77:100,79:101,80:te,81:se,82:ie,83:ne,84:ue,85:re},{74:[1,111]},{13:Ge,51:112},e(c,[2,54]),e(c,[2,117]),e(M,[2,13]),e(M,[2,14]),e(M,[2,15]),{37:[2,32]},{15:113,16:79,37:[2,9],74:d,80:E,95:C,97:m},e(Se,[2,40],{11:114,12:[1,115]}),e(ye,[2,7]),{9:[1,116]},e(ae,[2,49]),{16:37,17:117,18:38,74:d,80:E,95:C,97:m,98:k},{13:[1,119],16:37,17:118,18:38,74:d,80:E,95:C,97:m,98:k},e(J,[2,61],{57:120,59:Y,60:j,61:Q,62:X,63:H}),e(J,[2,60]),{39:[1,121]},{23:90,38:122,41:22,44:A},{8:[1,123],39:[2,33]},e(W,[2,37],{37:[1,124]}),{39:[1,125]},{39:[2,43],43:126,47:_e},{16:37,17:127,18:38,74:d,80:E,95:C,97:m,98:k},e(c,[2,70],{13:[1,128]}),e(c,[2,72],{13:[1,130],68:[1,129]}),e(c,[2,76],{13:[1,131],71:[1,132]}),{13:[1,133]},e(c,[2,84],{78:[1,134]}),e(ze,[2,86],{79:135,21:Z,73:$,74:ee,80:te,81:se,82:ie,83:ne,84:ue,85:re}),e(S,[2,88]),e(S,[2,90]),e(S,[2,91]),e(S,[2,92]),e(S,[2,93]),e(S,[2,94]),e(S,[2,95]),e(S,[2,96]),e(S,[2,97]),e(S,[2,98]),e(c,[2,85]),e(c,[2,53]),{37:[2,10]},e(Se,[2,41]),{13:[1,136]},{1:[2,4]},e(ae,[2,51]),e(ae,[2,50]),{16:37,17:137,18:38,74:d,80:E,95:C,97:m,98:k},e(J,[2,59]),e(c,[2,30]),{39:[1,138]},{23:90,38:139,39:[2,34],41:22,44:A},{43:140,47:_e},e(W,[2,38]),{39:[2,44]},e(c,[2,42]),e(c,[2,71]),e(c,[2,73]),e(c,[2,74],{68:[1,141]}),e(c,[2,77]),e(c,[2,78],{13:[1,142]}),e(c,[2,80],{13:[1,144],68:[1,143]}),{21:Z,73:$,74:ee,77:145,79:101,80:te,81:se,82:ie,83:ne,84:ue,85:re},e(S,[2,89]),{14:[1,146]},e(ae,[2,52]),e(c,[2,31]),{39:[2,35]},{39:[1,147]},e(c,[2,75]),e(c,[2,79]),e(c,[2,81]),e(c,[2,82],{68:[1,148]}),e(ze,[2,87],{79:135,21:Z,73:$,74:ee,80:te,81:se,82:ie,83:ne,84:ue,85:re}),e(Se,[2,8]),e(W,[2,39]),e(c,[2,83])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],78:[2,32],113:[2,10],116:[2,4],126:[2,44],139:[2,35]},parseError:function(u,a){if(a.recoverable)this.trace(u);else{var h=new Error(u);throw h.hash=a,h}},parse:function(u){var a=this,h=[0],n=[],f=[null],t=[],U=this.table,s="",le=0,Ke=0,tt=2,Ye=1,st=t.slice.call(arguments,1),b=Object.create(this.lexer),I={yy:{}};for(var ve in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ve)&&(I.yy[ve]=this.yy[ve]);b.setInput(u,I.yy),I.yy.lexer=b,I.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var xe=b.yylloc;t.push(xe);var it=b.options&&b.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function nt(){var L;return L=n.pop()||b.lex()||Ye,typeof L!="number"&&(L instanceof Array&&(n=L,L=n.pop()),L=a.symbols_[L]||L),L}for(var T,R,y,Oe,P={},ce,N,je,oe;;){if(R=h[h.length-1],this.defaultActions[R]?y=this.defaultActions[R]:((T===null||typeof T>"u")&&(T=nt()),y=U[R]&&U[R][T]),typeof y>"u"||!y.length||!y[0]){var Ie="";oe=[];for(ce in U[R])this.terminals_[ce]&&ce>tt&&oe.push("'"+this.terminals_[ce]+"'");b.showPosition?Ie="Parse error on line "+(le+1)+`: `+b.showPosition()+` Expecting `+oe.join(", ")+", got '"+(this.terminals_[T]||T)+"'":Ie="Parse error on line "+(le+1)+": Unexpected "+(T==Ye?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError(Ie,{text:b.match,token:this.terminals_[T]||T,line:b.yylineno,loc:xe,expected:oe})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+T);switch(y[0]){case 1:h.push(T),f.push(b.yytext),t.push(b.yylloc),h.push(y[1]),T=null,Ke=b.yyleng,s=b.yytext,le=b.yylineno,xe=b.yylloc;break;case 2:if(N=this.productions_[y[1]][1],P.$=f[f.length-N],P._$={first_line:t[t.length-(N||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(N||1)].first_column,last_column:t[t.length-1].last_column},it&&(P._$.range=[t[t.length-(N||1)].range[0],t[t.length-1].range[1]]),Oe=this.performAction.apply(P,[s,Ke,le,I.yy,y[1],f,t].concat(st)),typeof Oe<"u")return Oe;N&&(h=h.slice(0,-1*N*2),f=f.slice(0,-1*N),t=t.slice(0,-1*N)),h.push(this.productions_[y[1]][0]),f.push(P.$),t.push(P._$),je=U[h[h.length-2]][h[h.length-1]],h.push(je);break;case 3:return!0}}return!0}},et=function(){var x={EOF:1,parseError:function(a,h){if(this.yy.parser)this.yy.parser.parseError(a,h);else throw new Error(a)},setInput:function(u,a){return this.yy=a||this.yy||{},this._input=u,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var u=this._input[0];this.yytext+=u,this.yyleng++,this.offset++,this.match+=u,this.matched+=u;var a=u.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),u},unput:function(u){var a=u.length,h=u.split(/(?:\r\n?|\n)/g);this._input=u+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var n=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),h.length-1&&(this.yylineno-=h.length-1);var f=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:h?(h.length===n.length?this.yylloc.first_column:0)+n[n.length-h.length].length-h[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[f[0],f[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(u){this.unput(this.match.slice(u))},pastInput:function(){var u=this.matched.substr(0,this.matched.length-this.match.length);return(u.length>20?"...":"")+u.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var u=this.match;return u.length<20&&(u+=this._input.substr(0,20-u.length)),(u.substr(0,20)+(u.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var u=this.pastInput(),a=new Array(u.length+1).join("-");return u+this.upcomingInput()+` diff --git a/starter/src/main/resources/static/notebase/assets/styles-c10674c1-C0PgCO5e.js b/deploy/server/notebase/assets/styles-c10674c1-BA5ccCud.js similarity index 97% rename from starter/src/main/resources/static/notebase/assets/styles-c10674c1-C0PgCO5e.js rename to deploy/server/notebase/assets/styles-c10674c1-BA5ccCud.js index 4d0dde21a8..419d893ee9 100644 --- a/starter/src/main/resources/static/notebase/assets/styles-c10674c1-C0PgCO5e.js +++ b/deploy/server/notebase/assets/styles-c10674c1-BA5ccCud.js @@ -1,4 +1,4 @@ -import{G as R}from"./graph-BpOdqLUS.js";import{S as z,v as F,x as j,o as A,l as g,p as U,c as S,j as G,r as q,q as E,n as L,h as C,y as H,t as K,z as W}from"./mermaid.core-FIymlv9x.js";import{r as X}from"./index-3862675e-BiX2WQe8.js";import{v as J,w as Q}from"./index-BtAN2wrW.js";import{c as Y}from"./channel-yOhp9TGv.js";function Z(e){return typeof e=="string"?new z([document.querySelectorAll(e)],[document.documentElement]):new z([j(e)],F)}function be(e,l){return!!e.children(l).length}function fe(e){return N(e.v)+":"+N(e.w)+":"+N(e.name)}var O=/:/g;function N(e){return e?String(e).replace(O,"\\:"):""}function ee(e,l){l&&e.attr("style",l)}function ue(e,l,c){l&&e.attr("class",l).attr("class",c+" "+e.attr("class"))}function we(e,l){var c=l.graph();if(J(c)){var a=c.transition;if(Q(a))return a(e)}return e}function te(e,l){var c=e.append("foreignObject").attr("width","100000"),a=c.append("xhtml:div");a.attr("xmlns","http://www.w3.org/1999/xhtml");var i=l.label;switch(typeof i){case"function":a.insert(i);break;case"object":a.insert(function(){return i});break;default:a.html(i)}ee(a,l.labelStyle),a.style("display","inline-block"),a.style("white-space","nowrap");var d=a.node().getBoundingClientRect();return c.attr("width",d.width).attr("height",d.height),c}const P={},re=function(e){const l=Object.keys(e);for(const c of l)P[c]=e[c]},V=async function(e,l,c,a,i,d){const u=a.select(`[id="${c}"]`),n=Object.keys(e);for(const p of n){const r=e[p];let y="default";r.classes.length>0&&(y=r.classes.join(" ")),y=y+" flowchart-label";const w=A(r.styles);let t=r.text!==void 0?r.text:r.id,s;if(g.info("vertex",r,r.labelType),r.labelType==="markdown")g.info("vertex",r,r.labelType);else if(U(S().flowchart.htmlLabels))s=te(u,{label:t}).node(),s.parentNode.removeChild(s);else{const k=i.createElementNS("http://www.w3.org/2000/svg","text");k.setAttribute("style",w.labelStyle.replace("color:","fill:"));const _=t.split(G.lineBreakRegex);for(const $ of _){const v=i.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),v.setAttribute("dy","1em"),v.setAttribute("x","1"),v.textContent=$,k.appendChild(v)}s=k}let b=0,o="";switch(r.type){case"round":b=5,o="rect";break;case"square":o="rect";break;case"diamond":o="question";break;case"hexagon":o="hexagon";break;case"odd":o="rect_left_inv_arrow";break;case"lean_right":o="lean_right";break;case"lean_left":o="lean_left";break;case"trapezoid":o="trapezoid";break;case"inv_trapezoid":o="inv_trapezoid";break;case"odd_right":o="rect_left_inv_arrow";break;case"circle":o="circle";break;case"ellipse":o="ellipse";break;case"stadium":o="stadium";break;case"subroutine":o="subroutine";break;case"cylinder":o="cylinder";break;case"group":o="rect";break;case"doublecircle":o="doublecircle";break;default:o="rect"}const T=await q(t,S());l.setNode(r.id,{labelStyle:w.labelStyle,shape:o,labelText:T,labelType:r.labelType,rx:b,ry:b,class:y,style:w.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:d.db.getTooltip(r.id)||"",domId:d.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:r.type==="group"?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:S().flowchart.padding}),g.info("setNode",{labelStyle:w.labelStyle,labelType:r.labelType,shape:o,labelText:T,rx:b,ry:b,class:y,style:w.style,id:r.id,domId:d.db.lookUpDomId(r.id),width:r.type==="group"?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:S().flowchart.padding})}},M=async function(e,l,c){g.info("abc78 edges = ",e);let a=0,i={},d,u;if(e.defaultStyle!==void 0){const n=A(e.defaultStyle);d=n.style,u=n.labelStyle}for(const n of e){a++;const p="L-"+n.start+"-"+n.end;i[p]===void 0?(i[p]=0,g.info("abc78 new entry",p,i[p])):(i[p]++,g.info("abc78 new entry",p,i[p]));let r=p+"-"+i[p];g.info("abc78 new link id to be used is",p,r,i[p]);const y="LS-"+n.start,w="LE-"+n.end,t={style:"",labelStyle:""};switch(t.minlen=n.length||1,n.type==="arrow_open"?t.arrowhead="none":t.arrowhead="normal",t.arrowTypeStart="arrow_open",t.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":t.arrowTypeStart="arrow_cross";case"arrow_cross":t.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":t.arrowTypeStart="arrow_point";case"arrow_point":t.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":t.arrowTypeStart="arrow_circle";case"arrow_circle":t.arrowTypeEnd="arrow_circle";break}let s="",b="";switch(n.stroke){case"normal":s="fill:none;",d!==void 0&&(s=d),u!==void 0&&(b=u),t.thickness="normal",t.pattern="solid";break;case"dotted":t.thickness="normal",t.pattern="dotted",t.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":t.thickness="thick",t.pattern="solid",t.style="stroke-width: 3.5px;fill:none;";break;case"invisible":t.thickness="invisible",t.pattern="solid",t.style="stroke-width: 0;fill:none;";break}if(n.style!==void 0){const o=A(n.style);s=o.style,b=o.labelStyle}t.style=t.style+=s,t.labelStyle=t.labelStyle+=b,n.interpolate!==void 0?t.curve=E(n.interpolate,L):e.defaultInterpolate!==void 0?t.curve=E(e.defaultInterpolate,L):t.curve=E(P.curve,L),n.text===void 0?n.style!==void 0&&(t.arrowheadStyle="fill: #333"):(t.arrowheadStyle="fill: #333",t.labelpos="c"),t.labelType=n.labelType,t.label=await q(n.text.replace(G.lineBreakRegex,` +import{G as R}from"./graph-heRzvxcs.js";import{S as z,v as F,x as j,o as A,l as g,p as U,c as S,j as G,r as q,q as E,n as L,h as C,y as H,t as K,z as W}from"./mermaid.core-BAvrjf3l.js";import{r as X}from"./index-3862675e-m4ra-w5r.js";import{v as J,w as Q}from"./index-D31-yJHm.js";import{c as Y}from"./channel-BteF1w-T.js";function Z(e){return typeof e=="string"?new z([document.querySelectorAll(e)],[document.documentElement]):new z([j(e)],F)}function be(e,l){return!!e.children(l).length}function fe(e){return N(e.v)+":"+N(e.w)+":"+N(e.name)}var O=/:/g;function N(e){return e?String(e).replace(O,"\\:"):""}function ee(e,l){l&&e.attr("style",l)}function ue(e,l,c){l&&e.attr("class",l).attr("class",c+" "+e.attr("class"))}function we(e,l){var c=l.graph();if(J(c)){var a=c.transition;if(Q(a))return a(e)}return e}function te(e,l){var c=e.append("foreignObject").attr("width","100000"),a=c.append("xhtml:div");a.attr("xmlns","http://www.w3.org/1999/xhtml");var i=l.label;switch(typeof i){case"function":a.insert(i);break;case"object":a.insert(function(){return i});break;default:a.html(i)}ee(a,l.labelStyle),a.style("display","inline-block"),a.style("white-space","nowrap");var d=a.node().getBoundingClientRect();return c.attr("width",d.width).attr("height",d.height),c}const P={},re=function(e){const l=Object.keys(e);for(const c of l)P[c]=e[c]},V=async function(e,l,c,a,i,d){const u=a.select(`[id="${c}"]`),n=Object.keys(e);for(const p of n){const r=e[p];let y="default";r.classes.length>0&&(y=r.classes.join(" ")),y=y+" flowchart-label";const w=A(r.styles);let t=r.text!==void 0?r.text:r.id,s;if(g.info("vertex",r,r.labelType),r.labelType==="markdown")g.info("vertex",r,r.labelType);else if(U(S().flowchart.htmlLabels))s=te(u,{label:t}).node(),s.parentNode.removeChild(s);else{const k=i.createElementNS("http://www.w3.org/2000/svg","text");k.setAttribute("style",w.labelStyle.replace("color:","fill:"));const _=t.split(G.lineBreakRegex);for(const $ of _){const v=i.createElementNS("http://www.w3.org/2000/svg","tspan");v.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),v.setAttribute("dy","1em"),v.setAttribute("x","1"),v.textContent=$,k.appendChild(v)}s=k}let b=0,o="";switch(r.type){case"round":b=5,o="rect";break;case"square":o="rect";break;case"diamond":o="question";break;case"hexagon":o="hexagon";break;case"odd":o="rect_left_inv_arrow";break;case"lean_right":o="lean_right";break;case"lean_left":o="lean_left";break;case"trapezoid":o="trapezoid";break;case"inv_trapezoid":o="inv_trapezoid";break;case"odd_right":o="rect_left_inv_arrow";break;case"circle":o="circle";break;case"ellipse":o="ellipse";break;case"stadium":o="stadium";break;case"subroutine":o="subroutine";break;case"cylinder":o="cylinder";break;case"group":o="rect";break;case"doublecircle":o="doublecircle";break;default:o="rect"}const T=await q(t,S());l.setNode(r.id,{labelStyle:w.labelStyle,shape:o,labelText:T,labelType:r.labelType,rx:b,ry:b,class:y,style:w.style,id:r.id,link:r.link,linkTarget:r.linkTarget,tooltip:d.db.getTooltip(r.id)||"",domId:d.db.lookUpDomId(r.id),haveCallback:r.haveCallback,width:r.type==="group"?500:void 0,dir:r.dir,type:r.type,props:r.props,padding:S().flowchart.padding}),g.info("setNode",{labelStyle:w.labelStyle,labelType:r.labelType,shape:o,labelText:T,rx:b,ry:b,class:y,style:w.style,id:r.id,domId:d.db.lookUpDomId(r.id),width:r.type==="group"?500:void 0,type:r.type,dir:r.dir,props:r.props,padding:S().flowchart.padding})}},M=async function(e,l,c){g.info("abc78 edges = ",e);let a=0,i={},d,u;if(e.defaultStyle!==void 0){const n=A(e.defaultStyle);d=n.style,u=n.labelStyle}for(const n of e){a++;const p="L-"+n.start+"-"+n.end;i[p]===void 0?(i[p]=0,g.info("abc78 new entry",p,i[p])):(i[p]++,g.info("abc78 new entry",p,i[p]));let r=p+"-"+i[p];g.info("abc78 new link id to be used is",p,r,i[p]);const y="LS-"+n.start,w="LE-"+n.end,t={style:"",labelStyle:""};switch(t.minlen=n.length||1,n.type==="arrow_open"?t.arrowhead="none":t.arrowhead="normal",t.arrowTypeStart="arrow_open",t.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":t.arrowTypeStart="arrow_cross";case"arrow_cross":t.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":t.arrowTypeStart="arrow_point";case"arrow_point":t.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":t.arrowTypeStart="arrow_circle";case"arrow_circle":t.arrowTypeEnd="arrow_circle";break}let s="",b="";switch(n.stroke){case"normal":s="fill:none;",d!==void 0&&(s=d),u!==void 0&&(b=u),t.thickness="normal",t.pattern="solid";break;case"dotted":t.thickness="normal",t.pattern="dotted",t.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":t.thickness="thick",t.pattern="solid",t.style="stroke-width: 3.5px;fill:none;";break;case"invisible":t.thickness="invisible",t.pattern="solid",t.style="stroke-width: 0;fill:none;";break}if(n.style!==void 0){const o=A(n.style);s=o.style,b=o.labelStyle}t.style=t.style+=s,t.labelStyle=t.labelStyle+=b,n.interpolate!==void 0?t.curve=E(n.interpolate,L):e.defaultInterpolate!==void 0?t.curve=E(e.defaultInterpolate,L):t.curve=E(P.curve,L),n.text===void 0?n.style!==void 0&&(t.arrowheadStyle="fill: #333"):(t.arrowheadStyle="fill: #333",t.labelpos="c"),t.labelType=n.labelType,t.label=await q(n.text.replace(G.lineBreakRegex,` `),S()),n.style===void 0&&(t.style=t.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),t.labelStyle=t.labelStyle.replace("color:","fill:"),t.id=r,t.classes="flowchart-link "+y+" "+w,l.setEdge(n.start,n.end,t,a)}},le=function(e,l){return l.db.getClasses()},ae=async function(e,l,c,a){g.info("Drawing flowchart");let i=a.db.getDirection();i===void 0&&(i="TD");const{securityLevel:d,flowchart:u}=S(),n=u.nodeSpacing||50,p=u.rankSpacing||50;let r;d==="sandbox"&&(r=C("#i"+l));const y=d==="sandbox"?C(r.nodes()[0].contentDocument.body):C("body"),w=d==="sandbox"?r.nodes()[0].contentDocument:document,t=new R({multigraph:!0,compound:!0}).setGraph({rankdir:i,nodesep:n,ranksep:p,marginx:0,marginy:0}).setDefaultEdgeLabel(function(){return{}});let s;const b=a.db.getSubGraphs();g.info("Subgraphs - ",b);for(let f=b.length-1;f>=0;f--)s=b[f],g.info("Subgraph - ",s),a.db.addVertex(s.id,{text:s.title,type:s.labelType},"group",void 0,s.classes,s.dir);const o=a.db.getVertices(),T=a.db.getEdges();g.info("Edges",T);let k=0;for(k=b.length-1;k>=0;k--){s=b[k],Z("cluster").append("text");for(let f=0;f{const c=Y,a=c(e,"r"),i=c(e,"g"),d=c(e,"b");return W(a,i,d,l)},ne=e=>`.label { font-family: ${e.fontFamily}; color: ${e.nodeTextColor||e.textColor}; diff --git a/deploy/server/notebase/assets/svgDrawCommon-08f97a94-YKaWqPJz.js b/deploy/server/notebase/assets/svgDrawCommon-08f97a94-DgTDkXBR.js similarity index 95% rename from deploy/server/notebase/assets/svgDrawCommon-08f97a94-YKaWqPJz.js rename to deploy/server/notebase/assets/svgDrawCommon-08f97a94-DgTDkXBR.js index ee62b20140..fc82d6d2a3 100644 --- a/deploy/server/notebase/assets/svgDrawCommon-08f97a94-YKaWqPJz.js +++ b/deploy/server/notebase/assets/svgDrawCommon-08f97a94-DgTDkXBR.js @@ -1 +1 @@ -import{a3 as o,m as i}from"./mermaid.core-C-ExL7Zv.js";const l=(s,t)=>{const e=s.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx!==void 0&&e.attr("rx",t.rx),t.ry!==void 0&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class!==void 0&&e.attr("class",t.class),e},x=(s,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};l(s,e).lower()},d=(s,t)=>{const e=t.text.replace(o," "),r=s.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class!==void 0&&r.attr("class",t.class);const n=r.append("tspan");return n.attr("x",t.x+t.textMargin*2),n.text(e),r},h=(s,t,e,r)=>{const n=s.append("image");n.attr("x",t),n.attr("y",e);const a=i.sanitizeUrl(r);n.attr("xlink:href",a)},y=(s,t,e,r)=>{const n=s.append("use");n.attr("x",t),n.attr("y",e);const a=i.sanitizeUrl(r);n.attr("xlink:href",`#${a}`)},g=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),m=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0});export{x as a,m as b,y as c,l as d,h as e,d as f,g}; +import{a3 as o,m as i}from"./mermaid.core-BAvrjf3l.js";const l=(s,t)=>{const e=s.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx!==void 0&&e.attr("rx",t.rx),t.ry!==void 0&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class!==void 0&&e.attr("class",t.class),e},x=(s,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};l(s,e).lower()},d=(s,t)=>{const e=t.text.replace(o," "),r=s.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class!==void 0&&r.attr("class",t.class);const n=r.append("tspan");return n.attr("x",t.x+t.textMargin*2),n.text(e),r},h=(s,t,e,r)=>{const n=s.append("image");n.attr("x",t),n.attr("y",e);const a=i.sanitizeUrl(r);n.attr("xlink:href",a)},y=(s,t,e,r)=>{const n=s.append("use");n.attr("x",t),n.attr("y",e);const a=i.sanitizeUrl(r);n.attr("xlink:href",`#${a}`)},g=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),m=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0});export{x as a,m as b,y as c,l as d,h as e,d as f,g}; diff --git a/starter/src/main/resources/static/agenticflow/assets/threadService-DULfgY7i.js b/deploy/server/notebase/assets/threadService-RbTpiYIo.js similarity index 94% rename from starter/src/main/resources/static/agenticflow/assets/threadService-DULfgY7i.js rename to deploy/server/notebase/assets/threadService-RbTpiYIo.js index 8ff174b724..c154f13abd 100644 --- a/starter/src/main/resources/static/agenticflow/assets/threadService-DULfgY7i.js +++ b/deploy/server/notebase/assets/threadService-RbTpiYIo.js @@ -1 +1 @@ -import{r as T,u as n,a as h}from"./index-CwbPp90Y.js";async function y(t){return T("/api/v1/thread/query",{method:"GET",params:{...t}})}const b={async loadThreads(t,s=3){const{setLoading:o,setError:d,setThreads:i,searchText:c,pagination:a,setPagination:l}=n.getState(),p=h.getState().currentOrg,g=async u=>{try{o(!0),d(null);const r={orgUid:p.uid,pageNumber:a.pageNumber,pageSize:a.pageSize};c&&(r.searchText=c);const e=await y(r);if(console.log("queryThreads response",r,e.data),e.data.code===200){if(l({...a,total:e.data.data.totalElements,pageNumber:e.data.data.last?a.pageNumber:a.pageNumber+1}),a.pageNumber===0)i(e.data.data.content);else{const{threads:S}=n.getState();i([...S,...e.data.data.content])}const{setThreadResult:m}=n.getState();m(e.data)}else throw new Error(e.data.message)}catch(r){if(usetTimeout(e,1e3)),g(u+1);d(r instanceof Error?r.message:"Failed to load threads")}finally{o(!1)}};return g(1)},async resetAndLoad(){const{setPagination:t}=n.getState(),s=h.getState().currentOrg;return t({pageNumber:0,pageSize:100,total:0}),this.loadThreads(s.uid)},async loadThreadsWithFilters(t){const{setFilter:s}=n.getState();return Object.entries(t).forEach(([o,d])=>{s(o,d)}),this.resetAndLoad()}};export{b as threadService}; +import{r as T,u as n,a as h}from"./index-D31-yJHm.js";async function y(t){return T("/api/v1/thread/query",{method:"GET",params:{...t}})}const b={async loadThreads(t,s=3){const{setLoading:o,setError:d,setThreads:i,searchText:c,pagination:a,setPagination:l}=n.getState(),p=h.getState().currentOrg,g=async u=>{try{o(!0),d(null);const r={orgUid:p.uid,pageNumber:a.pageNumber,pageSize:a.pageSize};c&&(r.searchText=c);const e=await y(r);if(console.log("queryThreads response",r,e.data),e.data.code===200){if(l({...a,total:e.data.data.totalElements,pageNumber:e.data.data.last?a.pageNumber:a.pageNumber+1}),a.pageNumber===0)i(e.data.data.content);else{const{threads:S}=n.getState();i([...S,...e.data.data.content])}const{setThreadResult:m}=n.getState();m(e.data)}else throw new Error(e.data.message)}catch(r){if(usetTimeout(e,1e3)),g(u+1);d(r instanceof Error?r.message:"Failed to load threads")}finally{o(!1)}};return g(1)},async resetAndLoad(){const{setPagination:t}=n.getState(),s=h.getState().currentOrg;return t({pageNumber:0,pageSize:100,total:0}),this.loadThreads(s.uid)},async loadThreadsWithFilters(t){const{setFilter:s}=n.getState();return Object.entries(t).forEach(([o,d])=>{s(o,d)}),this.resetAndLoad()}};export{b as threadService}; diff --git a/deploy/server/notebase/assets/timeline-definition-85554ec2-Cov7mxh-.js b/deploy/server/notebase/assets/timeline-definition-85554ec2-BRovp9-m.js similarity index 99% rename from deploy/server/notebase/assets/timeline-definition-85554ec2-Cov7mxh-.js rename to deploy/server/notebase/assets/timeline-definition-85554ec2-BRovp9-m.js index 74b20353d4..6c5cecb697 100644 --- a/deploy/server/notebase/assets/timeline-definition-85554ec2-Cov7mxh-.js +++ b/deploy/server/notebase/assets/timeline-definition-85554ec2-BRovp9-m.js @@ -1,4 +1,4 @@ -import{a5 as ft,C as gt,c as mt,l as E,h as G,t as xt,a6 as _t,a7 as bt,a8 as kt}from"./mermaid.core-C-ExL7Zv.js";import"./index-OntvGoV0.js";import{a as D}from"./arc-CNrau5-m.js";import"./path-CbwjOpE9.js";var K=function(){var n=function(g,i,r,c){for(r=r||{},c=g.length;c--;r[g[c]]=i);return r},t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],a=[1,10],s=[1,11],h=[1,12],l=[1,13],p=[1,16],y=[1,17],f={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:function(i,r,c,d,u,o,$){var x=o.length-1;switch(u){case 1:return o[x-1];case 2:this.$=[];break;case 3:o[x-1].push(o[x]),this.$=o[x-1];break;case 4:case 5:this.$=o[x];break;case 6:case 7:this.$=[];break;case 8:d.getCommonDb().setDiagramTitle(o[x].substr(6)),this.$=o[x].substr(6);break;case 9:this.$=o[x].trim(),d.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[x].trim(),d.getCommonDb().setAccDescription(this.$);break;case 12:d.addSection(o[x].substr(8)),this.$=o[x].substr(8);break;case 15:d.addTask(o[x],0,""),this.$=o[x];break;case 16:d.addEvent(o[x].substr(2)),this.$=o[x];break}},table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:a,14:s,16:h,17:l,18:14,19:15,20:p,21:y},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:a,14:s,16:h,17:l,18:14,19:15,20:p,21:y},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:function(i,r){if(r.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=r,c}},parse:function(i){var r=this,c=[0],d=[],u=[null],o=[],$=this.table,x="",T=0,W=0,C=2,A=1,B=o.slice.call(arguments,1),k=Object.create(this.lexer),w={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(w.yy[v]=this.yy[v]);k.setInput(i,w.yy),w.yy.lexer=k,w.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var I=k.yylloc;o.push(I);var P=k.options&&k.options.ranges;typeof w.yy.parseError=="function"?this.parseError=w.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function z(){var M;return M=d.pop()||k.lex()||A,typeof M!="number"&&(M instanceof Array&&(d=M,M=d.pop()),M=r.symbols_[M]||M),M}for(var b,L,S,Z,R={},O,N,Y,j;;){if(L=c[c.length-1],this.defaultActions[L]?S=this.defaultActions[L]:((b===null||typeof b>"u")&&(b=z()),S=$[L]&&$[L][b]),typeof S>"u"||!S.length||!S[0]){var J="";j=[];for(O in $[L])this.terminals_[O]&&O>C&&j.push("'"+this.terminals_[O]+"'");k.showPosition?J="Parse error on line "+(T+1)+`: +import{a5 as ft,C as gt,c as mt,l as E,h as G,t as xt,a6 as _t,a7 as bt,a8 as kt}from"./mermaid.core-BAvrjf3l.js";import"./index-D31-yJHm.js";import{a as D}from"./arc-CEKBcz1C.js";import"./path-CbwjOpE9.js";var K=function(){var n=function(g,i,r,c){for(r=r||{},c=g.length;c--;r[g[c]]=i);return r},t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],a=[1,10],s=[1,11],h=[1,12],l=[1,13],p=[1,16],y=[1,17],f={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:function(i,r,c,d,u,o,$){var x=o.length-1;switch(u){case 1:return o[x-1];case 2:this.$=[];break;case 3:o[x-1].push(o[x]),this.$=o[x-1];break;case 4:case 5:this.$=o[x];break;case 6:case 7:this.$=[];break;case 8:d.getCommonDb().setDiagramTitle(o[x].substr(6)),this.$=o[x].substr(6);break;case 9:this.$=o[x].trim(),d.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=o[x].trim(),d.getCommonDb().setAccDescription(this.$);break;case 12:d.addSection(o[x].substr(8)),this.$=o[x].substr(8);break;case 15:d.addTask(o[x],0,""),this.$=o[x];break;case 16:d.addEvent(o[x].substr(2)),this.$=o[x];break}},table:[{3:1,4:[1,2]},{1:[3]},n(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:a,14:s,16:h,17:l,18:14,19:15,20:p,21:y},n(t,[2,7],{1:[2,1]}),n(t,[2,3]),{9:18,11:e,12:a,14:s,16:h,17:l,18:14,19:15,20:p,21:y},n(t,[2,5]),n(t,[2,6]),n(t,[2,8]),{13:[1,19]},{15:[1,20]},n(t,[2,11]),n(t,[2,12]),n(t,[2,13]),n(t,[2,14]),n(t,[2,15]),n(t,[2,16]),n(t,[2,4]),n(t,[2,9]),n(t,[2,10])],defaultActions:{},parseError:function(i,r){if(r.recoverable)this.trace(i);else{var c=new Error(i);throw c.hash=r,c}},parse:function(i){var r=this,c=[0],d=[],u=[null],o=[],$=this.table,x="",T=0,W=0,C=2,A=1,B=o.slice.call(arguments,1),k=Object.create(this.lexer),w={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(w.yy[v]=this.yy[v]);k.setInput(i,w.yy),w.yy.lexer=k,w.yy.parser=this,typeof k.yylloc>"u"&&(k.yylloc={});var I=k.yylloc;o.push(I);var P=k.options&&k.options.ranges;typeof w.yy.parseError=="function"?this.parseError=w.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function z(){var M;return M=d.pop()||k.lex()||A,typeof M!="number"&&(M instanceof Array&&(d=M,M=d.pop()),M=r.symbols_[M]||M),M}for(var b,L,S,Z,R={},O,N,Y,j;;){if(L=c[c.length-1],this.defaultActions[L]?S=this.defaultActions[L]:((b===null||typeof b>"u")&&(b=z()),S=$[L]&&$[L][b]),typeof S>"u"||!S.length||!S[0]){var J="";j=[];for(O in $[L])this.terminals_[O]&&O>C&&j.push("'"+this.terminals_[O]+"'");k.showPosition?J="Parse error on line "+(T+1)+`: `+k.showPosition()+` Expecting `+j.join(", ")+", got '"+(this.terminals_[b]||b)+"'":J="Parse error on line "+(T+1)+": Unexpected "+(b==A?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(J,{text:k.match,token:this.terminals_[b]||b,line:k.yylineno,loc:I,expected:j})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+L+", token: "+b);switch(S[0]){case 1:c.push(b),u.push(k.yytext),o.push(k.yylloc),c.push(S[1]),b=null,W=k.yyleng,x=k.yytext,T=k.yylineno,I=k.yylloc;break;case 2:if(N=this.productions_[S[1]][1],R.$=u[u.length-N],R._$={first_line:o[o.length-(N||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(N||1)].first_column,last_column:o[o.length-1].last_column},P&&(R._$.range=[o[o.length-(N||1)].range[0],o[o.length-1].range[1]]),Z=this.performAction.apply(R,[x,W,T,w.yy,S[1],u,o].concat(B)),typeof Z<"u")return Z;N&&(c=c.slice(0,-1*N*2),u=u.slice(0,-1*N),o=o.slice(0,-1*N)),c.push(this.productions_[S[1]][0]),u.push(R.$),o.push(R._$),Y=$[c[c.length-2]][c[c.length-1]],c.push(Y);break;case 3:return!0}}return!0}},_=function(){var g={EOF:1,parseError:function(r,c){if(this.yy.parser)this.yy.parser.parseError(r,c);else throw new Error(r)},setInput:function(i,r){return this.yy=r||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var r=i.match(/(?:\r\n?|\n).*/g);return r?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},unput:function(i){var r=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-r),this.offset-=r;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-r},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-r]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(i){this.unput(this.match.slice(i))},pastInput:function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var i=this.pastInput(),r=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/deploy/server/notebase/assets/xychartDiagram-e933f94c-CGhbd7x5.js b/deploy/server/notebase/assets/xychartDiagram-e933f94c-Djsho-Gs.js similarity index 99% rename from deploy/server/notebase/assets/xychartDiagram-e933f94c-CGhbd7x5.js rename to deploy/server/notebase/assets/xychartDiagram-e933f94c-Djsho-Gs.js index c77584a436..1d65bf8592 100644 --- a/deploy/server/notebase/assets/xychartDiagram-e933f94c-CGhbd7x5.js +++ b/deploy/server/notebase/assets/xychartDiagram-e933f94c-Djsho-Gs.js @@ -1,4 +1,4 @@ -import{U as zt,V as ot,Q as wt,P as Ft,s as Nt,g as Xt,A as Yt,B as St,a as Ht,b as $t,C as Ut,l as Ct,N as qt,i as jt,d as Gt}from"./mermaid.core-C-ExL7Zv.js";import{c as Qt}from"./createText-2e5e7dd3-CkLmKZf8.js";import"./index-OntvGoV0.js";import{i as Kt}from"./init-Gi6I4Gst.js";import{o as Zt}from"./ordinal-Cboi1Yqb.js";import{l as ft}from"./linear-BCwlPy8V.js";import{l as pt}from"./line-CZuLgQF7.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";function Jt(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s"u"&&(k.yylloc={});var tt=k.yylloc;a.push(tt);var Wt=k.options&&k.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ot(){var I;return I=g.pop()||k.lex()||xt,typeof I!="number"&&(I instanceof Array&&(g=I,I=g.pop()),I=l.symbols_[I]||I),I}for(var D,W,v,it,O={},q,M,dt,j;;){if(W=u[u.length-1],this.defaultActions[W]?v=this.defaultActions[W]:((D===null||typeof D>"u")&&(D=Ot()),v=F[W]&&F[W][D]),typeof v>"u"||!v.length||!v[0]){var et="";j=[];for(q in F[W])this.terminals_[q]&&q>Vt&&j.push("'"+this.terminals_[q]+"'");k.showPosition?et="Parse error on line "+(U+1)+`: +import{U as zt,V as ot,Q as wt,P as Ft,s as Nt,g as Xt,A as Yt,B as St,a as Ht,b as $t,C as Ut,l as Ct,N as qt,i as jt,d as Gt}from"./mermaid.core-BAvrjf3l.js";import{c as Qt}from"./createText-2e5e7dd3-Cn1HPiN2.js";import"./index-D31-yJHm.js";import{i as Kt}from"./init-Gi6I4Gst.js";import{o as Zt}from"./ordinal-Cboi1Yqb.js";import{l as ft}from"./linear-CtvYWXGN.js";import{l as pt}from"./line-F7vHXKX5.js";import"./array-BKyUJesY.js";import"./path-CbwjOpE9.js";function Jt(e,t,i){e=+e,t=+t,i=(n=arguments.length)<2?(t=e,e=0,1):n<3?1:+i;for(var s=-1,n=Math.max(0,Math.ceil((t-e)/i))|0,o=new Array(n);++s"u"&&(k.yylloc={});var tt=k.yylloc;a.push(tt);var Wt=k.options&&k.options.ranges;typeof B.yy.parseError=="function"?this.parseError=B.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ot(){var I;return I=g.pop()||k.lex()||xt,typeof I!="number"&&(I instanceof Array&&(g=I,I=g.pop()),I=l.symbols_[I]||I),I}for(var D,W,v,it,O={},q,M,dt,j;;){if(W=u[u.length-1],this.defaultActions[W]?v=this.defaultActions[W]:((D===null||typeof D>"u")&&(D=Ot()),v=F[W]&&F[W][D]),typeof v>"u"||!v.length||!v[0]){var et="";j=[];for(q in F[W])this.terminals_[q]&&q>Vt&&j.push("'"+this.terminals_[q]+"'");k.showPosition?et="Parse error on line "+(U+1)+`: `+k.showPosition()+` Expecting `+j.join(", ")+", got '"+(this.terminals_[D]||D)+"'":et="Parse error on line "+(U+1)+": Unexpected "+(D==xt?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(et,{text:k.match,token:this.terminals_[D]||D,line:k.yylineno,loc:tt,expected:j})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+D);switch(v[0]){case 1:u.push(D),b.push(k.yytext),a.push(k.yylloc),u.push(v[1]),D=null,gt=k.yyleng,x=k.yytext,U=k.yylineno,tt=k.yylloc;break;case 2:if(M=this.productions_[v[1]][1],O.$=b[b.length-M],O._$={first_line:a[a.length-(M||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(M||1)].first_column,last_column:a[a.length-1].last_column},Wt&&(O._$.range=[a[a.length-(M||1)].range[0],a[a.length-1].range[1]]),it=this.performAction.apply(O,[x,gt,U,B.yy,v[1],b,a].concat(Bt)),typeof it<"u")return it;M&&(u=u.slice(0,-1*M*2),b=b.slice(0,-1*M),a=a.slice(0,-1*M)),u.push(this.productions_[v[1]][0]),b.push(O.$),a.push(O._$),dt=F[u[u.length-2]][u[u.length-1]],u.push(dt);break;case 3:return!0}}return!0}},It=function(){var V={EOF:1,parseError:function(l,u){if(this.yy.parser)this.yy.parser.parseError(l,u);else throw new Error(l)},setInput:function(r,l){return this.yy=l||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var l=r.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},unput:function(r){var l=r.length,u=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var g=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var b=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===g.length?this.yylloc.first_column:0)+g[g.length-u.length].length-u[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[b[0],b[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},less:function(r){this.unput(this.match.slice(r))},pastInput:function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/deploy/server/notebase/index.html b/deploy/server/notebase/index.html index e86de9eb7c..053e224d21 100644 --- a/deploy/server/notebase/index.html +++ b/deploy/server/notebase/index.html @@ -7,7 +7,7 @@ - + diff --git a/starter/src/main/java/com/bytedesk/starter/controller/PageRouteController.java b/starter/src/main/java/com/bytedesk/starter/controller/PageRouteController.java index a2a9a8bda4..04bb3d25cd 100644 --- a/starter/src/main/java/com/bytedesk/starter/controller/PageRouteController.java +++ b/starter/src/main/java/com/bytedesk/starter/controller/PageRouteController.java @@ -39,10 +39,10 @@ public class PageRouteController { */ @GetMapping({ "/", "/home" }) public String home(Model model) { - // model.addAttribute("title", "微语首页"); - // model.addAttribute("chatUrl", "/chat/home"); - // return "home"; - return "quanjing"; + model.addAttribute("title", "微语"); + model.addAttribute("chatUrl", "/chat/home"); + return "home"; + // return "quanjing"; } /** diff --git a/starter/src/main/resources/static/admin/5035.20860de9.async.js b/starter/src/main/resources/static/admin/1514.8a5b8a6d.async.js similarity index 60% rename from starter/src/main/resources/static/admin/5035.20860de9.async.js rename to starter/src/main/resources/static/admin/1514.8a5b8a6d.async.js index e7fe27c06b..03ab33e8fd 100644 --- a/starter/src/main/resources/static/admin/5035.20860de9.async.js +++ b/starter/src/main/resources/static/admin/1514.8a5b8a6d.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[5035],{2523:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z"}}]},name:"android",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)},48006:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"}}]},name:"apple",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)},34600:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)},54800:function(c,e,t){var n=t(11757),a=t(44194),r=t(26033),o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r.Z}))},f=a.forwardRef(i);e.Z=f},61107:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)},69079:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M511.6 76.3C264.3 76.2 64 276.4 64 523.5 64 718.9 189.3 885 363.8 946c23.5 5.9 19.9-10.8 19.9-22.2v-77.5c-135.7 15.9-141.2-73.9-150.3-88.9C215 726 171.5 718 184.5 703c30.9-15.9 62.4 4 98.9 57.9 26.4 39.1 77.9 32.5 104 26 5.7-23.5 17.9-44.5 34.7-60.8-140.6-25.2-199.2-111-199.2-213 0-49.5 16.3-95 48.3-131.7-20.4-60.5 1.9-112.3 4.9-120 58.1-5.2 118.5 41.6 123.2 45.3 33-8.9 70.7-13.6 112.9-13.6 42.4 0 80.2 4.9 113.5 13.9 11.3-8.6 67.3-48.8 121.3-43.9 2.9 7.7 24.7 58.3 5.5 118 32.4 36.8 48.9 82.7 48.9 132.3 0 102.2-59 188.1-200 212.9a127.5 127.5 0 0138.1 91v112.5c.8 9 0 17.9 15 17.9 177.1-59.7 304.6-227 304.6-424.1 0-247.2-200.4-447.3-447.5-447.3z"}}]},name:"github",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)},40795:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)},15892:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)},83337:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z"}}]},name:"wechat",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)}}]); \ No newline at end of file +"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[1514],{2523:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M448.3 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32-13.4 32-31.9.1-18.4-13.4-31.9-32-31.9zm393.9 96.4c-13.8-13.8-32.7-21.5-53.2-21.5-3.9 0-7.4.4-10.7 1v-1h-3.6c-5.5-30.6-18.6-60.5-38.1-87.4-18.7-25.7-43-47.9-70.8-64.9l25.1-35.8v-3.3c0-.8.4-2.3.7-3.8.6-2.4 1.4-5.5 1.4-8.9 0-18.5-13.5-31.9-32-31.9-9.8 0-19.5 5.7-25.9 15.4l-29.3 42.1c-30-9.8-62.4-15-93.8-15-31.3 0-63.7 5.2-93.8 15L389 79.4c-6.6-9.6-16.1-15.4-26-15.4-18.6 0-32 13.4-32 31.9 0 6.2 2.5 12.8 6.7 17.4l22.6 32.3c-28.7 17-53.5 39.4-72.2 65.1-19.4 26.9-32 56.8-36.7 87.4h-5.5v1c-3.2-.6-6.7-1-10.7-1-20.3 0-39.2 7.5-53.1 21.3-13.8 13.8-21.5 32.6-21.5 53v235c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 3.9 0 7.4-.4 10.7-1v93.5c0 29.2 23.9 53.1 53.2 53.1H331v58.3c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-58.2H544v58.1c0 20.3 7.5 39.1 21.4 52.9 13.8 13.8 32.8 21.5 53.2 21.5 20.4 0 39.2-7.5 53.1-21.6 13.8-13.8 21.5-32.6 21.5-53v-58.2h31.9c29.3 0 53.2-23.8 53.2-53.1v-91.4c3.2.6 6.7 1 10.7 1 20.3 0 39.2-7.5 53.1-21.3 13.8-13.8 21.5-32.6 21.5-53v-235c-.1-20.3-7.6-39-21.4-52.9zM246 609.6c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zm131.1-396.8c37.5-27.3 85.3-42.3 135-42.3s97.5 15.1 135 42.5c32.4 23.7 54.2 54.2 62.7 87.5H314.4c8.5-33.4 30.5-64 62.7-87.7zm39.3 674.7c-.6 5.6-4.4 8.7-10.5 8.7-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1zm202.3 8.7c-6.8 0-10.7-3.8-10.7-10.6v-58.2h21.2v60.1c-.6 5.6-4.3 8.7-10.5 8.7zm95.8-132.6H309.9V364h404.6v399.6zm85.2-154c0 6.8-3.9 10.6-10.7 10.6-6.8 0-10.7-3.8-10.7-10.6V374.5c0-6.8 3.9-10.6 10.7-10.6 6.8 0 10.7 3.8 10.7 10.6v235.1zM576.1 225.2c-18.6 0-32 13.4-32 31.9s13.5 31.9 32 31.9c18.6 0 32.1-13.4 32.1-32-.1-18.6-13.4-31.8-32.1-31.8z"}}]},name:"android",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)},48006:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-10.6 267c-14.3 19.9-28.7 35.6-41.9 45.7-10.5 8-18.6 11.4-24 11.6-9-.1-17.7-2.3-34.7-8.8-1.2-.5-2.5-1-4.2-1.6l-4.4-1.7c-17.4-6.7-27.8-10.3-41.1-13.8-18.6-4.8-37.1-7.4-56.9-7.4-20.2 0-39.2 2.5-58.1 7.2-13.9 3.5-25.6 7.4-42.7 13.8-.7.3-8.1 3.1-10.2 3.9-3.5 1.3-6.2 2.3-8.7 3.2-10.4 3.6-17 5.1-22.9 5.2-.7 0-1.3-.1-1.8-.2-1.1-.2-2.5-.6-4.1-1.3-4.5-1.8-9.9-5.1-16-9.8-14-10.9-29.4-28-45.1-49.9-27.5-38.6-53.5-89.8-66-125.7-15.4-44.8-23-87.7-23-128.6 0-60.2 17.8-106 48.4-137.1 26.3-26.6 61.7-41.5 97.8-42.3 5.9.1 14.5 1.5 25.4 4.5 8.6 2.3 18 5.4 30.7 9.9 3.8 1.4 16.9 6.1 18.5 6.7 7.7 2.8 13.5 4.8 19.2 6.6 18.2 5.8 32.3 9 47.6 9 15.5 0 28.8-3.3 47.7-9.8 7.1-2.4 32.9-12 37.5-13.6 25.6-9.1 44.5-14 60.8-15.2 4.8-.4 9.1-.4 13.2-.1 22.7 1.8 42.1 6.3 58.6 13.8-37.6 43.4-57 96.5-56.9 158.4-.3 14.7.9 31.7 5.1 51.8 6.4 30.5 18.6 60.7 37.9 89 14.7 21.5 32.9 40.9 54.7 57.8-11.5 23.7-25.6 48.2-40.4 68.8zm-94.5-572c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"}}]},name:"apple",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)},34600:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 144H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H212V212h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V160c0-8.8-7.2-16-16-16zm-52 268H612V212h200v200zM464 544H160c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H212V612h200v200zm452-268H560c-8.8 0-16 7.2-16 16v304c0 8.8 7.2 16 16 16h304c8.8 0 16-7.2 16-16V560c0-8.8-7.2-16-16-16zm-52 268H612V612h200v200z"}}]},name:"appstore",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)},54800:function(c,e,t){var n=t(11757),a=t(44194),r=t(26033),o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r.Z}))},f=a.forwardRef(i);e.Z=f},61107:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)},40795:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)},15892:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)},83337:function(c,e,t){t.d(e,{Z:function(){return f}});var n=t(11757),a=t(44194),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M690.1 377.4c5.9 0 11.8.2 17.6.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6a21.5 21.5 0 019.1 17.6c0 2.4-.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-.1 17.8-.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8zm-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1zm-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1zm586.8 415.6c56.9-41.2 93.2-102 93.2-169.7 0-124-120.8-224.5-269.9-224.5-149 0-269.9 100.5-269.9 224.5S540.9 847.5 690 847.5c30.8 0 60.6-4.4 88.1-12.3 2.6-.8 5.2-1.2 7.9-1.2 5.2 0 9.9 1.6 14.3 4.1l59.1 34c1.7 1 3.3 1.7 5.2 1.7a9 9 0 006.4-2.6 9 9 0 002.6-6.4c0-2.2-.9-4.4-1.4-6.6-.3-1.2-7.6-28.3-12.2-45.3-.5-1.9-.9-3.8-.9-5.7.1-5.9 3.1-11.2 7.6-14.5zM600.2 587.2c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9c0 19.8-16.2 35.9-36 35.9zm179.9 0c-19.9 0-36-16.1-36-35.9 0-19.8 16.1-35.9 36-35.9s36 16.1 36 35.9a36.08 36.08 0 01-36 35.9z"}}]},name:"wechat",theme:"outlined"},o=t(54183),i=function(c,e){return a.createElement(o.Z,(0,n.Z)({},c,{ref:e,icon:r}))};var f=a.forwardRef(i)}}]); \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/1822.c16f3264.async.js b/starter/src/main/resources/static/admin/1822.c16f3264.async.js deleted file mode 100644 index 751e5a4abd..0000000000 --- a/starter/src/main/resources/static/admin/1822.c16f3264.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[1822],{26978:function(e,n,r){r.d(n,{Z:function(){return i}});var t=r(11757),o=r(44194),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},a=r(54183),c=function(e,n){return o.createElement(a.Z,(0,t.Z)({},e,{ref:n,icon:l}))};var i=o.forwardRef(c)},40795:function(e,n,r){r.d(n,{Z:function(){return i}});var t=r(11757),o=r(44194),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"},a=r(54183),c=function(e,n){return o.createElement(a.Z,(0,t.Z)({},e,{ref:n,icon:l}))};var i=o.forwardRef(c)},58087:function(e,n,r){var t=r(11757),o=r(44194),l=r(15323),a=r(54183),c=function(e,n){return o.createElement(a.Z,(0,t.Z)({},e,{ref:n,icon:l.Z}))},i=o.forwardRef(c);n.Z=i},59908:function(e,n,r){r.d(n,{Z:function(){return i}});var t=r(11757),o=r(44194),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},a=r(54183),c=function(e,n){return o.createElement(a.Z,(0,t.Z)({},e,{ref:n,icon:l}))};var i=o.forwardRef(c)},59129:function(e,n,r){var t=r(17082),o=r(72298),l=r(48921),a=r(73457),c=r(42601),i=r(57178),s=r(52288),u=r(75365),f=r(44194),p=r(69088),d=r(31549),v=["rules","name","phoneName","fieldProps","onTiming","captchaTextRender","captchaProps"],Z=f.forwardRef((function(e,n){var r=i.Z.useFormInstance(),p=(0,f.useState)(e.countDown||60),Z=(0,c.Z)(p,2),h=Z[0],m=Z[1],x=(0,f.useState)(!1),g=(0,c.Z)(x,2),P=g[0],y=g[1],w=(0,f.useState)(),b=(0,c.Z)(w,2),C=b[0],j=b[1],T=(e.rules,e.name,e.phoneName),O=e.fieldProps,F=e.onTiming,k=e.captchaTextRender,R=void 0===k?function(e,n){return e?"".concat(n," 秒后重新获取"):"获取验证码"}:k,I=e.captchaProps,V=(0,a.Z)(e,v),E=function(){var e=(0,l.Z)((0,o.Z)().mark((function e(n){return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,j(!0),e.next=4,V.onGetCaptcha(n);case 4:j(!1),y(!0),e.next=13;break;case 8:e.prev=8,e.t0=e.catch(0),y(!1),j(!1),console.log(e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(n){return e.apply(this,arguments)}}();return(0,f.useImperativeHandle)(n,(function(){return{startTiming:function(){return y(!0)},endTiming:function(){return y(!1)}}})),(0,f.useEffect)((function(){var n=0,r=e.countDown;return P&&(n=window.setInterval((function(){m((function(e){return e<=1?(y(!1),clearInterval(n),r||60):e-1}))}),1e3)),function(){return clearInterval(n)}}),[P]),(0,f.useEffect)((function(){F&&F(h)}),[h,F]),(0,d.jsxs)("div",{style:(0,t.Z)((0,t.Z)({},null==O?void 0:O.style),{},{display:"flex",alignItems:"center"}),ref:n,children:[(0,d.jsx)(s.Z,(0,t.Z)((0,t.Z)({},O),{},{style:(0,t.Z)({flex:1,transition:"width .3s",marginRight:8},null==O?void 0:O.style)})),(0,d.jsx)(u.ZP,(0,t.Z)((0,t.Z)({style:{display:"block"},disabled:P,loading:C},I),{},{onClick:(0,l.Z)((0,o.Z)().mark((function e(){var n;return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!T){e.next=9;break}return e.next=4,r.validateFields([T].flat(1));case 4:return n=r.getFieldValue([T].flat(1)),e.next=7,E(n);case 7:e.next=11;break;case 9:return e.next=11,E("");case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(0),console.log(e.t0);case 16:case"end":return e.stop()}}),e,null,[[0,13]])}))),children:R(P,h)}))]})})),h=(0,p.G)(Z);n.Z=h},4499:function(e,n,r){var t=r(42601),o=r(17082),l=r(73457),a=r(46015),c=r(57178),i=r(98036),s=r(36490),u=r(44194),f=r(35175),p=r(31549),d=["fieldProps","proFieldProps"],v=["fieldProps","proFieldProps"],Z="text",h=function(e){var n=(0,a.Z)(e.open||!1,{value:e.open,onChange:e.onOpenChange}),r=(0,t.Z)(n,2),l=r[0],s=r[1];return(0,p.jsx)(c.Z.Item,{shouldUpdate:!0,noStyle:!0,children:function(n){var r,t=n.getFieldValue(e.name||[]);return(0,p.jsx)(i.Z,(0,o.Z)((0,o.Z)({getPopupContainer:function(e){return e&&e.parentNode?e.parentNode:e},onOpenChange:function(e){return s(e)},content:(0,p.jsxs)("div",{style:{padding:"4px 0"},children:[null===(r=e.statusRender)||void 0===r?void 0:r.call(e,t),e.strengthText?(0,p.jsx)("div",{style:{marginTop:10},children:(0,p.jsx)("span",{children:e.strengthText})}):null]}),overlayStyle:{width:240},placement:"rightTop"},e.popoverProps),{},{open:l,children:e.children}))}})},m=function(e){var n=e.fieldProps,r=e.proFieldProps,t=(0,l.Z)(e,d);return(0,p.jsx)(f.Z,(0,o.Z)({valueType:Z,fieldProps:n,filedConfig:{valueType:Z},proFieldProps:r},t))};m.Password=function(e){var n=e.fieldProps,r=e.proFieldProps,a=(0,l.Z)(e,v),c=(0,u.useState)(!1),i=(0,t.Z)(c,2),d=i[0],m=i[1];return null!=n&&n.statusRender&&a.name?(0,p.jsx)(h,{name:a.name,statusRender:null==n?void 0:n.statusRender,popoverProps:null==n?void 0:n.popoverProps,strengthText:null==n?void 0:n.strengthText,open:d,onOpenChange:m,children:(0,p.jsx)("div",{children:(0,p.jsx)(f.Z,(0,o.Z)({valueType:"password",fieldProps:(0,o.Z)((0,o.Z)({},(0,s.Z)(n,["statusRender","popoverProps","strengthText"])),{},{onBlur:function(e){var r;null==n||null===(r=n.onBlur)||void 0===r||r.call(n,e),m(!1)},onClick:function(e){var r;null==n||null===(r=n.onClick)||void 0===r||r.call(n,e),m(!0)}}),proFieldProps:r,filedConfig:{valueType:Z}},a))})}):(0,p.jsx)(f.Z,(0,o.Z)({valueType:"password",fieldProps:n,proFieldProps:r,filedConfig:{valueType:Z}},a))},m.displayName="ProFormComponent",n.Z=m},32350:function(e,n,r){var t=r(17082),o=r(73457),l=r(44194),a=r(35175),c=r(31549),i=["fieldProps","proFieldProps"],s=function(e,n){var r=e.fieldProps,l=e.proFieldProps,s=(0,o.Z)(e,i);return(0,c.jsx)(a.Z,(0,t.Z)({ref:n,valueType:"textarea",fieldProps:r,proFieldProps:l},s))};n.Z=l.forwardRef(s)},53530:function(e,n,r){r.d(n,{Z:function(){return y}});var t=r(18960),o=r(31695),l=r(27710),a=r(44194),c=r(51865),i=r.n(c),s=r(24255),u=r(43037),f=r(37167),p=r(30829),d=r(78660),v=r(59348),Z=r(6750),h=function(e,n){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&n.indexOf(t)<0&&(r[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(t=Object.getOwnPropertySymbols(e);o{const{prefixCls:n,className:r,closeIcon:t,closable:o,type:l,title:c,children:u,footer:m}=e,x=h(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:g}=a.useContext(f.E_),P=g(),y=n||g("modal"),w=(0,p.Z)(P),[b,C,j]=(0,Z.ZP)(y,w),T=`${y}-confirm`;let O={};return O=l?{closable:null!=o&&o,title:"",footer:"",children:a.createElement(d.O,Object.assign({},e,{prefixCls:y,confirmPrefixCls:T,rootPrefixCls:P,content:u}))}:{closable:null==o||o,title:c,footer:null!==m&&a.createElement(v.$,Object.assign({},e)),children:u},b(a.createElement(s.s,Object.assign({prefixCls:y,className:i()(C,`${y}-pure-panel`,l&&T,l&&`${T}-${l}`,r,j,w)},x,{closeIcon:(0,v.b)(y,t),closable:o},O)))})),x=r(75807);function g(e){return(0,t.ZP)((0,t.uW)(e))}const P=l.Z;P.useModal=x.Z,P.info=function(e){return(0,t.ZP)((0,t.cw)(e))},P.success=function(e){return(0,t.ZP)((0,t.vq)(e))},P.error=function(e){return(0,t.ZP)((0,t.AQ)(e))},P.warning=g,P.warn=g,P.confirm=function(e){return(0,t.ZP)((0,t.Au)(e))},P.destroyAll=function(){for(;o.Z.length;){const e=o.Z.pop();e&&e()}},P.config=t.ai,P._InternalPanelDoNotUseOrYouWillBeFired=m;var y=P}}]); \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/4532.20aad524.async.js b/starter/src/main/resources/static/admin/4532.20aad524.async.js deleted file mode 100644 index 1f1bcfcad0..0000000000 --- a/starter/src/main/resources/static/admin/4532.20aad524.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[4532],{93158:function(e,n){n.Z=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let n=1;n{const o=t[n];void 0!==o&&(e[n]=o)}))}return e}},53530:function(e,n,t){t.d(n,{Z:function(){return S}});var o=t(18960),i=t(31695),r=t(27710),l=t(44194),a=t(51865),c=t.n(a),s=t(24255),m=t(43037),u=t(37167),d=t(30829),p=t(78660),g=t(59348),b=t(6750),v=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i{const{prefixCls:n,className:t,closeIcon:o,closable:i,type:r,title:a,children:m,footer:f}=e,h=v(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:$}=l.useContext(u.E_),C=$(),S=n||$("modal"),k=(0,d.Z)(C),[y,x,E]=(0,b.ZP)(S,k),N=`${S}-confirm`;let z={};return z=r?{closable:null!=i&&i,title:"",footer:"",children:l.createElement(p.O,Object.assign({},e,{prefixCls:S,confirmPrefixCls:N,rootPrefixCls:C,content:m}))}:{closable:null==i||i,title:a,footer:null!==f&&l.createElement(g.$,Object.assign({},e)),children:m},y(l.createElement(s.s,Object.assign({prefixCls:S,className:c()(x,`${S}-pure-panel`,r&&N,r&&`${N}-${r}`,t,E,k)},h,{closeIcon:(0,g.b)(S,o),closable:i},z)))})),h=t(75807);function $(e){return(0,o.ZP)((0,o.uW)(e))}const C=r.Z;C.useModal=h.Z,C.info=function(e){return(0,o.ZP)((0,o.cw)(e))},C.success=function(e){return(0,o.ZP)((0,o.vq)(e))},C.error=function(e){return(0,o.ZP)((0,o.AQ)(e))},C.warning=$,C.warn=$,C.confirm=function(e){return(0,o.ZP)((0,o.Au)(e))},C.destroyAll=function(){for(;i.Z.length;){const e=i.Z.pop();e&&e()}},C.config=o.ai,C._InternalPanelDoNotUseOrYouWillBeFired=f;var S=C},65837:function(e,n,t){t.d(n,{Z:function(){return ae}});var o=t(44194),i=t(11757),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},l=t(54183),a=function(e,n){return o.createElement(l.Z,(0,i.Z)({},e,{ref:n,icon:r}))};var c=o.forwardRef(a),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},m=function(e,n){return o.createElement(l.Z,(0,i.Z)({},e,{ref:n,icon:s}))};var u=o.forwardRef(m),d=t(81121),p=t(46193),g=t(51865),b=t.n(g),v=t(20173),f=t(6918),h=t(17082),$=t(42601),C=t(46015),S=t(13233),k=t(67762),y=(t(32970),t(37561)),x=[10,20,50,100];var E=function(e){var n=e.pageSizeOptions,t=void 0===n?x:n,i=e.locale,r=e.changeSize,l=e.pageSize,a=e.goButton,c=e.quickGo,s=e.rootPrefixCls,m=e.disabled,u=e.buildOptionText,d=e.showSizeChanger,p=e.sizeChangerRender,g=o.useState(""),b=(0,$.Z)(g,2),v=b[0],f=b[1],h=function(){return!v||Number.isNaN(v)?void 0:Number(v)},C="function"==typeof u?u:function(e){return"".concat(e," ").concat(i.items_per_page)},k=function(e){""!==v&&(e.keyCode!==S.Z.ENTER&&"click"!==e.type||(f(""),null==c||c(h())))},y="".concat(s,"-options");if(!d&&!c)return null;var E=null,N=null,z=null;return d&&p&&(E=p({disabled:m,size:l,onSizeChange:function(e){null==r||r(Number(e))},"aria-label":i.page_size,className:"".concat(y,"-size-changer"),options:(t.some((function(e){return e.toString()===l.toString()}))?t:t.concat([l]).sort((function(e,n){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(n))?0:Number(n))}))).map((function(e){return{label:C(e),value:e}}))})),c&&(a&&(z="boolean"==typeof a?o.createElement("button",{type:"button",onClick:k,onKeyUp:k,disabled:m,className:"".concat(y,"-quick-jumper-button")},i.jump_to_confirm):o.createElement("span",{onClick:k,onKeyUp:k},a)),N=o.createElement("div",{className:"".concat(y,"-quick-jumper")},i.jump_to,o.createElement("input",{disabled:m,type:"text",value:v,onChange:function(e){f(e.target.value)},onKeyUp:k,onBlur:function(e){a||""===v||(f(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(s,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(s,"-item"))>=0)||null==c||c(h()))},"aria-label":i.page}),i.page,z)),o.createElement("li",{className:y},E,N)};var N=function(e){var n,t=e.rootPrefixCls,i=e.page,r=e.active,l=e.className,a=e.showTitle,c=e.onClick,s=e.onKeyPress,m=e.itemRender,u="".concat(t,"-item"),d=b()(u,"".concat(u,"-").concat(i),(n={},(0,v.Z)(n,"".concat(u,"-active"),r),(0,v.Z)(n,"".concat(u,"-disabled"),!i),n),l),p=m(i,"page",o.createElement("a",{rel:"nofollow"},i));return p?o.createElement("li",{title:a?String(i):null,className:d,onClick:function(){c(i)},onKeyDown:function(e){s(e,c,i)},tabIndex:0},p):null},z=function(e,n,t){return t};function j(){}function O(e){var n=Number(e);return"number"==typeof n&&!Number.isNaN(n)&&isFinite(n)&&Math.floor(n)===n}function Z(e,n,t){var o=void 0===e?n:e;return Math.floor((t-1)/o)+1}var w=function(e){var n,t=e.prefixCls,r=void 0===t?"rc-pagination":t,l=e.selectPrefixCls,a=void 0===l?"rc-select":l,c=e.className,s=e.current,m=e.defaultCurrent,u=void 0===m?1:m,d=e.total,p=void 0===d?0:d,g=e.pageSize,x=e.defaultPageSize,w=void 0===x?10:x,B=e.onChange,I=void 0===B?j:B,M=e.hideOnSinglePage,P=e.align,T=e.showPrevNextJumpers,D=void 0===T||T,H=e.showQuickJumper,A=e.showLessItems,R=e.showTitle,W=void 0===R||R,_=e.onShowSizeChange,L=void 0===_?j:_,q=e.locale,X=void 0===q?y.Z:q,K=e.style,U=e.totalBoundaryShowSizeChanger,F=void 0===U?50:U,G=e.disabled,Q=e.simple,J=e.showTotal,V=e.showSizeChanger,Y=void 0===V?p>F:V,ee=e.sizeChangerRender,ne=e.pageSizeOptions,te=e.itemRender,oe=void 0===te?z:te,ie=e.jumpPrevIcon,re=e.jumpNextIcon,le=e.prevIcon,ae=e.nextIcon,ce=o.useRef(null),se=(0,C.Z)(10,{value:g,defaultValue:w}),me=(0,$.Z)(se,2),ue=me[0],de=me[1],pe=(0,C.Z)(1,{value:s,defaultValue:u,postState:function(e){return Math.max(1,Math.min(e,Z(void 0,ue,p)))}}),ge=(0,$.Z)(pe,2),be=ge[0],ve=ge[1],fe=o.useState(be),he=(0,$.Z)(fe,2),$e=he[0],Ce=he[1];(0,o.useEffect)((function(){Ce(be)}),[be]);var Se=Math.max(1,be-(A?3:5)),ke=Math.min(Z(void 0,ue,p),be+(A?3:5));function ye(n,t){var i=n||o.createElement("button",{type:"button","aria-label":t,className:"".concat(r,"-item-link")});return"function"==typeof n&&(i=o.createElement(n,(0,h.Z)({},e))),i}function xe(e){var n=e.target.value,t=Z(void 0,ue,p);return""===n?n:Number.isNaN(Number(n))?$e:n>=t?t:Number(n)}var Ee=p>ue&&H;function Ne(e){var n=xe(e);switch(n!==$e&&Ce(n),e.keyCode){case S.Z.ENTER:ze(n);break;case S.Z.UP:ze(n-1);break;case S.Z.DOWN:ze(n+1)}}function ze(e){if(function(e){return O(e)&&e!==be&&O(p)&&p>0}(e)&&!G){var n=Z(void 0,ue,p),t=e;return e>n?t=n:e<1&&(t=1),t!==$e&&Ce(t),ve(t),null==I||I(t,ue),t}return be}var je=be>1,Oe=be2?t-2:0),i=2;ip?p:be*ue])),Ae=null,Re=Z(void 0,ue,p);if(M&&p<=ue)return null;var We=[],_e={rootPrefixCls:r,onClick:ze,onKeyPress:Me,showTitle:W,itemRender:oe,page:-1},Le=be-1>0?be-1:0,qe=be+1=2*Ge&&3!==be&&(We[0]=o.cloneElement(We[0],{className:b()("".concat(r,"-item-after-jump-prev"),We[0].props.className)}),We.unshift(Te)),Re-be>=2*Ge&&be!==Re-2){var rn=We[We.length-1];We[We.length-1]=o.cloneElement(rn,{className:b()("".concat(r,"-item-before-jump-next"),rn.props.className)}),We.push(Ae)}1!==nn&&We.unshift(o.createElement(N,(0,i.Z)({},_e,{key:1,page:1}))),tn!==Re&&We.push(o.createElement(N,(0,i.Z)({},_e,{key:Re,page:Re})))}var ln=function(e){var n=oe(e,"prev",ye(le,"prev page"));return o.isValidElement(n)?o.cloneElement(n,{disabled:!je}):n}(Le);if(ln){var an=!je||!Re;ln=o.createElement("li",{title:W?X.prev_page:null,onClick:Ze,tabIndex:an?null:0,onKeyDown:function(e){Me(e,Ze)},className:b()("".concat(r,"-prev"),(0,v.Z)({},"".concat(r,"-disabled"),an)),"aria-disabled":an},ln)}var cn,sn,mn=function(e){var n=oe(e,"next",ye(ae,"next page"));return o.isValidElement(n)?o.cloneElement(n,{disabled:!Oe}):n}(qe);mn&&(Q?(cn=!Oe,sn=je?0:null):sn=(cn=!Oe||!Re)?null:0,mn=o.createElement("li",{title:W?X.next_page:null,onClick:we,tabIndex:sn,onKeyDown:function(e){Me(e,we)},className:b()("".concat(r,"-next"),(0,v.Z)({},"".concat(r,"-disabled"),cn)),"aria-disabled":cn},mn));var un=b()(r,c,(n={},(0,v.Z)(n,"".concat(r,"-start"),"start"===P),(0,v.Z)(n,"".concat(r,"-center"),"center"===P),(0,v.Z)(n,"".concat(r,"-end"),"end"===P),(0,v.Z)(n,"".concat(r,"-simple"),Q),(0,v.Z)(n,"".concat(r,"-disabled"),G),n));return o.createElement("ul",(0,i.Z)({className:un,style:K,ref:ce},De),He,ln,Q?Fe:We,mn,o.createElement(E,{locale:X,rootPrefixCls:r,disabled:G,selectPrefixCls:a,changeSize:function(e){var n=Z(e,ue,p),t=be>n&&0!==n?n:be;de(e),Ce(t),null==L||L(be,e),ve(t),null==I||I(t,e)},pageSize:ue,pageSizeOptions:ne,quickGo:Ee?ze:null,goButton:Ue,showSizeChanger:Y,sizeChangerRender:ee}))},B=t(67876),I=t(37167),M=t(1273),P=t(61854),T=t(99103),D=t(44781),H=t(70566),A=t(47825),R=t(66098),W=t(97201),_=t(84343),L=t(88874),q=t(77167),X=t(65759);const K=e=>{const{componentCls:n}=e;return{[`${n}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${n}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${n}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${n}-disabled`]:{cursor:"not-allowed",[`${n}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${n}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${n}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${n}-simple-pager`]:{color:e.colorTextDisabled},[`${n}-jump-prev, ${n}-jump-next`]:{[`${n}-item-link-icon`]:{opacity:0},[`${n}-item-ellipsis`]:{opacity:1}}},[`&${n}-simple`]:{[`${n}-prev, ${n}-next`]:{[`&${n}-disabled ${n}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},U=e=>{const{componentCls:n}=e;return{[`&${n}-mini ${n}-total-text, &${n}-mini ${n}-simple-pager`]:{height:e.itemSizeSM,lineHeight:(0,A.bf)(e.itemSizeSM)},[`&${n}-mini ${n}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,A.bf)(e.calc(e.itemSizeSM).sub(2).equal())},[`&${n}-mini:not(${n}-disabled) ${n}-item:not(${n}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${n}-mini ${n}-prev, &${n}-mini ${n}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,A.bf)(e.itemSizeSM)},[`&${n}-mini:not(${n}-disabled)`]:{[`${n}-prev, ${n}-next`]:{[`&:hover ${n}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${n}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${n}-disabled:hover ${n}-item-link`]:{backgroundColor:"transparent"}}},[`\n &${n}-mini ${n}-prev ${n}-item-link,\n &${n}-mini ${n}-next ${n}-item-link\n `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:(0,A.bf)(e.itemSizeSM)}},[`&${n}-mini ${n}-jump-prev, &${n}-mini ${n}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,A.bf)(e.itemSizeSM)},[`&${n}-mini ${n}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,A.bf)(e.itemSizeSM),input:Object.assign(Object.assign({},(0,R.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},F=e=>{const{componentCls:n}=e;return{[`\n &${n}-simple ${n}-prev,\n &${n}-simple ${n}-next\n `]:{height:e.itemSizeSM,lineHeight:(0,A.bf)(e.itemSizeSM),verticalAlign:"top",[`${n}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:(0,A.bf)(e.itemSizeSM)}}},[`&${n}-simple ${n}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,A.bf)(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${(0,A.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${(0,A.bf)(e.inputOutlineOffset)} 0 ${(0,A.bf)(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},G=e=>{const{componentCls:n}=e;return{[`${n}-jump-prev, ${n}-jump-next`]:{outline:0,[`${n}-item-container`]:{position:"relative",[`${n}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${n}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${n}-item-link-icon`]:{opacity:1},[`${n}-item-ellipsis`]:{opacity:0}}},[`\n ${n}-prev,\n ${n}-jump-prev,\n ${n}-jump-next\n `]:{marginInlineEnd:e.marginXS},[`\n ${n}-prev,\n ${n}-next,\n ${n}-jump-prev,\n ${n}-jump-next\n `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:(0,A.bf)(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${n}-prev, ${n}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${n}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,A.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${n}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${n}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${n}-disabled:hover`]:{[`${n}-item-link`]:{backgroundColor:"transparent"}}},[`${n}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${n}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,A.bf)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,R.ik)(e)),(0,_.$U)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},(0,_.Xy)(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},Q=e=>{const{componentCls:n}=e;return{[`${n}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,A.bf)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${(0,A.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,A.bf)(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${n}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},J=e=>{const{componentCls:n}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,L.Wf)(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${n}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:(0,A.bf)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),Q(e)),G(e)),F(e)),U(e)),K(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${n}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${n}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},V=e=>{const{componentCls:n}=e;return{[`${n}:not(${n}-disabled)`]:{[`${n}-item`]:Object.assign({},(0,L.Qy)(e)),[`${n}-jump-prev, ${n}-jump-next`]:{"&:focus-visible":Object.assign({[`${n}-item-link-icon`]:{opacity:1},[`${n}-item-ellipsis`]:{opacity:0}},(0,L.oN)(e))},[`${n}-prev, ${n}-next`]:{[`&:focus-visible ${n}-item-link`]:Object.assign({},(0,L.oN)(e))}}}},Y=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},(0,W.T)(e)),ee=e=>(0,q.IX)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,W.e)(e));var ne=(0,X.I$)("Pagination",(e=>{const n=ee(e);return[J(n),V(n)]}),Y);const te=e=>{const{componentCls:n}=e;return{[`${n}${n}-bordered${n}-disabled:not(${n}-mini)`]:{"&, &:hover":{[`${n}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${n}-item-link`]:{borderColor:e.colorBorder}},[`${n}-item, ${n}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${n}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${n}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${n}-prev, ${n}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${n}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${n}${n}-bordered:not(${n}-mini)`]:{[`${n}-prev, ${n}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${n}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${n}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${n}-disabled`]:{[`${n}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${n}-item`]:{backgroundColor:e.itemBg,border:`${(0,A.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${n}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}};var oe=(0,X.bk)(["Pagination","bordered"],(e=>{const n=ee(e);return[te(n)]}),Y);function ie(e){return(0,o.useMemo)((()=>"boolean"==typeof e?[e,{}]:e&&"object"==typeof e?[!0,e]:[void 0,void 0]),[e])}var re=function(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i{const{align:n,prefixCls:t,selectPrefixCls:i,className:r,rootClassName:l,style:a,size:s,locale:m,responsive:g,showSizeChanger:v,selectComponentClass:f,pageSizeOptions:h}=e,$=re(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:C}=(0,P.Z)(g),[,S]=(0,H.ZP)(),{getPrefixCls:k,direction:y,pagination:x={}}=o.useContext(I.E_),E=k("pagination",t),[N,z,j]=ne(E),O=(0,M.Z)(s),Z="small"===O||!(!C||O||!g),[A]=(0,T.Z)("Pagination",B.Z),R=Object.assign(Object.assign({},A),m),[W,_]=ie(v),[L,q]=ie(x.showSizeChanger),X=null!=W?W:L,K=null!=_?_:q,U=f||D.Z,F=o.useMemo((()=>h?h.map((e=>Number(e))):void 0),[h]);const G=o.useMemo((()=>{const e=o.createElement("span",{className:`${E}-item-ellipsis`},"•••");return{prevIcon:o.createElement("button",{className:`${E}-item-link`,type:"button",tabIndex:-1},"rtl"===y?o.createElement(p.Z,null):o.createElement(d.Z,null)),nextIcon:o.createElement("button",{className:`${E}-item-link`,type:"button",tabIndex:-1},"rtl"===y?o.createElement(d.Z,null):o.createElement(p.Z,null)),jumpPrevIcon:o.createElement("a",{className:`${E}-item-link`},o.createElement("div",{className:`${E}-item-container`},"rtl"===y?o.createElement(u,{className:`${E}-item-link-icon`}):o.createElement(c,{className:`${E}-item-link-icon`}),e)),jumpNextIcon:o.createElement("a",{className:`${E}-item-link`},o.createElement("div",{className:`${E}-item-container`},"rtl"===y?o.createElement(c,{className:`${E}-item-link-icon`}):o.createElement(u,{className:`${E}-item-link-icon`}),e))}}),[y,E]),Q=k("select",i),J=b()({[`${E}-${n}`]:!!n,[`${E}-mini`]:Z,[`${E}-rtl`]:"rtl"===y,[`${E}-bordered`]:S.wireframe},null==x?void 0:x.className,r,l,z,j),V=Object.assign(Object.assign({},null==x?void 0:x.style),a);return N(o.createElement(o.Fragment,null,S.wireframe&&o.createElement(oe,{prefixCls:E}),o.createElement(w,Object.assign({},G,$,{style:V,prefixCls:E,selectPrefixCls:Q,className:J,locale:R,pageSizeOptions:F,showSizeChanger:X,sizeChangerRender:e=>{var n;const{disabled:t,size:i,onSizeChange:r,"aria-label":l,className:a,options:c}=e,{className:s,onChange:m}=K||{},u=null===(n=c.find((e=>String(e.value)===String(i))))||void 0===n?void 0:n.value;return o.createElement(U,Object.assign({disabled:t,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":l,options:c},K,{value:u,onChange:(e,n)=>{null==r||r(e),null==m||m(e,n)},size:Z?"small":"middle",className:b()(a,s)}))}}))))},ae=le}}]); \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/7186.1e337a49.async.js b/starter/src/main/resources/static/admin/7186.1e337a49.async.js new file mode 100644 index 0000000000..95cc9c3e51 --- /dev/null +++ b/starter/src/main/resources/static/admin/7186.1e337a49.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[7186],{93158:function(e,n){n.Z=function(){const e=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let n=1;n{const i=t[n];void 0!==i&&(e[n]=i)}))}return e}},65837:function(e,n,t){t.d(n,{Z:function(){return le}});var i=t(44194),o=t(11757),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},a=t(54183),l=function(e,n){return i.createElement(a.Z,(0,o.Z)({},e,{ref:n,icon:r}))};var c=i.forwardRef(l),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},m=function(e,n){return i.createElement(a.Z,(0,o.Z)({},e,{ref:n,icon:s}))};var d=i.forwardRef(m),u=t(81121),g=t(46193),p=t(51865),b=t.n(p),v=t(20173),h=t(6918),f=t(17082),$=t(42601),C=t(46015),S=t(13233),k=t(67762),y=(t(32970),t(37561)),x=[10,20,50,100];var E=function(e){var n=e.pageSizeOptions,t=void 0===n?x:n,o=e.locale,r=e.changeSize,a=e.pageSize,l=e.goButton,c=e.quickGo,s=e.rootPrefixCls,m=e.disabled,d=e.buildOptionText,u=e.showSizeChanger,g=e.sizeChangerRender,p=i.useState(""),b=(0,$.Z)(p,2),v=b[0],h=b[1],f=function(){return!v||Number.isNaN(v)?void 0:Number(v)},C="function"==typeof d?d:function(e){return"".concat(e," ").concat(o.items_per_page)},k=function(e){""!==v&&(e.keyCode!==S.Z.ENTER&&"click"!==e.type||(h(""),null==c||c(f())))},y="".concat(s,"-options");if(!u&&!c)return null;var E=null,N=null,z=null;return u&&g&&(E=g({disabled:m,size:a,onSizeChange:function(e){null==r||r(Number(e))},"aria-label":o.page_size,className:"".concat(y,"-size-changer"),options:(t.some((function(e){return e.toString()===a.toString()}))?t:t.concat([a]).sort((function(e,n){return(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(n))?0:Number(n))}))).map((function(e){return{label:C(e),value:e}}))})),c&&(l&&(z="boolean"==typeof l?i.createElement("button",{type:"button",onClick:k,onKeyUp:k,disabled:m,className:"".concat(y,"-quick-jumper-button")},o.jump_to_confirm):i.createElement("span",{onClick:k,onKeyUp:k},l)),N=i.createElement("div",{className:"".concat(y,"-quick-jumper")},o.jump_to,i.createElement("input",{disabled:m,type:"text",value:v,onChange:function(e){h(e.target.value)},onKeyUp:k,onBlur:function(e){l||""===v||(h(""),e.relatedTarget&&(e.relatedTarget.className.indexOf("".concat(s,"-item-link"))>=0||e.relatedTarget.className.indexOf("".concat(s,"-item"))>=0)||null==c||c(f()))},"aria-label":o.page}),o.page,z)),i.createElement("li",{className:y},E,N)};var N=function(e){var n,t=e.rootPrefixCls,o=e.page,r=e.active,a=e.className,l=e.showTitle,c=e.onClick,s=e.onKeyPress,m=e.itemRender,d="".concat(t,"-item"),u=b()(d,"".concat(d,"-").concat(o),(n={},(0,v.Z)(n,"".concat(d,"-active"),r),(0,v.Z)(n,"".concat(d,"-disabled"),!o),n),a),g=m(o,"page",i.createElement("a",{rel:"nofollow"},o));return g?i.createElement("li",{title:l?String(o):null,className:u,onClick:function(){c(o)},onKeyDown:function(e){s(e,c,o)},tabIndex:0},g):null},z=function(e,n,t){return t};function j(){}function B(e){var n=Number(e);return"number"==typeof n&&!Number.isNaN(n)&&isFinite(n)&&Math.floor(n)===n}function M(e,n,t){var i=void 0===e?n:e;return Math.floor((t-1)/i)+1}var O=function(e){var n,t=e.prefixCls,r=void 0===t?"rc-pagination":t,a=e.selectPrefixCls,l=void 0===a?"rc-select":a,c=e.className,s=e.current,m=e.defaultCurrent,d=void 0===m?1:m,u=e.total,g=void 0===u?0:u,p=e.pageSize,x=e.defaultPageSize,O=void 0===x?10:x,w=e.onChange,I=void 0===w?j:w,Z=e.hideOnSinglePage,P=e.align,T=e.showPrevNextJumpers,D=void 0===T||T,H=e.showQuickJumper,A=e.showLessItems,R=e.showTitle,W=void 0===R||R,L=e.onShowSizeChange,_=void 0===L?j:L,X=e.locale,q=void 0===X?y.Z:X,K=e.style,U=e.totalBoundaryShowSizeChanger,F=void 0===U?50:U,G=e.disabled,J=e.simple,Q=e.showTotal,V=e.showSizeChanger,Y=void 0===V?g>F:V,ee=e.sizeChangerRender,ne=e.pageSizeOptions,te=e.itemRender,ie=void 0===te?z:te,oe=e.jumpPrevIcon,re=e.jumpNextIcon,ae=e.prevIcon,le=e.nextIcon,ce=i.useRef(null),se=(0,C.Z)(10,{value:p,defaultValue:O}),me=(0,$.Z)(se,2),de=me[0],ue=me[1],ge=(0,C.Z)(1,{value:s,defaultValue:d,postState:function(e){return Math.max(1,Math.min(e,M(void 0,de,g)))}}),pe=(0,$.Z)(ge,2),be=pe[0],ve=pe[1],he=i.useState(be),fe=(0,$.Z)(he,2),$e=fe[0],Ce=fe[1];(0,i.useEffect)((function(){Ce(be)}),[be]);var Se=Math.max(1,be-(A?3:5)),ke=Math.min(M(void 0,de,g),be+(A?3:5));function ye(n,t){var o=n||i.createElement("button",{type:"button","aria-label":t,className:"".concat(r,"-item-link")});return"function"==typeof n&&(o=i.createElement(n,(0,f.Z)({},e))),o}function xe(e){var n=e.target.value,t=M(void 0,de,g);return""===n?n:Number.isNaN(Number(n))?$e:n>=t?t:Number(n)}var Ee=g>de&&H;function Ne(e){var n=xe(e);switch(n!==$e&&Ce(n),e.keyCode){case S.Z.ENTER:ze(n);break;case S.Z.UP:ze(n-1);break;case S.Z.DOWN:ze(n+1)}}function ze(e){if(function(e){return B(e)&&e!==be&&B(g)&&g>0}(e)&&!G){var n=M(void 0,de,g),t=e;return e>n?t=n:e<1&&(t=1),t!==$e&&Ce(t),ve(t),null==I||I(t,de),t}return be}var je=be>1,Be=be2?t-2:0),o=2;og?g:be*de])),Ae=null,Re=M(void 0,de,g);if(Z&&g<=de)return null;var We=[],Le={rootPrefixCls:r,onClick:ze,onKeyPress:Ze,showTitle:W,itemRender:ie,page:-1},_e=be-1>0?be-1:0,Xe=be+1=2*Ge&&3!==be&&(We[0]=i.cloneElement(We[0],{className:b()("".concat(r,"-item-after-jump-prev"),We[0].props.className)}),We.unshift(Te)),Re-be>=2*Ge&&be!==Re-2){var rn=We[We.length-1];We[We.length-1]=i.cloneElement(rn,{className:b()("".concat(r,"-item-before-jump-next"),rn.props.className)}),We.push(Ae)}1!==nn&&We.unshift(i.createElement(N,(0,o.Z)({},Le,{key:1,page:1}))),tn!==Re&&We.push(i.createElement(N,(0,o.Z)({},Le,{key:Re,page:Re})))}var an=function(e){var n=ie(e,"prev",ye(ae,"prev page"));return i.isValidElement(n)?i.cloneElement(n,{disabled:!je}):n}(_e);if(an){var ln=!je||!Re;an=i.createElement("li",{title:W?q.prev_page:null,onClick:Me,tabIndex:ln?null:0,onKeyDown:function(e){Ze(e,Me)},className:b()("".concat(r,"-prev"),(0,v.Z)({},"".concat(r,"-disabled"),ln)),"aria-disabled":ln},an)}var cn,sn,mn=function(e){var n=ie(e,"next",ye(le,"next page"));return i.isValidElement(n)?i.cloneElement(n,{disabled:!Be}):n}(Xe);mn&&(J?(cn=!Be,sn=je?0:null):sn=(cn=!Be||!Re)?null:0,mn=i.createElement("li",{title:W?q.next_page:null,onClick:Oe,tabIndex:sn,onKeyDown:function(e){Ze(e,Oe)},className:b()("".concat(r,"-next"),(0,v.Z)({},"".concat(r,"-disabled"),cn)),"aria-disabled":cn},mn));var dn=b()(r,c,(n={},(0,v.Z)(n,"".concat(r,"-start"),"start"===P),(0,v.Z)(n,"".concat(r,"-center"),"center"===P),(0,v.Z)(n,"".concat(r,"-end"),"end"===P),(0,v.Z)(n,"".concat(r,"-simple"),J),(0,v.Z)(n,"".concat(r,"-disabled"),G),n));return i.createElement("ul",(0,o.Z)({className:dn,style:K,ref:ce},De),He,an,J?Fe:We,mn,i.createElement(E,{locale:q,rootPrefixCls:r,disabled:G,selectPrefixCls:l,changeSize:function(e){var n=M(e,de,g),t=be>n&&0!==n?n:be;ue(e),Ce(t),null==_||_(be,e),ve(t),null==I||I(t,e)},pageSize:de,pageSizeOptions:ne,quickGo:Ee?ze:null,goButton:Ue,showSizeChanger:Y,sizeChangerRender:ee}))},w=t(67876),I=t(37167),Z=t(1273),P=t(61854),T=t(99103),D=t(44781),H=t(70566),A=t(47825),R=t(66098),W=t(97201),L=t(84343),_=t(88874),X=t(77167),q=t(65759);const K=e=>{const{componentCls:n}=e;return{[`${n}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${n}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${n}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${n}-disabled`]:{cursor:"not-allowed",[`${n}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${n}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${n}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${n}-simple-pager`]:{color:e.colorTextDisabled},[`${n}-jump-prev, ${n}-jump-next`]:{[`${n}-item-link-icon`]:{opacity:0},[`${n}-item-ellipsis`]:{opacity:1}}},[`&${n}-simple`]:{[`${n}-prev, ${n}-next`]:{[`&${n}-disabled ${n}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},U=e=>{const{componentCls:n}=e;return{[`&${n}-mini ${n}-total-text, &${n}-mini ${n}-simple-pager`]:{height:e.itemSizeSM,lineHeight:(0,A.bf)(e.itemSizeSM)},[`&${n}-mini ${n}-item`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,A.bf)(e.calc(e.itemSizeSM).sub(2).equal())},[`&${n}-mini:not(${n}-disabled) ${n}-item:not(${n}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},[`&${n}-mini ${n}-prev, &${n}-mini ${n}-next`]:{minWidth:e.itemSizeSM,height:e.itemSizeSM,margin:0,lineHeight:(0,A.bf)(e.itemSizeSM)},[`&${n}-mini:not(${n}-disabled)`]:{[`${n}-prev, ${n}-next`]:{[`&:hover ${n}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${n}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${n}-disabled:hover ${n}-item-link`]:{backgroundColor:"transparent"}}},[`\n &${n}-mini ${n}-prev ${n}-item-link,\n &${n}-mini ${n}-next ${n}-item-link\n `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:e.itemSizeSM,lineHeight:(0,A.bf)(e.itemSizeSM)}},[`&${n}-mini ${n}-jump-prev, &${n}-mini ${n}-jump-next`]:{height:e.itemSizeSM,marginInlineEnd:0,lineHeight:(0,A.bf)(e.itemSizeSM)},[`&${n}-mini ${n}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:e.miniOptionsSizeChangerTop},"&-quick-jumper":{height:e.itemSizeSM,lineHeight:(0,A.bf)(e.itemSizeSM),input:Object.assign(Object.assign({},(0,R.x0)(e)),{width:e.paginationMiniQuickJumperInputWidth,height:e.controlHeightSM})}}}},F=e=>{const{componentCls:n}=e;return{[`\n &${n}-simple ${n}-prev,\n &${n}-simple ${n}-next\n `]:{height:e.itemSizeSM,lineHeight:(0,A.bf)(e.itemSizeSM),verticalAlign:"top",[`${n}-item-link`]:{height:e.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:e.itemSizeSM,lineHeight:(0,A.bf)(e.itemSizeSM)}}},[`&${n}-simple ${n}-simple-pager`]:{display:"inline-block",height:e.itemSizeSM,marginInlineEnd:e.marginXS,input:{boxSizing:"border-box",height:"100%",padding:`0 ${(0,A.bf)(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${(0,A.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${(0,A.bf)(e.inputOutlineOffset)} 0 ${(0,A.bf)(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}}}},G=e=>{const{componentCls:n}=e;return{[`${n}-jump-prev, ${n}-jump-next`]:{outline:0,[`${n}-item-container`]:{position:"relative",[`${n}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${n}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:e.colorTextDisabled,letterSpacing:e.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:e.paginationEllipsisTextIndent,opacity:1,transition:`all ${e.motionDurationMid}`}},"&:hover":{[`${n}-item-link-icon`]:{opacity:1},[`${n}-item-ellipsis`]:{opacity:0}}},[`\n ${n}-prev,\n ${n}-jump-prev,\n ${n}-jump-next\n `]:{marginInlineEnd:e.marginXS},[`\n ${n}-prev,\n ${n}-next,\n ${n}-jump-prev,\n ${n}-jump-next\n `]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,color:e.colorText,fontFamily:e.fontFamily,lineHeight:(0,A.bf)(e.itemSize),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${n}-prev, ${n}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${n}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,A.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${n}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${n}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${n}-disabled:hover`]:{[`${n}-item-link`]:{backgroundColor:"transparent"}}},[`${n}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${n}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:e.controlHeight,marginInlineStart:e.marginXS,lineHeight:(0,A.bf)(e.controlHeight),verticalAlign:"top",input:Object.assign(Object.assign(Object.assign({},(0,R.ik)(e)),(0,L.$U)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow})),{"&[disabled]":Object.assign({},(0,L.Xy)(e)),width:e.calc(e.controlHeightLG).mul(1.25).equal(),height:e.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:e.marginXS,marginInlineEnd:e.marginXS})}}}},J=e=>{const{componentCls:n}=e;return{[`${n}-item`]:{display:"inline-block",minWidth:e.itemSize,height:e.itemSize,marginInlineEnd:e.marginXS,fontFamily:e.fontFamily,lineHeight:(0,A.bf)(e.calc(e.itemSize).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${(0,A.bf)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,A.bf)(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${n}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.colorPrimary},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.colorPrimaryHover}}}}},Q=e=>{const{componentCls:n}=e;return{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,_.Wf)(e)),{display:"flex","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${n}-total-text`]:{display:"inline-block",height:e.itemSize,marginInlineEnd:e.marginXS,lineHeight:(0,A.bf)(e.calc(e.itemSize).sub(2).equal()),verticalAlign:"middle"}}),J(e)),G(e)),F(e)),U(e)),K(e)),{[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${n}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${n}-options`]:{display:"none"}}}),[`&${e.componentCls}-rtl`]:{direction:"rtl"}}},V=e=>{const{componentCls:n}=e;return{[`${n}:not(${n}-disabled)`]:{[`${n}-item`]:Object.assign({},(0,_.Qy)(e)),[`${n}-jump-prev, ${n}-jump-next`]:{"&:focus-visible":Object.assign({[`${n}-item-link-icon`]:{opacity:1},[`${n}-item-ellipsis`]:{opacity:0}},(0,_.oN)(e))},[`${n}-prev, ${n}-next`]:{[`&:focus-visible ${n}-item-link`]:Object.assign({},(0,_.oN)(e))}}}},Y=e=>Object.assign({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemActiveBg:e.colorBgContainer,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0},(0,W.T)(e)),ee=e=>(0,X.IX)(e,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,W.e)(e));var ne=(0,q.I$)("Pagination",(e=>{const n=ee(e);return[Q(n),V(n)]}),Y);const te=e=>{const{componentCls:n}=e;return{[`${n}${n}-bordered${n}-disabled:not(${n}-mini)`]:{"&, &:hover":{[`${n}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${n}-item-link`]:{borderColor:e.colorBorder}},[`${n}-item, ${n}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${n}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${n}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${n}-prev, ${n}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${n}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${n}${n}-bordered:not(${n}-mini)`]:{[`${n}-prev, ${n}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${n}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${n}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${n}-disabled`]:{[`${n}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${n}-item`]:{backgroundColor:e.itemBg,border:`${(0,A.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${n}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}};var ie=(0,q.bk)(["Pagination","bordered"],(e=>{const n=ee(e);return[te(n)]}),Y);function oe(e){return(0,i.useMemo)((()=>"boolean"==typeof e?[e,{}]:e&&"object"==typeof e?[!0,e]:[void 0,void 0]),[e])}var re=function(e,n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(i=Object.getOwnPropertySymbols(e);o{const{align:n,prefixCls:t,selectPrefixCls:o,className:r,rootClassName:a,style:l,size:s,locale:m,responsive:p,showSizeChanger:v,selectComponentClass:h,pageSizeOptions:f}=e,$=re(e,["align","prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","responsive","showSizeChanger","selectComponentClass","pageSizeOptions"]),{xs:C}=(0,P.Z)(p),[,S]=(0,H.ZP)(),{getPrefixCls:k,direction:y,pagination:x={}}=i.useContext(I.E_),E=k("pagination",t),[N,z,j]=ne(E),B=(0,Z.Z)(s),M="small"===B||!(!C||B||!p),[A]=(0,T.Z)("Pagination",w.Z),R=Object.assign(Object.assign({},A),m),[W,L]=oe(v),[_,X]=oe(x.showSizeChanger),q=null!=W?W:_,K=null!=L?L:X,U=h||D.Z,F=i.useMemo((()=>f?f.map((e=>Number(e))):void 0),[f]);const G=i.useMemo((()=>{const e=i.createElement("span",{className:`${E}-item-ellipsis`},"•••");return{prevIcon:i.createElement("button",{className:`${E}-item-link`,type:"button",tabIndex:-1},"rtl"===y?i.createElement(g.Z,null):i.createElement(u.Z,null)),nextIcon:i.createElement("button",{className:`${E}-item-link`,type:"button",tabIndex:-1},"rtl"===y?i.createElement(u.Z,null):i.createElement(g.Z,null)),jumpPrevIcon:i.createElement("a",{className:`${E}-item-link`},i.createElement("div",{className:`${E}-item-container`},"rtl"===y?i.createElement(d,{className:`${E}-item-link-icon`}):i.createElement(c,{className:`${E}-item-link-icon`}),e)),jumpNextIcon:i.createElement("a",{className:`${E}-item-link`},i.createElement("div",{className:`${E}-item-container`},"rtl"===y?i.createElement(c,{className:`${E}-item-link-icon`}):i.createElement(d,{className:`${E}-item-link-icon`}),e))}}),[y,E]),J=k("select",o),Q=b()({[`${E}-${n}`]:!!n,[`${E}-mini`]:M,[`${E}-rtl`]:"rtl"===y,[`${E}-bordered`]:S.wireframe},null==x?void 0:x.className,r,a,z,j),V=Object.assign(Object.assign({},null==x?void 0:x.style),l);return N(i.createElement(i.Fragment,null,S.wireframe&&i.createElement(ie,{prefixCls:E}),i.createElement(O,Object.assign({},G,$,{style:V,prefixCls:E,selectPrefixCls:J,className:Q,locale:R,pageSizeOptions:F,showSizeChanger:q,sizeChangerRender:e=>{var n;const{disabled:t,size:o,onSizeChange:r,"aria-label":a,className:l,options:c}=e,{className:s,onChange:m}=K||{},d=null===(n=c.find((e=>String(e.value)===String(o))))||void 0===n?void 0:n.value;return i.createElement(U,Object.assign({disabled:t,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":a,options:c},K,{value:d,onChange:(e,n)=>{null==r||r(e),null==m||m(e,n)},size:M?"small":"middle",className:b()(l,s)}))}}))))},le=ae}}]); \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/asset-manifest.json b/starter/src/main/resources/static/admin/asset-manifest.json index c1d9f69d8b..80e76b8aa1 100644 --- a/starter/src/main/resources/static/admin/asset-manifest.json +++ b/starter/src/main/resources/static/admin/asset-manifest.json @@ -1,8 +1,8 @@ { "/admin/umi.css": "/admin/umi.999685c6.css", - "/admin/umi.js": "/admin/umi.027aa7b0.js", + "/admin/umi.js": "/admin/umi.3bd65ae4.js", "/admin/9013.b745fd63.async.js": "/admin/9013.b745fd63.async.js", - "/admin/p__Auth__Login__index.js": "/admin/p__Auth__Login__index.78a58e20.async.js", + "/admin/p__Auth__Login__index.js": "/admin/p__Auth__Login__index.e8dbb331.async.js", "/admin/p__Auth__Register__index.js": "/admin/p__Auth__Register__index.1ba6b4dd.async.js", "/admin/p__OAuth__Github.js": "/admin/p__OAuth__Github.99998f31.async.js", "/admin/p__OAuth__Google.js": "/admin/p__OAuth__Google.fc6c3163.async.js", @@ -48,11 +48,11 @@ "/admin/p__Dashboard__Ticket__Ticket.js": "/admin/p__Dashboard__Ticket__Ticket.b213cfd9.async.js", "/admin/p__Dashboard__CallCenter__index.js": "/admin/p__Dashboard__CallCenter__index.594721e2.async.js", "/admin/p__Dashboard__Setting__index.js": "/admin/p__Dashboard__Setting__index.d11886d7.async.js", - "/admin/p__Dashboard__Setting__Profile__index.js": "/admin/p__Dashboard__Setting__Profile__index.3046ef65.async.js", + "/admin/p__Dashboard__Setting__Profile__index.js": "/admin/p__Dashboard__Setting__Profile__index.3c6fb9a5.async.js", "/admin/p__Dashboard__Setting__Basic__index.js": "/admin/p__Dashboard__Setting__Basic__index.25f6f1d3.async.js", - "/admin/p__Dashboard__Setting__Certification__index.js": "/admin/p__Dashboard__Setting__Certification__index.cedb749c.async.js", + "/admin/p__Dashboard__Setting__Certification__index.js": "/admin/p__Dashboard__Setting__Certification__index.b36d21b7.async.js", "/admin/p__Dashboard__Setting__Money__index.js": "/admin/p__Dashboard__Setting__Money__index.ecb51bf9.async.js", - "/admin/p__Dashboard__Setting__Server__index.js": "/admin/p__Dashboard__Setting__Server__index.5c4ffffc.async.js", + "/admin/p__Dashboard__Setting__Server__index.js": "/admin/p__Dashboard__Setting__Server__index.3bf6796a.async.js", "/admin/p__Dashboard__Setting__Notification__index.js": "/admin/p__Dashboard__Setting__Notification__index.fc673524.async.js", "/admin/p__Dashboard__Super__Organization__index.js": "/admin/p__Dashboard__Super__Organization__index.625fe64d.async.js", "/admin/p__Dashboard__Super__User__index.js": "/admin/p__Dashboard__Super__User__index.c6d4991d.async.js", @@ -81,7 +81,7 @@ "/admin/7402.4311692c.async.js": "/admin/7402.4311692c.async.js", "/admin/7064.6486a383.async.js": "/admin/7064.6486a383.async.js", "/admin/8247.c66c0f48.async.js": "/admin/8247.c66c0f48.async.js", - "/admin/4532.20aad524.async.js": "/admin/4532.20aad524.async.js", + "/admin/7186.1e337a49.async.js": "/admin/7186.1e337a49.async.js", "/admin/3442.7a52d66b.async.js": "/admin/3442.7a52d66b.async.js", "/admin/9446.4747b28f.async.js": "/admin/9446.4747b28f.async.js", "/admin/9133.933ccb18.async.js": "/admin/9133.933ccb18.async.js", @@ -90,9 +90,9 @@ "/admin/2673.faa8efa0.async.js": "/admin/2673.faa8efa0.async.js", "/admin/7948.1561462a.async.js": "/admin/7948.1561462a.async.js", "/admin/5461.fffcdcf9.async.js": "/admin/5461.fffcdcf9.async.js", + "/admin/8958.53c776fb.async.js": "/admin/8958.53c776fb.async.js", "/admin/9782.3c77b422.chunk.css": "/admin/9782.3c77b422.chunk.css", "/admin/9782.45473c93.async.js": "/admin/9782.45473c93.async.js", - "/admin/8958.53c776fb.async.js": "/admin/8958.53c776fb.async.js", "/admin/9952.5bb4b6ec.async.js": "/admin/9952.5bb4b6ec.async.js", "/admin/826.b165c485.async.js": "/admin/826.b165c485.async.js", "/admin/9116.e0d365bd.async.js": "/admin/9116.e0d365bd.async.js", @@ -102,8 +102,7 @@ "/admin/6457.d9a5b799.async.js": "/admin/6457.d9a5b799.async.js", "/admin/1383.07ab8c6a.async.js": "/admin/1383.07ab8c6a.async.js", "/admin/5978.e58b5048.async.js": "/admin/5978.e58b5048.async.js", - "/admin/5035.20860de9.async.js": "/admin/5035.20860de9.async.js", - "/admin/1822.c16f3264.async.js": "/admin/1822.c16f3264.async.js", + "/admin/1514.8a5b8a6d.async.js": "/admin/1514.8a5b8a6d.async.js", "/admin/5152.7672d7b2.async.js": "/admin/5152.7672d7b2.async.js", "/admin/2733.f24bbf7d.async.js": "/admin/2733.f24bbf7d.async.js", "/admin/8721.026aa1e0.async.js": "/admin/8721.026aa1e0.async.js", @@ -125,11 +124,11 @@ "/admin/7244.cee4fc51.async.js": "/admin/7244.cee4fc51.async.js", "/admin/9563.ad93fc89.async.js": "/admin/9563.ad93fc89.async.js", "/admin/assets/favicon.ico": "/admin/assets/favicon.ico", + "/admin/favicon.ico": "/admin/favicon.ico", "/admin/favicon_bb.ico": "/admin/favicon_bb.ico", "/admin/icons/icon.ico": "/admin/icons/icon.ico", "/admin/icons/icon.icns": "/admin/icons/icon.icns", "/admin/icons/custom/zhiguitong.jpg": "/admin/icons/custom/zhiguitong.jpg", - "/admin/logo.png": "/admin/logo.png", "/admin/logo_b.png": "/admin/logo_b.png", "/admin/assets/images/bg-wide.png": "/admin/assets/images/bg-wide.png", "/admin/assets/images/bg-3.webp": "/admin/assets/images/bg-3.webp", @@ -150,11 +149,11 @@ "/admin/icons/logo1024.png": "/admin/icons/logo1024.png", "/admin/icons/logo.iconset/icon_128x128@2x.png": "/admin/icons/logo.iconset/icon_128x128@2x.png", "/admin/icons/logo.iconset/icon_256x256.png": "/admin/icons/logo.iconset/icon_256x256.png", - "/admin/favicon.ico": "/admin/favicon.ico", "/admin/favicon_b.ico": "/admin/favicon_b.ico", "/admin/assets/images/logo.png": "/admin/assets/images/logo.png", "/admin/icons/logo.png": "/admin/icons/logo.png", "/admin/icons/logo192.png": "/admin/icons/logo192.png", + "/admin/logo.png": "/admin/logo.png", "/admin/logo_bb.png": "/admin/logo_bb.png", "/admin/icons/logo.iconset/icon_128x128.png": "/admin/icons/logo.iconset/icon_128x128.png", "/admin/icons/logo_tiku.png": "/admin/icons/logo_tiku.png", diff --git a/starter/src/main/resources/static/admin/favicon.ico b/starter/src/main/resources/static/admin/favicon.ico index 8e7867cf1c..d4d50f3953 100644 Binary files a/starter/src/main/resources/static/admin/favicon.ico and b/starter/src/main/resources/static/admin/favicon.ico differ diff --git a/starter/src/main/resources/static/admin/index.html b/starter/src/main/resources/static/admin/index.html index 41bfb10e7e..5d17830dea 100644 --- a/starter/src/main/resources/static/admin/index.html +++ b/starter/src/main/resources/static/admin/index.html @@ -5,12 +5,12 @@ -全场景云客服平台 +微语 - +
- + \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/logo.png b/starter/src/main/resources/static/admin/logo.png index 4d617f0e91..755c279f8a 100644 Binary files a/starter/src/main/resources/static/admin/logo.png and b/starter/src/main/resources/static/admin/logo.png differ diff --git a/starter/src/main/resources/static/admin/p__Auth__Login__index.78a58e20.async.js b/starter/src/main/resources/static/admin/p__Auth__Login__index.78a58e20.async.js deleted file mode 100644 index d617da4ea8..0000000000 --- a/starter/src/main/resources/static/admin/p__Auth__Login__index.78a58e20.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[9368],{85954:function(e,a,t){var n=t(17082),r=t(73457),s=t(82308),o=t(99749),i=t(44194),l=t(69088),c=t(35175),u=t(31549),d=["options","fieldProps","proFieldProps","valueEnum"],g=i.forwardRef((function(e,a){var t=e.options,o=e.fieldProps,i=e.proFieldProps,l=e.valueEnum,g=(0,r.Z)(e,d);return(0,u.jsx)(c.Z,(0,n.Z)({ref:a,valueType:"checkbox",valueEnum:(0,s.h)(l,void 0),fieldProps:(0,n.Z)({options:t},o),lightProps:(0,n.Z)({labelFormatter:function(){return(0,u.jsx)(c.Z,(0,n.Z)({ref:a,valueType:"checkbox",mode:"read",valueEnum:(0,s.h)(l,void 0),filedConfig:{customLightMode:!0},fieldProps:(0,n.Z)({options:t},o),proFieldProps:i},g))}},g.lightProps),proFieldProps:i},g))})),p=i.forwardRef((function(e,a){var t=e.fieldProps,r=e.children;return(0,u.jsx)(o.Z,(0,n.Z)((0,n.Z)({ref:a},t),{},{children:r}))})),f=(0,l.G)(p,{valuePropName:"checked"});f.Group=g,a.Z=f},84881:function(e,a,t){var n=t(17082),r=t(73457),s=t(82308),o=t(44194),i=t(63653),l=t(35175),c=t(31549),u=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],d=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],g=function(e,a){var t=e.fieldProps,d=e.children,g=e.params,p=e.proFieldProps,f=e.mode,h=e.valueEnum,m=e.request,v=e.showSearch,x=e.options,y=(0,r.Z)(e,u),w=(0,o.useContext)(i.Z);return(0,c.jsx)(l.Z,(0,n.Z)((0,n.Z)({valueEnum:(0,s.h)(h),request:m,params:g,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,n.Z)({options:x,mode:f,showSearch:v,getPopupContainer:w.getPopupContainer},t),ref:a,proFieldProps:p},y),{},{children:d}))},p=o.forwardRef((function(e,a){var t=e.fieldProps,u=e.children,g=e.params,p=e.proFieldProps,f=e.mode,h=e.valueEnum,m=e.request,v=e.options,x=(0,r.Z)(e,d),y=(0,n.Z)({options:v,mode:f||"multiple",labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label"},t),w=(0,o.useContext)(i.Z);return(0,c.jsx)(l.Z,(0,n.Z)((0,n.Z)({valueEnum:(0,s.h)(h),request:m,params:g,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,n.Z)({getPopupContainer:w.getPopupContainer},y),ref:a,proFieldProps:p},x),{},{children:u}))})),f=o.forwardRef(g);f.SearchSelect=p,f.displayName="ProFormComponent",a.Z=f},88678:function(e,a,t){t.d(a,{Z:function(){return y}});var n=t(90819),r=t.n(n),s=t(89933),o=t.n(s),i=t(45332),l=t.n(i),c=t(55735),u=t(30921);function d(){return g.apply(this,arguments)}function g(){return(g=o()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/kaptcha/api/v1/get",{method:"GET",params:{client:c.bVn}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e,a){return f.apply(this,arguments)}function f(){return(f=o()(r()().mark((function e(a,t){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/kaptcha/api/v1/check",{method:"POST",data:{captchaUid:a,captchaCode:t,client:c.bVn}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var h=t(58087),m=t(52288),v=t(44194),x=t(31549),y=function(e){var a=e.onKaptchaChange,t=e.onKaptchaCheck,n=(0,u.useIntl)(),s=(0,v.useState)(),i=l()(s,2),c=i[0],g=i[1],f=(0,v.useState)(),y=l()(f,2),w=y[0],b=y[1],M=function(){var e=o()(r()().mark((function e(){var a;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d();case 2:200===(a=e.sent).code&&(g(a.data.captchaUid),b(a.data.captchaImage));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),k=function(){var e=o()(r()().mark((function e(a,n){var s;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(a,n);case 2:s=e.sent,console.log("checkCaptcha response",s),200===s.code?t&&t(!0):t&&t(!1);case 5:case"end":return e.stop()}}),e)})));return function(a,t){return e.apply(this,arguments)}}();(0,v.useEffect)((function(){M()}),[]);return(0,x.jsx)(x.Fragment,{children:w&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(m.Z,{onChange:function(e){a&&(a(c,e.target.value),e.target.value&&""!==e.target.value&&4===e.target.value.trim().length?k(c,e.target.value):t&&t(!1))},prefix:(0,x.jsx)(h.Z,{}),placeholder:n.formatMessage({id:"captcha",defaultMessage:"captcha"}),style:{width:"65%",float:"left",height:40},allowClear:!0}),(0,x.jsx)("img",{src:w,alt:"captcha",onClick:M})]})})}},44040:function(e,a,t){t.r(a),t.d(a,{default:function(){return oe}});var n=t(73193),r=t.n(n),s=t(90819),o=t.n(s),i=t(89933),l=t.n(i),c=t(45332),u=t.n(c),d=t(45739),g=t(69169),p=t(60183),f=t(65821),h=t(57245),m=t(93769),v=t(30921),x=t(42540),y=t(8247),w=t(75365),b=t(96839),M=t(98094),k=t(44194),j=t(56321),C=t(51239),Z=t(86803),S=t(98240),P=t(23864),F=t(55735),U=t(88678),I=t(10022),T=t(26978),E=t(4499),L=t(31549),z=function(e){var a=e.loginType,t=e.onKaptchaChange,n=e.onKaptchaCheck,r=(0,v.useIntl)(),s=function(){var e=l()(o()().mark((function e(a,n){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t&&t(a,n);case 1:case"end":return e.stop()}}),e)})));return function(a,t){return e.apply(this,arguments)}}(),i=function(){var e=l()(o()().mark((function e(a){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n&&n(a);case 1:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}();return(0,L.jsx)(L.Fragment,{children:"account"===a&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(E.Z,{name:"username",fieldProps:{size:"large",prefix:(0,L.jsx)(I.Z,{})},placeholder:r.formatMessage({id:"pages.login.username.placeholder",defaultMessage:"用户名/邮箱"}),rules:[{required:!0,message:(0,L.jsx)(v.FormattedMessage,{id:"pages.login.username.required",defaultMessage:"请输入用户名/邮箱!"})}]}),(0,L.jsx)(E.Z.Password,{name:"password",fieldProps:{size:"large",prefix:(0,L.jsx)(T.Z,{})},placeholder:r.formatMessage({id:"pages.login.password.placeholder",defaultMessage:"密码"}),rules:[{required:!0,message:(0,L.jsx)(v.FormattedMessage,{id:"pages.login.password.required",defaultMessage:"请输入密码!"})}]}),(0,L.jsx)(g.A.Item,{name:"captchaCode",rules:[{required:!0,message:r.formatMessage({id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],children:(0,L.jsx)(U.Z,{onKaptchaChange:s,onKaptchaCheck:i})})]})})},q=t(65461),K=t(40795),R=t(84881),D=t(59129),V=t(88201),N=t(5602),A=t(32943),B=function(e){var a=e.loginType,t=e.onKaptchaChange,n=e.onKaptchaCheck,r=(0,v.useIntl)(),s=(0,k.useRef)(),i=(0,k.useState)(""),c=u()(i,2),p=c[0],f=c[1],h=(0,k.useState)(""),m=u()(h,2),x=m[0],y=m[1],w=(0,k.useState)(!1),b=u()(w,2),M=b[0],j=b[1],S=(0,C.L)((function(e){return{deviceUid:e.deviceUid,setDeviceUid:e.setDeviceUid}})),P=S.deviceUid,I=S.setDeviceUid,z=function(){var e=l()(o()().mark((function e(a,n){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:f(a),y(n),t&&t(a,n);case 3:case"end":return e.stop()}}),e)})));return function(a,t){return e.apply(this,arguments)}}(),B=function(){var e=l()(o()().mark((function e(a){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:j(a),n&&n(a);case 2:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}();(0,k.useEffect)((function(){void 0!==P&&""!==P||I((0,q.Zx)())}),[]);var H=[{label:r.formatMessage({id:"pages.login.country.china"}),value:"86",icon:"🇨🇳",code:"CN"},{label:r.formatMessage({id:"pages.login.country.hongkong"}),value:"852",icon:"🇭🇰",code:"HK"},{label:r.formatMessage({id:"pages.login.country.taiwan"}),value:"886",icon:"🇹🇼",code:"TW"},{label:r.formatMessage({id:"pages.login.country.macao"}),value:"853",icon:"🇲🇴",code:"MO"},{label:r.formatMessage({id:"pages.login.country.japan"}),value:"81",icon:"🇯🇵",code:"JP"},{label:r.formatMessage({id:"pages.login.country.korea"}),value:"82",icon:"🇰🇷",code:"KR"},{label:r.formatMessage({id:"pages.login.country.singapore"}),value:"65",icon:"🇸🇬",code:"SG"},{label:r.formatMessage({id:"pages.login.country.malaysia"}),value:"60",icon:"🇲🇾",code:"MY"},{label:r.formatMessage({id:"pages.login.country.thailand"}),value:"66",icon:"🇹🇭",code:"TH"},{label:r.formatMessage({id:"pages.login.country.vietnam"}),value:"84",icon:"🇻🇳",code:"VN"},{label:r.formatMessage({id:"pages.login.country.philippines"}),value:"63",icon:"🇵🇭",code:"PH"},{label:r.formatMessage({id:"pages.login.country.indonesia"}),value:"62",icon:"🇮🇩",code:"ID"},{label:r.formatMessage({id:"pages.login.country.usa"}),value:"1-us",icon:"🇺🇸",code:"US"},{label:r.formatMessage({id:"pages.login.country.canada"}),value:"1-ca",icon:"🇨🇦",code:"CA"},{label:r.formatMessage({id:"pages.login.country.uk"}),value:"44",icon:"🇬🇧",code:"GB"},{label:r.formatMessage({id:"pages.login.country.germany"}),value:"49",icon:"🇩🇪",code:"DE"},{label:r.formatMessage({id:"pages.login.country.france"}),value:"33",icon:"🇫🇷",code:"FR"},{label:r.formatMessage({id:"pages.login.country.italy"}),value:"39",icon:"🇮🇹",code:"IT"},{label:r.formatMessage({id:"pages.login.country.spain"}),value:"34",icon:"🇪🇸",code:"ES"},{label:r.formatMessage({id:"pages.login.country.russia"}),value:"7",icon:"🇷🇺",code:"RU"},{label:r.formatMessage({id:"pages.login.country.australia"}),value:"61",icon:"🇦🇺",code:"AU"},{label:r.formatMessage({id:"pages.login.country.newzealand"}),value:"64",icon:"🇳🇿",code:"NZ"}];return(0,L.jsx)(L.Fragment,{children:"mobile"===a&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)(V.Z,{gutter:16,children:[(0,L.jsx)(N.Z,{span:10,children:(0,L.jsx)(R.Z,{name:"country",options:H,fieldProps:{size:"large",placeholder:r.formatMessage({id:"pages.login.country.placeholder",defaultMessage:"选择国家/地区"}),optionLabelProp:"label",optionItemRender:function(e){var a=e.value.includes("-")?e.value.split("-")[0]:e.value;return(0,L.jsxs)("div",{children:[(0,L.jsx)("span",{role:"img","aria-label":e.label,style:{marginRight:8},children:e.icon}),e.label," (+",a,")"]})}},initialValue:"86"})}),(0,L.jsx)(N.Z,{span:14,children:(0,L.jsx)(E.Z,{fieldProps:{size:"large",prefix:(0,L.jsx)(K.Z,{})},name:"mobile",placeholder:r.formatMessage({id:"pages.login.phoneNumber.placeholder",defaultMessage:"手机号"}),rules:[{required:!0,message:(0,L.jsx)(v.FormattedMessage,{id:"pages.login.phoneNumber.required",defaultMessage:"请输入手机号!"})},{pattern:/^1\d{10}$/,message:(0,L.jsx)(v.FormattedMessage,{id:"pages.login.phoneNumber.invalid",defaultMessage:"手机号格式错误!"})}]})})]}),(0,L.jsx)(g.A.Item,{name:"captchaCode",rules:[{required:!0,message:r.formatMessage({id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],children:(0,L.jsx)(U.Z,{onKaptchaChange:z,onKaptchaCheck:B})}),(0,L.jsx)(D.Z,{fieldProps:{size:"large",prefix:(0,L.jsx)(T.Z,{})},captchaProps:{size:"large",disabled:!M},placeholder:r.formatMessage({id:"pages.login.captcha.placeholder",defaultMessage:"请输入验证码"}),captchaTextRender:function(e,a){return e?"".concat(a," ").concat(r.formatMessage({id:"pages.getCaptchaSecondText",defaultMessage:"获取验证码"})):r.formatMessage({id:"pages.login.phoneLogin.getVerificationCode",defaultMessage:"获取验证码"})},phoneName:"mobile",name:"code",rules:[{required:!0,message:(0,L.jsx)(v.FormattedMessage,{id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],fieldRef:s,onGetCaptcha:function(){var e=l()(o()().mark((function e(a){var t,n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("mobile:",a),!a||11!==a.length){e.next=13;break}return t={mobile:a,type:F.UUF,captchaUid:p,captchaCode:x,deviceUid:P,platform:F.iw8},e.next=5,(0,d.Y7)(t);case 5:if(200===(n=e.sent).code){e.next=10;break}return Z.yw.error(r.formatMessage({id:n.message,defaultMessage:n.message})),setTimeout((function(){var e;console.log("endCaptchaTiming"),null===(e=s.current)||void 0===e||e.endTiming()}),2),e.abrupt("return");case 10:Z.yw.success(r.formatMessage({id:n.message,defaultMessage:n.message})),e.next=14;break;case 13:Z.yw.error("手机号格式错误");case 14:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}()}),(0,L.jsx)(A.Z,{message:(0,L.jsx)(v.FormattedMessage,{id:"pages.login.auto.register",defaultMessage:"Mobile will auto register"}),type:"info"})]})})},H=t(70185),Q=t(44521),G=t(99749),W=t(11757),Y={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},O=t(54183),J=function(e,a){return k.createElement(O.Z,(0,W.Z)({},e,{ref:a,icon:Y}))};var X=k.forwardRef(J),$=t(85954),_=function(){var e=x.Z.useToken().token,a=(0,k.useContext)(H.I),t=a.isCustomServer,n=a.setIsCustomServer,r=g.A.useForm(),s=u()(r,1)[0],o=(0,k.useState)(!1),i=u()(o,2),l=i[0],c=i[1],d=(0,k.useState)(""),p=u()(d,2),f=p[0],h=p[1],m=(0,k.useState)(""),v=u()(m,2),y=(v[0],v[1]);(0,k.useEffect)((function(){f&&f.length>0&&(s.setFieldsValue({apiUrl:f}),console.log("apiUrl:",f))}),[f]),(0,k.useEffect)((function(){if(t){var e=localStorage.getItem(F.Ss2);"true"===e&&(c(!0),s.setFieldsValue({isCustomServerEnabled:!0})),console.log("isCustomServer customEnabled:",e);var a=localStorage.getItem(F.DuM);a&&s.setFieldsValue({apiUrl:(0,q.Qj)(a)});var n=localStorage.getItem(F.sZT);n&&s.setFieldsValue({websocketUrl:(0,q.Qj)(n)})}}),[t]);return(0,L.jsx)("div",{className:"ant-pro-form-server-container",style:{backgroundColor:e.colorBgContainer,display:"flex",justifyContent:"center",flexDirection:"column",height:"100%",width:"80%",marginLeft:"10%"},children:(0,L.jsxs)(g.A,{className:"ant-pro-form-server-main",form:s,submitter:{render:function(e,a){return console.log("props:",e,a),(0,L.jsxs)("div",{style:{display:"flex",justifyContent:"center",gap:"8px"},children:[(0,L.jsx)(w.ZP,{icon:(0,L.jsx)(X,{}),onClick:function(){console.log("switch server"),n((function(e){return!e}))},children:"返回"},"back"),(0,L.jsx)(w.ZP,{type:"primary",onClick:function(){var a=e.form.getFieldValue("apiUrl");a=(0,q.Qj)(a.trim());var t=e.form.getFieldValue("websocketUrl");t=(0,q.Qj)(t.trim()),a&&a.trim().length>0&&t&&t.trim().length>0?(localStorage.setItem(F.DuM,a),localStorage.setItem(F.sZT,t),localStorage.setItem(F.Ss2,"true"),Z.yw.success("保存成功")):Z.yw.error("请输入正确的服务器地址")},children:"保存"},"submit"),(0,L.jsx)(w.ZP,{onClick:function(){var a;null===(a=e.form)||void 0===a||a.resetFields(),h(""),localStorage.setItem(F.Ss2,"false"),localStorage.setItem(F.DuM,""),localStorage.setItem(F.sZT,""),Z.yw.success("重置成功,已恢复默认云服务器")},children:"重置"},"reset"),(0,L.jsx)(w.ZP,{onClick:function(){window.open("https://www.weiyuai.cn/docs/zh-CN/docs/manual/agent/auth/login")},children:"帮助"},"help")]})}},children:[(0,L.jsx)($.Z,{name:"isCustomServerEnabled",fieldProps:{onChange:function(e){console.log("e:",e),function(e){if(console.log("handleCustomServerChange e:",e),c(e.target.checked),e.target.checked){var a=localStorage.getItem(F.DuM);a&&s.setFieldsValue({apiUrl:(0,q.Qj)(a)});var t=localStorage.getItem(F.sZT);t&&s.setFieldsValue({websocketUrl:(0,q.Qj)(t)}),console.log("initData apiUrl:",a,"websocketUrl:",t)}else localStorage.setItem(F.Ss2,"false")}(e)}},children:"是否启用自定义服务器"}),l&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(E.Z,{name:"apiUrl",label:"API 服务器地址(例如:http://127.0.0.1:9003 或 https://api.bytedesk.com)",fieldProps:{disabled:!l,placeholder:"http://127.0.0.1:9003",onChange:function(e){return h(e.target.value)}}}),(0,L.jsx)(E.Z,{name:"websocketUrl",label:"WebSocket 服务器地址(例如:ws://127.0.0.1:9885/websocket 或 wss://api.bytedesk.com/websocket)",fieldProps:{disabled:!l,placeholder:"ws://127.0.0.1:9885/websocket",onChange:function(e){return y(e.target.value)}}})]})]})})},ee=t(11184),ae=t(16439),te=x.Z.defaultAlgorithm,ne=x.Z.darkAlgorithm,re=function(){var e=(0,m.l)((function(e){var a=e.token;return{width:42,height:42,lineHeight:"42px",position:"fixed",right:16,borderRadius:a.borderRadius,":hover":{backgroundColor:a.colorBgTextHover}}}));return(0,L.jsx)("div",{className:e,"data-lang":!0,children:v.SelectLang&&(0,L.jsx)(v.SelectLang,{})})},se=function(){var e=(0,v.useIntl)(),a=g.A.useForm(),t=u()(a,1)[0],n=x.Z.useToken().token,s=(0,P.Z)().isDarkMode,i=(0,ee.M)(),c=i.config,m=i.updateConfig,b=((0,k.useContext)(H.I).isLoggedIn,(0,k.useState)("https://kf.gxzgt.com:9003/assets/images/logos/zhiguitong.png")),M=u()(b,2),U=M[0],I=M[1],T=(0,k.useState)(""),E=u()(T,2),K=E[0],R=E[1],D=(0,k.useState)(""),V=u()(D,2),N=(V[0],V[1]),A=(0,S.t)((function(e){return e.setAccessToken})),W=(0,k.useContext)(H.I),Y=W.isCustomServer,O=(W.setIsCustomServer,(0,k.useState)("mobile")),J=u()(O,2),X=J[0],$=J[1],te=(0,v.useModel)("@@initialState").setInitialState,ne=(0,k.useState)(!1),se=u()(ne,2),oe=se[0],ie=(se[1],(0,C.L)((function(e){return{deviceUid:e.deviceUid,setDeviceUid:e.setDeviceUid,setUserInfo:e.setUserInfo}}))),le=ie.deviceUid,ce=ie.setDeviceUid,ue=ie.setUserInfo,de=(0,k.useState)(!1),ge=u()(de,2),pe=ge[0],fe=ge[1],he=(0,k.useState)(""),me=u()(he,2),ve=me[0],xe=me[1],ye=function(){var e=l()(o()().mark((function e(a,n){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:xe(a),t.setFieldValue("captchaCode",n);case 2:case"end":return e.stop()}}),e)})));return function(a,t){return e.apply(this,arguments)}}(),we=function(){var e=l()(o()().mark((function e(a){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("handleKaptchaCheck:",a);case 1:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),be=[{key:"account",label:e.formatMessage({id:"pages.login.accountLogin.tab",defaultMessage:"账户密码登录"}),children:(0,L.jsx)(z,{loginType:X,onKaptchaChange:ye,onKaptchaCheck:we})},{key:"mobile",label:e.formatMessage({id:"pages.login.phoneLogin.tab",defaultMessage:"手机号登录"}),children:(0,L.jsx)(B,{loginType:X,onKaptchaChange:ye,onKaptchaCheck:we})}];(0,p.uK)(n.colorTextBase,.2);var Me=function(){var a=l()(o()().mark((function a(){var t,n,r,s,i,l,c,u,d;return o()().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:return void 0!==le&&""!==le||ce((0,q.Zx)()),a.next=3,(0,Q.Xs)();case 3:null!=(n=a.sent)&&null!==(t=n.custom)&&void 0!==t&&t.enabled?(null!=n&&null!==(r=n.custom)&&void 0!==r&&r.logo?I(null==n||null===(c=n.custom)||void 0===c?void 0:c.logo):I("https://kf.gxzgt.com:9003/assets/images/logos/zhiguitong.png"),null!=n&&null!==(s=n.custom)&&void 0!==s&&s.name?R(null==n||null===(u=n.custom)||void 0===u?void 0:u.name):R(e.formatMessage({id:"app.title"})),null!=n&&null!==(i=n.custom)&&void 0!==i&&i.description?N(null==n||null===(d=n.custom)||void 0===d?void 0:d.description):N(e.formatMessage({id:"pages.layouts.userLayout.title"})),null!=n&&null!==(l=n.custom)&&void 0!==l&&l.showRightCornerChat||m({bubbleConfig:{show:!1},buttonConfig:{show:!1}})):(I("https://kf.gxzgt.com:9003/assets/images/logos/zhiguitong.png"),R(e.formatMessage({id:"app.title"})),N(e.formatMessage({id:"pages.layouts.userLayout.title"}))),(0,Q.ME)();case 6:case"end":return a.stop()}}),a)})));return function(){return a.apply(this,arguments)}}();(0,k.useEffect)((function(){(0,q.pr)(),Me()}),[]);var ke=function(){var e=l()(o()().mark((function e(a){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a&&(0,j.flushSync)((function(){te((function(e){return r()(r()({},e),{},{userInfo:a})}))}));case 1:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),je=function(){var a=l()(o()().mark((function a(t){var n;return o()().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(a.prev=0,pe){a.next=4;break}return Z.yw.error("请阅读并同意隐私协议"),a.abrupt("return");case 4:return Z.yw.loading(e.formatMessage({id:"logging",defaultMessage:"logging..."})),a.next=7,(0,d.x4)(r()({},t));case 7:n=a.sent,console.log("LoginResult:",n),200===n.code?(Z.yw.destroy(),Z.yw.success(e.formatMessage({id:"login.success",defaultMessage:"login success"})),A(n.data.accessToken),ke(n.data.user),ue(n.data.user),v.history.push("/")):(Z.yw.destroy(),Z.yw.error(e.formatMessage({id:n.message,defaultMessage:n.message}))),a.next=16;break;case 12:a.prev=12,a.t0=a.catch(0),console.log(a.t0),Z.yw.error(e.formatMessage({id:"login.error",defaultMessage:"login failed"}));case 16:case"end":return a.stop()}}),a,null,[[0,12]])})));return function(e){return a.apply(this,arguments)}}(),Ce=function(){var a=l()(o()().mark((function a(t){var n,s,i;return o()().wrap((function(a){for(;;)switch(a.prev=a.next){case 0:if(a.prev=0,pe){a.next=4;break}return Z.yw.error("请阅读并同意隐私协议"),a.abrupt("return");case 4:return Z.yw.loading(e.formatMessage({id:"logging",defaultMessage:"logging..."})),a.next=7,(0,d.N9)(r()({},t));case 7:n=a.sent,console.log("LoginMobileResult:",n),200===n.code?(Z.yw.destroy(),Z.yw.success(e.formatMessage({id:"login.success",defaultMessage:"login success"})),A(null==n?void 0:n.data.accessToken),ke(null==n||null===(s=n.data)||void 0===s?void 0:s.user),ue(null==n||null===(i=n.data)||void 0===i?void 0:i.user),v.history.push("/")):(Z.yw.destroy(),Z.yw.error(e.formatMessage({id:n.message,defaultMessage:n.message}))),a.next=16;break;case 12:a.prev=12,a.t0=a.catch(0),console.log(a.t0),Z.yw.error(e.formatMessage({id:"login.error",defaultMessage:"login failed"}));case 16:case"end":return a.stop()}}),a,null,[[0,12]])})));return function(e){return a.apply(this,arguments)}}();return(0,L.jsxs)(f._Y,{hashed:!1,dark:s,children:[(0,L.jsx)(re,{}),(0,L.jsxs)("div",{style:{backgroundColor:n.colorBgContainer,textAlign:"center",height:"100%",backgroundImage:"url('/admin/assets/images/bg-wide.png')"},children:[!Y&&(0,L.jsxs)(h.U,{form:t,contentStyle:{minWidth:400,maxWidth:"75vw"},logo:(0,L.jsx)("img",{alt:"logo",src:U}),title:K,actions:oe&&!1,onFinish:function(){var e=l()(o()().mark((function e(a){var t,n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("login values:",a),"account"!==X){e.next=8;break}return t={username:a.username,password:a.password,captchaUid:ve,captchaCode:a.captchaCode,deviceUid:le,platform:F.iw8},console.log("login info:",t),e.next=6,je(t);case 6:e.next=12;break;case 8:return n={mobile:a.mobile,code:a.code,captchaUid:ve,captchaCode:a.captchaCode,deviceUid:le,platform:F.iw8},console.log("login mobile info:",n),e.next=12,Ce(n);case 12:case"end":return e.stop()}}),e)})));return function(a){return e.apply(this,arguments)}}(),children:[(0,L.jsx)(y.Z,{activeKey:X,onChange:$,centered:!0,items:be}),(0,L.jsx)("div",{style:{marginTop:14,marginBottom:14},children:(0,L.jsxs)("div",{style:{float:"right",marginBottom:24},children:[(0,L.jsx)(G.Z,{onChange:function(e){console.log("checked = ".concat(e.target.checked)),fe(e.target.checked)},children:(0,L.jsx)(w.ZP,{size:"small",type:"link",onClick:function(){window.open("https://zgtapp.zwfw.gxzf.gov.cn/zgt-h5/userProtocol/index.html")},children:"同意《用户隐私&协议》"})}),oe&&(0,L.jsx)(v.Link,{to:"/auth/register",children:(0,L.jsx)(v.FormattedMessage,{id:"pages.login.registerAccount",defaultMessage:"注册 "})}),!1]})})]}),Y&&(0,L.jsx)(_,{}),(0,L.jsx)(ae.Q,r()(r()({},c),{},{onInit:function(){console.log("ByteDesk initialized admin")}}))]})]})},oe=function(){var e=(0,P.Z)().isDarkMode;return(0,L.jsx)(H.w,{children:(0,L.jsx)(b.ZP,{theme:{algorithm:e?ne:te},children:(0,L.jsxs)(M.Z,{style:{height:"100%"},children:[(0,L.jsx)(Z.ZP,{}),(0,L.jsx)(se,{})]})})})}}}]); \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/p__Auth__Login__index.e8dbb331.async.js b/starter/src/main/resources/static/admin/p__Auth__Login__index.e8dbb331.async.js new file mode 100644 index 0000000000..848b83383a --- /dev/null +++ b/starter/src/main/resources/static/admin/p__Auth__Login__index.e8dbb331.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[9368],{80556:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(11757),r=a(44194),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"},o=a(54183),i=function(e,t){return r.createElement(o.Z,(0,n.Z)({},e,{ref:t,icon:s}))};var c=r.forwardRef(i)},85954:function(e,t,a){var n=a(17082),r=a(73457),s=a(82308),o=a(99749),i=a(44194),c=a(69088),l=a(35175),u=a(31549),d=["options","fieldProps","proFieldProps","valueEnum"],g=i.forwardRef((function(e,t){var a=e.options,o=e.fieldProps,i=e.proFieldProps,c=e.valueEnum,g=(0,r.Z)(e,d);return(0,u.jsx)(l.Z,(0,n.Z)({ref:t,valueType:"checkbox",valueEnum:(0,s.h)(c,void 0),fieldProps:(0,n.Z)({options:a},o),lightProps:(0,n.Z)({labelFormatter:function(){return(0,u.jsx)(l.Z,(0,n.Z)({ref:t,valueType:"checkbox",mode:"read",valueEnum:(0,s.h)(c,void 0),filedConfig:{customLightMode:!0},fieldProps:(0,n.Z)({options:a},o),proFieldProps:i},g))}},g.lightProps),proFieldProps:i},g))})),p=i.forwardRef((function(e,t){var a=e.fieldProps,r=e.children;return(0,u.jsx)(o.Z,(0,n.Z)((0,n.Z)({ref:t},a),{},{children:r}))})),f=(0,c.G)(p,{valuePropName:"checked"});f.Group=g,t.Z=f},84881:function(e,t,a){var n=a(17082),r=a(73457),s=a(82308),o=a(44194),i=a(63653),c=a(35175),l=a(31549),u=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","showSearch","options"],d=["fieldProps","children","params","proFieldProps","mode","valueEnum","request","options"],g=function(e,t){var a=e.fieldProps,d=e.children,g=e.params,p=e.proFieldProps,f=e.mode,h=e.valueEnum,m=e.request,v=e.showSearch,x=e.options,w=(0,r.Z)(e,u),y=(0,o.useContext)(i.Z);return(0,l.jsx)(c.Z,(0,n.Z)((0,n.Z)({valueEnum:(0,s.h)(h),request:m,params:g,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,n.Z)({options:x,mode:f,showSearch:v,getPopupContainer:y.getPopupContainer},a),ref:t,proFieldProps:p},w),{},{children:d}))},p=o.forwardRef((function(e,t){var a=e.fieldProps,u=e.children,g=e.params,p=e.proFieldProps,f=e.mode,h=e.valueEnum,m=e.request,v=e.options,x=(0,r.Z)(e,d),w=(0,n.Z)({options:v,mode:f||"multiple",labelInValue:!0,showSearch:!0,suffixIcon:null,autoClearSearchValue:!0,optionLabelProp:"label"},a),y=(0,o.useContext)(i.Z);return(0,l.jsx)(c.Z,(0,n.Z)((0,n.Z)({valueEnum:(0,s.h)(h),request:m,params:g,valueType:"select",filedConfig:{customLightMode:!0},fieldProps:(0,n.Z)({getPopupContainer:y.getPopupContainer},w),ref:t,proFieldProps:p},x),{},{children:u}))})),f=o.forwardRef(g);f.SearchSelect=p,f.displayName="ProFormComponent",t.Z=f},88678:function(e,t,a){a.d(t,{Z:function(){return w}});var n=a(90819),r=a.n(n),s=a(89933),o=a.n(s),i=a(45332),c=a.n(i),l=a(55735),u=a(30921);function d(){return g.apply(this,arguments)}function g(){return(g=o()(r()().mark((function e(){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/kaptcha/api/v1/get",{method:"GET",params:{client:l.bVn}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e,t){return f.apply(this,arguments)}function f(){return(f=o()(r()().mark((function e(t,a){return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/kaptcha/api/v1/check",{method:"POST",data:{captchaUid:t,captchaCode:a,client:l.bVn}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var h=a(58087),m=a(52288),v=a(44194),x=a(31549),w=function(e){var t=e.onKaptchaChange,a=e.onKaptchaCheck,n=(0,u.useIntl)(),s=(0,v.useState)(),i=c()(s,2),l=i[0],g=i[1],f=(0,v.useState)(),w=c()(f,2),y=w[0],b=w[1],k=function(){var e=o()(r()().mark((function e(){var t;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d();case 2:200===(t=e.sent).code&&(g(t.data.captchaUid),b(t.data.captchaImage));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M=function(){var e=o()(r()().mark((function e(t,n){var s;return r()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(t,n);case 2:s=e.sent,console.log("checkCaptcha response",s),200===s.code?a&&a(!0):a&&a(!1);case 5:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}();(0,v.useEffect)((function(){k()}),[]);return(0,x.jsx)(x.Fragment,{children:y&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(m.Z,{onChange:function(e){t&&(t(l,e.target.value),e.target.value&&""!==e.target.value&&4===e.target.value.trim().length?M(l,e.target.value):a&&a(!1))},prefix:(0,x.jsx)(h.Z,{}),placeholder:n.formatMessage({id:"captcha",defaultMessage:"captcha"}),style:{width:"65%",float:"left",height:40},allowClear:!0}),(0,x.jsx)("img",{src:y,alt:"captcha",onClick:k})]})})}},44040:function(e,t,a){a.r(t),a.d(t,{default:function(){return ce}});var n=a(73193),r=a.n(n),s=a(90819),o=a.n(s),i=a(89933),c=a.n(i),l=a(45332),u=a.n(l),d=a(45739),g=a(69169),p=a(60183),f=a(65821),h=a(57245),m=a(93769),v=a(30921),x=a(42540),w=a(8247),y=a(75365),b=a(96839),k=a(98094),M=a(44194),j=a(56321),C=a(51239),Z=a(86803),S=a(98240),P=a(23864),U=a(55735),I=a(88678),F=a(10022),T=a(26978),L=a(4499),E=a(31549),R=function(e){var t=e.loginType,a=e.onKaptchaChange,n=e.onKaptchaCheck,r=(0,v.useIntl)(),s=function(){var e=c()(o()().mark((function e(t,n){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a&&a(t,n);case 1:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),i=function(){var e=c()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n&&n(t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,E.jsx)(E.Fragment,{children:"account"===t&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(L.Z,{name:"username",fieldProps:{size:"large",prefix:(0,E.jsx)(F.Z,{})},placeholder:r.formatMessage({id:"pages.login.username.placeholder",defaultMessage:"用户名/邮箱"}),rules:[{required:!0,message:(0,E.jsx)(v.FormattedMessage,{id:"pages.login.username.required",defaultMessage:"请输入用户名/邮箱!"})}]}),(0,E.jsx)(L.Z.Password,{name:"password",fieldProps:{size:"large",prefix:(0,E.jsx)(T.Z,{})},placeholder:r.formatMessage({id:"pages.login.password.placeholder",defaultMessage:"密码"}),rules:[{required:!0,message:(0,E.jsx)(v.FormattedMessage,{id:"pages.login.password.required",defaultMessage:"请输入密码!"})}]}),(0,E.jsx)(g.A.Item,{name:"captchaCode",rules:[{required:!0,message:r.formatMessage({id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],children:(0,E.jsx)(I.Z,{onKaptchaChange:s,onKaptchaCheck:i})})]})})},q=a(65461),D=a(40795),K=a(84881),A=a(59129),V=a(88201),N=a(5602),z=a(32943),B=function(e){var t=e.loginType,a=e.onKaptchaChange,n=e.onKaptchaCheck,r=(0,v.useIntl)(),s=(0,M.useRef)(),i=(0,M.useState)(""),l=u()(i,2),p=l[0],f=l[1],h=(0,M.useState)(""),m=u()(h,2),x=m[0],w=m[1],y=(0,M.useState)(!1),b=u()(y,2),k=b[0],j=b[1],S=(0,C.L)((function(e){return{deviceUid:e.deviceUid,setDeviceUid:e.setDeviceUid}})),P=S.deviceUid,F=S.setDeviceUid,R=function(){var e=c()(o()().mark((function e(t,n){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:f(t),w(n),a&&a(t,n);case 3:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),B=function(){var e=c()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:j(t),n&&n(t);case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,M.useEffect)((function(){void 0!==P&&""!==P||F((0,q.Zx)())}),[]);var Q=[{label:r.formatMessage({id:"pages.login.country.china"}),value:"86",icon:"🇨🇳",code:"CN"},{label:r.formatMessage({id:"pages.login.country.hongkong"}),value:"852",icon:"🇭🇰",code:"HK"},{label:r.formatMessage({id:"pages.login.country.taiwan"}),value:"886",icon:"🇹🇼",code:"TW"},{label:r.formatMessage({id:"pages.login.country.macao"}),value:"853",icon:"🇲🇴",code:"MO"},{label:r.formatMessage({id:"pages.login.country.japan"}),value:"81",icon:"🇯🇵",code:"JP"},{label:r.formatMessage({id:"pages.login.country.korea"}),value:"82",icon:"🇰🇷",code:"KR"},{label:r.formatMessage({id:"pages.login.country.singapore"}),value:"65",icon:"🇸🇬",code:"SG"},{label:r.formatMessage({id:"pages.login.country.malaysia"}),value:"60",icon:"🇲🇾",code:"MY"},{label:r.formatMessage({id:"pages.login.country.thailand"}),value:"66",icon:"🇹🇭",code:"TH"},{label:r.formatMessage({id:"pages.login.country.vietnam"}),value:"84",icon:"🇻🇳",code:"VN"},{label:r.formatMessage({id:"pages.login.country.philippines"}),value:"63",icon:"🇵🇭",code:"PH"},{label:r.formatMessage({id:"pages.login.country.indonesia"}),value:"62",icon:"🇮🇩",code:"ID"},{label:r.formatMessage({id:"pages.login.country.usa"}),value:"1-us",icon:"🇺🇸",code:"US"},{label:r.formatMessage({id:"pages.login.country.canada"}),value:"1-ca",icon:"🇨🇦",code:"CA"},{label:r.formatMessage({id:"pages.login.country.uk"}),value:"44",icon:"🇬🇧",code:"GB"},{label:r.formatMessage({id:"pages.login.country.germany"}),value:"49",icon:"🇩🇪",code:"DE"},{label:r.formatMessage({id:"pages.login.country.france"}),value:"33",icon:"🇫🇷",code:"FR"},{label:r.formatMessage({id:"pages.login.country.italy"}),value:"39",icon:"🇮🇹",code:"IT"},{label:r.formatMessage({id:"pages.login.country.spain"}),value:"34",icon:"🇪🇸",code:"ES"},{label:r.formatMessage({id:"pages.login.country.russia"}),value:"7",icon:"🇷🇺",code:"RU"},{label:r.formatMessage({id:"pages.login.country.australia"}),value:"61",icon:"🇦🇺",code:"AU"},{label:r.formatMessage({id:"pages.login.country.newzealand"}),value:"64",icon:"🇳🇿",code:"NZ"}];return(0,E.jsx)(E.Fragment,{children:"mobile"===t&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)(V.Z,{gutter:16,children:[(0,E.jsx)(N.Z,{span:10,children:(0,E.jsx)(K.Z,{name:"country",options:Q,fieldProps:{size:"large",placeholder:r.formatMessage({id:"pages.login.country.placeholder",defaultMessage:"选择国家/地区"}),optionLabelProp:"label",optionItemRender:function(e){var t=e.value.includes("-")?e.value.split("-")[0]:e.value;return(0,E.jsxs)("div",{children:[(0,E.jsx)("span",{role:"img","aria-label":e.label,style:{marginRight:8},children:e.icon}),e.label," (+",t,")"]})}},initialValue:"86"})}),(0,E.jsx)(N.Z,{span:14,children:(0,E.jsx)(L.Z,{fieldProps:{size:"large",prefix:(0,E.jsx)(D.Z,{})},name:"mobile",placeholder:r.formatMessage({id:"pages.login.phoneNumber.placeholder",defaultMessage:"手机号"}),rules:[{required:!0,message:(0,E.jsx)(v.FormattedMessage,{id:"pages.login.phoneNumber.required",defaultMessage:"请输入手机号!"})},{pattern:/^1\d{10}$/,message:(0,E.jsx)(v.FormattedMessage,{id:"pages.login.phoneNumber.invalid",defaultMessage:"手机号格式错误!"})}]})})]}),(0,E.jsx)(g.A.Item,{name:"captchaCode",rules:[{required:!0,message:r.formatMessage({id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],children:(0,E.jsx)(I.Z,{onKaptchaChange:R,onKaptchaCheck:B})}),(0,E.jsx)(A.Z,{fieldProps:{size:"large",prefix:(0,E.jsx)(T.Z,{})},captchaProps:{size:"large",disabled:!k},placeholder:r.formatMessage({id:"pages.login.captcha.placeholder",defaultMessage:"请输入验证码"}),captchaTextRender:function(e,t){return e?"".concat(t," ").concat(r.formatMessage({id:"pages.getCaptchaSecondText",defaultMessage:"获取验证码"})):r.formatMessage({id:"pages.login.phoneLogin.getVerificationCode",defaultMessage:"获取验证码"})},phoneName:"mobile",name:"code",rules:[{required:!0,message:(0,E.jsx)(v.FormattedMessage,{id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],fieldRef:s,onGetCaptcha:function(){var e=c()(o()().mark((function e(t){var a,n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("mobile:",t),!t||11!==t.length){e.next=13;break}return a={mobile:t,type:U.UUF,captchaUid:p,captchaCode:x,deviceUid:P,platform:U.iw8},e.next=5,(0,d.Y7)(a);case 5:if(200===(n=e.sent).code){e.next=10;break}return Z.yw.error(r.formatMessage({id:n.message,defaultMessage:n.message})),setTimeout((function(){var e;console.log("endCaptchaTiming"),null===(e=s.current)||void 0===e||e.endTiming()}),2),e.abrupt("return");case 10:Z.yw.success(r.formatMessage({id:n.message,defaultMessage:n.message})),e.next=14;break;case 13:Z.yw.error("手机号格式错误");case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}),(0,E.jsx)(z.Z,{message:(0,E.jsx)(v.FormattedMessage,{id:"pages.login.auto.register",defaultMessage:"Mobile will auto register"}),type:"info"})]})})},Q=a(88958),H=function(e){var t=e.loginType,a=(0,v.useIntl)(),n=(0,S.t)((function(e){return e.setAccessToken})),s=(0,C.L)((function(e){return e.setUserInfo})),i=(0,v.useModel)("@@initialState").setInitialState,l=(0,C.L)((function(e){return{deviceUid:e.deviceUid,setDeviceUid:e.setDeviceUid}})),g=l.deviceUid,p=l.setDeviceUid,f=(0,M.useState)("login"),h=u()(f,2),m=h[0],x=h[1],w=(0,M.useState)("loading"),y=u()(w,2),b=y[0],k=y[1],P=function(){var e=c()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t&&(0,j.flushSync)((function(){i((function(e){return r()(r()({},e),{},{userInfo:t})}))}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),I=function(){var e=c()(o()().mark((function e(t){var i,c,l;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("handleScanLogin values: ",t),Z.yw.loading(a.formatMessage({id:"logging",defaultMessage:"logging..."})),e.next=4,(0,d.kZ)(r()({},t));case 4:i=e.sent,console.log("LoginMobileResult scanLogin:",i.data),200===i.code?(Z.yw.destroy(),Z.yw.success(a.formatMessage({id:"login.success",defaultMessage:"login success"})),n(null==i?void 0:i.data.accessToken),P(null==i||null===(c=i.data)||void 0===c?void 0:c.user),s(null==i||null===(l=i.data)||void 0===l?void 0:l.user),v.history.push("/")):(Z.yw.destroy(),Z.yw.error(i.message));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),F=function(){var e=c()(o()().mark((function e(a){var n,r,s;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("scan"==t){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,(0,d.Tm)(g,a);case 4:if(200!==(n=e.sent).code){e.next=30;break}if(r=n.data,console.log("handleScanQuery status: ",r.status),r.status!==U.C20){e.next=13;break}k("active"),x("deviceUid="+r.deviceUid+"&code="+r.content),e.next=28;break;case 13:if(r.status!==U.FM$){e.next=17;break}k("scanned"),e.next=28;break;case 17:if(r.status!==U.PhI){e.next=21;break}k("expired"),e.next=28;break;case 21:if(r.status!==U.Cml){e.next=28;break}if(void 0!==r.receiver&&""!==r.receiver){e.next=24;break}return e.abrupt("return");case 24:return s={mobile:r.receiver,code:r.content,platform:U.iw8},console.log("login scan info:",s),e.next=28,I(s);case 28:e.next=31;break;case 30:Z.yw.error(n.message);case 31:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,M.useEffect)((function(){console.log("scan deviceUid:",g),void 0!==g&&""!==g||p((0,q.Zx)()),F(!1);var e=setInterval((function(){F(!1)}),3e3);return function(){clearInterval(e)}}),[t,g]),(0,E.jsx)(E.Fragment,{children:"scan"===t&&(0,E.jsx)(E.Fragment,{children:(0,E.jsx)(Q.Z,{style:{margin:"auto"},value:m,status:b,onRefresh:function(){console.log("onRefresh"),F(!0)}})})})},G=a(70185),W=a(44521),Y=a(99749),O=a(11757),$={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},J=a(54183),X=function(e,t){return M.createElement(J.Z,(0,O.Z)({},e,{ref:t,icon:$}))};var _=M.forwardRef(X),ee=a(85954),te=function(){var e=x.Z.useToken().token,t=(0,M.useContext)(G.I),a=t.isCustomServer,n=t.setIsCustomServer,r=g.A.useForm(),s=u()(r,1)[0],o=(0,M.useState)(!1),i=u()(o,2),c=i[0],l=i[1],d=(0,M.useState)(""),p=u()(d,2),f=p[0],h=p[1],m=(0,M.useState)(""),v=u()(m,2),w=(v[0],v[1]);(0,M.useEffect)((function(){f&&f.length>0&&(s.setFieldsValue({apiUrl:f}),console.log("apiUrl:",f))}),[f]),(0,M.useEffect)((function(){if(a){var e=localStorage.getItem(U.Ss2);"true"===e&&(l(!0),s.setFieldsValue({isCustomServerEnabled:!0})),console.log("isCustomServer customEnabled:",e);var t=localStorage.getItem(U.DuM);t&&s.setFieldsValue({apiUrl:(0,q.Qj)(t)});var n=localStorage.getItem(U.sZT);n&&s.setFieldsValue({websocketUrl:(0,q.Qj)(n)})}}),[a]);return(0,E.jsx)("div",{className:"ant-pro-form-server-container",style:{backgroundColor:e.colorBgContainer,display:"flex",justifyContent:"center",flexDirection:"column",height:"100%",width:"80%",marginLeft:"10%"},children:(0,E.jsxs)(g.A,{className:"ant-pro-form-server-main",form:s,submitter:{render:function(e,t){return console.log("props:",e,t),(0,E.jsxs)("div",{style:{display:"flex",justifyContent:"center",gap:"8px"},children:[(0,E.jsx)(y.ZP,{icon:(0,E.jsx)(_,{}),onClick:function(){console.log("switch server"),n((function(e){return!e}))},children:"返回"},"back"),(0,E.jsx)(y.ZP,{type:"primary",onClick:function(){var t=e.form.getFieldValue("apiUrl");t=(0,q.Qj)(t.trim());var a=e.form.getFieldValue("websocketUrl");a=(0,q.Qj)(a.trim()),t&&t.trim().length>0&&a&&a.trim().length>0?(localStorage.setItem(U.DuM,t),localStorage.setItem(U.sZT,a),localStorage.setItem(U.Ss2,"true"),Z.yw.success("保存成功")):Z.yw.error("请输入正确的服务器地址")},children:"保存"},"submit"),(0,E.jsx)(y.ZP,{onClick:function(){var t;null===(t=e.form)||void 0===t||t.resetFields(),h(""),localStorage.setItem(U.Ss2,"false"),localStorage.setItem(U.DuM,""),localStorage.setItem(U.sZT,""),Z.yw.success("重置成功,已恢复默认云服务器")},children:"重置"},"reset"),(0,E.jsx)(y.ZP,{onClick:function(){window.open("https://www.weiyuai.cn/docs/zh-CN/docs/manual/agent/auth/login")},children:"帮助"},"help")]})}},children:[(0,E.jsx)(ee.Z,{name:"isCustomServerEnabled",fieldProps:{onChange:function(e){console.log("e:",e),function(e){if(console.log("handleCustomServerChange e:",e),l(e.target.checked),e.target.checked){var t=localStorage.getItem(U.DuM);t&&s.setFieldsValue({apiUrl:(0,q.Qj)(t)});var a=localStorage.getItem(U.sZT);a&&s.setFieldsValue({websocketUrl:(0,q.Qj)(a)}),console.log("initData apiUrl:",t,"websocketUrl:",a)}else localStorage.setItem(U.Ss2,"false")}(e)}},children:"是否启用自定义服务器"}),c&&(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(L.Z,{name:"apiUrl",label:"API 服务器地址(例如:http://127.0.0.1:9003 或 https://api.bytedesk.com)",fieldProps:{disabled:!c,placeholder:"http://127.0.0.1:9003",onChange:function(e){return h(e.target.value)}}}),(0,E.jsx)(L.Z,{name:"websocketUrl",label:"WebSocket 服务器地址(例如:ws://127.0.0.1:9885/websocket 或 wss://api.bytedesk.com/websocket)",fieldProps:{disabled:!c,placeholder:"ws://127.0.0.1:9885/websocket",onChange:function(e){return w(e.target.value)}}})]})]})})},ae=a(11184),ne=a(16439),re=x.Z.defaultAlgorithm,se=x.Z.darkAlgorithm,oe=function(){var e=(0,m.l)((function(e){var t=e.token;return{width:42,height:42,lineHeight:"42px",position:"fixed",right:16,borderRadius:t.borderRadius,":hover":{backgroundColor:t.colorBgTextHover}}}));return(0,E.jsx)("div",{className:e,"data-lang":!0,children:v.SelectLang&&(0,E.jsx)(v.SelectLang,{})})},ie=function(){var e=(0,v.useIntl)(),t=g.A.useForm(),a=u()(t,1)[0],n=x.Z.useToken().token,s=(0,P.Z)().isDarkMode,i=(0,ae.M)(),l=i.config,m=i.updateConfig,b=((0,M.useContext)(G.I).isLoggedIn,(0,M.useState)("https://www.weiyuai.cn/logo.png")),k=u()(b,2),I=k[0],F=k[1],T=(0,M.useState)(""),L=u()(T,2),D=L[0],K=L[1],A=(0,M.useState)(""),V=u()(A,2),N=(V[0],V[1]),z=(0,S.t)((function(e){return e.setAccessToken})),Q=(0,M.useContext)(G.I),O=Q.isCustomServer,$=Q.setIsCustomServer,J=(0,M.useState)("mobile"),X=u()(J,2),_=X[0],ee=X[1],re=(0,v.useModel)("@@initialState").setInitialState,se=(0,M.useState)(!1),ie=u()(se,2),ce=ie[0],le=(ie[1],(0,C.L)((function(e){return{deviceUid:e.deviceUid,setDeviceUid:e.setDeviceUid,setUserInfo:e.setUserInfo}}))),ue=le.deviceUid,de=le.setDeviceUid,ge=le.setUserInfo,pe=(0,M.useState)(!1),fe=u()(pe,2),he=fe[0],me=fe[1],ve=(0,M.useState)(""),xe=u()(ve,2),we=xe[0],ye=xe[1],be=function(){var e=c()(o()().mark((function e(t,n){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:ye(t),a.setFieldValue("captchaCode",n);case 2:case"end":return e.stop()}}),e)})));return function(t,a){return e.apply(this,arguments)}}(),ke=function(){var e=c()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("handleKaptchaCheck:",t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Me=[{key:"account",label:e.formatMessage({id:"pages.login.accountLogin.tab",defaultMessage:"账户密码登录"}),children:(0,E.jsx)(R,{loginType:_,onKaptchaChange:be,onKaptchaCheck:ke})},{key:"mobile",label:e.formatMessage({id:"pages.login.phoneLogin.tab",defaultMessage:"手机号登录"}),children:(0,E.jsx)(B,{loginType:_,onKaptchaChange:be,onKaptchaCheck:ke})}];Me.push({key:"scan",label:e.formatMessage({id:"pages.login.scanLogin.tab",defaultMessage:"扫码登录"}),children:(0,E.jsx)(H,{loginType:_})});(0,p.uK)(n.colorTextBase,.2);var je=function(){var t=c()(o()().mark((function t(){var a,n,r,s,i,c,l,u,d;return o()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return void 0!==ue&&""!==ue||de((0,q.Zx)()),t.next=3,(0,W.Xs)();case 3:null!=(n=t.sent)&&null!==(a=n.custom)&&void 0!==a&&a.enabled?(null!=n&&null!==(r=n.custom)&&void 0!==r&&r.logo?F(null==n||null===(l=n.custom)||void 0===l?void 0:l.logo):F("https://www.weiyuai.cn/logo.png"),null!=n&&null!==(s=n.custom)&&void 0!==s&&s.name?K(null==n||null===(u=n.custom)||void 0===u?void 0:u.name):K(e.formatMessage({id:"app.title"})),null!=n&&null!==(i=n.custom)&&void 0!==i&&i.description?N(null==n||null===(d=n.custom)||void 0===d?void 0:d.description):N(e.formatMessage({id:"pages.layouts.userLayout.title"})),null!=n&&null!==(c=n.custom)&&void 0!==c&&c.showRightCornerChat||m({bubbleConfig:{show:!1},buttonConfig:{show:!1}})):(F("https://www.weiyuai.cn/logo.png"),K(e.formatMessage({id:"app.title"})),N(e.formatMessage({id:"pages.layouts.userLayout.title"}))),(0,W.ME)();case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();(0,M.useEffect)((function(){(0,q.pr)(),je()}),[]);var Ce=function(){var e=c()(o()().mark((function e(t){return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t&&(0,j.flushSync)((function(){re((function(e){return r()(r()({},e),{},{userInfo:t})}))}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ze=function(){var t=c()(o()().mark((function t(a){var n;return o()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,he){t.next=4;break}return Z.yw.error("请阅读并同意隐私协议"),t.abrupt("return");case 4:return Z.yw.loading(e.formatMessage({id:"logging",defaultMessage:"logging..."})),t.next=7,(0,d.x4)(r()({},a));case 7:n=t.sent,console.log("LoginResult:",n),200===n.code?(Z.yw.destroy(),Z.yw.success(e.formatMessage({id:"login.success",defaultMessage:"login success"})),z(n.data.accessToken),Ce(n.data.user),ge(n.data.user),v.history.push("/")):(Z.yw.destroy(),Z.yw.error(e.formatMessage({id:n.message,defaultMessage:n.message}))),t.next=16;break;case 12:t.prev=12,t.t0=t.catch(0),console.log(t.t0),Z.yw.error(e.formatMessage({id:"login.error",defaultMessage:"login failed"}));case 16:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(e){return t.apply(this,arguments)}}(),Se=function(){var t=c()(o()().mark((function t(a){var n,s,i;return o()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,he){t.next=4;break}return Z.yw.error("请阅读并同意隐私协议"),t.abrupt("return");case 4:return Z.yw.loading(e.formatMessage({id:"logging",defaultMessage:"logging..."})),t.next=7,(0,d.N9)(r()({},a));case 7:n=t.sent,console.log("LoginMobileResult:",n),200===n.code?(Z.yw.destroy(),Z.yw.success(e.formatMessage({id:"login.success",defaultMessage:"login success"})),z(null==n?void 0:n.data.accessToken),Ce(null==n||null===(s=n.data)||void 0===s?void 0:s.user),ge(null==n||null===(i=n.data)||void 0===i?void 0:i.user),v.history.push("/")):(Z.yw.destroy(),Z.yw.error(e.formatMessage({id:n.message,defaultMessage:n.message}))),t.next=16;break;case 12:t.prev=12,t.t0=t.catch(0),console.log(t.t0),Z.yw.error(e.formatMessage({id:"login.error",defaultMessage:"login failed"}));case 16:case"end":return t.stop()}}),t,null,[[0,12]])})));return function(e){return t.apply(this,arguments)}}();return(0,E.jsxs)(f._Y,{hashed:!1,dark:s,children:[(0,E.jsx)(oe,{}),(0,E.jsxs)("div",{style:{backgroundColor:n.colorBgContainer,textAlign:"center",height:"100%",backgroundImage:"url('/admin/assets/images/bg-wide.png')"},children:[!O&&(0,E.jsxs)(h.U,{form:a,contentStyle:{minWidth:400,maxWidth:"75vw"},logo:(0,E.jsx)("img",{alt:"logo",src:I}),title:D,actions:ce&&!1,onFinish:function(){var e=c()(o()().mark((function e(t){var a,n;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("login values:",t),"account"!==_){e.next=8;break}return a={username:t.username,password:t.password,captchaUid:we,captchaCode:t.captchaCode,deviceUid:ue,platform:U.iw8},console.log("login info:",a),e.next=6,Ze(a);case 6:e.next=12;break;case 8:return n={mobile:t.mobile,code:t.code,captchaUid:we,captchaCode:t.captchaCode,deviceUid:ue,platform:U.iw8},console.log("login mobile info:",n),e.next=12,Se(n);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),children:[(0,E.jsx)(w.Z,{activeKey:_,onChange:ee,centered:!0,items:Me}),(0,E.jsx)("div",{style:{marginTop:14,marginBottom:14},children:(0,E.jsxs)("div",{style:{float:"right",marginBottom:24},children:[(0,E.jsx)(Y.Z,{onChange:function(e){console.log("checked = ".concat(e.target.checked)),me(e.target.checked)},children:(0,E.jsx)(y.ZP,{size:"small",type:"link",onClick:function(){window.open("https://www.weiyuai.cn/protocol.html")},children:"同意《用户隐私&协议》"})}),ce&&(0,E.jsx)(v.Link,{to:"/auth/register",children:(0,E.jsx)(v.FormattedMessage,{id:"pages.login.registerAccount",defaultMessage:"注册 "})}),(0,E.jsx)(y.ZP,{type:"link",style:{float:"right"},onClick:function(){console.log("switch server"),$((function(e){return!e}))},children:"切换服务器"})]})})]}),O&&(0,E.jsx)(te,{}),(0,E.jsx)(ne.Q,r()(r()({},l),{},{onInit:function(){console.log("ByteDesk initialized admin")}}))]})]})},ce=function(){var e=(0,P.Z)().isDarkMode;return(0,E.jsx)(G.w,{children:(0,E.jsx)(b.ZP,{theme:{algorithm:e?se:re},children:(0,E.jsxs)(k.Z,{style:{height:"100%"},children:[(0,E.jsx)(Z.ZP,{}),(0,E.jsx)(ie,{})]})})})}}}]); \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/p__Dashboard__Setting__Certification__index.b36d21b7.async.js b/starter/src/main/resources/static/admin/p__Dashboard__Setting__Certification__index.b36d21b7.async.js new file mode 100644 index 0000000000..27bb256e0e --- /dev/null +++ b/starter/src/main/resources/static/admin/p__Dashboard__Setting__Certification__index.b36d21b7.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[9400],{26978:function(e,n,t){t.d(n,{Z:function(){return c}});var r=t(11757),a=t(44194),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},i=t(54183),o=function(e,n){return a.createElement(i.Z,(0,r.Z)({},e,{ref:n,icon:s}))};var c=a.forwardRef(o)},40795:function(e,n,t){t.d(n,{Z:function(){return c}});var r=t(11757),a=t(44194),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"},i=t(54183),o=function(e,n){return a.createElement(i.Z,(0,r.Z)({},e,{ref:n,icon:s}))};var c=a.forwardRef(o)},58087:function(e,n,t){var r=t(11757),a=t(44194),s=t(15323),i=t(54183),o=function(e,n){return a.createElement(i.Z,(0,r.Z)({},e,{ref:n,icon:s.Z}))},c=a.forwardRef(o);n.Z=c},59129:function(e,n,t){var r=t(17082),a=t(72298),s=t(48921),i=t(73457),o=t(42601),c=t(57178),l=t(52288),u=t(75365),f=t(44194),d=t(69088),p=t(31549),g=["rules","name","phoneName","fieldProps","onTiming","captchaTextRender","captchaProps"],h=f.forwardRef((function(e,n){var t=c.Z.useFormInstance(),d=(0,f.useState)(e.countDown||60),h=(0,o.Z)(d,2),m=h[0],v=h[1],x=(0,f.useState)(!1),Z=(0,o.Z)(x,2),w=Z[0],y=Z[1],b=(0,f.useState)(),M=(0,o.Z)(b,2),k=M[0],j=M[1],C=(e.rules,e.name,e.phoneName),P=e.fieldProps,F=e.onTiming,T=e.captchaTextRender,S=void 0===T?function(e,n){return e?"".concat(n," 秒后重新获取"):"获取验证码"}:T,V=e.captchaProps,I=(0,i.Z)(e,g),U=function(){var e=(0,s.Z)((0,a.Z)().mark((function e(n){return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,j(!0),e.next=4,I.onGetCaptcha(n);case 4:j(!1),y(!0),e.next=13;break;case 8:e.prev=8,e.t0=e.catch(0),y(!1),j(!1),console.log(e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(n){return e.apply(this,arguments)}}();return(0,f.useImperativeHandle)(n,(function(){return{startTiming:function(){return y(!0)},endTiming:function(){return y(!1)}}})),(0,f.useEffect)((function(){var n=0,t=e.countDown;return w&&(n=window.setInterval((function(){v((function(e){return e<=1?(y(!1),clearInterval(n),t||60):e-1}))}),1e3)),function(){return clearInterval(n)}}),[w]),(0,f.useEffect)((function(){F&&F(m)}),[m,F]),(0,p.jsxs)("div",{style:(0,r.Z)((0,r.Z)({},null==P?void 0:P.style),{},{display:"flex",alignItems:"center"}),ref:n,children:[(0,p.jsx)(l.Z,(0,r.Z)((0,r.Z)({},P),{},{style:(0,r.Z)({flex:1,transition:"width .3s",marginRight:8},null==P?void 0:P.style)})),(0,p.jsx)(u.ZP,(0,r.Z)((0,r.Z)({style:{display:"block"},disabled:w,loading:k},V),{},{onClick:(0,s.Z)((0,a.Z)().mark((function e(){var n;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!C){e.next=9;break}return e.next=4,t.validateFields([C].flat(1));case 4:return n=t.getFieldValue([C].flat(1)),e.next=7,U(n);case 7:e.next=11;break;case 9:return e.next=11,U("");case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(0),console.log(e.t0);case 16:case"end":return e.stop()}}),e,null,[[0,13]])}))),children:S(w,m)}))]})})),m=(0,d.G)(h);n.Z=m},4499:function(e,n,t){var r=t(42601),a=t(17082),s=t(73457),i=t(46015),o=t(57178),c=t(98036),l=t(36490),u=t(44194),f=t(35175),d=t(31549),p=["fieldProps","proFieldProps"],g=["fieldProps","proFieldProps"],h="text",m=function(e){var n=(0,i.Z)(e.open||!1,{value:e.open,onChange:e.onOpenChange}),t=(0,r.Z)(n,2),s=t[0],l=t[1];return(0,d.jsx)(o.Z.Item,{shouldUpdate:!0,noStyle:!0,children:function(n){var t,r=n.getFieldValue(e.name||[]);return(0,d.jsx)(c.Z,(0,a.Z)((0,a.Z)({getPopupContainer:function(e){return e&&e.parentNode?e.parentNode:e},onOpenChange:function(e){return l(e)},content:(0,d.jsxs)("div",{style:{padding:"4px 0"},children:[null===(t=e.statusRender)||void 0===t?void 0:t.call(e,r),e.strengthText?(0,d.jsx)("div",{style:{marginTop:10},children:(0,d.jsx)("span",{children:e.strengthText})}):null]}),overlayStyle:{width:240},placement:"rightTop"},e.popoverProps),{},{open:s,children:e.children}))}})},v=function(e){var n=e.fieldProps,t=e.proFieldProps,r=(0,s.Z)(e,p);return(0,d.jsx)(f.Z,(0,a.Z)({valueType:h,fieldProps:n,filedConfig:{valueType:h},proFieldProps:t},r))};v.Password=function(e){var n=e.fieldProps,t=e.proFieldProps,i=(0,s.Z)(e,g),o=(0,u.useState)(!1),c=(0,r.Z)(o,2),p=c[0],v=c[1];return null!=n&&n.statusRender&&i.name?(0,d.jsx)(m,{name:i.name,statusRender:null==n?void 0:n.statusRender,popoverProps:null==n?void 0:n.popoverProps,strengthText:null==n?void 0:n.strengthText,open:p,onOpenChange:v,children:(0,d.jsx)("div",{children:(0,d.jsx)(f.Z,(0,a.Z)({valueType:"password",fieldProps:(0,a.Z)((0,a.Z)({},(0,l.Z)(n,["statusRender","popoverProps","strengthText"])),{},{onBlur:function(e){var t;null==n||null===(t=n.onBlur)||void 0===t||t.call(n,e),v(!1)},onClick:function(e){var t;null==n||null===(t=n.onClick)||void 0===t||t.call(n,e),v(!0)}}),proFieldProps:t,filedConfig:{valueType:h}},i))})}):(0,d.jsx)(f.Z,(0,a.Z)({valueType:"password",fieldProps:n,proFieldProps:t,filedConfig:{valueType:h}},i))},v.displayName="ProFormComponent",n.Z=v},88678:function(e,n,t){t.d(n,{Z:function(){return Z}});var r=t(90819),a=t.n(r),s=t(89933),i=t.n(s),o=t(45332),c=t.n(o),l=t(55735),u=t(30921);function f(){return d.apply(this,arguments)}function d(){return(d=i()(a()().mark((function e(){return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/kaptcha/api/v1/get",{method:"GET",params:{client:l.bVn}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e,n){return g.apply(this,arguments)}function g(){return(g=i()(a()().mark((function e(n,t){return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/kaptcha/api/v1/check",{method:"POST",data:{captchaUid:n,captchaCode:t,client:l.bVn}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var h=t(58087),m=t(52288),v=t(44194),x=t(31549),Z=function(e){var n=e.onKaptchaChange,t=e.onKaptchaCheck,r=(0,u.useIntl)(),s=(0,v.useState)(),o=c()(s,2),l=o[0],d=o[1],g=(0,v.useState)(),Z=c()(g,2),w=Z[0],y=Z[1],b=function(){var e=i()(a()().mark((function e(){var n;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f();case 2:200===(n=e.sent).code&&(d(n.data.captchaUid),y(n.data.captchaImage));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M=function(){var e=i()(a()().mark((function e(n,r){var s;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(n,r);case 2:s=e.sent,console.log("checkCaptcha response",s),200===s.code?t&&t(!0):t&&t(!1);case 5:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}();(0,v.useEffect)((function(){b()}),[]);return(0,x.jsx)(x.Fragment,{children:w&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(m.Z,{onChange:function(e){n&&(n(l,e.target.value),e.target.value&&""!==e.target.value&&4===e.target.value.trim().length?M(l,e.target.value):t&&t(!1))},prefix:(0,x.jsx)(h.Z,{}),placeholder:r.formatMessage({id:"captcha",defaultMessage:"captcha"}),style:{width:"65%",float:"left",height:40},allowClear:!0}),(0,x.jsx)("img",{src:w,alt:"captcha",onClick:b})]})})}},76750:function(e,n,t){var r=t(55735),a=t(65461),s=t(30921);n.Z=function(){var e=(0,s.useIntl)();return{translateString:function(n){return null==n?n:n&&(null!=n&&n.startsWith(r.VoP)||null!=n&&n.startsWith("ROLE_"))?e.formatMessage({id:n,defaultMessage:n}):n},translateStringTranct:function(n){return null==n?n:null!=n&&n.startsWith(r.VoP)||null!=n&&n.startsWith("ROLE_")?(0,a.aS)(e.formatMessage({id:n,defaultMessage:n}),10):(0,a.aS)(n,10)}}}},21680:function(e,n,t){t.r(n),t.d(n,{default:function(){return U}});var r=t(8247),a=t(45332),s=t.n(a),i=t(51239),o=t(69169),c=t(4499),l=t(30921),u=t(44194),f=t(75365),d=t(90819),p=t.n(d),g=t(89933),h=t.n(g),m=t(86803),v=t(45739),x=t(67318),Z=t(88678),w=t(76750),y=t(40612),b=t(55735),M=t(40795),k=t(26978),j=t(59129),C=t(53530),P=t(31549),F=function(e){var n=e.open,t=e.onSubmit,r=e.onClose,a=(0,l.useIntl)(),f=o.A.useForm(),d=s()(f,1)[0],g=(0,w.Z)().translateString,F=(0,i.L)((function(e){return{userInfo:e.userInfo,deviceUid:e.deviceUid}})),T=F.userInfo,S=F.deviceUid,V=(0,y.u)((function(e){return e.currentOrg})),I=(0,u.useRef)(),U=(0,u.useState)(""),R=s()(U,2),E=R[0],z=R[1],A=(0,u.useState)(""),N=s()(A,2),q=N[0],O=N[1],K=(0,u.useState)(!1),L=s()(K,2),H=L[0],G=L[1],B=function(){setTimeout((function(){var e;console.log("endCaptchaTiming"),null===(e=I.current)||void 0===e||e.endTiming()}),2)};(0,u.useEffect)((function(){n?d.setFieldsValue({email:null==T?void 0:T.email}):(d.resetFields(),B())}),[n]);var W=function(){var e=h()(p()().mark((function e(n,t){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captchaUid",n," captchaValue",t),z(n),O(t);case 3:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),_=function(){var e=h()(p()().mark((function e(n){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captcha check result",n),G(n);case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),D=function(){var e=h()(p()().mark((function e(){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d.validateFields().then(function(){var e=h()(p()().mark((function e(n){var a,s;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("changeEmail:",n),a={email:n.email,code:n.code,platform:b.iw8},e.next=4,(0,x.Uk)(a);case 4:s=e.sent,console.log("changeEmail response:",s),200===s.code?(m.yw.success("Email verify successfully!"),t(n.email),r()):m.yw.error(g(s.message));case 7:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(C.Z,{title:a.formatMessage({id:"pages.settings.verify.email",defaultMessage:"验证邮箱"}),forceRender:!0,open:n,footer:null,onCancel:function(){r()},children:(0,P.jsxs)(o.A,{form:d,onFinish:function(){var e=h()(p()().mark((function e(n){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("changeEmail:",n),D();case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,P.jsx)(c.Z,{fieldProps:{size:"large",prefix:(0,P.jsx)(M.Z,{})},name:"email",placeholder:a.formatMessage({id:"pages.login.email.placeholder",defaultMessage:"邮箱"}),rules:[{required:!0,message:(0,P.jsx)(l.FormattedMessage,{id:"pages.login.email.required",defaultMessage:"请输入邮箱!"})},{pattern:/^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/,message:"邮箱格式不正确"},{max:50,message:"邮箱不得超过50字符"}],readonly:!0}),(0,P.jsx)(o.A.Item,{name:"captchaCode",rules:[],children:(0,P.jsx)(Z.Z,{onKaptchaChange:W,onKaptchaCheck:_})}),(0,P.jsx)(j.Z,{fieldProps:{size:"large",prefix:(0,P.jsx)(k.Z,{}),allowClear:!0},captchaProps:{size:"large",disabled:!H},placeholder:a.formatMessage({id:"pages.login.captcha.placeholder",defaultMessage:"请输入验证码"}),captchaTextRender:function(e,n){return e?"".concat(n," ").concat(a.formatMessage({id:"pages.getCaptchaSecondText",defaultMessage:"获取验证码"})):a.formatMessage({id:"pages.login.phoneLogin.getVerificationCode",defaultMessage:"获取验证码"})},phoneName:"email",name:"code",rules:[{required:!0,message:(0,P.jsx)(l.FormattedMessage,{id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],fieldRef:I,onGetCaptcha:function(){var e=h()(p()().mark((function e(n){var t,r;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("email:",n),!n){e.next=14;break}return t={email:n,type:b.UMe,captchaUid:E,captchaCode:q,deviceUid:S,userUid:null==T?void 0:T.uid,orgUid:null==V?void 0:V.uid,platform:b.iw8},e.next=5,(0,v.O8)(t);case 5:if(r=e.sent,console.log("sendEmailCode",r),200===r.code){e.next=11;break}return m.yw.error(g(r.message)),B(),e.abrupt("return");case 11:m.yw.success(g(r.message)),e.next=15;break;case 14:m.yw.error("手机号格式错误");case 15:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()})]})})})},T=function(e){var n=e.open,t=e.onSubmit,r=e.onClose,a=(0,l.useIntl)(),f=o.A.useForm(),d=s()(f,1)[0],g=(0,w.Z)().translateString,F=(0,i.L)((function(e){return{userInfo:e.userInfo,deviceUid:e.deviceUid}})),T=F.userInfo,S=F.deviceUid,V=(0,y.u)((function(e){return e.currentOrg})),I=(0,u.useRef)(),U=(0,u.useState)(""),R=s()(U,2),E=R[0],z=R[1],A=(0,u.useState)(""),N=s()(A,2),q=N[0],O=N[1],K=(0,u.useState)(!1),L=s()(K,2),H=L[0],G=L[1],B=function(){setTimeout((function(){var e;console.log("endCaptchaTiming"),null===(e=I.current)||void 0===e||e.endTiming()}),2)};(0,u.useEffect)((function(){n?d.setFieldsValue({mobile:null==T?void 0:T.mobile}):(d.resetFields(),B())}),[n]);var W=function(){var e=h()(p()().mark((function e(n,t){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captchaUid",n," captchaValue",t),z(n),O(t);case 3:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),_=function(){var e=h()(p()().mark((function e(n){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captcha check result",n),G(n);case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),D=function(){var e=h()(p()().mark((function e(){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d.validateFields().then(function(){var e=h()(p()().mark((function e(n){var a,s;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("changeMobile:",n),a={mobile:n.mobile,code:n.code,platform:b.iw8},e.next=4,(0,x.KF)(a);case 4:s=e.sent,console.log("changeMobile response:",s),200===s.code?(m.yw.success("Mobile verify successfully!"),t(n.mobile),r()):m.yw.error(g(s.message));case 7:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(C.Z,{title:a.formatMessage({id:"pages.settings.verify.mobile",defaultMessage:"验证手机号"}),forceRender:!0,open:n,footer:null,onCancel:function(){r()},children:(0,P.jsxs)(o.A,{form:d,onFinish:function(){var e=h()(p()().mark((function e(n){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("changeMobile:",n),D();case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,P.jsx)(c.Z,{fieldProps:{size:"large",prefix:(0,P.jsx)(M.Z,{})},name:"mobile",placeholder:a.formatMessage({id:"pages.login.phoneNumber.placeholder",defaultMessage:"手机号"}),rules:[{required:!0,message:(0,P.jsx)(l.FormattedMessage,{id:"pages.login.phoneNumber.required",defaultMessage:"请输入手机号!"})},{pattern:/^1\d{10}$/,message:(0,P.jsx)(l.FormattedMessage,{id:"pages.login.phoneNumber.invalid",defaultMessage:"手机号格式错误!"})}],readonly:!0}),(0,P.jsx)(o.A.Item,{name:"captchaCode",rules:[],children:(0,P.jsx)(Z.Z,{onKaptchaChange:W,onKaptchaCheck:_})}),(0,P.jsx)(j.Z,{fieldProps:{size:"large",prefix:(0,P.jsx)(k.Z,{}),allowClear:!0},captchaProps:{size:"large",disabled:!H},placeholder:a.formatMessage({id:"pages.login.captcha.placeholder",defaultMessage:"请输入验证码"}),captchaTextRender:function(e,n){return e?"".concat(n," ").concat(a.formatMessage({id:"pages.getCaptchaSecondText",defaultMessage:"获取验证码"})):a.formatMessage({id:"pages.login.phoneLogin.getVerificationCode",defaultMessage:"获取验证码"})},phoneName:"mobile",name:"code",rules:[{required:!0,message:(0,P.jsx)(l.FormattedMessage,{id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],fieldRef:I,onGetCaptcha:function(){var e=h()(p()().mark((function e(n){var t,r;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("mobile:",n),!n||11!==n.length){e.next=14;break}return t={mobile:n,type:b.aak,captchaUid:E,captchaCode:q,deviceUid:S,userUid:null==T?void 0:T.uid,orgUid:null==V?void 0:V.uid,platform:b.iw8},e.next=5,(0,v.Y7)(t);case 5:if(r=e.sent,console.log("sendMobileCode",r),200===r.code){e.next=11;break}return m.yw.error(g(r.message)),B(),e.abrupt("return");case 11:m.yw.success(g(r.message)),e.next=15;break;case 14:m.yw.error("手机号格式错误");case 15:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()})]})})})},S=function(){var e=(0,l.useIntl)(),n=(0,l.useNavigate)(),t=o.A.useForm(),r=s()(t,1)[0],a=(0,i.L)((function(e){return{userInfo:e.userInfo,setUserInfo:e.setUserInfo}})),d=a.userInfo,p=a.setUserInfo,g=(0,u.useState)(!1),h=s()(g,2),m=h[0],v=h[1],x=(0,u.useState)(!1),Z=s()(x,2),w=Z[0],y=Z[1];(0,u.useEffect)((function(){r.setFieldsValue({uid:d.uid,username:d.username,nickname:d.nickname,email:d.email,mobile:d.mobile})}),[]);return(0,P.jsxs)("div",{children:[(0,P.jsxs)(o.A,{form:r,submitter:!1,children:[(0,P.jsx)(c.Z,{name:"email",label:null!=d&&d.emailVerified?e.formatMessage({id:"email.verified",defaultMessage:"Email Verified"}):e.formatMessage({id:"email.unverified",defaultMessage:"email unverified"}),readonly:!0}),!(null!=d&&d.emailVerified)&&null!=d.email&&(0,P.jsx)(f.ZP,{onClick:function(){v(!0)},children:e.formatMessage({id:"pages.settings.verify.email",defaultMessage:"验证邮箱"})}),(0,P.jsx)(f.ZP,{type:"link",onClick:function(){n("/setting/profile")},children:"重置邮箱"}),(0,P.jsx)(c.Z,{name:"mobile",label:null!=d&&d.mobileVerified?e.formatMessage({id:"mobile.verified",defaultMessage:"Mobile Verified"}):e.formatMessage({id:"mobile.unverified",defaultMessage:"mobile unverified"}),readonly:!0}),!(null!=d&&d.mobileVerified)&&null!=d.mobile&&(0,P.jsx)(f.ZP,{onClick:function(){y(!0)},children:e.formatMessage({id:"pages.settings.verify.mobile",defaultMessage:"验证手机号"})}),(0,P.jsx)(f.ZP,{type:"link",onClick:function(){n("/setting/profile")},children:"重置手机号"})]}),m&&(0,P.jsx)(F,{open:m,onSubmit:function(e){v(!1),d.email=e,d.emailVerified=!0,p(d),r.setFieldValue("email",e)},onClose:function(){v(!1)}}),w&&(0,P.jsx)(T,{open:w,onSubmit:function(e){y(!1),d.mobile=e,d.mobileVerified=!0,p(d),r.setFieldValue("mobile",e)},onClose:function(){y(!1)}})]})},V=function(e){console.log(e)},I=[{key:"personal",label:"个人认证",children:(0,P.jsx)(S,{})}],U=function(){return(0,P.jsx)("div",{children:(0,P.jsx)(r.Z,{defaultActiveKey:"personal",items:I,onChange:V})})}}}]); \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/p__Dashboard__Setting__Certification__index.cedb749c.async.js b/starter/src/main/resources/static/admin/p__Dashboard__Setting__Certification__index.cedb749c.async.js deleted file mode 100644 index 2692b2827a..0000000000 --- a/starter/src/main/resources/static/admin/p__Dashboard__Setting__Certification__index.cedb749c.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[9400],{26978:function(e,n,t){t.d(n,{Z:function(){return c}});var r=t(11757),a=t(44194),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},s=t(54183),i=function(e,n){return a.createElement(s.Z,(0,r.Z)({},e,{ref:n,icon:o}))};var c=a.forwardRef(i)},40795:function(e,n,t){t.d(n,{Z:function(){return c}});var r=t(11757),a=t(44194),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"},s=t(54183),i=function(e,n){return a.createElement(s.Z,(0,r.Z)({},e,{ref:n,icon:o}))};var c=a.forwardRef(i)},58087:function(e,n,t){var r=t(11757),a=t(44194),o=t(15323),s=t(54183),i=function(e,n){return a.createElement(s.Z,(0,r.Z)({},e,{ref:n,icon:o.Z}))},c=a.forwardRef(i);n.Z=c},59129:function(e,n,t){var r=t(17082),a=t(72298),o=t(48921),s=t(73457),i=t(42601),c=t(57178),l=t(52288),u=t(75365),f=t(44194),d=t(69088),p=t(31549),g=["rules","name","phoneName","fieldProps","onTiming","captchaTextRender","captchaProps"],m=f.forwardRef((function(e,n){var t=c.Z.useFormInstance(),d=(0,f.useState)(e.countDown||60),m=(0,i.Z)(d,2),h=m[0],v=m[1],x=(0,f.useState)(!1),Z=(0,i.Z)(x,2),b=Z[0],y=Z[1],w=(0,f.useState)(),j=(0,i.Z)(w,2),C=j[0],M=j[1],k=(e.rules,e.name,e.phoneName),P=e.fieldProps,F=e.onTiming,I=e.captchaTextRender,T=void 0===I?function(e,n){return e?"".concat(n," 秒后重新获取"):"获取验证码"}:I,S=e.captchaProps,V=(0,s.Z)(e,g),U=function(){var e=(0,o.Z)((0,a.Z)().mark((function e(n){return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,M(!0),e.next=4,V.onGetCaptcha(n);case 4:M(!1),y(!0),e.next=13;break;case 8:e.prev=8,e.t0=e.catch(0),y(!1),M(!1),console.log(e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(n){return e.apply(this,arguments)}}();return(0,f.useImperativeHandle)(n,(function(){return{startTiming:function(){return y(!0)},endTiming:function(){return y(!1)}}})),(0,f.useEffect)((function(){var n=0,t=e.countDown;return b&&(n=window.setInterval((function(){v((function(e){return e<=1?(y(!1),clearInterval(n),t||60):e-1}))}),1e3)),function(){return clearInterval(n)}}),[b]),(0,f.useEffect)((function(){F&&F(h)}),[h,F]),(0,p.jsxs)("div",{style:(0,r.Z)((0,r.Z)({},null==P?void 0:P.style),{},{display:"flex",alignItems:"center"}),ref:n,children:[(0,p.jsx)(l.Z,(0,r.Z)((0,r.Z)({},P),{},{style:(0,r.Z)({flex:1,transition:"width .3s",marginRight:8},null==P?void 0:P.style)})),(0,p.jsx)(u.ZP,(0,r.Z)((0,r.Z)({style:{display:"block"},disabled:b,loading:C},S),{},{onClick:(0,o.Z)((0,a.Z)().mark((function e(){var n;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!k){e.next=9;break}return e.next=4,t.validateFields([k].flat(1));case 4:return n=t.getFieldValue([k].flat(1)),e.next=7,U(n);case 7:e.next=11;break;case 9:return e.next=11,U("");case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(0),console.log(e.t0);case 16:case"end":return e.stop()}}),e,null,[[0,13]])}))),children:T(b,h)}))]})})),h=(0,d.G)(m);n.Z=h},4499:function(e,n,t){var r=t(42601),a=t(17082),o=t(73457),s=t(46015),i=t(57178),c=t(98036),l=t(36490),u=t(44194),f=t(35175),d=t(31549),p=["fieldProps","proFieldProps"],g=["fieldProps","proFieldProps"],m="text",h=function(e){var n=(0,s.Z)(e.open||!1,{value:e.open,onChange:e.onOpenChange}),t=(0,r.Z)(n,2),o=t[0],l=t[1];return(0,d.jsx)(i.Z.Item,{shouldUpdate:!0,noStyle:!0,children:function(n){var t,r=n.getFieldValue(e.name||[]);return(0,d.jsx)(c.Z,(0,a.Z)((0,a.Z)({getPopupContainer:function(e){return e&&e.parentNode?e.parentNode:e},onOpenChange:function(e){return l(e)},content:(0,d.jsxs)("div",{style:{padding:"4px 0"},children:[null===(t=e.statusRender)||void 0===t?void 0:t.call(e,r),e.strengthText?(0,d.jsx)("div",{style:{marginTop:10},children:(0,d.jsx)("span",{children:e.strengthText})}):null]}),overlayStyle:{width:240},placement:"rightTop"},e.popoverProps),{},{open:o,children:e.children}))}})},v=function(e){var n=e.fieldProps,t=e.proFieldProps,r=(0,o.Z)(e,p);return(0,d.jsx)(f.Z,(0,a.Z)({valueType:m,fieldProps:n,filedConfig:{valueType:m},proFieldProps:t},r))};v.Password=function(e){var n=e.fieldProps,t=e.proFieldProps,s=(0,o.Z)(e,g),i=(0,u.useState)(!1),c=(0,r.Z)(i,2),p=c[0],v=c[1];return null!=n&&n.statusRender&&s.name?(0,d.jsx)(h,{name:s.name,statusRender:null==n?void 0:n.statusRender,popoverProps:null==n?void 0:n.popoverProps,strengthText:null==n?void 0:n.strengthText,open:p,onOpenChange:v,children:(0,d.jsx)("div",{children:(0,d.jsx)(f.Z,(0,a.Z)({valueType:"password",fieldProps:(0,a.Z)((0,a.Z)({},(0,l.Z)(n,["statusRender","popoverProps","strengthText"])),{},{onBlur:function(e){var t;null==n||null===(t=n.onBlur)||void 0===t||t.call(n,e),v(!1)},onClick:function(e){var t;null==n||null===(t=n.onClick)||void 0===t||t.call(n,e),v(!0)}}),proFieldProps:t,filedConfig:{valueType:m}},s))})}):(0,d.jsx)(f.Z,(0,a.Z)({valueType:"password",fieldProps:n,proFieldProps:t,filedConfig:{valueType:m}},s))},v.displayName="ProFormComponent",n.Z=v},88678:function(e,n,t){t.d(n,{Z:function(){return Z}});var r=t(90819),a=t.n(r),o=t(89933),s=t.n(o),i=t(45332),c=t.n(i),l=t(55735),u=t(30921);function f(){return d.apply(this,arguments)}function d(){return(d=s()(a()().mark((function e(){return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/kaptcha/api/v1/get",{method:"GET",params:{client:l.bVn}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e,n){return g.apply(this,arguments)}function g(){return(g=s()(a()().mark((function e(n,t){return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/kaptcha/api/v1/check",{method:"POST",data:{captchaUid:n,captchaCode:t,client:l.bVn}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var m=t(58087),h=t(52288),v=t(44194),x=t(31549),Z=function(e){var n=e.onKaptchaChange,t=e.onKaptchaCheck,r=(0,u.useIntl)(),o=(0,v.useState)(),i=c()(o,2),l=i[0],d=i[1],g=(0,v.useState)(),Z=c()(g,2),b=Z[0],y=Z[1],w=function(){var e=s()(a()().mark((function e(){var n;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,f();case 2:200===(n=e.sent).code&&(d(n.data.captchaUid),y(n.data.captchaImage));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),j=function(){var e=s()(a()().mark((function e(n,r){var o;return a()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(n,r);case 2:o=e.sent,console.log("checkCaptcha response",o),200===o.code?t&&t(!0):t&&t(!1);case 5:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}();(0,v.useEffect)((function(){w()}),[]);return(0,x.jsx)(x.Fragment,{children:b&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.Z,{onChange:function(e){n&&(n(l,e.target.value),e.target.value&&""!==e.target.value&&4===e.target.value.trim().length?j(l,e.target.value):t&&t(!1))},prefix:(0,x.jsx)(m.Z,{}),placeholder:r.formatMessage({id:"captcha",defaultMessage:"captcha"}),style:{width:"65%",float:"left",height:40},allowClear:!0}),(0,x.jsx)("img",{src:b,alt:"captcha",onClick:w})]})})}},76750:function(e,n,t){var r=t(55735),a=t(65461),o=t(30921);n.Z=function(){var e=(0,o.useIntl)();return{translateString:function(n){return null==n?n:n&&(null!=n&&n.startsWith(r.VoP)||null!=n&&n.startsWith("ROLE_"))?e.formatMessage({id:n,defaultMessage:n}):n},translateStringTranct:function(n){return null==n?n:null!=n&&n.startsWith(r.VoP)||null!=n&&n.startsWith("ROLE_")?(0,a.aS)(e.formatMessage({id:n,defaultMessage:n}),10):(0,a.aS)(n,10)}}}},21680:function(e,n,t){t.r(n),t.d(n,{default:function(){return U}});var r=t(8247),a=t(45332),o=t.n(a),s=t(51239),i=t(69169),c=t(4499),l=t(30921),u=t(44194),f=t(75365),d=t(90819),p=t.n(d),g=t(89933),m=t.n(g),h=t(86803),v=t(45739),x=t(67318),Z=t(88678),b=t(76750),y=t(40612),w=t(55735),j=t(40795),C=t(26978),M=t(59129),k=t(53530),P=t(31549),F=function(e){var n=e.open,t=e.onSubmit,r=e.onClose,a=(0,l.useIntl)(),f=i.A.useForm(),d=o()(f,1)[0],g=(0,b.Z)().translateString,F=(0,s.L)((function(e){return{userInfo:e.userInfo,deviceUid:e.deviceUid}})),I=F.userInfo,T=F.deviceUid,S=(0,y.u)((function(e){return e.currentOrg})),V=(0,u.useRef)(),U=(0,u.useState)(""),E=o()(U,2),O=E[0],R=E[1],z=(0,u.useState)(""),A=o()(z,2),N=A[0],q=A[1],K=(0,u.useState)(!1),L=o()(K,2),$=L[0],H=L[1],W=function(){setTimeout((function(){var e;console.log("endCaptchaTiming"),null===(e=V.current)||void 0===e||e.endTiming()}),2)};(0,u.useEffect)((function(){n?d.setFieldsValue({email:null==I?void 0:I.email}):(d.resetFields(),W())}),[n]);var B=function(){var e=m()(p()().mark((function e(n,t){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captchaUid",n," captchaValue",t),R(n),q(t);case 3:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),G=function(){var e=m()(p()().mark((function e(n){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captcha check result",n),H(n);case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),_=function(){var e=m()(p()().mark((function e(){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d.validateFields().then(function(){var e=m()(p()().mark((function e(n){var a,o;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("changeEmail:",n),a={email:n.email,code:n.code,platform:w.iw8},e.next=4,(0,x.Uk)(a);case 4:o=e.sent,console.log("changeEmail response:",o),200===o.code?(h.yw.success("Email verify successfully!"),t(n.email),r()):h.yw.error(g(o.message));case 7:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(k.Z,{title:a.formatMessage({id:"pages.settings.verify.email",defaultMessage:"验证邮箱"}),forceRender:!0,open:n,footer:null,onCancel:function(){r()},children:(0,P.jsxs)(i.A,{form:d,onFinish:function(){var e=m()(p()().mark((function e(n){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("changeEmail:",n),_();case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,P.jsx)(c.Z,{fieldProps:{size:"large",prefix:(0,P.jsx)(j.Z,{})},name:"email",placeholder:a.formatMessage({id:"pages.login.email.placeholder",defaultMessage:"邮箱"}),rules:[{required:!0,message:(0,P.jsx)(l.FormattedMessage,{id:"pages.login.email.required",defaultMessage:"请输入邮箱!"})},{pattern:/^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/,message:"邮箱格式不正确"},{max:50,message:"邮箱不得超过50字符"}],readonly:!0}),(0,P.jsx)(i.A.Item,{name:"captchaCode",rules:[],children:(0,P.jsx)(Z.Z,{onKaptchaChange:B,onKaptchaCheck:G})}),(0,P.jsx)(M.Z,{fieldProps:{size:"large",prefix:(0,P.jsx)(C.Z,{}),allowClear:!0},captchaProps:{size:"large",disabled:!$},placeholder:a.formatMessage({id:"pages.login.captcha.placeholder",defaultMessage:"请输入验证码"}),captchaTextRender:function(e,n){return e?"".concat(n," ").concat(a.formatMessage({id:"pages.getCaptchaSecondText",defaultMessage:"获取验证码"})):a.formatMessage({id:"pages.login.phoneLogin.getVerificationCode",defaultMessage:"获取验证码"})},phoneName:"email",name:"code",rules:[{required:!0,message:(0,P.jsx)(l.FormattedMessage,{id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],fieldRef:V,onGetCaptcha:function(){var e=m()(p()().mark((function e(n){var t,r;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("email:",n),!n){e.next=14;break}return t={email:n,type:w.UMe,captchaUid:O,captchaCode:N,deviceUid:T,userUid:null==I?void 0:I.uid,orgUid:null==S?void 0:S.uid,platform:w.iw8},e.next=5,(0,v.O8)(t);case 5:if(r=e.sent,console.log("sendEmailCode",r),200===r.code){e.next=11;break}return h.yw.error(g(r.message)),W(),e.abrupt("return");case 11:h.yw.success(g(r.message)),e.next=15;break;case 14:h.yw.error("手机号格式错误");case 15:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()})]})})})},I=function(e){var n=e.open,t=e.onSubmit,r=e.onClose,a=(0,l.useIntl)(),f=i.A.useForm(),d=o()(f,1)[0],g=(0,b.Z)().translateString,F=(0,s.L)((function(e){return{userInfo:e.userInfo,deviceUid:e.deviceUid}})),I=F.userInfo,T=F.deviceUid,S=(0,y.u)((function(e){return e.currentOrg})),V=(0,u.useRef)(),U=(0,u.useState)(""),E=o()(U,2),O=E[0],R=E[1],z=(0,u.useState)(""),A=o()(z,2),N=A[0],q=A[1],K=(0,u.useState)(!1),L=o()(K,2),$=L[0],H=L[1],W=function(){setTimeout((function(){var e;console.log("endCaptchaTiming"),null===(e=V.current)||void 0===e||e.endTiming()}),2)};(0,u.useEffect)((function(){n?d.setFieldsValue({mobile:null==I?void 0:I.mobile}):(d.resetFields(),W())}),[n]);var B=function(){var e=m()(p()().mark((function e(n,t){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captchaUid",n," captchaValue",t),R(n),q(t);case 3:case"end":return e.stop()}}),e)})));return function(n,t){return e.apply(this,arguments)}}(),G=function(){var e=m()(p()().mark((function e(n){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captcha check result",n),H(n);case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),_=function(){var e=m()(p()().mark((function e(){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:d.validateFields().then(function(){var e=m()(p()().mark((function e(n){var a,o;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("changeMobile:",n),a={mobile:n.mobile,code:n.code,platform:w.iw8},e.next=4,(0,x.KF)(a);case 4:o=e.sent,console.log("changeMobile response:",o),200===o.code?(h.yw.success("Mobile verify successfully!"),t(n.mobile),r()):h.yw.error(g(o.message));case 7:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(k.Z,{title:a.formatMessage({id:"pages.settings.verify.mobile",defaultMessage:"验证手机号"}),forceRender:!0,open:n,footer:null,onCancel:function(){r()},children:(0,P.jsxs)(i.A,{form:d,onFinish:function(){var e=m()(p()().mark((function e(n){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("changeMobile:",n),_();case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,P.jsx)(c.Z,{fieldProps:{size:"large",prefix:(0,P.jsx)(j.Z,{})},name:"mobile",placeholder:a.formatMessage({id:"pages.login.phoneNumber.placeholder",defaultMessage:"手机号"}),rules:[{required:!0,message:(0,P.jsx)(l.FormattedMessage,{id:"pages.login.phoneNumber.required",defaultMessage:"请输入手机号!"})},{pattern:/^1\d{10}$/,message:(0,P.jsx)(l.FormattedMessage,{id:"pages.login.phoneNumber.invalid",defaultMessage:"手机号格式错误!"})}],readonly:!0}),(0,P.jsx)(i.A.Item,{name:"captchaCode",rules:[],children:(0,P.jsx)(Z.Z,{onKaptchaChange:B,onKaptchaCheck:G})}),(0,P.jsx)(M.Z,{fieldProps:{size:"large",prefix:(0,P.jsx)(C.Z,{}),allowClear:!0},captchaProps:{size:"large",disabled:!$},placeholder:a.formatMessage({id:"pages.login.captcha.placeholder",defaultMessage:"请输入验证码"}),captchaTextRender:function(e,n){return e?"".concat(n," ").concat(a.formatMessage({id:"pages.getCaptchaSecondText",defaultMessage:"获取验证码"})):a.formatMessage({id:"pages.login.phoneLogin.getVerificationCode",defaultMessage:"获取验证码"})},phoneName:"mobile",name:"code",rules:[{required:!0,message:(0,P.jsx)(l.FormattedMessage,{id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],fieldRef:V,onGetCaptcha:function(){var e=m()(p()().mark((function e(n){var t,r;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("mobile:",n),!n||11!==n.length){e.next=14;break}return t={mobile:n,type:w.aak,captchaUid:O,captchaCode:N,deviceUid:T,userUid:null==I?void 0:I.uid,orgUid:null==S?void 0:S.uid,platform:w.iw8},e.next=5,(0,v.Y7)(t);case 5:if(r=e.sent,console.log("sendMobileCode",r),200===r.code){e.next=11;break}return h.yw.error(g(r.message)),W(),e.abrupt("return");case 11:h.yw.success(g(r.message)),e.next=15;break;case 14:h.yw.error("手机号格式错误");case 15:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()})]})})})},T=function(){var e=(0,l.useIntl)(),n=(0,l.useNavigate)(),t=i.A.useForm(),r=o()(t,1)[0],a=(0,s.L)((function(e){return{userInfo:e.userInfo,setUserInfo:e.setUserInfo}})),d=a.userInfo,p=a.setUserInfo,g=(0,u.useState)(!1),m=o()(g,2),h=m[0],v=m[1],x=(0,u.useState)(!1),Z=o()(x,2),b=Z[0],y=Z[1];(0,u.useEffect)((function(){r.setFieldsValue({uid:d.uid,username:d.username,nickname:d.nickname,email:d.email,mobile:d.mobile})}),[]);return(0,P.jsxs)("div",{children:[(0,P.jsxs)(i.A,{form:r,submitter:!1,children:[(0,P.jsx)(c.Z,{name:"email",label:null!=d&&d.emailVerified?e.formatMessage({id:"email.verified",defaultMessage:"Email Verified"}):e.formatMessage({id:"email.unverified",defaultMessage:"email unverified"}),readonly:!0}),!(null!=d&&d.emailVerified)&&null!=d.email&&(0,P.jsx)(f.ZP,{onClick:function(){v(!0)},children:e.formatMessage({id:"pages.settings.verify.email",defaultMessage:"验证邮箱"})}),(0,P.jsx)(f.ZP,{type:"link",onClick:function(){n("/setting/profile")},children:"重置邮箱"}),(0,P.jsx)(c.Z,{name:"mobile",label:null!=d&&d.mobileVerified?e.formatMessage({id:"mobile.verified",defaultMessage:"Mobile Verified"}):e.formatMessage({id:"mobile.unverified",defaultMessage:"mobile unverified"}),readonly:!0}),!(null!=d&&d.mobileVerified)&&null!=d.mobile&&(0,P.jsx)(f.ZP,{onClick:function(){y(!0)},children:e.formatMessage({id:"pages.settings.verify.mobile",defaultMessage:"验证手机号"})}),(0,P.jsx)(f.ZP,{type:"link",onClick:function(){n("/setting/profile")},children:"重置手机号"})]}),h&&(0,P.jsx)(F,{open:h,onSubmit:function(e){v(!1),d.email=e,d.emailVerified=!0,p(d),r.setFieldValue("email",e)},onClose:function(){v(!1)}}),b&&(0,P.jsx)(I,{open:b,onSubmit:function(e){y(!1),d.mobile=e,d.mobileVerified=!0,p(d),r.setFieldValue("mobile",e)},onClose:function(){y(!1)}})]})},S=function(e){console.log(e)},V=[{key:"personal",label:"个人认证",children:(0,P.jsx)(T,{})}],U=function(){return(0,P.jsx)("div",{children:(0,P.jsx)(r.Z,{defaultActiveKey:"personal",items:V,onChange:S})})}},53530:function(e,n,t){t.d(n,{Z:function(){return y}});var r=t(18960),a=t(31695),o=t(27710),s=t(44194),i=t(51865),c=t.n(i),l=t(24255),u=t(43037),f=t(37167),d=t(30829),p=t(78660),g=t(59348),m=t(6750),h=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a{const{prefixCls:n,className:t,closeIcon:r,closable:a,type:o,title:i,children:u,footer:v}=e,x=h(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:Z}=s.useContext(f.E_),b=Z(),y=n||Z("modal"),w=(0,d.Z)(b),[j,C,M]=(0,m.ZP)(y,w),k=`${y}-confirm`;let P={};return P=o?{closable:null!=a&&a,title:"",footer:"",children:s.createElement(p.O,Object.assign({},e,{prefixCls:y,confirmPrefixCls:k,rootPrefixCls:b,content:u}))}:{closable:null==a||a,title:i,footer:null!==v&&s.createElement(g.$,Object.assign({},e)),children:u},j(s.createElement(l.s,Object.assign({prefixCls:y,className:c()(C,`${y}-pure-panel`,o&&k,o&&`${k}-${o}`,t,M,w)},x,{closeIcon:(0,g.b)(y,r),closable:a},P)))})),x=t(75807);function Z(e){return(0,r.ZP)((0,r.uW)(e))}const b=o.Z;b.useModal=x.Z,b.info=function(e){return(0,r.ZP)((0,r.cw)(e))},b.success=function(e){return(0,r.ZP)((0,r.vq)(e))},b.error=function(e){return(0,r.ZP)((0,r.AQ)(e))},b.warning=Z,b.warn=Z,b.confirm=function(e){return(0,r.ZP)((0,r.Au)(e))},b.destroyAll=function(){for(;a.Z.length;){const e=a.Z.pop();e&&e()}},b.config=r.ai,b._InternalPanelDoNotUseOrYouWillBeFired=v;var y=b}}]); \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/p__Dashboard__Setting__Profile__index.3046ef65.async.js b/starter/src/main/resources/static/admin/p__Dashboard__Setting__Profile__index.3046ef65.async.js deleted file mode 100644 index 31ce4aace6..0000000000 --- a/starter/src/main/resources/static/admin/p__Dashboard__Setting__Profile__index.3046ef65.async.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[9290],{88678:function(e,n,a){a.d(n,{Z:function(){return w}});var r=a(90819),t=a.n(r),s=a(89933),o=a.n(s),i=a(45332),c=a.n(i),u=a(55735),l=a(30921);function d(){return f.apply(this,arguments)}function f(){return(f=o()(t()().mark((function e(){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/kaptcha/api/v1/get",{method:"GET",params:{client:u.bVn}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e,n){return g.apply(this,arguments)}function g(){return(g=o()(t()().mark((function e(n,a){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,l.request)("/kaptcha/api/v1/check",{method:"POST",data:{captchaUid:n,captchaCode:a,client:u.bVn}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var m=a(58087),h=a(52288),v=a(44194),x=a(31549),w=function(e){var n=e.onKaptchaChange,a=e.onKaptchaCheck,r=(0,l.useIntl)(),s=(0,v.useState)(),i=c()(s,2),u=i[0],f=i[1],g=(0,v.useState)(),w=c()(g,2),b=w[0],M=w[1],y=function(){var e=o()(t()().mark((function e(){var n;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d();case 2:200===(n=e.sent).code&&(f(n.data.captchaUid),M(n.data.captchaImage));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),k=function(){var e=o()(t()().mark((function e(n,r){var s;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(n,r);case 2:s=e.sent,console.log("checkCaptcha response",s),200===s.code?a&&a(!0):a&&a(!1);case 5:case"end":return e.stop()}}),e)})));return function(n,a){return e.apply(this,arguments)}}();(0,v.useEffect)((function(){y()}),[]);return(0,x.jsx)(x.Fragment,{children:b&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.Z,{onChange:function(e){n&&(n(u,e.target.value),e.target.value&&""!==e.target.value&&4===e.target.value.trim().length?k(u,e.target.value):a&&a(!1))},prefix:(0,x.jsx)(m.Z,{}),placeholder:r.formatMessage({id:"captcha",defaultMessage:"captcha"}),style:{width:"65%",float:"left",height:40},allowClear:!0}),(0,x.jsx)("img",{src:b,alt:"captcha",onClick:y})]})})}},6631:function(e,n,a){a.d(n,{G:function(){return f}});var r=a(73193),t=a.n(r),s=(a(44194),a(30348)),o=a(55735),i=a(28977),c=a.n(i),u=a(86803),l=a(44521),d=a(31549),f=function(e){var n=e.children,a=e.onSuccess,r=e.onError,i={file:null,fileName:"test.png",fileType:"image/png",isAvatar:"true",kbType:o.IrL,categoryUid:"",kbUid:"",client:o.bVn},f={name:"file",accept:"image/*",action:(0,l.M$)(),headers:{Authorization:"Bearer "+localStorage.getItem(o.LA8)},data:i,showUploadList:!1,beforeUpload:function(e){console.log("beforeUpload",e);var n=c()(new Date).format("YYYYMMDDHHmmss")+"_"+e.name;return i.file=e,i.fileName=n,i.fileType=e.type,console.log("beforeUpload",i),!0},onChange:function(e){if("uploading"!==e.file.status&&console.log("not uploading:",e.file),"done"===e.file.status)if(console.log("response: ",e.file.response),200===e.file.response.code){var n=e.file.response.data.fileUrl;a(n),u.yw.success("".concat(e.file.name," 上传成功"))}else r(e.file),u.yw.error("".concat(e.file.name," 上传失败"));else"error"===e.file.status&&(u.yw.error("".concat(e.file.name," 上传失败")),r(e.file))}};return(0,d.jsx)(s.Z,t()(t()({},f),{},{children:n}))}},76750:function(e,n,a){var r=a(55735),t=a(65461),s=a(30921);n.Z=function(){var e=(0,s.useIntl)();return{translateString:function(n){return null==n?n:n&&(null!=n&&n.startsWith(r.VoP)||null!=n&&n.startsWith("ROLE_"))?e.formatMessage({id:n,defaultMessage:n}):n},translateStringTranct:function(n){return null==n?n:null!=n&&n.startsWith(r.VoP)||null!=n&&n.startsWith("ROLE_")?(0,t.aS)(e.formatMessage({id:n,defaultMessage:n}),10):(0,t.aS)(n,10)}}}},87416:function(e,n,a){a.r(n),a.d(n,{default:function(){return R}});var r=a(90819),t=a.n(r),s=a(73193),o=a.n(s),i=a(89933),c=a.n(i),u=a(45332),l=a.n(u),d=a(44194),f=a(84288),p=a(75365),g=a(69169),m=a(4499),h=a(32350),v=a(30921),x=a(59908),w=a(51239),b=a(67318),M=a(86803),y=a(6631),k=a(76750),j=a(65461),C=a(53530),Z=a(31549),P=function(e){var n=e.open,a=e.onClose,r=(0,v.useIntl)(),s=(0,k.Z)().translateString;return(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsx)(C.Z,{title:r.formatMessage({id:"pages.settings.reset.password",defaultMessage:"重置密码"}),forceRender:!0,open:n,footer:null,onCancel:function(){a()},children:(0,Z.jsxs)(g.A,{initialValues:{oldPassword:"",newPassword:"",confirmPassword:""},onFinish:function(){var e=c()(t()().mark((function e(n){var r,o;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("changePassword:",n),!(n.newPassword.trim().length<6)){e.next=4;break}return M.yw.error("密码最小长度不能小于6"),e.abrupt("return");case 4:if(n.newPassword===n.confirmPassword){e.next=7;break}return M.yw.error("两次输入密码不一致"),e.abrupt("return");case 7:return r={oldPassword:n.oldPassword,newPassword:n.newPassword},e.next=10,(0,b.Cp)(r);case 10:o=e.sent,console.log("changePassword response:",o),200===o.code?(M.yw.success("Password changed successfully!"),a()):M.yw.error(s(o.message));case 13:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,Z.jsx)(m.Z.Password,{name:"oldPassword",label:"原密码(手机号直接登录用户,可以留空)"}),(0,Z.jsx)(m.Z.Password,{name:"newPassword",label:"新密码"}),(0,Z.jsx)(m.Z.Password,{name:"confirmPassword",label:"确认密码"})]})})})},U=a(45739),S=a(88678),F=a(40612),I=a(55735),A=a(40795),V=a(26978),E=a(59129),T=function(e){var n=e.open,a=e.onSubmit,r=e.onClose,s=(0,v.useIntl)(),o=g.A.useForm(),i=l()(o,1)[0],u=(0,k.Z)().translateString,f=(0,w.L)((function(e){return{userInfo:e.userInfo,deviceUid:e.deviceUid}})),p=f.userInfo,h=f.deviceUid,x=(0,F.u)((function(e){return e.currentOrg})),y=(0,d.useRef)(),j=(0,d.useState)(""),P=l()(j,2),T=P[0],q=P[1],L=(0,d.useState)(""),R=l()(L,2),z=R[0],N=R[1],K=(0,d.useState)(!1),G=l()(K,2),O=G[0],Y=G[1],D=function(){var e=c()(t()().mark((function e(n,a){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captchaUid",n," captchaValue",a),q(n),N(a);case 3:case"end":return e.stop()}}),e)})));return function(n,a){return e.apply(this,arguments)}}(),W=function(){var e=c()(t()().mark((function e(n){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captcha check result",n),Y(n);case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),_=function(){var e=c()(t()().mark((function e(){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i.validateFields().then(function(){var e=c()(t()().mark((function e(n){var s,o;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("changeEmail:",n),(null==p?void 0:p.email)!==n.email){e.next=4;break}return M.yw.error("Email is not changed!"),e.abrupt("return");case 4:return s={email:n.email,code:n.code,platform:I.iw8},e.next=7,(0,b.Uk)(s);case 7:o=e.sent,console.log("changeEmail response:",o),200===o.code?(M.yw.success("Email changed successfully!"),a(n.email),r()):M.yw.error(u(o.message));case 10:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),$=function(){setTimeout((function(){var e;console.log("endCaptchaTiming"),null===(e=y.current)||void 0===e||e.endTiming()}),2)};return(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsx)(C.Z,{title:s.formatMessage({id:"pages.settings.reset.email",defaultMessage:"重置邮箱"}),forceRender:!0,open:n,footer:null,onCancel:function(){r()},children:(0,Z.jsxs)(g.A,{form:i,onFinish:function(){var e=c()(t()().mark((function e(n){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("changeEmail:",n),_();case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,Z.jsx)(m.Z,{fieldProps:{size:"large",prefix:(0,Z.jsx)(A.Z,{})},name:"email",placeholder:s.formatMessage({id:"pages.login.email.placeholder",defaultMessage:"邮箱"}),rules:[{required:!0,message:(0,Z.jsx)(v.FormattedMessage,{id:"pages.login.email.required",defaultMessage:"请输入邮箱!"})},{pattern:/^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/,message:"邮箱格式不正确"},{max:50,message:"邮箱不得超过50字符"}]}),(0,Z.jsx)(g.A.Item,{name:"captchaCode",rules:[],children:(0,Z.jsx)(S.Z,{onKaptchaChange:D,onKaptchaCheck:W})}),(0,Z.jsx)(E.Z,{fieldProps:{size:"large",prefix:(0,Z.jsx)(V.Z,{})},captchaProps:{size:"large",disabled:!O},placeholder:s.formatMessage({id:"pages.login.captcha.placeholder",defaultMessage:"请输入验证码"}),captchaTextRender:function(e,n){return e?"".concat(n," ").concat(s.formatMessage({id:"pages.getCaptchaSecondText",defaultMessage:"获取验证码"})):s.formatMessage({id:"pages.login.phoneLogin.getVerificationCode",defaultMessage:"获取验证码"})},phoneName:"email",name:"code",rules:[{required:!0,message:(0,Z.jsx)(v.FormattedMessage,{id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],fieldRef:y,onGetCaptcha:function(){var e=c()(t()().mark((function e(n){var a,r;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("email:",n),!n){e.next=18;break}if((null==p?void 0:p.email)!==n){e.next=6;break}return M.yw.error("Email is not changed!"),$(),e.abrupt("return");case 6:return a={email:n,type:I.Iju,captchaUid:T,captchaCode:z,deviceUid:h,userUid:null==p?void 0:p.uid,orgUid:null==x?void 0:x.uid,platform:I.iw8},e.next=9,(0,U.O8)(a);case 9:if(r=e.sent,console.log("sendEmailCode",r),200===r.code){e.next=15;break}return M.yw.error(r.message),$(),e.abrupt("return");case 15:M.yw.success(r.message),e.next=19;break;case 18:M.yw.error("手机号格式错误");case 19:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()})]})})})},q=function(e){var n=e.open,a=e.onSubmit,r=e.onClose,s=(0,v.useIntl)(),o=g.A.useForm(),i=l()(o,1)[0],u=(0,k.Z)().translateString,f=(0,w.L)((function(e){return{userInfo:e.userInfo,deviceUid:e.deviceUid}})),p=f.userInfo,h=f.deviceUid,x=(0,F.u)((function(e){return e.currentOrg})),y=(0,d.useRef)(),j=(0,d.useState)(""),P=l()(j,2),T=P[0],q=P[1],L=(0,d.useState)(""),R=l()(L,2),z=R[0],N=R[1],K=(0,d.useState)(!1),G=l()(K,2),O=G[0],Y=G[1],D=function(){var e=c()(t()().mark((function e(n,a){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captchaUid",n," captchaValue",a),q(n),N(a);case 3:case"end":return e.stop()}}),e)})));return function(n,a){return e.apply(this,arguments)}}(),W=function(){var e=c()(t()().mark((function e(n){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captcha check result",n),Y(n);case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),_=function(){var e=c()(t()().mark((function e(){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i.validateFields().then(function(){var e=c()(t()().mark((function e(n){var s,o;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("changeMobile:",n),(null==p?void 0:p.mobile)!==n.mobile){e.next=4;break}return M.yw.error("mobile is not changed"),e.abrupt("return");case 4:return s={mobile:n.mobile,code:n.code,platform:I.iw8},e.next=7,(0,b.KF)(s);case 7:o=e.sent,console.log("changeMobile response:",o),200===o.code?(M.yw.success("Mobile changed successfully!"),a(n.mobile),r()):M.yw.error(u(o.message));case 10:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),$=function(){setTimeout((function(){var e;console.log("endCaptchaTiming"),null===(e=y.current)||void 0===e||e.endTiming()}),2)};return(0,Z.jsx)(Z.Fragment,{children:(0,Z.jsx)(C.Z,{title:s.formatMessage({id:"pages.settings.reset.mobile",defaultMessage:"重置手机号"}),forceRender:!0,open:n,footer:null,onCancel:function(){r()},children:(0,Z.jsxs)(g.A,{form:i,onFinish:function(){var e=c()(t()().mark((function e(n){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("changeMobile:",n),_();case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,Z.jsx)(m.Z,{fieldProps:{size:"large",prefix:(0,Z.jsx)(A.Z,{})},name:"mobile",placeholder:s.formatMessage({id:"pages.login.phoneNumber.placeholder",defaultMessage:"手机号"}),rules:[{required:!0,message:(0,Z.jsx)(v.FormattedMessage,{id:"pages.login.phoneNumber.required",defaultMessage:"请输入手机号!"})},{pattern:/^1\d{10}$/,message:(0,Z.jsx)(v.FormattedMessage,{id:"pages.login.phoneNumber.invalid",defaultMessage:"手机号格式错误!"})}]}),(0,Z.jsx)(g.A.Item,{name:"captchaCode",rules:[],children:(0,Z.jsx)(S.Z,{onKaptchaChange:D,onKaptchaCheck:W})}),(0,Z.jsx)(E.Z,{fieldProps:{size:"large",prefix:(0,Z.jsx)(V.Z,{})},captchaProps:{size:"large",disabled:!O},placeholder:s.formatMessage({id:"pages.login.captcha.placeholder",defaultMessage:"请输入验证码"}),captchaTextRender:function(e,n){return e?"".concat(n," ").concat(s.formatMessage({id:"pages.getCaptchaSecondText",defaultMessage:"获取验证码"})):s.formatMessage({id:"pages.login.phoneLogin.getVerificationCode",defaultMessage:"获取验证码"})},phoneName:"mobile",name:"code",rules:[{required:!0,message:(0,Z.jsx)(v.FormattedMessage,{id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],fieldRef:y,onGetCaptcha:function(){var e=c()(t()().mark((function e(n){var a,r;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("mobile:",n),!n||11!==n.length){e.next=18;break}if((null==p?void 0:p.mobile)!==n){e.next=6;break}return M.yw.error("mobile is not changed"),$(),e.abrupt("return");case 6:return a={mobile:n,type:I.BG8,captchaUid:T,captchaCode:z,deviceUid:h,userUid:null==p?void 0:p.uid,orgUid:null==x?void 0:x.uid,platform:I.iw8},e.next=9,(0,U.Y7)(a);case 9:if(r=e.sent,console.log("sendMobileCode",r),200===r.code){e.next=15;break}return M.yw.error(r.message),$(),e.abrupt("return");case 15:M.yw.success(r.message),e.next=19;break;case 18:M.yw.error("手机号格式错误");case 19:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()})]})})})},L={labelCol:{span:8},wrapperCol:{span:8}},R=function(){var e=(0,v.useIntl)(),n=g.A.useForm(),a=l()(n,1)[0],r=(0,k.Z)().translateString,s=(0,w.L)((function(e){return{userInfo:e.userInfo,setUserInfo:e.setUserInfo}})),i=s.userInfo,u=s.setUserInfo,C=(0,d.useState)(""),U=l()(C,2),S=U[0],F=U[1],I=(0,d.useState)(!1),A=l()(I,2),V=A[0],E=A[1],R=(0,d.useState)(!1),z=l()(R,2),N=z[0],K=z[1],G=(0,d.useState)(!1),O=l()(G,2),Y=O[0],D=O[1],W=function(){var n=c()(t()().mark((function n(s){var c,l;return t()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return c=o()(o()(o()({},i),s),{},{avatar:S}),console.log(c),n.next=4,(0,b.ck)(c);case 4:l=n.sent,console.log("updateProfile response:",l),200===l.code?(M.yw.success(e.formatMessage({id:"update.success"})),l.data.username!==i.username?(0,j.NZ)():(u(l.data),a.setFieldsValue({uid:l.data.uid,username:l.data.username,nickname:r(l.data.nickname),email:l.data.email,mobile:l.data.mobile,description:r(l.data.description)}))):M.yw.error(l.message);case 7:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}();(0,d.useEffect)((function(){i&&F(i.avatar)}),[i]);var _=function(){var e=c()(t()().mark((function e(){var n;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,b.Ai)();case 2:n=e.sent,console.log("handleRefreshProfile getProfile response:",n),200===n.code?(u(n.data),a.setFieldsValue({uid:n.data.uid,username:n.data.username,nickname:r(n.data.nickname),email:n.data.email,mobile:n.data.mobile,description:r(n.data.description)})):M.yw.error(n.message);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,d.useEffect)((function(){_()}),[]),(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsxs)(g.A,o()(o()({},L),{},{form:a,onFinish:W,children:[(0,Z.jsx)(m.Z,{name:"uid",label:"Uid",rules:[{required:!0}],readonly:!0}),(0,Z.jsx)(g.A.Item,{name:"avatar",valuePropName:"fileList",getValueFromEvent:function(e){return Array.isArray(e)?e:null==e?void 0:e.fileList},label:e.formatMessage({id:"pages.robot.tab.avatar",defaultMessage:"Avatar"}),children:(0,Z.jsxs)(y.G,{onSuccess:function(e){console.log("handleUploadSuccess:",e),F(e)},onError:function(e){console.log("handleUploadError:",e)},children:[(0,Z.jsx)(f.C,{src:S}),(0,Z.jsx)(p.ZP,{icon:(0,Z.jsx)(x.Z,{}),children:e.formatMessage({id:"pages.robot.upload",defaultMessage:"Upload"})})]},"avatar")}),(0,Z.jsx)(m.Z,{name:"username",label:e.formatMessage({id:"username.change.tip",defaultMessage:"Username"}),rules:[{required:!0}]}),(0,Z.jsx)(p.ZP,{onClick:function(){E(!0)},children:e.formatMessage({id:"pages.settings.reset.password",defaultMessage:"重置密码"})}),(0,Z.jsx)(m.Z,{name:"nickname",label:e.formatMessage({id:"nickname",defaultMessage:"Nickname"}),rules:[{required:!0}]}),(0,Z.jsx)(m.Z,{name:"email",label:i.emailVerified?e.formatMessage({id:"email.verified",defaultMessage:"Email Verified"}):e.formatMessage({id:"email.unverified",defaultMessage:"email unverified"}),rules:[{type:"email"}],readonly:!0}),(0,Z.jsx)(p.ZP,{onClick:function(){K(!0)},children:e.formatMessage({id:"pages.settings.reset.email",defaultMessage:"重置邮箱"})}),(0,Z.jsx)(m.Z,{name:"mobile",label:i.mobileVerified?e.formatMessage({id:"mobile.verified",defaultMessage:"Mobile Verified"}):e.formatMessage({id:"mobile.unverified",defaultMessage:"mobile unverified"}),readonly:!0}),(0,Z.jsx)(p.ZP,{onClick:function(){D(!0)},children:e.formatMessage({id:"pages.settings.reset.mobile",defaultMessage:"重置手机号"})}),(0,Z.jsx)(h.Z,{name:"description",label:e.formatMessage({id:"description",defaultMessage:"Description"})})]})),V&&(0,Z.jsx)(P,{open:V,onClose:function(){E(!1)}}),N&&(0,Z.jsx)(T,{open:N,onSubmit:function(e){K(!1),i.email=e,u(i),a.setFieldValue("email",e)},onClose:function(){K(!1)}}),Y&&(0,Z.jsx)(q,{open:Y,onSubmit:function(e){D(!1),i.mobile=e,u(i),a.setFieldValue("mobile",e)},onClose:function(){D(!1)}})]})}}}]); \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/p__Dashboard__Setting__Profile__index.3c6fb9a5.async.js b/starter/src/main/resources/static/admin/p__Dashboard__Setting__Profile__index.3c6fb9a5.async.js new file mode 100644 index 0000000000..839507a872 --- /dev/null +++ b/starter/src/main/resources/static/admin/p__Dashboard__Setting__Profile__index.3c6fb9a5.async.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[9290],{26978:function(e,n,r){r.d(n,{Z:function(){return c}});var a=r(11757),t=r(44194),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"},o=r(54183),i=function(e,n){return t.createElement(o.Z,(0,a.Z)({},e,{ref:n,icon:s}))};var c=t.forwardRef(i)},40795:function(e,n,r){r.d(n,{Z:function(){return c}});var a=r(11757),t=r(44194),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M744 62H280c-35.3 0-64 28.7-64 64v768c0 35.3 28.7 64 64 64h464c35.3 0 64-28.7 64-64V126c0-35.3-28.7-64-64-64zm-8 824H288V134h448v752zM472 784a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"mobile",theme:"outlined"},o=r(54183),i=function(e,n){return t.createElement(o.Z,(0,a.Z)({},e,{ref:n,icon:s}))};var c=t.forwardRef(i)},58087:function(e,n,r){var a=r(11757),t=r(44194),s=r(15323),o=r(54183),i=function(e,n){return t.createElement(o.Z,(0,a.Z)({},e,{ref:n,icon:s.Z}))},c=t.forwardRef(i);n.Z=c},59908:function(e,n,r){r.d(n,{Z:function(){return c}});var a=r(11757),t=r(44194),s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},o=r(54183),i=function(e,n){return t.createElement(o.Z,(0,a.Z)({},e,{ref:n,icon:s}))};var c=t.forwardRef(i)},59129:function(e,n,r){var a=r(17082),t=r(72298),s=r(48921),o=r(73457),i=r(42601),c=r(57178),l=r(52288),u=r(75365),d=r(44194),f=r(69088),p=r(31549),g=["rules","name","phoneName","fieldProps","onTiming","captchaTextRender","captchaProps"],m=d.forwardRef((function(e,n){var r=c.Z.useFormInstance(),f=(0,d.useState)(e.countDown||60),m=(0,i.Z)(f,2),h=m[0],v=m[1],x=(0,d.useState)(!1),w=(0,i.Z)(x,2),Z=w[0],b=w[1],y=(0,d.useState)(),M=(0,i.Z)(y,2),k=M[0],j=M[1],P=(e.rules,e.name,e.phoneName),C=e.fieldProps,F=e.onTiming,S=e.captchaTextRender,T=void 0===S?function(e,n){return e?"".concat(n," 秒后重新获取"):"获取验证码"}:S,U=e.captchaProps,I=(0,o.Z)(e,g),V=function(){var e=(0,s.Z)((0,t.Z)().mark((function e(n){return(0,t.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,j(!0),e.next=4,I.onGetCaptcha(n);case 4:j(!1),b(!0),e.next=13;break;case 8:e.prev=8,e.t0=e.catch(0),b(!1),j(!1),console.log(e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(n){return e.apply(this,arguments)}}();return(0,d.useImperativeHandle)(n,(function(){return{startTiming:function(){return b(!0)},endTiming:function(){return b(!1)}}})),(0,d.useEffect)((function(){var n=0,r=e.countDown;return Z&&(n=window.setInterval((function(){v((function(e){return e<=1?(b(!1),clearInterval(n),r||60):e-1}))}),1e3)),function(){return clearInterval(n)}}),[Z]),(0,d.useEffect)((function(){F&&F(h)}),[h,F]),(0,p.jsxs)("div",{style:(0,a.Z)((0,a.Z)({},null==C?void 0:C.style),{},{display:"flex",alignItems:"center"}),ref:n,children:[(0,p.jsx)(l.Z,(0,a.Z)((0,a.Z)({},C),{},{style:(0,a.Z)({flex:1,transition:"width .3s",marginRight:8},null==C?void 0:C.style)})),(0,p.jsx)(u.ZP,(0,a.Z)((0,a.Z)({style:{display:"block"},disabled:Z,loading:k},U),{},{onClick:(0,s.Z)((0,t.Z)().mark((function e(){var n;return(0,t.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!P){e.next=9;break}return e.next=4,r.validateFields([P].flat(1));case 4:return n=r.getFieldValue([P].flat(1)),e.next=7,V(n);case 7:e.next=11;break;case 9:return e.next=11,V("");case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(0),console.log(e.t0);case 16:case"end":return e.stop()}}),e,null,[[0,13]])}))),children:T(Z,h)}))]})})),h=(0,f.G)(m);n.Z=h},4499:function(e,n,r){var a=r(42601),t=r(17082),s=r(73457),o=r(46015),i=r(57178),c=r(98036),l=r(36490),u=r(44194),d=r(35175),f=r(31549),p=["fieldProps","proFieldProps"],g=["fieldProps","proFieldProps"],m="text",h=function(e){var n=(0,o.Z)(e.open||!1,{value:e.open,onChange:e.onOpenChange}),r=(0,a.Z)(n,2),s=r[0],l=r[1];return(0,f.jsx)(i.Z.Item,{shouldUpdate:!0,noStyle:!0,children:function(n){var r,a=n.getFieldValue(e.name||[]);return(0,f.jsx)(c.Z,(0,t.Z)((0,t.Z)({getPopupContainer:function(e){return e&&e.parentNode?e.parentNode:e},onOpenChange:function(e){return l(e)},content:(0,f.jsxs)("div",{style:{padding:"4px 0"},children:[null===(r=e.statusRender)||void 0===r?void 0:r.call(e,a),e.strengthText?(0,f.jsx)("div",{style:{marginTop:10},children:(0,f.jsx)("span",{children:e.strengthText})}):null]}),overlayStyle:{width:240},placement:"rightTop"},e.popoverProps),{},{open:s,children:e.children}))}})},v=function(e){var n=e.fieldProps,r=e.proFieldProps,a=(0,s.Z)(e,p);return(0,f.jsx)(d.Z,(0,t.Z)({valueType:m,fieldProps:n,filedConfig:{valueType:m},proFieldProps:r},a))};v.Password=function(e){var n=e.fieldProps,r=e.proFieldProps,o=(0,s.Z)(e,g),i=(0,u.useState)(!1),c=(0,a.Z)(i,2),p=c[0],v=c[1];return null!=n&&n.statusRender&&o.name?(0,f.jsx)(h,{name:o.name,statusRender:null==n?void 0:n.statusRender,popoverProps:null==n?void 0:n.popoverProps,strengthText:null==n?void 0:n.strengthText,open:p,onOpenChange:v,children:(0,f.jsx)("div",{children:(0,f.jsx)(d.Z,(0,t.Z)({valueType:"password",fieldProps:(0,t.Z)((0,t.Z)({},(0,l.Z)(n,["statusRender","popoverProps","strengthText"])),{},{onBlur:function(e){var r;null==n||null===(r=n.onBlur)||void 0===r||r.call(n,e),v(!1)},onClick:function(e){var r;null==n||null===(r=n.onClick)||void 0===r||r.call(n,e),v(!0)}}),proFieldProps:r,filedConfig:{valueType:m}},o))})}):(0,f.jsx)(d.Z,(0,t.Z)({valueType:"password",fieldProps:n,proFieldProps:r,filedConfig:{valueType:m}},o))},v.displayName="ProFormComponent",n.Z=v},32350:function(e,n,r){var a=r(17082),t=r(73457),s=r(44194),o=r(35175),i=r(31549),c=["fieldProps","proFieldProps"],l=function(e,n){var r=e.fieldProps,s=e.proFieldProps,l=(0,t.Z)(e,c);return(0,i.jsx)(o.Z,(0,a.Z)({ref:n,valueType:"textarea",fieldProps:r,proFieldProps:s},l))};n.Z=s.forwardRef(l)},88678:function(e,n,r){r.d(n,{Z:function(){return w}});var a=r(90819),t=r.n(a),s=r(89933),o=r.n(s),i=r(45332),c=r.n(i),l=r(55735),u=r(30921);function d(){return f.apply(this,arguments)}function f(){return(f=o()(t()().mark((function e(){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/kaptcha/api/v1/get",{method:"GET",params:{client:l.bVn}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function p(e,n){return g.apply(this,arguments)}function g(){return(g=o()(t()().mark((function e(n,r){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(0,u.request)("/kaptcha/api/v1/check",{method:"POST",data:{captchaUid:n,captchaCode:r,client:l.bVn}}));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var m=r(58087),h=r(52288),v=r(44194),x=r(31549),w=function(e){var n=e.onKaptchaChange,r=e.onKaptchaCheck,a=(0,u.useIntl)(),s=(0,v.useState)(),i=c()(s,2),l=i[0],f=i[1],g=(0,v.useState)(),w=c()(g,2),Z=w[0],b=w[1],y=function(){var e=o()(t()().mark((function e(){var n;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d();case 2:200===(n=e.sent).code&&(f(n.data.captchaUid),b(n.data.captchaImage));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),M=function(){var e=o()(t()().mark((function e(n,a){var s;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p(n,a);case 2:s=e.sent,console.log("checkCaptcha response",s),200===s.code?r&&r(!0):r&&r(!1);case 5:case"end":return e.stop()}}),e)})));return function(n,r){return e.apply(this,arguments)}}();(0,v.useEffect)((function(){y()}),[]);return(0,x.jsx)(x.Fragment,{children:Z&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(h.Z,{onChange:function(e){n&&(n(l,e.target.value),e.target.value&&""!==e.target.value&&4===e.target.value.trim().length?M(l,e.target.value):r&&r(!1))},prefix:(0,x.jsx)(m.Z,{}),placeholder:a.formatMessage({id:"captcha",defaultMessage:"captcha"}),style:{width:"65%",float:"left",height:40},allowClear:!0}),(0,x.jsx)("img",{src:Z,alt:"captcha",onClick:y})]})})}},6631:function(e,n,r){r.d(n,{G:function(){return f}});var a=r(73193),t=r.n(a),s=(r(44194),r(30348)),o=r(55735),i=r(28977),c=r.n(i),l=r(86803),u=r(44521),d=r(31549),f=function(e){var n=e.children,r=e.onSuccess,a=e.onError,i={file:null,fileName:"test.png",fileType:"image/png",isAvatar:"true",kbType:o.IrL,categoryUid:"",kbUid:"",client:o.bVn},f={name:"file",accept:"image/*",action:(0,u.M$)(),headers:{Authorization:"Bearer "+localStorage.getItem(o.LA8)},data:i,showUploadList:!1,beforeUpload:function(e){console.log("beforeUpload",e);var n=c()(new Date).format("YYYYMMDDHHmmss")+"_"+e.name;return i.file=e,i.fileName=n,i.fileType=e.type,console.log("beforeUpload",i),!0},onChange:function(e){if("uploading"!==e.file.status&&console.log("not uploading:",e.file),"done"===e.file.status)if(console.log("response: ",e.file.response),200===e.file.response.code){var n=e.file.response.data.fileUrl;r(n),l.yw.success("".concat(e.file.name," 上传成功"))}else a(e.file),l.yw.error("".concat(e.file.name," 上传失败"));else"error"===e.file.status&&(l.yw.error("".concat(e.file.name," 上传失败")),a(e.file))}};return(0,d.jsx)(s.Z,t()(t()({},f),{},{children:n}))}},76750:function(e,n,r){var a=r(55735),t=r(65461),s=r(30921);n.Z=function(){var e=(0,s.useIntl)();return{translateString:function(n){return null==n?n:n&&(null!=n&&n.startsWith(a.VoP)||null!=n&&n.startsWith("ROLE_"))?e.formatMessage({id:n,defaultMessage:n}):n},translateStringTranct:function(n){return null==n?n:null!=n&&n.startsWith(a.VoP)||null!=n&&n.startsWith("ROLE_")?(0,t.aS)(e.formatMessage({id:n,defaultMessage:n}),10):(0,t.aS)(n,10)}}}},87416:function(e,n,r){r.r(n),r.d(n,{default:function(){return N}});var a=r(90819),t=r.n(a),s=r(73193),o=r.n(s),i=r(89933),c=r.n(i),l=r(45332),u=r.n(l),d=r(44194),f=r(84288),p=r(75365),g=r(69169),m=r(4499),h=r(32350),v=r(30921),x=r(59908),w=r(51239),Z=r(67318),b=r(86803),y=r(6631),M=r(76750),k=r(65461),j=r(53530),P=r(31549),C=function(e){var n=e.open,r=e.onClose,a=(0,v.useIntl)(),s=(0,M.Z)().translateString;return(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(j.Z,{title:a.formatMessage({id:"pages.settings.reset.password",defaultMessage:"重置密码"}),forceRender:!0,open:n,footer:null,onCancel:function(){r()},children:(0,P.jsxs)(g.A,{initialValues:{oldPassword:"",newPassword:"",confirmPassword:""},onFinish:function(){var e=c()(t()().mark((function e(n){var a,o;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("changePassword:",n),!(n.newPassword.trim().length<6)){e.next=4;break}return b.yw.error("密码最小长度不能小于6"),e.abrupt("return");case 4:if(n.newPassword===n.confirmPassword){e.next=7;break}return b.yw.error("两次输入密码不一致"),e.abrupt("return");case 7:return a={oldPassword:n.oldPassword,newPassword:n.newPassword},e.next=10,(0,Z.Cp)(a);case 10:o=e.sent,console.log("changePassword response:",o),200===o.code?(b.yw.success("Password changed successfully!"),r()):b.yw.error(s(o.message));case 13:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,P.jsx)(m.Z.Password,{name:"oldPassword",label:"原密码(手机号直接登录用户,可以留空)"}),(0,P.jsx)(m.Z.Password,{name:"newPassword",label:"新密码"}),(0,P.jsx)(m.Z.Password,{name:"confirmPassword",label:"确认密码"})]})})})},F=r(45739),S=r(88678),T=r(40612),U=r(55735),I=r(40795),V=r(26978),R=r(59129),E=function(e){var n=e.open,r=e.onSubmit,a=e.onClose,s=(0,v.useIntl)(),o=g.A.useForm(),i=u()(o,1)[0],l=(0,M.Z)().translateString,f=(0,w.L)((function(e){return{userInfo:e.userInfo,deviceUid:e.deviceUid}})),p=f.userInfo,h=f.deviceUid,x=(0,T.u)((function(e){return e.currentOrg})),y=(0,d.useRef)(),k=(0,d.useState)(""),C=u()(k,2),E=C[0],A=C[1],z=(0,d.useState)(""),N=u()(z,2),q=N[0],L=N[1],H=(0,d.useState)(!1),O=u()(H,2),G=O[0],B=O[1],K=function(){var e=c()(t()().mark((function e(n,r){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captchaUid",n," captchaValue",r),A(n),L(r);case 3:case"end":return e.stop()}}),e)})));return function(n,r){return e.apply(this,arguments)}}(),D=function(){var e=c()(t()().mark((function e(n){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captcha check result",n),B(n);case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Y=function(){var e=c()(t()().mark((function e(){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i.validateFields().then(function(){var e=c()(t()().mark((function e(n){var s,o;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("changeEmail:",n),(null==p?void 0:p.email)!==n.email){e.next=4;break}return b.yw.error("Email is not changed!"),e.abrupt("return");case 4:return s={email:n.email,code:n.code,platform:U.iw8},e.next=7,(0,Z.Uk)(s);case 7:o=e.sent,console.log("changeEmail response:",o),200===o.code?(b.yw.success("Email changed successfully!"),r(n.email),a()):b.yw.error(l(o.message));case 10:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),W=function(){setTimeout((function(){var e;console.log("endCaptchaTiming"),null===(e=y.current)||void 0===e||e.endTiming()}),2)};return(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(j.Z,{title:s.formatMessage({id:"pages.settings.reset.email",defaultMessage:"重置邮箱"}),forceRender:!0,open:n,footer:null,onCancel:function(){a()},children:(0,P.jsxs)(g.A,{form:i,onFinish:function(){var e=c()(t()().mark((function e(n){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("changeEmail:",n),Y();case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,P.jsx)(m.Z,{fieldProps:{size:"large",prefix:(0,P.jsx)(I.Z,{})},name:"email",placeholder:s.formatMessage({id:"pages.login.email.placeholder",defaultMessage:"邮箱"}),rules:[{required:!0,message:(0,P.jsx)(v.FormattedMessage,{id:"pages.login.email.required",defaultMessage:"请输入邮箱!"})},{pattern:/^[a-zA-Z0-9_.-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z0-9]{2,6}$/,message:"邮箱格式不正确"},{max:50,message:"邮箱不得超过50字符"}]}),(0,P.jsx)(g.A.Item,{name:"captchaCode",rules:[],children:(0,P.jsx)(S.Z,{onKaptchaChange:K,onKaptchaCheck:D})}),(0,P.jsx)(R.Z,{fieldProps:{size:"large",prefix:(0,P.jsx)(V.Z,{})},captchaProps:{size:"large",disabled:!G},placeholder:s.formatMessage({id:"pages.login.captcha.placeholder",defaultMessage:"请输入验证码"}),captchaTextRender:function(e,n){return e?"".concat(n," ").concat(s.formatMessage({id:"pages.getCaptchaSecondText",defaultMessage:"获取验证码"})):s.formatMessage({id:"pages.login.phoneLogin.getVerificationCode",defaultMessage:"获取验证码"})},phoneName:"email",name:"code",rules:[{required:!0,message:(0,P.jsx)(v.FormattedMessage,{id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],fieldRef:y,onGetCaptcha:function(){var e=c()(t()().mark((function e(n){var r,a;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("email:",n),!n){e.next=18;break}if((null==p?void 0:p.email)!==n){e.next=6;break}return b.yw.error("Email is not changed!"),W(),e.abrupt("return");case 6:return r={email:n,type:U.Iju,captchaUid:E,captchaCode:q,deviceUid:h,userUid:null==p?void 0:p.uid,orgUid:null==x?void 0:x.uid,platform:U.iw8},e.next=9,(0,F.O8)(r);case 9:if(a=e.sent,console.log("sendEmailCode",a),200===a.code){e.next=15;break}return b.yw.error(a.message),W(),e.abrupt("return");case 15:b.yw.success(a.message),e.next=19;break;case 18:b.yw.error("手机号格式错误");case 19:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()})]})})})},A=function(e){var n=e.open,r=e.onSubmit,a=e.onClose,s=(0,v.useIntl)(),o=g.A.useForm(),i=u()(o,1)[0],l=(0,M.Z)().translateString,f=(0,w.L)((function(e){return{userInfo:e.userInfo,deviceUid:e.deviceUid}})),p=f.userInfo,h=f.deviceUid,x=(0,T.u)((function(e){return e.currentOrg})),y=(0,d.useRef)(),k=(0,d.useState)(""),C=u()(k,2),E=C[0],A=C[1],z=(0,d.useState)(""),N=u()(z,2),q=N[0],L=N[1],H=(0,d.useState)(!1),O=u()(H,2),G=O[0],B=O[1],K=function(){var e=c()(t()().mark((function e(n,r){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captchaUid",n," captchaValue",r),A(n),L(r);case 3:case"end":return e.stop()}}),e)})));return function(n,r){return e.apply(this,arguments)}}(),D=function(){var e=c()(t()().mark((function e(n){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("captcha check result",n),B(n);case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),Y=function(){var e=c()(t()().mark((function e(){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i.validateFields().then(function(){var e=c()(t()().mark((function e(n){var s,o;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("changeMobile:",n),(null==p?void 0:p.mobile)!==n.mobile){e.next=4;break}return b.yw.error("mobile is not changed"),e.abrupt("return");case 4:return s={mobile:n.mobile,code:n.code,platform:U.iw8},e.next=7,(0,Z.KF)(s);case 7:o=e.sent,console.log("changeMobile response:",o),200===o.code?(b.yw.success("Mobile changed successfully!"),r(n.mobile),a()):b.yw.error(l(o.message));case 10:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}());case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),W=function(){setTimeout((function(){var e;console.log("endCaptchaTiming"),null===(e=y.current)||void 0===e||e.endTiming()}),2)};return(0,P.jsx)(P.Fragment,{children:(0,P.jsx)(j.Z,{title:s.formatMessage({id:"pages.settings.reset.mobile",defaultMessage:"重置手机号"}),forceRender:!0,open:n,footer:null,onCancel:function(){a()},children:(0,P.jsxs)(g.A,{form:i,onFinish:function(){var e=c()(t()().mark((function e(n){return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log("changeMobile:",n),Y();case 2:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),children:[(0,P.jsx)(m.Z,{fieldProps:{size:"large",prefix:(0,P.jsx)(I.Z,{})},name:"mobile",placeholder:s.formatMessage({id:"pages.login.phoneNumber.placeholder",defaultMessage:"手机号"}),rules:[{required:!0,message:(0,P.jsx)(v.FormattedMessage,{id:"pages.login.phoneNumber.required",defaultMessage:"请输入手机号!"})},{pattern:/^1\d{10}$/,message:(0,P.jsx)(v.FormattedMessage,{id:"pages.login.phoneNumber.invalid",defaultMessage:"手机号格式错误!"})}]}),(0,P.jsx)(g.A.Item,{name:"captchaCode",rules:[],children:(0,P.jsx)(S.Z,{onKaptchaChange:K,onKaptchaCheck:D})}),(0,P.jsx)(R.Z,{fieldProps:{size:"large",prefix:(0,P.jsx)(V.Z,{})},captchaProps:{size:"large",disabled:!G},placeholder:s.formatMessage({id:"pages.login.captcha.placeholder",defaultMessage:"请输入验证码"}),captchaTextRender:function(e,n){return e?"".concat(n," ").concat(s.formatMessage({id:"pages.getCaptchaSecondText",defaultMessage:"获取验证码"})):s.formatMessage({id:"pages.login.phoneLogin.getVerificationCode",defaultMessage:"获取验证码"})},phoneName:"mobile",name:"code",rules:[{required:!0,message:(0,P.jsx)(v.FormattedMessage,{id:"pages.login.captcha.required",defaultMessage:"请输入验证码!"})}],fieldRef:y,onGetCaptcha:function(){var e=c()(t()().mark((function e(n){var r,a;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("mobile:",n),!n||11!==n.length){e.next=18;break}if((null==p?void 0:p.mobile)!==n){e.next=6;break}return b.yw.error("mobile is not changed"),W(),e.abrupt("return");case 6:return r={mobile:n,type:U.BG8,captchaUid:E,captchaCode:q,deviceUid:h,userUid:null==p?void 0:p.uid,orgUid:null==x?void 0:x.uid,platform:U.iw8},e.next=9,(0,F.Y7)(r);case 9:if(a=e.sent,console.log("sendMobileCode",a),200===a.code){e.next=15;break}return b.yw.error(a.message),W(),e.abrupt("return");case 15:b.yw.success(a.message),e.next=19;break;case 18:b.yw.error("手机号格式错误");case 19:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}()})]})})})},z={labelCol:{span:8},wrapperCol:{span:8}},N=function(){var e=(0,v.useIntl)(),n=g.A.useForm(),r=u()(n,1)[0],a=(0,M.Z)().translateString,s=(0,w.L)((function(e){return{userInfo:e.userInfo,setUserInfo:e.setUserInfo}})),i=s.userInfo,l=s.setUserInfo,j=(0,d.useState)(""),F=u()(j,2),S=F[0],T=F[1],U=(0,d.useState)(!1),I=u()(U,2),V=I[0],R=I[1],N=(0,d.useState)(!1),q=u()(N,2),L=q[0],H=q[1],O=(0,d.useState)(!1),G=u()(O,2),B=G[0],K=G[1],D=function(){var n=c()(t()().mark((function n(s){var c,u;return t()().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return c=o()(o()(o()({},i),s),{},{avatar:S}),console.log(c),n.next=4,(0,Z.ck)(c);case 4:u=n.sent,console.log("updateProfile response:",u),200===u.code?(b.yw.success(e.formatMessage({id:"update.success"})),u.data.username!==i.username?(0,k.NZ)():(l(u.data),r.setFieldsValue({uid:u.data.uid,username:u.data.username,nickname:a(u.data.nickname),email:u.data.email,mobile:u.data.mobile,description:a(u.data.description)}))):b.yw.error(u.message);case 7:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}();(0,d.useEffect)((function(){i&&T(i.avatar)}),[i]);var Y=function(){var e=c()(t()().mark((function e(){var n;return t()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Z.Ai)();case 2:n=e.sent,console.log("handleRefreshProfile getProfile response:",n),200===n.code?(l(n.data),r.setFieldsValue({uid:n.data.uid,username:n.data.username,nickname:a(n.data.nickname),email:n.data.email,mobile:n.data.mobile,description:a(n.data.description)})):b.yw.error(n.message);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,d.useEffect)((function(){Y()}),[]),(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(g.A,o()(o()({},z),{},{form:r,onFinish:D,children:[(0,P.jsx)(m.Z,{name:"uid",label:"Uid",rules:[{required:!0}],readonly:!0}),(0,P.jsx)(g.A.Item,{name:"avatar",valuePropName:"fileList",getValueFromEvent:function(e){return Array.isArray(e)?e:null==e?void 0:e.fileList},label:e.formatMessage({id:"pages.robot.tab.avatar",defaultMessage:"Avatar"}),children:(0,P.jsxs)(y.G,{onSuccess:function(e){console.log("handleUploadSuccess:",e),T(e)},onError:function(e){console.log("handleUploadError:",e)},children:[(0,P.jsx)(f.C,{src:S}),(0,P.jsx)(p.ZP,{icon:(0,P.jsx)(x.Z,{}),children:e.formatMessage({id:"pages.robot.upload",defaultMessage:"Upload"})})]},"avatar")}),(0,P.jsx)(m.Z,{name:"username",label:e.formatMessage({id:"username.change.tip",defaultMessage:"Username"}),rules:[{required:!0}]}),(0,P.jsx)(p.ZP,{onClick:function(){R(!0)},children:e.formatMessage({id:"pages.settings.reset.password",defaultMessage:"重置密码"})}),(0,P.jsx)(m.Z,{name:"nickname",label:e.formatMessage({id:"nickname",defaultMessage:"Nickname"}),rules:[{required:!0}]}),(0,P.jsx)(m.Z,{name:"email",label:i.emailVerified?e.formatMessage({id:"email.verified",defaultMessage:"Email Verified"}):e.formatMessage({id:"email.unverified",defaultMessage:"email unverified"}),rules:[{type:"email"}],readonly:!0}),(0,P.jsx)(p.ZP,{onClick:function(){H(!0)},children:e.formatMessage({id:"pages.settings.reset.email",defaultMessage:"重置邮箱"})}),(0,P.jsx)(m.Z,{name:"mobile",label:i.mobileVerified?e.formatMessage({id:"mobile.verified",defaultMessage:"Mobile Verified"}):e.formatMessage({id:"mobile.unverified",defaultMessage:"mobile unverified"}),readonly:!0}),(0,P.jsx)(p.ZP,{onClick:function(){K(!0)},children:e.formatMessage({id:"pages.settings.reset.mobile",defaultMessage:"重置手机号"})}),(0,P.jsx)(h.Z,{name:"description",label:e.formatMessage({id:"description",defaultMessage:"Description"})})]})),V&&(0,P.jsx)(C,{open:V,onClose:function(){R(!1)}}),L&&(0,P.jsx)(E,{open:L,onSubmit:function(e){H(!1),i.email=e,l(i),r.setFieldValue("email",e)},onClose:function(){H(!1)}}),B&&(0,P.jsx)(A,{open:B,onSubmit:function(e){K(!1),i.mobile=e,l(i),r.setFieldValue("mobile",e)},onClose:function(){K(!1)}})]})}}}]); \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/p__Dashboard__Setting__Server__index.5c4ffffc.async.js b/starter/src/main/resources/static/admin/p__Dashboard__Setting__Server__index.3bf6796a.async.js similarity index 82% rename from starter/src/main/resources/static/admin/p__Dashboard__Setting__Server__index.5c4ffffc.async.js rename to starter/src/main/resources/static/admin/p__Dashboard__Setting__Server__index.3bf6796a.async.js index e721684031..3b105b2613 100644 --- a/starter/src/main/resources/static/admin/p__Dashboard__Setting__Server__index.5c4ffffc.async.js +++ b/starter/src/main/resources/static/admin/p__Dashboard__Setting__Server__index.3bf6796a.async.js @@ -1 +1 @@ -"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[6676],{26805:function(e,n,s){s.r(n);var r=s(30921),d=s(75365),i=s(31549);n.default=function(){var e=(0,r.useIntl)();return(0,i.jsxs)("div",{id:"myqrcode",style:{textAlign:"center",marginTop:"50px"},children:[(0,i.jsxs)("p",{children:[e.formatMessage({id:"server.address",defaultMessage:"Server Address"}),":"]}),(0,i.jsx)(d.ZP,{type:"primary",onClick:function(){console.log("downloadQRCode"),window.open("https://www.weiyuai.cn/download.html")},style:{marginTop:"20px"},children:"使用全场景云客服平台App扫码加入服务器"})]})}}}]); \ No newline at end of file +"use strict";(self.webpackChunkadmin=self.webpackChunkadmin||[]).push([[6676],{26805:function(e,n,s){s.r(n);var r=s(30921),d=s(75365),i=s(31549);n.default=function(){var e=(0,r.useIntl)();return(0,i.jsxs)("div",{id:"myqrcode",style:{textAlign:"center",marginTop:"50px"},children:[(0,i.jsxs)("p",{children:[e.formatMessage({id:"server.address",defaultMessage:"Server Address"}),":"]}),(0,i.jsx)(d.ZP,{type:"primary",onClick:function(){console.log("downloadQRCode"),window.open("https://www.weiyuai.cn/download.html")},style:{marginTop:"20px"},children:"使用微语App扫码加入服务器"})]})}}}]); \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/preload_helper.701746fc.js b/starter/src/main/resources/static/admin/preload_helper.701746fc.js deleted file mode 100644 index 0ad162984a..0000000000 --- a/starter/src/main/resources/static/admin/preload_helper.701746fc.js +++ /dev/null @@ -1 +0,0 @@ -!function(){"use strict";var t="/admin/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"admin","b":"webpack","f":[["p__Dashboard__Super__Upload__index.72e70607.async.js",345],["348.18358f02.async.js",348],["p__Dashboard__Kbase__Taboo__TabooData.f9c908ef.chunk.css",666],["p__Dashboard__Kbase__Taboo__TabooData.667d5e66.async.js",666],["826.b165c485.async.js",826],["p__Dashboard__Super__Thread__ThreadStatistic.1276e270.async.js",941],["p__Dashboard__Ai__LlmModel__index.0d65c9c3.async.js",950],["p__Dashboard__Super__LlmModel__index.66f55f87.async.js",981],["p__Dashboard__Ticket__Ticket.f9c908ef.chunk.css",987],["p__Dashboard__Ticket__Ticket.b213cfd9.async.js",987],["1383.07ab8c6a.async.js",1383],["p__Dashboard__Super__Message__MessageStatistic.7d62c0ee.async.js",1447],["p__Dashboard__Ai__Prompt__index.f9c908ef.chunk.css",1466],["p__Dashboard__Ai__Prompt__index.696205f6.async.js",1466],["p__Dashboard__Setting__Money__index.ecb51bf9.async.js",1589],["p__Dashboard__Service__Agent__index.ab0287d4.async.js",1642],["1723.1546db82.async.js",1723],["p__Auth__Register__index.1ba6b4dd.async.js",1730],["1822.c16f3264.async.js",1822],["1947.deaff3a9.async.js",1947],["p__Dashboard__Kbase__Upload__index.bdf969a8.async.js",2187],["p__Dashboard__Kbase__Llm__LlmData.f9c908ef.chunk.css",2255],["p__Dashboard__Kbase__Llm__LlmData.f130a835.async.js",2255],["2339.d4051689.async.js",2339],["p__Dashboard__Ai__index.cb670aa5.chunk.css",2522],["p__Dashboard__Ai__index.2d37a0d1.async.js",2522],["p__404.e2cb84c2.async.js",2571],["2673.faa8efa0.async.js",2673],["2733.f24bbf7d.async.js",2733],["2791.5abb4084.async.js",2791],["p__Dashboard__Super__User__UserData.8fbd2910.async.js",3088],["p__Dashboard__Kbase__Llm__LlmStatistic.d9a56de6.async.js",3135],["p__Dashboard__Kbase__Taboo__index.84d14897.async.js",3153],["3187.965e8374.async.js",3187],["3370.2e79eac6.async.js",3370],["3442.7a52d66b.async.js",3442],["3832.f7d1aae1.async.js",3832],["3833.b540f078.async.js",3833],["p__Dashboard__Service__Thread__ThreadTab.38c29044.async.js",3868],["4082.54a96774.async.js",4082],["p__Dashboard__Team__Role__index.dc3fa91b.async.js",4325],["p__Dashboard__Team__Action__ActionTable.7694bf1f.async.js",4376],["p__Dashboard__Super__Message__MessageTable.b80cc46d.async.js",4456],["4532.20aad524.async.js",4532],["p__Dashboard__Super__Taboo__index.3d46603a.async.js",4588],["p__Dashboard__Super__User__index.c6d4991d.async.js",4693],["4713.0e758066.async.js",4713],["p__Dashboard__Kbase__QuickReply__QuickReplyData.f9c908ef.chunk.css",4790],["p__Dashboard__Kbase__QuickReply__QuickReplyData.575b417b.async.js",4790],["4794.dcee8290.async.js",4794],["p__Dashboard__Team__Organization__index.87d34fc8.async.js",4822],["5035.20860de9.async.js",5035],["p__Dashboard__Service__Channel__index.74eabb98.async.js",5131],["5152.7672d7b2.async.js",5152],["p__OAuth__Google.fc6c3163.async.js",5279],["p__Dashboard__Kbase__QuickReply__index.03accc69.async.js",5405],["5461.fffcdcf9.async.js",5461],["p__Dashboard__Kbase__QuickReply__QuickReplyStatistic.75808ede.async.js",5726],["p__Dashboard__Kbase__AutoReply__AutoReplyData.f9c908ef.chunk.css",5852],["p__Dashboard__Kbase__AutoReply__AutoReplyData.e6ef723a.async.js",5852],["5978.e58b5048.async.js",5978],["p__Dashboard__Super__Role__index.3965baa8.async.js",6021],["p__Dashboard__Kbase__Llm__index.556d1fbf.async.js",6038],["p__Dashboard__Super__Thread__ThreadSummary.c6655b8c.async.js",6142],["6208.10b9e3bb.async.js",6208],["t__plugin-layout__Layout.5012e1ab.chunk.css",6301],["t__plugin-layout__Layout.9ec1ba1b.async.js",6301],["6457.d9a5b799.async.js",6457],["p__Dashboard__Setting__Server__index.5c4ffffc.async.js",6676],["p__Dashboard__Super__Prompt__index.f9c908ef.chunk.css",6719],["p__Dashboard__Super__Prompt__index.430ee537.async.js",6719],["p__Dashboard__Setting__Basic__index.25f6f1d3.async.js",6766],["6981.8c500942.async.js",6981],["p__Dashboard__Super__Taboo__TabooData.f9c908ef.chunk.css",7045],["p__Dashboard__Super__Taboo__TabooData.db6727dd.async.js",7045],["7064.6486a383.async.js",7064],["p__Dashboard__Kbase__Article__ArticleData.f9c908ef.chunk.css",7116],["p__Dashboard__Kbase__Article__ArticleData.e24ada1c.async.js",7116],["7244.cee4fc51.async.js",7244],["7402.4311692c.async.js",7402],["p__Dashboard__Setting__index.d11886d7.async.js",7469],["7526.9b8c2cca.async.js",7526],["7650.3e4931fc.async.js",7650],["7927.0faacc34.async.js",7927],["7948.1561462a.async.js",7948],["p__Dashboard__Kbase__index.51c776c2.async.js",7955],["p__Dashboard__Team__Member__index.f9c908ef.chunk.css",7960],["p__Dashboard__Team__Member__index.80833a40.async.js",7960],["p__Dashboard__Kbase__Article__ArticleStatistic.5dfd9a34.async.js",7990],["p__Dashboard__Super__Thread__ThreadMonitor.eeeacb62.async.js",8000],["p__Dashboard__Kbase__Article__index.db3c94ce.async.js",8032],["p__Dashboard__Kbase__AutoReply__index.c58591d2.async.js",8125],["p__Dashboard__Service__Message__MessageTab.21f17b65.async.js",8166],["p__Welcome.febf1b0e.async.js",8185],["8247.c66c0f48.async.js",8247],["p__OAuth__Github.99998f31.async.js",8250],["p__Dashboard__Super__Organization__index.625fe64d.async.js",8283],["8577.7cbb0936.async.js",8577],["p__Dashboard__Super__User__UserStatistic.bf635061.async.js",8622],["8659.706bca4a.async.js",8659],["8721.026aa1e0.async.js",8721],["8766.fcea3d5a.async.js",8766],["8901.252a495c.async.js",8901],["8958.53c776fb.async.js",8958],["9013.b745fd63.async.js",9013],["9116.e0d365bd.async.js",9116],["9133.933ccb18.async.js",9133],["p__Dashboard__Super__Thread__ThreadTab.62103468.async.js",9252],["p__Dashboard__Setting__Profile__index.3046ef65.async.js",9290],["p__Auth__Login__index.78a58e20.async.js",9368],["p__Dashboard__Setting__Certification__index.cedb749c.async.js",9400],["p__Dashboard__Setting__Notification__index.fc673524.async.js",9408],["9446.4747b28f.async.js",9446],["p__Dashboard__Super__Thread__index.b8131c7b.async.js",9498],["p__Dashboard__Service__Quality__index.d290ad3c.async.js",9505],["p__Dashboard__Super__Message__index.faf49aa9.async.js",9537],["p__Dashboard__Service__Customer__index.26586971.async.js",9555],["9563.ad93fc89.async.js",9563],["p__Dashboard__CallCenter__index.594721e2.async.js",9758],["9782.3c77b422.chunk.css",9782],["9782.45473c93.async.js",9782],["p__Dashboard__Service__Workgroup__index.d7df1b51.async.js",9828],["9952.5bb4b6ec.async.js",9952]],"r":{"/*":[26,106],"/":[10,29,35,65,66,106],"/welcome":[19,23,27,29,35,43,67,75,79,93,94,100,106,112,10,65,66],"/kb":[85,10,29,35,65,66,106],"/callcenter":[118,10,29,35,65,66,106],"/setting":[80,10,29,35,65,66,106],"/auth/login":[29,75,79,94,97,109],"/auth/register":[17,29,75,79,97],"/oauth/github":[95],"/oauth/google":[54],"/team/member":[1,19,29,35,43,56,75,79,82,86,87,94,106,112,10,65,66],"/team/role":[27,29,33,40,43,75,79,84,94,10,35,65,66,106],"/team/action":[19,29,35,41,43,75,79,94,106,112,10,65,66],"/team/org":[1,29,50,75,79,10,35,65,66,106],"/cs/agent":[1,4,15,16,23,27,29,37,43,75,79,84,94,101,103,117,119,120,122,10,35,65,66,106],"/cs/workgroup":[1,4,16,23,27,29,37,43,75,79,84,94,101,103,117,119,120,121,122,10,35,65,66,106],"/cs/thread":[19,29,35,38,43,75,79,81,94,100,106,112,10,65,66],"/cs/message":[1,19,27,29,35,43,60,75,78,79,92,94,100,106,112,10,65,66],"/cs/channel":[16,23,27,29,35,43,51,52,75,79,84,94,103,105,122,10,65,66,106],"/cs/quality":[19,29,35,43,75,79,94,106,112,114,10,65,66],"/cs/crm":[19,29,35,39,43,75,79,94,100,106,112,116,10,65,66],"/ai/robot":[1,4,16,23,24,25,27,29,35,36,37,43,64,75,79,84,94,100,101,103,119,120,122,10,65,66,106],"/ai/model":[6,29,34,35,43,46,56,64,75,79,84,94,105,112,10,65,66,106],"/ai/prompt":[1,12,13,19,29,35,43,75,79,83,94,99,106,112,10,65,66],"/kb/article":[27,29,35,36,43,49,64,75,79,84,90,94,100,85,10,65,66,106],"/kb/llm":[27,29,35,36,43,49,62,64,75,79,84,94,100,85,10,65,66,106],"/kb/autoreply":[27,29,35,36,43,49,64,75,79,84,91,94,100,85,10,65,66,106],"/kb/quickreply":[27,29,35,36,43,49,55,64,75,79,84,94,100,85,10,65,66,106],"/kb/taboo":[27,29,32,35,36,43,49,64,75,79,84,94,100,85,10,65,66,106],"/kb/upload":[19,20,29,35,43,75,79,94,106,112,85,10,65,66],"/ticket/ticket":[1,8,9,19,29,35,43,75,79,82,94,99,106,112,10,65,66],"/setting/profile":[1,18,29,75,79,108,80,10,35,65,66,106],"/setting/basic":[71,79,80,10,29,35,65,66,106],"/setting/certification":[29,75,79,94,110,80,10,35,65,66,106],"/setting/money":[14,19,29,35,43,75,79,94,103,106,112,80,10,65,66],"/setting/server":[68,80,10,29,35,65,66,106],"/setting/notification":[19,29,35,43,75,79,94,106,111,112,80,10,65,66],"/super/org":[19,28,29,35,43,75,79,94,96,100,106,112,10,65,66],"/super/user":[45,10,29,35,65,66,106],"/super/role":[27,29,33,43,61,75,79,84,94,10,35,65,66,106],"/super/provider":[7,29,34,35,43,46,56,64,75,79,84,94,105,112,10,65,66,106],"/super/prompt":[1,19,29,35,43,69,70,75,79,83,94,99,106,112,10,65,66],"/super/thread":[113,10,29,35,65,66,106],"/super/message":[115,10,29,35,65,66,106],"/super/upload":[0,19,29,35,43,75,79,94,106,112,10,65,66],"/super/taboo":[27,29,35,36,43,44,49,64,75,79,84,94,100,10,65,66,106],"/kb/article/data":[19,29,35,43,75,76,77,79,94,99,106,112,27,36,49,64,84,90,100,85,10,65,66],"/kb/article/statistic":[88,27,29,35,36,43,49,64,75,79,84,90,94,100,85,10,65,66,106],"/kb/llm/data":[1,19,21,22,27,29,35,43,56,75,79,82,94,99,101,106,112,119,120,36,49,62,64,84,100,85,10,65,66],"/kb/llm/statistic":[31,27,29,35,36,43,49,62,64,75,79,84,94,100,85,10,65,66,106],"/kb/autoreply/data":[1,19,29,35,43,56,58,59,75,79,82,94,99,100,106,112,27,36,49,64,84,91,85,10,65,66],"/kb/quickreply/data":[1,19,29,35,43,47,48,56,75,79,82,94,99,100,106,112,119,120,27,36,49,55,64,84,85,10,65,66],"/kb/quickreply/statistic":[57,27,29,35,36,43,49,55,64,75,79,84,94,100,85,10,65,66,106],"/kb/taboo/data":[1,2,3,19,29,35,43,56,72,75,79,82,94,99,100,102,106,112,27,32,36,49,64,84,85,10,65,66],"/super/user/data":[19,29,30,35,39,43,53,75,79,94,100,106,112,45,10,65,66],"/super/user/statistic":[98,45,10,29,35,65,66,106],"/super/thread/data":[19,29,35,43,75,79,81,94,100,106,107,112,113,10,65,66],"/super/thread/monitor":[89,113,10,29,35,65,66,106],"/super/thread/statistic":[5,113,10,29,35,65,66,106],"/super/thread/summary":[19,29,35,43,63,75,79,94,106,112,113,10,65,66],"/super/message/data":[19,29,35,42,43,75,78,79,94,100,106,112,115,10,65,66],"/super/message/statistic":[11,115,10,29,35,65,66,106],"/super/taboo/data":[1,19,29,35,43,56,72,73,74,75,79,82,94,99,100,102,106,112,27,36,44,49,64,84,10,65,66]}},{publicPath:"/admin/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/preload_helper.ae5e06ff.js b/starter/src/main/resources/static/admin/preload_helper.ae5e06ff.js new file mode 100644 index 0000000000..6263e4996e --- /dev/null +++ b/starter/src/main/resources/static/admin/preload_helper.ae5e06ff.js @@ -0,0 +1 @@ +!function(){"use strict";var t="/admin/".replace(/([^/])$/,"$1/"),e=location.pathname,n=e.startsWith(t)&&decodeURI("/".concat(e.slice(t.length)));if(n){var a=document,c=a.head,r=a.createElement.bind(a),i=function(t,e,n){var a,c=e.r[t]||(null===(a=Object.entries(e.r).find((function(e){var n=e[0];return new RegExp("^".concat(n.replace(/\/:[^/]+/g,"/[^/]+").replace("/*","/.+"),"$")).test(t)})))||void 0===a?void 0:a[1]);return null==c?void 0:c.map((function(t){var a=e.f[t][1],c=e.f[t][0];return{type:c.split(".").pop(),url:"".concat(n.publicPath).concat(c),attrs:[["data-".concat(e.b),"".concat(e.p,":").concat(a)]]}}))}(n,{"p":"admin","b":"webpack","f":[["p__Dashboard__Super__Upload__index.72e70607.async.js",345],["348.18358f02.async.js",348],["p__Dashboard__Kbase__Taboo__TabooData.f9c908ef.chunk.css",666],["p__Dashboard__Kbase__Taboo__TabooData.667d5e66.async.js",666],["826.b165c485.async.js",826],["p__Dashboard__Super__Thread__ThreadStatistic.1276e270.async.js",941],["p__Dashboard__Ai__LlmModel__index.0d65c9c3.async.js",950],["p__Dashboard__Super__LlmModel__index.66f55f87.async.js",981],["p__Dashboard__Ticket__Ticket.f9c908ef.chunk.css",987],["p__Dashboard__Ticket__Ticket.b213cfd9.async.js",987],["1383.07ab8c6a.async.js",1383],["p__Dashboard__Super__Message__MessageStatistic.7d62c0ee.async.js",1447],["p__Dashboard__Ai__Prompt__index.f9c908ef.chunk.css",1466],["p__Dashboard__Ai__Prompt__index.696205f6.async.js",1466],["1514.8a5b8a6d.async.js",1514],["p__Dashboard__Setting__Money__index.ecb51bf9.async.js",1589],["p__Dashboard__Service__Agent__index.ab0287d4.async.js",1642],["1723.1546db82.async.js",1723],["p__Auth__Register__index.1ba6b4dd.async.js",1730],["1947.deaff3a9.async.js",1947],["p__Dashboard__Kbase__Upload__index.bdf969a8.async.js",2187],["p__Dashboard__Kbase__Llm__LlmData.f9c908ef.chunk.css",2255],["p__Dashboard__Kbase__Llm__LlmData.f130a835.async.js",2255],["2339.d4051689.async.js",2339],["p__Dashboard__Ai__index.cb670aa5.chunk.css",2522],["p__Dashboard__Ai__index.2d37a0d1.async.js",2522],["p__404.e2cb84c2.async.js",2571],["2673.faa8efa0.async.js",2673],["2733.f24bbf7d.async.js",2733],["2791.5abb4084.async.js",2791],["p__Dashboard__Super__User__UserData.8fbd2910.async.js",3088],["p__Dashboard__Kbase__Llm__LlmStatistic.d9a56de6.async.js",3135],["p__Dashboard__Kbase__Taboo__index.84d14897.async.js",3153],["3187.965e8374.async.js",3187],["3370.2e79eac6.async.js",3370],["3442.7a52d66b.async.js",3442],["3832.f7d1aae1.async.js",3832],["3833.b540f078.async.js",3833],["p__Dashboard__Service__Thread__ThreadTab.38c29044.async.js",3868],["4082.54a96774.async.js",4082],["p__Dashboard__Team__Role__index.dc3fa91b.async.js",4325],["p__Dashboard__Team__Action__ActionTable.7694bf1f.async.js",4376],["p__Dashboard__Super__Message__MessageTable.b80cc46d.async.js",4456],["p__Dashboard__Super__Taboo__index.3d46603a.async.js",4588],["p__Dashboard__Super__User__index.c6d4991d.async.js",4693],["4713.0e758066.async.js",4713],["p__Dashboard__Kbase__QuickReply__QuickReplyData.f9c908ef.chunk.css",4790],["p__Dashboard__Kbase__QuickReply__QuickReplyData.575b417b.async.js",4790],["4794.dcee8290.async.js",4794],["p__Dashboard__Team__Organization__index.87d34fc8.async.js",4822],["p__Dashboard__Service__Channel__index.74eabb98.async.js",5131],["5152.7672d7b2.async.js",5152],["p__OAuth__Google.fc6c3163.async.js",5279],["p__Dashboard__Kbase__QuickReply__index.03accc69.async.js",5405],["5461.fffcdcf9.async.js",5461],["p__Dashboard__Kbase__QuickReply__QuickReplyStatistic.75808ede.async.js",5726],["p__Dashboard__Kbase__AutoReply__AutoReplyData.f9c908ef.chunk.css",5852],["p__Dashboard__Kbase__AutoReply__AutoReplyData.e6ef723a.async.js",5852],["5978.e58b5048.async.js",5978],["p__Dashboard__Super__Role__index.3965baa8.async.js",6021],["p__Dashboard__Kbase__Llm__index.556d1fbf.async.js",6038],["p__Dashboard__Super__Thread__ThreadSummary.c6655b8c.async.js",6142],["6208.10b9e3bb.async.js",6208],["t__plugin-layout__Layout.5012e1ab.chunk.css",6301],["t__plugin-layout__Layout.9ec1ba1b.async.js",6301],["6457.d9a5b799.async.js",6457],["p__Dashboard__Setting__Server__index.3bf6796a.async.js",6676],["p__Dashboard__Super__Prompt__index.f9c908ef.chunk.css",6719],["p__Dashboard__Super__Prompt__index.430ee537.async.js",6719],["p__Dashboard__Setting__Basic__index.25f6f1d3.async.js",6766],["6981.8c500942.async.js",6981],["p__Dashboard__Super__Taboo__TabooData.f9c908ef.chunk.css",7045],["p__Dashboard__Super__Taboo__TabooData.db6727dd.async.js",7045],["7064.6486a383.async.js",7064],["p__Dashboard__Kbase__Article__ArticleData.f9c908ef.chunk.css",7116],["p__Dashboard__Kbase__Article__ArticleData.e24ada1c.async.js",7116],["7186.1e337a49.async.js",7186],["7244.cee4fc51.async.js",7244],["7402.4311692c.async.js",7402],["p__Dashboard__Setting__index.d11886d7.async.js",7469],["7526.9b8c2cca.async.js",7526],["7650.3e4931fc.async.js",7650],["7927.0faacc34.async.js",7927],["7948.1561462a.async.js",7948],["p__Dashboard__Kbase__index.51c776c2.async.js",7955],["p__Dashboard__Team__Member__index.f9c908ef.chunk.css",7960],["p__Dashboard__Team__Member__index.80833a40.async.js",7960],["p__Dashboard__Kbase__Article__ArticleStatistic.5dfd9a34.async.js",7990],["p__Dashboard__Super__Thread__ThreadMonitor.eeeacb62.async.js",8000],["p__Dashboard__Kbase__Article__index.db3c94ce.async.js",8032],["p__Dashboard__Kbase__AutoReply__index.c58591d2.async.js",8125],["p__Dashboard__Service__Message__MessageTab.21f17b65.async.js",8166],["p__Welcome.febf1b0e.async.js",8185],["8247.c66c0f48.async.js",8247],["p__OAuth__Github.99998f31.async.js",8250],["p__Dashboard__Super__Organization__index.625fe64d.async.js",8283],["8577.7cbb0936.async.js",8577],["p__Dashboard__Super__User__UserStatistic.bf635061.async.js",8622],["8659.706bca4a.async.js",8659],["8721.026aa1e0.async.js",8721],["8766.fcea3d5a.async.js",8766],["8901.252a495c.async.js",8901],["8958.53c776fb.async.js",8958],["9013.b745fd63.async.js",9013],["9116.e0d365bd.async.js",9116],["9133.933ccb18.async.js",9133],["p__Dashboard__Super__Thread__ThreadTab.62103468.async.js",9252],["p__Dashboard__Setting__Profile__index.3c6fb9a5.async.js",9290],["p__Auth__Login__index.e8dbb331.async.js",9368],["p__Dashboard__Setting__Certification__index.b36d21b7.async.js",9400],["p__Dashboard__Setting__Notification__index.fc673524.async.js",9408],["9446.4747b28f.async.js",9446],["p__Dashboard__Super__Thread__index.b8131c7b.async.js",9498],["p__Dashboard__Service__Quality__index.d290ad3c.async.js",9505],["p__Dashboard__Super__Message__index.faf49aa9.async.js",9537],["p__Dashboard__Service__Customer__index.26586971.async.js",9555],["9563.ad93fc89.async.js",9563],["p__Dashboard__CallCenter__index.594721e2.async.js",9758],["9782.3c77b422.chunk.css",9782],["9782.45473c93.async.js",9782],["p__Dashboard__Service__Workgroup__index.d7df1b51.async.js",9828],["9952.5bb4b6ec.async.js",9952]],"r":{"/*":[26,105],"/":[10,29,35,63,64,105],"/welcome":[19,23,27,29,35,65,73,76,78,92,93,99,105,111,10,63,64],"/kb":[84,10,29,35,63,64,105],"/callcenter":[117,10,29,35,63,64,105],"/setting":[79,10,29,35,63,64,105],"/auth/login":[29,73,78,93,96,102,108],"/auth/register":[18,29,73,78,96],"/oauth/github":[94],"/oauth/google":[52],"/team/member":[1,19,29,35,54,73,76,78,81,85,86,93,105,111,10,63,64],"/team/role":[27,29,33,40,73,76,78,83,93,10,35,63,64,105],"/team/action":[19,29,35,41,73,76,78,93,105,111,10,63,64],"/team/org":[1,29,49,73,78,10,35,63,64,105],"/cs/agent":[1,4,16,17,23,27,29,37,73,76,78,83,93,100,102,116,118,119,121,10,35,63,64,105],"/cs/workgroup":[1,4,17,23,27,29,37,73,76,78,83,93,100,102,116,118,119,120,121,10,35,63,64,105],"/cs/thread":[19,29,35,38,73,76,78,80,93,99,105,111,10,63,64],"/cs/message":[1,19,27,29,35,58,73,76,77,78,91,93,99,105,111,10,63,64],"/cs/channel":[14,17,23,27,29,35,50,73,76,78,83,93,102,104,121,10,63,64,105],"/cs/quality":[19,29,35,73,76,78,93,105,111,113,10,63,64],"/cs/crm":[19,29,35,39,73,76,78,93,99,105,111,115,10,63,64],"/ai/robot":[1,4,17,23,24,25,27,29,35,36,37,62,73,76,78,83,93,99,100,102,118,119,121,10,63,64,105],"/ai/model":[6,29,34,35,45,54,62,73,76,78,83,93,104,111,10,63,64,105],"/ai/prompt":[1,12,13,19,29,35,73,76,78,82,93,98,105,111,10,63,64],"/kb/article":[27,29,35,36,48,62,73,76,78,83,89,93,99,84,10,63,64,105],"/kb/llm":[27,29,35,36,48,60,62,73,76,78,83,93,99,84,10,63,64,105],"/kb/autoreply":[27,29,35,36,48,62,73,76,78,83,90,93,99,84,10,63,64,105],"/kb/quickreply":[27,29,35,36,48,53,62,73,76,78,83,93,99,84,10,63,64,105],"/kb/taboo":[27,29,32,35,36,48,62,73,76,78,83,93,99,84,10,63,64,105],"/kb/upload":[19,20,29,35,73,76,78,93,105,111,84,10,63,64],"/ticket/ticket":[1,8,9,19,29,35,73,76,78,81,93,98,105,111,10,63,64],"/setting/profile":[1,29,73,78,107,79,10,35,63,64,105],"/setting/basic":[69,78,79,10,29,35,63,64,105],"/setting/certification":[29,73,78,93,109,79,10,35,63,64,105],"/setting/money":[15,19,29,35,73,76,78,93,102,105,111,79,10,63,64],"/setting/server":[66,79,10,29,35,63,64,105],"/setting/notification":[19,29,35,73,76,78,93,105,110,111,79,10,63,64],"/super/org":[19,28,29,35,73,76,78,93,95,99,105,111,10,63,64],"/super/user":[44,10,29,35,63,64,105],"/super/role":[27,29,33,59,73,76,78,83,93,10,35,63,64,105],"/super/provider":[7,29,34,35,45,54,62,73,76,78,83,93,104,111,10,63,64,105],"/super/prompt":[1,19,29,35,67,68,73,76,78,82,93,98,105,111,10,63,64],"/super/thread":[112,10,29,35,63,64,105],"/super/message":[114,10,29,35,63,64,105],"/super/upload":[0,19,29,35,73,76,78,93,105,111,10,63,64],"/super/taboo":[27,29,35,36,43,48,62,73,76,78,83,93,99,10,63,64,105],"/kb/article/data":[19,29,35,73,74,75,76,78,93,98,105,111,27,36,48,62,83,89,99,84,10,63,64],"/kb/article/statistic":[87,27,29,35,36,48,62,73,76,78,83,89,93,99,84,10,63,64,105],"/kb/llm/data":[1,19,21,22,27,29,35,54,73,76,78,81,93,98,100,105,111,118,119,36,48,60,62,83,99,84,10,63,64],"/kb/llm/statistic":[31,27,29,35,36,48,60,62,73,76,78,83,93,99,84,10,63,64,105],"/kb/autoreply/data":[1,19,29,35,54,56,57,73,76,78,81,93,98,99,105,111,27,36,48,62,83,90,84,10,63,64],"/kb/quickreply/data":[1,19,29,35,46,47,54,73,76,78,81,93,98,99,105,111,118,119,27,36,48,53,62,83,84,10,63,64],"/kb/quickreply/statistic":[55,27,29,35,36,48,53,62,73,76,78,83,93,99,84,10,63,64,105],"/kb/taboo/data":[1,2,3,19,29,35,54,70,73,76,78,81,93,98,99,101,105,111,27,32,36,48,62,83,84,10,63,64],"/super/user/data":[19,29,30,35,39,51,73,76,78,93,99,105,111,44,10,63,64],"/super/user/statistic":[97,44,10,29,35,63,64,105],"/super/thread/data":[19,29,35,73,76,78,80,93,99,105,106,111,112,10,63,64],"/super/thread/monitor":[88,112,10,29,35,63,64,105],"/super/thread/statistic":[5,112,10,29,35,63,64,105],"/super/thread/summary":[19,29,35,61,73,76,78,93,105,111,112,10,63,64],"/super/message/data":[19,29,35,42,73,76,77,78,93,99,105,111,114,10,63,64],"/super/message/statistic":[11,114,10,29,35,63,64,105],"/super/taboo/data":[1,19,29,35,54,70,71,72,73,76,78,81,93,98,99,101,105,111,27,36,43,48,62,83,10,63,64]}},{publicPath:"/admin/"});null==i||i.forEach((function(t){var e,n=t.type,a=t.url;if("js"===n)(e=r("script")).src=a,e.async=!0;else{if("css"!==n)return;(e=r("link")).href=a,e.rel="preload",e.as="style"}t.attrs.forEach((function(t){e.setAttribute(t[0],t[1]||"")})),c.appendChild(e)}))}}(); \ No newline at end of file diff --git a/starter/src/main/resources/static/admin/umi.027aa7b0.js b/starter/src/main/resources/static/admin/umi.027aa7b0.js deleted file mode 100644 index 2c7bd79743..0000000000 --- a/starter/src/main/resources/static/admin/umi.027aa7b0.js +++ /dev/null @@ -1 +0,0 @@ -!function(){var e,t,n,r,i={69521:function(e,t,n){"use strict";n.d(t,{iN:function(){return v},R_:function(){return l},EV:function(){return p},Ti:function(){return S},ez:function(){return c}});var r=n(87471),i=[{index:7,amount:15},{index:6,amount:25},{index:5,amount:30},{index:5,amount:45},{index:5,amount:65},{index:5,amount:85},{index:4,amount:90},{index:3,amount:95},{index:2,amount:97},{index:1,amount:98}];function o(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function a(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Math.round(100*r)/100);var r}function s(e,t,n){var r;return r=n?e.v+.05*t:e.v-.15*t,r=Math.max(0,Math.min(1,r)),Math.round(100*r)/100}function l(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],l=new r.t(e),c=l.toHsv(),u=5;u>0;u-=1){var d=new r.t({h:o(c,u,!0),s:a(c,u,!0),v:s(c,u,!0)});n.push(d)}n.push(l);for(var f=1;f<=4;f+=1){var p=new r.t({h:o(c,f),s:a(c,f),v:s(c,f)});n.push(p)}return"dark"===t.theme?i.map((function(e){var i=e.index,o=e.amount;return new r.t(t.backgroundColor||"#141414").mix(n[i],o).toHexString()})):n.map((function(e){return e.toHexString()}))}var c={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"},u=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];u.primary=u[5];var d=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];d.primary=d[5];var f=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];f.primary=f[5];var p=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];p.primary=p[5];var h=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];h.primary=h[5];var m=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];m.primary=m[5];var g=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];g.primary=g[5];var y=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];y.primary=y[5];var v=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];v.primary=v[5];var b=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];b.primary=b[5];var w=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];w.primary=w[5];var k=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];k.primary=k[5];var E=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];E.primary=E[5];var S={red:u,volcano:d,orange:f,gold:p,yellow:h,lime:m,green:g,cyan:y,blue:v,geekblue:b,purple:w,magenta:k,grey:E},x=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];x.primary=x[5];var C=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];C.primary=C[5];var T=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];T.primary=T[5];var _=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];_.primary=_[5];var A=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];A.primary=A[5];var O=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];O.primary=O[5];var R=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];R.primary=R[5];var P=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];P.primary=P[5];var I=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];I.primary=I[5];var M=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];M.primary=M[5];var L=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];L.primary=L[5];var N=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];N.primary=N[5];var D=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];D.primary=D[5]},77167:function(e,t,n){"use strict";n.d(t,{rb:function(){return L},IX:function(){return C}});var r=n(6918),i=n(42601),o=n(20173),a=n(17082),s=n(44194),l=n(47825),c=n(74592),u=n(32099),d=n(54665),f=n(14755),p=n(3518),h=(0,u.Z)((function e(){(0,c.Z)(this,e)})),m="CALC_UNIT",g=new RegExp(m,"g");function y(e){return"number"==typeof e?"".concat(e).concat(m):e}var v=function(e){(0,f.Z)(n,e);var t=(0,p.Z)(n);function n(e,i){var a;(0,c.Z)(this,n),a=t.call(this),(0,o.Z)((0,d.Z)(a),"result",""),(0,o.Z)((0,d.Z)(a),"unitlessCssVar",void 0),(0,o.Z)((0,d.Z)(a),"lowPriority",void 0);var s=(0,r.Z)(e);return a.unitlessCssVar=i,e instanceof n?a.result="(".concat(e.result,")"):"number"===s?a.result=y(e):"string"===s&&(a.result=e),a}return(0,u.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result="".concat(this.result," + ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," + ").concat(y(e))),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof n?this.result="".concat(this.result," - ").concat(e.getResult()):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," - ").concat(y(e))),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," * ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," * ").concat(e)),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result="(".concat(this.result,")")),e instanceof n?this.result="".concat(this.result," / ").concat(e.getResult(!0)):"number"!=typeof e&&"string"!=typeof e||(this.result="".concat(this.result," / ").concat(e)),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?"(".concat(this.result,")"):this.result}},{key:"equal",value:function(e){var t=this,n=(e||{}).unit,r=!0;return"boolean"==typeof n?r=n:Array.from(this.unitlessCssVar).some((function(e){return t.result.includes(e)}))&&(r=!1),this.result=this.result.replace(g,r?"px":""),void 0!==this.lowPriority?"calc(".concat(this.result,")"):this.result}}]),n}(h),b=function(e){(0,f.Z)(n,e);var t=(0,p.Z)(n);function n(e){var r;return(0,c.Z)(this,n),r=t.call(this),(0,o.Z)((0,d.Z)(r),"result",0),e instanceof n?r.result=e.result:"number"==typeof e&&(r.result=e),r}return(0,u.Z)(n,[{key:"add",value:function(e){return e instanceof n?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof n?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof n?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof n?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}]),n}(h),w=function(e,t){var n="css"===e?v:b;return function(e){return new n(e,t)}},k=function(e,t){return"".concat([t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-"))};n(81654);var E=function(e,t,n,r){var o=(0,a.Z)({},t[e]);null!=r&&r.deprecatedTokens&&r.deprecatedTokens.forEach((function(e){var t,n=(0,i.Z)(e,2),r=n[0],a=n[1];(null!=o&&o[r]||null!=o&&o[a])&&(null!==(t=o[a])&&void 0!==t||(o[a]=null==o?void 0:o[r]))}));var s=(0,a.Z)((0,a.Z)({},n),o);return Object.keys(s).forEach((function(e){s[e]===t[e]&&delete s[e]})),s},S="undefined"!=typeof CSSINJS_STATISTIC,x=!0;function C(){for(var e=arguments.length,t=new Array(e),n=0;n1e4){var t=Date.now();this.lastAccessBeat.forEach((function(n,r){t-n>6e5&&(e.map.delete(r),e.lastAccessBeat.delete(r))})),this.accessBeat=0}}}]),e}());var I=function(e,t){return s.useMemo((function(){var n=P.get(t);if(n)return n;var r=e();return P.set(t,r),r}),t)},M=function(){return{}};var L=function(e){var t=e.useCSP,n=void 0===t?M:t,c=e.useToken,u=e.usePrefix,d=e.getResetStyles,f=e.getCommonStyle,p=e.getCompUnitless;function h(t,o,s){var p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},h=Array.isArray(t)?t:[t,t],m=(0,i.Z)(h,1),g=m[0],y=h.join("-"),v=e.layer||{name:"antd"};return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,i=c(),h=i.theme,m=i.realToken,b=i.hashId,S=i.token,x=i.cssVar,T=u(),_=T.rootPrefixCls,P=T.iconPrefixCls,M=n(),L=x?"css":"js",N=I((function(){var e=new Set;return x&&Object.keys(p.unitless||{}).forEach((function(t){e.add((0,l.ks)(t,x.prefix)),e.add((0,l.ks)(t,k(g,x.prefix)))})),w(L,e)}),[L,g,null==x?void 0:x.prefix]),D=R(L),j=D.max,B=D.min,q={theme:h,token:S,hashId:b,nonce:function(){return M.nonce},clientOnly:p.clientOnly,layer:v,order:p.order||-999};"function"==typeof d&&(0,l.xy)((0,a.Z)((0,a.Z)({},q),{},{clientOnly:!1,path:["Shared",_]}),(function(){return d(S,{prefix:{rootPrefixCls:_,iconPrefixCls:P},csp:M})}));var F=(0,l.xy)((0,a.Z)((0,a.Z)({},q),{},{path:[y,e,P]}),(function(){if(!1===p.injectStyle)return[];var n=A(S),i=n.token,a=n.flush,c=O(g,m,s),u=".".concat(e),d=E(g,m,c,{deprecatedTokens:p.deprecatedTokens});x&&c&&"object"===(0,r.Z)(c)&&Object.keys(c).forEach((function(e){c[e]="var(".concat((0,l.ks)(e,k(g,x.prefix)),")")}));var h=C(i,{componentCls:u,prefixCls:e,iconCls:".".concat(P),antCls:".".concat(_),calc:N,max:j,min:B},x?c:d),y=o(h,{hashId:b,prefixCls:e,rootPrefixCls:_,iconPrefixCls:P});a(g,d);var v="function"==typeof f?f(h,e,t,p.resetFont):null;return[!1===p.resetStyle?null:v,y]}));return[F,b]}}return{genStyleHooks:function(e,t,n,r){var u=Array.isArray(e)?e[0]:e;function d(e){return"".concat(String(u)).concat(e.slice(0,1).toUpperCase()).concat(e.slice(1))}var f=(null==r?void 0:r.unitless)||{},m="function"==typeof p?p(e):{},g=(0,a.Z)((0,a.Z)({},m),{},(0,o.Z)({},d("zIndexPopup"),!0));Object.keys(f).forEach((function(e){g[d(e)]=f[e]}));var y=(0,a.Z)((0,a.Z)({},r),{},{unitless:g,prefixToken:d}),v=h(e,t,n,y),b=function(e,t,n){var r=n.unitless,i=n.injectStyle,o=void 0===i||i,a=n.prefixToken,u=n.ignore,d=function(i){var o=i.rootCls,s=i.cssVar,d=void 0===s?{}:s,f=c().realToken;return(0,l.CI)({path:[e],prefix:d.prefix,key:d.key,unitless:r,ignore:u,token:f,scope:o},(function(){var r=O(e,f,t),i=E(e,f,r,{deprecatedTokens:null==n?void 0:n.deprecatedTokens});return Object.keys(r).forEach((function(e){i[a(e)]=i[e],delete i[e]})),i})),null},f=function(t){var n=c().cssVar;return[function(r){return o&&n?s.createElement(s.Fragment,null,s.createElement(d,{rootCls:t,cssVar:n,component:e}),r):r},null==n?void 0:n.key]};return f}(u,n,y);return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=v(e,t),r=(0,i.Z)(n,2),o=r[1],a=b(t),s=(0,i.Z)(a,2),l=s[0],c=s[1];return[l,o,c]}},genSubStyleComponent:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=h(e,t,n,(0,a.Z)({resetStyle:!1,order:-998},r)),o=function(e){var t=e.prefixCls,n=e.rootCls;return i(t,void 0===n?t:n),null};return o},genComponentStyleHook:h}}},47825:function(e,t,n){"use strict";n.d(t,{E4:function(){return bt},jG:function(){return $},t2:function(){return ue},ks:function(){return X},bf:function(){return K},CI:function(){return yt},fp:function(){return fe},xy:function(){return ht}});var r=n(20173),i=n(42601),o=n(56299),a=n(17082);var s=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},l=n(33229);var c="data-rc-order",u="data-rc-priority",d="rc-util-key",f=new Map;function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):d}function h(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function m(e){return"queue"===e?"prependQueue":e?"prepend":"append"}function g(e){return Array.from((f.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,l.Z)())return null;var n=t.csp,r=t.prepend,i=t.priority,o=void 0===i?0:i,a=m(r),s="prependQueue"===a,d=document.createElement("style");d.setAttribute(c,a),s&&o&&d.setAttribute(u,"".concat(o)),null!=n&&n.nonce&&(d.nonce=null==n?void 0:n.nonce),d.innerHTML=e;var f=h(t),p=f.firstChild;if(r){if(s){var y=(t.styles||g(f)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(c)))return!1;var t=Number(e.getAttribute(u)||0);return o>=t}));if(y.length)return f.insertBefore(d,y[y.length-1].nextSibling),d}f.insertBefore(d,p)}else f.appendChild(d);return d}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=h(t);return(t.styles||g(n)).find((function(n){return n.getAttribute(p(t))===e}))}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=v(e,t);if(n){var r=h(t);r.removeChild(n)}}function w(e,t){var n=f.get(e);if(!n||!function(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}(document,n)){var r=y("",t),i=r.parentNode;f.set(e,i),e.removeChild(r)}}function k(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=h(n),i=g(r),o=(0,a.Z)((0,a.Z)({},n),{},{styles:i});w(r,o);var s=v(t,o);if(s){var l,c,u;if(null!==(l=o.csp)&&void 0!==l&&l.nonce&&s.nonce!==(null===(c=o.csp)||void 0===c?void 0:c.nonce))s.nonce=null===(u=o.csp)||void 0===u?void 0:u.nonce;return s.innerHTML!==e&&(s.innerHTML=e),s}var d=y(e,o);return d.setAttribute(p(o),t),d}var E=n(44194),S=n.t(E,2),x=(n(20638),n(28740));var C=n(74592),T=n(32099);function _(e){return e.join("%")}var A=function(){function e(t){(0,C.Z)(this,e),(0,r.Z)(this,"instanceId",void 0),(0,r.Z)(this,"cache",new Map),this.instanceId=t}return(0,T.Z)(e,[{key:"get",value:function(e){return this.opGet(_(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(_(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}(),O="data-token-hash",R="data-css-hash",P="__cssinjs_instance__";function I(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(R,"]"))||[],n=document.head.firstChild;Array.from(t).forEach((function(t){t[P]=t[P]||e,t[P]===e&&document.head.insertBefore(t,n)}));var r={};Array.from(document.querySelectorAll("style[".concat(R,"]"))).forEach((function(t){var n,i=t.getAttribute(R);r[i]?t[P]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[i]=!0}))}return new A(e)}var M=E.createContext({hashPriority:"low",cache:I(),defaultCache:!0}),L=M,N=n(6918),D="CALC_UNIT";new RegExp(D,"g");var j=function(){function e(){(0,C.Z)(this,e),(0,r.Z)(this,"cache",void 0),(0,r.Z)(this,"keys",void 0),(0,r.Z)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,T.Z)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={map:this.cache};return e.forEach((function(e){var t;i?i=null===(t=i)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):i=void 0})),null!==(t=i)&&void 0!==t&&t.value&&r&&(i.value[1]=this.cacheCallTimes++),null===(n=i)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var o=this.keys.reduce((function(e,t){var n=(0,i.Z)(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),B+=1}return(0,T.Z)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,n){return n(e,t)}),void 0)}}]),e}(),F=new j;function $(e){var t=Array.isArray(e)?e:[e];return F.has(t)||F.set(t,new q(t)),F.get(t)}var U=new WeakMap,Z={};function z(e,t){for(var n=U,r=0;r3&&void 0!==arguments[3]?arguments[3]:{},s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(s)return e;var l=(0,a.Z)((0,a.Z)({},o),{},(i={},(0,r.Z)(i,O,t),(0,r.Z)(i,R,n),i)),c=Object.keys(l).map((function(e){var t=l[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"")}var X=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).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()},Q=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var t=(0,i.Z)(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")})).join(""),"}"):""},J=function(e,t,n){var r={},o={};return Object.entries(e).forEach((function(e){var t,a,s=(0,i.Z)(e,2),l=s[0],c=s[1];if(null!=n&&null!==(t=n.preserve)&&void 0!==t&&t[l])o[l]=c;else if(!("string"!=typeof c&&"number"!=typeof c||null!=n&&null!==(a=n.ignore)&&void 0!==a&&a[l])){var u,d=X(l,null==n?void 0:n.prefix);r[d]="number"!=typeof c||null!=n&&null!==(u=n.unitless)&&void 0!==u&&u[l]?String(c):"".concat(c,"px"),o[l]="var(".concat(d,")")}})),[o,Q(r,t,{scope:null==n?void 0:n.scope})]},ee=n(16713),te=(0,a.Z)({},S).useInsertionEffect,ne=te?function(e,t,n){return te((function(){return e(),t()}),n)}:function(e,t,n){E.useMemo(e,n),(0,ee.Z)((function(){return t(!0)}),n)},re=void 0!==(0,a.Z)({},S).useInsertionEffect?function(e){var t=[],n=!1;return E.useEffect((function(){return n=!1,function(){n=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){n||t.push(e)}}:function(){return function(e){e()}};var ie=function(){return!1};function oe(e,t,n,r,a){var s=E.useContext(L).cache,l=_([e].concat((0,o.Z)(t))),c=re([l]),u=(ie(),function(e){s.opUpdate(l,(function(t){var r=t||[void 0,void 0],o=(0,i.Z)(r,2),a=o[0];var s=[void 0===a?0:a,o[1]||n()];return e?e(s):s}))});E.useMemo((function(){u()}),[l]);var d=s.opGet(l)[1];return ne((function(){null==a||a(d)}),(function(e){return u((function(t){var n=(0,i.Z)(t,2),r=n[0],o=n[1];return e&&0===r&&(null==a||a(d)),[r+1,o]})),function(){s.opUpdate(l,(function(t){var n=t||[],o=(0,i.Z)(n,2),a=o[0],u=void 0===a?0:a,d=o[1];return 0===u-1?(c((function(){!e&&s.opGet(l)||null==r||r(d,!1)})),null):[u-1,d]}))}}),[l]),d}var ae={},se=new Map;function le(e){se.set(e,(se.get(e)||0)+1)}function ce(e,t){se.set(e,(se.get(e)||0)-1);var n=Array.from(se.keys()),r=n.filter((function(e){return(se.get(e)||0)<=0}));n.length-r.length>0&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(O,'="').concat(e,'"]')).forEach((function(e){var n;e[P]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),se.delete(e)}))}var ue=function(e,t,n,r){var i=n.getDerivativeToken(e),o=(0,a.Z)((0,a.Z)({},i),t);return r&&(o=r(o)),o},de="token";function fe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,E.useContext)(L),l=r.cache.instanceId,c=r.container,u=n.salt,d=void 0===u?"":u,f=n.override,p=void 0===f?ae:f,h=n.formatToken,m=n.getComputedToken,g=n.cssVar,y=z((function(){return Object.assign.apply(Object,[{}].concat((0,o.Z)(t)))}),t),v=W(y),b=W(p),w=g?W(g):"",S=oe(de,[d,e.id,v,b,w],(function(){var t,n=m?m(y,p,e):ue(y,p,e,h),r=(0,a.Z)({},n),o="";if(g){var l=J(n,g.key,{prefix:g.prefix,ignore:g.ignore,unitless:g.unitless,preserve:g.preserve}),c=(0,i.Z)(l,2);n=c[0],o=c[1]}var u=V(n,d);n._tokenKey=u,r._tokenKey=V(r,d);var f=null!==(t=null==g?void 0:g.key)&&void 0!==t?t:u;n._themeKey=f,le(f);var v="".concat("css","-").concat(s(u));return n._hashId=v,[n,v,r,o,(null==g?void 0:g.key)||""]}),(function(e){ce(e[0]._themeKey,l)}),(function(e){var t=(0,i.Z)(e,4),n=t[0],r=t[3];if(g&&r){var o=k(r,s("css-variables-".concat(n._themeKey)),{mark:R,prepend:"queue",attachTo:c,priority:-999});o[P]=l,o.setAttribute(O,n._themeKey)}}));return S}var pe=n(11757),he={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},me="comm",ge="rule",ye="decl",ve=Math.abs,be=String.fromCharCode;Object.assign;function we(e){return e.trim()}function ke(e,t,n){return e.replace(t,n)}function Ee(e,t,n){return e.indexOf(t,n)}function Se(e,t){return 0|e.charCodeAt(t)}function xe(e,t,n){return e.slice(t,n)}function Ce(e){return e.length}function Te(e,t){return t.push(e),e}function _e(e,t){for(var n="",r=0;r0?Se(Le,--Ie):0,Re--,10===Me&&(Re=1,Oe--),Me}function je(){return Me=Ie2||$e(Me)>3?"":" "}function We(e,t){for(;--t&&je()&&!(Me<48||Me>102||Me>57&&Me<65||Me>70&&Me<97););return Fe(e,qe()+(t<6&&32==Be()&&32==je()))}function Ve(e){for(;je();)switch(Me){case e:return Ie;case 34:case 39:34!==e&&39!==e&&Ve(Me);break;case 40:41===e&&Ve(e);break;case 92:je()}return Ie}function Ge(e,t){for(;je()&&e+Me!==57&&(e+Me!==84||47!==Be()););return"/*"+Fe(t,Ie-1)+"*"+be(47===e?e:je())}function Ke(e){for(;!$e(Be());)je();return Fe(e,Ie)}function Ye(e){return Ze(Xe("",null,null,null,[""],e=Ue(e),0,[0],e))}function Xe(e,t,n,r,i,o,a,s,l){for(var c=0,u=0,d=a,f=0,p=0,h=0,m=1,g=1,y=1,v=0,b="",w=i,k=o,E=r,S=b;g;)switch(h=v,v=je()){case 40:if(108!=h&&58==Se(S,d-1)){-1!=Ee(S+=ke(ze(v),"&","&\f"),"&\f",ve(c?s[c-1]:0))&&(y=-1);break}case 34:case 39:case 91:S+=ze(v);break;case 9:case 10:case 13:case 32:S+=He(h);break;case 92:S+=We(qe()-1,7);continue;case 47:switch(Be()){case 42:case 47:Te(Je(Ge(je(),qe()),t,n,l),l),5!=$e(h||1)&&5!=$e(Be()||1)||!Ce(S)||" "===xe(S,-1,void 0)||(S+=" ");break;default:S+="/"}break;case 123*m:s[c++]=Ce(S)*y;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==y&&(S=ke(S,/\f/g,"")),p>0&&(Ce(S)-d||0===m&&47===h)&&Te(p>32?et(S+";",r,n,d-1,l):et(ke(S," ","")+";",r,n,d-2,l),l);break;case 59:S+=";";default:if(Te(E=Qe(S,t,n,c,u,i,s,b,w=[],k=[],d,o),o),123===v)if(0===u)Xe(S,t,E,E,w,o,d,s,k);else switch(99===f&&110===Se(S,3)?100:f){case 100:case 108:case 109:case 115:Xe(e,E,E,r&&Te(Qe(e,E,E,0,0,i,s,b,i,w=[],d,k),k),i,k,d,s,r?w:k);break;default:Xe(S,E,E,E,[""],k,0,s,k)}}c=u=p=0,m=y=1,b=S="",d=a;break;case 58:d=1+Ce(S),p=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==De())continue;switch(S+=be(v),v*m){case 38:y=u>0?1:(S+="\f",-1);break;case 44:s[c++]=(Ce(S)-1)*y,y=1;break;case 64:45===Be()&&(S+=ze(je())),f=Be(),u=d=Ce(b=S+=Ke(qe())),v++;break;case 45:45===h&&2==Ce(S)&&(m=0)}}return o}function Qe(e,t,n,r,i,o,a,s,l,c,u,d){for(var f=i-1,p=0===i?o:[""],h=function(e){return e.length}(p),m=0,g=0,y=0;m0?p[v]+" "+b:ke(b,/&\f/g,p[v])))&&(l[y++]=w);return Ne(e,t,n,0===i?ge:s,l,c,u,d)}function Je(e,t,n,r){return Ne(e,t,n,me,be(Me),xe(e,2,-2),0,r)}function et(e,t,n,r,i){return Ne(e,t,n,ye,xe(e,0,r),xe(e,r+1,-1),r,i)}var tt,nt="data-ant-cssinjs-cache-path",rt="_FILE_STYLE__";var it=!0;function ot(e){return function(){if(!tt&&(tt={},(0,l.Z)())){var e=document.createElement("div");e.className=nt,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=e.split(":"),n=(0,i.Z)(t,2),r=n[0],o=n[1];tt[r]=o}));var n,r=document.querySelector("style[".concat(nt,"]"));r&&(it=!1,null===(n=r.parentNode)||void 0===n||n.removeChild(r)),document.body.removeChild(e)}}(),!!tt[e]}var at="_multi_value_";function st(e){return _e(Ye(e),Ae).replace(/\{%%%\:[^;];}/g,";")}function lt(e){return"object"===(0,N.Z)(e)&&e&&("_skip_check_"in e||at in e)}function ct(e,t,n){if(!t)return e;var r=".".concat(t),i="low"===n?":where(".concat(r,")"):r;return e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",a=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(a).concat(i).concat(r.slice(a.length))].concat((0,o.Z)(n.slice(1))).join(" ")})).join(",")}var ut=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},s=r.root,l=r.injectHash,c=r.parentSelectors,u=n.hashId,d=n.layer,f=(n.path,n.hashPriority),p=n.transformers,h=void 0===p?[]:p,m=(n.linters,""),g={};function y(t){var r=t.getName(u);if(!g[r]){var o=e(t.style,n,{root:!1,parentSelectors:c}),a=(0,i.Z)(o,1)[0];g[r]="@keyframes ".concat(t.getName(u)).concat(a)}}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.forEach((function(e){Array.isArray(e)?v(e,t):e&&t.push(e)})),t}var b=v(Array.isArray(t)?t:[t]);return b.forEach((function(t){var r="string"!=typeof t||s?t:{};if("string"==typeof r)m+="".concat(r,"\n");else if(r._keyframe)y(r);else{var d=h.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r);Object.keys(d).forEach((function(t){var r=d[t];if("object"!==(0,N.Z)(r)||!r||"animationName"===t&&r._keyframe||lt(r)){var p;function C(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;he[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(y(t),r=t.getName(u)),m+="".concat(n,":").concat(r,";")}var h=null!==(p=null==r?void 0:r.value)&&void 0!==p?p:r;"object"===(0,N.Z)(r)&&null!=r&&r[at]&&Array.isArray(h)?h.forEach((function(e){C(t,e)})):C(t,h)}else{var v=!1,b=t.trim(),w=!1;(s||l)&&u?b.startsWith("@")?v=!0:b=ct("&"===b?"":t,u,f):!s||u||"&"!==b&&""!==b||(b="",w=!0);var k=e(r,n,{root:w,injectHash:v,parentSelectors:[].concat((0,o.Z)(c),[b])}),E=(0,i.Z)(k,2),S=E[0],x=E[1];g=(0,a.Z)((0,a.Z)({},g),x),m+="".concat(b).concat(S)}}))}})),s?d&&(m="@layer ".concat(d.name," {").concat(m,"}"),d.dependencies&&(g["@layer ".concat(d.name)]=d.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(d.name,";")})).join("\n"))):m="{".concat(m,"}"),[m,g]};function dt(e,t){return s("".concat(e.join("%")).concat(t))}function ft(){return null}var pt="style";function ht(e,t){var n=e.token,s=e.path,c=e.hashId,u=e.layer,d=e.nonce,f=e.clientOnly,p=e.order,h=void 0===p?0:p,m=E.useContext(L),g=m.autoClear,y=(m.mock,m.defaultCache),v=m.hashPriority,w=m.container,S=m.ssrInline,x=m.transformers,C=m.linters,T=m.cache,_=m.layer,A=n._tokenKey,I=[A];_&&I.push("layer"),I.push.apply(I,(0,o.Z)(s));var M=G;var N=oe(pt,I,(function(){var e=I.join("|");if(ot(e)){var n=function(e){var t=tt[e],n=null;if(t&&(0,l.Z)())if(it)n=rt;else{var r=document.querySelector("style[".concat(R,'="').concat(tt[e],'"]'));r?n=r.innerHTML:delete tt[e]}return[n,t]}(e),r=(0,i.Z)(n,2),o=r[0],a=r[1];if(o)return[o,A,a,{},f,h]}var d=t(),p=ut(d,{hashId:c,hashPriority:v,layer:_?u:void 0,path:s.join("-"),transformers:x,linters:C}),m=(0,i.Z)(p,2),g=m[0],y=m[1],b=st(g),w=dt(I,b);return[b,A,w,y,f,h]}),(function(e,t){var n=(0,i.Z)(e,3)[2];(t||g)&&G&&b(n,{mark:R})}),(function(e){var t=(0,i.Z)(e,4),n=t[0],r=(t[1],t[2]),o=t[3];if(M&&n!==rt){var s={mark:R,prepend:!_&&"queue",attachTo:w,priority:h},l="function"==typeof d?d():d;l&&(s.csp={nonce:l});var c=[],u=[];Object.keys(o).forEach((function(e){e.startsWith("@layer")?c.push(e):u.push(e)})),c.forEach((function(e){k(st(o[e]),"_layer-".concat(e),(0,a.Z)((0,a.Z)({},s),{},{prepend:!0}))}));var f=k(n,r,s);f[P]=T.instanceId,f.setAttribute(O,A),u.forEach((function(e){k(st(o[e]),"_effect-".concat(e),s)}))}})),D=(0,i.Z)(N,3),j=D[0],B=D[1],q=D[2];return function(e){var t,n;S&&!M&&y?t=E.createElement("style",(0,pe.Z)({},(n={},(0,r.Z)(n,O,B),(0,r.Z)(n,R,q),n),{dangerouslySetInnerHTML:{__html:j}})):t=E.createElement(ft,null);return E.createElement(E.Fragment,null,t,e)}}var mt,gt="cssVar",yt=function(e,t){var n=e.key,r=e.prefix,a=e.unitless,s=e.ignore,l=e.token,c=e.scope,u=void 0===c?"":c,d=(0,E.useContext)(L),f=d.cache.instanceId,p=d.container,h=l._tokenKey,m=[].concat((0,o.Z)(e.path),[n,u,h]);return oe(gt,m,(function(){var e=t(),o=J(e,n,{prefix:r,unitless:a,ignore:s,scope:u}),l=(0,i.Z)(o,2),c=l[0],d=l[1];return[c,d,dt(m,d),n]}),(function(e){var t=(0,i.Z)(e,3)[2];G&&b(t,{mark:R})}),(function(e){var t=(0,i.Z)(e,3),r=t[1],o=t[2];if(r){var a=k(r,o,{mark:R,prepend:"queue",attachTo:p,priority:-999});a[P]=f,a.setAttribute(O,n)}}))};mt={},(0,r.Z)(mt,pt,(function(e,t,n){var r=(0,i.Z)(e,6),o=r[0],a=r[1],s=r[2],l=r[3],c=r[4],u=r[5],d=(n||{}).plain;if(c)return null;var f=o,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return f=Y(o,a,s,p,d),l&&Object.keys(l).forEach((function(e){if(!t[e]){t[e]=!0;var n=Y(st(l[e]),a,"_effect-".concat(e),p,d);e.startsWith("@layer")?f=n+f:f+=n}})),[u,s,f]})),(0,r.Z)(mt,de,(function(e,t,n){var r=(0,i.Z)(e,5),o=r[2],a=r[3],s=r[4],l=(n||{}).plain;if(!a)return null;var c=o._tokenKey;return[-999,c,Y(a,s,c,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]})),(0,r.Z)(mt,gt,(function(e,t,n){var r=(0,i.Z)(e,4),o=r[1],a=r[2],s=r[3],l=(n||{}).plain;if(!o)return null;return[-999,a,Y(o,s,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]}));var vt=function(){function e(t,n){(0,C.Z)(this,e),(0,r.Z)(this,"name",void 0),(0,r.Z)(this,"style",void 0),(0,r.Z)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,T.Z)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}(),bt=vt;function wt(e){return e.notSplit=!0,e}wt(["borderTop","borderBottom"]),wt(["borderTop"]),wt(["borderBottom"]),wt(["borderLeft","borderRight"]),wt(["borderLeft"]),wt(["borderRight"])},87471:function(e,t,n){"use strict";n.d(t,{t:function(){return l}});var r=n(20173);const i=Math.round;function o(e,t){const n=e.replace(/^[^(]*\((.*)/,"$1").replace(/\).*/,"").match(/\d*\.?\d+%?/g)||[],r=n.map((e=>parseFloat(e)));for(let e=0;e<3;e+=1)r[e]=t(r[e]||0,n[e]||"",e);return n[3]?r[3]=n[3].includes("%")?r[3]/100:r[3]:r[3]=1,r}const a=(e,t,n)=>0===n?e:e/100;function s(e,t){const n=t||255;return e>n?n:e<0?0:e}class l{constructor(e){function t(t){return t[0]in e&&t[1]in e&&t[2]in e}if((0,r.Z)(this,"isValid",!0),(0,r.Z)(this,"r",0),(0,r.Z)(this,"g",0),(0,r.Z)(this,"b",0),(0,r.Z)(this,"a",1),(0,r.Z)(this,"_h",void 0),(0,r.Z)(this,"_s",void 0),(0,r.Z)(this,"_l",void 0),(0,r.Z)(this,"_v",void 0),(0,r.Z)(this,"_max",void 0),(0,r.Z)(this,"_min",void 0),(0,r.Z)(this,"_brightness",void 0),e)if("string"==typeof e){const n=e.trim();function i(e){return n.startsWith(e)}/^#?[A-F\d]{3,8}$/i.test(n)?this.fromHexString(n):i("rgb")?this.fromRgbString(n):i("hsl")?this.fromHslString(n):(i("hsv")||i("hsb"))&&this.fromHsvString(n)}else if(e instanceof l)this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a,this._h=e._h,this._s=e._s,this._l=e._l,this._v=e._v;else if(t("rgb"))this.r=s(e.r),this.g=s(e.g),this.b=s(e.b),this.a="number"==typeof e.a?s(e.a,1):1;else if(t("hsl"))this.fromHsl(e);else{if(!t("hsv"))throw new Error("@ant-design/fast-color: unsupported input "+JSON.stringify(e));this.fromHsv(e)}else;}setR(e){return this._sc("r",e)}setG(e){return this._sc("g",e)}setB(e){return this._sc("b",e)}setA(e){return this._sc("a",e,1)}setHue(e){const t=this.toHsv();return t.h=e,this._c(t)}getLuminance(){function e(e){const t=e/255;return t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4)}return.2126*e(this.r)+.7152*e(this.g)+.0722*e(this.b)}getHue(){if(void 0===this._h){const e=this.getMax()-this.getMin();this._h=0===e?0:i(60*(this.r===this.getMax()?(this.g-this.b)/e+(this.g1&&(r=1),this._c({h:t,s:n,l:r,a:this.a})}mix(e,t=50){const n=this._c(e),r=t/100,o=e=>(n[e]-this[e])*r+this[e],a={r:i(o("r")),g:i(o("g")),b:i(o("b")),a:i(100*o("a"))/100};return this._c(a)}tint(e=10){return this.mix({r:255,g:255,b:255,a:1},e)}shade(e=10){return this.mix({r:0,g:0,b:0,a:1},e)}onBackground(e){const t=this._c(e),n=this.a+t.a*(1-this.a),r=e=>i((this[e]*this.a+t[e]*t.a*(1-this.a))/n);return this._c({r:r("r"),g:r("g"),b:r("b"),a:n})}isDark(){return this.getBrightness()<128}isLight(){return this.getBrightness()>=128}equals(e){return this.r===e.r&&this.g===e.g&&this.b===e.b&&this.a===e.a}clone(){return this._c(this)}toHexString(){let e="#";const t=(this.r||0).toString(16);e+=2===t.length?t:"0"+t;const n=(this.g||0).toString(16);e+=2===n.length?n:"0"+n;const r=(this.b||0).toString(16);if(e+=2===r.length?r:"0"+r,"number"==typeof this.a&&this.a>=0&&this.a<1){const t=i(255*this.a).toString(16);e+=2===t.length?t:"0"+t}return e}toHsl(){return{h:this.getHue(),s:this.getSaturation(),l:this.getLightness(),a:this.a}}toHslString(){const e=this.getHue(),t=i(100*this.getSaturation()),n=i(100*this.getLightness());return 1!==this.a?`hsla(${e},${t}%,${n}%,${this.a})`:`hsl(${e},${t}%,${n}%)`}toHsv(){return{h:this.getHue(),s:this.getSaturation(),v:this.getValue(),a:this.a}}toRgb(){return{r:this.r,g:this.g,b:this.b,a:this.a}}toRgbString(){return 1!==this.a?`rgba(${this.r},${this.g},${this.b},${this.a})`:`rgb(${this.r},${this.g},${this.b})`}toString(){return this.toRgbString()}_sc(e,t,n){const r=this.clone();return r[e]=s(t,n),r}_c(e){return new this.constructor(e)}getMax(){return void 0===this._max&&(this._max=Math.max(this.r,this.g,this.b)),this._max}getMin(){return void 0===this._min&&(this._min=Math.min(this.r,this.g,this.b)),this._min}fromHexString(e){const t=e.replace("#","");function n(e,n){return parseInt(t[e]+t[n||e],16)}t.length<6?(this.r=n(0),this.g=n(1),this.b=n(2),this.a=t[3]?n(3)/255:1):(this.r=n(0,1),this.g=n(2,3),this.b=n(4,5),this.a=t[6]?n(6,7)/255:1)}fromHsl({h:e,s:t,l:n,a:r}){if(this._h=e%360,this._s=t,this._l=n,this.a="number"==typeof r?r:1,t<=0){const e=i(255*n);this.r=e,this.g=e,this.b=e}let o=0,a=0,s=0;const l=e/60,c=(1-Math.abs(2*n-1))*t,u=c*(1-Math.abs(l%2-1));l>=0&&l<1?(o=c,a=u):l>=1&&l<2?(o=u,a=c):l>=2&&l<3?(a=c,s=u):l>=3&&l<4?(a=u,s=c):l>=4&&l<5?(o=u,s=c):l>=5&&l<6&&(o=c,s=u);const d=n-c/2;this.r=i(255*(o+d)),this.g=i(255*(a+d)),this.b=i(255*(s+d))}fromHsv({h:e,s:t,v:n,a:r}){this._h=e%360,this._s=t,this._v=n,this.a="number"==typeof r?r:1;const o=i(255*n);if(this.r=o,this.g=o,this.b=o,t<=0)return;const a=e/60,s=Math.floor(a),l=a-s,c=i(n*(1-t)*255),u=i(n*(1-t*l)*255),d=i(n*(1-t*(1-l))*255);switch(s){case 0:this.g=d,this.b=c;break;case 1:this.r=u,this.b=c;break;case 2:this.r=c,this.b=d;break;case 3:this.r=c,this.g=u;break;case 4:this.r=d,this.g=c;break;default:this.g=c,this.b=u}}fromHsvString(e){const t=o(e,a);this.fromHsv({h:t[0],s:t[1],v:t[2],a:t[3]})}fromHslString(e){const t=o(e,a);this.fromHsl({h:t[0],s:t[1],l:t[2],a:t[3]})}fromRgbString(e){const t=o(e,((e,t)=>t.includes("%")?i(e/100*255):e));this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]}}},26033:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 128c-212.1 0-384 171.9-384 384v360c0 13.3 10.7 24 24 24h184c35.3 0 64-28.7 64-64V624c0-35.3-28.7-64-64-64H200v-48c0-172.3 139.7-312 312-312s312 139.7 312 312v48H688c-35.3 0-64 28.7-64 64v208c0 35.3 28.7 64 64 64h184c13.3 0 24-10.7 24-24V512c0-212.1-171.9-384-384-384zM328 632v192H200V632h128zm496 192H696V632h128v192z"}}]},name:"customer-service",theme:"outlined"}},29:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M868 732h-70.3c-4.8 0-9.3 2.1-12.3 5.8-7 8.5-14.5 16.7-22.4 24.5a353.84 353.84 0 01-112.7 75.9A352.8 352.8 0 01512.4 866c-47.9 0-94.3-9.4-137.9-27.8a353.84 353.84 0 01-112.7-75.9 353.28 353.28 0 01-76-112.5C167.3 606.2 158 559.9 158 512s9.4-94.2 27.8-137.8c17.8-42.1 43.4-80 76-112.5s70.5-58.1 112.7-75.9c43.6-18.4 90-27.8 137.9-27.8 47.9 0 94.3 9.3 137.9 27.8 42.2 17.8 80.1 43.4 112.7 75.9 7.9 7.9 15.3 16.1 22.4 24.5 3 3.7 7.6 5.8 12.3 5.8H868c6.3 0 10.2-7 6.7-12.3C798 160.5 663.8 81.6 511.3 82 271.7 82.6 79.6 277.1 82 516.4 84.4 751.9 276.2 942 512.4 942c152.1 0 285.7-78.8 362.3-197.7 3.4-5.3-.4-12.3-6.7-12.3zm88.9-226.3L815 393.7c-5.3-4.2-13-.4-13 6.3v76H488c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h314v76c0 6.7 7.8 10.5 13 6.3l141.9-112a8 8 0 000-12.6z"}}]},name:"logout",theme:"outlined"}},15323:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"}},89291:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"}},85333:function(e,t){"use strict";t.Z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M824.2 699.9a301.55 301.55 0 00-86.4-60.4C783.1 602.8 812 546.8 812 484c0-110.8-92.4-201.7-203.2-200-109.1 1.7-197 90.6-197 200 0 62.8 29 118.8 74.2 155.5a300.95 300.95 0 00-86.4 60.4C345 754.6 314 826.8 312 903.8a8 8 0 008 8.2h56c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5A226.62 226.62 0 01612 684c60.9 0 118.2 23.7 161.3 66.8C814.5 792 838 846.3 840 904.3c.1 4.3 3.7 7.7 8 7.7h56a8 8 0 008-8.2c-2-77-33-149.2-87.8-203.9zM612 612c-34.2 0-66.4-13.3-90.5-37.5a126.86 126.86 0 01-37.5-91.8c.3-32.8 13.4-64.5 36.3-88 24-24.6 56.1-38.3 90.4-38.7 33.9-.3 66.8 12.9 91 36.6 24.8 24.3 38.4 56.8 38.4 91.4 0 34.2-13.3 66.3-37.5 90.5A127.3 127.3 0 01612 612zM361.5 510.4c-.9-8.7-1.4-17.5-1.4-26.4 0-15.9 1.5-31.4 4.3-46.5.7-3.6-1.2-7.3-4.5-8.8-13.6-6.1-26.1-14.5-36.9-25.1a127.54 127.54 0 01-38.7-95.4c.9-32.1 13.8-62.6 36.3-85.6 24.7-25.3 57.9-39.1 93.2-38.7 31.9.3 62.7 12.6 86 34.4 7.9 7.4 14.7 15.6 20.4 24.4 2 3.1 5.9 4.4 9.3 3.2 17.6-6.1 36.2-10.4 55.3-12.4 5.6-.6 8.8-6.6 6.3-11.6-32.5-64.3-98.9-108.7-175.7-109.9-110.9-1.7-203.3 89.2-203.3 199.9 0 62.8 28.9 118.8 74.2 155.5-31.8 14.7-61.1 35-86.5 60.4-54.8 54.7-85.8 126.9-87.8 204a8 8 0 008 8.2h56.1c4.3 0 7.9-3.4 8-7.7 1.9-58 25.4-112.3 66.7-153.5 29.4-29.4 65.4-49.8 104.7-59.7 3.9-1 6.5-4.7 6-8.7z"}}]},name:"team",theme:"outlined"}},64423:function(e,t,n){"use strict";n.d(t,{Z:function(){return U}});var r=n(17082),i=n(42601),o=n(20173),a=n(73457),s=n(44194),l=n(51865),c=n.n(l),u=(0,s.createContext)({}),d=n(6918),f=n(20117),p=n(76981),h=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function m(e){var t=e.r,n=e.g,r=e.b,i=(0,f.py)(t,n,r);return{h:360*i.h,s:i.s,v:i.v}}function g(e){var t=e.r,n=e.g,r=e.b;return"#".concat((0,f.vq)(t,n,r,!1))}function y(e,t,n){var r=n/100;return{r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b}}function v(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function b(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function w(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function k(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,p.uA)(e),i=5;i>0;i-=1){var o=m(r),a=g((0,p.uA)({h:v(o,i,!0),s:b(o,i,!0),v:w(o,i,!0)}));n.push(a)}n.push(g(r));for(var s=1;s<=4;s+=1){var l=m(r),c=g((0,p.uA)({h:v(l,s),s:b(l,s),v:w(l,s)}));n.push(c)}return"dark"===t.theme?h.map((function(e){var r=e.index,i=e.opacity;return g(y((0,p.uA)(t.backgroundColor||"#141414"),(0,p.uA)(n[r]),100*i))})):n}var E={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},S={},x={};Object.keys(E).forEach((function(e){S[e]=k(E[e]),S[e].primary=S[e][5],x[e]=k(E[e],{theme:"dark",backgroundColor:"#141414"}),x[e].primary=x[e][5]}));S.red,S.volcano,S.gold,S.orange,S.yellow,S.lime,S.green,S.cyan,S.blue,S.geekblue,S.purple,S.magenta,S.grey;var C=n(32970),T=n(67860),_=n(89309),A=n.n(_);function O(e){return"object"===(0,d.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,d.Z)(e.icon)||"function"==typeof e.icon)}function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];if("class"===n)t.className=r,delete t.class;else delete t[n],t[A()(n)]=r;return t}),{})}function P(e,t,n){return n?s.createElement(e.tag,(0,r.Z)((0,r.Z)({key:t},R(e.attrs)),n),(e.children||[]).map((function(n,r){return P(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):s.createElement(e.tag,(0,r.Z)({key:t},R(e.attrs)),(e.children||[]).map((function(n,r){return P(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function I(e){return k(e)[0]}function M(e){return e?Array.isArray(e)?e:[e]:[]}var L="\n.anticon {\n display: inline-flex;\n alignItems: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",N=["icon","className","onClick","style","primaryColor","secondaryColor"],D={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var j=function(e){var t,n,i=e.icon,o=e.className,l=e.onClick,c=e.style,d=e.primaryColor,f=e.secondaryColor,p=(0,a.Z)(e,N),h=D;if(d&&(h={primaryColor:d,secondaryColor:f||I(d)}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L,t=(0,s.useContext)(u).csp;(0,s.useEffect)((function(){(0,T.hq)(e,"@ant-design-icons",{prepend:!0,csp:t})}),[])}(),t=O(i),n="icon should be icon definiton, but got ".concat(i),(0,C.ZP)(t,"[@ant-design/icons] ".concat(n)),!O(i))return null;var m=i;return m&&"function"==typeof m.icon&&(m=(0,r.Z)((0,r.Z)({},m),{},{icon:m.icon(h.primaryColor,h.secondaryColor)})),P(m.icon,"svg-".concat(m.name),(0,r.Z)({className:o,onClick:l,style:c,"data-icon":m.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},p))};j.displayName="IconReact",j.getTwoToneColors=function(){return(0,r.Z)({},D)},j.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;D.primaryColor=t,D.secondaryColor=n||I(t),D.calculated=!!n};var B=j;function q(e){var t=M(e),n=(0,i.Z)(t,2),r=n[0],o=n[1];return B.setTwoToneColors({primaryColor:r,secondaryColor:o})}var F=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];q("#1890ff");var $=s.forwardRef((function(e,t){var n=e.className,l=e.icon,d=e.spin,f=e.rotate,p=e.tabIndex,h=e.onClick,m=e.twoToneColor,g=(0,a.Z)(e,F),y=s.useContext(u),v=y.prefixCls,b=void 0===v?"anticon":v,w=y.rootClassName,k=c()(w,b,(0,o.Z)((0,o.Z)({},"".concat(b,"-").concat(l.name),!!l.name),"".concat(b,"-spin"),!!d||"loading"===l.name),n),E=p;void 0===E&&h&&(E=-1);var S=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,x=M(m),C=(0,i.Z)(x,2),T=C[0],_=C[1];return s.createElement("span",(0,r.Z)((0,r.Z)({role:"img","aria-label":l.name},g),{},{ref:t,tabIndex:E,onClick:h,className:k}),s.createElement(B,{icon:l,primaryColor:T,secondaryColor:_,style:S}))}));$.displayName="AntdIcon",$.getTwoToneColor=function(){var e=B.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},$.setTwoToneColor=q;var U=$},54183:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(11757),i=n(42601),o=n(20173),a=n(73457),s=n(44194),l=n(51865),c=n.n(l),u=n(69521),d=n(22230),f=n(17082),p=n(25425),h=["icon","className","onClick","style","primaryColor","secondaryColor"],m={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var g=function(e){var t=e.icon,n=e.className,r=e.onClick,i=e.style,o=e.primaryColor,l=e.secondaryColor,c=(0,a.Z)(e,h),u=s.useRef(),d=m;if(o&&(d={primaryColor:o,secondaryColor:l||(0,p.pw)(o)}),(0,p.C3)(u),(0,p.Kp)((0,p.r)(t),"icon should be icon definiton, but got ".concat(t)),!(0,p.r)(t))return null;var g=t;return g&&"function"==typeof g.icon&&(g=(0,f.Z)((0,f.Z)({},g),{},{icon:g.icon(d.primaryColor,d.secondaryColor)})),(0,p.R_)(g.icon,"svg-".concat(g.name),(0,f.Z)((0,f.Z)({className:n,onClick:r,style:i,"data-icon":g.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},c),{},{ref:u}))};g.displayName="IconReact",g.getTwoToneColors=function(){return(0,f.Z)({},m)},g.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;m.primaryColor=t,m.secondaryColor=n||(0,p.pw)(t),m.calculated=!!n};var y=g;function v(e){var t=(0,p.H9)(e),n=(0,i.Z)(t,2),r=n[0],o=n[1];return y.setTwoToneColors({primaryColor:r,secondaryColor:o})}var b=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];v(u.iN.primary);var w=s.forwardRef((function(e,t){var n=e.className,l=e.icon,u=e.spin,f=e.rotate,h=e.tabIndex,m=e.onClick,g=e.twoToneColor,v=(0,a.Z)(e,b),w=s.useContext(d.Z),k=w.prefixCls,E=void 0===k?"anticon":k,S=w.rootClassName,x=c()(S,E,(0,o.Z)((0,o.Z)({},"".concat(E,"-").concat(l.name),!!l.name),"".concat(E,"-spin"),!!u||"loading"===l.name),n),C=h;void 0===C&&m&&(C=-1);var T=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,_=(0,p.H9)(g),A=(0,i.Z)(_,2),O=A[0],R=A[1];return s.createElement("span",(0,r.Z)({role:"img","aria-label":l.name},v,{ref:t,tabIndex:C,onClick:m,className:x}),s.createElement(y,{icon:l,primaryColor:O,secondaryColor:R,style:T}))}));w.displayName="AntdIcon",w.getTwoToneColor=function(){var e=y.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},w.setTwoToneColor=v;var k=w},22230:function(e,t,n){"use strict";var r=(0,n(44194).createContext)({});t.Z=r},58644:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={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"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},97413:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={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"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},92520:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},14377:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},7358:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},59304:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},59423:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={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"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},64985:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={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 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},61831:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9L391 240.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 000 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 00391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8zm221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6 877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 00-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9zM744 690.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L744 690.4z"}}]},name:"fullscreen-exit",theme:"outlined"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},55510:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"}}]},name:"fullscreen",theme:"outlined"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},18701:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={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 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},81121:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={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"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},54883:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={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"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},46193:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={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"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},68779:function(e,t,n){"use strict";var r=n(11757),i=n(44194),o=n(89291),a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o.Z}))},l=i.forwardRef(s);t.Z=l},10022:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(11757),i=n(44194),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.5 763.6a374 374 0 00-80.6-119.5 375.63 375.63 0 00-119.5-80.6c-.4-.2-.8-.3-1.2-.5C719.5 518 760 444.7 760 362c0-137-111-248-248-248S264 225 264 362c0 82.7 40.5 156 102.8 201.1-.4.2-.8.3-1.2.5-44.8 18.9-85 46-119.5 80.6a375.63 375.63 0 00-80.6 119.5A371.7 371.7 0 00136 901.8a8 8 0 008 8.2h60c4.4 0 7.9-3.5 8-7.8 2-77.2 33-149.5 87.8-204.3 56.7-56.7 132-87.9 212.2-87.9s155.5 31.2 212.2 87.9C779 752.7 810 825 812 902.2c.1 4.4 3.6 7.8 8 7.8h60a8 8 0 008-8.2c-1-47.8-10.9-94.3-29.5-138.2zM512 534c-45.9 0-89.1-17.9-121.6-50.4S340 407.9 340 362c0-45.9 17.9-89.1 50.4-121.6S466.1 190 512 190s89.1 17.9 121.6 50.4S684 316.1 684 362c0 45.9-17.9 89.1-50.4 121.6S557.9 534 512 534z"}}]},name:"user",theme:"outlined"},a=n(54183),s=function(e,t){return i.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))};var l=i.forwardRef(s)},25425:function(e,t,n){"use strict";n.d(t,{C3:function(){return b},H9:function(){return y},Kp:function(){return f},R_:function(){return m},pw:function(){return g},r:function(){return p},vD:function(){return v}});var r=n(17082),i=n(6918),o=n(69521),a=n(67860),s=n(96614),l=n(32970),c=n(44194),u=n(22230);function d(e){return e.replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))}function f(e,t){(0,l.ZP)(e,"[@ant-design/icons] ".concat(t))}function p(e){return"object"===(0,i.Z)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,i.Z)(e.icon)||"function"==typeof e.icon)}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];if("class"===n)t.className=r,delete t.class;else delete t[n],t[d(n)]=r;return t}),{})}function m(e,t,n){return n?c.createElement(e.tag,(0,r.Z)((0,r.Z)({key:t},h(e.attrs)),n),(e.children||[]).map((function(n,r){return m(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):c.createElement(e.tag,(0,r.Z)({key:t},h(e.attrs)),(e.children||[]).map((function(n,r){return m(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function g(e){return(0,o.R_)(e)[0]}function y(e){return e?Array.isArray(e)?e:[e]:[]}var v={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"},b=function(e){var t=(0,c.useContext)(u.Z),n=t.csp,r=t.prefixCls,i=t.layer,o="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";r&&(o=o.replace(/anticon/g,r)),i&&(o="@layer ".concat(i," {\n").concat(o,"\n}")),(0,c.useEffect)((function(){var t=e.current,r=(0,s.A)(t);(0,a.hq)(o,"@ant-design-icons",{prepend:!i,csp:n,attachTo:r})}),[])}},69277:function(e,t,n){"use strict";n.d(t,{q:function(){return w}});var r=n(17082),i=n(11757),o=n(44194),a={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 372zm5.6-532.7c53 0 89 33.8 93 83.4.3 4.2 3.8 7.4 8 7.4h56.7c2.6 0 4.7-2.1 4.7-4.7 0-86.7-68.4-147.4-162.7-147.4C407.4 290 344 364.2 344 486.8v52.3C344 660.8 407.4 734 517.3 734c94 0 162.7-58.8 162.7-141.4 0-2.6-2.1-4.7-4.7-4.7h-56.8c-4.2 0-7.6 3.2-8 7.3-4.2 46.1-40.1 77.8-93 77.8-65.3 0-102.1-47.9-102.1-133.6v-52.6c.1-87 37-135.5 102.2-135.5z"}}]},name:"copyright",theme:"outlined"},s=n(54183),l=function(e,t){return o.createElement(s.Z,(0,i.Z)({},e,{ref:t,icon:a}))};var c=o.forwardRef(l),u=n(75574),d=n(96839),f=n(51865),p=n.n(f),h=n(20173),m=n(60183),g=function(e){return(0,h.Z)({},e.componentCls,{marginBlock:0,marginBlockStart:48,marginBlockEnd:24,marginInline:0,paddingBlock:0,paddingInline:16,textAlign:"center","&-list":{marginBlockEnd:8,color:e.colorTextSecondary,"&-link":{color:e.colorTextSecondary,textDecoration:e.linkDecoration},"*:not(:last-child)":{marginInlineEnd:8},"&:hover":{color:e.colorPrimary}},"&-copyright":{fontSize:"14px",color:e.colorText}})};var y=n(31549),v=function(e){var t=e.className,n=e.prefixCls,i=e.links,a=e.copyright,s=e.style,l=(0,o.useContext)(d.ZP.ConfigContext).getPrefixCls(n||"pro-global-footer"),c=function(e){return(0,m.Xj)("ProLayoutFooter",(function(t){var n=(0,r.Z)((0,r.Z)({},t),{},{componentCls:".".concat(e)});return[g(n)]}))}(l),u=c.wrapSSR,f=c.hashId;return!(null==i||!1===i||Array.isArray(i)&&0===i.length)||null!=a&&!1!==a?u((0,y.jsxs)("div",{className:p()(l,f,t),style:s,children:[i&&(0,y.jsx)("div",{className:"".concat(l,"-list ").concat(f).trim(),children:i.map((function(e){return(0,y.jsx)("a",{className:"".concat(l,"-list-link ").concat(f).trim(),title:e.key,target:e.blankTarget?"_blank":"_self",href:e.href,rel:"noreferrer",children:e.title},e.key)}))}),a&&(0,y.jsx)("div",{className:"".concat(l,"-copyright ").concat(f).trim(),children:a})]})):null},b=u.Z.Footer,w=function(e){var t=e.links,n=e.copyright,i=e.style,a=e.className,s=e.prefixCls;return(0,y.jsx)(b,{className:a,style:(0,r.Z)({padding:0},i),children:(0,y.jsx)(v,{links:t,prefixCls:s,copyright:!1===n?null:(0,y.jsxs)(o.Fragment,{children:[(0,y.jsx)(c,{})," ",n]})})})}},65821:function(e,t,n){"use strict";n.d(t,{_Y:function(){return A},L_:function(){return R},ZP:function(){return P},nu:function(){return x},YB:function(){return O}});var r=n(56299),i=n(42601),o=n(73457),a=n(17082),s=n(47825),l=n(96839),c=n(96277),u=n(44194),d=n(57241),f=n(21078),p=n(28977),h=n.n(p),m=n(60183),g=n(64847),y=n(6918),v=function(){for(var e={},t=arguments.length,n=new Array(t),r=0;r=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,l.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,l.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,l.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,l.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),o=n/100;return new e({r:(i.r-r.r)*o+r.r,g:(i.g-r.g)*o+r.g,b:(i.b-r.b)*o+r.b,a:(i.a-r.a)*o+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),i=360/n,o=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,o.push(new e(r));return o},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,o=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:i,v:o})),o=(o+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],o=360/t,a=1;a1&&void 0!==arguments[1]?arguments[1]:1,r=3735928559^n,i=1103547991^n,o=0;o>>16,2246822507)^Math.imul(i^i>>>13,3266489909),4294967296*(2097151&(i=Math.imul(i^i>>>16,2246822507)^Math.imul(r^r>>>13,3266489909)))+(r>>>0)},c=(0,o.jG)((function(e){return e})),u={theme:c,token:(0,i.Z)((0,i.Z)({},s),null===a.Z||void 0===a.Z||null===(r=a.Z.defaultAlgorithm)||void 0===r?void 0:r.call(a.Z,null===a.Z||void 0===a.Z?void 0:a.Z.defaultSeed)),hashId:"pro-".concat(l(JSON.stringify(s)))},d=function(){return u}},93769:function(e,t,n){"use strict";n.d(t,{l:function(){return Ce}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?u(w,--v):0,g--,10===b&&(g=1,m--),b}function x(){return b=v2||A(b)>3?"":" "}function M(e,t){for(;--t&&x()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return _(e,T()+(t<6&&32==C()&&32==x()))}function L(e){for(;x();)switch(b){case e:return v;case 34:case 39:34!==e&&39!==e&&L(b);break;case 40:41===e&&L(e);break;case 92:x()}return v}function N(e,t){for(;x()&&e+b!==57&&(e+b!==84||47!==C()););return"/*"+_(t,v-1)+"*"+o(47===e?e:x())}function D(e){for(;!A(C());)x();return _(e,v)}var j="-ms-",B="-moz-",q="-webkit-",F="comm",$="rule",U="decl",Z="@keyframes";function z(e,t){for(var n="",r=p(e),i=0;i0&&f(B)-y&&h(b>32?Y(B+";",r,n,y-1):Y(l(B," ","")+";",r,n,y-2),p);break;case 59:B+=";";default:if(h(j=G(B,t,n,m,g,i,d,O,R=[],L=[],y),a),123===A)if(0===g)V(B,t,j,j,R,a,y,d,L);else switch(99===v&&110===u(B,3)?100:v){case 100:case 108:case 109:case 115:V(e,j,j,r&&h(G(e,j,j,0,0,i,d,O,i,R=[],y),L),i,L,y,d,r?R:L);break;default:V(B,j,j,j,[""],L,0,d,L)}}m=g=b=0,k=_=1,O=B="",y=s;break;case 58:y=1+f(B),b=w;default:if(k<1)if(123==A)--k;else if(125==A&&0==k++&&125==S())continue;switch(B+=o(A),A*k){case 38:_=g>0?1:(B+="\f",-1);break;case 44:d[m++]=(f(B)-1)*_,_=1;break;case 64:45===C()&&(B+=P(x())),v=C(),g=y=f(O=B+=D(T())),A++;break;case 45:45===w&&2==f(B)&&(k=0)}}return a}function G(e,t,n,r,o,a,c,u,f,h,m){for(var g=o-1,y=0===o?a:[""],v=p(y),b=0,w=0,E=0;b0?y[S]+" "+x:l(x,/&\f/g,y[S])))&&(f[E++]=C);return k(e,t,n,0===o?$:u,f,h,m)}function K(e,t,n){return k(e,t,n,F,o(b),d(e,2,-2),0)}function Y(e,t,n,r){return k(e,t,n,U,d(e,0,r),d(e,r+1,-1),r)}var X=function(e,t,n){for(var r=0,i=0;r=i,i=C(),38===r&&12===i&&(t[n]=1),!A(i);)x();return _(e,v)},Q=function(e,t){return R(function(e,t){var n=-1,r=44;do{switch(A(r)){case 0:38===r&&12===C()&&(t[n]=1),e[n]+=X(v-1,t,n);break;case 2:e[n]+=P(r);break;case 4:if(44===r){e[++n]=58===C()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=o(r)}}while(r=x());return e}(O(e),t))},J=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||J.get(n))&&!r){J.set(e,!0);for(var i=[],o=Q(t,i),a=n.props,s=0,l=0;s6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+B+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+q)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(45===u(e,14)?"inline-":"")+"box$3$1"+q+"$2$3$1"+j+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return q+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return q+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return q+e+j+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return q+e+j+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=ne(e.value,e.length);break;case Z:return z([E(e,{value:l(e.value,"@","@"+q)})],r);case $:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return z([E(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return z([E(e,{props:[l(t,/:(plac\w+)/,":"+q+"input-$1")]}),E(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[l(t,/:(plac\w+)/,j+"input-$1")]})],r)}return""}))}}],ie=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var i,o,a=e.stylisPlugins||re,s={},l=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:he}}function ye(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}var ve=function(e,t,n){!function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)}(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+r:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}};function be(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function we(e,t,n){var r=[],i=ye(e,r,n);return r.length<2?n:i+t(r)}var ke=function e(t){for(var n="",r=0;r.5?c/(2-i-o):c/(i+o),i){case e:a=(t-n)/c+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function s(e,t,n){var i,o,s;if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)o=n,s=n,i=n;else{var l=n<.5?n*(1+t):n+t-n*t,c=2*n-l;i=a(c,l,e+1/3),o=a(c,l,e),s=a(c,l,e-1/3)}return{r:255*i,g:255*o,b:255*s}}function l(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var i=Math.max(e,t,n),o=Math.min(e,t,n),a=0,s=i,l=i-o,c=0===i?0:l/i;if(i===o)a=0;else{switch(i){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}},53099:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={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"}},76981:function(e,t,n){"use strict";n.d(t,{uA:function(){return a}});var r=n(20117),i=n(53099),o=n(33146);function a(e){var t={r:0,g:0,b:0},n=1,a=null,s=null,l=null,c=!1,f=!1;return"string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(i.R[e])e=i.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=u.rgba.exec(e),n)return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=u.hsl.exec(e),n)return{h:n[1],s:n[2],l:n[3]};if(n=u.hsla.exec(e),n)return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=u.hsv.exec(e),n)return{h:n[1],s:n[2],v:n[3]};if(n=u.hsva.exec(e),n)return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=u.hex8.exec(e),n)return{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"};if(n=u.hex6.exec(e),n)return{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"};if(n=u.hex4.exec(e),n)return{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"};if(n=u.hex3.exec(e),n)return{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),c=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(a=(0,o.JX)(e.s),s=(0,o.JX)(e.v),t=(0,r.WE)(e.h,a,s),c=!0,f="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(a=(0,o.JX)(e.s),l=(0,o.JX)(e.l),t=(0,r.ve)(e.h,a,l),c=!0,f="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,o.Yq)(n),{ok:c,format:e.format||f,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var s="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),c="[\\s|\\(]+(".concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")[,|\\s]+(").concat(s,")\\s*\\)?"),u={CSS_UNIT:new RegExp(s),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+c),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+c),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+c),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 d(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},33146:function(e,t,n){"use strict";function r(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function i(e){return Math.min(1,Math.max(0,e))}function o(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function s(e){return 1===e.length?"0"+e:String(e)}n.d(t,{FZ:function(){return s},JX:function(){return a},V2:function(){return i},Yq:function(){return o},sh:function(){return r}})},23068:function(e,t,n){"use strict";n.d(t,{Il:function(){return v},G5:function(){return C},ZP:function(){return j}});var r=n(11757),i=n(20173),o=n(42601),a=n(44194),s=n(17082),l=n(74592),c=n(32099),u=n(14755),d=n(3518),f=n(73457),p=n(6918),h=n(87471),m=["b"],g=["v"],y=function(e){return Math.round(Number(e||0))},v=function(e){(0,u.Z)(n,e);var t=(0,d.Z)(n);function n(e){return(0,l.Z)(this,n),t.call(this,function(e){if(e instanceof h.t)return e;if(e&&"object"===(0,p.Z)(e)&&"h"in e&&"b"in e){var t=e,n=t.b,r=(0,f.Z)(t,m);return(0,s.Z)((0,s.Z)({},r),{},{v:n})}return"string"==typeof e&&/hsb/.test(e)?e.replace(/hsb/,"hsv"):e}(e))}return(0,c.Z)(n,[{key:"toHsbString",value:function(){var e=this.toHsb(),t=y(100*e.s),n=y(100*e.b),r=y(e.h),i=e.a,o="hsb(".concat(r,", ").concat(t,"%, ").concat(n,"%)"),a="hsba(".concat(r,", ").concat(t,"%, ").concat(n,"%, ").concat(i.toFixed(0===i?0:2),")");return 1===i?o:a}},{key:"toHsb",value:function(){var e=this.toHsv(),t=e.v,n=(0,f.Z)(e,g);return(0,s.Z)((0,s.Z)({},n),{},{b:t,a:this.a})}}]),n}(h.t),b=function(e){return e instanceof v?e:new v(e)},w=b("#1677ff"),k=function(e){var t=e.offset,n=e.targetRef,r=e.containerRef,i=e.color,o=e.type,a=r.current.getBoundingClientRect(),l=a.width,c=a.height,u=n.current.getBoundingClientRect(),d=u.width/2,f=u.height/2,p=(t.x+d)/l,h=1-(t.y+f)/c,m=i.toHsb(),g=p,y=(t.x+d)/l*360;if(o)switch(o){case"hue":return b((0,s.Z)((0,s.Z)({},m),{},{h:y<=0?0:y}));case"alpha":return b((0,s.Z)((0,s.Z)({},m),{},{a:g<=0?0:g}))}return b({h:m.h,s:p<=0?0:p,b:h>=1?1:h,a:m.a})},E=function(e,t){var n=e.toHsb();switch(t){case"hue":return{x:n.h/360*100,y:50};case"alpha":return{x:100*e.a,y:50};default:return{x:100*n.s,y:100*(1-n.b)}}},S=n(51865),x=n.n(S),C=function(e){var t=e.color,n=e.prefixCls,r=e.className,i=e.style,o=e.onClick,s="".concat(n,"-color-block");return a.createElement("div",{className:x()(s,r),style:i,onClick:o},a.createElement("div",{className:"".concat(s,"-inner"),style:{background:t}}))};var T=function(e){var t=e.targetRef,n=e.containerRef,r=e.direction,i=e.onDragChange,s=e.onDragChangeComplete,l=e.calculate,c=e.color,u=e.disabledDrag,d=(0,a.useState)({x:0,y:0}),f=(0,o.Z)(d,2),p=f[0],h=f[1],m=(0,a.useRef)(null),g=(0,a.useRef)(null);(0,a.useEffect)((function(){h(l())}),[c]),(0,a.useEffect)((function(){return function(){document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",g.current),document.removeEventListener("touchmove",m.current),document.removeEventListener("touchend",g.current),m.current=null,g.current=null}}),[]);var y=function(e){var o=function(e){var t="touches"in e?e.touches[0]:e,n=document.documentElement.scrollLeft||document.body.scrollLeft||window.pageXOffset,r=document.documentElement.scrollTop||document.body.scrollTop||window.pageYOffset;return{pageX:t.pageX-n,pageY:t.pageY-r}}(e),a=o.pageX,s=o.pageY,l=n.current.getBoundingClientRect(),c=l.x,u=l.y,d=l.width,f=l.height,h=t.current.getBoundingClientRect(),m=h.width,g=h.height,y=m/2,v=g/2,b=Math.max(0,Math.min(a-c,d))-y,w=Math.max(0,Math.min(s-u,f))-v,k={x:b,y:"x"===r?p.y:w};if(0===m&&0===g||m!==g)return!1;null==i||i(k)},v=function(e){e.preventDefault(),y(e)},b=function(e){e.preventDefault(),document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",g.current),document.removeEventListener("touchmove",m.current),document.removeEventListener("touchend",g.current),m.current=null,g.current=null,null==s||s()};return[p,function(e){document.removeEventListener("mousemove",m.current),document.removeEventListener("mouseup",g.current),u||(y(e),document.addEventListener("mousemove",v),document.addEventListener("mouseup",b),document.addEventListener("touchmove",v),document.addEventListener("touchend",b),m.current=v,g.current=b)}]},_=n(81654),A=function(e){var t=e.size,n=void 0===t?"default":t,r=e.color,o=e.prefixCls;return a.createElement("div",{className:x()("".concat(o,"-handler"),(0,i.Z)({},"".concat(o,"-handler-sm"),"small"===n)),style:{backgroundColor:r}})},O=function(e){var t=e.children,n=e.style,r=e.prefixCls;return a.createElement("div",{className:"".concat(r,"-palette"),style:(0,s.Z)({position:"relative"},n)},t)},R=(0,a.forwardRef)((function(e,t){var n=e.children,r=e.x,i=e.y;return a.createElement("div",{ref:t,style:{position:"absolute",left:"".concat(r,"%"),top:"".concat(i,"%"),zIndex:1,transform:"translate(-50%, -50%)"}},n)})),P=function(e){var t=e.color,n=e.onChange,r=e.prefixCls,i=e.onChangeComplete,s=e.disabled,l=(0,a.useRef)(),c=(0,a.useRef)(),u=(0,a.useRef)(t),d=(0,_.zX)((function(e){var r=k({offset:e,targetRef:c,containerRef:l,color:t});u.current=r,n(r)})),f=T({color:t,containerRef:l,targetRef:c,calculate:function(){return E(t)},onDragChange:d,onDragChangeComplete:function(){return null==i?void 0:i(u.current)},disabledDrag:s}),p=(0,o.Z)(f,2),h=p[0],m=p[1];return a.createElement("div",{ref:l,className:"".concat(r,"-select"),onMouseDown:m,onTouchStart:m},a.createElement(O,{prefixCls:r},a.createElement(R,{x:h.x,y:h.y,ref:c},a.createElement(A,{color:t.toRgbString(),prefixCls:r})),a.createElement("div",{className:"".concat(r,"-saturation"),style:{backgroundColor:"hsl(".concat(t.toHsb().h,",100%, 50%)"),backgroundImage:"linear-gradient(0deg, #000, transparent),linear-gradient(90deg, #fff, hsla(0, 0%, 100%, 0))"}})))},I=function(e,t){var n=(0,_.C8)(e,{value:t}),r=(0,o.Z)(n,2),i=r[0],s=r[1];return[(0,a.useMemo)((function(){return b(i)}),[i]),s]},M=function(e){var t=e.colors,n=e.children,r=e.direction,i=void 0===r?"to right":r,o=e.type,s=e.prefixCls,l=(0,a.useMemo)((function(){return t.map((function(e,n){var r=b(e);return"alpha"===o&&n===t.length-1&&(r=new v(r.setA(1))),r.toRgbString()})).join(",")}),[t,o]);return a.createElement("div",{className:"".concat(s,"-gradient"),style:{position:"absolute",inset:0,background:"linear-gradient(".concat(i,", ").concat(l,")")}},n)},L=function(e){var t=e.prefixCls,n=e.colors,r=e.disabled,i=e.onChange,s=e.onChangeComplete,l=e.color,c=e.type,u=(0,a.useRef)(),d=(0,a.useRef)(),f=(0,a.useRef)(l),p=function(e){return"hue"===c?e.getHue():100*e.a},h=(0,_.zX)((function(e){var t=k({offset:e,targetRef:d,containerRef:u,color:l,type:c});f.current=t,i(p(t))})),m=T({color:l,targetRef:d,containerRef:u,calculate:function(){return E(l,c)},onDragChange:h,onDragChangeComplete:function(){s(p(f.current))},direction:"x",disabledDrag:r}),g=(0,o.Z)(m,2),y=g[0],b=g[1],w=a.useMemo((function(){if("hue"===c){var e=l.toHsb();return e.s=1,e.b=1,e.a=1,new v(e)}return l}),[l,c]),S=a.useMemo((function(){return n.map((function(e){return"".concat(e.color," ").concat(e.percent,"%")}))}),[n]);return a.createElement("div",{ref:u,className:x()("".concat(t,"-slider"),"".concat(t,"-slider-").concat(c)),onMouseDown:b,onTouchStart:b},a.createElement(O,{prefixCls:t},a.createElement(R,{x:y.x,y:y.y,ref:d},a.createElement(A,{size:"small",color:w.toHexString(),prefixCls:t})),a.createElement(M,{colors:S,type:c,prefixCls:t})))};var N=[{color:"rgb(255, 0, 0)",percent:0},{color:"rgb(255, 255, 0)",percent:17},{color:"rgb(0, 255, 0)",percent:33},{color:"rgb(0, 255, 255)",percent:50},{color:"rgb(0, 0, 255)",percent:67},{color:"rgb(255, 0, 255)",percent:83},{color:"rgb(255, 0, 0)",percent:100}],D=(0,a.forwardRef)((function(e,t){var n=e.value,s=e.defaultValue,l=e.prefixCls,c=void 0===l?"rc-color-picker":l,u=e.onChange,d=e.onChangeComplete,f=e.className,p=e.style,h=e.panelRender,m=e.disabledAlpha,g=void 0!==m&&m,y=e.disabled,b=void 0!==y&&y,k=function(e){return a.useMemo((function(){return[(e||{}).slider||L]}),[e])}(e.components),E=(0,o.Z)(k,1)[0],S=I(s||w,n),T=(0,o.Z)(S,2),_=T[0],A=T[1],O=(0,a.useMemo)((function(){return _.setA(1).toRgbString()}),[_]),R=function(e,t){n||A(e),null==u||u(e,t)},M=function(e){return new v(_.setHue(e))},D=function(e){return new v(_.setA(e/100))},j=x()("".concat(c,"-panel"),f,(0,i.Z)({},"".concat(c,"-panel-disabled"),b)),B={prefixCls:c,disabled:b,color:_},q=a.createElement(a.Fragment,null,a.createElement(P,(0,r.Z)({onChange:R},B,{onChangeComplete:d})),a.createElement("div",{className:"".concat(c,"-slider-container")},a.createElement("div",{className:x()("".concat(c,"-slider-group"),(0,i.Z)({},"".concat(c,"-slider-group-disabled-alpha"),g))},a.createElement(E,(0,r.Z)({},B,{type:"hue",colors:N,min:0,max:359,value:_.getHue(),onChange:function(e){R(M(e),{type:"hue",value:e})},onChangeComplete:function(e){d&&d(M(e))}})),!g&&a.createElement(E,(0,r.Z)({},B,{type:"alpha",colors:[{percent:0,color:"rgba(255, 0, 4, 0)"},{percent:100,color:O}],min:0,max:100,value:100*_.a,onChange:function(e){R(D(e),{type:"alpha",value:e})},onChangeComplete:function(e){d&&d(D(e))}}))),a.createElement(C,{color:_.toRgbString(),prefixCls:c})));return a.createElement("div",{className:j,style:p,ref:t},"function"==typeof h?h(q):q)}));var j=D},6193:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(42601),i=n(44194),o=n(56321),a=n(33866),s=(n(32970),n(34221)),l=i.createContext(null),c=n(56299),u=n(16374),d=[];var f=n(67860),p=n(66666);var h="rc-util-locker-".concat(Date.now()),m=0;function g(e){var t=!!e,n=i.useState((function(){return m+=1,"".concat(h,"_").concat(m)})),o=(0,r.Z)(n,1)[0];(0,u.Z)((function(){if(t){var e=(0,p.o)(document.body).width,n=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,f.hq)("\nhtml body {\n overflow-y: hidden;\n ".concat(n?"width: calc(100% - ".concat(e,"px);"):"","\n}"),o)}else(0,f.jL)(o);return function(){(0,f.jL)(o)}}),[t,o])}var y=!1;var v=function(e){return!1!==e&&((0,a.Z)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)};var b=i.forwardRef((function(e,t){var n=e.open,f=e.autoLock,p=e.getContainer,h=(e.debug,e.autoDestroy),m=void 0===h||h,b=e.children,w=i.useState(n),k=(0,r.Z)(w,2),E=k[0],S=k[1],x=E||n;i.useEffect((function(){(m||n)&&S(n)}),[n,m]);var C=i.useState((function(){return v(p)})),T=(0,r.Z)(C,2),_=T[0],A=T[1];i.useEffect((function(){var e=v(p);A(null!=e?e:null)}));var O=function(e,t){var n=i.useState((function(){return(0,a.Z)()?document.createElement("div"):null})),o=(0,r.Z)(n,1)[0],s=i.useRef(!1),f=i.useContext(l),p=i.useState(d),h=(0,r.Z)(p,2),m=h[0],g=h[1],y=f||(s.current?void 0:function(e){g((function(t){return[e].concat((0,c.Z)(t))}))});function v(){o.parentElement||document.body.appendChild(o),s.current=!0}function b(){var e;null===(e=o.parentElement)||void 0===e||e.removeChild(o),s.current=!1}return(0,u.Z)((function(){return e?f?f(v):v():b(),b}),[e]),(0,u.Z)((function(){m.length&&(m.forEach((function(e){return e()})),g(d))}),[m]),[o,y]}(x&&!_),R=(0,r.Z)(O,2),P=R[0],I=R[1],M=null!=_?_:P;g(f&&n&&(0,a.Z)()&&(M===P||M===document.body));var L=null;b&&(0,s.Yr)(b)&&t&&(L=b.ref);var N=(0,s.x1)(L,t);if(!x||!(0,a.Z)()||void 0===_)return null;var D,j=!1===M||("boolean"==typeof D&&(y=D),y),B=b;return t&&(B=i.cloneElement(b,{ref:N})),i.createElement(l.Provider,{value:I},j?B:(0,o.createPortal)(B,M))}))},55420:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}});var r=n(17082),i=n(42601),o=n(73457),a=n(6193),s=n(51865),l=n.n(s),c=n(26954),u=n(39277),d=n(96614),f=n(33417),p=n(31991),h=n(16374),m=n(5250),g=n(44194),y=n(11757),v=n(77588),b=n(34221);function w(e){var t=e.prefixCls,n=e.align,r=e.arrow,i=e.arrowPos,o=r||{},a=o.className,s=o.content,c=i.x,u=void 0===c?0:c,d=i.y,f=void 0===d?0:d,p=g.useRef();if(!n||!n.points)return null;var h={position:"absolute"};if(!1!==n.autoArrow){var m=n.points[0],y=n.points[1],v=m[0],b=m[1],w=y[0],k=y[1];v!==w&&["t","b"].includes(v)?"t"===v?h.top=0:h.bottom=0:h.top=f,b!==k&&["l","r"].includes(b)?"l"===b?h.left=0:h.right=0:h.left=u}return g.createElement("div",{ref:p,className:l()("".concat(t,"-arrow"),a),style:h},s)}function k(e){var t=e.prefixCls,n=e.open,r=e.zIndex,i=e.mask,o=e.motion;return i?g.createElement(v.ZP,(0,y.Z)({},o,{motionAppear:!0,visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return g.createElement("div",{style:{zIndex:r},className:l()("".concat(t,"-mask"),n)})})):null}var E=g.memo((function(e){return e.children}),(function(e,t){return t.cache}));var S=g.forwardRef((function(e,t){var n=e.popup,o=e.className,a=e.prefixCls,s=e.style,u=e.target,d=e.onVisibleChanged,f=e.open,p=e.keepDom,m=e.fresh,S=e.onClick,x=e.mask,C=e.arrow,T=e.arrowPos,_=e.align,A=e.motion,O=e.maskMotion,R=e.forceRender,P=e.getPopupContainer,I=e.autoDestroy,M=e.portal,L=e.zIndex,N=e.onMouseEnter,D=e.onMouseLeave,j=e.onPointerEnter,B=e.onPointerDownCapture,q=e.ready,F=e.offsetX,$=e.offsetY,U=e.offsetR,Z=e.offsetB,z=e.onAlign,H=e.onPrepare,W=e.stretch,V=e.targetWidth,G=e.targetHeight,K="function"==typeof n?n():n,Y=f||p,X=(null==P?void 0:P.length)>0,Q=g.useState(!P||!X),J=(0,i.Z)(Q,2),ee=J[0],te=J[1];if((0,h.Z)((function(){!ee&&X&&u&&te(!0)}),[ee,X,u]),!ee)return null;var ne="auto",re={left:"-1000vw",top:"-1000vh",right:ne,bottom:ne};if(q||!f){var ie,oe=_.points,ae=_.dynamicInset||(null===(ie=_._experimental)||void 0===ie?void 0:ie.dynamicInset),se=ae&&"r"===oe[0][1],le=ae&&"b"===oe[0][0];se?(re.right=U,re.left=ne):(re.left=F,re.right=ne),le?(re.bottom=Z,re.top=ne):(re.top=$,re.bottom=ne)}var ce={};return W&&(W.includes("height")&&G?ce.height=G:W.includes("minHeight")&&G&&(ce.minHeight=G),W.includes("width")&&V?ce.width=V:W.includes("minWidth")&&V&&(ce.minWidth=V)),f||(ce.pointerEvents="none"),g.createElement(M,{open:R||Y,getContainer:P&&function(){return P(u)},autoDestroy:I},g.createElement(k,{prefixCls:a,open:f,zIndex:L,mask:x,motion:O}),g.createElement(c.Z,{onResize:z,disabled:!f},(function(e){return g.createElement(v.ZP,(0,y.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:R,leavedClassName:"".concat(a,"-hidden")},A,{onAppearPrepare:H,onEnterPrepare:H,visible:f,onVisibleChanged:function(e){var t;null==A||null===(t=A.onVisibleChanged)||void 0===t||t.call(A,e),d(e)}}),(function(n,i){var c=n.className,u=n.style,d=l()(a,c,o);return g.createElement("div",{ref:(0,b.sQ)(e,t,i),className:d,style:(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({"--arrow-x":"".concat(T.x||0,"px"),"--arrow-y":"".concat(T.y||0,"px")},re),ce),u),{},{boxSizing:"border-box",zIndex:L},s),onMouseEnter:N,onMouseLeave:D,onPointerEnter:j,onClick:S,onPointerDownCapture:B},C&&g.createElement(w,{prefixCls:a,arrow:C,arrowPos:T,align:_}),g.createElement(E,{cache:!f&&!m},K))}))})))}));var x=g.forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,i=(0,b.Yr)(n),o=g.useCallback((function(e){(0,b.mH)(t,r?r(e):e)}),[r]),a=(0,b.x1)(o,(0,b.C4)(n));return i?g.cloneElement(n,{ref:a}):n})),C=g.createContext(null);function T(e){return e?Array.isArray(e)?e:[e]:[]}function _(e,t,n,r){return g.useMemo((function(){var i=T(null!=n?n:t),o=T(null!=r?r:t),a=new Set(i),s=new Set(o);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),s.has("hover")&&(s.delete("hover"),s.add("click"))),[a,s]}),[e,t,n,r])}var A=n(27299);function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function R(e,t,n,r){for(var i=n.points,o=Object.keys(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function N(e){return L(parseFloat(e),0)}function D(e,t){var n=(0,r.Z)({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=I(e).getComputedStyle(e),r=t.overflow,i=t.overflowClipMargin,o=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,l=t.borderRightWidth,c=e.getBoundingClientRect(),u=e.offsetHeight,d=e.clientHeight,f=e.offsetWidth,p=e.clientWidth,h=N(o),m=N(a),g=N(s),y=N(l),v=L(Math.round(c.width/f*1e3)/1e3),b=L(Math.round(c.height/u*1e3)/1e3),w=(f-p-g-y)*v,k=(u-d-h-m)*b,E=h*b,S=m*b,x=g*v,C=y*v,T=0,_=0;if("clip"===r){var A=N(i);T=A*v,_=A*b}var O=c.x+x-T,R=c.y+E-_,P=O+c.width+2*T-x-C-w,M=R+c.height+2*_-E-S-k;n.left=Math.max(n.left,O),n.top=Math.max(n.top,R),n.right=Math.min(n.right,P),n.bottom=Math.min(n.bottom,M)}})),n}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function B(e,t){var n=t||[],r=(0,i.Z)(n,2),o=r[0],a=r[1];return[j(e.width,o),j(e.height,a)]}function q(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function F(e,t){var n,r=t[0],i=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===i?e.x:"r"===i?e.x+e.width:e.x+e.width/2,y:n}}function $(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}function U(e,t,n,o,a,s,l){var c=g.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[o]||{}}),d=(0,i.Z)(c,2),p=d[0],m=d[1],y=g.useRef(0),v=g.useMemo((function(){return t?M(t):[]}),[t]),b=g.useRef({});e||(b.current={});var w=(0,f.Z)((function(){if(t&&n&&e){var c,d,f,p,h,g=t,y=g.ownerDocument,w=I(g).getComputedStyle(g),k=w.width,E=w.height,S=w.position,x=g.style.left,C=g.style.top,T=g.style.right,_=g.style.bottom,O=g.style.overflow,R=(0,r.Z)((0,r.Z)({},a[o]),s),P=y.createElement("div");if(null===(c=g.parentElement)||void 0===c||c.appendChild(P),P.style.left="".concat(g.offsetLeft,"px"),P.style.top="".concat(g.offsetTop,"px"),P.style.position=S,P.style.height="".concat(g.offsetHeight,"px"),P.style.width="".concat(g.offsetWidth,"px"),g.style.left="0",g.style.top="0",g.style.right="auto",g.style.bottom="auto",g.style.overflow="hidden",Array.isArray(n))h={x:n[0],y:n[1],width:0,height:0};else{var M,N,j=n.getBoundingClientRect();j.x=null!==(M=j.x)&&void 0!==M?M:j.left,j.y=null!==(N=j.y)&&void 0!==N?N:j.top,h={x:j.x,y:j.y,width:j.width,height:j.height}}var U=g.getBoundingClientRect();U.x=null!==(d=U.x)&&void 0!==d?d:U.left,U.y=null!==(f=U.y)&&void 0!==f?f:U.top;var Z=y.documentElement,z=Z.clientWidth,H=Z.clientHeight,W=Z.scrollWidth,V=Z.scrollHeight,G=Z.scrollTop,K=Z.scrollLeft,Y=U.height,X=U.width,Q=h.height,J=h.width,ee={left:0,top:0,right:z,bottom:H},te={left:-K,top:-G,right:W-K,bottom:V-G},ne=R.htmlRegion,re="visible",ie="visibleFirst";"scroll"!==ne&&ne!==ie&&(ne=re);var oe=ne===ie,ae=D(te,v),se=D(ee,v),le=ne===re?se:ae,ce=oe?se:le;g.style.left="auto",g.style.top="auto",g.style.right="0",g.style.bottom="0";var ue=g.getBoundingClientRect();g.style.left=x,g.style.top=C,g.style.right=T,g.style.bottom=_,g.style.overflow=O,null===(p=g.parentElement)||void 0===p||p.removeChild(P);var de=L(Math.round(X/parseFloat(k)*1e3)/1e3),fe=L(Math.round(Y/parseFloat(E)*1e3)/1e3);if(0===de||0===fe||(0,u.Sh)(n)&&!(0,A.Z)(n))return;var pe=R.offset,he=R.targetOffset,me=B(U,pe),ge=(0,i.Z)(me,2),ye=ge[0],ve=ge[1],be=B(h,he),we=(0,i.Z)(be,2),ke=we[0],Ee=we[1];h.x-=ke,h.y-=Ee;var Se=R.points||[],xe=(0,i.Z)(Se,2),Ce=xe[0],Te=q(xe[1]),_e=q(Ce),Ae=F(h,Te),Oe=F(U,_e),Re=(0,r.Z)({},R),Pe=Ae.x-Oe.x+ye,Ie=Ae.y-Oe.y+ve;function Ct(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le,r=U.x+e,i=U.y+t,o=r+X,a=i+Y,s=Math.max(r,n.left),l=Math.max(i,n.top),c=Math.min(o,n.right),u=Math.min(a,n.bottom);return Math.max(0,(c-s)*(u-l))}var Me,Le,Ne,De,je=Ct(Pe,Ie),Be=Ct(Pe,Ie,se),qe=F(h,["t","l"]),Fe=F(U,["t","l"]),$e=F(h,["b","r"]),Ue=F(U,["b","r"]),Ze=R.overflow||{},ze=Ze.adjustX,He=Ze.adjustY,We=Ze.shiftX,Ve=Ze.shiftY,Ge=function(e){return"boolean"==typeof e?e:e>=0};function Tt(){Me=U.y+Ie,Le=Me+Y,Ne=U.x+Pe,De=Ne+X}Tt();var Ke=Ge(He),Ye=_e[0]===Te[0];if(Ke&&"t"===_e[0]&&(Le>ce.bottom||b.current.bt)){var Xe=Ie;Ye?Xe-=Y-Q:Xe=qe.y-Ue.y-ve;var Qe=Ct(Pe,Xe),Je=Ct(Pe,Xe,se);Qe>je||Qe===je&&(!oe||Je>=Be)?(b.current.bt=!0,Ie=Xe,ve=-ve,Re.points=[$(_e,0),$(Te,0)]):b.current.bt=!1}if(Ke&&"b"===_e[0]&&(Meje||tt===je&&(!oe||nt>=Be)?(b.current.tb=!0,Ie=et,ve=-ve,Re.points=[$(_e,0),$(Te,0)]):b.current.tb=!1}var rt=Ge(ze),it=_e[1]===Te[1];if(rt&&"l"===_e[1]&&(De>ce.right||b.current.rl)){var ot=Pe;it?ot-=X-J:ot=qe.x-Ue.x-ye;var at=Ct(ot,Ie),st=Ct(ot,Ie,se);at>je||at===je&&(!oe||st>=Be)?(b.current.rl=!0,Pe=ot,ye=-ye,Re.points=[$(_e,1),$(Te,1)]):b.current.rl=!1}if(rt&&"r"===_e[1]&&(Neje||ct===je&&(!oe||ut>=Be)?(b.current.lr=!0,Pe=lt,ye=-ye,Re.points=[$(_e,1),$(Te,1)]):b.current.lr=!1}Tt();var dt=!0===We?0:We;"number"==typeof dt&&(Nese.right&&(Pe-=De-se.right-ye,h.x>se.right-dt&&(Pe+=h.x-se.right+dt)));var ft=!0===Ve?0:Ve;"number"==typeof ft&&(Mese.bottom&&(Ie-=Le-se.bottom-ve,h.y>se.bottom-ft&&(Ie+=h.y-se.bottom+ft)));var pt=U.x+Pe,ht=pt+X,mt=U.y+Ie,gt=mt+Y,yt=h.x,vt=yt+J,bt=h.y,wt=bt+Q,kt=(Math.max(pt,yt)+Math.min(ht,vt))/2-pt,Et=(Math.max(mt,bt)+Math.min(gt,wt))/2-mt;null==l||l(t,Re);var St=ue.right-U.x-(Pe+U.width),xt=ue.bottom-U.y-(Ie+U.height);1===de&&(Pe=Math.round(Pe),St=Math.round(St)),1===fe&&(Ie=Math.round(Ie),xt=Math.round(xt)),m({ready:!0,offsetX:Pe/de,offsetY:Ie/fe,offsetR:St/de,offsetB:xt/fe,arrowX:kt/de,arrowY:Et/fe,scaleX:de,scaleY:fe,align:Re})}})),k=function(){m((function(e){return(0,r.Z)((0,r.Z)({},e),{},{ready:!1})}))};return(0,h.Z)(k,[o]),(0,h.Z)((function(){e||k()}),[e]),[p.ready,p.offsetX,p.offsetY,p.offsetR,p.offsetB,p.arrowX,p.arrowY,p.scaleX,p.scaleY,p.align,function(){y.current+=1;var e=y.current;Promise.resolve().then((function(){y.current===e&&w()}))}]}var Z=n(56299);function z(e,t,n,r,i){(0,h.Z)((function(){if(e&&t&&n){var o=n,a=M(t),s=M(o),l=I(o),c=new Set([l].concat((0,Z.Z)(a),(0,Z.Z)(s)));function u(){r(),i()}return c.forEach((function(e){e.addEventListener("scroll",u,{passive:!0})})),l.addEventListener("resize",u,{passive:!0}),r(),function(){c.forEach((function(e){e.removeEventListener("scroll",u),l.removeEventListener("resize",u)}))}}}),[e,t,n])}n(32970);function H(e,t,n,r,i,o,a,s){var l=g.useRef(e);l.current=e;var c=g.useRef(!1);return g.useEffect((function(){if(t&&r&&(!i||o)){var e=function(){c.current=!1},u=function(e){var t;!l.current||a((null===(t=e.composedPath)||void 0===t||null===(t=t.call(e))||void 0===t?void 0:t[0])||e.target)||c.current||s(!1)},f=I(r);f.addEventListener("pointerdown",e,!0),f.addEventListener("mousedown",u,!0),f.addEventListener("contextmenu",u,!0);var p=(0,d.A)(n);return p&&(p.addEventListener("mousedown",u,!0),p.addEventListener("contextmenu",u,!0)),function(){f.removeEventListener("pointerdown",e,!0),f.removeEventListener("mousedown",u,!0),f.removeEventListener("contextmenu",u,!0),p&&(p.removeEventListener("mousedown",u,!0),p.removeEventListener("contextmenu",u,!0))}}}),[t,n,r,i,o]),function(){c.current=!0}}var W=["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"];var V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.Z,t=g.forwardRef((function(t,n){var a=t.prefixCls,s=void 0===a?"rc-trigger-popup":a,y=t.children,v=t.action,b=void 0===v?"hover":v,w=t.showAction,k=t.hideAction,E=t.popupVisible,T=t.defaultPopupVisible,A=t.onPopupVisibleChange,O=t.afterPopupVisibleChange,I=t.mouseEnterDelay,M=t.mouseLeaveDelay,L=void 0===M?.1:M,N=t.focusDelay,D=t.blurDelay,j=t.mask,B=t.maskClosable,q=void 0===B||B,F=t.getPopupContainer,$=t.forceRender,Z=t.autoDestroy,V=t.destroyPopupOnHide,G=t.popup,K=t.popupClassName,Y=t.popupStyle,X=t.popupPlacement,Q=t.builtinPlacements,J=void 0===Q?{}:Q,ee=t.popupAlign,te=t.zIndex,ne=t.stretch,re=t.getPopupClassNameFromAlign,ie=t.fresh,oe=t.alignPoint,ae=t.onPopupClick,se=t.onPopupAlign,le=t.arrow,ce=t.popupMotion,ue=t.maskMotion,de=t.popupTransitionName,fe=t.popupAnimation,pe=t.maskTransitionName,he=t.maskAnimation,me=t.className,ge=t.getTriggerDOMNode,ye=(0,o.Z)(t,W),ve=Z||V||!1,be=g.useState(!1),we=(0,i.Z)(be,2),ke=we[0],Ee=we[1];(0,h.Z)((function(){Ee((0,m.Z)())}),[]);var Se=g.useRef({}),xe=g.useContext(C),Ce=g.useMemo((function(){return{registerSubPopup:function(e,t){Se.current[e]=t,null==xe||xe.registerSubPopup(e,t)}}}),[xe]),Te=(0,p.Z)(),_e=g.useState(null),Ae=(0,i.Z)(_e,2),Oe=Ae[0],Re=Ae[1],Pe=g.useRef(null),Ie=(0,f.Z)((function(e){Pe.current=e,(0,u.Sh)(e)&&Oe!==e&&Re(e),null==xe||xe.registerSubPopup(Te,e)})),Me=g.useState(null),Le=(0,i.Z)(Me,2),Ne=Le[0],De=Le[1],je=g.useRef(null),Be=(0,f.Z)((function(e){(0,u.Sh)(e)&&Ne!==e&&(De(e),je.current=e)})),qe=g.Children.only(y),Fe=(null==qe?void 0:qe.props)||{},$e={},Ue=(0,f.Z)((function(e){var t,n,r=Ne;return(null==r?void 0:r.contains(e))||(null===(t=(0,d.A)(r))||void 0===t?void 0:t.host)===e||e===r||(null==Oe?void 0:Oe.contains(e))||(null===(n=(0,d.A)(Oe))||void 0===n?void 0:n.host)===e||e===Oe||Object.values(Se.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),Ze=P(s,ce,fe,de),ze=P(s,ue,he,pe),He=g.useState(T||!1),We=(0,i.Z)(He,2),Ve=We[0],Ge=We[1],Ke=null!=E?E:Ve,Ye=(0,f.Z)((function(e){void 0===E&&Ge(e)}));(0,h.Z)((function(){Ge(E||!1)}),[E]);var Xe=g.useRef(Ke);Xe.current=Ke;var Qe=g.useRef([]);Qe.current=[];var Je=(0,f.Z)((function(e){var t;Ye(e),(null!==(t=Qe.current[Qe.current.length-1])&&void 0!==t?t:Ke)!==e&&(Qe.current.push(e),null==A||A(e))})),et=g.useRef(),tt=function(){clearTimeout(et.current)},nt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;tt(),0===t?Je(e):et.current=setTimeout((function(){Je(e)}),1e3*t)};g.useEffect((function(){return tt}),[]);var rt=g.useState(!1),it=(0,i.Z)(rt,2),ot=it[0],at=it[1];(0,h.Z)((function(e){e&&!Ke||at(!0)}),[Ke]);var st=g.useState(null),lt=(0,i.Z)(st,2),ct=lt[0],ut=lt[1],dt=g.useState(null),ft=(0,i.Z)(dt,2),pt=ft[0],ht=ft[1],mt=function(e){ht([e.clientX,e.clientY])},gt=U(Ke,Oe,oe&&null!==pt?pt:Ne,X,J,ee,se),yt=(0,i.Z)(gt,11),vt=yt[0],bt=yt[1],wt=yt[2],kt=yt[3],Et=yt[4],St=yt[5],xt=yt[6],Ct=yt[7],Tt=yt[8],_t=yt[9],At=yt[10],Ot=_(ke,b,w,k),Rt=(0,i.Z)(Ot,2),Pt=Rt[0],It=Rt[1],Mt=Pt.has("click"),Lt=It.has("click")||It.has("contextMenu"),Nt=(0,f.Z)((function(){ot||At()}));z(Ke,Ne,Oe,Nt,(function(){Xe.current&&oe&&Lt&&nt(!1)})),(0,h.Z)((function(){Nt()}),[pt,X]),(0,h.Z)((function(){!Ke||null!=J&&J[X]||Nt()}),[JSON.stringify(ee)]);var Dt=g.useMemo((function(){var e=R(J,s,_t,oe);return l()(e,null==re?void 0:re(_t))}),[_t,re,J,s,oe]);g.useImperativeHandle(n,(function(){return{nativeElement:je.current,popupElement:Pe.current,forceAlign:Nt}}));var jt=g.useState(0),Bt=(0,i.Z)(jt,2),qt=Bt[0],Ft=Bt[1],$t=g.useState(0),Ut=(0,i.Z)($t,2),Zt=Ut[0],zt=Ut[1],Ht=function(){if(ne&&Ne){var e=Ne.getBoundingClientRect();Ft(e.width),zt(e.height)}};function Wt(e,t,n,r){$e[e]=function(i){var o;null==r||r(i),nt(t,n);for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l1?n-1:0),i=1;i1?n-1:0),i=1;i()=>(e&&(t=e(e=0)),t),V=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),G=(e,t)=>{for(var n in t)U(e,n,{get:t[n],enumerable:!0})},K=e=>((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of z(t))!H.call(e,i)&&i!==n&&U(e,i,{get:()=>t[i],enumerable:!(r=Z(t,i))||r.enumerable});return e})(U({},"__esModule",{value:!0}),e),Y=W((()=>{})),X={};function Q(e){throw new Error("Node.js process "+e+" is not supported by JSPM core outside of Node.js")}function J(){!me||!ge||(me=!1,ge.length?he=ge.concat(he):ye=-1,he.length&&ee())}function ee(){if(!me){var e=setTimeout(J,0);me=!0;for(var t=he.length;t;){for(ge=he,he=[];++ye1)for(var n=1;nXe,_debugProcess:()=>Ye,_events:()=>mt,_eventsCount:()=>gt,_exiting:()=>Ne,_fatalExceptions:()=>Ve,_getActiveHandles:()=>se,_getActiveRequests:()=>ae,_kill:()=>Be,_linkedBinding:()=>ie,_maxListeners:()=>ht,_preload_modules:()=>ct,_rawDebug:()=>Ie,_startProfilerIdleNotifier:()=>Qe,_stopProfilerIdleNotifier:()=>Je,_tickCallback:()=>Ke,abort:()=>rt,addListener:()=>yt,allowedNodeEnvironmentFlags:()=>He,arch:()=>be,argv:()=>Ee,argv0:()=>lt,assert:()=>le,binding:()=>_e,chdir:()=>Re,config:()=>De,cpuUsage:()=>qe,cwd:()=>Oe,debugPort:()=>st,default:()=>Ct,dlopen:()=>oe,domain:()=>Le,emit:()=>Et,emitWarning:()=>Te,env:()=>ke,execArgv:()=>Se,execPath:()=>at,exit:()=>Ze,features:()=>We,hasUncaughtExceptionCaptureCallback:()=>ce,hrtime:()=>de,kill:()=>Ue,listeners:()=>pe,memoryUsage:()=>$e,moduleLoadList:()=>Me,nextTick:()=>te,off:()=>bt,on:()=>fe,once:()=>vt,openStdin:()=>ze,pid:()=>it,platform:()=>we,ppid:()=>ot,prependListener:()=>St,prependOnceListener:()=>xt,reallyExit:()=>je,release:()=>Pe,removeAllListeners:()=>kt,removeListener:()=>wt,resourceUsage:()=>Fe,setSourceMapsEnabled:()=>ut,setUncaughtExceptionCaptureCallback:()=>Ge,stderr:()=>tt,stdin:()=>nt,stdout:()=>et,title:()=>ve,umask:()=>Ae,uptime:()=>ue,version:()=>xe,versions:()=>Ce});var he,me,ge,ye,ve,be,we,ke,Ee,Se,xe,Ce,Te,_e,Ae,Oe,Re,Pe,Ie,Me,Le,Ne,De,je,Be,qe,Fe,$e,Ue,Ze,ze,He,We,Ve,Ge,Ke,Ye,Xe,Qe,Je,et,tt,nt,rt,it,ot,at,st,lt,ct,ut,dt,ft,pt,ht,mt,gt,yt,vt,bt,wt,kt,Et,St,xt,Ct,Tt=W((()=>{Y(),$t(),_t(),he=[],me=!1,ye=-1,ne.prototype.run=function(){this.fun.apply(null,this.array)},ve="browser",be="x64",we="browser",ke={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},Ee=["/usr/bin/node"],Se=[],xe="v16.8.0",Ce={},Te=function(e,t){console.warn((t?t+": ":"")+e)},_e=function(e){Q("binding")},Ae=function(e){return 0},Oe=function(){return"/"},Re=function(e){},Pe={name:"node",sourceUrl:"",headersUrl:"",libUrl:""},Ie=re,Me=[],Le={},Ne=!1,De={},je=re,Be=re,Fe=qe=function(){return{}},$e=qe,Ue=re,Ze=re,ze=re,He={},We={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},Ve=re,Ge=re,Ke=re,Ye=re,Xe=re,Qe=re,Je=re,et=void 0,tt=void 0,nt=void 0,rt=re,it=2,ot=1,at="/bin/usr/node",st=9229,lt="node",ct=[],ut=re,void 0===(dt={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0}).now&&(ft=Date.now(),dt.timing&&dt.timing.navigationStart&&(ft=dt.timing.navigationStart),dt.now=()=>Date.now()-ft),pt=1e9,de.bigint=function(e){var t=de(e);return typeof BigInt>"u"?t[0]*pt+t[1]:BigInt(t[0]*pt)+BigInt(t[1])},Ct={version:xe,versions:Ce,arch:be,platform:we,release:Pe,_rawDebug:Ie,moduleLoadList:Me,binding:_e,_linkedBinding:ie,_events:mt={},_eventsCount:gt=0,_maxListeners:ht=10,on:fe,addListener:yt=fe,once:vt=fe,off:bt=fe,removeListener:wt=fe,removeAllListeners:kt=fe,emit:Et=re,prependListener:St=fe,prependOnceListener:xt=fe,listeners:pe,domain:Le,_exiting:Ne,config:De,dlopen:oe,uptime:ue,_getActiveRequests:ae,_getActiveHandles:se,reallyExit:je,_kill:Be,cpuUsage:qe,resourceUsage:Fe,memoryUsage:$e,kill:Ue,exit:Ze,openStdin:ze,allowedNodeEnvironmentFlags:He,assert:le,features:We,_fatalExceptions:Ve,setUncaughtExceptionCaptureCallback:Ge,hasUncaughtExceptionCaptureCallback:ce,emitWarning:Te,nextTick:te,_tickCallback:Ke,_debugProcess:Ye,_debugEnd:Xe,_startProfilerIdleNotifier:Qe,_stopProfilerIdleNotifier:Je,stdout:et,stdin:nt,stderr:tt,abort:rt,umask:Ae,chdir:Re,cwd:Oe,env:ke,title:ve,argv:Ee,execArgv:Se,pid:it,ppid:ot,execPath:at,debugPort:st,hrtime:de,argv0:lt,_preload_modules:ct,setSourceMapsEnabled:ut}})),_t=W((()=>{Tt()})),At={};function Ot(){if(Nt)return Lt;Nt=!0;let e=function(){if(Pt)return Rt;Pt=!0,Rt.byteLength=function(e){var t=a(e),n=t[0],r=t[1];return 3*(n+r)/4-r},Rt.toByteArray=function(e){var r,i,o=a(e),s=o[0],l=o[1],c=new n(function(e,t,n){return 3*(t+n)/4-n}(0,s,l)),u=0,d=l>0?s-4:s;for(i=0;i>16&255,c[u++]=r>>8&255,c[u++]=255&r;return 2===l&&(r=t[e.charCodeAt(i)]<<2|t[e.charCodeAt(i+1)]>>4,c[u++]=255&r),1===l&&(r=t[e.charCodeAt(i)]<<10|t[e.charCodeAt(i+1)]<<4|t[e.charCodeAt(i+2)]>>2,c[u++]=r>>8&255,c[u++]=255&r),c},Rt.fromByteArray=function(t){for(var n,r=t.length,i=r%3,o=[],a=16383,s=0,c=r-i;sc?c:s+a));return 1===i?(n=t[r-1],o.push(e[n>>2]+e[n<<4&63]+"==")):2===i&&(n=(t[r-2]<<8)+t[r-1],o.push(e[n>>10]+e[n>>4&63]+e[n<<2&63]+"=")),o.join("")};for(var e=[],t=[],n=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,o=r.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function s(t){return e[t>>18&63]+e[t>>12&63]+e[t>>6&63]+e[63&t]}function l(e,t,n){for(var r,i=[],o=t;o>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},It.write=function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*m}),It),n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;Lt.Buffer=o,Lt.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},Lt.INSPECT_MAX_BYTES=50;let r=2147483647;function i(e){if(e>r)throw new RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,o.prototype),t}function o(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return l(e)}return a(e,t,n)}function a(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!o.isEncoding(t))throw new TypeError("Unknown encoding: "+t);let n=0|f(e,t),r=i(n),a=r.write(e,t);return a!==n&&(r=r.slice(0,a)),r}(e,t);if(ArrayBuffer.isView(e))return function(e){if(W(e,Uint8Array)){let t=new Uint8Array(e);return u(t.buffer,t.byteOffset,t.byteLength)}return c(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(W(e,ArrayBuffer)||e&&W(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(W(e,SharedArrayBuffer)||e&&W(e.buffer,SharedArrayBuffer)))return u(e,t,n);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return o.from(r,t,n);let a=function(e){if(o.isBuffer(e)){let t=0|d(e.length),n=i(t);return 0===n.length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||V(e.length)?i(0):c(e);if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}(e);if(a)return a;if(typeof Symbol<"u"&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function s(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function l(e){return s(e),i(e<0?0:0|d(e))}function c(e){let t=e.length<0?0:0|d(e.length),n=i(t);for(let r=0;r=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return 0|e}function f(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||W(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return Z(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return z(e).length;default:if(i)return r?-1:Z(e).length;t=(""+t).toLowerCase(),i=!0}}function p(e,t,n){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return _(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return C(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return E(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function h(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}function m(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),V(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=o.from(t,r)),o.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,i){let o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){let n=!0;for(let r=0;ri&&(r=i):r=i;let o,a=t.length;for(r>a/2&&(r=a/2),o=0;o>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function E(t,n,r){return 0===n&&r===t.length?e.fromByteArray(t):e.fromByteArray(t.slice(n,r))}function S(e,t,n){n=Math.min(e.length,n);let r=[],i=t;for(;i239?4:t>223?3:t>191?2:1;if(i+a<=n){let n,r,s,l;switch(a){case 1:t<128&&(o=t);break;case 2:n=e[i+1],128==(192&n)&&(l=(31&t)<<6|63&n,l>127&&(o=l));break;case 3:n=e[i+1],r=e[i+2],128==(192&n)&&128==(192&r)&&(l=(15&t)<<12|(63&n)<<6|63&r,l>2047&&(l<55296||l>57343)&&(o=l));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],128==(192&n)&&128==(192&r)&&128==(192&s)&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&s,l>65535&&l<1114112&&(o=l))}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return function(e){let t=e.length;if(t<=x)return String.fromCharCode.apply(String,e);let n="",r=0;for(;rr.length?(o.isBuffer(t)||(t=o.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else{if(!o.isBuffer(t))throw new TypeError('"list" argument must be an Array of Buffers');t.copy(r,i)}i+=t.length}return r},o.byteLength=f,o.prototype._isBuffer=!0,o.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;tt&&(e+=" ... "),""},n&&(o.prototype[n]=o.prototype.inspect),o.prototype.compare=function(e,t,n,r,i){if(W(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;let a=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(t>>>=0),l=Math.min(a,s),c=this.slice(r,i),u=e.slice(t,n);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}let i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return v(this,e,t,n);case"ascii":case"latin1":case"binary":return b(this,e,t,n);case"base64":return w(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};let x=4096;function C(e,t,n){let r="";n=Math.min(e.length,n);for(let i=t;ir)&&(n=r);let i="";for(let r=t;rn)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,n,r,i,a){if(!o.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function P(e,t,n,r,i){q(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,n}function I(e,t,n,r,i){q(t,r,i,e,n,7);let o=Number(t&BigInt(4294967295));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=a,a>>=8,e[n+2]=a,a>>=8,e[n+1]=a,a>>=8,e[n]=a,n+8}function M(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function L(e,n,r,i,o){return n=+n,r>>>=0,o||M(e,0,r,4),t.write(e,n,r,i,23,4),r+4}function N(e,n,r,i,o){return n=+n,r>>>=0,o||M(e,0,r,8),t.write(e,n,r,i,52,8),r+8}o.prototype.slice=function(e,t){let n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||O(e,t,this.length);let r=this[e],i=1,o=0;for(;++o>>=0,t>>>=0,n||O(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},o.prototype.readUint8=o.prototype.readUInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),this[e]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||O(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readBigUInt64LE=K((function(e){F(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&$(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+this[++e]*2**24,i=this[++e]+256*this[++e]+65536*this[++e]+n*2**24;return BigInt(r)+(BigInt(i)<>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&$(e,this.length-8);let r=t*2**24+65536*this[++e]+256*this[++e]+this[++e],i=this[++e]*2**24+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||O(e,t,this.length);let r=this[e],i=1,o=0;for(;++o=i&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||O(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return e>>>=0,t||O(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||O(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(e,t){e>>>=0,t||O(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||O(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readBigInt64LE=K((function(e){F(e>>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&$(e,this.length-8);let r=this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24);return(BigInt(r)<>>=0,"offset");let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&$(e,this.length-8);let r=(t<<24)+65536*this[++e]+256*this[++e]+this[++e];return(BigInt(r)<>>=0,n||O(e,4,this.length),t.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,n){return e>>>=0,n||O(e,4,this.length),t.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,n){return e>>>=0,n||O(e,8,this.length),t.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,n){return e>>>=0,n||O(e,8,this.length),t.read(this,e,!1,52,8)},o.prototype.writeUintLE=o.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){R(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,!r){R(this,e,t,n,Math.pow(2,8*n)-1,0)}let i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeBigUInt64LE=K((function(e,t=0){return P(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),o.prototype.writeBigUInt64BE=K((function(e,t=0){return I(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))})),o.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);R(this,e,t,n,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i>0)-a&255;return t+n},o.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*n-1);R(this,e,t,n,r-1,-r)}let i=n-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeBigInt64LE=K((function(e,t=0){return P(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),o.prototype.writeBigInt64BE=K((function(e,t=0){return I(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),o.prototype.writeFloatLE=function(e,t,n){return L(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return L(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return N(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return N(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,r){if(!o.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!r&&0!==r&&(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function q(e,t,n,r,i,o){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${8*(o+1)}${i}`:`>= -(2${i} ** ${8*(o+1)-1}${i}) and < 2 ** ${8*(o+1)-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new D.ERR_OUT_OF_RANGE("value",r,e)}!function(e,t,n){F(t,"offset"),(void 0===e[t]||void 0===e[t+n])&&$(t,e.length-(n+1))}(r,i,o)}function F(e,t){if("number"!=typeof e)throw new D.ERR_INVALID_ARG_TYPE(t,"number",e)}function $(e,t,n){throw Math.floor(e)!==e?(F(e,n),new D.ERR_OUT_OF_RANGE(n||"offset","an integer",e)):t<0?new D.ERR_BUFFER_OUT_OF_BOUNDS:new D.ERR_OUT_OF_RANGE(n||"offset",`>= ${n?1:0} and <= ${t}`,e)}j("ERR_BUFFER_OUT_OF_BOUNDS",(function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),j("ERR_INVALID_ARG_TYPE",(function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`}),TypeError),j("ERR_OUT_OF_RANGE",(function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=B(String(n)):"bigint"==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=B(i)),i+="n"),r+=` It must be ${t}. Received ${i}`,r}),RangeError);let U=/[^+/0-9A-Za-z-_]/g;function Z(e,t){t=t||1/0;let n,r=e.length,i=null,o=[];for(let a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function z(t){return e.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(U,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(t))}function H(e,t,n,r){let i;for(i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function W(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function V(e){return e!=e}let G=function(){let e="0123456789abcdef",t=new Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function K(e){return typeof BigInt>"u"?Y:e}function Y(){throw new Error("BigInt not supported")}return Lt}G(At,{Buffer:()=>jt,INSPECT_MAX_BYTES:()=>Bt,default:()=>Dt,kMaxLength:()=>qt});var Rt,Pt,It,Mt,Lt,Nt,Dt,jt,Bt,qt,Ft=W((()=>{Y(),$t(),_t(),Rt={},Pt=!1,It={},Mt=!1,Lt={},Nt=!1,(Dt=Ot()).Buffer,Dt.SlowBuffer,Dt.INSPECT_MAX_BYTES,Dt.kMaxLength,jt=Dt.Buffer,Bt=Dt.INSPECT_MAX_BYTES,qt=Dt.kMaxLength})),$t=W((()=>{Ft()})),Ut=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0});e.default=class{constructor(e){this.aliasToTopic={},this.max=e}put(e,t){return!(0===t||t>this.max)&&(this.aliasToTopic[t]=e,this.length=Object.keys(this.aliasToTopic).length,!0)}getTopicByAlias(e){return this.aliasToTopic[e]}clear(){this.aliasToTopic={}}}})),Zt=V(((e,t)=>{Y(),$t(),_t(),t.exports={ArrayIsArray(e){return Array.isArray(e)},ArrayPrototypeIncludes(e,t){return e.includes(t)},ArrayPrototypeIndexOf(e,t){return e.indexOf(t)},ArrayPrototypeJoin(e,t){return e.join(t)},ArrayPrototypeMap(e,t){return e.map(t)},ArrayPrototypePop(e,t){return e.pop(t)},ArrayPrototypePush(e,t){return e.push(t)},ArrayPrototypeSlice(e,t,n){return e.slice(t,n)},Error:Error,FunctionPrototypeCall(e,t,...n){return e.call(t,...n)},FunctionPrototypeSymbolHasInstance(e,t){return Function.prototype[Symbol.hasInstance].call(e,t)},MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(e,t){return Object.defineProperties(e,t)},ObjectDefineProperty(e,t,n){return Object.defineProperty(e,t,n)},ObjectGetOwnPropertyDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)},ObjectKeys(e){return Object.keys(e)},ObjectSetPrototypeOf(e,t){return Object.setPrototypeOf(e,t)},Promise:Promise,PromisePrototypeCatch(e,t){return e.catch(t)},PromisePrototypeThen(e,t,n){return e.then(t,n)},PromiseReject(e){return Promise.reject(e)},ReflectApply:Reflect.apply,RegExpPrototypeTest(e,t){return e.test(t)},SafeSet:Set,String:String,StringPrototypeSlice(e,t,n){return e.slice(t,n)},StringPrototypeToLowerCase(e){return e.toLowerCase()},StringPrototypeToUpperCase(e){return e.toUpperCase()},StringPrototypeTrim(e){return e.trim()},Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet(e,t,n){return e.set(t,n)},Uint8Array:Uint8Array}})),zt=V(((e,t)=>{Y(),$t(),_t();var n=(Ft(),K(At)),r=Object.getPrototypeOf((async function(){})).constructor,i=globalThis.Blob||n.Blob,o=typeof i<"u"?function(e){return e instanceof i}:function(e){return!1},a=class extends Error{constructor(e){if(!Array.isArray(e))throw new TypeError("Expected input to be an Array, got "+typeof e);let t="";for(let n=0;n{e=n,t=r})),resolve:e,reject:t}},promisify(e){return new Promise(((t,n)=>{e(((e,...r)=>e?n(e):t(...r)))}))},debuglog(){return function(){}},format(e,...t){return e.replace(/%([sdifj])/g,(function(...[e,n]){let r=t.shift();return"f"===n?r.toFixed(6):"j"===n?JSON.stringify(r):"s"===n&&"object"==typeof r?`${r.constructor!==Object?r.constructor.name:""} {}`.trim():r.toString()}))},inspect(e){switch(typeof e){case"string":if(e.includes("'")){if(!e.includes('"'))return`"${e}"`;if(!e.includes("`")&&!e.includes("${"))return`\`${e}\``}return`'${e}'`;case"number":return isNaN(e)?"NaN":Object.is(e,-0)?String(e):e;case"bigint":return`${String(e)}n`;case"boolean":case"undefined":return String(e);case"object":return"{}"}},types:{isAsyncFunction(e){return e instanceof r},isArrayBufferView(e){return ArrayBuffer.isView(e)}},isBlob:o},t.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")})),Ht=V(((e,t)=>{Y(),$t(),_t();var{AbortController:n,AbortSignal:r}=typeof self<"u"?self:typeof window<"u"?window:void 0;t.exports=n,t.exports.AbortSignal=r,t.exports.default=n})),Wt=V(((e,t)=>{Y(),$t(),_t();var{format:n,inspect:r,AggregateError:i}=zt(),o=globalThis.AggregateError||i,a=Symbol("kIsNodeError"),s=["string","function","number","object","Function","Object","boolean","bigint","symbol"],l=/^([A-Z][a-z0-9]*)+$/,c={};function u(e,t){if(!e)throw new c.ERR_INTERNAL_ASSERTION(t)}function d(e){let t="",n=e.length,r="-"===e[0]?1:0;for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function f(e,t,r){r||(r=Error);class i extends r{constructor(...r){super(function(e,t,r){if("function"==typeof t)return u(t.length<=r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${t.length}).`),t(...r);let i=(t.match(/%[dfijoOs]/g)||[]).length;return u(i===r.length,`Code: ${e}; The provided arguments length (${r.length}) does not match the required ones (${i}).`),0===r.length?t:n(t,...r)}(e,t,r))}toString(){return`${this.name} [${e}]: ${this.message}`}}Object.defineProperties(i.prototype,{name:{value:r.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${e}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),i.prototype.code=e,i.prototype[a]=!0,c[e]=i}function p(e){let t="__node_internal_"+e.name;return Object.defineProperty(e,"name",{value:t}),e}var h=class extends Error{constructor(e="The operation was aborted",t){if(void 0!==t&&"object"!=typeof t)throw new c.ERR_INVALID_ARG_TYPE("options","Object",t);super(e,t),this.code="ABORT_ERR",this.name="AbortError"}};f("ERR_ASSERTION","%s",Error),f("ERR_INVALID_ARG_TYPE",((e,t,n)=>{u("string"==typeof e,"'name' must be a string"),Array.isArray(t)||(t=[t]);let i="The ";e.endsWith(" argument")?i+=`${e} `:i+=`"${e}" ${e.includes(".")?"property":"argument"} `,i+="must be ";let o=[],a=[],c=[];for(let e of t)u("string"==typeof e,"All expected entries have to be of type string"),s.includes(e)?o.push(e.toLowerCase()):l.test(e)?a.push(e):(u("object"!==e,'The value "object" should be written as "Object"'),c.push(e));if(a.length>0){let e=o.indexOf("object");-1!==e&&(o.splice(o,e,1),a.push("Object"))}if(o.length>0){switch(o.length){case 1:i+=`of type ${o[0]}`;break;case 2:i+=`one of type ${o[0]} or ${o[1]}`;break;default:{let e=o.pop();i+=`one of type ${o.join(", ")}, or ${e}`}}(a.length>0||c.length>0)&&(i+=" or ")}if(a.length>0){switch(a.length){case 1:i+=`an instance of ${a[0]}`;break;case 2:i+=`an instance of ${a[0]} or ${a[1]}`;break;default:{let e=a.pop();i+=`an instance of ${a.join(", ")}, or ${e}`}}c.length>0&&(i+=" or ")}switch(c.length){case 0:break;case 1:c[0].toLowerCase()!==c[0]&&(i+="an "),i+=`${c[0]}`;break;case 2:i+=`one of ${c[0]} or ${c[1]}`;break;default:{let e=c.pop();i+=`one of ${c.join(", ")}, or ${e}`}}if(null==n)i+=`. Received ${n}`;else if("function"==typeof n&&n.name)i+=`. Received function ${n.name}`;else if("object"==typeof n){var d;if(null!==(d=n.constructor)&&void 0!==d&&d.name)i+=`. Received an instance of ${n.constructor.name}`;else{i+=`. Received ${r(n,{depth:-1})}`}}else{let e=r(n,{colors:!1});e.length>25&&(e=`${e.slice(0,25)}...`),i+=`. Received type ${typeof n} (${e})`}return i}),TypeError),f("ERR_INVALID_ARG_VALUE",((e,t,n="is invalid")=>{let i=r(t);return i.length>128&&(i=i.slice(0,128)+"..."),`The ${e.includes(".")?"property":"argument"} '${e}' ${n}. Received ${i}`}),TypeError),f("ERR_INVALID_RETURN_VALUE",((e,t,n)=>{var r;return`Expected ${e} to be returned from the "${t}" function but got ${null!=n&&null!==(r=n.constructor)&&void 0!==r&&r.name?`instance of ${n.constructor.name}`:"type "+typeof n}.`}),TypeError),f("ERR_MISSING_ARGS",((...e)=>{u(e.length>0,"At least one arg needs to be specified");let t,n=e.length;switch(e=(Array.isArray(e)?e:[e]).map((e=>`"${e}"`)).join(" or "),n){case 1:t+=`The ${e[0]} argument`;break;case 2:t+=`The ${e[0]} and ${e[1]} arguments`;break;default:{let n=e.pop();t+=`The ${e.join(", ")}, and ${n} arguments`}}return`${t} must be specified`}),TypeError),f("ERR_OUT_OF_RANGE",((e,t,n)=>{let i;return u(t,'Missing "range" argument'),Number.isInteger(n)&&Math.abs(n)>2**32?i=d(String(n)):"bigint"==typeof n?(i=String(n),(n>2n**32n||n<-(2n**32n))&&(i=d(i)),i+="n"):i=r(n),`The value of "${e}" is out of range. It must be ${t}. Received ${i}`}),RangeError),f("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),f("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),f("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),f("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),f("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),f("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),f("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),f("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),f("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),f("ERR_STREAM_WRITE_AFTER_END","write after end",Error),f("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),t.exports={AbortError:h,aggregateTwoErrors:p((function(e,t){if(e&&t&&e!==t){if(Array.isArray(t.errors))return t.errors.push(e),t;let n=new o([t,e],t.message);return n.code=t.code,n}return e||t})),hideStackFrames:p,codes:c}})),Vt=V(((e,t)=>{Y(),$t(),_t();var{ArrayIsArray:n,ArrayPrototypeIncludes:r,ArrayPrototypeJoin:i,ArrayPrototypeMap:o,NumberIsInteger:a,NumberIsNaN:s,NumberMAX_SAFE_INTEGER:l,NumberMIN_SAFE_INTEGER:c,NumberParseInt:u,ObjectPrototypeHasOwnProperty:d,RegExpPrototypeExec:f,String:p,StringPrototypeToUpperCase:h,StringPrototypeTrim:m}=Zt(),{hideStackFrames:g,codes:{ERR_SOCKET_BAD_PORT:y,ERR_INVALID_ARG_TYPE:v,ERR_INVALID_ARG_VALUE:b,ERR_OUT_OF_RANGE:w,ERR_UNKNOWN_SIGNAL:k}}=Wt(),{normalizeEncoding:E}=zt(),{isAsyncFunction:S,isArrayBufferView:x}=zt().types,C={};var T=/^[0-7]+$/;var _=g(((e,t,n=c,r=l)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!a(e))throw new w(t,"an integer",e);if(er)throw new w(t,`>= ${n} && <= ${r}`,e)})),A=g(((e,t,n=-2147483648,r=2147483647)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!a(e))throw new w(t,"an integer",e);if(er)throw new w(t,`>= ${n} && <= ${r}`,e)})),O=g(((e,t,n=!1)=>{if("number"!=typeof e)throw new v(t,"number",e);if(!a(e))throw new w(t,"an integer",e);let r=n?1:0,i=4294967295;if(ei)throw new w(t,`>= ${r} && <= ${i}`,e)}));function R(e,t){if("string"!=typeof e)throw new v(t,"string",e)}var P=g(((e,t,n)=>{if(!r(n,e)){let r="must be one of: "+i(o(n,(e=>"string"==typeof e?`'${e}'`:p(e))),", ");throw new b(t,e,r)}}));function I(e,t){if("boolean"!=typeof e)throw new v(t,"boolean",e)}function M(e,t,n){return null!=e&&d(e,t)?e[t]:n}var L=g(((e,t,r=null)=>{let i=M(r,"allowArray",!1),o=M(r,"allowFunction",!1);if(!M(r,"nullable",!1)&&null===e||!i&&n(e)||"object"!=typeof e&&(!o||"function"!=typeof e))throw new v(t,"Object",e)})),N=g(((e,t)=>{if(null!=e&&"object"!=typeof e&&"function"!=typeof e)throw new v(t,"a dictionary",e)})),D=g(((e,t,r=0)=>{if(!n(e))throw new v(t,"Array",e);if(e.length{if(!x(e))throw new v(t,["Buffer","TypedArray","DataView"],e)}));var B=g(((e,t)=>{if(void 0!==e&&(null===e||"object"!=typeof e||!("aborted"in e)))throw new v(t,"AbortSignal",e)})),q=g(((e,t)=>{if("function"!=typeof e)throw new v(t,"Function",e)})),F=g(((e,t)=>{if("function"!=typeof e||S(e))throw new v(t,"Function",e)})),$=g(((e,t)=>{if(void 0!==e)throw new v(t,"undefined",e)}));var U=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function Z(e,t){if(typeof e>"u"||!f(U,e))throw new b(t,e,'must be an array or string of format "; rel=preload; as=style"')}t.exports={isInt32:function(e){return e===(0|e)},isUint32:function(e){return e===e>>>0},parseFileMode:function(e,t,n){if(typeof e>"u"&&(e=n),"string"==typeof e){if(null===f(T,e))throw new b(t,e,"must be a 32-bit unsigned integer or an octal string");e=u(e,8)}return O(e,t),e},validateArray:D,validateStringArray:function(e,t){D(e,t);for(let n=0;nr||(null!=n||null!=r)&&s(e))throw new w(t,`${null!=n?`>= ${n}`:""}${null!=n&&null!=r?" && ":""}${null!=r?`<= ${r}`:""}`,e)},validateObject:L,validateOneOf:P,validatePlainFunction:F,validatePort:function(e,t="Port",n=!0){if("number"!=typeof e&&"string"!=typeof e||"string"==typeof e&&0===m(e).length||+e!=+e>>>0||e>65535||0===e&&!n)throw new y(t,e,n);return 0|e},validateSignalName:function(e,t="signal"){if(R(e,t),void 0===C[e])throw void 0!==C[h(e)]?new k(e+" (signals must use all capital letters)"):new k(e)},validateString:R,validateUint32:O,validateUndefined:$,validateUnion:function(e,t,n){if(!r(n,e))throw new v(t,`('${i(n,"|")}')`,e)},validateAbortSignal:B,validateLinkHeaderValue:function(e){if("string"==typeof e)return Z(e,"hints"),e;if(n(e)){let t=e.length,n="";if(0===t)return n;for(let r=0;r; rel=preload; as=style"')}}})),Gt=V(((e,t)=>{Y(),$t(),_t();var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch{try{return n.call(null,e,0)}catch{return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch{n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch{r=a}}();var l,c=[],u=!1,d=-1;function f(){!u||!l||(u=!1,l.length?c=l.concat(c):d=-1,c.length&&p())}function p(){if(!u){var e=s(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++d1)for(var n=1;n{Y(),$t(),_t();var{Symbol:n,SymbolAsyncIterator:r,SymbolIterator:i,SymbolFor:o}=Zt(),a=n("kDestroyed"),s=n("kIsErrored"),l=n("kIsReadable"),c=n("kIsDisturbed"),u=o("nodejs.webstream.isClosedPromise"),d=o("nodejs.webstream.controllerErrorFunction");function f(e,t=!1){var n;return!(!e||"function"!=typeof e.pipe||"function"!=typeof e.on||t&&("function"!=typeof e.pause||"function"!=typeof e.resume)||e._writableState&&!1===(null===(n=e._readableState)||void 0===n?void 0:n.readable)||e._writableState&&!e._readableState)}function p(e){var t;return!(!e||"function"!=typeof e.write||"function"!=typeof e.on||e._readableState&&!1===(null===(t=e._writableState)||void 0===t?void 0:t.writable))}function h(e){return e&&(e._readableState||e._writableState||"function"==typeof e.write&&"function"==typeof e.on||"function"==typeof e.pipe&&"function"==typeof e.on)}function m(e){return!(!e||h(e)||"function"!=typeof e.pipeThrough||"function"!=typeof e.getReader||"function"!=typeof e.cancel)}function g(e){return!(!e||h(e)||"function"!=typeof e.getWriter||"function"!=typeof e.abort)}function y(e){return!(!e||h(e)||"object"!=typeof e.readable||"object"!=typeof e.writable)}function v(e){if(!h(e))return null;let t=e._writableState,n=e._readableState,r=t||n;return!!(e.destroyed||e[a]||null!=r&&r.destroyed)}function b(e){if(!p(e))return null;if(!0===e.writableEnded)return!0;let t=e._writableState;return(null==t||!t.errored)&&("boolean"!=typeof t?.ended?null:t.ended)}function w(e,t){if(!f(e))return null;let n=e._readableState;return(null==n||!n.errored)&&("boolean"!=typeof n?.endEmitted?null:!!(n.endEmitted||!1===t&&!0===n.ended&&0===n.length))}function k(e){return e&&null!=e[l]?e[l]:"boolean"!=typeof e?.readable?null:!v(e)&&(f(e)&&e.readable&&!w(e))}function E(e){return"boolean"!=typeof e?.writable?null:!v(e)&&(p(e)&&e.writable&&!b(e))}function S(e){return"boolean"==typeof e._closed&&"boolean"==typeof e._defaultKeepAlive&&"boolean"==typeof e._removedConnection&&"boolean"==typeof e._removedContLen}function x(e){return"boolean"==typeof e._sent100&&S(e)}t.exports={kDestroyed:a,isDisturbed:function(e){var t;return!(!e||!(null!==(t=e[c])&&void 0!==t?t:e.readableDidRead||e.readableAborted))},kIsDisturbed:c,isErrored:function(e){var t,n,r,i,o,a,l,c,u,d;return!(!e||!(null!==(t=null!==(n=null!==(r=null!==(i=null!==(o=null!==(a=e[s])&&void 0!==a?a:e.readableErrored)&&void 0!==o?o:e.writableErrored)&&void 0!==i?i:null===(l=e._readableState)||void 0===l?void 0:l.errorEmitted)&&void 0!==r?r:null===(c=e._writableState)||void 0===c?void 0:c.errorEmitted)&&void 0!==n?n:null===(u=e._readableState)||void 0===u?void 0:u.errored)&&void 0!==t?t:null!==(d=e._writableState)&&void 0!==d&&d.errored))},kIsErrored:s,isReadable:k,kIsReadable:l,kIsClosedPromise:u,kControllerErrorFunction:d,isClosed:function(e){if(!h(e))return null;if("boolean"==typeof e.closed)return e.closed;let t=e._writableState,n=e._readableState;return"boolean"==typeof t?.closed||"boolean"==typeof n?.closed?t?.closed||n?.closed:"boolean"==typeof e._closed&&S(e)?e._closed:null},isDestroyed:v,isDuplexNodeStream:function(e){return!(!e||"function"!=typeof e.pipe||!e._readableState||"function"!=typeof e.on||"function"!=typeof e.write)},isFinished:function(e,t){return h(e)?!!v(e)||!(!1!==t?.readable&&k(e)||!1!==t?.writable&&E(e)):null},isIterable:function(e,t){return null!=e&&(!0===t?"function"==typeof e[r]:!1===t?"function"==typeof e[i]:"function"==typeof e[r]||"function"==typeof e[i])},isReadableNodeStream:f,isReadableStream:m,isReadableEnded:function(e){if(!f(e))return null;if(!0===e.readableEnded)return!0;let t=e._readableState;return!(!t||t.errored)&&("boolean"!=typeof t?.ended?null:t.ended)},isReadableFinished:w,isReadableErrored:function(e){var t,n;return h(e)?e.readableErrored?e.readableErrored:null!==(t=null===(n=e._readableState)||void 0===n?void 0:n.errored)&&void 0!==t?t:null:null},isNodeStream:h,isWebStream:function(e){return m(e)||g(e)||y(e)},isWritable:E,isWritableNodeStream:p,isWritableStream:g,isWritableEnded:b,isWritableFinished:function(e,t){if(!p(e))return null;if(!0===e.writableFinished)return!0;let n=e._writableState;return(null==n||!n.errored)&&("boolean"!=typeof n?.finished?null:!!(n.finished||!1===t&&!0===n.ended&&0===n.length))},isWritableErrored:function(e){var t,n;return h(e)?e.writableErrored?e.writableErrored:null!==(t=null===(n=e._writableState)||void 0===n?void 0:n.errored)&&void 0!==t?t:null:null},isServerRequest:function(e){var t;return"boolean"==typeof e._consuming&&"boolean"==typeof e._dumped&&void 0===(null===(t=e.req)||void 0===t?void 0:t.upgradeOrConnect)},isServerResponse:x,willEmitClose:function(e){if(!h(e))return null;let t=e._writableState,n=e._readableState,r=t||n;return!r&&x(e)||!!(r&&r.autoDestroy&&r.emitClose&&!1===r.closed)},isTransformStream:y}})),Yt=V(((e,t)=>{Y(),$t(),_t();var n=Gt(),{AbortError:r,codes:i}=Wt(),{ERR_INVALID_ARG_TYPE:o,ERR_STREAM_PREMATURE_CLOSE:a}=i,{kEmptyObject:s,once:l}=zt(),{validateAbortSignal:c,validateFunction:u,validateObject:d,validateBoolean:f}=Vt(),{Promise:p,PromisePrototypeThen:h}=Zt(),{isClosed:m,isReadable:g,isReadableNodeStream:y,isReadableStream:v,isReadableFinished:b,isReadableErrored:w,isWritable:k,isWritableNodeStream:E,isWritableStream:S,isWritableFinished:x,isWritableErrored:C,isNodeStream:T,willEmitClose:_,kIsClosedPromise:A}=Kt();function O(e){return e.setHeader&&"function"==typeof e.abort}var R=()=>{};function P(e,t,i){var f,p;if(2===arguments.length?(i=t,t=s):null==t?t=s:d(t,"options"),u(i,"callback"),c(t.signal,"options.signal"),i=l(i),v(e)||S(e))return I(e,t,i);if(!T(e))throw new o("stream",["ReadableStream","WritableStream","Stream"],e);let h=null!==(f=t.readable)&&void 0!==f?f:y(e),A=null!==(p=t.writable)&&void 0!==p?p:E(e),P=e._writableState,M=e._readableState,L=()=>{e.writable||j()},N=_(e)&&y(e)===h&&E(e)===A,D=x(e,!1),j=()=>{D=!0,e.destroyed&&(N=!1),(!N||e.readable&&!h)&&(!h||B)&&i.call(e)},B=b(e,!1),q=()=>{B=!0,e.destroyed&&(N=!1),(!N||e.writable&&!A)&&(!A||D)&&i.call(e)},F=t=>{i.call(e,t)},$=m(e),U=()=>{$=!0;let t=C(e)||w(e);return t&&"boolean"!=typeof t?i.call(e,t):h&&!B&&y(e,!0)&&!b(e,!1)?i.call(e,new a):!A||D||x(e,!1)?void i.call(e):i.call(e,new a)},Z=()=>{$=!0;let t=C(e)||w(e);if(t&&"boolean"!=typeof t)return i.call(e,t);i.call(e)},z=()=>{e.req.on("finish",j)};O(e)?(e.on("complete",j),N||e.on("abort",U),e.req?z():e.on("request",z)):A&&!P&&(e.on("end",L),e.on("close",L)),!N&&"boolean"==typeof e.aborted&&e.on("aborted",U),e.on("end",q),e.on("finish",j),!1!==t.error&&e.on("error",F),e.on("close",U),$?n.nextTick(U):null!=P&&P.errorEmitted||null!=M&&M.errorEmitted?N||n.nextTick(Z):(!h&&(!N||g(e))&&(D||!1===k(e))||!A&&(!N||k(e))&&(B||!1===g(e))||M&&e.req&&e.aborted)&&n.nextTick(Z);let H=()=>{i=R,e.removeListener("aborted",U),e.removeListener("complete",j),e.removeListener("abort",U),e.removeListener("request",z),e.req&&e.req.removeListener("finish",j),e.removeListener("end",L),e.removeListener("close",L),e.removeListener("finish",j),e.removeListener("end",q),e.removeListener("error",F),e.removeListener("close",U)};if(t.signal&&!$){let o=()=>{let n=i;H(),n.call(e,new r(void 0,{cause:t.signal.reason}))};if(t.signal.aborted)n.nextTick(o);else{let n=i;i=l(((...r)=>{t.signal.removeEventListener("abort",o),n.apply(e,r)})),t.signal.addEventListener("abort",o)}}return H}function I(e,t,i){let o=!1,a=R;if(t.signal)if(a=()=>{o=!0,i.call(e,new r(void 0,{cause:t.signal.reason}))},t.signal.aborted)n.nextTick(a);else{let n=i;i=l(((...r)=>{t.signal.removeEventListener("abort",a),n.apply(e,r)})),t.signal.addEventListener("abort",a)}let s=(...t)=>{o||n.nextTick((()=>i.apply(e,t)))};return h(e[A].promise,s,s),R}t.exports=P,t.exports.finished=function(e,t){var n;let r=!1;return null===t&&(t=s),null!==(n=t)&&void 0!==n&&n.cleanup&&(f(t.cleanup,"cleanup"),r=t.cleanup),new p(((n,i)=>{let o=P(e,t,(e=>{r&&o(),e?i(e):n()}))}))}})),Xt=V(((e,t)=>{Y(),$t(),_t();var n=Gt(),{aggregateTwoErrors:r,codes:{ERR_MULTIPLE_CALLBACK:i},AbortError:o}=Wt(),{Symbol:a}=Zt(),{kDestroyed:s,isDestroyed:l,isFinished:c,isServerRequest:u}=Kt(),d=a("kDestroy"),f=a("kConstruct");function p(e,t,n){e&&(e.stack,t&&!t.errored&&(t.errored=e),n&&!n.errored&&(n.errored=e))}function h(e,t,r){let i=!1;function o(t){if(i)return;i=!0;let o=e._readableState,a=e._writableState;p(t,a,o),a&&(a.closed=!0),o&&(o.closed=!0),"function"==typeof r&&r(t),t?n.nextTick(m,e,t):n.nextTick(g,e)}try{e._destroy(t||null,o)}catch(e){o(e)}}function m(e,t){y(e,t),g(e)}function g(e){let t=e._readableState,n=e._writableState;n&&(n.closeEmitted=!0),t&&(t.closeEmitted=!0),(null!=n&&n.emitClose||null!=t&&t.emitClose)&&e.emit("close")}function y(e,t){let n=e._readableState,r=e._writableState;null!=r&&r.errorEmitted||null!=n&&n.errorEmitted||(r&&(r.errorEmitted=!0),n&&(n.errorEmitted=!0),e.emit("error",t))}function v(e,t,r){let i=e._readableState,o=e._writableState;if(null!=o&&o.destroyed||null!=i&&i.destroyed)return this;null!=i&&i.autoDestroy||null!=o&&o.autoDestroy?e.destroy(t):t&&(t.stack,o&&!o.errored&&(o.errored=t),i&&!i.errored&&(i.errored=t),r?n.nextTick(y,e,t):y(e,t))}function b(e){let t=!1;function r(r){if(t)return void v(e,r??new i);t=!0;let o=e._readableState,a=e._writableState,s=a||o;o&&(o.constructed=!0),a&&(a.constructed=!0),s.destroyed?e.emit(d,r):r?v(e,r,!0):n.nextTick(w,e)}try{e._construct((e=>{n.nextTick(r,e)}))}catch(e){n.nextTick(r,e)}}function w(e){e.emit(f)}function k(e){return e?.setHeader&&"function"==typeof e.abort}function E(e){e.emit("close")}function S(e,t){e.emit("error",t),n.nextTick(E,e)}t.exports={construct:function(e,t){if("function"!=typeof e._construct)return;let r=e._readableState,i=e._writableState;r&&(r.constructed=!1),i&&(i.constructed=!1),e.once(f,t),!(e.listenerCount(f)>1)&&n.nextTick(b,e)},destroyer:function(e,t){!e||l(e)||(!t&&!c(e)&&(t=new o),u(e)?(e.socket=null,e.destroy(t)):k(e)?e.abort():k(e.req)?e.req.abort():"function"==typeof e.destroy?e.destroy(t):"function"==typeof e.close?e.close():t?n.nextTick(S,e,t):n.nextTick(E,e),e.destroyed||(e[s]=!0))},destroy:function(e,t){let n=this._readableState,i=this._writableState,o=i||n;return null!=i&&i.destroyed||null!=n&&n.destroyed?("function"==typeof t&&t(),this):(p(e,i,n),i&&(i.destroyed=!0),n&&(n.destroyed=!0),o.constructed?h(this,e,t):this.once(d,(function(n){h(this,r(n,e),t)})),this)},undestroy:function(){let e=this._readableState,t=this._writableState;e&&(e.constructed=!0,e.closed=!1,e.closeEmitted=!1,e.destroyed=!1,e.errored=null,e.errorEmitted=!1,e.reading=!1,e.ended=!1===e.readable,e.endEmitted=!1===e.readable),t&&(t.constructed=!0,t.destroyed=!1,t.closed=!1,t.closeEmitted=!1,t.errored=null,t.errorEmitted=!1,t.finalCalled=!1,t.prefinished=!1,t.ended=!1===t.writable,t.ending=!1===t.writable,t.finished=!1===t.writable)},errorOrDestroy:v}}));function Qt(){Qt.init.call(this)}function Jt(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function en(e){return void 0===e._maxListeners?Qt.defaultMaxListeners:e._maxListeners}function tn(e,t,n,r){var i,o,a,s;if(Jt(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(i=en(e))>0&&a.length>i&&!a.warned){a.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,s=l,console&&console.warn&&console.warn(s)}return e}function nn(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function rn(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=nn.bind(r);return i.listener=n,r.wrapFn=i,i}function on(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=new Array(e.length),n=0;n{Y(),$t(),_t(),un="object"==typeof Reflect?Reflect:null,dn=un&&"function"==typeof un.apply?un.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)},cn=un&&"function"==typeof un.ownKeys?un.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)},fn=Number.isNaN||function(e){return e!=e},ln=Qt,Qt.EventEmitter=Qt,Qt.prototype._events=void 0,Qt.prototype._eventsCount=0,Qt.prototype._maxListeners=void 0,pn=10,Object.defineProperty(Qt,"defaultMaxListeners",{enumerable:!0,get:function(){return pn},set:function(e){if("number"!=typeof e||e<0||fn(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");pn=e}}),Qt.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},Qt.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||fn(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},Qt.prototype.getMaxListeners=function(){return en(this)},Qt.prototype.emit=function(e){for(var t=[],n=1;n0&&(o=t[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var s=i[e];if(void 0===s)return!1;if("function"==typeof s)dn(s,this,t);else{var l=s.length,c=sn(s,l);for(n=0;n=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},Qt.prototype.listeners=function(e){return on(this,e,!0)},Qt.prototype.rawListeners=function(e){return on(this,e,!1)},Qt.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):an.call(e,t)},Qt.prototype.listenerCount=an,Qt.prototype.eventNames=function(){return this._eventsCount>0?cn(this._events):[]},(hn=ln).EventEmitter,hn.defaultMaxListeners,hn.init,hn.listenerCount,hn.EventEmitter,hn.defaultMaxListeners,hn.init,hn.listenerCount})),gn={};G(gn,{EventEmitter:()=>yn,default:()=>hn,defaultMaxListeners:()=>vn,init:()=>bn,listenerCount:()=>wn,on:()=>kn,once:()=>En});var yn,vn,bn,wn,kn,En,Sn=W((()=>{Y(),$t(),_t(),mn(),mn(),hn.once=function(e,t){return new Promise(((n,r)=>{function i(...t){void 0!==o&&e.removeListener("error",o),n(t)}let o;"error"!==t&&(o=t=>{e.removeListener(name,i),r(t)},e.once("error",o)),e.once(t,i)}))},hn.on=function(e,t){let n=[],r=[],i=null,o=!1,a={async next(){let e=n.shift();if(e)return createIterResult(e,!1);if(i){let e=Promise.reject(i);return i=null,e}return o?createIterResult(void 0,!0):new Promise(((e,t)=>r.push({resolve:e,reject:t})))},async return(){e.removeListener(t,s),e.removeListener("error",l),o=!0;for(let e of r)e.resolve(createIterResult(void 0,!0));return createIterResult(void 0,!0)},throw(n){i=n,e.removeListener(t,s),e.removeListener("error",l)},[Symbol.asyncIterator](){return this}};return e.on(t,s),e.on("error",l),a;function s(...e){let t=r.shift();t?t.resolve(createIterResult(e,!1)):n.push(e)}function l(e){o=!0;let t=r.shift();t?t.reject(e):i=e,a.return()}},({EventEmitter:yn,defaultMaxListeners:vn,init:bn,listenerCount:wn,on:kn,once:En}=hn)})),xn=V(((e,t)=>{Y(),$t(),_t();var{ArrayIsArray:n,ObjectSetPrototypeOf:r}=Zt(),{EventEmitter:i}=(Sn(),K(gn));function o(e){i.call(this,e)}function a(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?n(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}r(o.prototype,i.prototype),r(o,i),o.prototype.pipe=function(e,t){let n=this;function r(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",r),e.on("drain",o),!e._isStdio&&(!t||!1!==t.end)&&(n.on("end",l),n.on("close",c));let s=!1;function l(){s||(s=!0,e.end())}function c(){s||(s=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){d(),0===i.listenerCount(this,"error")&&this.emit("error",e)}function d(){n.removeListener("data",r),e.removeListener("drain",o),n.removeListener("end",l),n.removeListener("close",c),n.removeListener("error",u),e.removeListener("error",u),n.removeListener("end",d),n.removeListener("close",d),e.removeListener("close",d)}return a(n,"error",u),a(e,"error",u),n.on("end",d),n.on("close",d),e.on("close",d),e.emit("pipe",n),e},t.exports={Stream:o,prependListener:a}})),Cn=V(((e,t)=>{Y(),$t(),_t();var{AbortError:n,codes:r}=Wt(),{isNodeStream:i,isWebStream:o,kControllerErrorFunction:a}=Kt(),s=Yt(),{ERR_INVALID_ARG_TYPE:l}=r;t.exports.addAbortSignal=function(e,n){if(((e,t)=>{if("object"!=typeof e||!("aborted"in e))throw new l(t,"AbortSignal",e)})(e,"signal"),!i(n)&&!o(n))throw new l("stream",["ReadableStream","WritableStream","Stream"],n);return t.exports.addAbortSignalNoValidate(e,n)},t.exports.addAbortSignalNoValidate=function(e,t){if("object"!=typeof e||!("aborted"in e))return t;let r=i(t)?()=>{t.destroy(new n(void 0,{cause:e.reason}))}:()=>{t[a](new n(void 0,{cause:e.reason}))};return e.aborted?r():(e.addEventListener("abort",r),s(t,(()=>e.removeEventListener("abort",r)))),t}})),Tn=V(((e,t)=>{Y(),$t(),_t();var{StringPrototypeSlice:n,SymbolIterator:r,TypedArrayPrototypeSet:i,Uint8Array:o}=Zt(),{Buffer:a}=(Ft(),K(At)),{inspect:s}=zt();t.exports=class{constructor(){this.head=null,this.tail=null,this.length=0}push(e){let t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}unshift(e){let t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}shift(){if(0===this.length)return;let e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}clear(){this.head=this.tail=null,this.length=0}join(e){if(0===this.length)return"";let t=this.head,n=""+t.data;for(;null!==(t=t.next);)n+=e+t.data;return n}concat(e){if(0===this.length)return a.alloc(0);let t=a.allocUnsafe(e>>>0),n=this.head,r=0;for(;n;)i(t,n.data,r),r+=n.data.length,n=n.next;return t}consume(e,t){let n=this.head.data;if(eo.length)){e===o.length?(t+=o,++i,r.next?this.head=r.next:this.head=this.tail=null):(t+=n(o,0,e),this.head=r,r.data=n(o,e));break}t+=o,e-=o.length,++i}while(null!==(r=r.next));return this.length-=i,t}_getBuffer(e){let t=a.allocUnsafe(e),n=e,r=this.head,s=0;do{let a=r.data;if(!(e>a.length)){e===a.length?(i(t,a,n-e),++s,r.next?this.head=r.next:this.head=this.tail=null):(i(t,new o(a.buffer,a.byteOffset,e),n-e),this.head=r,r.data=a.slice(e));break}i(t,a,n-e),e-=a.length,++s}while(null!==(r=r.next));return this.length-=s,t}[Symbol.for("nodejs.util.inspect.custom")](e,t){return s(this,{...t,depth:0,customInspect:!1})}}})),_n=V(((e,t)=>{Y(),$t(),_t();var{MathFloor:n,NumberIsInteger:r}=Zt(),{ERR_INVALID_ARG_VALUE:i}=Wt().codes;function o(e){return e?16:16384}t.exports={getHighWaterMark:function(e,t,a,s){let l=function(e,t,n){return null!=e.highWaterMark?e.highWaterMark:t?e[n]:null}(t,s,a);if(null!=l){if(!r(l)||l<0){throw new i(s?`options.${a}`:"options.highWaterMark",l)}return n(l)}return o(e.objectMode)},getDefaultHighWaterMark:o}}));function An(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function On(e,t,n){for(var r,i,o=[],a=t;a>18&63]+Er[i>>12&63]+Er[i>>6&63]+Er[63&i]);return o.join("")}function Rn(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,Pn.prototype),t}function Pn(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return Ln(e)}return In(e,t,n)}function In(e,t,n){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!Pn.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var n=0|jn(e,t),r=Rn(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return Nn(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(lr(e,ArrayBuffer)||e&&lr(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(lr(e,SharedArrayBuffer)||e&&lr(e.buffer,SharedArrayBuffer)))return function(e,t,n){if(t<0||e.byteLength=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647..toString(16)+" bytes");return 0|e}function jn(e,t){if(Pn.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||lr(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return or(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return ar(e).length;default:if(i)return r?-1:or(e).length;t=(""+t).toLowerCase(),i=!0}}function Bn(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0)||(n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Qn(this,t,n);case"utf8":case"utf-8":return Kn(this,t,n);case"ascii":return Yn(this,t,n);case"latin1":case"binary":return Xn(this,t,n);case"base64":return Gn(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Jn(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function qn(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function Fn(e,t,n,r,i){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),cr(n=+n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof t&&(t=Pn.from(t,r)),Pn.isBuffer(t))return 0===t.length?-1:$n(e,t,n,r,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):$n(e,[t],n,r,i);throw new TypeError("val must be string, number or Buffer")}function $n(e,t,n,r,i){var o,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(o=n;os&&(n=s-l),o=n;o>=0;o--){for(var d=!0,f=0;fi&&(r=i):r=i;var o=t.length;r>o/2&&(r=o/2);for(var a=0;a>8,i=n%256,o.push(i),o.push(r);return o}(t,e.length-n),e,n,r)}function Gn(e,t,n){return 0===t&&n===e.length?Rr.fromByteArray(e):Rr.fromByteArray(e.slice(t,n))}function Kn(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(l=(15&c)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function tr(e,t,n,r,i,o){if(!Pn.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||te.length)throw new RangeError("Index out of range")}function nr(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function rr(e,t,n,r,i){return t=+t,n>>>=0,i||nr(e,0,n,4),Pr.write(e,t,n,r,23,4),n+4}function ir(e,t,n,r,i){return t=+t,n>>>=0,i||nr(e,0,n,8),Pr.write(e,t,n,r,52,8),n+8}function or(e,t){var n;t=t||1/0;for(var r=e.length,i=null,o=[],a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function ar(e){return Rr.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(Mr,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function sr(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function lr(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function cr(e){return e!=e}function ur(e,t){for(var n in e)t[n]=e[n]}function dr(e,t,n){return jr(e,t,n)}function fr(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(qr.isEncoding===Fr||!Fr(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=mr,this.end=gr,t=4;break;case"utf8":this.fillLast=hr,t=4;break;case"base64":this.text=yr,this.end=vr,t=3;break;default:return this.write=br,void(this.end=wr)}this.lastNeed=0,this.lastTotal=0,this.lastChar=qr.allocUnsafe(t)}function pr(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function hr(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function mr(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function gr(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function yr(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function vr(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function br(e){return e.toString(this.encoding)}function wr(e){return e&&e.length?this.write(e):""}var kr,Er,Sr,xr,Cr,Tr,_r,Ar,Or,Rr,Pr,Ir,Mr,Lr,Nr,Dr,jr,Br,qr,Fr,$r=W((()=>{for(Y(),$t(),_t(),kr={byteLength:function(e){var t=An(e),n=t[0],r=t[1];return 3*(n+r)/4-r},toByteArray:function(e){var t,n,r=An(e),i=r[0],o=r[1],a=new xr(function(e,t,n){return 3*(t+n)/4-n}(0,i,o)),s=0,l=o>0?i-4:i;for(n=0;n>16&255,a[s++]=t>>8&255,a[s++]=255&t;return 2===o&&(t=Sr[e.charCodeAt(n)]<<2|Sr[e.charCodeAt(n+1)]>>4,a[s++]=255&t),1===o&&(t=Sr[e.charCodeAt(n)]<<10|Sr[e.charCodeAt(n+1)]<<4|Sr[e.charCodeAt(n+2)]>>2,a[s++]=t>>8&255,a[s++]=255&t),a},fromByteArray:function(e){for(var t,n=e.length,r=n%3,i=[],o=0,a=n-r;oa?a:o+16383));return 1===r?(t=e[n-1],i.push(Er[t>>2]+Er[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],i.push(Er[t>>10]+Er[t>>4&63]+Er[t<<2&63]+"=")),i.join("")}},Er=[],Sr=[],xr=typeof Uint8Array<"u"?Uint8Array:Array,Tr=0,_r=(Cr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/").length;Tr<_r;++Tr)Er[Tr]=Cr[Tr],Sr[Cr.charCodeAt(Tr)]=Tr;Sr["-".charCodeAt(0)]=62,Sr["_".charCodeAt(0)]=63,Ar={read:function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,o=p&(1<<-u)-1,p>>=-u,u+=s;u>0;o=256*o+e[t+d],d+=f,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),o-=c}return(p?-1:1)*a*Math.pow(2,o-r)},write:function(e,t,n,r,i,o){var a,s,l,c=8*o-i-1,u=(1<>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:o-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+p]=255&s,p+=h,s/=256,i-=8);for(a=a<0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*m}},Or={},Rr=kr,Pr=Ar,Ir="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null,Or.Buffer=Pn,Or.SlowBuffer=function(e){return+e!=e&&(e=0),Pn.alloc(+e)},Or.INSPECT_MAX_BYTES=50,Or.kMaxLength=2147483647,Pn.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch{return!1}}(),Pn.TYPED_ARRAY_SUPPORT||typeof console>"u"||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(Pn.prototype,"parent",{enumerable:!0,get:function(){if(Pn.isBuffer(this))return this.buffer}}),Object.defineProperty(Pn.prototype,"offset",{enumerable:!0,get:function(){if(Pn.isBuffer(this))return this.byteOffset}}),Pn.poolSize=8192,Pn.from=function(e,t,n){return In(e,t,n)},Object.setPrototypeOf(Pn.prototype,Uint8Array.prototype),Object.setPrototypeOf(Pn,Uint8Array),Pn.alloc=function(e,t,n){return i=t,o=n,Mn(r=e),r<=0?Rn(r):void 0!==i?"string"==typeof o?Rn(r).fill(i,o):Rn(r).fill(i):Rn(r);var r,i,o},Pn.allocUnsafe=function(e){return Ln(e)},Pn.allocUnsafeSlow=function(e){return Ln(e)},Pn.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==Pn.prototype},Pn.compare=function(e,t){if(lr(e,Uint8Array)&&(e=Pn.from(e,e.offset,e.byteLength)),lr(t,Uint8Array)&&(t=Pn.from(t,t.offset,t.byteLength)),!Pn.isBuffer(e)||!Pn.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);it&&(e+=" ... "),""},Ir&&(Pn.prototype[Ir]=Pn.prototype.inspect),Pn.prototype.compare=function(e,t,n,r,i){if(lr(e,Uint8Array)&&(e=Pn.from(e,e.offset,e.byteLength)),!Pn.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(r,i),c=e.slice(t,n),u=0;u>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return Un(this,e,t,n);case"utf8":case"utf-8":return Zn(this,e,t,n);case"ascii":return zn(this,e,t,n);case"latin1":case"binary":return Hn(this,e,t,n);case"base64":return Wn(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vn(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},Pn.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},Pn.prototype.slice=function(e,t){var n=this.length;(e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||er(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||er(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},Pn.prototype.readUInt8=function(e,t){return e>>>=0,t||er(e,1,this.length),this[e]},Pn.prototype.readUInt16LE=function(e,t){return e>>>=0,t||er(e,2,this.length),this[e]|this[e+1]<<8},Pn.prototype.readUInt16BE=function(e,t){return e>>>=0,t||er(e,2,this.length),this[e]<<8|this[e+1]},Pn.prototype.readUInt32LE=function(e,t){return e>>>=0,t||er(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Pn.prototype.readUInt32BE=function(e,t){return e>>>=0,t||er(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Pn.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||er(e,t,this.length);for(var r=this[e],i=1,o=0;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},Pn.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||er(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},Pn.prototype.readInt8=function(e,t){return e>>>=0,t||er(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Pn.prototype.readInt16LE=function(e,t){e>>>=0,t||er(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},Pn.prototype.readInt16BE=function(e,t){e>>>=0,t||er(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},Pn.prototype.readInt32LE=function(e,t){return e>>>=0,t||er(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Pn.prototype.readInt32BE=function(e,t){return e>>>=0,t||er(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Pn.prototype.readFloatLE=function(e,t){return e>>>=0,t||er(e,4,this.length),Pr.read(this,e,!0,23,4)},Pn.prototype.readFloatBE=function(e,t){return e>>>=0,t||er(e,4,this.length),Pr.read(this,e,!1,23,4)},Pn.prototype.readDoubleLE=function(e,t){return e>>>=0,t||er(e,8,this.length),Pr.read(this,e,!0,52,8)},Pn.prototype.readDoubleBE=function(e,t){return e>>>=0,t||er(e,8,this.length),Pr.read(this,e,!1,52,8)},Pn.prototype.writeUIntLE=function(e,t,n,r){e=+e,t>>>=0,n>>>=0,r||tr(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,r||tr(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},Pn.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||tr(this,e,t,1,255,0),this[t]=255&e,t+1},Pn.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||tr(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},Pn.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||tr(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},Pn.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||tr(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},Pn.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||tr(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Pn.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);tr(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},Pn.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);tr(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},Pn.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||tr(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},Pn.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||tr(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},Pn.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||tr(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},Pn.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||tr(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},Pn.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||tr(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Pn.prototype.writeFloatLE=function(e,t,n){return rr(this,e,t,!0,n)},Pn.prototype.writeFloatBE=function(e,t,n){return rr(this,e,t,!1,n)},Pn.prototype.writeDoubleLE=function(e,t,n){return ir(this,e,t,!0,n)},Pn.prototype.writeDoubleBE=function(e,t,n){return ir(this,e,t,!1,n)},Pn.prototype.copy=function(e,t,n,r){if(!Pn.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return i},Pn.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!Pn.isEncoding(r))throw new TypeError("Unknown encoding: "+r);if(1===e.length){var i=e.charCodeAt(0);("utf8"===r&&i<128||"latin1"===r)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(o=t;o=0?(i>0&&(e.lastNeed=i-1),i):--r=0?(i>0&&(e.lastNeed=i-2),i):--r=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},fr.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length},Br.StringDecoder,Br.StringDecoder})),Ur={};G(Ur,{StringDecoder:()=>Zr,default:()=>Br});var Zr,zr=W((()=>{Y(),$t(),_t(),$r(),$r(),Zr=Br.StringDecoder})),Hr=V(((e,t)=>{Y(),$t(),_t();var n=Gt(),{PromisePrototypeThen:r,SymbolAsyncIterator:i,SymbolIterator:o}=Zt(),{Buffer:a}=(Ft(),K(At)),{ERR_INVALID_ARG_TYPE:s,ERR_STREAM_NULL_VALUES:l}=Wt().codes;t.exports=function(e,t,c){let u,d;if("string"==typeof t||t instanceof a)return new e({objectMode:!0,...c,read(){this.push(t),this.push(null)}});if(t&&t[i])d=!0,u=t[i]();else{if(!t||!t[o])throw new s("iterable",["Iterable"],t);d=!1,u=t[o]()}let f=new e({objectMode:!0,highWaterMark:1,...c}),p=!1;return f._read=function(){p||(p=!0,async function(){for(;;){try{let{value:e,done:t}=d?await u.next():u.next();if(t)f.push(null);else{let t=e&&"function"==typeof e.then?await e:e;if(null===t)throw p=!1,new l;if(f.push(t))continue;p=!1}}catch(e){f.destroy(e)}break}}())},f._destroy=function(e,t){r(async function(e){let t=null!=e,n="function"==typeof u.throw;if(t&&n){let{value:t,done:n}=await u.throw(e);if(await t,n)return}if("function"==typeof u.return){let{value:e}=await u.return();await e}}(e),(()=>n.nextTick(t,e)),(r=>n.nextTick(t,r||e)))},f}})),Wr=V(((e,t)=>{Y(),$t(),_t();var n=Gt(),{ArrayPrototypeIndexOf:r,NumberIsInteger:i,NumberIsNaN:o,NumberParseInt:a,ObjectDefineProperties:s,ObjectKeys:l,ObjectSetPrototypeOf:c,Promise:u,SafeSet:d,SymbolAsyncIterator:f,Symbol:p}=Zt();t.exports=B,B.ReadableState=j;var{EventEmitter:h}=(Sn(),K(gn)),{Stream:m,prependListener:g}=xn(),{Buffer:y}=(Ft(),K(At)),{addAbortSignal:v}=Cn(),b=Yt(),w=zt().debuglog("stream",(e=>{w=e})),k=Tn(),E=Xt(),{getHighWaterMark:S,getDefaultHighWaterMark:x}=_n(),{aggregateTwoErrors:C,codes:{ERR_INVALID_ARG_TYPE:T,ERR_METHOD_NOT_IMPLEMENTED:_,ERR_OUT_OF_RANGE:A,ERR_STREAM_PUSH_AFTER_EOF:O,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:R}}=Wt(),{validateObject:P}=Vt(),I=p("kPaused"),{StringDecoder:M}=(zr(),K(Ur)),L=Hr();c(B.prototype,m.prototype),c(B,m);var N=()=>{},{errorOrDestroy:D}=E;function j(e,t,n){"boolean"!=typeof n&&(n=t instanceof Kr()),this.objectMode=!(!e||!e.objectMode),n&&(this.objectMode=this.objectMode||!(!e||!e.readableObjectMode)),this.highWaterMark=e?S(this,e,"readableHighWaterMark",n):x(!1),this.buffer=new k,this.length=0,this.pipes=[],this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.constructed=!0,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this[I]=null,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.destroyed=!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.awaitDrainWriters=null,this.multiAwaitDrain=!1,this.readingMore=!1,this.dataEmitted=!1,this.decoder=null,this.encoding=null,e&&e.encoding&&(this.decoder=new M(e.encoding),this.encoding=e.encoding)}function B(e){if(!(this instanceof B))return new B(e);let t=this instanceof Kr();this._readableState=new j(e,this,t),e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&!t&&v(e.signal,this)),m.call(this,e),E.construct(this,(()=>{this._readableState.needReadable&&H(this,this._readableState)}))}function q(e,t,n,r){w("readableAddChunk",t);let i,o=e._readableState;if(o.objectMode||("string"==typeof t?(n=n||o.defaultEncoding,o.encoding!==n&&(r&&o.encoding?t=y.from(t,n).toString(o.encoding):(t=y.from(t,n),n=""))):t instanceof y?n="":m._isUint8Array(t)?(t=m._uint8ArrayToBuffer(t),n=""):null!=t&&(i=new T("chunk",["string","Buffer","Uint8Array"],t))),i)D(e,i);else if(null===t)o.reading=!1,function(e,t){if(w("onEofChunk"),!t.ended){if(t.decoder){let e=t.decoder.end();e&&e.length&&(t.buffer.push(e),t.length+=t.objectMode?1:e.length)}t.ended=!0,t.sync?Z(e):(t.needReadable=!1,t.emittedReadable=!0,z(e))}}(e,o);else if(o.objectMode||t&&t.length>0)if(r)if(o.endEmitted)D(e,new R);else{if(o.destroyed||o.errored)return!1;F(e,o,t,!0)}else if(o.ended)D(e,new O);else{if(o.destroyed||o.errored)return!1;o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||0!==t.length?F(e,o,t,!1):H(e,o)):F(e,o,t,!1)}else r||(o.reading=!1,H(e,o));return!o.ended&&(o.length0?(t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null,t.dataEmitted=!0,e.emit("data",n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&Z(e)),H(e,t)}B.prototype.destroy=E.destroy,B.prototype._undestroy=E.undestroy,B.prototype._destroy=function(e,t){t(e)},B.prototype[h.captureRejectionSymbol]=function(e){this.destroy(e)},B.prototype.push=function(e,t){return q(this,e,t,!1)},B.prototype.unshift=function(e,t){return q(this,e,t,!0)},B.prototype.isPaused=function(){let e=this._readableState;return!0===e[I]||!1===e.flowing},B.prototype.setEncoding=function(e){let t=new M(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;let n=this._readableState.buffer,r="";for(let e of n)r+=t.write(e);return n.clear(),""!==r&&n.push(r),this._readableState.length=r.length,this};var $;function U(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:o(e)?t.flowing&&t.length?t.buffer.first().length:t.length:e<=t.length?e:t.ended?t.length:0}function Z(e){let t=e._readableState;w("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(w("emitReadable",t.flowing),t.emittedReadable=!0,n.nextTick(z,e))}function z(e){let t=e._readableState;w("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&!t.errored&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,Q(e)}function H(e,t){!t.readingMore&&t.constructed&&(t.readingMore=!0,n.nextTick(W,e,t))}function W(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!1===t[I]?t.flowing=!0:e.listenerCount("data")>0?e.resume():t.readableListening||(t.flowing=null)}function G(e){w("readable nexttick read 0"),e.read(0)}function X(e,t){w("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),Q(e),t.flowing&&!t.reading&&e.read(0)}function Q(e){let t=e._readableState;for(w("flow",t.flowing);t.flowing&&null!==e.read(););}function J(e,t){"function"!=typeof e.read&&(e=B.wrap(e,{objectMode:!0}));let n=async function*(e,t){let n=N;function r(t){this===e?(n(),n=N):n=t}e.on("readable",r);let i,o=b(e,{writable:!1},(e=>{i=e?C(i,e):null,n(),n=N}));try{for(;;){let t=e.destroyed?null:e.read();if(null!==t)yield t;else{if(i)throw i;if(null===i)return;await new u(r)}}}catch(e){throw i=C(i,e),i}finally{!i&&!1===t?.destroyOnReturn||void 0!==i&&!e._readableState.autoDestroy?(e.off("readable",r),o()):E.destroyer(e,null)}}(e,t);return n.stream=e,n}function ee(e,t){if(0===t.length)return null;let n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n}function te(e){let t=e._readableState;w("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,n.nextTick(ne,t,e))}function ne(e,t){if(w("endReadableNT",e.endEmitted,e.length),!e.errored&&!e.closeEmitted&&!e.endEmitted&&0===e.length)if(e.endEmitted=!0,t.emit("end"),t.writable&&!1===t.allowHalfOpen)n.nextTick(re,t);else if(e.autoDestroy){let e=t._writableState;(!e||e.autoDestroy&&(e.finished||!1===e.writable))&&t.destroy()}}function re(e){e.writable&&!e.writableEnded&&!e.destroyed&&e.end()}function ie(){return void 0===$&&($={}),$}B.prototype.read=function(e){w("read",e),void 0===e?e=NaN:i(e)||(e=a(e,10));let t=this._readableState,n=e;if(e>t.highWaterMark&&(t.highWaterMark=function(e){if(e>1073741824)throw new A("size","<= 1GiB",e);return e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,++e}(e)),0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return w("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?te(this):Z(this),null;if(0===(e=U(e,t))&&t.ended)return 0===t.length&&te(this),null;let r,o=t.needReadable;if(w("need readable",o),(0===t.length||t.length-e0?ee(e,t):null,null===r?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.multiAwaitDrain?t.awaitDrainWriters.clear():t.awaitDrainWriters=null),0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&te(this)),null!==r&&!t.errorEmitted&&!t.closeEmitted&&(t.dataEmitted=!0,this.emit("data",r)),r},B.prototype._read=function(e){throw new _("_read()")},B.prototype.pipe=function(e,t){let r=this,i=this._readableState;1===i.pipes.length&&(i.multiAwaitDrain||(i.multiAwaitDrain=!0,i.awaitDrainWriters=new d(i.awaitDrainWriters?[i.awaitDrainWriters]:[]))),i.pipes.push(e),w("pipe count=%d opts=%j",i.pipes.length,t);let o=t&&!1===t.end||e===n.stdout||e===n.stderr?y:s;function a(t,n){w("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,w("cleanup"),e.removeListener("close",h),e.removeListener("finish",m),l&&e.removeListener("drain",l),e.removeListener("error",p),e.removeListener("unpipe",a),r.removeListener("end",s),r.removeListener("end",y),r.removeListener("data",f),c=!0,l&&i.awaitDrainWriters&&(!e._writableState||e._writableState.needDrain)&&l())}function s(){w("onend"),e.end()}i.endEmitted?n.nextTick(o):r.once("end",o),e.on("unpipe",a);let l,c=!1;function u(){c||(1===i.pipes.length&&i.pipes[0]===e?(w("false write response, pause",0),i.awaitDrainWriters=e,i.multiAwaitDrain=!1):i.pipes.length>1&&i.pipes.includes(e)&&(w("false write response, pause",i.awaitDrainWriters.size),i.awaitDrainWriters.add(e)),r.pause()),l||(l=function(e,t){return function(){let n=e._readableState;n.awaitDrainWriters===t?(w("pipeOnDrain",1),n.awaitDrainWriters=null):n.multiAwaitDrain&&(w("pipeOnDrain",n.awaitDrainWriters.size),n.awaitDrainWriters.delete(t)),(!n.awaitDrainWriters||0===n.awaitDrainWriters.size)&&e.listenerCount("data")&&e.resume()}}(r,e),e.on("drain",l))}function f(t){w("ondata");let n=e.write(t);w("dest.write",n),!1===n&&u()}function p(t){if(w("onerror",t),y(),e.removeListener("error",p),0===e.listenerCount("error")){let n=e._writableState||e._readableState;n&&!n.errorEmitted?D(e,t):e.emit("error",t)}}function h(){e.removeListener("finish",m),y()}function m(){w("onfinish"),e.removeListener("close",h),y()}function y(){w("unpipe"),r.unpipe(e)}return r.on("data",f),g(e,"error",p),e.once("close",h),e.once("finish",m),e.emit("pipe",r),!0===e.writableNeedDrain?i.flowing&&u():i.flowing||(w("pipe resume"),r.resume()),e},B.prototype.unpipe=function(e){let t=this._readableState;if(0===t.pipes.length)return this;if(!e){let e=t.pipes;t.pipes=[],this.pause();for(let t=0;t0,!1!==i.flowing&&this.resume()):"readable"===e&&!i.endEmitted&&!i.readableListening&&(i.readableListening=i.needReadable=!0,i.flowing=!1,i.emittedReadable=!1,w("on readable",i.length,i.reading),i.length?Z(this):i.reading||n.nextTick(G,this)),r},B.prototype.addListener=B.prototype.on,B.prototype.removeListener=function(e,t){let r=m.prototype.removeListener.call(this,e,t);return"readable"===e&&n.nextTick(V,this),r},B.prototype.off=B.prototype.removeListener,B.prototype.removeAllListeners=function(e){let t=m.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&n.nextTick(V,this),t},B.prototype.resume=function(){let e=this._readableState;return e.flowing||(w("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,n.nextTick(X,e,t))}(this,e)),e[I]=!1,this},B.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState[I]=!0,this},B.prototype.wrap=function(e){let t=!1;e.on("data",(n=>{!this.push(n)&&e.pause&&(t=!0,e.pause())})),e.on("end",(()=>{this.push(null)})),e.on("error",(e=>{D(this,e)})),e.on("close",(()=>{this.destroy()})),e.on("destroy",(()=>{this.destroy()})),this._read=()=>{t&&e.resume&&(t=!1,e.resume())};let n=l(e);for(let t=1;t{Y(),$t(),_t();var n=Gt(),{ArrayPrototypeSlice:r,Error:i,FunctionPrototypeSymbolHasInstance:o,ObjectDefineProperty:a,ObjectDefineProperties:s,ObjectSetPrototypeOf:l,StringPrototypeToLowerCase:c,Symbol:u,SymbolHasInstance:d}=Zt();t.exports=M,M.WritableState=P;var{EventEmitter:f}=(Sn(),K(gn)),p=xn().Stream,{Buffer:h}=(Ft(),K(At)),m=Xt(),{addAbortSignal:g}=Cn(),{getHighWaterMark:y,getDefaultHighWaterMark:v}=_n(),{ERR_INVALID_ARG_TYPE:b,ERR_METHOD_NOT_IMPLEMENTED:w,ERR_MULTIPLE_CALLBACK:k,ERR_STREAM_CANNOT_PIPE:E,ERR_STREAM_DESTROYED:S,ERR_STREAM_ALREADY_FINISHED:x,ERR_STREAM_NULL_VALUES:C,ERR_STREAM_WRITE_AFTER_END:T,ERR_UNKNOWN_ENCODING:_}=Wt().codes,{errorOrDestroy:A}=m;function O(){}l(M.prototype,p.prototype),l(M,p);var R=u("kOnFinished");function P(e,t,n){"boolean"!=typeof n&&(n=t instanceof Kr()),this.objectMode=!(!e||!e.objectMode),n&&(this.objectMode=this.objectMode||!(!e||!e.writableObjectMode)),this.highWaterMark=e?y(this,e,"writableHighWaterMark",n):v(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;let r=!(!e||!1!==e.decodeStrings);this.decodeStrings=!r,this.defaultEncoding=e&&e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=j.bind(void 0,t),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,I(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!e||!1!==e.emitClose,this.autoDestroy=!e||!1!==e.autoDestroy,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[R]=[]}function I(e){e.buffered=[],e.bufferedIndex=0,e.allBuffers=!0,e.allNoop=!0}function M(e){let t=this instanceof Kr();if(!t&&!o(M,this))return new M(e);this._writableState=new P(e,this,t),e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final),"function"==typeof e.construct&&(this._construct=e.construct),e.signal&&g(e.signal,this)),p.call(this,e),m.construct(this,(()=>{let e=this._writableState;e.writing||$(this,e),z(this,e)}))}function L(e,t,r,i){let o,a=e._writableState;if("function"==typeof r)i=r,r=a.defaultEncoding;else{if(r){if("buffer"!==r&&!h.isEncoding(r))throw new _(r)}else r=a.defaultEncoding;"function"!=typeof i&&(i=O)}if(null===t)throw new C;if(!a.objectMode)if("string"==typeof t)!1!==a.decodeStrings&&(t=h.from(t,r),r="buffer");else if(t instanceof h)r="buffer";else{if(!p._isUint8Array(t))throw new b("chunk",["string","Buffer","Uint8Array"],t);t=p._uint8ArrayToBuffer(t),r="buffer"}return a.ending?o=new T:a.destroyed&&(o=new S("write")),o?(n.nextTick(i,o),A(e,o,!0),o):(a.pendingcb++,function(e,t,n,r,i){let o=t.objectMode?1:n.length;t.length+=o;let a=t.lengthr.bufferedIndex&&$(e,r),i?null!==r.afterWriteTickInfo&&r.afterWriteTickInfo.cb===o?r.afterWriteTickInfo.count++:(r.afterWriteTickInfo={count:1,cb:o,stream:e,state:r},n.nextTick(B,r.afterWriteTickInfo)):q(e,r,1,o))):A(e,new k)}function B({stream:e,state:t,count:n,cb:r}){return t.afterWriteTickInfo=null,q(e,t,n,r)}function q(e,t,n,r){for(!t.ending&&!e.destroyed&&0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"));n-- >0;)t.pendingcb--,r();t.destroyed&&F(t),z(e,t)}function F(e){if(e.writing)return;for(let n=e.bufferedIndex;n1&&e._writev){t.pendingcb-=a-1;let i=t.allNoop?O:e=>{for(let t=s;t256?(n.splice(0,s),t.bufferedIndex=0):t.bufferedIndex=s}t.bufferProcessing=!1}function U(e){return e.ending&&!e.destroyed&&e.constructed&&0===e.length&&!e.errored&&0===e.buffered.length&&!e.finished&&!e.writing&&!e.errorEmitted&&!e.closeEmitted}function Z(e,t){!t.prefinished&&!t.finalCalled&&("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.finalCalled=!0,function(e,t){let r=!1;function i(i){if(r)A(e,i??k());else if(r=!0,t.pendingcb--,i){let n=t[R].splice(0);for(let e=0;e{U(t)?H(e,t):t.pendingcb--}),e,t)):U(t)&&(t.pendingcb++,H(e,t))))}function H(e,t){t.pendingcb--,t.finished=!0;let n=t[R].splice(0);for(let e=0;e{Y(),$t(),_t();var n=Gt(),r=(Ft(),K(At)),{isReadable:i,isWritable:o,isIterable:a,isNodeStream:s,isReadableNodeStream:l,isWritableNodeStream:c,isDuplexNodeStream:u}=Kt(),d=Yt(),{AbortError:f,codes:{ERR_INVALID_ARG_TYPE:p,ERR_INVALID_RETURN_VALUE:h}}=Wt(),{destroyer:m}=Xt(),g=Kr(),y=Wr(),{createDeferredPromise:v}=zt(),b=Hr(),w=globalThis.Blob||r.Blob,k=typeof w<"u"?function(e){return e instanceof w}:function(e){return!1},E=globalThis.AbortController||Ht().AbortController,{FunctionPrototypeCall:S}=Zt(),x=class extends g{constructor(e){super(e),!1===e?.readable&&(this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0),!1===e?.writable&&(this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0)}};function C(e){let t,n,r,a,s,l=e.readable&&"function"!=typeof e.readable.read?y.wrap(e.readable):e.readable,c=e.writable,u=!!i(l),p=!!o(c);function h(e){let t=a;a=null,t?t(e):e&&s.destroy(e)}return s=new x({readableObjectMode:!(null==l||!l.readableObjectMode),writableObjectMode:!(null==c||!c.writableObjectMode),readable:u,writable:p}),p&&(d(c,(e=>{p=!1,e&&m(l,e),h(e)})),s._write=function(e,n,r){c.write(e,n)?r():t=r},s._final=function(e){c.end(),n=e},c.on("drain",(function(){if(t){let e=t;t=null,e()}})),c.on("finish",(function(){if(n){let e=n;n=null,e()}}))),u&&(d(l,(e=>{u=!1,e&&m(l,e),h(e)})),l.on("readable",(function(){if(r){let e=r;r=null,e()}})),l.on("end",(function(){s.push(null)})),s._read=function(){for(;;){let e=l.read();if(null===e)return void(r=s._read);if(!s.push(e))return}}),s._destroy=function(e,i){!e&&null!==a&&(e=new f),r=null,t=null,n=null,null===a?i(e):(a=i,m(c,e),m(l,e))},s}t.exports=function e(t,r){if(u(t))return t;if(l(t))return C({readable:t});if(c(t))return C({writable:t});if(s(t))return C({writable:!1,readable:!1});if("function"==typeof t){let{value:e,write:i,final:o,destroy:s}=function(e){let{promise:t,resolve:r}=v(),i=new E,o=i.signal;return{value:e(async function*(){for(;;){let e=t;t=null;let{chunk:i,done:a,cb:s}=await e;if(n.nextTick(s),a)return;if(o.aborted)throw new f(void 0,{cause:o.reason});({promise:t,resolve:r}=v()),yield i}}(),{signal:o}),write(e,t,n){let i=r;r=null,i({chunk:e,done:!1,cb:n})},final(e){let t=r;r=null,t({done:!0,cb:e})},destroy(e,t){i.abort(),t(e)}}}(t);if(a(e))return b(x,e,{objectMode:!0,write:i,final:o,destroy:s});let l=e?.then;if("function"==typeof l){let t,r=S(l,e,(e=>{if(null!=e)throw new h("nully","body",e)}),(e=>{m(t,e)}));return t=new x({objectMode:!0,readable:!1,write:i,final(e){o((async()=>{try{await r,n.nextTick(e,null)}catch(t){n.nextTick(e,t)}}))},destroy:s})}throw new h("Iterable, AsyncIterable or AsyncFunction",r,e)}if(k(t))return e(t.arrayBuffer());if(a(t))return b(x,t,{objectMode:!0,writable:!1});if("object"==typeof t?.writable||"object"==typeof t?.readable){return C({readable:null!=t&&t.readable?l(t?.readable)?t?.readable:e(t.readable):void 0,writable:null!=t&&t.writable?c(t?.writable)?t?.writable:e(t.writable):void 0})}let i=t?.then;if("function"==typeof i){let e;return S(i,t,(t=>{null!=t&&e.push(t),e.push(null)}),(t=>{m(e,t)})),e=new x({objectMode:!0,writable:!1,read(){}})}throw new p(r,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],t)}})),Kr=V(((e,t)=>{Y(),$t(),_t();var{ObjectDefineProperties:n,ObjectGetOwnPropertyDescriptor:r,ObjectKeys:i,ObjectSetPrototypeOf:o}=Zt();t.exports=u;var a,s,l=Wr(),c=Vr();o(u.prototype,l.prototype),o(u,l);{let e=i(c.prototype);for(let t=0;t{Y(),$t(),_t();var{ObjectSetPrototypeOf:n,Symbol:r}=Zt();t.exports=l;var{ERR_METHOD_NOT_IMPLEMENTED:i}=Wt().codes,o=Kr(),{getHighWaterMark:a}=_n();n(l.prototype,o.prototype),n(l,o);var s=r("kCallback");function l(e){if(!(this instanceof l))return new l(e);let t=e?a(this,e,"readableHighWaterMark",!0):null;0===t&&(e={...e,highWaterMark:null,readableHighWaterMark:t,writableHighWaterMark:e.writableHighWaterMark||0}),o.call(this,e),this._readableState.sync=!1,this[s]=null,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",u)}function c(e){"function"!=typeof this._flush||this.destroyed?(this.push(null),e&&e()):this._flush(((t,n)=>{t?e?e(t):this.destroy(t):(null!=n&&this.push(n),this.push(null),e&&e())}))}function u(){this._final!==c&&c.call(this)}l.prototype._final=c,l.prototype._transform=function(e,t,n){throw new i("_transform()")},l.prototype._write=function(e,t,n){let r=this._readableState,i=this._writableState,o=r.length;this._transform(e,t,((e,t)=>{e?n(e):(null!=t&&this.push(t),i.ended||o===r.length||r.length{Y(),$t(),_t();var{ObjectSetPrototypeOf:n}=Zt();t.exports=i;var r=Yr();function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}n(i.prototype,r.prototype),n(i,r),i.prototype._transform=function(e,t,n){n(null,e)}})),Qr=V(((e,t)=>{Y(),$t(),_t();var n,r,i=Gt(),{ArrayIsArray:o,Promise:a,SymbolAsyncIterator:s}=Zt(),l=Yt(),{once:c}=zt(),u=Xt(),d=Kr(),{aggregateTwoErrors:f,codes:{ERR_INVALID_ARG_TYPE:p,ERR_INVALID_RETURN_VALUE:h,ERR_MISSING_ARGS:m,ERR_STREAM_DESTROYED:g,ERR_STREAM_PREMATURE_CLOSE:y},AbortError:v}=Wt(),{validateFunction:b,validateAbortSignal:w}=Vt(),{isIterable:k,isReadable:E,isReadableNodeStream:S,isNodeStream:x,isTransformStream:C,isWebStream:T,isReadableStream:_,isReadableEnded:A}=Kt(),O=globalThis.AbortController||Ht().AbortController;function R(e,t,n){let r=!1;return e.on("close",(()=>{r=!0})),{destroy:t=>{r||(r=!0,u.destroyer(e,t||new g("pipe")))},cleanup:l(e,{readable:t,writable:n},(e=>{r=!e}))}}function P(e){if(k(e))return e;if(S(e))return async function*(e){r||(r=Wr()),yield*r.prototype[s].call(e)}(e);throw new p("val",["Readable","Iterable","AsyncIterable"],e)}async function I(e,t,n,{end:r}){let i,o=null,s=e=>{if(e&&(i=e),o){let e=o;o=null,e()}},c=()=>new a(((e,t)=>{i?t(i):o=()=>{i?t(i):e()}}));t.on("drain",s);let u=l(t,{readable:!1},s);try{t.writableNeedDrain&&await c();for await(let n of e)t.write(n)||await c();r&&t.end(),await c(),n()}catch(e){n(i!==e?f(i,e):e)}finally{u(),t.off("drain",s)}}async function M(e,t,n,{end:r}){C(t)&&(t=t.writable);let i=t.getWriter();try{for await(let t of e)await i.ready,i.write(t).catch((()=>{}));await i.ready,r&&await i.close(),n()}catch(e){try{await i.abort(e),n(e)}catch(e){n(e)}}}function L(e,t,r){if(1===e.length&&o(e[0])&&(e=e[0]),e.length<2)throw new m("streams");let a=new O,s=a.signal,l=r?.signal,c=[];function u(){D(new v)}w(l,"options.signal"),l?.addEventListener("abort",u);let f,g,y,b=[],A=0;function L(e){D(e,0==--A)}function D(e,n){if(e&&(!f||"ERR_STREAM_PREMATURE_CLOSE"===f.code)&&(f=e),f||n){for(;b.length;)b.shift()(f);l?.removeEventListener("abort",u),a.abort(),n&&(f||c.forEach((e=>e())),i.nextTick(t,f,g))}}for(let t=0;t0,u=a||!1!==r?.end,f=t===e.length-1;if(x(o)){let e=function(e){e&&"AbortError"!==e.name&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code&&L(e)};if(u){let{destroy:e,cleanup:t}=R(o,a,l);b.push(e),E(o)&&f&&c.push(t)}o.on("error",e),E(o)&&f&&c.push((()=>{o.removeListener("error",e)}))}if(0===t)if("function"==typeof o){if(y=o({signal:s}),!k(y))throw new h("Iterable, AsyncIterable or Stream","source",y)}else y=k(o)||S(o)||C(o)?o:d.from(o);else if("function"==typeof o){var j;if(C(y))y=P(null===(j=y)||void 0===j?void 0:j.readable);else y=P(y);if(y=o(y,{signal:s}),a){if(!k(y,!0))throw new h("AsyncIterable",`transform[${t-1}]`,y)}else{var B;n||(n=Xr());let e=new n({objectMode:!0}),t=null===(B=y)||void 0===B?void 0:B.then;if("function"==typeof t)A++,t.call(y,(t=>{g=t,null!=t&&e.write(t),u&&e.end(),i.nextTick(L)}),(t=>{e.destroy(t),i.nextTick(L,t)}));else if(k(y,!0))A++,I(y,e,L,{end:u});else{if(!_(y)&&!C(y))throw new h("AsyncIterable or Promise","destination",y);{let t=y.readable||y;A++,I(t,e,L,{end:u})}}y=e;let{destroy:r,cleanup:o}=R(y,!1,!0);b.push(r),f&&c.push(o)}}else if(x(o)){if(S(y)){A+=2;let e=N(y,o,L,{end:u});E(o)&&f&&c.push(e)}else if(C(y)||_(y)){let e=y.readable||y;A++,I(e,o,L,{end:u})}else{if(!k(y))throw new p("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],y);A++,I(y,o,L,{end:u})}y=o}else if(T(o)){if(S(y))A++,M(P(y),o,L,{end:u});else if(_(y)||k(y))A++,M(y,o,L,{end:u});else{if(!C(y))throw new p("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],y);A++,M(y.readable,o,L,{end:u})}y=o}else y=d.from(o)}return(null!=s&&s.aborted||null!=l&&l.aborted)&&i.nextTick(u),y}function N(e,t,n,{end:r}){let o=!1;if(t.on("close",(()=>{o||n(new y)})),e.pipe(t,{end:!1}),r){let n=function(){o=!0,t.end()};A(e)?i.nextTick(n):e.once("end",n)}else n();return l(e,{readable:!0,writable:!1},(t=>{let r=e._readableState;t&&"ERR_STREAM_PREMATURE_CLOSE"===t.code&&r&&r.ended&&!r.errored&&!r.errorEmitted?e.once("end",n).once("error",n):n(t)})),l(t,{readable:!1,writable:!0},n)}t.exports={pipelineImpl:L,pipeline:function(...e){return L(e,c(function(e){return b(e[e.length-1],"streams[stream.length - 1]"),e.pop()}(e)))}}})),Jr=V(((e,t)=>{Y(),$t(),_t();var{pipeline:n}=Qr(),r=Kr(),{destroyer:i}=Xt(),{isNodeStream:o,isReadable:a,isWritable:s,isWebStream:l,isTransformStream:c,isWritableStream:u,isReadableStream:d}=Kt(),{AbortError:f,codes:{ERR_INVALID_ARG_VALUE:p,ERR_MISSING_ARGS:h}}=Wt(),m=Yt();t.exports=function(...e){if(0===e.length)throw new h("streams");if(1===e.length)return r.from(e[0]);let t,g,y,v,b,w=[...e];if("function"==typeof e[0]&&(e[0]=r.from(e[0])),"function"==typeof e[e.length-1]){let t=e.length-1;e[t]=r.from(e[t])}for(let t=0;t0&&!(s(e[t])||u(e[t])||c(e[t])))throw new p(`streams[${t}]`,w[t],"must be writable")}let k=e[0],E=n(e,(function(e){let t=v;v=null,t?t(e):e?b.destroy(e):!x&&!S&&b.destroy()})),S=!!(s(k)||u(k)||c(k)),x=!!(a(E)||d(E)||c(E));if(b=new r({writableObjectMode:!(null==k||!k.writableObjectMode),readableObjectMode:!(null==E||!E.writableObjectMode),writable:S,readable:x}),S){if(o(k))b._write=function(e,n,r){k.write(e,n)?r():t=r},b._final=function(e){k.end(),g=e},k.on("drain",(function(){if(t){let e=t;t=null,e()}}));else if(l(k)){let e=(c(k)?k.writable:k).getWriter();b._write=async function(t,n,r){try{await e.ready,e.write(t).catch((()=>{})),r()}catch(e){r(e)}},b._final=async function(t){try{await e.ready,e.close().catch((()=>{})),g=t}catch(e){t(e)}}}let e=c(E)?E.readable:E;m(e,(()=>{if(g){let e=g;g=null,e()}}))}if(x)if(o(E))E.on("readable",(function(){if(y){let e=y;y=null,e()}})),E.on("end",(function(){b.push(null)})),b._read=function(){for(;;){let e=E.read();if(null===e)return void(y=b._read);if(!b.push(e))return}};else if(l(E)){let e=(c(E)?E.readable:E).getReader();b._read=async function(){for(;;)try{let{value:t,done:n}=await e.read();if(!b.push(t))return;if(n)return void b.push(null)}catch{return}}}return b._destroy=function(e,n){!e&&null!==v&&(e=new f),y=null,t=null,g=null,null===v?n(e):(v=n,o(E)&&i(E,e))},b}})),ei=V(((e,t)=>{Y(),$t(),_t();var n=globalThis.AbortController||Ht().AbortController,{codes:{ERR_INVALID_ARG_VALUE:r,ERR_INVALID_ARG_TYPE:i,ERR_MISSING_ARGS:o,ERR_OUT_OF_RANGE:a},AbortError:s}=Wt(),{validateAbortSignal:l,validateInteger:c,validateObject:u}=Vt(),d=Zt().Symbol("kWeak"),{finished:f}=Yt(),p=Jr(),{addAbortSignalNoValidate:h}=Cn(),{isWritable:m,isNodeStream:g}=Kt(),{ArrayPrototypePush:y,MathFloor:v,Number:b,NumberIsNaN:w,Promise:k,PromiseReject:E,PromisePrototypeThen:S,Symbol:x}=Zt(),C=x("kEmpty"),T=x("kEof");function _(e,t){if("function"!=typeof e)throw new i("fn",["Function","AsyncFunction"],e);null!=t&&u(t,"options"),null!=t?.signal&&l(t.signal,"options.signal");let r=1;return null!=t?.concurrency&&(r=v(t.concurrency)),c(r,"concurrency",1),async function*(){var i,o;let a=new n,l=this,c=[],u=a.signal,d={signal:u},f=()=>a.abort();null!=t&&null!==(i=t.signal)&&void 0!==i&&i.aborted&&f(),null==t||null===(o=t.signal)||void 0===o||o.addEventListener("abort",f);let p,h,m=!1;function g(){m=!0}!async function(){try{for await(let t of l){var n;if(m)return;if(u.aborted)throw new s;try{t=e(t,d)}catch(e){t=E(e)}t!==C&&("function"==typeof(null===(n=t)||void 0===n?void 0:n.catch)&&t.catch(g),c.push(t),p&&(p(),p=null),!m&&c.length&&c.length>=r&&await new k((e=>{h=e})))}c.push(T)}catch(e){let t=E(e);S(t,void 0,g),c.push(t)}finally{var i;m=!0,p&&(p(),p=null),null==t||null===(i=t.signal)||void 0===i||i.removeEventListener("abort",f)}}();try{for(;;){for(;c.length>0;){let e=await c[0];if(e===T)return;if(u.aborted)throw new s;e!==C&&(yield e),c.shift(),h&&(h(),h=null)}await new k((e=>{p=e}))}}finally{a.abort(),m=!0,h&&(h(),h=null)}}.call(this)}async function A(e,t){for await(let n of O.call(this,e,t))return!0;return!1}function O(e,t){if("function"!=typeof e)throw new i("fn",["Function","AsyncFunction"],e);return _.call(this,(async function(t,n){return await e(t,n)?t:C}),t)}var R=class extends o{constructor(){super("reduce"),this.message="Reduce of an empty stream requires an initial value"}};function P(e){if(e=b(e),w(e))return 0;if(e<0)throw new a("number",">= 0",e);return e}t.exports.streamReturningOperators={asIndexedPairs:function(e){return null!=e&&u(e,"options"),null!=e?.signal&&l(e.signal,"options.signal"),async function*(){let t=0;for await(let r of this){var n;if(null!=e&&null!==(n=e.signal)&&void 0!==n&&n.aborted)throw new s({cause:e.signal.reason});yield[t++,r]}}.call(this)},drop:function(e,t){return null!=t&&u(t,"options"),null!=t?.signal&&l(t.signal,"options.signal"),e=P(e),async function*(){var n;if(null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted)throw new s;for await(let n of this){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new s;e--<=0&&(yield n)}}.call(this)},filter:O,flatMap:function(e,t){let n=_.call(this,e,t);return async function*(){for await(let e of n)yield*e}.call(this)},map:_,take:function(e,t){return null!=t&&u(t,"options"),null!=t?.signal&&l(t.signal,"options.signal"),e=P(e),async function*(){var n;if(null!=t&&null!==(n=t.signal)&&void 0!==n&&n.aborted)throw new s;for await(let n of this){var r;if(null!=t&&null!==(r=t.signal)&&void 0!==r&&r.aborted)throw new s;if(!(e-- >0))return;yield n}}.call(this)},compose:function(e,t){if(null!=t&&u(t,"options"),null!=t?.signal&&l(t.signal,"options.signal"),g(e)&&!m(e))throw new r("stream",e,"must be writable");let n=p(this,e);return null!=t&&t.signal&&h(t.signal,n),n}},t.exports.promiseReturningOperators={every:async function(e,t){if("function"!=typeof e)throw new i("fn",["Function","AsyncFunction"],e);return!await A.call(this,(async(...t)=>!await e(...t)),t)},forEach:async function(e,t){if("function"!=typeof e)throw new i("fn",["Function","AsyncFunction"],e);for await(let n of _.call(this,(async function(t,n){return await e(t,n),C}),t));},reduce:async function(e,t,r){var o;if("function"!=typeof e)throw new i("reducer",["Function","AsyncFunction"],e);null!=r&&u(r,"options"),null!=r?.signal&&l(r.signal,"options.signal");let a=arguments.length>1;if(null!=r&&null!==(o=r.signal)&&void 0!==o&&o.aborted){let e=new s(void 0,{cause:r.signal.reason});throw this.once("error",(()=>{})),await f(this.destroy(e)),e}let c=new n,p=c.signal;if(null!=r&&r.signal){let e={once:!0,[d]:this};r.signal.addEventListener("abort",(()=>c.abort()),e)}let h=!1;try{for await(let n of this){var m;if(h=!0,null!=r&&null!==(m=r.signal)&&void 0!==m&&m.aborted)throw new s;a?t=await e(t,n,{signal:p}):(t=n,a=!0)}if(!h&&!a)throw new R}finally{c.abort()}return t},toArray:async function(e){null!=e&&u(e,"options"),null!=e?.signal&&l(e.signal,"options.signal");let t=[];for await(let r of this){var n;if(null!=e&&null!==(n=e.signal)&&void 0!==n&&n.aborted)throw new s(void 0,{cause:e.signal.reason});y(t,r)}return t},some:A,find:async function(e,t){for await(let n of O.call(this,e,t))return n}}})),ti=V(((e,t)=>{Y(),$t(),_t();var{ArrayPrototypePop:n,Promise:r}=Zt(),{isIterable:i,isNodeStream:o,isWebStream:a}=Kt(),{pipelineImpl:s}=Qr(),{finished:l}=Yt();ni(),t.exports={finished:l,pipeline:function(...e){return new r(((t,r)=>{let l,c,u=e[e.length-1];if(u&&"object"==typeof u&&!o(u)&&!i(u)&&!a(u)){let t=n(e);l=t.signal,c=t.end}s(e,((e,n)=>{e?r(e):t(n)}),{signal:l,end:c})}))}}})),ni=V(((e,t)=>{Y(),$t(),_t();var{Buffer:n}=(Ft(),K(At)),{ObjectDefineProperty:r,ObjectKeys:i,ReflectApply:o}=Zt(),{promisify:{custom:a}}=zt(),{streamReturningOperators:s,promiseReturningOperators:l}=ei(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:c}}=Wt(),u=Jr(),{pipeline:d}=Qr(),{destroyer:f}=Xt(),p=Yt(),h=ti(),m=Kt(),g=t.exports=xn().Stream;g.isDisturbed=m.isDisturbed,g.isErrored=m.isErrored,g.isReadable=m.isReadable,g.Readable=Wr();for(let e of i(s)){let t=function(...e){if(new.target)throw c();return g.Readable.from(o(n,this,e))};t;let n=s[e];r(t,"name",{__proto__:null,value:n.name}),r(t,"length",{__proto__:null,value:n.length}),r(g.Readable.prototype,e,{__proto__:null,value:t,enumerable:!1,configurable:!0,writable:!0})}for(let e of i(l)){let t=function(...e){if(new.target)throw c();return o(n,this,e)};t;let n=l[e];r(t,"name",{__proto__:null,value:n.name}),r(t,"length",{__proto__:null,value:n.length}),r(g.Readable.prototype,e,{__proto__:null,value:t,enumerable:!1,configurable:!0,writable:!0})}g.Writable=Vr(),g.Duplex=Kr(),g.Transform=Yr(),g.PassThrough=Xr(),g.pipeline=d;var{addAbortSignal:y}=Cn();g.addAbortSignal=y,g.finished=p,g.destroy=f,g.compose=u,r(g,"promises",{__proto__:null,configurable:!0,enumerable:!0,get(){return h}}),r(d,a,{__proto__:null,enumerable:!0,get(){return h.pipeline}}),r(p,a,{__proto__:null,enumerable:!0,get(){return h.finished}}),g.Stream=g,g._isUint8Array=function(e){return e instanceof Uint8Array},g._uint8ArrayToBuffer=function(e){return n.from(e.buffer,e.byteOffset,e.byteLength)}})),ri=V(((e,t)=>{Y(),$t(),_t();var n=ni(),r=ti(),i=n.Readable.destroy;t.exports=n.Readable,t.exports._uint8ArrayToBuffer=n._uint8ArrayToBuffer,t.exports._isUint8Array=n._isUint8Array,t.exports.isDisturbed=n.isDisturbed,t.exports.isErrored=n.isErrored,t.exports.isReadable=n.isReadable,t.exports.Readable=n.Readable,t.exports.Writable=n.Writable,t.exports.Duplex=n.Duplex,t.exports.Transform=n.Transform,t.exports.PassThrough=n.PassThrough,t.exports.addAbortSignal=n.addAbortSignal,t.exports.finished=n.finished,t.exports.destroy=n.destroy,t.exports.destroy=i,t.exports.pipeline=n.pipeline,t.exports.compose=n.compose,Object.defineProperty(n,"promises",{configurable:!0,enumerable:!0,get(){return r}}),t.exports.Stream=n.Stream,t.exports.default=t.exports})),ii=V(((e,t)=>{Y(),$t(),_t(),"function"==typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}})),oi=V(((e,t)=>{Y(),$t(),_t();var{Buffer:n}=(Ft(),K(At)),r=Symbol.for("BufferList");function i(e){if(!(this instanceof i))return new i(e);i._init.call(this,e)}i._init=function(e){Object.defineProperty(this,r,{value:!0}),this._bufs=[],this.length=0,e&&this.append(e)},i.prototype._new=function(e){return new i(e)},i.prototype._offset=function(e){if(0===e)return[0,0];let t=0;for(let n=0;nthis.length||e<0)return;let t=this._offset(e);return this._bufs[t[0]][t[1]]},i.prototype.slice=function(e,t){return"number"==typeof e&&e<0&&(e+=this.length),"number"==typeof t&&t<0&&(t+=this.length),this.copy(null,0,e,t)},i.prototype.copy=function(e,t,r,i){if(("number"!=typeof r||r<0)&&(r=0),("number"!=typeof i||i>this.length)&&(i=this.length),r>=this.length||i<=0)return e||n.alloc(0);let o=!!e,a=this._offset(r),s=i-r,l=s,c=o&&t||0,u=a[1];if(0===r&&i===this.length){if(!o)return 1===this._bufs.length?this._bufs[0]:n.concat(this._bufs,this.length);for(let t=0;tn)){this._bufs[t].copy(e,c,u,u+l),c+=n;break}this._bufs[t].copy(e,c,u),c+=n,l-=n,u&&(u=0)}return e.length>c?e.slice(0,c):e},i.prototype.shallowSlice=function(e,t){if(e=e||0,t="number"!=typeof t?this.length:t,e<0&&(e+=this.length),t<0&&(t+=this.length),e===t)return this._new();let n=this._offset(e),r=this._offset(t),i=this._bufs.slice(n[0],r[0]+1);return 0===r[1]?i.pop():i[i.length-1]=i[i.length-1].slice(0,r[1]),0!==n[1]&&(i[0]=i[0].slice(n[1])),this._new(i)},i.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},i.prototype.consume=function(e){if(e=Math.trunc(e),Number.isNaN(e)||e<=0)return this;for(;this._bufs.length;){if(!(e>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},i.prototype.duplicate=function(){let e=this._new();for(let t=0;tthis.length?this.length:t;let i=this._offset(t),o=i[0],a=i[1];for(;o=e.length){let n=t.indexOf(e,a);if(-1!==n)return this._reverseOffset([o,n]);a=t.length-e.length+1}else{let t=this._reverseOffset([o,a]);if(this._match(t,e))return t;a++}a=0}return-1},i.prototype._match=function(e,t){if(this.length-e{Y(),$t(),_t();var n=ri().Duplex,r=ii(),i=oi();function o(e){if(!(this instanceof o))return new o(e);if("function"==typeof e){this._callback=e;let t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on("pipe",(function(e){e.on("error",t)})),this.on("unpipe",(function(e){e.removeListener("error",t)})),e=null}i._init.call(this,e),n.call(this)}r(o,n),Object.assign(o.prototype,i.prototype),o.prototype._new=function(e){return new o(e)},o.prototype._write=function(e,t,n){this._appendBuffer(e),"function"==typeof n&&n()},o.prototype._read=function(e){if(!this.length)return this.push(null);e=Math.min(e,this.length),this.push(this.slice(0,e)),this.consume(e)},o.prototype.end=function(e){n.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},o.prototype._destroy=function(e,t){this._bufs.length=0,this.length=0,t(e)},o.prototype._isBufferList=function(e){return e instanceof o||e instanceof i||o.isBufferList(e)},o.isBufferList=i.isBufferList,t.exports=o,t.exports.BufferListStream=o,t.exports.BufferList=i})),si=V(((e,t)=>{Y(),$t(),_t();t.exports=class{constructor(){this.cmd=null,this.retain=!1,this.qos=0,this.dup=!1,this.length=-1,this.topic=null,this.payload=null}}})),li=V(((e,t)=>{Y(),$t(),_t();var n=t.exports,{Buffer:r}=(Ft(),K(At));n.types={0:"reserved",1:"connect",2:"connack",3:"publish",4:"puback",5:"pubrec",6:"pubrel",7:"pubcomp",8:"subscribe",9:"suback",10:"unsubscribe",11:"unsuback",12:"pingreq",13:"pingresp",14:"disconnect",15:"auth"},n.requiredHeaderFlags={1:0,2:0,4:0,5:0,6:2,7:0,8:2,9:0,10:2,11:0,12:0,13:0,14:0,15:0},n.requiredHeaderFlagsErrors={};for(let e in n.requiredHeaderFlags){let t=n.requiredHeaderFlags[e];n.requiredHeaderFlagsErrors[e]="Invalid header flag bits, must be 0x"+t.toString(16)+" for "+n.types[e]+" packet"}n.codes={};for(let e in n.types){let t=n.types[e];n.codes[t]=e}n.CMD_SHIFT=4,n.CMD_MASK=240,n.DUP_MASK=8,n.QOS_MASK=3,n.QOS_SHIFT=1,n.RETAIN_MASK=1,n.VARBYTEINT_MASK=127,n.VARBYTEINT_FIN_MASK=128,n.VARBYTEINT_MAX=268435455,n.SESSIONPRESENT_MASK=1,n.SESSIONPRESENT_HEADER=r.from([n.SESSIONPRESENT_MASK]),n.CONNACK_HEADER=r.from([n.codes.connack<[0,1].map((i=>[0,1].map((o=>{let a=r.alloc(1);return a.writeUInt8(n.codes[e]<r.from([e]))),n.EMPTY={pingreq:r.from([n.codes.pingreq<<4,0]),pingresp:r.from([n.codes.pingresp<<4,0]),disconnect:r.from([n.codes.disconnect<<4,0])},n.MQTT5_PUBACK_PUBREC_CODES={0:"Success",16:"No matching subscribers",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",144:"Topic Name invalid",145:"Packet identifier in use",151:"Quota exceeded",153:"Payload format invalid"},n.MQTT5_PUBREL_PUBCOMP_CODES={0:"Success",146:"Packet Identifier not found"},n.MQTT5_SUBACK_CODES={0:"Granted QoS 0",1:"Granted QoS 1",2:"Granted QoS 2",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use",151:"Quota exceeded",158:"Shared Subscriptions not supported",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},n.MQTT5_UNSUBACK_CODES={0:"Success",17:"No subscription existed",128:"Unspecified error",131:"Implementation specific error",135:"Not authorized",143:"Topic Filter invalid",145:"Packet Identifier in use"},n.MQTT5_DISCONNECT_CODES={0:"Normal disconnection",4:"Disconnect with Will Message",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",135:"Not authorized",137:"Server busy",139:"Server shutting down",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"},n.MQTT5_AUTH_CODES={0:"Success",24:"Continue authentication",25:"Re-authenticate"}})),ci=V(((e,t)=>{Y(),$t(),_t();var n=1e3,r=6e4,i=60*r,o=24*i,a=7*o,s=365.25*o;function l(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}t.exports=function(e,t){t=t||{};var c=typeof e;if("string"===c&&e.length>0)return function(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var l=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return l*s;case"weeks":case"week":case"w":return l*a;case"days":case"day":case"d":return l*o;case"hours":case"hour":case"hrs":case"hr":case"h":return l*i;case"minutes":case"minute":case"mins":case"min":case"m":return l*r;case"seconds":case"second":case"secs":case"sec":case"s":return l*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return}}}}(e);if("number"===c&&isFinite(e))return t.long?function(e){var t=Math.abs(e);return t>=o?l(e,t,o,"day"):t>=i?l(e,t,i,"hour"):t>=r?l(e,t,r,"minute"):t>=n?l(e,t,n,"second"):e+" ms"}(e):function(e){var t=Math.abs(e);return t>=o?Math.round(e/o)+"d":t>=i?Math.round(e/i)+"h":t>=r?Math.round(e/r)+"m":t>=n?Math.round(e/n)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}})),ui=V(((e,t)=>{Y(),$t(),_t(),t.exports=function(e){function t(e){let r,i,o,a=null;function s(...e){if(!s.enabled)return;let n=s,i=Number(new Date),o=i-(r||i);n.diff=o,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,i)=>{if("%%"===r)return"%";a++;let o=t.formatters[i];if("function"==typeof o){let t=e[a];r=o.call(n,t),e.splice(a,1),a--}return r})),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{a=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,n){let r=t(this.namespace+(typeof n>"u"?":":n)+e);return r.log=this.log,r}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(r),...t.skips.map(r).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];let n,r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t{Y(),$t(),_t(),e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let n="color: "+this.color;e.splice(1,0,n,"color: inherit");let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),e.splice(i,0,n)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch{}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch{}return!t&&typeof X<"u"&&"env"in X&&(t=X.env.DEBUG),t},e.useColors=function(){return!(!(typeof window<"u"&&window.process)||"renderer"!==window.process.type&&!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},e.storage=function(){try{return localStorage}catch{}}(),e.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.log=console.debug||console.log||(()=>{}),t.exports=ui()(e);var{formatters:n}=t.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}})),fi=V(((e,t)=>{Y(),$t(),_t();var n=ai(),{EventEmitter:r}=(Sn(),K(gn)),i=si(),o=li(),a=di()("mqtt-packet:parser");t.exports=class e extends r{constructor(){super(),this.parser=this.constructor.parser}static parser(t){return this instanceof e?(this.settings=t||{},this._states=["_parseHeader","_parseLength","_parsePayload","_newPacket"],this._resetState(),this):(new e).parser(t)}_resetState(){a("_resetState: resetting packet, error, _list, and _stateCounter"),this.packet=new i,this.error=null,this._list=n(),this._stateCounter=0}parse(e){for(this.error&&this._resetState(),this._list.append(e),a("parse: current state: %s",this._states[this._stateCounter]);(-1!==this.packet.length||this._list.length>0)&&this[this._states[this._stateCounter]]()&&!this.error;)this._stateCounter++,a("parse: state complete. _stateCounter is now: %d",this._stateCounter),a("parse: packet.length: %d, buffer list length: %d",this.packet.length,this._list.length),this._stateCounter>=this._states.length&&(this._stateCounter=0);return a("parse: exited while loop. packet: %d, buffer list length: %d",this.packet.length,this._list.length),this._list.length}_parseHeader(){let e=this._list.readUInt8(0),t=e>>o.CMD_SHIFT;this.packet.cmd=o.types[t];let n=15&e,r=o.requiredHeaderFlags[t];return null!=r&&n!==r?this._emitError(new Error(o.requiredHeaderFlagsErrors[t])):(this.packet.retain=0!=(e&o.RETAIN_MASK),this.packet.qos=e>>o.QOS_SHIFT&o.QOS_MASK,this.packet.qos>2?this._emitError(new Error("Packet must not have both QoS bits set to 1")):(this.packet.dup=0!=(e&o.DUP_MASK),a("_parseHeader: packet: %o",this.packet),this._list.consume(1),!0))}_parseLength(){let e=this._parseVarByteNum(!0);return e&&(this.packet.length=e.value,this._list.consume(e.bytes)),a("_parseLength %d",e.value),!!e}_parsePayload(){a("_parsePayload: payload %O",this._list);let e=!1;if(0===this.packet.length||this._list.length>=this.packet.length){switch(this._pos=0,this.packet.cmd){case"connect":this._parseConnect();break;case"connack":this._parseConnack();break;case"publish":this._parsePublish();break;case"puback":case"pubrec":case"pubrel":case"pubcomp":this._parseConfirmation();break;case"subscribe":this._parseSubscribe();break;case"suback":this._parseSuback();break;case"unsubscribe":this._parseUnsubscribe();break;case"unsuback":this._parseUnsuback();break;case"pingreq":case"pingresp":break;case"disconnect":this._parseDisconnect();break;case"auth":this._parseAuth();break;default:this._emitError(new Error("Not supported"))}e=!0}return a("_parsePayload complete result: %s",e),e}_parseConnect(){a("_parseConnect");let e,t,n,r,i={},s=this.packet,l=this._parseString();if(null===l)return this._emitError(new Error("Cannot parse protocolId"));if("MQTT"!==l&&"MQIsdp"!==l)return this._emitError(new Error("Invalid protocolId"));if(s.protocolId=l,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(s.protocolVersion=this._list.readUInt8(this._pos),s.protocolVersion>=128&&(s.bridgeMode=!0,s.protocolVersion=s.protocolVersion-128),3!==s.protocolVersion&&4!==s.protocolVersion&&5!==s.protocolVersion)return this._emitError(new Error("Invalid protocol version"));if(this._pos++,this._pos>=this._list.length)return this._emitError(new Error("Packet too short"));if(1&this._list.readUInt8(this._pos))return this._emitError(new Error("Connect flag bit 0 must be 0, but got 1"));i.username=this._list.readUInt8(this._pos)&o.USERNAME_MASK,i.password=this._list.readUInt8(this._pos)&o.PASSWORD_MASK,i.will=this._list.readUInt8(this._pos)&o.WILL_FLAG_MASK;let c=!!(this._list.readUInt8(this._pos)&o.WILL_RETAIN_MASK),u=(this._list.readUInt8(this._pos)&o.WILL_QOS_MASK)>>o.WILL_QOS_SHIFT;if(i.will)s.will={},s.will.retain=c,s.will.qos=u;else{if(c)return this._emitError(new Error("Will Retain Flag must be set to zero when Will Flag is set to 0"));if(u)return this._emitError(new Error("Will QoS must be set to zero when Will Flag is set to 0"))}if(s.clean=0!=(this._list.readUInt8(this._pos)&o.CLEAN_SESSION_MASK),this._pos++,s.keepalive=this._parseNum(),-1===s.keepalive)return this._emitError(new Error("Packet too short"));if(5===s.protocolVersion){let e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(s.properties=e)}let d=this._parseString();if(null===d)return this._emitError(new Error("Packet too short"));if(s.clientId=d,a("_parseConnect: packet.clientId: %s",s.clientId),i.will){if(5===s.protocolVersion){let e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(s.will.properties=e)}if(e=this._parseString(),null===e)return this._emitError(new Error("Cannot parse will topic"));if(s.will.topic=e,a("_parseConnect: packet.will.topic: %s",s.will.topic),t=this._parseBuffer(),null===t)return this._emitError(new Error("Cannot parse will payload"));s.will.payload=t,a("_parseConnect: packet.will.paylaod: %s",s.will.payload)}if(i.username){if(r=this._parseString(),null===r)return this._emitError(new Error("Cannot parse username"));s.username=r,a("_parseConnect: packet.username: %s",s.username)}if(i.password){if(n=this._parseBuffer(),null===n)return this._emitError(new Error("Cannot parse password"));s.password=n}return this.settings=s,a("_parseConnect: complete"),s}_parseConnack(){a("_parseConnack");let e=this.packet;if(this._list.length<1)return null;let t=this._list.readUInt8(this._pos++);if(t>1)return this._emitError(new Error("Invalid connack flags, bits 7-1 must be set to 0"));if(e.sessionPresent=!!(t&o.SESSIONPRESENT_MASK),5===this.settings.protocolVersion)this._list.length>=2?e.reasonCode=this._list.readUInt8(this._pos++):e.reasonCode=0;else{if(this._list.length<2)return null;e.returnCode=this._list.readUInt8(this._pos++)}if(-1===e.returnCode||-1===e.reasonCode)return this._emitError(new Error("Cannot parse return code"));if(5===this.settings.protocolVersion){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}a("_parseConnack: complete")}_parsePublish(){a("_parsePublish");let e=this.packet;if(e.topic=this._parseString(),null===e.topic)return this._emitError(new Error("Cannot parse topic"));if(!(e.qos>0)||this._parseMessageId()){if(5===this.settings.protocolVersion){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}e.payload=this._list.slice(this._pos,e.length),a("_parsePublish: payload from buffer list: %o",e.payload)}}_parseSubscribe(){a("_parseSubscribe");let e,t,n,r,i,s,l,c=this.packet;if(c.subscriptions=[],this._parseMessageId()){if(5===this.settings.protocolVersion){let e=this._parseProperties();Object.getOwnPropertyNames(e).length&&(c.properties=e)}if(c.length<=0)return this._emitError(new Error("Malformed subscribe, no payload specified"));for(;this._pos=c.length)return this._emitError(new Error("Malformed Subscribe Payload"));if(t=this._parseByte(),5===this.settings.protocolVersion){if(192&t)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-6 must be 0"))}else if(252&t)return this._emitError(new Error("Invalid subscribe topic flag bits, bits 7-2 must be 0"));if(n=t&o.SUBSCRIBE_OPTIONS_QOS_MASK,n>2)return this._emitError(new Error("Invalid subscribe QoS, must be <= 2"));if(s=0!=(t>>o.SUBSCRIBE_OPTIONS_NL_SHIFT&o.SUBSCRIBE_OPTIONS_NL_MASK),i=0!=(t>>o.SUBSCRIBE_OPTIONS_RAP_SHIFT&o.SUBSCRIBE_OPTIONS_RAP_MASK),r=t>>o.SUBSCRIBE_OPTIONS_RH_SHIFT&o.SUBSCRIBE_OPTIONS_RH_MASK,r>2)return this._emitError(new Error("Invalid retain handling, must be <= 2"));l={topic:e,qos:n},5===this.settings.protocolVersion?(l.nl=s,l.rap=i,l.rh=r):this.settings.bridgeMode&&(l.rh=0,l.rap=!0,l.nl=!0),a("_parseSubscribe: push subscription `%s` to subscription",l),c.subscriptions.push(l)}}}_parseSuback(){a("_parseSuback");let e=this.packet;if(this.packet.granted=[],this._parseMessageId()){if(5===this.settings.protocolVersion){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}if(e.length<=0)return this._emitError(new Error("Malformed suback, no payload specified"));for(;this._pos2&&128!==e)return this._emitError(new Error("Invalid suback QoS, must be 0, 1, 2 or 128"));this.packet.granted.push(e)}}}_parseUnsubscribe(){a("_parseUnsubscribe");let e=this.packet;if(e.unsubscriptions=[],this._parseMessageId()){if(5===this.settings.protocolVersion){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}if(e.length<=0)return this._emitError(new Error("Malformed unsubscribe, no payload specified"));for(;this._pos2){switch(e.reasonCode=this._parseByte(),this.packet.cmd){case"puback":case"pubrec":if(!o.MQTT5_PUBACK_PUBREC_CODES[e.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"));break;case"pubrel":case"pubcomp":if(!o.MQTT5_PUBREL_PUBCOMP_CODES[e.reasonCode])return this._emitError(new Error("Invalid "+this.packet.cmd+" reason code"))}a("_parseConfirmation: packet.reasonCode `%d`",e.reasonCode)}else e.reasonCode=0;if(e.length>3){let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}}return!0}_parseDisconnect(){let e=this.packet;if(a("_parseDisconnect"),5===this.settings.protocolVersion){this._list.length>0?(e.reasonCode=this._parseByte(),o.MQTT5_DISCONNECT_CODES[e.reasonCode]||this._emitError(new Error("Invalid disconnect reason code"))):e.reasonCode=0;let t=this._parseProperties();Object.getOwnPropertyNames(t).length&&(e.properties=t)}return a("_parseDisconnect result: true"),!0}_parseAuth(){a("_parseAuth");let e=this.packet;if(5!==this.settings.protocolVersion)return this._emitError(new Error("Not supported auth packet for this version MQTT"));if(e.reasonCode=this._parseByte(),!o.MQTT5_AUTH_CODES[e.reasonCode])return this._emitError(new Error("Invalid auth reason code"));let t=this._parseProperties();return Object.getOwnPropertyNames(t).length&&(e.properties=t),a("_parseAuth: result: true"),!0}_parseMessageId(){let e=this.packet;return e.messageId=this._parseNum(),null===e.messageId?(this._emitError(new Error("Cannot parse messageId")),!1):(a("_parseMessageId: packet.messageId %d",e.messageId),!0)}_parseString(e){let t=this._parseNum(),n=t+this._pos;if(-1===t||n>this._list.length||n>this.packet.length)return null;let r=this._list.toString("utf8",this._pos,n);return this._pos+=t,a("_parseString: result: %s",r),r}_parseStringPair(){return a("_parseStringPair"),{name:this._parseString(),value:this._parseString()}}_parseBuffer(){let e=this._parseNum(),t=e+this._pos;if(-1===e||t>this._list.length||t>this.packet.length)return null;let n=this._list.slice(this._pos,t);return this._pos+=e,a("_parseBuffer: result: %o",n),n}_parseNum(){if(this._list.length-this._pos<2)return-1;let e=this._list.readUInt16BE(this._pos);return this._pos+=2,a("_parseNum: result: %s",e),e}_parse4ByteNum(){if(this._list.length-this._pos<4)return-1;let e=this._list.readUInt32BE(this._pos);return this._pos+=4,a("_parse4ByteNum: result: %s",e),e}_parseVarByteNum(e){a("_parseVarByteNum");let t,n=0,r=1,i=0,s=!1,l=this._pos?this._pos:0;for(;n<4&&l+n=n&&this._emitError(new Error("Invalid variable byte integer")),l&&(this._pos+=n),s=!!s&&(e?{bytes:n,value:i}:i),a("_parseVarByteNum: result: %o",s),s}_parseByte(){let e;return this._pos{Y(),$t(),_t();var{Buffer:n}=(Ft(),K(At)),r={},i=n.isBuffer(n.from([1,2]).subarray(0,1));function o(e){let t=n.allocUnsafe(2);return t.writeUInt8(e>>8,0),t.writeUInt8(255&e,1),t}t.exports={cache:r,generateCache:function(){for(let e=0;e<65536;e++)r[e]=o(e)},generateNumber:o,genBufVariableByteInt:function(e){let t=0,r=0,o=n.allocUnsafe(4);do{t=e%128|0,(e=e/128|0)>0&&(t|=128),o.writeUInt8(t,r++)}while(e>0&&r<4);return e>0&&(r=0),i?o.subarray(0,r):o.slice(0,r)},generate4ByteBuffer:function(e){let t=n.allocUnsafe(4);return t.writeUInt32BE(e,0),t}}})),hi=V(((e,t)=>{Y(),$t(),_t(),typeof X>"u"||!X.version||0===X.version.indexOf("v0.")||0===X.version.indexOf("v1.")&&0!==X.version.indexOf("v1.8.")?t.exports={nextTick:function(e,t,n,r){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var i,o,a=arguments.length;switch(a){case 0:case 1:return X.nextTick(e);case 2:return X.nextTick((function(){e.call(null,t)}));case 3:return X.nextTick((function(){e.call(null,t,n)}));case 4:return X.nextTick((function(){e.call(null,t,n,r)}));default:for(i=new Array(a-1),o=0;o{Y(),$t(),_t();var n=li(),{Buffer:r}=(Ft(),K(At)),i=r.allocUnsafe(0),o=r.from([0]),a=pi(),s=hi().nextTick,l=di()("mqtt-packet:writeToStream"),c=a.cache,u=a.generateNumber,d=a.generateCache,f=a.genBufVariableByteInt,p=a.generate4ByteBuffer,h=E,m=!0;function g(e,t,a){switch(l("generate called"),t.cork&&(t.cork(),s(y,t)),m&&(m=!1,d()),l("generate: packet.cmd: %s",e.cmd),e.cmd){case"connect":return function(e,t,i){let o=e||{},a=o.protocolId||"MQTT",s=o.protocolVersion||4,l=o.will,c=o.clean,u=o.keepalive||0,d=o.clientId||"",f=o.username,p=o.password,m=o.properties;void 0===c&&(c=!0);let g,y,v=0;if(!a||"string"!=typeof a&&!r.isBuffer(a))return t.destroy(new Error("Invalid protocolId")),!1;if(v+=a.length+2,3!==s&&4!==s&&5!==s)return t.destroy(new Error("Invalid protocol version")),!1;if(v+=1,("string"==typeof d||r.isBuffer(d))&&(d||s>=4)&&(d||c))v+=r.byteLength(d)+2;else{if(s<4)return t.destroy(new Error("clientId must be supplied before 3.1.1")),!1;if(1*c==0)return t.destroy(new Error("clientId must be given if cleanSession set to 0")),!1}if("number"!=typeof u||u<0||u>65535||u%1!=0)return t.destroy(new Error("Invalid keepalive")),!1;if(v+=2,v+=1,5===s){if(g=C(t,m),!g)return!1;v+=g.length}if(l){if("object"!=typeof l)return t.destroy(new Error("Invalid will")),!1;if(!l.topic||"string"!=typeof l.topic)return t.destroy(new Error("Invalid will topic")),!1;if(v+=r.byteLength(l.topic)+2,v+=2,l.payload){if(!(l.payload.length>=0))return t.destroy(new Error("Invalid will payload")),!1;"string"==typeof l.payload?v+=r.byteLength(l.payload):v+=l.payload.length}if(y={},5===s){if(y=C(t,l.properties),!y)return!1;v+=y.length}}let k=!1;if(null!=f){if(!R(f))return t.destroy(new Error("Invalid username")),!1;k=!0,v+=r.byteLength(f)+2}if(null!=p){if(!k)return t.destroy(new Error("Username is required to use password")),!1;if(!R(p))return t.destroy(new Error("Invalid password")),!1;v+=O(p)+2}t.write(n.CONNECT_HEADER),b(t,v),x(t,a),o.bridgeMode&&(s+=128),t.write(131===s?n.VERSION131:132===s?n.VERSION132:4===s?n.VERSION4:5===s?n.VERSION5:n.VERSION3);let E=0;return E|=null!=f?n.USERNAME_MASK:0,E|=null!=p?n.PASSWORD_MASK:0,E|=l&&l.retain?n.WILL_RETAIN_MASK:0,E|=l&&l.qos?l.qos<0&&h(t,p),y?.write(),l("publish: payload: %o",f),t.write(f)}(e,t,a);case"puback":case"pubrec":case"pubrel":case"pubcomp":return function(e,t,i){let o=i?i.protocolVersion:4,a=e||{},s=a.cmd||"puback",l=a.messageId,c=a.dup&&"pubrel"===s?n.DUP_MASK:0,u=0,d=a.reasonCode,f=a.properties,p=5===o?3:2;if("pubrel"===s&&(u=1),"number"!=typeof l)return t.destroy(new Error("Invalid messageId")),!1;let m=null;if(5===o&&"object"==typeof f){if(m=T(t,f,i,p),!m)return!1;p+=m.length}return t.write(n.ACKS[s][u][c][0]),3===p&&(p+=0!==d?1:-1),b(t,p),h(t,l),5===o&&2!==p&&t.write(r.from([d])),null!==m?m.write():4===p&&t.write(r.from([0])),!0}(e,t,a);case"subscribe":return function(e,t,i){l("subscribe: packet: ");let o=i?i.protocolVersion:4,a=e||{},s=a.dup?n.DUP_MASK:0,c=a.messageId,u=a.subscriptions,d=a.properties,f=0;if("number"!=typeof c)return t.destroy(new Error("Invalid messageId")),!1;f+=2;let p=null;if(5===o){if(p=C(t,d),!p)return!1;f+=p.length}if("object"!=typeof u||!u.length)return t.destroy(new Error("Invalid subscriptions")),!1;for(let e=0;e2)return t.destroy(new Error("Invalid subscriptions - invalid Retain Handling")),!1}f+=r.byteLength(n)+2+1}l("subscribe: writing to stream: %o",n.SUBSCRIBE_HEADER),t.write(n.SUBSCRIBE_HEADER[1][s?1:0][0]),b(t,f),h(t,c),null!==p&&p.write();let m=!0;for(let e of u){let i,a=e.topic,s=e.qos,l=+e.nl,c=+e.rap,u=e.rh;w(t,a),i=n.SUBSCRIBE_OPTIONS_QOS[s],5===o&&(i|=l?n.SUBSCRIBE_OPTIONS_NL:0,i|=c?n.SUBSCRIBE_OPTIONS_RAP:0,i|=u?n.SUBSCRIBE_OPTIONS_RH[u]:0),m=t.write(r.from([i]))}return m}(e,t,a);case"suback":return function(e,t,i){let o=i?i.protocolVersion:4,a=e||{},s=a.messageId,l=a.granted,c=a.properties,u=0;if("number"!=typeof s)return t.destroy(new Error("Invalid messageId")),!1;if(u+=2,"object"!=typeof l||!l.length)return t.destroy(new Error("Invalid qos vector")),!1;for(let e=0;en.VARBYTEINT_MAX)return e.destroy(new Error(`Invalid variable byte integer: ${t}`)),!1;let r=v[t];return r||(r=f(t),t<16384&&(v[t]=r)),l("writeVarByteInt: writing to stream: %o",r),e.write(r)}function w(e,t){let n=r.byteLength(t);return h(e,n),l("writeString: %s",t),e.write(t,"utf8")}function k(e,t,n){w(e,t),w(e,n)}function E(e,t){return l("writeNumberCached: number: %d",t),l("writeNumberCached: %o",c[t]),e.write(c[t])}function S(e,t){let n=u(t);return l("writeNumberGenerated: %o",n),e.write(n)}function x(e,t){"string"==typeof t?w(e,t):t?(h(e,t.length),e.write(t)):h(e,0)}function C(e,t){if("object"!=typeof t||null!=t.length)return{length:1,write(){A(e,{},0)}};let i=0;function o(t,i){let o=0;switch(n.propertiesTypes[t]){case"byte":if("boolean"!=typeof i)return e.destroy(new Error(`Invalid ${t}: ${i}`)),!1;o+=2;break;case"int8":if("number"!=typeof i||i<0||i>255)return e.destroy(new Error(`Invalid ${t}: ${i}`)),!1;o+=2;break;case"binary":if(i&&null===i)return e.destroy(new Error(`Invalid ${t}: ${i}`)),!1;o+=1+r.byteLength(i)+2;break;case"int16":if("number"!=typeof i||i<0||i>65535)return e.destroy(new Error(`Invalid ${t}: ${i}`)),!1;o+=3;break;case"int32":if("number"!=typeof i||i<0||i>4294967295)return e.destroy(new Error(`Invalid ${t}: ${i}`)),!1;o+=5;break;case"var":if("number"!=typeof i||i<0||i>268435455)return e.destroy(new Error(`Invalid ${t}: ${i}`)),!1;o+=1+r.byteLength(f(i));break;case"string":if("string"!=typeof i)return e.destroy(new Error(`Invalid ${t}: ${i}`)),!1;o+=3+r.byteLength(i.toString());break;case"pair":if("object"!=typeof i)return e.destroy(new Error(`Invalid ${t}: ${i}`)),!1;o+=Object.getOwnPropertyNames(i).reduce(((e,t)=>{let n=i[t];return Array.isArray(n)?e+=n.reduce(((e,n)=>e+=3+r.byteLength(t.toString())+2+r.byteLength(n.toString())),0):e+=3+r.byteLength(t.toString())+2+r.byteLength(i[t].toString()),e}),0);break;default:return e.destroy(new Error(`Invalid property ${t}: ${i}`)),!1}return o}if(t)for(let e in t){let n=0,r=0,a=t[e];if(Array.isArray(a))for(let t=0;to;){let n=i.shift();if(!n||!t[n])return!1;delete t[n],a=C(e,t)}return a}function _(e,t,i){switch(n.propertiesTypes[t]){case"byte":e.write(r.from([n.properties[t]])),e.write(r.from([+i]));break;case"int8":e.write(r.from([n.properties[t]])),e.write(r.from([i]));break;case"binary":e.write(r.from([n.properties[t]])),x(e,i);break;case"int16":e.write(r.from([n.properties[t]])),h(e,i);break;case"int32":e.write(r.from([n.properties[t]])),function(e,t){let n=p(t);l("write4ByteNumber: %o",n),e.write(n)}(e,i);break;case"var":e.write(r.from([n.properties[t]])),b(e,i);break;case"string":e.write(r.from([n.properties[t]])),w(e,i);break;case"pair":Object.getOwnPropertyNames(i).forEach((o=>{let a=i[o];Array.isArray(a)?a.forEach((i=>{e.write(r.from([n.properties[t]])),k(e,o.toString(),i.toString())})):(e.write(r.from([n.properties[t]])),k(e,o.toString(),a.toString()))}));break;default:return e.destroy(new Error(`Invalid property ${t} value: ${i}`)),!1}}function A(e,t,n){b(e,n);for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&null!==t[n]){let r=t[n];if(Array.isArray(r))for(let t=0;t{Y(),$t(),_t();var n=mi(),{EventEmitter:r}=(Sn(),K(gn)),{Buffer:i}=(Ft(),K(At));var o=class extends r{constructor(){super(),this._array=new Array(20),this._i=0}write(e){return this._array[this._i++]=e,!0}concat(){let e,t=0,n=new Array(this._array.length),r=this._array,o=0;for(e=0;e{Y(),$t(),_t(),e.parser=fi().parser,e.generate=gi(),e.writeToStream=mi()})),vi=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0});e.default=class{constructor(){this.nextId=Math.max(1,Math.floor(65535*Math.random()))}allocate(){let e=this.nextId++;return 65536===this.nextId&&(this.nextId=1),e}getLastAllocated(){return 1===this.nextId?65535:this.nextId-1}register(e){return!0}deallocate(e){}clear(){}}})),bi=V(((e,t)=>{function n(e){return e instanceof jt?jt.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}Y(),$t(),_t(),t.exports=function(e){return(e=e||{}).circles?function(e){var t=[],r=[];return e.proto?function e(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return i(o,e);if(o instanceof Map)return new Map(i(Array.from(o),e));if(o instanceof Set)return new Set(i(Array.from(o),e));var a={};for(var s in t.push(o),r.push(a),o){var l=o[s];if("object"!=typeof l||null===l)a[s]=l;else if(l instanceof Date)a[s]=new Date(l);else if(l instanceof Map)a[s]=new Map(i(Array.from(l),e));else if(l instanceof Set)a[s]=new Set(i(Array.from(l),e));else if(ArrayBuffer.isView(l))a[s]=n(l);else{var c=t.indexOf(l);a[s]=-1!==c?r[c]:e(l)}}return t.pop(),r.pop(),a}:function e(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return i(o,e);if(o instanceof Map)return new Map(i(Array.from(o),e));if(o instanceof Set)return new Set(i(Array.from(o),e));var a={};for(var s in t.push(o),r.push(a),o)if(!1!==Object.hasOwnProperty.call(o,s)){var l=o[s];if("object"!=typeof l||null===l)a[s]=l;else if(l instanceof Date)a[s]=new Date(l);else if(l instanceof Map)a[s]=new Map(i(Array.from(l),e));else if(l instanceof Set)a[s]=new Set(i(Array.from(l),e));else if(ArrayBuffer.isView(l))a[s]=n(l);else{var c=t.indexOf(l);a[s]=-1!==c?r[c]:e(l)}}return t.pop(),r.pop(),a};function i(e,i){for(var o=Object.keys(e),a=new Array(o.length),s=0;s{Y(),$t(),_t(),t.exports=bi()()})),ki=V((e=>{function t(e){let t=e.split("/");for(let e=0;e{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0});var t=ri(),n={objectMode:!0},r={clean:!0};e.default=class{constructor(e){this.options=e||{},this.options=Object.assign(Object.assign({},r),e),this._inflights=new Map}put(e,t){return this._inflights.set(e.messageId,e),t&&t(),this}createStream(){let e=new t.Readable(n),r=[],i=!1,o=0;return this._inflights.forEach(((e,t)=>{r.push(e)})),e._read=()=>{!i&&o{if(!i)return i=!0,setTimeout((()=>{e.emit("close")}),0),e},e}del(e,t){let n=this._inflights.get(e.messageId);return n?(this._inflights.delete(e.messageId),t(null,n)):t&&t(new Error("missing packet")),this}get(e,t){let n=this._inflights.get(e.messageId);return n?t(null,n):t&&t(new Error("missing packet")),this}close(e){this.options.clean&&(this._inflights=null),e&&e()}}})),Si=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0});var t=[0,16,128,131,135,144,145,151,153];e.default=(e,n,r)=>{e.log("handlePublish: packet %o",n),r=typeof r<"u"?r:e.noop;let i=n.topic.toString(),o=n.payload,{qos:a}=n,{messageId:s}=n,{options:l}=e;if(5===e.options.protocolVersion){let t;if(n.properties&&(t=n.properties.topicAlias),typeof t<"u")if(0===i.length){if(!(t>0&&t<=65535))return e.log("handlePublish :: topic alias out of range. alias: %d",t),void e.emit("error",new Error("Received Topic Alias is out of range"));{let n=e.topicAliasRecv.getTopicByAlias(t);if(!n)return e.log("handlePublish :: unregistered topic alias. alias: %d",t),void e.emit("error",new Error("Received unregistered Topic Alias"));i=n,e.log("handlePublish :: topic complemented by alias. topic: %s - alias: %d",i,t)}}else{if(!e.topicAliasRecv.put(i,t))return e.log("handlePublish :: topic alias out of range. alias: %d",t),void e.emit("error",new Error("Received Topic Alias is out of range"));e.log("handlePublish :: registered topic: %s - alias: %d",i,t)}}switch(e.log("handlePublish: qos %d",a),a){case 2:l.customHandleAcks(i,o,n,((i,o)=>("number"==typeof i&&(o=i,i=null),i?e.emit("error",i):-1===t.indexOf(o)?e.emit("error",new Error("Wrong reason code for pubrec")):void(o?e._sendPacket({cmd:"pubrec",messageId:s,reasonCode:o},r):e.incomingStore.put(n,(()=>{e._sendPacket({cmd:"pubrec",messageId:s},r)}))))));break;case 1:l.customHandleAcks(i,o,n,((a,l)=>("number"==typeof a&&(l=a,a=null),a?e.emit("error",a):-1===t.indexOf(l)?e.emit("error",new Error("Wrong reason code for puback")):(l||e.emit("message",i,o,n),void e.handleMessage(n,(t=>{if(t)return r&&r(t);e._sendPacket({cmd:"puback",messageId:s,reasonCode:l},r)}))))));break;case 0:e.emit("message",i,o,n),e.handleMessage(n,r);break;default:e.log("handlePublish: unknown QoS. Doing nothing.")}}})),xi=V(((e,t)=>{t.exports={version:"5.10.3"}})),Ci=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0}),e.MQTTJS_VERSION=e.nextTick=e.applyMixin=e.ErrorWithReasonCode=void 0;var t=class e extends Error{constructor(t,n){super(t),this.code=n,Object.setPrototypeOf(this,e.prototype),Object.getPrototypeOf(this).name="ErrorWithReasonCode"}};e.ErrorWithReasonCode=t,e.applyMixin=function(e,t,n=!1){var r;let i=[t];for(;;){let e=i[0],t=Object.getPrototypeOf(e);if(!t?.prototype)break;i.unshift(t)}for(let t of i)for(let i of Object.getOwnPropertyNames(t.prototype))(n||"constructor"!==i)&&Object.defineProperty(e.prototype,i,null!==(r=Object.getOwnPropertyDescriptor(t.prototype,i))&&void 0!==r?r:Object.create(null))},e.nextTick="function"==typeof(null==X?void 0:X.nextTick)?X.nextTick:e=>{setTimeout(e,0)},e.MQTTJS_VERSION=xi().version})),Ti=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=void 0;var t=Ci();e.ReasonCodes={0:"",1:"Unacceptable protocol version",2:"Identifier rejected",3:"Server unavailable",4:"Bad username or password",5:"Not authorized",16:"No matching subscribers",17:"No subscription existed",128:"Unspecified error",129:"Malformed Packet",130:"Protocol Error",131:"Implementation specific error",132:"Unsupported Protocol Version",133:"Client Identifier not valid",134:"Bad User Name or Password",135:"Not authorized",136:"Server unavailable",137:"Server busy",138:"Banned",139:"Server shutting down",140:"Bad authentication method",141:"Keep Alive timeout",142:"Session taken over",143:"Topic Filter invalid",144:"Topic Name invalid",145:"Packet identifier in use",146:"Packet Identifier not found",147:"Receive Maximum exceeded",148:"Topic Alias invalid",149:"Packet too large",150:"Message rate too high",151:"Quota exceeded",152:"Administrative action",153:"Payload format invalid",154:"Retain not supported",155:"QoS not supported",156:"Use another server",157:"Server moved",158:"Shared Subscriptions not supported",159:"Connection rate exceeded",160:"Maximum connect time",161:"Subscription Identifiers not supported",162:"Wildcard Subscriptions not supported"};e.default=(n,r)=>{let{messageId:i}=r,o=r.cmd,a=null,s=n.outgoing[i]?n.outgoing[i].cb:null,l=null;if(s){switch(n.log("_handleAck :: packet type",o),o){case"pubcomp":case"puback":{let o=r.reasonCode;o&&o>0&&16!==o?(l=new t.ErrorWithReasonCode(`Publish error: ${e.ReasonCodes[o]}`,o),n._removeOutgoingAndStoreMessage(i,(()=>{s(l,r)}))):n._removeOutgoingAndStoreMessage(i,s);break}case"pubrec":{a={cmd:"pubrel",qos:2,messageId:i};let o=r.reasonCode;o&&o>0&&16!==o?(l=new t.ErrorWithReasonCode(`Publish error: ${e.ReasonCodes[o]}`,o),n._removeOutgoingAndStoreMessage(i,(()=>{s(l,r)}))):n._sendPacket(a);break}case"suback":{delete n.outgoing[i],n.messageIdProvider.deallocate(i);let t=r.granted;for(let r=0;r{delete n._resubscribeTopics[e]}))}}delete n.messageIdToTopic[i],n._invokeStoreProcessingQueue(),s(l,r);break}case"unsuback":delete n.outgoing[i],n.messageIdProvider.deallocate(i),n._invokeStoreProcessingQueue(),s(null,r);break;default:n.emit("error",new Error("unrecognized packet type"))}n.disconnecting&&0===Object.keys(n.outgoing).length&&n.emit("outgoingEmpty")}else n.log("_handleAck :: Server sent an ack in error. Ignoring.")}})),_i=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ci(),n=Ti();e.default=(e,r)=>{let{options:i}=e,o=i.protocolVersion,a=5===o?r.reasonCode:r.returnCode;if(5===o)e.handleAuth(r,((r,i)=>{if(r)e.emit("error",r);else if(24===a)e.reconnecting=!1,e._sendPacket(i);else{let r=new t.ErrorWithReasonCode(`Connection refused: ${n.ReasonCodes[a]}`,a);e.emit("error",r)}}));else{let n=new t.ErrorWithReasonCode(`Protocol error: Auth packets are only supported in MQTT 5. Your version:${o}`,a);e.emit("error",n)}}})),Ai=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0}),e.LRUCache=void 0;var t="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,n=new Set,r="object"==typeof X&&X?X:{},i=(e,t,n,i)=>{"function"==typeof r.emitWarning?r.emitWarning(e,t,n,i):console.error(`[${n}] ${t}: ${e}`)},o=globalThis.AbortController,a=globalThis.AbortSignal;if(typeof o>"u"){a=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(e,t){this._onabort.push(t)}},o=class{constructor(){t()}signal=new a;abort(e){if(!this.signal.aborted){this.signal.reason=e,this.signal.aborted=!0;for(let t of this.signal._onabort)t(e);this.signal.onabort?.(e)}}};let e="1"!==r.env?.LRU_CACHE_IGNORE_AC_WARNING,t=()=>{e&&(e=!1,i("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}Symbol("type");var s=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),l=e=>s(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?c:null:null,c=class extends Array{constructor(e){super(e),this.fill(0)}},u=class e{heap;length;static#e=!1;static create(t){let n=l(t);if(!n)return[];e.#e=!0;let r=new e(t,n);return e.#e=!1,r}constructor(t,n){if(!e.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new n(t),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},d=class e{#e;#t;#n;#r;#i;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#o;#a;#s;#l;#c;#u;#d;#f;#p;#h;#m;#g;#y;#v;#b;#w;#k;static unsafeExposeInternals(e){return{starts:e.#y,ttls:e.#v,sizes:e.#g,keyMap:e.#s,keyList:e.#l,valList:e.#c,next:e.#u,prev:e.#d,get head(){return e.#f},get tail(){return e.#p},free:e.#h,isBackgroundFetch:t=>e.#E(t),backgroundFetch:(t,n,r,i)=>e.#S(t,n,r,i),moveToTail:t=>e.#x(t),indexes:t=>e.#C(t),rindexes:t=>e.#T(t),isStale:t=>e.#_(t)}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#a}get size(){return this.#o}get fetchMethod(){return this.#i}get dispose(){return this.#n}get disposeAfter(){return this.#r}constructor(t){let{max:r=0,ttl:o,ttlResolution:a=1,ttlAutopurge:c,updateAgeOnGet:d,updateAgeOnHas:f,allowStale:p,dispose:h,disposeAfter:m,noDisposeOnSet:g,noUpdateTTL:y,maxSize:v=0,maxEntrySize:b=0,sizeCalculation:w,fetchMethod:k,noDeleteOnFetchRejection:E,noDeleteOnStaleGet:S,allowStaleOnFetchRejection:x,allowStaleOnFetchAbort:C,ignoreFetchAbort:T}=t;if(0!==r&&!s(r))throw new TypeError("max option must be a nonnegative integer");let _=r?l(r):Array;if(!_)throw new Error("invalid max value: "+r);if(this.#e=r,this.#t=v,this.maxEntrySize=b||this.#t,this.sizeCalculation=w,this.sizeCalculation){if(!this.#t&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(void 0!==k&&"function"!=typeof k)throw new TypeError("fetchMethod must be a function if specified");if(this.#i=k,this.#w=!!k,this.#s=new Map,this.#l=new Array(r).fill(void 0),this.#c=new Array(r).fill(void 0),this.#u=new _(r),this.#d=new _(r),this.#f=0,this.#p=0,this.#h=u.create(r),this.#o=0,this.#a=0,"function"==typeof h&&(this.#n=h),"function"==typeof m?(this.#r=m,this.#m=[]):(this.#r=void 0,this.#m=void 0),this.#b=!!this.#n,this.#k=!!this.#r,this.noDisposeOnSet=!!g,this.noUpdateTTL=!!y,this.noDeleteOnFetchRejection=!!E,this.allowStaleOnFetchRejection=!!x,this.allowStaleOnFetchAbort=!!C,this.ignoreFetchAbort=!!T,0!==this.maxEntrySize){if(0!==this.#t&&!s(this.#t))throw new TypeError("maxSize must be a positive integer if specified");if(!s(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#A()}if(this.allowStale=!!p,this.noDeleteOnStaleGet=!!S,this.updateAgeOnGet=!!d,this.updateAgeOnHas=!!f,this.ttlResolution=s(a)||0===a?a:1,this.ttlAutopurge=!!c,this.ttl=o||0,this.ttl){if(!s(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#O()}if(0===this.#e&&0===this.ttl&&0===this.#t)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#t){let t="LRU_CACHE_UNBOUNDED";(e=>!n.has(e))(t)&&(n.add(t),i("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",t,e))}}getRemainingTTL(e){return this.#s.has(e)?1/0:0}#O(){let e=new c(this.#e),n=new c(this.#e);this.#v=e,this.#y=n,this.#R=(r,i,o=t.now())=>{if(n[r]=0!==i?o:0,e[r]=i,0!==i&&this.ttlAutopurge){let e=setTimeout((()=>{this.#_(r)&&this.delete(this.#l[r])}),i+1);e.unref&&e.unref()}},this.#P=r=>{n[r]=0!==e[r]?t.now():0},this.#I=(t,o)=>{if(e[o]){let a=e[o],s=n[o];t.ttl=a,t.start=s,t.now=r||i();let l=t.now-s;t.remainingTTL=a-l}};let r=0,i=()=>{let e=t.now();if(this.ttlResolution>0){r=e;let t=setTimeout((()=>r=0),this.ttlResolution);t.unref&&t.unref()}return e};this.getRemainingTTL=t=>{let o=this.#s.get(t);if(void 0===o)return 0;let a=e[o],s=n[o];return 0===a||0===s?1/0:a-((r||i())-s)},this.#_=t=>0!==e[t]&&0!==n[t]&&(r||i())-n[t]>e[t]}#P=()=>{};#I=()=>{};#R=()=>{};#_=()=>!1;#A(){let e=new c(this.#e);this.#a=0,this.#g=e,this.#M=t=>{this.#a-=e[t],e[t]=0},this.#L=(e,t,n,r)=>{if(this.#E(t))return 0;if(!s(n)){if(!r)throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");if("function"!=typeof r)throw new TypeError("sizeCalculation must be a function");if(n=r(t,e),!s(n))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return n},this.#N=(t,n,r)=>{if(e[t]=n,this.#t){let n=this.#t-e[t];for(;this.#a>n;)this.#D(!0)}this.#a+=e[t],r&&(r.entrySize=n,r.totalCalculatedSize=this.#a)}}#M=e=>{};#N=(e,t,n)=>{};#L=(e,t,n,r)=>{if(n||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#C({allowStale:e=this.allowStale}={}){if(this.#o)for(let t=this.#p;this.#j(t)&&((e||!this.#_(t))&&(yield t),t!==this.#f);)t=this.#d[t]}*#T({allowStale:e=this.allowStale}={}){if(this.#o)for(let t=this.#f;this.#j(t)&&((e||!this.#_(t))&&(yield t),t!==this.#p);)t=this.#u[t]}#j(e){return void 0!==e&&this.#s.get(this.#l[e])===e}*entries(){for(let e of this.#C())void 0!==this.#c[e]&&void 0!==this.#l[e]&&!this.#E(this.#c[e])&&(yield[this.#l[e],this.#c[e]])}*rentries(){for(let e of this.#T())void 0!==this.#c[e]&&void 0!==this.#l[e]&&!this.#E(this.#c[e])&&(yield[this.#l[e],this.#c[e]])}*keys(){for(let e of this.#C()){let t=this.#l[e];void 0!==t&&!this.#E(this.#c[e])&&(yield t)}}*rkeys(){for(let e of this.#T()){let t=this.#l[e];void 0!==t&&!this.#E(this.#c[e])&&(yield t)}}*values(){for(let e of this.#C())void 0!==this.#c[e]&&!this.#E(this.#c[e])&&(yield this.#c[e])}*rvalues(){for(let e of this.#T())void 0!==this.#c[e]&&!this.#E(this.#c[e])&&(yield this.#c[e])}[Symbol.iterator](){return this.entries()}find(e,t={}){for(let n of this.#C()){let r=this.#c[n],i=this.#E(r)?r.__staleWhileFetching:r;if(void 0!==i&&e(i,this.#l[n],this))return this.get(this.#l[n],t)}}forEach(e,t=this){for(let n of this.#C()){let r=this.#c[n],i=this.#E(r)?r.__staleWhileFetching:r;void 0!==i&&e.call(t,i,this.#l[n],this)}}rforEach(e,t=this){for(let n of this.#T()){let r=this.#c[n],i=this.#E(r)?r.__staleWhileFetching:r;void 0!==i&&e.call(t,i,this.#l[n],this)}}purgeStale(){let e=!1;for(let t of this.#T({allowStale:!0}))this.#_(t)&&(this.delete(this.#l[t]),e=!0);return e}dump(){let e=[];for(let n of this.#C({allowStale:!0})){let r=this.#l[n],i=this.#c[n],o=this.#E(i)?i.__staleWhileFetching:i;if(void 0===o||void 0===r)continue;let a={value:o};if(this.#v&&this.#y){a.ttl=this.#v[n];let e=t.now()-this.#y[n];a.start=Math.floor(Date.now()-e)}this.#g&&(a.size=this.#g[n]),e.unshift([r,a])}return e}load(e){this.clear();for(let[n,r]of e){if(r.start){let e=Date.now()-r.start;r.start=t.now()-e}this.set(n,r.value,r)}}set(e,t,n={}){if(void 0===t)return this.delete(e),this;let{ttl:r=this.ttl,start:i,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:a=this.sizeCalculation,status:s}=n,{noUpdateTTL:l=this.noUpdateTTL}=n,c=this.#L(e,t,n.size||0,a);if(this.maxEntrySize&&c>this.maxEntrySize)return s&&(s.set="miss",s.maxEntrySizeExceeded=!0),this.delete(e),this;let u=0===this.#o?void 0:this.#s.get(e);if(void 0===u)u=0===this.#o?this.#p:0!==this.#h.length?this.#h.pop():this.#o===this.#e?this.#D(!1):this.#o,this.#l[u]=e,this.#c[u]=t,this.#s.set(e,u),this.#u[this.#p]=u,this.#d[u]=this.#p,this.#p=u,this.#o++,this.#N(u,c,s),s&&(s.set="add"),l=!1;else{this.#x(u);let n=this.#c[u];if(t!==n){if(this.#w&&this.#E(n)){n.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:t}=n;void 0!==t&&!o&&(this.#b&&this.#n?.(t,e,"set"),this.#k&&this.#m?.push([t,e,"set"]))}else o||(this.#b&&this.#n?.(n,e,"set"),this.#k&&this.#m?.push([n,e,"set"]));if(this.#M(u),this.#N(u,c,s),this.#c[u]=t,s){s.set="replace";let e=n&&this.#E(n)?n.__staleWhileFetching:n;void 0!==e&&(s.oldValue=e)}}else s&&(s.set="update")}if(0!==r&&!this.#v&&this.#O(),this.#v&&(l||this.#R(u,r,i),s&&this.#I(s,u)),!o&&this.#k&&this.#m){let e,t=this.#m;for(;e=t?.shift();)this.#r?.(...e)}return this}pop(){try{for(;this.#o;){let e=this.#c[this.#f];if(this.#D(!0),this.#E(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(void 0!==e)return e}}finally{if(this.#k&&this.#m){let e,t=this.#m;for(;e=t?.shift();)this.#r?.(...e)}}}#D(e){let t=this.#f,n=this.#l[t],r=this.#c[t];return this.#w&&this.#E(r)?r.__abortController.abort(new Error("evicted")):(this.#b||this.#k)&&(this.#b&&this.#n?.(r,n,"evict"),this.#k&&this.#m?.push([r,n,"evict"])),this.#M(t),e&&(this.#l[t]=void 0,this.#c[t]=void 0,this.#h.push(t)),1===this.#o?(this.#f=this.#p=0,this.#h.length=0):this.#f=this.#u[t],this.#s.delete(n),this.#o--,t}has(e,t={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:r}=t,i=this.#s.get(e);if(void 0!==i){let e=this.#c[i];if(this.#E(e)&&void 0===e.__staleWhileFetching)return!1;if(!this.#_(i))return n&&this.#P(i),r&&(r.has="hit",this.#I(r,i)),!0;r&&(r.has="stale",this.#I(r,i))}else r&&(r.has="miss");return!1}peek(e,t={}){let{allowStale:n=this.allowStale}=t,r=this.#s.get(e);if(void 0!==r&&(n||!this.#_(r))){let e=this.#c[r];return this.#E(e)?e.__staleWhileFetching:e}}#S(e,t,n,r){let i=void 0===t?void 0:this.#c[t];if(this.#E(i))return i;let a=new o,{signal:s}=n;s?.addEventListener("abort",(()=>a.abort(s.reason)),{signal:a.signal});let l={signal:a.signal,options:n,context:r},c=(r,i=!1)=>{let{aborted:o}=a.signal,s=n.ignoreFetchAbort&&void 0!==r;if(n.status&&(o&&!i?(n.status.fetchAborted=!0,n.status.fetchError=a.signal.reason,s&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),o&&!s&&!i)return u(a.signal.reason);let c=d;return this.#c[t]===d&&(void 0===r?c.__staleWhileFetching?this.#c[t]=c.__staleWhileFetching:this.delete(e):(n.status&&(n.status.fetchUpdated=!0),this.set(e,r,l.options))),r},u=r=>{let{aborted:i}=a.signal,o=i&&n.allowStaleOnFetchAbort,s=o||n.allowStaleOnFetchRejection,l=s||n.noDeleteOnFetchRejection,c=d;if(this.#c[t]===d&&(l&&void 0!==c.__staleWhileFetching?o||(this.#c[t]=c.__staleWhileFetching):this.delete(e)),s)return n.status&&void 0!==c.__staleWhileFetching&&(n.status.returnedStale=!0),c.__staleWhileFetching;if(c.__returned===c)throw r};n.status&&(n.status.fetchDispatched=!0);let d=new Promise(((t,r)=>{let o=this.#i?.(e,i,l);o&&o instanceof Promise&&o.then((e=>t(void 0===e?void 0:e)),r),a.signal.addEventListener("abort",(()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(t(void 0),n.allowStaleOnFetchAbort&&(t=e=>c(e,!0)))}))})).then(c,(e=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=e),u(e)))),f=Object.assign(d,{__abortController:a,__staleWhileFetching:i,__returned:void 0});return void 0===t?(this.set(e,f,{...l.options,status:void 0}),t=this.#s.get(e)):this.#c[t]=f,f}#E(e){if(!this.#w)return!1;let t=e;return!!t&&t instanceof Promise&&t.hasOwnProperty("__staleWhileFetching")&&t.__abortController instanceof o}async fetch(e,t={}){let{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:a=this.noDisposeOnSet,size:s=0,sizeCalculation:l=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:u=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:d=this.allowStaleOnFetchRejection,ignoreFetchAbort:f=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,context:h,forceRefresh:m=!1,status:g,signal:y}=t;if(!this.#w)return g&&(g.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:i,status:g});let v={allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:i,ttl:o,noDisposeOnSet:a,size:s,sizeCalculation:l,noUpdateTTL:c,noDeleteOnFetchRejection:u,allowStaleOnFetchRejection:d,allowStaleOnFetchAbort:p,ignoreFetchAbort:f,status:g,signal:y},b=this.#s.get(e);if(void 0===b){g&&(g.fetch="miss");let t=this.#S(e,b,v,h);return t.__returned=t}{let t=this.#c[b];if(this.#E(t)){let e=n&&void 0!==t.__staleWhileFetching;return g&&(g.fetch="inflight",e&&(g.returnedStale=!0)),e?t.__staleWhileFetching:t.__returned=t}let i=this.#_(b);if(!m&&!i)return g&&(g.fetch="hit"),this.#x(b),r&&this.#P(b),g&&this.#I(g,b),t;let o=this.#S(e,b,v,h),a=void 0!==o.__staleWhileFetching&&n;return g&&(g.fetch=i?"stale":"refresh",a&&i&&(g.returnedStale=!0)),a?o.__staleWhileFetching:o.__returned=o}}get(e,t={}){let{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:i=this.noDeleteOnStaleGet,status:o}=t,a=this.#s.get(e);if(void 0!==a){let t=this.#c[a],s=this.#E(t);return o&&this.#I(o,a),this.#_(a)?(o&&(o.get="stale"),s?(o&&n&&void 0!==t.__staleWhileFetching&&(o.returnedStale=!0),n?t.__staleWhileFetching:void 0):(i||this.delete(e),o&&n&&(o.returnedStale=!0),n?t:void 0)):(o&&(o.get="hit"),s?t.__staleWhileFetching:(this.#x(a),r&&this.#P(a),t))}o&&(o.get="miss")}#B(e,t){this.#d[t]=e,this.#u[e]=t}#x(e){e!==this.#p&&(e===this.#f?this.#f=this.#u[e]:this.#B(this.#d[e],this.#u[e]),this.#B(this.#p,e),this.#p=e)}delete(e){let t=!1;if(0!==this.#o){let n=this.#s.get(e);if(void 0!==n)if(t=!0,1===this.#o)this.clear();else{this.#M(n);let t=this.#c[n];this.#E(t)?t.__abortController.abort(new Error("deleted")):(this.#b||this.#k)&&(this.#b&&this.#n?.(t,e,"delete"),this.#k&&this.#m?.push([t,e,"delete"])),this.#s.delete(e),this.#l[n]=void 0,this.#c[n]=void 0,n===this.#p?this.#p=this.#d[n]:n===this.#f?this.#f=this.#u[n]:(this.#u[this.#d[n]]=this.#u[n],this.#d[this.#u[n]]=this.#d[n]),this.#o--,this.#h.push(n)}}if(this.#k&&this.#m?.length){let e,t=this.#m;for(;e=t?.shift();)this.#r?.(...e)}return t}clear(){for(let e of this.#T({allowStale:!0})){let t=this.#c[e];if(this.#E(t))t.__abortController.abort(new Error("deleted"));else{let n=this.#l[e];this.#b&&this.#n?.(t,n,"delete"),this.#k&&this.#m?.push([t,n,"delete"])}}if(this.#s.clear(),this.#c.fill(void 0),this.#l.fill(void 0),this.#v&&this.#y&&(this.#v.fill(0),this.#y.fill(0)),this.#g&&this.#g.fill(0),this.#f=0,this.#p=0,this.#h.length=0,this.#a=0,this.#o=0,this.#k&&this.#m){let e,t=this.#m;for(;e=t?.shift();)this.#r?.(...e)}}};e.LRUCache=d})),Oi=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.ContainerIterator=e.Container=e.Base=void 0;e.ContainerIterator=class{constructor(e=0){this.iteratorType=e}equals(e){return this.o===e.o}};var t=class{constructor(){this.i=0}get length(){return this.i}size(){return this.i}empty(){return 0===this.i}};e.Base=t;e.Container=class extends t{}})),Ri=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Oi(),n=class extends t.Base{constructor(e=[]){super(),this.S=[];let t=this;e.forEach((function(e){t.push(e)}))}clear(){this.i=0,this.S=[]}push(e){return this.S.push(e),this.i+=1,this.i}pop(){if(0!==this.i)return this.i-=1,this.S.pop()}top(){return this.S[this.i-1]}};e.default=n})),Pi=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Oi(),n=class extends t.Base{constructor(e=[]){super(),this.j=0,this.q=[];let t=this;e.forEach((function(e){t.push(e)}))}clear(){this.q=[],this.i=this.j=0}push(e){let t=this.q.length;if(this.j/t>.5&&this.j+this.i>=t&&t>4096){let t=this.i;for(let e=0;e{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Oi(),n=class extends t.Base{constructor(e=[],t=function(e,t){return e>t?-1:e>1;for(let e=this.i-1>>1;e>=0;--e)this.k(e,r)}m(e){let t=this.C[e];for(;e>0;){let n=e-1>>1,r=this.C[n];if(this.v(r,t)<=0)break;this.C[e]=r,e=n}this.C[e]=t}k(e,t){let n=this.C[e];for(;e0&&(t=r,i=this.C[r]),this.v(i,n)>=0)break;this.C[e]=i,e=t}this.C[e]=n}clear(){this.i=0,this.C.length=0}push(e){this.C.push(e),this.m(this.i),this.i+=1}pop(){if(0===this.i)return;let e=this.C[0],t=this.C.pop();return this.i-=1,this.i&&(this.C[0]=t,this.k(0,this.i>>1)),e}top(){return this.C[0]}find(e){return this.C.indexOf(e)>=0}remove(e){let t=this.C.indexOf(e);return!(t<0)&&(0===t?this.pop():t===this.i-1?(this.C.pop(),this.i-=1):(this.C.splice(t,1,this.C.pop()),this.i-=1,this.m(t),this.k(t,this.i>>1)),!0)}updateItem(e){let t=this.C.indexOf(e);return!(t<0)&&(this.m(t),this.k(t,this.i>>1),!0)}toArray(){return[...this.C]}},r=n;e.default=r})),Mi=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Oi(),n=class extends t.Container{};e.default=n})),Li=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.throwIteratorAccessError=function(){throw new RangeError("Iterator access denied!")}})),Ni=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.RandomIterator=void 0;var t=Oi(),n=Li(),r=class extends t.ContainerIterator{constructor(e,t){super(t),this.o=e,0===this.iteratorType?(this.pre=function(){return 0===this.o&&(0,n.throwIteratorAccessError)(),this.o-=1,this},this.next=function(){return this.o===this.container.size()&&(0,n.throwIteratorAccessError)(),this.o+=1,this}):(this.pre=function(){return this.o===this.container.size()-1&&(0,n.throwIteratorAccessError)(),this.o+=1,this},this.next=function(){return-1===this.o&&(0,n.throwIteratorAccessError)(),this.o-=1,this})}get pointer(){return this.container.getElementByPos(this.o)}set pointer(e){this.container.setElementByPos(this.o,e)}};e.RandomIterator=r})),Di=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t,n=(t=Mi())&&t.t?t:{default:t},r=Ni();var i=class e extends r.RandomIterator{constructor(e,t,n){super(e,n),this.container=t}copy(){return new e(this.o,this.container,this.iteratorType)}},o=class extends n.default{constructor(e=[],t=!0){if(super(),Array.isArray(e))this.J=t?[...e]:e,this.i=e.length;else{this.J=[];let t=this;e.forEach((function(e){t.pushBack(e)}))}}clear(){this.i=0,this.J.length=0}begin(){return new i(0,this)}end(){return new i(this.i,this)}rBegin(){return new i(this.i-1,this,1)}rEnd(){return new i(-1,this,1)}front(){return this.J[0]}back(){return this.J[this.i-1]}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;return this.J[e]}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;return this.J.splice(e,1),this.i-=1,this.i}eraseElementByValue(e){let t=0;for(let n=0;nthis.i-1)throw new RangeError;this.J[e]=t}insert(e,t,n=1){if(e<0||e>this.i)throw new RangeError;return this.J.splice(e,0,...new Array(n).fill(t)),this.i+=n,this.i}find(e){for(let t=0;t{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t,n=(t=Mi())&&t.t?t:{default:t},r=Oi(),i=Li();var o=class e extends r.ContainerIterator{constructor(e,t,n,r){super(r),this.o=e,this.h=t,this.container=n,0===this.iteratorType?(this.pre=function(){return this.o.L===this.h&&(0,i.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,i.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,i.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,i.throwIteratorAccessError)(),this.o=this.o.L,this})}get pointer(){return this.o===this.h&&(0,i.throwIteratorAccessError)(),this.o.l}set pointer(e){this.o===this.h&&(0,i.throwIteratorAccessError)(),this.o.l=e}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},a=class extends n.default{constructor(e=[]){super(),this.h={},this.p=this._=this.h.L=this.h.B=this.h;let t=this;e.forEach((function(e){t.pushBack(e)}))}V(e){let{L:t,B:n}=e;t.B=n,n.L=t,e===this.p&&(this.p=n),e===this._&&(this._=t),this.i-=1}G(e,t){let n=t.B,r={l:e,L:t,B:n};t.B=r,n.L=r,t===this.h&&(this.p=r),n===this.h&&(this._=r),this.i+=1}clear(){this.i=0,this.p=this._=this.h.L=this.h.B=this.h}begin(){return new o(this.p,this.h,this)}end(){return new o(this.h,this.h,this)}rBegin(){return new o(this._,this.h,this,1)}rEnd(){return new o(this.h,this.h,this,1)}front(){return this.p.l}back(){return this._.l}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return t.l}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return this.V(t),this.i}eraseElementByValue(e){let t=this.p;for(;t!==this.h;)t.l===e&&this.V(t),t=t.B;return this.i}eraseElementByIterator(e){let t=e.o;return t===this.h&&(0,i.throwIteratorAccessError)(),e=e.next(),this.V(t),e}pushBack(e){return this.G(e,this._),this.i}popBack(){if(0===this.i)return;let e=this._.l;return this.V(this._),e}pushFront(e){return this.G(e,this.h),this.i}popFront(){if(0===this.i)return;let e=this.p.l;return this.V(this.p),e}setElementByPos(e,t){if(e<0||e>this.i-1)throw new RangeError;let n=this.p;for(;e--;)n=n.B;n.l=t}insert(e,t,n=1){if(e<0||e>this.i)throw new RangeError;if(n<=0)return this.i;if(0===e)for(;n--;)this.pushFront(t);else if(e===this.i)for(;n--;)this.pushBack(t);else{let r=this.p;for(let t=1;t{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t,n=(t=Mi())&&t.t?t:{default:t},r=Ni();var i=class e extends r.RandomIterator{constructor(e,t,n){super(e,n),this.container=t}copy(){return new e(this.o,this.container,this.iteratorType)}},o=class extends n.default{constructor(e=[],t=4096){super(),this.j=0,this.D=0,this.R=0,this.N=0,this.P=0,this.A=[];let n=(()=>{if("number"==typeof e.length)return e.length;if("number"==typeof e.size)return e.size;if("function"==typeof e.size)return e.size();throw new TypeError("Cannot get the length or size of the container")})();this.F=t,this.P=Math.max(Math.ceil(n/this.F),1);for(let e=0;e>1)-(r>>1),this.D=this.N=this.F-n%this.F>>1;let i=this;e.forEach((function(e){i.pushBack(e)}))}T(){let e=[],t=Math.max(this.P>>1,1);for(let n=0;n>1}begin(){return new i(0,this)}end(){return new i(this.i,this)}rBegin(){return new i(this.i-1,this,1)}rEnd(){return new i(-1,this,1)}front(){if(0!==this.i)return this.A[this.j][this.D]}back(){if(0!==this.i)return this.A[this.R][this.N]}pushBack(e){return this.i&&(this.N0?this.N-=1:this.R>0?(this.R-=1,this.N=this.F-1):(this.R=this.P-1,this.N=this.F-1)),this.i-=1,e}pushFront(e){return this.i&&(this.D>0?this.D-=1:this.j>0?(this.j-=1,this.D=this.F-1):(this.j=this.P-1,this.D=this.F-1),this.j===this.R&&this.D===this.N&&this.T()),this.i+=1,this.A[this.j][this.D]=e,this.i}popFront(){if(0===this.i)return;let e=this.A[this.j][this.D];return 1!==this.i&&(this.Dthis.i-1)throw new RangeError;let{curNodeBucketIndex:t,curNodePointerIndex:n}=this.O(e);return this.A[t][n]}setElementByPos(e,t){if(e<0||e>this.i-1)throw new RangeError;let{curNodeBucketIndex:n,curNodePointerIndex:r}=this.O(e);this.A[n][r]=t}insert(e,t,n=1){if(e<0||e>this.i)throw new RangeError;if(0===e)for(;n--;)this.pushFront(t);else if(e===this.i)for(;n--;)this.pushBack(t);else{let r=[];for(let t=e;tthis.i-1)throw new RangeError;if(0===e)this.popFront();else if(e===this.i-1)this.popBack();else{let t=[];for(let n=e+1;ne;)this.popBack();return this.i}sort(e){let t=[];for(let e=0;e{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.TreeNodeEnableIndex=e.TreeNode=void 0;var t=class{constructor(e,t){this.ee=1,this.u=void 0,this.l=void 0,this.U=void 0,this.W=void 0,this.tt=void 0,this.u=e,this.l=t}L(){let e=this;if(1===e.ee&&e.tt.tt===e)e=e.W;else if(e.U)for(e=e.U;e.W;)e=e.W;else{let t=e.tt;for(;t.U===e;)e=t,t=e.tt;e=t}return e}B(){let e=this;if(e.W){for(e=e.W;e.U;)e=e.U;return e}{let t=e.tt;for(;t.W===e;)e=t,t=e.tt;return e.W!==t?t:e}}te(){let e=this.tt,t=this.W,n=t.U;return e.tt===this?e.tt=t:e.U===this?e.U=t:e.W=t,t.tt=e,t.U=this,this.tt=t,this.W=n,n&&(n.tt=this),t}se(){let e=this.tt,t=this.U,n=t.W;return e.tt===this?e.tt=t:e.U===this?e.U=t:e.W=t,t.tt=e,t.W=this,this.tt=t,this.U=n,n&&(n.tt=this),t}};e.TreeNode=t;e.TreeNodeEnableIndex=class extends t{constructor(){super(...arguments),this.rt=1}te(){let e=super.te();return this.ie(),e.ie(),e}se(){let e=super.se();return this.ie(),e.ie(),e}ie(){this.rt=1,this.U&&(this.rt+=this.U.rt),this.W&&(this.rt+=this.W.rt)}}})),Fi=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=qi(),n=Oi(),r=Li(),i=class extends n.Container{constructor(e=function(e,t){return et?1:0},n=!1){super(),this.Y=void 0,this.v=e,n?(this.re=t.TreeNodeEnableIndex,this.M=function(e,t,n){let r=this.ne(e,t,n);if(r){let e=r.tt;for(;e!==this.h;)e.rt+=1,e=e.tt;let t=this.he(r);if(t){let{parentNode:e,grandParent:n,curNode:r}=t;e.ie(),n.ie(),r.ie()}}return this.i},this.V=function(e){let t=this.fe(e);for(;t!==this.h;)t.rt-=1,t=t.tt}):(this.re=t.TreeNode,this.M=function(e,t,n){let r=this.ne(e,t,n);return r&&this.he(r),this.i},this.V=this.fe),this.h=new this.re}X(e,t){let n=this.h;for(;e;){let r=this.v(e.u,t);if(r<0)e=e.W;else{if(!(r>0))return e;n=e,e=e.U}}return n}Z(e,t){let n=this.h;for(;e;)this.v(e.u,t)<=0?e=e.W:(n=e,e=e.U);return n}$(e,t){let n=this.h;for(;e;){let r=this.v(e.u,t);if(r<0)n=e,e=e.W;else{if(!(r>0))return e;e=e.U}}return n}rr(e,t){let n=this.h;for(;e;)this.v(e.u,t)<0?(n=e,e=e.W):e=e.U;return n}ue(e){for(;;){let t=e.tt;if(t===this.h)return;if(1===e.ee)return void(e.ee=0);if(e===t.U){let n=t.W;if(1===n.ee)n.ee=0,t.ee=1,t===this.Y?this.Y=t.te():t.te();else{if(n.W&&1===n.W.ee)return n.ee=t.ee,t.ee=0,n.W.ee=0,void(t===this.Y?this.Y=t.te():t.te());n.U&&1===n.U.ee?(n.ee=1,n.U.ee=0,n.se()):(n.ee=1,e=t)}}else{let n=t.U;if(1===n.ee)n.ee=0,t.ee=1,t===this.Y?this.Y=t.se():t.se();else{if(n.U&&1===n.U.ee)return n.ee=t.ee,t.ee=0,n.U.ee=0,void(t===this.Y?this.Y=t.se():t.se());n.W&&1===n.W.ee?(n.ee=1,n.W.ee=0,n.te()):(n.ee=1,e=t)}}}}fe(e){if(1===this.i)return this.clear(),this.h;let t=e;for(;t.U||t.W;){if(t.W)for(t=t.W;t.U;)t=t.U;else t=t.U;[e.u,t.u]=[t.u,e.u],[e.l,t.l]=[t.l,e.l],e=t}this.h.U===t?this.h.U=t.tt:this.h.W===t&&(this.h.W=t.tt),this.ue(t);let n=t.tt;return t===n.U?n.U=void 0:n.W=void 0,this.i-=1,this.Y.ee=0,n}oe(e,t){return void 0!==e&&(!(!this.oe(e.U,t)&&!t(e))||this.oe(e.W,t))}he(e){for(;;){let t=e.tt;if(0===t.ee)return;let n=t.tt;if(t===n.U){let r=n.W;if(r&&1===r.ee){if(r.ee=t.ee=0,n===this.Y)return;n.ee=1,e=n;continue}if(e===t.W){if(e.ee=0,e.U&&(e.U.tt=t),e.W&&(e.W.tt=n),t.W=e.U,n.U=e.W,e.U=t,e.W=n,n===this.Y)this.Y=e,this.h.tt=e;else{let t=n.tt;t.U===n?t.U=e:t.W=e}return e.tt=n.tt,t.tt=e,n.tt=e,n.ee=1,{parentNode:t,grandParent:n,curNode:e}}t.ee=0,n===this.Y?this.Y=n.se():n.se(),n.ee=1}else{let r=n.U;if(r&&1===r.ee){if(r.ee=t.ee=0,n===this.Y)return;n.ee=1,e=n;continue}if(e===t.U){if(e.ee=0,e.U&&(e.U.tt=n),e.W&&(e.W.tt=t),n.W=e.U,t.U=e.W,e.U=n,e.W=t,n===this.Y)this.Y=e,this.h.tt=e;else{let t=n.tt;t.U===n?t.U=e:t.W=e}return e.tt=n.tt,t.tt=e,n.tt=e,n.ee=1,{parentNode:t,grandParent:n,curNode:e}}t.ee=0,n===this.Y?this.Y=n.te():n.te(),n.ee=1}return}}ne(e,t,n){if(void 0===this.Y)return this.i+=1,this.Y=new this.re(e,t),this.Y.ee=0,this.Y.tt=this.h,this.h.tt=this.Y,this.h.U=this.Y,void(this.h.W=this.Y);let r,i=this.h.U,o=this.v(i.u,e);if(0!==o){if(o>0)i.U=new this.re(e,t),i.U.tt=i,r=i.U,this.h.U=r;else{let i=this.h.W,o=this.v(i.u,e);if(0===o)return void(i.l=t);if(o<0)i.W=new this.re(e,t),i.W.tt=i,r=i.W,this.h.W=r;else{if(void 0!==n){let i=n.o;if(i!==this.h){let n=this.v(i.u,e);if(0===n)return void(i.l=t);if(n>0){let n=i.L(),o=this.v(n.u,e);if(0===o)return void(n.l=t);o<0&&(r=new this.re(e,t),void 0===n.W?(n.W=r,r.tt=n):(i.U=r,r.tt=i))}}}if(void 0===r)for(r=this.Y;;){let n=this.v(r.u,e);if(n>0){if(void 0===r.U){r.U=new this.re(e,t),r.U.tt=r,r=r.U;break}r=r.U}else{if(!(n<0))return void(r.l=t);if(void 0===r.W){r.W=new this.re(e,t),r.W.tt=r,r=r.W;break}r=r.W}}}}return this.i+=1,r}i.l=t}I(e,t){for(;e;){let n=this.v(e.u,t);if(n<0)e=e.W;else{if(!(n>0))return e;e=e.U}}return e||this.h}clear(){this.i=0,this.Y=void 0,this.h.tt=void 0,this.h.U=this.h.W=void 0}updateKeyByIterator(e,t){let n=e.o;if(n===this.h&&(0,r.throwIteratorAccessError)(),1===this.i)return n.u=t,!0;if(n===this.h.U)return this.v(n.B().u,t)>0&&(n.u=t,!0);if(n===this.h.W)return this.v(n.L().u,t)<0&&(n.u=t,!0);let i=n.L().u;if(this.v(i,t)>=0)return!1;let o=n.B().u;return!(this.v(o,t)<=0)&&(n.u=t,!0)}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=0,n=this;return this.oe(this.Y,(function(r){return e===t?(n.V(r),!0):(t+=1,!1)})),this.i}eraseElementByKey(e){if(0===this.i)return!1;let t=this.I(this.Y,e);return t!==this.h&&(this.V(t),!0)}eraseElementByIterator(e){let t=e.o;t===this.h&&(0,r.throwIteratorAccessError)();let n=void 0===t.W;return 0===e.iteratorType?n&&e.next():(!n||void 0===t.U)&&e.next(),this.V(t),e}forEach(e){let t=0;for(let n of this)e(n,t++,this)}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t,n=0;for(let r of this){if(n===e){t=r;break}n+=1}return t}getHeight(){if(0===this.i)return 0;let e=function(t){return t?Math.max(e(t.U),e(t.W))+1:0};return e(this.Y)}},o=i;e.default=o})),$i=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Oi(),n=Li(),r=class extends t.ContainerIterator{constructor(e,t,r){super(r),this.o=e,this.h=t,0===this.iteratorType?(this.pre=function(){return this.o===this.h.U&&(0,n.throwIteratorAccessError)(),this.o=this.o.L(),this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.B(),this}):(this.pre=function(){return this.o===this.h.W&&(0,n.throwIteratorAccessError)(),this.o=this.o.B(),this},this.next=function(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o=this.o.L(),this})}get index(){let e=this.o,t=this.h.tt;if(e===this.h)return t?t.rt-1:0;let n=0;for(e.U&&(n+=e.U.rt);e!==t;){let t=e.tt;e===t.W&&(n+=1,t.U&&(n+=t.U.rt)),e=t}return n}};e.default=r})),Ui=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=i(Fi()),n=i($i()),r=Li();function i(e){return e&&e.t?e:{default:e}}var o=class e extends n.default{constructor(e,t,n,r){super(e,t,r),this.container=n}get pointer(){return this.o===this.h&&(0,r.throwIteratorAccessError)(),this.o.u}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},a=class extends t.default{constructor(e=[],t,n){super(t,n);let r=this;e.forEach((function(e){r.insert(e)}))}*K(e){void 0!==e&&(yield*this.K(e.U),yield e.u,yield*this.K(e.W))}begin(){return new o(this.h.U||this.h,this.h,this)}end(){return new o(this.h,this.h,this)}rBegin(){return new o(this.h.W||this.h,this.h,this,1)}rEnd(){return new o(this.h,this.h,this,1)}front(){return this.h.U?this.h.U.u:void 0}back(){return this.h.W?this.h.W.u:void 0}insert(e,t){return this.M(e,void 0,t)}find(e){let t=this.I(this.Y,e);return new o(t,this.h,this)}lowerBound(e){let t=this.X(this.Y,e);return new o(t,this.h,this)}upperBound(e){let t=this.Z(this.Y,e);return new o(t,this.h,this)}reverseLowerBound(e){let t=this.$(this.Y,e);return new o(t,this.h,this)}reverseUpperBound(e){let t=this.rr(this.Y,e);return new o(t,this.h,this)}union(e){let t=this;return e.forEach((function(e){t.insert(e)})),this.i}[Symbol.iterator](){return this.K(this.Y)}};e.default=a})),Zi=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=i(Fi()),n=i($i()),r=Li();function i(e){return e&&e.t?e:{default:e}}var o=class e extends n.default{constructor(e,t,n,r){super(e,t,r),this.container=n}get pointer(){this.o===this.h&&(0,r.throwIteratorAccessError)();let e=this;return new Proxy([],{get(t,n){return"0"===n?e.o.u:"1"===n?e.o.l:void 0},set(t,n,r){if("1"!==n)throw new TypeError("props must be 1");return e.o.l=r,!0}})}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},a=class extends t.default{constructor(e=[],t,n){super(t,n);let r=this;e.forEach((function(e){r.setElement(e[0],e[1])}))}*K(e){void 0!==e&&(yield*this.K(e.U),yield[e.u,e.l],yield*this.K(e.W))}begin(){return new o(this.h.U||this.h,this.h,this)}end(){return new o(this.h,this.h,this)}rBegin(){return new o(this.h.W||this.h,this.h,this,1)}rEnd(){return new o(this.h,this.h,this,1)}front(){if(0===this.i)return;let e=this.h.U;return[e.u,e.l]}back(){if(0===this.i)return;let e=this.h.W;return[e.u,e.l]}lowerBound(e){let t=this.X(this.Y,e);return new o(t,this.h,this)}upperBound(e){let t=this.Z(this.Y,e);return new o(t,this.h,this)}reverseLowerBound(e){let t=this.$(this.Y,e);return new o(t,this.h,this)}reverseUpperBound(e){let t=this.rr(this.Y,e);return new o(t,this.h,this)}setElement(e,t,n){return this.M(e,t,n)}find(e){let t=this.I(this.Y,e);return new o(t,this.h,this)}getElementByKey(e){return this.I(this.Y,e).l}union(e){let t=this;return e.forEach((function(e){t.setElement(e[0],e[1])})),this.i}[Symbol.iterator](){return this.K(this.Y)}};e.default=a})),zi=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=function(e){let t=typeof e;return"object"===t&&null!==e||"function"===t}})),Hi=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.HashContainerIterator=e.HashContainer=void 0;var t,n=Oi(),r=(t=zi())&&t.t?t:{default:t},i=Li();var o=class extends n.ContainerIterator{constructor(e,t,n){super(n),this.o=e,this.h=t,0===this.iteratorType?(this.pre=function(){return this.o.L===this.h&&(0,i.throwIteratorAccessError)(),this.o=this.o.L,this},this.next=function(){return this.o===this.h&&(0,i.throwIteratorAccessError)(),this.o=this.o.B,this}):(this.pre=function(){return this.o.B===this.h&&(0,i.throwIteratorAccessError)(),this.o=this.o.B,this},this.next=function(){return this.o===this.h&&(0,i.throwIteratorAccessError)(),this.o=this.o.L,this})}};e.HashContainerIterator=o;var a=class extends n.Container{constructor(){super(),this.H=[],this.g={},this.HASH_TAG=Symbol("@@HASH_TAG"),Object.setPrototypeOf(this.g,null),this.h={},this.h.L=this.h.B=this.p=this._=this.h}V(e){let{L:t,B:n}=e;t.B=n,n.L=t,e===this.p&&(this.p=n),e===this._&&(this._=t),this.i-=1}M(e,t,n){let i;if(void 0===n&&(n=(0,r.default)(e)),n){let n=e[this.HASH_TAG];if(void 0!==n)return this.H[n].l=t,this.i;Object.defineProperty(e,this.HASH_TAG,{value:this.H.length,configurable:!0}),i={u:e,l:t,L:this._,B:this.h},this.H.push(i)}else{let n=this.g[e];if(n)return n.l=t,this.i;i={u:e,l:t,L:this._,B:this.h},this.g[e]=i}return 0===this.i?(this.p=i,this.h.B=i):this._.B=i,this._=i,this.h.L=i,++this.i}I(e,t){if(void 0===t&&(t=(0,r.default)(e)),t){let t=e[this.HASH_TAG];return void 0===t?this.h:this.H[t]}return this.g[e]||this.h}clear(){let e=this.HASH_TAG;this.H.forEach((function(t){delete t.u[e]})),this.H=[],this.g={},Object.setPrototypeOf(this.g,null),this.i=0,this.p=this._=this.h.L=this.h.B=this.h}eraseElementByKey(e,t){let n;if(void 0===t&&(t=(0,r.default)(e)),t){let t=e[this.HASH_TAG];if(void 0===t)return!1;delete e[this.HASH_TAG],n=this.H[t],delete this.H[t]}else{if(n=this.g[e],void 0===n)return!1;delete this.g[e]}return this.V(n),!0}eraseElementByIterator(e){let t=e.o;return t===this.h&&(0,i.throwIteratorAccessError)(),this.V(t),e.next()}eraseElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return this.V(t),this.i}};e.HashContainer=a})),Wi=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t=Hi(),n=Li(),r=class e extends t.HashContainerIterator{constructor(e,t,n,r){super(e,t,r),this.container=n}get pointer(){return this.o===this.h&&(0,n.throwIteratorAccessError)(),this.o.u}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},i=class extends t.HashContainer{constructor(e=[]){super();let t=this;e.forEach((function(e){t.insert(e)}))}begin(){return new r(this.p,this.h,this)}end(){return new r(this.h,this.h,this)}rBegin(){return new r(this._,this.h,this,1)}rEnd(){return new r(this.h,this.h,this,1)}front(){return this.p.u}back(){return this._.u}insert(e,t){return this.M(e,void 0,t)}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return t.u}find(e,t){let n=this.I(e,t);return new r(n,this.h,this)}forEach(e){let t=0,n=this.p;for(;n!==this.h;)e(n.u,t++,this),n=n.B}[Symbol.iterator](){return function*(){let e=this.p;for(;e!==this.h;)yield e.u,e=e.B}.bind(this)()}};e.default=i})),Vi=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),e.default=void 0;var t,n=Hi(),r=(t=zi())&&t.t?t:{default:t},i=Li();var o=class e extends n.HashContainerIterator{constructor(e,t,n,r){super(e,t,r),this.container=n}get pointer(){this.o===this.h&&(0,i.throwIteratorAccessError)();let e=this;return new Proxy([],{get(t,n){return"0"===n?e.o.u:"1"===n?e.o.l:void 0},set(t,n,r){if("1"!==n)throw new TypeError("props must be 1");return e.o.l=r,!0}})}copy(){return new e(this.o,this.h,this.container,this.iteratorType)}},a=class extends n.HashContainer{constructor(e=[]){super();let t=this;e.forEach((function(e){t.setElement(e[0],e[1])}))}begin(){return new o(this.p,this.h,this)}end(){return new o(this.h,this.h,this)}rBegin(){return new o(this._,this.h,this,1)}rEnd(){return new o(this.h,this.h,this,1)}front(){if(0!==this.i)return[this.p.u,this.p.l]}back(){if(0!==this.i)return[this._.u,this._.l]}setElement(e,t,n){return this.M(e,t,n)}getElementByKey(e,t){if(void 0===t&&(t=(0,r.default)(e)),t){let t=e[this.HASH_TAG];return void 0!==t?this.H[t].l:void 0}let n=this.g[e];return n?n.l:void 0}getElementByPos(e){if(e<0||e>this.i-1)throw new RangeError;let t=this.p;for(;e--;)t=t.B;return[t.u,t.l]}find(e,t){let n=this.I(e,t);return new o(n,this.h,this)}forEach(e){let t=0,n=this.p;for(;n!==this.h;)e([n.u,n.l],t++,this),n=n.B}[Symbol.iterator](){return function*(){let e=this.p;for(;e!==this.h;)yield[e.u,e.l],e=e.B}.bind(this)()}};e.default=a})),Gi=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"t",{value:!0}),Object.defineProperty(e,"Deque",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"HashMap",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(e,"HashSet",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"LinkList",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"OrderedMap",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"OrderedSet",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"PriorityQueue",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(e,"Queue",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"Stack",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(e,"Vector",{enumerable:!0,get:function(){return i.default}});var t=d(Ri()),n=d(Pi()),r=d(Ii()),i=d(Di()),o=d(ji()),a=d(Bi()),s=d(Ui()),l=d(Zi()),c=d(Wi()),u=d(Vi());function d(e){return e&&e.t?e:{default:e}}})),Ki=V(((e,t)=>{Y(),$t(),_t();var n=Gi().OrderedSet,r=di()("number-allocator:trace"),i=di()("number-allocator:error");function o(e,t){this.low=e,this.high=t}function a(e,t){if(!(this instanceof a))return new a(e,t);this.min=e,this.max=t,this.ss=new n([],((e,t)=>e.compare(t))),r("Create"),this.clear()}o.prototype.equals=function(e){return this.low===e.low&&this.high===e.high},o.prototype.compare=function(e){return this.lowe)&&(i===e?(this.ss.updateKeyByIterator(n,new o(i+1,a)),r("use():"+e),!0):a===e?(this.ss.updateKeyByIterator(n,new o(i,a-1)),r("use():"+e),!0):(this.ss.updateKeyByIterator(n,new o(e+1,a)),this.ss.insert(new o(i,e-1)),r("use():"+e),!0))}return r("use():failed"),!1},a.prototype.free=function(e){if(ethis.max)return void i("free():"+e+" is out of range");let t=new o(e,e),n=this.ss.upperBound(t);if(n.equals(this.ss.end())){if(n.equals(this.ss.begin()))return void this.ss.insert(t);n.pre();let r=n.pointer.high;n.pointer.high+1===e?this.ss.updateKeyByIterator(n,new o(r,e)):this.ss.insert(t)}else if(n.equals(this.ss.begin()))if(e+1===n.pointer.low){let t=n.pointer.high;this.ss.updateKeyByIterator(n,new o(e,t))}else this.ss.insert(t);else{let r=n.pointer.low,i=n.pointer.high;n.pre();let a=n.pointer.low;n.pointer.high+1===e?e+1===r?(this.ss.eraseElementByIterator(n),this.ss.updateKeyByIterator(n,new o(a,i))):this.ss.updateKeyByIterator(n,new o(a,e)):e+1===r?(this.ss.eraseElementByIterator(n.next()),this.ss.insert(new o(e,i))):this.ss.insert(t)}r("free():"+e)},a.prototype.clear=function(){r("clear()"),this.ss.clear(),this.ss.insert(new o(this.min,this.max))},a.prototype.intervalCount=function(){return this.ss.size()},a.prototype.dump=function(){console.log("length:"+this.ss.size());for(let e of this.ss)console.log(e)},t.exports=a})),Yi=V(((e,t)=>{Y(),$t(),_t();var n=Ki();t.exports.NumberAllocator=n})),Xi=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0});var t=Ai(),n=Yi();e.default=class{constructor(e){e>0&&(this.aliasToTopic=new t.LRUCache({max:e}),this.topicToAlias={},this.numberAllocator=new n.NumberAllocator(1,e),this.max=e,this.length=0)}put(e,t){if(0===t||t>this.max)return!1;let n=this.aliasToTopic.get(t);return n&&delete this.topicToAlias[n],this.aliasToTopic.set(t,e),this.topicToAlias[e]=t,this.numberAllocator.use(t),this.length=this.aliasToTopic.size,!0}getTopicByAlias(e){return this.aliasToTopic.get(e)}getAliasByTopic(e){let t=this.topicToAlias[e];return typeof t<"u"&&this.aliasToTopic.get(t),t}clear(){this.aliasToTopic.clear(),this.topicToAlias={},this.numberAllocator.clear(),this.length=0}getLruAlias(){return this.numberAllocator.firstVacant()||[...this.aliasToTopic.keys()][this.aliasToTopic.size-1]}}})),Qi=V((e=>{Y(),$t(),_t();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var n=Ti(),r=t(Xi()),i=Ci();e.default=(e,t)=>{e.log("_handleConnack");let{options:o}=e,a=5===o.protocolVersion?t.reasonCode:t.returnCode;if(clearTimeout(e.connackTimer),delete e.topicAliasSend,t.properties){if(t.properties.topicAliasMaximum){if(t.properties.topicAliasMaximum>65535)return void e.emit("error",new Error("topicAliasMaximum from broker is out of range"));t.properties.topicAliasMaximum>0&&(e.topicAliasSend=new r.default(t.properties.topicAliasMaximum))}t.properties.serverKeepAlive&&o.keepalive&&(o.keepalive=t.properties.serverKeepAlive),t.properties.maximumPacketSize&&(o.properties||(o.properties={}),o.properties.maximumPacketSize=t.properties.maximumPacketSize)}if(0===a)e.reconnecting=!1,e._onConnect(t);else if(a>0){let t=new i.ErrorWithReasonCode(`Connection refused: ${n.ReasonCodes[a]}`,a);e.emit("error",t),e.options.reconnectOnConnackError&&e._cleanUp(!0)}}})),Ji=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0});e.default=(e,t,n)=>{e.log("handling pubrel packet");let r=typeof n<"u"?n:e.noop,{messageId:i}=t,o={cmd:"pubcomp",messageId:i};e.incomingStore.get(t,((t,n)=>{t?e._sendPacket(o,r):(e.emit("message",n.topic,n.payload,n),e.handleMessage(n,(t=>{if(t)return r(t);e.incomingStore.del(n,e.noop),e._sendPacket(o,r)})))}))}})),eo=V((e=>{Y(),$t(),_t();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var n=t(Si()),r=t(_i()),i=t(Qi()),o=t(Ti()),a=t(Ji());e.default=(e,t,s)=>{let{options:l}=e;if(5===l.protocolVersion&&l.properties&&l.properties.maximumPacketSize&&l.properties.maximumPacketSize{Y(),$t(),_t();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.TypedEventEmitter=void 0;var n=t((Sn(),K(gn))),r=Ci(),i=class{};e.TypedEventEmitter=i,(0,r.applyMixin)(i,n.default)})),no=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0}),e.isReactNativeBrowser=e.isWebWorker=void 0;var t,n=()=>{var e,t;return!("object"!=typeof self||null===(t=null===(e=self?.constructor)||void 0===e?void 0:e.name)||void 0===t||!t.includes("WorkerGlobalScope"))},r=()=>typeof navigator<"u"&&"ReactNative"===navigator.product,i=typeof window<"u"&&(typeof navigator<"u"&&(null===(t=navigator.userAgent)||void 0===t?void 0:t.toLowerCase().indexOf(" electron/"))>-1&&null!=X&&X.versions?!Object.prototype.hasOwnProperty.call(X.versions,"electron"):typeof window.document<"u")||n()||r();e.isWebWorker=n(),e.isReactNativeBrowser=r(),e.default=i})),ro=V(((e,t)=>{var r,i;Y(),$t(),_t(),r=e,i=function(e){var t=void 0===Number.MAX_SAFE_INTEGER?9007199254740991:Number.MAX_SAFE_INTEGER,n=536870912,r=2*n,i=new WeakMap,o=function(e){return function(t,n){return e.set(t,n),n}}(i),a=function(e,i){return function(o){var a=i.get(o),s=void 0===a?o.size:at)throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");for(;o.has(s);)s=Math.floor(Math.random()*t);return e(o,s)}}(o,i),s=function(e){return function(t){var n=e(t);return t.add(n),n}}(a);e.addUniqueNumber=s,e.generateUniqueNumber=a},"object"==typeof e&&typeof t<"u"?i(e):"function"==typeof define&&n.amdO?define(["exports"],i):i((r=typeof globalThis<"u"?globalThis:r||self).fastUniqueNumbers={})})),io=V(((e,t)=>{var r,i;Y(),$t(),_t(),r=e,i=function(e,t){e.load=function(e){var n=new Map([[0,function(){}]]),r=new Map([[0,function(){}]]),i=new Map,o=new Worker(e);return o.addEventListener("message",(function(e){var t=e.data;if(function(e){return void 0!==e.method&&"call"===e.method}(t)){var o=t.params,a=o.timerId,s=o.timerType;if("interval"===s){var l=n.get(a);if("number"==typeof l){var c=i.get(l);if(void 0===c||c.timerId!==a||c.timerType!==s)throw new Error("The timer is in an undefined state.")}else{if(!(typeof l<"u"))throw new Error("The timer is in an undefined state.");l()}}else if("timeout"===s){var u=r.get(a);if("number"==typeof u){var d=i.get(u);if(void 0===d||d.timerId!==a||d.timerType!==s)throw new Error("The timer is in an undefined state.")}else{if(!(typeof u<"u"))throw new Error("The timer is in an undefined state.");u(),r.delete(a)}}}else{if(!function(e){return null===e.error&&"number"==typeof e.id}(t)){var f=t.error.message;throw new Error(f)}var p=t.id,h=i.get(p);if(void 0===h)throw new Error("The timer is in an undefined state.");var m=h.timerId,g=h.timerType;i.delete(p),"interval"===g?n.delete(m):r.delete(m)}})),{clearInterval:function(e){var r=t.generateUniqueNumber(i);i.set(r,{timerId:e,timerType:"interval"}),n.set(e,r),o.postMessage({id:r,method:"clear",params:{timerId:e,timerType:"interval"}})},clearTimeout:function(e){var n=t.generateUniqueNumber(i);i.set(n,{timerId:e,timerType:"timeout"}),r.set(e,n),o.postMessage({id:n,method:"clear",params:{timerId:e,timerType:"timeout"}})},setInterval:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=t.generateUniqueNumber(n);return n.set(i,(function(){e(),"function"==typeof n.get(i)&&o.postMessage({id:null,method:"set",params:{delay:r,now:performance.now(),timerId:i,timerType:"interval"}})})),o.postMessage({id:null,method:"set",params:{delay:r,now:performance.now(),timerId:i,timerType:"interval"}}),i},setTimeout:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=t.generateUniqueNumber(r);return r.set(i,e),o.postMessage({id:null,method:"set",params:{delay:n,now:performance.now(),timerId:i,timerType:"timeout"}}),i}}}},"object"==typeof e&&typeof t<"u"?i(e,ro()):"function"==typeof define&&n.amdO?define(["exports","fast-unique-numbers"],i):i((r=typeof globalThis<"u"?globalThis:r||self).workerTimersBroker={},r.fastUniqueNumbers)})),oo=V(((e,t)=>{var r,i;Y(),$t(),_t(),r=e,i=function(e,t){var n=function(e,t){var n=null;return function(){if(null!==n)return n;var r=new Blob([t],{type:"application/javascript; charset=utf-8"}),i=URL.createObjectURL(r);return n=e(i),setTimeout((function(){return URL.revokeObjectURL(i)})),n}}(t.load,'(()=>{var e={472:(e,t,r)=>{var o,i;void 0===(i="function"==typeof(o=function(){"use strict";var e=new Map,t=new Map,r=function(t){var r=e.get(t);if(void 0===r)throw new Error(\'There is no interval scheduled with the given id "\'.concat(t,\'".\'));clearTimeout(r),e.delete(t)},o=function(e){var r=t.get(e);if(void 0===r)throw new Error(\'There is no timeout scheduled with the given id "\'.concat(e,\'".\'));clearTimeout(r),t.delete(e)},i=function(e,t){var r,o=performance.now();return{expected:o+(r=e-Math.max(0,o-t)),remainingDelay:r}},n=function e(t,r,o,i){var n=performance.now();n>o?postMessage({id:null,method:"call",params:{timerId:r,timerType:i}}):t.set(r,setTimeout(e,o-n,t,r,o,i))},a=function(t,r,o){var a=i(t,o),s=a.expected,d=a.remainingDelay;e.set(r,setTimeout(n,d,e,r,s,"interval"))},s=function(e,r,o){var a=i(e,o),s=a.expected,d=a.remainingDelay;t.set(r,setTimeout(n,d,t,r,s,"timeout"))};addEventListener("message",(function(e){var t=e.data;try{if("clear"===t.method){var i=t.id,n=t.params,d=n.timerId,c=n.timerType;if("interval"===c)r(d),postMessage({error:null,id:i});else{if("timeout"!==c)throw new Error(\'The given type "\'.concat(c,\'" is not supported\'));o(d),postMessage({error:null,id:i})}}else{if("set"!==t.method)throw new Error(\'The given method "\'.concat(t.method,\'" is not supported\'));var u=t.params,l=u.delay,p=u.now,m=u.timerId,v=u.timerType;if("interval"===v)a(l,m,p);else{if("timeout"!==v)throw new Error(\'The given type "\'.concat(v,\'" is not supported\'));s(l,m,p)}}}catch(e){postMessage({error:{message:e.message},id:t.id,result:null})}}))})?o.call(t,r,t,e):o)||(e.exports=i)}},t={};function r(o){var i=t[o];if(void 0!==i)return i.exports;var n=t[o]={exports:{}};return e[o](n,n.exports,r),n.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";r(472)})()})();');e.clearInterval=function(e){return n().clearInterval(e)},e.clearTimeout=function(e){return n().clearTimeout(e)},e.setInterval=function(){var e;return(e=n()).setInterval.apply(e,arguments)},e.setTimeout=function(){var e;return(e=n()).setTimeout.apply(e,arguments)}},"object"==typeof e&&typeof t<"u"?i(e,io()):"function"==typeof define&&n.amdO?define(["exports","worker-timers-broker"],i):i((r=typeof globalThis<"u"?globalThis:r||self).workerTimers={},r.workerTimersBroker)})),ao=V((e=>{Y(),$t(),_t();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,"__esModule",{value:!0});var i=r(no()),o=oo(),a={set:o.setInterval,clear:o.clearInterval},s={set:(e,t)=>setInterval(e,t),clear:e=>clearInterval(e)};e.default=e=>{switch(e){case"native":return s;case"worker":return a;default:return!i.default||i.isWebWorker||i.isReactNativeBrowser?s:a}}})),so=V((e=>{Y(),$t(),_t();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var n=t(ao());e.default=class{get keepaliveTimeoutTimestamp(){return this._keepaliveTimeoutTimestamp}get intervalEvery(){return this._intervalEvery}get keepalive(){return this._keepalive}constructor(e,t){this.destroyed=!1,this.client=e,this.timer="object"==typeof t&&"set"in t&&"clear"in t?t:(0,n.default)(t),this.setKeepalive(e.options.keepalive)}clear(){this.timerId&&(this.timer.clear(this.timerId),this.timerId=null)}setKeepalive(e){if(e*=1e3,isNaN(e)||e<=0||e>2147483647)throw new Error(`Keepalive value must be an integer between 0 and 2147483647. Provided value is ${e}`);this._keepalive=e,this.reschedule(),this.client.log(`KeepaliveManager: set keepalive to ${e}ms`)}destroy(){this.clear(),this.destroyed=!0}reschedule(){if(this.destroyed)return;this.clear(),this.counter=0;let e=Math.ceil(1.5*this._keepalive);this._keepaliveTimeoutTimestamp=Date.now()+e,this._intervalEvery=Math.ceil(this._keepalive/2),this.timerId=this.timer.set((()=>{this.destroyed||(this.counter+=1,2===this.counter?this.client.sendPing():this.counter>2&&this.client.onKeepaliveTimeout())}),this._intervalEvery)}}})),lo=V((e=>{Y(),$t(),_t();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var o=i(Ut()),a=i(yi()),s=i(vi()),l=ri(),c=i(wi()),u=r(ki()),d=i(di()),f=i(Ei()),p=i(eo()),h=Ci(),m=to(),g=i(so()),y=r(no()),v=globalThis.setImmediate||((...e)=>{let t=e.shift();(0,h.nextTick)((()=>{t(...e)}))}),b={keepalive:60,reschedulePings:!0,protocolId:"MQTT",protocolVersion:4,reconnectPeriod:1e3,connectTimeout:3e4,clean:!0,resubscribe:!0,writeCache:!0,timerVariant:"auto"},w=class e extends m.TypedEventEmitter{static defaultId(){return`mqttjs_${Math.random().toString(16).substr(2,8)}`}constructor(t,n){super(),this.options=n||{};for(let e in b)typeof this.options[e]>"u"?this.options[e]=b[e]:this.options[e]=n[e];this.log=this.options.log||(0,d.default)("mqttjs:client"),this.noop=this._noop.bind(this),this.log("MqttClient :: version:",e.VERSION),y.isWebWorker?this.log("MqttClient :: environment","webworker"):this.log("MqttClient :: environment",y.default?"browser":"node"),this.log("MqttClient :: options.protocol",n.protocol),this.log("MqttClient :: options.protocolVersion",n.protocolVersion),this.log("MqttClient :: options.username",n.username),this.log("MqttClient :: options.keepalive",n.keepalive),this.log("MqttClient :: options.reconnectPeriod",n.reconnectPeriod),this.log("MqttClient :: options.rejectUnauthorized",n.rejectUnauthorized),this.log("MqttClient :: options.properties.topicAliasMaximum",n.properties?n.properties.topicAliasMaximum:void 0),this.options.clientId="string"==typeof n.clientId?n.clientId:e.defaultId(),this.log("MqttClient :: clientId",this.options.clientId),this.options.customHandleAcks=5===n.protocolVersion&&n.customHandleAcks?n.customHandleAcks:(...e)=>{e[3](null,0)},this.options.writeCache||(a.default.writeToStream.cacheNumbers=!1),this.streamBuilder=t,this.messageIdProvider=typeof this.options.messageIdProvider>"u"?new s.default:this.options.messageIdProvider,this.outgoingStore=n.outgoingStore||new f.default,this.incomingStore=n.incomingStore||new f.default,this.queueQoSZero=void 0===n.queueQoSZero||n.queueQoSZero,this._resubscribeTopics={},this.messageIdToTopic={},this.keepaliveManager=null,this.connected=!1,this.disconnecting=!1,this.reconnecting=!1,this.queue=[],this.connackTimer=null,this.reconnectTimer=null,this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={},this._storeProcessingQueue=[],this.outgoing={},this._firstConnection=!0,n.properties&&n.properties.topicAliasMaximum>0&&(n.properties.topicAliasMaximum>65535?this.log("MqttClient :: options.properties.topicAliasMaximum is out of range"):this.topicAliasRecv=new o.default(n.properties.topicAliasMaximum)),this.on("connect",(()=>{let{queue:e}=this,t=()=>{let n=e.shift();this.log("deliver :: entry %o",n);let r=null;if(!n)return void this._resubscribe();r=n.packet,this.log("deliver :: call _sendPacket for %o",r);let i=!0;r.messageId&&0!==r.messageId&&(this.messageIdProvider.register(r.messageId)||(i=!1)),i?this._sendPacket(r,(e=>{n.cb&&n.cb(e),t()})):(this.log("messageId: %d has already used. The message is skipped and removed.",r.messageId),t())};this.log("connect :: sending queued packets"),t()})),this.on("close",(()=>{this.log("close :: connected set to `false`"),this.connected=!1,this.log("close :: clearing connackTimer"),clearTimeout(this.connackTimer),this._destroyKeepaliveManager(),this.topicAliasRecv&&this.topicAliasRecv.clear(),this.log("close :: calling _setupReconnect"),this._setupReconnect()})),this.options.manualConnect||(this.log("MqttClient :: setting up stream"),this.connect())}handleAuth(e,t){t()}handleMessage(e,t){t()}_nextId(){return this.messageIdProvider.allocate()}getLastMessageId(){return this.messageIdProvider.getLastAllocated()}connect(){var e;let t=new l.Writable,n=a.default.parser(this.options),r=null,i=[];this.log("connect :: calling method to clear reconnect"),this._clearReconnect(),this.disconnected&&!this.reconnecting&&(this.incomingStore=this.options.incomingStore||new f.default,this.outgoingStore=this.options.outgoingStore||new f.default,this.disconnecting=!1,this.disconnected=!1),this.log("connect :: using streamBuilder provided to client to create stream"),this.stream=this.streamBuilder(this),n.on("packet",(e=>{this.log("parser :: on packet push to packets array."),i.push(e)}));let o=()=>{this.log("work :: getting next packet in queue");let e=i.shift();if(e)this.log("work :: packet pulled from queue"),(0,p.default)(this,e,s);else{this.log("work :: no packets in queue");let e=r;r=null,this.log("work :: done flag is %s",!!e),e&&e()}},s=()=>{if(i.length)(0,h.nextTick)(o);else{let e=r;r=null,e()}};t._write=(e,t,i)=>{r=i,this.log("writable stream :: parsing buffer"),n.parse(e),o()};this.log("connect :: pipe stream to writable stream"),this.stream.pipe(t),this.stream.on("error",(e=>{this.log("streamErrorHandler :: error",e.message),e.code?(this.log("streamErrorHandler :: emitting error"),this.emit("error",e)):this.noop(e)})),this.stream.on("close",(()=>{this.log("(%s)stream :: on close",this.options.clientId),this._flushVolatile(),this.log("stream: emit close to MqttClient"),this.emit("close")})),this.log("connect: sending packet `connect`");let c={cmd:"connect",protocolId:this.options.protocolId,protocolVersion:this.options.protocolVersion,clean:this.options.clean,clientId:this.options.clientId,keepalive:this.options.keepalive,username:this.options.username,password:this.options.password,properties:this.options.properties};if(this.options.will&&(c.will=Object.assign(Object.assign({},this.options.will),{payload:null===(e=this.options.will)||void 0===e?void 0:e.payload})),this.topicAliasRecv&&(c.properties||(c.properties={}),this.topicAliasRecv&&(c.properties.topicAliasMaximum=this.topicAliasRecv.max)),this._writePacket(c),n.on("error",this.emit.bind(this,"error")),this.options.properties){if(!this.options.properties.authenticationMethod&&this.options.properties.authenticationData)return this.end((()=>this.emit("error",new Error("Packet has no Authentication Method")))),this;if(this.options.properties.authenticationMethod&&this.options.authPacket&&"object"==typeof this.options.authPacket){let e=Object.assign({cmd:"auth",reasonCode:0},this.options.authPacket);this._writePacket(e)}}return this.stream.setMaxListeners(1e3),clearTimeout(this.connackTimer),this.connackTimer=setTimeout((()=>{this.log("!!connectTimeout hit!! Calling _cleanUp with force `true`"),this.emit("error",new Error("connack timeout")),this._cleanUp(!0)}),this.options.connectTimeout),this}publish(e,t,n,r){this.log("publish :: message `%s` to topic `%s`",t,e);let{options:i}=this;"function"==typeof n&&(r=n,n=null),n=n||{},n=Object.assign(Object.assign({},{qos:0,retain:!1,dup:!1}),n);let{qos:o,retain:a,dup:s,properties:l,cbStorePut:c}=n;if(this._checkDisconnecting(r))return this;let u=()=>{let n=0;if((1===o||2===o)&&(n=this._nextId(),null===n))return this.log("No messageId left"),!1;let u={cmd:"publish",topic:e,payload:t,qos:o,retain:a,messageId:n,dup:s};switch(5===i.protocolVersion&&(u.properties=l),this.log("publish :: qos",o),o){case 1:case 2:this.outgoing[u.messageId]={volatile:!1,cb:r||this.noop},this.log("MqttClient:publish: packet cmd: %s",u.cmd),this._sendPacket(u,void 0,c);break;default:this.log("MqttClient:publish: packet cmd: %s",u.cmd),this._sendPacket(u,r,c)}return!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!u())&&this._storeProcessingQueue.push({invoke:u,cbStorePut:n.cbStorePut,callback:r}),this}publishAsync(e,t,n){return new Promise(((r,i)=>{this.publish(e,t,n,((e,t)=>{e?i(e):r(t)}))}))}subscribe(e,t,n){let r=this.options.protocolVersion;"function"==typeof t&&(n=t),n=n||this.noop;let i=!1,o=[];"string"==typeof e?o=e=[e]:Array.isArray(e)?o=e:"object"==typeof e&&(i=e.resubscribe,delete e.resubscribe,o=Object.keys(e));let a=u.validateTopics(o);if(null!==a)return v(n,new Error(`Invalid topic ${a}`)),this;if(this._checkDisconnecting(n))return this.log("subscribe: discconecting true"),this;let s={qos:0};5===r&&(s.nl=!1,s.rap=!1,s.rh=0);let l=(t=Object.assign(Object.assign({},s),t)).properties,c=[],d=(e,n)=>{if(n=n||t,!Object.prototype.hasOwnProperty.call(this._resubscribeTopics,e)||this._resubscribeTopics[e].qos{this.log("subscribe: array topic %s",e),d(e)})):Object.keys(e).forEach((t=>{this.log("subscribe: object topic %s, %o",t,e[t]),d(t,e[t])})),!c.length)return n(null,[]),this;let f=()=>{let e=this._nextId();if(null===e)return this.log("No messageId left"),!1;let t={cmd:"subscribe",subscriptions:c,messageId:e};if(l&&(t.properties=l),this.options.resubscribe){this.log("subscribe :: resubscribe true");let e=[];c.forEach((t=>{if(this.options.reconnectPeriod>0){let n={qos:t.qos};5===r&&(n.nl=t.nl||!1,n.rap=t.rap||!1,n.rh=t.rh||0,n.properties=t.properties),this._resubscribeTopics[t.topic]=n,e.push(t.topic)}})),this.messageIdToTopic[t.messageId]=e}return this.outgoing[t.messageId]={volatile:!0,cb(e,t){if(!e){let{granted:e}=t;for(let t=0;t0||!f())&&this._storeProcessingQueue.push({invoke:f,callback:n}),this}subscribeAsync(e,t){return new Promise(((n,r)=>{this.subscribe(e,t,((e,t)=>{e?r(e):n(t)}))}))}unsubscribe(e,t,n){"string"==typeof e&&(e=[e]),"function"==typeof t&&(n=t),n=n||this.noop;let r=u.validateTopics(e);if(null!==r)return v(n,new Error(`Invalid topic ${r}`)),this;if(this._checkDisconnecting(n))return this;let i=()=>{let r=this._nextId();if(null===r)return this.log("No messageId left"),!1;let i={cmd:"unsubscribe",messageId:r,unsubscriptions:[]};return"string"==typeof e?i.unsubscriptions=[e]:Array.isArray(e)&&(i.unsubscriptions=e),this.options.resubscribe&&i.unsubscriptions.forEach((e=>{delete this._resubscribeTopics[e]})),"object"==typeof t&&t.properties&&(i.properties=t.properties),this.outgoing[i.messageId]={volatile:!0,cb:n},this.log("unsubscribe: call _sendPacket"),this._sendPacket(i),!0};return(this._storeProcessing||this._storeProcessingQueue.length>0||!i())&&this._storeProcessingQueue.push({invoke:i,callback:n}),this}unsubscribeAsync(e,t){return new Promise(((n,r)=>{this.unsubscribe(e,t,((e,t)=>{e?r(e):n(t)}))}))}end(e,t,n){this.log("end :: (%s)",this.options.clientId),(null==e||"boolean"!=typeof e)&&(n=n||t,t=e,e=!1),"object"!=typeof t&&(n=n||t,t=null),this.log("end :: cb? %s",!!n),(!n||"function"!=typeof n)&&(n=this.noop);let r=()=>{this.log("end :: closeStores: closing incoming and outgoing stores"),this.disconnected=!0,this.incomingStore.close((e=>{this.outgoingStore.close((t=>{if(this.log("end :: closeStores: emitting end"),this.emit("end"),n){let r=e||t;this.log("end :: closeStores: invoking callback with args"),n(r)}}))})),this._deferredReconnect?this._deferredReconnect():(0===this.options.reconnectPeriod||this.options.manualConnect)&&(this.disconnecting=!1)},i=()=>{this.log("end :: (%s) :: finish :: calling _cleanUp with force %s",this.options.clientId,e),this._cleanUp(e,(()=>{this.log("end :: finish :: calling process.nextTick on closeStores"),(0,h.nextTick)(r)}),t)};return this.disconnecting?(n(),this):(this._clearReconnect(),this.disconnecting=!0,!e&&Object.keys(this.outgoing).length>0?(this.log("end :: (%s) :: calling finish in 10ms once outgoing is empty",this.options.clientId),this.once("outgoingEmpty",setTimeout.bind(null,i,10))):(this.log("end :: (%s) :: immediately calling finish",this.options.clientId),i()),this)}endAsync(e,t){return new Promise(((n,r)=>{this.end(e,t,(e=>{e?r(e):n()}))}))}removeOutgoingMessage(e){if(this.outgoing[e]){let{cb:t}=this.outgoing[e];this._removeOutgoingAndStoreMessage(e,(()=>{t(new Error("Message removed"))}))}return this}reconnect(e){this.log("client reconnect");let t=()=>{e?(this.options.incomingStore=e.incomingStore,this.options.outgoingStore=e.outgoingStore):(this.options.incomingStore=null,this.options.outgoingStore=null),this.incomingStore=this.options.incomingStore||new f.default,this.outgoingStore=this.options.outgoingStore||new f.default,this.disconnecting=!1,this.disconnected=!1,this._deferredReconnect=null,this._reconnect()};return this.disconnecting&&!this.disconnected?this._deferredReconnect=t:t(),this}_flushVolatile(){this.outgoing&&(this.log("_flushVolatile :: deleting volatile messages from the queue and setting their callbacks as error function"),Object.keys(this.outgoing).forEach((e=>{this.outgoing[e].volatile&&"function"==typeof this.outgoing[e].cb&&(this.outgoing[e].cb(new Error("Connection closed")),delete this.outgoing[e])})))}_flush(){this.outgoing&&(this.log("_flush: queue exists? %b",!!this.outgoing),Object.keys(this.outgoing).forEach((e=>{"function"==typeof this.outgoing[e].cb&&(this.outgoing[e].cb(new Error("Connection closed")),delete this.outgoing[e])})))}_removeTopicAliasAndRecoverTopicName(e){let t;e.properties&&(t=e.properties.topicAlias);let n=e.topic.toString();if(this.log("_removeTopicAliasAndRecoverTopicName :: alias %d, topic %o",t,n),0===n.length){if(typeof t>"u")return new Error("Unregistered Topic Alias");if(n=this.topicAliasSend.getTopicByAlias(t),typeof n>"u")return new Error("Unregistered Topic Alias");e.topic=n}t&&delete e.properties.topicAlias}_checkDisconnecting(e){return this.disconnecting&&(e&&e!==this.noop?e(new Error("client disconnecting")):this.emit("error",new Error("client disconnecting"))),this.disconnecting}_reconnect(){this.log("_reconnect: emitting reconnect to client"),this.emit("reconnect"),this.connected?(this.end((()=>{this.connect()})),this.log("client already connected. disconnecting first.")):(this.log("_reconnect: calling connect"),this.connect())}_setupReconnect(){!this.disconnecting&&!this.reconnectTimer&&this.options.reconnectPeriod>0?(this.reconnecting||(this.log("_setupReconnect :: emit `offline` state"),this.emit("offline"),this.log("_setupReconnect :: set `reconnecting` to `true`"),this.reconnecting=!0),this.log("_setupReconnect :: setting reconnectTimer for %d ms",this.options.reconnectPeriod),this.reconnectTimer=setInterval((()=>{this.log("reconnectTimer :: reconnect triggered!"),this._reconnect()}),this.options.reconnectPeriod)):this.log("_setupReconnect :: doing nothing...")}_clearReconnect(){this.log("_clearReconnect : clearing reconnect timer"),this.reconnectTimer&&(clearInterval(this.reconnectTimer),this.reconnectTimer=null)}_cleanUp(e,t,n={}){if(t&&(this.log("_cleanUp :: done callback provided for on stream close"),this.stream.on("close",t)),this.log("_cleanUp :: forced? %s",e),e)0===this.options.reconnectPeriod&&this.options.clean&&this._flush(),this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),this.stream.destroy();else{let e=Object.assign({cmd:"disconnect"},n);this.log("_cleanUp :: (%s) :: call _sendPacket with disconnect packet",this.options.clientId),this._sendPacket(e,(()=>{this.log("_cleanUp :: (%s) :: destroying stream",this.options.clientId),v((()=>{this.stream.end((()=>{this.log("_cleanUp :: (%s) :: stream destroyed",this.options.clientId)}))}))}))}!this.disconnecting&&!this.reconnecting&&(this.log("_cleanUp :: client not disconnecting/reconnecting. Clearing and resetting reconnect."),this._clearReconnect(),this._setupReconnect()),this._destroyKeepaliveManager(),t&&!this.connected&&(this.log("_cleanUp :: (%s) :: removing stream `done` callback `close` listener",this.options.clientId),this.stream.removeListener("close",t),t())}_storeAndSend(e,t,n){this.log("storeAndSend :: store packet with cmd %s to outgoingStore",e.cmd);let r,i=e;if("publish"===i.cmd&&(i=(0,c.default)(e),r=this._removeTopicAliasAndRecoverTopicName(i),r))return t&&t(r);this.outgoingStore.put(i,(r=>{if(r)return t&&t(r);n(),this._writePacket(e,t)}))}_applyTopicAlias(e){if(5===this.options.protocolVersion&&"publish"===e.cmd){let t;e.properties&&(t=e.properties.topicAlias);let n=e.topic.toString();if(this.topicAliasSend)if(t){if(0!==n.length&&(this.log("applyTopicAlias :: register topic: %s - alias: %d",n,t),!this.topicAliasSend.put(n,t)))return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",n,t),new Error("Sending Topic Alias out of range")}else 0!==n.length&&(this.options.autoAssignTopicAlias?(t=this.topicAliasSend.getAliasByTopic(n),t?(e.topic="",e.properties=Object.assign(Object.assign({},e.properties),{topicAlias:t}),this.log("applyTopicAlias :: auto assign(use) topic: %s - alias: %d",n,t)):(t=this.topicAliasSend.getLruAlias(),this.topicAliasSend.put(n,t),e.properties=Object.assign(Object.assign({},e.properties),{topicAlias:t}),this.log("applyTopicAlias :: auto assign topic: %s - alias: %d",n,t))):this.options.autoUseTopicAlias&&(t=this.topicAliasSend.getAliasByTopic(n),t&&(e.topic="",e.properties=Object.assign(Object.assign({},e.properties),{topicAlias:t}),this.log("applyTopicAlias :: auto use topic: %s - alias: %d",n,t))));else if(t)return this.log("applyTopicAlias :: error out of range. topic: %s - alias: %d",n,t),new Error("Sending Topic Alias out of range")}}_noop(e){this.log("noop ::",e)}_writePacket(e,t){this.log("_writePacket :: packet: %O",e),this.log("_writePacket :: emitting `packetsend`"),this.emit("packetsend",e),this.log("_writePacket :: writing to stream");let n=a.default.writeToStream(e,this.stream,this.options);this.log("_writePacket :: writeToStream result %s",n),!n&&t&&t!==this.noop?(this.log("_writePacket :: handle events on `drain` once through callback."),this.stream.once("drain",t)):t&&(this.log("_writePacket :: invoking cb"),t())}_sendPacket(e,t,n,r){this.log("_sendPacket :: (%s) :: start",this.options.clientId),n=n||this.noop,t=t||this.noop;let i=this._applyTopicAlias(e);if(i)t(i);else{if(!this.connected)return"auth"===e.cmd?void this._writePacket(e,t):(this.log("_sendPacket :: client not connected. Storing packet offline."),void this._storePacket(e,t,n));if(r)this._writePacket(e,t);else{switch(e.cmd){case"publish":break;case"pubrel":return void this._storeAndSend(e,t,n);default:return void this._writePacket(e,t)}switch(e.qos){case 2:case 1:this._storeAndSend(e,t,n);break;default:this._writePacket(e,t)}this.log("_sendPacket :: (%s) :: end",this.options.clientId)}}}_storePacket(e,t,n){this.log("_storePacket :: packet: %o",e),this.log("_storePacket :: cb? %s",!!t),n=n||this.noop;let r=e;if("publish"===r.cmd){r=(0,c.default)(e);let n=this._removeTopicAliasAndRecoverTopicName(r);if(n)return t&&t(n)}let i=r.qos||0;0===i&&this.queueQoSZero||"publish"!==r.cmd?this.queue.push({packet:r,cb:t}):i>0?(t=this.outgoing[r.messageId]?this.outgoing[r.messageId].cb:null,this.outgoingStore.put(r,(e=>{if(e)return t&&t(e);n()}))):t&&t(new Error("No connection to broker"))}_setupKeepaliveManager(){this.log("_setupKeepaliveManager :: keepalive %d (seconds)",this.options.keepalive),!this.keepaliveManager&&this.options.keepalive&&(this.keepaliveManager=new g.default(this,this.options.timerVariant))}_destroyKeepaliveManager(){this.keepaliveManager&&(this.log("_destroyKeepaliveManager :: destroying keepalive manager"),this.keepaliveManager.destroy(),this.keepaliveManager=null)}reschedulePing(e=!1){this.keepaliveManager&&this.options.keepalive&&(e||this.options.reschedulePings)&&this._reschedulePing()}_reschedulePing(){this.log("_reschedulePing :: rescheduling ping"),this.keepaliveManager.reschedule()}sendPing(){this.log("_sendPing :: sending pingreq"),this._sendPacket({cmd:"pingreq"})}onKeepaliveTimeout(){this.emit("error",new Error("Keepalive timeout")),this.log("onKeepaliveTimeout :: calling _cleanUp with force true"),this._cleanUp(!0)}_resubscribe(){this.log("_resubscribe");let e=Object.keys(this._resubscribeTopics);if(!this._firstConnection&&(this.options.clean||this.options.protocolVersion>=4&&!this.connackPacket.sessionPresent)&&e.length>0)if(this.options.resubscribe)if(5===this.options.protocolVersion){this.log("_resubscribe: protocolVersion 5");for(let t=0;t{let n=this.outgoingStore.createStream(),r=()=>{n.destroy(),n=null,this._flushStoreProcessingQueue(),i()},i=()=>{this._storeProcessing=!1,this._packetIdsDuringStoreProcessing={}};this.once("close",r),n.on("error",(e=>{i(),this._flushStoreProcessingQueue(),this.removeListener("close",r),this.emit("error",e)}));let o=()=>{if(!n)return;let e,t=n.read(1);t?(this._storeProcessing=!0,this._packetIdsDuringStoreProcessing[t.messageId]?o():this.disconnecting||this.reconnectTimer?n.destroy&&n.destroy():(e=this.outgoing[t.messageId]?this.outgoing[t.messageId].cb:null,this.outgoing[t.messageId]={volatile:!1,cb(t,n){e&&e(t,n),o()}},this._packetIdsDuringStoreProcessing[t.messageId]=!0,this.messageIdProvider.register(t.messageId)?this._sendPacket(t,void 0,void 0,!0):this.log("messageId: %d has already used.",t.messageId))):n.once("readable",o)};n.on("end",(()=>{let n=!0;for(let e in this._packetIdsDuringStoreProcessing)if(!this._packetIdsDuringStoreProcessing[e]){n=!1;break}this.removeListener("close",r),n?(i(),this._invokeAllStoreProcessingQueue(),this.emit("connect",e)):t()})),o()};t()}_invokeStoreProcessingQueue(){if(!this._storeProcessing&&this._storeProcessingQueue.length>0){let e=this._storeProcessingQueue[0];if(e&&e.invoke())return this._storeProcessingQueue.shift(),!0}return!1}_invokeAllStoreProcessingQueue(){for(;this._invokeStoreProcessingQueue(););}_flushStoreProcessingQueue(){for(let e of this._storeProcessingQueue)e.cbStorePut&&e.cbStorePut(new Error("Connection closed")),e.callback&&e.callback(new Error("Connection closed"));this._storeProcessingQueue.splice(0)}_removeOutgoingAndStoreMessage(e,t){delete this.outgoing[e],this.outgoingStore.del({messageId:e},((n,r)=>{t(n,r),this.messageIdProvider.deallocate(e),this._invokeStoreProcessingQueue()}))}};w.VERSION=h.MQTTJS_VERSION,e.default=w})),co=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0});var t=Yi();e.default=class{constructor(){this.numberAllocator=new t.NumberAllocator(1,65535)}allocate(){return this.lastId=this.numberAllocator.alloc(),this.lastId}getLastAllocated(){return this.lastId}register(e){return this.numberAllocator.use(e)}deallocate(e){this.numberAllocator.free(e)}clear(){this.numberAllocator.clear()}}}));function uo(e){throw new RangeError(yo[e])}function fo(e,t){let n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]);let i=function(e,t){let n=[],r=e.length;for(;r--;)n[r]=t(e[r]);return n}((e=e.replace(go,".")).split("."),t).join(".");return r+i}function po(e){let t=[],n=0,r=e.length;for(;n=55296&&i<=56319&&n{Y(),$t(),_t(),ho=/^xn--/,mo=/[^\0-\x7E]/,go=/[\x2E\u3002\uFF0E\uFF61]/g,yo={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},vo=Math.floor,bo=String.fromCharCode,wo=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},ko=function(e,t,n){let r=0;for(e=n?vo(e/700):e>>1,e+=vo(e/t);e>455;r+=36)e=vo(e/35);return vo(r+36*e/(e+38))},Eo=function(e){let t=[],n=e.length,r=0,i=128,o=72,a=e.lastIndexOf("-");a<0&&(a=0);for(let n=0;n=128&&uo("not-basic"),t.push(e.charCodeAt(n));for(let l=a>0?a+1:0;l=n&&uo("invalid-input");let a=(s=e.charCodeAt(l++))-48<10?s-22:s-65<26?s-65:s-97<26?s-97:36;(a>=36||a>vo((2147483647-r)/t))&&uo("overflow"),r+=a*t;let c=i<=o?1:i>=o+26?26:i-o;if(avo(2147483647/u)&&uo("overflow"),t*=u}let c=t.length+1;o=ko(r-a,c,0==a),vo(r/c)>2147483647-i&&uo("overflow"),i+=vo(r/c),r%=c,t.splice(r++,0,i)}var s;return String.fromCodePoint(...t)},So=function(e){let t=[],n=(e=po(e)).length,r=128,i=0,o=72;for(let n of e)n<128&&t.push(bo(n));let a=t.length,s=a;for(a&&t.push("-");s=r&&tvo((2147483647-i)/l)&&uo("overflow"),i+=(n-r)*l,r=n;for(let n of e)if(n2147483647&&uo("overflow"),n==r){let e=i;for(let n=36;;n+=36){let r=n<=o?1:n>=o+26?26:n-o;if(eString.fromCodePoint(...e)},decode:Eo,encode:So,toASCII:function(e){return fo(e,(function(e){return mo.test(e)?"xn--"+So(e):e}))},toUnicode:function(e){return fo(e,(function(e){return ho.test(e)?Eo(e.slice(4).toLowerCase()):e}))}},xo.encode,xo.toASCII,xo.toUnicode,xo.ucs2,xo.version}));function To(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var _o,Ao,Oo,Ro,Po=W((()=>{Y(),$t(),_t(),_o=function(e,t,n,r){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var o=/\+/g;e=e.split(t);var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var s=e.length;a>0&&s>a&&(s=a);for(var l=0;l=0?(c=p.substr(0,h),u=p.substr(h+1)):(c=p,u=""),d=decodeURIComponent(c),f=decodeURIComponent(u),To(i,d)?Array.isArray(i[d])?i[d].push(f):i[d]=[i[d],f]:i[d]=f}return i},Ao=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},Oo=function(e,t,n,r){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(r){var i=encodeURIComponent(Ao(r))+n;return Array.isArray(e[r])?e[r].map((function(e){return i+encodeURIComponent(Ao(e))})).join(t):i+encodeURIComponent(Ao(e[r]))})).join(t):r?encodeURIComponent(Ao(r))+n+encodeURIComponent(Ao(e)):""},(Ro={}).decode=Ro.parse=_o,Ro.encode=Ro.stringify=Oo,Ro.decode,Ro.encode,Ro.parse,Ro.stringify}));function Io(){throw new Error("setTimeout has not been defined")}function Mo(){throw new Error("clearTimeout has not been defined")}function Lo(e){if(Fo===setTimeout)return setTimeout(e,0);if((Fo===Io||!Fo)&&setTimeout)return Fo=setTimeout,setTimeout(e,0);try{return Fo(e,0)}catch{try{return Fo.call(null,e,0)}catch{return Fo.call(this||Uo,e,0)}}}function No(){Wo&&zo&&(Wo=!1,zo.length?Ho=zo.concat(Ho):Vo=-1,Ho.length&&Do())}function Do(){if(!Wo){var e=Lo(No);Wo=!0;for(var t=Ho.length;t;){for(zo=Ho,Ho=[];++Vo{Y(),$t(),_t(),Uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:n.g,Zo=qo={},function(){try{Fo="function"==typeof setTimeout?setTimeout:Io}catch{Fo=Io}try{$o="function"==typeof clearTimeout?clearTimeout:Mo}catch{$o=Mo}}(),Ho=[],Wo=!1,Vo=-1,Zo.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n1)for(var n=1;n{Y(),$t(),_t(),Xo={},Qo=!1,Jo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:n.g,(ea=Yo()).platform="browser",ea.addListener,ea.argv,ea.binding,ea.browser,ea.chdir,ea.cwd,ea.emit,ea.env,ea.listeners,ea.nextTick,ea.off,ea.on,ea.once,ea.prependListener,ea.prependOnceListener,ea.removeAllListeners,ea.removeListener,ea.title,ea.umask,ea.version,ea.versions}));var na,ra,ia,oa=W((()=>{Y(),$t(),_t(),ta(),na={},ra=!1,ia=function(){if(ra)return na;ra=!0;var e=ea;function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,s):r=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var r,i="",o=!1,a=arguments.length-1;a>=-1&&!o;a--){var s;a>=0?s=arguments[a]:(void 0===r&&(r=e.cwd()),s=r),t(s),0!==s.length&&(i=s+"/"+i,o=47===s.charCodeAt(0))}return i=n(i,!o),o?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0===(e=n(e,!r)).length&&!r&&(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;ic){if(47===n.charCodeAt(s+d))return n.slice(s+d+1);if(0===d)return n.slice(s+d)}else a>c&&(47===e.charCodeAt(i+d)?u=d:0===d&&(u=0));break}var f=e.charCodeAt(i+d);if(f!==n.charCodeAt(s+d))break;47===f&&(u=d)}var p="";for(d=i+u+1;d<=o;++d)(d===o||47===e.charCodeAt(d))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(s+u):(s+=u,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!a){i=r+1;break}}else-1===l&&(a=!1,l=r+1),s>=0&&(c===n.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){i=r+1;break}}else-1===o&&(a=!1,o=r+1);return-1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47!==l)-1===i&&(o=!1,i=s+1),46===l?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!o){r=s+1;break}}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var a=-1,s=0,l=-1,c=!0,u=e.length-1,d=0;u>=r;--u)if(47!==(i=e.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===i?-1===a?a=u:1!==d&&(d=1):-1!==a&&(d=-1);else if(!c){s=u+1;break}return-1===a||-1===l||0===d||1===d&&a===l-1&&a===s+1?-1!==l&&(n.base=n.name=0===s&&o?e.slice(1,l):e.slice(s,l)):(0===s&&o?(n.name=e.slice(1,a),n.base=e.slice(1,l)):(n.name=e.slice(s,a),n.base=e.slice(s,l)),n.ext=e.slice(a,l)),s>0?n.dir=e.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,na=r}()})),aa={};function sa(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function la(e,t,n){if(e&&ma.isObject(e)&&e instanceof sa)return e;var r=new sa;return r.parse(e,t,n),r}function ca(e){if("string"==typeof e)e=new URL(e);else if(!(e instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if("file:"!==e.protocol)throw new Deno.errors.InvalidData("invalid url scheme");return ja?function(e){let t=e.hostname,n=e.pathname;for(let e=0;eDa||":"!==t)throw new Deno.errors.InvalidData("file url path must be absolute");return n.slice(1)}}(e):function(e){if(""!==e.hostname)throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let e=0;ees||":"!==t)throw new Deno.errors.InvalidData("file url path must be absolute");return n.slice(1)}}(e):function(e){if(""!==e.hostname)throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let e=0;eYa,Url:()=>Ha,default:()=>pa,fileURLToPath:()=>da,format:()=>Wa,parse:()=>Ka,pathToFileURL:()=>fa,resolve:()=>Va,resolveObject:()=>Ga});var pa,ha,ma,ga,ya,va,ba,wa,ka,Ea,Sa,xa,Ca,Ta,_a,Aa,Oa,Ra,Pa,Ia,Ma,La,Na,Da,ja,Ba,qa,Fa,$a,Ua,Za,za,Ha,Wa,Va,Ga,Ka,Ya,Xa,Qa,Ja,es,ts,ns,rs,is,os,as,ss,ls=W((()=>{Y(),$t(),_t(),Co(),Po(),Ko(),oa(),ta(),ha=xo,ma={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}},(pa={}).parse=la,pa.resolve=function(e,t){return la(e,!1,!0).resolve(t)},pa.resolveObject=function(e,t){return e?la(e,!1,!0).resolveObject(t):t},pa.format=function(e){return ma.isString(e)&&(e=la(e)),e instanceof sa?e.format():sa.prototype.format.call(e)},pa.Url=sa,ga=/^([a-z0-9.+-]+:)/i,ya=/:[0-9]*$/,va=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,ba=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),wa=["'"].concat(ba),ka=["%","/","?",";","#"].concat(wa),Ea=["/","?","#"],Sa=/^[+a-z0-9A-Z_-]{0,63}$/,xa=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ca={javascript:!0,"javascript:":!0},Ta={javascript:!0,"javascript:":!0},_a={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Aa=Ro,sa.prototype.parse=function(e,t,n){if(!ma.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=-1!==r&&r127?w+="x":w+=b[k];if(!w.match(Sa)){var S=y.slice(0,h),x=y.slice(h+1),C=b.match(xa);C&&(S.push(C[1]),x.unshift(C[2])),x.length&&(a="/"+x.join(".")+a),this.hostname=S.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),g||(this.hostname=ha.toASCII(this.hostname));var T=this.port?":"+this.port:"",_=this.hostname||"";this.host=_+T,this.href+=this.host,g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==a[0]&&(a="/"+a))}if(!Ca[c])for(h=0,v=wa.length;h0)&&n.host.split("@"))&&(n.auth=C.shift(),n.host=n.hostname=C.shift())),n.search=e.search,n.query=e.query,ma.isNull(n.pathname)&&ma.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n;if(!b.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var k=b.slice(-1)[0],E=(n.host||e.host||b.length>1)&&("."===k||".."===k)||""===k,S=0,x=b.length;x>=0;x--)"."===(k=b[x])?b.splice(x,1):".."===k?(b.splice(x,1),S++):S&&(b.splice(x,1),S--);if(!y&&!v)for(;S--;S)b.unshift("..");!y||""===b[0]||b[0]&&"/"===b[0].charAt(0)||b.unshift(""),E&&"/"!==b.join("/").substr(-1)&&b.push("");var C,T=""===b[0]||b[0]&&"/"===b[0].charAt(0);return w&&(n.hostname=n.host=T?"":b.length?b.shift():"",(C=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@"))&&(n.auth=C.shift(),n.host=n.hostname=C.shift())),(y=y||n.host&&b.length)&&!T&&b.unshift(""),b.length?n.pathname=b.join("/"):(n.pathname=null,n.path=null),ma.isNull(n.pathname)&&ma.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},sa.prototype.parseHost=function(){var e=this.host,t=ya.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},pa.Url,pa.format,pa.resolve,pa.resolveObject,Oa={},Ra=!1,Pa=function(){if(Ra)return Oa;Ra=!0;var e=Go;function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function n(e,t){for(var n,r="",i=0,o=-1,a=0,s=0;s<=e.length;++s){if(s2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),o=s,a=0;continue}}else if(2===r.length||1===r.length){r="",i=0,o=s,a=0;continue}t&&(r.length>0?r+="/..":r="..",i=2)}else r.length>0?r+="/"+e.slice(o+1,s):r=e.slice(o+1,s),i=s-o-1;o=s,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var r,i="",o=!1,a=arguments.length-1;a>=-1&&!o;a--){var s;a>=0?s=arguments[a]:(void 0===r&&(r=e.cwd()),s=r),t(s),0!==s.length&&(i=s+"/"+i,o=47===s.charCodeAt(0))}return i=n(i,!o),o?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0===(e=n(e,!r)).length&&!r&&(e="."),e.length>0&&i&&(e+="/"),r?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=r.resolve(e))===(n=r.resolve(n)))return"";for(var i=1;ic){if(47===n.charCodeAt(s+d))return n.slice(s+d+1);if(0===d)return n.slice(s+d)}else a>c&&(47===e.charCodeAt(i+d)?u=d:0===d&&(u=0));break}var f=e.charCodeAt(i+d);if(f!==n.charCodeAt(s+d))break;47===f&&(u=d)}var p="";for(d=i+u+1;d<=o;++d)(d===o||47===e.charCodeAt(d))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(s+u):(s+=u,47===n.charCodeAt(s)&&++s,n.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,i=-1,o=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!o){i=a;break}}else o=!1;return-1===i?r?"/":".":r&&1===i?"//":e.slice(0,i)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw new TypeError('"ext" argument must be a string');t(e);var r,i=0,o=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var s=n.length-1,l=-1;for(r=e.length-1;r>=0;--r){var c=e.charCodeAt(r);if(47===c){if(!a){i=r+1;break}}else-1===l&&(a=!1,l=r+1),s>=0&&(c===n.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){i=r+1;break}}else-1===o&&(a=!1,o=r+1);return-1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var n=-1,r=0,i=-1,o=!0,a=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47!==l)-1===i&&(o=!1,i=s+1),46===l?-1===n?n=s:1!==a&&(a=1):-1!==n&&(a=-1);else if(!o){r=s+1;break}}return-1===n||-1===i||0===a||1===a&&n===i-1&&n===r+1?"":e.slice(n,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+e+r:r}("/",e)},parse:function(e){t(e);var n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var r,i=e.charCodeAt(0),o=47===i;o?(n.root="/",r=1):r=0;for(var a=-1,s=0,l=-1,c=!0,u=e.length-1,d=0;u>=r;--u)if(47!==(i=e.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===i?-1===a?a=u:1!==d&&(d=1):-1!==a&&(d=-1);else if(!c){s=u+1;break}return-1===a||-1===l||0===d||1===d&&a===l-1&&a===s+1?-1!==l&&(n.base=n.name=0===s&&o?e.slice(1,l):e.slice(s,l)):(0===s&&o?(n.name=e.slice(1,a),n.base=e.slice(1,l)):(n.name=e.slice(s,a),n.base=e.slice(s,l)),n.ext=e.slice(a,l)),s>0?n.dir=e.slice(0,s-1):o&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};return r.posix=r,Oa=r}(),Ia=typeof Deno<"u"?"windows"===Deno.build.os?"win32":Deno.build.os:void 0,pa.URL=typeof URL<"u"?URL:null,pa.pathToFileURL=ua,pa.fileURLToPath=ca,pa.Url,pa.format,pa.resolve,pa.resolveObject,pa.URL,Ma=92,La=47,Na=97,Da=122,ja="win32"===Ia,Ba=/\//g,qa=/%/g,Fa=/\\/g,$a=/\n/g,Ua=/\r/g,Za=/\t/g,za=typeof Deno<"u"?"windows"===Deno.build.os?"win32":Deno.build.os:void 0,pa.URL=typeof URL<"u"?URL:null,pa.pathToFileURL=fa,pa.fileURLToPath=da,Ha=pa.Url,Wa=pa.format,Va=pa.resolve,Ga=pa.resolveObject,Ka=pa.parse,Ya=pa.URL,Xa=92,Qa=47,Ja=97,es=122,ts="win32"===za,ns=/\//g,rs=/%/g,is=/\\/g,os=/\n/g,as=/\r/g,ss=/\t/g})),cs=V(((e,t)=>{Y(),$t(),_t(),t.exports=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")}})),us=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0}),e.BufferedDuplex=e.writev=void 0;var t=ri(),n=(Ft(),K(At));function r(e,t){let r=new Array(e.length);for(let t=0;t{this.destroyed||this.push(e)}))}_read(e){this.proxy.read(e)}_write(e,t,n){this.isSocketOpen?this.writeToProxy(e,t,n):this.writeQueue.push({chunk:e,encoding:t,cb:n})}_final(e){this.writeQueue=[],this.proxy.end(e)}_destroy(e,t){this.writeQueue=[],this.proxy.destroy(),t(e)}socketReady(){this.emit("connect"),this.isSocketOpen=!0,this.processWriteQueue()}writeToProxy(e,t,n){!1===this.proxy.write(e,t)?this.proxy.once("drain",n):n()}processWriteQueue(){for(;this.writeQueue.length>0;){let{chunk:e,encoding:t,cb:n}=this.writeQueue.shift();this.writeToProxy(e,t,n)}}};e.BufferedDuplex=i})),ds=V((e=>{Y(),$t(),_t();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.streamBuilder=e.browserStreamBuilder=void 0;var n=(Ft(),K(At)),r=t(cs()),i=t(di()),o=ri(),a=t(no()),s=us(),l=(0,i.default)("mqttjs:ws"),c=["rejectUnauthorized","ca","cert","key","pfx","passphrase"];function u(e,t){let n=`${e.protocol}://${e.hostname}:${e.port}${e.path}`;return"function"==typeof e.transformWsUrl&&(n=e.transformWsUrl(n,e,t)),n}function d(e){let t=e;return e.port||("wss"===e.protocol?t.port=443:t.port=80),e.path||(t.path="/"),e.wsOptions||(t.wsOptions={}),!a.default&&!e.forceNativeWebSocket&&"wss"===e.protocol&&c.forEach((n=>{Object.prototype.hasOwnProperty.call(e,n)&&!Object.prototype.hasOwnProperty.call(e.wsOptions,n)&&(t.wsOptions[n]=e[n])})),t}e.streamBuilder=(e,t)=>{l("streamBuilder");let n=d(t);n.hostname=n.hostname||n.host||"localhost";let i=u(n,e),o=function(e,t,n){l("createWebSocket"),l(`protocol: ${n.protocolId} ${n.protocolVersion}`);let i,o="MQIsdp"===n.protocolId&&3===n.protocolVersion?"mqttv3.1":"mqtt";return l(`creating new Websocket for url: ${t} and protocol: ${o}`),i=n.createWebsocket?n.createWebsocket(t,[o],n):new r.default(t,[o],n.wsOptions),i}(0,i,n),a=r.default.createWebSocketStream(o,n.wsOptions);return a.url=i,o.on("close",(()=>{a.destroy()})),a};e.browserStreamBuilder=(e,t)=>{l("browserStreamBuilder");let r,i=function(e){let t=d(e);if(t.hostname||(t.hostname=t.host),!t.hostname){if(typeof document>"u")throw new Error("Could not determine host. Specify host manually.");let e=new URL(document.URL);t.hostname=e.hostname,t.port||(t.port=Number(e.port))}return void 0===t.objectMode&&(t.objectMode=!(!0===t.binary||void 0===t.binary)),t}(t).browserBufferSize||524288,a=t.browserBufferTimeout||1e3,c=!t.objectMode,f=function(e,t){let n,r="MQIsdp"===t.protocolId&&3===t.protocolVersion?"mqttv3.1":"mqtt",i=u(t,e);return n=t.createWebsocket?t.createWebsocket(i,[r],t):new WebSocket(i,[r]),n.binaryType="arraybuffer",n}(e,t),p=function(e,t,n){let r=new o.Transform({objectMode:e.objectMode});return r._write=t,r._flush=n,r}(t,(function e(t,r,o){if(f.bufferedAmount>i)return void setTimeout(e,a,t,r,o);c&&"string"==typeof t&&(t=n.Buffer.from(t,"utf8"));try{f.send(t)}catch(e){return o(e)}o()}),(function(e){f.close(),e()}));t.objectMode||(p._writev=s.writev.bind(p)),p.on("close",(()=>{f.close()}));let h=typeof f.addEventListener<"u";function m(){l("WebSocket onOpen"),r instanceof s.BufferedDuplex&&r.socketReady()}function g(e){l("WebSocket onClose",e),r.end(),r.destroy()}function y(e){l("WebSocket onError",e);let t=new Error("WebSocket error");t.event=e,r.destroy(t)}async function v(e){let{data:t}=e;t=t instanceof ArrayBuffer?n.Buffer.from(t):t instanceof Blob?n.Buffer.from(await new Response(t).arrayBuffer()):n.Buffer.from(t,"utf8"),p&&!p.destroyed&&p.push(t)}return f.readyState===f.OPEN?(r=p,r.socket=f):(r=new s.BufferedDuplex(t,p,f),h?f.addEventListener("open",m):f.onopen=m),h?(f.addEventListener("close",g),f.addEventListener("error",y),f.addEventListener("message",v)):(f.onclose=g,f.onerror=y,f.onmessage=v),r}})),fs={};function ps(){throw new Error("Node.js net module is not supported by JSPM core outside of Node.js")}G(fs,{Server:()=>ps,Socket:()=>ps,Stream:()=>ps,_createServerHandle:()=>ps,_normalizeArgs:()=>ps,_setSimultaneousAccepts:()=>ps,connect:()=>ps,createConnection:()=>ps,createServer:()=>ps,default:()=>hs,isIP:()=>ps,isIPv4:()=>ps,isIPv6:()=>ps});var hs,ms=W((()=>{Y(),$t(),_t(),hs={_createServerHandle:ps,_normalizeArgs:ps,_setSimultaneousAccepts:ps,connect:ps,createConnection:ps,createServer:ps,isIP:ps,isIPv4:ps,isIPv6:ps,Server:ps,Socket:ps,Stream:ps}})),gs=V((e=>{Y(),$t(),_t();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var n=t((ms(),K(fs))),r=(0,t(di()).default)("mqttjs:tcp");e.default=(e,t)=>{t.port=t.port||1883,t.hostname=t.hostname||t.host||"localhost";let{port:i,path:o}=t,a=t.hostname;return r("port %d and host %s",i,a),n.default.createConnection({port:i,host:a,path:o})}})),ys={};G(ys,{default:()=>vs});var vs,bs=W((()=>{Y(),$t(),_t(),vs={}})),ws=V((e=>{Y(),$t(),_t();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0});var n=t((bs(),K(ys))),r=t((ms(),K(fs))),i=(0,t(di()).default)("mqttjs:tls");e.default=(e,t)=>{t.port=t.port||8883,t.host=t.hostname||t.host||"localhost",0===r.default.isIP(t.host)&&(t.servername=t.host),t.rejectUnauthorized=!1!==t.rejectUnauthorized,delete t.path,i("port %d host %s rejectUnauthorized %b",t.port,t.host,t.rejectUnauthorized);let o=n.default.connect(t);function a(n){t.rejectUnauthorized&&e.emit("error",n),o.end()}return o.on("secureConnect",(()=>{t.rejectUnauthorized&&!o.authorized?o.emit("error",new Error("TLS not authorized")):o.removeListener("error",a)})),o.on("error",a),o}})),ks=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0});var t,n,r,i=(Ft(),K(At)),o=ri(),a=us();e.default=(e,s)=>{if(s.hostname=s.hostname||s.host,!s.hostname)throw new Error("Could not determine host. Specify host manually.");let l="MQIsdp"===s.protocolId&&3===s.protocolVersion?"mqttv3.1":"mqtt";!function(e){e.hostname||(e.hostname="localhost"),e.path||(e.path="/"),e.wsOptions||(e.wsOptions={})}(s);let c=function(e,t){let n="wxs"===e.protocol?"wss":"ws",r=`${n}://${e.hostname}${e.path}`;return e.port&&80!==e.port&&443!==e.port&&(r=`${n}://${e.hostname}:${e.port}${e.path}`),"function"==typeof e.transformWsUrl&&(r=e.transformWsUrl(r,e,t)),r}(s,e);t=wx.connectSocket({url:c,protocols:[l]}),n=function(){let e=new o.Transform;return e._write=(e,n,r)=>{t.send({data:e.buffer,success(){r()},fail(e){r(new Error(e))}})},e._flush=e=>{t.close({success(){e()}})},e}(),(r=new a.BufferedDuplex(s,n,t))._destroy=(e,n)=>{t.close({success(){n&&n(e)}})};let u=r.destroy;return r.destroy=(e,n)=>(r.destroy=u,setTimeout((()=>{t.close({fail(){r._destroy(e,n)}})}),0),r),t.onOpen((()=>{r.socketReady()})),t.onMessage((e=>{let{data:t}=e;t=t instanceof ArrayBuffer?i.Buffer.from(t):i.Buffer.from(t,"utf8"),n.push(t)})),t.onClose((()=>{r.emit("close"),r.end(),r.destroy()})),t.onError((e=>{let t=new Error(e.errMsg);r.destroy(t)})),r}})),Es=V((e=>{Y(),$t(),_t(),Object.defineProperty(e,"__esModule",{value:!0});var t,n,r,i=(Ft(),K(At)),o=ri(),a=us(),s=!1;e.default=(e,l)=>{if(l.hostname=l.hostname||l.host,!l.hostname)throw new Error("Could not determine host. Specify host manually.");let c="MQIsdp"===l.protocolId&&3===l.protocolVersion?"mqttv3.1":"mqtt";!function(e){e.hostname||(e.hostname="localhost"),e.path||(e.path="/"),e.wsOptions||(e.wsOptions={})}(l);let u=function(e,t){let n="alis"===e.protocol?"wss":"ws",r=`${n}://${e.hostname}${e.path}`;return e.port&&80!==e.port&&443!==e.port&&(r=`${n}://${e.hostname}:${e.port}${e.path}`),"function"==typeof e.transformWsUrl&&(r=e.transformWsUrl(r,e,t)),r}(l,e);return(t=l.my).connectSocket({url:u,protocols:c}),n=function(){let e=new o.Transform;return e._write=(e,n,r)=>{t.sendSocketMessage({data:e.buffer,success(){r()},fail(){r(new Error)}})},e._flush=e=>{t.closeSocket({success(){e()}})},e}(),r=new a.BufferedDuplex(l,n,t),s||(s=!0,t.onSocketOpen((()=>{r.socketReady()})),t.onSocketMessage((e=>{if("string"==typeof e.data){let t=i.Buffer.from(e.data,"base64");n.push(t)}else{let t=new FileReader;t.addEventListener("load",(()=>{let e=t.result;e=e instanceof ArrayBuffer?i.Buffer.from(e):i.Buffer.from(e,"utf8"),n.push(e)})),t.readAsArrayBuffer(e.data)}})),t.onSocketClose((()=>{r.end(),r.destroy()})),t.onSocketError((e=>{r.destroy(e)}))),r}})),Ss=V((e=>{Y(),$t(),_t();var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.connectAsync=void 0;var n=t(di()),r=t((ls(),K(aa))),i=t(lo()),o=t(no());"function"!=typeof(null==X?void 0:X.nextTick)&&(X.nextTick=setImmediate);var a=(0,n.default)("mqttjs"),s=null;function l(e,t){var n,l,c,u;if(a("connecting to an MQTT broker..."),"object"==typeof e&&!t&&(t=e,e=""),t=t||{},e&&"string"==typeof e){let i=r.default.parse(e,!0),o={};if(null!=i.port&&(o.port=Number(i.port)),o.host=i.hostname,o.query=i.query,o.auth=i.auth,o.protocol=i.protocol,o.path=i.path,o.protocol=null===(n=o.protocol)||void 0===n?void 0:n.replace(/:$/,""),!(t=Object.assign(Object.assign({},o),t)).protocol)throw new Error("Missing protocol")}if(t.unixSocket=t.unixSocket||(null===(l=t.protocol)||void 0===l?void 0:l.includes("+unix")),t.unixSocket?t.protocol=t.protocol.replace("+unix",""):null!==(c=t.protocol)&&void 0!==c&&c.startsWith("ws")||null!==(u=t.protocol)&&void 0!==u&&u.startsWith("wx")||delete t.path,function(e){let t;e.auth&&(t=e.auth.match(/^(.+):(.+)$/),t?(e.username=t[1],e.password=t[2]):e.username=e.auth)}(t),t.query&&"string"==typeof t.query.clientId&&(t.clientId=t.query.clientId),t.cert&&t.key){if(!t.protocol)throw new Error("Missing secure protocol key");if(-1===["mqtts","wss","wxs","alis"].indexOf(t.protocol))switch(t.protocol){case"mqtt":t.protocol="mqtts";break;case"ws":t.protocol="wss";break;case"wx":t.protocol="wxs";break;case"ali":t.protocol="alis";break;default:throw new Error(`Unknown protocol for secure connection: "${t.protocol}"!`)}}if(s||(s={},o.default||t.forceNativeWebSocket?(s.ws=ds().browserStreamBuilder,s.wss=ds().browserStreamBuilder,s.wx=ks().default,s.wxs=ks().default,s.ali=Es().default,s.alis=Es().default):(s.ws=ds().streamBuilder,s.wss=ds().streamBuilder,s.mqtt=gs().default,s.tcp=gs().default,s.ssl=ws().default,s.tls=s.ssl,s.mqtts=ws().default)),!s[t.protocol]){let e=-1!==["mqtts","wss"].indexOf(t.protocol);t.protocol=["mqtt","mqtts","ws","wss","wx","wxs","ali","alis"].filter(((t,n)=>(!e||n%2!=0)&&"function"==typeof s[t]))[0]}if(!1===t.clean&&!t.clientId)throw new Error("Missing clientId for unclean clients");t.protocol&&(t.defaultProtocol=t.protocol);let d=new i.default((function(e){return t.servers&&((!e._reconnectCount||e._reconnectCount===t.servers.length)&&(e._reconnectCount=0),t.host=t.servers[e._reconnectCount].host,t.port=t.servers[e._reconnectCount].port,t.protocol=t.servers[e._reconnectCount].protocol?t.servers[e._reconnectCount].protocol:t.defaultProtocol,t.hostname=t.host,e._reconnectCount++),a("calling streambuilder for",t.protocol),s[t.protocol](e,t)}),t);return d.on("error",(()=>{})),d}e.connectAsync=function(e,t,n=!0){return new Promise(((r,i)=>{let o=l(e,t),a={connect:e=>{s(),r(o)},end:()=>{s(),r(o)},error:e=>{s(),o.end(),i(e)}};function s(){Object.keys(a).forEach((e=>{o.off(e,a[e])}))}!1===n&&(a.close=()=>{a.error(new Error("Couldn't connect to server"))}),Object.keys(a).forEach((e=>{o.on(e,a[e])}))}))},e.default=l})),xs=V((e=>{Y(),$t(),_t();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)},o=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,"__esModule",{value:!0}),e.ReasonCodes=e.KeepaliveManager=e.UniqueMessageIdProvider=e.DefaultMessageIdProvider=e.Store=e.MqttClient=e.connectAsync=e.connect=e.Client=void 0;var a=o(lo());e.MqttClient=a.default;var s=o(vi());e.DefaultMessageIdProvider=s.default;var l=o(co());e.UniqueMessageIdProvider=l.default;var c=o(Ei());e.Store=c.default;var u=r(Ss());e.connect=u.default,Object.defineProperty(e,"connectAsync",{enumerable:!0,get:function(){return u.connectAsync}});var d=o(so());e.KeepaliveManager=d.default,e.Client=a.default,i(lo(),e),i(Ci(),e);var f=Ti();Object.defineProperty(e,"ReasonCodes",{enumerable:!0,get:function(){return f.ReasonCodes}})})),Cs=V((e=>{Y(),$t(),_t();var t=e&&e.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=e&&e.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__exportStar||function(e,n){for(var r in e)"default"!==r&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,"__esModule",{value:!0});var o=r(xs());e.default=o,i(xs(),e)}))(),Ts=n(78537),_s=Ts,As=function(){return this?this:"undefined"!=typeof window?window:void 0!==As?As:"undefined"!=typeof self?self:Function("return this")()}.call(null);_s.exportSymbol("proto.User",null,As),proto.User=function(e){Ts.Message.initialize(this,e,0,-1,null,null)},_s.inherits(proto.User,Ts.Message),_s.DEBUG&&!COMPILED&&(proto.User.displayName="proto.User"),Ts.Message.GENERATE_TO_OBJECT&&(proto.User.prototype.toObject=function(e){return proto.User.toObject(e,this)},proto.User.toObject=function(e,t){var n={uid:Ts.Message.getFieldWithDefault(t,1,""),nickname:Ts.Message.getFieldWithDefault(t,2,""),avatar:Ts.Message.getFieldWithDefault(t,3,""),type:Ts.Message.getFieldWithDefault(t,4,""),extra:Ts.Message.getFieldWithDefault(t,5,"")};return e&&(n.$jspbMessageInstance=t),n}),proto.User.deserializeBinary=function(e){var t=new Ts.BinaryReader(e),n=new proto.User;return proto.User.deserializeBinaryFromReader(n,t)},proto.User.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var n=t.readString();e.setUid(n);break;case 2:n=t.readString();e.setNickname(n);break;case 3:n=t.readString();e.setAvatar(n);break;case 4:n=t.readString();e.setType(n);break;case 5:n=t.readString();e.setExtra(n);break;default:t.skipField()}}return e},proto.User.prototype.serializeBinary=function(){var e=new Ts.BinaryWriter;return proto.User.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.User.serializeBinaryToWriter=function(e,t){var n=void 0;(n=e.getUid()).length>0&&t.writeString(1,n),(n=e.getNickname()).length>0&&t.writeString(2,n),(n=e.getAvatar()).length>0&&t.writeString(3,n),(n=e.getType()).length>0&&t.writeString(4,n),(n=e.getExtra()).length>0&&t.writeString(5,n)},proto.User.prototype.getUid=function(){return Ts.Message.getFieldWithDefault(this,1,"")},proto.User.prototype.setUid=function(e){return Ts.Message.setProto3StringField(this,1,e)},proto.User.prototype.getNickname=function(){return Ts.Message.getFieldWithDefault(this,2,"")},proto.User.prototype.setNickname=function(e){return Ts.Message.setProto3StringField(this,2,e)},proto.User.prototype.getAvatar=function(){return Ts.Message.getFieldWithDefault(this,3,"")},proto.User.prototype.setAvatar=function(e){return Ts.Message.setProto3StringField(this,3,e)},proto.User.prototype.getType=function(){return Ts.Message.getFieldWithDefault(this,4,"")},proto.User.prototype.setType=function(e){return Ts.Message.setProto3StringField(this,4,e)},proto.User.prototype.getExtra=function(){return Ts.Message.getFieldWithDefault(this,5,"")},proto.User.prototype.setExtra=function(e){return Ts.Message.setProto3StringField(this,5,e)};var Os=Ts,Rs=function(){return this?this:"undefined"!=typeof window?window:void 0!==Rs?Rs:"undefined"!=typeof self?self:Function("return this")()}.call(null);Os.exportSymbol("proto.Thread",null,Rs),proto.Thread=function(e){Ts.Message.initialize(this,e,0,-1,null,null)},Os.inherits(proto.Thread,Ts.Message),Os.DEBUG&&!COMPILED&&(proto.Thread.displayName="proto.Thread"),Ts.Message.GENERATE_TO_OBJECT&&(proto.Thread.prototype.toObject=function(e){return proto.Thread.toObject(e,this)},proto.Thread.toObject=function(e,t){var n,r={uid:Ts.Message.getFieldWithDefault(t,1,""),topic:Ts.Message.getFieldWithDefault(t,2,""),type:Ts.Message.getFieldWithDefault(t,3,""),state:Ts.Message.getFieldWithDefault(t,4,""),user:(n=t.getUser())&&proto.User.toObject(e,n),extra:Ts.Message.getFieldWithDefault(t,6,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.Thread.deserializeBinary=function(e){var t=new Ts.BinaryReader(e),n=new proto.Thread;return proto.Thread.deserializeBinaryFromReader(n,t)},proto.Thread.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var n=t.readString();e.setUid(n);break;case 2:n=t.readString();e.setTopic(n);break;case 3:n=t.readString();e.setType(n);break;case 4:n=t.readString();e.setState(n);break;case 5:n=new proto.User;t.readMessage(n,proto.User.deserializeBinaryFromReader),e.setUser(n);break;case 6:n=t.readString();e.setExtra(n);break;default:t.skipField()}}return e},proto.Thread.prototype.serializeBinary=function(){var e=new Ts.BinaryWriter;return proto.Thread.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.Thread.serializeBinaryToWriter=function(e,t){var n=void 0;(n=e.getUid()).length>0&&t.writeString(1,n),(n=e.getTopic()).length>0&&t.writeString(2,n),(n=e.getType()).length>0&&t.writeString(3,n),(n=e.getState()).length>0&&t.writeString(4,n),null!=(n=e.getUser())&&t.writeMessage(5,n,proto.User.serializeBinaryToWriter),(n=e.getExtra()).length>0&&t.writeString(6,n)},proto.Thread.prototype.getUid=function(){return Ts.Message.getFieldWithDefault(this,1,"")},proto.Thread.prototype.setUid=function(e){return Ts.Message.setProto3StringField(this,1,e)},proto.Thread.prototype.getTopic=function(){return Ts.Message.getFieldWithDefault(this,2,"")},proto.Thread.prototype.setTopic=function(e){return Ts.Message.setProto3StringField(this,2,e)},proto.Thread.prototype.getType=function(){return Ts.Message.getFieldWithDefault(this,3,"")},proto.Thread.prototype.setType=function(e){return Ts.Message.setProto3StringField(this,3,e)},proto.Thread.prototype.getState=function(){return Ts.Message.getFieldWithDefault(this,4,"")},proto.Thread.prototype.setState=function(e){return Ts.Message.setProto3StringField(this,4,e)},proto.Thread.prototype.getUser=function(){return Ts.Message.getWrapperField(this,proto.User,5)},proto.Thread.prototype.setUser=function(e){return Ts.Message.setWrapperField(this,5,e)},proto.Thread.prototype.clearUser=function(){return this.setUser(void 0)},proto.Thread.prototype.hasUser=function(){return null!=Ts.Message.getField(this,5)},proto.Thread.prototype.getExtra=function(){return Ts.Message.getFieldWithDefault(this,6,"")},proto.Thread.prototype.setExtra=function(e){return Ts.Message.setProto3StringField(this,6,e)};var Ps=Ts,Is=function(){return this?this:"undefined"!=typeof window?window:void 0!==Is?Is:"undefined"!=typeof self?self:Function("return this")()}.call(null);Ps.exportSymbol("proto.Message",null,Is),proto.Message=function(e){Ts.Message.initialize(this,e,0,-1,null,null)},Ps.inherits(proto.Message,Ts.Message),Ps.DEBUG&&!COMPILED&&(proto.Message.displayName="proto.Message"),Ts.Message.GENERATE_TO_OBJECT&&(proto.Message.prototype.toObject=function(e){return proto.Message.toObject(e,this)},proto.Message.toObject=function(e,t){var n,r={uid:Ts.Message.getFieldWithDefault(t,1,""),type:Ts.Message.getFieldWithDefault(t,2,""),content:Ts.Message.getFieldWithDefault(t,3,""),status:Ts.Message.getFieldWithDefault(t,4,""),createdat:Ts.Message.getFieldWithDefault(t,5,""),client:Ts.Message.getFieldWithDefault(t,6,""),thread:(n=t.getThread())&&proto.Thread.toObject(e,n),user:(n=t.getUser())&&proto.User.toObject(e,n),extra:Ts.Message.getFieldWithDefault(t,9,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.Message.deserializeBinary=function(e){var t=new Ts.BinaryReader(e),n=new proto.Message;return proto.Message.deserializeBinaryFromReader(n,t)},proto.Message.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var n=t.readString();e.setUid(n);break;case 2:n=t.readString();e.setType(n);break;case 3:n=t.readString();e.setContent(n);break;case 4:n=t.readString();e.setStatus(n);break;case 5:n=t.readString();e.setCreatedat(n);break;case 6:n=t.readString();e.setClient(n);break;case 7:n=new proto.Thread;t.readMessage(n,proto.Thread.deserializeBinaryFromReader),e.setThread(n);break;case 8:n=new proto.User;t.readMessage(n,proto.User.deserializeBinaryFromReader),e.setUser(n);break;case 9:n=t.readString();e.setExtra(n);break;default:t.skipField()}}return e},proto.Message.prototype.serializeBinary=function(){var e=new Ts.BinaryWriter;return proto.Message.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.Message.serializeBinaryToWriter=function(e,t){var n=void 0;(n=e.getUid()).length>0&&t.writeString(1,n),(n=e.getType()).length>0&&t.writeString(2,n),(n=e.getContent()).length>0&&t.writeString(3,n),(n=e.getStatus()).length>0&&t.writeString(4,n),(n=e.getCreatedat()).length>0&&t.writeString(5,n),(n=e.getClient()).length>0&&t.writeString(6,n),null!=(n=e.getThread())&&t.writeMessage(7,n,proto.Thread.serializeBinaryToWriter),null!=(n=e.getUser())&&t.writeMessage(8,n,proto.User.serializeBinaryToWriter),(n=e.getExtra()).length>0&&t.writeString(9,n)},proto.Message.prototype.getUid=function(){return Ts.Message.getFieldWithDefault(this,1,"")},proto.Message.prototype.setUid=function(e){return Ts.Message.setProto3StringField(this,1,e)},proto.Message.prototype.getType=function(){return Ts.Message.getFieldWithDefault(this,2,"")},proto.Message.prototype.setType=function(e){return Ts.Message.setProto3StringField(this,2,e)},proto.Message.prototype.getContent=function(){return Ts.Message.getFieldWithDefault(this,3,"")},proto.Message.prototype.setContent=function(e){return Ts.Message.setProto3StringField(this,3,e)},proto.Message.prototype.getStatus=function(){return Ts.Message.getFieldWithDefault(this,4,"")},proto.Message.prototype.setStatus=function(e){return Ts.Message.setProto3StringField(this,4,e)},proto.Message.prototype.getCreatedat=function(){return Ts.Message.getFieldWithDefault(this,5,"")},proto.Message.prototype.setCreatedat=function(e){return Ts.Message.setProto3StringField(this,5,e)},proto.Message.prototype.getClient=function(){return Ts.Message.getFieldWithDefault(this,6,"")},proto.Message.prototype.setClient=function(e){return Ts.Message.setProto3StringField(this,6,e)},proto.Message.prototype.getThread=function(){return Ts.Message.getWrapperField(this,proto.Thread,7)},proto.Message.prototype.setThread=function(e){return Ts.Message.setWrapperField(this,7,e)},proto.Message.prototype.clearThread=function(){return this.setThread(void 0)},proto.Message.prototype.hasThread=function(){return null!=Ts.Message.getField(this,7)},proto.Message.prototype.getUser=function(){return Ts.Message.getWrapperField(this,proto.User,8)},proto.Message.prototype.setUser=function(e){return Ts.Message.setWrapperField(this,8,e)},proto.Message.prototype.clearUser=function(){return this.setUser(void 0)},proto.Message.prototype.hasUser=function(){return null!=Ts.Message.getField(this,8)},proto.Message.prototype.getExtra=function(){return Ts.Message.getFieldWithDefault(this,9,"")},proto.Message.prototype.setExtra=function(e){return Ts.Message.setProto3StringField(this,9,e)};var Ms,Ls=proto,Ns=!1,Ds=function(e){var t=e.uid,n=e.username,r=e.accessToken;if($.L.getState().userInfo,Ns)console.log("mqtt is connecting");else if(Ms&&Ms.connected)console.log("mqtt already connected");else if(Ms&&Ms.reconnecting)console.log("mqtt already reconnecting");else{Ns=!0;var i=$.L.getState().deviceUid,o={keepalive:30,clientId:t+"/"+x.bVn+"/"+i,username:n,password:r,clean:!1,path:"/websocket",reconnectPeriod:5e3,connectTimeout:3e4,reschedulePings:!0,rejectUnauthorized:!1,log:function(){0}};console.log("mqtt start connect:",o),(Ms=Cs.connect((0,C.Hg)(),o)).on("connect",(function(){console.log("mqtt event connected"),Ns=!1})),Ms.on("message",(function(e,n,r){var i=Ls.Message.deserializeBinary(n);console.log("mqtt event message",e,i);var o=i.getType();if(o===x.n$Z){var a=i.getContent();a&&(console.log("mqtt receive notice",a),_.Z.emit(x.YwV,a))}else if(o===x.PYi){if(i.getUser().getUid()===t)return void console.log("mqtt receive self message");console.log("mqtt receive other message");var s=i.getContent();_.Z.emit(x.VZf,s)}})),Ms.on("packetsend",(function(e){})),Ms.on("packetreceive",(function(e){"publish"===e.cmd||e.cmd})),Ms.on("reconnect",(function(){console.log("mqtt event reconnect")})),Ms.on("close",(function(){console.log("mqtt event close"),Ns=!1})),Ms.on("disconnect",(function(){console.error("mqtt event disconnected"),Ns=!1})),Ms.on("offline",(function(){console.log("mqtt event offline"),Ns=!1})),Ms.on("error",(function(){console.log("mqtt event error")})),Ms.on("end",(function(){console.log("mqtt event end")}))}};var js=function(){var e=(0,L.useState)(!1),t=m()(e,2),n=t[0],r=t[1],i=(0,L.useState)(!1),o=m()(i,2),a=o[0],s=o[1],l=function(){var e=y()(p()().mark((function e(t,n){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a?(console.log("handleNewMessage isBrowserTabHidden"),c(t,n)):console.log("handleNewMessage not isBrowserTabHidden");case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),c=function(e,t){console.log("showWebNotification");var n=new Notification(e,{body:t,icon:"./logo.png"});n.onshow=function(){console.log("Notification shown")},n.onclick=function(){console.log("notification click")},n.onclose=function(){console.log("notification close")},n.onerror=function(){console.log("notification error")}};return(0,L.useEffect)((function(){return window.Notification&&"granted"!==Notification.permission?Notification.requestPermission((function(e){"granted"===e?(console.log("Notification permission granted."),r(!0)):(console.log("notification denied"),r(!1))})):(console.log("已经授权或浏览器不支持通知"),r(!0)),document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState?s(!0):"visible"===document.visibilityState&&s(!1)}),!1),function(){document.removeEventListener("visibilitychange",(function(){}))}}),[]),{isNotificationGranted:n,showWebNotification:c,showNotification:l}},Bs=n(16439),qs=n(11184),Fs=(n(32327).Z.Text,"/auth/login");function $s(){return Us.apply(this,arguments)}function Us(){return Us=y()(p()().mark((function e(){var t,n;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log("getInitialState"),t=function(){var e=y()(p()().mark((function e(){var t,n;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==(t=localStorage.getItem(x.LA8))&&0!==t.trim().length){e.next=3;break}return e.abrupt("return",void 0);case 3:return e.prev=3,e.next=6,(0,k.Ai)();case 6:return n=e.sent,console.log("getProfile: ",n),e.abrupt("return",n.data);case 11:e.prev=11,e.t0=e.catch(3),E.history.push(Fs);case 14:return e.abrupt("return",void 0);case 15:case"end":return e.stop()}}),e,null,[[3,11]])})));return function(){return e.apply(this,arguments)}}(),e.next=4,t();case 4:return n=e.sent,e.prev=5,e.next=8,(0,C.ME)();case 8:e.next=13;break;case 10:e.prev=10,e.t0=e.catch(5),console.error("Failed to load config:",e.t0);case 13:return e.abrupt("return",{fetchUserInfo:t,userInfo:n,settings:S.Z});case 14:case"end":return e.stop()}}),e,null,[[5,10]])}))),Us.apply(this,arguments)}var Zs=function(e){var t,n,r=e.initialState;js();var i=(0,E.useIntl)(),o=(null!=r?r:{}).userInfo,a=b.ZP.useNotification(),s=m()(a,2),l=s[0],c=s[1],u=(0,L.useState)("https://kf.gxzgt.com:9003/assets/images/logos/zhiguitong.png"),f=m()(u,2),h=f[0],g=f[1],k=(0,L.useState)(""),S=m()(k,2),A=(S[0],S[1]),P=(0,L.useState)(!1),I=m()(P,2),M=I[0],q=I[1],U=(0,$.L)((function(e){return{deviceUid:e.deviceUid,setDeviceUid:e.setDeviceUid}})),Z=U.deviceUid,z=U.setDeviceUid,H=(0,$.L)((function(e){return e.setUserInfo})),W=(0,O.Z)().isDarkMode;r.settings.navTheme=W?"realDark":"light";var V=function(e){document.title=e||i.formatMessage({id:"app.title"})},G=function(){var e=y()(p()().mark((function e(){var t,n,r,a,s,c,u,d;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,C.Xs)();case 3:n=e.sent,(null==n||null===(t=n.custom)||void 0===t?void 0:t.enabled)?(null!=n&&null!==(r=n.custom)&&void 0!==r&&r.logo?g(null==n||null===(s=n.custom)||void 0===s?void 0:s.logo):g("https://kf.gxzgt.com:9003/assets/images/logos/zhiguitong.png"),null!=n&&null!==(a=n.custom)&&void 0!==a&&a.name?(V(null==n||null===(c=n.custom)||void 0===c?void 0:c.name),A(null==n||null===(u=n.custom)||void 0===u?void 0:u.name)):(V(i.formatMessage({id:"app.title"})),A(i.formatMessage({id:"app.title"})))):(g("https://kf.gxzgt.com:9003/assets/images/logos/zhiguitong.png"),V(i.formatMessage({id:"app.title"})),A(i.formatMessage({id:"app.title"}))),d=(0,C.kG)(),console.log("Base URL:",d),q(!0),o&&o&&(f=void 0,!((f=(0,C.e)())===x.RxZ||f===x.RG5||f===x.p_L))&&l.error({message:"版本检测",description:"检测到非法版本,系统将自动退出",duration:3,onClose:function(){(0,R.NZ)()}}),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(0),console.error("Error loading config:",e.t0),q(!0);case 16:case"end":return e.stop()}var f}),e,null,[[0,12]])})));return function(){return e.apply(this,arguments)}}();return(0,L.useEffect)((function(){!function(){if(null!=o){void 0!==Z&&""!==Z||z((0,R.Zx)());var e=localStorage.getItem(x.LA8);Ds({uid:null==o?void 0:o.uid,username:null==o?void 0:o.username,accessToken:e})}}(),H(o)}),[o,M]),(0,L.useEffect)((function(){return _.Z.on(x.fN$,(function(){console.log("EVENT_BUS_TOKEN_INVALID"),(0,R.NZ)()})),_.Z.on(x.YwV,(function(e){console.log("EVENT_BUS_MQTT_NOTICE",e)})),_.Z.on(x.VZf,(function(e){console.log("EVENT_BUS_MQTT_MESSAGE",e)})),(0,R.pr)(),G(),function(){_.Z.off(x.fN$),_.Z.off(x.YwV)}}),[]),d()({actionsRender:function(){return[(0,N.jsx)(D,{},"fullScreen"),!1,!1,(0,N.jsx)(j,{},"GotoAgent"),(0,N.jsx)(F,{},"ContactUs")]},title:M?function(){var e=(0,C.nt)(),t=(0,C.ye)();return e&&t?t:i.formatMessage({id:"app.title"})}():i.formatMessage({id:"app.title"}),logo:M?(0,C.do)():h,avatarProps:{src:null==r||null===(t=r.userInfo)||void 0===t?void 0:t.avatar,title:(0,N.jsx)(v.gj,{}),render:function(e,t){return(0,N.jsx)(v.Kd,{menu:!0,children:t})}},waterMarkProps:{content:null==r||null===(n=r.userInfo)||void 0===n?void 0:n.nickname},footerRender:function(){return(0,N.jsx)(v.$_,{})},onPageChange:function(){var e=E.history.location;null!=r&&r.userInfo||e.pathname===Fs||"/auth/register"===e.pathname||E.history.push(Fs)},menuHeaderRender:void 0,menu:{type:"group",collapsedShowTitle:!0,hideChildrenInMenu:!0},collapsedButtonRender:function(){return(0,N.jsx)(N.Fragment,{})},childrenRender:function(e){var t=(0,qs.M)().config,n=d()({},t);M&&((0,C.nt)()&&((0,C.ec)()||(n.bubbleConfig.show=!1,n.buttonConfig.show=!1)));return(0,N.jsx)(N.Fragment,{children:(0,N.jsx)(B.w,{children:(0,N.jsxs)(w.Z,{children:[(0,N.jsx)(T.ZP,{}),c,M&&(0,N.jsx)(Bs.Q,d()(d()({},n),{},{onInit:function(){console.log("ByteDesk initialized admin")}})),e]})})})}},null==r?void 0:r.settings)},zs=d()(d()({},A),{},{requestInterceptors:[function(e,t){var n=localStorage.getItem(x.LA8);if(n&&n.length>10&&e.startsWith("/api")){var r={Authorization:"Bearer ".concat(n)};return{url:"".concat((0,C.kG)()).concat(e),options:d()(d()({},t),{},{interceptors:!0,headers:r})}}return e.startsWith("http")?{url:"".concat(e),options:d()(d()({},t),{},{interceptors:!0})}:{url:"".concat((0,C.kG)()).concat(e),options:d()(d()({},t),{},{interceptors:!0})}}]}),Hs=n(7862),Ws=n.n(Hs),Vs=n(81690),Gs=n.n(Vs),Ks=n(21700),Ys=n.n(Ks),Xs=n(31236),Qs=n.n(Xs);function Js(){return Js=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}var rl={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},il={rel:["amphtml","canonical","alternate"]},ol={type:["application/ld+json"]},al={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},sl=Object.keys(rl).map((function(e){return rl[e]})),ll={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},cl=Object.keys(ll).reduce((function(e,t){return e[ll[t]]=t,e}),{}),ul=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},dl=function(e){var t=ul(e,rl.TITLE),n=ul(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,(function(){return t}));var r=ul(e,"defaultTitle");return t||r||void 0},fl=function(e){return ul(e,"onChangeClientState")||function(){}},pl=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return Js({},e,t)}),{})},hl=function(e,t){return t.filter((function(e){return void 0!==e[rl.BASE]})).map((function(e){return e[rl.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),i=0;i/g,">").replace(/"/g,""").replace(/'/g,"'")},El=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},Sl=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,n){return t[ll[n]||n]=e[n],t}),t)},xl=function(e,t){return t.map((function(t,n){var r,i=((r={key:n})["data-rh"]=!0,r);return Object.keys(t).forEach((function(e){var n=ll[e]||e;"innerHTML"===n||"cssText"===n?i.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:i[n]=t[e]})),L.createElement(e,i)}))},Cl=function(e,t,n){switch(e){case rl.TITLE:return{toComponent:function(){return n=t.titleAttributes,(r={key:e=t.title})["data-rh"]=!0,i=Sl(n,r),[L.createElement(rl.TITLE,i,e)];var e,n,r,i},toString:function(){return function(e,t,n,r){var i=El(n),o=yl(t);return i?"<"+e+' data-rh="true" '+i+">"+kl(o,r)+"":"<"+e+' data-rh="true">'+kl(o,r)+""}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Sl(t)},toString:function(){return El(t)}};default:return{toComponent:function(){return xl(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var i=Object.keys(r).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var i=void 0===r[t]?t:t+'="'+kl(r[t],n)+'"';return e?e+" "+i:i}),""),o=r.innerHTML||r.cssText||"",a=-1===wl.indexOf(e);return t+"<"+e+' data-rh="true" '+i+(a?"/>":">"+o+"")}),"")}(e,t,n)}}}},Tl=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,i=e.htmlAttributes,o=e.noscriptTags,a=e.styleTags,s=e.title,l=void 0===s?"":s,c=e.titleAttributes,u=e.linkTags,d=e.metaTags,f=e.scriptTags,p={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var h=function(e){var t=e.linkTags,n=e.scriptTags,r=e.encode,i=vl(e.metaTags,al),o=vl(t,il),a=vl(n,ol);return{priorityMethods:{toComponent:function(){return[].concat(xl(rl.META,i.priority),xl(rl.LINK,o.priority),xl(rl.SCRIPT,a.priority))},toString:function(){return Cl(rl.META,i.priority,r)+" "+Cl(rl.LINK,o.priority,r)+" "+Cl(rl.SCRIPT,a.priority,r)}},metaTags:i.default,linkTags:o.default,scriptTags:a.default}}(e);p=h.priorityMethods,u=h.linkTags,d=h.metaTags,f=h.scriptTags}return{priority:p,base:Cl(rl.BASE,t,r),bodyAttributes:Cl("bodyAttributes",n,r),htmlAttributes:Cl("htmlAttributes",i,r),link:Cl(rl.LINK,u,r),meta:Cl(rl.META,d,r),noscript:Cl(rl.NOSCRIPT,o,r),script:Cl(rl.SCRIPT,f,r),style:Cl(rl.STYLE,a,r),title:Cl(rl.TITLE,{title:l,titleAttributes:c},r)}},_l=[],Al=function(e,t){var n=this;void 0===t&&(t="undefined"!=typeof document),this.instances=[],this.value={setHelmet:function(e){n.context.helmet=e},helmetInstances:{get:function(){return n.canUseDOM?_l:n.instances},add:function(e){(n.canUseDOM?_l:n.instances).push(e)},remove:function(e){var t=(n.canUseDOM?_l:n.instances).indexOf(e);(n.canUseDOM?_l:n.instances).splice(t,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=Tl({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Ol=L.createContext({}),Rl=Ws().shape({setHelmet:Ws().func,helmetInstances:Ws().shape({get:Ws().func,add:Ws().func,remove:Ws().func})}),Pl="undefined"!=typeof document,Il=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new Al(r.props.context,t.canUseDOM),r}return el(t,e),t.prototype.render=function(){return L.createElement(Ol.Provider,{value:this.helmetData.value},this.props.children)},t}(L.Component);Il.canUseDOM=Pl,Il.propTypes={context:Ws().shape({helmet:Ws().shape()}),children:Ws().node.isRequired},Il.defaultProps={context:{}},Il.displayName="HelmetProvider";var Ml=function(e,t){var n,r=document.head||document.querySelector(rl.HEAD),i=r.querySelectorAll(e+"[data-rh]"),o=[].slice.call(i),a=[];return t&&t.length&&t.forEach((function(t){var r=document.createElement(e);for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&("innerHTML"===i?r.innerHTML=t.innerHTML:"cssText"===i?r.styleSheet?r.styleSheet.cssText=t.cssText:r.appendChild(document.createTextNode(t.cssText)):r.setAttribute(i,void 0===t[i]?"":t[i]));r.setAttribute("data-rh","true"),o.some((function(e,t){return n=t,r.isEqualNode(e)}))?o.splice(n,1):a.push(r)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return r.appendChild(e)})),{oldTags:o,newTags:a}},Ll=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),i=r?r.split(","):[],o=[].concat(i),a=Object.keys(t),s=0;s=0;d-=1)n.removeAttribute(o[d]);i.length===o.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==a.join(",")&&n.setAttribute("data-rh",a.join(","))}},Nl=function(e,t){var n=e.baseTag,r=e.htmlAttributes,i=e.linkTags,o=e.metaTags,a=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,c=e.styleTags,u=e.title,d=e.titleAttributes;Ll(rl.BODY,e.bodyAttributes),Ll(rl.HTML,r),function(e,t){void 0!==e&&document.title!==e&&(document.title=yl(e)),Ll(rl.TITLE,t)}(u,d);var f={baseTag:Ml(rl.BASE,n),linkTags:Ml(rl.LINK,i),metaTags:Ml(rl.META,o),noscriptTags:Ml(rl.NOSCRIPT,a),scriptTags:Ml(rl.SCRIPT,l),styleTags:Ml(rl.STYLE,c)},p={},h={};Object.keys(f).forEach((function(e){var t=f[e],n=t.newTags,r=t.oldTags;n.length&&(p[e]=n),r.length&&(h[e]=f[e].oldTags)})),t&&t(),s(e,p,h)},Dl=null,jl=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren;return Js({},r,((t={})[n.type]=[].concat(r[n.type]||[],[Js({},e.newChildProps,this.mapNestedChildrenToProps(n,e.nestedChildren))]),t))},n.mapObjectTypeChildren=function(e){var t,n,r=e.child,i=e.newProps,o=e.newChildProps,a=e.nestedChildren;switch(r.type){case rl.TITLE:return Js({},i,((t={})[r.type]=a,t.titleAttributes=Js({},o),t));case rl.BODY:return Js({},i,{bodyAttributes:Js({},o)});case rl.HTML:return Js({},i,{htmlAttributes:Js({},o)});default:return Js({},i,((n={})[r.type]=Js({},o),n))}},n.mapArrayTypeChildrenToProps=function(e,t){var n=Js({},t);return Object.keys(e).forEach((function(t){var r;n=Js({},n,((r={})[t]=e[t],r))})),n},n.warnOnInvalidChildren=function(e,t){return Ys()(sl.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+sl.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),Ys()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``} ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(e,t){var n=this,r={};return L.Children.forEach(e,(function(e){if(e&&e.props){var i=e.props,o=i.children,a=nl(i,Bl),s=Object.keys(a).reduce((function(e,t){return e[cl[t]||t]=a[t],e}),{}),l=e.type;switch("symbol"==typeof l?l=l.toString():n.warnOnInvalidChildren(e,o),l){case rl.FRAGMENT:t=n.mapChildrenToProps(o,t);break;case rl.LINK:case rl.META:case rl.NOSCRIPT:case rl.SCRIPT:case rl.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:s,nestedChildren:o});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:o})}}})),this.mapArrayTypeChildrenToProps(r,t)},n.render=function(){var e=this.props,t=e.children,n=nl(e,ql),r=Js({},n),i=n.helmetData;return t&&(r=this.mapChildrenToProps(t,r)),!i||i instanceof Al||(i=new Al(i.context,i.instances)),i?L.createElement(jl,Js({},r,{context:i.value,helmetData:void 0})):L.createElement(Ol.Consumer,null,(function(e){return L.createElement(jl,Js({},r,{context:e}))}))},t}(L.Component);Fl.propTypes={base:Ws().object,bodyAttributes:Ws().object,children:Ws().oneOfType([Ws().arrayOf(Ws().node),Ws().node]),defaultTitle:Ws().string,defer:Ws().bool,encodeSpecialCharacters:Ws().bool,htmlAttributes:Ws().object,link:Ws().arrayOf(Ws().object),meta:Ws().arrayOf(Ws().object),noscript:Ws().arrayOf(Ws().object),onChangeClientState:Ws().func,script:Ws().arrayOf(Ws().object),style:Ws().arrayOf(Ws().object),title:Ws().string,titleAttributes:Ws().object,titleTemplate:Ws().string,prioritizeSeoTags:Ws().bool,helmetData:Ws().object},Fl.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Fl.displayName="Helmet";var $l={},Ul=function(e){return L.createElement(Il,{context:$l},e)};var Zl=n(59191),zl=n(75147);function Hl(e){var t=(0,Zl.t)("@@initialState").initialState,n=L.useMemo((function(){return function(e){var t=(null!=e?e:{}).userInfo;return console.log("access userInfo: ",t),{canAdmin:function(){var e=!1;if(null!=t&&t.currentRoles)for(var n=0;n<(null==t||null===(r=t.currentRoles)||void 0===r?void 0:r.length);n++){var r;"ROLE_ADMIN"===(null==t?void 0:t.currentRoles[n]).name&&(e=!0)}return(null==t?void 0:t.superUser)||e},canSuper:function(){return null==t?void 0:t.superUser},canDebug:function(){return!1},canAgent:function(){if(null!=t&&t.authorities)for(var e=0;e<(null==t||null===(n=t.authorities)||void 0===n?void 0:n.length);e++){var n;if((null==t?void 0:t.authorities[e]).authority.indexOf("AGENT_")>-1)return!0}return!1},canWorkgroup:function(){if(null!=t&&t.authorities)for(var e=0;e<(null==t||null===(n=t.authorities)||void 0===n?void 0:n.length);e++){var n;if((null==t?void 0:t.authorities[e]).authority.indexOf("WORKGROUP_")>-1)return!0}return!1},canMember:function(){if(null!=t&&t.authorities)for(var e=0;e<(null==t||null===(n=t.authorities)||void 0===n?void 0:n.length);e++){var n;if((null==t?void 0:t.authorities[e]).authority.indexOf("MEMBER_")>-1)return!0}return!1},canRobot:function(){if(null!=t&&t.authorities)for(var e=0;e<(null==t||null===(n=t.authorities)||void 0===n?void 0:n.length);e++){var n;if((null==t?void 0:t.authorities[e]).authority.indexOf("ROBOT_")>-1)return!0}return!1},canTicket:function(){if(null!=t&&t.authorities)for(var e=0;e<(null==t||null===(n=t.authorities)||void 0===n?void 0:n.length);e++){var n;if((null==t?void 0:t.authorities[e]).authority.indexOf("TICKET_")>-1)return!0}return!1},canKbase:function(){if(null!=t&&t.authorities)for(var e=0;e<(null==t||null===(n=t.authorities)||void 0===n?void 0:n.length);e++){var n;if((null==t?void 0:t.authorities[e]).authority.indexOf("KBASE_")>-1)return!0}return!1},isCommunityEdition:function(){return(0,C.e)()===x.RxZ},isEnterpriseEdition:function(){return(0,C.e)()===x.RG5},isPlatformEdition:function(){return(0,C.e)()===x.p_L},isEnterpriseOrPlatformEdition:function(){var e=(0,C.e)();return e===x.RG5||e===x.p_L},isEdition:function(){var e=(0,C.e)();return e===x.RxZ||e===x.RG5||e===x.p_L},canReadFoo:!0,canUpdateFoo:function(){return!0}}}(t)}),[t]);return(0,N.jsx)(zl.J.Provider,{value:n,children:e.children})}function Wl(e){return(0,N.jsx)(Hl,{children:e})}function Vl(){return(0,N.jsx)("div",{})}function Gl(e){var t=L.useRef(!1),n=((0,Zl.t)("@@initialState")||{}).loading,r=void 0!==n&&n;return L.useEffect((function(){r||(t.current=!0)}),[r]),r&&!t.current&&"undefined"!=typeof window?(0,N.jsx)(Vl,{}):e.children}function Kl(e){return(0,N.jsx)(Gl,{children:e})}var Yl=n(17082),Xl={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 385.6a446.7 446.7 0 00-96-142.4 446.7 446.7 0 00-142.4-96C631.1 123.8 572.5 112 512 112s-119.1 11.8-174.4 35.2a446.7 446.7 0 00-142.4 96 446.7 446.7 0 00-96 142.4C75.8 440.9 64 499.5 64 560c0 132.7 58.3 257.7 159.9 343.1l1.7 1.4c5.8 4.8 13.1 7.5 20.6 7.5h531.7c7.5 0 14.8-2.7 20.6-7.5l1.7-1.4C901.7 817.7 960 692.7 960 560c0-60.5-11.9-119.1-35.2-174.4zM761.4 836H262.6A371.12 371.12 0 01140 560c0-99.4 38.7-192.8 109-263 70.3-70.3 163.7-109 263-109 99.4 0 192.8 38.7 263 109 70.3 70.3 109 163.7 109 263 0 105.6-44.5 205.5-122.6 276zM623.5 421.5a8.03 8.03 0 00-11.3 0L527.7 506c-18.7-5-39.4-.2-54.1 14.5a55.95 55.95 0 000 79.2 55.95 55.95 0 0079.2 0 55.87 55.87 0 0014.5-54.1l84.5-84.5c3.1-3.1 3.1-8.2 0-11.3l-28.3-28.3zM490 320h44c4.4 0 8-3.6 8-8v-80c0-4.4-3.6-8-8-8h-44c-4.4 0-8 3.6-8 8v80c0 4.4 3.6 8 8 8zm260 218v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8h-80c-4.4 0-8 3.6-8 8zm12.7-197.2l-31.1-31.1a8.03 8.03 0 00-11.3 0l-56.6 56.6a8.03 8.03 0 000 11.3l31.1 31.1c3.1 3.1 8.2 3.1 11.3 0l56.6-56.6c3.1-3.1 3.1-8.2 0-11.3zm-458.6-31.1a8.03 8.03 0 00-11.3 0l-31.1 31.1a8.03 8.03 0 000 11.3l56.6 56.6c3.1 3.1 8.2 3.1 11.3 0l31.1-31.1c3.1-3.1 3.1-8.2 0-11.3l-56.6-56.6zM262 530h-80c-4.4 0-8 3.6-8 8v44c0 4.4 3.6 8 8 8h80c4.4 0 8-3.6 8-8v-44c0-4.4-3.6-8-8-8z"}}]},name:"dashboard",theme:"outlined"},Ql=n(64423),Jl=function(e,t){return L.createElement(Ql.Z,(0,Yl.Z)((0,Yl.Z)({},e),{},{ref:t,icon:Xl}))};var ec=L.forwardRef(Jl),tc=n(85333),nc=function(e,t){return L.createElement(Ql.Z,(0,Yl.Z)((0,Yl.Z)({},e),{},{ref:t,icon:tc.Z}))};var rc=L.forwardRef(nc),ic=n(26033),oc=function(e,t){return L.createElement(Ql.Z,(0,Yl.Z)((0,Yl.Z)({},e),{},{ref:t,icon:ic.Z}))};var ac=L.forwardRef(oc),sc=n(15323),lc=function(e,t){return L.createElement(Ql.Z,(0,Yl.Z)((0,Yl.Z)({},e),{},{ref:t,icon:sc.Z}))};var cc=L.forwardRef(lc),uc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"},dc=function(e,t){return L.createElement(Ql.Z,(0,Yl.Z)((0,Yl.Z)({},e),{},{ref:t,icon:uc}))};var fc=L.forwardRef(dc),pc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM492 400h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zM340 368a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"profile",theme:"outlined"},hc=function(e,t){return L.createElement(Ql.Z,(0,Yl.Z)((0,Yl.Z)({},e),{},{ref:t,icon:pc}))};var mc=L.forwardRef(hc),gc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M877.1 238.7L770.6 132.3c-13-13-30.4-20.3-48.8-20.3s-35.8 7.2-48.8 20.3L558.3 246.8c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l89.6 89.7a405.46 405.46 0 01-86.4 127.3c-36.7 36.9-79.6 66-127.2 86.6l-89.6-89.7c-13-13-30.4-20.3-48.8-20.3a68.2 68.2 0 00-48.8 20.3L132.3 673c-13 13-20.3 30.5-20.3 48.9 0 18.5 7.2 35.8 20.3 48.9l106.4 106.4c22.2 22.2 52.8 34.9 84.2 34.9 6.5 0 12.8-.5 19.2-1.6 132.4-21.8 263.8-92.3 369.9-198.3C818 606 888.4 474.6 910.4 342.1c6.3-37.6-6.3-76.3-33.3-103.4zm-37.6 91.5c-19.5 117.9-82.9 235.5-178.4 331s-213 158.9-330.9 178.4c-14.8 2.5-30-2.5-40.8-13.2L184.9 721.9 295.7 611l119.8 120 .9.9 21.6-8a481.29 481.29 0 00285.7-285.8l8-21.6-120.8-120.7 110.8-110.9 104.5 104.5c10.8 10.8 15.8 26 13.3 40.8z"}}]},name:"phone",theme:"outlined"},yc=function(e,t){return L.createElement(Ql.Z,(0,Yl.Z)((0,Yl.Z)({},e),{},{ref:t,icon:gc}))};var vc=L.forwardRef(yc),bc=n(89291),wc=function(e,t){return L.createElement(Ql.Z,(0,Yl.Z)((0,Yl.Z)({},e),{},{ref:t,icon:bc.Z}))};var kc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M899.6 276.5L705 396.4 518.4 147.5a8.06 8.06 0 00-12.9 0L319 396.4 124.3 276.5c-5.7-3.5-13.1 1.2-12.2 7.9L188.5 865c1.1 7.9 7.9 14 16 14h615.1c8 0 14.9-6 15.9-14l76.4-580.6c.8-6.7-6.5-11.4-12.3-7.9zm-126 534.1H250.3l-53.8-409.4 139.8 86.1L512 252.9l175.7 234.4 139.8-86.1-53.9 409.4zM512 509c-62.1 0-112.6 50.5-112.6 112.6S449.9 734.2 512 734.2s112.6-50.5 112.6-112.6S574.1 509 512 509zm0 160.9c-26.6 0-48.2-21.6-48.2-48.3 0-26.6 21.6-48.3 48.2-48.3s48.2 21.6 48.2 48.3c0 26.6-21.6 48.3-48.2 48.3z"}}]},name:"crown",theme:"outlined"},Ec=function(e,t){return L.createElement(Ql.Z,(0,Yl.Z)((0,Yl.Z)({},e),{},{ref:t,icon:kc}))};var Sc={DashboardOutlined:ec,TeamOutlined:rc,CustomerServiceOutlined:ac,RobotOutlined:cc,BookOutlined:fc,ProfileOutlined:mc,PhoneOutlined:vc,SettingOutlined:L.forwardRef(wc),CrownOutlined:L.forwardRef(Ec)};function xc(e){var t=e.routes;Object.keys(t).forEach((function(e){var n=t[e].icon;if(n&&"string"==typeof n){var r=function(e){return e.replace(e[0],e[0].toUpperCase()).replace(/-(w)/g,(function(e,t){return t.toUpperCase()}))}(n);(Sc[r]||Sc[r+"Outlined"])&&(t[e].icon=L.createElement(Sc[r]||Sc[r+"Outlined"]))}}))}var Cc=n(96839),Tc=n(28977),_c=n.n(Tc),Ac=(n(9733),n(58070),n(6303),n(18397));var Oc="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?L.useLayoutEffect:L.useEffect,Rc=function(e){var t,n=(0,Ac.Kd)(),r=L.useState(n),i=m()(r,2),o=i[0],a=i[1],s=L.useState((function(){return(0,Ac.lw)(o,!0)})),l=m()(s,2),c=l[0],u=l[1],d=function(e){var t;null!==_c()&&void 0!==_c()&&_c().locale&&_c().locale((null===(t=Ac.H8[e])||void 0===t?void 0:t.momentLocale)||"en");a(e),u((0,Ac.lw)(e))};Oc((function(){return Ac.B.on(Ac.PZ,d),function(){Ac.B.off(Ac.PZ,d)}}),[]);var f=(0,Ac.Mg)();return(0,N.jsx)(Cc.ZP,{direction:f,locale:(null===(t=Ac.H8[o])||void 0===t?void 0:t.antd)||{},children:(0,N.jsx)(Ac.eU,{value:c,children:e.children})})};function Pc(e){return L.createElement(Rc,null,e)}var Ic={initialState:void 0,loading:!0,error:void 0},Mc={model_1:{namespace:"@@initialState",model:function(){var e=(0,L.useState)(Ic),t=m()(e,2),n=t[0],r=t[1],i=(0,L.useCallback)(y()(p()().mark((function e(){var t;return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r((function(e){return d()(d()({},e),{},{loading:!0,error:void 0})})),e.prev=1,e.next=4,$s();case 4:t=e.sent,r((function(e){return d()(d()({},e),{},{initialState:t,loading:!1})})),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),r((function(t){return d()(d()({},t),{},{error:e.t0,loading:!1})}));case 11:case"end":return e.stop()}}),e,null,[[1,8]])}))),[]),o=(0,L.useCallback)(function(){var e=y()(p()().mark((function e(t){return p()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r((function(e){return"function"==typeof t?d()(d()({},e),{},{initialState:t(e.initialState),loading:!1}):d()(d()({},e),{},{initialState:t,loading:!1})}));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[]);return(0,L.useEffect)((function(){i()}),[]),d()(d()({},n),{},{refresh:i,setInitialState:o})}}};function Lc(e){var t=L.useMemo((function(){return Object.keys(Mc).reduce((function(e,t){return e[Mc[t].namespace]=Mc[t].model,e}),{})}),[]);return(0,N.jsx)(Zl.z,d()(d()({models:t},e),{},{children:e.children}))}function Nc(e,t){return(0,N.jsx)(Lc,d()(d()({},t),{},{children:e}))}var Dc=null;function jc(){var e;return Dc=E.PluginManager.create({plugins:[{apply:(e=r,e.default?"function"==typeof e.default?e.default():e.default:e),path:void 0},{apply:i,path:void 0},{apply:o,path:void 0},{apply:a,path:void 0},{apply:s,path:void 0},{apply:l,path:void 0},{apply:c,path:void 0}],validKeys:["patchRoutes","patchClientRoutes","modifyContextOpts","modifyClientRenderOpts","rootContainer","innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","render","onRouteChange","antd","getInitialState","layout","locale","qiankun","request"]})}function Bc(){return Dc}},30921:function(e,t,n){"use strict";n.d(t,{Access:function(){return r.Nv},ApplyPluginsType:function(){return de},FormattedMessage:function(){return i._H},Link:function(){return K},Outlet:function(){return $.j3},PluginManager:function(){return fe},SelectLang:function(){return i.pD},getLocale:function(){return i.Kd},history:function(){return pe.m8},matchRoutes:function(){return $.fp},request:function(){return B},setLocale:function(){return i.i_},useAccess:function(){return r.md},useAppData:function(){return V.Ov},useIntl:function(){return i.YB},useLocation:function(){return $.TH},useModel:function(){return o.t},useNavigate:function(){return $.s0},useOutletContext:function(){return $.bx}});var r=n(3123),i=n(4982),o=n(59191),a=n(90819),s=n.n(a),l=n(89933),c=n.n(l),u=(n(84176),n(89957),n(73193)),d=n.n(u),f=n(24718),p=n.n(f),h=n(44194),m=n(51899),g=n.n(m),y=n(14978),v=n.n(y);function b(){return"undefined"==typeof document||void 0===document.visibilityState||"hidden"!==document.visibilityState}new Map;var w=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},k=function(){for(var e=[],t=0;t0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},P=function(){for(var e=[],t=0;t1&&void 0!==arguments[1]?arguments[1]:{method:"GET"},n=j(),r=D(),i=t.getResponse,o=void 0!==i&&i,a=t.requestInterceptors,l=t.responseInterceptors,u=null==a?void 0:a.map((function(e){return e instanceof Array?n.interceptors.request.use(function(){var t=c()(s()().mark((function t(n){var r,i,o,a;return s()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=n.url,2!==e[0].length){t.next=8;break}return t.next=4,e[0](r,n);case 4:return i=t.sent,o=i.url,a=i.options,t.abrupt("return",d()(d()({},a),{},{url:o}));case 8:return t.abrupt("return",e[0](n));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),e[1]):n.interceptors.request.use(function(){var t=c()(s()().mark((function t(n){var r,i,o,a;return s()().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=n.url,2!==e.length){t.next=8;break}return t.next=4,e(r,n);case 4:return i=t.sent,o=i.url,a=i.options,t.abrupt("return",d()(d()({},a),{},{url:o}));case 8:return t.abrupt("return",e(n));case 9:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())})),f=null==l?void 0:l.map((function(e){return e instanceof Array?n.interceptors.response.use(e[0],e[1]):n.interceptors.response.use(e)}));return new Promise((function(i,a){n.request(d()(d()({},t),{},{url:e})).then((function(e){null==u||u.forEach((function(e){n.interceptors.request.eject(e)})),null==f||f.forEach((function(e){n.interceptors.response.eject(e)})),i(o?e:e.data)})).catch((function(e){null==u||u.forEach((function(e){n.interceptors.request.eject(e)})),null==f||f.forEach((function(e){n.interceptors.response.eject(e)}));try{var i,o=null==r||null===(i=r.errorConfig)||void 0===i?void 0:i.errorHandler;o&&o(e,t,r)}catch(e){a(e)}a(e)}))}))},q=n(16076),F=n(18261),$=n(45516),U=n(86380);function Z(){return Z=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}const H=["onClick","reloadDocument","replace","state","target","to"];const W=(0,h.forwardRef)((function(e,t){let{onClick:n,reloadDocument:r,replace:i=!1,state:o,target:a,to:s}=e,l=z(e,H),c=(0,$.oQ)(s),u=function(e,t){let{target:n,replace:r,state:i}=void 0===t?{}:t,o=(0,$.s0)(),a=(0,$.TH)(),s=(0,$.WU)(e);return(0,h.useCallback)((t=>{if(!(0!==t.button||n&&"_self"!==n||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t))){t.preventDefault();let n=!!r||(0,U.Ep)(a)===(0,U.Ep)(s);o(e,{replace:n,state:i})}}),[a,o,s,r,i,n,e])}(s,{replace:i,state:o,target:a});return(0,h.createElement)("a",Z({},l,{href:c,onClick:function(e){n&&n(e),e.defaultPrevented||r||u(e)},ref:t,target:a}))}));var V=n(38517),G=["prefetch"];function K(e){var t,n=e.prefetch,r=(0,F.Z)(e,G),i=(0,V.Ov)(),o="string"==typeof e.to?e.to:null===(t=e.to)||void 0===t?void 0:t.pathname;return o?h.createElement(W,(0,q.Z)({onMouseEnter:function(){var e;return n&&o&&(null===(e=i.preloadRoute)||void 0===e?void 0:e.call(i,o))}},r),e.children):null}var Y=n(49338);function X(){X=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,a=Object.create(o.prototype),s=new O(r||[]);return i(a,"_invoke",{value:C(e,n,s)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var f="suspendedStart",p="executing",h="completed",m={};function g(){}function y(){}function v(){}var b={};c(b,a,(function(){return this}));var w=Object.getPrototypeOf,k=w&&w(w(R([])));k&&k!==n&&r.call(k,a)&&(b=k);var E=v.prototype=g.prototype=Object.create(b);function S(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(i,o,a,s){var l=d(e[i],e,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==(0,Y.Z)(u)&&r.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(u).then((function(e){c.value=e,a(c)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var o;i(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,i){n(e,r,t,i)}))}return o=o?o.then(i,i):i()}})}function C(t,n,r){var i=f;return function(o,a){if(i===p)throw new Error("Generator is already running");if(i===h){if("throw"===o)throw a;return{value:e,done:!0}}for(r.method=o,r.arg=a;;){var s=r.delegate;if(s){var l=T(s,r);if(l){if(l===m)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(i===f)throw i=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=p;var c=d(t,n,r);if("normal"===c.type){if(i=r.done?h:"suspendedYield",c.arg===m)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=h,r.method="throw",r.arg=c.arg)}}}function T(t,n){var r=n.method,i=t.iterator[r];if(i===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=d(i,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var a=o.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(t){if(t||""===t){var n=t[a];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function n(){for(;++i=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(l&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),A(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;A(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:R(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}var Q=n(42549);function J(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function ee(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){J(o,r,i,a,s,"next",e)}function s(e){J(o,r,i,a,s,"throw",e)}a(void 0)}))}}var te=n(2147);function ne(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=(0,te.Z)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}var re=n(37115);var ie=n(58157);function oe(e){return(0,re.Z)(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,te.Z)(e)||(0,ie.Z)()}var ae=n(85649);function se(e,t){for(var n=0;n-1,"register failed, invalid key ".concat(n," ").concat(e.path?"from plugin ".concat(e.path):"",".")),t.hooks[n]=(t.hooks[n]||[]).concat(e.apply[n])}))}},{key:"getHooks",value:function(e){var t=oe(e.split(".")),n=t[0],r=t.slice(1),i=this.hooks[n]||[];return r.length&&(i=i.map((function(e){try{var t,n=e,i=ne(r);try{for(i.s();!(t=i.n()).done;)n=n[t.value]}catch(e){i.e(e)}finally{i.f()}return n}catch(e){return null}})).filter(Boolean)),i}},{key:"applyPlugins",value:function(e){var t=e.key,n=e.type,r=e.initialValue,i=e.args,o=e.async,a=this.getHooks(t)||[];switch(i&&ce("object"===(0,Y.Z)(i),"applyPlugins failed, args must be plain object."),o&&ce(n===de.modify||n===de.event,"async only works with modify and event type."),n){case de.modify:return o?a.reduce(function(){var e=ee(X().mark((function e(n,r){var o;return X().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(ce("function"==typeof r||"object"===(0,Y.Z)(r)||ue(r),"applyPlugins failed, all hooks for key ".concat(t," must be function, plain object or Promise.")),!ue(n)){e.next=5;break}return e.next=4,n;case 4:n=e.sent;case 5:if("function"!=typeof r){e.next=16;break}if(!ue(o=r(n,i))){e.next=13;break}return e.next=10,o;case 10:return e.abrupt("return",e.sent);case 13:return e.abrupt("return",o);case 14:e.next=21;break;case 16:if(!ue(r)){e.next=20;break}return e.next=19,r;case 19:r=e.sent;case 20:return e.abrupt("return",(0,Q.Z)((0,Q.Z)({},n),r));case 21:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),ue(r)?r:Promise.resolve(r)):a.reduce((function(e,n){return ce("function"==typeof n||"object"===(0,Y.Z)(n),"applyPlugins failed, all hooks for key ".concat(t," must be function or plain object.")),"function"==typeof n?n(e,i):(0,Q.Z)((0,Q.Z)({},e),n)}),r);case de.event:return ee(X().mark((function e(){var n,r,s,l;return X().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=ne(a),e.prev=1,n.s();case 3:if((r=n.n()).done){e.next=12;break}if(ce("function"==typeof(s=r.value),"applyPlugins failed, all hooks for key ".concat(t," must be function.")),l=s(i),!o||!ue(l)){e.next=10;break}return e.next=10,l;case 10:e.next=3;break;case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(1),n.e(e.t0);case 17:return e.prev=17,n.f(),e.finish(17);case 20:case"end":return e.stop()}}),e,null,[[1,14,17,20]])})))();case de.compose:return function(){return function(e){var t=e.fns,n=e.args;if(1===t.length)return t[0];var r=t.pop();return t.reduce((function(e,t){return function(){return t(e,n)}}),r)}({fns:a.concat(r),args:i})()}}}}],r=[{key:"create",value:function(t){var n=new e({validKeys:t.validKeys});return t.plugins.forEach((function(e){n.register(e)})),n}}],n&&se(t.prototype,n),r&&se(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),pe=n(29838)},75147:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var r=n(44194).createContext(null)},3123:function(e,t,n){"use strict";n.d(t,{Mf:function(){return l},Nv:function(){return s},md:function(){return a}});var r=n(44194),i=n(75147),o=n(31549),a=function(){return r.useContext(i.J)},s=function(e){return(0,o.jsx)(o.Fragment,{children:e.accessible?e.children:e.fallback})},l=function(e){var t=a();return r.useMemo((function(){var n=function e(n,r,i){var o,a,s=n.access,l=n;if(!s&&r&&(s=r,l=i),n.unaccessible=!1,"string"==typeof s){var c=t[s];"function"==typeof c?n.unaccessible=!c(l):"boolean"==typeof c?n.unaccessible=!c:void 0===c&&(n.unaccessible=!0)}null!==(o=n.children)&&void 0!==o&&o.length&&(!n.children.reduce((function(t,r){return e(r,s,n),t||!r.unaccessible}),!1)&&(n.unaccessible=!0));null!==(a=n.routes)&&void 0!==a&&a.length&&(!n.routes.reduce((function(t,r){return e(r,s,n),t||!r.unaccessible}),!1)&&(n.unaccessible=!0));return n};return e.map((function(e){return n(e)}))}),[e.length,t])}},4982:function(e,t,n){"use strict";n.d(t,{_H:function(){return r._H},pD:function(){return b},Kd:function(){return r.Kd},i_:function(){return r.i_},YB:function(){return r.YB}});var r=n(18397),i=n(45332),o=n.n(i),a=(n(10154),n(73193)),s=n.n(a),l=n(84176),c=n.n(l),u=n(44194),d=n(96485),f=n(51562),p=n(26331),h=n(31549),m=["overlayClassName"],g=["globalIconClassName","postLocalesData","onItemClick","icon","style","reload"],y=function(e){var t=e.overlayClassName,n=c()(e,m);return(0,h.jsx)(d.Z,s()({overlayClassName:t},n))},v={"ar-EG":{lang:"ar-EG",label:"العربية",icon:"🇪🇬",title:"لغة"},"az-AZ":{lang:"az-AZ",label:"Azərbaycan dili",icon:"🇦🇿",title:"Dil"},"bg-BG":{lang:"bg-BG",label:"Български език",icon:"🇧🇬",title:"език"},"bn-BD":{lang:"bn-BD",label:"বাংলা",icon:"🇧🇩",title:"ভাষা"},"ca-ES":{lang:"ca-ES",label:"Catalá",icon:"🇨🇦",title:"llengua"},"cs-CZ":{lang:"cs-CZ",label:"Čeština",icon:"🇨🇿",title:"Jazyk"},"da-DK":{lang:"da-DK",label:"Dansk",icon:"🇩🇰",title:"Sprog"},"de-DE":{lang:"de-DE",label:"Deutsch",icon:"🇩🇪",title:"Sprache"},"el-GR":{lang:"el-GR",label:"Ελληνικά",icon:"🇬🇷",title:"Γλώσσα"},"en-GB":{lang:"en-GB",label:"English",icon:"🇬🇧",title:"Language"},"en-US":{lang:"en-US",label:"English",icon:"🇺🇸",title:"Language"},"es-ES":{lang:"es-ES",label:"Español",icon:"🇪🇸",title:"Idioma"},"et-EE":{lang:"et-EE",label:"Eesti",icon:"🇪🇪",title:"Keel"},"fa-IR":{lang:"fa-IR",label:"فارسی",icon:"🇮🇷",title:"زبان"},"fi-FI":{lang:"fi-FI",label:"Suomi",icon:"🇫🇮",title:"Kieli"},"fr-BE":{lang:"fr-BE",label:"Français",icon:"🇧🇪",title:"Langue"},"fr-FR":{lang:"fr-FR",label:"Français",icon:"🇫🇷",title:"Langue"},"ga-IE":{lang:"ga-IE",label:"Gaeilge",icon:"🇮🇪",title:"Teanga"},"he-IL":{lang:"he-IL",label:"עברית",icon:"🇮🇱",title:"שפה"},"hi-IN":{lang:"hi-IN",label:"हिन्दी, हिंदी",icon:"🇮🇳",title:"भाषा: हिन्दी"},"hr-HR":{lang:"hr-HR",label:"Hrvatski jezik",icon:"🇭🇷",title:"Jezik"},"hu-HU":{lang:"hu-HU",label:"Magyar",icon:"🇭🇺",title:"Nyelv"},"hy-AM":{lang:"hu-HU",label:"Հայերեն",icon:"🇦🇲",title:"Լեզու"},"id-ID":{lang:"id-ID",label:"Bahasa Indonesia",icon:"🇮🇩",title:"Bahasa"},"it-IT":{lang:"it-IT",label:"Italiano",icon:"🇮🇹",title:"Linguaggio"},"is-IS":{lang:"is-IS",label:"Íslenska",icon:"🇮🇸",title:"Tungumál"},"ja-JP":{lang:"ja-JP",label:"日本語",icon:"🇯🇵",title:"言語"},"ku-IQ":{lang:"ku-IQ",label:"کوردی",icon:"🇮🇶",title:"Ziman"},"kn-IN":{lang:"kn-IN",label:"ಕನ್ನಡ",icon:"🇮🇳",title:"ಭಾಷೆ"},"ko-KR":{lang:"ko-KR",label:"한국어",icon:"🇰🇷",title:"언어"},"lv-LV":{lang:"lv-LV",label:"Latviešu valoda",icon:"🇱🇮",title:"Kalba"},"mk-MK":{lang:"mk-MK",label:"македонски јазик",icon:"🇲🇰",title:"Јазик"},"mn-MN":{lang:"mn-MN",label:"Монгол хэл",icon:"🇲🇳",title:"Хэл"},"ms-MY":{lang:"ms-MY",label:"بهاس ملايو‎",icon:"🇲🇾",title:"Bahasa"},"nb-NO":{lang:"nb-NO",label:"Norsk",icon:"🇳🇴",title:"Språk"},"ne-NP":{lang:"ne-NP",label:"नेपाली",icon:"🇳🇵",title:"भाषा"},"nl-BE":{lang:"nl-BE",label:"Vlaams",icon:"🇧🇪",title:"Taal"},"nl-NL":{lang:"nl-NL",label:"Nederlands",icon:"🇳🇱",title:"Taal"},"pl-PL":{lang:"pl-PL",label:"Polski",icon:"🇵🇱",title:"Język"},"pt-BR":{lang:"pt-BR",label:"Português",icon:"🇧🇷",title:"Idiomas"},"pt-PT":{lang:"pt-PT",label:"Português",icon:"🇵🇹",title:"Idiomas"},"ro-RO":{lang:"ro-RO",label:"Română",icon:"🇷🇴",title:"Limba"},"ru-RU":{lang:"ru-RU",label:"Русский",icon:"🇷🇺",title:"язык"},"sk-SK":{lang:"sk-SK",label:"Slovenčina",icon:"🇸🇰",title:"Jazyk"},"sr-RS":{lang:"sr-RS",label:"српски језик",icon:"🇸🇷",title:"Језик"},"sl-SI":{lang:"sl-SI",label:"Slovenščina",icon:"🇸🇱",title:"Jezik"},"sv-SE":{lang:"sv-SE",label:"Svenska",icon:"🇸🇪",title:"Språk"},"ta-IN":{lang:"ta-IN",label:"தமிழ்",icon:"🇮🇳",title:"மொழி"},"th-TH":{lang:"th-TH",label:"ไทย",icon:"🇹🇭",title:"ภาษา"},"tr-TR":{lang:"tr-TR",label:"Türkçe",icon:"🇹🇷",title:"Dil"},"uk-UA":{lang:"uk-UA",label:"Українська",icon:"🇺🇰",title:"Мова"},"vi-VN":{lang:"vi-VN",label:"Tiếng Việt",icon:"🇻🇳",title:"Ngôn ngữ"},"zh-CN":{lang:"zh-CN",label:"简体中文",icon:"🇨🇳",title:"语言"},"zh-TW":{lang:"zh-TW",label:"繁體中文",icon:"🇭🇰",title:"語言"}},b=function(e){var t,n,i=e.globalIconClassName,a=e.postLocalesData,l=e.onItemClick,d=e.icon,m=e.style,b=e.reload,w=c()(e,g),k=(0,u.useState)((function(){return(0,r.Kd)()})),E=o()(k,2),S=E[0],x=E[1],C=(0,r.XZ)().map((function(e){return v[e]||{lang:e,label:e,icon:"🌐",title:e}})),T=(null==a?void 0:a(C))||C,_={minWidth:"160px"},A={marginRight:"8px"},O={selectedKeys:[S],onClick:l?function(e){return l(e)}:function(e){var t=e.key;(0,r.i_)(t,b),x((0,r.Kd)())},items:T.map((function(e){return{key:e.lang||e.key,style:_,label:(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("span",{role:"img","aria-label":(null==e?void 0:e.label)||"en-US",style:A,children:(null==e?void 0:e.icon)||"🌐"}),(null==e?void 0:e.label)||"en-US"]})}}))};n=f.Z.startsWith("5.")||f.Z.startsWith("4.24.")?{menu:O}:f.Z.startsWith("3.")?{overlay:(0,h.jsx)(p.Z,{children:O.items.map((function(e){return(0,h.jsx)(p.Z.Item,{onClick:e.onClick,children:e.label},e.key)}))})}:{overlay:(0,h.jsx)(p.Z,s()({},O))};var R=s()({cursor:"pointer",padding:"12px",display:"inline-flex",alignItems:"center",justifyContent:"center",fontSize:18,verticalAlign:"middle"},m);return(0,h.jsx)(y,s()(s()(s()({},n),{},{placement:"bottomRight"},w),{},{children:(0,h.jsx)("span",{className:i,style:R,children:(0,h.jsx)("i",{className:"anticon",title:null===(t=T[S])||void 0===t?void 0:t.title,children:d||(0,h.jsxs)("svg",{viewBox:"0 0 24 24",focusable:"false",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:[(0,h.jsx)("path",{d:"M0 0h24v24H0z",fill:"none"}),(0,h.jsx)("path",{d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",className:"css-c4d79v"})]})})})}))}},18397:function(e,t,n){"use strict";n.d(t,{_H:function(){return vt},PZ:function(){return Dt},eU:function(){return w},B:function(){return Nt},XZ:function(){return Wt},Mg:function(){return zt},lw:function(){return $t},Kd:function(){return Zt},H8:function(){return Bt},i_:function(){return Ht},YB:function(){return bt}});var r=n(84176),i=n.n(r),o=n(73193),a=n.n(o),s=n(78796),l=n.n(s),c=n(4977),u=n.n(c),d=n(49488),f=n.n(d),p=n(84047),h=n.n(p),m=n(44194),g=n.t(m,2),y=(n(10154),n(10063));n.n(y)();var v,b=m.createContext(null),w=(b.Consumer,b.Provider),k=b;function E(e){return e.type===v.literal}function S(e){return e.type===v.argument}function x(e){return e.type===v.number}function C(e){return e.type===v.date}function T(e){return e.type===v.time}function _(e){return e.type===v.select}function A(e){return e.type===v.plural}function O(e){return e.type===v.pound}function R(e){return!(!e||"object"!=typeof e||0!==e.type)}function P(e){return!(!e||"object"!=typeof e||1!==e.type)}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound"}(v||(v={}));var I,M=(I=function(e,t){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},I(e,t)},function(e,t){function n(){this.constructor=e}I(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),L=function(){return L=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0){for(t=1,n=1;t1&&"}"===e)},ue=Ae("\n",!1),de=Re("argNameOrNumber"),fe=Re("argNumber"),pe=Ae("0",!1),he=/^[1-9]/,me=Oe([["1","9"]],!1,!1),ge=/^[0-9]/,ye=Oe([["0","9"]],!1,!1),ve=Re("argName"),be=0,we=0,ke=[{line:1,column:1}],Ee=0,Se=[],xe=0;if(void 0!==t.startRule){if(!(t.startRule in i))throw new Error("Can't start parsing from rule \""+t.startRule+'".');o=i[t.startRule]}function Ce(){return e.substring(we,be)}function Te(){return Ie(we,be)}function _e(e,t){throw function(e,t){return new N(e,[],"",t)}(e,t=void 0!==t?t:Ie(we,be))}function Ae(e,t){return{type:"literal",text:e,ignoreCase:t}}function Oe(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function Re(e){return{type:"other",description:e}}function Pe(t){var n,r=ke[t];if(r)return r;for(n=t-1;!ke[n];)n--;for(r={line:(r=ke[n]).line,column:r.column};nEe&&(Ee=be,Se=[]),Se.push(e))}function Le(e,t,n){return new N(N.buildMessage(e,t),e,t,n)}function Ne(){return De()}function De(){var e,t;for(e=[],t=je();t!==r;)e.push(t),t=je();return e}function je(){var t;return(t=function(){var e,t;e=be,(t=Be())!==r&&(we=e,n=t,t=L({type:v.literal,value:n},it()));var n;return e=t,e}())===r&&(t=function(){var t,n,i,o;xe++,t=be,123===e.charCodeAt(be)?(n=l,be++):(n=r,0===xe&&Me(c));n!==r&&Ge()!==r&&(i=Je())!==r&&Ge()!==r?(125===e.charCodeAt(be)?(o=u,be++):(o=r,0===xe&&Me(d)),o!==r?(we=t,a=i,t=n=L({type:v.argument,value:a},it())):(be=t,t=r)):(be=t,t=r);var a;xe--,t===r&&(n=r,0===xe&&Me(s));return t}())===r&&(t=function(){var t;t=function(){var t,n,i,o,a,s,f,p,h;t=be,123===e.charCodeAt(be)?(n=l,be++):(n=r,0===xe&&Me(c));n!==r&&Ge()!==r&&(i=Je())!==r&&Ge()!==r?(44===e.charCodeAt(be)?(o=S,be++):(o=r,0===xe&&Me(x)),o!==r&&Ge()!==r?(e.substr(be,6)===C?(a=C,be+=6):(a=r,0===xe&&Me(T)),a!==r&&Ge()!==r?(s=be,44===e.charCodeAt(be)?(f=S,be++):(f=r,0===xe&&Me(x)),f!==r&&(p=Ge())!==r?(h=function(){var t,n,i;t=be,e.substr(be,2)===w?(n=w,be+=2):(n=r,0===xe&&Me(k));n!==r?(i=function(){var e,t,n;if(e=be,t=[],n=$e(),n!==r)for(;n!==r;)t.push(n),n=$e();else t=r;t!==r&&(we=e,t=L({type:0,tokens:t},it()));return e=t,e}(),i!==r?(we=t,t=n=i):(be=t,t=r)):(be=t,t=r);t===r&&(t=be,we=be,nt.push("numberArgStyle"),(n=(n=!0)?void 0:r)!==r&&(i=Be())!==r?(we=t,t=n=E(i)):(be=t,t=r));return t}(),h!==r?s=f=[f,p,h]:(be=s,s=r)):(be=s,s=r),s===r&&(s=null),s!==r&&(f=Ge())!==r?(125===e.charCodeAt(be)?(p=u,be++):(p=r,0===xe&&Me(d)),p!==r?(we=t,t=n=_(i,a,s)):(be=t,t=r)):(be=t,t=r)):(be=t,t=r)):(be=t,t=r)):(be=t,t=r);return t}(),t===r&&(t=function(){var t,n,i,o,a,s,f,p,h;t=be,123===e.charCodeAt(be)?(n=l,be++):(n=r,0===xe&&Me(c));n!==r&&Ge()!==r&&(i=Je())!==r&&Ge()!==r?(44===e.charCodeAt(be)?(o=S,be++):(o=r,0===xe&&Me(x)),o!==r&&Ge()!==r?(e.substr(be,4)===B?(a=B,be+=4):(a=r,0===xe&&Me(q)),a===r&&(e.substr(be,4)===F?(a=F,be+=4):(a=r,0===xe&&Me($))),a!==r&&Ge()!==r?(s=be,44===e.charCodeAt(be)?(f=S,be++):(f=r,0===xe&&Me(x)),f!==r&&(p=Ge())!==r?(h=function(){var t,n,i;t=be,e.substr(be,2)===w?(n=w,be+=2):(n=r,0===xe&&Me(k));n!==r?(i=function(){var t,n,i,o;t=be,n=be,i=[],o=Ue(),o===r&&(o=Ze());if(o!==r)for(;o!==r;)i.push(o),(o=Ue())===r&&(o=Ze());else i=r;n=i!==r?e.substring(n,be):i;n!==r&&(we=t,n=L({type:1,pattern:n},it()));return t=n,t}(),i!==r?(we=t,t=n=i):(be=t,t=r)):(be=t,t=r);t===r&&(t=be,we=be,nt.push("dateOrTimeArgStyle"),(n=(n=!0)?void 0:r)!==r&&(i=Be())!==r?(we=t,t=n=E(i)):(be=t,t=r));return t}(),h!==r?s=f=[f,p,h]:(be=s,s=r)):(be=s,s=r),s===r&&(s=null),s!==r&&(f=Ge())!==r?(125===e.charCodeAt(be)?(p=u,be++):(p=r,0===xe&&Me(d)),p!==r?(we=t,t=n=_(i,a,s)):(be=t,t=r)):(be=t,t=r)):(be=t,t=r)):(be=t,t=r)):(be=t,t=r);return t}());return t}())===r&&(t=function(){var t,n,i,o,a,s,f,p,h,m,g;t=be,123===e.charCodeAt(be)?(n=l,be++):(n=r,0===xe&&Me(c));if(n!==r)if(Ge()!==r)if((i=Je())!==r)if(Ge()!==r)if(44===e.charCodeAt(be)?(o=S,be++):(o=r,0===xe&&Me(x)),o!==r)if(Ge()!==r)if(e.substr(be,6)===U?(a=U,be+=6):(a=r,0===xe&&Me(Z)),a===r&&(e.substr(be,13)===z?(a=z,be+=13):(a=r,0===xe&&Me(H))),a!==r)if(Ge()!==r)if(44===e.charCodeAt(be)?(s=S,be++):(s=r,0===xe&&Me(x)),s!==r)if(Ge()!==r)if(f=be,e.substr(be,7)===W?(p=W,be+=7):(p=r,0===xe&&Me(V)),p!==r&&(h=Ge())!==r&&(m=Ke())!==r?f=p=[p,h,m]:(be=f,f=r),f===r&&(f=null),f!==r)if((p=Ge())!==r){if(h=[],(m=He())!==r)for(;m!==r;)h.push(m),m=He();else h=r;h!==r&&(m=Ge())!==r?(125===e.charCodeAt(be)?(g=u,be++):(g=r,0===xe&&Me(d)),g!==r?(we=t,n=function(e,t,n,r){return L({type:v.plural,pluralType:"plural"===t?"cardinal":"ordinal",value:e,offset:n?n[2]:0,options:r.reduce((function(e,t){var n=t.id,r=t.value,i=t.location;return n in e&&_e('Duplicate option "'+n+'" in plural element: "'+Ce()+'"',Te()),e[n]={value:r,location:i},e}),{})},it())}(i,a,f,h),t=n):(be=t,t=r)):(be=t,t=r)}else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;return t}(),t===r&&(t=function(){var t,n,i,o,a,s,f,p,h;t=be,123===e.charCodeAt(be)?(n=l,be++):(n=r,0===xe&&Me(c));if(n!==r)if(Ge()!==r)if((i=Je())!==r)if(Ge()!==r)if(44===e.charCodeAt(be)?(o=S,be++):(o=r,0===xe&&Me(x)),o!==r)if(Ge()!==r)if(e.substr(be,6)===G?(a=G,be+=6):(a=r,0===xe&&Me(K)),a!==r)if(Ge()!==r)if(44===e.charCodeAt(be)?(s=S,be++):(s=r,0===xe&&Me(x)),s!==r)if(Ge()!==r){if(f=[],(p=ze())!==r)for(;p!==r;)f.push(p),p=ze();else f=r;f!==r&&(p=Ge())!==r?(125===e.charCodeAt(be)?(h=u,be++):(h=r,0===xe&&Me(d)),h!==r?(we=t,n=function(e,t){return L({type:v.select,value:e,options:t.reduce((function(e,t){var n=t.id,r=t.value,i=t.location;return n in e&&_e('Duplicate option "'+n+'" in select element: "'+Ce()+'"',Te()),e[n]={value:r,location:i},e}),{})},it())}(i,f),t=n):(be=t,t=r)):(be=t,t=r)}else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;else be=t,t=r;return t}(),t===r&&(t=function(){var t,n;t=be,35===e.charCodeAt(be)?(n="#",be++):(n=r,0===xe&&Me(a));n!==r&&(we=t,n=L({type:v.pound},it()));return t=n,t}()))),t}function Be(){var e,t,n;if(e=be,t=[],(n=Ye())===r&&(n=Xe())===r&&(n=Qe()),n!==r)for(;n!==r;)t.push(n),(n=Ye())===r&&(n=Xe())===r&&(n=Qe());else t=r;return t!==r&&(we=e,t=t.join("")),e=t}function qe(){var t,n,i,o,a;if(xe++,t=be,n=[],i=be,o=be,xe++,(a=We())===r&&(p.test(e.charAt(be))?(a=e.charAt(be),be++):(a=r,0===xe&&Me(h))),xe--,a===r?o=void 0:(be=o,o=r),o!==r?(e.length>be?(a=e.charAt(be),be++):(a=r,0===xe&&Me(m)),a!==r?i=o=[o,a]:(be=i,i=r)):(be=i,i=r),i!==r)for(;i!==r;)n.push(i),i=be,o=be,xe++,(a=We())===r&&(p.test(e.charAt(be))?(a=e.charAt(be),be++):(a=r,0===xe&&Me(h))),xe--,a===r?o=void 0:(be=o,o=r),o!==r?(e.length>be?(a=e.charAt(be),be++):(a=r,0===xe&&Me(m)),a!==r?i=o=[o,a]:(be=i,i=r)):(be=i,i=r);else n=r;return t=n!==r?e.substring(t,be):n,xe--,t===r&&(n=r,0===xe&&Me(f)),t}function Fe(){var t,n,i;return xe++,t=be,47===e.charCodeAt(be)?(n="/",be++):(n=r,0===xe&&Me(y)),n!==r&&(i=qe())!==r?(we=t,t=n=i):(be=t,t=r),xe--,t===r&&(n=r,0===xe&&Me(g)),t}function $e(){var e,t,n,i,o;if(xe++,e=be,(t=Ge())!==r)if((n=qe())!==r){for(i=[],o=Fe();o!==r;)i.push(o),o=Fe();i!==r?(we=e,t=function(e,t){return{stem:e,options:t}}(n,i),e=t):(be=e,e=r)}else be=e,e=r;else be=e,e=r;return xe--,e===r&&(t=r,0===xe&&Me(b)),e}function Ue(){var t,n,i,o;if(t=be,39===e.charCodeAt(be)?(n=A,be++):(n=r,0===xe&&Me(O)),n!==r){if(i=[],(o=Ye())===r&&(R.test(e.charAt(be))?(o=e.charAt(be),be++):(o=r,0===xe&&Me(P))),o!==r)for(;o!==r;)i.push(o),(o=Ye())===r&&(R.test(e.charAt(be))?(o=e.charAt(be),be++):(o=r,0===xe&&Me(P)));else i=r;i!==r?(39===e.charCodeAt(be)?(o=A,be++):(o=r,0===xe&&Me(O)),o!==r?t=n=[n,i,o]:(be=t,t=r)):(be=t,t=r)}else be=t,t=r;if(t===r)if(t=[],(n=Ye())===r&&(I.test(e.charAt(be))?(n=e.charAt(be),be++):(n=r,0===xe&&Me(M))),n!==r)for(;n!==r;)t.push(n),(n=Ye())===r&&(I.test(e.charAt(be))?(n=e.charAt(be),be++):(n=r,0===xe&&Me(M)));else t=r;return t}function Ze(){var t,n;if(t=[],D.test(e.charAt(be))?(n=e.charAt(be),be++):(n=r,0===xe&&Me(j)),n!==r)for(;n!==r;)t.push(n),D.test(e.charAt(be))?(n=e.charAt(be),be++):(n=r,0===xe&&Me(j));else t=r;return t}function ze(){var t,n,i,o,a,s,f;return t=be,Ge()!==r&&(n=tt())!==r&&Ge()!==r?(123===e.charCodeAt(be)?(i=l,be++):(i=r,0===xe&&Me(c)),i!==r?(we=be,nt.push("select"),(!0?void 0:r)!==r&&(o=De())!==r?(125===e.charCodeAt(be)?(a=u,be++):(a=r,0===xe&&Me(d)),a!==r?(we=t,s=n,f=o,nt.pop(),t=L({id:s,value:f},it())):(be=t,t=r)):(be=t,t=r)):(be=t,t=r)):(be=t,t=r),t}function He(){var t,n,i,o,a,s,f;return t=be,Ge()!==r?(n=function(){var t,n,i,o;return t=be,n=be,61===e.charCodeAt(be)?(i="=",be++):(i=r,0===xe&&Me(Y)),i!==r&&(o=Ke())!==r?n=i=[i,o]:(be=n,n=r),(t=n!==r?e.substring(t,be):n)===r&&(t=tt()),t}(),n!==r&&Ge()!==r?(123===e.charCodeAt(be)?(i=l,be++):(i=r,0===xe&&Me(c)),i!==r?(we=be,nt.push("plural"),(!0?void 0:r)!==r&&(o=De())!==r?(125===e.charCodeAt(be)?(a=u,be++):(a=r,0===xe&&Me(d)),a!==r?(we=t,s=n,f=o,nt.pop(),t=L({id:s,value:f},it())):(be=t,t=r)):(be=t,t=r)):(be=t,t=r)):(be=t,t=r)):(be=t,t=r),t}function We(){var t;return xe++,Q.test(e.charAt(be))?(t=e.charAt(be),be++):(t=r,0===xe&&Me(J)),xe--,t===r&&(r,0===xe&&Me(X)),t}function Ve(){var t;return xe++,te.test(e.charAt(be))?(t=e.charAt(be),be++):(t=r,0===xe&&Me(ne)),xe--,t===r&&(r,0===xe&&Me(ee)),t}function Ge(){var t,n,i;for(xe++,t=be,n=[],i=We();i!==r;)n.push(i),i=We();return t=n!==r?e.substring(t,be):n,xe--,t===r&&(n=r,0===xe&&Me(re)),t}function Ke(){var t,n,i,o,a;return xe++,t=be,45===e.charCodeAt(be)?(n="-",be++):(n=r,0===xe&&Me(oe)),n===r&&(n=null),n!==r&&(i=et())!==r?(we=t,o=n,t=n=(a=i)?o?-a:a:0):(be=t,t=r),xe--,t===r&&(n=r,0===xe&&Me(ie)),t}function Ye(){var t,n;return xe++,t=be,e.substr(be,2)===se?(n=se,be+=2):(n=r,0===xe&&Me(le)),n!==r&&(we=t,n="'"),xe--,(t=n)===r&&(n=r,0===xe&&Me(ae)),t}function Xe(){var t,n,i,o,a,s;if(t=be,39===e.charCodeAt(be)?(n=A,be++):(n=r,0===xe&&Me(O)),n!==r)if(i=function(){var t,n,i,o;t=be,n=be,e.length>be?(i=e.charAt(be),be++):(i=r,0===xe&&Me(m));i!==r?(we=be,(o=(o="{"===(a=i)||"}"===a||rt()&&"#"===a)?void 0:r)!==r?n=i=[i,o]:(be=n,n=r)):(be=n,n=r);var a;t=n!==r?e.substring(t,be):n;return t}(),i!==r){for(o=be,a=[],e.substr(be,2)===se?(s=se,be+=2):(s=r,0===xe&&Me(le)),s===r&&(R.test(e.charAt(be))?(s=e.charAt(be),be++):(s=r,0===xe&&Me(P)));s!==r;)a.push(s),e.substr(be,2)===se?(s=se,be+=2):(s=r,0===xe&&Me(le)),s===r&&(R.test(e.charAt(be))?(s=e.charAt(be),be++):(s=r,0===xe&&Me(P)));(o=a!==r?e.substring(o,be):a)!==r?(39===e.charCodeAt(be)?(a=A,be++):(a=r,0===xe&&Me(O)),a===r&&(a=null),a!==r?(we=t,t=n=i+o.replace("''","'")):(be=t,t=r)):(be=t,t=r)}else be=t,t=r;else be=t,t=r;return t}function Qe(){var t,n,i,o;return t=be,n=be,e.length>be?(i=e.charAt(be),be++):(i=r,0===xe&&Me(m)),i!==r?(we=be,(o=(o=ce(i))?void 0:r)!==r?n=i=[i,o]:(be=n,n=r)):(be=n,n=r),n===r&&(10===e.charCodeAt(be)?(n="\n",be++):(n=r,0===xe&&Me(ue))),t=n!==r?e.substring(t,be):n}function Je(){var t,n;return xe++,t=be,(n=et())===r&&(n=tt()),t=n!==r?e.substring(t,be):n,xe--,t===r&&(n=r,0===xe&&Me(de)),t}function et(){var t,n,i,o,a;if(xe++,t=be,48===e.charCodeAt(be)?(n="0",be++):(n=r,0===xe&&Me(pe)),n!==r&&(we=t,n=0),(t=n)===r){if(t=be,n=be,he.test(e.charAt(be))?(i=e.charAt(be),be++):(i=r,0===xe&&Me(me)),i!==r){for(o=[],ge.test(e.charAt(be))?(a=e.charAt(be),be++):(a=r,0===xe&&Me(ye));a!==r;)o.push(a),ge.test(e.charAt(be))?(a=e.charAt(be),be++):(a=r,0===xe&&Me(ye));o!==r?n=i=[i,o]:(be=n,n=r)}else be=n,n=r;n!==r&&(we=t,n=parseInt(n.join(""),10)),t=n}return xe--,t===r&&(n=r,0===xe&&Me(fe)),t}function tt(){var t,n,i,o,a;if(xe++,t=be,n=[],i=be,o=be,xe++,(a=We())===r&&(a=Ve()),xe--,a===r?o=void 0:(be=o,o=r),o!==r?(e.length>be?(a=e.charAt(be),be++):(a=r,0===xe&&Me(m)),a!==r?i=o=[o,a]:(be=i,i=r)):(be=i,i=r),i!==r)for(;i!==r;)n.push(i),i=be,o=be,xe++,(a=We())===r&&(a=Ve()),xe--,a===r?o=void 0:(be=o,o=r),o!==r?(e.length>be?(a=e.charAt(be),be++):(a=r,0===xe&&Me(m)),a!==r?i=o=[o,a]:(be=i,i=r)):(be=i,i=r);else n=r;return t=n!==r?e.substring(t,be):n,xe--,t===r&&(n=r,0===xe&&Me(ve)),t}var nt=["root"];function rt(){return"plural"===nt[nt.length-1]}function it(){return t&&t.captureLocation?{location:Te()}:{}}if((n=o())!==r&&be===e.length)return n;throw n!==r&&be1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(V,(function(e,n,r){return"."===e?t.maximumFractionDigits=0:"+"===r?t.minimumFractionDigits=r.length:"#"===n[0]?t.maximumFractionDigits=n.length:(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length+("string"==typeof r?r.length:0)),""})),i.options.length&&(t=z(z({},t),K(i.options[0])))}else if(G.test(i.stem))t=z(z({},t),K(i.stem));else{var o=Y(i.stem);o&&(t=z(z({},t),o))}}return t}var J,ee=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),te=function(){for(var e=0,t=0,n=arguments.length;t(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,le=Date.now()+"@@",ce=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function ue(e,t,n){var r=e.tagName,i=e.outerHTML,o=e.textContent,a=e.childNodes;if(!r)return ae(o||"",t);r=r.toLowerCase();var s=~ce.indexOf(r),l=n[r];if(l&&s)throw new ne(r+" is a self-closing tag and can not be used, please use another tag name.");if(!a.length)return[i];var c=Array.prototype.slice.call(a).reduce((function(e,r){return e.concat(ue(r,t,n))}),[]);return l?"function"==typeof l?[l.apply(void 0,c)]:[l]:te(["<"+r+">"],c,[""])}function de(e,t,n,r,i,o){var a=re(e,t,n,r,i,void 0,o),s={},l=a.reduce((function(e,t){if(0===t.type)return e+t.value;var n=Date.now()+"_"+ ++oe;return s[n]=t.value,e+"@@"+n+"@@"}),"");if(!se.test(l))return ae(l,s);if(!i)throw new ne("Message has placeholders but no values was given");if("undefined"==typeof DOMParser)throw new ne("Cannot format XML message without DOMParser");J||(J=new DOMParser);var c=J.parseFromString(''+l+"","text/html").getElementById(le);if(!c)throw new ne("Malformed HTML message "+l);var u=Object.keys(i).filter((function(e){return!!c.getElementsByTagName(e).length}));if(!u.length)return ae(l,s);var d=u.filter((function(e){return e!==e.toLowerCase()}));if(d.length)throw new ne("HTML tag must be lowercased but the following tags are not: "+d.join(", "));return Array.prototype.slice.call(c.childNodes).reduce((function(e,t){return e.concat(ue(t,s,i))}),[])}var fe=function(){return fe=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<"']/g;function be(e){return(""+e).replace(ve,(function(e){return ye[e.charCodeAt(0)]}))}function we(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce((function(t,r){return r in e?t[r]=e[r]:r in n&&(t[r]=n[r]),t}),{})}function ke(e){ge(e,"[React Intl] Could not find required `intl` object. needs to exist in the component ancestry.")}function Ee(e,t){var n=t?"\n".concat(t.stack):"";return"[React Intl] ".concat(e).concat(n)}var Se={formats:{},messages:{},timeZone:void 0,textComponent:m.Fragment,defaultLocale:"en",defaultFormats:{},onError:function(e){0}};function xe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},t=Intl.RelativeTimeFormat,n=Intl.ListFormat,r=Intl.DisplayNames;return{getDateTimeFormat:Z(Intl.DateTimeFormat,e.dateTime),getNumberFormat:Z(Intl.NumberFormat,e.number),getMessageFormat:Z(me,e.message),getRelativeTimeFormat:Z(t,e.relativeTime),getPluralRules:Z(Intl.PluralRules,e.pluralRules),getListFormat:Z(n,e.list),getDisplayNames:Z(r,e.displayNames)}}function Ce(e,t,n,r){var i,o=e&&e[t];if(o&&(i=o[n]),i)return i;r(Ee("No ".concat(t," format named: ").concat(n)))}var Te=["localeMatcher","style","currency","currencyDisplay","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay"];function _e(e,t){var n=e.locale,r=e.formats,i=e.onError,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.format,s=a&&Ce(r,"number",a,i)||{},l=we(o,Te,s);return t(n,l)}function Ae(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{return _e(e,t,r).format(n)}catch(t){e.onError(Ee("Error formatting number.",t))}return String(n)}function Oe(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};try{return _e(e,t,r).formatToParts(n)}catch(t){e.onError(Ee("Error formatting number.",t))}return[]}var Re=["numeric","style"];function Pe(e,t){var n=e.locale,r=e.formats,i=e.onError,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=o.format,s=!!a&&Ce(r,"relative",a,i)||{},l=we(o,Re,s);return t(n,l)}function Ie(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};r||(r="second");var o=Intl.RelativeTimeFormat;o||e.onError(Ee('Intl.RelativeTimeFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-relativetimeformat"\n'));try{return Pe(e,t,i).format(n,r)}catch(t){e.onError(Ee("Error formatting relative time.",t))}return String(n)}var Me=["localeMatcher","formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function Le(e,t,n){var r=e.locale,i=e.formats,o=e.onError,a=e.timeZone,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=s.format,c=Object.assign(Object.assign({},a&&{timeZone:a}),l&&Ce(i,t,l,o)),u=we(s,Me,c);return"time"!==t||u.hour||u.minute||u.second||(u=Object.assign(Object.assign({},u),{hour:"numeric",minute:"numeric"})),n(r,u)}function Ne(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i="string"==typeof n?new Date(n||0):n;try{return Le(e,"date",t,r).format(i)}catch(t){e.onError(Ee("Error formatting date.",t))}return String(i)}function De(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i="string"==typeof n?new Date(n||0):n;try{return Le(e,"time",t,r).format(i)}catch(t){e.onError(Ee("Error formatting time.",t))}return String(i)}function je(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i="string"==typeof n?new Date(n||0):n;try{return Le(e,"date",t,r).formatToParts(i)}catch(t){e.onError(Ee("Error formatting date.",t))}return[]}function Be(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i="string"==typeof n?new Date(n||0):n;try{return Le(e,"time",t,r).formatToParts(i)}catch(t){e.onError(Ee("Error formatting time.",t))}return[]}var qe=["localeMatcher","type"];function Fe(e,t,n){var r=e.locale,i=e.onError,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};Intl.PluralRules||i(Ee('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n'));var a=we(o,qe);try{return t(r,a).select(n)}catch(e){i(Ee("Error formatting plural.",e))}return"other"}var $e=n(76711),Ue=n.n($e);function Ze(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=Object.assign({timeZone:t},e[r]),n}),{})}function ze(e,t){return Object.keys(Object.assign(Object.assign({},e),t)).reduce((function(n,r){return n[r]=Object.assign(Object.assign({},e[r]||{}),t[r]||{}),n}),{})}function He(e,t){if(!t)return e;var n=me.formats;return Object.assign(Object.assign(Object.assign({},n),e),{date:ze(Ze(n.date,t),Ze(e.date||{},t)),time:ze(Ze(n.time,t),Ze(e.time||{},t))})}var We=function(e){return m.createElement.apply(g,[m.Fragment,null].concat(Ue()(e)))};function Ve(e,t){var n=e.locale,r=e.formats,i=e.messages,o=e.defaultLocale,a=e.defaultFormats,s=e.onError,l=e.timeZone,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{id:""},u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},d=c.id,f=c.defaultMessage;ge(!!d,"[React Intl] An `id` must be provided to format a message.");var p=i&&i[String(d)];r=He(r,l),a=He(a,l);var h=[];if(p)try{var m=t.getMessageFormat(p,n,r,{formatters:t});h=m.formatHTMLMessage(u)}catch(e){s(Ee('Error formatting message: "'.concat(d,'" for locale: "').concat(n,'"')+(f?", using default message as fallback.":""),e))}else(!f||n&&n.toLowerCase()!==o.toLowerCase())&&s(Ee('Missing message: "'.concat(d,'" for locale: "').concat(n,'"')+(f?", using default message as fallback.":"")));if(!h.length&&f)try{var g=t.getMessageFormat(f,o,a);h=g.formatHTMLMessage(u)}catch(e){s(Ee('Error formatting the default message for: "'.concat(d,'"'),e))}return h.length?1===h.length&&"string"==typeof h[0]?h[0]||f||String(d):We(h):(s(Ee('Cannot format message: "'.concat(d,'", ')+"using message ".concat(p||f?"source":"id"," as fallback."))),"string"==typeof p?p||f||String(d):f||String(d))}function Ge(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{id:""},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=Object.keys(r).reduce((function(e,t){var n=r[t];return e[t]="string"==typeof n?be(n):n,e}),{});return Ve(e,t,n,i)}var Ke=n(57761),Ye=n.n(Ke),Xe=n(89957),Qe=n.n(Xe),Je=["localeMatcher","type","style"],et=Date.now();function tt(e){return"".concat(et,"_").concat(e,"_").concat(et)}function nt(e,t,n){var r=e.locale,i=e.onError,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=Intl.ListFormat;a||i(Ee('Intl.ListFormat is not available in this environment.\nTry polyfilling it using "@formatjs/intl-listformat"\n'));var s=we(o,Je);try{var l={},c=n.map((function(e,t){if("object"===Qe()(e)){var n=tt(t);return l[n]=e,n}return String(e)}));if(!Object.keys(l).length)return t(r,s).format(c);var u=t(r,s).formatToParts(c);return u.reduce((function(e,t){var n=t.value;return l[n]?e.push(l[n]):"string"==typeof e[e.length-1]?e[e.length-1]+=n:e.push(n),e}),[])}catch(e){i(Ee("Error formatting list.",e))}return n}var rt=["localeMatcher","style","type","fallback"];function it(e,t,n){var r=e.locale,i=e.onError,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=Intl.DisplayNames;a||i(Ee('Intl.DisplayNames is not available in this environment.\nTry polyfilling it using "@formatjs/intl-displaynames"\n'));var s=we(o,rt);try{return t(r,s).of(n)}catch(e){i(Ee("Error formatting display name.",e))}}var ot=Ye()||Ke;function at(e){return{locale:e.locale,timeZone:e.timeZone,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError}}function st(e,t){var n=xe(t),r=Object.assign(Object.assign({},Se),e),i=r.locale,o=r.defaultLocale,a=r.onError;return i?!Intl.NumberFormat.supportedLocalesOf(i).length&&a?a(Ee('Missing locale data for locale: "'.concat(i,'" in Intl.NumberFormat. Using default locale: "').concat(o,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):!Intl.DateTimeFormat.supportedLocalesOf(i).length&&a&&a(Ee('Missing locale data for locale: "'.concat(i,'" in Intl.DateTimeFormat. Using default locale: "').concat(o,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/Getting-Started.md#runtime-requirements for more details'))):(a&&a(Ee('"locale" was not configured, using "'.concat(o,'" as fallback. See https://github.com/formatjs/react-intl/blob/master/docs/API.md#intlshape for more details'))),r.locale=r.defaultLocale||"en"),Object.assign(Object.assign({},r),{formatters:n,formatNumber:Ae.bind(null,r,n.getNumberFormat),formatNumberToParts:Oe.bind(null,r,n.getNumberFormat),formatRelativeTime:Ie.bind(null,r,n.getRelativeTimeFormat),formatDate:Ne.bind(null,r,n.getDateTimeFormat),formatDateToParts:je.bind(null,r,n.getDateTimeFormat),formatTime:De.bind(null,r,n.getDateTimeFormat),formatTimeToParts:Be.bind(null,r,n.getDateTimeFormat),formatPlural:Fe.bind(null,r,n.getPluralRules),formatMessage:Ve.bind(null,r,n),formatHTMLMessage:Ge.bind(null,r,n),formatList:nt.bind(null,r,n.getListFormat),formatDisplayName:it.bind(null,r,n.getDisplayNames)})}var lt=function(e){f()(n,e);var t=h()(n);function n(){var e;return l()(this,n),(e=t.apply(this,arguments)).cache={dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}},e.state={cache:e.cache,intl:st(at(e.props),e.cache),prevConfig:at(e.props)},e}return u()(n,[{key:"render",value:function(){return ke(this.state.intl),m.createElement(w,{value:this.state.intl},this.props.children)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevConfig,r=t.cache,i=at(e);return ot(n,i)?null:{intl:st(i,r),prevConfig:i}}}]),n}(m.PureComponent);lt.displayName="IntlProvider",lt.defaultProps=Se;var ct=n(16931),ut=n(87308),dt=n.n(ut),ft=n(62118),pt=n.n(ft),ht=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i