diff --git a/internal/applicant/godaddy.go b/internal/applicant/godaddy.go index 75baeabf..d8fd7631 100644 --- a/internal/applicant/godaddy.go +++ b/internal/applicant/godaddy.go @@ -24,7 +24,7 @@ func (a *godaddy) Apply() (*Certificate, error) { json.Unmarshal([]byte(a.option.Access), access) os.Setenv("GODADDY_API_KEY", access.ApiKey) - os.Setenv("GODADDY_API_SECRET", access.ApiKey) + os.Setenv("GODADDY_API_SECRET", access.ApiSecret) dnsProvider, err := godaddyProvider.NewDNSProvider() if err != nil { diff --git a/ui/dist/assets/index-BRoqOo1T.js b/ui/dist/assets/index-B_74ZyCB.js similarity index 99% rename from ui/dist/assets/index-BRoqOo1T.js rename to ui/dist/assets/index-B_74ZyCB.js index 877b167e..4a575737 100644 --- a/ui/dist/assets/index-BRoqOo1T.js +++ b/ui/dist/assets/index-B_74ZyCB.js @@ -264,7 +264,7 @@ var CS;function ge(){return CS.apply(null,arguments)}function qM(e){CS=e}functio [`+i+"] ";for(o in arguments[0])lt(arguments[0],o)&&(s+=o+": "+arguments[0][o]+", ");s=s.slice(0,-2)}else s=arguments[i];n.push(s)}jS(e+` Arguments: `+Array.prototype.slice.call(n).join("")+` `+new Error().stack),r=!1}return t.apply(this,arguments)},t)}var f0={};function TS(e,t){ge.deprecationHandler!=null&&ge.deprecationHandler(e,t),f0[e]||(jS(t),f0[e]=!0)}ge.suppressDeprecationWarnings=!1;ge.deprecationHandler=null;function Zn(e){return typeof Function<"u"&&e instanceof Function||Object.prototype.toString.call(e)==="[object Function]"}function QM(e){var t,r;for(r in e)lt(e,r)&&(t=e[r],Zn(t)?this[r]=t:this["_"+r]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function Yp(e,t){var r=Ys({},e),n;for(n in t)lt(t,n)&&(Li(e[n])&&Li(t[n])?(r[n]={},Ys(r[n],e[n]),Ys(r[n],t[n])):t[n]!=null?r[n]=t[n]:delete r[n]);for(n in e)lt(e,n)&&!lt(t,n)&&Li(e[n])&&(r[n]=Ys({},r[n]));return r}function av(e){e!=null&&this.set(e)}var Zp;Object.keys?Zp=Object.keys:Zp=function(e){var t,r=[];for(t in e)lt(e,t)&&r.push(t);return r};var JM={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function eI(e,t,r){var n=this._calendar[e]||this._calendar.sameElse;return Zn(n)?n.call(t,r):n}function Wn(e,t,r){var n=""+Math.abs(e),s=t-n.length,i=e>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+n}var lv=/(\[[^\[]*\])|(\\)?([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,au=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Rh={},Go={};function Oe(e,t,r,n){var s=n;typeof n=="string"&&(s=function(){return this[n]()}),e&&(Go[e]=s),t&&(Go[t[0]]=function(){return Wn(s.apply(this,arguments),t[1],t[2])}),r&&(Go[r]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function tI(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function rI(e){var t=e.match(lv),r,n;for(r=0,n=t.length;r=0&&au.test(e);)e=e.replace(au,n),au.lastIndex=0,r-=1;return e}var nI={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 sI(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(lv).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var iI="Invalid date";function oI(){return this._invalidDate}var aI="%d",lI=/\d{1,2}/;function cI(e){return this._ordinal.replace("%d",e)}var uI={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 dI(e,t,r,n){var s=this._relativeTime[r];return Zn(s)?s(e,t,r,n):s.replace(/%d/i,e)}function fI(e,t){var r=this._relativeTime[e>0?"future":"past"];return Zn(r)?r(t):r.replace(/%s/i,t)}var h0={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 en(e){return typeof e=="string"?h0[e]||h0[e.toLowerCase()]:void 0}function cv(e){var t={},r,n;for(n in e)lt(e,n)&&(r=en(n),r&&(t[r]=e[n]));return t}var hI={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 pI(e){var t=[],r;for(r in e)lt(e,r)&&t.push({unit:r,priority:hI[r]});return t.sort(function(n,s){return n.priority-s.priority}),t}var RS=/\d/,Vr=/\d\d/,PS=/\d{3}/,uv=/\d{4}/,gf=/[+-]?\d{6}/,Ct=/\d\d?/,DS=/\d\d\d\d?/,AS=/\d\d\d\d\d\d?/,vf=/\d{1,3}/,dv=/\d{1,4}/,yf=/[+-]?\d{1,6}/,ka=/\d+/,xf=/[+-]?\d+/,mI=/Z|[+-]\d\d:?\d\d/gi,wf=/Z|[+-]\d\d(?::?\d\d)?/gi,gI=/[+-]?\d+(\.\d{1,3})?/,_c=/[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,Ca=/^[1-9]\d?/,fv=/^([1-9]\d|\d)/,pd;pd={};function _e(e,t,r){pd[e]=Zn(t)?t:function(n,s){return n&&r?r:t}}function vI(e,t){return lt(pd,e)?pd[e](t._strict,t._locale):new RegExp(yI(e))}function yI(e){return hs(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,r,n,s,i){return r||n||s||i}))}function hs(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Yr(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function tt(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=Yr(t)),r}var Kp={};function mt(e,t){var r,n=t,s;for(typeof e=="string"&&(e=[e]),bs(t)&&(n=function(i,o){o[t]=tt(i)}),s=e.length,r=0;r68?1900:2e3)};var OS=Ea("FullYear",!0);function bI(){return _f(this.year())}function Ea(e,t){return function(r){return r!=null?(MS(this,e,r),ge.updateOffset(this,t),this):Vl(this,e)}}function Vl(e,t){if(!e.isValid())return NaN;var r=e._d,n=e._isUTC;switch(t){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function MS(e,t,r){var n,s,i,o,a;if(!(!e.isValid()||isNaN(r))){switch(n=e._d,s=e._isUTC,t){case"Milliseconds":return void(s?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(s?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(s?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(s?n.setUTCHours(r):n.setHours(r));case"Date":return void(s?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}i=r,o=e.month(),a=e.date(),a=a===29&&o===1&&!_f(i)?28:a,s?n.setUTCFullYear(i,o,a):n.setFullYear(i,o,a)}}function SI(e){return e=en(e),Zn(this[e])?this[e]():this}function kI(e,t){if(typeof e=="object"){e=cv(e);var r=pI(e),n,s=r.length;for(n=0;n=0?(a=new Date(e+400,t,r,n,s,i,o),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,r,n,s,i,o),a}function Wl(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function md(e,t,r){var n=7+t-r,s=(7+Wl(e,0,n).getUTCDay()-t)%7;return-s+n-1}function VS(e,t,r,n,s){var i=(7+r-n)%7,o=md(e,n,s),a=1+7*(t-1)+i+o,l,u;return a<=0?(l=e-1,u=fl(l)+a):a>fl(e)?(l=e+1,u=a-fl(e)):(l=e,u=a),{year:l,dayOfYear:u}}function $l(e,t,r){var n=md(e.year(),t,r),s=Math.floor((e.dayOfYear()-n-1)/7)+1,i,o;return s<1?(o=e.year()-1,i=s+ps(o,t,r)):s>ps(e.year(),t,r)?(i=s-ps(e.year(),t,r),o=e.year()+1):(o=e.year(),i=s),{week:i,year:o}}function ps(e,t,r){var n=md(e,t,r),s=md(e+1,t,r);return(fl(e)-n+s)/7}Oe("w",["ww",2],"wo","week");Oe("W",["WW",2],"Wo","isoWeek");_e("w",Ct,Ca);_e("ww",Ct,Vr);_e("W",Ct,Ca);_e("WW",Ct,Vr);bc(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=tt(e)});function LI(e){return $l(e,this._week.dow,this._week.doy).week}var FI={dow:0,doy:6};function zI(){return this._week.dow}function UI(){return this._week.doy}function VI(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function WI(e){var t=$l(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}Oe("d",0,"do","day");Oe("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});Oe("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});Oe("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});Oe("e",0,0,"weekday");Oe("E",0,0,"isoWeekday");_e("d",Ct);_e("e",Ct);_e("E",Ct);_e("dd",function(e,t){return t.weekdaysMinRegex(e)});_e("ddd",function(e,t){return t.weekdaysShortRegex(e)});_e("dddd",function(e,t){return t.weekdaysRegex(e)});bc(["dd","ddd","dddd"],function(e,t,r,n){var s=r._locale.weekdaysParse(e,n,r._strict);s!=null?t.d=s:Ke(r).invalidWeekday=e});bc(["d","e","E"],function(e,t,r,n){t[n]=tt(e)});function $I(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function BI(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function pv(e,t){return e.slice(t,7).concat(e.slice(0,t))}var HI="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),WS="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),YI="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ZI=_c,KI=_c,GI=_c;function qI(e,t){var r=wn(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?pv(r,this._week.dow):e?r[e.day()]:r}function XI(e){return e===!0?pv(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function QI(e){return e===!0?pv(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function JI(e,t,r){var n,s,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=Yn([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(s=zt.call(this._weekdaysParse,o),s!==-1?s:null):t==="ddd"?(s=zt.call(this._shortWeekdaysParse,o),s!==-1?s:null):(s=zt.call(this._minWeekdaysParse,o),s!==-1?s:null):t==="dddd"?(s=zt.call(this._weekdaysParse,o),s!==-1||(s=zt.call(this._shortWeekdaysParse,o),s!==-1)?s:(s=zt.call(this._minWeekdaysParse,o),s!==-1?s:null)):t==="ddd"?(s=zt.call(this._shortWeekdaysParse,o),s!==-1||(s=zt.call(this._weekdaysParse,o),s!==-1)?s:(s=zt.call(this._minWeekdaysParse,o),s!==-1?s:null)):(s=zt.call(this._minWeekdaysParse,o),s!==-1||(s=zt.call(this._weekdaysParse,o),s!==-1)?s:(s=zt.call(this._shortWeekdaysParse,o),s!==-1?s:null))}function eL(e,t,r){var n,s,i;if(this._weekdaysParseExact)return JI.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=Yn([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function tL(e){if(!this.isValid())return e!=null?this:NaN;var t=Vl(this,"Day");return e!=null?(e=$I(e,this.localeData()),this.add(e-t,"d")):t}function rL(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 nL(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=BI(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function sL(e){return this._weekdaysParseExact?(lt(this,"_weekdaysRegex")||mv.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(lt(this,"_weekdaysRegex")||(this._weekdaysRegex=ZI),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function iL(e){return this._weekdaysParseExact?(lt(this,"_weekdaysRegex")||mv.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(lt(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=KI),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function oL(e){return this._weekdaysParseExact?(lt(this,"_weekdaysRegex")||mv.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(lt(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=GI),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function mv(){function e(d,f){return f.length-d.length}var t=[],r=[],n=[],s=[],i,o,a,l,u;for(i=0;i<7;i++)o=Yn([2e3,1]).day(i),a=hs(this.weekdaysMin(o,"")),l=hs(this.weekdaysShort(o,"")),u=hs(this.weekdays(o,"")),t.push(a),r.push(l),n.push(u),s.push(a),s.push(l),s.push(u);t.sort(e),r.sort(e),n.sort(e),s.sort(e),this._weekdaysRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function gv(){return this.hours()%12||12}function aL(){return this.hours()||24}Oe("H",["HH",2],0,"hour");Oe("h",["hh",2],0,gv);Oe("k",["kk",2],0,aL);Oe("hmm",0,0,function(){return""+gv.apply(this)+Wn(this.minutes(),2)});Oe("hmmss",0,0,function(){return""+gv.apply(this)+Wn(this.minutes(),2)+Wn(this.seconds(),2)});Oe("Hmm",0,0,function(){return""+this.hours()+Wn(this.minutes(),2)});Oe("Hmmss",0,0,function(){return""+this.hours()+Wn(this.minutes(),2)+Wn(this.seconds(),2)});function $S(e,t){Oe(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}$S("a",!0);$S("A",!1);function BS(e,t){return t._meridiemParse}_e("a",BS);_e("A",BS);_e("H",Ct,fv);_e("h",Ct,Ca);_e("k",Ct,Ca);_e("HH",Ct,Vr);_e("hh",Ct,Vr);_e("kk",Ct,Vr);_e("hmm",DS);_e("hmmss",AS);_e("Hmm",DS);_e("Hmmss",AS);mt(["H","HH"],Gt);mt(["k","kk"],function(e,t,r){var n=tt(e);t[Gt]=n===24?0:n});mt(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});mt(["h","hh"],function(e,t,r){t[Gt]=tt(e),Ke(r).bigHour=!0});mt("hmm",function(e,t,r){var n=e.length-2;t[Gt]=tt(e.substr(0,n)),t[fn]=tt(e.substr(n)),Ke(r).bigHour=!0});mt("hmmss",function(e,t,r){var n=e.length-4,s=e.length-2;t[Gt]=tt(e.substr(0,n)),t[fn]=tt(e.substr(n,2)),t[us]=tt(e.substr(s)),Ke(r).bigHour=!0});mt("Hmm",function(e,t,r){var n=e.length-2;t[Gt]=tt(e.substr(0,n)),t[fn]=tt(e.substr(n))});mt("Hmmss",function(e,t,r){var n=e.length-4,s=e.length-2;t[Gt]=tt(e.substr(0,n)),t[fn]=tt(e.substr(n,2)),t[us]=tt(e.substr(s))});function lL(e){return(e+"").toLowerCase().charAt(0)==="p"}var cL=/[ap]\.?m?\.?/i,uL=Ea("Hours",!0);function dL(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var HS={calendar:JM,longDateFormat:nI,invalidDate:iI,ordinal:aI,dayOfMonthOrdinalParse:lI,relativeTime:uI,months:EI,monthsShort:IS,week:FI,weekdays:HI,weekdaysMin:YI,weekdaysShort:WS,meridiemParse:cL},Tt={},Wa={},Bl;function fL(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r0;){if(s=bf(i.slice(0,r).join("-")),s)return s;if(n&&n.length>=r&&fL(i,n)>=r-1)break;r--}t++}return Bl}function pL(e){return!!(e&&e.match("^[^/\\\\]*$"))}function bf(e){var t=null,r;if(Tt[e]===void 0&&typeof Ou<"u"&&Ou&&Ou.exports&&pL(e))try{t=Bl._abbr,r=require,r("./locale/"+e),ni(t)}catch{Tt[e]=null}return Tt[e]}function ni(e,t){var r;return e&&(xr(t)?r=Ns(e):r=vv(e,t),r?Bl=r:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Bl._abbr}function vv(e,t){if(t!==null){var r,n=HS;if(t.abbr=e,Tt[e]!=null)TS("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."),n=Tt[e]._config;else if(t.parentLocale!=null)if(Tt[t.parentLocale]!=null)n=Tt[t.parentLocale]._config;else if(r=bf(t.parentLocale),r!=null)n=r._config;else return Wa[t.parentLocale]||(Wa[t.parentLocale]=[]),Wa[t.parentLocale].push({name:e,config:t}),null;return Tt[e]=new av(Yp(n,t)),Wa[e]&&Wa[e].forEach(function(s){vv(s.name,s.config)}),ni(e),Tt[e]}else return delete Tt[e],null}function mL(e,t){if(t!=null){var r,n,s=HS;Tt[e]!=null&&Tt[e].parentLocale!=null?Tt[e].set(Yp(Tt[e]._config,t)):(n=bf(e),n!=null&&(s=n._config),t=Yp(s,t),n==null&&(t.abbr=e),r=new av(t),r.parentLocale=Tt[e],Tt[e]=r),ni(e)}else Tt[e]!=null&&(Tt[e].parentLocale!=null?(Tt[e]=Tt[e].parentLocale,e===ni()&&ni(e)):Tt[e]!=null&&delete Tt[e]);return Tt[e]}function Ns(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Bl;if(!wn(e)){if(t=bf(e),t)return t;e=[e]}return hL(e)}function gL(){return Zp(Tt)}function yv(e){var t,r=e._a;return r&&Ke(e).overflow===-2&&(t=r[cs]<0||r[cs]>11?cs:r[An]<1||r[An]>hv(r[ar],r[cs])?An:r[Gt]<0||r[Gt]>24||r[Gt]===24&&(r[fn]!==0||r[us]!==0||r[Ai]!==0)?Gt:r[fn]<0||r[fn]>59?fn:r[us]<0||r[us]>59?us:r[Ai]<0||r[Ai]>999?Ai:-1,Ke(e)._overflowDayOfYear&&(tAn)&&(t=An),Ke(e)._overflowWeeks&&t===-1&&(t=wI),Ke(e)._overflowWeekday&&t===-1&&(t=_I),Ke(e).overflow=t),e}var vL=/^\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)?)?$/,yL=/^\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)?)?$/,xL=/Z|[+-]\d\d(?::?\d\d)?/,lu=[["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]],Ph=[["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/]],wL=/^\/?Date\((-?\d+)/i,_L=/^(?:(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}))$/,bL={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 YS(e){var t,r,n=e._i,s=vL.exec(n)||yL.exec(n),i,o,a,l,u=lu.length,d=Ph.length;if(s){for(Ke(e).iso=!0,t=0,r=u;tfl(o)||e._dayOfYear===0)&&(Ke(e)._overflowDayOfYear=!0),r=Wl(o,0,e._dayOfYear),e._a[cs]=r.getUTCMonth(),e._a[An]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=s[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[Gt]===24&&e._a[fn]===0&&e._a[us]===0&&e._a[Ai]===0&&(e._nextDay=!0,e._a[Gt]=0),e._d=(e._useUTC?Wl:II).apply(null,n),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Gt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(Ke(e).weekdayMismatch=!0)}}function RL(e){var t,r,n,s,i,o,a,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,o=4,r=vo(t.GG,e._a[ar],$l(St(),1,4).year),n=vo(t.W,1),s=vo(t.E,1),(s<1||s>7)&&(l=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,u=$l(St(),i,o),r=vo(t.gg,e._a[ar],u.year),n=vo(t.w,u.week),t.d!=null?(s=t.d,(s<0||s>6)&&(l=!0)):t.e!=null?(s=t.e+i,(t.e<0||t.e>6)&&(l=!0)):s=i),n<1||n>ps(r,i,o)?Ke(e)._overflowWeeks=!0:l!=null?Ke(e)._overflowWeekday=!0:(a=VS(r,n,s,i,o),e._a[ar]=a.year,e._dayOfYear=a.dayOfYear)}ge.ISO_8601=function(){};ge.RFC_2822=function(){};function wv(e){if(e._f===ge.ISO_8601){YS(e);return}if(e._f===ge.RFC_2822){ZS(e);return}e._a=[],Ke(e).empty=!0;var t=""+e._i,r,n,s,i,o,a=t.length,l=0,u,d;for(s=NS(e._f,e._locale).match(lv)||[],d=s.length,r=0;r0&&Ke(e).unusedInput.push(o),t=t.slice(t.indexOf(n)+n.length),l+=n.length),Go[i]?(n?Ke(e).empty=!1:Ke(e).unusedTokens.push(i),xI(i,n,e)):e._strict&&!n&&Ke(e).unusedTokens.push(i);Ke(e).charsLeftOver=a-l,t.length>0&&Ke(e).unusedInput.push(t),e._a[Gt]<=12&&Ke(e).bigHour===!0&&e._a[Gt]>0&&(Ke(e).bigHour=void 0),Ke(e).parsedDateParts=e._a.slice(0),Ke(e).meridiem=e._meridiem,e._a[Gt]=PL(e._locale,e._a[Gt],e._meridiem),u=Ke(e).era,u!==null&&(e._a[ar]=e._locale.erasConvertYear(u,e._a[ar])),xv(e),yv(e)}function PL(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function DL(e){var t,r,n,s,i,o,a=!1,l=e._f.length;if(l===0){Ke(e).invalidFormat=!0,e._d=new Date(NaN);return}for(s=0;sthis?this:e:mf()});function qS(e,t){var r,n;if(t.length===1&&wn(t[0])&&(t=t[0]),!t.length)return St();for(r=t[0],n=1;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function JL(){if(!xr(this._isDSTShifted))return this._isDSTShifted;var e={},t;return ov(e,this),e=KS(e),e._a?(t=e._isUTC?Yn(e._a):St(e._a),this._isDSTShifted=this.isValid()&&BL(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function e4(){return this.isValid()?!this._isUTC:!1}function t4(){return this.isValid()?this._isUTC:!1}function QS(){return this.isValid()?this._isUTC&&this._offset===0:!1}var r4=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,n4=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Cn(e,t){var r=e,n=null,s,i,o;return Nu(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:bs(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=r4.exec(e))?(s=n[1]==="-"?-1:1,r={y:0,d:tt(n[An])*s,h:tt(n[Gt])*s,m:tt(n[fn])*s,s:tt(n[us])*s,ms:tt(Gp(n[Ai]*1e3))*s}):(n=n4.exec(e))?(s=n[1]==="-"?-1:1,r={y:Si(n[2],s),M:Si(n[3],s),w:Si(n[4],s),d:Si(n[5],s),h:Si(n[6],s),m:Si(n[7],s),s:Si(n[8],s)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(o=s4(St(r.from),St(r.to)),r={},r.ms=o.milliseconds,r.M=o.months),i=new Sf(r),Nu(e)&<(e,"_locale")&&(i._locale=e._locale),Nu(e)&<(e,"_isValid")&&(i._isValid=e._isValid),i}Cn.fn=Sf.prototype;Cn.invalid=$L;function Si(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function m0(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function s4(e,t){var r;return e.isValid()&&t.isValid()?(t=bv(t,e),e.isBefore(t)?r=m0(e,t):(r=m0(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function JS(e,t){return function(r,n){var s,i;return n!==null&&!isNaN(+n)&&(TS(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=r,r=n,n=i),s=Cn(r,n),ek(this,s,e),this}}function ek(e,t,r,n){var s=t._milliseconds,i=Gp(t._days),o=Gp(t._months);e.isValid()&&(n=n??!0,o&&FS(e,Vl(e,"Month")+o*r),i&&MS(e,"Date",Vl(e,"Date")+i*r),s&&e._d.setTime(e._d.valueOf()+s*r),n&&ge.updateOffset(e,i||o))}var i4=JS(1,"add"),o4=JS(-1,"subtract");function tk(e){return typeof e=="string"||e instanceof String}function a4(e){return _n(e)||xc(e)||tk(e)||bs(e)||c4(e)||l4(e)||e===null||e===void 0}function l4(e){var t=Li(e)&&!sv(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],s,i,o=n.length;for(s=0;sr.valueOf():r.valueOf()9999?Tu(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Zn(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Tu(r,"Z")):Tu(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function S4(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,s,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",s="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+n+s+i)}function k4(e){e||(e=this.isUtc()?ge.defaultFormatUtc:ge.defaultFormat);var t=Tu(this,e);return this.localeData().postformat(t)}function C4(e,t){return this.isValid()&&(_n(e)&&e.isValid()||St(e).isValid())?Cn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function E4(e){return this.from(St(),e)}function j4(e,t){return this.isValid()&&(_n(e)&&e.isValid()||St(e).isValid())?Cn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function T4(e){return this.to(St(),e)}function rk(e){var t;return e===void 0?this._locale._abbr:(t=Ns(e),t!=null&&(this._locale=t),this)}var nk=Jr("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 sk(){return this._locale}var gd=1e3,qo=60*gd,vd=60*qo,ik=(365*400+97)*24*vd;function Xo(e,t){return(e%t+t)%t}function ok(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-ik:new Date(e,t,r).valueOf()}function ak(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-ik:Date.UTC(e,t,r)}function N4(e){var t,r;if(e=en(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?ak:ok,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Xo(t+(this._isUTC?0:this.utcOffset()*qo),vd);break;case"minute":t=this._d.valueOf(),t-=Xo(t,qo);break;case"second":t=this._d.valueOf(),t-=Xo(t,gd);break}return this._d.setTime(t),ge.updateOffset(this,!0),this}function R4(e){var t,r;if(e=en(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?ak:ok,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=vd-Xo(t+(this._isUTC?0:this.utcOffset()*qo),vd)-1;break;case"minute":t=this._d.valueOf(),t+=qo-Xo(t,qo)-1;break;case"second":t=this._d.valueOf(),t+=gd-Xo(t,gd)-1;break}return this._d.setTime(t),ge.updateOffset(this,!0),this}function P4(){return this._d.valueOf()-(this._offset||0)*6e4}function D4(){return Math.floor(this.valueOf()/1e3)}function A4(){return new Date(this.valueOf())}function O4(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function M4(){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 I4(){return this.isValid()?this.toISOString():null}function L4(){return iv(this)}function F4(){return Ys({},Ke(this))}function z4(){return Ke(this).overflow}function U4(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}Oe("N",0,0,"eraAbbr");Oe("NN",0,0,"eraAbbr");Oe("NNN",0,0,"eraAbbr");Oe("NNNN",0,0,"eraName");Oe("NNNNN",0,0,"eraNarrow");Oe("y",["y",1],"yo","eraYear");Oe("y",["yy",2],0,"eraYear");Oe("y",["yyy",3],0,"eraYear");Oe("y",["yyyy",4],0,"eraYear");_e("N",Sv);_e("NN",Sv);_e("NNN",Sv);_e("NNNN",X4);_e("NNNNN",Q4);mt(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var s=r._locale.erasParse(e,n,r._strict);s?Ke(r).era=s:Ke(r).invalidEra=e});_e("y",ka);_e("yy",ka);_e("yyy",ka);_e("yyyy",ka);_e("yo",J4);mt(["y","yy","yyy","yyyy"],ar);mt(["yo"],function(e,t,r,n){var s;r._locale._eraYearOrdinalRegex&&(s=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[ar]=r._locale.eraYearOrdinalParse(e,s):t[ar]=parseInt(e,10)});function V4(e,t){var r,n,s,i=this._eras||Ns("en")._eras;for(r=0,n=i.length;r=0)return i[n]}function $4(e,t){var r=e.since<=e.until?1:-1;return t===void 0?ge(e.since).year():ge(e.since).year()+(t-e.offset)*r}function B4(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;ei&&(t=i),oF.call(this,e,t,r,n,s))}function oF(e,t,r,n,s){var i=VS(e,t,r,n,s),o=Wl(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}Oe("Q",0,"Qo","quarter");_e("Q",RS);mt("Q",function(e,t){t[cs]=(tt(e)-1)*3});function aF(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}Oe("D",["DD",2],"Do","date");_e("D",Ct,Ca);_e("DD",Ct,Vr);_e("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});mt(["D","DD"],An);mt("Do",function(e,t){t[An]=tt(e.match(Ct)[0])});var ck=Ea("Date",!0);Oe("DDD",["DDDD",3],"DDDo","dayOfYear");_e("DDD",vf);_e("DDDD",PS);mt(["DDD","DDDD"],function(e,t,r){r._dayOfYear=tt(e)});function lF(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}Oe("m",["mm",2],0,"minute");_e("m",Ct,fv);_e("mm",Ct,Vr);mt(["m","mm"],fn);var cF=Ea("Minutes",!1);Oe("s",["ss",2],0,"second");_e("s",Ct,fv);_e("ss",Ct,Vr);mt(["s","ss"],us);var uF=Ea("Seconds",!1);Oe("S",0,0,function(){return~~(this.millisecond()/100)});Oe(0,["SS",2],0,function(){return~~(this.millisecond()/10)});Oe(0,["SSS",3],0,"millisecond");Oe(0,["SSSS",4],0,function(){return this.millisecond()*10});Oe(0,["SSSSS",5],0,function(){return this.millisecond()*100});Oe(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});Oe(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});Oe(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});Oe(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});_e("S",vf,RS);_e("SS",vf,Vr);_e("SSS",vf,PS);var Zs,uk;for(Zs="SSSS";Zs.length<=9;Zs+="S")_e(Zs,ka);function dF(e,t){t[Ai]=tt(("0."+e)*1e3)}for(Zs="S";Zs.length<=9;Zs+="S")mt(Zs,dF);uk=Ea("Milliseconds",!1);Oe("z",0,0,"zoneAbbr");Oe("zz",0,0,"zoneName");function fF(){return this._isUTC?"UTC":""}function hF(){return this._isUTC?"Coordinated Universal Time":""}var ae=wc.prototype;ae.add=i4;ae.calendar=f4;ae.clone=h4;ae.diff=w4;ae.endOf=R4;ae.format=k4;ae.from=C4;ae.fromNow=E4;ae.to=j4;ae.toNow=T4;ae.get=SI;ae.invalidAt=z4;ae.isAfter=p4;ae.isBefore=m4;ae.isBetween=g4;ae.isSame=v4;ae.isSameOrAfter=y4;ae.isSameOrBefore=x4;ae.isValid=L4;ae.lang=nk;ae.locale=rk;ae.localeData=sk;ae.max=LL;ae.min=IL;ae.parsingFlags=F4;ae.set=kI;ae.startOf=N4;ae.subtract=o4;ae.toArray=O4;ae.toObject=M4;ae.toDate=A4;ae.toISOString=b4;ae.inspect=S4;typeof Symbol<"u"&&Symbol.for!=null&&(ae[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});ae.toJSON=I4;ae.toString=_4;ae.unix=D4;ae.valueOf=P4;ae.creationData=U4;ae.eraName=B4;ae.eraNarrow=H4;ae.eraAbbr=Y4;ae.eraYear=Z4;ae.year=OS;ae.isLeapYear=bI;ae.weekYear=eF;ae.isoWeekYear=tF;ae.quarter=ae.quarters=aF;ae.month=zS;ae.daysInMonth=AI;ae.week=ae.weeks=VI;ae.isoWeek=ae.isoWeeks=WI;ae.weeksInYear=sF;ae.weeksInWeekYear=iF;ae.isoWeeksInYear=rF;ae.isoWeeksInISOWeekYear=nF;ae.date=ck;ae.day=ae.days=tL;ae.weekday=rL;ae.isoWeekday=nL;ae.dayOfYear=lF;ae.hour=ae.hours=uL;ae.minute=ae.minutes=cF;ae.second=ae.seconds=uF;ae.millisecond=ae.milliseconds=uk;ae.utcOffset=YL;ae.utc=KL;ae.local=GL;ae.parseZone=qL;ae.hasAlignedHourOffset=XL;ae.isDST=QL;ae.isLocal=e4;ae.isUtcOffset=t4;ae.isUtc=QS;ae.isUTC=QS;ae.zoneAbbr=fF;ae.zoneName=hF;ae.dates=Jr("dates accessor is deprecated. Use date instead.",ck);ae.months=Jr("months accessor is deprecated. Use month instead",zS);ae.years=Jr("years accessor is deprecated. Use year instead",OS);ae.zone=Jr("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",ZL);ae.isDSTShifted=Jr("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",JL);function pF(e){return St(e*1e3)}function mF(){return St.apply(null,arguments).parseZone()}function dk(e){return e}var ct=av.prototype;ct.calendar=eI;ct.longDateFormat=sI;ct.invalidDate=oI;ct.ordinal=cI;ct.preparse=dk;ct.postformat=dk;ct.relativeTime=dI;ct.pastFuture=fI;ct.set=QM;ct.eras=V4;ct.erasParse=W4;ct.erasConvertYear=$4;ct.erasAbbrRegex=G4;ct.erasNameRegex=K4;ct.erasNarrowRegex=q4;ct.months=NI;ct.monthsShort=RI;ct.monthsParse=DI;ct.monthsRegex=MI;ct.monthsShortRegex=OI;ct.week=LI;ct.firstDayOfYear=UI;ct.firstDayOfWeek=zI;ct.weekdays=qI;ct.weekdaysMin=QI;ct.weekdaysShort=XI;ct.weekdaysParse=eL;ct.weekdaysRegex=sL;ct.weekdaysShortRegex=iL;ct.weekdaysMinRegex=oL;ct.isPM=lL;ct.meridiem=dL;function yd(e,t,r,n){var s=Ns(),i=Yn().set(n,t);return s[r](i,e)}function fk(e,t,r){if(bs(e)&&(t=e,e=void 0),e=e||"",t!=null)return yd(e,t,r,"month");var n,s=[];for(n=0;n<12;n++)s[n]=yd(e,n,r,"month");return s}function Cv(e,t,r,n){typeof e=="boolean"?(bs(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,bs(t)&&(r=t,t=void 0),t=t||"");var s=Ns(),i=e?s._week.dow:0,o,a=[];if(r!=null)return yd(t,(r+i)%7,n,"day");for(o=0;o<7;o++)a[o]=yd(t,(o+i)%7,n,"day");return a}function gF(e,t){return fk(e,t,"months")}function vF(e,t){return fk(e,t,"monthsShort")}function yF(e,t,r){return Cv(e,t,r,"weekdays")}function xF(e,t,r){return Cv(e,t,r,"weekdaysShort")}function wF(e,t,r){return Cv(e,t,r,"weekdaysMin")}ni("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,r=tt(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});ge.lang=Jr("moment.lang is deprecated. Use moment.locale instead.",ni);ge.langData=Jr("moment.langData is deprecated. Use moment.localeData instead.",Ns);var es=Math.abs;function _F(){var e=this._data;return this._milliseconds=es(this._milliseconds),this._days=es(this._days),this._months=es(this._months),e.milliseconds=es(e.milliseconds),e.seconds=es(e.seconds),e.minutes=es(e.minutes),e.hours=es(e.hours),e.months=es(e.months),e.years=es(e.years),this}function hk(e,t,r,n){var s=Cn(t,r);return e._milliseconds+=n*s._milliseconds,e._days+=n*s._days,e._months+=n*s._months,e._bubble()}function bF(e,t){return hk(this,e,t,1)}function SF(e,t){return hk(this,e,t,-1)}function g0(e){return e<0?Math.floor(e):Math.ceil(e)}function kF(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,s,i,o,a,l;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=g0(Xp(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,s=Yr(e/1e3),n.seconds=s%60,i=Yr(s/60),n.minutes=i%60,o=Yr(i/60),n.hours=o%24,t+=Yr(o/24),l=Yr(pk(t)),r+=l,t-=g0(Xp(l)),a=Yr(r/12),r%=12,n.days=t,n.months=r,n.years=a,this}function pk(e){return e*4800/146097}function Xp(e){return e*146097/4800}function CF(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=en(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+pk(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(Xp(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function Rs(e){return function(){return this.as(e)}}var mk=Rs("ms"),EF=Rs("s"),jF=Rs("m"),TF=Rs("h"),NF=Rs("d"),RF=Rs("w"),PF=Rs("M"),DF=Rs("Q"),AF=Rs("y"),OF=mk;function MF(){return Cn(this)}function IF(e){return e=en(e),this.isValid()?this[e+"s"]():NaN}function no(e){return function(){return this.isValid()?this._data[e]:NaN}}var LF=no("milliseconds"),FF=no("seconds"),zF=no("minutes"),UF=no("hours"),VF=no("days"),WF=no("months"),$F=no("years");function BF(){return Yr(this.days()/7)}var ss=Math.round,Do={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function HF(e,t,r,n,s){return s.relativeTime(t||1,!!r,e,n)}function YF(e,t,r,n){var s=Cn(e).abs(),i=ss(s.as("s")),o=ss(s.as("m")),a=ss(s.as("h")),l=ss(s.as("d")),u=ss(s.as("M")),d=ss(s.as("w")),f=ss(s.as("y")),g=i<=r.ss&&["s",i]||i0,g[4]=n,HF.apply(null,g)}function ZF(e){return e===void 0?ss:typeof e=="function"?(ss=e,!0):!1}function KF(e,t){return Do[e]===void 0?!1:t===void 0?Do[e]:(Do[e]=t,e==="s"&&(Do.ss=t-1),!0)}function GF(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Do,s,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},Do,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),s=this.localeData(),i=YF(this,!r,n,s),r&&(i=s.pastFuture(+this,i)),s.postformat(i)}var Dh=Math.abs;function mo(e){return(e>0)-(e<0)||+e}function Cf(){if(!this.isValid())return this.localeData().invalidDate();var e=Dh(this._milliseconds)/1e3,t=Dh(this._days),r=Dh(this._months),n,s,i,o,a=this.asSeconds(),l,u,d,f;return a?(n=Yr(e/60),s=Yr(n/60),e%=60,n%=60,i=Yr(r/12),r%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=a<0?"-":"",u=mo(this._months)!==mo(a)?"-":"",d=mo(this._days)!==mo(a)?"-":"",f=mo(this._milliseconds)!==mo(a)?"-":"",l+"P"+(i?u+i+"Y":"")+(r?u+r+"M":"")+(t?d+t+"D":"")+(s||n||e?"T":"")+(s?f+s+"H":"")+(n?f+n+"M":"")+(e?f+o+"S":"")):"P0D"}var st=Sf.prototype;st.isValid=WL;st.abs=_F;st.add=bF;st.subtract=SF;st.as=CF;st.asMilliseconds=mk;st.asSeconds=EF;st.asMinutes=jF;st.asHours=TF;st.asDays=NF;st.asWeeks=RF;st.asMonths=PF;st.asQuarters=DF;st.asYears=AF;st.valueOf=OF;st._bubble=kF;st.clone=MF;st.get=IF;st.milliseconds=LF;st.seconds=FF;st.minutes=zF;st.hours=UF;st.days=VF;st.weeks=BF;st.months=WF;st.years=$F;st.humanize=GF;st.toISOString=Cf;st.toString=Cf;st.toJSON=Cf;st.locale=rk;st.localeData=sk;st.toIsoString=Jr("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Cf);st.lang=nk;Oe("X",0,0,"unix");Oe("x",0,0,"valueOf");_e("x",xf);_e("X",gI);mt("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});mt("x",function(e,t,r){r._d=new Date(tt(e))});//! moment.js -ge.version="2.30.1";qM(St);ge.fn=ae;ge.min=FL;ge.max=zL;ge.now=UL;ge.utc=Yn;ge.unix=pF;ge.months=gF;ge.isDate=xc;ge.locale=ni;ge.invalid=mf;ge.duration=Cn;ge.isMoment=_n;ge.weekdays=yF;ge.parseZone=mF;ge.localeData=Ns;ge.isDuration=Nu;ge.monthsShort=vF;ge.weekdaysMin=wF;ge.defineLocale=vv;ge.updateLocale=mL;ge.locales=gL;ge.weekdaysShort=xF;ge.normalizeUnits=en;ge.relativeTimeRounding=ZF;ge.relativeTimeThreshold=KF;ge.calendarFormat=d4;ge.prototype=ae;ge.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"};const qF=async()=>await xt().collection("access").getFullList({sort:"-created",filter:"deleted = null"}),yi=async e=>e.id?await xt().collection("access").update(e.id,e):await xt().collection("access").create(e),XF=async e=>(e.deleted=ge.utc().format("YYYY-MM-DD HH:mm:ss"),await xt().collection("access").update(e.id,e)),QF=(e,t)=>{switch(t.type){case"SET_ACCESSES":return{...e,accesses:t.payload};case"ADD_ACCESS":return{...e,accesses:[t.payload,...e.accesses]};case"DELETE_ACCESS":return{...e,accesses:e.accesses.filter(r=>r.id!==t.payload)};case"UPDATE_ACCESS":return{...e,accesses:e.accesses.map(r=>r.id===t.payload.id?t.payload:r)};case"SET_EMAILS":return{...e,emails:t.payload};case"ADD_EMAIL":return{...e,emails:{...e.emails,content:{emails:[...e.emails.content.emails,t.payload]}}};default:return e}},JF=async()=>{try{return await xt().collection("settings").getFirstListItem("name='emails'")}catch{return{content:{emails:[]}}}},e3=async e=>{const t=xt();let r;return e.id?r=await t.collection("settings").update(e.id,e):r=await t.collection("settings").create(e),r},gk=x.createContext({}),En=()=>x.useContext(gk),t3=({children:e})=>{const[t,r]=x.useReducer(QF,{accesses:[],emails:{content:{emails:[]}}});x.useEffect(()=>{(async()=>{const l=await qF();r({type:"SET_ACCESSES",payload:l})})()},[]),x.useEffect(()=>{(async()=>{const l=await JF();r({type:"SET_EMAILS",payload:l})})()},[]);const n=x.useCallback(a=>{r({type:"SET_EMAILS",payload:a})},[]),s=x.useCallback(a=>{r({type:"DELETE_ACCESS",payload:a})},[]),i=x.useCallback(a=>{r({type:"ADD_ACCESS",payload:a})},[]),o=x.useCallback(a=>{r({type:"UPDATE_ACCESS",payload:a})},[]);return c.jsx(gk.Provider,{value:{config:{accesses:t.accesses,emails:t.emails},deleteAccess:s,addAccess:i,setEmails:n,updateAccess:o},children:e&&e})},r3={theme:"system",setTheme:()=>null},vk=x.createContext(r3);function n3({children:e,defaultTheme:t="system",storageKey:r="vite-ui-theme",...n}){const[s,i]=x.useState(()=>localStorage.getItem(r)||t);x.useEffect(()=>{const a=window.document.documentElement;if(a.classList.remove("light","dark"),s==="system"){const l=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";a.classList.add(l);return}a.classList.add(s)},[s]);const o={theme:s,setTheme:a=>{localStorage.setItem(r,a),i(a)}};return c.jsx(vk.Provider,{...n,value:o,children:e})}const s3=()=>{const e=x.useContext(vk);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e};function i3(){const{setTheme:e}=s3();return c.jsxs(Jb,{children:[c.jsx(eS,{asChild:!0,children:c.jsxs(at,{variant:"outline",size:"icon",children:[c.jsx(KR,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),c.jsx(YR,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100 dark:text-white"}),c.jsx("span",{className:"sr-only",children:"Toggle theme"})]})}),c.jsxs(Hg,{align:"end",children:[c.jsx(Zo,{onClick:()=>e("light"),children:"浅色"}),c.jsx(Zo,{onClick:()=>e("dark"),children:"暗黑"}),c.jsx(Zo,{onClick:()=>e("system"),children:"系统"})]})]})}var o3="Separator",v0="horizontal",a3=["horizontal","vertical"],yk=x.forwardRef((e,t)=>{const{decorative:r,orientation:n=v0,...s}=e,i=l3(n)?n:v0,a=r?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return c.jsx(Ve.div,{"data-orientation":i,...a,...s,ref:t})});yk.displayName=o3;function l3(e){return a3.includes(e)}var xk=yk;const Yt=x.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...n},s)=>c.jsx(xk,{ref:s,decorative:r,orientation:t,className:pe("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...n}));Yt.displayName=xk.displayName;function c3(){const e=Sn(),t=Hn();if(!xt().authStore.isValid||!xt().authStore.isAdmin)return c.jsx(u1,{to:"/login"});const r=t.pathname,n=o=>(console.log(r),o==r?"bg-muted text-primary":"text-muted-foreground"),s=()=>{xt().authStore.clear(),e("/login")},i=()=>{e("/setting/password")};return c.jsx(c.Fragment,{children:c.jsx(t3,{children:c.jsxs("div",{className:"grid min-h-screen w-full md:grid-cols-[220px_1fr] lg:grid-cols-[280px_1fr]",children:[c.jsx("div",{className:"hidden border-r dark:border-stone-500 bg-muted/40 md:block",children:c.jsxs("div",{className:"flex h-full max-h-screen flex-col gap-2",children:[c.jsx("div",{className:"flex h-14 items-center border-b dark:border-stone-500 px-4 lg:h-[60px] lg:px-6",children:c.jsxs(dr,{to:"/",className:"flex items-center gap-2 font-semibold",children:[c.jsx("img",{src:"/vite.svg",className:"w-[36px] h-[36px]"}),c.jsx("span",{className:"dark:text-white",children:"Certimate"})]})}),c.jsx("div",{className:"flex-1",children:c.jsxs("nav",{className:"grid items-start px-2 text-sm font-medium lg:px-4",children:[c.jsxs(dr,{to:"/",className:pe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/")),children:[c.jsx(Ox,{className:"h-4 w-4"}),"控制面板"]}),c.jsxs(dr,{to:"/domains",className:pe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/domains")),children:[c.jsx(Ip,{className:"h-4 w-4"}),"域名列表"]}),c.jsxs(dr,{to:"/access",className:pe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/access")),children:[c.jsx(Mx,{className:"h-4 w-4"}),"授权管理"]}),c.jsxs(dr,{to:"/history",className:pe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/history")),children:[c.jsx(Ax,{className:"h-4 w-4"}),"部署历史"]})]})})]})}),c.jsxs("div",{className:"flex flex-col",children:[c.jsxs("header",{className:"flex h-14 items-center gap-4 border-b dark:border-stone-500 bg-muted/40 px-4 lg:h-[60px] lg:px-6",children:[c.jsxs(Jg,{children:[c.jsx(ev,{asChild:!0,children:c.jsxs(at,{variant:"outline",size:"icon",className:"shrink-0 md:hidden",children:[c.jsx(HR,{className:"h-5 w-5 dark:text-white"}),c.jsx("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),c.jsx(pf,{side:"left",className:"flex flex-col",children:c.jsxs("nav",{className:"grid gap-2 text-lg font-medium",children:[c.jsxs(dr,{to:"/",className:"flex items-center gap-2 text-lg font-semibold",children:[c.jsx("img",{src:"/vite.svg",className:"w-[36px] h-[36px]"}),c.jsx("span",{className:"dark:text-white",children:"Certimate"}),c.jsx("span",{className:"sr-only",children:"Certimate"})]}),c.jsxs(dr,{to:"/",className:pe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/")),children:[c.jsx(Ox,{className:"h-5 w-5"}),"控制面板"]}),c.jsxs(dr,{to:"/domains",className:pe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/domains")),children:[c.jsx(Ip,{className:"h-5 w-5"}),"域名列表"]}),c.jsxs(dr,{to:"/access",className:pe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/dns_provider")),children:[c.jsx(Mx,{className:"h-5 w-5"}),"授权管理"]}),c.jsxs(dr,{to:"/history",className:pe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/history")),children:[c.jsx(Ax,{className:"h-5 w-5"}),"部署历史"]})]})})]}),c.jsx("div",{className:"w-full flex-1"}),c.jsx(i3,{}),c.jsxs(Jb,{children:[c.jsx(eS,{asChild:!0,children:c.jsxs(at,{variant:"secondary",size:"icon",className:"rounded-full",children:[c.jsx(UR,{className:"h-5 w-5"}),c.jsx("span",{className:"sr-only",children:"Toggle user menu"})]})}),c.jsxs(Hg,{align:"end",children:[c.jsx(tS,{children:"账户"}),c.jsx(rS,{}),c.jsx(Zo,{onClick:i,children:"设置"}),c.jsx(Zo,{onClick:s,children:"退出"})]})]})]}),c.jsxs("main",{className:"flex flex-1 flex-col gap-4 p-4 lg:gap-6 lg:p-6 relative",children:[c.jsx(gg,{}),c.jsxs("div",{className:"fixed right-0 bottom-0 w-full flex justify-between p-5",children:[c.jsx("div",{className:""}),c.jsxs("div",{className:"text-muted-foreground text-sm hover:text-stone-900 dark:hover:text-stone-200 flex",children:[c.jsxs("a",{href:"https://docs.certimate.me",target:"_blank",className:"flex items-center",children:[c.jsx(IR,{size:16}),c.jsx("div",{className:"ml-1",children:"文档"})]}),c.jsx(Yt,{orientation:"vertical",className:"mx-2"}),c.jsx("a",{href:"https://github.com/usual2970/certimate/releases",target:"_blank",children:"Certimate v0.1.4"})]})]})]})]})]})})})}const Ev=({phase:e,phaseSuccess:t})=>{let r=c.jsx(c.Fragment,{children:" "});return e==="check"&&(t?r=c.jsxs("div",{className:"flex items-center",children:[c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),c.jsx(Yt,{className:"h-1 grow"}),c.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"获取"}),c.jsx(Yt,{className:"h-1 grow"}),c.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]}):r=c.jsxs("div",{className:"flex items-center",children:[c.jsx("div",{className:"text-xs text-nowrap text-red-600",children:"检查 "}),c.jsx(Yt,{className:"h-1 grow"}),c.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"获取"}),c.jsx(Yt,{className:"h-1 grow"}),c.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]})),e==="apply"&&(t?r=c.jsxs("div",{className:"flex items-center",children:[c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),c.jsx(Yt,{className:"h-1 grow bg-green-600"}),c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"获取"}),c.jsx(Yt,{className:"h-1 grow"}),c.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]}):r=c.jsxs("div",{className:"flex items-center",children:[c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),c.jsx(Yt,{className:"h-1 grow bg-green-600"}),c.jsx("div",{className:"text-xs text-nowrap text-red-600",children:"获取"}),c.jsx(Yt,{className:"h-1 grow"}),c.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]})),e==="deploy"&&(t?r=c.jsxs("div",{className:"flex items-center",children:[c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),c.jsx(Yt,{className:"h-1 grow bg-green-600"}),c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"获取"}),c.jsx(Yt,{className:"h-1 grow bg-green-600"}),c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"部署"})]}):r=c.jsxs("div",{className:"flex items-center",children:[c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),c.jsx(Yt,{className:"h-1 grow bg-green-600"}),c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"获取"}),c.jsx(Yt,{className:"h-1 grow bg-green-600"}),c.jsx("div",{className:"text-xs text-nowrap text-red-600",children:"部署"})]})),r},wk=({className:e,...t})=>c.jsx("nav",{role:"navigation","aria-label":"pagination",className:pe("mx-auto flex w-full justify-center",e),...t});wk.displayName="Pagination";const _k=x.forwardRef(({className:e,...t},r)=>c.jsx("ul",{ref:r,className:pe("flex flex-row items-center gap-1",e),...t}));_k.displayName="PaginationContent";const Qp=x.forwardRef(({className:e,...t},r)=>c.jsx("li",{ref:r,className:pe("",e),...t}));Qp.displayName="PaginationItem";const bk=({className:e,isActive:t,size:r="icon",...n})=>c.jsx("a",{"aria-current":t?"page":void 0,className:pe(tf({variant:t?"outline":"ghost",size:r}),e),...n});bk.displayName="PaginationLink";const Sk=({className:e,...t})=>c.jsxs("span",{"aria-hidden":!0,className:pe("flex h-9 w-9 items-center justify-center",e),...t,children:[c.jsx(WR,{className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"More pages"})]});Sk.displayName="PaginationEllipsis";const kk=({totalPages:e,currentPage:t,onPageChange:r})=>{const s=()=>{if(e>7){let u=[];const d=Math.max(2,t-1),f=Math.min(e-1,t+1),g=e-1;return u=i(d,f),t>3&&u.unshift("..."),t{let d=a;const f=[];for(;d<=l;)f.push(d),d+=u;return f},o=s();return c.jsx(c.Fragment,{children:c.jsx(wk,{className:"dark:text-stone-200 justify-end mt-3",children:c.jsx(_k,{children:o.map((a,l)=>a==="..."?c.jsx(Qp,{children:c.jsx(Sk,{})},l):c.jsx(Qp,{children:c.jsx(bk,{href:"#",isActive:t==a,onClick:u=>{u.preventDefault(),r(a)},children:a})},l))})})})},y0=({when:e,children:t,fallback:r})=>e?t:r;var Ck="AlertDialog",[u3,w8]=Qr(Ck,[sS]),Ps=sS(),Ek=e=>{const{__scopeAlertDialog:t,...r}=e,n=Ps(t);return c.jsx(qg,{...n,...r,modal:!0})};Ek.displayName=Ck;var d3="AlertDialogTrigger",jk=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Ps(r);return c.jsx(Xg,{...s,...n,ref:t})});jk.displayName=d3;var f3="AlertDialogPortal",Tk=e=>{const{__scopeAlertDialog:t,...r}=e,n=Ps(t);return c.jsx(Qg,{...n,...r})};Tk.displayName=f3;var h3="AlertDialogOverlay",Nk=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Ps(r);return c.jsx(mc,{...s,...n,ref:t})});Nk.displayName=h3;var Qo="AlertDialogContent",[p3,m3]=u3(Qo),Rk=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...s}=e,i=Ps(r),o=x.useRef(null),a=Xe(t,o),l=x.useRef(null);return c.jsx(CM,{contentName:Qo,titleName:Pk,docsSlug:"alert-dialog",children:c.jsx(p3,{scope:r,cancelRef:l,children:c.jsxs(gc,{role:"alertdialog",...i,...s,ref:a,onOpenAutoFocus:ue(s.onOpenAutoFocus,u=>{var d;u.preventDefault(),(d=l.current)==null||d.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault(),children:[c.jsx(wg,{children:n}),c.jsx(v3,{contentRef:o})]})})})});Rk.displayName=Qo;var Pk="AlertDialogTitle",Dk=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Ps(r);return c.jsx(vc,{...s,...n,ref:t})});Dk.displayName=Pk;var Ak="AlertDialogDescription",Ok=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Ps(r);return c.jsx(yc,{...s,...n,ref:t})});Ok.displayName=Ak;var g3="AlertDialogAction",Mk=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Ps(r);return c.jsx(hf,{...s,...n,ref:t})});Mk.displayName=g3;var Ik="AlertDialogCancel",Lk=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:s}=m3(Ik,r),i=Ps(r),o=Xe(t,s);return c.jsx(hf,{...i,...n,ref:o})});Lk.displayName=Ik;var v3=({contentRef:e})=>{const t=`\`${Qo}\` requires a description for the component to be accessible for screen reader users. +ge.version="2.30.1";qM(St);ge.fn=ae;ge.min=FL;ge.max=zL;ge.now=UL;ge.utc=Yn;ge.unix=pF;ge.months=gF;ge.isDate=xc;ge.locale=ni;ge.invalid=mf;ge.duration=Cn;ge.isMoment=_n;ge.weekdays=yF;ge.parseZone=mF;ge.localeData=Ns;ge.isDuration=Nu;ge.monthsShort=vF;ge.weekdaysMin=wF;ge.defineLocale=vv;ge.updateLocale=mL;ge.locales=gL;ge.weekdaysShort=xF;ge.normalizeUnits=en;ge.relativeTimeRounding=ZF;ge.relativeTimeThreshold=KF;ge.calendarFormat=d4;ge.prototype=ae;ge.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"};const qF=async()=>await xt().collection("access").getFullList({sort:"-created",filter:"deleted = null"}),yi=async e=>e.id?await xt().collection("access").update(e.id,e):await xt().collection("access").create(e),XF=async e=>(e.deleted=ge.utc().format("YYYY-MM-DD HH:mm:ss"),await xt().collection("access").update(e.id,e)),QF=(e,t)=>{switch(t.type){case"SET_ACCESSES":return{...e,accesses:t.payload};case"ADD_ACCESS":return{...e,accesses:[t.payload,...e.accesses]};case"DELETE_ACCESS":return{...e,accesses:e.accesses.filter(r=>r.id!==t.payload)};case"UPDATE_ACCESS":return{...e,accesses:e.accesses.map(r=>r.id===t.payload.id?t.payload:r)};case"SET_EMAILS":return{...e,emails:t.payload};case"ADD_EMAIL":return{...e,emails:{...e.emails,content:{emails:[...e.emails.content.emails,t.payload]}}};default:return e}},JF=async()=>{try{return await xt().collection("settings").getFirstListItem("name='emails'")}catch{return{content:{emails:[]}}}},e3=async e=>{const t=xt();let r;return e.id?r=await t.collection("settings").update(e.id,e):r=await t.collection("settings").create(e),r},gk=x.createContext({}),En=()=>x.useContext(gk),t3=({children:e})=>{const[t,r]=x.useReducer(QF,{accesses:[],emails:{content:{emails:[]}}});x.useEffect(()=>{(async()=>{const l=await qF();r({type:"SET_ACCESSES",payload:l})})()},[]),x.useEffect(()=>{(async()=>{const l=await JF();r({type:"SET_EMAILS",payload:l})})()},[]);const n=x.useCallback(a=>{r({type:"SET_EMAILS",payload:a})},[]),s=x.useCallback(a=>{r({type:"DELETE_ACCESS",payload:a})},[]),i=x.useCallback(a=>{r({type:"ADD_ACCESS",payload:a})},[]),o=x.useCallback(a=>{r({type:"UPDATE_ACCESS",payload:a})},[]);return c.jsx(gk.Provider,{value:{config:{accesses:t.accesses,emails:t.emails},deleteAccess:s,addAccess:i,setEmails:n,updateAccess:o},children:e&&e})},r3={theme:"system",setTheme:()=>null},vk=x.createContext(r3);function n3({children:e,defaultTheme:t="system",storageKey:r="vite-ui-theme",...n}){const[s,i]=x.useState(()=>localStorage.getItem(r)||t);x.useEffect(()=>{const a=window.document.documentElement;if(a.classList.remove("light","dark"),s==="system"){const l=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";a.classList.add(l);return}a.classList.add(s)},[s]);const o={theme:s,setTheme:a=>{localStorage.setItem(r,a),i(a)}};return c.jsx(vk.Provider,{...n,value:o,children:e})}const s3=()=>{const e=x.useContext(vk);if(e===void 0)throw new Error("useTheme must be used within a ThemeProvider");return e};function i3(){const{setTheme:e}=s3();return c.jsxs(Jb,{children:[c.jsx(eS,{asChild:!0,children:c.jsxs(at,{variant:"outline",size:"icon",children:[c.jsx(KR,{className:"h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"}),c.jsx(YR,{className:"absolute h-[1.2rem] w-[1.2rem] rotate-90 scale-0 transition-all dark:rotate-0 dark:scale-100 dark:text-white"}),c.jsx("span",{className:"sr-only",children:"Toggle theme"})]})}),c.jsxs(Hg,{align:"end",children:[c.jsx(Zo,{onClick:()=>e("light"),children:"浅色"}),c.jsx(Zo,{onClick:()=>e("dark"),children:"暗黑"}),c.jsx(Zo,{onClick:()=>e("system"),children:"系统"})]})]})}var o3="Separator",v0="horizontal",a3=["horizontal","vertical"],yk=x.forwardRef((e,t)=>{const{decorative:r,orientation:n=v0,...s}=e,i=l3(n)?n:v0,a=r?{role:"none"}:{"aria-orientation":i==="vertical"?i:void 0,role:"separator"};return c.jsx(Ve.div,{"data-orientation":i,...a,...s,ref:t})});yk.displayName=o3;function l3(e){return a3.includes(e)}var xk=yk;const Yt=x.forwardRef(({className:e,orientation:t="horizontal",decorative:r=!0,...n},s)=>c.jsx(xk,{ref:s,decorative:r,orientation:t,className:pe("shrink-0 bg-border",t==="horizontal"?"h-[1px] w-full":"h-full w-[1px]",e),...n}));Yt.displayName=xk.displayName;function c3(){const e=Sn(),t=Hn();if(!xt().authStore.isValid||!xt().authStore.isAdmin)return c.jsx(u1,{to:"/login"});const r=t.pathname,n=o=>(console.log(r),o==r?"bg-muted text-primary":"text-muted-foreground"),s=()=>{xt().authStore.clear(),e("/login")},i=()=>{e("/setting/password")};return c.jsx(c.Fragment,{children:c.jsx(t3,{children:c.jsxs("div",{className:"grid min-h-screen w-full md:grid-cols-[220px_1fr] lg:grid-cols-[280px_1fr]",children:[c.jsx("div",{className:"hidden border-r dark:border-stone-500 bg-muted/40 md:block",children:c.jsxs("div",{className:"flex h-full max-h-screen flex-col gap-2",children:[c.jsx("div",{className:"flex h-14 items-center border-b dark:border-stone-500 px-4 lg:h-[60px] lg:px-6",children:c.jsxs(dr,{to:"/",className:"flex items-center gap-2 font-semibold",children:[c.jsx("img",{src:"/vite.svg",className:"w-[36px] h-[36px]"}),c.jsx("span",{className:"dark:text-white",children:"Certimate"})]})}),c.jsx("div",{className:"flex-1",children:c.jsxs("nav",{className:"grid items-start px-2 text-sm font-medium lg:px-4",children:[c.jsxs(dr,{to:"/",className:pe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/")),children:[c.jsx(Ox,{className:"h-4 w-4"}),"控制面板"]}),c.jsxs(dr,{to:"/domains",className:pe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/domains")),children:[c.jsx(Ip,{className:"h-4 w-4"}),"域名列表"]}),c.jsxs(dr,{to:"/access",className:pe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/access")),children:[c.jsx(Mx,{className:"h-4 w-4"}),"授权管理"]}),c.jsxs(dr,{to:"/history",className:pe("flex items-center gap-3 rounded-lg px-3 py-2 transition-all hover:text-primary",n("/history")),children:[c.jsx(Ax,{className:"h-4 w-4"}),"部署历史"]})]})})]})}),c.jsxs("div",{className:"flex flex-col",children:[c.jsxs("header",{className:"flex h-14 items-center gap-4 border-b dark:border-stone-500 bg-muted/40 px-4 lg:h-[60px] lg:px-6",children:[c.jsxs(Jg,{children:[c.jsx(ev,{asChild:!0,children:c.jsxs(at,{variant:"outline",size:"icon",className:"shrink-0 md:hidden",children:[c.jsx(HR,{className:"h-5 w-5 dark:text-white"}),c.jsx("span",{className:"sr-only",children:"Toggle navigation menu"})]})}),c.jsx(pf,{side:"left",className:"flex flex-col",children:c.jsxs("nav",{className:"grid gap-2 text-lg font-medium",children:[c.jsxs(dr,{to:"/",className:"flex items-center gap-2 text-lg font-semibold",children:[c.jsx("img",{src:"/vite.svg",className:"w-[36px] h-[36px]"}),c.jsx("span",{className:"dark:text-white",children:"Certimate"}),c.jsx("span",{className:"sr-only",children:"Certimate"})]}),c.jsxs(dr,{to:"/",className:pe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/")),children:[c.jsx(Ox,{className:"h-5 w-5"}),"控制面板"]}),c.jsxs(dr,{to:"/domains",className:pe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/domains")),children:[c.jsx(Ip,{className:"h-5 w-5"}),"域名列表"]}),c.jsxs(dr,{to:"/access",className:pe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/dns_provider")),children:[c.jsx(Mx,{className:"h-5 w-5"}),"授权管理"]}),c.jsxs(dr,{to:"/history",className:pe("mx-[-0.65rem] flex items-center gap-4 rounded-xl px-3 py-2 hover:text-foreground",n("/history")),children:[c.jsx(Ax,{className:"h-5 w-5"}),"部署历史"]})]})})]}),c.jsx("div",{className:"w-full flex-1"}),c.jsx(i3,{}),c.jsxs(Jb,{children:[c.jsx(eS,{asChild:!0,children:c.jsxs(at,{variant:"secondary",size:"icon",className:"rounded-full",children:[c.jsx(UR,{className:"h-5 w-5"}),c.jsx("span",{className:"sr-only",children:"Toggle user menu"})]})}),c.jsxs(Hg,{align:"end",children:[c.jsx(tS,{children:"账户"}),c.jsx(rS,{}),c.jsx(Zo,{onClick:i,children:"设置"}),c.jsx(Zo,{onClick:s,children:"退出"})]})]})]}),c.jsxs("main",{className:"flex flex-1 flex-col gap-4 p-4 lg:gap-6 lg:p-6 relative",children:[c.jsx(gg,{}),c.jsxs("div",{className:"fixed right-0 bottom-0 w-full flex justify-between p-5",children:[c.jsx("div",{className:""}),c.jsxs("div",{className:"text-muted-foreground text-sm hover:text-stone-900 dark:hover:text-stone-200 flex",children:[c.jsxs("a",{href:"https://docs.certimate.me",target:"_blank",className:"flex items-center",children:[c.jsx(IR,{size:16}),c.jsx("div",{className:"ml-1",children:"文档"})]}),c.jsx(Yt,{orientation:"vertical",className:"mx-2"}),c.jsx("a",{href:"https://github.com/usual2970/certimate/releases",target:"_blank",children:"Certimate v0.1.5"})]})]})]})]})]})})})}const Ev=({phase:e,phaseSuccess:t})=>{let r=c.jsx(c.Fragment,{children:" "});return e==="check"&&(t?r=c.jsxs("div",{className:"flex items-center",children:[c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),c.jsx(Yt,{className:"h-1 grow"}),c.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"获取"}),c.jsx(Yt,{className:"h-1 grow"}),c.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]}):r=c.jsxs("div",{className:"flex items-center",children:[c.jsx("div",{className:"text-xs text-nowrap text-red-600",children:"检查 "}),c.jsx(Yt,{className:"h-1 grow"}),c.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"获取"}),c.jsx(Yt,{className:"h-1 grow"}),c.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]})),e==="apply"&&(t?r=c.jsxs("div",{className:"flex items-center",children:[c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),c.jsx(Yt,{className:"h-1 grow bg-green-600"}),c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"获取"}),c.jsx(Yt,{className:"h-1 grow"}),c.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]}):r=c.jsxs("div",{className:"flex items-center",children:[c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),c.jsx(Yt,{className:"h-1 grow bg-green-600"}),c.jsx("div",{className:"text-xs text-nowrap text-red-600",children:"获取"}),c.jsx(Yt,{className:"h-1 grow"}),c.jsx("div",{className:"text-xs text-nowrap text-muted-foreground",children:"部署"})]})),e==="deploy"&&(t?r=c.jsxs("div",{className:"flex items-center",children:[c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),c.jsx(Yt,{className:"h-1 grow bg-green-600"}),c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"获取"}),c.jsx(Yt,{className:"h-1 grow bg-green-600"}),c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"部署"})]}):r=c.jsxs("div",{className:"flex items-center",children:[c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"检查 "}),c.jsx(Yt,{className:"h-1 grow bg-green-600"}),c.jsx("div",{className:"text-xs text-nowrap text-green-600",children:"获取"}),c.jsx(Yt,{className:"h-1 grow bg-green-600"}),c.jsx("div",{className:"text-xs text-nowrap text-red-600",children:"部署"})]})),r},wk=({className:e,...t})=>c.jsx("nav",{role:"navigation","aria-label":"pagination",className:pe("mx-auto flex w-full justify-center",e),...t});wk.displayName="Pagination";const _k=x.forwardRef(({className:e,...t},r)=>c.jsx("ul",{ref:r,className:pe("flex flex-row items-center gap-1",e),...t}));_k.displayName="PaginationContent";const Qp=x.forwardRef(({className:e,...t},r)=>c.jsx("li",{ref:r,className:pe("",e),...t}));Qp.displayName="PaginationItem";const bk=({className:e,isActive:t,size:r="icon",...n})=>c.jsx("a",{"aria-current":t?"page":void 0,className:pe(tf({variant:t?"outline":"ghost",size:r}),e),...n});bk.displayName="PaginationLink";const Sk=({className:e,...t})=>c.jsxs("span",{"aria-hidden":!0,className:pe("flex h-9 w-9 items-center justify-center",e),...t,children:[c.jsx(WR,{className:"h-4 w-4"}),c.jsx("span",{className:"sr-only",children:"More pages"})]});Sk.displayName="PaginationEllipsis";const kk=({totalPages:e,currentPage:t,onPageChange:r})=>{const s=()=>{if(e>7){let u=[];const d=Math.max(2,t-1),f=Math.min(e-1,t+1),g=e-1;return u=i(d,f),t>3&&u.unshift("..."),t{let d=a;const f=[];for(;d<=l;)f.push(d),d+=u;return f},o=s();return c.jsx(c.Fragment,{children:c.jsx(wk,{className:"dark:text-stone-200 justify-end mt-3",children:c.jsx(_k,{children:o.map((a,l)=>a==="..."?c.jsx(Qp,{children:c.jsx(Sk,{})},l):c.jsx(Qp,{children:c.jsx(bk,{href:"#",isActive:t==a,onClick:u=>{u.preventDefault(),r(a)},children:a})},l))})})})},y0=({when:e,children:t,fallback:r})=>e?t:r;var Ck="AlertDialog",[u3,w8]=Qr(Ck,[sS]),Ps=sS(),Ek=e=>{const{__scopeAlertDialog:t,...r}=e,n=Ps(t);return c.jsx(qg,{...n,...r,modal:!0})};Ek.displayName=Ck;var d3="AlertDialogTrigger",jk=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Ps(r);return c.jsx(Xg,{...s,...n,ref:t})});jk.displayName=d3;var f3="AlertDialogPortal",Tk=e=>{const{__scopeAlertDialog:t,...r}=e,n=Ps(t);return c.jsx(Qg,{...n,...r})};Tk.displayName=f3;var h3="AlertDialogOverlay",Nk=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Ps(r);return c.jsx(mc,{...s,...n,ref:t})});Nk.displayName=h3;var Qo="AlertDialogContent",[p3,m3]=u3(Qo),Rk=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,children:n,...s}=e,i=Ps(r),o=x.useRef(null),a=Xe(t,o),l=x.useRef(null);return c.jsx(CM,{contentName:Qo,titleName:Pk,docsSlug:"alert-dialog",children:c.jsx(p3,{scope:r,cancelRef:l,children:c.jsxs(gc,{role:"alertdialog",...i,...s,ref:a,onOpenAutoFocus:ue(s.onOpenAutoFocus,u=>{var d;u.preventDefault(),(d=l.current)==null||d.focus({preventScroll:!0})}),onPointerDownOutside:u=>u.preventDefault(),onInteractOutside:u=>u.preventDefault(),children:[c.jsx(wg,{children:n}),c.jsx(v3,{contentRef:o})]})})})});Rk.displayName=Qo;var Pk="AlertDialogTitle",Dk=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Ps(r);return c.jsx(vc,{...s,...n,ref:t})});Dk.displayName=Pk;var Ak="AlertDialogDescription",Ok=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Ps(r);return c.jsx(yc,{...s,...n,ref:t})});Ok.displayName=Ak;var g3="AlertDialogAction",Mk=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,s=Ps(r);return c.jsx(hf,{...s,...n,ref:t})});Mk.displayName=g3;var Ik="AlertDialogCancel",Lk=x.forwardRef((e,t)=>{const{__scopeAlertDialog:r,...n}=e,{cancelRef:s}=m3(Ik,r),i=Ps(r),o=Xe(t,s);return c.jsx(hf,{...i,...n,ref:o})});Lk.displayName=Ik;var v3=({contentRef:e})=>{const t=`\`${Qo}\` requires a description for the component to be accessible for screen reader users. You can add a description to the \`${Qo}\` by passing a \`${Ak}\` component as a child, which also benefits sighted users by adding visible context to the dialog. diff --git a/ui/dist/index.html b/ui/dist/index.html index 43e1a8d6..45c4b105 100644 --- a/ui/dist/index.html +++ b/ui/dist/index.html @@ -5,7 +5,7 @@ Certimate - Your Trusted SSL Automation Partner - + diff --git a/ui/src/pages/DashboardLayout.tsx b/ui/src/pages/DashboardLayout.tsx index 88c055aa..4918c511 100644 --- a/ui/src/pages/DashboardLayout.tsx +++ b/ui/src/pages/DashboardLayout.tsx @@ -227,7 +227,7 @@ export default function Dashboard() { href="https://github.com/usual2970/certimate/releases" target="_blank" > - Certimate v0.1.4 + Certimate v0.1.5