New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

vuepress-shared

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuepress-shared - npm Package Compare versions

Comparing version

to
2.0.0-beta.173

@@ -1,2 +0,2 @@

import{h as Y,getCurrentInstance as Tt,camelize as ht,capitalize as zt,computed as ft}from"vue";import{isPlainObject as q,isString as B,isArray as tt,isLinkHttp as lt,isFunction as Ct}from"@vuepress/shared";import{useRouteLocale as It,usePageData as kt}from"@vuepress/client";import{strToU8 as dt,zlibSync as _t,strFromU8 as mt,unzlibSync as Et}from"fflate/browser";const G=({name:t="",color:r="currentColor"},{slots:e})=>{var s;return Y("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${t}-icon`],viewBox:"0 0 1024 1024",fill:r,"aria-label":`${t} icon`},(s=e.default)==null?void 0:s.call(e))};G.displayName="IconBase";const vt=({size:t=48,stroke:r=4,wrapper:e=!0,height:s=2*t})=>{const $=Y("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[Y("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),Y("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":r,"stroke-linecap":"round"},[Y("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),Y("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return e?Y("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${s}px`},$):$};vt.displayName="LoadingIcon";const Ht=(t,{slots:r})=>{var e;return((e=r.default)==null?void 0:e.call(r))||null},pt=()=>Y(G,{name:"github"},()=>Y("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));pt.displayName="GitHubIcon";const $t=()=>Y(G,{name:"gitlab"},()=>Y("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));$t.displayName="GitlabIcon";const gt=()=>Y(G,{name:"gitee"},()=>Y("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));gt.displayName="GiteeIcon";const yt=()=>Y(G,{name:"bitbucket"},()=>Y("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));yt.displayName="BitbucketIcon";const bt=()=>Y(G,{name:"source"},()=>Y("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));bt.displayName="SourceIcon";const Yt=(t,r)=>{const e=r?r._instance:Tt();return q(e==null?void 0:e.appContext.components)&&(t in e.appContext.components||ht(t)in e.appContext.components||zt(ht(t))in e.appContext.components)},Lt=t=>{const r=It();return ft(()=>t[r.value])},Nt=()=>ft(()=>kt().value.title),Ut=t=>/\b(?:Android|iPhone)/i.test(t),jt=t=>/ wv\).+(chrome)\/([\w.]+)/i.test(t),At=t=>/version\/([\w.]+) .*mobile\/\w+ (safari)/i.test(t),Wt=t=>/version\/([\w.]+) .*(mobile ?safari|safari)/i.test(t),Rt=t=>/\((ip(?:hone|od)[\w ]*);/i.test(t),Vt=t=>[/\((ipad);[-\w),; ]+apple/i,/applecoremedia\/[\w.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i].some(r=>r.test(t)),Bt=t=>[/microsoft (windows) (vista|xp)/i,/(win(?=3|9|n)|win 9x )([nt\d.]+)/i,/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[/ ]?([\d.\w ]*)/i,/(windows)[/ ]?([ntce\d. ]+\w)(?!.+xbox)/i].some(r=>r.test(t)),Gt=t=>[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i].some(r=>r.test(t)),Pt=t=>[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i].some(r=>r.test(t)),Zt=(t,r)=>{let e=1;for(let s=0;s<t.length;s++)e+=t.charCodeAt(s),e+=e<<10,e^=e>>6;return e+=e<<3,e^=e>>11,e%r};var K=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},et={},Ft={get exports(){return et},set exports(t){et=t}};(function(t,r){(function(e,s){t.exports=s()})(K,function(){var e=1e3,s=6e4,$=36e5,D="millisecond",y="second",x="minute",v="hour",w="day",E="week",O="month",u="quarter",h="year",p="date",n="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|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,M={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(f){var a=["th","st","nd","rd"],i=f%100;return"["+f+(a[(i-20)%10]||a[i]||a[0])+"]"}},z=function(f,a,i){var l=String(f);return!l||l.length>=a?f:""+Array(a+1-l.length).join(i)+f},N={s:z,z:function(f){var a=-f.utcOffset(),i=Math.abs(a),l=Math.floor(i/60),o=i%60;return(a<=0?"+":"-")+z(l,2,"0")+":"+z(o,2,"0")},m:function f(a,i){if(a.date()<i.date())return-f(i,a);var l=12*(i.year()-a.year())+(i.month()-a.month()),o=a.clone().add(l,O),m=i-o<0,d=a.clone().add(l+(m?-1:1),O);return+(-(l+(i-o)/(m?o-d:d-o))||0)},a:function(f){return f<0?Math.ceil(f)||0:Math.floor(f)},p:function(f){return{M:O,y:h,w:E,d:w,D:p,h:v,m:x,s:y,ms:D,Q:u}[f]||String(f||"").toLowerCase().replace(/s$/,"")},u:function(f){return f===void 0}},C="en",_={};_[C]=M;var H=function(f){return f instanceof A},U=function f(a,i,l){var o;if(!a)return C;if(typeof a=="string"){var m=a.toLowerCase();_[m]&&(o=m),i&&(_[m]=i,o=m);var d=a.split("-");if(!o&&d.length>1)return f(d[0])}else{var S=a.name;_[S]=a,o=S}return!l&&o&&(C=o),o||!l&&C},b=function(f,a){if(H(f))return f.clone();var i=typeof a=="object"?a:{};return i.date=f,i.args=arguments,new A(i)},g=N;g.l=U,g.i=H,g.w=function(f,a){return b(f,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var A=function(){function f(i){this.$L=U(i.locale,null,!0),this.parse(i)}var a=f.prototype;return a.parse=function(i){this.$d=function(l){var o=l.date,m=l.utc;if(o===null)return new Date(NaN);if(g.u(o))return new Date;if(o instanceof Date)return new Date(o);if(typeof o=="string"&&!/Z$/i.test(o)){var d=o.match(c);if(d){var S=d[2]-1||0,k=(d[7]||"0").substring(0,3);return m?new Date(Date.UTC(d[1],S,d[3]||1,d[4]||0,d[5]||0,d[6]||0,k)):new Date(d[1],S,d[3]||1,d[4]||0,d[5]||0,d[6]||0,k)}}return new Date(o)}(i),this.$x=i.x||{},this.init()},a.init=function(){var i=this.$d;this.$y=i.getFullYear(),this.$M=i.getMonth(),this.$D=i.getDate(),this.$W=i.getDay(),this.$H=i.getHours(),this.$m=i.getMinutes(),this.$s=i.getSeconds(),this.$ms=i.getMilliseconds()},a.$utils=function(){return g},a.isValid=function(){return this.$d.toString()!==n},a.isSame=function(i,l){var o=b(i);return this.startOf(l)<=o&&o<=this.endOf(l)},a.isAfter=function(i,l){return b(i)<this.startOf(l)},a.isBefore=function(i,l){return this.endOf(l)<b(i)},a.$g=function(i,l,o){return g.u(i)?this[l]:this.set(o,i)},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this.$d.getTime()},a.startOf=function(i,l){var o=this,m=!!g.u(l)||l,d=g.p(i),S=function(Z,j){var V=g.w(o.$u?Date.UTC(o.$y,j,Z):new Date(o.$y,j,Z),o);return m?V:V.endOf(w)},k=function(Z,j){return g.w(o.toDate()[Z].apply(o.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(j)),o)},I=this.$W,L=this.$M,R=this.$D,W="set"+(this.$u?"UTC":"");switch(d){case h:return m?S(1,0):S(31,11);case O:return m?S(1,L):S(0,L+1);case E:var F=this.$locale().weekStart||0,J=(I<F?I+7:I)-F;return S(m?R-J:R+(6-J),L);case w:case p:return k(W+"Hours",0);case v:return k(W+"Minutes",1);case x:return k(W+"Seconds",2);case y:return k(W+"Milliseconds",3);default:return this.clone()}},a.endOf=function(i){return this.startOf(i,!1)},a.$set=function(i,l){var o,m=g.p(i),d="set"+(this.$u?"UTC":""),S=(o={},o[w]=d+"Date",o[p]=d+"Date",o[O]=d+"Month",o[h]=d+"FullYear",o[v]=d+"Hours",o[x]=d+"Minutes",o[y]=d+"Seconds",o[D]=d+"Milliseconds",o)[m],k=m===w?this.$D+(l-this.$W):l;if(m===O||m===h){var I=this.clone().set(p,1);I.$d[S](k),I.init(),this.$d=I.set(p,Math.min(this.$D,I.daysInMonth())).$d}else S&&this.$d[S](k);return this.init(),this},a.set=function(i,l){return this.clone().$set(i,l)},a.get=function(i){return this[g.p(i)]()},a.add=function(i,l){var o,m=this;i=Number(i);var d=g.p(l),S=function(L){var R=b(m);return g.w(R.date(R.date()+Math.round(L*i)),m)};if(d===O)return this.set(O,this.$M+i);if(d===h)return this.set(h,this.$y+i);if(d===w)return S(1);if(d===E)return S(7);var k=(o={},o[x]=s,o[v]=$,o[y]=e,o)[d]||1,I=this.$d.getTime()+i*k;return g.w(I,this)},a.subtract=function(i,l){return this.add(-1*i,l)},a.format=function(i){var l=this,o=this.$locale();if(!this.isValid())return o.invalidDate||n;var m=i||"YYYY-MM-DDTHH:mm:ssZ",d=g.z(this),S=this.$H,k=this.$m,I=this.$M,L=o.weekdays,R=o.months,W=function(j,V,X,Q){return j&&(j[V]||j(l,m))||X[V].slice(0,Q)},F=function(j){return g.s(S%12||12,j,"0")},J=o.meridiem||function(j,V,X){var Q=j<12?"AM":"PM";return X?Q.toLowerCase():Q},Z={YY:String(this.$y).slice(-2),YYYY:this.$y,M:I+1,MM:g.s(I+1,2,"0"),MMM:W(o.monthsShort,I,R,3),MMMM:W(R,I),D:this.$D,DD:g.s(this.$D,2,"0"),d:String(this.$W),dd:W(o.weekdaysMin,this.$W,L,2),ddd:W(o.weekdaysShort,this.$W,L,3),dddd:L[this.$W],H:String(S),HH:g.s(S,2,"0"),h:F(1),hh:F(2),a:J(S,k,!0),A:J(S,k,!1),m:String(k),mm:g.s(k,2,"0"),s:String(this.$s),ss:g.s(this.$s,2,"0"),SSS:g.s(this.$ms,3,"0"),Z:d};return m.replace(T,function(j,V){return V||Z[j]||d.replace(":","")})},a.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},a.diff=function(i,l,o){var m,d=g.p(l),S=b(i),k=(S.utcOffset()-this.utcOffset())*s,I=this-S,L=g.m(this,S);return L=(m={},m[h]=L/12,m[O]=L,m[u]=L/3,m[E]=(I-k)/6048e5,m[w]=(I-k)/864e5,m[v]=I/$,m[x]=I/s,m[y]=I/e,m)[d]||I,o?L:g.a(L)},a.daysInMonth=function(){return this.endOf(O).$D},a.$locale=function(){return _[this.$L]},a.locale=function(i,l){if(!i)return this.$L;var o=this.clone(),m=U(i,l,!0);return m&&(o.$L=m),o},a.clone=function(){return g.w(this.$d,this)},a.toDate=function(){return new Date(this.valueOf())},a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toISOString=function(){return this.$d.toISOString()},a.toString=function(){return this.$d.toUTCString()},f}(),ct=A.prototype;return b.prototype=ct,[["$ms",D],["$s",y],["$m",x],["$H",v],["$W",w],["$M",O],["$y",h],["$D",p]].forEach(function(f){ct[f[1]]=function(a){return this.$g(a,f[0],f[1])}}),b.extend=function(f,a){return f.$i||(f(a,A,b),f.$i=!0),b},b.locale=U,b.isDayjs=H,b.unix=function(f){return b(1e3*f)},b.en=_[C],b.Ls=_,b.p={},b})})(Ft);var P=et,nt={},Jt={get exports(){return nt},set exports(t){nt=t}};(function(t,r){(function(e,s){t.exports=s()})(K,function(){return function(e,s,$){var D=s.prototype,y=function(u){var h,p=u.date,n=u.utc,c={};if(!((h=p)instanceof Date||h instanceof Array||D.$utils().u(h)||h.constructor.name!=="Object")){if(!Object.keys(p).length)return new Date;var T=n?$.utc():$();Object.keys(p).forEach(function(b){var g,A;c[g=b,A=D.$utils().p(g),A==="date"?"day":A]=p[b]});var M=c.day||(c.year||c.month>=0?1:T.date()),z=c.year||T.year(),N=c.month>=0?c.month:c.year||c.day?0:T.month(),C=c.hour||0,_=c.minute||0,H=c.second||0,U=c.millisecond||0;return n?new Date(Date.UTC(z,N,M,C,_,H,U)):new Date(z,N,M,C,_,H,U)}return p},x=D.parse;D.parse=function(u){u.date=y.bind(this)(u),x.bind(this)(u)};var v=D.set,w=D.add,E=D.subtract,O=function(u,h,p,n){n===void 0&&(n=1);var c=Object.keys(h),T=this;return c.forEach(function(M){T=u.bind(T)(h[M]*n,M)}),T};D.set=function(u,h){return h=h===void 0?u:h,u.constructor.name==="Object"?O.bind(this)(function(p,n){return v.bind(this)(n,p)},h,u):v.bind(this)(u,h)},D.add=function(u,h){return u.constructor.name==="Object"?O.bind(this)(w,u,h):w.bind(this)(u,h)},D.subtract=function(u,h){return u.constructor.name==="Object"?O.bind(this)(w,u,h,-1):E.bind(this)(u,h)}}})})(Jt);var qt=nt,it={},Qt={get exports(){return it},set exports(t){it=t}};(function(t,r){(function(e,s){t.exports=s()})(K,function(){var e={year:0,month:1,day:2,hour:3,minute:4,second:5},s={};return function($,D,y){var x,v=function(u,h,p){p===void 0&&(p={});var n=new Date(u),c=function(T,M){M===void 0&&(M={});var z=M.timeZoneName||"short",N=T+"|"+z,C=s[N];return C||(C=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:T,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:z}),s[N]=C),C}(h,p);return c.formatToParts(n)},w=function(u,h){for(var p=v(u,h),n=[],c=0;c<p.length;c+=1){var T=p[c],M=T.type,z=T.value,N=e[M];N>=0&&(n[N]=parseInt(z,10))}var C=n[3],_=C===24?0:C,H=n[0]+"-"+n[1]+"-"+n[2]+" "+_+":"+n[4]+":"+n[5]+":000",U=+u;return(y.utc(H).valueOf()-(U-=U%1e3))/6e4},E=D.prototype;E.tz=function(u,h){u===void 0&&(u=x);var p=this.utcOffset(),n=this.toDate(),c=n.toLocaleString("en-US",{timeZone:u}),T=Math.round((n-new Date(c))/1e3/60),M=y(c).$set("millisecond",this.$ms).utcOffset(15*-Math.round(n.getTimezoneOffset()/15)-T,!0);if(h){var z=M.utcOffset();M=M.add(p-z,"minute")}return M.$x.$timezone=u,M},E.offsetName=function(u){var h=this.$x.$timezone||y.tz.guess(),p=v(this.valueOf(),h,{timeZoneName:u}).find(function(n){return n.type.toLowerCase()==="timezonename"});return p&&p.value};var O=E.startOf;E.startOf=function(u,h){if(!this.$x||!this.$x.$timezone)return O.call(this,u,h);var p=y(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return O.call(p,u,h).tz(this.$x.$timezone,!0)},y.tz=function(u,h,p){var n=p&&h,c=p||h||x,T=w(+y(),c);if(typeof u!="string")return y(u).tz(c);var M=function(_,H,U){var b=_-60*H*1e3,g=w(b,U);if(H===g)return[b,H];var A=w(b-=60*(g-H)*1e3,U);return g===A?[b,g]:[_-60*Math.min(g,A)*1e3,Math.max(g,A)]}(y.utc(u,n).valueOf(),T,c),z=M[0],N=M[1],C=y(z).utcOffset(N);return C.$x.$timezone=c,C},y.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},y.tz.setDefault=function(u){x=u}}})})(Qt);var Kt=it,rt={},Xt={get exports(){return rt},set exports(t){rt=t}};(function(t,r){(function(e,s){t.exports=s()})(K,function(){var e="minute",s=/[+-]\d\d(?::?\d\d)?/g,$=/([+-]|\d\d)/g;return function(D,y,x){var v=y.prototype;x.utc=function(n){var c={date:n,utc:!0,args:arguments};return new y(c)},v.utc=function(n){var c=x(this.toDate(),{locale:this.$L,utc:!0});return n?c.add(this.utcOffset(),e):c},v.local=function(){return x(this.toDate(),{locale:this.$L,utc:!1})};var w=v.parse;v.parse=function(n){n.utc&&(this.$u=!0),this.$utils().u(n.$offset)||(this.$offset=n.$offset),w.call(this,n)};var E=v.init;v.init=function(){if(this.$u){var n=this.$d;this.$y=n.getUTCFullYear(),this.$M=n.getUTCMonth(),this.$D=n.getUTCDate(),this.$W=n.getUTCDay(),this.$H=n.getUTCHours(),this.$m=n.getUTCMinutes(),this.$s=n.getUTCSeconds(),this.$ms=n.getUTCMilliseconds()}else E.call(this)};var O=v.utcOffset;v.utcOffset=function(n,c){var T=this.$utils().u;if(T(n))return this.$u?0:T(this.$offset)?O.call(this):this.$offset;if(typeof n=="string"&&(n=function(C){C===void 0&&(C="");var _=C.match(s);if(!_)return null;var H=(""+_[0]).match($)||["-",0,0],U=H[0],b=60*+H[1]+ +H[2];return b===0?0:U==="+"?b:-b}(n),n===null))return this;var M=Math.abs(n)<=16?60*n:n,z=this;if(c)return z.$offset=M,z.$u=n===0,z;if(n!==0){var N=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(z=this.local().add(M+N,e)).$offset=M,z.$x.$localOffset=N}else z=this.utc();return z};var u=v.format;v.format=function(n){var c=n||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,c)},v.valueOf=function(){var n=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*n},v.isUTC=function(){return!!this.$u},v.toISOString=function(){return this.toDate().toISOString()},v.toString=function(){return this.toDate().toUTCString()};var h=v.toDate;v.toDate=function(n){return n==="s"&&this.$offset?x(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var p=v.diff;v.diff=function(n,c,T){if(n&&this.$u===n.$u)return p.call(this,n,c,T);var M=this.local(),z=x(n).local();return p.call(M,z,c,T)}}})})(Xt);var te=rt;P.extend(qt),P.extend(te),P.extend(Kt);const st=(t,r)=>{if(t){if(P(t instanceof Date?t:t.trim()).isValid()){const s=r?P(t).tz(r):P(t),$=s.year(),D=s.month()+1,y=s.date(),x=s.hour(),v=s.minute(),w=s.second(),E=s.millisecond(),O=x===0&&v===0&&w===0&&E===0;return{value:s.toDate(),info:{year:$,month:D,day:y,...O?{}:{hour:x,minute:v,second:w}},type:O?"date":"full"}}const e=/(?:(\d{2,4})[/-](\d{1,2})[/-](\d{1,2}))?\s*(?:(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?)?/u.exec(t.trim());if(e){const[,s,$,D,y,x,v]=e,w=c=>typeof c>"u"?void 0:Number(c),E=c=>c&&c<100?c+2e3:c,O=c=>y&&x&&!v?0:c,u={year:E(w(s)),month:w($),day:w(D),hour:w(y),minute:w(x),second:O(w(v))},h=s===void 0&&$===void 0&&D===void 0,p=y===void 0&&x===void 0&&v===void 0,n=P({...u,month:u.month-1}).toDate();return{value:h?void 0:n,info:p?{year:u.year,month:u.month,day:u.day}:h?{hour:u.hour,minute:u.minute,second:u.second}:u,type:h?"time":p?"date":"full"}}}return null},ee=(t,r)=>{const e=st(typeof t=="number"?new Date(t):t),s=st(typeof r=="number"?new Date(r):r);return!e||!e.value?1:!s||!s.value?-1:s.value.getTime()-e.value.getTime()},wt=(t,r)=>B(t)&&t.startsWith(r),ne=(t,r)=>B(t)&&t.endsWith(r),Mt=Object.entries,ie=Object.fromEntries,St=Object.keys,re=Object.values,ot=(t,...r)=>{if(r.length===0)return t;const e=r.shift()||null;return e&&Mt(e).forEach(([s,$])=>{s==="__proto__"||s==="constructor"||(q(t[s])&&q($)?ot(t[s],$):tt($)?t[s]=[...$]:q($)?t[s]={...$}:t[s]=e[s])}),ot(t,...r)},se=(t,r=!1)=>t?tt(t)?t.map(e=>B(e)?{name:e}:e):B(t)?[{name:t}]:q(t)&&t.name?[t]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${r?"":"| false"} | undefined\`, but got`,t),[]):[],at=(t,r)=>{if(t){if(tt(t))return t;if(B(t))return[t];console.error(`Expect ${r||"value"} to be \`string[] | string | undefined\`, but got`,t)}return[]},oe=t=>at(t,"category"),ae=t=>at(t,"tag"),ue=t=>{if(!B(t)||t==="")return!1;const r=/^(?:\w+:)?\/\/(\S+)$/u.exec(t);if(!r)return!1;const e=r[1];return e?/^localhost[:?\d]*(?:[^:?\d]\S*)?$/u.test(e)||/^[^\s.]+\.\S{2,}$/u.test(e):!1},ce=t=>wt(t,"/");class he{constructor(){this.messageElements={};const r="message-container",e=document.getElementById(r);e?this.containerElement=e:(this.containerElement=document.createElement("div"),this.containerElement.id=r,document.body.appendChild(this.containerElement))}pop(r,e=2e3){const s=document.createElement("div"),$=Date.now();return s.className="message move-in",s.innerHTML=r,this.containerElement.appendChild(s),this.messageElements[$]=s,e>0&&setTimeout(()=>{this.close($)},e),$}close(r){if(r){const e=this.messageElements[r];e.className=e.className.replace("move-in",""),e.className+="move-out",e.addEventListener("animationend",()=>{e.remove(),delete this.messageElements[r]})}else St(this.messageElements).forEach(e=>this.close(Number(e)))}destroy(){document.body.removeChild(this.containerElement)}}const Dt=/#.*$/u,xt=t=>{const r=Dt.exec(t);return r?r[0]:""},ut=t=>decodeURI(t).replace(Dt,"").replace(/(index)?\.(md|html)$/,""),fe=(t,r)=>{if(r===void 0)return!1;const e=ut(t.path),s=ut(r),$=xt(r);return $?$===t.hash&&(!s||e===s):e===s},le=(t,r=6)=>{const e=dt(t),s=_t(e,{level:r}),$=mt(s,!0);return __VUEPRESS_SSR__?Buffer.from($,"binary").toString("base64"):btoa($)},de=t=>{const r=__VUEPRESS_SSR__?Buffer.from(t,"base64").toString("binary"):atob(t);return mt(Et(dt(r,!0)))},me=t=>lt(t)?t:`https://github.com/${t}`,ve=t=>!lt(t)||/github\.com/.test(t)?"GitHub":/bitbucket\.org/.test(t)?"Bitbucket":/gitlab\.com/.test(t)?"GitLab":/gitee\.com/.test(t)?"Gitee":null,Ot=(t,...r)=>{const e=t.resolve(...r),s=e.matched[e.matched.length-1];if(!(s!=null&&s.redirect))return e;const{redirect:$}=s,D=Ct($)?$(e):$,y=B(D)?{path:D}:D;return Ot(t,{hash:e.hash,query:e.query,params:e.params,...y})};export{yt as BitbucketIcon,pt as GitHubIcon,gt as GiteeIcon,$t as GitlabIcon,G as IconBase,vt as LoadingIcon,he as Message,Ht as RenderDefault,bt as SourceIcon,de as atou,jt as checkIsChromeWebView,Gt as checkIsIOS,Pt as checkIsMacOS,Ut as checkIsMobile,Wt as checkIsSafari,At as checkIsSafariMobile,Bt as checkIsWindows,Vt as checkIsiPad,Rt as checkIsiPhone,ee as compareDate,ot as deepAssign,ne as endsWith,Mt as entries,ie as fromEntries,Zt as generateIndexFromHash,se as getAuthor,oe as getCategory,st as getDate,xt as getHash,at as getStringArray,ae as getTag,Yt as hasGlobalComponent,ce as isAbsoluteUrl,fe as isActiveLink,ue as isUrl,St as keys,ut as normalizePath,me as resolveRepoLink,ve as resolveRepoType,Ot as resolveRouteWithRedirect,wt as startsWith,Lt as useLocaleConfig,Nt as usePageTitle,le as utoa,re as values};
import{h as Y,getCurrentInstance as Ct,camelize as ht,capitalize as It,ref as kt,computed as ft,watch as lt}from"vue";import{isPlainObject as q,resolveLocalePath as dt,isString as V,isArray as tt,isLinkHttp as mt,isFunction as _t}from"@vuepress/shared";import{useSiteData as Et,usePageData as Ht}from"@vuepress/client";import{useRoute as Yt}from"vue-router";import{strToU8 as vt,zlibSync as Lt,strFromU8 as pt,unzlibSync as Nt}from"fflate/browser";const B=({name:t="",color:n="currentColor"},{slots:e})=>{var i;return Y("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${t}-icon`],viewBox:"0 0 1024 1024",fill:n,"aria-label":`${t} icon`},(i=e.default)==null?void 0:i.call(e))};B.displayName="IconBase";const $t=({size:t=48,stroke:n=4,wrapper:e=!0,height:i=2*t})=>{const v=Y("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[Y("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),Y("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round"},[Y("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),Y("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return e?Y("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${i}px`},v):v};$t.displayName="LoadingIcon";const Ut=(t,{slots:n})=>{var e;return((e=n.default)==null?void 0:e.call(n))||null},gt=()=>Y(B,{name:"github"},()=>Y("path",{d:"M511.957 21.333C241.024 21.333 21.333 240.981 21.333 512c0 216.832 140.544 400.725 335.574 465.664 24.49 4.395 32.256-10.07 32.256-23.083 0-11.69.256-44.245 0-85.205-136.448 29.61-164.736-64.64-164.736-64.64-22.315-56.704-54.4-71.765-54.4-71.765-44.587-30.464 3.285-29.824 3.285-29.824 49.195 3.413 75.179 50.517 75.179 50.517 43.776 75.008 114.816 53.333 142.762 40.79 4.523-31.66 17.152-53.377 31.19-65.537-108.971-12.458-223.488-54.485-223.488-242.602 0-53.547 19.114-97.323 50.517-131.67-5.035-12.33-21.93-62.293 4.779-129.834 0 0 41.258-13.184 134.912 50.346a469.803 469.803 0 0 1 122.88-16.554c41.642.213 83.626 5.632 122.88 16.554 93.653-63.488 134.784-50.346 134.784-50.346 26.752 67.541 9.898 117.504 4.864 129.834 31.402 34.347 50.474 78.123 50.474 131.67 0 188.586-114.73 230.016-224.042 242.09 17.578 15.232 33.578 44.672 33.578 90.454v135.85c0 13.142 7.936 27.606 32.854 22.87C862.25 912.597 1002.667 728.747 1002.667 512c0-271.019-219.648-490.667-490.71-490.667z"}));gt.displayName="GitHubIcon";const yt=()=>Y(B,{name:"gitlab"},()=>Y("path",{d:"M229.333 78.688C223.52 62 199.895 62 193.895 78.688L87.958 406.438h247.5c-.188 0-106.125-327.75-106.125-327.75zM33.77 571.438c-4.875 15 .563 31.687 13.313 41.25l464.812 345L87.77 406.438zm301.5-165 176.813 551.25 176.812-551.25zm655.125 165-54-165-424.312 551.25 464.812-345c12.938-9.563 18.188-26.25 13.5-41.25zM830.27 78.688c-5.812-16.688-29.437-16.688-35.437 0l-106.125 327.75h247.5z"}));yt.displayName="GitlabIcon";const bt=()=>Y(B,{name:"gitee"},()=>Y("path",{d:"M512 992C246.92 992 32 777.08 32 512S246.92 32 512 32s480 214.92 480 480-214.92 480-480 480zm242.97-533.34H482.39a23.7 23.7 0 0 0-23.7 23.7l-.03 59.28c0 13.08 10.59 23.7 23.7 23.7h165.96a23.7 23.7 0 0 1 23.7 23.7v11.85a71.1 71.1 0 0 1-71.1 71.1H375.71a23.7 23.7 0 0 1-23.7-23.7V423.11a71.1 71.1 0 0 1 71.1-71.1h331.8a23.7 23.7 0 0 0 23.7-23.7l.06-59.25a23.73 23.73 0 0 0-23.7-23.73H423.11a177.78 177.78 0 0 0-177.78 177.75v331.83c0 13.08 10.62 23.7 23.7 23.7h349.62a159.99 159.99 0 0 0 159.99-159.99V482.33a23.7 23.7 0 0 0-23.7-23.7z"}));bt.displayName="GiteeIcon";const wt=()=>Y(B,{name:"bitbucket"},()=>Y("path",{d:"M575.256 490.862c6.29 47.981-52.005 85.723-92.563 61.147-45.714-20.004-45.714-92.562-1.133-113.152 38.29-23.442 93.696 7.424 93.696 52.005zm63.451-11.996c-10.276-81.152-102.29-134.839-177.152-101.156-47.433 21.138-79.433 71.424-77.129 124.562 2.853 69.705 69.157 126.866 138.862 120.576S647.3 548.571 638.708 478.83zm136.558-309.723c-25.161-33.134-67.986-38.839-105.728-45.13-106.862-17.151-216.576-17.7-323.438 1.134-35.438 5.706-75.447 11.996-97.719 43.996 36.572 34.304 88.576 39.424 135.424 45.129 84.553 10.862 171.447 11.447 256 .585 47.433-5.705 99.987-10.276 135.424-45.714zm32.585 591.433c-16.018 55.99-6.839 131.438-66.304 163.986-102.29 56.576-226.304 62.867-338.87 42.862-59.43-10.862-129.135-29.696-161.72-85.723-14.3-54.858-23.442-110.848-32.585-166.84l3.438-9.142 10.276-5.157c170.277 112.567 408.576 112.567 579.438 0 26.844 8.01 6.84 40.558 6.29 60.014zm103.424-549.157c-19.42 125.148-41.728 249.71-63.415 374.272-6.29 36.572-41.728 57.162-71.424 72.558-106.862 53.724-231.424 62.866-348.562 50.286-79.433-8.558-160.585-29.696-225.134-79.433-30.28-23.443-30.28-63.415-35.986-97.134-20.005-117.138-42.862-234.277-57.161-352.585 6.839-51.42 64.585-73.728 107.447-89.71 57.16-21.138 118.272-30.866 178.87-36.571 129.134-12.58 261.157-8.01 386.304 28.562 44.581 13.13 92.563 31.415 122.844 69.705 13.714 17.7 9.143 40.01 6.29 60.014z"}));wt.displayName="BitbucketIcon";const Mt=()=>Y(B,{name:"source"},()=>Y("path",{d:"M601.92 475.2c0 76.428-8.91 83.754-28.512 99.594-14.652 11.88-43.956 14.058-78.012 16.434-18.81 1.386-40.392 2.97-62.172 6.534-18.612 2.97-36.432 9.306-53.064 17.424V299.772c37.818-21.978 63.36-62.766 63.36-109.692 0-69.894-56.826-126.72-126.72-126.72S190.08 120.186 190.08 190.08c0 46.926 25.542 87.714 63.36 109.692v414.216c-37.818 21.978-63.36 62.766-63.36 109.692 0 69.894 56.826 126.72 126.72 126.72s126.72-56.826 126.72-126.72c0-31.086-11.286-59.598-29.7-81.576 13.266-9.504 27.522-17.226 39.996-19.206 16.038-2.574 32.868-3.762 50.688-5.148 48.312-3.366 103.158-7.326 148.896-44.55 61.182-49.698 74.25-103.158 75.24-187.902V475.2h-126.72zM316.8 126.72c34.848 0 63.36 28.512 63.36 63.36s-28.512 63.36-63.36 63.36-63.36-28.512-63.36-63.36 28.512-63.36 63.36-63.36zm0 760.32c-34.848 0-63.36-28.512-63.36-63.36s28.512-63.36 63.36-63.36 63.36 28.512 63.36 63.36-28.512 63.36-63.36 63.36zM823.68 158.4h-95.04V63.36h-126.72v95.04h-95.04v126.72h95.04v95.04h126.72v-95.04h95.04z"}));Mt.displayName="SourceIcon";const jt=(t,n)=>{const e=n?n._instance:Ct();return q(e==null?void 0:e.appContext.components)&&(t in e.appContext.components||ht(t)in e.appContext.components||It(ht(t))in e.appContext.components)},At=t=>{const n=Yt(),e=kt("/"),i=Et(),v=ft(()=>t[e.value]);return lt(()=>i.value,()=>{e.value=dt(i.value.locales,n.path)}),lt(()=>n.path,()=>{e.value=dt(i.value.locales,n.path)},{immediate:!0}),v},Wt=()=>ft(()=>Ht().value.title),Pt=t=>/\b(?:Android|iPhone)/i.test(t),Rt=t=>/ wv\).+(chrome)\/([\w.]+)/i.test(t),Vt=t=>/version\/([\w.]+) .*mobile\/\w+ (safari)/i.test(t),Bt=t=>/version\/([\w.]+) .*(mobile ?safari|safari)/i.test(t),Gt=t=>/\((ip(?:hone|od)[\w ]*);/i.test(t),Zt=t=>[/\((ipad);[-\w),; ]+apple/i,/applecoremedia\/[\w.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i].some(n=>n.test(t)),Ft=t=>[/microsoft (windows) (vista|xp)/i,/(win(?=3|9|n)|win 9x )([nt\d.]+)/i,/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[/ ]?([\d.\w ]*)/i,/(windows)[/ ]?([ntce\d. ]+\w)(?!.+xbox)/i].some(n=>n.test(t)),Jt=t=>[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i].some(n=>n.test(t)),qt=t=>[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i].some(n=>n.test(t)),Qt=(t,n)=>{let e=1;for(let i=0;i<t.length;i++)e+=t.charCodeAt(i),e+=e<<10,e^=e>>6;return e+=e<<3,e^=e>>11,e%n};var K=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},et={},Kt={get exports(){return et},set exports(t){et=t}};(function(t,n){(function(e,i){t.exports=i()})(K,function(){var e=1e3,i=6e4,v=36e5,D="millisecond",y="second",x="minute",p="hour",w="day",E="week",O="month",u="quarter",h="year",$="date",r="Invalid Date",c=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|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,M={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(f){var a=["th","st","nd","rd"],s=f%100;return"["+f+(a[(s-20)%10]||a[s]||a[0])+"]"}},z=function(f,a,s){var l=String(f);return!l||l.length>=a?f:""+Array(a+1-l.length).join(s)+f},N={s:z,z:function(f){var a=-f.utcOffset(),s=Math.abs(a),l=Math.floor(s/60),o=s%60;return(a<=0?"+":"-")+z(l,2,"0")+":"+z(o,2,"0")},m:function f(a,s){if(a.date()<s.date())return-f(s,a);var l=12*(s.year()-a.year())+(s.month()-a.month()),o=a.clone().add(l,O),m=s-o<0,d=a.clone().add(l+(m?-1:1),O);return+(-(l+(s-o)/(m?o-d:d-o))||0)},a:function(f){return f<0?Math.ceil(f)||0:Math.floor(f)},p:function(f){return{M:O,y:h,w:E,d:w,D:$,h:p,m:x,s:y,ms:D,Q:u}[f]||String(f||"").toLowerCase().replace(/s$/,"")},u:function(f){return f===void 0}},C="en",_={};_[C]=M;var H=function(f){return f instanceof A},U=function f(a,s,l){var o;if(!a)return C;if(typeof a=="string"){var m=a.toLowerCase();_[m]&&(o=m),s&&(_[m]=s,o=m);var d=a.split("-");if(!o&&d.length>1)return f(d[0])}else{var S=a.name;_[S]=a,o=S}return!l&&o&&(C=o),o||!l&&C},b=function(f,a){if(H(f))return f.clone();var s=typeof a=="object"?a:{};return s.date=f,s.args=arguments,new A(s)},g=N;g.l=U,g.i=H,g.w=function(f,a){return b(f,{locale:a.$L,utc:a.$u,x:a.$x,$offset:a.$offset})};var A=function(){function f(s){this.$L=U(s.locale,null,!0),this.parse(s)}var a=f.prototype;return a.parse=function(s){this.$d=function(l){var o=l.date,m=l.utc;if(o===null)return new Date(NaN);if(g.u(o))return new Date;if(o instanceof Date)return new Date(o);if(typeof o=="string"&&!/Z$/i.test(o)){var d=o.match(c);if(d){var S=d[2]-1||0,k=(d[7]||"0").substring(0,3);return m?new Date(Date.UTC(d[1],S,d[3]||1,d[4]||0,d[5]||0,d[6]||0,k)):new Date(d[1],S,d[3]||1,d[4]||0,d[5]||0,d[6]||0,k)}}return new Date(o)}(s),this.$x=s.x||{},this.init()},a.init=function(){var s=this.$d;this.$y=s.getFullYear(),this.$M=s.getMonth(),this.$D=s.getDate(),this.$W=s.getDay(),this.$H=s.getHours(),this.$m=s.getMinutes(),this.$s=s.getSeconds(),this.$ms=s.getMilliseconds()},a.$utils=function(){return g},a.isValid=function(){return this.$d.toString()!==r},a.isSame=function(s,l){var o=b(s);return this.startOf(l)<=o&&o<=this.endOf(l)},a.isAfter=function(s,l){return b(s)<this.startOf(l)},a.isBefore=function(s,l){return this.endOf(l)<b(s)},a.$g=function(s,l,o){return g.u(s)?this[l]:this.set(o,s)},a.unix=function(){return Math.floor(this.valueOf()/1e3)},a.valueOf=function(){return this.$d.getTime()},a.startOf=function(s,l){var o=this,m=!!g.u(l)||l,d=g.p(s),S=function(Z,j){var R=g.w(o.$u?Date.UTC(o.$y,j,Z):new Date(o.$y,j,Z),o);return m?R:R.endOf(w)},k=function(Z,j){return g.w(o.toDate()[Z].apply(o.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(j)),o)},I=this.$W,L=this.$M,P=this.$D,W="set"+(this.$u?"UTC":"");switch(d){case h:return m?S(1,0):S(31,11);case O:return m?S(1,L):S(0,L+1);case E:var F=this.$locale().weekStart||0,J=(I<F?I+7:I)-F;return S(m?P-J:P+(6-J),L);case w:case $:return k(W+"Hours",0);case p:return k(W+"Minutes",1);case x:return k(W+"Seconds",2);case y:return k(W+"Milliseconds",3);default:return this.clone()}},a.endOf=function(s){return this.startOf(s,!1)},a.$set=function(s,l){var o,m=g.p(s),d="set"+(this.$u?"UTC":""),S=(o={},o[w]=d+"Date",o[$]=d+"Date",o[O]=d+"Month",o[h]=d+"FullYear",o[p]=d+"Hours",o[x]=d+"Minutes",o[y]=d+"Seconds",o[D]=d+"Milliseconds",o)[m],k=m===w?this.$D+(l-this.$W):l;if(m===O||m===h){var I=this.clone().set($,1);I.$d[S](k),I.init(),this.$d=I.set($,Math.min(this.$D,I.daysInMonth())).$d}else S&&this.$d[S](k);return this.init(),this},a.set=function(s,l){return this.clone().$set(s,l)},a.get=function(s){return this[g.p(s)]()},a.add=function(s,l){var o,m=this;s=Number(s);var d=g.p(l),S=function(L){var P=b(m);return g.w(P.date(P.date()+Math.round(L*s)),m)};if(d===O)return this.set(O,this.$M+s);if(d===h)return this.set(h,this.$y+s);if(d===w)return S(1);if(d===E)return S(7);var k=(o={},o[x]=i,o[p]=v,o[y]=e,o)[d]||1,I=this.$d.getTime()+s*k;return g.w(I,this)},a.subtract=function(s,l){return this.add(-1*s,l)},a.format=function(s){var l=this,o=this.$locale();if(!this.isValid())return o.invalidDate||r;var m=s||"YYYY-MM-DDTHH:mm:ssZ",d=g.z(this),S=this.$H,k=this.$m,I=this.$M,L=o.weekdays,P=o.months,W=function(j,R,X,Q){return j&&(j[R]||j(l,m))||X[R].slice(0,Q)},F=function(j){return g.s(S%12||12,j,"0")},J=o.meridiem||function(j,R,X){var Q=j<12?"AM":"PM";return X?Q.toLowerCase():Q},Z={YY:String(this.$y).slice(-2),YYYY:this.$y,M:I+1,MM:g.s(I+1,2,"0"),MMM:W(o.monthsShort,I,P,3),MMMM:W(P,I),D:this.$D,DD:g.s(this.$D,2,"0"),d:String(this.$W),dd:W(o.weekdaysMin,this.$W,L,2),ddd:W(o.weekdaysShort,this.$W,L,3),dddd:L[this.$W],H:String(S),HH:g.s(S,2,"0"),h:F(1),hh:F(2),a:J(S,k,!0),A:J(S,k,!1),m:String(k),mm:g.s(k,2,"0"),s:String(this.$s),ss:g.s(this.$s,2,"0"),SSS:g.s(this.$ms,3,"0"),Z:d};return m.replace(T,function(j,R){return R||Z[j]||d.replace(":","")})},a.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},a.diff=function(s,l,o){var m,d=g.p(l),S=b(s),k=(S.utcOffset()-this.utcOffset())*i,I=this-S,L=g.m(this,S);return L=(m={},m[h]=L/12,m[O]=L,m[u]=L/3,m[E]=(I-k)/6048e5,m[w]=(I-k)/864e5,m[p]=I/v,m[x]=I/i,m[y]=I/e,m)[d]||I,o?L:g.a(L)},a.daysInMonth=function(){return this.endOf(O).$D},a.$locale=function(){return _[this.$L]},a.locale=function(s,l){if(!s)return this.$L;var o=this.clone(),m=U(s,l,!0);return m&&(o.$L=m),o},a.clone=function(){return g.w(this.$d,this)},a.toDate=function(){return new Date(this.valueOf())},a.toJSON=function(){return this.isValid()?this.toISOString():null},a.toISOString=function(){return this.$d.toISOString()},a.toString=function(){return this.$d.toUTCString()},f}(),ct=A.prototype;return b.prototype=ct,[["$ms",D],["$s",y],["$m",x],["$H",p],["$W",w],["$M",O],["$y",h],["$D",$]].forEach(function(f){ct[f[1]]=function(a){return this.$g(a,f[0],f[1])}}),b.extend=function(f,a){return f.$i||(f(a,A,b),f.$i=!0),b},b.locale=U,b.isDayjs=H,b.unix=function(f){return b(1e3*f)},b.en=_[C],b.Ls=_,b.p={},b})})(Kt);var G=et,nt={},Xt={get exports(){return nt},set exports(t){nt=t}};(function(t,n){(function(e,i){t.exports=i()})(K,function(){return function(e,i,v){var D=i.prototype,y=function(u){var h,$=u.date,r=u.utc,c={};if(!((h=$)instanceof Date||h instanceof Array||D.$utils().u(h)||h.constructor.name!=="Object")){if(!Object.keys($).length)return new Date;var T=r?v.utc():v();Object.keys($).forEach(function(b){var g,A;c[g=b,A=D.$utils().p(g),A==="date"?"day":A]=$[b]});var M=c.day||(c.year||c.month>=0?1:T.date()),z=c.year||T.year(),N=c.month>=0?c.month:c.year||c.day?0:T.month(),C=c.hour||0,_=c.minute||0,H=c.second||0,U=c.millisecond||0;return r?new Date(Date.UTC(z,N,M,C,_,H,U)):new Date(z,N,M,C,_,H,U)}return $},x=D.parse;D.parse=function(u){u.date=y.bind(this)(u),x.bind(this)(u)};var p=D.set,w=D.add,E=D.subtract,O=function(u,h,$,r){r===void 0&&(r=1);var c=Object.keys(h),T=this;return c.forEach(function(M){T=u.bind(T)(h[M]*r,M)}),T};D.set=function(u,h){return h=h===void 0?u:h,u.constructor.name==="Object"?O.bind(this)(function($,r){return p.bind(this)(r,$)},h,u):p.bind(this)(u,h)},D.add=function(u,h){return u.constructor.name==="Object"?O.bind(this)(w,u,h):w.bind(this)(u,h)},D.subtract=function(u,h){return u.constructor.name==="Object"?O.bind(this)(w,u,h,-1):E.bind(this)(u,h)}}})})(Xt);var te=nt,it={},ee={get exports(){return it},set exports(t){it=t}};(function(t,n){(function(e,i){t.exports=i()})(K,function(){var e={year:0,month:1,day:2,hour:3,minute:4,second:5},i={};return function(v,D,y){var x,p=function(u,h,$){$===void 0&&($={});var r=new Date(u),c=function(T,M){M===void 0&&(M={});var z=M.timeZoneName||"short",N=T+"|"+z,C=i[N];return C||(C=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:T,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:z}),i[N]=C),C}(h,$);return c.formatToParts(r)},w=function(u,h){for(var $=p(u,h),r=[],c=0;c<$.length;c+=1){var T=$[c],M=T.type,z=T.value,N=e[M];N>=0&&(r[N]=parseInt(z,10))}var C=r[3],_=C===24?0:C,H=r[0]+"-"+r[1]+"-"+r[2]+" "+_+":"+r[4]+":"+r[5]+":000",U=+u;return(y.utc(H).valueOf()-(U-=U%1e3))/6e4},E=D.prototype;E.tz=function(u,h){u===void 0&&(u=x);var $=this.utcOffset(),r=this.toDate(),c=r.toLocaleString("en-US",{timeZone:u}),T=Math.round((r-new Date(c))/1e3/60),M=y(c).$set("millisecond",this.$ms).utcOffset(15*-Math.round(r.getTimezoneOffset()/15)-T,!0);if(h){var z=M.utcOffset();M=M.add($-z,"minute")}return M.$x.$timezone=u,M},E.offsetName=function(u){var h=this.$x.$timezone||y.tz.guess(),$=p(this.valueOf(),h,{timeZoneName:u}).find(function(r){return r.type.toLowerCase()==="timezonename"});return $&&$.value};var O=E.startOf;E.startOf=function(u,h){if(!this.$x||!this.$x.$timezone)return O.call(this,u,h);var $=y(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return O.call($,u,h).tz(this.$x.$timezone,!0)},y.tz=function(u,h,$){var r=$&&h,c=$||h||x,T=w(+y(),c);if(typeof u!="string")return y(u).tz(c);var M=function(_,H,U){var b=_-60*H*1e3,g=w(b,U);if(H===g)return[b,H];var A=w(b-=60*(g-H)*1e3,U);return g===A?[b,g]:[_-60*Math.min(g,A)*1e3,Math.max(g,A)]}(y.utc(u,r).valueOf(),T,c),z=M[0],N=M[1],C=y(z).utcOffset(N);return C.$x.$timezone=c,C},y.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},y.tz.setDefault=function(u){x=u}}})})(ee);var ne=it,rt={},ie={get exports(){return rt},set exports(t){rt=t}};(function(t,n){(function(e,i){t.exports=i()})(K,function(){var e="minute",i=/[+-]\d\d(?::?\d\d)?/g,v=/([+-]|\d\d)/g;return function(D,y,x){var p=y.prototype;x.utc=function(r){var c={date:r,utc:!0,args:arguments};return new y(c)},p.utc=function(r){var c=x(this.toDate(),{locale:this.$L,utc:!0});return r?c.add(this.utcOffset(),e):c},p.local=function(){return x(this.toDate(),{locale:this.$L,utc:!1})};var w=p.parse;p.parse=function(r){r.utc&&(this.$u=!0),this.$utils().u(r.$offset)||(this.$offset=r.$offset),w.call(this,r)};var E=p.init;p.init=function(){if(this.$u){var r=this.$d;this.$y=r.getUTCFullYear(),this.$M=r.getUTCMonth(),this.$D=r.getUTCDate(),this.$W=r.getUTCDay(),this.$H=r.getUTCHours(),this.$m=r.getUTCMinutes(),this.$s=r.getUTCSeconds(),this.$ms=r.getUTCMilliseconds()}else E.call(this)};var O=p.utcOffset;p.utcOffset=function(r,c){var T=this.$utils().u;if(T(r))return this.$u?0:T(this.$offset)?O.call(this):this.$offset;if(typeof r=="string"&&(r=function(C){C===void 0&&(C="");var _=C.match(i);if(!_)return null;var H=(""+_[0]).match(v)||["-",0,0],U=H[0],b=60*+H[1]+ +H[2];return b===0?0:U==="+"?b:-b}(r),r===null))return this;var M=Math.abs(r)<=16?60*r:r,z=this;if(c)return z.$offset=M,z.$u=r===0,z;if(r!==0){var N=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(z=this.local().add(M+N,e)).$offset=M,z.$x.$localOffset=N}else z=this.utc();return z};var u=p.format;p.format=function(r){var c=r||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,c)},p.valueOf=function(){var r=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*r},p.isUTC=function(){return!!this.$u},p.toISOString=function(){return this.toDate().toISOString()},p.toString=function(){return this.toDate().toUTCString()};var h=p.toDate;p.toDate=function(r){return r==="s"&&this.$offset?x(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var $=p.diff;p.diff=function(r,c,T){if(r&&this.$u===r.$u)return $.call(this,r,c,T);var M=this.local(),z=x(r).local();return $.call(M,z,c,T)}}})})(ie);var re=rt;G.extend(te),G.extend(re),G.extend(ne);const st=(t,n)=>{if(t){if(G(t instanceof Date?t:t.trim()).isValid()){const i=n?G(t).tz(n):G(t),v=i.year(),D=i.month()+1,y=i.date(),x=i.hour(),p=i.minute(),w=i.second(),E=i.millisecond(),O=x===0&&p===0&&w===0&&E===0;return{value:i.toDate(),info:{year:v,month:D,day:y,...O?{}:{hour:x,minute:p,second:w}},type:O?"date":"full"}}const e=/(?:(\d{2,4})[/-](\d{1,2})[/-](\d{1,2}))?\s*(?:(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?)?/u.exec(t.trim());if(e){const[,i,v,D,y,x,p]=e,w=c=>typeof c>"u"?void 0:Number(c),E=c=>c&&c<100?c+2e3:c,O=c=>y&&x&&!p?0:c,u={year:E(w(i)),month:w(v),day:w(D),hour:w(y),minute:w(x),second:O(w(p))},h=i===void 0&&v===void 0&&D===void 0,$=y===void 0&&x===void 0&&p===void 0,r=G({...u,month:u.month-1}).toDate();return{value:h?void 0:r,info:$?{year:u.year,month:u.month,day:u.day}:h?{hour:u.hour,minute:u.minute,second:u.second}:u,type:h?"time":$?"date":"full"}}}return null},se=(t,n)=>{const e=st(typeof t=="number"?new Date(t):t),i=st(typeof n=="number"?new Date(n):n);return!e||!e.value?1:!i||!i.value?-1:i.value.getTime()-e.value.getTime()},St=(t,n)=>V(t)&&t.startsWith(n),oe=(t,n)=>V(t)&&t.endsWith(n),Dt=Object.entries,ae=Object.fromEntries,xt=Object.keys,ue=Object.values,ot=(t,...n)=>{if(n.length===0)return t;const e=n.shift()||null;return e&&Dt(e).forEach(([i,v])=>{i==="__proto__"||i==="constructor"||(q(t[i])&&q(v)?ot(t[i],v):tt(v)?t[i]=[...v]:q(v)?t[i]={...v}:t[i]=e[i])}),ot(t,...n)},ce=(t,n=!1)=>t?tt(t)?t.map(e=>V(e)?{name:e}:e):V(t)?[{name:t}]:q(t)&&t.name?[t]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${n?"":"| false"} | undefined\`, but got`,t),[]):[],at=(t,n)=>{if(t){if(tt(t))return t;if(V(t))return[t];console.error(`Expect ${n||"value"} to be \`string[] | string | undefined\`, but got`,t)}return[]},he=t=>at(t,"category"),fe=t=>at(t,"tag"),le=t=>{if(!V(t)||t==="")return!1;const n=/^(?:\w+:)?\/\/(\S+)$/u.exec(t);if(!n)return!1;const e=n[1];return e?/^localhost[:?\d]*(?:[^:?\d]\S*)?$/u.test(e)||/^[^\s.]+\.\S{2,}$/u.test(e):!1},de=t=>St(t,"/");class me{constructor(){this.messageElements={};const n="message-container",e=document.getElementById(n);e?this.containerElement=e:(this.containerElement=document.createElement("div"),this.containerElement.id=n,document.body.appendChild(this.containerElement))}pop(n,e=2e3){const i=document.createElement("div"),v=Date.now();return i.className="message move-in",i.innerHTML=n,this.containerElement.appendChild(i),this.messageElements[v]=i,e>0&&setTimeout(()=>{this.close(v)},e),v}close(n){if(n){const e=this.messageElements[n];e.className=e.className.replace("move-in",""),e.className+="move-out",e.addEventListener("animationend",()=>{e.remove(),delete this.messageElements[n]})}else xt(this.messageElements).forEach(e=>this.close(Number(e)))}destroy(){document.body.removeChild(this.containerElement)}}const Ot=/#.*$/u,Tt=t=>{const n=Ot.exec(t);return n?n[0]:""},ut=t=>decodeURI(t).replace(Ot,"").replace(/(index)?\.(md|html)$/,""),ve=(t,n)=>{if(n===void 0)return!1;const e=ut(t.path),i=ut(n),v=Tt(n);return v?v===t.hash&&(!i||e===i):e===i},pe=(t,n=6)=>{const e=vt(t),i=Lt(e,{level:n}),v=pt(i,!0);return __VUEPRESS_SSR__?Buffer.from(v,"binary").toString("base64"):btoa(v)},$e=t=>{const n=__VUEPRESS_SSR__?Buffer.from(t,"base64").toString("binary"):atob(t);return pt(Nt(vt(n,!0)))},ge=t=>mt(t)?t:`https://github.com/${t}`,ye=t=>!mt(t)||/github\.com/.test(t)?"GitHub":/bitbucket\.org/.test(t)?"Bitbucket":/gitlab\.com/.test(t)?"GitLab":/gitee\.com/.test(t)?"Gitee":null,zt=(t,...n)=>{const e=t.resolve(...n),i=e.matched[e.matched.length-1];if(!(i!=null&&i.redirect))return e;const{redirect:v}=i,D=_t(v)?v(e):v,y=V(D)?{path:D}:D;return zt(t,{hash:e.hash,query:e.query,params:e.params,...y})};export{wt as BitbucketIcon,gt as GitHubIcon,bt as GiteeIcon,yt as GitlabIcon,B as IconBase,$t as LoadingIcon,me as Message,Ut as RenderDefault,Mt as SourceIcon,$e as atou,Rt as checkIsChromeWebView,Jt as checkIsIOS,qt as checkIsMacOS,Pt as checkIsMobile,Bt as checkIsSafari,Vt as checkIsSafariMobile,Ft as checkIsWindows,Zt as checkIsiPad,Gt as checkIsiPhone,se as compareDate,ot as deepAssign,oe as endsWith,Dt as entries,ae as fromEntries,Qt as generateIndexFromHash,ce as getAuthor,he as getCategory,st as getDate,Tt as getHash,at as getStringArray,fe as getTag,jt as hasGlobalComponent,de as isAbsoluteUrl,ve as isActiveLink,le as isUrl,xt as keys,ut as normalizePath,ge as resolveRepoLink,ye as resolveRepoType,zt as resolveRouteWithRedirect,St as startsWith,At as useLocaleConfig,Wt as usePageTitle,pe as utoa,ue as values};
//# sourceMappingURL=index.js.map

@@ -1,5 +0,5 @@

import{isArray as Z,isString as F,isPlainObject as ce,removeLeadingSlash as Pe,isLinkHttp as $t,removeEndingSlash as Lt}from"@vuepress/shared";import{fs as K,path as U,ora as Ne,colors as ne}from"@vuepress/utils";import Dt from"striptags";import{default as ir}from"striptags";import{execaSync as St}from"execa";import{strToU8 as Fe,zlibSync as bt,strFromU8 as Ue,unzlibSync as wt}from"fflate/node";import{load as kt}from"cheerio";import Je from"gray-matter";const q=({options:{bundler:{name:e}}})=>{var t;return((t=e.match(/^@vuepress\/bundler-(.*)$/))==null?void 0:t[1])||e};var oe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ve={},Tt={get exports(){return ve},set exports(e){ve=e}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){var n=1e3,r=6e4,s=36e5,c="millisecond",l="second",f="minute",d="hour",M="day",y="week",Y="month",o="quarter",_="year",p="date",i="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|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,S={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(g){var m=["th","st","nd","rd"],a=g%100;return"["+g+(m[(a-20)%10]||m[a]||m[0])+"]"}},T=function(g,m,a){var v=String(g);return!v||v.length>=m?g:""+Array(m+1-v.length).join(a)+g},E={s:T,z:function(g){var m=-g.utcOffset(),a=Math.abs(m),v=Math.floor(a/60),u=a%60;return(m<=0?"+":"-")+T(v,2,"0")+":"+T(u,2,"0")},m:function g(m,a){if(m.date()<a.date())return-g(a,m);var v=12*(a.year()-m.year())+(a.month()-m.month()),u=m.clone().add(v,Y),L=a-u<0,$=m.clone().add(v+(L?-1:1),Y);return+(-(v+(a-u)/(L?u-$:$-u))||0)},a:function(g){return g<0?Math.ceil(g)||0:Math.floor(g)},p:function(g){return{M:Y,y:_,w:y,d:M,D:p,h:d,m:f,s:l,ms:c,Q:o}[g]||String(g||"").toLowerCase().replace(/s$/,"")},u:function(g){return g===void 0}},O="en",j={};j[O]=S;var C=function(g){return g instanceof N},I=function g(m,a,v){var u;if(!m)return O;if(typeof m=="string"){var L=m.toLowerCase();j[L]&&(u=L),a&&(j[L]=a,u=L);var $=m.split("-");if(!u&&$.length>1)return g($[0])}else{var k=m.name;j[k]=m,u=k}return!v&&u&&(O=u),u||!v&&O},b=function(g,m){if(C(g))return g.clone();var a=typeof m=="object"?m:{};return a.date=g,a.args=arguments,new N(a)},D=E;D.l=I,D.i=C,D.w=function(g,m){return b(g,{locale:m.$L,utc:m.$u,x:m.$x,$offset:m.$offset})};var N=function(){function g(a){this.$L=I(a.locale,null,!0),this.parse(a)}var m=g.prototype;return m.parse=function(a){this.$d=function(v){var u=v.date,L=v.utc;if(u===null)return new Date(NaN);if(D.u(u))return new Date;if(u instanceof Date)return new Date(u);if(typeof u=="string"&&!/Z$/i.test(u)){var $=u.match(h);if($){var k=$[2]-1||0,z=($[7]||"0").substring(0,3);return L?new Date(Date.UTC($[1],k,$[3]||1,$[4]||0,$[5]||0,$[6]||0,z)):new Date($[1],k,$[3]||1,$[4]||0,$[5]||0,$[6]||0,z)}}return new Date(u)}(a),this.$x=a.x||{},this.init()},m.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},m.$utils=function(){return D},m.isValid=function(){return this.$d.toString()!==i},m.isSame=function(a,v){var u=b(a);return this.startOf(v)<=u&&u<=this.endOf(v)},m.isAfter=function(a,v){return b(a)<this.startOf(v)},m.isBefore=function(a,v){return this.endOf(v)<b(a)},m.$g=function(a,v,u){return D.u(a)?this[v]:this.set(u,a)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(a,v){var u=this,L=!!D.u(v)||v,$=D.p(a),k=function(te,P){var G=D.w(u.$u?Date.UTC(u.$y,P,te):new Date(u.$y,P,te),u);return L?G:G.endOf(M)},z=function(te,P){return D.w(u.toDate()[te].apply(u.toDate("s"),(L?[0,0,0,0]:[23,59,59,999]).slice(P)),u)},x=this.$W,A=this.$M,B=this.$D,V="set"+(this.$u?"UTC":"");switch($){case _:return L?k(1,0):k(31,11);case Y:return L?k(1,A):k(0,A+1);case y:var ie=this.$locale().weekStart||0,ae=(x<ie?x+7:x)-ie;return k(L?B-ae:B+(6-ae),A);case M:case p:return z(V+"Hours",0);case d:return z(V+"Minutes",1);case f:return z(V+"Seconds",2);case l:return z(V+"Milliseconds",3);default:return this.clone()}},m.endOf=function(a){return this.startOf(a,!1)},m.$set=function(a,v){var u,L=D.p(a),$="set"+(this.$u?"UTC":""),k=(u={},u[M]=$+"Date",u[p]=$+"Date",u[Y]=$+"Month",u[_]=$+"FullYear",u[d]=$+"Hours",u[f]=$+"Minutes",u[l]=$+"Seconds",u[c]=$+"Milliseconds",u)[L],z=L===M?this.$D+(v-this.$W):v;if(L===Y||L===_){var x=this.clone().set(p,1);x.$d[k](z),x.init(),this.$d=x.set(p,Math.min(this.$D,x.daysInMonth())).$d}else k&&this.$d[k](z);return this.init(),this},m.set=function(a,v){return this.clone().$set(a,v)},m.get=function(a){return this[D.p(a)]()},m.add=function(a,v){var u,L=this;a=Number(a);var $=D.p(v),k=function(A){var B=b(L);return D.w(B.date(B.date()+Math.round(A*a)),L)};if($===Y)return this.set(Y,this.$M+a);if($===_)return this.set(_,this.$y+a);if($===M)return k(1);if($===y)return k(7);var z=(u={},u[f]=r,u[d]=s,u[l]=n,u)[$]||1,x=this.$d.getTime()+a*z;return D.w(x,this)},m.subtract=function(a,v){return this.add(-1*a,v)},m.format=function(a){var v=this,u=this.$locale();if(!this.isValid())return u.invalidDate||i;var L=a||"YYYY-MM-DDTHH:mm:ssZ",$=D.z(this),k=this.$H,z=this.$m,x=this.$M,A=u.weekdays,B=u.months,V=function(P,G,ge,de){return P&&(P[G]||P(v,L))||ge[G].slice(0,de)},ie=function(P){return D.s(k%12||12,P,"0")},ae=u.meridiem||function(P,G,ge){var de=P<12?"AM":"PM";return ge?de.toLowerCase():de},te={YY:String(this.$y).slice(-2),YYYY:this.$y,M:x+1,MM:D.s(x+1,2,"0"),MMM:V(u.monthsShort,x,B,3),MMMM:V(B,x),D:this.$D,DD:D.s(this.$D,2,"0"),d:String(this.$W),dd:V(u.weekdaysMin,this.$W,A,2),ddd:V(u.weekdaysShort,this.$W,A,3),dddd:A[this.$W],H:String(k),HH:D.s(k,2,"0"),h:ie(1),hh:ie(2),a:ae(k,z,!0),A:ae(k,z,!1),m:String(z),mm:D.s(z,2,"0"),s:String(this.$s),ss:D.s(this.$s,2,"0"),SSS:D.s(this.$ms,3,"0"),Z:$};return L.replace(H,function(P,G){return G||te[P]||$.replace(":","")})},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(a,v,u){var L,$=D.p(v),k=b(a),z=(k.utcOffset()-this.utcOffset())*r,x=this-k,A=D.m(this,k);return A=(L={},L[_]=A/12,L[Y]=A,L[o]=A/3,L[y]=(x-z)/6048e5,L[M]=(x-z)/864e5,L[d]=x/s,L[f]=x/r,L[l]=x/n,L)[$]||x,u?A:D.a(A)},m.daysInMonth=function(){return this.endOf(Y).$D},m.$locale=function(){return j[this.$L]},m.locale=function(a,v){if(!a)return this.$L;var u=this.clone(),L=I(a,v,!0);return L&&(u.$L=L),u},m.clone=function(){return D.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},g}(),Ie=N.prototype;return b.prototype=Ie,[["$ms",c],["$s",l],["$m",f],["$H",d],["$W",M],["$M",Y],["$y",_],["$D",p]].forEach(function(g){Ie[g[1]]=function(m){return this.$g(m,g[0],g[1])}}),b.extend=function(g,m){return g.$i||(g(m,N,b),g.$i=!0),b},b.locale=I,b.isDayjs=C,b.unix=function(g){return b(1e3*g)},b.en=j[O],b.Ls=j,b.p={},b})})(Tt);var w=ve,ye={},Ht={get exports(){return ye},set exports(e){ye=e}};(function(e,t){(function(n,r){e.exports=r()})(oe,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"};return function(r,s,c){var l=s.prototype,f=l.format;c.en.formats=n,l.format=function(d){d===void 0&&(d="YYYY-MM-DDTHH:mm:ssZ");var M=this.$locale().formats,y=function(Y,o){return Y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(_,p,i){var h=i&&i.toUpperCase();return p||o[i]||n[i]||o[h].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(H,S,T){return S||T.slice(1)})})}(d,M===void 0?{}:M);return f.call(this,y)}}})})(Ht);var Ot=ye,$e={},xt={get exports(){return $e},set exports(e){$e=e}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){return function(n,r,s){var c=r.prototype,l=function(o){var _,p=o.date,i=o.utc,h={};if(!((_=p)instanceof Date||_ instanceof Array||c.$utils().u(_)||_.constructor.name!=="Object")){if(!Object.keys(p).length)return new Date;var H=i?s.utc():s();Object.keys(p).forEach(function(b){var D,N;h[D=b,N=c.$utils().p(D),N==="date"?"day":N]=p[b]});var S=h.day||(h.year||h.month>=0?1:H.date()),T=h.year||H.year(),E=h.month>=0?h.month:h.year||h.day?0:H.month(),O=h.hour||0,j=h.minute||0,C=h.second||0,I=h.millisecond||0;return i?new Date(Date.UTC(T,E,S,O,j,C,I)):new Date(T,E,S,O,j,C,I)}return p},f=c.parse;c.parse=function(o){o.date=l.bind(this)(o),f.bind(this)(o)};var d=c.set,M=c.add,y=c.subtract,Y=function(o,_,p,i){i===void 0&&(i=1);var h=Object.keys(_),H=this;return h.forEach(function(S){H=o.bind(H)(_[S]*i,S)}),H};c.set=function(o,_){return _=_===void 0?o:_,o.constructor.name==="Object"?Y.bind(this)(function(p,i){return d.bind(this)(i,p)},_,o):d.bind(this)(o,_)},c.add=function(o,_){return o.constructor.name==="Object"?Y.bind(this)(M,o,_):M.bind(this)(o,_)},c.subtract=function(o,_){return o.constructor.name==="Object"?Y.bind(this)(M,o,_,-1):y.bind(this)(o,_)}}})})(xt);var We=$e,Le={},zt={get exports(){return Le},set exports(e){Le=e}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(s,c,l){var f,d=function(o,_,p){p===void 0&&(p={});var i=new Date(o),h=function(H,S){S===void 0&&(S={});var T=S.timeZoneName||"short",E=H+"|"+T,O=r[E];return O||(O=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:H,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:T}),r[E]=O),O}(_,p);return h.formatToParts(i)},M=function(o,_){for(var p=d(o,_),i=[],h=0;h<p.length;h+=1){var H=p[h],S=H.type,T=H.value,E=n[S];E>=0&&(i[E]=parseInt(T,10))}var O=i[3],j=O===24?0:O,C=i[0]+"-"+i[1]+"-"+i[2]+" "+j+":"+i[4]+":"+i[5]+":000",I=+o;return(l.utc(C).valueOf()-(I-=I%1e3))/6e4},y=c.prototype;y.tz=function(o,_){o===void 0&&(o=f);var p=this.utcOffset(),i=this.toDate(),h=i.toLocaleString("en-US",{timeZone:o}),H=Math.round((i-new Date(h))/1e3/60),S=l(h).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-H,!0);if(_){var T=S.utcOffset();S=S.add(p-T,"minute")}return S.$x.$timezone=o,S},y.offsetName=function(o){var _=this.$x.$timezone||l.tz.guess(),p=d(this.valueOf(),_,{timeZoneName:o}).find(function(i){return i.type.toLowerCase()==="timezonename"});return p&&p.value};var Y=y.startOf;y.startOf=function(o,_){if(!this.$x||!this.$x.$timezone)return Y.call(this,o,_);var p=l(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return Y.call(p,o,_).tz(this.$x.$timezone,!0)},l.tz=function(o,_,p){var i=p&&_,h=p||_||f,H=M(+l(),h);if(typeof o!="string")return l(o).tz(h);var S=function(j,C,I){var b=j-60*C*1e3,D=M(b,I);if(C===D)return[b,C];var N=M(b-=60*(D-C)*1e3,I);return D===N?[b,D]:[j-60*Math.min(D,N)*1e3,Math.max(D,N)]}(l.utc(o,i).valueOf(),H,h),T=S[0],E=S[1],O=l(T).utcOffset(E);return O.$x.$timezone=h,O},l.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},l.tz.setDefault=function(o){f=o}}})})(zt);var Re=Le,De={},jt={get exports(){return De},set exports(e){De=e}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g;return function(c,l,f){var d=l.prototype;f.utc=function(i){var h={date:i,utc:!0,args:arguments};return new l(h)},d.utc=function(i){var h=f(this.toDate(),{locale:this.$L,utc:!0});return i?h.add(this.utcOffset(),n):h},d.local=function(){return f(this.toDate(),{locale:this.$L,utc:!1})};var M=d.parse;d.parse=function(i){i.utc&&(this.$u=!0),this.$utils().u(i.$offset)||(this.$offset=i.$offset),M.call(this,i)};var y=d.init;d.init=function(){if(this.$u){var i=this.$d;this.$y=i.getUTCFullYear(),this.$M=i.getUTCMonth(),this.$D=i.getUTCDate(),this.$W=i.getUTCDay(),this.$H=i.getUTCHours(),this.$m=i.getUTCMinutes(),this.$s=i.getUTCSeconds(),this.$ms=i.getUTCMilliseconds()}else y.call(this)};var Y=d.utcOffset;d.utcOffset=function(i,h){var H=this.$utils().u;if(H(i))return this.$u?0:H(this.$offset)?Y.call(this):this.$offset;if(typeof i=="string"&&(i=function(O){O===void 0&&(O="");var j=O.match(r);if(!j)return null;var C=(""+j[0]).match(s)||["-",0,0],I=C[0],b=60*+C[1]+ +C[2];return b===0?0:I==="+"?b:-b}(i),i===null))return this;var S=Math.abs(i)<=16?60*i:i,T=this;if(h)return T.$offset=S,T.$u=i===0,T;if(i!==0){var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(T=this.local().add(S+E,n)).$offset=S,T.$x.$localOffset=E}else T=this.utc();return T};var o=d.format;d.format=function(i){var h=i||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return o.call(this,h)},d.valueOf=function(){var i=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*i},d.isUTC=function(){return!!this.$u},d.toISOString=function(){return this.toDate().toISOString()},d.toString=function(){return this.toDate().toUTCString()};var _=d.toDate;d.toDate=function(i){return i==="s"&&this.$offset?f(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():_.call(this)};var p=d.diff;d.diff=function(i,h,H){if(i&&this.$u===i.$u)return p.call(this,i,h,H);var S=this.local(),T=f(i).local();return p.call(S,T,h,H)}}})})(jt);var Ze=De;const Ct={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]},J=(e,t,n)=>{let r=Ct[n];return Z(r)&&(r=r[t?0:1]),r.replace("%d",e)},At={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:e=>`${e}.`,weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:J,m:J,mm:J,h:J,hh:J,d:J,dd:J,M:J,MM:J,y:J,yy:J}},Et=e=>{e.locale("de-at",At)},It={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]},W=(e,t,n)=>{let r=It[n];return Z(r)&&(r=r[t?0:1]),r.replace("%d",e)},Pt={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:e=>`${e}.`,weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:W,m:W,mm:W,h:W,hh:W,d:W,dd:W,M:W,MM:W,y:W,yy:W}},Nt=e=>{e.locale("de",Pt)},Ft={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("_")},Ut=e=>{e.locale("en",Ft)},Jt={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:e=>`${e}º`},Wt=e=>{e.locale("es",Jt)},Rt={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:e=>`${e}${e===1?"er":""}`},Zt=e=>{e.locale("fr",Rt)},Vt={name:"ja-jp",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日曜_月曜_火曜_水曜_木曜_金曜_土曜".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:e=>`${e}日`,weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時mm分",LLLL:"YYYY年M月D日ddddAh時mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s以内",past:"%s前",s:"数秒",m:"1 分",mm:"%d 分",h:"1 時間",hh:"%d 時間",d:"1 日",dd:"%d 日",M:"1 ヶ月",MM:"%d ヶ月",y:"1 年",yy:"%d 年"},meridiem:(e,t)=>{const n=e*100+t;return n<600?"朝":n<1200?"午前":n<1800?"午後":n<2e3?"晚":"夜"}},qt=e=>{e.locale("ja",Vt)},_e=e=>e%10<5&&e%10>1&&~~(e/10)%10!==1,re=(e,t,n)=>{const r=`${e} `;switch(n){case"m":return t?"minuta":"minutę";case"mm":return r+(_e(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(_e(e)?"godziny":"godzin");case"MM":return r+(_e(e)?"miesiące":"miesięcy");case"yy":return r+(_e(e)?"lata":"lat")}},Ve="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),qe="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),Bt=/D MMMM/,Se=(e,t)=>Bt.test(t)?Ve[e.month()]:qe[e.month()];Se.s=qe,Se.f=Ve;const Gt={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:Se,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:e=>`${e}.`,weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:re,mm:re,h:re,hh:re,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:re,y:"rok",yy:re},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}},Kt=e=>{e.locale("pl",Gt)},Qt={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:e=>`${e}º`,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}},Xt=e=>{e.locale("pt-br",Qt)},Be="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),Ge="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),Ke="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),Qe="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),Xe=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,en=(e,t)=>{const n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]},se=(e,t,n)=>n==="m"?t?"минута":"минуту":`${e} ${en({mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n],+e)}`,be=(e,t)=>Xe.test(t)?Be[e.month()]:Ge[e.month()];be.s=Ge,be.f=Be;const we=(e,t)=>Xe.test(t)?Ke[e.month()]:Qe[e.month()];we.s=Qe,we.f=Ke;const tn={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:be,monthsShort:we,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:se,mm:se,h:"час",hh:se,d:"день",dd:se,M:"месяц",MM:se,y:"год",yy:se},ordinal:e=>e,meridiem:e=>e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},nn=e=>{e.locale("ru",tn)},ue=e=>e>1&&e<5&&~~(e/10)!==1,R=(e,t,n,r)=>{const s=`${e} `;switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?s+(ue(e)?"minúty":"minút"):`${s}minútami`;case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?s+(ue(e)?"hodiny":"hodín"):`${s}hodinami`;case"d":return t||r?"deň":"dňom";case"dd":return t||r?s+(ue(e)?"dni":"dní"):`${s}dňami`;case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?s+(ue(e)?"mesiace":"mesiacov"):`${s}mesiacmi`;case"y":return t||r?"rok":"rokom";case"yy":return t||r?s+(ue(e)?"roky":"rokov"):`${s}rokmi`}},rn={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:e=>`${e}.`,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:R,m:R,mm:R,h:R,hh:R,d:R,dd:R,M:R,MM:R,y:R,yy:R}},sn=e=>{e.locale("sk",rn)},an={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),ordinal:e=>`${e}.`,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY HH:mm dddd"}},on=e=>{e.locale("tr",an)},et="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),tt="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),un=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,ln=(e,t)=>{const n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]},Q=(e,t,n)=>n==="m"?t?"хвилина":"хвилину":n==="h"?t?"година":"годину":`${e} ${ln({ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n],+e)}`,ke=(e,t)=>un.test(t)?et[e.month()]:tt[e.month()];ke.s=tt,ke.f=et;const mn={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:ke,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:Q,mm:Q,h:Q,hh:Q,d:"день",dd:Q,M:"місяць",MM:Q,y:"рік",yy:Q},ordinal:e=>e,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}},dn=e=>{e.locale("uk",mn)},cn={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:e=>e,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"}},_n=e=>{e.locale("vi",cn)},hn={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:e=>`${e}日`,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}},fn=e=>{e.locale("zh-tw",hn)},pn={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:(e,t)=>{switch(t){case"W":return`${e}周`;default:return`${e}日`}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:(e,t)=>{const n=e*100+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}},Mn=e=>{e.locale("zh",pn)};w.extend(Ot),w.extend(We),w.extend(Ze),w.extend(Re),Nt(w),Et(w),Ut(w),Wt(w),Zt(w),Kt(w),Xt(w),nn(w),sn(w),dn(w),_n(w),Mn(w),fn(w),qt(w),on(w);const Yn=(e="en")=>{const t=e.toLowerCase();return["de","de-at","en","es","fr","pl","pt-br","ru","sk","uk","vi","zh","zh-tw","ja","tr"].includes(t)?t:t==="en-us"||t==="en-uk"?"en":t==="es-es"?"es":t==="fr-fr"?"fr":t==="pl-pl"?"pl":t==="ru-ru"?"ru":t==="uk-ua"?"uk":t==="sk-sk"?"sk":t==="vi-vn"?"vi":t==="zh-cn"?"zh":t==="ja-jp"?"ja":t==="tr-tr"?"tr":(console.warn(`${e} locale missing in config`),"en")};w.extend(We),w.extend(Ze),w.extend(Re);const le=(e,t)=>{if(e){if(w(e instanceof Date?e:e.trim()).isValid()){const r=t?w(e).tz(t):w(e),s=r.year(),c=r.month()+1,l=r.date(),f=r.hour(),d=r.minute(),M=r.second(),y=r.millisecond(),Y=f===0&&d===0&&M===0&&y===0;return{value:r.toDate(),info:{year:s,month:c,day:l,...Y?{}:{hour:f,minute:d,second:M}},type:Y?"date":"full"}}const n=/(?:(\d{2,4})[/-](\d{1,2})[/-](\d{1,2}))?\s*(?:(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?)?/u.exec(e.trim());if(n){const[,r,s,c,l,f,d]=n,M=h=>typeof h>"u"?void 0:Number(h),y=h=>h&&h<100?h+2e3:h,Y=h=>l&&f&&!d?0:h,o={year:y(M(r)),month:M(s),day:M(c),hour:M(l),minute:M(f),second:Y(M(d))},_=r===void 0&&s===void 0&&c===void 0,p=l===void 0&&f===void 0&&d===void 0,i=w({...o,month:o.month-1}).toDate();return{value:_?void 0:i,info:p?{year:o.year,month:o.month,day:o.day}:_?{hour:o.hour,minute:o.minute,second:o.second}:o,type:_?"time":p?"date":"full"}}}return null},gn=(e,t)=>{const n=le(typeof e=="number"?new Date(e):e),r=le(typeof t=="number"?new Date(t):t);return!n||!n.value?1:!r||!r.value?-1:r.value.getTime()-n.value.getTime()},nt=(e,t)=>F(e)&&e.startsWith(t),Te=(e,t)=>F(e)&&e.endsWith(t),rt=Object.entries,He=Object.fromEntries,he=Object.keys,vn=Object.values,me=(e,...t)=>{if(t.length===0)return e;const n=t.shift()||null;return n&&rt(n).forEach(([r,s])=>{r==="__proto__"||r==="constructor"||(ce(e[r])&&ce(s)?me(e[r],s):Z(s)?e[r]=[...s]:ce(s)?e[r]={...s}:e[r]=n[r])}),me(e,...t)},yn=(e,t=!1)=>e?Z(e)?e.map(n=>F(n)?{name:n}:n):F(e)?[{name:e}]:ce(e)&&e.name?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],Oe=(e,t)=>{if(e){if(Z(e))return e;if(F(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},$n=e=>Oe(e,"category"),Ln=e=>Oe(e,"tag"),Dn=e=>{if(!F(e)||e==="")return!1;const t=/^(?:\w+:)?\/\/(\S+)$/u.exec(e);if(!t)return!1;const n=t[1];return n?/^localhost[:?\d]*(?:[^:?\d]\S*)?$/u.test(n)||/^[^\s.]+\.\S{2,}$/u.test(n):!1},st=e=>nt(e,"/"),xe=(e,t={})=>{const n=le(e,t.timezone);if(n){const{lang:r,timezone:s,type:c=n.type}=t;return w.locale(Yn(r)),(s?w(n.value).tz(s):w(n.value)).format(c==="date"?"LL":c==="time"?"HH:mm":"LLL")}return null},Sn=(e,t)=>{var n,r,s;if(!e.data.localizedDate)if(e.frontmatter.date){const c=(n=le(e.frontmatter.date,t))==null?void 0:n.value;c&&(e.data.localizedDate=xe(c,{lang:e.lang,type:"date"}))}else(r=e.data.git)!=null&&r.createdTime&&(e.data.localizedDate=xe(new Date((s=e.data.git)==null?void 0:s.createdTime),{lang:e.lang,type:"date"}))},it=(e,t="")=>K.readdirSync(e).map(n=>K.statSync(U.join(e,n)).isDirectory()?it(U.join(e,n),U.join(t,n)):U.join(t,n)).flat(),bn=e=>e.replace(/]]>/g,"]]]]><![CDATA[>"),wn=e=>e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");class at{constructor(t=""){this.name=t,this.currentInstance=Ne()}create(t){return this.currentInstance=Ne({prefixText:ne.blue(`${this.name}: `)||"",text:t}),this.currentInstance}update(t){this.currentInstance?this.currentInstance.text=t:this.create(t)}load(t=""){return(!t&&this.currentInstance?this.currentInstance:this.create(t)).start()}info(t="",...n){const r=(!t&&this.currentInstance?this.currentInstance:this.create(ne.blue(t))).info();return n.length&&console.info(...n),r}succeed(t="",...n){const r=(!t&&this.currentInstance?this.currentInstance:this.create(ne.green(t))).succeed();return n.length&&console.log(...n),r}warn(t="",...n){const r=(!t&&this.currentInstance?this.currentInstance:this.create(ne.yellow(t))).warn();return n.length&&console.log(...n),r}error(t="",...n){const r=(!t&&this.currentInstance?this.currentInstance:this.create(ne.red(t))).fail();return n.length&&console.log(...n),r}}const ot=new Map,X=new Map,kn=e=>{try{return St(`${e} --version`,{stdio:"ignore"}).exitCode===0}catch{return!1}},ze=e=>{const t=`global:${e}`,n=ot.get(t);return n!==void 0?n:kn(e)?(ot.set(t,!0),!0):!1},ut=(e=process.cwd(),t=!0)=>{const n=`local:${e}`,r=X.get(n);if(r!==void 0)return r;if(K.existsSync(U.resolve(e,"pnpm-lock.yaml")))return X.set(n,"pnpm"),"pnpm";if(K.existsSync(U.resolve(e,"yarn.lock")))return X.set(n,"yarn"),"yarn";if(K.existsSync(U.resolve(e,"package-lock.json")))return X.set(n,"npm"),"npm";if(t){let s=e;for(;s!==U.dirname(s);){if(s=U.dirname(s),K.existsSync(U.resolve(s,"pnpm-lock.yaml")))return X.set(n,"pnpm"),"pnpm";if(K.existsSync(U.resolve(s,"yarn.lock")))return X.set(n,"yarn"),"yarn";if(K.existsSync(U.resolve(s,"package-lock.json")))return X.set(n,"npm"),"npm"}}return null},lt=(e=process.cwd(),t=!0)=>ut(e,t)||(ze("pnpm")?"pnpm":ze("yarn")?"yarn":"npm"),Tn=(e,t=6)=>{const n=Fe(e),r=bt(n,{level:t}),s=Ue(r,!0);return Buffer.from(s,"binary").toString("base64")},Hn=e=>{const t=Buffer.from(e,"base64").toString("binary");return Ue(wt(Fe(t,!0)))},je="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot".split(","),Ce="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view".split(","),On="math,maction,maligngroup,malignmark,menclose,merror,mfenced,mfrac,mglyph,mi,mlabeledtr,mlongdiv,mmutiscripts,mn,mo,mover,mpadded,mphantom,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msup,msubsup,mtable,mtd,mtext,mtr,munder,munderover,semantics,annotation,annotation-xml".split(","),xn=["in","on","with","by","for","at","about","under","of","to","the","into"],zn=e=>e.replace(/([A-Z])/g,"-$1").replace(/[-_]/g," ").replace(/ +/g," ").trim().toLowerCase().split(" ").map((t,n)=>xn.includes(t)&&n!==0?t:t.charAt(0).toUpperCase()+t.slice(1)).join(" "),Ae=(e,t=!1)=>{t&&!je.includes(e)&&!Ce.includes(e)&&e===e.toLowerCase()&&!e.includes("-")&&console.warn(ne.yellow("warning: "),`${e} is used and it’s not a standard tag or standard custom element name`)},jn=(e,t,n)=>{var r,s,c;const l=F(n)?[n]:n,f=q(t);if(f==="vite"){const d=e,{isCustomElement:M=y=>Ae(y,t.env.isDebug)}=(s=(r=d.vuePluginOptions??(d.vuePluginOptions={})).template??(r.template={})).compilerOptions??(s.compilerOptions={});d.vuePluginOptions.template.compilerOptions.isCustomElement=y=>(l instanceof RegExp?l.test(y):l.includes(y))?!0:M(y)}else if(f==="webpack"){const d=e,{isCustomElement:M=y=>Ae(y,t.env.isDebug)}=(c=d.vue??(d.vue={})).compilerOptions??(c.compilerOptions={});d.vue.compilerOptions.isCustomElement=y=>(l instanceof RegExp?l.test(y):l.includes(y))?!0:M(y)}},fe=e=>Object.prototype.toString.call(e)==="[object Object]",mt=e=>Z(e)?e:[e],dt=({find:e,replacement:t,customResolver:n})=>{F(e)&&Te(e,"/")&&Te(t,"/")&&(e=e.slice(0,e.length-1),t=t.slice(0,t.length-1));const r={find:e,replacement:t};return n&&(r.customResolver=n),r},ct=e=>Z(e)?e.map(dt):he(e).map(t=>dt({find:t,replacement:e[t]})),_t=(e,t)=>e?t?fe(e)&&fe(t)?{...e,...t}:[...ct(t),...ct(e)]:e:t,ht=(e,t,n)=>{const r={...e};for(const s in t){const c=t[s];if(c==null)continue;const l=r[s];if(l==null){r[s]=c;continue}if(s==="alias"&&(n==="resolve"||n==="")){r[s]=_t(l,c);continue}else if(s==="assetsInclude"&&n===""){r[s]=[].concat(l,c);continue}else if(s==="noExternal"&&n==="ssr"&&(l===!0||c===!0)){r[s]=!0;continue}if(Z(l)||Z(c)){r[s]=[...mt(l),...mt(c)];continue}if(fe(l)&&fe(c)){r[s]=ht(l,c,n?`${n}.${s}`:s);continue}r[s]=c}return r},ee=(e,t,n=!0)=>ht(e,t,n?"":"."),Cn=(e,t,n)=>{if(q(t)==="vite"&&("OPTIMIZE_DEPS"in process.env?Boolean(process.env.OPTIMIZE_DEPS):lt()!=="pnpm")){const r=e;r.viteOptions=ee(r.viteOptions||{},{optimizeDeps:{include:F(n)?[n]:n}}),r.viteOptions.optimizeDeps.include=Array.from(new Set(r.viteOptions.optimizeDeps.include))}},An=(e,t,n)=>{if(q(t)==="vite"){const r=e;r.viteOptions=ee(r.viteOptions||{},{optimizeDeps:{exclude:F(n)?[n]:n}}),r.viteOptions.optimizeDeps.exclude=Array.from(new Set(r.viteOptions.optimizeDeps.exclude))}},En=(e,t,n)=>{if(q(t)==="vite"){const r=e;r.viteOptions=ee(r.viteOptions||{},{ssr:{external:F(n)?[n]:n}})}},In=(e,t,n)=>{if(q(t)==="vite"){const r=e;r.viteOptions=ee(r.viteOptions||{},{ssr:{noExternal:F(n)?[n]:n}})}},Pn=(e,t,n)=>{if(q(t)==="vite"){const r=e;r.viteOptions=ee(r.viteOptions||{},n)}},Nn=(e,t,{errMsg:n="The server encountered an error",response:r,path:s})=>{const{base:c}=t.options,l=q(t);if(t.env.isDev){if(l==="vite"){const f=e,d=(y,Y)=>{r(y,Y).then(o=>{Y.statusCode=200,Y.end(o)}).catch(()=>{Y.statusCode=500,Y.end(n)})},M={name:`virtual:dev-server-mock/${s}`,configureServer:({middlewares:y})=>{y.use(`${c}${Pe(s)}`,d)}};f.viteOptions=ee(f.viteOptions||{},{plugins:[M]})}else if(l==="webpack"){const f=e,{devServerSetupMiddlewares:d}=f;f.devServerSetupMiddlewares=(M,y)=>{var Y;return(Y=y.app)==null||Y.get(`${c}${Pe(s)}`,(o,_)=>{r(o,_).then(p=>_.status(200).send(p)).catch(()=>_.status(500).send(n))}),d?d(M,y):M}}}},Fn=(e,t,n)=>{if(q(t)==="webpack"){const r=e,{chainWebpack:s}=r;r.chainWebpack=(c,l,f)=>{s==null||s(c,l,f),n(c,l,f)}}},pe={"de-AT":"/de-at/","de-DE":"/de/","en-US":"/en/","es-ES":"/es/","fi-FI":"/fi/","fr-FR":"/fr/","ja-JP":"/ja/","ko-KR":"/ko/","pl-PL":"/pl/","pt-BR":"/br/","ru-RU":"/ru/","sk-SK":"/sk/","tr-TR":"/tr/","uk-UA":"/uk/","vi-VN":"/vi/","zh-CN":"/zh/","zh-TW":"/zh-tw/"},Un=he(pe),ft=He(Un.map(e=>[pe[e],e])),Jn=(e="",t=!1)=>e in ft?ft[e]:(t&&console.warn(`${e} isn’t assign with a lang, and will return "en-US" instead.`),"en-US"),Me=(e="",t=!1)=>e in pe?pe[e]:(t&&console.warn(`${e} has no path config, and will return "/" instead.`),"/"),pt=e=>{var t;const n=e.siteData.locales;return n!=null&&n["/"]&&(t=n["/"])!=null&&t.lang?n["/"].lang:e.siteData.lang},Mt=e=>Me(pt(e),e.env.isDebug),Yt=e=>Array.from(new Set(he(e.siteData.locales))),Wn=({app:e,name:t,default:n,config:r={}})=>{const s=Mt(e),c=new at(t);return He([...Yt(e).filter(l=>l!=="/").map(l=>{const f=n[l]||(Me(e.options.locales[l].lang)==="/"?null:n[Me(e.options.locales[l].lang)]);return f||c.warn(`Locale ${l} is missing it's i18n config`),[l,me({},f||n[s]||{},r[l]||{})]}),["/",me({},n[s],r["/"]||r[s]||{})]])},gt=[/(?:^|\n).*?(`{3,}).*?\n[\s\S]*?\1(?:\n|$)/gm,/^@/gm,/^[-*]{3,}$/gm,/\[\^.+?\](: .*?$)?/gm,/^[[toc]]$/gm],Rn=[[/^#{1,6} (.*)$/gm,"$1"],[/.\n[=-]+\s*(\n|$)/g,""],[/^\s*[-+*] (.*)$/gm,"$1; "],[/^ *?!\[(.*?)\]\((.*?)\)$/gm,"$1"],[/^(?:\s*>)+(.*)$/gm,"$1"],[/(^|[^\\])~~(.|[^\s].*?[^\s])~~/gm,"$1"],[/(^|[^\\])([*|_]{1,2})(.*?)([^\\])\2/gm,"$1$3$4"],[/(^|[^\\`])`([^`]*?)`([^`]|$)/gm,"$1$2$3"],[/``\s(.*?)\s``/g,"$1"],[/(^|[^\\])\[(.*?)\]\((.*?)\)/gm,"$1$2 ($3)"]],vt=e=>{if(!e)return"";let t=Dt(e),n="";for(;(n=t.replace(/(?:^|\n).*?(:{3,})\s*(?:.+?)(?:\s+(.*))?\n([\s\S]*?)\1\n/gm,`$2
$3`))!==t;)t=n;return t=gt.reduce((r,s)=>r.replace(s,""),t),t=Rn.reduce((r,[s,c])=>r.replace(s,c),gt.reduce((r,s)=>r.replace(s,""),t)),t=t.split(`
import{isArray as Z,isString as F,isPlainObject as ce,removeLeadingSlash as Pe,isLinkHttp as St,removeEndingSlash as bt}from"@vuepress/shared";import{fs as K,path as U,ora as Ne,colors as ne}from"@vuepress/utils";import wt from"striptags";import{default as ur}from"striptags";import{execaCommandSync as kt}from"execa";import{strToU8 as Fe,zlibSync as Tt,strFromU8 as Ue,unzlibSync as Ht}from"fflate/node";import{load as Ot}from"cheerio";import Je from"gray-matter";const q=({options:{bundler:{name:e}}})=>{var t;return((t=e.match(/^@vuepress\/bundler-(.*)$/))==null?void 0:t[1])||e};var oe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ve={},xt={get exports(){return ve},set exports(e){ve=e}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){var n=1e3,r=6e4,s=36e5,c="millisecond",m="second",f="minute",d="hour",M="day",y="week",Y="month",o="quarter",_="year",p="date",i="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|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,S={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(g){var l=["th","st","nd","rd"],a=g%100;return"["+g+(l[(a-20)%10]||l[a]||l[0])+"]"}},T=function(g,l,a){var v=String(g);return!v||v.length>=l?g:""+Array(l+1-v.length).join(a)+g},E={s:T,z:function(g){var l=-g.utcOffset(),a=Math.abs(l),v=Math.floor(a/60),u=a%60;return(l<=0?"+":"-")+T(v,2,"0")+":"+T(u,2,"0")},m:function g(l,a){if(l.date()<a.date())return-g(a,l);var v=12*(a.year()-l.year())+(a.month()-l.month()),u=l.clone().add(v,Y),L=a-u<0,$=l.clone().add(v+(L?-1:1),Y);return+(-(v+(a-u)/(L?u-$:$-u))||0)},a:function(g){return g<0?Math.ceil(g)||0:Math.floor(g)},p:function(g){return{M:Y,y:_,w:y,d:M,D:p,h:d,m:f,s:m,ms:c,Q:o}[g]||String(g||"").toLowerCase().replace(/s$/,"")},u:function(g){return g===void 0}},O="en",j={};j[O]=S;var C=function(g){return g instanceof N},I=function g(l,a,v){var u;if(!l)return O;if(typeof l=="string"){var L=l.toLowerCase();j[L]&&(u=L),a&&(j[L]=a,u=L);var $=l.split("-");if(!u&&$.length>1)return g($[0])}else{var k=l.name;j[k]=l,u=k}return!v&&u&&(O=u),u||!v&&O},b=function(g,l){if(C(g))return g.clone();var a=typeof l=="object"?l:{};return a.date=g,a.args=arguments,new N(a)},D=E;D.l=I,D.i=C,D.w=function(g,l){return b(g,{locale:l.$L,utc:l.$u,x:l.$x,$offset:l.$offset})};var N=function(){function g(a){this.$L=I(a.locale,null,!0),this.parse(a)}var l=g.prototype;return l.parse=function(a){this.$d=function(v){var u=v.date,L=v.utc;if(u===null)return new Date(NaN);if(D.u(u))return new Date;if(u instanceof Date)return new Date(u);if(typeof u=="string"&&!/Z$/i.test(u)){var $=u.match(h);if($){var k=$[2]-1||0,z=($[7]||"0").substring(0,3);return L?new Date(Date.UTC($[1],k,$[3]||1,$[4]||0,$[5]||0,$[6]||0,z)):new Date($[1],k,$[3]||1,$[4]||0,$[5]||0,$[6]||0,z)}}return new Date(u)}(a),this.$x=a.x||{},this.init()},l.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},l.$utils=function(){return D},l.isValid=function(){return this.$d.toString()!==i},l.isSame=function(a,v){var u=b(a);return this.startOf(v)<=u&&u<=this.endOf(v)},l.isAfter=function(a,v){return b(a)<this.startOf(v)},l.isBefore=function(a,v){return this.endOf(v)<b(a)},l.$g=function(a,v,u){return D.u(a)?this[v]:this.set(u,a)},l.unix=function(){return Math.floor(this.valueOf()/1e3)},l.valueOf=function(){return this.$d.getTime()},l.startOf=function(a,v){var u=this,L=!!D.u(v)||v,$=D.p(a),k=function(te,P){var G=D.w(u.$u?Date.UTC(u.$y,P,te):new Date(u.$y,P,te),u);return L?G:G.endOf(M)},z=function(te,P){return D.w(u.toDate()[te].apply(u.toDate("s"),(L?[0,0,0,0]:[23,59,59,999]).slice(P)),u)},x=this.$W,A=this.$M,B=this.$D,V="set"+(this.$u?"UTC":"");switch($){case _:return L?k(1,0):k(31,11);case Y:return L?k(1,A):k(0,A+1);case y:var ie=this.$locale().weekStart||0,ae=(x<ie?x+7:x)-ie;return k(L?B-ae:B+(6-ae),A);case M:case p:return z(V+"Hours",0);case d:return z(V+"Minutes",1);case f:return z(V+"Seconds",2);case m:return z(V+"Milliseconds",3);default:return this.clone()}},l.endOf=function(a){return this.startOf(a,!1)},l.$set=function(a,v){var u,L=D.p(a),$="set"+(this.$u?"UTC":""),k=(u={},u[M]=$+"Date",u[p]=$+"Date",u[Y]=$+"Month",u[_]=$+"FullYear",u[d]=$+"Hours",u[f]=$+"Minutes",u[m]=$+"Seconds",u[c]=$+"Milliseconds",u)[L],z=L===M?this.$D+(v-this.$W):v;if(L===Y||L===_){var x=this.clone().set(p,1);x.$d[k](z),x.init(),this.$d=x.set(p,Math.min(this.$D,x.daysInMonth())).$d}else k&&this.$d[k](z);return this.init(),this},l.set=function(a,v){return this.clone().$set(a,v)},l.get=function(a){return this[D.p(a)]()},l.add=function(a,v){var u,L=this;a=Number(a);var $=D.p(v),k=function(A){var B=b(L);return D.w(B.date(B.date()+Math.round(A*a)),L)};if($===Y)return this.set(Y,this.$M+a);if($===_)return this.set(_,this.$y+a);if($===M)return k(1);if($===y)return k(7);var z=(u={},u[f]=r,u[d]=s,u[m]=n,u)[$]||1,x=this.$d.getTime()+a*z;return D.w(x,this)},l.subtract=function(a,v){return this.add(-1*a,v)},l.format=function(a){var v=this,u=this.$locale();if(!this.isValid())return u.invalidDate||i;var L=a||"YYYY-MM-DDTHH:mm:ssZ",$=D.z(this),k=this.$H,z=this.$m,x=this.$M,A=u.weekdays,B=u.months,V=function(P,G,ge,de){return P&&(P[G]||P(v,L))||ge[G].slice(0,de)},ie=function(P){return D.s(k%12||12,P,"0")},ae=u.meridiem||function(P,G,ge){var de=P<12?"AM":"PM";return ge?de.toLowerCase():de},te={YY:String(this.$y).slice(-2),YYYY:this.$y,M:x+1,MM:D.s(x+1,2,"0"),MMM:V(u.monthsShort,x,B,3),MMMM:V(B,x),D:this.$D,DD:D.s(this.$D,2,"0"),d:String(this.$W),dd:V(u.weekdaysMin,this.$W,A,2),ddd:V(u.weekdaysShort,this.$W,A,3),dddd:A[this.$W],H:String(k),HH:D.s(k,2,"0"),h:ie(1),hh:ie(2),a:ae(k,z,!0),A:ae(k,z,!1),m:String(z),mm:D.s(z,2,"0"),s:String(this.$s),ss:D.s(this.$s,2,"0"),SSS:D.s(this.$ms,3,"0"),Z:$};return L.replace(H,function(P,G){return G||te[P]||$.replace(":","")})},l.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},l.diff=function(a,v,u){var L,$=D.p(v),k=b(a),z=(k.utcOffset()-this.utcOffset())*r,x=this-k,A=D.m(this,k);return A=(L={},L[_]=A/12,L[Y]=A,L[o]=A/3,L[y]=(x-z)/6048e5,L[M]=(x-z)/864e5,L[d]=x/s,L[f]=x/r,L[m]=x/n,L)[$]||x,u?A:D.a(A)},l.daysInMonth=function(){return this.endOf(Y).$D},l.$locale=function(){return j[this.$L]},l.locale=function(a,v){if(!a)return this.$L;var u=this.clone(),L=I(a,v,!0);return L&&(u.$L=L),u},l.clone=function(){return D.w(this.$d,this)},l.toDate=function(){return new Date(this.valueOf())},l.toJSON=function(){return this.isValid()?this.toISOString():null},l.toISOString=function(){return this.$d.toISOString()},l.toString=function(){return this.$d.toUTCString()},g}(),Ie=N.prototype;return b.prototype=Ie,[["$ms",c],["$s",m],["$m",f],["$H",d],["$W",M],["$M",Y],["$y",_],["$D",p]].forEach(function(g){Ie[g[1]]=function(l){return this.$g(l,g[0],g[1])}}),b.extend=function(g,l){return g.$i||(g(l,N,b),g.$i=!0),b},b.locale=I,b.isDayjs=C,b.unix=function(g){return b(1e3*g)},b.en=j[O],b.Ls=j,b.p={},b})})(xt);var w=ve,ye={},zt={get exports(){return ye},set exports(e){ye=e}};(function(e,t){(function(n,r){e.exports=r()})(oe,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"};return function(r,s,c){var m=s.prototype,f=m.format;c.en.formats=n,m.format=function(d){d===void 0&&(d="YYYY-MM-DDTHH:mm:ssZ");var M=this.$locale().formats,y=function(Y,o){return Y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(_,p,i){var h=i&&i.toUpperCase();return p||o[i]||n[i]||o[h].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(H,S,T){return S||T.slice(1)})})}(d,M===void 0?{}:M);return f.call(this,y)}}})})(zt);var jt=ye,$e={},Ct={get exports(){return $e},set exports(e){$e=e}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){return function(n,r,s){var c=r.prototype,m=function(o){var _,p=o.date,i=o.utc,h={};if(!((_=p)instanceof Date||_ instanceof Array||c.$utils().u(_)||_.constructor.name!=="Object")){if(!Object.keys(p).length)return new Date;var H=i?s.utc():s();Object.keys(p).forEach(function(b){var D,N;h[D=b,N=c.$utils().p(D),N==="date"?"day":N]=p[b]});var S=h.day||(h.year||h.month>=0?1:H.date()),T=h.year||H.year(),E=h.month>=0?h.month:h.year||h.day?0:H.month(),O=h.hour||0,j=h.minute||0,C=h.second||0,I=h.millisecond||0;return i?new Date(Date.UTC(T,E,S,O,j,C,I)):new Date(T,E,S,O,j,C,I)}return p},f=c.parse;c.parse=function(o){o.date=m.bind(this)(o),f.bind(this)(o)};var d=c.set,M=c.add,y=c.subtract,Y=function(o,_,p,i){i===void 0&&(i=1);var h=Object.keys(_),H=this;return h.forEach(function(S){H=o.bind(H)(_[S]*i,S)}),H};c.set=function(o,_){return _=_===void 0?o:_,o.constructor.name==="Object"?Y.bind(this)(function(p,i){return d.bind(this)(i,p)},_,o):d.bind(this)(o,_)},c.add=function(o,_){return o.constructor.name==="Object"?Y.bind(this)(M,o,_):M.bind(this)(o,_)},c.subtract=function(o,_){return o.constructor.name==="Object"?Y.bind(this)(M,o,_,-1):y.bind(this)(o,_)}}})})(Ct);var We=$e,Le={},At={get exports(){return Le},set exports(e){Le=e}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(s,c,m){var f,d=function(o,_,p){p===void 0&&(p={});var i=new Date(o),h=function(H,S){S===void 0&&(S={});var T=S.timeZoneName||"short",E=H+"|"+T,O=r[E];return O||(O=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:H,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:T}),r[E]=O),O}(_,p);return h.formatToParts(i)},M=function(o,_){for(var p=d(o,_),i=[],h=0;h<p.length;h+=1){var H=p[h],S=H.type,T=H.value,E=n[S];E>=0&&(i[E]=parseInt(T,10))}var O=i[3],j=O===24?0:O,C=i[0]+"-"+i[1]+"-"+i[2]+" "+j+":"+i[4]+":"+i[5]+":000",I=+o;return(m.utc(C).valueOf()-(I-=I%1e3))/6e4},y=c.prototype;y.tz=function(o,_){o===void 0&&(o=f);var p=this.utcOffset(),i=this.toDate(),h=i.toLocaleString("en-US",{timeZone:o}),H=Math.round((i-new Date(h))/1e3/60),S=m(h).$set("millisecond",this.$ms).utcOffset(15*-Math.round(i.getTimezoneOffset()/15)-H,!0);if(_){var T=S.utcOffset();S=S.add(p-T,"minute")}return S.$x.$timezone=o,S},y.offsetName=function(o){var _=this.$x.$timezone||m.tz.guess(),p=d(this.valueOf(),_,{timeZoneName:o}).find(function(i){return i.type.toLowerCase()==="timezonename"});return p&&p.value};var Y=y.startOf;y.startOf=function(o,_){if(!this.$x||!this.$x.$timezone)return Y.call(this,o,_);var p=m(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return Y.call(p,o,_).tz(this.$x.$timezone,!0)},m.tz=function(o,_,p){var i=p&&_,h=p||_||f,H=M(+m(),h);if(typeof o!="string")return m(o).tz(h);var S=function(j,C,I){var b=j-60*C*1e3,D=M(b,I);if(C===D)return[b,C];var N=M(b-=60*(D-C)*1e3,I);return D===N?[b,D]:[j-60*Math.min(D,N)*1e3,Math.max(D,N)]}(m.utc(o,i).valueOf(),H,h),T=S[0],E=S[1],O=m(T).utcOffset(E);return O.$x.$timezone=h,O},m.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},m.tz.setDefault=function(o){f=o}}})})(At);var Re=Le,De={},Et={get exports(){return De},set exports(e){De=e}};(function(e,t){(function(n,r){e.exports=r()})(oe,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,s=/([+-]|\d\d)/g;return function(c,m,f){var d=m.prototype;f.utc=function(i){var h={date:i,utc:!0,args:arguments};return new m(h)},d.utc=function(i){var h=f(this.toDate(),{locale:this.$L,utc:!0});return i?h.add(this.utcOffset(),n):h},d.local=function(){return f(this.toDate(),{locale:this.$L,utc:!1})};var M=d.parse;d.parse=function(i){i.utc&&(this.$u=!0),this.$utils().u(i.$offset)||(this.$offset=i.$offset),M.call(this,i)};var y=d.init;d.init=function(){if(this.$u){var i=this.$d;this.$y=i.getUTCFullYear(),this.$M=i.getUTCMonth(),this.$D=i.getUTCDate(),this.$W=i.getUTCDay(),this.$H=i.getUTCHours(),this.$m=i.getUTCMinutes(),this.$s=i.getUTCSeconds(),this.$ms=i.getUTCMilliseconds()}else y.call(this)};var Y=d.utcOffset;d.utcOffset=function(i,h){var H=this.$utils().u;if(H(i))return this.$u?0:H(this.$offset)?Y.call(this):this.$offset;if(typeof i=="string"&&(i=function(O){O===void 0&&(O="");var j=O.match(r);if(!j)return null;var C=(""+j[0]).match(s)||["-",0,0],I=C[0],b=60*+C[1]+ +C[2];return b===0?0:I==="+"?b:-b}(i),i===null))return this;var S=Math.abs(i)<=16?60*i:i,T=this;if(h)return T.$offset=S,T.$u=i===0,T;if(i!==0){var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(T=this.local().add(S+E,n)).$offset=S,T.$x.$localOffset=E}else T=this.utc();return T};var o=d.format;d.format=function(i){var h=i||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return o.call(this,h)},d.valueOf=function(){var i=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*i},d.isUTC=function(){return!!this.$u},d.toISOString=function(){return this.toDate().toISOString()},d.toString=function(){return this.toDate().toUTCString()};var _=d.toDate;d.toDate=function(i){return i==="s"&&this.$offset?f(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():_.call(this)};var p=d.diff;d.diff=function(i,h,H){if(i&&this.$u===i.$u)return p.call(this,i,h,H);var S=this.local(),T=f(i).local();return p.call(S,T,h,H)}}})})(Et);var Ze=De;const It={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]},J=(e,t,n)=>{let r=It[n];return Z(r)&&(r=r[t?0:1]),r.replace("%d",e)},Pt={name:"de-at",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),ordinal:e=>`${e}.`,weekStart:1,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:J,m:J,mm:J,h:J,hh:J,d:J,dd:J,M:J,MM:J,y:J,yy:J}},Nt=e=>{e.locale("de-at",Pt)},Ft={s:"ein paar Sekunden",m:["eine Minute","einer Minute"],mm:"%d Minuten",h:["eine Stunde","einer Stunde"],hh:"%d Stunden",d:["ein Tag","einem Tag"],dd:["%d Tage","%d Tagen"],M:["ein Monat","einem Monat"],MM:["%d Monate","%d Monaten"],y:["ein Jahr","einem Jahr"],yy:["%d Jahre","%d Jahren"]},W=(e,t,n)=>{let r=Ft[n];return Z(r)&&(r=r[t?0:1]),r.replace("%d",e)},Ut={name:"de",weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"),ordinal:e=>`${e}.`,weekStart:1,yearStart:4,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},relativeTime:{future:"in %s",past:"vor %s",s:W,m:W,mm:W,h:W,hh:W,d:W,dd:W,M:W,MM:W,y:W,yy:W}},Jt=e=>{e.locale("de",Ut)},Wt={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("_")},Rt=e=>{e.locale("en",Wt)},Zt={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinal:e=>`${e}º`},Vt=e=>{e.locale("es",Zt)},qt={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:e=>`${e}${e===1?"er":""}`},Bt=e=>{e.locale("fr",qt)},Gt={name:"ja-jp",weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日曜_月曜_火曜_水曜_木曜_金曜_土曜".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:e=>`${e}日`,weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah時mm分",LLLL:"YYYY年M月D日ddddAh時mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s以内",past:"%s前",s:"数秒",m:"1 分",mm:"%d 分",h:"1 時間",hh:"%d 時間",d:"1 日",dd:"%d 日",M:"1 ヶ月",MM:"%d ヶ月",y:"1 年",yy:"%d 年"},meridiem:(e,t)=>{const n=e*100+t;return n<600?"朝":n<1200?"午前":n<1800?"午後":n<2e3?"晚":"夜"}},Kt=e=>{e.locale("ja",Gt)},_e=e=>e%10<5&&e%10>1&&~~(e/10)%10!==1,re=(e,t,n)=>{const r=`${e} `;switch(n){case"m":return t?"minuta":"minutę";case"mm":return r+(_e(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return r+(_e(e)?"godziny":"godzin");case"MM":return r+(_e(e)?"miesiące":"miesięcy");case"yy":return r+(_e(e)?"lata":"lat")}},Ve="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),qe="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),Qt=/D MMMM/,Se=(e,t)=>Qt.test(t)?Ve[e.month()]:qe[e.month()];Se.s=qe,Se.f=Ve;const Xt={name:"pl",weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),months:Se,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:e=>`${e}.`,weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:re,mm:re,h:re,hh:re,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:re,y:"rok",yy:re},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"}},en=e=>{e.locale("pl",Xt)},tn={name:"pt-br",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:e=>`${e}º`,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}},nn=e=>{e.locale("pt-br",tn)},Be="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),Ge="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),Ke="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),Qe="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),Xe=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,rn=(e,t)=>{const n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]},se=(e,t,n)=>n==="m"?t?"минута":"минуту":`${e} ${rn({mm:t?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n],+e)}`,be=(e,t)=>Xe.test(t)?Be[e.month()]:Ge[e.month()];be.s=Ge,be.f=Be;const we=(e,t)=>Xe.test(t)?Ke[e.month()]:Qe[e.month()];we.s=Qe,we.f=Ke;const sn={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:be,monthsShort:we,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:se,mm:se,h:"час",hh:se,d:"день",dd:se,M:"месяц",MM:se,y:"год",yy:se},ordinal:e=>e,meridiem:e=>e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},an=e=>{e.locale("ru",sn)},ue=e=>e>1&&e<5&&~~(e/10)!==1,R=(e,t,n,r)=>{const s=`${e} `;switch(n){case"s":return t||r?"pár sekúnd":"pár sekundami";case"m":return t?"minúta":r?"minútu":"minútou";case"mm":return t||r?s+(ue(e)?"minúty":"minút"):`${s}minútami`;case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?s+(ue(e)?"hodiny":"hodín"):`${s}hodinami`;case"d":return t||r?"deň":"dňom";case"dd":return t||r?s+(ue(e)?"dni":"dní"):`${s}dňami`;case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?s+(ue(e)?"mesiace":"mesiacov"):`${s}mesiacmi`;case"y":return t||r?"rok":"rokom";case"yy":return t||r?s+(ue(e)?"roky":"rokov"):`${s}rokmi`}},on={name:"sk",weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),months:"január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),monthsShort:"jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:e=>`${e}.`,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"za %s",past:"pred %s",s:R,m:R,mm:R,h:R,hh:R,d:R,dd:R,M:R,MM:R,y:R,yy:R}},un=e=>{e.locale("sk",on)},mn={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_Çar_Per_Cum_Cmt".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),ordinal:e=>`${e}.`,formats:{LTS:"HH:mm:ss",LT:"HH:mm",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY HH:mm dddd"}},ln=e=>{e.locale("tr",mn)},et="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),tt="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),dn=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,cn=(e,t)=>{const n=e.split("_");return t%10===1&&t%100!==11?n[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?n[1]:n[2]},Q=(e,t,n)=>n==="m"?t?"хвилина":"хвилину":n==="h"?t?"година":"годину":`${e} ${cn({ss:t?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:t?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:t?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n],+e)}`,ke=(e,t)=>dn.test(t)?et[e.month()]:tt[e.month()];ke.s=tt,ke.f=et;const _n={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:ke,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:Q,mm:Q,h:Q,hh:Q,d:"день",dd:Q,M:"місяць",MM:Q,y:"рік",yy:Q},ordinal:e=>e,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"}},hn=e=>{e.locale("uk",_n)},fn={name:"vi",weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:e=>e,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"}},pn=e=>{e.locale("vi",fn)},Mn={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:e=>`${e}日`,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}},Yn=e=>{e.locale("zh-tw",Mn)},gn={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:(e,t)=>{switch(t){case"W":return`${e}周`;default:return`${e}日`}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:(e,t)=>{const n=e*100+t;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}},vn=e=>{e.locale("zh",gn)};w.extend(jt),w.extend(We),w.extend(Ze),w.extend(Re),Jt(w),Nt(w),Rt(w),Vt(w),Bt(w),en(w),nn(w),an(w),un(w),hn(w),pn(w),vn(w),Yn(w),Kt(w),ln(w);const yn=(e="en")=>{const t=e.toLowerCase();return["de","de-at","en","es","fr","pl","pt-br","ru","sk","uk","vi","zh","zh-tw","ja","tr"].includes(t)?t:t==="en-us"||t==="en-uk"?"en":t==="es-es"?"es":t==="fr-fr"?"fr":t==="pl-pl"?"pl":t==="ru-ru"?"ru":t==="uk-ua"?"uk":t==="sk-sk"?"sk":t==="vi-vn"?"vi":t==="zh-cn"?"zh":t==="ja-jp"?"ja":t==="tr-tr"?"tr":(console.warn(`${e} locale missing in config`),"en")};w.extend(We),w.extend(Ze),w.extend(Re);const me=(e,t)=>{if(e){if(w(e instanceof Date?e:e.trim()).isValid()){const r=t?w(e).tz(t):w(e),s=r.year(),c=r.month()+1,m=r.date(),f=r.hour(),d=r.minute(),M=r.second(),y=r.millisecond(),Y=f===0&&d===0&&M===0&&y===0;return{value:r.toDate(),info:{year:s,month:c,day:m,...Y?{}:{hour:f,minute:d,second:M}},type:Y?"date":"full"}}const n=/(?:(\d{2,4})[/-](\d{1,2})[/-](\d{1,2}))?\s*(?:(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?)?/u.exec(e.trim());if(n){const[,r,s,c,m,f,d]=n,M=h=>typeof h>"u"?void 0:Number(h),y=h=>h&&h<100?h+2e3:h,Y=h=>m&&f&&!d?0:h,o={year:y(M(r)),month:M(s),day:M(c),hour:M(m),minute:M(f),second:Y(M(d))},_=r===void 0&&s===void 0&&c===void 0,p=m===void 0&&f===void 0&&d===void 0,i=w({...o,month:o.month-1}).toDate();return{value:_?void 0:i,info:p?{year:o.year,month:o.month,day:o.day}:_?{hour:o.hour,minute:o.minute,second:o.second}:o,type:_?"time":p?"date":"full"}}}return null},$n=(e,t)=>{const n=me(typeof e=="number"?new Date(e):e),r=me(typeof t=="number"?new Date(t):t);return!n||!n.value?1:!r||!r.value?-1:r.value.getTime()-n.value.getTime()},nt=(e,t)=>F(e)&&e.startsWith(t),Te=(e,t)=>F(e)&&e.endsWith(t),rt=Object.entries,He=Object.fromEntries,he=Object.keys,Ln=Object.values,le=(e,...t)=>{if(t.length===0)return e;const n=t.shift()||null;return n&&rt(n).forEach(([r,s])=>{r==="__proto__"||r==="constructor"||(ce(e[r])&&ce(s)?le(e[r],s):Z(s)?e[r]=[...s]:ce(s)?e[r]={...s}:e[r]=n[r])}),le(e,...t)},Dn=(e,t=!1)=>e?Z(e)?e.map(n=>F(n)?{name:n}:n):F(e)?[{name:e}]:ce(e)&&e.name?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],Oe=(e,t)=>{if(e){if(Z(e))return e;if(F(e))return[e];console.error(`Expect ${t||"value"} to be \`string[] | string | undefined\`, but got`,e)}return[]},Sn=e=>Oe(e,"category"),bn=e=>Oe(e,"tag"),wn=e=>{if(!F(e)||e==="")return!1;const t=/^(?:\w+:)?\/\/(\S+)$/u.exec(e);if(!t)return!1;const n=t[1];return n?/^localhost[:?\d]*(?:[^:?\d]\S*)?$/u.test(n)||/^[^\s.]+\.\S{2,}$/u.test(n):!1},st=e=>nt(e,"/"),xe=(e,t={})=>{const n=me(e,t.timezone);if(n){const{lang:r,timezone:s,type:c=n.type}=t;return w.locale(yn(r)),(s?w(n.value).tz(s):w(n.value)).format(c==="date"?"LL":c==="time"?"HH:mm":"LLL")}return null},kn=(e,t)=>{var n,r,s;if(!e.data.localizedDate)if(e.frontmatter.date){const c=(n=me(e.frontmatter.date,t))==null?void 0:n.value;c&&(e.data.localizedDate=xe(c,{lang:e.lang,type:"date"}))}else(r=e.data.git)!=null&&r.createdTime&&(e.data.localizedDate=xe(new Date((s=e.data.git)==null?void 0:s.createdTime),{lang:e.lang,type:"date"}))},it=(e,t="")=>K.readdirSync(e).map(n=>K.statSync(U.join(e,n)).isDirectory()?it(U.join(e,n),U.join(t,n)):U.join(t,n)).flat(),Tn=e=>e.replace(/]]>/g,"]]]]><![CDATA[>"),Hn=e=>e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;");class at{constructor(t=""){this.name=t,this.currentInstance=Ne()}create(t){return this.currentInstance=Ne({prefixText:ne.blue(`${this.name}: `)||"",text:t}),this.currentInstance}update(t){this.currentInstance?this.currentInstance.text=t:this.create(t)}load(t=""){return(!t&&this.currentInstance?this.currentInstance:this.create(t)).start()}info(t="",...n){const r=(!t&&this.currentInstance?this.currentInstance:this.create(ne.blue(t))).info();return n.length&&console.info(...n),r}succeed(t="",...n){const r=(!t&&this.currentInstance?this.currentInstance:this.create(ne.green(t))).succeed();return n.length&&console.log(...n),r}warn(t="",...n){const r=(!t&&this.currentInstance?this.currentInstance:this.create(ne.yellow(t))).warn();return n.length&&console.log(...n),r}error(t="",...n){const r=(!t&&this.currentInstance?this.currentInstance:this.create(ne.red(t))).fail();return n.length&&console.log(...n),r}}const ot=new Map,X=new Map,ut="package-lock.json",mt="yarn.lock",lt="pnpm-lock.yaml",On=e=>{try{return kt(`${e} --version`,{stdio:"ignore"}).exitCode===0}catch{return!1}},ze=e=>{const t=`global:${e}`,n=ot.get(t);return n!==void 0?n:On(e)?(ot.set(t,!0),!0):!1},dt=(e=process.cwd(),t=!0)=>{const n=`local:${e}`,r=X.get(n);if(r!==void 0)return r;if(K.existsSync(U.resolve(e,lt)))return X.set(n,"pnpm"),"pnpm";if(K.existsSync(U.resolve(e,mt)))return X.set(n,"yarn"),"yarn";if(K.existsSync(U.resolve(e,ut)))return X.set(n,"npm"),"npm";if(t){let s=e;for(;s!==U.dirname(s);){if(s=U.dirname(s),K.existsSync(U.resolve(s,lt)))return X.set(n,"pnpm"),"pnpm";if(K.existsSync(U.resolve(s,mt)))return X.set(n,"yarn"),"yarn";if(K.existsSync(U.resolve(s,ut)))return X.set(n,"npm"),"npm"}}return null},ct=(e=process.cwd(),t=!0)=>dt(e,t)||(ze("pnpm")?"pnpm":ze("yarn")?"yarn":"npm"),xn=(e,t=6)=>{const n=Fe(e),r=Tt(n,{level:t}),s=Ue(r,!0);return Buffer.from(s,"binary").toString("base64")},zn=e=>{const t=Buffer.from(e,"base64").toString("binary");return Ue(Ht(Fe(t,!0)))},je="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot".split(","),Ce="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view".split(","),jn="math,maction,maligngroup,malignmark,menclose,merror,mfenced,mfrac,mglyph,mi,mlabeledtr,mlongdiv,mmutiscripts,mn,mo,mover,mpadded,mphantom,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msup,msubsup,mtable,mtd,mtext,mtr,munder,munderover,semantics,annotation,annotation-xml".split(","),Cn=["in","on","with","by","for","at","about","under","of","to","the","into"],An=e=>e.replace(/([A-Z])/g,"-$1").replace(/[-_]/g," ").replace(/ +/g," ").trim().toLowerCase().split(" ").map((t,n)=>Cn.includes(t)&&n!==0?t:t.charAt(0).toUpperCase()+t.slice(1)).join(" "),Ae=(e,t=!1)=>{t&&!je.includes(e)&&!Ce.includes(e)&&e===e.toLowerCase()&&!e.includes("-")&&console.warn(ne.yellow("warning: "),`${e} is used and it’s not a standard tag or standard custom element name`)},En=(e,t,n)=>{var r,s,c;const m=F(n)?[n]:n,f=q(t);if(f==="vite"){const d=e,{isCustomElement:M=y=>Ae(y,t.env.isDebug)}=(s=(r=d.vuePluginOptions??(d.vuePluginOptions={})).template??(r.template={})).compilerOptions??(s.compilerOptions={});d.vuePluginOptions.template.compilerOptions.isCustomElement=y=>(m instanceof RegExp?m.test(y):m.includes(y))?!0:M(y)}else if(f==="webpack"){const d=e,{isCustomElement:M=y=>Ae(y,t.env.isDebug)}=(c=d.vue??(d.vue={})).compilerOptions??(c.compilerOptions={});d.vue.compilerOptions.isCustomElement=y=>(m instanceof RegExp?m.test(y):m.includes(y))?!0:M(y)}},fe=e=>Object.prototype.toString.call(e)==="[object Object]",_t=e=>Z(e)?e:[e],ht=({find:e,replacement:t,customResolver:n})=>{F(e)&&Te(e,"/")&&Te(t,"/")&&(e=e.slice(0,e.length-1),t=t.slice(0,t.length-1));const r={find:e,replacement:t};return n&&(r.customResolver=n),r},ft=e=>Z(e)?e.map(ht):he(e).map(t=>ht({find:t,replacement:e[t]})),pt=(e,t)=>e?t?fe(e)&&fe(t)?{...e,...t}:[...ft(t),...ft(e)]:e:t,Mt=(e,t,n)=>{const r={...e};for(const s in t){const c=t[s];if(c==null)continue;const m=r[s];if(m==null){r[s]=c;continue}if(s==="alias"&&(n==="resolve"||n==="")){r[s]=pt(m,c);continue}else if(s==="assetsInclude"&&n===""){r[s]=[].concat(m,c);continue}else if(s==="noExternal"&&n==="ssr"&&(m===!0||c===!0)){r[s]=!0;continue}if(Z(m)||Z(c)){r[s]=[..._t(m),..._t(c)];continue}if(fe(m)&&fe(c)){r[s]=Mt(m,c,n?`${n}.${s}`:s);continue}r[s]=c}return r},ee=(e,t,n=!0)=>Mt(e,t,n?"":"."),In=(e,t,n)=>{if(q(t)==="vite"&&("OPTIMIZE_DEPS"in process.env?Boolean(process.env.OPTIMIZE_DEPS):ct()!=="pnpm")){const r=e;r.viteOptions=ee(r.viteOptions||{},{optimizeDeps:{include:F(n)?[n]:n}}),r.viteOptions.optimizeDeps.include=Array.from(new Set(r.viteOptions.optimizeDeps.include))}},Pn=(e,t,n)=>{if(q(t)==="vite"){const r=e;r.viteOptions=ee(r.viteOptions||{},{optimizeDeps:{exclude:F(n)?[n]:n}}),r.viteOptions.optimizeDeps.exclude=Array.from(new Set(r.viteOptions.optimizeDeps.exclude))}},Nn=(e,t,n)=>{if(q(t)==="vite"){const r=e;r.viteOptions=ee(r.viteOptions||{},{ssr:{external:F(n)?[n]:n}})}},Fn=(e,t,n)=>{if(q(t)==="vite"){const r=e;r.viteOptions=ee(r.viteOptions||{},{ssr:{noExternal:F(n)?[n]:n}})}},Un=(e,t,n)=>{if(q(t)==="vite"){const r=e;r.viteOptions=ee(r.viteOptions||{},n)}},Jn=(e,t,{errMsg:n="The server encountered an error",response:r,path:s})=>{const{base:c}=t.options,m=q(t);if(t.env.isDev){if(m==="vite"){const f=e,d=(y,Y)=>{r(y,Y).then(o=>{Y.statusCode=200,Y.end(o)}).catch(()=>{Y.statusCode=500,Y.end(n)})},M={name:`virtual:dev-server-mock/${s}`,configureServer:({middlewares:y})=>{y.use(`${c}${Pe(s)}`,d)}};f.viteOptions=ee(f.viteOptions||{},{plugins:[M]})}else if(m==="webpack"){const f=e,{devServerSetupMiddlewares:d}=f;f.devServerSetupMiddlewares=(M,y)=>{var Y;return(Y=y.app)==null||Y.get(`${c}${Pe(s)}`,(o,_)=>{r(o,_).then(p=>_.status(200).send(p)).catch(()=>_.status(500).send(n))}),d?d(M,y):M}}}},Wn=(e,t,n)=>{if(q(t)==="webpack"){const r=e,{chainWebpack:s}=r;r.chainWebpack=(c,m,f)=>{s==null||s(c,m,f),n(c,m,f)}}},pe={"de-AT":"/de-at/","de-DE":"/de/","en-US":"/en/","es-ES":"/es/","fi-FI":"/fi/","fr-FR":"/fr/","ja-JP":"/ja/","ko-KR":"/ko/","pl-PL":"/pl/","pt-BR":"/br/","ru-RU":"/ru/","sk-SK":"/sk/","tr-TR":"/tr/","uk-UA":"/uk/","vi-VN":"/vi/","zh-CN":"/zh/","zh-TW":"/zh-tw/"},Rn=he(pe),Yt=He(Rn.map(e=>[pe[e],e])),Zn=(e="",t=!1)=>e in Yt?Yt[e]:(t&&console.warn(`${e} isn’t assign with a lang, and will return "en-US" instead.`),"en-US"),Me=(e="",t=!1)=>e in pe?pe[e]:(t&&console.warn(`${e} has no path config, and will return "/" instead.`),"/"),gt=e=>{var t;const n=e.siteData.locales;return n!=null&&n["/"]&&(t=n["/"])!=null&&t.lang?n["/"].lang:e.siteData.lang},vt=e=>Me(gt(e),e.env.isDebug),yt=e=>Array.from(new Set(he(e.siteData.locales))),Vn=({app:e,name:t,default:n,config:r={}})=>{const s=vt(e),c=new at(t);return He([...yt(e).filter(m=>m!=="/").map(m=>{const f=n[m]||(Me(e.options.locales[m].lang)==="/"?null:n[Me(e.options.locales[m].lang)]);return f||c.warn(`Locale ${m} is missing it's i18n config`),[m,le({},f||n[s]||{},r[m]||{})]}),["/",le({},n[s],r["/"]||r[s]||{})]])},$t=[/(?:^|\n).*?(`{3,}).*?\n[\s\S]*?\1(?:\n|$)/gm,/^@/gm,/^[-*]{3,}$/gm,/\[\^.+?\](: .*?$)?/gm,/^[[toc]]$/gm],qn=[[/^#{1,6} (.*)$/gm,"$1"],[/.\n[=-]+\s*(\n|$)/g,""],[/^\s*[-+*] (.*)$/gm,"$1; "],[/^ *?!\[(.*?)\]\((.*?)\)$/gm,"$1"],[/^(?:\s*>)+(.*)$/gm,"$1"],[/(^|[^\\])~~(.|[^\s].*?[^\s])~~/gm,"$1"],[/(^|[^\\])([*|_]{1,2})(.*?)([^\\])\2/gm,"$1$3$4"],[/(^|[^\\`])`([^`]*?)`([^`]|$)/gm,"$1$2$3"],[/``\s(.*?)\s``/g,"$1"],[/(^|[^\\])\[(.*?)\]\((.*?)\)/gm,"$1$2 ($3)"]],Lt=e=>{if(!e)return"";let t=wt(e),n="";for(;(n=t.replace(/(?:^|\n).*?(:{3,})\s*(?:.+?)(?:\s+(.*))?\n([\s\S]*?)\1\n/gm,`$2
$3`))!==t;)t=n;return t=$t.reduce((r,s)=>r.replace(s,""),t),t=qn.reduce((r,[s,c])=>r.replace(s,c),$t.reduce((r,s)=>r.replace(s,""),t)),t=t.split(`
`).map(r=>r.trim()).filter(r=>Boolean(r)).join(`
`).trim(),t},Zn=["h1","h2","h3","h4","h5","h6"],yt=(e,t,n)=>{if(e.type==="tag"){if(e.tagName==="img"){const{src:r}=e.attribs;if(!$t(r)&&!st(r))return null}return[e.attribs.class,e.attribs.id].some(r=>["table-of-contents","toc"].includes(r))?null:je.includes(e.tagName)||Ce.includes(e.tagName)?(Zn.includes(e.tagName)&&(delete e.attribs.id,delete e.attribs.tabindex,e.children=e.children.filter(r=>r.type!=="tag"||r.tagName!=="a"||r.attribs.class!=="header-anchor")),(e.tagName==="code"||e.tagName==="pre")&&delete e.attribs["v-pre"],e.children=Ee(e.children,t,n),e):e.tagName==="routerlink"?(e.tagName="a",e.attribs.href=`${Lt(t)}${e.attribs.to}`,e.attribs.target="blank",delete e.attribs.to,e.children=Ee(e.children,t,n),e):n(e.tagName)?e:null}return e},Ee=(e,t,n)=>Z(e)?e.map(r=>yt(r,t,n)).filter(r=>r!==null):[],Ye=kt(""),Vn=({markdown:e,options:{base:t}},{content:n,contentRendered:r,filePath:s,filePathRelative:c,frontmatter:l},{isCustomElement:f=()=>!1,excerptSeparator:d="<!-- more -->",excerptLength:M=300}={})=>{const{excerpt:y}=Je(n,{excerpt:!0,excerpt_separator:d});if(y){const Y=e.render(y,{base:t,filePath:s,filePathRelative:c,frontmatter:{...l}});return Ye.html(Ee(Ye.parseHTML(Y),t,f))}else if(M>0){let Y="";const o=Ye.parseHTML(r)||[];for(const _ of o){const p=yt(_,t,f);if(p&&(Y+=`${Ye.html(p)}`,Y.length>=M))break}return Y}return""},qn=({content:e})=>vt(Je(e).content.trim().replace(/^# (.*)$/gm,"")).replace(/(?:\r?\n)+/g," ").replace(/ +/g," ").trim(),Bn="vuepress-shared/noopModule";export{je as HTML_TAGS,at as Logger,On as MATHML_TAGS,Ce as SVG_TAGS,Fn as addChainWebpack,jn as addCustomElement,Pn as addViteConfig,An as addViteOptimizeDepsExclude,Cn as addViteOptimizeDepsInclude,En as addViteSsrExternal,In as addViteSsrNoExternal,Hn as atou,gn as compareDate,me as deepAssign,lt as detectPackageManager,bn as encodeCDATA,wn as encodeXMLContent,Te as endsWith,rt as entries,He as fromEntries,yn as getAuthor,q as getBundlerName,$n as getCategory,le as getDate,it as getDirContents,Yt as getLocalePaths,Wn as getLocales,Vn as getPageExcerpt,qn as getPageText,pt as getRootLang,Mt as getRootLangPath,Oe as getStringArray,Ln as getTag,zn as getTitleFromFilename,ut as getTypeofLockFile,ze as hasGlobalInstallation,Sn as injectLocalizedDate,st as isAbsoluteUrl,Dn as isUrl,he as keys,Me as lang2Path,vt as md2text,_t as mergeAlias,ee as mergeViteConfig,Bn as noopModule,Jn as path2Lang,nt as startsWith,ir as stripTags,Ae as tagHint,xe as timeTransformer,Nn as useCustomDevServer,Tn as utoa,vn as values};
`).trim(),t},Bn=["h1","h2","h3","h4","h5","h6"],Dt=(e,t,n)=>{if(e.type==="tag"){if(e.tagName==="img"){const{src:r}=e.attribs;if(!St(r)&&!st(r))return null}return[e.attribs.class,e.attribs.id].some(r=>["table-of-contents","toc"].includes(r))?null:je.includes(e.tagName)||Ce.includes(e.tagName)?(Bn.includes(e.tagName)&&(delete e.attribs.id,delete e.attribs.tabindex,e.children=e.children.filter(r=>r.type!=="tag"||r.tagName!=="a"||r.attribs.class!=="header-anchor")),(e.tagName==="code"||e.tagName==="pre")&&delete e.attribs["v-pre"],e.children=Ee(e.children,t,n),e):e.tagName==="routerlink"?(e.tagName="a",e.attribs.href=`${bt(t)}${e.attribs.to}`,e.attribs.target="blank",delete e.attribs.to,e.children=Ee(e.children,t,n),e):n(e.tagName)?e:null}return e},Ee=(e,t,n)=>Z(e)?e.map(r=>Dt(r,t,n)).filter(r=>r!==null):[],Ye=Ot(""),Gn=({markdown:e,options:{base:t}},{content:n,contentRendered:r,filePath:s,filePathRelative:c,frontmatter:m},{isCustomElement:f=()=>!1,excerptSeparator:d="<!-- more -->",excerptLength:M=300}={})=>{const{excerpt:y}=Je(n,{excerpt:!0,excerpt_separator:d});if(y){const Y=e.render(y,{base:t,filePath:s,filePathRelative:c,frontmatter:{...m}});return Ye.html(Ee(Ye.parseHTML(Y),t,f))}else if(M>0){let Y="";const o=Ye.parseHTML(r)||[];for(const _ of o){const p=Dt(_,t,f);if(p&&(Y+=`${Ye.html(p)}`,Y.length>=M))break}return Y}return""},Kn=({content:e})=>Lt(Je(e).content.trim().replace(/^# (.*)$/gm,"")).replace(/(?:\r?\n)+/g," ").replace(/ +/g," ").trim(),Qn="vuepress-shared/noopModule";export{je as HTML_TAGS,at as Logger,jn as MATHML_TAGS,Ce as SVG_TAGS,Wn as addChainWebpack,En as addCustomElement,Un as addViteConfig,Pn as addViteOptimizeDepsExclude,In as addViteOptimizeDepsInclude,Nn as addViteSsrExternal,Fn as addViteSsrNoExternal,zn as atou,$n as compareDate,le as deepAssign,ct as detectPackageManager,Tn as encodeCDATA,Hn as encodeXMLContent,Te as endsWith,rt as entries,He as fromEntries,Dn as getAuthor,q as getBundlerName,Sn as getCategory,me as getDate,it as getDirContents,yt as getLocalePaths,Vn as getLocales,Gn as getPageExcerpt,Kn as getPageText,gt as getRootLang,vt as getRootLangPath,Oe as getStringArray,bn as getTag,An as getTitleFromFilename,dt as getTypeofLockFile,ze as hasGlobalInstallation,kn as injectLocalizedDate,st as isAbsoluteUrl,wn as isUrl,he as keys,Me as lang2Path,Lt as md2text,pt as mergeAlias,ee as mergeViteConfig,Qn as noopModule,Zn as path2Lang,nt as startsWith,ur as stripTags,Ae as tagHint,xe as timeTransformer,Jn as useCustomDevServer,xn as utoa,Ln as values};
//# sourceMappingURL=index.js.map
{
"name": "vuepress-shared",
"version": "2.0.0-beta.172",
"version": "2.0.0-beta.173",
"description": "Shared files for vuepress-theme-hope",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet