Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vuepress-shared

Package Overview
Dependencies
Maintainers
0
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuepress-shared - npm Package Compare versions

Comparing version 2.0.0-rc.52 to 2.0.0-rc.53

2

lib/client/index.js

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

import{h as s,computed as w,ref as A,getCurrentInstance as $,onMounted as V}from"vue";import{isLinkHttp as v,keys as f,isDef as T}from"@vuepress/helper/client";const c=({name:e="",color:t="currentColor",ariaLabel:n},{attrs:i,slots:o})=>s("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":n??`${e} icon`,...i},o.default?.());c.displayName="IconBase";const E=({size:e=48,stroke:t=4,wrapper:n=!0,height:i=2*e})=>{const o=s("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[s("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),s("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[s("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),s("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?s("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${i}px`},o):o};E.displayName="LoadingIcon";const B=(e,{slots:t})=>t.default?.(),y=()=>s(c,{name:"enter-fullscreen"},()=>s("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));y.displayName="EnterFullScreenIcon";const I=()=>s(c,{name:"cancel-fullscreen"},()=>s("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));I.displayName="CancelFullScreenIcon";const G=e=>v(e)?e:`https://github.com/${e}`,k=(e="")=>!v(e)||/github\.com/.test(e)?"GitHub":/bitbucket\.org/.test(e)?"Bitbucket":/gitlab\.com/.test(e)?"GitLab":/gitee\.com/.test(e)?"Gitee":null,m=()=>s(c,{name:"github"},()=>s("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"}));m.displayName="GitHubIcon";const M=()=>s(c,{name:"gitlab"},()=>s("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"}));M.displayName="GitLabIcon";const d=()=>s(c,{name:"gitee"},()=>s("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"}));d.displayName="GiteeIcon";const h=()=>s(c,{name:"bitbucket"},()=>s("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"}));h.displayName="BitbucketIcon";const p=()=>s(c,{name:"source"},()=>s("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"}));p.displayName="SourceIcon";const P=({link:e,type:t=k(e??"")})=>{if(!t)return null;const n=t.toLowerCase();return s(n==="bitbucket"?h:n==="github"?m:n==="gitlab"?"GitLab":n==="gitee"?d:p)};function R(){const e=A(!1),t=$();return t&&V(()=>{e.value=!0},t),e}function j(e){return R(),w(()=>!!e())}const z=()=>j(()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator),D=()=>{const e=z();return w(()=>e.value&&/\b(?:Android|iPhone)/i.test(navigator.userAgent))},F=e=>/\b(?:Android|iPhone)/i.test(e),O=e=>/ wv\).+(chrome)\/([\w.]+)/i.test(e),W=e=>/version\/([\w.]+) .*mobile\/\w+ (safari)/i.test(e),U=e=>/version\/([\w.]+) .*(mobile ?safari|safari)/i.test(e),_=e=>/\((ip(?:hone|od)[\w ]*);/i.test(e),Y=e=>[/\((ipad);[-\w),; ]+apple/i,/applecoremedia\/[\w.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i].some(t=>t.test(e)),q=e=>[/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(t=>t.test(e)),J=e=>[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i].some(t=>t.test(e)),K=e=>[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i].some(t=>t.test(e)),L=(e,t=0)=>{let n=3735928559^t,i=1103547991^t;for(let o=0,a;o<e.length;o++)a=e.charCodeAt(o),n=Math.imul(n^a,2654435761),i=Math.imul(i^a,1597334677);return n=Math.imul(n^n>>>16,2246822507),n^=Math.imul(i^i>>>13,3266489909),i=Math.imul(i^i>>>16,2246822507),i^=Math.imul(n^n>>>13,3266489909),4294967296*(2097151&i)+(n>>>0)},Q=(e,t)=>L(e)%t;class X{containerElement;messageElements={};constructor(){const t="message-container",n=document.getElementById(t);n?this.containerElement=n:(this.containerElement=document.createElement("div"),this.containerElement.id=t,document.body.appendChild(this.containerElement))}pop(t,n=2e3){const i=document.createElement("div"),o=Date.now();return i.className="message move-in",i.innerHTML=t,this.containerElement.appendChild(i),this.messageElements[o]=i,n>0&&setTimeout(()=>{this.close(o)},n),o}close(t){if(t){const n=this.messageElements[t];n.classList.remove("move-in"),n.classList.add("move-out"),n.addEventListener("animationend",()=>{n.remove(),delete this.messageElements[t]})}else f(this.messageElements).forEach(n=>this.close(Number(n)))}destroy(){document.body.removeChild(this.containerElement)}}const x=/#.*$/u,C=e=>{const t=x.exec(e);return t?t[0]:""},u=e=>decodeURI(e).replace(x,"").replace(/\/index\.html$/iu,"/").replace(/\/(README|index)\.md$/iu,"/").replace(/\.(?:html|md)$/iu,""),Z=(e,t)=>{if(!T(t))return!1;const n=u(e.path),i=u(t),o=C(t);return o?o===e.hash&&(!i||n===i):n===i};class e1{containerElement;popupElements={};constructor(){const t="popup-container",n=document.getElementById(t);n?this.containerElement=n:(this.containerElement=document.createElement("div"),this.containerElement.id=t,document.body.appendChild(this.containerElement))}emit(t,n){const i=document.createElement("div"),o=document.createElement("div"),a=Date.now();return this.containerElement.appendChild(i),this.popupElements[a]=i,i.className="popup-wrapper appear",i.appendChild(o),i.addEventListener("click",()=>this.close(a)),o.className="popup-container",o.innerHTML=t,typeof n=="number"&&setTimeout(()=>{this.close(a)},n),a}close(t){if(t){const n=this.popupElements[t];n.classList.replace("appear","disappear"),n.children[0].addEventListener("animationend",()=>{n.remove(),delete this.popupElements[t]})}else f(this.popupElements).forEach(n=>this.close(Number(n)))}destroy(){document.body.removeChild(this.containerElement)}}const S=()=>{const{availWidth:e,availHeight:t}=screen,{screenLeft:n,screenTop:i,innerWidth:o,innerHeight:a}=window,l=Math.max(e/2,600),b=Math.max(t/2,400);return{width:l,height:b,left:n+o/2-l/2,top:i+a/2-b/2}},t1=(e,t="_blank",n=["resizable","status"])=>{const{width:i,height:o,left:a,top:l}=S();window.open(e,t,`width=${i},height=${o},left=${a},top=${l},${n.join(",")}`)?.focus?.()};var n1=e=>Object.prototype.toString.call(e)==="[object Object]",r=e=>typeof e=="string";const H=Array.isArray,N=e=>n1(e)&&r(e.name),i1=(e,t=!1)=>e?H(e)?e.map(n=>r(n)?{name:n}:N(n)?n:null).filter(n=>n!==null):r(e)?[{name:e}]:N(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],g=(e,t)=>{if(e){if(H(e)&&e.every(r))return e;if(r(e))return[e];console.error(`Expect ${t} to be \`string[] | string | undefined\`, but got`,e)}return[]},o1=e=>g(e,"category"),s1=e=>g(e,"tag");export{h as BitbucketIcon,I as CancelFullScreenIcon,y as EnterFullScreenIcon,m as GitHubIcon,M as GitLabIcon,d as GiteeIcon,c as IconBase,E as LoadingIcon,X as Message,e1 as Popup,B as RenderDefault,P as RepoIcon,p as SourceIcon,O as checkIsChromeWebView,J as checkIsIOS,K as checkIsMacOS,F as checkIsMobile,U as checkIsSafari,W as checkIsSafariMobile,q as checkIsWindows,Y as checkIsiPad,_ as checkIsiPhone,L as cyrb53,Q as generateIndexFromHash,i1 as getAuthor,o1 as getCategory,C as getHash,S as getSize,g as getStringArray,s1 as getTag,Z as isActiveLink,u as normalizePath,t1 as openPopupWindow,G as resolveRepoLink,k as resolveRepoType,D as useIsMobile,z as useSupportUserAgent};
import{h as s,computed as w,ref as A,getCurrentInstance as $,onMounted as V}from"vue";import{isLinkHttp as v,keys as f,isDef as T}from"@vuepress/helper/client";const a=({name:e="",color:t="currentColor",ariaLabel:n},{attrs:i,slots:o})=>s("svg",{xmlns:"http://www.w3.org/2000/svg",class:["icon",`${e}-icon`],viewBox:"0 0 1024 1024",fill:t,"aria-label":n??`${e} icon`,...i},o.default?.());a.displayName="IconBase";const E=({size:e=48,stroke:t=4,wrapper:n=!0,height:i=2*e})=>{const o=s("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[s("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),s("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[s("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),s("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?s("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${i}px`},o):o};E.displayName="LoadingIcon";const B=(e,{slots:t})=>t.default?.(),y=()=>s(a,{name:"enter-fullscreen"},()=>s("path",{d:"M762.773 90.24h-497.28c-96.106 0-174.4 78.293-174.4 174.4v497.28c0 96.107 78.294 174.4 174.4 174.4h497.28c96.107 0 175.04-78.293 174.4-174.4V264.64c0-96.213-78.186-174.4-174.4-174.4zm-387.2 761.173H215.04c-21.867 0-40.427-17.92-41.067-41.066V649.92c0-22.507 17.92-40.427 40.427-40.427 11.307 0 21.227 4.694 28.48 11.947 7.253 7.253 11.947 17.92 11.947 28.48v62.293l145.28-145.28c15.893-15.893 41.813-15.893 57.706 0 15.894 15.894 15.894 41.814 0 57.707l-145.28 145.28h62.294c22.506 0 40.426 17.92 40.426 40.427s-17.173 41.066-39.68 41.066zM650.24 165.76h160.427c21.866 0 40.426 17.92 41.066 41.067v160.426c0 22.507-17.92 40.427-40.426 40.427-11.307 0-21.227-4.693-28.48-11.947-7.254-7.253-11.947-17.92-11.947-28.48v-62.186L625.6 450.347c-15.893 15.893-41.813 15.893-57.707 0-15.893-15.894-15.893-41.814 0-57.707l145.28-145.28H650.88c-22.507 0-40.427-17.92-40.427-40.427s17.174-41.173 39.787-41.173z"}));y.displayName="EnterFullScreenIcon";const I=()=>s(a,{name:"cancel-fullscreen"},()=>s("path",{d:"M778.468 78.62H247.922c-102.514 0-186.027 83.513-186.027 186.027V795.08c0 102.514 83.513 186.027 186.027 186.027h530.432c102.514 0 186.71-83.513 186.026-186.027V264.647C964.494 162.02 880.981 78.62 778.468 78.62zM250.88 574.35h171.122c23.324 0 43.122 19.115 43.804 43.805v171.121c0 24.008-19.114 43.122-43.122 43.122-12.06 0-22.641-5.006-30.378-12.743s-12.743-19.115-12.743-30.379V722.83L224.597 877.91c-16.953 16.952-44.6 16.952-61.553 0-16.953-16.954-16.953-44.602 0-61.554L318.009 661.39h-66.446c-24.007 0-43.122-19.114-43.122-43.122 0-24.12 18.432-43.918 42.439-43.918zm521.899-98.873H601.657c-23.325 0-43.122-19.114-43.805-43.804V260.55c0-24.007 19.115-43.122 43.122-43.122 12.06 0 22.642 5.007 30.379 12.743s12.743 19.115 12.743 30.38v66.445l154.965-154.965c16.953-16.953 44.601-16.953 61.554 0 16.953 16.953 16.953 44.6 0 61.554L705.536 388.55h66.446c24.007 0 43.122 19.115 43.122 43.122.114 24.007-18.318 43.804-42.325 43.804z"}));I.displayName="CancelFullScreenIcon";const G=e=>v(e)?e:`https://github.com/${e}`,k=(e="")=>!v(e)||e.includes("github.com")?"GitHub":e.includes("bitbucket.org")?"Bitbucket":e.includes("gitlab.com")?"GitLab":e.includes("gitee.com")?"Gitee":null,m=()=>s(a,{name:"github"},()=>s("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"}));m.displayName="GitHubIcon";const M=()=>s(a,{name:"gitlab"},()=>s("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"}));M.displayName="GitLabIcon";const d=()=>s(a,{name:"gitee"},()=>s("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"}));d.displayName="GiteeIcon";const h=()=>s(a,{name:"bitbucket"},()=>s("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"}));h.displayName="BitbucketIcon";const u=()=>s(a,{name:"source"},()=>s("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"}));u.displayName="SourceIcon";const P=({link:e,type:t=k(e??"")})=>{if(!t)return null;const n=t.toLowerCase();return s(n==="bitbucket"?h:n==="github"?m:n==="gitlab"?"GitLab":n==="gitee"?d:u)};function R(){const e=A(!1),t=$();return t&&V(()=>{e.value=!0},t),e}function j(e){return R(),w(()=>!!e())}const z=()=>j(()=>typeof window<"u"&&window.navigator&&"userAgent"in window.navigator),D=()=>{const e=z();return w(()=>e.value&&/\b(?:Android|iPhone)/i.test(navigator.userAgent))},F=e=>/\b(?:Android|iPhone)/i.test(e),O=e=>/ wv\).+(chrome)\/([\w.]+)/i.test(e),W=e=>/version\/([\w.]+) .*mobile\/\w+ (safari)/i.test(e),U=e=>/version\/([\w.]+) .*(mobile ?safari|safari)/i.test(e),_=e=>/\((ip(?:hone|od)[\w ]*);/i.test(e),Y=e=>[/\((ipad);[-\w),; ]+apple/i,/applecoremedia\/[\w.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i].some(t=>t.test(e)),q=e=>[/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(t=>t.test(e)),J=e=>[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i].some(t=>t.test(e)),K=e=>[/(mac os x) ?([\w. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i].some(t=>t.test(e)),L=(e,t=0)=>{let n=3735928559^t,i=1103547991^t;for(let o=0,c;o<e.length;o++)c=e.charCodeAt(o),n=Math.imul(n^c,2654435761),i=Math.imul(i^c,1597334677);return n=Math.imul(n^n>>>16,2246822507),n^=Math.imul(i^i>>>13,3266489909),i=Math.imul(i^i>>>16,2246822507),i^=Math.imul(n^n>>>13,3266489909),4294967296*(2097151&i)+(n>>>0)},Q=(e,t)=>L(e)%t;class X{containerElement;messageElements={};constructor(){const t="message-container",n=document.getElementById(t);n?this.containerElement=n:(this.containerElement=document.createElement("div"),this.containerElement.id=t,document.body.appendChild(this.containerElement))}pop(t,n=2e3){const i=document.createElement("div"),o=Date.now();return i.className="message move-in",i.innerHTML=t,this.containerElement.appendChild(i),this.messageElements[o]=i,n>0&&setTimeout(()=>{this.close(o)},n),o}close(t){if(t){const n=this.messageElements[t];n.classList.remove("move-in"),n.classList.add("move-out"),n.addEventListener("animationend",()=>{n.remove(),delete this.messageElements[t]})}else f(this.messageElements).forEach(n=>this.close(Number(n)))}destroy(){document.body.removeChild(this.containerElement)}}const x=/#.*$/u,C=e=>{const t=x.exec(e);return t?t[0]:""},p=e=>decodeURI(e).replace(x,"").replace(/\/index\.html$/iu,"/").replace(/\/(README|index)\.md$/iu,"/").replace(/\.(?:html|md)$/iu,""),Z=(e,t)=>{if(!T(t))return!1;const n=p(e.path),i=p(t),o=C(t);return o?o===e.hash&&(!i||n===i):n===i};class e1{containerElement;popupElements={};constructor(){const t="popup-container",n=document.getElementById(t);n?this.containerElement=n:(this.containerElement=document.createElement("div"),this.containerElement.id=t,document.body.appendChild(this.containerElement))}emit(t,n){const i=document.createElement("div"),o=document.createElement("div"),c=Date.now();return this.containerElement.appendChild(i),this.popupElements[c]=i,i.className="popup-wrapper appear",i.appendChild(o),i.addEventListener("click",()=>this.close(c)),o.className="popup-container",o.innerHTML=t,typeof n=="number"&&setTimeout(()=>{this.close(c)},n),c}close(t){if(t){const n=this.popupElements[t];n.classList.replace("appear","disappear"),n.children[0].addEventListener("animationend",()=>{n.remove(),delete this.popupElements[t]})}else f(this.popupElements).forEach(n=>this.close(Number(n)))}destroy(){document.body.removeChild(this.containerElement)}}const S=()=>{const{availWidth:e,availHeight:t}=screen,{screenLeft:n,screenTop:i,innerWidth:o,innerHeight:c}=window,l=Math.max(e/2,600),b=Math.max(t/2,400);return{width:l,height:b,left:n+o/2-l/2,top:i+c/2-b/2}},t1=(e,t="_blank",n=["resizable","status"])=>{const{width:i,height:o,left:c,top:l}=S();window.open(e,t,`width=${i},height=${o},left=${c},top=${l},${n.join(",")}`)?.focus?.()};var n1=e=>Object.prototype.toString.call(e)==="[object Object]",r=e=>typeof e=="string";const{isArray:H}=Array,N=e=>n1(e)&&r(e.name),i1=(e,t=!1)=>e?H(e)?e.map(n=>r(n)?{name:n}:N(n)?n:null).filter(n=>n!==null):r(e)?[{name:e}]:N(e)?[e]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${t?"":"| false"} | undefined\`, but got`,e),[]):[],g=(e,t)=>{if(e){if(H(e)&&e.every(r))return e;if(r(e))return[e];console.error(`Expect ${t} to be \`string[] | string | undefined\`, but got`,e)}return[]},o1=e=>g(e,"category"),s1=e=>g(e,"tag");export{h as BitbucketIcon,I as CancelFullScreenIcon,y as EnterFullScreenIcon,m as GitHubIcon,M as GitLabIcon,d as GiteeIcon,a as IconBase,E as LoadingIcon,X as Message,e1 as Popup,B as RenderDefault,P as RepoIcon,u as SourceIcon,O as checkIsChromeWebView,J as checkIsIOS,K as checkIsMacOS,F as checkIsMobile,U as checkIsSafari,W as checkIsSafariMobile,q as checkIsWindows,Y as checkIsiPad,_ as checkIsiPhone,L as cyrb53,Q as generateIndexFromHash,i1 as getAuthor,o1 as getCategory,C as getHash,S as getSize,g as getStringArray,s1 as getTag,Z as isActiveLink,p as normalizePath,t1 as openPopupWindow,G as resolveRepoLink,k as resolveRepoType,D as useIsMobile,z as useSupportUserAgent};
//# sourceMappingURL=index.js.map
import{Logger as Jt,isArray as Yt,getDate as ft}from"@vuepress/helper";import{colors as B,fs as pt,path as ot}from"vuepress/utils";const Ct=t=>{const e=new Jt(t);return{deprecatedLogger:({options:n,old:i,new:L,msg:y,scope:p})=>{if(i in n){if(console.warn(`${B.magenta(i)} is ${B.yellow("deprecated")}${p?` in ${p}`:""}, please use "${B.magenta(L)}" instead.${y?`
${y}`:""}`),L.includes(".")){const k=L.split(".");let Y=n;k.forEach((b,A)=>{A===k.length-1?Y[b]=n[i]:(Y[b]||={},Y=Y[b])})}else n[L]=n[i];delete n[i]}},droppedLogger:({options:n,old:i,msg:L,new:y})=>{i in n&&(e.error(`"${B.magenta(i)}" is ${B.red("removed")}${y?`, please use ${B.magenta(y)} instead.`:" and no longer supported"}${L?`
${L}`:""}`),delete n[i])}}};var et=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Lt={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(et,function(){var n=1e3,i=6e4,L=36e5,y="millisecond",p="second",k="minute",Y="hour",b="day",A="week",T="month",u="quarter",d="year",c="date",r="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|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(l){var o=["th","st","nd","rd"],s=l%100;return"["+l+(o[(s-20)%10]||o[s]||o[0])+"]"}},$=function(l,o,s){var _=String(l);return!_||_.length>=o?l:""+Array(o+1-_.length).join(s)+l},x={s:$,z:function(l){var o=-l.utcOffset(),s=Math.abs(o),_=Math.floor(s/60),a=s%60;return(o<=0?"+":"-")+$(_,2,"0")+":"+$(a,2,"0")},m:function l(o,s){if(o.date()<s.date())return-l(s,o);var _=12*(s.year()-o.year())+(s.month()-o.month()),a=o.clone().add(_,T),M=s-a<0,h=o.clone().add(_+(M?-1:1),T);return+(-(_+(s-a)/(M?a-h:h-a))||0)},a:function(l){return l<0?Math.ceil(l)||0:Math.floor(l)},p:function(l){return{M:T,y:d,w:A,d:b,D:c,h:Y,m:k,s:p,ms:y,Q:u}[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(l){return l===void 0}},w="en",j={};j[w]=S;var J="$isDayjsObject",N=function(l){return l instanceof at||!(!l||!l[J])},C=function l(o,s,_){var a;if(!o)return w;if(typeof o=="string"){var M=o.toLowerCase();j[M]&&(a=M),s&&(j[M]=s,a=M);var h=o.split("-");if(!a&&h.length>1)return l(h[0])}else{var H=o.name;j[H]=o,a=H}return!_&&a&&(w=a),a||!_&&w},D=function(l,o){if(N(l))return l.clone();var s=typeof o=="object"?o:{};return s.date=l,s.args=arguments,new at(s)},f=x;f.l=C,f.i=N,f.w=function(l,o){return D(l,{locale:o.$L,utc:o.$u,x:o.$x,$offset:o.$offset})};var at=function(){function l(s){this.$L=C(s.locale,null,!0),this.parse(s),this.$x=this.$x||s.x||{},this[J]=!0}var o=l.prototype;return o.parse=function(s){this.$d=function(_){var a=_.date,M=_.utc;if(a===null)return new Date(NaN);if(f.u(a))return new Date;if(a instanceof Date)return new Date(a);if(typeof a=="string"&&!/Z$/i.test(a)){var h=a.match(m);if(h){var H=h[2]-1||0,z=(h[7]||"0").substring(0,3);return M?new Date(Date.UTC(h[1],H,h[3]||1,h[4]||0,h[5]||0,h[6]||0,z)):new Date(h[1],H,h[3]||1,h[4]||0,h[5]||0,h[6]||0,z)}}return new Date(a)}(s),this.init()},o.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()},o.$utils=function(){return f},o.isValid=function(){return this.$d.toString()!==r},o.isSame=function(s,_){var a=D(s);return this.startOf(_)<=a&&a<=this.endOf(_)},o.isAfter=function(s,_){return D(s)<this.startOf(_)},o.isBefore=function(s,_){return this.endOf(_)<D(s)},o.$g=function(s,_,a){return f.u(s)?this[_]:this.set(a,s)},o.unix=function(){return Math.floor(this.valueOf()/1e3)},o.valueOf=function(){return this.$d.getTime()},o.startOf=function(s,_){var a=this,M=!!f.u(_)||_,h=f.p(s),H=function(K,U){var W=f.w(a.$u?Date.UTC(a.$y,U,K):new Date(a.$y,U,K),a);return M?W:W.endOf(b)},z=function(K,U){return f.w(a.toDate()[K].apply(a.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(U)),a)},O=this.$W,F=this.$M,E=this.$D,V="set"+(this.$u?"UTC":"");switch(h){case d:return M?H(1,0):H(31,11);case T:return M?H(1,F):H(0,F+1);case A:var q=this.$locale().weekStart||0,X=(O<q?O+7:O)-q;return H(M?E-X:E+(6-X),F);case b:case c:return z(V+"Hours",0);case Y:return z(V+"Minutes",1);case k:return z(V+"Seconds",2);case p:return z(V+"Milliseconds",3);default:return this.clone()}},o.endOf=function(s){return this.startOf(s,!1)},o.$set=function(s,_){var a,M=f.p(s),h="set"+(this.$u?"UTC":""),H=(a={},a[b]=h+"Date",a[c]=h+"Date",a[T]=h+"Month",a[d]=h+"FullYear",a[Y]=h+"Hours",a[k]=h+"Minutes",a[p]=h+"Seconds",a[y]=h+"Milliseconds",a)[M],z=M===b?this.$D+(_-this.$W):_;if(M===T||M===d){var O=this.clone().set(c,1);O.$d[H](z),O.init(),this.$d=O.set(c,Math.min(this.$D,O.daysInMonth())).$d}else H&&this.$d[H](z);return this.init(),this},o.set=function(s,_){return this.clone().$set(s,_)},o.get=function(s){return this[f.p(s)]()},o.add=function(s,_){var a,M=this;s=Number(s);var h=f.p(_),H=function(F){var E=D(M);return f.w(E.date(E.date()+Math.round(F*s)),M)};if(h===T)return this.set(T,this.$M+s);if(h===d)return this.set(d,this.$y+s);if(h===b)return H(1);if(h===A)return H(7);var z=(a={},a[k]=i,a[Y]=L,a[p]=n,a)[h]||1,O=this.$d.getTime()+s*z;return f.w(O,this)},o.subtract=function(s,_){return this.add(-1*s,_)},o.format=function(s){var _=this,a=this.$locale();if(!this.isValid())return a.invalidDate||r;var M=s||"YYYY-MM-DDTHH:mm:ssZ",h=f.z(this),H=this.$H,z=this.$m,O=this.$M,F=a.weekdays,E=a.months,V=a.meridiem,q=function(U,W,tt,it){return U&&(U[W]||U(_,M))||tt[W].slice(0,it)},X=function(U){return f.s(H%12||12,U,"0")},K=V||function(U,W,tt){var it=U<12?"AM":"PM";return tt?it.toLowerCase():it};return M.replace(v,function(U,W){return W||function(tt){switch(tt){case"YY":return String(_.$y).slice(-2);case"YYYY":return f.s(_.$y,4,"0");case"M":return O+1;case"MM":return f.s(O+1,2,"0");case"MMM":return q(a.monthsShort,O,E,3);case"MMMM":return q(E,O);case"D":return _.$D;case"DD":return f.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return q(a.weekdaysMin,_.$W,F,2);case"ddd":return q(a.weekdaysShort,_.$W,F,3);case"dddd":return F[_.$W];case"H":return String(H);case"HH":return f.s(H,2,"0");case"h":return X(1);case"hh":return X(2);case"a":return K(H,z,!0);case"A":return K(H,z,!1);case"m":return String(z);case"mm":return f.s(z,2,"0");case"s":return String(_.$s);case"ss":return f.s(_.$s,2,"0");case"SSS":return f.s(_.$ms,3,"0");case"Z":return h}return null}(U)||h.replace(":","")})},o.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},o.diff=function(s,_,a){var M,h=this,H=f.p(_),z=D(s),O=(z.utcOffset()-this.utcOffset())*i,F=this-z,E=function(){return f.m(h,z)};switch(H){case d:M=E()/12;break;case T:M=E();break;case u:M=E()/3;break;case A:M=(F-O)/6048e5;break;case b:M=(F-O)/864e5;break;case Y:M=F/L;break;case k:M=F/i;break;case p:M=F/n;break;default:M=F}return a?M:f.a(M)},o.daysInMonth=function(){return this.endOf(T).$D},o.$locale=function(){return j[this.$L]},o.locale=function(s,_){if(!s)return this.$L;var a=this.clone(),M=C(s,_,!0);return M&&(a.$L=M),a},o.clone=function(){return f.w(this.$d,this)},o.toDate=function(){return new Date(this.valueOf())},o.toJSON=function(){return this.isValid()?this.toISOString():null},o.toISOString=function(){return this.$d.toISOString()},o.toString=function(){return this.$d.toUTCString()},l}(),ht=at.prototype;return D.prototype=ht,[["$ms",y],["$s",p],["$m",k],["$H",Y],["$W",b],["$M",T],["$y",d],["$D",c]].forEach(function(l){ht[l[1]]=function(o){return this.$g(o,l[0],l[1])}}),D.extend=function(l,o){return l.$i||(l(o,at,D),l.$i=!0),D},D.locale=C,D.isDayjs=N,D.unix=function(l){return D(1e3*l)},D.en=j[w],D.Ls=j,D.p={},D})})(Lt);var Ft=Lt.exports,g=nt(Ft),yt={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(et,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(i,L,y){var p=L.prototype,k=p.format;y.en.formats=n,p.format=function(Y){Y===void 0&&(Y="YYYY-MM-DDTHH:mm:ssZ");var b=this.$locale().formats,A=function(T,u){return T.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(d,c,r){var m=r&&r.toUpperCase();return c||u[r]||n[r]||u[m].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,S,$){return S||$.slice(1)})})}(Y,b===void 0?{}:b);return k.call(this,A)}}})})(yt);var Nt=yt.exports,Ut=nt(Nt),$t={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(et,function(){return function(n,i,L){var y=i.prototype,p=function(u){var d,c=u.date,r=u.utc,m={};if(!((d=c)===null||d instanceof Date||d instanceof Array||y.$utils().u(d)||d.constructor.name!=="Object")){if(!Object.keys(c).length)return new Date;var v=r?L.utc():L();Object.keys(c).forEach(function(C){var D,f;m[D=C,f=y.$utils().p(D),f==="date"?"day":f]=c[C]});var S=m.day||(m.year||m.month>=0?1:v.date()),$=m.year||v.year(),x=m.month>=0?m.month:m.year||m.day?0:v.month(),w=m.hour||0,j=m.minute||0,J=m.second||0,N=m.millisecond||0;return r?new Date(Date.UTC($,x,S,w,j,J,N)):new Date($,x,S,w,j,J,N)}return c},k=y.parse;y.parse=function(u){u.date=p.bind(this)(u),k.bind(this)(u)};var Y=y.set,b=y.add,A=y.subtract,T=function(u,d,c,r){r===void 0&&(r=1);var m=Object.keys(d),v=this;return m.forEach(function(S){v=u.bind(v)(d[S]*r,S)}),v};y.set=function(u,d){return d=d===void 0?u:d,u.constructor.name==="Object"?T.bind(this)(function(c,r){return Y.bind(this)(r,c)},d,u):Y.bind(this)(u,d)},y.add=function(u,d){return u.constructor.name==="Object"?T.bind(this)(b,u,d):b.bind(this)(u,d)},y.subtract=function(u,d){return u.constructor.name==="Object"?T.bind(this)(b,u,d,-1):A.bind(this)(u,d)}}})})($t);var Et=$t.exports,Zt=nt(Et),Dt={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(et,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},i={};return function(L,y,p){var k,Y=function(u,d,c){c===void 0&&(c={});var r=new Date(u),m=function(v,S){S===void 0&&(S={});var $=S.timeZoneName||"short",x=v+"|"+$,w=i[x];return w||(w=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:v,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:$}),i[x]=w),w}(d,c);return m.formatToParts(r)},b=function(u,d){for(var c=Y(u,d),r=[],m=0;m<c.length;m+=1){var v=c[m],S=v.type,$=v.value,x=n[S];x>=0&&(r[x]=parseInt($,10))}var w=r[3],j=w===24?0:w,J=r[0]+"-"+r[1]+"-"+r[2]+" "+j+":"+r[4]+":"+r[5]+":000",N=+u;return(p.utc(J).valueOf()-(N-=N%1e3))/6e4},A=y.prototype;A.tz=function(u,d){u===void 0&&(u=k);var c,r=this.utcOffset(),m=this.toDate(),v=m.toLocaleString("en-US",{timeZone:u}),S=Math.round((m-new Date(v))/1e3/60),$=15*-Math.round(m.getTimezoneOffset()/15)-S;if(!Number($))c=this.utcOffset(0,d);else if(c=p(v,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset($,!0),d){var x=c.utcOffset();c=c.add(r-x,"minute")}return c.$x.$timezone=u,c},A.offsetName=function(u){var d=this.$x.$timezone||p.tz.guess(),c=Y(this.valueOf(),d,{timeZoneName:u}).find(function(r){return r.type.toLowerCase()==="timezonename"});return c&&c.value};var T=A.startOf;A.startOf=function(u,d){if(!this.$x||!this.$x.$timezone)return T.call(this,u,d);var c=p(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return T.call(c,u,d).tz(this.$x.$timezone,!0)},p.tz=function(u,d,c){var r=c&&d,m=c||d||k,v=b(+p(),m);if(typeof u!="string")return p(u).tz(m);var S=function(j,J,N){var C=j-60*J*1e3,D=b(C,N);if(J===D)return[C,J];var f=b(C-=60*(D-J)*1e3,N);return D===f?[C,D]:[j-60*Math.min(D,f)*1e3,Math.max(D,f)]}(p.utc(u,r).valueOf(),v,m),$=S[0],x=S[1],w=p($).utcOffset(x);return w.$x.$timezone=m,w},p.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},p.tz.setDefault=function(u){k=u}}})})(Dt);var It=Dt.exports,Pt=nt(It),gt={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(et,function(){var n="minute",i=/[+-]\d\d(?::?\d\d)?/g,L=/([+-]|\d\d)/g;return function(y,p,k){var Y=p.prototype;k.utc=function(r){var m={date:r,utc:!0,args:arguments};return new p(m)},Y.utc=function(r){var m=k(this.toDate(),{locale:this.$L,utc:!0});return r?m.add(this.utcOffset(),n):m},Y.local=function(){return k(this.toDate(),{locale:this.$L,utc:!1})};var b=Y.parse;Y.parse=function(r){r.utc&&(this.$u=!0),this.$utils().u(r.$offset)||(this.$offset=r.$offset),b.call(this,r)};var A=Y.init;Y.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 A.call(this)};var T=Y.utcOffset;Y.utcOffset=function(r,m){var v=this.$utils().u;if(v(r))return this.$u?0:v(this.$offset)?T.call(this):this.$offset;if(typeof r=="string"&&(r=function(w){w===void 0&&(w="");var j=w.match(i);if(!j)return null;var J=(""+j[0]).match(L)||["-",0,0],N=J[0],C=60*+J[1]+ +J[2];return C===0?0:N==="+"?C:-C}(r),r===null))return this;var S=Math.abs(r)<=16?60*r:r,$=this;if(m)return $.$offset=S,$.$u=r===0,$;if(r!==0){var x=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();($=this.local().add(S+x,n)).$offset=S,$.$x.$localOffset=x}else $=this.utc();return $};var u=Y.format;Y.format=function(r){var m=r||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,m)},Y.valueOf=function(){var r=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*r},Y.isUTC=function(){return!!this.$u},Y.toISOString=function(){return this.toDate().toISOString()},Y.toString=function(){return this.toDate().toUTCString()};var d=Y.toDate;Y.toDate=function(r){return r==="s"&&this.$offset?k(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var c=Y.diff;Y.diff=function(r,m,v){if(r&&this.$u===r.$u)return c.call(this,r,m,v);var S=this.local(),$=k(r).local();return c.call(S,$,m,v)}}})})(gt);var Wt=gt.exports,qt=nt(Wt);const Kt={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"]},Z=(t,e,n)=>{let i=Kt[n];return Yt(i)&&(i=i[e?0:1]),i.replace("%d",t)},Rt={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:t=>`${t}.`,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:Z,m:Z,mm:Z,h:Z,hh:Z,d:Z,dd:Z,M:Z,MM:Z,y:Z,yy:Z}},Vt=t=>{t.locale("de-at",Rt)},Bt={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"]},I=(t,e,n)=>{let i=Bt[n];return Yt(i)&&(i=i[e?0:1]),i.replace("%d",t)},Gt={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:t=>`${t}.`,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:I,m:I,mm:I,h:I,hh:I,d:I,dd:I,M:I,MM:I,y:I,yy:I}},Qt=t=>{t.locale("de",Gt)},Xt={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("_")},te=t=>{t.locale("en",Xt)},ee={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:t=>`${t}º`},ne=t=>{t.locale("es",ee)},re={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:t=>`${t}${t===1?"er":""}`},se=t=>{t.locale("fr",re)},ae={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Ming._Sen._Sel._Rab._Kam._Jum._Sab.".split("_"),weekdaysMin:"Mg._Sn._Sl._Rb._Km._Jm._Sb.".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Mei_Jun._Jul._Agu._Sep._Okt._Nov._Des.".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:"sebelum %s",past:"setelah %s",s:"beberapa detik yang lalu",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:t=>`${t}.`},ie=t=>{t.locale("id",ae)},oe={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:t=>`${t}日`,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:(t,e)=>{const n=t*100+e;return n<600?"朝":n<1200?"午前":n<1800?"午後":n<2e3?"晚":"夜"}},_e=t=>{t.locale("ja",oe)},ue={name:"ko-kr",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:t=>`${t}`,formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:t=>t<12?"오전":"오후",relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}},de=t=>{t.locale("ko",ue)},me={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_")},le=t=>{t.locale("nl",me)},_t=t=>t%10<5&&t%10>1&&~~(t/10)%10!==1,G=(t,e,n)=>{const i=`${t} `;switch(n){case"m":return e?"minuta":"minutę";case"mm":return i+(_t(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return i+(_t(t)?"godziny":"godzin");case"MM":return i+(_t(t)?"miesiące":"miesięcy");case"yy":return i+(_t(t)?"lata":"lat")}},vt="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),St="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),ce=/D MMMM/,ut=(t,e)=>ce.test(e)?vt[t.month()]:St[t.month()];ut.s=St,ut.f=vt;const Me={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:ut,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:t=>`${t}.`,weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:G,mm:G,h:G,hh:G,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:G,y:"rok",yy:G},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"}},he=t=>{t.locale("pl",Me)},Ye={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:t=>`${t}º`,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"}},fe=t=>{t.locale("pt-br",Ye)},Ht="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),kt="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),bt="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),wt="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),Tt=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,pe=(t,e)=>{const n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]},Q=(t,e,n)=>n==="m"?e?"минута":"минуту":`${t} ${pe({mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n],Number(t))}`,dt=(t,e)=>Tt.test(e)?Ht[t.month()]:kt[t.month()];dt.s=kt,dt.f=Ht;const mt=(t,e)=>Tt.test(e)?bt[t.month()]:wt[t.month()];mt.s=wt,mt.f=bt;const Le={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:dt,monthsShort:mt,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:Q,mm:Q,h:"час",hh:Q,d:"день",dd:Q,M:"месяц",MM:Q,y:"год",yy:Q},ordinal:t=>t,meridiem:t=>t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},ye=t=>{t.locale("ru",Le)},rt=t=>t>1&&t<5&&~~(t/10)!==1,P=(t,e,n,i)=>{const L=`${t} `;switch(n){case"s":return e||i?"pár sekúnd":"pár sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?L+(rt(t)?"minúty":"minút"):`${L}minútami`;case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?L+(rt(t)?"hodiny":"hodín"):`${L}hodinami`;case"d":return e||i?"deň":"dňom";case"dd":return e||i?L+(rt(t)?"dni":"dní"):`${L}dňami`;case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?L+(rt(t)?"mesiace":"mesiacov"):`${L}mesiacmi`;case"y":return e||i?"rok":"rokom";case"yy":return e||i?L+(rt(t)?"roky":"rokov"):`${L}rokmi`}},$e={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:t=>`${t}.`,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:P,m:P,mm:P,h:P,hh:P,d:P,dd:P,M:P,MM:P,y:P,yy:P}},De=t=>{t.locale("sk",$e)},ge={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:t=>`${t}.`,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"}},ve=t=>{t.locale("tr",ge)},zt="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),jt="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),Se=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,He=(t,e)=>{const n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]},R=(t,e,n)=>n==="m"?e?"хвилина":"хвилину":n==="h"?e?"година":"годину":`${t} ${He({ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n],Number(t))}`,lt=(t,e)=>Se.test(e)?zt[t.month()]:jt[t.month()];lt.s=jt,lt.f=zt;const ke={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:lt,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:R,mm:R,h:R,hh:R,d:"день",dd:R,M:"місяць",MM:R,y:"рік",yy:R},ordinal:t=>t,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"}},be=t=>{t.locale("uk",ke)},we={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:t=>t,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"}},Te=t=>{t.locale("vi",we)},ze={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:t=>`${t}日`,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 年"}},je=t=>{t.locale("zh-tw",ze)},Oe={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:(t,e)=>{switch(e){case"W":return`${t}周`;default:return`${t}日`}},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:(t,e)=>{const n=t*100+e;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}},Ae=t=>{t.locale("zh",Oe)};g.extend(Ut),g.extend(Zt),g.extend(qt),g.extend(Pt),Qt(g),Vt(g),te(g),ne(g),se(g),ie(g),le(g),he(g),fe(g),ye(g),De(g),be(g),Te(g),Ae(g),je(g),_e(g),ve(g),de(g);const xe=(t="en")=>{const e=t.toLowerCase();return["de","de-at","en","es","fr","id","nl","pl","pt-br","ru","sk","uk","vi","zh","zh-tw","ja","tr","ko"].includes(e)?e:e==="en-us"||e==="en-uk"?"en":e==="nl-nl"?"nl":e==="de-de"?"de":e==="es-es"?"es":e==="fr-fr"?"fr":e==="id-id"?"id":e==="pl-pl"?"pl":e==="ru-ru"?"ru":e==="uk-ua"?"uk":e==="sk-sk"?"sk":e==="vi-vn"?"vi":e==="zh-cn"?"zh":e==="ja-jp"?"ja":e==="tr-tr"?"tr":e==="ko-kr"?"ko":(console.warn(`${t} locale missing in config`),"en")},Je=t=>g(t).format("YYYY-MM-DD"),Ce=t=>g(t).format("HH:mm:ss"),Fe=t=>g(t).format("YYYY-MM-DD HH:mm:ss"),ct=(t,e={})=>{const n=ft(t);if(n){const{lang:i,timezone:L,type:y}=e;g.locale(xe(i));const p=L?g(n.toISOString()).tz(L):g(n),k=p.hour()===0&&p.minute()===0&&p.second()===0&&p.millisecond()===0;return p.format(y==="date"?"LL":y==="time"?"HH:ss":k?"LL":"LLL")}return null},Ne=t=>{if(!t.data.localizedDate)if(t.frontmatter.date){const e=ft(t.frontmatter.date);e&&(t.data.localizedDate=ct(e,{lang:t.lang,type:"date"}))}else t.data.git?.createdTime&&(t.data.localizedDate=ct(new Date(t.data.git?.createdTime),{lang:t.lang,type:"date"}))},Ot=(t,e="")=>pt.readdirSync(t).map(n=>pt.statSync(ot.join(t,n)).isDirectory()?Ot(ot.join(t,n),ot.join(e,n)):ot.join(e,n)).flat(),Ue=["and","or","in","on","with","by","for","at","about","under","of","to","the","into"],Ee=t=>t.replace(/[-_]/gu," ").replace(/(^|[^A-Z])([A-Z])/gu,(e,n,i)=>`${n} ${i.toLowerCase()}`).replace(/ +/gu," ").trim().split(" ").map((e,n)=>Ue.includes(e)&&n!==0?e:e.charAt(0).toUpperCase()+e.slice(1)).join(" ");var Ze=t=>Object.prototype.toString.call(t)==="[object Object]",st=t=>typeof t=="string";const At=Array.isArray,xt=t=>Ze(t)&&st(t.name),Ie=(t,e=!1)=>t?At(t)?t.map(n=>st(n)?{name:n}:xt(n)?n:null).filter(n=>n!==null):st(t)?[{name:t}]:xt(t)?[t]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${e?"":"| false"} | undefined\`, but got`,t),[]):[],Mt=(t,e)=>{if(t){if(At(t)&&t.every(st))return t;if(st(t))return[t];console.error(`Expect ${e} to be \`string[] | string | undefined\`, but got`,t)}return[]},Pe=t=>Mt(t,"category"),We=t=>Mt(t,"tag");export{Ct as createConverter,Ie as getAuthor,Pe as getCategory,Je as getDateString,Ot as getDirContents,Fe as getFullDateString,Mt as getStringArray,We as getTag,Ce as getTimeString,Ee as getTitleFromFilename,Ne as injectLocalizedDate,ct as timeTransformer};
${L}`:""}`),delete n[i])}}};var et=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Lt={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(et,function(){var n=1e3,i=6e4,L=36e5,y="millisecond",p="second",k="minute",Y="hour",b="day",A="week",T="month",u="quarter",d="year",c="date",r="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|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(l){var o=["th","st","nd","rd"],s=l%100;return"["+l+(o[(s-20)%10]||o[s]||o[0])+"]"}},$=function(l,o,s){var _=String(l);return!_||_.length>=o?l:""+Array(o+1-_.length).join(s)+l},x={s:$,z:function(l){var o=-l.utcOffset(),s=Math.abs(o),_=Math.floor(s/60),a=s%60;return(o<=0?"+":"-")+$(_,2,"0")+":"+$(a,2,"0")},m:function l(o,s){if(o.date()<s.date())return-l(s,o);var _=12*(s.year()-o.year())+(s.month()-o.month()),a=o.clone().add(_,T),M=s-a<0,h=o.clone().add(_+(M?-1:1),T);return+(-(_+(s-a)/(M?a-h:h-a))||0)},a:function(l){return l<0?Math.ceil(l)||0:Math.floor(l)},p:function(l){return{M:T,y:d,w:A,d:b,D:c,h:Y,m:k,s:p,ms:y,Q:u}[l]||String(l||"").toLowerCase().replace(/s$/,"")},u:function(l){return l===void 0}},w="en",j={};j[w]=S;var J="$isDayjsObject",N=function(l){return l instanceof at||!(!l||!l[J])},C=function l(o,s,_){var a;if(!o)return w;if(typeof o=="string"){var M=o.toLowerCase();j[M]&&(a=M),s&&(j[M]=s,a=M);var h=o.split("-");if(!a&&h.length>1)return l(h[0])}else{var H=o.name;j[H]=o,a=H}return!_&&a&&(w=a),a||!_&&w},D=function(l,o){if(N(l))return l.clone();var s=typeof o=="object"?o:{};return s.date=l,s.args=arguments,new at(s)},f=x;f.l=C,f.i=N,f.w=function(l,o){return D(l,{locale:o.$L,utc:o.$u,x:o.$x,$offset:o.$offset})};var at=function(){function l(s){this.$L=C(s.locale,null,!0),this.parse(s),this.$x=this.$x||s.x||{},this[J]=!0}var o=l.prototype;return o.parse=function(s){this.$d=function(_){var a=_.date,M=_.utc;if(a===null)return new Date(NaN);if(f.u(a))return new Date;if(a instanceof Date)return new Date(a);if(typeof a=="string"&&!/Z$/i.test(a)){var h=a.match(m);if(h){var H=h[2]-1||0,z=(h[7]||"0").substring(0,3);return M?new Date(Date.UTC(h[1],H,h[3]||1,h[4]||0,h[5]||0,h[6]||0,z)):new Date(h[1],H,h[3]||1,h[4]||0,h[5]||0,h[6]||0,z)}}return new Date(a)}(s),this.init()},o.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()},o.$utils=function(){return f},o.isValid=function(){return this.$d.toString()!==r},o.isSame=function(s,_){var a=D(s);return this.startOf(_)<=a&&a<=this.endOf(_)},o.isAfter=function(s,_){return D(s)<this.startOf(_)},o.isBefore=function(s,_){return this.endOf(_)<D(s)},o.$g=function(s,_,a){return f.u(s)?this[_]:this.set(a,s)},o.unix=function(){return Math.floor(this.valueOf()/1e3)},o.valueOf=function(){return this.$d.getTime()},o.startOf=function(s,_){var a=this,M=!!f.u(_)||_,h=f.p(s),H=function(K,U){var W=f.w(a.$u?Date.UTC(a.$y,U,K):new Date(a.$y,U,K),a);return M?W:W.endOf(b)},z=function(K,U){return f.w(a.toDate()[K].apply(a.toDate("s"),(M?[0,0,0,0]:[23,59,59,999]).slice(U)),a)},O=this.$W,F=this.$M,E=this.$D,V="set"+(this.$u?"UTC":"");switch(h){case d:return M?H(1,0):H(31,11);case T:return M?H(1,F):H(0,F+1);case A:var q=this.$locale().weekStart||0,X=(O<q?O+7:O)-q;return H(M?E-X:E+(6-X),F);case b:case c:return z(V+"Hours",0);case Y:return z(V+"Minutes",1);case k:return z(V+"Seconds",2);case p:return z(V+"Milliseconds",3);default:return this.clone()}},o.endOf=function(s){return this.startOf(s,!1)},o.$set=function(s,_){var a,M=f.p(s),h="set"+(this.$u?"UTC":""),H=(a={},a[b]=h+"Date",a[c]=h+"Date",a[T]=h+"Month",a[d]=h+"FullYear",a[Y]=h+"Hours",a[k]=h+"Minutes",a[p]=h+"Seconds",a[y]=h+"Milliseconds",a)[M],z=M===b?this.$D+(_-this.$W):_;if(M===T||M===d){var O=this.clone().set(c,1);O.$d[H](z),O.init(),this.$d=O.set(c,Math.min(this.$D,O.daysInMonth())).$d}else H&&this.$d[H](z);return this.init(),this},o.set=function(s,_){return this.clone().$set(s,_)},o.get=function(s){return this[f.p(s)]()},o.add=function(s,_){var a,M=this;s=Number(s);var h=f.p(_),H=function(F){var E=D(M);return f.w(E.date(E.date()+Math.round(F*s)),M)};if(h===T)return this.set(T,this.$M+s);if(h===d)return this.set(d,this.$y+s);if(h===b)return H(1);if(h===A)return H(7);var z=(a={},a[k]=i,a[Y]=L,a[p]=n,a)[h]||1,O=this.$d.getTime()+s*z;return f.w(O,this)},o.subtract=function(s,_){return this.add(-1*s,_)},o.format=function(s){var _=this,a=this.$locale();if(!this.isValid())return a.invalidDate||r;var M=s||"YYYY-MM-DDTHH:mm:ssZ",h=f.z(this),H=this.$H,z=this.$m,O=this.$M,F=a.weekdays,E=a.months,V=a.meridiem,q=function(U,W,tt,it){return U&&(U[W]||U(_,M))||tt[W].slice(0,it)},X=function(U){return f.s(H%12||12,U,"0")},K=V||function(U,W,tt){var it=U<12?"AM":"PM";return tt?it.toLowerCase():it};return M.replace(v,function(U,W){return W||function(tt){switch(tt){case"YY":return String(_.$y).slice(-2);case"YYYY":return f.s(_.$y,4,"0");case"M":return O+1;case"MM":return f.s(O+1,2,"0");case"MMM":return q(a.monthsShort,O,E,3);case"MMMM":return q(E,O);case"D":return _.$D;case"DD":return f.s(_.$D,2,"0");case"d":return String(_.$W);case"dd":return q(a.weekdaysMin,_.$W,F,2);case"ddd":return q(a.weekdaysShort,_.$W,F,3);case"dddd":return F[_.$W];case"H":return String(H);case"HH":return f.s(H,2,"0");case"h":return X(1);case"hh":return X(2);case"a":return K(H,z,!0);case"A":return K(H,z,!1);case"m":return String(z);case"mm":return f.s(z,2,"0");case"s":return String(_.$s);case"ss":return f.s(_.$s,2,"0");case"SSS":return f.s(_.$ms,3,"0");case"Z":return h}return null}(U)||h.replace(":","")})},o.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},o.diff=function(s,_,a){var M,h=this,H=f.p(_),z=D(s),O=(z.utcOffset()-this.utcOffset())*i,F=this-z,E=function(){return f.m(h,z)};switch(H){case d:M=E()/12;break;case T:M=E();break;case u:M=E()/3;break;case A:M=(F-O)/6048e5;break;case b:M=(F-O)/864e5;break;case Y:M=F/L;break;case k:M=F/i;break;case p:M=F/n;break;default:M=F}return a?M:f.a(M)},o.daysInMonth=function(){return this.endOf(T).$D},o.$locale=function(){return j[this.$L]},o.locale=function(s,_){if(!s)return this.$L;var a=this.clone(),M=C(s,_,!0);return M&&(a.$L=M),a},o.clone=function(){return f.w(this.$d,this)},o.toDate=function(){return new Date(this.valueOf())},o.toJSON=function(){return this.isValid()?this.toISOString():null},o.toISOString=function(){return this.$d.toISOString()},o.toString=function(){return this.$d.toUTCString()},l}(),ht=at.prototype;return D.prototype=ht,[["$ms",y],["$s",p],["$m",k],["$H",Y],["$W",b],["$M",T],["$y",d],["$D",c]].forEach(function(l){ht[l[1]]=function(o){return this.$g(o,l[0],l[1])}}),D.extend=function(l,o){return l.$i||(l(o,at,D),l.$i=!0),D},D.locale=C,D.isDayjs=N,D.unix=function(l){return D(1e3*l)},D.en=j[w],D.Ls=j,D.p={},D})})(Lt);var Ft=Lt.exports,g=nt(Ft),yt={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(et,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(i,L,y){var p=L.prototype,k=p.format;y.en.formats=n,p.format=function(Y){Y===void 0&&(Y="YYYY-MM-DDTHH:mm:ssZ");var b=this.$locale().formats,A=function(T,u){return T.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(d,c,r){var m=r&&r.toUpperCase();return c||u[r]||n[r]||u[m].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,S,$){return S||$.slice(1)})})}(Y,b===void 0?{}:b);return k.call(this,A)}}})})(yt);var Nt=yt.exports,Ut=nt(Nt),$t={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(et,function(){return function(n,i,L){var y=i.prototype,p=function(u){var d,c=u.date,r=u.utc,m={};if(!((d=c)===null||d instanceof Date||d instanceof Array||y.$utils().u(d)||d.constructor.name!=="Object")){if(!Object.keys(c).length)return new Date;var v=r?L.utc():L();Object.keys(c).forEach(function(C){var D,f;m[D=C,f=y.$utils().p(D),f==="date"?"day":f]=c[C]});var S=m.day||(m.year||m.month>=0?1:v.date()),$=m.year||v.year(),x=m.month>=0?m.month:m.year||m.day?0:v.month(),w=m.hour||0,j=m.minute||0,J=m.second||0,N=m.millisecond||0;return r?new Date(Date.UTC($,x,S,w,j,J,N)):new Date($,x,S,w,j,J,N)}return c},k=y.parse;y.parse=function(u){u.date=p.bind(this)(u),k.bind(this)(u)};var Y=y.set,b=y.add,A=y.subtract,T=function(u,d,c,r){r===void 0&&(r=1);var m=Object.keys(d),v=this;return m.forEach(function(S){v=u.bind(v)(d[S]*r,S)}),v};y.set=function(u,d){return d=d===void 0?u:d,u.constructor.name==="Object"?T.bind(this)(function(c,r){return Y.bind(this)(r,c)},d,u):Y.bind(this)(u,d)},y.add=function(u,d){return u.constructor.name==="Object"?T.bind(this)(b,u,d):b.bind(this)(u,d)},y.subtract=function(u,d){return u.constructor.name==="Object"?T.bind(this)(b,u,d,-1):A.bind(this)(u,d)}}})})($t);var Et=$t.exports,Zt=nt(Et),Dt={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(et,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},i={};return function(L,y,p){var k,Y=function(u,d,c){c===void 0&&(c={});var r=new Date(u),m=function(v,S){S===void 0&&(S={});var $=S.timeZoneName||"short",x=v+"|"+$,w=i[x];return w||(w=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:v,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:$}),i[x]=w),w}(d,c);return m.formatToParts(r)},b=function(u,d){for(var c=Y(u,d),r=[],m=0;m<c.length;m+=1){var v=c[m],S=v.type,$=v.value,x=n[S];x>=0&&(r[x]=parseInt($,10))}var w=r[3],j=w===24?0:w,J=r[0]+"-"+r[1]+"-"+r[2]+" "+j+":"+r[4]+":"+r[5]+":000",N=+u;return(p.utc(J).valueOf()-(N-=N%1e3))/6e4},A=y.prototype;A.tz=function(u,d){u===void 0&&(u=k);var c,r=this.utcOffset(),m=this.toDate(),v=m.toLocaleString("en-US",{timeZone:u}),S=Math.round((m-new Date(v))/1e3/60),$=15*-Math.round(m.getTimezoneOffset()/15)-S;if(!Number($))c=this.utcOffset(0,d);else if(c=p(v,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset($,!0),d){var x=c.utcOffset();c=c.add(r-x,"minute")}return c.$x.$timezone=u,c},A.offsetName=function(u){var d=this.$x.$timezone||p.tz.guess(),c=Y(this.valueOf(),d,{timeZoneName:u}).find(function(r){return r.type.toLowerCase()==="timezonename"});return c&&c.value};var T=A.startOf;A.startOf=function(u,d){if(!this.$x||!this.$x.$timezone)return T.call(this,u,d);var c=p(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return T.call(c,u,d).tz(this.$x.$timezone,!0)},p.tz=function(u,d,c){var r=c&&d,m=c||d||k,v=b(+p(),m);if(typeof u!="string")return p(u).tz(m);var S=function(j,J,N){var C=j-60*J*1e3,D=b(C,N);if(J===D)return[C,J];var f=b(C-=60*(D-J)*1e3,N);return D===f?[C,D]:[j-60*Math.min(D,f)*1e3,Math.max(D,f)]}(p.utc(u,r).valueOf(),v,m),$=S[0],x=S[1],w=p($).utcOffset(x);return w.$x.$timezone=m,w},p.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},p.tz.setDefault=function(u){k=u}}})})(Dt);var It=Dt.exports,Pt=nt(It),gt={exports:{}};(function(t,e){(function(n,i){t.exports=i()})(et,function(){var n="minute",i=/[+-]\d\d(?::?\d\d)?/g,L=/([+-]|\d\d)/g;return function(y,p,k){var Y=p.prototype;k.utc=function(r){var m={date:r,utc:!0,args:arguments};return new p(m)},Y.utc=function(r){var m=k(this.toDate(),{locale:this.$L,utc:!0});return r?m.add(this.utcOffset(),n):m},Y.local=function(){return k(this.toDate(),{locale:this.$L,utc:!1})};var b=Y.parse;Y.parse=function(r){r.utc&&(this.$u=!0),this.$utils().u(r.$offset)||(this.$offset=r.$offset),b.call(this,r)};var A=Y.init;Y.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 A.call(this)};var T=Y.utcOffset;Y.utcOffset=function(r,m){var v=this.$utils().u;if(v(r))return this.$u?0:v(this.$offset)?T.call(this):this.$offset;if(typeof r=="string"&&(r=function(w){w===void 0&&(w="");var j=w.match(i);if(!j)return null;var J=(""+j[0]).match(L)||["-",0,0],N=J[0],C=60*+J[1]+ +J[2];return C===0?0:N==="+"?C:-C}(r),r===null))return this;var S=Math.abs(r)<=16?60*r:r,$=this;if(m)return $.$offset=S,$.$u=r===0,$;if(r!==0){var x=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();($=this.local().add(S+x,n)).$offset=S,$.$x.$localOffset=x}else $=this.utc();return $};var u=Y.format;Y.format=function(r){var m=r||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,m)},Y.valueOf=function(){var r=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*r},Y.isUTC=function(){return!!this.$u},Y.toISOString=function(){return this.toDate().toISOString()},Y.toString=function(){return this.toDate().toUTCString()};var d=Y.toDate;Y.toDate=function(r){return r==="s"&&this.$offset?k(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var c=Y.diff;Y.diff=function(r,m,v){if(r&&this.$u===r.$u)return c.call(this,r,m,v);var S=this.local(),$=k(r).local();return c.call(S,$,m,v)}}})})(gt);var Wt=gt.exports,qt=nt(Wt);const Kt={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"]},Z=(t,e,n)=>{let i=Kt[n];return Yt(i)&&(i=i[e?0:1]),i.replace("%d",t)},Rt={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:t=>`${t}.`,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:Z,m:Z,mm:Z,h:Z,hh:Z,d:Z,dd:Z,M:Z,MM:Z,y:Z,yy:Z}},Vt=t=>{t.locale("de-at",Rt)},Bt={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"]},I=(t,e,n)=>{let i=Bt[n];return Yt(i)&&(i=i[e?0:1]),i.replace("%d",t)},Gt={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:t=>`${t}.`,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:I,m:I,mm:I,h:I,hh:I,d:I,dd:I,M:I,MM:I,y:I,yy:I}},Qt=t=>{t.locale("de",Gt)},Xt={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("_")},te=t=>{t.locale("en",Xt)},ee={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:t=>`${t}º`},ne=t=>{t.locale("es",ee)},re={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:t=>`${t}${t===1?"er":""}`},se=t=>{t.locale("fr",re)},ae={name:"id",weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Ming._Sen._Sel._Rab._Kam._Jum._Sab.".split("_"),weekdaysMin:"Mg._Sn._Sl._Rb._Km._Jm._Sb.".split("_"),months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan._Feb._Mar._Apr._Mei_Jun._Jul._Agu._Sep._Okt._Nov._Des.".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:"sebelum %s",past:"setelah %s",s:"beberapa detik yang lalu",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},ordinal:t=>`${t}.`},ie=t=>{t.locale("id",ae)},oe={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:t=>`${t}日`,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:(t,e)=>{const n=t*100+e;return n<600?"朝":n<1200?"午前":n<1800?"午後":n<2e3?"晚":"夜"}},_e=t=>{t.locale("ja",oe)},ue={name:"ko-kr",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:t=>`${t}`,formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:t=>t<12?"오전":"오후",relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}},de=t=>{t.locale("ko",ue)},me={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_")},le=t=>{t.locale("nl",me)},_t=t=>t%10<5&&t%10>1&&~~(t/10)%10!==1,G=(t,e,n)=>{const i=`${t} `;switch(n){case"m":return e?"minuta":"minutę";case"mm":return i+(_t(t)?"minuty":"minut");case"h":return e?"godzina":"godzinę";case"hh":return i+(_t(t)?"godziny":"godzin");case"MM":return i+(_t(t)?"miesiące":"miesięcy");case"yy":return i+(_t(t)?"lata":"lat")}},vt="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),St="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),ut=(t,e)=>e.includes("D MMMM")?vt[t.month()]:St[t.month()];ut.s=St,ut.f=vt;const ce={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:ut,monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),ordinal:t=>`${t}.`,weekStart:1,yearStart:4,relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:G,mm:G,h:G,hh:G,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:G,y:"rok",yy:G},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"}},Me=t=>{t.locale("pl",ce)},he={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:t=>`${t}º`,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"}},Ye=t=>{t.locale("pt-br",he)},Ht="января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),kt="январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),bt="янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),wt="янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"),Tt=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,fe=(t,e)=>{const n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]},Q=(t,e,n)=>n==="m"?e?"минута":"минуту":`${t} ${fe({mm:e?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n],Number(t))}`,dt=(t,e)=>Tt.test(e)?Ht[t.month()]:kt[t.month()];dt.s=kt,dt.f=Ht;const mt=(t,e)=>Tt.test(e)?bt[t.month()]:wt[t.month()];mt.s=wt,mt.f=bt;const pe={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:dt,monthsShort:mt,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:Q,mm:Q,h:"час",hh:Q,d:"день",dd:Q,M:"месяц",MM:Q,y:"год",yy:Q},ordinal:t=>t,meridiem:t=>t<4?"ночи":t<12?"утра":t<17?"дня":"вечера"},Le=t=>{t.locale("ru",pe)},rt=t=>t>1&&t<5&&~~(t/10)!==1,P=(t,e,n,i)=>{const L=`${t} `;switch(n){case"s":return e||i?"pár sekúnd":"pár sekundami";case"m":return e?"minúta":i?"minútu":"minútou";case"mm":return e||i?L+(rt(t)?"minúty":"minút"):`${L}minútami`;case"h":return e?"hodina":i?"hodinu":"hodinou";case"hh":return e||i?L+(rt(t)?"hodiny":"hodín"):`${L}hodinami`;case"d":return e||i?"deň":"dňom";case"dd":return e||i?L+(rt(t)?"dni":"dní"):`${L}dňami`;case"M":return e||i?"mesiac":"mesiacom";case"MM":return e||i?L+(rt(t)?"mesiace":"mesiacov"):`${L}mesiacmi`;case"y":return e||i?"rok":"rokom";case"yy":return e||i?L+(rt(t)?"roky":"rokov"):`${L}rokmi`}},ye={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:t=>`${t}.`,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:P,m:P,mm:P,h:P,hh:P,d:P,dd:P,M:P,MM:P,y:P,yy:P}},$e=t=>{t.locale("sk",ye)},De={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:t=>`${t}.`,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"}},ge=t=>{t.locale("tr",De)},zt="січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),jt="січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_"),ve=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/,Se=(t,e)=>{const n=t.split("_");return e%10===1&&e%100!==11?n[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?n[1]:n[2]},R=(t,e,n)=>n==="m"?e?"хвилина":"хвилину":n==="h"?e?"година":"годину":`${t} ${Se({ss:e?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:e?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:e?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n],Number(t))}`,lt=(t,e)=>ve.test(e)?zt[t.month()]:jt[t.month()];lt.s=jt,lt.f=zt;const He={name:"uk",weekdays:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),weekdaysShort:"ндл_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),months:lt,monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekStart:1,relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",m:R,mm:R,h:R,hh:R,d:"день",dd:R,M:"місяць",MM:R,y:"рік",yy:R},ordinal:t=>t,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"}},ke=t=>{t.locale("uk",He)},be={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:t=>t,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"}},we=t=>{t.locale("vi",be)},Te={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:t=>`${t}日`,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 年"}},ze=t=>{t.locale("zh-tw",Te)},je={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:(t,e)=>{switch(e){case"W":return`${t}周`;default:return`${t}日`}},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:(t,e)=>{const n=t*100+e;return n<600?"凌晨":n<900?"早上":n<1100?"上午":n<1300?"中午":n<1800?"下午":"晚上"}},Oe=t=>{t.locale("zh",je)};g.extend(Ut),g.extend(Zt),g.extend(qt),g.extend(Pt),Qt(g),Vt(g),te(g),ne(g),se(g),ie(g),le(g),Me(g),Ye(g),Le(g),$e(g),ke(g),we(g),Oe(g),ze(g),_e(g),ge(g),de(g);const Ae=(t="en")=>{const e=t.toLowerCase();return["de","de-at","en","es","fr","id","nl","pl","pt-br","ru","sk","uk","vi","zh","zh-tw","ja","tr","ko"].includes(e)?e:e==="en-us"||e==="en-uk"?"en":e==="nl-nl"?"nl":e==="de-de"?"de":e==="es-es"?"es":e==="fr-fr"?"fr":e==="id-id"?"id":e==="pl-pl"?"pl":e==="ru-ru"?"ru":e==="uk-ua"?"uk":e==="sk-sk"?"sk":e==="vi-vn"?"vi":e==="zh-cn"?"zh":e==="ja-jp"?"ja":e==="tr-tr"?"tr":e==="ko-kr"?"ko":(console.warn(`${t} locale missing in config`),"en")},xe=t=>g(t).format("YYYY-MM-DD"),Je=t=>g(t).format("HH:mm:ss"),Ce=t=>g(t).format("YYYY-MM-DD HH:mm:ss"),ct=(t,e={})=>{const n=ft(t);if(n){const{lang:i,timezone:L,type:y}=e;g.locale(Ae(i));const p=L?g(n.toISOString()).tz(L):g(n),k=p.hour()===0&&p.minute()===0&&p.second()===0&&p.millisecond()===0;return p.format(y==="date"?"LL":y==="time"?"HH:ss":k?"LL":"LLL")}return null},Fe=t=>{if(!t.data.localizedDate)if(t.frontmatter.date){const e=ft(t.frontmatter.date);e&&(t.data.localizedDate=ct(e,{lang:t.lang,type:"date"}))}else t.data.git?.createdTime&&(t.data.localizedDate=ct(new Date(t.data.git?.createdTime),{lang:t.lang,type:"date"}))},Ot=(t,e="")=>pt.readdirSync(t).map(n=>pt.statSync(ot.join(t,n)).isDirectory()?Ot(ot.join(t,n),ot.join(e,n)):ot.join(e,n)).flat(),Ne=["and","or","in","on","with","by","for","at","about","under","of","to","the","into"],Ue=t=>t.replace(/[-_]/gu," ").replace(/(^|[^A-Z])([A-Z])/gu,(e,n,i)=>`${n} ${i.toLowerCase()}`).replace(/ +/gu," ").trim().split(" ").map((e,n)=>Ne.includes(e)&&n!==0?e:e.charAt(0).toUpperCase()+e.slice(1)).join(" ");var Ee=t=>Object.prototype.toString.call(t)==="[object Object]",st=t=>typeof t=="string";const{isArray:At}=Array,xt=t=>Ee(t)&&st(t.name),Ze=(t,e=!1)=>t?At(t)?t.map(n=>st(n)?{name:n}:xt(n)?n:null).filter(n=>n!==null):st(t)?[{name:t}]:xt(t)?[t]:(console.error(`Expect "author" to be \`AuthorInfo[] | AuthorInfo | string[] | string ${e?"":"| false"} | undefined\`, but got`,t),[]):[],Mt=(t,e)=>{if(t){if(At(t)&&t.every(st))return t;if(st(t))return[t];console.error(`Expect ${e} to be \`string[] | string | undefined\`, but got`,t)}return[]},Ie=t=>Mt(t,"category"),Pe=t=>Mt(t,"tag");export{Ct as createConverter,Ze as getAuthor,Ie as getCategory,xe as getDateString,Ot as getDirContents,Ce as getFullDateString,Mt as getStringArray,Pe as getTag,Je as getTimeString,Ue as getTitleFromFilename,Fe as injectLocalizedDate,ct as timeTransformer};
//# sourceMappingURL=index.js.map
{
"name": "vuepress-shared",
"version": "2.0.0-rc.52",
"version": "2.0.0-rc.53",
"description": "Shared files for vuepress2",

@@ -41,24 +41,18 @@ "keywords": [

"dependencies": {
"@vuepress/helper": "2.0.0-rc.39",
"@vueuse/core": "^10.11.0",
"cheerio": "1.0.0-rc.12",
"dayjs": "^1.11.12",
"execa": "^9.3.0",
"fflate": "^0.8.2",
"gray-matter": "^4.0.3",
"semver": "^7.6.3",
"vue": "^3.4.33"
"@vuepress/helper": "2.0.0-rc.45",
"@vueuse/core": "^11.1.0",
"dayjs": "^1.11.13",
"vue": "^3.5.6"
},
"devDependencies": {
"@types/connect": "3.4.38",
"@types/semver": "7.5.8",
"@vuepress/bundler-vite": "2.0.0-rc.14",
"@vuepress/bundler-webpack": "2.0.0-rc.14",
"@vuepress/plugin-git": "2.0.0-rc.38",
"ora": "8.0.1",
"rollup": "4.18.1",
"vite": "5.3.4"
"@vuepress/bundler-vite": "2.0.0-rc.15",
"@vuepress/bundler-webpack": "2.0.0-rc.15",
"@vuepress/plugin-git": "2.0.0-rc.44",
"ora": "8.1.0",
"rollup": "4.22.2",
"vite": "5.4.6"
},
"peerDependencies": {
"vuepress": "2.0.0-rc.14"
"vuepress": "2.0.0-rc.15"
},

@@ -65,0 +59,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc