diff --git a/public.zip b/public.zip new file mode 100644 index 0000000..998f1a0 Binary files /dev/null and b/public.zip differ diff --git a/public/404.html b/public/404.html index 56b067f..3cd4184 100644 --- a/public/404.html +++ b/public/404.html @@ -1,18 +1,24 @@ - + - - Jiscuss - - - - - + 404 | Jiscuss - 简单,轻量基于 Java 的开源论坛(皆是卡斯) + + + + + + + + + + + -

404

That's a Four-Oh-Four.
Take me home.
- +
+ + - + \ No newline at end of file diff --git a/public/README.html b/public/README.html new file mode 100644 index 0000000..46b001e --- /dev/null +++ b/public/README.html @@ -0,0 +1,31 @@ + + + + + + Jiscuss | Jiscuss - 简单,轻量基于 Java 的开源论坛(皆是卡斯) + + + + + + + + + + + + + + + + +
Skip to content

Jiscuss

这里保留原 VuePress 首页文章内容。VitePress 2.0 的首页入口已迁移到 docs/index.md

介绍

  1. 这是一个开源 Java 项目;
  2. 项目追求极简;
  3. 你可以打开 Jiscuss Demo 来查看效果。

原首页内容

  • 简洁至上:开发一款看着开心、写着顺手、使用简单的开源论坛。
  • Java 驱动:基于 Java,使用 Spring Boot、H2 Database、Semantic UI 构建。
  • 持续完善:目前功能还很简陋,日后会一直持续完善。

安装

Build

bash
hello world!
+
+# or
+
+hello JAVA!

最后更新:

+ + + + \ No newline at end of file diff --git a/public/assets/README.md.Cdr0hQ_X.js b/public/assets/README.md.Cdr0hQ_X.js new file mode 100644 index 0000000..226f9ae --- /dev/null +++ b/public/assets/README.md.Cdr0hQ_X.js @@ -0,0 +1,5 @@ +import{_ as a,o as i,c as e,ak as l}from"./chunks/framework.CXEBwYRw.js";const b=JSON.parse('{"title":"Jiscuss","description":"","frontmatter":{"title":"Jiscuss"},"headers":[],"relativePath":"README.md","filePath":"README.md","lastUpdated":1777546463000}'),n={name:"README.md"};function t(r,s,o,p,c,d){return i(),e("div",null,[...s[0]||(s[0]=[l(`

Jiscuss

这里保留原 VuePress 首页文章内容。VitePress 2.0 的首页入口已迁移到 docs/index.md

介绍

  1. 这是一个开源 Java 项目;
  2. 项目追求极简;
  3. 你可以打开 Jiscuss Demo 来查看效果。

原首页内容

安装

Build

bash
hello world!
+
+# or
+
+hello JAVA!
`,8)])])}const k=a(n,[["render",t]]);export{b as __pageData,k as default}; diff --git a/public/assets/README.md.Cdr0hQ_X.lean.js b/public/assets/README.md.Cdr0hQ_X.lean.js new file mode 100644 index 0000000..5bb9029 --- /dev/null +++ b/public/assets/README.md.Cdr0hQ_X.lean.js @@ -0,0 +1 @@ +import{_ as a,o as i,c as e,ak as l}from"./chunks/framework.CXEBwYRw.js";const b=JSON.parse('{"title":"Jiscuss","description":"","frontmatter":{"title":"Jiscuss"},"headers":[],"relativePath":"README.md","filePath":"README.md","lastUpdated":1777546463000}'),n={name:"README.md"};function t(r,s,o,p,c,d){return i(),e("div",null,[...s[0]||(s[0]=[l("",8)])])}const k=a(n,[["render",t]]);export{b as __pageData,k as default}; diff --git a/public/assets/app.BI8XhPQ_.js b/public/assets/app.BI8XhPQ_.js new file mode 100644 index 0000000..7f77a8f --- /dev/null +++ b/public/assets/app.BI8XhPQ_.js @@ -0,0 +1 @@ +import{R as p}from"./chunks/theme.CrRTOBPg.js";import{B as o,a7 as i,a8 as u,a9 as c,aa as l,ab as f,ac as d,ad as m,ae as h,af as g,ag as A,d as v,u as w,p as y,x as C,ah as P,ai as R,aj as b,a6 as E}from"./chunks/framework.CXEBwYRw.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(p),S=v({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=w();return y(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&P(),R(),b(),n.setup&&n.setup(),()=>E(n.Layout)}});async function T(){globalThis.__VITEPRESS__=!0;const e=x(),a=j();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function j(){return A(S)}function x(){let e=o;return h(a=>{let t=g(a),s=null;return t&&(e&&(t=t.replace(/\.js$/,".lean.js")),s=import(t)),o&&(e=!1),s},n.NotFound)}o&&T().then(({app:e,router:a,data:t})=>{a.go(location.href,{initialLoad:!0}).then(()=>{i(a.route,t.site),e.mount("#app")})});export{T as createApp}; diff --git a/public/assets/chunks/@localSearchIndexroot.tqrBkNT3.js b/public/assets/chunks/@localSearchIndexroot.tqrBkNT3.js new file mode 100644 index 0000000..fd9f5c8 --- /dev/null +++ b/public/assets/chunks/@localSearchIndexroot.tqrBkNT3.js @@ -0,0 +1 @@ +const e='{"documentCount":13,"nextId":13,"documentIds":{"0":"/README#jiscuss","1":"/README#原首页内容","2":"/README#安装","3":"/#快速体验","4":"/#预览","5":"/timeLine/README#time-line","6":"/timeLine/#time-line","7":"/views/other/guide#use","8":"/views/other/guide#play-together","9":"/views/other/guide#_0-x","10":"/views/other/guide#cli","11":"/views/other/guide#license","12":"/views/other/guide#文档站架构"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,20],"1":[1,1,19],"2":[1,1,8],"3":[1,1,20],"4":[1,1,1],"5":[2,1,1],"6":[2,1,8],"7":[1,1,6],"8":[2,1,1],"9":[2,2,16],"10":[1,2,6],"11":[1,1,2],"12":[1,1,25]},"averageFieldLength":[1.3076923076923077,1.1538461538461537,10.23076923076923],"storedFields":{"0":{"title":"Jiscuss","titles":[]},"1":{"title":"原首页内容","titles":["Jiscuss"]},"2":{"title":"安装","titles":["Jiscuss"]},"3":{"title":"快速体验","titles":[]},"4":{"title":"预览","titles":[]},"5":{"title":"Time Line","titles":[]},"6":{"title":"Time Line","titles":[]},"7":{"title":"Use","titles":[]},"8":{"title":"Play Together","titles":[]},"9":{"title":"0.x","titles":["Play Together"]},"10":{"title":"CLI","titles":["Play Together"]},"11":{"title":"License","titles":[]},"12":{"title":"文档站架构","titles":[]}},"dirtCount":0,"index":[["部署与二次开发文档",{"2":{"12":1}}],["便于后续继续完善",{"2":{"12":1}}],["最后更新时间与预览命令",{"2":{"12":1}}],["侧边栏",{"2":{"12":1}}],["导航",{"2":{"12":1}}],["并补充了本地搜索",{"2":{"12":1}}],["本次升级保留了原有文章内容",{"2":{"12":1}}],["public",{"2":{"12":2}}],["play",{"0":{"8":1},"1":{"9":1,"10":1}}],["静态资源",{"2":{"12":1}}],["首页入口",{"2":{"12":1}}],["首页文章内容",{"2":{"0":1}}],["配置入口",{"2":{"12":1}}],["官方页与文档页已升级为",{"2":{"12":1}}],["文档站架构",{"0":{"12":1}}],["文档后续补充",{"2":{"7":2}}],["license",{"0":{"11":1}}],["line",{"0":{"5":1,"6":1}}],["功能越完善",{"2":{"10":1}}],["就是希望能让jiscuss",{"2":{"10":1}}],["更好地去完善它",{"2":{"10":1}}],["还是衷心地希望能有更多的朋友参与进来",{"2":{"10":1}}],["所以我个人也在积极地更新",{"2":{"9":1}}],["给到很多好的意见和建议",{"2":{"9":1}}],["很多朋友通过各种联系方式",{"2":{"9":1}}],["等组成",{"2":{"9":1}}],["目前基础架构由springboot",{"2":{"9":1}}],["目前功能还很简陋",{"2":{"1":1}}],["是基于",{"2":{"9":1}}],["x",{"0":{"9":1}}],["together",{"0":{"8":1},"1":{"9":1,"10":1}}],["time",{"0":{"5":1,"6":1}}],["123",{"2":{"7":1}}],["1234server",{"2":{"7":1}}],["123456",{"2":{"3":1}}],["12345",{"2":{"2":1}}],["use",{"0":{"7":1}}],["ui",{"2":{"1":1,"9":1}}],["里程碑与发布计划",{"2":{"6":1}}],["的安装",{"2":{"12":1}}],["的论坛项目",{"2":{"9":1}}],["的版本记录",{"2":{"6":1}}],["的首页入口已迁移到",{"2":{"0":1}}],["后续可以继续追加",{"2":{"6":1}}],["时间线页面内容",{"2":{"6":1}}],["预览",{"0":{"4":1}}],["run",{"2":{"3":1}}],["mts",{"2":{"12":1}}],["mit",{"2":{"11":1}}],["mvnw",{"2":{"3":1}}],["md",{"2":{"0":1,"12":1}}],["8+",{"2":{"3":1}}],["需要",{"2":{"3":1}}],["启动",{"2":{"3":1}}],["config",{"2":{"12":1}}],["com",{"2":{"3":1}}],["cli",{"0":{"10":1}}],["clone",{"2":{"3":1}}],["cd",{"2":{"3":1}}],["chuyaoyuan",{"2":{"3":1}}],["github",{"2":{"3":1}}],["git",{"2":{"3":2}}],["克隆项目",{"2":{"3":1}}],["快速体验",{"0":{"3":1}}],["https",{"2":{"3":1}}],["hello",{"2":{"2":1}}],["h2",{"2":{"1":1,"9":1}}],["or",{"2":{"2":1}}],["world",{"2":{"2":1}}],["bash",{"2":{"3":1,"7":2}}],["bashhello",{"2":{"2":1}}],["build",{"2":{"2":1,"7":1}}],["boot",{"2":{"1":1,"3":1}}],["安装",{"0":{"2":1}}],["日后会一直持续完善",{"2":{"1":1}}],["持续完善",{"2":{"1":1}}],["构建产物",{"2":{"12":1}}],["构建",{"2":{"1":1}}],["semantic",{"2":{"1":1,"9":1}}],["springjpa",{"2":{"9":1}}],["spring",{"2":{"1":1,"3":1}}],["使用越来越简单",{"2":{"10":1}}],["使用",{"2":{"1":1}}],["使用简单的开源论坛",{"2":{"1":1}}],["基于",{"2":{"1":1}}],["驱动",{"2":{"1":1}}],["写着顺手",{"2":{"1":1}}],["开发一款看着开心",{"2":{"1":1}}],["简洁至上",{"2":{"1":1}}],["原首页内容",{"0":{"1":1}}],["来查看效果",{"2":{"0":1}}],["database",{"2":{"1":1,"9":1}}],["demo",{"2":{"0":1}}],["docs",{"2":{"0":1,"12":3}}],["你可以打开",{"2":{"0":1}}],["项目开源不久",{"2":{"9":1}}],["项目追求极简",{"2":{"0":1}}],["项目",{"2":{"0":1}}],["jdk",{"2":{"3":1}}],["java",{"2":{"0":1,"1":2,"2":1,"9":1}}],["jiscuss",{"0":{"0":1},"1":{"1":1,"2":1},"2":{"0":1,"3":2,"6":1,"9":1,"12":2}}],["这是一个开源",{"2":{"0":1}}],["这里保留原",{"2":{"0":1,"6":1}}],["介绍",{"2":{"0":1}}],["index",{"2":{"0":1,"12":1}}],["0",{"0":{"9":1},"2":{"0":1,"12":1}}],["2",{"2":{"0":1,"12":1}}],["vitepress",{"2":{"0":1,"12":2}}],["vuepress",{"2":{"0":1,"6":1}}]],"serializationVersion":2}';export{e as default}; diff --git a/public/assets/chunks/VPLocalSearchBox._2dQLUi7.js b/public/assets/chunks/VPLocalSearchBox._2dQLUi7.js new file mode 100644 index 0000000..0640b4e --- /dev/null +++ b/public/assets/chunks/VPLocalSearchBox._2dQLUi7.js @@ -0,0 +1,3 @@ +import{Z as kt,z as Pe,h as xe,am as Nt,an as He,ao as Ft,ap as Ot,aq as Rt,E as se,d as At,ar as Qe,y as de,as as Ct,at as Mt,x as Lt,au as Dt,p as Oe,U as fe,S as be,av as Pt,aw as zt,$ as Vt,B as jt,a3 as $t,o as U,b as Bt,j as k,a4 as Wt,k as L,ax as Kt,ay as Jt,az as Gt,c as Z,n as Ye,e as ye,H as Ze,G as Xe,a as he,t as pe,aA as Ut,aB as et,aC as qt,aa as Ht,af as Qt,aD as Yt,_ as Zt}from"./framework.CXEBwYRw.js";import{u as ft}from"./theme.CrRTOBPg.js";const Xt={root:()=>kt(()=>import("./@localSearchIndexroot.tqrBkNT3.js"),[])};var ht=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],Te=ht.join(","),pt=typeof Element>"u",ne=pt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ee=!pt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a?.ownerDocument},Ie=function(e,t){var n;t===void 0&&(t=!0);var i=e==null||(n=e.getAttribute)===null||n===void 0?void 0:n.call(e,"inert"),s=i===""||i==="true",r=s||t&&e&&(typeof e.closest=="function"?e.closest("[inert]"):Ie(e.parentNode));return r},en=function(e){var t,n=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return n===""||n==="true"},vt=function(e,t,n){if(Ie(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(Te));return t&&ne.call(e,Te)&&i.unshift(e),i=i.filter(n),i},ke=function(e,t,n){for(var i=[],s=Array.from(e);s.length;){var r=s.shift();if(!Ie(r,!1))if(r.tagName==="SLOT"){var o=r.assignedElements(),l=o.length?o:r.children,c=ke(l,!0,n);n.flatten?i.push.apply(i,c):i.push({scopeParent:r,candidates:c})}else{var f=ne.call(r,Te);f&&n.filter(r)&&(t||!e.includes(r))&&i.push(r);var h=r.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(r),p=!Ie(h,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(r));if(h&&p){var y=ke(h===!0?r.children:h.children,!0,n);n.flatten?i.push.apply(i,y):i.push({scopeParent:r,candidates:y})}else s.unshift.apply(s,r.children)}}return i},mt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},te=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||en(e))&&!mt(e)?0:e.tabIndex},tn=function(e,t){var n=te(e);return n<0&&t&&!mt(e)?0:n},nn=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},gt=function(e){return e.tagName==="INPUT"},rn=function(e){return gt(e)&&e.type==="hidden"},sn=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(n){return n.tagName==="SUMMARY"});return t},an=function(e,t){for(var n=0;nsummary:first-of-type"),o=r?e.parentElement:e;if(ne.call(o,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof i=="function"){for(var l=e;e;){var c=e.parentElement,f=Ee(e);if(c&&!c.shadowRoot&&i(c)===!0)return tt(e);e.assignedSlot?e=e.assignedSlot:!c&&f!==e.ownerDocument?e=f.host:e=c}e=l}if(un(e))return!e.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return tt(e);return!1},fn=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var n=0;n=0)},bt=function(e){var t=[],n=[];return e.forEach(function(i,s){var r=!!i.scopeParent,o=r?i.scopeParent:i,l=tn(o,r),c=r?bt(i.candidates):o;l===0?r?t.push.apply(t,c):t.push(o):n.push({documentOrder:s,tabIndex:l,item:i,isScope:r,content:c})}),n.sort(nn).reduce(function(i,s){return s.isScope?i.push.apply(i,s.content):i.push(s.content),i},[]).concat(t)},pn=function(e,t){t=t||{};var n;return t.getShadowRoot?n=ke([e],t.includeContainer,{filter:ze.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:hn}):n=vt(e,t.includeContainer,ze.bind(null,t)),bt(n)},vn=function(e,t){t=t||{};var n;return t.getShadowRoot?n=ke([e],t.includeContainer,{filter:Ne.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):n=vt(e,t.includeContainer,Ne.bind(null,t)),n},re=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ne.call(e,Te)===!1?!1:ze(t,e)},mn=ht.concat("iframe:not([inert]):not([inert] *)").join(","),Re=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ne.call(e,mn)===!1?!1:Ne(t,e)};function Ve(a,e){(e==null||e>a.length)&&(e=a.length);for(var t=0,n=Array(e);t=a.length?{done:!0}:{done:!1,value:a[n++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,r=!0,o=!1;return{s:function(){t=t.call(a)},n:function(){var l=t.next();return r=l.done,l},e:function(l){o=!0,s=l},f:function(){try{r||t.return==null||t.return()}finally{if(o)throw s}}}}function bn(a,e,t){return(e=xn(e))in a?Object.defineProperty(a,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):a[e]=t,a}function yn(a){if(typeof Symbol<"u"&&a[Symbol.iterator]!=null||a["@@iterator"]!=null)return Array.from(a)}function wn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function st(a,e){var t=Object.keys(a);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(a);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(a,i).enumerable})),t.push.apply(t,n)}return t}function at(a){for(var e=1;e3?(b=v===d)&&(N=S[(F=S[4])?5:(F=3,3)],S[4]=S[5]=a):S[0]<=m&&((b=u<2&&md||d>v)&&(S[4]=u,S[5]=d,P.n=v,F=0))}if(b||u>1)return r;throw W=!0,d}return function(u,d,b){if(j>1)throw TypeError("Generator is already running");for(W&&d===1&&x(d,b),F=d,N=b;(e=F<2?a:N)||!W;){C||(F?F<3?(F>1&&(P.n=-1),x(F,N)):P.n=N:P.v=N);try{if(j=2,C){if(F||(u="next"),e=C[u]){if(!(e=e.call(C,N)))throw TypeError("iterator result is not an object");if(!e.done)return e;N=e.value,F<2&&(F=0)}else F===1&&(e=C.return)&&e.call(C),F<2&&(N=TypeError("The iterator does not provide a '"+u+"' method"),F=1);C=a}else if((e=(W=P.n<0)?N:J.call(B,P))!==r)break}catch(S){C=a,F=1,N=S}finally{j=1}}return{value:e,done:W}}})(y,w,T),!0),R}var r={};function o(){}function l(){}function c(){}e=Object.getPrototypeOf;var f=[][n]?e(e([][n]())):($(e={},n,function(){return this}),e),h=c.prototype=o.prototype=Object.create(f);function p(y){return Object.setPrototypeOf?Object.setPrototypeOf(y,c):(y.__proto__=c,$(y,i,"GeneratorFunction")),y.prototype=Object.create(h),y}return l.prototype=c,$(h,"constructor",c),$(c,"constructor",l),l.displayName="GeneratorFunction",$(c,i,"GeneratorFunction"),$(h),$(h,i,"Generator"),$(h,n,function(){return this}),$(h,"toString",function(){return"[object Generator]"}),(me=function(){return{w:s,m:p}})()}function $(a,e,t,n){var i=Object.defineProperty;try{i({},"",{})}catch{i=0}$=function(s,r,o,l){function c(f,h){$(s,f,function(p){return this._invoke(f,h,p)})}r?i?i(s,r,{value:o,enumerable:!l,configurable:!l,writable:!l}):s[r]=o:(c("next",0),c("throw",1),c("return",2))},$(a,e,t,n)}function Sn(a){return gn(a)||yn(a)||yt(a)||wn()}function _n(a,e){if(typeof a!="object"||!a)return a;var t=a[Symbol.toPrimitive];if(t!==void 0){var n=t.call(a,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(a)}function xn(a){var e=_n(a,"string");return typeof e=="symbol"?e:e+""}function yt(a,e){if(a){if(typeof a=="string")return Ve(a,e);var t={}.toString.call(a).slice(8,-1);return t==="Object"&&a.constructor&&(t=a.constructor.name),t==="Map"||t==="Set"?Array.from(a):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Ve(a,e):void 0}}var q={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){var n=q.getActiveTrap(e);t!==n&&q.pauseTrap(e);var i=e.indexOf(t);i===-1||e.splice(i,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),q.unpauseTrap(e)},pauseTrap:function(e){var t=q.getActiveTrap(e);t?._setPausedState(!0)},unpauseTrap:function(e){var t=q.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},Tn=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},En=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},ge=function(e){return e?.key==="Tab"||e?.keyCode===9},In=function(e){return ge(e)&&!e.shiftKey},kn=function(e){return ge(e)&&e.shiftKey},ot=function(e){return setTimeout(e,0)},ve=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i1&&arguments[1]!==void 0?arguments[1]:{},b=d.hasFallback,S=b===void 0?!1:b,m=d.params,v=m===void 0?[]:m,g=s[u];if(typeof g=="function"&&(g=g.apply(void 0,Sn(v))),g===!0&&(g=void 0),!g){if(g===void 0||g===!1)return g;throw new Error("`".concat(u,"` was specified but was not a node, or did not return a node"))}var E=g;if(typeof g=="string"){try{E=n.querySelector(g)}catch(I){throw new Error("`".concat(u,'` appears to be an invalid selector; error="').concat(I.message,'"'))}if(!E&&!S)throw new Error("`".concat(u,"` as selector refers to no known node"))}return E},h=function(){var u=f("initialFocus",{hasFallback:!0});if(u===!1)return!1;if(u===void 0||u&&!Re(u,s.tabbableOptions))if(c(n.activeElement)>=0)u=n.activeElement;else{var d=r.tabbableGroups[0],b=d&&d.firstTabbableNode;u=b||f("fallbackFocus")}else u===null&&(u=f("fallbackFocus"));if(!u)throw new Error("Your focus-trap needs to have at least one focusable element");return u},p=function(){if(r.containerGroups=r.containers.map(function(u){var d=pn(u,s.tabbableOptions),b=vn(u,s.tabbableOptions),S=d.length>0?d[0]:void 0,m=d.length>0?d[d.length-1]:void 0,v=b.find(function(I){return re(I)}),g=b.slice().reverse().find(function(I){return re(I)}),E=!!d.find(function(I){return te(I)>0});return{container:u,tabbableNodes:d,focusableNodes:b,posTabIndexesFound:E,firstTabbableNode:S,lastTabbableNode:m,firstDomTabbableNode:v,lastDomTabbableNode:g,nextTabbableNode:function(A){var V=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,D=d.indexOf(A);return D<0?V?b.slice(b.indexOf(A)+1).find(function(G){return re(G)}):b.slice(0,b.indexOf(A)).reverse().find(function(G){return re(G)}):d[D+(V?1:-1)]}}}),r.tabbableGroups=r.containerGroups.filter(function(u){return u.tabbableNodes.length>0}),r.tabbableGroups.length<=0&&!f("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find(function(u){return u.posTabIndexesFound})&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function(u){var d=u.activeElement;if(d)return d.shadowRoot&&d.shadowRoot.activeElement!==null?y(d.shadowRoot):d},_=function(u){if(u!==!1&&u!==y(document)){if(!u||!u.focus){_(h());return}u.focus({preventScroll:!!s.preventScroll}),r.mostRecentlyFocusedNode=u,Tn(u)&&u.select()}},w=function(u){var d=f("setReturnFocus",{params:[u]});return d||(d===!1?!1:u)},T=function(u){var d=u.target,b=u.event,S=u.isBackward,m=S===void 0?!1:S;d=d||we(b),p();var v=null;if(r.tabbableGroups.length>0){var g=c(d,b),E=g>=0?r.containerGroups[g]:void 0;if(g<0)m?v=r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:v=r.tabbableGroups[0].firstTabbableNode;else if(m){var I=r.tabbableGroups.findIndex(function(Q){var Y=Q.firstTabbableNode;return d===Y});if(I<0&&(E.container===d||Re(d,s.tabbableOptions)&&!re(d,s.tabbableOptions)&&!E.nextTabbableNode(d,!1))&&(I=g),I>=0){var A=I===0?r.tabbableGroups.length-1:I-1,V=r.tabbableGroups[A];v=te(d)>=0?V.lastTabbableNode:V.lastDomTabbableNode}else ge(b)||(v=E.nextTabbableNode(d,!1))}else{var D=r.tabbableGroups.findIndex(function(Q){var Y=Q.lastTabbableNode;return d===Y});if(D<0&&(E.container===d||Re(d,s.tabbableOptions)&&!re(d,s.tabbableOptions)&&!E.nextTabbableNode(d))&&(D=g),D>=0){var G=D===r.tabbableGroups.length-1?0:D+1,M=r.tabbableGroups[G];v=te(d)>=0?M.firstTabbableNode:M.firstDomTabbableNode}else ge(b)||(v=E.nextTabbableNode(d))}}else v=f("fallbackFocus");return v},O=function(u){var d=we(u);if(!(c(d,u)>=0)){if(ve(s.clickOutsideDeactivates,u)){o.deactivate({returnFocus:s.returnFocusOnDeactivate});return}ve(s.allowOutsideClick,u)||u.preventDefault()}},R=function(u){var d=we(u),b=c(d,u)>=0;if(b||d instanceof Document)b&&(r.mostRecentlyFocusedNode=d);else{u.stopImmediatePropagation();var S,m=!0;if(r.mostRecentlyFocusedNode)if(te(r.mostRecentlyFocusedNode)>0){var v=c(r.mostRecentlyFocusedNode),g=r.containerGroups[v].tabbableNodes;if(g.length>0){var E=g.findIndex(function(I){return I===r.mostRecentlyFocusedNode});E>=0&&(s.isKeyForward(r.recentNavEvent)?E+1=0&&(S=g[E-1],m=!1))}}else r.containerGroups.some(function(I){return I.tabbableNodes.some(function(A){return te(A)>0})})||(m=!1);else m=!1;m&&(S=T({target:r.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(r.recentNavEvent)})),_(S||r.mostRecentlyFocusedNode||h())}r.recentNavEvent=void 0},J=function(u){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r.recentNavEvent=u;var b=T({event:u,isBackward:d});b&&(ge(u)&&u.preventDefault(),_(b))},B=function(u){(s.isKeyForward(u)||s.isKeyBackward(u))&&J(u,s.isKeyBackward(u))},K=function(u){En(u)&&ve(s.escapeDeactivates,u)!==!1&&(u.preventDefault(),o.deactivate())},C=function(u){var d=we(u);c(d,u)>=0||ve(s.clickOutsideDeactivates,u)||ve(s.allowOutsideClick,u)||(u.preventDefault(),u.stopImmediatePropagation())},F=function(){if(!r.active)return Promise.resolve();q.activateTrap(i,o);var u;return s.delayInitialFocus?u=new Promise(function(d){r.delayInitialFocusTimer=ot(function(){_(h()),d()})}):(u=Promise.resolve(),_(h())),n.addEventListener("focusin",R,!0),n.addEventListener("mousedown",O,{capture:!0,passive:!1}),n.addEventListener("touchstart",O,{capture:!0,passive:!1}),n.addEventListener("click",C,{capture:!0,passive:!1}),n.addEventListener("keydown",B,{capture:!0,passive:!1}),n.addEventListener("keydown",K),u},N=function(u){r.active&&!r.paused&&o._setSubtreeIsolation(!1),r.adjacentElements.clear(),r.alreadySilent.clear();var d=new Set,b=new Set,S=it(u),m;try{for(S.s();!(m=S.n()).done;){var v=m.value;d.add(v);for(var g=typeof ShadowRoot<"u"&&v.getRootNode()instanceof ShadowRoot,E=v;E;){d.add(E);var I=E.parentElement,A=[];I?A=I.children:!I&&g&&(A=E.getRootNode().children,I=E.getRootNode().host,g=typeof ShadowRoot<"u"&&I.getRootNode()instanceof ShadowRoot);var V=it(A),D;try{for(V.s();!(D=V.n()).done;){var G=D.value;b.add(G)}}catch(M){V.e(M)}finally{V.f()}E=I}}}catch(M){S.e(M)}finally{S.f()}d.forEach(function(M){b.delete(M)}),r.adjacentElements=b},j=function(){if(r.active)return n.removeEventListener("focusin",R,!0),n.removeEventListener("mousedown",O,!0),n.removeEventListener("touchstart",O,!0),n.removeEventListener("click",C,!0),n.removeEventListener("keydown",B,!0),n.removeEventListener("keydown",K),o},H=function(u){var d=r.mostRecentlyFocusedNode;if(d){var b=u.some(function(m){var v=Array.from(m.removedNodes);return v.some(function(g){return g===d||typeof g.contains=="function"&&g.contains(d)})});if(b&&r.containers.some(function(m){return m?.isConnected})){p();var S=h();_(S)}}},W=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(H):void 0,P=function(){W&&(W.disconnect(),r.active&&!r.paused&&r.containers.map(function(u){W.observe(u,{subtree:!0,childList:!0})}))};return o={get active(){return r.active},get paused(){return r.paused},activate:function(u){if(r.active)return this;var d=l(u,"onActivate"),b=l(u,"onPostActivate"),S=l(u,"checkCanFocusTrap"),m=q.getActiveTrap(i),v=!1;if(m&&!m.paused){var g;(g=m._setSubtreeIsolation)===null||g===void 0||g.call(m,!1),v=!0}try{S||p(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=y(n),d?.({trap:o});var E=(function(){var A=rt(me().m(function V(){return me().w(function(D){for(;;)switch(D.n){case 0:return S&&p(),D.n=1,F();case 1:o._setSubtreeIsolation(!0),P(),b?.({trap:o});case 2:return D.a(2)}},V)}));return function(){return A.apply(this,arguments)}})();if(S)return S(r.containers.concat()).then(E,E),this;E()}catch(A){if(m===q.getActiveTrap(i)&&v){var I;(I=m._setSubtreeIsolation)===null||I===void 0||I.call(m,!0)}throw A}return this},deactivate:function(u){if(!r.active)return this;var d=at({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},u);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,r.paused||o._setSubtreeIsolation(!1),r.alreadySilent.clear(),j(),r.active=!1,r.paused=!1,P(),q.deactivateTrap(i,o);var b=l(d,"onDeactivate"),S=l(d,"onPostDeactivate"),m=l(d,"checkCanReturnFocus"),v=l(d,"delayReturnFocus"),g=l(d,"returnFocus","returnFocusOnDeactivate");b?.({trap:o});var E=function(){g&&_(w(r.nodeFocusedBeforeActivation)),S?.({trap:o})},I=function(){v&&g?ot(E):E()};return g&&m?(m(w(r.nodeFocusedBeforeActivation)).then(I,I),this):(I(),this)},pause:function(u){return r.active?(r.manuallyPaused=!0,this._setPausedState(!0,u)):this},unpause:function(u){return r.active?(r.manuallyPaused=!1,i[i.length-1]!==this?this:this._setPausedState(!1,u)):this},updateContainerElements:function(u){var d=[].concat(u).filter(Boolean);return r.containers=d.map(function(b){return typeof b=="string"?n.querySelector(b):b}),s.isolateSubtrees&&N(r.containers),r.active&&(p(),r.paused||o._setSubtreeIsolation(!0)),P(),this}},Object.defineProperties(o,{_isManuallyPaused:{value:function(){return r.manuallyPaused}},_setPausedState:{value:function(u,d){if(r.paused===u)return this;if(r.paused=u,u){var b=l(d,"onPause"),S=l(d,"onPostPause");b?.({trap:o}),j(),o._setSubtreeIsolation(!1),P(),S?.({trap:o})}else{var m=l(d,"onUnpause"),v=l(d,"onPostUnpause");m?.({trap:o});var g=(function(){var E=rt(me().m(function I(){return me().w(function(A){for(;;)switch(A.n){case 0:return p(),A.n=1,F();case 1:o._setSubtreeIsolation(!0),P(),v?.({trap:o});case 2:return A.a(2)}},I)}));return function(){return E.apply(this,arguments)}})();g()}return this}},_setSubtreeIsolation:{value:function(u){s.isolateSubtrees&&r.adjacentElements.forEach(function(d){var b;u?s.isolateSubtrees==="aria-hidden"?((d.ariaHidden==="true"||((b=d.getAttribute("aria-hidden"))===null||b===void 0?void 0:b.toLowerCase())==="true")&&r.alreadySilent.add(d),d.setAttribute("aria-hidden","true")):((d.inert||d.hasAttribute("inert"))&&r.alreadySilent.add(d),d.setAttribute("inert",!0)):r.alreadySilent.has(d)||(s.isolateSubtrees==="aria-hidden"?d.removeAttribute("aria-hidden"):d.removeAttribute("inert"))})}}}),o.updateContainerElements(e),o};function On(a,e={}){let t;const{immediate:n,...i}=e,s=se(!1),r=se(!1),o=h=>t&&t.activate(h),l=h=>t&&t.deactivate(h),c=()=>{t&&(t.pause(),r.value=!0)},f=()=>{t&&(t.unpause(),r.value=!1)};return Pe(xe(()=>Nt(He(a)).map(h=>{const p=He(h);return typeof p=="string"?p:Ft(p)}).filter(Ot)),h=>{if(h.length)if(!t)t=Fn(h,{...i,onActivate(p){s.value=!0,e.onActivate&&e.onActivate(p)},onDeactivate(p){s.value=!1,e.onDeactivate&&e.onDeactivate(p)}}),n&&o();else{const p=t?.active;t?.updateContainerElements(h),!p&&n&&o()}},{flush:"post"}),Rt(()=>l()),{hasFocus:s,isPaused:r,activate:o,deactivate:l,pause:c,unpause:f}}class ae{constructor(e,t=!0,n=[],i=5e3){this.ctx=e,this.iframes=t,this.exclude=n,this.iframesTimeout=i}static matches(e,t){const n=typeof t=="string"?[t]:t,i=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(i){let s=!1;return n.every(r=>i.call(e,r)?(s=!0,!1):!0),s}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(n=>{const i=t.filter(s=>s.contains(n)).length>0;t.indexOf(n)===-1&&!i&&t.push(n)}),t}getIframeContents(e,t,n=()=>{}){let i;try{const s=e.contentWindow;if(i=s.document,!s||!i)throw new Error("iframe inaccessible")}catch{n()}i&&t(i)}isIframeBlank(e){const t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}observeIframeLoad(e,t,n){let i=!1,s=null;const r=()=>{if(!i){i=!0,clearTimeout(s);try{this.isIframeBlank(e)||(e.removeEventListener("load",r),this.getIframeContents(e,t,n))}catch{n()}}};e.addEventListener("load",r),s=setTimeout(r,this.iframesTimeout)}onIframeReady(e,t,n){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch{n()}}waitForIframes(e,t){let n=0;this.forEachIframe(e,()=>!0,i=>{n++,this.waitForIframes(i.querySelector("html"),()=>{--n||t()})},i=>{i||t()})}forEachIframe(e,t,n,i=()=>{}){let s=e.querySelectorAll("iframe"),r=s.length,o=0;s=Array.prototype.slice.call(s);const l=()=>{--r<=0&&i(o)};r||l(),s.forEach(c=>{ae.matches(c,this.exclude)?l():this.onIframeReady(c,f=>{t(c)&&(o++,n(f)),l()},l)})}createIterator(e,t,n){return document.createNodeIterator(e,t,n,!1)}createInstanceOnIframe(e){return new ae(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,n){const i=e.compareDocumentPosition(n),s=Node.DOCUMENT_POSITION_PRECEDING;if(i&s)if(t!==null){const r=t.compareDocumentPosition(n),o=Node.DOCUMENT_POSITION_FOLLOWING;if(r&o)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let n;return t===null?n=e.nextNode():n=e.nextNode()&&e.nextNode(),{prevNode:t,node:n}}checkIframeFilter(e,t,n,i){let s=!1,r=!1;return i.forEach((o,l)=>{o.val===n&&(s=l,r=o.handled)}),this.compareNodeIframe(e,t,n)?(s===!1&&!r?i.push({val:n,handled:!0}):s!==!1&&!r&&(i[s].handled=!0),!0):(s===!1&&i.push({val:n,handled:!1}),!1)}handleOpenIframes(e,t,n,i){e.forEach(s=>{s.handled||this.getIframeContents(s.val,r=>{this.createInstanceOnIframe(r).forEachNode(t,n,i)})})}iterateThroughNodes(e,t,n,i,s){const r=this.createIterator(t,e,i);let o=[],l=[],c,f,h=()=>({prevNode:f,node:c}=this.getIteratorNode(r),c);for(;h();)this.iframes&&this.forEachIframe(t,p=>this.checkIframeFilter(c,f,p,o),p=>{this.createInstanceOnIframe(p).forEachNode(e,y=>l.push(y),i)}),l.push(c);l.forEach(p=>{n(p)}),this.iframes&&this.handleOpenIframes(o,e,n,i),s()}forEachNode(e,t,n,i=()=>{}){const s=this.getContexts();let r=s.length;r||i(),s.forEach(o=>{const l=()=>{this.iterateThroughNodes(e,o,t,n,()=>{--r<=0&&i()})};this.iframes?this.waitForIframes(o,l):l()})}}let Rn=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new ae(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const n=this.opt.log;this.opt.debug&&typeof n=="object"&&typeof n[t]=="function"&&n[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",i=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let s in t)if(t.hasOwnProperty(s)){const r=t[s],o=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(s):this.escapeStr(s),l=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(r):this.escapeStr(r);o!==""&&l!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(o)}|${this.escapeStr(l)})`,`gm${n}`),i+`(${this.processSynomyms(o)}|${this.processSynomyms(l)})`+i))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,n,i)=>{let s=i.charAt(n+1);return/[(|)\\]/.test(s)||s===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let i=[];return e.split("").forEach(s=>{n.every(r=>{if(r.indexOf(s)!==-1){if(i.indexOf(r)>-1)return!1;e=e.replace(new RegExp(`[${r}]`,`gm${t}`),`[${r}]`),i.push(r)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let n=this.opt.accuracy,i=typeof n=="string"?n:n.value,s=typeof n=="string"?[]:n.limiters,r="";switch(s.forEach(o=>{r+=`|${this.escapeStr(o)}`}),i){case"partially":default:return`()(${e})`;case"complementary":return r="\\s"+(r||this.escapeStr(t)),`()([^${r}]*${e}[^${r}]*)`;case"exactly":return`(^|\\s${r})(${e})(?=$|\\s${r})`}}getSeparatedKeywords(e){let t=[];return e.forEach(n=>{this.opt.separateWordSearch?n.split(" ").forEach(i=>{i.trim()&&t.indexOf(i)===-1&&t.push(i)}):n.trim()&&t.indexOf(n)===-1&&t.push(n)}),{keywords:t.sort((n,i)=>i.length-n.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let n=0;return e.sort((i,s)=>i.start-s.start).forEach(i=>{let{start:s,end:r,valid:o}=this.callNoMatchOnInvalidRanges(i,n);o&&(i.start=s,i.length=r-s,t.push(i),n=r)}),t}callNoMatchOnInvalidRanges(e,t){let n,i,s=!1;return e&&typeof e.start<"u"?(n=parseInt(e.start,10),i=n+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&i-t>0&&i-n>0?s=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:n,end:i,valid:s}}checkWhitespaceRanges(e,t,n){let i,s=!0,r=n.length,o=t-r,l=parseInt(e.start,10)-o;return l=l>r?r:l,i=l+parseInt(e.length,10),i>r&&(i=r,this.log(`End range automatically set to the max value of ${r}`)),l<0||i-l<0||l>r||i>r?(s=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):n.substring(l,i).replace(/\s+/g,"")===""&&(s=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:l,end:i,valid:s}}getTextNodes(e){let t="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,i=>{n.push({start:t.length,end:(t+=i.textContent).length,node:i})},i=>this.matchesExclude(i.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:n})})}matchesExclude(e){return ae.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,n){const i=this.opt.element?this.opt.element:"mark",s=e.splitText(t),r=s.splitText(n-t);let o=document.createElement(i);return o.setAttribute("data-markjs","true"),this.opt.className&&o.setAttribute("class",this.opt.className),o.textContent=s.textContent,s.parentNode.replaceChild(o,s),r}wrapRangeInMappedTextNode(e,t,n,i,s){e.nodes.every((r,o)=>{const l=e.nodes[o+1];if(typeof l>"u"||l.start>t){if(!i(r.node))return!1;const c=t-r.start,f=(n>r.end?r.end:n)-r.start,h=e.value.substr(0,r.start),p=e.value.substr(f+r.start);if(r.node=this.wrapRangeInTextNode(r.node,c,f),e.value=h+p,e.nodes.forEach((y,_)=>{_>=o&&(e.nodes[_].start>0&&_!==o&&(e.nodes[_].start-=f),e.nodes[_].end-=f)}),n-=f,s(r.node.previousSibling,r.start),n>r.end)t=r.end;else return!1}return!0})}wrapMatches(e,t,n,i,s){const r=t===0?0:t+1;this.getTextNodes(o=>{o.nodes.forEach(l=>{l=l.node;let c;for(;(c=e.exec(l.textContent))!==null&&c[r]!=="";){if(!n(c[r],l))continue;let f=c.index;if(r!==0)for(let h=1;h{let l;for(;(l=e.exec(o.value))!==null&&l[r]!=="";){let c=l.index;if(r!==0)for(let h=1;hn(l[r],h),(h,p)=>{e.lastIndex=p,i(h)})}s()})}wrapRangeFromIndex(e,t,n,i){this.getTextNodes(s=>{const r=s.value.length;e.forEach((o,l)=>{let{start:c,end:f,valid:h}=this.checkWhitespaceRanges(o,r,s.value);h&&this.wrapRangeInMappedTextNode(s,c,f,p=>t(p,o,s.value.substring(c,f),l),p=>{n(p,o)})}),i()})}unwrapMatches(e){const t=e.parentNode;let n=document.createDocumentFragment();for(;e.firstChild;)n.appendChild(e.removeChild(e.firstChild));t.replaceChild(n,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let n=0,i="wrapMatches";const s=r=>{n++,this.opt.each(r)};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),this[i](e,this.opt.ignoreGroups,(r,o)=>this.opt.filter(o,r,n),s,()=>{n===0&&this.opt.noMatch(e),this.opt.done(n)})}mark(e,t){this.opt=t;let n=0,i="wrapMatches";const{keywords:s,length:r}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),o=this.opt.caseSensitive?"":"i",l=c=>{let f=new RegExp(this.createRegExp(c),`gm${o}`),h=0;this.log(`Searching with expression "${f}"`),this[i](f,1,(p,y)=>this.opt.filter(y,c,n,h),p=>{h++,n++,this.opt.each(p)},()=>{h===0&&this.opt.noMatch(c),s[r-1]===c?this.opt.done(n):l(s[s.indexOf(c)+1])})};this.opt.acrossElements&&(i="wrapMatchesAcrossElements"),r===0?this.opt.done(n):l(s[0])}markRanges(e,t){this.opt=t;let n=0,i=this.checkRanges(e);i&&i.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(i)),this.wrapRangeFromIndex(i,(s,r,o,l)=>this.opt.filter(s,r,o,l),(s,r)=>{n++,this.opt.each(s,r)},()=>{this.opt.done(n)})):this.opt.done(n)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,n=>{this.unwrapMatches(n)},n=>{const i=ae.matches(n,t),s=this.matchesExclude(n);return!i||s?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function An(a){const e=new Rn(a);return this.mark=(t,n)=>(e.mark(t,n),this),this.markRegExp=(t,n)=>(e.markRegExp(t,n),this),this.markRanges=(t,n)=>(e.markRanges(t,n),this),this.unmark=t=>(e.unmark(t),this),this}const Cn="ENTRIES",wt="KEYS",St="VALUES",z="";class Ae{constructor(e,t){const n=e._tree,i=Array.from(n.keys());this.set=e,this._type=t,this._path=i.length>0?[{node:n,keys:i}]:[]}next(){const e=this.dive();return this.backtrack(),e}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:e,keys:t}=ie(this._path);if(ie(t)===z)return{done:!1,value:this.result()};const n=e.get(ie(t));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const e=ie(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:e})=>ie(e)).filter(e=>e!==z).join("")}value(){return ie(this._path).node.get(z)}result(){switch(this._type){case St:return this.value();case wt:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const ie=a=>a[a.length-1],Mn=(a,e,t)=>{const n=new Map;if(e===void 0)return n;const i=e.length+1,s=i+t,r=new Uint8Array(s*i).fill(t+1);for(let o=0;o{const l=s*r;e:for(const c of a.keys())if(c===z){const f=i[l-1];f<=t&&n.set(o,[a.get(c),f])}else{let f=s;for(let h=0;ht)continue e}_t(a.get(c),e,t,n,i,f,r,o+c)}};class X{constructor(e=new Map,t=""){this._size=void 0,this._tree=e,this._prefix=t}atPrefix(e){if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");const[t,n]=Fe(this._tree,e.slice(this._prefix.length));if(t===void 0){const[i,s]=We(n);for(const r of i.keys())if(r!==z&&r.startsWith(s)){const o=new Map;return o.set(r.slice(s.length),i.get(r)),new X(o,e)}}return new X(t,e)}clear(){this._size=void 0,this._tree.clear()}delete(e){return this._size=void 0,Ln(this._tree,e)}entries(){return new Ae(this,Cn)}forEach(e){for(const[t,n]of this)e(t,n,this)}fuzzyGet(e,t){return Mn(this._tree,e,t)}get(e){const t=je(this._tree,e);return t!==void 0?t.get(z):void 0}has(e){const t=je(this._tree,e);return t!==void 0&&t.has(z)}keys(){return new Ae(this,wt)}set(e,t){if(typeof e!="string")throw new Error("key must be a string");return this._size=void 0,Ce(this._tree,e).set(z,t),this}get size(){if(this._size)return this._size;this._size=0;const e=this.entries();for(;!e.next().done;)this._size+=1;return this._size}update(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const n=Ce(this._tree,e);return n.set(z,t(n.get(z))),this}fetch(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;const n=Ce(this._tree,e);let i=n.get(z);return i===void 0&&n.set(z,i=t()),i}values(){return new Ae(this,St)}[Symbol.iterator](){return this.entries()}static from(e){const t=new X;for(const[n,i]of e)t.set(n,i);return t}static fromObject(e){return X.from(Object.entries(e))}}const Fe=(a,e,t=[])=>{if(e.length===0||a==null)return[a,t];for(const n of a.keys())if(n!==z&&e.startsWith(n))return t.push([a,n]),Fe(a.get(n),e.slice(n.length),t);return t.push([a,e]),Fe(void 0,"",t)},je=(a,e)=>{if(e.length===0||a==null)return a;for(const t of a.keys())if(t!==z&&e.startsWith(t))return je(a.get(t),e.slice(t.length))},Ce=(a,e)=>{const t=e.length;e:for(let n=0;a&&n{const[t,n]=Fe(a,e);if(t!==void 0){if(t.delete(z),t.size===0)xt(n);else if(t.size===1){const[i,s]=t.entries().next().value;Tt(n,i,s)}}},xt=a=>{if(a.length===0)return;const[e,t]=We(a);if(e.delete(t),e.size===0)xt(a.slice(0,-1));else if(e.size===1){const[n,i]=e.entries().next().value;n!==z&&Tt(a.slice(0,-1),n,i)}},Tt=(a,e,t)=>{if(a.length===0)return;const[n,i]=We(a);n.set(i+e,t),n.delete(i)},We=a=>a[a.length-1],Ke="or",Et="and",Dn="and_not";class oe{constructor(e){if(e?.fields==null)throw new Error('MiniSearch: option "fields" must be provided');const t=e.autoVacuum==null||e.autoVacuum===!0?De:e.autoVacuum;this._options={...Le,...e,autoVacuum:t,searchOptions:{...lt,...e.searchOptions||{}},autoSuggestOptions:{...$n,...e.autoSuggestOptions||{}}},this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=Be,this.addFields(this._options.fields)}add(e){const{extractField:t,stringifyField:n,tokenize:i,processTerm:s,fields:r,idField:o}=this._options,l=t(e,o);if(l==null)throw new Error(`MiniSearch: document does not have ID field "${o}"`);if(this._idToShortId.has(l))throw new Error(`MiniSearch: duplicate ID ${l}`);const c=this.addDocumentId(l);this.saveStoredFields(c,e);for(const f of r){const h=t(e,f);if(h==null)continue;const p=i(n(h,f),f),y=this._fieldIds[f],_=new Set(p).size;this.addFieldLength(c,y,this._documentCount-1,_);for(const w of p){const T=s(w,f);if(Array.isArray(T))for(const O of T)this.addTerm(y,c,O);else T&&this.addTerm(y,c,T)}}}addAll(e){for(const t of e)this.add(t)}addAllAsync(e,t={}){const{chunkSize:n=10}=t,i={chunk:[],promise:Promise.resolve()},{chunk:s,promise:r}=e.reduce(({chunk:o,promise:l},c,f)=>(o.push(c),(f+1)%n===0?{chunk:[],promise:l.then(()=>new Promise(h=>setTimeout(h,0))).then(()=>this.addAll(o))}:{chunk:o,promise:l}),i);return r.then(()=>this.addAll(s))}remove(e){const{tokenize:t,processTerm:n,extractField:i,stringifyField:s,fields:r,idField:o}=this._options,l=i(e,o);if(l==null)throw new Error(`MiniSearch: document does not have ID field "${o}"`);const c=this._idToShortId.get(l);if(c==null)throw new Error(`MiniSearch: cannot remove document with ID ${l}: it is not in the index`);for(const f of r){const h=i(e,f);if(h==null)continue;const p=t(s(h,f),f),y=this._fieldIds[f],_=new Set(p).size;this.removeFieldLength(c,y,this._documentCount,_);for(const w of p){const T=n(w,f);if(Array.isArray(T))for(const O of T)this.removeTerm(y,c,O);else T&&this.removeTerm(y,c,T)}}this._storedFields.delete(c),this._documentIds.delete(c),this._idToShortId.delete(l),this._fieldLength.delete(c),this._documentCount-=1}removeAll(e){if(e)for(const t of e)this.remove(t);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new X,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(e){const t=this._idToShortId.get(e);if(t==null)throw new Error(`MiniSearch: cannot discard document with ID ${e}: it is not in the index`);this._idToShortId.delete(e),this._documentIds.delete(t),this._storedFields.delete(t),(this._fieldLength.get(t)||[]).forEach((n,i)=>{this.removeFieldLength(t,i,this._documentCount,n)}),this._fieldLength.delete(t),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:e,minDirtCount:t,batchSize:n,batchWait:i}=this._options.autoVacuum;this.conditionalVacuum({batchSize:n,batchWait:i},{minDirtCount:t,minDirtFactor:e})}discardAll(e){const t=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const n of e)this.discard(n)}finally{this._options.autoVacuum=t}this.maybeAutoVacuum()}replace(e){const{idField:t,extractField:n}=this._options,i=n(e,t);this.discard(i),this.add(e)}vacuum(e={}){return this.conditionalVacuum(e)}conditionalVacuum(e,t){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const n=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=Be,this.performVacuuming(e,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)}async performVacuuming(e,t){const n=this._dirtCount;if(this.vacuumConditionsMet(t)){const i=e.batchSize||$e.batchSize,s=e.batchWait||$e.batchWait;let r=1;for(const[o,l]of this._index){for(const[c,f]of l)for(const[h]of f)this._documentIds.has(h)||(f.size<=1?l.delete(c):f.delete(h));this._index.get(o).size===0&&this._index.delete(o),r%i===0&&await new Promise(c=>setTimeout(c,s)),r+=1}this._dirtCount-=n}await null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null}vacuumConditionsMet(e){if(e==null)return!0;let{minDirtCount:t,minDirtFactor:n}=e;return t=t||De.minDirtCount,n=n||De.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=n}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(e){return this._idToShortId.has(e)}getStoredFields(e){const t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)}search(e,t={}){const{searchOptions:n}=this._options,i={...n,...t},s=this.executeQuery(e,t),r=[];for(const[o,{score:l,terms:c,match:f}]of s){const h=c.length||1,p={id:this._documentIds.get(o),score:l*h,terms:Object.keys(f),queryTerms:c,match:f};Object.assign(p,this._storedFields.get(o)),(i.filter==null||i.filter(p))&&r.push(p)}return e===oe.wildcard&&i.boostDocument==null||r.sort(ut),r}autoSuggest(e,t={}){t={...this._options.autoSuggestOptions,...t};const n=new Map;for(const{score:s,terms:r}of this.search(e,t)){const o=r.join(" "),l=n.get(o);l!=null?(l.score+=s,l.count+=1):n.set(o,{score:s,terms:r,count:1})}const i=[];for(const[s,{score:r,terms:o,count:l}]of n)i.push({suggestion:s,terms:o,score:r/l});return i.sort(ut),i}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)}static async loadJSONAsync(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(e),t)}static getDefault(e){if(Le.hasOwnProperty(e))return Me(Le,e);throw new Error(`MiniSearch: unknown option "${e}"`)}static loadJS(e,t){const{index:n,documentIds:i,fieldLength:s,storedFields:r,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=Se(i),l._fieldLength=Se(s),l._storedFields=Se(r);for(const[c,f]of l._documentIds)l._idToShortId.set(f,c);for(const[c,f]of n){const h=new Map;for(const p of Object.keys(f)){let y=f[p];o===1&&(y=y.ds),h.set(parseInt(p,10),Se(y))}l._index.set(c,h)}return l}static async loadJSAsync(e,t){const{index:n,documentIds:i,fieldLength:s,storedFields:r,serializationVersion:o}=e,l=this.instantiateMiniSearch(e,t);l._documentIds=await _e(i),l._fieldLength=await _e(s),l._storedFields=await _e(r);for(const[f,h]of l._documentIds)l._idToShortId.set(h,f);let c=0;for(const[f,h]of n){const p=new Map;for(const y of Object.keys(h)){let _=h[y];o===1&&(_=_.ds),p.set(parseInt(y,10),await _e(_))}++c%1e3===0&&await It(0),l._index.set(f,p)}return l}static instantiateMiniSearch(e,t){const{documentCount:n,nextId:i,fieldIds:s,averageFieldLength:r,dirtCount:o,serializationVersion:l}=e;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const c=new oe(t);return c._documentCount=n,c._nextId=i,c._idToShortId=new Map,c._fieldIds=s,c._avgFieldLength=r,c._dirtCount=o||0,c._index=new X,c}executeQuery(e,t={}){if(e===oe.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){const p={...t,...e,queries:void 0},y=e.queries.map(_=>this.executeQuery(_,p));return this.combineResults(y,p.combineWith)}const{tokenize:n,processTerm:i,searchOptions:s}=this._options,r={tokenize:n,processTerm:i,...s,...t},{tokenize:o,processTerm:l}=r,h=o(e).flatMap(p=>l(p)).filter(p=>!!p).map(jn(r)).map(p=>this.executeQuerySpec(p,r));return this.combineResults(h,r.combineWith)}executeQuerySpec(e,t){const n={...this._options.searchOptions,...t},i=(n.fields||this._options.fields).reduce((w,T)=>({...w,[T]:Me(n.boost,T)||1}),{}),{boostDocument:s,weights:r,maxFuzzy:o,bm25:l}=n,{fuzzy:c,prefix:f}={...lt.weights,...r},h=this._index.get(e.term),p=this.termResults(e.term,e.term,1,e.termBoost,h,i,s,l);let y,_;if(e.prefix&&(y=this._index.atPrefix(e.term)),e.fuzzy){const w=e.fuzzy===!0?.2:e.fuzzy,T=w<1?Math.min(o,Math.round(e.term.length*w)):w;T&&(_=this._index.fuzzyGet(e.term,T))}if(y)for(const[w,T]of y){const O=w.length-e.term.length;if(!O)continue;_?.delete(w);const R=f*w.length/(w.length+.3*O);this.termResults(e.term,w,R,e.termBoost,T,i,s,l,p)}if(_)for(const w of _.keys()){const[T,O]=_.get(w);if(!O)continue;const R=c*w.length/(w.length+O);this.termResults(e.term,w,R,e.termBoost,T,i,s,l,p)}return p}executeWildcardQuery(e){const t=new Map,n={...this._options.searchOptions,...e};for(const[i,s]of this._documentIds){const r=n.boostDocument?n.boostDocument(s,"",this._storedFields.get(i)):1;t.set(i,{score:r,terms:[],match:{}})}return t}combineResults(e,t=Ke){if(e.length===0)return new Map;const n=t.toLowerCase(),i=Pn[n];if(!i)throw new Error(`Invalid combination operator: ${t}`);return e.reduce(i)||new Map}toJSON(){const e=[];for(const[t,n]of this._index){const i={};for(const[s,r]of n)i[s]=Object.fromEntries(r);e.push([t,i])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:e,serializationVersion:2}}termResults(e,t,n,i,s,r,o,l,c=new Map){if(s==null)return c;for(const f of Object.keys(r)){const h=r[f],p=this._fieldIds[f],y=s.get(p);if(y==null)continue;let _=y.size;const w=this._avgFieldLength[p];for(const T of y.keys()){if(!this._documentIds.has(T)){this.removeTerm(p,T,t),_-=1;continue}const O=o?o(this._documentIds.get(T),t,this._storedFields.get(T)):1;if(!O)continue;const R=y.get(T),J=this._fieldLength.get(T)[p],B=Vn(R,_,this._documentCount,J,w,l),K=n*i*h*O*B,C=c.get(T);if(C){C.score+=K,Bn(C.terms,e);const F=Me(C.match,t);F?F.push(f):C.match[t]=[f]}else c.set(T,{score:K,terms:[e],match:{[t]:[f]}})}}return c}addTerm(e,t,n){const i=this._index.fetch(n,dt);let s=i.get(e);if(s==null)s=new Map,s.set(t,1),i.set(e,s);else{const r=s.get(t);s.set(t,(r||0)+1)}}removeTerm(e,t,n){if(!this._index.has(n)){this.warnDocumentChanged(t,e,n);return}const i=this._index.fetch(n,dt),s=i.get(e);s==null||s.get(t)==null?this.warnDocumentChanged(t,e,n):s.get(t)<=1?s.size<=1?i.delete(e):s.delete(t):s.set(t,s.get(t)-1),this._index.get(n).size===0&&this._index.delete(n)}warnDocumentChanged(e,t,n){for(const i of Object.keys(this._fieldIds))if(this._fieldIds[i]===t){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(e)} has changed before removal: term "${n}" was not present in field "${i}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(e){const t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t}addFields(e){for(let t=0;tObject.prototype.hasOwnProperty.call(a,e)?a[e]:void 0,Pn={[Ke]:(a,e)=>{for(const t of e.keys()){const n=a.get(t);if(n==null)a.set(t,e.get(t));else{const{score:i,terms:s,match:r}=e.get(t);n.score=n.score+i,n.match=Object.assign(n.match,r),ct(n.terms,s)}}return a},[Et]:(a,e)=>{const t=new Map;for(const n of e.keys()){const i=a.get(n);if(i==null)continue;const{score:s,terms:r,match:o}=e.get(n);ct(i.terms,r),t.set(n,{score:i.score+s,terms:i.terms,match:Object.assign(i.match,o)})}return t},[Dn]:(a,e)=>{for(const t of e.keys())a.delete(t);return a}},zn={k:1.2,b:.7,d:.5},Vn=(a,e,t,n,i,s)=>{const{k:r,b:o,d:l}=s;return Math.log(1+(t-e+.5)/(e+.5))*(l+a*(r+1)/(a+r*(1-o+o*n/i)))},jn=a=>(e,t,n)=>{const i=typeof a.fuzzy=="function"?a.fuzzy(e,t,n):a.fuzzy||!1,s=typeof a.prefix=="function"?a.prefix(e,t,n):a.prefix===!0,r=typeof a.boostTerm=="function"?a.boostTerm(e,t,n):1;return{term:e,fuzzy:i,prefix:s,termBoost:r}},Le={idField:"id",extractField:(a,e)=>a[e],stringifyField:(a,e)=>a.toString(),tokenize:a=>a.split(Wn),processTerm:a=>a.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(a,e)=>{typeof console?.[a]=="function"&&console[a](e)},autoVacuum:!0},lt={combineWith:Ke,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:zn},$n={combineWith:Et,prefix:(a,e,t)=>e===t.length-1},$e={batchSize:1e3,batchWait:10},Be={minDirtFactor:.1,minDirtCount:20},De={...$e,...Be},Bn=(a,e)=>{a.includes(e)||a.push(e)},ct=(a,e)=>{for(const t of e)a.includes(t)||a.push(t)},ut=({score:a},{score:e})=>e-a,dt=()=>new Map,Se=a=>{const e=new Map;for(const t of Object.keys(a))e.set(parseInt(t,10),a[t]);return e},_e=async a=>{const e=new Map;let t=0;for(const n of Object.keys(a))e.set(parseInt(n,10),a[n]),++t%1e3===0&&await It(0);return e},It=a=>new Promise(e=>setTimeout(e,a)),Wn=/[\n\r\p{Z}\p{P}]+/u;class Kn{max;cache;constructor(e=10){this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}function Jn(a){const{localeIndex:e,theme:t}=ft();function n(i){const s=i.split("."),r=t.value.search?.options,o=r&&typeof r=="object",l=o&&r.locales?.[e.value]?.translations||null,c=o&&r.translations||null;let f=l,h=c,p=a;const y=s.pop();for(const _ of s){let w=null;const T=p?.[_];T&&(w=p=T);const O=h?.[_];O&&(w=h=O);const R=f?.[_];R&&(w=f=R),T||(p=w),O||(h=w),R||(f=w)}return f?.[y]??h?.[y]??p?.[y]??""}return n}const Gn=["aria-owns"],Un={class:"shell"},qn=["title"],Hn={class:"search-actions before"},Qn=["title"],Yn=["aria-activedescendant","aria-controls","placeholder"],Zn={class:"search-actions"},Xn=["title"],er=["disabled","title"],tr=["id","role","aria-labelledby"],nr=["id","aria-selected"],rr=["href","aria-label","onMouseenter","onFocusin","data-index"],ir={class:"titles"},sr=["innerHTML"],ar={class:"title main"},or=["innerHTML"],lr={key:0,class:"excerpt-wrapper"},cr={key:0,class:"excerpt",inert:""},ur=["innerHTML"],dr={key:0,class:"no-results"},fr={class:"search-keyboard-shortcuts"},hr=["aria-label"],pr=["aria-label"],vr=["aria-label"],mr=["aria-label"],gr=At({__name:"VPLocalSearchBox",emits:["close"],setup(a,{emit:e}){const t=e,n=se(),i=se(),s=se(Xt),r=ft(),{activate:o}=On(n,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:l,theme:c}=r,f=Qe(async()=>et(oe.loadJSON((await s.value[l.value]?.())?.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...c.value.search?.provider==="local"&&c.value.search.options?.miniSearch?.searchOptions},...c.value.search?.provider==="local"&&c.value.search.options?.miniSearch?.options}))),p=xe(()=>c.value.search?.provider==="local"&&c.value.search.options?.disableQueryPersistence===!0).value?de(""):Ct("vitepress:local-search-filter",""),y=Mt("vitepress:local-search-detailed-list",c.value.search?.provider==="local"&&c.value.search.options?.detailedView===!0),_=xe(()=>c.value.search?.provider==="local"&&(c.value.search.options?.disableDetailedView===!0||c.value.search.options?.detailedView===!1));Lt(()=>{_.value&&(y.value=!1)});const w=se([]),T=de(!1);Pe(p,()=>{T.value=!1});const O=Qe(async()=>{if(i.value)return et(new An(i.value))},null),R=new Kn(16);Dt(()=>[f.value,p.value,y.value],async([m,v,g],E,I)=>{E?.[0]!==m&&R.clear();let A=!1;if(I(()=>{A=!0}),!m)return;w.value=m.search(v).slice(0,16),T.value=!0;const V=g?await Promise.all(w.value.map(M=>J(M.id))):[];if(A)return;for(const{id:M,mod:Q}of V){const Y=M.slice(0,M.indexOf("#"));let le=R.get(Y);if(le)continue;le=new Map,R.set(Y,le);const ce=Q.default??Q;if(ce?.render||ce?.setup){const ee=qt(ce);ee.config.warnHandler=()=>{},ee.provide(Ht,r),Object.defineProperties(ee.config.globalProperties,{$frontmatter:{get(){return r.frontmatter.value}},$params:{get(){return r.page.value.params}}});const Je=document.createElement("div");ee.mount(Je),Je.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(ue=>{const Ge=ue.querySelector("a")?.getAttribute("href"),Ue=Ge?.startsWith("#")&&Ge.slice(1);if(!Ue)return;let qe="";for(;(ue=ue.nextElementSibling)&&!/^h[1-6]$/i.test(ue.tagName);)qe+=ue.outerHTML;le.set(Ue,qe)}),ee.unmount()}if(A)return}const D=new Set;if(w.value=w.value.map(M=>{const[Q,Y]=M.id.split("#"),ce=R.get(Q)?.get(Y)??"";for(const ee in M.match)D.add(ee);return{...M,text:ce}}),await fe(),A)return;await new Promise(M=>{O.value?.unmark({done:()=>{O.value?.markRegExp(b(D),{done:M})}})});const G=n.value?.querySelectorAll(".result .excerpt")??[];for(const M of G)M.querySelector('mark[data-markjs="true"]')?.scrollIntoView({block:"center"});i.value?.firstElementChild?.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function J(m){const v=Qt(m.slice(0,m.indexOf("#")));try{if(!v)throw new Error(`Cannot find file for id: ${m}`);return{id:m,mod:await import(v)}}catch(g){return console.error(g),{id:m,mod:{}}}}const B=de(),K=xe(()=>p.value?.length<=0);function C(m=!0){B.value?.focus(),m&&B.value?.select()}Oe(()=>{C()});function F(m){m.pointerType==="mouse"&&C()}const N=de(-1),j=de(!0);Pe(w,m=>{N.value=m.length?0:-1,H()});function H(){fe(()=>{document.querySelector(".result.selected")?.scrollIntoView({block:"nearest"})})}be("ArrowUp",m=>{m.preventDefault(),N.value--,N.value<0&&(N.value=w.value.length-1),j.value=!0,H()}),be("ArrowDown",m=>{m.preventDefault(),N.value++,N.value>=w.value.length&&(N.value=0),j.value=!0,H()});const W=Pt();be("Enter",m=>{if(m.isComposing||m.target instanceof HTMLButtonElement&&m.target.type!=="submit")return;const v=w.value[N.value];if(m.target instanceof HTMLInputElement&&!v){m.preventDefault();return}v&&(W.go(v.id),t("close"))}),be("Escape",()=>{t("close")});const x=Jn({button:{buttonText:"Search"},modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}});Oe(()=>{window.history.pushState(null,"",null)}),zt("popstate",m=>{m.preventDefault(),t("close")});const u=Vt(jt?document.body:null);Oe(()=>{fe(()=>{u.value=!0,fe().then(()=>o())})}),$t(()=>{u.value=!1});function d(){p.value="",fe().then(()=>C(!1))}function b(m){return new RegExp([...m].sort((v,g)=>g.length-v.length).map(v=>`(${Yt(v)})`).join("|"),"gi")}function S(m){if(!j.value)return;const v=m.target?.closest(".result"),g=Number.parseInt(v?.dataset.index);g>=0&&g!==N.value&&(N.value=g),j.value=!1}return(m,v)=>(U(),Bt(Ut,{to:"body"},[k("div",{ref_key:"el",ref:n,role:"button","aria-owns":w.value?.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[k("div",{class:"backdrop",onClick:v[0]||(v[0]=g=>m.$emit("close"))}),k("div",Un,[k("form",{class:"search-bar",onPointerup:v[4]||(v[4]=g=>F(g)),onSubmit:v[5]||(v[5]=Wt(()=>{},["prevent"]))},[k("label",{title:L(x)("button.buttonText"),id:"localsearch-label",for:"localsearch-input"},[...v[7]||(v[7]=[k("span",{"aria-hidden":"true",class:"vpi-search search-icon local-search-icon"},null,-1)])],8,qn),k("div",Hn,[k("button",{class:"back-button",title:L(x)("modal.backButtonTitle"),onClick:v[1]||(v[1]=g=>m.$emit("close"))},[...v[8]||(v[8]=[k("span",{class:"vpi-arrow-left local-search-icon"},null,-1)])],8,Qn)]),Kt(k("input",{ref_key:"searchInput",ref:B,"onUpdate:modelValue":v[2]||(v[2]=g=>Gt(p)?p.value=g:null),"aria-activedescendant":N.value>-1?"localsearch-item-"+N.value:void 0,"aria-autocomplete":"both","aria-controls":w.value?.length?"localsearch-list":void 0,"aria-labelledby":"localsearch-label",autocapitalize:"off",autocomplete:"off",autocorrect:"off",class:"search-input",id:"localsearch-input",enterkeyhint:"go",maxlength:"64",placeholder:L(x)("button.buttonText"),spellcheck:"false",type:"search"},null,8,Yn),[[Jt,L(p)]]),k("div",Zn,[_.value?ye("",!0):(U(),Z("button",{key:0,class:Ye(["toggle-layout-button",{"detailed-list":L(y)}]),type:"button",title:L(x)("modal.displayDetails"),onClick:v[3]||(v[3]=g=>N.value>-1&&(y.value=!L(y)))},[...v[9]||(v[9]=[k("span",{class:"vpi-layout-list local-search-icon"},null,-1)])],10,Xn)),k("button",{class:"clear-button",type:"reset",disabled:K.value,title:L(x)("modal.resetButtonTitle"),onClick:d},[...v[10]||(v[10]=[k("span",{class:"vpi-delete local-search-icon"},null,-1)])],8,er)])],32),k("ul",{ref_key:"resultsEl",ref:i,id:w.value?.length?"localsearch-list":void 0,role:w.value?.length?"listbox":void 0,"aria-labelledby":w.value?.length?"localsearch-label":void 0,class:"results",onMousemove:S},[(U(!0),Z(Xe,null,Ze(w.value,(g,E)=>(U(),Z("li",{key:g.id,id:"localsearch-item-"+E,"aria-selected":N.value===E?"true":"false",role:"option"},[k("a",{href:g.id,class:Ye(["result",{selected:N.value===E}]),"aria-label":[...g.titles,g.title].join(" > "),onMouseenter:I=>!j.value&&(N.value=E),onFocusin:I=>N.value=E,onClick:v[6]||(v[6]=I=>m.$emit("close")),"data-index":E},[k("div",null,[k("div",ir,[v[12]||(v[12]=k("span",{class:"title-icon"},"#",-1)),(U(!0),Z(Xe,null,Ze(g.titles,(I,A)=>(U(),Z("span",{key:A,class:"title"},[k("span",{class:"text",innerHTML:I},null,8,sr),v[11]||(v[11]=k("span",{class:"vpi-chevron-right local-search-icon"},null,-1))]))),128)),k("span",ar,[k("span",{class:"text",innerHTML:g.title},null,8,or)])]),L(y)?(U(),Z("div",lr,[g.text?(U(),Z("div",cr,[k("div",{class:"vp-doc",innerHTML:g.text},null,8,ur)])):ye("",!0),v[13]||(v[13]=k("div",{class:"excerpt-gradient-bottom"},null,-1)),v[14]||(v[14]=k("div",{class:"excerpt-gradient-top"},null,-1))])):ye("",!0)])],42,rr)],8,nr))),128)),L(p)&&!w.value.length&&T.value?(U(),Z("li",dr,[he(pe(L(x)("modal.noResultsText"))+' "',1),k("strong",null,pe(L(p)),1),v[15]||(v[15]=he('" ',-1))])):ye("",!0)],40,tr),k("div",fr,[k("span",null,[k("kbd",{"aria-label":L(x)("modal.footer.navigateUpKeyAriaLabel")},[...v[16]||(v[16]=[k("span",{class:"vpi-arrow-up navigate-icon"},null,-1)])],8,hr),k("kbd",{"aria-label":L(x)("modal.footer.navigateDownKeyAriaLabel")},[...v[17]||(v[17]=[k("span",{class:"vpi-arrow-down navigate-icon"},null,-1)])],8,pr),he(" "+pe(L(x)("modal.footer.navigateText")),1)]),k("span",null,[k("kbd",{"aria-label":L(x)("modal.footer.selectKeyAriaLabel")},[...v[18]||(v[18]=[k("span",{class:"vpi-corner-down-left navigate-icon"},null,-1)])],8,vr),he(" "+pe(L(x)("modal.footer.selectText")),1)]),k("span",null,[k("kbd",{"aria-label":L(x)("modal.footer.closeKeyAriaLabel")},"esc",8,mr),he(" "+pe(L(x)("modal.footer.closeText")),1)])])])],8,Gn)]))}}),_r=Zt(gr,[["__scopeId","data-v-8c9d8b44"]]);export{_r as default}; diff --git a/public/assets/chunks/framework.CXEBwYRw.js b/public/assets/chunks/framework.CXEBwYRw.js new file mode 100644 index 0000000..6f4ae4e --- /dev/null +++ b/public/assets/chunks/framework.CXEBwYRw.js @@ -0,0 +1,4 @@ +function Ys(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ne={},Ft=[],Ye=()=>{},wi=()=>!1,dn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Kn=e=>e.startsWith("onUpdate:"),he=Object.assign,zs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fl=Object.prototype.hasOwnProperty,te=(e,t)=>fl.call(e,t),G=Array.isArray,Dt=e=>hn(e)==="[object Map]",Si=e=>hn(e)==="[object Set]",Er=e=>hn(e)==="[object Date]",X=e=>typeof e=="function",le=e=>typeof e=="string",Le=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Ei=e=>(ee(e)||X(e))&&X(e.then)&&X(e.catch),Ti=Object.prototype.toString,hn=e=>Ti.call(e),dl=e=>hn(e).slice(8,-1),xi=e=>hn(e)==="[object Object]",qn=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Et=Ys(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},hl=/-\w/g,Ce=Gn(e=>e.replace(hl,t=>t.slice(1).toUpperCase())),pl=/\B([A-Z])/g,pt=Gn(e=>e.replace(pl,"-$1").toLowerCase()),Xn=Gn(e=>e.charAt(0).toUpperCase()+e.slice(1)),On=Gn(e=>e?`on${Xn(e)}`:""),Xe=(e,t)=>!Object.is(e,t),Pn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Js=e=>{const t=parseFloat(e);return isNaN(t)?e:t},gl=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let Tr;const Yn=()=>Tr||(Tr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Qs(e){if(G(e)){const t={};for(let n=0;n{if(n){const s=n.split(vl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Zs(e){let t="";if(le(e))t=e;else if(G(e))for(let n=0;n!!(e&&e.__v_isRef===!0),El=e=>le(e)?e:e==null?"":G(e)||ee(e)&&(e.toString===Ti||!X(e.toString))?Mi(e)?El(e.value):JSON.stringify(e,Ri,2):String(e),Ri=(e,t)=>Mi(t)?Ri(e,t.value):Dt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[hs(s,i)+" =>"]=r,n),{})}:Si(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>hs(n))}:Le(t)?hs(t):ee(t)&&!G(t)&&!xi(t)?String(t):t,hs=(e,t="")=>{var n;return Le(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let pe;class Tl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=pe,!t&&pe&&(this.index=(pe.scopes||(pe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0){if(pe===this)pe=this.prevScope;else{let t=pe;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(Qt){let t=Qt;for(Qt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Jt;){let t=Jt;for(Jt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Ii(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ni(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),rr(s),Cl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Ps(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Fi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Fi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===sn)||(e.globalVersion=sn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ps(e))))return;e.flags|=2;const t=e.dep,n=ie,s=He;ie=e,He=!0;try{Ii(e);const r=e.fn(e._value);(t.version===0||Xe(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ie=n,He=s,Ni(e),e.flags&=-3}}function rr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)rr(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Cl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let He=!0;const Di=[];function st(){Di.push(He),He=!1}function rt(){const e=Di.pop();He=e===void 0?!0:e}function xr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ie;ie=void 0;try{t()}finally{ie=n}}}let sn=0;class Al{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class zn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ie||!He||ie===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ie)n=this.activeLink=new Al(ie,this),ie.deps?(n.prevDep=ie.depsTail,ie.depsTail.nextDep=n,ie.depsTail=n):ie.deps=ie.depsTail=n,Hi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ie.depsTail,n.nextDep=void 0,ie.depsTail.nextDep=n,ie.depsTail=n,ie.deps===n&&(ie.deps=s)}return n}trigger(t){this.version++,sn++,this.notify(t)}notify(t){nr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{sr()}}}function Hi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Hi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Dn=new WeakMap,Tt=Symbol(""),Ls=Symbol(""),rn=Symbol("");function be(e,t,n){if(He&&ie){let s=Dn.get(e);s||Dn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new zn),r.map=s,r.key=n),r.track()}}function tt(e,t,n,s,r,i){const o=Dn.get(e);if(!o){sn++;return}const l=c=>{c&&c.trigger()};if(nr(),t==="clear")o.forEach(l);else{const c=G(e),u=c&&qn(n);if(c&&n==="length"){const a=Number(s);o.forEach((d,m)=>{(m==="length"||m===rn||!Le(m)&&m>=a)&&l(d)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),u&&l(o.get(rn)),t){case"add":c?u&&l(o.get("length")):(l(o.get(Tt)),Dt(e)&&l(o.get(Ls)));break;case"delete":c||(l(o.get(Tt)),Dt(e)&&l(o.get(Ls)));break;case"set":Dt(e)&&l(o.get(Tt));break}}sr()}function Ml(e,t){const n=Dn.get(e);return n&&n.get(t)}function Ot(e){const t=Z(e);return t===e?t:(be(t,"iterate",rn),Oe(e)?t:t.map(je))}function Jn(e){return be(e=Z(e),"iterate",rn),e}function Ge(e,t){return it(e)?Vt(ft(e)?je(t):t):je(t)}const Rl={__proto__:null,[Symbol.iterator](){return gs(this,Symbol.iterator,e=>Ge(this,e))},concat(...e){return Ot(this).concat(...e.map(t=>G(t)?Ot(t):t))},entries(){return gs(this,"entries",e=>(e[1]=Ge(this,e[1]),e))},every(e,t){return Je(this,"every",e,t,void 0,arguments)},filter(e,t){return Je(this,"filter",e,t,n=>n.map(s=>Ge(this,s)),arguments)},find(e,t){return Je(this,"find",e,t,n=>Ge(this,n),arguments)},findIndex(e,t){return Je(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Je(this,"findLast",e,t,n=>Ge(this,n),arguments)},findLastIndex(e,t){return Je(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Je(this,"forEach",e,t,void 0,arguments)},includes(...e){return ms(this,"includes",e)},indexOf(...e){return ms(this,"indexOf",e)},join(e){return Ot(this).join(e)},lastIndexOf(...e){return ms(this,"lastIndexOf",e)},map(e,t){return Je(this,"map",e,t,void 0,arguments)},pop(){return Kt(this,"pop")},push(...e){return Kt(this,"push",e)},reduce(e,...t){return Cr(this,"reduce",e,t)},reduceRight(e,...t){return Cr(this,"reduceRight",e,t)},shift(){return Kt(this,"shift")},some(e,t){return Je(this,"some",e,t,void 0,arguments)},splice(...e){return Kt(this,"splice",e)},toReversed(){return Ot(this).toReversed()},toSorted(e){return Ot(this).toSorted(e)},toSpliced(...e){return Ot(this).toSpliced(...e)},unshift(...e){return Kt(this,"unshift",e)},values(){return gs(this,"values",e=>Ge(this,e))}};function gs(e,t,n){const s=Jn(e),r=s[t]();return s!==e&&!Oe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const Ol=Array.prototype;function Je(e,t,n,s,r,i){const o=Jn(e),l=o!==e&&!Oe(e),c=o[t];if(c!==Ol[t]){const d=c.apply(e,i);return l?je(d):d}let u=n;o!==e&&(l?u=function(d,m){return n.call(this,Ge(e,d),m,e)}:n.length>2&&(u=function(d,m){return n.call(this,d,m,e)}));const a=c.call(o,u,s);return l&&r?r(a):a}function Cr(e,t,n,s){const r=Jn(e),i=r!==e&&!Oe(e);let o=n,l=!1;r!==e&&(i?(l=s.length===0,o=function(u,a,d){return l&&(l=!1,u=Ge(e,u)),n.call(this,u,Ge(e,a),d,e)}):n.length>3&&(o=function(u,a,d){return n.call(this,u,a,d,e)}));const c=r[t](o,...s);return l?Ge(e,c):c}function ms(e,t,n){const s=Z(e);be(s,"iterate",rn);const r=s[t](...n);return(r===-1||r===!1)&&es(n[0])?(n[0]=Z(n[0]),s[t](...n)):r}function Kt(e,t,n=[]){st(),nr();const s=Z(e)[t].apply(e,n);return sr(),rt(),s}const Pl=Ys("__proto__,__v_isRef,__isVue"),$i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Le));function Ll(e){Le(e)||(e=String(e));const t=Z(this);return be(t,"has",e),t.hasOwnProperty(e)}class ji{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Ki:Bi:i?Wi:Ui).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=G(t);if(!r){let c;if(o&&(c=Rl[n]))return c;if(n==="hasOwnProperty")return Ll}const l=Reflect.get(t,n,ae(t)?t:s);if((Le(n)?$i.has(n):Pl(n))||(r||be(t,"get",n),i))return l;if(ae(l)){const c=o&&qn(n)?l:l.value;return r&&ee(c)?on(c):c}return ee(l)?r?on(l):jt(l):l}}class Vi extends ji{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=G(t)&&qn(n);if(!this._isShallow){const u=it(i);if(!Oe(s)&&!it(s)&&(i=Z(i),s=Z(s)),!o&&ae(i)&&!ae(s))return u||(i.value=s),!0}const l=o?Number(n)e,bn=e=>Reflect.getPrototypeOf(e);function Hl(e,t,n){return function(...s){const r=this.__v_raw,i=Z(r),o=Dt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),a=n?Is:t?Vt:je;return!t&&be(i,"iterate",c?Ls:Tt),he(Object.create(u),{next(){const{value:d,done:m}=u.next();return m?{value:d,done:m}:{value:l?[a(d[0]),a(d[1])]:a(d),done:m}}})}}function _n(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function $l(e,t){const n={get(r){const i=this.__v_raw,o=Z(i),l=Z(r);e||(Xe(r,l)&&be(o,"get",r),be(o,"get",l));const{has:c}=bn(o),u=t?Is:e?Vt:je;if(c.call(o,r))return u(i.get(r));if(c.call(o,l))return u(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&be(Z(r),"iterate",Tt),r.size},has(r){const i=this.__v_raw,o=Z(i),l=Z(r);return e||(Xe(r,l)&&be(o,"has",r),be(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=Z(l),u=t?Is:e?Vt:je;return!e&&be(c,"iterate",Tt),l.forEach((a,d)=>r.call(i,u(a),u(d),o))}};return he(n,e?{add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear")}:{add(r){const i=Z(this),o=bn(i),l=Z(r),c=!t&&!Oe(r)&&!it(r)?l:r;return o.has.call(i,c)||Xe(r,c)&&o.has.call(i,r)||Xe(l,c)&&o.has.call(i,l)||(i.add(c),tt(i,"add",c,c)),this},set(r,i){!t&&!Oe(i)&&!it(i)&&(i=Z(i));const o=Z(this),{has:l,get:c}=bn(o);let u=l.call(o,r);u||(r=Z(r),u=l.call(o,r));const a=c.call(o,r);return o.set(r,i),u?Xe(i,a)&&tt(o,"set",r,i):tt(o,"add",r,i),this},delete(r){const i=Z(this),{has:o,get:l}=bn(i);let c=o.call(i,r);c||(r=Z(r),c=o.call(i,r)),l&&l.call(i,r);const u=i.delete(r);return c&&tt(i,"delete",r,void 0),u},clear(){const r=Z(this),i=r.size!==0,o=r.clear();return i&&tt(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Hl(r,e,t)}),n}function Qn(e,t){const n=$l(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(te(n,r)&&r in s?n:s,r,i)}const jl={get:Qn(!1,!1)},Vl={get:Qn(!1,!0)},kl={get:Qn(!0,!1)},Ul={get:Qn(!0,!0)},Ui=new WeakMap,Wi=new WeakMap,Bi=new WeakMap,Ki=new WeakMap;function Wl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Bl(e){return e.__v_skip||!Object.isExtensible(e)?0:Wl(dl(e))}function jt(e){return it(e)?e:Zn(e,!1,Il,jl,Ui)}function Kl(e){return Zn(e,!1,Fl,Vl,Wi)}function on(e){return Zn(e,!0,Nl,kl,Bi)}function ql(e){return Zn(e,!0,Dl,Ul,Ki)}function Zn(e,t,n,s,r){if(!ee(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Bl(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function ft(e){return it(e)?ft(e.__v_raw):!!(e&&e.__v_isReactive)}function it(e){return!!(e&&e.__v_isReadonly)}function Oe(e){return!!(e&&e.__v_isShallow)}function es(e){return e?!!e.__v_raw:!1}function Z(e){const t=e&&e.__v_raw;return t?Z(t):e}function Ln(e){return!te(e,"__v_skip")&&Object.isExtensible(e)&&Ci(e,"__v_skip",!0),e}const je=e=>ee(e)?jt(e):e,Vt=e=>ee(e)?on(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function $e(e){return qi(e,!1)}function _e(e){return qi(e,!0)}function qi(e,t){return ae(e)?e:new Gl(e,t)}class Gl{constructor(t,n){this.dep=new zn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Z(t),this._value=n?t:je(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Oe(t)||it(t);t=s?t:Z(t),Xe(t,n)&&(this._rawValue=t,this._value=s?t:je(t),this.dep.trigger())}}function ts(e){return ae(e)?e.value:e}function ce(e){return X(e)?e():ts(e)}const Xl={get:(e,t,n)=>t==="__v_raw"?e:ts(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ae(r)&&!ae(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Gi(e){return ft(e)?e:new Proxy(e,Xl)}class Yl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new zn,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function zl(e){return new Yl(e)}class Jl{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Le(n)?n:String(n),this._raw=Z(t);let r=!0,i=t;if(!G(t)||Le(this._key)||!qn(this._key))do r=!es(i)||Oe(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=ts(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ae(this._raw[this._key])){const n=this._object[this._key];if(ae(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Ml(this._raw,this._key)}}class Ql{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Zl(e,t,n){return ae(e)?e:X(e)?new Ql(e):ee(e)&&arguments.length>1?ec(e,t,n):$e(e)}function ec(e,t,n){return new Jl(e,t,n)}class tc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new zn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=sn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ie!==this)return Li(this,!0),!0}get value(){const t=this.dep.track();return Fi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function nc(e,t,n=!1){let s,r;return X(e)?s=e:(s=e.get,r=e.set),new tc(s,r,n)}const wn={},Hn=new WeakMap;let _t;function sc(e,t=!1,n=_t){if(n){let s=Hn.get(n);s||Hn.set(n,s=[]),s.push(e)}}function rc(e,t,n=ne){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,u=g=>r?g:Oe(g)||r===!1||r===0?nt(g,1):nt(g);let a,d,m,v,w=!1,_=!1;if(ae(e)?(d=()=>e.value,w=Oe(e)):ft(e)?(d=()=>u(e),w=!0):G(e)?(_=!0,w=e.some(g=>ft(g)||Oe(g)),d=()=>e.map(g=>{if(ae(g))return g.value;if(ft(g))return u(g);if(X(g))return c?c(g,2):g()})):X(e)?t?d=c?()=>c(e,2):e:d=()=>{if(m){st();try{m()}finally{rt()}}const g=_t;_t=a;try{return c?c(e,3,[v]):e(v)}finally{_t=g}}:d=Ye,t&&r){const g=d,M=r===!0?1/0:r;d=()=>nt(g(),M)}const O=tr(),H=()=>{a.stop(),O&&O.active&&zs(O.effects,a)};if(i&&t){const g=t;t=(...M)=>{g(...M),H()}}let I=_?new Array(e.length).fill(wn):wn;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const M=a.run();if(r||w||(_?M.some((B,P)=>Xe(B,I[P])):Xe(M,I))){m&&m();const B=_t;_t=a;try{const P=[M,I===wn?void 0:_&&I[0]===wn?[]:I,v];I=M,c?c(t,3,P):t(...P)}finally{_t=B}}}else a.run()};return l&&l(p),a=new Oi(d),a.scheduler=o?()=>o(p,!1):p,v=g=>sc(g,!1,a),m=a.onStop=()=>{const g=Hn.get(a);if(g){if(c)c(g,4);else for(const M of g)M();Hn.delete(a)}},t?s?p(!0):I=a.run():o?o(p.bind(null,!0),!0):a.run(),H.pause=a.pause.bind(a),H.resume=a.resume.bind(a),H.stop=H,H}function nt(e,t=1/0,n){if(t<=0||!ee(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ae(e))nt(e.value,t,n);else if(G(e))for(let s=0;s{nt(s,t,n)});else if(xi(e)){for(const s in e)nt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&nt(e[s],t,n)}return e}function pn(e,t,n,s){try{return s?e(...s):e()}catch(r){gn(r,t,n)}}function Ve(e,t,n,s){if(X(e)){const r=pn(e,t,n,s);return r&&Ei(r)&&r.catch(i=>{gn(i,t,n)}),r}if(G(e)){const r=[];for(let i=0;i>>1,r=Ee[s],i=ln(r);i=ln(n)?Ee.push(e):Ee.splice(oc(t),0,e),e.flags|=1,Yi()}}function Yi(){$n||($n=Xi.then(zi))}function lc(e){G(e)?Ht.push(...e):at&&e.id===-1?at.splice(Lt+1,0,e):e.flags&1||(Ht.push(e),e.flags|=1),Yi()}function Ar(e,t,n=Be+1){for(;nln(n)-ln(s));if(Ht.length=0,at){at.push(...t);return}for(at=t,Lt=0;Lte.id==null?e.flags&2?-1:1/0:e.id;function zi(e){try{for(Be=0;Be{s._d&&Wn(-1);const i=Vn(t);let o;try{o=e(...r)}finally{Vn(i),s._d&&Wn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function lf(e,t){if(ye===null)return e;const n=ls(ye),s=e.dirs||(e.dirs=[]);for(let r=0;r1)return n&&X(t)?t.call(s&&s.proxy):t}}function Qi(){return!!(gt()||At)}const uc=Symbol.for("v-scx"),fc=()=>xt(uc);function or(e,t){return ss(e,null,t)}function cf(e,t){return ss(e,null,{flush:"post"})}function Pe(e,t,n){return ss(e,t,n)}function ss(e,t,n=ne){const{immediate:s,deep:r,flush:i,once:o}=n,l=he({},n),c=t&&s||!t&&i!=="post";let u;if(kt){if(i==="sync"){const v=fc();u=v.__watcherHandles||(v.__watcherHandles=[])}else if(!c){const v=()=>{};return v.stop=Ye,v.resume=Ye,v.pause=Ye,v}}const a=ve;l.call=(v,w,_)=>Ve(v,a,w,_);let d=!1;i==="post"?l.scheduler=v=>{Se(v,a&&a.suspense)}:i!=="sync"&&(d=!0,l.scheduler=(v,w)=>{w?v():ir(v)}),l.augmentJob=v=>{t&&(v.flags|=4),d&&(v.flags|=2,a&&(v.id=a.uid,v.i=a))};const m=rc(e,t,l);return kt&&(u?u.push(m):c&&m()),m}function dc(e,t,n){const s=this.proxy,r=le(e)?e.includes(".")?Zi(s,e):()=>s[e]:e.bind(s,s);let i;X(t)?i=t:(i=t.handler,n=t);const o=vn(this),l=ss(r,i.bind(s),n);return o(),l}function Zi(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;re.__isTeleport,wt=e=>e&&(e.disabled||e.disabled===""),hc=e=>e&&(e.defer||e.defer===""),Mr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Rr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ns=(e,t)=>{const n=e&&e.to;return le(n)?t?t(n):null:n},pc={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,u){const{mc:a,pc:d,pbc:m,o:{insert:v,querySelector:w,createText:_,createComment:O,parentNode:H}}=u,I=wt(t.props);let{dynamicChildren:p}=t;const g=(P,U,b)=>{P.shapeFlag&16&&a(P.children,U,b,r,i,o,l,c)},M=(P=t)=>{const U=wt(P.props),b=P.target=Ns(P.props,w),A=Fs(b,P,_,v);b&&(o!=="svg"&&Mr(b)?o="svg":o!=="mathml"&&Rr(b)&&(o="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(b),U||(g(P,b,A),Xt(P,!1)))},B=P=>{const U=()=>{if(ct.get(P)===U){if(ct.delete(P),wt(P.props)){const b=H(P.el)||n;g(P,b,P.anchor),Xt(P,!0)}M(P)}};ct.set(P,U),Se(U,i)};if(e==null){const P=t.el=_(""),U=t.anchor=_("");if(v(P,n,s),v(U,n,s),hc(t.props)||i&&i.pendingBranch){B(t);return}I&&(g(t,n,U),Xt(t,!0)),M()}else{t.el=e.el;const P=t.anchor=e.anchor,U=ct.get(e);if(U){U.flags|=8,ct.delete(e),B(t);return}t.targetStart=e.targetStart;const b=t.target=e.target,A=t.targetAnchor=e.targetAnchor,j=wt(e.props),S=j?n:b,k=j?P:A;if(o==="svg"||Mr(b)?o="svg":(o==="mathml"||Rr(b))&&(o="mathml"),p?(m(e.dynamicChildren,p,S,r,i,o,l),fr(e,t,!0)):c||d(e,t,S,k,r,i,o,l,!1),I)j?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Sn(t,n,P,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const $=t.target=Ns(t.props,w);$&&Sn(t,$,null,u,0)}else j&&Sn(t,b,A,u,1);Xt(t,I)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:u,targetAnchor:a,target:d,props:m}=e;let v=i||!wt(m);const w=ct.get(e);if(w&&(w.flags|=8,ct.delete(e),v=!1),d&&(r(u),r(a)),i&&r(c),o&16)for(let _=0;_{e.isMounted=!0}),co(()=>{e.isUnmounting=!0}),e}const Ie=[Function,Array],no={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ie,onEnter:Ie,onAfterEnter:Ie,onEnterCancelled:Ie,onBeforeLeave:Ie,onLeave:Ie,onAfterLeave:Ie,onLeaveCancelled:Ie,onBeforeAppear:Ie,onAppear:Ie,onAfterAppear:Ie,onAppearCancelled:Ie},so=e=>{const t=e.subTree;return t.component?so(t.component):t},vc={name:"BaseTransition",props:no,setup(e,{slots:t}){const n=gt(),s=mc();return()=>{const r=t.default&&oo(t.default(),!0),i=r&&r.length?ro(r):n.subTree?la():void 0;if(!i)return;const o=Z(e),{mode:l}=o;if(s.isLeaving)return vs(i);const c=Or(i);if(!c)return vs(i);let u=Ds(c,o,s,n,d=>u=d);c.type!==me&&cn(c,u);let a=n.subTree&&Or(n.subTree);if(a&&a.type!==me&&!St(a,c)&&so(n).type!==me){let d=Ds(a,o,s,n);if(cn(a,d),l==="out-in"&&c.type!==me)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,a=void 0},vs(i);l==="in-out"&&c.type!==me?d.delayLeave=(m,v,w)=>{const _=io(s,a);_[String(a.key)]=a,m[qe]=()=>{v(),m[qe]=void 0,delete u.delayedLeave,a=void 0},u.delayedLeave=()=>{w(),delete u.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function ro(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==me){t=n;break}}return t}const yc=vc;function io(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Ds(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:m,onLeave:v,onAfterLeave:w,onLeaveCancelled:_,onBeforeAppear:O,onAppear:H,onAfterAppear:I,onAppearCancelled:p}=t,g=String(e.key),M=io(n,e),B=(b,A)=>{b&&Ve(b,s,9,A)},P=(b,A)=>{const j=A[1];B(b,A),G(b)?b.every(S=>S.length<=1)&&j():b.length<=1&&j()},U={mode:o,persisted:l,beforeEnter(b){let A=c;if(!n.isMounted)if(i)A=O||c;else return;b[qe]&&b[qe](!0);const j=M[g];j&&St(e,j)&&j.el[qe]&&j.el[qe](),B(A,[b])},enter(b){if(M[g]===e)return;let A=u,j=a,S=d;if(!n.isMounted)if(i)A=H||u,j=I||a,S=p||d;else return;let k=!1;b[qt]=K=>{k||(k=!0,K?B(S,[b]):B(j,[b]),U.delayedLeave&&U.delayedLeave(),b[qt]=void 0)};const $=b[qt].bind(null,!1);A?P(A,[b,$]):$()},leave(b,A){const j=String(e.key);if(b[qt]&&b[qt](!0),n.isUnmounting)return A();B(m,[b]);let S=!1;b[qe]=$=>{S||(S=!0,A(),$?B(_,[b]):B(w,[b]),b[qe]=void 0,M[j]===e&&delete M[j])};const k=b[qe].bind(null,!1);M[j]=e,v?P(v,[b,k]):k()},clone(b){const A=Ds(b,t,n,s,r);return r&&r(A),A}};return U}function vs(e){if(mn(e))return e=dt(e),e.children=null,e}function Or(e){if(!mn(e))return to(e.type)&&e.children?ro(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&X(n.default))return n.default()}}function cn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,cn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function oo(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;in.value,set:i=>n.value=i})}return n}function Pr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const kn=new WeakMap;function $t(e,t,n,s,r=!1){if(G(e)){e.forEach((_,O)=>$t(_,t&&(G(t)?t[O]:t),n,s,r));return}if(Ct(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&$t(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?ls(s.component):s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,a=l.refs===ne?l.refs={}:l.refs,d=l.setupState,m=Z(d),v=d===ne?wi:_=>Pr(a,_)?!1:te(m,_),w=(_,O)=>!(O&&Pr(a,O));if(u!=null&&u!==c){if(Lr(t),le(u))a[u]=null,v(u)&&(d[u]=null);else if(ae(u)){const _=t;w(u,_.k)&&(u.value=null),_.k&&(a[_.k]=null)}}if(X(c))pn(c,l,12,[o,a]);else{const _=le(c),O=ae(c);if(_||O){const H=()=>{if(e.f){const I=_?v(c)?d[c]:a[c]:w()||!e.k?c.value:a[e.k];if(r)G(I)&&zs(I,i);else if(G(I))I.includes(i)||I.push(i);else if(_)a[c]=[i],v(c)&&(d[c]=a[c]);else{const p=[i];w(c,e.k)&&(c.value=p),e.k&&(a[e.k]=p)}}else _?(a[c]=o,v(c)&&(d[c]=o)):O&&(w(c,e.k)&&(c.value=o),e.k&&(a[e.k]=o))};if(o){const I=()=>{H(),kn.delete(e)};I.id=-1,kn.set(e,I),Se(I,n)}else Lr(e),H()}}}function Lr(e){const t=kn.get(e);t&&(t.flags|=8,kn.delete(e))}let Ir=!1;const Pt=()=>{Ir||(console.error("Hydration completed but contains mismatches."),Ir=!0)},bc=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",_c=e=>e.namespaceURI.includes("MathML"),En=e=>{if(e.nodeType===1){if(bc(e))return"svg";if(_c(e))return"mathml"}},Nt=e=>e.nodeType===8;function wc(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),jn(),g._vnode=p;return}d(g.firstChild,p,null,null,null),jn(),g._vnode=p},d=(p,g,M,B,P,U=!1)=>{U=U||!!g.dynamicChildren;const b=Nt(p)&&p.data==="[",A=()=>_(p,g,M,B,P,b),{type:j,ref:S,shapeFlag:k,patchFlag:$}=g;let K=p.nodeType;g.el=p,$===-2&&(U=!1,g.dynamicChildren=null);let N=null;switch(j){case Mt:K!==3?g.children===""?(c(g.el=r(""),o(p),p),N=p):N=A():(p.data!==g.children&&(Pt(),p.data=g.children),N=i(p));break;case me:I(p)?(N=i(p),H(g.el=p.content.firstChild,p,M)):K!==8||b?N=A():N=i(p);break;case en:if(b&&(p=i(p),K=p.nodeType),K===1||K===3){N=p;const z=!g.children.length;for(let V=0;V{U=U||!!g.dynamicChildren;const{type:b,props:A,patchFlag:j,shapeFlag:S,dirs:k,transition:$}=g,K=b==="input"||b==="option";if(K||j!==-1){k&&Ke(g,null,M,"created");let N=!1;if(I(p)){N=Ro(null,$)&&M&&M.vnode.props&&M.vnode.props.appear;const V=p.content.firstChild;if(N){const J=V.getAttribute("class");J&&(V.$cls=J),$.beforeEnter(V)}H(V,p,M),g.el=p=V}if(S&16&&!(A&&(A.innerHTML||A.textContent))){let V=v(p.firstChild,g,p,M,B,P,U);for(;V;){Tn(p,1)||Pt();const J=V;V=V.nextSibling,l(J)}}else if(S&8){let V=g.children;V[0]===` +`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(V=V.slice(1));const{textContent:J}=p;J!==V&&J!==V.replace(/\r\n|\r/g,` +`)&&(Tn(p,0)||Pt(),p.textContent=g.children)}if(A){if(K||!U||j&48){const V=p.tagName.includes("-");for(const J in A)(K&&(J.endsWith("value")||J==="indeterminate")||dn(J)&&!Et(J)||J[0]==="."||V&&!Et(J))&&s(p,J,null,A[J],void 0,M)}else if(A.onClick)s(p,"onClick",null,A.onClick,void 0,M);else if(j&4&&ft(A.style))for(const V in A.style)A.style[V]}let z;(z=A&&A.onVnodeBeforeMount)&&Ne(z,M,g),k&&Ke(g,null,M,"beforeMount"),((z=A&&A.onVnodeMounted)||k||N)&&Io(()=>{z&&Ne(z,M,g),N&&$.enter(p),k&&Ke(g,null,M,"mounted")},B)}return p.nextSibling},v=(p,g,M,B,P,U,b)=>{b=b||!!g.dynamicChildren;const A=g.children,j=A.length;for(let S=0;S{const{slotScopeIds:b}=g;b&&(P=P?P.concat(b):b);const A=o(p),j=v(i(p),g,A,M,B,P,U);return j&&Nt(j)&&j.data==="]"?i(g.anchor=j):(Pt(),c(g.anchor=u("]"),A,j),j)},_=(p,g,M,B,P,U)=>{if(Tn(p.parentElement,1)||Pt(),g.el=null,U){const j=O(p);for(;;){const S=i(p);if(S&&S!==j)l(S);else break}}const b=i(p),A=o(p);return l(p),n(null,g,A,b,M,B,En(A),P),M&&(M.vnode.el=g.el,bo(M,g.el)),b},O=(p,g="[",M="]")=>{let B=0;for(;p;)if(p=i(p),p&&Nt(p)&&(p.data===g&&B++,p.data===M)){if(B===0)return i(p);B--}return p},H=(p,g,M)=>{const B=g.parentNode;B&&B.replaceChild(p,g);let P=M;for(;P;)P.vnode.el===g&&(P.vnode.el=P.subTree.el=p),P=P.parent},I=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,d]}const Nr="data-allow-mismatch",Sc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Tn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Nr);)e=e.parentElement;const n=e&&e.getAttribute(Nr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(Sc[t])}}Yn().requestIdleCallback;Yn().cancelIdleCallback;function Ec(e,t){if(Nt(e)&&e.data==="["){let n=1,s=e.nextSibling;for(;s;){if(s.nodeType===1){if(t(s)===!1)break}else if(Nt(s))if(s.data==="]"){if(--n===0)break}else s.data==="["&&n++;s=s.nextSibling}}else t(e)}const Ct=e=>!!e.type.__asyncLoader;function ff(e){X(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,hydrate:i,timeout:o,suspensible:l=!0,onError:c}=e;let u=null,a,d=0;const m=()=>(d++,u=null,v()),v=()=>{let w;return u||(w=u=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),c)return new Promise((O,H)=>{c(_,()=>O(m()),()=>H(_),d+1)});throw _}).then(_=>w!==u&&u?u:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),a=_,_)))};return lr({name:"AsyncComponentWrapper",__asyncLoader:v,__asyncHydrate(w,_,O){let H=!1;(_.bu||(_.bu=[])).push(()=>H=!0);const I=()=>{H||O()},p=i?()=>{const g=i(I,M=>Ec(w,M));g&&(_.bum||(_.bum=[])).push(g)}:I;a?p():v().then(()=>!_.isUnmounted&&p())},get __asyncResolved(){return a},setup(){const w=ve;if(cr(w),a)return()=>xn(a,w);const _=p=>{u=null,gn(p,w,13,!s)};if(l&&w.suspense||kt)return v().then(p=>()=>xn(p,w)).catch(p=>(_(p),()=>s?fe(s,{error:p}):null));const O=$e(!1),H=$e(),I=$e(!!r);return r&&setTimeout(()=>{I.value=!1},r),o!=null&&setTimeout(()=>{if(!O.value&&!H.value){const p=new Error(`Async component timed out after ${o}ms.`);_(p),H.value=p}},o),v().then(()=>{O.value=!0,w.parent&&mn(w.parent.vnode)&&w.parent.update()}).catch(p=>{_(p),H.value=p}),()=>{if(O.value&&a)return xn(a,w);if(H.value&&s)return fe(s,{error:H.value});if(n&&!I.value)return xn(n,w)}}})}function xn(e,t){const{ref:n,props:s,children:r,ce:i}=t.vnode,o=fe(e,s,r);return o.ref=n,o.ce=i,delete t.vnode.ce,o}const mn=e=>e.type.__isKeepAlive;function Tc(e,t){lo(e,"a",t)}function xc(e,t){lo(e,"da",t)}function lo(e,t,n=ve){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(rs(t,s,n),n){let r=n.parent;for(;r&&r.parent;)mn(r.parent.vnode)&&Cc(s,t,n,r),r=r.parent}}function Cc(e,t,n,s){const r=rs(t,e,s,!0);is(()=>{zs(s[t],r)},n)}function rs(e,t,n=ve,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{st();const l=vn(n),c=Ve(t,n,e,o);return l(),rt(),c});return s?r.unshift(i):r.push(i),i}}const ot=e=>(t,n=ve)=>{(!kt||e==="sp")&&rs(e,(...s)=>t(...s),n)},Ac=ot("bm"),Ut=ot("m"),Mc=ot("bu"),Rc=ot("u"),co=ot("bum"),is=ot("um"),Oc=ot("sp"),Pc=ot("rtg"),Lc=ot("rtc");function Ic(e,t=ve){rs("ec",e,t)}const ao="components";function df(e,t){return fo(ao,e,!0,t)||e}const uo=Symbol.for("v-ndc");function hf(e){return le(e)?fo(ao,e,!1)||e:e||uo}function fo(e,t,n=!0,s=!1){const r=ye||ve;if(r){const i=r.type;{const l=ga(i,!1);if(l&&(l===t||l===Ce(t)||l===Xn(Ce(t))))return i}const o=Fr(r[e]||i[e],t)||Fr(r.appContext[e],t);return!o&&s?i:o}}function Fr(e,t){return e&&(e[t]||e[Ce(t)]||e[Xn(Ce(t))])}function pf(e,t,n,s){let r;const i=n,o=G(e);if(o||le(e)){const l=o&&ft(e);let c=!1,u=!1;l&&(c=!Oe(e),u=it(e),e=Jn(e)),r=new Array(e.length);for(let a=0,d=e.length;at(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;c0;return t!=="default"&&(n.name=t),ks(),Us(Te,null,[fe("slot",n,s&&s())],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),ks();const o=i&&ho(i(n)),l=n.key||o&&o.key,c=Us(Te,{key:(l&&!Le(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function ho(e){return e.some(t=>un(t)?!(t.type===me||t.type===Te&&!ho(t.children)):!0)?e:null}function mf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:On(s)]=e[s];return n}const Hs=e=>e?$o(e)?ls(e):Hs(e.parent):null,Zt=he(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Hs(e.parent),$root:e=>Hs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>go(e),$forceUpdate:e=>e.f||(e.f=()=>{ir(e.update)}),$nextTick:e=>e.n||(e.n=ns.bind(e.proxy)),$watch:e=>dc.bind(e)}),ys=(e,t)=>e!==ne&&!e.__isScriptSetup&&te(e,t),Nc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(ys(s,t))return o[t]=1,s[t];if(r!==ne&&te(r,t))return o[t]=2,r[t];if(te(i,t))return o[t]=3,i[t];if(n!==ne&&te(n,t))return o[t]=4,n[t];$s&&(o[t]=0)}}const u=Zt[t];let a,d;if(u)return t==="$attrs"&&be(e.attrs,"get",""),u(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==ne&&te(n,t))return o[t]=4,n[t];if(d=c.config.globalProperties,te(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return ys(r,t)?(r[t]=n,!0):s!==ne&&te(s,t)?(s[t]=n,!0):te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},l){let c;return!!(n[l]||e!==ne&&l[0]!=="$"&&te(e,l)||ys(t,l)||te(i,l)||te(s,l)||te(Zt,l)||te(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function vf(){return Fc().slots}function Fc(e){const t=gt();return t.setupContext||(t.setupContext=Vo(t))}function Dr(e){return G(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let $s=!0;function Dc(e){const t=go(e),n=e.proxy,s=e.ctx;$s=!1,t.beforeCreate&&Hr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:a,beforeMount:d,mounted:m,beforeUpdate:v,updated:w,activated:_,deactivated:O,beforeDestroy:H,beforeUnmount:I,destroyed:p,unmounted:g,render:M,renderTracked:B,renderTriggered:P,errorCaptured:U,serverPrefetch:b,expose:A,inheritAttrs:j,components:S,directives:k,filters:$}=t;if(u&&Hc(u,s,null),o)for(const z in o){const V=o[z];X(V)&&(s[z]=V.bind(n))}if(r){const z=r.call(n,n);ee(z)&&(e.data=jt(z))}if($s=!0,i)for(const z in i){const V=i[z],J=X(V)?V.bind(n,n):X(V.get)?V.get.bind(n,n):Ye,mt=!X(V)&&X(V.set)?V.set.bind(n):Ye,ke=oe({get:J,set:mt});Object.defineProperty(s,z,{enumerable:!0,configurable:!0,get:()=>ke.value,set:Ue=>ke.value=Ue})}if(l)for(const z in l)po(l[z],s,n,z);if(c){const z=X(c)?c.call(n):c;Reflect.ownKeys(z).forEach(V=>{ac(V,z[V])})}a&&Hr(a,e,"c");function N(z,V){G(V)?V.forEach(J=>z(J.bind(n))):V&&z(V.bind(n))}if(N(Ac,d),N(Ut,m),N(Mc,v),N(Rc,w),N(Tc,_),N(xc,O),N(Ic,U),N(Lc,B),N(Pc,P),N(co,I),N(is,g),N(Oc,b),G(A))if(A.length){const z=e.exposed||(e.exposed={});A.forEach(V=>{Object.defineProperty(z,V,{get:()=>n[V],set:J=>n[V]=J,enumerable:!0})})}else e.exposed||(e.exposed={});M&&e.render===Ye&&(e.render=M),j!=null&&(e.inheritAttrs=j),S&&(e.components=S),k&&(e.directives=k),b&&cr(e)}function Hc(e,t,n=Ye){G(e)&&(e=js(e));for(const s in e){const r=e[s];let i;ee(r)?"default"in r?i=xt(r.from||s,r.default,!0):i=xt(r.from||s):i=xt(r),ae(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Hr(e,t,n){Ve(G(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function po(e,t,n,s){let r=s.includes(".")?Zi(n,s):()=>n[s];if(le(e)){const i=t[e];X(i)&&Pe(r,i)}else if(X(e))Pe(r,e.bind(n));else if(ee(e))if(G(e))e.forEach(i=>po(i,t,n,s));else{const i=X(e.handler)?e.handler.bind(n):t[e.handler];X(i)&&Pe(r,i,e)}}function go(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>Un(c,u,o,!0)),Un(c,t,o)),ee(t)&&i.set(t,c),c}function Un(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Un(e,i,n,!0),r&&r.forEach(o=>Un(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=$c[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const $c={data:$r,props:jr,emits:jr,methods:Yt,computed:Yt,beforeCreate:we,created:we,beforeMount:we,mounted:we,beforeUpdate:we,updated:we,beforeDestroy:we,beforeUnmount:we,destroyed:we,unmounted:we,activated:we,deactivated:we,errorCaptured:we,serverPrefetch:we,components:Yt,directives:Yt,watch:Vc,provide:$r,inject:jc};function $r(e,t){return t?e?function(){return he(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function jc(e,t){return Yt(js(e),js(t))}function js(e){if(G(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ce(t)}Modifiers`]||e[`${pt(t)}Modifiers`];function Bc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ne;let r=n;const i=t.startsWith("update:"),o=i&&Wc(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>le(a)?a.trim():a)),o.number&&(r=n.map(Js)));let l,c=s[l=On(t)]||s[l=On(Ce(t))];!c&&i&&(c=s[l=On(pt(t))]),c&&Ve(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ve(u,e,6,r)}}const Kc=new WeakMap;function vo(e,t,n=!1){const s=n?Kc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!X(e)){const c=u=>{const a=vo(u,t,!0);a&&(l=!0,he(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ee(e)&&s.set(e,null),null):(G(i)?i.forEach(c=>o[c]=null):he(o,i),ee(e)&&s.set(e,o),o)}function os(e,t){return!e||!dn(t)?!1:(t=t.slice(2).replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,pt(t))||te(e,t))}function bs(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:a,props:d,data:m,setupState:v,ctx:w,inheritAttrs:_}=e,O=Vn(e);let H,I;try{if(n.shapeFlag&4){const g=r||s,M=g;H=Fe(u.call(M,g,a,d,v,m,w)),I=l}else{const g=t;H=Fe(g.length>1?g(d,{attrs:l,slots:o,emit:c}):g(d,null)),I=t.props?l:qc(l)}}catch(g){tn.length=0,gn(g,e,1),H=fe(me)}let p=H;if(I&&_!==!1){const g=Object.keys(I),{shapeFlag:M}=p;g.length&&M&7&&(i&&g.some(Kn)&&(I=Gc(I,i)),p=dt(p,I,!1,!0))}return n.dirs&&(p=dt(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&cn(p,n.transition),H=p,Vn(O),H}const qc=e=>{let t;for(const n in e)(n==="class"||n==="style"||dn(n))&&((t||(t={}))[n]=e[n]);return t},Gc=(e,t)=>{const n={};for(const s in e)(!Kn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Xc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Vr(s,o,u):!!o;if(c&8){const a=t.dynamicProps;for(let d=0;dObject.create(_o),So=e=>Object.getPrototypeOf(e)===_o;function Yc(e,t,n,s=!1){const r={},i=wo();e.propsDefaults=Object.create(null),Eo(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Kl(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function zc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=Z(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let d=0;d{c=!0;const[m,v]=To(d,t,!0);he(o,m),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return ee(e)&&s.set(e,Ft),Ft;if(G(i))for(let a=0;ae==="_"||e==="_ctx"||e==="$stable",ur=e=>G(e)?e.map(Fe):[Fe(e)],Qc=(e,t,n)=>{if(t._n)return t;const s=cc((...r)=>ur(t(...r)),n);return s._c=!1,s},xo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ar(r))continue;const i=e[r];if(X(i))t[r]=Qc(r,i,s);else if(i!=null){const o=ur(i);t[r]=()=>o}}},Co=(e,t)=>{const n=ur(t);e.slots.default=()=>n},Ao=(e,t,n)=>{for(const s in t)(n||!ar(s))&&(e[s]=t[s])},Zc=(e,t,n)=>{const s=e.slots=wo();if(e.vnode.shapeFlag&32){const r=t._;r?(Ao(s,t,n),n&&Ci(s,"_",r,!0)):xo(t,s)}else t&&Co(e,t)},ea=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=ne;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Ao(r,t,n):(i=!t.$stable,xo(t,r)),o=t}else t&&(Co(e,t),o={default:1});if(i)for(const l in r)!ar(l)&&o[l]==null&&delete r[l]},Se=Io;function ta(e){return Mo(e)}function na(e){return Mo(e,wc)}function Mo(e,t){const n=Yn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:a,parentNode:d,nextSibling:m,setScopeId:v=Ye,insertStaticContent:w}=e,_=(f,h,y,C=null,E=null,T=null,F=void 0,L=null,R=!!h.dynamicChildren)=>{if(f===h)return;f&&!St(f,h)&&(C=yn(f),Ue(f,E,T,!0),f=null),h.patchFlag===-2&&(R=!1,h.dynamicChildren=null);const{type:x,ref:q,shapeFlag:D}=h;switch(x){case Mt:O(f,h,y,C);break;case me:H(f,h,y,C);break;case en:f==null&&I(h,y,C,F);break;case Te:S(f,h,y,C,E,T,F,L,R);break;default:D&1?M(f,h,y,C,E,T,F,L,R):D&6?k(f,h,y,C,E,T,F,L,R):(D&64||D&128)&&x.process(f,h,y,C,E,T,F,L,R,Rt)}q!=null&&E?$t(q,f&&f.ref,T,h||f,!h):q==null&&f&&f.ref!=null&&$t(f.ref,null,T,f,!0)},O=(f,h,y,C)=>{if(f==null)s(h.el=l(h.children),y,C);else{const E=h.el=f.el;h.children!==f.children&&u(E,h.children)}},H=(f,h,y,C)=>{f==null?s(h.el=c(h.children||""),y,C):h.el=f.el},I=(f,h,y,C)=>{[f.el,f.anchor]=w(f.children,h,y,C,f.el,f.anchor)},p=({el:f,anchor:h},y,C)=>{let E;for(;f&&f!==h;)E=m(f),s(f,y,C),f=E;s(h,y,C)},g=({el:f,anchor:h})=>{let y;for(;f&&f!==h;)y=m(f),r(f),f=y;r(h)},M=(f,h,y,C,E,T,F,L,R)=>{if(h.type==="svg"?F="svg":h.type==="math"&&(F="mathml"),f==null)B(h,y,C,E,T,F,L,R);else{const x=f.el&&f.el._isVueCE?f.el:null;try{x&&x._beginPatch(),b(f,h,E,T,F,L,R)}finally{x&&x._endPatch()}}},B=(f,h,y,C,E,T,F,L)=>{let R,x;const{props:q,shapeFlag:D,transition:W,dirs:Y}=f;if(R=f.el=o(f.type,T,q&&q.is,q),D&8?a(R,f.children):D&16&&U(f.children,R,null,C,E,_s(f,T),F,L),Y&&Ke(f,null,C,"created"),P(R,f,f.scopeId,F,C),q){for(const se in q)se!=="value"&&!Et(se)&&i(R,se,null,q[se],T,C);"value"in q&&i(R,"value",null,q.value,T),(x=q.onVnodeBeforeMount)&&Ne(x,C,f)}Y&&Ke(f,null,C,"beforeMount");const Q=Ro(E,W);Q&&W.beforeEnter(R),s(R,h,y),((x=q&&q.onVnodeMounted)||Q||Y)&&Se(()=>{x&&Ne(x,C,f),Q&&W.enter(R),Y&&Ke(f,null,C,"mounted")},E)},P=(f,h,y,C,E)=>{if(y&&v(f,y),C)for(let T=0;T{for(let x=R;x{const L=h.el=f.el;let{patchFlag:R,dynamicChildren:x,dirs:q}=h;R|=f.patchFlag&16;const D=f.props||ne,W=h.props||ne;let Y;if(y&&vt(y,!1),(Y=W.onVnodeBeforeUpdate)&&Ne(Y,y,h,f),q&&Ke(h,f,y,"beforeUpdate"),y&&vt(y,!0),(D.innerHTML&&W.innerHTML==null||D.textContent&&W.textContent==null)&&a(L,""),x?A(f.dynamicChildren,x,L,y,C,_s(h,E),T):F||V(f,h,L,null,y,C,_s(h,E),T,!1),R>0){if(R&16)j(L,D,W,y,E);else if(R&2&&D.class!==W.class&&i(L,"class",null,W.class,E),R&4&&i(L,"style",D.style,W.style,E),R&8){const Q=h.dynamicProps;for(let se=0;se{Y&&Ne(Y,y,h,f),q&&Ke(h,f,y,"updated")},C)},A=(f,h,y,C,E,T,F)=>{for(let L=0;L{if(h!==y){if(h!==ne)for(const T in h)!Et(T)&&!(T in y)&&i(f,T,h[T],null,E,C);for(const T in y){if(Et(T))continue;const F=y[T],L=h[T];F!==L&&T!=="value"&&i(f,T,L,F,E,C)}"value"in y&&i(f,"value",h.value,y.value,E)}},S=(f,h,y,C,E,T,F,L,R)=>{const x=h.el=f?f.el:l(""),q=h.anchor=f?f.anchor:l("");let{patchFlag:D,dynamicChildren:W,slotScopeIds:Y}=h;Y&&(L=L?L.concat(Y):Y),f==null?(s(x,y,C),s(q,y,C),U(h.children||[],y,q,E,T,F,L,R)):D>0&&D&64&&W&&f.dynamicChildren&&f.dynamicChildren.length===W.length?(A(f.dynamicChildren,W,y,E,T,F,L),(h.key!=null||E&&h===E.subTree)&&fr(f,h,!0)):V(f,h,y,q,E,T,F,L,R)},k=(f,h,y,C,E,T,F,L,R)=>{h.slotScopeIds=L,f==null?h.shapeFlag&512?E.ctx.activate(h,y,C,F,R):$(h,y,C,E,T,F,R):K(f,h,R)},$=(f,h,y,C,E,T,F)=>{const L=f.component=fa(f,C,E);if(mn(f)&&(L.ctx.renderer=Rt),da(L,!1,F),L.asyncDep){if(E&&E.registerDep(L,N,F),!f.el){const R=L.subTree=fe(me);H(null,R,h,y),f.placeholder=R.el}}else N(L,f,h,y,E,T,F)},K=(f,h,y)=>{const C=h.component=f.component;if(Xc(f,h,y))if(C.asyncDep&&!C.asyncResolved){z(C,h,y);return}else C.next=h,C.update();else h.el=f.el,C.vnode=h},N=(f,h,y,C,E,T,F)=>{const L=()=>{if(f.isMounted){let{next:D,bu:W,u:Y,parent:Q,vnode:se}=f;{const Ae=Oo(f);if(Ae){D&&(D.el=se.el,z(f,D,F)),Ae.asyncDep.then(()=>{Se(()=>{f.isUnmounted||x()},E)});return}}let re=D,ue;vt(f,!1),D?(D.el=se.el,z(f,D,F)):D=se,W&&Pn(W),(ue=D.props&&D.props.onVnodeBeforeUpdate)&&Ne(ue,Q,D,se),vt(f,!0);const de=bs(f),De=f.subTree;f.subTree=de,_(De,de,d(De.el),yn(De),f,E,T),D.el=de.el,re===null&&bo(f,de.el),Y&&Se(Y,E),(ue=D.props&&D.props.onVnodeUpdated)&&Se(()=>Ne(ue,Q,D,se),E)}else{let D;const{el:W,props:Y}=h,{bm:Q,m:se,parent:re,root:ue,type:de}=f,De=Ct(h);if(vt(f,!1),Q&&Pn(Q),!De&&(D=Y&&Y.onVnodeBeforeMount)&&Ne(D,re,h),vt(f,!0),W&&ds){const Ae=()=>{f.subTree=bs(f),ds(W,f.subTree,f,E,null)};De&&de.__asyncHydrate?de.__asyncHydrate(W,f,Ae):Ae()}else{ue.ce&&ue.ce._hasShadowRoot()&&ue.ce._injectChildStyle(de,f.parent?f.parent.type:void 0);const Ae=f.subTree=bs(f);_(null,Ae,y,C,f,E,T),h.el=Ae.el}if(se&&Se(se,E),!De&&(D=Y&&Y.onVnodeMounted)){const Ae=h;Se(()=>Ne(D,re,Ae),E)}(h.shapeFlag&256||re&&Ct(re.vnode)&&re.vnode.shapeFlag&256)&&f.a&&Se(f.a,E),f.isMounted=!0,h=y=C=null}};f.scope.on();const R=f.effect=new Oi(L);f.scope.off();const x=f.update=R.run.bind(R),q=f.job=R.runIfDirty.bind(R);q.i=f,q.id=f.uid,R.scheduler=()=>ir(q),vt(f,!0),x()},z=(f,h,y)=>{h.component=f;const C=f.vnode.props;f.vnode=h,f.next=null,zc(f,h.props,C,y),ea(f,h.children,y),st(),Ar(f),rt()},V=(f,h,y,C,E,T,F,L,R=!1)=>{const x=f&&f.children,q=f?f.shapeFlag:0,D=h.children,{patchFlag:W,shapeFlag:Y}=h;if(W>0){if(W&128){mt(x,D,y,C,E,T,F,L,R);return}else if(W&256){J(x,D,y,C,E,T,F,L,R);return}}Y&8?(q&16&&Wt(x,E,T),D!==x&&a(y,D)):q&16?Y&16?mt(x,D,y,C,E,T,F,L,R):Wt(x,E,T,!0):(q&8&&a(y,""),Y&16&&U(D,y,C,E,T,F,L,R))},J=(f,h,y,C,E,T,F,L,R)=>{f=f||Ft,h=h||Ft;const x=f.length,q=h.length,D=Math.min(x,q);let W;for(W=0;Wq?Wt(f,E,T,!0,!1,D):U(h,y,C,E,T,F,L,R,D)},mt=(f,h,y,C,E,T,F,L,R)=>{let x=0;const q=h.length;let D=f.length-1,W=q-1;for(;x<=D&&x<=W;){const Y=f[x],Q=h[x]=R?et(h[x]):Fe(h[x]);if(St(Y,Q))_(Y,Q,y,null,E,T,F,L,R);else break;x++}for(;x<=D&&x<=W;){const Y=f[D],Q=h[W]=R?et(h[W]):Fe(h[W]);if(St(Y,Q))_(Y,Q,y,null,E,T,F,L,R);else break;D--,W--}if(x>D){if(x<=W){const Y=W+1,Q=YW)for(;x<=D;)Ue(f[x],E,T,!0),x++;else{const Y=x,Q=x,se=new Map;for(x=Q;x<=W;x++){const Me=h[x]=R?et(h[x]):Fe(h[x]);Me.key!=null&&se.set(Me.key,x)}let re,ue=0;const de=W-Q+1;let De=!1,Ae=0;const Bt=new Array(de);for(x=0;x=de){Ue(Me,E,T,!0);continue}let We;if(Me.key!=null)We=se.get(Me.key);else for(re=Q;re<=W;re++)if(Bt[re-Q]===0&&St(Me,h[re])){We=re;break}We===void 0?Ue(Me,E,T,!0):(Bt[We-Q]=x+1,We>=Ae?Ae=We:De=!0,_(Me,h[We],y,null,E,T,F,L,R),ue++)}const _r=De?sa(Bt):Ft;for(re=_r.length-1,x=de-1;x>=0;x--){const Me=Q+x,We=h[Me],wr=h[Me+1],Sr=Me+1{const{el:T,type:F,transition:L,children:R,shapeFlag:x}=f;if(x&6){ke(f.component.subTree,h,y,C);return}if(x&128){f.suspense.move(h,y,C);return}if(x&64){F.move(f,h,y,Rt);return}if(F===Te){s(T,h,y);for(let D=0;DL.enter(T),E);else{const{leave:D,delayLeave:W,afterLeave:Y}=L,Q=()=>{f.ctx.isUnmounted?r(T):s(T,h,y)},se=()=>{T._isLeaving&&T[qe](!0),D(T,()=>{Q(),Y&&Y()})};W?W(T,Q,se):se()}else s(T,h,y)},Ue=(f,h,y,C=!1,E=!1)=>{const{type:T,props:F,ref:L,children:R,dynamicChildren:x,shapeFlag:q,patchFlag:D,dirs:W,cacheIndex:Y,memo:Q}=f;if(D===-2&&(E=!1),L!=null&&(st(),$t(L,null,y,f,!0),rt()),Y!=null&&(h.renderCache[Y]=void 0),q&256){h.ctx.deactivate(f);return}const se=q&1&&W,re=!Ct(f);let ue;if(re&&(ue=F&&F.onVnodeBeforeUnmount)&&Ne(ue,h,f),q&6)ul(f.component,y,C);else{if(q&128){f.suspense.unmount(y,C);return}se&&Ke(f,null,h,"beforeUnmount"),q&64?f.type.remove(f,h,y,Rt,C):x&&!x.hasOnce&&(T!==Te||D>0&&D&64)?Wt(x,h,y,!1,!0):(T===Te&&D&384||!E&&q&16)&&Wt(R,h,y),C&&yr(f)}const de=Q!=null&&Y==null;(re&&(ue=F&&F.onVnodeUnmounted)||se||de)&&Se(()=>{ue&&Ne(ue,h,f),se&&Ke(f,null,h,"unmounted"),de&&(f.el=null)},y)},yr=f=>{const{type:h,el:y,anchor:C,transition:E}=f;if(h===Te){al(y,C);return}if(h===en){g(f);return}const T=()=>{r(y),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(f.shapeFlag&1&&E&&!E.persisted){const{leave:F,delayLeave:L}=E,R=()=>F(y,T);L?L(f.el,T,R):R()}else T()},al=(f,h)=>{let y;for(;f!==h;)y=m(f),r(f),f=y;r(h)},ul=(f,h,y)=>{const{bum:C,scope:E,job:T,subTree:F,um:L,m:R,a:x}=f;Ur(R),Ur(x),C&&Pn(C),E.stop(),T&&(T.flags|=8,Ue(F,f,h,y)),L&&Se(L,h),Se(()=>{f.isUnmounted=!0},h)},Wt=(f,h,y,C=!1,E=!1,T=0)=>{for(let F=T;F{if(f.shapeFlag&6)return yn(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=m(f.anchor||f.el),y=h&&h[eo];return y?m(y):h};let us=!1;const br=(f,h,y)=>{let C;f==null?h._vnode&&(Ue(h._vnode,null,null,!0),C=h._vnode.component):_(h._vnode||null,f,h,null,null,null,y),h._vnode=f,us||(us=!0,Ar(C),jn(),us=!1)},Rt={p:_,um:Ue,m:ke,r:yr,mt:$,mc:U,pc:V,pbc:A,n:yn,o:e};let fs,ds;return t&&([fs,ds]=t(Rt)),{render:br,hydrate:fs,createApp:Uc(br,fs)}}function _s({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function vt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ro(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function fr(e,t,n=!1){const s=e.children,r=t.children;if(G(s)&&G(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Oo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Oo(t)}function Ur(e){if(e)for(let t=0;te.__isSuspense;function Io(e,t){t&&t.pendingBranch?G(e)?t.effects.push(...e):t.effects.push(e):lc(e)}const Te=Symbol.for("v-fgt"),Mt=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),en=Symbol.for("v-stc"),tn=[];let Re=null;function ks(e=!1){tn.push(Re=e?null:[])}function ra(){tn.pop(),Re=tn[tn.length-1]||null}let an=1;function Wn(e,t=!1){an+=e,e<0&&Re&&t&&(Re.hasOnce=!0)}function No(e){return e.dynamicChildren=an>0?Re||Ft:null,ra(),an>0&&Re&&Re.push(e),e}function yf(e,t,n,s,r,i){return No(Do(e,t,n,s,r,i,!0))}function Us(e,t,n,s,r){return No(fe(e,t,n,s,r,!0))}function un(e){return e?e.__v_isVNode===!0:!1}function St(e,t){return e.type===t.type&&e.key===t.key}const Fo=({key:e})=>e??null,In=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?le(e)||ae(e)||X(e)?{i:ye,r:e,k:t,f:!!n}:e:null);function Do(e,t=null,n=null,s=0,r=null,i=e===Te?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fo(t),ref:t&&In(t),scopeId:Ji,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ye};return l?(dr(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=le(n)?8:16),an>0&&!o&&Re&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Re.push(c),c}const fe=ia;function ia(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===uo)&&(e=me),un(e)){const l=dt(e,t,!0);return n&&dr(l,n),an>0&&!i&&Re&&(l.shapeFlag&6?Re[Re.indexOf(e)]=l:Re.push(l)),l.patchFlag=-2,l}if(ma(e)&&(e=e.__vccOpts),t){t=oa(t);let{class:l,style:c}=t;l&&!le(l)&&(t.class=Zs(l)),ee(c)&&(es(c)&&!G(c)&&(c=he({},c)),t.style=Qs(c))}const o=le(e)?1:Lo(e)?128:to(e)?64:ee(e)?4:X(e)?2:0;return Do(e,t,n,s,r,o,i,!0)}function oa(e){return e?es(e)||So(e)?he({},e):e:null}function dt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?ca(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Fo(u),ref:t&&t.ref?n&&i?G(i)?i.concat(In(t)):[i,In(t)]:In(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&dt(e.ssContent),ssFallback:e.ssFallback&&dt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&cn(a,c.clone(a)),a}function Ho(e=" ",t=0){return fe(Mt,null,e,t)}function bf(e,t){const n=fe(en,null,e);return n.staticCount=t,n}function la(e="",t=!1){return t?(ks(),Us(me,null,e)):fe(me,null,e)}function Fe(e){return e==null||typeof e=="boolean"?fe(me):G(e)?fe(Te,null,e.slice()):un(e)?et(e):fe(Mt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:dt(e)}function dr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(G(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),dr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!So(t)?t._ctx=ye:r===3&&ye&&(ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:ye},n=32):(t=String(t),s&64?(n=16,t=[Ho(t)]):n=8);e.children=t,e.shapeFlag|=n}function ca(...e){const t={};for(let n=0;nve||ye;let Bn,Ws;{const e=Yn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Bn=t("__VUE_INSTANCE_SETTERS__",n=>ve=n),Ws=t("__VUE_SSR_SETTERS__",n=>kt=n)}const vn=e=>{const t=ve;return Bn(e),e.scope.on(),()=>{e.scope.off(),Bn(t)}},Wr=()=>{ve&&ve.scope.off(),Bn(null)};function $o(e){return e.vnode.shapeFlag&4}let kt=!1;function da(e,t=!1,n=!1){t&&Ws(t);const{props:s,children:r}=e.vnode,i=$o(e);Yc(e,s,i,t),Zc(e,r,n||t);const o=i?ha(e,t):void 0;return t&&Ws(!1),o}function ha(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Nc);const{setup:s}=n;if(s){st();const r=e.setupContext=s.length>1?Vo(e):null,i=vn(e),o=pn(s,e,0,[e.props,r]),l=Ei(o);if(rt(),i(),(l||e.sp)&&!Ct(e)&&cr(e),l){if(o.then(Wr,Wr),t)return o.then(c=>{Br(e,c)}).catch(c=>{gn(c,e,0)});e.asyncDep=o}else Br(e,o)}else jo(e)}function Br(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ee(t)&&(e.setupState=Gi(t)),jo(e)}function jo(e,t,n){const s=e.type;e.render||(e.render=s.render||Ye);{const r=vn(e);st();try{Dc(e)}finally{rt(),r()}}}const pa={get(e,t){return be(e,"get",""),e[t]}};function Vo(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,pa),slots:e.slots,emit:e.emit,expose:t}}function ls(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Gi(Ln(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Zt)return Zt[n](e)},has(t,n){return n in t||n in Zt}})):e.proxy}function ga(e,t=!0){return X(e)?e.displayName||e.name:e.name||t&&e.__name}function ma(e){return X(e)&&"__vccOpts"in e}const oe=(e,t)=>nc(e,t,kt);function Bs(e,t,n){try{Wn(-1);const s=arguments.length;return s===2?ee(t)&&!G(t)?un(t)?fe(e,null,[t]):fe(e,t):fe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&un(n)&&(n=[n]),fe(e,t,n))}finally{Wn(1)}}const va="3.5.33";let Ks;const Kr=typeof window<"u"&&window.trustedTypes;if(Kr)try{Ks=Kr.createPolicy("vue",{createHTML:e=>e})}catch{}const ko=Ks?e=>Ks.createHTML(e):e=>e,ya="http://www.w3.org/2000/svg",ba="http://www.w3.org/1998/Math/MathML",Ze=typeof document<"u"?document:null,qr=Ze&&Ze.createElement("template"),_a={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Ze.createElementNS(ya,e):t==="mathml"?Ze.createElementNS(ba,e):n?Ze.createElement(e,{is:n}):Ze.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ze.createTextNode(e),createComment:e=>Ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ze.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{qr.innerHTML=ko(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=qr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},lt="transition",Gt="animation",fn=Symbol("_vtc"),Uo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},wa=he({},no,Uo),Sa=e=>(e.displayName="Transition",e.props=wa,e),_f=Sa((e,{slots:t})=>Bs(yc,Ea(e),t)),yt=(e,t=[])=>{G(e)?e.forEach(n=>n(...t)):e&&e(...t)},Gr=e=>e?G(e)?e.some(t=>t.length>1):e.length>1:!1;function Ea(e){const t={};for(const S in e)S in Uo||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:a=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,w=Ta(r),_=w&&w[0],O=w&&w[1],{onBeforeEnter:H,onEnter:I,onEnterCancelled:p,onLeave:g,onLeaveCancelled:M,onBeforeAppear:B=H,onAppear:P=I,onAppearCancelled:U=p}=t,b=(S,k,$,K)=>{S._enterCancelled=K,bt(S,k?a:l),bt(S,k?u:o),$&&$()},A=(S,k)=>{S._isLeaving=!1,bt(S,d),bt(S,v),bt(S,m),k&&k()},j=S=>(k,$)=>{const K=S?P:I,N=()=>b(k,S,$);yt(K,[k,N]),Xr(()=>{bt(k,S?c:i),Qe(k,S?a:l),Gr(K)||Yr(k,s,_,N)})};return he(t,{onBeforeEnter(S){yt(H,[S]),Qe(S,i),Qe(S,o)},onBeforeAppear(S){yt(B,[S]),Qe(S,c),Qe(S,u)},onEnter:j(!1),onAppear:j(!0),onLeave(S,k){S._isLeaving=!0;const $=()=>A(S,k);Qe(S,d),S._enterCancelled?(Qe(S,m),Qr(S)):(Qr(S),Qe(S,m)),Xr(()=>{S._isLeaving&&(bt(S,d),Qe(S,v),Gr(g)||Yr(S,s,O,$))}),yt(g,[S,$])},onEnterCancelled(S){b(S,!1,void 0,!0),yt(p,[S])},onAppearCancelled(S){b(S,!0,void 0,!0),yt(U,[S])},onLeaveCancelled(S){A(S),yt(M,[S])}})}function Ta(e){if(e==null)return null;if(ee(e))return[ws(e.enter),ws(e.leave)];{const t=ws(e);return[t,t]}}function ws(e){return gl(e)}function Qe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[fn]||(e[fn]=new Set)).add(t)}function bt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[fn];n&&(n.delete(t),n.size||(e[fn]=void 0))}function Xr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let xa=0;function Yr(e,t,n,s){const r=e._endId=++xa,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Ca(e,t);if(!o)return s();const u=o+"end";let a=0;const d=()=>{e.removeEventListener(u,m),i()},m=v=>{v.target===e&&++a>=c&&d()};setTimeout(()=>{a(n[w]||"").split(", "),r=s(`${lt}Delay`),i=s(`${lt}Duration`),o=zr(r,i),l=s(`${Gt}Delay`),c=s(`${Gt}Duration`),u=zr(l,c);let a=null,d=0,m=0;t===lt?o>0&&(a=lt,d=o,m=i.length):t===Gt?u>0&&(a=Gt,d=u,m=c.length):(d=Math.max(o,u),a=d>0?o>u?lt:Gt:null,m=a?a===lt?i.length:c.length:0);const v=a===lt&&/\b(?:transform|all)(?:,|$)/.test(s(`${lt}Property`).toString());return{type:a,timeout:d,propCount:m,hasTransform:v}}function zr(e,t){for(;e.lengthJr(n)+Jr(e[s])))}function Jr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Qr(e){return(e?e.ownerDocument:document).body.offsetHeight}function Aa(e,t,n){const s=e[fn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Zr=Symbol("_vod"),Ma=Symbol("_vsh"),Ra=Symbol(""),Oa=/(?:^|;)\s*display\s*:/;function Pa(e,t,n){const s=e.style,r=le(n);let i=!1;if(n&&!r){if(t)if(le(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&zt(s,l,"")}else for(const o in t)n[o]==null&&zt(s,o,"");for(const o in n){o==="display"&&(i=!0);const l=n[o];l!=null?Ia(e,o,!le(t)&&t?t[o]:void 0,l)||zt(s,o,l):zt(s,o,"")}}else if(r){if(t!==n){const o=s[Ra];o&&(n+=";"+o),s.cssText=n,i=Oa.test(n)}}else t&&e.removeAttribute("style");Zr in e&&(e[Zr]=i?s.display:"",e[Ma]&&(s.display="none"))}const ei=/\s*!important$/;function zt(e,t,n){if(G(n))n.forEach(s=>zt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=La(e,t);ei.test(n)?e.setProperty(pt(s),n.replace(ei,""),"important"):e[s]=n}}const ti=["Webkit","Moz","ms"],Ss={};function La(e,t){const n=Ss[t];if(n)return n;let s=Ce(t);if(s!=="filter"&&s in e)return Ss[t]=s;s=Xn(s);for(let r=0;rEs||(Ha.then(()=>Es=0),Es=Date.now());function ja(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ve(Va(s,n.value),t,5,[s])};return n.value=e,n.attached=$a(),n}function Va(e,t){if(G(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const li=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ka=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Aa(e,s,o):t==="style"?Pa(e,n,s):dn(t)?Kn(t)||Fa(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ua(e,t,s,o))?(ri(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&si(e,t,s,o,i,t!=="value")):e._isVueCE&&(Wa(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!le(s)))?ri(e,Ce(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),si(e,t,s,o))};function Ua(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&li(t)&&X(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return li(t)&&le(n)?!1:t in e}function Wa(e,t){const n=e._def.props;if(!n)return!1;const s=Ce(t);return Array.isArray(n)?n.some(r=>Ce(r)===s):Object.keys(n).some(r=>Ce(r)===s)}const ci=e=>{const t=e.props["onUpdate:modelValue"]||!1;return G(t)?n=>Pn(t,n):t};function Ba(e){e.target.composing=!0}function ai(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ts=Symbol("_assign");function ui(e,t,n){return t&&(e=e.trim()),n&&(e=Js(e)),e}const wf={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ts]=ci(r);const i=s||r.props&&r.props.type==="number";It(e,t?"change":"input",o=>{o.target.composing||e[Ts](ui(e.value,n,i))}),(n||i)&&It(e,"change",()=>{e.value=ui(e.value,n,i)}),t||(It(e,"compositionstart",Ba),It(e,"compositionend",ai),It(e,"change",ai))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[Ts]=ci(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Js(e.value):e.value,c=t??"";if(l===c)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},Ka=["ctrl","shift","alt","meta"],qa={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ka.some(n=>e[`${n}Key`]&&!t.includes(n))},Sf=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const i=pt(r.key);if(t.some(o=>o===i||Ga[o]===i))return e(r)}))},Wo=he({patchProp:ka},_a);let nn,fi=!1;function Xa(){return nn||(nn=ta(Wo))}function Ya(){return nn=fi?nn:na(Wo),fi=!0,nn}const Tf=((...e)=>{const t=Xa().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ko(s);if(!r)return;const i=t._component;!X(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Bo(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t}),xf=((...e)=>{const t=Ya().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ko(s);if(r)return n(r,!0,Bo(r))},t});function Bo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ko(e){return le(e)?document.querySelector(e):e}const Cf=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},za=window.__VP_SITE_DATA__;function qo(e,t){return tr()?(xl(e,t),!0):!1}const xs=new WeakMap,Ja=(...e)=>{var t;const n=e[0],s=(t=gt())===null||t===void 0?void 0:t.proxy,r=s??tr();if(r==null&&!Qi())throw new Error("injectLocal must be called in setup");return r&&xs.has(r)&&n in xs.get(r)?xs.get(r)[n]:xt(...e)},Go=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Qa=e=>e!=null,Za=Object.prototype.toString,eu=e=>Za.call(e)==="[object Object]",ht=()=>{},di=tu();function tu(){var e,t,n;return Go&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function hr(...e){if(e.length!==1)return Zl(...e);const t=e[0];return typeof t=="function"?on(zl(()=>({get:t,set:ht}))):$e(t)}function pr(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const Xo=e=>e();function Yo(e,t={}){let n,s,r=ht;const i=c=>{clearTimeout(c),r(),r=ht};let o;return c=>{const u=ce(e),a=ce(t.maxWait);return n&&i(n),u<=0||a!==void 0&&a<=0?(s&&(i(s),s=void 0),Promise.resolve(c())):new Promise((d,m)=>{r=t.rejectOnCancel?m:d,o=c,a&&!s&&(s=setTimeout(()=>{n&&i(n),s=void 0,d(o())},a)),n=setTimeout(()=>{s&&i(s),s=void 0,d(c())},u)})}}function nu(...e){let t=0,n,s=!0,r=ht,i,o,l,c,u;!ae(e[0])&&typeof e[0]=="object"?{delay:o,trailing:l=!0,leading:c=!0,rejectOnCancel:u=!1}=e[0]:[o,l=!0,c=!0,u=!1]=e;const a=()=>{n&&(clearTimeout(n),n=void 0,r(),r=ht)};return m=>{const v=ce(o),w=Date.now()-t,_=()=>i=m();return a(),v<=0?(t=Date.now(),_()):(w>v?(t=Date.now(),(c||!s)&&_()):l&&(i=new Promise((O,H)=>{r=u?H:O,n=setTimeout(()=>{t=Date.now(),s=!0,O(_()),a()},Math.max(0,v-w))})),!c&&!n&&(n=setTimeout(()=>s=!0,v)),s=!1,i)}}function su(e=Xo,t={}){const{initialState:n="active"}=t,s=hr(n==="active");function r(){s.value=!1}function i(){s.value=!0}return{isActive:ql(s),pause:r,resume:i,eventFilter:(...l)=>{s.value&&e(...l)}}}function hi(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Nn(e){return Array.isArray(e)?e:[e]}function zo(e){return gt()}function ru(e,t=200,n={}){return pr(Yo(t,n),e)}function iu(e,t=200,n=!1,s=!0,r=!1){return pr(nu(t,n,s,r),e)}function Jo(e,t,n={}){const{eventFilter:s=Xo,...r}=n;return Pe(e,pr(s,t),r)}function ou(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:l,resume:c,isActive:u}=su(s,{initialState:r});return{stop:Jo(e,t,{...i,eventFilter:o}),pause:l,resume:c,isActive:u}}function cs(e,t=!0,n){zo()?Ut(e,n):t?e():ns(e)}function lu(e,t){zo()&&is(e,t)}function Af(e,t,n={}){const{debounce:s=0,maxWait:r=void 0,...i}=n;return Jo(e,t,{...i,eventFilter:Yo(s,{maxWait:r})})}function cu(e,t,n){return Pe(e,t,{...n,immediate:!0})}function Mf(e,t,n){var s;let r;ae(n)?r={evaluating:n}:r=n||{};const{lazy:i=!1,flush:o="sync",evaluating:l=void 0,shallow:c=!0,onError:u=(s=globalThis.reportError)!==null&&s!==void 0?s:ht}=r,a=_e(!i),d=c?_e(t):$e(t);let m=0;return or(async v=>{if(!a.value)return;m++;const w=m;let _=!1;l&&Promise.resolve().then(()=>{l.value=!0});try{const O=await e(H=>{v(()=>{l&&(l.value=!1),_||H()})});w===m&&(d.value=O)}catch(O){u(O)}finally{l&&w===m&&(l.value=!1),_=!0}},{flush:o}),i?oe(()=>(a.value=!0,d.value)):d}const xe=Go?window:void 0;function as(e){var t;const n=ce(e);return(t=n?.$el)!==null&&t!==void 0?t:n}function ze(...e){const t=(s,r,i,o)=>(s.addEventListener(r,i,o),()=>s.removeEventListener(r,i,o)),n=oe(()=>{const s=Nn(ce(e[0])).filter(r=>r!=null);return s.every(r=>typeof r!="string")?s:void 0});return cu(()=>{var s,r;return[(s=(r=n.value)===null||r===void 0?void 0:r.map(i=>as(i)))!==null&&s!==void 0?s:[xe].filter(i=>i!=null),Nn(ce(n.value?e[1]:e[0])),Nn(ts(n.value?e[2]:e[1])),ce(n.value?e[3]:e[2])]},([s,r,i,o],l,c)=>{if(!s?.length||!r?.length||!i?.length)return;const u=eu(o)?{...o}:o,a=s.flatMap(d=>r.flatMap(m=>i.map(v=>t(d,m,v,u))));c(()=>{a.forEach(d=>d())})},{flush:"post"})}function au(){const e=_e(!1),t=gt();return t&&Ut(()=>{e.value=!0},t),e}function gr(e){const t=au();return oe(()=>(t.value,!!e()))}function uu(e,t,n={}){const{window:s=xe,...r}=n;let i;const o=gr(()=>s&&"MutationObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},c=Pe(oe(()=>{const d=Nn(ce(e)).map(as).filter(Qa);return new Set(d)}),d=>{l(),o.value&&d.size&&(i=new MutationObserver(t),d.forEach(m=>i.observe(m,r)))},{immediate:!0,flush:"post"}),u=()=>i?.takeRecords(),a=()=>{c(),l()};return qo(a),{isSupported:o,stop:a,takeRecords:u}}function fu(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Rf(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=xe,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=fu(t);return ze(r,i,a=>{a.repeat&&ce(l)||c(a)&&n(a)},o)}const du=Symbol("vueuse-ssr-width");function hu(){const e=Qi()?Ja(du,null):null;return typeof e=="number"?e:void 0}function Qo(e,t={}){const{window:n=xe,ssrWidth:s=hu()}=t,r=gr(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=_e(typeof s=="number"),o=_e(),l=_e(!1),c=u=>{l.value=u.matches};return or(()=>{if(i.value){i.value=!r.value,l.value=ce(e).split(",").some(u=>{const a=u.includes("not all"),d=u.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),m=u.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let v=!!(d||m);return d&&v&&(v=s>=hi(d[1])),m&&v&&(v=s<=hi(m[1])),a?!v:v});return}r.value&&(o.value=n.matchMedia(ce(e)),l.value=o.value.matches)}),ze(o,"change",c,{passive:!0}),oe(()=>l.value)}const Cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},An="__vueuse_ssr_handlers__",pu=gu();function gu(){return An in Cn||(Cn[An]=Cn[An]||{}),Cn[An]}function Zo(e,t){return pu[e]||t}function el(e){return Qo("(prefers-color-scheme: dark)",e)}function mu(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const vu={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},pi="vueuse-storage";function mr(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:a,window:d=xe,eventFilter:m,onError:v=$=>{console.error($)},initOnMounted:w}=s,_=(a?_e:$e)(typeof t=="function"?t():t),O=oe(()=>ce(e));if(!n)try{n=Zo("getDefaultStorage",()=>xe?.localStorage)()}catch($){v($)}if(!n)return _;const H=ce(t),I=mu(H),p=(r=s.serializer)!==null&&r!==void 0?r:vu[I],{pause:g,resume:M}=ou(_,$=>A($),{flush:i,deep:o,eventFilter:m});Pe(O,()=>S(),{flush:i});let B=!1;const P=$=>{w&&!B||S($)},U=$=>{w&&!B||k($)};d&&l&&(n instanceof Storage?ze(d,"storage",P,{passive:!0}):ze(d,pi,U)),w?cs(()=>{B=!0,S()}):S();function b($,K){if(d){const N={key:O.value,oldValue:$,newValue:K,storageArea:n};d.dispatchEvent(n instanceof Storage?new StorageEvent("storage",N):new CustomEvent(pi,{detail:N}))}}function A($){try{const K=n.getItem(O.value);if($==null)b(K,null),n.removeItem(O.value);else{const N=p.write($);K!==N&&(n.setItem(O.value,N),b(K,N))}}catch(K){v(K)}}function j($){const K=$?$.newValue:n.getItem(O.value);if(K==null)return c&&H!=null&&n.setItem(O.value,p.write(H)),H;if(!$&&u){const N=p.read(K);return typeof u=="function"?u(N,H):I==="object"&&!Array.isArray(N)?{...H,...N}:N}else return typeof K!="string"?K:p.read(K)}function S($){if(!($&&$.storageArea!==n)){if($&&$.key==null){_.value=H;return}if(!($&&$.key!==O.value)){g();try{const K=p.write(_.value);($===void 0||$?.newValue!==K)&&(_.value=j($))}catch(K){v(K)}finally{$?ns(M):M()}}}}function k($){S($.detail)}return _}const yu="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function bu(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=xe,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:a=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},m=el({window:r}),v=oe(()=>m.value?"dark":"light"),w=c||(o==null?hr(s):mr(o,s,i,{window:r,listenToStorageChanges:l})),_=oe(()=>w.value==="auto"?v.value:w.value),O=Zo("updateHTMLAttrs",(g,M,B)=>{const P=typeof g=="string"?r?.document.querySelector(g):as(g);if(!P)return;const U=new Set,b=new Set;let A=null;if(M==="class"){const S=B.split(/\s/g);Object.values(d).flatMap(k=>(k||"").split(/\s/g)).filter(Boolean).forEach(k=>{S.includes(k)?U.add(k):b.add(k)})}else A={key:M,value:B};if(U.size===0&&b.size===0&&A===null)return;let j;a&&(j=r.document.createElement("style"),j.appendChild(document.createTextNode(yu)),r.document.head.appendChild(j));for(const S of U)P.classList.add(S);for(const S of b)P.classList.remove(S);A&&P.setAttribute(A.key,A.value),a&&(r.getComputedStyle(j).opacity,document.head.removeChild(j))});function H(g){var M;O(t,n,(M=d[g])!==null&&M!==void 0?M:g)}function I(g){e.onChanged?e.onChanged(g,H):H(g)}Pe(_,I,{flush:"post",immediate:!0}),cs(()=>I(_.value));const p=oe({get(){return u?w.value:_.value},set(g){w.value=g}});return Object.assign(p,{store:w,system:v,state:_})}function _u(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=bu({...e,onChanged:(i,o)=>{var l;e.onChanged?(l=e.onChanged)===null||l===void 0||l.call(e,i==="dark",o,i):o(i)},modes:{dark:t,light:n}}),r=oe(()=>s.system.value);return oe({get(){return s.value==="dark"},set(i){const o=i?"dark":"light";r.value===o?s.value="auto":s.value=o}})}function Cs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const gi=1;function wu(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=ht,onScroll:i=ht,offset:o={left:0,right:0,top:0,bottom:0},observe:l={mutation:!1},eventListenerOptions:c={capture:!1,passive:!0},behavior:u="auto",window:a=xe,onError:d=b=>{console.error(b)}}=t,m=typeof l=="boolean"?{mutation:l}:l,v=_e(0),w=_e(0),_=oe({get(){return v.value},set(b){H(b,void 0)}}),O=oe({get(){return w.value},set(b){H(void 0,b)}});function H(b,A){var j,S,k,$;if(!a)return;const K=ce(e);if(!K)return;(j=K instanceof Document?a.document.body:K)===null||j===void 0||j.scrollTo({top:(S=ce(A))!==null&&S!==void 0?S:O.value,left:(k=ce(b))!==null&&k!==void 0?k:_.value,behavior:ce(u)});const N=(K==null||($=K.document)===null||$===void 0?void 0:$.documentElement)||K?.documentElement||K;_!=null&&(v.value=N.scrollLeft),O!=null&&(w.value=N.scrollTop)}const I=_e(!1),p=jt({left:!0,right:!1,top:!0,bottom:!1}),g=jt({left:!1,right:!1,top:!1,bottom:!1}),M=b=>{I.value&&(I.value=!1,g.left=!1,g.right=!1,g.top=!1,g.bottom=!1,r(b))},B=ru(M,n+s),P=b=>{var A;if(!a)return;const j=(b==null||(A=b.document)===null||A===void 0?void 0:A.documentElement)||b?.documentElement||as(b),{display:S,flexDirection:k,direction:$}=a.getComputedStyle(j),K=$==="rtl"?-1:1,N=j.scrollLeft;g.left=Nv.value;const z=Math.abs(N*K)<=(o.left||0),V=Math.abs(N*K)+j.clientWidth>=j.scrollWidth-(o.right||0)-gi;S==="flex"&&k==="row-reverse"?(p.left=V,p.right=z):(p.left=z,p.right=V),v.value=N;let J=j.scrollTop;b===a.document&&!J&&(J=a.document.body.scrollTop),g.top=Jw.value;const mt=Math.abs(J)<=(o.top||0),ke=Math.abs(J)+j.clientHeight>=j.scrollHeight-(o.bottom||0)-gi;S==="flex"&&k==="column-reverse"?(p.top=ke,p.bottom=mt):(p.top=mt,p.bottom=ke),w.value=J},U=b=>{var A;a&&(P((A=b.target.documentElement)!==null&&A!==void 0?A:b.target),I.value=!0,B(b),i(b))};return ze(e,"scroll",n?iu(U,n,!0,!1):U,c),cs(()=>{try{const b=ce(e);if(!b)return;P(b)}catch(b){d(b)}}),m?.mutation&&e!=null&&e!==a&&e!==document&&uu(e,()=>{const b=ce(e);b&&P(b)},{attributes:!0,childList:!0,subtree:!0}),ze(e,"scrollend",M,c),{x:_,y:O,isScrolling:I,arrivedState:p,directions:g,measure(){const b=ce(e);a&&b&&P(b)}}}function Of(e,t,n={}){const{window:s=xe}=n;return mr(e,t,s?.localStorage,n)}function Pf(e={}){const{window:t=xe}=e,n=t?.navigator,s=gr(()=>n&&"language"in n),r=_e(n?.language);return ze(t,"languagechange",()=>{n&&(r.value=n.language)},{passive:!0}),{isSupported:s,language:r}}function tl(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const As=new WeakMap;function Lf(e,t=!1){const n=_e(t);let s=null,r="";Pe(hr(e),l=>{const c=Cs(ce(l));if(c){const u=c;if(As.get(u)||As.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(r=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=Cs(ce(e));!l||n.value||(di&&(s=ze(l,"touchmove",c=>{Su(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=Cs(ce(e));!l||!n.value||(di&&s?.(),l.style.overflow=r,As.delete(l),n.value=!1)};return qo(o),oe({get(){return n.value},set(l){l?i():o()}})}function If(e,t,n={}){const{window:s=xe}=n;return mr(e,t,s?.sessionStorage,n)}function Nf(e={}){const{window:t=xe,...n}=e;return wu(t,n)}function Ff(e={}){const{window:t=xe,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=_e(n),c=_e(s),u=()=>{if(t)if(o==="outer")l.value=t.outerWidth,c.value=t.outerHeight;else if(o==="visual"&&t.visualViewport){const{width:d,height:m,scale:v}=t.visualViewport;l.value=Math.round(d*v),c.value=Math.round(m*v)}else i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight)};u(),cs(u);const a={passive:!0};return ze("resize",u,a),t&&o==="visual"&&t.visualViewport&&ze(t.visualViewport,"resize",u,a),r&&Pe(Qo("(orientation: portrait)"),()=>u()),{width:l,height:c}}const Eu={};var Tu={};const nl=/^(?:[a-z]+:|\/\/)/i,xu="vitepress-theme-appearance",sl=Symbol("stack-view:unpack"),Cu=/#.*?(?=:~:|$)/,Au=/[?#].*$/,Mu=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",rl={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Ru(e,t,n=!1){if(t===void 0)return!1;if(e=mi(`/${e}`),n)return new RegExp(t).test(e);if(mi(t)!==e)return!1;const s=t.match(Cu);return s?(ge?location.hash:"")===s[0]:!0}function mi(e){return decodeURI(e).replace(Au,"").replace(Mu,"$1")}function Ou(e){return nl.test(e)}function Pu(e,t){return Object.keys(e?.locales||{}).find(n=>n!=="root"&&!Ou(n)&&Ru(t,`^/${n}/`,!0))||"root"}function Lu(e,t){const n=Pu(e,t),{label:s,link:r,...i}=e.locales[n]??{};Object.assign(i,{localeIndex:n});const o=Hu(e,t),l={head:ol(e.head??[],i.head??[],...o.map(c=>c.head??[]).reverse())};return vr(l,...o,i,e)}function il(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=Iu(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function Iu(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function ol(...e){const t=[],n=new Map;for(const s of e)for(const r of s){const[i,o]=r,l=Object.entries(o)[0];if(i!=="meta"||!l){t.push(r);continue}const c=`${l[0]}=${l[1]}`,u=n.get(c);u!=null?t[u]=r:(n.set(c,t.length),t.push(r))}return t}const Nu=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Fu=/^[a-z]:/i;function vi(e){const t=Fu.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Nu,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const Ms=new Set;function Du(e){if(Ms.size===0){const n=typeof process=="object"&&Tu?.VITE_EXTRA_EXTENSIONS||Eu?.VITE_EXTRA_EXTENSIONS||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(s=>Ms.add(s))}const t=e.split(".").pop();return t==null||!Ms.has(t.toLowerCase())}function Df(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Hu({additionalConfig:e},t){if(e===void 0)return[];if(typeof e=="function")return e(t)??[];const n=[],s=t.split("/").slice(0,-1);for(;s.length;){const r=`/${s.join("/")}/`;n.push(e[r]),s.pop()}return n.push(e["/"]),n.filter(r=>r!==void 0)}function vr(...e){const t=e.filter(r=>$u(r));if(t.length<=1)return e[0];const n=new Set(t.flatMap(r=>Reflect.ownKeys(r))),s=[...n];return new Proxy({},{get(r,i){return i===sl?t:vr(...t.map(o=>o[i]).filter(o=>o!==void 0))},set(){throw new Error("StackView is read-only and cannot be mutated.")},has(r,i){return n.has(i)},ownKeys(){return s},getOwnPropertyDescriptor(r,i){for(const o of t){const l=Object.getOwnPropertyDescriptor(o,i);if(l)return l}}})}vr.unpack=function(e){return e?.[sl]};function $u(e){return Object.prototype.toString.call(e)==="[object Object]"}const ju=["shellscript","shell","bash","sh","zsh"];function Vu(e){return ju.includes(e)}const ku=Symbol(),ut=_e(on(za));function Hf(e){const t=oe(()=>Lu(ut.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?$e(!0):n==="force-auto"?el():n?_u({storageKey:xu,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):$e(!1),r=$e(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Pe(()=>e.data,()=>{r.value=ge?location.hash:""}),{site:t,theme:oe(()=>t.value.themeConfig),page:oe(()=>e.data),frontmatter:oe(()=>e.data.frontmatter),params:oe(()=>e.data.params),lang:oe(()=>t.value.lang),dir:oe(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:oe(()=>t.value.localeIndex||"root"),title:oe(()=>il(t.value,e.data)),description:oe(()=>e.data.description||t.value.description),isDark:s,hash:oe(()=>r.value)}}function Uu(){const e=xt(ku);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Wu(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function yi(e){return nl.test(e)||!e.startsWith("/")?e:Wu(ut.value.base,e)}function Bu(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){t=vi(t.slice(1).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`/assets/${t}.${s}.js`}else t=`./${vi(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let Fn=[];function $f(e){Fn.push(e),lu(()=>{Fn=Fn.filter(t=>t!==e)})}function Ku(){let e=ut.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=bi(e,n);else if(Array.isArray(e))for(const s of e){const r=bi(s,n);if(r){t=r;break}}return t}function bi(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const qu=Symbol(),qs="http://a.com",Gu=()=>({path:"/",hash:"",query:"",component:null,data:rl});function jf(e,t){const n=jt(Gu()),s={route:n,async go(l,c){const{hash:u}=new URL(l,qs),a=ge&&document.fragmentDirective&&u.includes(":~:");l=Xs(l),await s.onBeforeRouteChange?.(l)!==!1&&((!ge||await Yu(l,{...c,hasTextFragment:a}))&&await i(l,{initialLoad:!!c?.initialLoad}),a&&(location.hash=u),o(),await s.onAfterRouteChange?.(l))}};let r=null;async function i(l,{scrollPosition:c=0,isRetry:u=!1,initialLoad:a=!1}={}){if(await s.onBeforePageLoad?.(l)===!1)return;const d=new URL(l,qs),m=r=d.pathname;try{let v=await e(m);if(!v)throw new Error(`Page not found: ${m}`);if(r===m){r=null;const{default:w,__pageData:_}=v;if(!w)throw new Error(`Invalid route component: ${w}`);await s.onAfterPageLoad?.(l),n.path=ge?m:yi(m),n.component=Ln(w),n.data=Ln(_),o(d),ge&&ns(()=>{let O=ut.value.base+_.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");!ut.value.cleanUrls&&!O.endsWith("/")&&(O+=".html"),O!==d.pathname&&(d.pathname=O,l=O+d.search+d.hash,history.replaceState({},"",l)),a||Gs(d.hash,!1,c)})}}catch(v){if(!/fetch|Page not found/.test(v.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(v),!u)try{const w=await fetch(ut.value.base+"hashmap.json");window.__VP_HASH_MAP__=await w.json(),await i(l,{scrollPosition:c,isRetry:!0,initialLoad:a});return}catch{}if(r===m){r=null,n.path=ge?m:yi(m),n.component=t?Ln(t):null;const w=ge?n.path.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").slice(ut.value.base.length):"404.md";n.data={...rl,relativePath:w},o(d)}}}function o(l=ge?location:{search:"",hash:""}){n.query=l.search,n.hash=decodeURIComponent(l.hash)}return ge&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:a,origin:d,pathname:m}=new URL(u,c.baseURI),v=new URL(location.href);d===v.origin&&Du(m)&&(l.preventDefault(),s.go(a,{smoothScroll:c.classList.contains("header-anchor")}))},{capture:!0}),window.addEventListener("popstate",async l=>{if(l.state===null)return;const c=Xs(location.href);await i(c,{scrollPosition:l.state.scrollPosition||0}),o(),await s.onAfterRouteChange?.(c)}),window.addEventListener("hashchange",l=>{l.preventDefault(),o()})),s}function Xu(){const e=xt(qu);if(!e)throw new Error("useRouter() is called without provider.");return e}function ll(){return Xu().route}function Gs(e,t=!1,n=0){if(!e||n){window.scrollTo(0,n);return}let s=null;try{s=document.getElementById(decodeURIComponent(e).slice(1))}catch(l){console.warn(l)}if(!s)return;const r=window.scrollY+s.getBoundingClientRect().top-Ku()+Number.parseInt(window.getComputedStyle(s).paddingTop,10)||0,i=window.matchMedia("(prefers-reduced-motion)").matches?"instant":t&&Math.abs(r-window.scrollY)<=window.innerHeight?"smooth":"auto";requestAnimationFrame(()=>{if(window.scrollTo({left:0,top:r,behavior:i}),s.focus({preventScroll:!0}),document.activeElement===s||s.hasAttribute("tabindex"))return;const l=()=>{s.removeAttribute("tabindex"),s.removeEventListener("blur",l)};s.setAttribute("tabindex","-1"),s.addEventListener("blur",l),s.focus({preventScroll:!0}),document.activeElement!==s&&l()})}function Xs(e){const t=new URL(e,qs);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),ut.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash.split(":~:")[0]}async function Yu(e,{smoothScroll:t=!1,initialLoad:n=!1,replace:s=!1,hasTextFragment:r=!1}={}){const i=Xs(location.href),o=new URL(e,location.origin),l=new URL(i,location.origin);if(e===i){if(!n)return r||Gs(o.hash,t),!1}else if(s?history.replaceState({},"",e):(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",e)),o.pathname===l.pathname)return o.hash!==l.hash&&(window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:l.href,newURL:o.href})),r||Gs(o.hash,t)),!1;return!0}const Mn=()=>Fn.forEach(e=>e()),Vf=lr({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=ll(),{frontmatter:n,site:s}=Uu();return Pe(n,Mn,{deep:!0,flush:"post"}),()=>Bs(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?Bs(t.component,{onVnodeMounted:Mn,onVnodeUpdated:Mn,onVnodeUnmounted:Mn}):"404 Page Not Found"])}}),zu="modulepreload",Ju=function(e){return"/"+e},_i={},kf=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let c=function(u){return Promise.all(u.map(a=>Promise.resolve(a).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=o?.nonce||o?.getAttribute("nonce");r=c(n.map(u=>{if(u=Ju(u),u in _i)return;_i[u]=!0;const a=u.endsWith(".css"),d=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${d}`))return;const m=document.createElement("link");if(m.rel=a?"stylesheet":zu,a||(m.as="script"),m.crossOrigin="",m.href=u,l&&m.setAttribute("nonce",l),document.head.appendChild(m),a)return new Promise((v,w)=>{m.addEventListener("load",v),m.addEventListener("error",()=>w(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},Uf=lr({setup(e,{slots:t}){const n=$e(!1);return Ut(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Wf(){ge&&window.addEventListener("click",e=>{const t=e.target;if(t.matches(".vp-code-group input")){const n=t.parentElement?.parentElement;if(!n)return;const s=Array.from(n.querySelectorAll("input")).indexOf(t);if(s<0)return;const r=n.querySelector(".blocks");if(!r)return;const i=Array.from(r.children).find(c=>c.classList.contains("active"));if(!i)return;const o=r.children[s];if(!o||i===o)return;i.classList.remove("active"),Qu(o),n?.querySelector(`label[for="${t.id}"]`)?.scrollIntoView({block:"nearest"})}})}function Qu(e){e.classList.add("active"),window.dispatchEvent(new CustomEvent("vitepress:codeGroupTabActivate",{detail:e}))}const Zu=[".vp-copy-ignore",".diff.remove"].join(", ");function Bf(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,r=n.nextElementSibling?.nextElementSibling;if(!s||!r)return;const i=r.cloneNode(!0);i.querySelectorAll(Zu).forEach(c=>c.remove()),i.innerHTML=i.innerHTML.replace(/\n+/g,` +`);let o=i.textContent||"";const l=/language-(\w+)/.exec(s.className)?.[1]||"";Vu(l)&&(o=o.replace(/^ *(\$|>) /gm,"").trim()),ef(o).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const c=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,c)})}})}}async function ef(e){try{await navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function Kf(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=Rs(l);for(const u of document.head.children)if(u.isEqualNode(c)){s.push(u);return}});return}const o=i.map(Rs);s.forEach((l,c)=>{const u=o.findIndex(a=>a?.isEqualNode(l??null));u!==-1?delete o[u]:(l?.remove(),delete s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};or(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],u=il(o,i);u!==document.title&&(document.title=u);const a=l||o.description;let d=document.querySelector("meta[name=description]");d?d.getAttribute("content")!==a&&d.setAttribute("content",a):Rs(["meta",{name:"description",content:a}]),r(ol(o.head,nf(c)))})}function Rs([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&t.async==null&&(s.async=!1),s}function tf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function nf(e){return e.filter(t=>!tf(t))}const Os=new Set,cl=()=>document.createElement("link"),sf=e=>{const t=cl();t.rel="prefetch",t.href=e,document.head.appendChild(t)},rf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let Rn;const of=ge&&(Rn=cl())&&Rn.relList&&Rn.relList.supports&&Rn.relList.supports("prefetch")?sf:rf;function qf(){if(!ge||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!Os.has(c)){Os.add(c);const u=Bu(c);u&&of(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):Os.add(l))})})};Ut(s);const r=ll();Pe(()=>r.path,s),is(()=>{n&&n.disconnect()})}const Gf="/demo.png";export{Lf as $,cf as A,ge as B,ll as C,ql as D,_e as E,$f as F,Te as G,pf as H,df as I,fe as J,hf as K,nl as L,uf as M,Pf as N,ca as O,xt as P,Qs as Q,Ff as R,Rf as S,_f as T,ns as U,Nf as V,on as W,$u as X,ff as Y,kf as Z,Cf as _,Ho as a,ac as a0,mf as a1,Ef as a2,co as a3,Sf as a4,vf as a5,Bs as a6,Kf as a7,qu as a8,Hf as a9,af as aA,Ln as aB,Tf as aC,Df as aD,ku as aa,Vf as ab,Uf as ac,ut as ad,jf as ae,Bu as af,xf as ag,qf as ah,Bf as ai,Wf as aj,bf as ak,Gf as al,Nn as am,ce as an,as as ao,Qa as ap,qo as aq,Mf as ar,If as as,Of as at,Af as au,Xu as av,ze as aw,lf as ax,wf as ay,ae as az,Us as b,yf as c,lr as d,la as e,Du as f,yi as g,oe as h,Ou as i,Do as j,ts as k,Ru as l,Qo as m,Zs as n,ks as o,Ut as p,Rc as q,gf as r,is as s,El as t,Uu as u,Ku as v,cc as w,or as x,$e as y,Pe as z}; diff --git a/public/assets/chunks/theme.CrRTOBPg.js b/public/assets/chunks/theme.CrRTOBPg.js new file mode 100644 index 0000000..60e3b7d --- /dev/null +++ b/public/assets/chunks/theme.CrRTOBPg.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox._2dQLUi7.js","assets/chunks/framework.CXEBwYRw.js"])))=>i.map(i=>d[i]); +import{d as p,c as u,r as c,n as L,o,a as K,t as V,b as g,w as f,T as he,e as h,_,u as Ke,i as Ue,f as je,g as me,h as k,j as v,k as i,l as D,m as ye,p as z,q as We,s as ne,v as qe,x as ae,y as P,z as H,A as Te,B as Y,C as se,D as Pe,E as oe,F as we,G as S,H as A,I as U,J as b,K as B,L as Ae,M as Je,N as Ye,O,P as re,Q as ee,R as Xe,S as ce,U as Me,V as xe,W as Qe,X as Le,Y as Ze,Z as et,$ as Ie,a0 as He,a1 as tt,a2 as nt,a3 as at,a4 as st,a5 as ot,a6 as Ve}from"./framework.CXEBwYRw.js";const rt=p({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,n)=>(o(),u("span",{class:L(["VPBadge",e.type])},[c(t.$slots,"default",{},()=>[K(V(e.text),1)])],2))}}),it={key:0,class:"VPBackdrop"},lt=p({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,n)=>(o(),g(he,{name:"fade"},{default:f(()=>[e.show?(o(),u("div",it)):h("",!0)]),_:1}))}}),ct=_(lt,[["__scopeId","data-v-c79a1216"]]),y=Ke;function ut(e,t){let n,a=!1;return()=>{n&&clearTimeout(n),a?n=setTimeout(e,t):(e(),(a=!0)&&setTimeout(()=>a=!1,t))}}function ue(e){return e.startsWith("/")?e:`/${e}`}function pe(e){const{pathname:t,search:n,hash:a,protocol:s}=new URL(e,"http://a.com");if(Ue(e)||e.startsWith("#")||!s.startsWith("http")||!je(t))return e;const{site:r}=y(),d=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${n}${a}`);return me(d)}function X({correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:a,theme:s,hash:r}=y(),d=k(()=>({label:t.value.locales[n.value]?.label,link:t.value.locales[n.value]?.link||(n.value==="root"?"/":`/${n.value}/`)}));return{localeLinks:k(()=>Object.entries(t.value.locales).flatMap(([m,$])=>d.value.label===$.label?[]:{text:$.label,link:dt($.link||(m==="root"?"/":`/${m}/`),s.value.i18nRouting!==!1&&e,a.value.relativePath.slice(d.value.link.length-1),!t.value.cleanUrls)+r.value,lang:$.lang,dir:$.dir})),currentLang:d}}function dt(e,t,n,a){return t?e.replace(/\/$/,"")+ue(n.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,a?".html":"")):e}const vt={class:"NotFound"},ft={class:"code"},ht={class:"title"},mt={class:"quote"},pt={class:"action"},kt=["href","aria-label"],gt=p({__name:"NotFound",setup(e){const{theme:t}=y(),{currentLang:n}=X();return(a,s)=>(o(),u("div",vt,[v("p",ft,V(i(t).notFound?.code??"404"),1),v("h1",ht,V(i(t).notFound?.title??"PAGE NOT FOUND"),1),s[0]||(s[0]=v("div",{class:"divider"},null,-1)),v("blockquote",mt,V(i(t).notFound?.quote??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),v("div",pt,[v("a",{class:"link",href:i(me)(i(t).notFound?.link??i(n).link),"aria-label":i(t).notFound?.linkLabel??"go to home"},V(i(t).notFound?.linkText??"Take me home"),9,kt)])]))}}),_t=_(gt,[["__scopeId","data-v-829df670"]]);function Be(e,t){if(Array.isArray(e))return Q(e);if(e==null)return[];t=ue(t);const n=Object.keys(e).sort((s,r)=>r.split("/").length-s.split("/").length).find(s=>t.startsWith(ue(s))),a=n?e[n]:[];return Array.isArray(a)?Q(a):Q(a.items,a.base)}function bt(e){const t=[];let n=0;for(const a in e){const s=e[a];if(s.items){n=t.push(s);continue}t[n]||t.push({items:[]}),t[n].items.push(s)}return t}function $t(e){const t=[];function n(a){for(const s of a)s.text&&s.link&&t.push({text:s.text,link:s.link,docFooterText:s.docFooterText}),s.items&&n(s.items)}return n(e),t}function de(e,t){return Array.isArray(t)?t.some(n=>de(e,n)):D(e,t.link)?!0:t.items?de(e,t.items):!1}function Q(e,t){return[...e].map(n=>{const a={...n},s=a.base||t;return s&&a.link&&(a.link=s+a.link.replace(/^\//,s.endsWith("/")?"":"/")),a.items&&(a.items=Q(a.items,s)),a})}function yt(){const{hasSidebar:e}=G(),t=ye("(min-width: 960px)"),n=ye("(min-width: 1280px)");return{isAsideEnabled:k(()=>!n.value&&!t.value?!1:e.value?n.value:t.value)}}const Pt=/\b(?:VPBadge|header-anchor|footnote-ref|ignore-header)\b/,ve=[];function Ce(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function Lt(e){const t=[...document.querySelectorAll(".VPDoc h1, .VPDoc h2, .VPDoc h3, .VPDoc h4, .VPDoc h5, .VPDoc h6")].filter(n=>n.id&&n.hasChildNodes()).map(n=>{const a=Number(n.tagName[1]);return{element:n,title:Vt(n),link:"#"+n.id,level:a}});return St(t,e)}function Vt(e){let t="";for(const n of e.childNodes)if(n.nodeType===1){if(Pt.test(n.className))continue;t+=n.textContent}else n.nodeType===3&&(t+=n.textContent);return t.trim()}function St(e,t){if(t===!1)return[];const n=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[a,s]=typeof n=="number"?[n,n]:n==="deep"?[2,6]:n;return wt(e,a,s)}function Nt(e,t){const{isAsideEnabled:n}=yt(),a=ut(r,100);let s=null;z(()=>{requestAnimationFrame(r),window.addEventListener("scroll",a)}),We(()=>{d(location.hash)}),ne(()=>{window.removeEventListener("scroll",a)});function r(){if(!n.value)return;const l=window.scrollY,m=window.innerHeight,$=document.body.offsetHeight,N=Math.abs(l+m-$)<1,w=ve.map(({element:x,link:I})=>({link:I,top:Tt(x)})).filter(({top:x})=>!Number.isNaN(x)).sort((x,I)=>x.top-I.top);if(!w.length){d(null);return}if(l<1){d(null);return}if(N){d(w[w.length-1].link);return}let E=null;for(const{link:x,top:I}of w){if(I>l+qe()+4)break;E=x}d(E)}function d(l){s&&s.classList.remove("active"),l==null?s=null:s=e.value.querySelector(`a[href="${decodeURIComponent(l)}"]`);const m=s;m?(m.classList.add("active"),t.value.style.top=m.offsetTop+39+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function Tt(e){let t=0;for(;e!==document.body;){if(e===null)return NaN;t+=e.offsetTop,e=e.offsetParent}return t}function wt(e,t,n){ve.length=0;const a=[],s=[];return e.forEach(r=>{const d={...r,children:[]};let l=s[s.length-1];for(;l&&l.level>=d.level;)s.pop(),l=s[s.length-1];if(d.element.classList.contains("ignore-header")||l&&"shouldIgnore"in l){s.push({level:d.level,shouldIgnore:!0});return}d.level>n||d.level{t=q.value?document.activeElement:void 0}),z(()=>{window.addEventListener("keyup",n)}),ne(()=>{window.removeEventListener("keyup",n)});function n(a){a.key==="Escape"&&q.value&&(e(),t?.focus())}}function Mt(){function e(){q.value=!0}function t(){q.value=!1}function n(){q.value?t():e()}return{isOpen:q,open:e,close:t,toggle:n}}function xt(e){const{page:t,hash:n}=y(),a=P(!1),s=k(()=>e.value.collapsed!=null),r=k(()=>!!e.value.link),d=P(!1),l=()=>{d.value=D(t.value.relativePath,e.value.link)};H([t,e,n],l),z(l);const m=k(()=>d.value?!0:e.value.items?de(t.value.relativePath,e.value.items):!1),$=k(()=>!!(e.value.items&&e.value.items.length));ae(()=>{a.value=!!(s.value&&e.value.collapsed)}),Te(()=>{(d.value||m.value)&&(a.value=!1)});function N(){s.value&&(a.value=!a.value)}return{collapsed:a,collapsible:s,isLink:r,isActiveLink:d,hasActiveLink:m,hasChildren:$,toggle:N}}const fe=oe([]),J=oe([]),Z=oe(!1);function G(){const{frontmatter:e,theme:t}=y(),n=k(()=>!!(e.value.isHome??e.value.layout==="home")),a=k(()=>e.value.sidebar!==!1&&J.value.length>0&&!n.value),s=k(()=>a.value&&Z.value),r=k(()=>a.value?bt(J.value):[]),d=k(()=>n.value?!1:e.value.aside!=null?!!e.value.aside:t.value.aside!==!1),l=k(()=>d.value?e.value.aside==null?t.value.aside==="left":e.value.aside==="left":!1),m=k(()=>fe.value.length>0);return{isHome:n,sidebar:Pe(J),sidebarGroups:r,hasSidebar:a,isSidebarEnabled:s,hasAside:d,leftAside:l,headers:Pe(fe),hasLocalNav:m}}function It({closeSidebar:e}){const{frontmatter:t,page:n,theme:a}=y();H(()=>[n.value.relativePath,a.value.sidebar],([r,d])=>{const l=d?Be(d,r):[];JSON.stringify(l)!==JSON.stringify(J.value)&&(J.value=l)},{immediate:!0,deep:!0,flush:"sync"}),we(()=>{fe.value=Lt(t.value.outline??a.value.outline)}),Y&&(Z.value=window.innerWidth>=960,window.addEventListener("resize",()=>{Z.value=window.innerWidth>=960},{passive:!0}));const s=se();H(()=>s.path,e),H(Z,e),At(e)}const Ee=Symbol("layout-info"),Ht=["href","title"],Bt=p({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(e){return(t,n)=>{const a=U("VPDocOutlineItem",!0);return o(),u("ul",{class:L(["VPDocOutlineItem",e.root?"root":"nested"])},[(o(!0),u(S,null,A(e.headers,({children:s,link:r,title:d})=>(o(),u("li",null,[v("a",{class:"outline-link",href:r,title:d},V(d),9,Ht),s?.length?(o(),g(a,{key:0,headers:s},null,8,["headers"])):h("",!0)]))),256))],2)}}}),Fe=_(Bt,[["__scopeId","data-v-1ce71065"]]),Ct={class:"content"},Et={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},Ft=p({__name:"VPDocAsideOutline",setup(e){const{theme:t}=y(),n=P(),a=P(),{headers:s,hasLocalNav:r}=G();return Nt(n,a),(d,l)=>(o(),u("nav",{"aria-labelledby":"doc-outline-aria-label",class:L(["VPDocAsideOutline",{"has-outline":i(r)}]),ref_key:"container",ref:n},[v("div",Ct,[v("div",{class:"outline-marker",ref_key:"marker",ref:a},null,512),v("div",Et,V(i(Ce)(i(t))),1),b(Fe,{headers:i(s),root:!0},null,8,["headers"])])],2))}}),Ot=_(Ft,[["__scopeId","data-v-60d5052e"]]),Dt={class:"VPDocAsideCarbonAds"},zt=p({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const t=()=>null;return(n,a)=>(o(),u("div",Dt,[b(i(t),{"carbon-ads":e.carbonAds},null,8,["carbon-ads"])]))}}),Gt={class:"VPDocAside"},Rt=p({__name:"VPDocAside",setup(e){const{theme:t}=y();return(n,a)=>(o(),u("div",Gt,[c(n.$slots,"aside-top",{},void 0,!0),c(n.$slots,"aside-outline-before",{},void 0,!0),b(Ot),c(n.$slots,"aside-outline-after",{},void 0,!0),a[0]||(a[0]=v("div",{class:"spacer"},null,-1)),c(n.$slots,"aside-ads-before",{},void 0,!0),i(t).carbonAds?(o(),g(zt,{key:0,"carbon-ads":i(t).carbonAds},null,8,["carbon-ads"])):h("",!0),c(n.$slots,"aside-ads-after",{},void 0,!0),c(n.$slots,"aside-bottom",{},void 0,!0)]))}}),Kt=_(Rt,[["__scopeId","data-v-3f215769"]]);function Ut(){const{theme:e,page:t}=y();return k(()=>{const{text:n="Edit this page",pattern:a=""}=e.value.editLink||{};let s;return typeof a=="function"?s=a(t.value):s=a.replace(/:path/g,t.value.filePath),{url:s,text:n}})}function jt(){const{page:e,theme:t,frontmatter:n}=y();return k(()=>{const a=Be(t.value.sidebar,e.value.relativePath),s=$t(a),r=Wt(s,$=>$.link.replace(/[?#].*$/,"")),d=r.findIndex($=>D(e.value.relativePath,$.link)),l=t.value.docFooter?.prev===!1&&!n.value.prev||n.value.prev===!1,m=t.value.docFooter?.next===!1&&!n.value.next||n.value.next===!1;return{prev:l?void 0:{text:(typeof n.value.prev=="string"?n.value.prev:typeof n.value.prev=="object"?n.value.prev.text:void 0)??r[d-1]?.docFooterText??r[d-1]?.text,link:(typeof n.value.prev=="object"?n.value.prev.link:void 0)??r[d-1]?.link},next:m?void 0:{text:(typeof n.value.next=="string"?n.value.next:typeof n.value.next=="object"?n.value.next.text:void 0)??r[d+1]?.docFooterText??r[d+1]?.text,link:(typeof n.value.next=="object"?n.value.next.link:void 0)??r[d+1]?.link}}})}function Wt(e,t){const n=new Set;return e.filter(a=>{const s=t(a);return n.has(s)?!1:n.add(s)})}const C=p({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const t=e,n=k(()=>t.tag??(t.href?"a":"span")),a=k(()=>t.href&&Ae.test(t.href)||t.target==="_blank");return(s,r)=>(o(),g(B(n.value),{class:L(["VPLink",{link:e.href,"vp-external-link-icon":a.value,"no-icon":e.noIcon}]),href:e.href?i(pe)(e.href):void 0,target:e.target??(a.value?"_blank":void 0),rel:e.rel??(a.value?"noreferrer":void 0)},{default:f(()=>[c(s.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),qt={class:"VPLastUpdated"},Jt=["datetime"],Yt=p({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:n,lang:a}=y(),{language:s}=Ye(),r=Je("timeRef"),d=k(()=>new Date(n.value.lastUpdated)),l=k(()=>d.value.toISOString()),m=oe("");return z(()=>{ae(()=>{const $=t.value.lastUpdated?.formatOptions?.forceLocale?a.value:s.value;m.value=new Intl.DateTimeFormat($,t.value.lastUpdated?.formatOptions??{dateStyle:"medium",timeStyle:"medium"}).format(d.value),$&&a.value!==$?r.value?.setAttribute("lang",$):r.value?.removeAttribute("lang")})}),($,N)=>(o(),u("p",qt,[K(V(i(t).lastUpdated?.text||i(t).lastUpdatedText||"Last updated")+": ",1),v("time",{ref_key:"timeRef",ref:r,datetime:l.value},V(m.value),9,Jt)]))}}),Xt=_(Yt,[["__scopeId","data-v-3c637f39"]]),Qt={key:0,class:"VPDocFooter"},Zt={key:0,class:"edit-info"},en={key:0,class:"edit-link"},tn={key:1,class:"last-updated"},nn={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},an={class:"pager"},sn=["innerHTML"],on=["innerHTML"],rn={class:"pager"},ln=["innerHTML"],cn=["innerHTML"],un=p({__name:"VPDocFooter",setup(e){const{theme:t,page:n,frontmatter:a}=y(),s=Ut(),r=jt(),d=k(()=>t.value.editLink&&a.value.editLink!==!1),l=k(()=>n.value.lastUpdated),m=k(()=>d.value||l.value||r.value.prev||r.value.next);return($,N)=>m.value?(o(),u("footer",Qt,[c($.$slots,"doc-footer-before",{},void 0,!0),d.value||l.value?(o(),u("div",Zt,[d.value?(o(),u("div",en,[b(C,{class:"edit-link-button",href:i(s).url,"no-icon":!0},{default:f(()=>[N[0]||(N[0]=v("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),K(" "+V(i(s).text),1)]),_:1},8,["href"])])):h("",!0),l.value?(o(),u("div",tn,[b(Xt)])):h("",!0)])):h("",!0),i(r).prev?.link||i(r).next?.link?(o(),u("nav",nn,[N[1]||(N[1]=v("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),v("div",an,[i(r).prev?.link?(o(),g(C,{key:0,class:"pager-link prev",href:i(r).prev.link},{default:f(()=>[v("span",{class:"desc",innerHTML:i(t).docFooter?.prev||"Previous page"},null,8,sn),v("span",{class:"title",innerHTML:i(r).prev.text},null,8,on)]),_:1},8,["href"])):h("",!0)]),v("div",rn,[i(r).next?.link?(o(),g(C,{key:0,class:"pager-link next",href:i(r).next.link},{default:f(()=>[v("span",{class:"desc",innerHTML:i(t).docFooter?.next||"Next page"},null,8,ln),v("span",{class:"title",innerHTML:i(r).next.text},null,8,cn)]),_:1},8,["href"])):h("",!0)])])):h("",!0)])):h("",!0)}}),dn=_(un,[["__scopeId","data-v-e257564d"]]),vn={class:"container"},fn={class:"aside-container"},hn={class:"aside-content"},mn={class:"content"},pn={class:"content-container"},kn={class:"main"},gn=p({__name:"VPDoc",setup(e){const{theme:t}=y(),n=se(),{hasSidebar:a,hasAside:s,leftAside:r}=G(),d=k(()=>n.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(l,m)=>{const $=U("Content");return o(),u("div",{class:L(["VPDoc",{"has-sidebar":i(a),"has-aside":i(s)}])},[c(l.$slots,"doc-top",{},void 0,!0),v("div",vn,[i(s)?(o(),u("div",{key:0,class:L(["aside",{"left-aside":i(r)}])},[m[0]||(m[0]=v("div",{class:"aside-curtain"},null,-1)),v("div",fn,[v("div",hn,[b(Kt,null,{"aside-top":f(()=>[c(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":f(()=>[c(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":f(()=>[c(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[c(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[c(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[c(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):h("",!0),v("div",mn,[v("div",pn,[c(l.$slots,"doc-before",{},void 0,!0),v("main",kn,[b($,{class:L(["vp-doc",[d.value,i(t).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),b(dn,null,{"doc-footer-before":f(()=>[c(l.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),c(l.$slots,"doc-after",{},void 0,!0)])])]),c(l.$slots,"doc-bottom",{},void 0,!0)],2)}}}),_n=_(gn,[["__scopeId","data-v-7011f0d8"]]),bn=p({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const t=e,n=k(()=>t.href&&Ae.test(t.href)),a=k(()=>t.tag||(t.href?"a":"button"));return(s,r)=>(o(),g(B(a.value),{class:L(["VPButton",[e.size,e.theme]]),href:e.href?i(pe)(e.href):void 0,target:t.target??(n.value?"_blank":void 0),rel:t.rel??(n.value?"noreferrer":void 0)},{default:f(()=>[c(s.$slots,"default",{},()=>[K(V(e.text),1)],!0)]),_:3},8,["class","href","target","rel"]))}}),$n=_(bn,[["__scopeId","data-v-01bff58b"]]),yn=["src","alt"],Pn=p({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(t,n)=>{const a=U("VPImage",!0);return e.image?(o(),u(S,{key:0},[typeof e.image=="string"||"src"in e.image?(o(),u("img",O({key:0,class:"VPImage"},typeof e.image=="string"?t.$attrs:{...e.image,...t.$attrs},{src:i(me)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,yn)):(o(),u(S,{key:1},[b(a,O({class:"dark",image:e.image.dark,alt:e.image.alt},t.$attrs),null,16,["image","alt"]),b(a,O({class:"light",image:e.image.light,alt:e.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):h("",!0)}}}),te=_(Pn,[["__scopeId","data-v-8426fc1a"]]),Ln={class:"container"},Vn={class:"main"},Sn={class:"heading"},Nn=["innerHTML"],Tn=["innerHTML"],wn=["innerHTML"],An={key:0,class:"actions"},Mn={key:0,class:"image"},xn={class:"image-container"},In=p({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const{heroImageSlotExists:t}=re(Ee,{heroImageSlotExists:k(()=>!1)});return(n,a)=>(o(),u("div",{class:L(["VPHero",{"has-image":e.image||i(t)}])},[v("div",Ln,[v("div",Vn,[c(n.$slots,"home-hero-info-before",{},void 0,!0),c(n.$slots,"home-hero-info",{},()=>[v("h1",Sn,[e.name?(o(),u("span",{key:0,innerHTML:e.name,class:"name clip"},null,8,Nn)):h("",!0),e.text?(o(),u("span",{key:1,innerHTML:e.text,class:"text"},null,8,Tn)):h("",!0)]),e.tagline?(o(),u("p",{key:0,innerHTML:e.tagline,class:"tagline"},null,8,wn)):h("",!0)],!0),c(n.$slots,"home-hero-info-after",{},void 0,!0),e.actions?(o(),u("div",An,[c(n.$slots,"home-hero-actions-before-actions",{},void 0,!0),(o(!0),u(S,null,A(e.actions,s=>(o(),u("div",{key:s.link,class:"action"},[b($n,{tag:"a",size:"medium",theme:s.theme,text:s.text,href:s.link,target:s.target,rel:s.rel},null,8,["theme","text","href","target","rel"])]))),128))])):h("",!0),c(n.$slots,"home-hero-actions-after",{},void 0,!0)]),e.image||i(t)?(o(),u("div",Mn,[v("div",xn,[a[0]||(a[0]=v("div",{class:"image-bg"},null,-1)),c(n.$slots,"home-hero-image",{},()=>[e.image?(o(),g(te,{key:0,class:"image-src",image:e.image},null,8,["image"])):h("",!0)],!0)])])):h("",!0)])],2))}}),Hn=_(In,[["__scopeId","data-v-e62e4946"]]),Bn=p({__name:"VPHomeHero",setup(e){const{frontmatter:t}=y();return(n,a)=>i(t).hero?(o(),g(Hn,{key:0,class:"VPHomeHero",name:i(t).hero.name,text:i(t).hero.text,tagline:i(t).hero.tagline,image:i(t).hero.image,actions:i(t).hero.actions},{"home-hero-info-before":f(()=>[c(n.$slots,"home-hero-info-before")]),"home-hero-info":f(()=>[c(n.$slots,"home-hero-info")]),"home-hero-info-after":f(()=>[c(n.$slots,"home-hero-info-after")]),"home-hero-actions-after":f(()=>[c(n.$slots,"home-hero-actions-after")]),"home-hero-actions-before-actions":f(()=>[c(n.$slots,"home-hero-actions-before-actions")]),"home-hero-image":f(()=>[c(n.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):h("",!0)}}),Cn={class:"box"},En={key:0,class:"icon"},Fn=["innerHTML"],On=["innerHTML"],Dn={key:3,class:"details"},zn=["innerHTML"],Gn=["innerHTML"],Rn={key:5,class:"link-text"},Kn={class:"link-text-value"},Un=p({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(t,n)=>(o(),g(C,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:f(()=>[v("article",Cn,[typeof e.icon=="object"&&e.icon.wrap?(o(),u("div",En,[b(te,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(o(),g(te,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(o(),u("div",{key:2,class:"icon",innerHTML:e.icon},null,8,Fn)):h("",!0),v("h2",{class:"title",innerHTML:e.title},null,8,On),Array.isArray(e.details)?(o(),u("ul",Dn,[(o(!0),u(S,null,A(e.details,a=>(o(),u("li",{key:a,innerHTML:a},null,8,zn))),128))])):e.details?(o(),u("p",{key:4,class:"details",innerHTML:e.details},null,8,Gn)):h("",!0),e.linkText?(o(),u("div",Rn,[v("p",Kn,[K(V(e.linkText)+" ",1),n[0]||(n[0]=v("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):h("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),jn=_(Un,[["__scopeId","data-v-e5511d04"]]),Wn={key:0,class:"VPFeatures"},qn={class:"container"},Jn={class:"items"},Yn=p({__name:"VPFeatures",props:{features:{}},setup(e){const t=e,n=k(()=>{const a=t.features.length;if(a){if(a===2)return"grid-2";if(a===3)return"grid-3";if(a%3===0)return"grid-6";if(a>3)return"grid-4"}else return});return(a,s)=>e.features?(o(),u("div",Wn,[v("div",qn,[v("div",Jn,[(o(!0),u(S,null,A(e.features,r=>(o(),u("div",{key:r.title,class:L(["item",[n.value]])},[b(jn,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):h("",!0)}}),Xn=_(Yn,[["__scopeId","data-v-a6181336"]]),Qn=p({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=y();return(n,a)=>i(t).features?(o(),g(Xn,{key:0,class:"VPHomeFeatures",features:i(t).features},null,8,["features"])):h("",!0)}}),Zn=p({__name:"VPHomeContent",setup(e){const{width:t}=Xe({initialWidth:0,includeScrollbar:!1});return(n,a)=>(o(),u("div",{class:"vp-doc container",style:ee(i(t)?{"--vp-offset":`calc(50% - ${i(t)/2}px)`}:{})},[c(n.$slots,"default",{},void 0,!0)],4))}}),ea=_(Zn,[["__scopeId","data-v-8e2d4988"]]),ta=p({__name:"VPHome",setup(e){const{frontmatter:t,theme:n}=y();return(a,s)=>{const r=U("Content");return o(),u("div",{class:L(["VPHome",{"external-link-icon-enabled":i(n).externalLinkIcon}])},[c(a.$slots,"home-hero-before",{},void 0,!0),b(Bn,null,{"home-hero-info-before":f(()=>[c(a.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[c(a.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[c(a.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[c(a.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-actions-before-actions":f(()=>[c(a.$slots,"home-hero-actions-before-actions",{},void 0,!0)]),"home-hero-image":f(()=>[c(a.$slots,"home-hero-image",{},void 0,!0)]),_:3}),c(a.$slots,"home-hero-after",{},void 0,!0),c(a.$slots,"home-features-before",{},void 0,!0),b(Qn),c(a.$slots,"home-features-after",{},void 0,!0),i(t).markdownStyles!==!1?(o(),g(ea,{key:0},{default:f(()=>[b(r)]),_:1})):(o(),g(r,{key:1}))],2)}}}),na=_(ta,[["__scopeId","data-v-bb6342a6"]]),aa={},sa={class:"VPPage"};function oa(e,t){const n=U("Content");return o(),u("div",sa,[c(e.$slots,"page-top"),b(n),c(e.$slots,"page-bottom")])}const ra=_(aa,[["render",oa]]),ia=p({__name:"VPContent",setup(e){const{page:t,frontmatter:n}=y(),{isHome:a,hasSidebar:s}=G();return(r,d)=>(o(),u("div",{class:L(["VPContent",{"has-sidebar":i(s),"is-home":i(a)}]),id:"VPContent"},[i(t).isNotFound?c(r.$slots,"not-found",{key:0},()=>[b(_t)],!0):i(n).layout==="page"?(o(),g(ra,{key:1},{"page-top":f(()=>[c(r.$slots,"page-top",{},void 0,!0)]),"page-bottom":f(()=>[c(r.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(n).layout==="home"?(o(),g(na,{key:2},{"home-hero-before":f(()=>[c(r.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":f(()=>[c(r.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[c(r.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[c(r.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[c(r.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-actions-before-actions":f(()=>[c(r.$slots,"home-hero-actions-before-actions",{},void 0,!0)]),"home-hero-image":f(()=>[c(r.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":f(()=>[c(r.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":f(()=>[c(r.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":f(()=>[c(r.$slots,"home-features-after",{},void 0,!0)]),_:3})):i(n).layout&&i(n).layout!=="doc"?(o(),g(B(i(n).layout),{key:3})):(o(),g(_n,{key:4},{"doc-top":f(()=>[c(r.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":f(()=>[c(r.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":f(()=>[c(r.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":f(()=>[c(r.$slots,"doc-before",{},void 0,!0)]),"doc-after":f(()=>[c(r.$slots,"doc-after",{},void 0,!0)]),"aside-top":f(()=>[c(r.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":f(()=>[c(r.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[c(r.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[c(r.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[c(r.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":f(()=>[c(r.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),la=_(ia,[["__scopeId","data-v-9dc86fcc"]]),ca={class:"container"},ua=["innerHTML"],da=["innerHTML"],va=p({__name:"VPFooter",setup(e){const{theme:t,frontmatter:n}=y(),{hasSidebar:a}=G();return(s,r)=>i(t).footer&&i(n).footer!==!1?(o(),u("footer",{key:0,class:L(["VPFooter",{"has-sidebar":i(a)}])},[v("div",ca,[i(t).footer.message?(o(),u("p",{key:0,class:"message",innerHTML:i(t).footer.message},null,8,ua)):h("",!0),i(t).footer.copyright?(o(),u("p",{key:1,class:"copyright",innerHTML:i(t).footer.copyright},null,8,da)):h("",!0)])],2)):h("",!0)}}),fa=_(va,[["__scopeId","data-v-c3855bb3"]]),ha={class:"menu-text"},ma={class:"header"},pa={class:"outline"},ka=p({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const t=e,{theme:n}=y(),a=P(!1),s=P(0),r=P(),d=P();function l(w){r.value?.contains(w.target)||(a.value=!1)}H(a,w=>{if(w){document.addEventListener("click",l);return}document.removeEventListener("click",l)}),ce("Escape",()=>{a.value=!1}),we(()=>{a.value=!1});function m(){a.value=!a.value,s.value=window.innerHeight+Math.min(window.scrollY-t.navHeight,0)}function $(w){w.target.classList.contains("outline-link")&&(d.value&&(d.value.style.transition="none"),Me(()=>{a.value=!1}))}function N(){a.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(w,E)=>(o(),u("div",{class:"VPLocalNavOutlineDropdown",style:ee({"--vp-vh":s.value+"px"}),ref_key:"main",ref:r},[e.headers.length>0?(o(),u("button",{key:0,onClick:m,class:L({open:a.value})},[v("span",ha,V(i(Ce)(i(n))),1),E[0]||(E[0]=v("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(o(),u("button",{key:1,onClick:N},V(i(n).returnToTopLabel||"Return to top"),1)),b(he,{name:"flyout"},{default:f(()=>[a.value?(o(),u("div",{key:0,ref_key:"items",ref:d,class:"items",onClick:$},[v("div",ma,[v("a",{class:"top-link",href:"#",onClick:N},V(i(n).returnToTopLabel||"Return to top"),1)]),v("div",pa,[b(Fe,{headers:e.headers},null,8,["headers"])])],512)):h("",!0)]),_:1})],4))}}),ga=_(ka,[["__scopeId","data-v-0bf0e06f"]]),_a={class:"container"},ba=["aria-expanded"],$a={class:"menu-text"},ya=p({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t}=y(),{isHome:n,hasSidebar:a,headers:s,hasLocalNav:r}=G(),{y:d}=xe(),l=P(0);z(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))});const m=k(()=>({VPLocalNav:!0,"has-sidebar":a.value,empty:!r.value,fixed:!r.value&&!a.value}));return($,N)=>!i(n)&&(i(r)||i(a)||i(d)>=l.value)?(o(),u("div",{key:0,class:L(m.value)},[v("div",_a,[i(a)?(o(),u("button",{key:0,class:"menu","aria-expanded":e.open,"aria-controls":"VPSidebarNav",onClick:N[0]||(N[0]=w=>$.$emit("open-menu"))},[N[1]||(N[1]=v("span",{class:"vpi-align-left menu-icon"},null,-1)),v("span",$a,V(i(t).sidebarMenuLabel||"Menu"),1)],8,ba)):h("",!0),b(ga,{headers:i(s),navHeight:l.value},null,8,["headers","navHeight"])])],2)):h("",!0)}}),Pa=_(ya,[["__scopeId","data-v-db738f89"]]);function La(){const e=P(!1);function t(){e.value=!0,window.addEventListener("resize",s)}function n(){e.value=!1,window.removeEventListener("resize",s)}function a(){e.value?n():t()}function s(){window.outerWidth>=768&&n()}const r=se();return H(()=>r.path,n),{isScreenOpen:e,openScreen:t,closeScreen:n,toggleScreen:a}}const ke=Symbol("nav"),Va={},Sa={class:"VPSwitch",type:"button",role:"switch"},Na={class:"check"},Ta={key:0,class:"icon"};function wa(e,t){return o(),u("button",Sa,[v("span",Na,[e.$slots.default?(o(),u("span",Ta,[c(e.$slots,"default",{},void 0,!0)])):h("",!0)])])}const Aa=_(Va,[["render",wa],["__scopeId","data-v-1d5665e3"]]),Ma=p({__name:"VPSwitchAppearance",setup(e){const{isDark:t,theme:n}=y(),a=re("toggle-appearance",()=>{t.value=!t.value}),s=P("");return Te(()=>{s.value=t.value?n.value.lightModeSwitchTitle||"Switch to light theme":n.value.darkModeSwitchTitle||"Switch to dark theme"}),(r,d)=>(o(),g(Aa,{title:s.value,class:"VPSwitchAppearance","aria-checked":i(t),onClick:i(a)},{default:f(()=>[...d[0]||(d[0]=[v("span",{class:"vpi-sun sun"},null,-1),v("span",{class:"vpi-moon moon"},null,-1)])]),_:1},8,["title","aria-checked","onClick"]))}}),ge=_(Ma,[["__scopeId","data-v-5337faa4"]]),xa={key:0,class:"VPNavBarAppearance"},Ia=p({__name:"VPNavBarAppearance",setup(e){const{site:t}=y();return(n,a)=>i(t).appearance&&i(t).appearance!=="force-dark"&&i(t).appearance!=="force-auto"?(o(),u("div",xa,[b(ge)])):h("",!0)}}),Ha=_(Ia,[["__scopeId","data-v-6c893767"]]),_e=P();let Oe=!1,le=0;function Ba(e){const t=P(!1);if(Y){!Oe&&Ca(),le++;const n=H(_e,a=>{a===e.el.value||e.el.value?.contains(a)?(t.value=!0,e.onFocus?.()):(t.value=!1,e.onBlur?.())});ne(()=>{n(),le--,le||Ea()})}return Qe(t)}function Ca(){document.addEventListener("focusin",De),Oe=!0,_e.value=document.activeElement}function Ea(){document.removeEventListener("focusin",De)}function De(){_e.value=document.activeElement}const Fa={class:"VPMenuLink"},Oa=["innerHTML"],Da=p({inheritAttrs:!1,__name:"VPMenuLink",props:{item:{},rel:{}},setup(e){const t=e,{page:n}=y(),a=k(()=>typeof t.item.link=="function"?t.item.link(n.value):t.item.link),s=k(()=>D(n.value.relativePath,t.item.activeMatch||a.value,!!t.item.activeMatch));return(r,d)=>(o(),u("div",Fa,[b(C,O(r.$attrs,{class:{active:s.value},href:a.value,target:e.item.target,rel:t.rel??e.item.rel,"no-icon":e.item.noIcon}),{default:f(()=>[v("span",{innerHTML:e.item.text},null,8,Oa)]),_:1},16,["class","href","target","rel","no-icon"])]))}}),ie=_(Da,[["__scopeId","data-v-867c295f"]]),za={class:"VPMenuGroup"},Ga={key:0,class:"title"},Ra=p({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(t,n)=>(o(),u("div",za,[e.text?(o(),u("p",Ga,V(e.text),1)):h("",!0),(o(!0),u(S,null,A(e.items,a=>(o(),u(S,{key:JSON.stringify(a)},["link"in a?(o(),g(ie,{key:0,item:a},null,8,["item"])):h("",!0)],64))),128))]))}}),Ka=_(Ra,[["__scopeId","data-v-1963e1bb"]]),Ua={class:"VPMenu"},ja={key:0,class:"items"},Wa=p({__name:"VPMenu",props:{items:{}},setup(e){return(t,n)=>(o(),u("div",Ua,[e.items?(o(),u("div",ja,[(o(!0),u(S,null,A(e.items,a=>(o(),u(S,{key:JSON.stringify(a)},["link"in a?(o(),g(ie,{key:0,item:a},null,8,["item"])):"component"in a?(o(),g(B(a.component),O({key:1,ref_for:!0},a.props),null,16)):(o(),g(Ka,{key:2,text:a.text,items:a.items},null,8,["text","items"]))],64))),128))])):h("",!0),c(t.$slots,"default",{},void 0,!0)]))}}),qa=_(Wa,[["__scopeId","data-v-25a6cce8"]]),Ja=["aria-expanded","aria-label"],Ya={key:0,class:"text"},Xa=["innerHTML"],Qa={key:1,class:"vpi-more-horizontal icon"},Za={class:"menu"},es=p({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const t=P(!1),n=P();Ba({el:n,onBlur:a});function a(){t.value=!1}return(s,r)=>(o(),u("div",{class:"VPFlyout",ref_key:"el",ref:n,onMouseenter:r[1]||(r[1]=d=>t.value=!0),onMouseleave:r[2]||(r[2]=d=>t.value=!1)},[v("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":e.label,onClick:r[0]||(r[0]=d=>t.value=!t.value)},[e.button||e.icon?(o(),u("span",Ya,[e.icon?(o(),u("span",{key:0,class:L([e.icon,"option-icon"])},null,2)):h("",!0),e.button?(o(),u("span",{key:1,innerHTML:e.button},null,8,Xa)):h("",!0),r[3]||(r[3]=v("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(o(),u("span",Qa))],8,Ja),v("div",Za,[b(qa,{items:e.items},{default:f(()=>[c(s.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),be=_(es,[["__scopeId","data-v-42cb505d"]]),ts=["href","aria-label","rel","innerHTML"],ns=p({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{},me:{type:Boolean}},setup(e){const t=e,n=P();z(async()=>{await Me();const s=n.value?.children[0];s instanceof HTMLElement&&s.className.startsWith("vpi-social-")&&(getComputedStyle(s).maskImage||getComputedStyle(s).webkitMaskImage)==="none"&&s.style.setProperty("--icon",`url('https://api.iconify.design/simple-icons/${t.icon}.svg')`)});const a=k(()=>typeof t.icon=="object"?t.icon.svg:``);return(s,r)=>(o(),u("a",{ref_key:"el",ref:n,class:"VPSocialLink no-icon",href:e.link,"aria-label":e.ariaLabel??(typeof e.icon=="string"?e.icon:""),target:"_blank",rel:e.me?"me noopener":"noopener",innerHTML:a.value},null,8,ts))}}),as=_(ns,[["__scopeId","data-v-591a6b30"]]),ss={class:"VPSocialLinks"},os=p({__name:"VPSocialLinks",props:{links:{},me:{type:Boolean,default:!0}},setup(e){return(t,n)=>(o(),u("div",ss,[(o(!0),u(S,null,A(e.links,({link:a,icon:s,ariaLabel:r})=>(o(),g(as,{key:a,icon:s,link:a,ariaLabel:r,me:e.me},null,8,["icon","link","ariaLabel","me"]))),128))]))}}),$e=_(os,[["__scopeId","data-v-d07f11e6"]]),rs={key:0,class:"group translations"},is={class:"trans-title"},ls={key:1,class:"group"},cs={class:"item appearance"},us={class:"label"},ds={class:"appearance-action"},vs={key:2,class:"group"},fs={class:"item social-links"},hs=p({__name:"VPNavBarExtra",setup(e){const{site:t,theme:n}=y(),{localeLinks:a,currentLang:s}=X({correspondingLink:!0}),r=k(()=>a.value.length&&s.value.label||t.value.appearance||n.value.socialLinks);return(d,l)=>r.value?(o(),g(be,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:f(()=>[i(a).length&&i(s).label?(o(),u("div",rs,[v("p",is,V(i(s).label),1),(o(!0),u(S,null,A(i(a),m=>(o(),g(ie,{key:m.link,item:m,lang:m.lang,hreflang:m.lang,rel:"alternate",dir:m.dir},null,8,["item","lang","hreflang","dir"]))),128))])):h("",!0),i(t).appearance&&i(t).appearance!=="force-dark"&&i(t).appearance!=="force-auto"?(o(),u("div",ls,[v("div",cs,[v("p",us,V(i(n).darkModeSwitchLabel||"Appearance"),1),v("div",ds,[b(ge)])])])):h("",!0),i(n).socialLinks?(o(),u("div",vs,[v("div",fs,[b($e,{class:"social-links-list",links:i(n).socialLinks},null,8,["links"])])])):h("",!0)]),_:1})):h("",!0)}}),ms=_(hs,[["__scopeId","data-v-562c832a"]]),ps=["aria-expanded"],ks=p({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(o(),u("button",{type:"button",class:L(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:n[0]||(n[0]=a=>t.$emit("click"))},[...n[1]||(n[1]=[v("span",{class:"container"},[v("span",{class:"top"}),v("span",{class:"middle"}),v("span",{class:"bottom"})],-1)])],10,ps))}}),gs=_(ks,[["__scopeId","data-v-e5dd9c1c"]]),_s=["innerHTML"],bs=p({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const t=e,{page:n}=y(),a=k(()=>typeof t.item.link=="function"?t.item.link(n.value):t.item.link),s=k(()=>D(n.value.relativePath,t.item.activeMatch||a.value,!!t.item.activeMatch));return(r,d)=>(o(),g(C,{class:L({VPNavBarMenuLink:!0,active:s.value}),href:a.value,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,tabindex:"0"},{default:f(()=>[v("span",{innerHTML:e.item.text},null,8,_s)]),_:1},8,["class","href","target","rel","no-icon"]))}}),$s=_(bs,[["__scopeId","data-v-6dd25bb8"]]),ys=p({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const t=e,{page:n}=y(),a=k(()=>t.item.activeMatch?D(n.value.relativePath,t.item.activeMatch,!0):s(t.item));function s(r){if("component"in r)return!1;if("link"in r){const d=typeof r.link=="function"?r.link(n.value):r.link;return D(n.value.relativePath,r.activeMatch||d,!!r.activeMatch)}return r.items.some(s)}return(r,d)=>(o(),g(be,{class:L({VPNavBarMenuGroup:!0,active:a.value}),button:e.item.text,items:e.item.items},null,8,["class","button","items"]))}}),Ps={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Ls=p({__name:"VPNavBarMenu",setup(e){const{theme:t}=y();return(n,a)=>i(t).nav?(o(),u("nav",Ps,[a[0]||(a[0]=v("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(o(!0),u(S,null,A(i(t).nav,s=>(o(),u(S,{key:JSON.stringify(s)},["link"in s?(o(),g($s,{key:0,item:s},null,8,["item"])):"component"in s?(o(),g(B(s.component),O({key:1,ref_for:!0},s.props),null,16)):(o(),g(ys,{key:2,item:s},null,8,["item"]))],64))),128))])):h("",!0)}}),Vs=_(Ls,[["__scopeId","data-v-39714824"]]);function Ss(e){const t=e.mode??"auto",n=Ns(e),a=e.askAi,s=!!(a&&typeof a=="object"&&a.sidePanel);switch(t){case"sidePanel":return{mode:t,showKeywordSearch:!1,useSidePanel:!0};case"hybrid":return n||console.error('[vitepress] mode: "hybrid" requires keyword search credentials (appId, apiKey, indexName).'),{mode:t,showKeywordSearch:n,useSidePanel:!0};case"modal":return{mode:t,showKeywordSearch:n,useSidePanel:!1};default:return{mode:"auto",showKeywordSearch:n,useSidePanel:s}}}function Ns(e){return!!(e.appId&&e.apiKey&&e.indexName)}function ze(e,t){return[...(Array.isArray(e)?e:e?[e]:[]).map(s=>Array.isArray(s)?s.filter(r=>typeof r=="string"&&!r.startsWith("lang:")):s).filter(s=>typeof s=="string"?!s.startsWith("lang:"):Array.isArray(s)&&s.length>0),`lang:${t}`]}function Ts(e,t,n){const a=typeof e=="string",s=!a&&e.searchParameters?{...e.searchParameters}:void 0,r=s?.facetFilters??t.searchParameters?.facetFilters,d=ze(r,n),l={...s,facetFilters:d.length?d:void 0},m={...a?{}:e,indexName:a?t.indexName:e.indexName,apiKey:a?t.apiKey:e.apiKey,appId:a?t.appId:e.appId,assistantId:a?e:e.assistantId};return Object.values(l).some($=>$!=null)&&(m.searchParameters=l),m}function ws(e,t,n){e=Ge(e,e.locales?.[t]||{});const a=ze(e.searchParameters?.facetFilters,n),s=e.askAi?Ts(e.askAi,e,n):void 0;return{...e,searchParameters:{...e.searchParameters,facetFilters:a},askAi:s}}function Ge(e,t){const n={...e};for(const a in t){const s=t[a];if(s!==void 0){if(a==="searchParameters"){n[a]=s;continue}Le(s)&&Le(n[a])?n[a]=Ge(n[a],s):n[a]=s}}return delete n.locales,n}function As(e,t=(n,a)=>JSON.stringify(n)===JSON.stringify(a)){return k(n=>{const a=e();return n===void 0||!t(n,a)?a:n})}const Ms={},xs={type:"button",class:"VPNavBarAskAiButton"};function Is(e,t){return o(),u("button",xs,[...t[0]||(t[0]=[v("span",{class:"vpi-sparkles","aria-hidden":"true"},null,-1)])])}const Hs=_(Ms,[["render",Is],["__scopeId","data-v-4eb17e89"]]),Bs={type:"button",class:"VPNavBarSearchButton"},Cs={class:"text"},Es=p({__name:"VPNavBarSearchButton",props:{text:{}},setup(e){return(t,n)=>(o(),u("button",Bs,[n[0]||(n[0]=v("span",{class:"vpi-search","aria-hidden":"true"},null,-1)),v("span",Cs,V(e.text),1),n[1]||(n[1]=v("span",{class:"keys","aria-hidden":"true"},[v("kbd",{class:"key-cmd"},"⌘"),v("kbd",{class:"key-ctrl"},"Ctrl"),v("kbd",null,"K")],-1))]))}}),Se=_(Es,[["__scopeId","data-v-baa3be99"]]),Fs={class:"VPNavBarSearch"},Os=p({__name:"VPNavBarSearch",setup(e){const t=Ze(()=>et(()=>import("./VPLocalSearchBox._2dQLUi7.js"),__vite__mapDeps([0,1]))),n=()=>null,{theme:a,localeIndex:s,lang:r}=y(),d="local",l=As(()=>ws(a.value.search?.options||{},s.value,r.value)),m=k(()=>Ss(l.value)),$=k(()=>{if(!m.value.useSidePanel)return null;const T=l.value.askAi;return!T||typeof T=="string"||!T.sidePanel?null:T.sidePanel===!0?{}:T.sidePanel}),N=k(()=>$.value?.keyboardShortcuts?.["Ctrl/Cmd+I"]!==!1),w=P(null);let E=0;const x=P(!1),I=P(!1);z(()=>{});function j(T){x.value||(x.value=!0),w.value={target:T,nonce:++E}}const F=P(!1);ce("k",T=>{(T.ctrlKey||T.metaKey)&&(T.preventDefault(),F.value=!0)}),ce("/",T=>{W(T)||(T.preventDefault(),F.value=!0)});function W(T){const M=T.target,R=M.tagName;return M.isContentEditable||R==="INPUT"||R==="SELECT"||R==="TEXTAREA"}return(T,M)=>(o(),u("div",Fs,[i(d)==="algolia"?(o(),u(S,{key:0},[m.value.showKeywordSearch?(o(),g(Se,{key:0,text:i(l).translations?.button?.buttonText||"Search","aria-label":i(l).translations?.button?.buttonAriaLabel||"Search","aria-keyshortcuts":"/ control+k meta+k",onClick:M[0]||(M[0]=R=>j("search"))},null,8,["text","aria-label"])):h("",!0),$.value?(o(),g(Hs,{key:1,"aria-label":$.value.button?.translations?.buttonAriaLabel||"Ask AI","aria-keyshortcuts":N.value?"control+i meta+i":void 0,onClick:M[1]||(M[1]=R=>I.value?j("toggleAskAi"):j("askAi"))},null,8,["aria-label","aria-keyshortcuts"])):h("",!0),x.value?(o(),g(i(n),{key:2,"algolia-options":i(l),"open-request":w.value,onVnodeBeforeMount:M[2]||(M[2]=R=>I.value=!0)},null,8,["algolia-options","open-request"])):h("",!0)],64)):i(d)==="local"?(o(),u(S,{key:1},[b(Se,{text:i(l).translations?.button?.buttonText||"Search","aria-label":i(l).translations?.button?.buttonAriaLabel||"Search","aria-keyshortcuts":"/ control+k meta+k",onClick:M[3]||(M[3]=R=>F.value=!0)},null,8,["text","aria-label"]),F.value?(o(),g(i(t),{key:0,onClose:M[4]||(M[4]=R=>F.value=!1)})):h("",!0)],64)):h("",!0)]))}}),Ds=_(Os,[["__scopeId","data-v-2fc7f2c6"]]),zs=p({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=y();return(n,a)=>i(t).socialLinks?(o(),g($e,{key:0,class:"VPNavBarSocialLinks",links:i(t).socialLinks},null,8,["links"])):h("",!0)}}),Gs=_(zs,[["__scopeId","data-v-0394ad82"]]),Rs=["href","rel","target"],Ks=["innerHTML"],Us={key:2},js=p({__name:"VPNavBarTitle",setup(e){const{site:t,theme:n}=y(),{hasSidebar:a}=G(),{currentLang:s}=X(),r=k(()=>typeof n.value.logoLink=="string"?n.value.logoLink:n.value.logoLink?.link),d=k(()=>typeof n.value.logoLink=="string"?void 0:n.value.logoLink?.rel),l=k(()=>typeof n.value.logoLink=="string"?void 0:n.value.logoLink?.target);return(m,$)=>(o(),u("div",{class:L(["VPNavBarTitle",{"has-sidebar":i(a)}])},[v("a",{class:"title",href:r.value??i(pe)(i(s).link),rel:d.value,target:l.value},[c(m.$slots,"nav-bar-title-before",{},void 0,!0),i(n).logo?(o(),g(te,{key:0,class:"logo",image:i(n).logo},null,8,["image"])):h("",!0),i(n).siteTitle?(o(),u("span",{key:1,innerHTML:i(n).siteTitle},null,8,Ks)):i(n).siteTitle===void 0?(o(),u("span",Us,V(i(t).title),1)):h("",!0),c(m.$slots,"nav-bar-title-after",{},void 0,!0)],8,Rs)],2))}}),Ws=_(js,[["__scopeId","data-v-1e38c6bc"]]),qs={class:"items"},Js={class:"title"},Ys=p({__name:"VPNavBarTranslations",setup(e){const{theme:t}=y(),{localeLinks:n,currentLang:a}=X({correspondingLink:!0});return(s,r)=>i(n).length&&i(a).label?(o(),g(be,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:i(t).langMenuLabel||"Change language"},{default:f(()=>[v("div",qs,[v("p",Js,V(i(a).label),1),(o(!0),u(S,null,A(i(n),d=>(o(),g(ie,{key:d.link,item:d,lang:d.lang,hreflang:d.lang,rel:"alternate",dir:d.dir},null,8,["item","lang","hreflang","dir"]))),128))])]),_:1},8,["label"])):h("",!0)}}),Xs=_(Ys,[["__scopeId","data-v-fafa8c23"]]),Qs={class:"wrapper"},Zs={class:"container"},eo={class:"title"},to={class:"content"},no={class:"content-body"},ao=p({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const{y:t}=xe(),{isHome:n,hasSidebar:a}=G();return(s,r)=>(o(),u("div",{class:L(["VPNavBar",{"has-sidebar":i(a),home:i(n),top:i(t)===0,"screen-open":e.isScreenOpen}])},[v("div",Qs,[v("div",Zs,[v("div",eo,[b(Ws,null,{"nav-bar-title-before":f(()=>[c(s.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(s.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),v("div",to,[v("div",no,[c(s.$slots,"nav-bar-content-before",{},void 0,!0),b(Ds,{class:"search"}),b(Vs,{class:"menu"}),b(Xs,{class:"translations"}),b(Ha,{class:"appearance"}),b(Gs,{class:"social-links"}),b(ms,{class:"extra"}),c(s.$slots,"nav-bar-content-after",{},void 0,!0),b(gs,{class:"hamburger",active:e.isScreenOpen,onClick:r[0]||(r[0]=d=>s.$emit("toggle-screen"))},null,8,["active"])])])])]),r[1]||(r[1]=v("div",{class:"divider"},[v("div",{class:"divider-line"})],-1))],2))}}),so=_(ao,[["__scopeId","data-v-9ca1369d"]]),oo={key:0,class:"VPNavScreenAppearance"},ro={class:"text"},io=p({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:n}=y();return(a,s)=>i(t).appearance&&i(t).appearance!=="force-dark"&&i(t).appearance!=="force-auto"?(o(),u("div",oo,[v("p",ro,V(i(n).darkModeSwitchLabel||"Appearance"),1),b(ge)])):h("",!0)}}),lo=_(io,[["__scopeId","data-v-b44890b2"]]),co=["innerHTML"],uo=p({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const t=e,{page:n}=y(),a=k(()=>typeof t.item.link=="function"?t.item.link(n.value):t.item.link),s=k(()=>D(n.value.relativePath,t.item.activeMatch||a.value,!!t.item.activeMatch)),{closeScreen:r}=re(ke);return(d,l)=>(o(),g(C,{class:L({VPNavScreenMenuLink:!0,active:s.value}),href:a.value,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,onClick:i(r)},{default:f(()=>[v("span",{innerHTML:e.item.text},null,8,co)]),_:1},8,["class","href","target","rel","no-icon","onClick"]))}}),vo=_(uo,[["__scopeId","data-v-b924ab8a"]]),fo=["innerHTML"],ho=p({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const t=e,{page:n}=y(),a=k(()=>typeof t.item.link=="function"?t.item.link(n.value):t.item.link),s=k(()=>D(n.value.relativePath,t.item.activeMatch||a.value,!!t.item.activeMatch)),{closeScreen:r}=re(ke);return(d,l)=>(o(),g(C,{class:L({VPNavScreenMenuGroupLink:!0,active:s.value}),href:a.value,target:e.item.target,rel:e.item.rel,"no-icon":e.item.noIcon,onClick:i(r)},{default:f(()=>[v("span",{innerHTML:e.item.text},null,8,fo)]),_:1},8,["class","href","target","rel","no-icon","onClick"]))}}),Re=_(ho,[["__scopeId","data-v-ecf4b472"]]),mo={class:"VPNavScreenMenuGroupSection"},po={key:0,class:"title"},ko=p({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(t,n)=>(o(),u("div",mo,[e.text?(o(),u("p",po,V(e.text),1)):h("",!0),(o(!0),u(S,null,A(e.items,a=>(o(),g(Re,{key:a.text,item:a},null,8,["item"]))),128))]))}}),go=_(ko,[["__scopeId","data-v-4b7a798b"]]),_o=["aria-controls","aria-expanded"],bo=["innerHTML"],$o=["id"],yo={key:0,class:"item"},Po={key:1,class:"item"},Lo={key:2,class:"group"},Vo=p({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const t=e,n=P(!1),a=k(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function s(){n.value=!n.value}return(r,d)=>(o(),u("div",{class:L(["VPNavScreenMenuGroup",{open:n.value}])},[v("button",{class:"button","aria-controls":a.value,"aria-expanded":n.value,onClick:s},[v("span",{class:"button-text",innerHTML:e.text},null,8,bo),d[0]||(d[0]=v("span",{class:"vpi-plus button-icon"},null,-1))],8,_o),v("div",{id:a.value,class:"items"},[(o(!0),u(S,null,A(e.items,l=>(o(),u(S,{key:JSON.stringify(l)},["link"in l?(o(),u("div",yo,[b(Re,{item:l},null,8,["item"])])):"component"in l?(o(),u("div",Po,[(o(),g(B(l.component),O({ref_for:!0},l.props,{"screen-menu":""}),null,16))])):(o(),u("div",Lo,[b(go,{text:l.text,items:l.items},null,8,["text","items"])]))],64))),128))],8,$o)],2))}}),So=_(Vo,[["__scopeId","data-v-956364f9"]]),No={key:0,class:"VPNavScreenMenu"},To=p({__name:"VPNavScreenMenu",setup(e){const{theme:t}=y();return(n,a)=>i(t).nav?(o(),u("nav",No,[(o(!0),u(S,null,A(i(t).nav,s=>(o(),u(S,{key:JSON.stringify(s)},["link"in s?(o(),g(vo,{key:0,item:s},null,8,["item"])):"component"in s?(o(),g(B(s.component),O({key:1,ref_for:!0},s.props,{"screen-menu":""}),null,16)):(o(),g(So,{key:2,text:s.text||"",items:s.items},null,8,["text","items"]))],64))),128))])):h("",!0)}}),wo=p({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=y();return(n,a)=>i(t).socialLinks?(o(),g($e,{key:0,class:"VPNavScreenSocialLinks",links:i(t).socialLinks},null,8,["links"])):h("",!0)}}),Ao={class:"list"},Mo=p({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:n}=X({correspondingLink:!0}),a=P(!1);function s(){a.value=!a.value}return(r,d)=>i(t).length&&i(n).label?(o(),u("div",{key:0,class:L(["VPNavScreenTranslations",{open:a.value}])},[v("button",{class:"title",onClick:s},[d[0]||(d[0]=v("span",{class:"vpi-languages icon lang"},null,-1)),K(" "+V(i(n).label)+" ",1),d[1]||(d[1]=v("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),v("ul",Ao,[(o(!0),u(S,null,A(i(t),l=>(o(),u("li",{key:l.link,class:"item"},[b(C,{class:"link",href:l.link,lang:l.lang,dir:l.dir},{default:f(()=>[K(V(l.text),1)]),_:2},1032,["href","lang","dir"])]))),128))])],2)):h("",!0)}}),xo=_(Mo,[["__scopeId","data-v-a4d9b172"]]),Io={key:0,class:"VPNavScreen",id:"VPNavScreen"},Ho={class:"container"},Bo=p({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=Ie(Y?document.body:null);return(n,a)=>(o(),g(he,{name:"fade",onEnter:a[0]||(a[0]=s=>t.value=!0),onAfterLeave:a[1]||(a[1]=s=>t.value=!1)},{default:f(()=>[e.open?(o(),u("div",Io,[v("div",Ho,[c(n.$slots,"nav-screen-content-before",{},void 0,!0),b(To,{class:"menu"}),b(xo,{class:"translations"}),b(lo,{class:"appearance"}),b(wo,{class:"social-links"}),c(n.$slots,"nav-screen-content-after",{},void 0,!0)])])):h("",!0)]),_:3}))}}),Co=_(Bo,[["__scopeId","data-v-05f3d7bc"]]),Eo={key:0,class:"VPNav"},Fo=p({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:n,toggleScreen:a}=La(),{frontmatter:s}=y(),r=k(()=>s.value.navbar!==!1);return He(ke,{closeScreen:n}),ae(()=>{Y&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(d,l)=>r.value?(o(),u("header",Eo,[b(so,{"is-screen-open":i(t),onToggleScreen:i(a)},{"nav-bar-title-before":f(()=>[c(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":f(()=>[c(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":f(()=>[c(d.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),b(Co,{open:i(t)},{"nav-screen-content-before":f(()=>[c(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":f(()=>[c(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):h("",!0)}}),Oo=_(Fo,[["__scopeId","data-v-9f75dce3"]]),Do=["role","tabindex"],zo={key:1,class:"items"},Go=p({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const t=e,{collapsed:n,collapsible:a,isLink:s,isActiveLink:r,hasActiveLink:d,hasChildren:l,toggle:m}=xt(k(()=>t.item)),$=k(()=>l.value?"section":"div"),N=k(()=>s.value?"a":"div"),w=k(()=>l.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),E=k(()=>s.value?void 0:"button"),x=k(()=>[[`level-${t.depth}`],{collapsible:a.value},{collapsed:n.value},{"is-link":s.value},{"is-active":r.value},{"has-active":d.value}]);function I(F){"key"in F&&F.key!=="Enter"||!t.item.link&&m()}function j(){t.item.link&&m()}return(F,W)=>{const T=U("VPSidebarItem",!0);return o(),g(B($.value),{class:L(["VPSidebarItem",x.value])},{default:f(()=>[e.item.text?(o(),u("div",O({key:0,class:"item",role:E.value},tt(e.item.items?{click:I,keydown:I}:{},!0),{tabindex:e.item.items&&0}),[W[1]||(W[1]=v("div",{class:"indicator"},null,-1)),e.item.link?(o(),g(C,{key:0,tag:N.value,class:"link",href:e.item.link,rel:e.item.rel,target:e.item.target},{default:f(()=>[(o(),g(B(w.value),{class:"text",innerHTML:e.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(o(),g(B(w.value),{key:1,class:"text",innerHTML:e.item.text},null,8,["innerHTML"])),e.item.collapsed!=null&&e.item.items&&e.item.items.length?(o(),u("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:j,onKeydown:nt(j,["enter"]),tabindex:"0"},[...W[0]||(W[0]=[v("span",{class:"vpi-chevron-right caret-icon"},null,-1)])],32)):h("",!0)],16,Do)):h("",!0),e.item.items&&e.item.items.length?(o(),u("div",zo,[e.depth<5?(o(!0),u(S,{key:0},A(e.item.items,M=>(o(),g(T,{key:M.text,item:M,depth:e.depth+1},null,8,["item","depth"]))),128)):h("",!0)])):h("",!0)]),_:1},8,["class"])}}}),Ro=_(Go,[["__scopeId","data-v-d81de50c"]]),Ko=p({__name:"VPSidebarGroup",props:{items:{}},setup(e){const t=P(!0);let n=null;return z(()=>{n=setTimeout(()=>{n=null,t.value=!1},300)}),at(()=>{n!=null&&(clearTimeout(n),n=null)}),(a,s)=>(o(!0),u(S,null,A(e.items,r=>(o(),u("div",{key:r.text,class:L(["group",{"no-transition":t.value}])},[b(Ro,{item:r,depth:0},null,8,["item"])],2))),128))}}),Uo=_(Ko,[["__scopeId","data-v-8d50c081"]]),jo={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Wo=p({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:t,hasSidebar:n}=G(),a=e,s=P(null),r=Ie(Y?document.body:null);H([a,s],()=>{a.open?(r.value=!0,s.value?.focus()):r.value=!1},{immediate:!0,flush:"post"});const d=P(0);return H(t,()=>{d.value+=1},{deep:!0}),(l,m)=>i(n)?(o(),u("aside",{key:0,class:L(["VPSidebar",{open:e.open}]),ref_key:"navEl",ref:s,onClick:m[0]||(m[0]=st(()=>{},["stop"]))},[m[2]||(m[2]=v("div",{class:"curtain"},null,-1)),v("nav",jo,[m[1]||(m[1]=v("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),c(l.$slots,"sidebar-nav-before",{},void 0,!0),(o(),g(Uo,{items:i(t),key:d.value},null,8,["items"])),c(l.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):h("",!0)}}),qo=_(Wo,[["__scopeId","data-v-af661f50"]]),Jo={href:"#VPContent",class:"VPSkipLink visually-hidden"},Yo=p({__name:"VPSkipLink",setup(e){const{theme:t}=y(),n=se(),a=P();return H(()=>n.path,()=>a.value.focus()),(s,r)=>(o(),u(S,null,[v("span",{ref_key:"backToTop",ref:a,tabindex:"-1"},null,512),v("a",Jo,V(i(t).skipToContentLabel||"Skip to content"),1)],64))}}),Xo=_(Yo,[["__scopeId","data-v-331ec75c"]]),Qo=p({__name:"Layout",setup(e){const{isOpen:t,open:n,close:a}=Mt();It({closeSidebar:a});const{frontmatter:s}=y(),r=ot(),d=k(()=>!!r["home-hero-image"]);return He(Ee,{heroImageSlotExists:d}),(l,m)=>{const $=U("Content");return i(s).layout!==!1?(o(),u("div",{key:0,class:L(["Layout",i(s).pageClass])},[c(l.$slots,"layout-top",{},void 0,!0),b(Xo),b(ct,{class:"backdrop",show:i(t),onClick:i(a)},null,8,["show","onClick"]),b(Oo,null,{"nav-bar-title-before":f(()=>[c(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":f(()=>[c(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":f(()=>[c(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":f(()=>[c(l.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":f(()=>[c(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":f(()=>[c(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),b(Pa,{open:i(t),onOpenMenu:i(n)},null,8,["open","onOpenMenu"]),b(qo,{open:i(t)},{"sidebar-nav-before":f(()=>[c(l.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":f(()=>[c(l.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),b(la,null,{"page-top":f(()=>[c(l.$slots,"page-top",{},void 0,!0)]),"page-bottom":f(()=>[c(l.$slots,"page-bottom",{},void 0,!0)]),"not-found":f(()=>[c(l.$slots,"not-found",{},void 0,!0)]),"home-hero-before":f(()=>[c(l.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":f(()=>[c(l.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":f(()=>[c(l.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":f(()=>[c(l.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":f(()=>[c(l.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-actions-before-actions":f(()=>[c(l.$slots,"home-hero-actions-before-actions",{},void 0,!0)]),"home-hero-image":f(()=>[c(l.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":f(()=>[c(l.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":f(()=>[c(l.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":f(()=>[c(l.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":f(()=>[c(l.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":f(()=>[c(l.$slots,"doc-before",{},void 0,!0)]),"doc-after":f(()=>[c(l.$slots,"doc-after",{},void 0,!0)]),"doc-top":f(()=>[c(l.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":f(()=>[c(l.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":f(()=>[c(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":f(()=>[c(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":f(()=>[c(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":f(()=>[c(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":f(()=>[c(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":f(()=>[c(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),b(fa),c(l.$slots,"layout-bottom",{},void 0,!0)],2)):(o(),g($,{key:1}))}}}),Zo=_(Qo,[["__scopeId","data-v-0cf61682"]]),Ne={Layout:Zo,enhanceApp:({app:e})=>{e.component("Badge",rt)}},er={class:"icon-inner"},tr={__name:"HeroAnim",setup(e){const t=P(null),n=P(0),a=P(0),s=d=>{if(!t.value)return;const l=t.value.getBoundingClientRect(),m=d.clientX-l.left-l.width/2,$=d.clientY-l.top-l.height/2;n.value=m*.1,a.value=$*.1};z(()=>{window.addEventListener("mousemove",s)}),ne(()=>{window.removeEventListener("mousemove",s)});const r=[{char:"💬",top:"10%",left:"20%",size:"3rem",delay:"0s",z:2},{char:"👍",top:"70%",left:"10%",size:"2.5rem",delay:"-2s",z:3},{char:"📰",top:"15%",left:"75%",size:"2.8rem",delay:"-1s",z:1},{char:"💡",top:"65%",left:"80%",size:"3.5rem",delay:"-3s",z:4},{char:"📝",top:"40%",left:"85%",size:"2.2rem",delay:"-1.5s",z:2},{char:"🧩",top:"80%",left:"50%",size:"2.6rem",delay:"-0.5s",z:1},{char:"💎",top:"30%",left:"10%",size:"2.4rem",delay:"-2.5s",z:3},{char:"🔥",top:"40%",left:"45%",size:"4.5rem",delay:"-0.8s",z:5}];return(d,l)=>(o(),u("div",{class:"hero-anim-wrapper",ref_key:"wrapper",ref:t,style:ee({transform:`translate(${n.value}px, ${a.value}px)`})},[l[0]||(l[0]=v("div",{class:"glow-bg"},null,-1)),(o(),u(S,null,A(r,(m,$)=>v("div",{key:$,class:"floating-icon",style:ee({top:m.top,left:m.left,fontSize:m.size,animationDelay:m.delay,zIndex:m.z})},[v("div",er,V(m.char),1)],4)),64))],4))}},nr=_(tr,[["__scopeId","data-v-de454f97"]]),sr={...Ne,Layout(){return Ve(Ne.Layout,null,{"home-hero-image":()=>Ve(nr)})}};export{sr as R,y as u}; diff --git a/public/assets/css/0.styles.1dd27c9c.css b/public/assets/css/0.styles.1dd27c9c.css deleted file mode 100644 index 6b816ed..0000000 --- a/public/assets/css/0.styles.1dd27c9c.css +++ /dev/null @@ -1 +0,0 @@ -.medium-zoom-overlay{z-index:100}.medium-zoom-overlay~img{z-index:101}#nprogress{pointer-events:none}#nprogress .bar{background:#424242;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #424242,0 0 5px #424242;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border-color:#424242 transparent transparent #424242;border-style:solid;border-width:2px;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.vuepress-flowchart{overflow:scroll;text-align:center;font-size:0;min-height:200px;display:flex;justify-content:center;align-items:center;transition:all 1s;padding:10px}.vuepress-flowchart>svg{max-width:100%;height:auto}.vuepress-flowchart.loading{background-color:#f3f6f8}.operation-element,.parallel-element{rx:5px;ry:5px}.vuepress-flowchart-loading-icon{width:40px;height:40px;fill:#3eaf7c}.icon.outbound{color:#aaa;display:inline-block;vertical-align:middle;position:relative;top:-1px}.badge[data-v-f57ddd40]{display:inline-block;font-size:14px;height:18px;line-height:18px;border-radius:3px;padding:0 6px;color:#fff}.badge.green[data-v-f57ddd40],.badge.tip[data-v-f57ddd40],.badge[data-v-f57ddd40]{background-color:#42b983}.badge.error[data-v-f57ddd40]{background-color:#da5961}.badge.warn[data-v-f57ddd40],.badge.warning[data-v-f57ddd40],.badge.yellow[data-v-f57ddd40]{background-color:#e7c000}.badge+.badge[data-v-f57ddd40]{margin-left:5px}.search-box{display:inline-block;position:relative;margin-right:1rem}.search-box input{cursor:text;width:10rem;height:2rem;color:#5c5c57;display:inline-block;border:1px solid #cfd4db;border-radius:2rem;font-size:.9rem;line-height:2rem;padding:0 .5rem 0 2rem;outline:none;transition:all .2s ease;background:#fff url(/assets/img/search.83621669.svg) .6rem .5rem no-repeat;background-size:1rem}.search-box input:focus{cursor:auto;border-color:#424242}.search-box .suggestions{background:#fff;width:20rem;position:absolute;top:1.5rem;border:1px solid #cfd4db;border-radius:6px;padding:.4rem;list-style-type:none}.search-box .suggestions.align-right{right:0}.search-box .suggestion{line-height:1.4;padding:.4rem .6rem;border-radius:4px;cursor:pointer}.search-box .suggestion a{white-space:normal;color:#73736c}.search-box .suggestion a .page-title{font-weight:600}.search-box .suggestion a .header{font-size:.9em;margin-left:.25em}.search-box .suggestion.focused{background-color:#f3f4f5}.search-box .suggestion.focused a{color:#424242}@media (max-width:959px){.search-box input{cursor:pointer;width:0;border-color:transparent;position:relative}.search-box input:focus{cursor:text;left:0;width:10rem}}@media (-ms-high-contrast:none){.search-box input{height:2rem}}@media (max-width:959px) and (min-width:719px){.search-box .suggestions{left:0}}@media (max-width:719px){.search-box{margin-right:0}.search-box input{left:1rem}.search-box .suggestions{right:0}}@media (max-width:419px){.search-box .suggestions{width:calc(100vw - 4rem)}.search-box input:focus{width:8rem}}.sidebar-button{cursor:pointer;display:none;width:1.25rem;height:1.25rem;position:absolute;padding:.6rem;top:.6rem;left:1rem}.sidebar-button .icon{display:block;width:1.25rem;height:1.25rem}@media (max-width:719px){.sidebar-button{display:block}}.dropdown-enter,.dropdown-leave-to{height:0!important}.dropdown-wrapper{cursor:pointer}.dropdown-wrapper .dropdown-title{display:block}.dropdown-wrapper .dropdown-title:hover{border-color:transparent}.dropdown-wrapper .dropdown-title .arrow{vertical-align:middle;margin-top:-1px;margin-left:.4rem}.dropdown-wrapper .nav-dropdown .dropdown-item{color:inherit;line-height:1.7rem}.dropdown-wrapper .nav-dropdown .dropdown-item h4{margin:.45rem 0 0;border-top:1px solid #eee;padding:.45rem 1.5rem 0 1.25rem}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem-wrapper{padding:0;list-style:none}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem-wrapper .dropdown-subitem{font-size:.9em}.dropdown-wrapper .nav-dropdown .dropdown-item a{display:block;line-height:1.7rem;position:relative;border-bottom:none;font-weight:400;margin-bottom:0;padding:0 1.5rem 0 1.25rem}.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active,.dropdown-wrapper .nav-dropdown .dropdown-item a:hover{color:#424242}.dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{content:"";width:0;height:0;border-left:5px solid #424242;border-top:3px solid transparent;border-bottom:3px solid transparent;position:absolute;top:calc(50% - 2px);left:9px}.dropdown-wrapper .nav-dropdown .dropdown-item:first-child h4{margin-top:0;padding-top:0;border-top:0}@media (max-width:719px){.dropdown-wrapper.open .dropdown-title{margin-bottom:.5rem}.dropdown-wrapper .nav-dropdown{transition:height .1s ease-out;overflow:hidden}.dropdown-wrapper .nav-dropdown .dropdown-item h4{border-top:0;margin-top:0;padding-top:0}.dropdown-wrapper .nav-dropdown .dropdown-item>a,.dropdown-wrapper .nav-dropdown .dropdown-item h4{font-size:15px;line-height:2rem}.dropdown-wrapper .nav-dropdown .dropdown-item .dropdown-subitem{font-size:14px;padding-left:1rem}}@media (min-width:719px){.dropdown-wrapper{height:1.8rem}.dropdown-wrapper:hover .nav-dropdown{display:block!important}.dropdown-wrapper .dropdown-title .arrow{border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid #ccc;border-bottom:0}.dropdown-wrapper .nav-dropdown{display:none;height:auto!important;box-sizing:border-box;max-height:calc(100vh - 2.7rem);overflow-y:auto;position:absolute;top:100%;right:0;background-color:#fff;padding:.6rem 0;box-shadow:0 4px 20px 0 rgba(0,0,0,.2);text-align:left;border-radius:.25rem;white-space:nowrap;margin:0}}.nav-links{display:inline-block}.nav-links a{line-height:1.4rem;color:inherit}.nav-links a.router-link-active,.nav-links a.router-link-active .iconfont,.nav-links a:hover,.nav-links a:hover .iconfont{color:#424242}.nav-links .nav-item{position:relative;display:inline-block;margin-left:1.5rem;line-height:2rem}.nav-links .nav-item:first-child{margin-left:0}.nav-links .repo-link{margin-left:1.5rem}@media (max-width:719px){.nav-links .nav-item,.nav-links .repo-link{margin-left:0}}@media (min-width:719px){.nav-links a.router-link-active,.nav-links a:hover{color:#232321}.nav-item>a:not(.external).router-link-active,.nav-item>a:not(.external):hover{margin-bottom:-2px;border-bottom:2px solid #515151}}.color-theme-options{display:flex;flex-wrap:wrap}.color-theme-options li{width:20%;text-align:center}.color-theme-options li a{width:15px;height:15px;border-radius:2px}.color-theme-options li a.default-theme{background-color:#424242}.color-theme-options li a.$themePicker-theme{background-color:0}.color-picker{position:relative;margin-right:1em}.color-picker .color-button{align-items:center;height:100%}.color-picker .color-button .iconfont{font-size:1.4rem;color:#424242}.color-picker .color-picker-menu{background-color:#fff;position:absolute;top:40px;left:50%;min-width:100px;margin:0;padding:1em;border:1px solid #eaecef;border-radius:4px;transform:translateX(-50%);z-index:150}.color-picker .color-picker-menu:before{content:"";position:absolute;top:-7px;left:50%;border-color:transparent transparent #eaecef;border-style:solid;border-width:0 7px 7px;transform:translateX(-50%)}.color-picker .color-picker-menu.menu-transition-enter-active,.color-picker .color-picker-menu.menu-transition-leave-active{transition:all .25s ease-in-out}.color-picker .color-picker-menu.menu-transition-enter,.color-picker .color-picker-menu.menu-transition-leave-to{top:50px;opacity:0}.color-picker .color-picker-menu ul{list-style-type:none;margin:0;padding:0}.reco-theme-dark .color-picker-menu{background-color:$darkPrimaryBg;border-color:$darkBorderColor}.reco-theme-dark .color-picker-menu:before{border-bottom-color:$darkBorderColor}@media (max-width:719px){.color-picker{margin-right:1rem}.color-picker .color-picker-menu{left:calc(50% - 35px)}.color-picker .color-picker-menu:before{left:calc(50% + 35px)}}.fullscreen-wrapper[data-v-5b1b5d54]{margin-right:1em}.fullscreen-wrapper .iconfont[data-v-5b1b5d54]{font-size:1.4rem;color:#424242}.navbar{padding:.7rem 1.5rem;line-height:2.2rem;box-shadow:0 1px 6px 0 rgba(32,33,36,.28)}.navbar a,.navbar img,.navbar span{display:inline-block}.navbar .logo{height:2.2rem;min-width:2.2rem;margin-right:.8rem;vertical-align:top}.navbar .site-name{font-size:1.2rem;font-weight:600;color:#232321;position:relative}.navbar .links{padding-left:1.5rem;box-sizing:border-box;background-color:#fff;white-space:nowrap;font-size:.9rem;position:absolute;right:1.5rem;top:.7rem;display:flex}.navbar .links .search-box{flex:0 0 auto;vertical-align:top}@media (max-width:719px){.navbar{padding-left:4rem}.navbar .can-hide{display:none}.navbar .links{padding-left:1.5rem}}.sidebar-group .sidebar-group{padding-left:.5em}.sidebar-group:not(.collapsable) .sidebar-heading:not(.clickable){cursor:auto;color:inherit}.sidebar-group.is-sub-group{padding-left:0}.sidebar-group.is-sub-group>.sidebar-heading{font-size:.95em;line-height:1.4;font-weight:400;padding-left:2rem}.sidebar-group.is-sub-group>.sidebar-heading:not(.clickable){opacity:.5}.sidebar-group.is-sub-group>.sidebar-group-items{padding-left:1rem}.sidebar-group.is-sub-group>.sidebar-group-items>li>.sidebar-link{font-size:.95em;border-left:none}.sidebar-group.depth-2>.sidebar-heading{border-left:none}.sidebar-heading{color:#232321;transition:color .15s ease;cursor:pointer;font-size:1.1em;font-weight:700;padding:.35rem 1.5rem .35rem 1.25rem;width:100%;box-sizing:border-box;margin:0;border-left:.25rem solid transparent}.sidebar-heading.open,.sidebar-heading:hover{color:inherit}.sidebar-heading .arrow{position:relative;top:-.12em;left:.5em}.sidebar-heading.clickable.active{font-weight:600;color:#424242;border-left-color:#424242}.sidebar-heading.clickable:hover{color:#424242}.sidebar-group-items{transition:height .1s ease-out;font-size:.95em;overflow:hidden}.sidebar .sidebar-sub-headers{padding-left:1rem;font-size:.95em}a.sidebar-link{font-size:1em;font-weight:400;display:inline-block;color:#232321;border-left:.25rem solid transparent;padding:.35rem 1rem .35rem 1.25rem;line-height:1.4;width:100%;box-sizing:border-box}a.sidebar-link:hover{color:#424242}a.sidebar-link.active{font-weight:600;color:#424242!important;border-left-color:#424242}.sidebar-group a.sidebar-link{padding-left:2rem}.sidebar-sub-headers a.sidebar-link{padding-top:.25rem;padding-bottom:.25rem;border-left:none}.sidebar-sub-headers a.sidebar-link.active{font-weight:500}.sidebar ul{padding:0;margin:0;list-style-type:none}.sidebar a{display:inline-block}.sidebar .nav-links{display:none;border-bottom:1px solid #eaecef;padding:.5rem 0 .75rem}.sidebar .nav-links a{font-weight:600}.sidebar .nav-links .nav-item,.sidebar .nav-links .repo-link{display:block;line-height:1.25rem;font-size:1.1em;padding:.5rem 0 .5rem 1.5rem}.sidebar>.sidebar-links{padding:1.5rem 0}.sidebar>.sidebar-links>li>a.sidebar-link{font-size:1.1em;line-height:1.7;font-weight:700}.sidebar>.sidebar-links>li:not(:first-child){margin-top:.75rem}@media (max-width:719px){.sidebar .nav-links{display:block}.sidebar .nav-links .dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{top:calc(1rem - 2px)}.sidebar>.sidebar-links{padding:1rem 0}}.leancloud-visitors[data-v-2e99e05a]{margin-right:.5rem}.home{padding:3.6rem 2rem 0;max-width:960px;margin:0 auto}.home .hero{text-align:center}.home .hero img{background-color:#424242}.home .hero h1{font-size:2.5rem}.home .hero .action,.home .hero .description,.home .hero h1{margin:1.8rem auto}.home .hero .description{font-size:1.6rem;line-height:1.3;color:#50504c}.home .hero .action-button{display:inline-block;font-size:1.2rem;color:#fff;background-color:#424242;padding:.6rem 1.2rem;border-radius:4px;transition:background-color .1s ease;box-sizing:border-box;transform:translateY(-20px);opacity:0}.home .hero .action-button:hover{background-color:#555}.home .features{border-top:1px solid #eaecef;padding:1.2rem 0;margin-top:2.5rem;display:flex;flex-wrap:wrap;align-items:flex-start;align-content:stretch;justify-content:space-between}.home .feature{flex-grow:1;flex-basis:30%;max-width:30%;transition:all .5s}.home .feature h2{font-size:1.6rem;font-weight:500;border-bottom:none;padding-bottom:0;color:#3a3a36}.home .feature p{color:#50504c}.home .feature:hover{transform:scale(1.05)}.home .footer{padding:2.5rem;border-top:1px solid #eaecef;text-align:center;color:#5c5c57;transform:translateY(-20px);opacity:0}.home .footer>span{margin-left:1rem}.home .footer>span>i{margin-right:.5rem}.home.reco-hide .features,.home.reco-hide .hero .action-button,.home.reco-hide .hero .description,.home.reco-hide .hero .h1,.home.reco-hide .hero .huawei,.home.reco-hide .hero img,.home.reco-hide .home-center{transform:translateY(-20px);opacity:0}.home.reco-hide .home-center{padding:0}.home.reco-hide .footer{transform:translateY(-20px);opacity:0}.home.reco-show .hero img{transition:all .25s;transform:translateY(0);transition-delay:.08s;opacity:1}.home.reco-show .hero .h1{transition:all .25s;transform:translateY(0);transition-delay:.16s;opacity:1}.home.reco-show .hero .description{transition:all .25s;transform:translateY(0);transition-delay:.24s;opacity:1}.home.reco-show .hero .huawei{transition:all .25s;transform:translateY(0);transition-delay:.32s;opacity:1}.home.reco-show .features,.home.reco-show .hero .action-button{transition:all .25s;transform:translateY(0);transition-delay:.4s;opacity:1}.home.reco-show .home-center{transition:all .25s;transform:translateY(0);transition-delay:.48s;opacity:1}.home.reco-show .footer{transition:all .25s;transform:translateY(0);transition-delay:.56s;opacity:1}@media (max-width:719px){.home .features{flex-direction:column}.home .feature{max-width:100%;padding:0 2.5rem}.footer{text-align:left!important}.footer>span{display:block;margin-left:0;line-height:2rem}}@media (max-width:419px){.home{padding-left:1.5rem;padding-right:1.5rem}.home .hero img{max-height:210px;margin:2rem auto 1.2rem}.home .hero h1{font-size:2rem}.home .hero .action,.home .hero .description,.home .hero h1{margin:1.2rem auto}.home .hero .description{font-size:1.2rem}.home .hero .action-button{font-size:1rem;padding:.6rem 1.2rem}.home .feature h2{font-size:1.25rem}}#particles-oli-wrapper[data-v-debc554e]{position:absolute;z-index:-1;top:0;width:100%;height:99vh}.password-shadow.is-home[data-v-2e56649e],.theme-container.no-sidebar .password-shadow[data-v-2e56649e]{padding-left:0}.password-shadow[data-v-2e56649e]{width:100vw;height:100vh;background:#fff;position:relative;padding-left:20rem}.password-shadow .title[data-v-2e56649e]{top:12%;font-size:30px}.password-shadow .description[data-v-2e56649e],.password-shadow .title[data-v-2e56649e]{position:absolute;left:0;right:0;margin:auto;text-align:center;color:#232321;box-sizing:border-box;padding:0 10px;text-shadow:0 2px 10px rgba(0,0,0,.2)}.password-shadow .description[data-v-2e56649e]{top:20%;font-size:22px}.password-shadow .inputBox[data-v-2e56649e]{max-width:700px;height:100px;background:#424242;border-radius:2px;position:absolute;left:0;right:0;top:36%;margin:auto;padding-left:20px;box-sizing:border-box;opacity:.9}.password-shadow .inputBox input[data-v-2e56649e]{width:600px;height:100%;border:none;padding:0 0 0 5px;color:#fff;background:none;outline:none;position:absolute;bottom:0;opacity:0;font-size:50px}.password-shadow .inputBox input[data-v-2e56649e]:focus{opacity:1}.password-shadow .inputBox input:focus~span[data-v-2e56649e]{transform:translateY(-80px);color:#424242;font-size:30px;opacity:.8}.password-shadow .inputBox input:focus~button[data-v-2e56649e]{opacity:1;width:100px}.password-shadow .inputBox span[data-v-2e56649e]{width:200px;height:100%;display:block;position:absolute;line-height:100px;top:0;left:20px;color:#fff;cursor:text;transition:.5s;transform-origin:left top;font-size:30px}.password-shadow .inputBox button[data-v-2e56649e]{width:0;height:98px;border-radius:2px;position:absolute;right:1px;top:1px;border:0;padding:0;background:#fff;color:#424242;font-size:18px;outline:none;cursor:pointer;opacity:0;transition:.5s;z-index:1}.password-shadow .footer[data-v-2e56649e]{position:absolute;left:0;right:0;bottom:10%;margin:auto;padding:2.5rem;text-align:center;color:#5c5c57}.password-shadow .footer>span[data-v-2e56649e]{margin-left:1rem}.password-shadow .footer>span>i[data-v-2e56649e]{margin-right:.5rem}@media (max-width:719px){.password-shadow .inputBox[data-v-2e56649e]{max-width:700px;height:60px;background:#424242;border-radius:2px;position:absolute;left:0;right:0;top:43%;margin:auto;padding-left:20px;box-sizing:border-box;opacity:.9}.password-shadow .inputBox input[data-v-2e56649e]{width:600px;height:100%;border:none;padding:0 0 0 5px;color:#fff;background:none;outline:none;position:absolute;bottom:0;opacity:0;font-size:30px}.password-shadow .inputBox input[data-v-2e56649e]:focus{opacity:1}.password-shadow .inputBox input:focus~span[data-v-2e56649e]{transform:translateY(-60px);color:#424242;font-size:20px;opacity:.8}.password-shadow .inputBox input:focus~button[data-v-2e56649e]{opacity:1;width:60px}.password-shadow .inputBox span[data-v-2e56649e]{width:200px;height:100%;display:block;position:absolute;line-height:60px;top:0;left:20px;color:#fff;cursor:text;transition:.5s;transform-origin:left top;font-size:20px}.password-shadow .inputBox button[data-v-2e56649e]{width:0;height:58px;border-radius:2px;position:absolute;right:1px;top:1px;border:0;padding:0;background:#fff;color:#424242;font-size:18px;outline:none;cursor:pointer;opacity:0;transition:.5s;z-index:1}}@media (max-width:959px){.password-shadow[data-v-2e56649e]{padding-left:$mobileSidebarWidth}}@media (max-width:719px){.password-shadow[data-v-2e56649e]{padding-left:0}}.iconfont[data-v-3777cdf8]{display:inline-block;line-height:1.5rem}.iconfont[data-v-3777cdf8]:not(:last-child){margin-right:1rem}.iconfont span[data-v-3777cdf8]{margin-left:.5rem}.tags .tag-item[data-v-3777cdf8]{cursor:pointer;font-family:Ubuntu,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.tags .tag-item.active[data-v-3777cdf8],.tags .tag-item[data-v-3777cdf8]:hover{color:#424242}@media (max-width:719px){.tags[data-v-3777cdf8]{display:block;margin-left:0!important}}#loader-wrapper[data-v-1056bbb0]{height:100vh;width:100vw}#loader-wrapper .loader-main[data-v-1056bbb0]{position:fixed;width:120px;height:50px;top:45%;left:50%;z-index:555;transform:translate(-50%)}#loader-wrapper .loader-main div[data-v-1056bbb0]:nth-child(2){-webkit-animation:pacman-balls-data-v-1056bbb0 1s linear 0s infinite;animation:pacman-balls-data-v-1056bbb0 1s linear 0s infinite}#loader-wrapper .loader-main div[data-v-1056bbb0]:nth-child(3){-webkit-animation:pacman-balls-data-v-1056bbb0 1s linear .33s infinite;animation:pacman-balls-data-v-1056bbb0 1s linear .33s infinite}#loader-wrapper .loader-main div[data-v-1056bbb0]:nth-child(4){-webkit-animation:pacman-balls-data-v-1056bbb0 1s linear .66s infinite;animation:pacman-balls-data-v-1056bbb0 1s linear .66s infinite}#loader-wrapper .loader-main div[data-v-1056bbb0]:nth-child(5){-webkit-animation:pacman-balls-data-v-1056bbb0 1s linear .99s infinite;animation:pacman-balls-data-v-1056bbb0 1s linear .99s infinite}#loader-wrapper .loader-main div[data-v-1056bbb0]:first-of-type{width:0;height:0;border:25px solid #424242;border-right-color:transparent;border-radius:25px;-webkit-animation:rotate_pacman_half_up-data-v-1056bbb0 .5s 0s infinite;animation:rotate_pacman_half_up-data-v-1056bbb0 .5s 0s infinite}#loader-wrapper .loader-main div[data-v-1056bbb0]:nth-child(2){width:0;height:0;border:25px solid #424242;border-right-color:transparent;border-radius:25px;-webkit-animation:rotate_pacman_half_down-data-v-1056bbb0 .5s 0s infinite;animation:rotate_pacman_half_down-data-v-1056bbb0 .5s 0s infinite;margin-top:-50px}#loader-wrapper .loader-main div[data-v-1056bbb0]:nth-child(3),#loader-wrapper .loader-main div[data-v-1056bbb0]:nth-child(4),#loader-wrapper .loader-main div[data-v-1056bbb0]:nth-child(5),#loader-wrapper .loader-main div[data-v-1056bbb0]:nth-child(6){background-color:#424242;width:15px;height:15px;border-radius:100%;margin:2px;width:10px;height:10px;position:absolute;transform:translateY(-6.25px);top:25px;left:100px}#loader-wrapper .title[data-v-1056bbb0]{top:12%;font-size:30px}#loader-wrapper .description[data-v-1056bbb0],#loader-wrapper .title[data-v-1056bbb0]{position:absolute;left:0;right:0;margin:auto;text-align:center;color:#232321;box-sizing:border-box;padding:0 10px;text-shadow:0 2px 10px rgba(0,0,0,.2)}#loader-wrapper .description[data-v-1056bbb0]{top:20%;font-size:22px}@-webkit-keyframes pacman-balls-data-v-1056bbb0{75%{opacity:.7}to{transform:translate(-100px,-6.25px)}}@keyframes pacman-balls-data-v-1056bbb0{75%{opacity:.7}to{transform:translate(-100px,-6.25px)}}@-webkit-keyframes rotate_pacman_half_up-data-v-1056bbb0{0%{transform:rotate(270deg)}50%{transform:rotate(1turn)}to{transform:rotate(270deg)}}@keyframes rotate_pacman_half_up-data-v-1056bbb0{0%{transform:rotate(270deg)}50%{transform:rotate(1turn)}to{transform:rotate(270deg)}}@-webkit-keyframes rotate_pacman_half_down-data-v-1056bbb0{0%{transform:rotate(90deg)}50%{transform:rotate(0deg)}to{transform:rotate(90deg)}}@keyframes rotate_pacman_half_down-data-v-1056bbb0{0%{transform:rotate(90deg)}50%{transform:rotate(0deg)}to{transform:rotate(90deg)}}.abstract-wrapper[data-v-43bf992a]{width:100%}.abstract-wrapper .abstract-item[data-v-43bf992a]{margin:0 auto 20px;padding:16px 20px;width:100%;overflow:hidden;border-radius:2px;box-shadow:0 2px 10px rgba(0,0,0,.2);box-sizing:border-box;transition:all .3s;background-color:$bgColor}.abstract-wrapper .abstract-item[data-v-43bf992a]:hover{box-shadow:0 4px 20px 0 rgba(0,0,0,.2)}.abstract-wrapper .abstract-item .title[data-v-43bf992a]{position:relative;font-size:1.28rem;line-height:36px;display:inline-block}.abstract-wrapper .abstract-item .title[data-v-43bf992a] :after{content:"";position:absolute;width:100%;height:2px;bottom:0;left:0;background-color:#424242;visibility:hidden;transform:scaleX(0);transition:.3s ease-in-out}.abstract-wrapper .abstract-item .title[data-v-43bf992a] :hover:after{visibility:visible;transform:scaleX(1)}.abstract-wrapper .abstract-item .tags .tag-item[data-v-43bf992a]{cursor:pointer}.abstract-wrapper .abstract-item .tags .tag-item.active[data-v-43bf992a],.abstract-wrapper .abstract-item .tags .tag-item[data-v-43bf992a]:hover{color:#424242}@media (max-width:719px){.tags[data-v-43bf992a]{display:block;margin-top:1rem;margin-left:0!important}}.home-blog{padding:3.6rem 0 0;margin:0 auto}.home-blog .hero figure{position:absolute;background:#ff0}.home-blog .hero h1{margin:7rem auto 1.8rem;font-size:2.5rem;color:#fff}.home-blog .hero .action,.home-blog .hero .description,.home-blog .hero .huawei,.home-blog .hero h1{color:#fff!important}.home-blog .hero .description{margin:1.8rem auto;font-size:1.6rem;line-height:1.3;color:#50504c}.home-blog .home-blog-wrapper{display:flex;align-items:flex-start;margin:20px auto 0;max-width:1126px}.home-blog .home-blog-wrapper .info-wrapper{transition:all .3s;margin-left:15px;width:380px;height:auto;box-shadow:0 2px 10px rgba(0,0,0,.2);box-sizing:border-box;padding:0 15px}.home-blog .home-blog-wrapper .info-wrapper:hover{box-shadow:0 4px 20px 0 rgba(0,0,0,.2)}.home-blog .home-blog-wrapper .info-wrapper .personal-img{display:block;margin:2rem auto;width:8rem;height:8rem}.home-blog .home-blog-wrapper .info-wrapper .name{text-align:center}.home-blog .home-blog-wrapper .info-wrapper .num{display:flex;margin:0 auto 1rem;width:80%}.home-blog .home-blog-wrapper .info-wrapper .num>div{text-align:center;flex:auto}.home-blog .home-blog-wrapper .info-wrapper .num>div:first-child{border-right:1px solid #333}.home-blog .home-blog-wrapper .info-wrapper .num>div h3{line-height:auto;margin:0 0 .6rem;color:#232321}.home-blog .home-blog-wrapper .info-wrapper .num>div h6{line-height:auto;margin:0}.home-blog .home-blog-wrapper .info-wrapper .category-wrapper{list-style:none;padding-left:0}.home-blog .home-blog-wrapper .info-wrapper .category-wrapper .category-item{padding:.4rem .8rem;border:1px solid #999;transition:all .5s}.home-blog .home-blog-wrapper .info-wrapper .category-wrapper .category-item:first-child{border-top-right-radius:.25rem;border-top-left-radius:.25rem}.home-blog .home-blog-wrapper .info-wrapper .category-wrapper .category-item:not(:first-child){border-top:none}.home-blog .home-blog-wrapper .info-wrapper .category-wrapper .category-item:hover{background:#d3d3d3}.home-blog .home-blog-wrapper .info-wrapper .category-wrapper .category-item a{display:flex;justify-content:space-between}.home-blog .home-blog-wrapper .info-wrapper .category-wrapper .category-item a .post-num{width:1.6rem;height:1.6rem;text-align:center;line-height:1.6rem;border-radius:50%;background:#eee;font-size:.6rem;color:#232321}.home-blog .home-blog-wrapper .info-wrapper .tags{margin-bottom:30px}.home-blog .home-blog-wrapper .info-wrapper .tags span{vertical-align:middle;margin:4px 4px 10px;padding:4px 8px;display:inline-flex;cursor:pointer;border-radius:2px;background:#fff;color:#fff;font-size:13px;box-shadow:0 1px 4px 0 rgba(0,0,0,.2);transition:all .5s}.home-blog .home-blog-wrapper .info-wrapper .tags span:hover{transform:scale(1.04)}.home-blog .home-blog-wrapper .info-wrapper .tags span.active{transform:scale(1.2)}.home-blog .footer{padding:2.5rem;border-top:1px solid #eaecef;text-align:center;color:#5c5c57}.home-blog .footer>span{margin-left:1rem}.home-blog .footer>span>i{margin-right:.5rem}.reco-hide .hero h1,.reco-hide .hero img{transform:translateY(-20px);opacity:0}.reco-hide .hero h1{color:red}.reco-hide .hero .action-button,.reco-hide .hero .description,.reco-hide .hero .huawei,.reco-hide .home-blog-wrapper,.reco-hide .home-center{transform:translateY(-20px);opacity:0}.reco-hide .home-center{padding:0}.reco-hide .footer{transform:translateY(-20px);opacity:0}.reco-show .hero img{transition:all .25s;transform:translateY(0);transition-delay:.08s;opacity:1}.reco-show .hero h1{transition:all .25s;transform:translateY(0);transition-delay:.16s;opacity:1}.reco-show .hero .description{transition:all .25s;transform:translateY(0);transition-delay:.24s;opacity:1}.reco-show .hero .huawei{transition:all .25s;transform:translateY(0);transition-delay:.32s;opacity:1}.reco-show .hero .action-button{transition:all .25s;transform:translateY(0);transition-delay:.4s;opacity:1}.reco-show .home-blog-wrapper{transition:all .25s;transform:translateY(0);transition-delay:.48s;opacity:1}.reco-show .home-center{transition:all .25s;transform:translateY(0);transition-delay:.56s;opacity:1}.reco-show .footer{transition:all .25s;transform:translateY(0);transition-delay:.64s;opacity:1}@media (max-width:719px){.home-blog{padding-left:1.5rem;padding-right:1.5rem}.home-blog .hero{margin:0 -1.5rem;height:350px}.home-blog .hero img{max-height:210px;margin:2rem auto 1.2rem}.home-blog .hero h1{margin:6rem auto 1.8rem;font-size:2rem}.home-blog .hero .description{font-size:1.2rem}.home-blog .hero .action-button{font-size:1rem;padding:.6rem 1.2rem}.home-blog .home-blog-wrapper .info-wrapper{display:none!important}.footer{text-align:left!important}.footer>span{display:block;margin-left:0;line-height:2rem}}@media (max-width:419px){.home-blog{padding-left:1.5rem;padding-right:1.5rem}.home-blog .hero{margin:0 -1.5rem;height:350px}.home-blog .hero img{max-height:210px;margin:2rem auto 1.2rem}.home-blog .hero h1{margin:6rem auto 1.8rem;font-size:2rem}.home-blog .hero .description{font-size:1.2rem}.home-blog .hero .action-button{font-size:1rem;padding:.6rem 1.2rem}.home-blog .home-blog-wrapper .info-wrapper{display:none!important}}.timeline-wrapper[data-v-484ef69a]{box-sizing:border-box;max-width:740px;margin:0 auto;position:relative;list-style:none}.timeline-wrapper[data-v-484ef69a]:after{content:" ";position:absolute;top:14px;left:0;margin-left:-2px;width:4px;height:100%;background:#f5f5f5}.timeline-wrapper .desc[data-v-484ef69a],.timeline-wrapper .year[data-v-484ef69a]{position:relative;color:#666;font-size:16px}.timeline-wrapper .desc[data-v-484ef69a]:before,.timeline-wrapper .year[data-v-484ef69a]:before{content:" ";position:absolute;z-index:2;left:-19px;top:50%;margin-left:-4px;margin-top:-4px;width:8px;height:8px;background:#ddd;border-radius:50%}.timeline-wrapper .year[data-v-484ef69a]{margin:80px 0 0;color:#555;font-weight:700;font-size:26px}.timeline-wrapper .year-wrapper[data-v-484ef69a]{padding-left:0!important}.timeline-wrapper .year-wrapper li[data-v-484ef69a]{display:flex;padding:30px 0 10px;list-style:none;border-bottom:1px dashed #ccc;position:relative}.timeline-wrapper .year-wrapper li:hover .date[data-v-484ef69a]{color:#424242}.timeline-wrapper .year-wrapper li:hover .date[data-v-484ef69a]:before{background:#424242}.timeline-wrapper .year-wrapper li:hover .title[data-v-484ef69a]{color:#424242}.timeline-wrapper .year-wrapper li .date[data-v-484ef69a]{width:40px;line-height:30px;color:#555;font-size:12px}.timeline-wrapper .year-wrapper li .date[data-v-484ef69a]:before{content:" ";position:absolute;left:-19px;top:41px;width:6px;height:6px;margin-left:-4px;background:#ddd;border-radius:50%;border:1px solid #fff;z-index:2}.timeline-wrapper .year-wrapper li .title[data-v-484ef69a]{line-height:30px;color:#555;font-size:16px;cursor:pointer}@media (max-width:719px){.timeline-wrapper[data-v-484ef69a]{margin:0 1.2rem}}.page-nav,.page .page-edit{max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.page-nav,.page .page-edit{padding:2rem}}@media (max-width:419px){.page-nav,.page .page-edit{padding:1.5rem}}.page{padding-top:6rem;padding-bottom:2rem;display:block}.page #time-line{margin-top:0;padding-top:0}.page .page-title{max-width:740px;margin:0 auto;padding:0 2.5rem}.page .page-edit{padding-top:1rem;padding-bottom:1rem;overflow:auto}.page .page-edit .edit-link{display:inline-block}.page .page-edit .edit-link a{color:#5c5c57;margin-right:.25rem}.page .page-edit .last-updated{float:right;font-size:.9em}.page .page-edit .last-updated .prefix{font-weight:500;color:#5c5c57}.page .page-edit .last-updated .time{font-weight:400;color:#aaa}.page.reco-hide.page{transform:translateY(-20px);opacity:0}.page.reco-show.page{transition:all .25s;transform:translateY(0);transition-delay:.08s;opacity:1}.page-nav{padding-top:1rem;padding-bottom:0}.page-nav .inner{min-height:2rem;margin-top:0;border-top:1px solid #eaecef;padding-top:1rem;overflow:auto}.page-nav .next{float:right}@media (max-width:719px){.page-title{padding:0 1rem}.page-edit .edit-link{margin-bottom:.5rem}.page-edit .last-updated{font-size:.8em;float:none;text-align:left}}.theme-container.no-sidebar .valine-wrapper[data-v-5029e45b]{padding-left:0}.valine-wrapper[data-v-5029e45b]{background-color:$bgColor;padding-left:20rem}.valine-wrapper #valine[data-v-5029e45b]{padding:2rem;max-width:740px;margin:0 auto}@media (max-width:959px){.theme-container.no-sidebar .valine-wrapper[data-v-5029e45b]{padding-left:0}.valine-wrapper[data-v-5029e45b]{padding-left:16.4rem}}@media (max-width:719px){.valine-wrapper[data-v-5029e45b]{padding-left:0}}.back-to-ceiling[data-v-cd623d78]{position:fixed;display:inline-block;text-align:center;cursor:pointer}.back-to-ceiling i[data-v-cd623d78]{font-size:1.6rem;color:#424242}.back-to-ceiling[data-v-cd623d78]:hover{background:#d5dbe7}.fade-enter-active[data-v-cd623d78],.fade-leave-active[data-v-cd623d78]{transition:all .5s}.fade-enter[data-v-cd623d78],.fade-leave-to[data-v-cd623d78]{opacity:0;transform:translateY(120px)}.back-to-ceiling .Icon[data-v-cd623d78]{fill:#9aaabf;background:none}.fade-enter-active[data-v-b3ac1610],.fade-leave-active[data-v-b3ac1610]{transition:opacity .5s}.fade-enter[data-v-b3ac1610],.fade-leave-to[data-v-b3ac1610]{opacity:0}.pagation[data-v-0b6d2241]{font-weight:700;text-align:center;color:#888;margin:20px auto 0;background:#f2f2f2}.pagation .pagation-list[data-v-0b6d2241]{font-size:0;background:#fff;line-height:50px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pagation .pagation-list span[data-v-0b6d2241]{font-size:14px}.pagation .pagation-list span.jump[data-v-0b6d2241]{border:1px solid #ccc;padding:5px 8px;border-radius:4px;cursor:pointer;margin-left:5px}.pagation .pagation-list span.jumpinp input[data-v-0b6d2241]{width:55px;height:26px;font-size:13px;border:1px solid #ccc;border-radius:4px;text-align:center;outline:none}.pagation .pagation-list span.bgprimary[data-v-0b6d2241]{cursor:default;color:#fff;background:#424242;border-color:#424242}.pagation .pagation-list span.ellipsis[data-v-0b6d2241]{padding:0 8px}.pagation .pagation-list span.jumppoint[data-v-0b6d2241]{margin-left:30px}code[class*=language-],pre[class*=language-]{color:#ccc;background:none;font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto}:not(pre)>code[class*=language-],pre[class*=language-]{background:#2d2d2d}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.block-comment,.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#999}.token.punctuation{color:#ccc}.token.attr-name,.token.deleted,.token.namespace,.token.tag{color:#e2777a}.token.function-name{color:#6196cc}.token.boolean,.token.function,.token.number{color:#f08d49}.token.class-name,.token.constant,.token.property,.token.symbol{color:#f8c555}.token.atrule,.token.builtin,.token.important,.token.keyword,.token.selector{color:#cc99cd}.token.attr-value,.token.char,.token.regex,.token.string,.token.variable{color:#7ec699}.token.entity,.token.operator,.token.url{color:#67cdcc}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}.token.inserted{color:green}@font-face{font-family:iconfont;src:url(//at.alicdn.com/t/font_1030519_r8dx79ig3q.eot?t=1567267716889);src:url(//at.alicdn.com/t/font_1030519_r8dx79ig3q.eot?t=1567267716889#iefix) format("embedded-opentype"),url("data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAB6YAAsAAAAANXwAAB5JAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCJTgrTFMAgATYCJAOBPAtgAAQgBYRtB4M2G94qRQdy2DgYwCLvGdn/hwROZEhxBjp/gSImg4qdV2Rn1TK+KOuS8RmKcLEfB6L4WF6+d+RM9xQ8LrbC/W7VZbTrehXzV2PCa4ZS8vCx9r+zu+99M2kkUU0MicTQTZJoFW0ksVCZ7gkuYpW2R2ttZvds9+ZE38wSUIJpKLQEKVIKrTM8P7fer0WxACaD4dhoFcZGlLAGJkiN6m0w9KScYs8kDcCYyQAj7+YVFVZhRF5YDfO+00oaOJDaQ9uqk8LMnBMP4QKhZXe2C8T5sd/92b+SFWiTAduhtkuBAQLDwde9QxW2Qo6SEr00fzj34c81xAkUrw3yynbf7cVlLFOtNJf3+sPCMKWNt37b6y6wADkg+UCkFUDAz8+l9jLCArpRhm8sTFG4OfF/SvmXK0GKMM44NwCQYwsA+cNkmIz41gGzQjVNLISrsH526paUpPgctLG6ORgc9//YqvlTibWMDwsLG6zavNs6CVAhb0qyXBWrAWUUaHUJkBwxFBeAMlMkxcM+YYRolPUWmp51YYz04nsWAJfwo09+AVFCACk1g/RsPqzUgsUB/avJTDOVnZ0A5R+fiOP6QAZMoQDSm1ScjoDoZAoLknYhoskhwEJ9CvKBBDEoQQsWZ+48eRPyF05BI0shgzkWaohd0RndMfqct/YXL1b/fPm6Jh8HAgosyKwe6a5iYUyxD+f3LSRP7C211nrJ41bX7XYye70/+A/wqBJJVA3rVqlnSpsaCl1oRpmUai1dWhQl9OszplZZh0klPHV6VAiMmNBgUKqhVzkuQ1IC2q4CpAt2TWcISAGqQMBAM4EACQgMGCJwwDCBB7oJAlAJgghME2RgiqAAbQTNDFvoABRAMMzitTABaCJYfvm1OINZehZ3ANoJT6AahDcwTgiBLkIMtBD+QBFEGNBKhAP9hALoIzRmaViyAKgFUQgMEMVAB1ECTBIGoATEHDM+LfMBqCMWAD3EQqACRAPQSOwCRohOM7B0A9BAjAKDfOMBKfimBUb59gLo5ftqoBz8fAlk4F9NRzrBrLaOg3gFVH0FoO4bQFFJG05TpO8SGC4Jip6g0MZawoBw7K8QJgkqdU9EITALCNyDU4JVXRAMvMawZWR5IIUwKA4Eqj5qlgIiyz1w0A1XDKIekWV7Xl1kxRXWiVBUas11SXzSB9W3DcdzpN0Spp0Pc1Zgu+1WHAry6ZJs2VIlEfiORXVNI4ynN4WLbeESUm/fy7qeG9CQVrpOIZn+NT4mknSmjt045FaNNRVJTZGC1CTHbQdFZgPaqwU08xcbSUKzzErT18031htA8NlG83uxfdNP8c9vmSvzfNb8REh+ILUO68067f+21nelYI5G+9TKMC+qtNzWRa0TvBp/jORLs7+V/t53B8WiMVUTSnq2MlIZxaDqG4ypKmeRcocWy0xNXU3JO+occQ/Zh813MVTMUH3P+x+wY4TcQ8A+DOxD2PX0n5nVTnZ4F6fq6RMXZGamXnI7MDrpLe6+sUryeHHWGsN003vgJ441sx1ZeIcPVF8gMKJiND9OvVuxgdxiEtHSn3rXxpfNXd6BqYWHV6eW129Mj7gdp4tHvbbdsshzluKHkb7M7G0lT/pmqQ1ngpv8B8O8BCP9mWLAwpggxn30Ry8e5ssrVY8UR4JDY0sqhwujzaP5N81elahePdJ1IxBfUpUKqc5t1go5kydt09ftgKfsu062zvpTL+ZTfn3Hn4c3p5Ybreqme9xm0ojvO+ITmwXBbxxcP3/Nj6TXWVnmIXlL1N5zoM09AR3HM+m7zIafWchbZY6LJbmgVbvixwpKqR5AvdhOdjR1MWFhaYaFYeak37Mg6tSa/coXFxnM137LH82sWjt/D2Y44d2VX1RZjfEei6q1YVhpLbX/TblHiCAQ9s4c6CiT/oGIXGyOd411qaDzYto1k7Z8dnlYdLNCEl+P7Ng4DIAt25zj7AydNEu4sdsPP3qJIQD+ZXdyd9qegnZGxV68vnMlg+JtWZePMCfTsfgg4aMHs62L6SO95PtTeORAuu2n7NF+PIPmrns3nRvutTd0Wsl80x+4Pent1mz5SDDmHCwpqs4/DzO4VAiCvSYR9bfLLQ1FHci2ujoO22ozCxB9Rv3Gx3hfCAnvlL+A6yLFHHHJrpZQdCQHU5kohrEkIR3NbMHqkU9xeNg+pHmkO0ffGdEi9FHbTn7kx3cd44ZfEpkLWPuvuSd9ncUrZpOnExI/TUOv9LN1z75uH7cOpAqLtywkhX7mmPbekVQKIo2PKici41n9HRbfdg4ST25tZpt+S98OH6uDJ+Gb3uH39oRCKZd5Zl11yZfy1LI9waX5GGxqpZ//7V45WSxyeMvA0HIDOulGn5Caanr2mnvDueldnxZR2jCbqnbr0Df6B7Ejs3qVBVO1evFM07FVTJrYOikzquVri0VXOdNFGqsUeFiRyiERsHHiFh/RajIQnRpjFRmHunf+8C/ALpcrhbYmjXTj27FW7RletFbujg3TjVdUFtp9XWCxK1UXOwONMl+BIrW5bAPGDNZRfFjrYtE2p5Vbr2GKMdIscKUKfSFTzkl3nVBulMp9p7FX8GAVCuSavvwBxtRTzFoONqAvPeLKwMdp96XWaiZfL7jMFOQyAGzcf9XDww2VsWVzq4Pin3obq/nl9XXNQun1YN/qt1v2mnfa3rr3uj/lZxo3pltiGtYuDRlpLzPNjZTkMjg9rw0A5RXRndD48y7QRZN4e02IQ1FdzOWQ6xNB1gkhFyj2BCGTfhN7zXweEeFrLpNmj2kSKHPdU8YT2UYPvcOPu9AUJD8zopb7Fl4isQAhtfKSzUnz4tEiR06obbppVck5OJ6IyD+pIal8TGNsGljekIiuGzcgHKGMUojHGLMA1iyleyPe0CRY2fZzt1MvQCtzLcvtKO0abbHaJRAJmNVvX7hmzST2lRn1ZtVR4FVatfpA+/T/4Y2kjh8PnXmZaT/fpL3CYoMpnzJbCWXOJYMFip8+EgPYCT1rIkKZcnumoj7rH3hL6262MjKNBQBF05NXaqskLq0E0qqExZYWSIfQRS7MTZrV3Kr6pEOauuDABhWVAn14e1jgNG113QMqfdTPNk3XBaC0osq2FR2OAldZ5wJjDmSw8q0UCgPfADfJXml7kBuBeDKjFYfiV4fiaW9lMQyQXLJgqpE5x78h9UBcRjprZ9eHbbkcP+SeKQan0BnlBipKZ7LcUvxsU40wERjCRlxdSEoONKsHiogFkgSZVD6kuQdyOeAoSrXoukiCaPxXMJgtUx6SJbjrkUdFk+ClXGoJp7S4OMkon2mcSC+NT79U7/rHEOw06xfinyd29i6NGeXdasI16qggViMtvf2uXyUzgghP5vLOUT2P8nLpTzyQZQfy53xRl6d6n9vS9ltM30lBGrYrkvHWdO6UUVTPzzjdZtguU+Mft5eafqfRHbaz1t8c/9T3R4dHIXR8hFwf+w25ZnkuzxtxfWXpKXyUmx+QMWmkd2h8ic173F8CV6sKsrBTV5CT5f1zm39ev541m0enMN09htgswOV4bDZ+jnF9eHHTb9uoaEyaqxtTM0vwFgsvnUbGVrQUZ+V1TqMlaCmCGKa2MEBuWQVe5PU5JJy1Oois2t1ZnjdMUUO70FHMB/e314S73oilwNszKzCTgVlLYzYDBZf/8jdi+tjGcmymIrg8YYUTmMSp2ih+y7eUckvyDyhHM0JZWcso8eRN1GohDD95Ew2O5JbXjmL8VnO4fwH8zm7tG7yGFxQm9NqcrmWJfrssGcGgru+k4WyvaEaNYW5ttdNN77CpLe1aP39b69yp4uAO5cDG6p783m0/3dnNdgAbgEgLVrem1717DS+EZw/+BGewLcOKunA7l8NCyLv6232Vz0qstVqS8ApERM2Uo+u6XcX3kcvQLkvsjOLXSO1W0X+dq7SCLWwg08GPfgIQoBOG8l5YwlFMgu/nkGzDHBqUuwg94LvSfSMwHRXB16xBmrZ2rRhS9NC+sR71uLyG3sek7T0JTVpkkyAPPYQmsdXEzqR5K6ZY1wkwJEa3ayZ+FFOLCKE3yS21fFjYcWdXKBAZ2wOJlaWoSBxiOQIXuCx0C680GKB4YrsZIYlpT22n5WLYTNIs0tQx1ZCJ2PaHpEkLQ6ITDGxOLIHxhGQ4FXXC8rVAE98qZK6u6dq7gKCzWAxaEpMBgnsm8QTuXsReQt9t1p1Mc6OqU2vStjbcRzN1pR3DOKU7+tmdgyuToT64saobax1INx0nTf18c6iX5zW1v0OdQPbS6Xx4NVvrL6xt4GouoLX8lCMXPDncvZoFiJk+OpMEq4O5/YUdnPOkEaDBLePy6bypNxvFSBJ9X8y0BsPCWwa2HNz02mPGGN77j6yNTn3sl+oWo5zfIN1kx1S0OnjwYH6svHAee7d6gtR6xs5ZVDZMg1pezLj8wgx9vK44TvvJ0ei4ubcP+f4Nab5vYMhFvn1D+wrpvPt7+5spb0aUV/ZfudZC8Ono6CJU2jhEG97vGTzZtXHEBNRKcOJTA3XffQq+Idirq3M2uyUnonGNmjhnaUWlp0aHrTxTcmKy7s/L8E2Ux0NvEhGrQeRCk29i7PI3ZgqP7XCuWlYQzzjoWc7oLuLmRNgtQJq22Okka5N3Ueo0EyD1c7ltJefvUoIWUuvKUuh/MjZ9A8I2k/Neyd6wLklX1RD3QNj+XdKBK85vbMWOJMxVt8eff4LHbdo1jToNr4HrEOfIq+X9PTY209czmL/glNqtnEtmMFXOLGNsNFBAGQuSs4GokF1M882plNpJXNSEiRIuXc5WxwAllL0otQhM1bs8pqmSOMAC4Ua5oJprhUohrTZlOpACBYfJz7s/ahqhQelciS+o9nUbhbTtoAcEIuwBiQtKsI1IuD3PUOt6mTAdJaCMGwMBNIgD0bSEsPYnBn1PqAwOA0ggE6Kxv/GEdJ/IuY6mCgkdlWdE2+tI6vhYgBrWQjOFlFIMlRC1EihbBqVlQkpIkZYlA0LaGUgBKdMyZRCQANesrNOnt9T6xoFhFEDoMMMBUO1QCKiBWN+6vafPCJa71MGdnTD4emHgCCJfR0QC0KrWEI8ktgCLmATwiAbHLYM15MqNZh0AIRITGALdgQkYkm3ENs+m4KwN2jGDjUBFcCki3du399BohMTmC+X1aP/QOOXLaNcKGXY+Povy/4T/rVlWkNS9p4xRCl/kNezdeBDqD5uZb7rIdVntW5iv/54GGr0BMAdYA2SA02xRDNUTzjPP2/AWUTX+oGP/zcmFv7VWub+cnp6WNvmXB306nFx4s99xXbBM7w6bTLGEdve+21ChhU5Lsaa2IJk+Dk4Ub1u4+QfRYCZ/Jc61Qi/XoEYSM4h0hVYaJAPiNBcqNd1FRPS5vmhXSEEEBDG+WlOX9tFc+pVsNhBB1e4Bwib/BAJDREcwrdwMN4Q9XRPsrHeIyGJqbM13qmzLluakldlJHKOGozgje9aubT35Xmp/mKOKXJKWU7GskrV/6lIIwmFGglk8QtpTktBfW9ufMCq00XshA1m5iaMFyRsjZhsjNiaz6WKJvWsRp1Ay2+5YZvy6AZUcaZb5uEW+cTscz6OGriVsBpVOZZPTZa0LFrbKnhySAtEsUZFN3aMLmeFz06CjogTKA7+ZUAut9rFNvbgaPXovX0+qS6tLrU2r3efNkptTT2GqGYQnnigtshu7k+eVd2duYbqfa7CvXaClj+jrJZIOw8N+Uq8pxDOmINtIbw2IKcGdze/KP2/3g42VUSASC+LzBdgBHD8fWnzcAUwgvv0vudeu1/KvRYs/v+7oIYJ81BqPWM9AHPk8ibpvg7BHINSi8QJwQ4+1Ed7biPR2I42lRpI0IvrVSI9pRa8osZtNQxZxoNiiJWwZM139oKAHf73zS2W0ih2WZLZXHz8oTkRZBEe8st7V4Gxqi5heFeGjXiX37S0eISVtKtqaPc9Gc0HnkzgeKZB+v39ezJM2JaMZbWeTBe1VJ6Eju/Zo7/buSGX6Rbsa6nFReCcWbsWv84+bMh2WwNTmeZIXIbuLaltOQcvaNa5nl2FZmd7xep9zHYNIJB62eGyoiIjv6MisLtiu2UC09OnkPsYpMYD33vj8eWGE8SxYJJA5pM/l5Ab4HCoUNZn/S1eijd7y9P/MTaLCQz4BnNy50USZACwynmU54hUJUsu/Dnr4dHp7z0XAUZ6pnoHx40P0LVgc293U1B2rTu94ekn+F7mucJp31SLBdIcZOxblUrOoV/0io65jlQnsVZuWB+9diQolBnnVxKhAzZuTX3yd1964zUzZmpaP3wVmxAewZFUlDm3NCGBwFbXJXJKbx+H2ps9BnbhEu6aRHOJK6ba48oJsin4wcioKcigTn/jJwnmo7atfJELs8VgkAt+MFZLzEjZiMK52aJ2fEITVKiIeVjoDmK5lPMr3gWCgA/cDID8h2TpktZKoXKQQnjlTXKBwFW0yKzR8COWh3CESiTqRQCosABbSYbEdVA4IeKDC7JiQCy7/zWUzVaGrwVBd4i+fM0ehkLklSkIRKSbF48GsI/sPmEyfOHuJX8qse9dtTfv0zbIC0WOMQG76wM/Kqo6strWdK6kBlR9PouAxuiXrdtw+SXFzHOAhkn70xw+0HyhQuw+g37+/9f3ff5C05+i0vVsW34a7QQo/hbGnsfK0T0VwpEB+vqj392FXF9QXGK0Tyz/D6iNWF3ZFkaiG9//xdYAhmUB7JF71mgGx+d4Yf9f0sptDdsNIe82ar47s9vPLr4IaXgwXIlnqf9F6OMhn3DG0QcubXb3NS6AdcqOMzxK4u9VetPVIxGiy56O2GzM5ZKawCF+WD1GcBUQMWV8OZy1+OSpwitq8eHZohWO9DlJVzb4OzQyapDQQe6/4NwlCIlaxabG4ZY4rg1aCwPZX2zeYbbdhuzlQb7m5mXUXf95rnl93TzjSGDQUjs7PVwEbPlX0QAvV1EBalCrvsqfxafD6E8daEJqYzL94GPnnH+QwdfNCQE7SaGwO9D4oL+9x6dm370HPAZrnPXbrBOnHtfq8Fv5lc6293fbapL88XgMeUn4JZbPR5i8NDEHkvLO3ssviStCl8LY2aBG0sHXHQliLFkvtU2xUkxQGWQ0s9ypUQHEaaYQ6NxruUPnB1QkGoUxFB6OTI+MDRZea4MhIlWykOuUGxuOhN0qBx7uB3cQm8rAbQHH3fvqbIcQCJVWRCKKUGCp4sAR9tNfmz/DOFbdUhUcu4XAIQhKRiyYEVfuZYHD6jJSOE/uTHDApnHDRksp9yZDQ1LRplRCGBlEXkB68wZS0eooSEpbjSc24BCaTiLAv8dCAtzG2j2GIskGCm8hDadFOyx8nWQJNsVvKQ+zemWmmPQqpSZdHcHgY4fBRydNzrrS8Bj8eJkYcGchdxf1KN1Hd32KIh+PoGxzDsCM24wvBJqEdFMKqEaZuSMA5C/VRwKVlVSUe1QavFXmcGRuBXimqPm5FJSjSbfCaAa+tg4oDhTgDLiX2cDEsK4UBDzHdRMuKvxmIXOMOJAc3cov5Ie5qQvFeqkOMi8kl25sz06Vc7UKk7S2Of/bpofkeQR3WsgNdXLdHDwOjXdBgi3csDyOowVSRC4AunPtz07qwUV9HAMHMeZYhB8OGZTicres6IYLBdMh3gnbo2tUt3C0bN5grdmfBIU6WW1ZKCJK5oaB244YtXBDwkGyn/rCBw4pwT3STUZMqQuiwlHlHcU4A+0q/rCuT0r+UaySvYZ3bjOSthc6aqeXZ1quuaO74l04Fwgs4x2JqWzbqQrc+ZPHlNLkYKY7MLJYgop1qgCVsBRA+Njnp4ZoaWO8UKIbTw6adfjWjn9/PnVJX1y/or1t3ZZc4K1Y/K3/hLMes3FEa+13ho8kI/nyGEvHhQH0dd8oh/qFZSNdHsp+eZc2rr/s3GLiLT3zGRUXhmv88MAQRmvkHSTjmSqOMjxxVGBVVTh7HbVBCqSEB2nF9x9XCGUZjBlxnfU1WkcestcL/ERJlfBC6HKOvriXeAguxPXORactGERvZCf5xb6qt2k6KWfZJoEwCsuLObnhTJF351wOf6Pd0/FtGf8Z69oK19B352cXPzwcddHrrn5URVvk2oDcsRghYK/Y1iJ4mtNnxnzMkKyXyWXIZkEvVcSCjLMD5KRqoDcx1P67LcdANOf4H7+ePkaiffb9QKD/D4z1wgtzckKTMbO9XYyDWLXP+11KfkB6t02wrHOGuleKZyqX/41S/0A1+7kEYfsgjLzRvXifxFaFb7EPcimbbX9O4RoMYjGDMiWO4qLKL12nzvJh2/dfv6h6sm7Yo6bVgk095Sqxt0RPK44Cy4hf+tObgKKb6fzQuFMya7bb1o/AZhUF55vrRxTrpkrWcVc0qWzr8SvCNWcmtYi5dVdxKVs/g8huwzvvU4LJJfUZKwMo71WnlobAfVhRjH+AhZReHLdT8RWIIIpdKxsHJSZzgWeAXGi3g1+qsipbhq3s9GZlzX36nOYwePP0+xkbjxGSE6Y1/JZ5ecqvU7RxxprS3wQHcmGPjA9J3C+zo0NpjCFPkQWMYYswNdHe++FRN6C4T7DBszN89VgD3oVhScBl0tYOjdj9JwDpSc3BAqBFC4uD7cx6amEy2jpsjgYTbopMfxGruA/IDPtvByJ8BqP4w9J4D8KHprXBraIZVRkgHGZ+lFiCfoa6AGGzPUAOUocY/7K167Yur6Z1wD/mjcf983ovYRaTSb0P/54Srqg8ElHira18Uv8UpJeQ12tJpXi8xBcXE/guaVErUuE+w3YetuNLsqWNVG+rDsJZgDcYmBSejf4yYnucS7mQkW11sPXtHbjEwWhz9hoDeeKChZRWCuHokIf6Q/upF4XIzh9A6TXQCUtOdVBvz7RDo64upvFVp8TVlvMsPWybIpqXlU9Uhx6gkDcESOK9dNcsWz3wsu0Qk4mFhGv0RhleOlLIgxD5jqf3lB0V+EtxzOu+edW0hj5v90SLrRK0FdOSFUTqLbpA4qeEwwdtZFCEDSjNJ8q93r4m28Lrj8wUR9VOLpgKX4LuBV1FHR7T5qwNDEPkR82pC2ruObyU8zOeVfirikq4s/LNjw7YY2z9r3yCO2oUj86IyMGpRh/qnNtdB1+aoObeM3sv/GzxpDhTwzVTVlN9eC9YHNBEIggYf73h8Qj6lreuSff8rhlWzhgfX17xfZsOYk7q/maLTJCAMsb+8Y1Lgo9bcqf+n6VloIeeWqclSUIUJGIcDqTVEIhAUTCBEc4OS/TGlkvj4KGgctvi5uymXx7fdtEggflRS4hVD6YOo7ANdE91kiAyiX9S8nybKpocbU1WpCmPuWUspzofOwmfH7y0kLzC6Qb4A5A6Oj29Pjhvas/yYNyKTn/FUQPIL3iLzyT/b769wegF7GcgfuI0X5EN2660GcpNnyMlAvu6LQsqBvPGg7Nj415nuP1rFXveQ1TUOO44INhqUndhYCmn6f6O0iZPFQL7kAOoL5Dc85lnxqrNweYOGkSUszBIursatBhWkVdqbYNO24m82SSSPQOjJkzCT1uSCd8hcmv5BmoTcfifSGlWLZXE0W+qLL/6zamVwP07dyiv8N/A/YGW/W/dmhzF/JITfhBMA/CcAhxIT8F9T4cUkD9O3oEfgjsw+hxgluriVpHwb/0qbnUk+FPyPsXBevRUv9vbqP0WvDkK68+Ok8qwvgJWXAhXSMOA/rFIafOY3uDkwpxHD5H9kU7ocmzFUmULRLltkmrIlDAe2QseqDVcKHJXBQjkw4eyGRa4nLGP7ZTnXW0Yp+olVxf6wGjdBWOnOmL/qxKD4ffpWEBRnY1+GnLB3jE7vdn9jaAmKMRBX+I+lUra5+AitzX8hY4lDo97DVdUbXySbn5ttw5TErEUWdHqMquvHyVdPy6ejk7yZwIMKBBSaGdaLQRzBvDZyNdke/m8oaBJQPHp4b/g/VFQ088bF0TkA80vgQD3Mi7y6C650K3pG6bwQmfFzK6IkNRHGSl/RAjnqKDLkrT6ctgPyQYVj+sG5uwkaX0/R2mcz5KigihrqaKD41eJGRUILbXTQ7fUHw9F4YnJqemZ2bn5hcWl5ZXVtfWNza3tnd2//4FCvlWaB+we6CNo5SVJ21Q8Za4WAe3xhXxGKi6Or64MWpLz2vOZDRm5TbSFgVRLunczEoQ+ksdlOFhXLIUrGcRbXfGrrwSYJfWzwQNq1tfswYmXyLaXqCiLvFcJhjt7QsBBwjW20csNXA+4s2tb2xcn6KhSijpYSKdQBnJPGuvv87BILz6jhaLgMaCewe1ipy/Bq3L0jxaXswaEVufUKYp03qHCgctzLXsSH+xWfdlpTAhkT8Q25sRv0QZSP5bs6c780XIg3GwA=") format("woff2"),url(//at.alicdn.com/t/font_1030519_r8dx79ig3q.woff?t=1567267716889) format("woff"),url(//at.alicdn.com/t/font_1030519_r8dx79ig3q.ttf?t=1567267716889) format("truetype"),url(//at.alicdn.com/t/font_1030519_r8dx79ig3q.svg?t=1567267716889#iconfont) format("svg")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.reco-douban:before{content:"\e603"}.reco-wechat:before{content:"\e720"}.reco-color:before{content:"\eae9"}.reco-sf:before{content:"\e610"}.reco-message:before{content:"\e634"}.reco-eye:before{content:"\e669"}.reco-search:before{content:"\e611"}.reco-category:before{content:"\e61e"}.reco-npm:before{content:"\e88d"}.reco-menu:before{content:"\e67c"}.reco-suggestion:before{content:"\e608"}.reco-coding:before{content:"\e601"}.reco-github:before{content:"\e628"}.reco-other:before{content:"\e60e"}.reco-home:before{content:"\e65b"}.reco-document:before{content:"\e67a"}.reco-blog:before{content:"\e676"}.reco-huawei:before{content:"\e6b9"}.reco-up:before{content:"\e68b"}.reco-weibo:before{content:"\e612"}.reco-fullscreen:before{content:"\e602"}.reco-tag:before{content:"\e633"}.reco-date:before{content:"\e63b"}.reco-jianshu:before{content:"\e60c"}.reco-bokeyuan:before{content:"\e626"}.reco-beian:before{content:"\e667"}.reco-copyright:before{content:"\ef87"}.reco-bilibili:before{content:"\e630"}.reco-account:before{content:"\e607"}.reco-qq:before{content:"\e67b"}.reco-theme:before{content:"\e7e8"}.reco-three:before{content:"\e644"}.reco-gitlab:before{content:"\e63c"}.reco-api:before{content:"\e662"}.reco-mayun:before{content:"\e6d0"}.reco-zhihu:before{content:"\e605"}.reco-facebook:before{content:"\e606"}.reco-taobao:before{content:"\e6a5"}.reco-tongzhi:before{content:"\e764"}.reco-douyin:before{content:"\e654"}.reco-v2ex:before{content:"\e62a"}.reco-toutiao:before{content:"\e6b7"}.reco-linkedin:before{content:"\e668"}.reco-twitter:before{content:"\e60b"}.reco-csdn:before{content:"\e609"}.reco-juejin:before{content:"\e613"}.content[data-v-1e56f250]{margin:4rem auto 0;max-width:800px;padding:0 2rem}.categories-wrapper[data-v-7257fd03]{max-width:740px;margin:0 auto;padding:4.6rem 2.5rem 0}.categories-wrapper .category-wrapper[data-v-7257fd03]{list-style:none;padding-left:0}.categories-wrapper .category-wrapper .category-item[data-v-7257fd03]{vertical-align:middle;margin:4px 8px 10px;display:inline-block;cursor:pointer;border-radius:2px;font-size:13px;box-shadow:0 1px 4px 0 rgba(0,0,0,.2);transition:all .5s}.categories-wrapper .category-wrapper .category-item.active[data-v-7257fd03],.categories-wrapper .category-wrapper .category-item[data-v-7257fd03]:hover{background:#424242}.categories-wrapper .category-wrapper .category-item.active a span.category-name[data-v-7257fd03],.categories-wrapper .category-wrapper .category-item:hover a span.category-name[data-v-7257fd03]{color:#fff}.categories-wrapper .category-wrapper .category-item.active a span.category-name .post-num[data-v-7257fd03],.categories-wrapper .category-wrapper .category-item:hover a span.category-name .post-num[data-v-7257fd03]{color:#424242}.categories-wrapper .category-wrapper .category-item a[data-v-7257fd03]{display:flex;box-sizing:border-box;width:100%;height:100%;padding:8px 14px;justify-content:space-between;align-items:center;color:#666}.categories-wrapper .category-wrapper .category-item a .post-num[data-v-7257fd03]{margin-left:4px;width:1.2rem;height:1.2rem;text-align:center;line-height:1.2rem;border-radius:50%;background:#eee;font-size:.4rem}.categories-wrapper.reco-hide .category-wrapper[data-v-7257fd03],.categories-wrapper.reco-hide .list[data-v-7257fd03],.categories-wrapper.reco-hide .pagation[data-v-7257fd03]{transform:translateY(-20px);opacity:0}.categories-wrapper.reco-show .category-wrapper[data-v-7257fd03]{transition:all .25s;transform:translateY(0);transition-delay:.08s;opacity:1}.categories-wrapper.reco-show .list[data-v-7257fd03]{transition:all .25s;transform:translateY(0);transition-delay:.16s;opacity:1}.categories-wrapper.reco-show .pagation[data-v-7257fd03]{transition:all .25s;transform:translateY(0);transition-delay:.24s;opacity:1}@media (max-width:719px){.categories-wrapper[data-v-7257fd03]{padding:4.6rem 1rem 0}.page-edit .edit-link[data-v-7257fd03]{margin-bottom:.5rem}.page-edit .last-updated[data-v-7257fd03]{font-size:.8em;float:none;text-align:left}}.content__default code{color:#50504c;padding:.25rem .5rem;margin:0;font-size:.85em;background-color:rgba(27,31,35,.05);border-radius:3px}.content__default code .token.deleted{color:#ec5975}.content__default code .token.inserted{color:#424242}.content__default pre,.content__default pre[class*=language-]{line-height:1.4;padding:1.25rem 1.5rem;margin:.85rem 0;background-color:#282c34;border-radius:6px;overflow:auto}.content__default pre[class*=language-] code,.content__default pre code{color:#fff;padding:0;background-color:transparent;border-radius:0}div[class*=language-]{position:relative;background-color:#282c34;border-radius:6px}div[class*=language-] .highlight-lines{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;padding-top:1.3rem;position:absolute;top:0;left:0;width:100%;line-height:1.4}div[class*=language-] .highlight-lines .highlighted{background-color:rgba(0,0,0,.66)}div[class*=language-] pre,div[class*=language-] pre[class*=language-]{background:transparent;position:relative;z-index:1}div[class*=language-]:before{position:absolute;z-index:3;top:.8em;right:1em;font-size:.75rem;color:hsla(0,0%,100%,.4)}div[class*=language-]:not(.line-numbers-mode) .line-numbers-wrapper{display:none}div[class*=language-].line-numbers-mode .highlight-lines .highlighted{position:relative}div[class*=language-].line-numbers-mode .highlight-lines .highlighted:before{content:" ";position:absolute;z-index:3;left:0;top:0;display:block;width:3.5rem;height:100%;background-color:rgba(0,0,0,.66)}div[class*=language-].line-numbers-mode pre{padding-left:4.5rem;vertical-align:middle}div[class*=language-].line-numbers-mode .line-numbers-wrapper{position:absolute;top:0;width:3.5rem;text-align:center;color:hsla(0,0%,100%,.3);padding:1.25rem 0;line-height:1.4}div[class*=language-].line-numbers-mode .line-numbers-wrapper .line-number,div[class*=language-].line-numbers-mode .line-numbers-wrapper br{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}div[class*=language-].line-numbers-mode .line-numbers-wrapper .line-number{position:relative;z-index:4;font-size:.85em}div[class*=language-].line-numbers-mode:after{content:"";position:absolute;z-index:2;top:0;left:0;width:3.5rem;height:100%;border-radius:6px 0 0 6px;border-right:1px solid rgba(0,0,0,.66);background-color:#282c34}div[class~=language-js]:before{content:"js"}div[class~=language-ts]:before{content:"ts"}div[class~=language-html]:before{content:"html"}div[class~=language-md]:before{content:"md"}div[class~=language-vue]:before{content:"vue"}div[class~=language-css]:before{content:"css"}div[class~=language-sass]:before{content:"sass"}div[class~=language-scss]:before{content:"scss"}div[class~=language-less]:before{content:"less"}div[class~=language-stylus]:before{content:"stylus"}div[class~=language-go]:before{content:"go"}div[class~=language-java]:before{content:"java"}div[class~=language-c]:before{content:"c"}div[class~=language-sh]:before{content:"sh"}div[class~=language-yaml]:before{content:"yaml"}div[class~=language-py]:before{content:"py"}div[class~=language-docker]:before{content:"docker"}div[class~=language-dockerfile]:before{content:"dockerfile"}div[class~=language-makefile]:before{content:"makefile"}div[class~=language-javascript]:before{content:"js"}div[class~=language-typescript]:before{content:"ts"}div[class~=language-markup]:before{content:"html"}div[class~=language-markdown]:before{content:"md"}div[class~=language-json]:before{content:"json"}div[class~=language-ruby]:before{content:"rb"}div[class~=language-python]:before{content:"py"}div[class~=language-bash]:before{content:"sh"}div[class~=language-php]:before{content:"php"}.custom-block .custom-block-title{font-weight:600;margin-bottom:-.4rem}.custom-block.danger,.custom-block.tip,.custom-block.warning{padding:.1rem 1.5rem;border-left-width:.5rem;border-left-style:solid;margin:1rem 0}.custom-block.tip{background-color:#f3f5f7;border-color:#67cc86}.custom-block.warning{background-color:#fbf0ea;border-color:#fb9b5f}.custom-block.warning .custom-block-title{color:#b29400}.custom-block.warning a{color:#232321}.custom-block.danger{background-color:#fceaea;border-color:#f26d6d}.custom-block.danger .custom-block-title{color:#900}.custom-block.danger a{color:#232321}.arrow{display:inline-block;width:0;height:0}.arrow.up{border-bottom:6px solid #ccc}.arrow.down,.arrow.up{border-left:4px solid transparent;border-right:4px solid transparent}.arrow.down{border-top:6px solid #ccc}.arrow.right{border-left:6px solid #ccc}.arrow.left,.arrow.right{border-top:4px solid transparent;border-bottom:4px solid transparent}.arrow.left{border-right:6px solid #ccc}.content__default:not(.custom){max-width:740px;margin:0 auto;padding:2rem 2.5rem}@media (max-width:959px){.content__default:not(.custom){padding:2rem}}@media (max-width:419px){.content__default:not(.custom){padding:1.5rem}}.table-of-contents .badge{vertical-align:middle}.reco-theme-red input{color:#f26d6d!important}.reco-theme-red a.sidebar-link.active{border-color:#f26d6d;color:#f26d6d!important}.reco-theme-red blockquote{border-color:#f26d6d}.reco-theme-red .search-box input,.reco-theme-red .search-box input:focus{border-color:#f26d6d!important}.reco-theme-red .navbar{box-shadow:0 1px 6px 0 rgba(32,33,36,.28)}.reco-theme-red .navbar .nav-links a.router-link-active,.reco-theme-red .navbar .nav-links a.router-link-active .iconfont,.reco-theme-red .navbar .nav-links a:hover,.reco-theme-red .navbar .nav-links a:hover .iconfont{color:#f26d6d!important}.reco-theme-red .home .hero .action-button{background-color:#f26d6d!important;color:#fff!important}.reco-theme-red .abstract-wrapper .abstract-item .title a,.reco-theme-red .home .footer a,.reco-theme-red .home .home-blog .info-wrapper .num>div,.reco-theme-red .home .home-blog .info-wrapper .num>div i{color:#f26d6d!important}.reco-theme-red .abstract-wrapper .abstract-item .title a:after{background-color:#f26d6d!important}.reco-theme-red .back-to-ceiling i{color:#f26d6d!important}.reco-theme-red .dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{border-left:5px solid #f26d6d!important}.reco-theme-red .tags .tag-item.active,.reco-theme-red .tags .tag-item:hover,.reco-theme-red .timeline-wrapper .year-wrapper li:hover .title{color:#f26d6d!important}.reco-theme-red .timeline-wrapper .year-wrapper li:hover .date:before{background:#f26d6d!important}.reco-theme-red .timeline-wrapper .year-wrapper li:hover .date{color:#f26d6d!important}.reco-theme-red .categories-wrapper .category-wrapper .category-item.active,.reco-theme-red .categories-wrapper .category-wrapper .category-item:hover{background:#f26d6d!important}.reco-theme-red .categories-wrapper .category-wrapper .category-item.active a span.post-num,.reco-theme-red .categories-wrapper .category-wrapper .category-item:hover a span.post-num,.reco-theme-red .color-picker .color-button .iconfont,.reco-theme-red .fullscreen-wrapper .iconfont{color:#f26d6d!important}.reco-theme-red a{color:#f26d6d}.reco-theme-red a.dropdown-title,.reco-theme-red a.nav-link,.reco-theme-red a.sidebar-link{color:#232321}.reco-theme-red a.sidebar-link:hover{color:#f26d6d!important}.reco-theme-red .password-shadow .inputBox{background:#f26d6d!important}.reco-theme-red .password-shadow .inputBox input{color:#fff!important}.reco-theme-red .password-shadow .inputBox input:focus~span{color:#f26d6d!important}.reco-theme-red .password-shadow .inputBox button{border:1px solid #f26d6d!important;color:#f26d6d!important}@media (min-width:765px){.reco-theme-red .nav-item>a:not(.external).router-link-active,.reco-theme-red .nav-item>a:not(.external):hover{border-color:#f26d6d!important}}@media (max-width:959px){.reco-theme-red .search-box input{border-color:transparent!important}}.reco-theme-blue input{color:#2196f3!important}.reco-theme-blue a.sidebar-link.active{border-color:#2196f3;color:#2196f3!important}.reco-theme-blue blockquote{border-color:#2196f3}.reco-theme-blue .search-box input,.reco-theme-blue .search-box input:focus{border-color:#2196f3!important}.reco-theme-blue .navbar{box-shadow:0 1px 6px 0 rgba(32,33,36,.28)}.reco-theme-blue .navbar .nav-links a.router-link-active,.reco-theme-blue .navbar .nav-links a.router-link-active .iconfont,.reco-theme-blue .navbar .nav-links a:hover,.reco-theme-blue .navbar .nav-links a:hover .iconfont{color:#2196f3!important}.reco-theme-blue .home .hero .action-button{background-color:#2196f3!important;color:#fff!important}.reco-theme-blue .abstract-wrapper .abstract-item .title a,.reco-theme-blue .home .footer a,.reco-theme-blue .home .home-blog .info-wrapper .num>div,.reco-theme-blue .home .home-blog .info-wrapper .num>div i{color:#2196f3!important}.reco-theme-blue .abstract-wrapper .abstract-item .title a:after{background-color:#2196f3!important}.reco-theme-blue .back-to-ceiling i{color:#2196f3!important}.reco-theme-blue .dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{border-left:5px solid #2196f3!important}.reco-theme-blue .tags .tag-item.active,.reco-theme-blue .tags .tag-item:hover,.reco-theme-blue .timeline-wrapper .year-wrapper li:hover .title{color:#2196f3!important}.reco-theme-blue .timeline-wrapper .year-wrapper li:hover .date:before{background:#2196f3!important}.reco-theme-blue .timeline-wrapper .year-wrapper li:hover .date{color:#2196f3!important}.reco-theme-blue .categories-wrapper .category-wrapper .category-item.active,.reco-theme-blue .categories-wrapper .category-wrapper .category-item:hover{background:#2196f3!important}.reco-theme-blue .categories-wrapper .category-wrapper .category-item.active a span.post-num,.reco-theme-blue .categories-wrapper .category-wrapper .category-item:hover a span.post-num,.reco-theme-blue .color-picker .color-button .iconfont,.reco-theme-blue .fullscreen-wrapper .iconfont{color:#2196f3!important}.reco-theme-blue a{color:#2196f3}.reco-theme-blue a.dropdown-title,.reco-theme-blue a.nav-link,.reco-theme-blue a.sidebar-link{color:#232321}.reco-theme-blue a.sidebar-link:hover{color:#2196f3!important}.reco-theme-blue .password-shadow .inputBox{background:#2196f3!important}.reco-theme-blue .password-shadow .inputBox input{color:#fff!important}.reco-theme-blue .password-shadow .inputBox input:focus~span{color:#2196f3!important}.reco-theme-blue .password-shadow .inputBox button{border:1px solid #2196f3!important;color:#2196f3!important}@media (min-width:765px){.reco-theme-blue .nav-item>a:not(.external).router-link-active,.reco-theme-blue .nav-item>a:not(.external):hover{border-color:#2196f3!important}}@media (max-width:959px){.reco-theme-blue .search-box input{border-color:transparent!important}}.reco-theme-green input{color:#3eaf7c!important}.reco-theme-green a.sidebar-link.active{border-color:#3eaf7c;color:#3eaf7c!important}.reco-theme-green blockquote{border-color:#3eaf7c}.reco-theme-green .search-box input,.reco-theme-green .search-box input:focus{border-color:#3eaf7c!important}.reco-theme-green .navbar{box-shadow:0 1px 6px 0 rgba(32,33,36,.28)}.reco-theme-green .navbar .nav-links a.router-link-active,.reco-theme-green .navbar .nav-links a.router-link-active .iconfont,.reco-theme-green .navbar .nav-links a:hover,.reco-theme-green .navbar .nav-links a:hover .iconfont{color:#3eaf7c!important}.reco-theme-green .home .hero .action-button{background-color:#3eaf7c!important;color:#fff!important}.reco-theme-green .abstract-wrapper .abstract-item .title a,.reco-theme-green .home .footer a,.reco-theme-green .home .home-blog .info-wrapper .num>div,.reco-theme-green .home .home-blog .info-wrapper .num>div i{color:#3eaf7c!important}.reco-theme-green .abstract-wrapper .abstract-item .title a:after{background-color:#3eaf7c!important}.reco-theme-green .back-to-ceiling i{color:#3eaf7c!important}.reco-theme-green .dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{border-left:5px solid #3eaf7c!important}.reco-theme-green .tags .tag-item.active,.reco-theme-green .tags .tag-item:hover,.reco-theme-green .timeline-wrapper .year-wrapper li:hover .title{color:#3eaf7c!important}.reco-theme-green .timeline-wrapper .year-wrapper li:hover .date:before{background:#3eaf7c!important}.reco-theme-green .timeline-wrapper .year-wrapper li:hover .date{color:#3eaf7c!important}.reco-theme-green .categories-wrapper .category-wrapper .category-item.active,.reco-theme-green .categories-wrapper .category-wrapper .category-item:hover{background:#3eaf7c!important}.reco-theme-green .categories-wrapper .category-wrapper .category-item.active a span.post-num,.reco-theme-green .categories-wrapper .category-wrapper .category-item:hover a span.post-num,.reco-theme-green .color-picker .color-button .iconfont,.reco-theme-green .fullscreen-wrapper .iconfont{color:#3eaf7c!important}.reco-theme-green a{color:#3eaf7c}.reco-theme-green a.dropdown-title,.reco-theme-green a.nav-link,.reco-theme-green a.sidebar-link{color:#232321}.reco-theme-green a.sidebar-link:hover{color:#3eaf7c!important}.reco-theme-green .password-shadow .inputBox{background:#3eaf7c!important}.reco-theme-green .password-shadow .inputBox input{color:#fff!important}.reco-theme-green .password-shadow .inputBox input:focus~span{color:#3eaf7c!important}.reco-theme-green .password-shadow .inputBox button{border:1px solid #3eaf7c!important;color:#3eaf7c!important}@media (min-width:765px){.reco-theme-green .nav-item>a:not(.external).router-link-active,.reco-theme-green .nav-item>a:not(.external):hover{border-color:#3eaf7c!important}}@media (max-width:959px){.reco-theme-green .search-box input{border-color:transparent!important}}.reco-theme-orange input{color:#fb9b5f!important}.reco-theme-orange a.sidebar-link.active{border-color:#fb9b5f;color:#fb9b5f!important}.reco-theme-orange blockquote{border-color:#fb9b5f}.reco-theme-orange .search-box input,.reco-theme-orange .search-box input:focus{border-color:#fb9b5f!important}.reco-theme-orange .navbar{box-shadow:0 1px 6px 0 rgba(32,33,36,.28)}.reco-theme-orange .navbar .nav-links a.router-link-active,.reco-theme-orange .navbar .nav-links a.router-link-active .iconfont,.reco-theme-orange .navbar .nav-links a:hover,.reco-theme-orange .navbar .nav-links a:hover .iconfont{color:#fb9b5f!important}.reco-theme-orange .home .hero .action-button{background-color:#fb9b5f!important;color:#fff!important}.reco-theme-orange .abstract-wrapper .abstract-item .title a,.reco-theme-orange .home .footer a,.reco-theme-orange .home .home-blog .info-wrapper .num>div,.reco-theme-orange .home .home-blog .info-wrapper .num>div i{color:#fb9b5f!important}.reco-theme-orange .abstract-wrapper .abstract-item .title a:after{background-color:#fb9b5f!important}.reco-theme-orange .back-to-ceiling i{color:#fb9b5f!important}.reco-theme-orange .dropdown-wrapper .nav-dropdown .dropdown-item a.router-link-active:after{border-left:5px solid #fb9b5f!important}.reco-theme-orange .tags .tag-item.active,.reco-theme-orange .tags .tag-item:hover,.reco-theme-orange .timeline-wrapper .year-wrapper li:hover .title{color:#fb9b5f!important}.reco-theme-orange .timeline-wrapper .year-wrapper li:hover .date:before{background:#fb9b5f!important}.reco-theme-orange .timeline-wrapper .year-wrapper li:hover .date{color:#fb9b5f!important}.reco-theme-orange .categories-wrapper .category-wrapper .category-item.active,.reco-theme-orange .categories-wrapper .category-wrapper .category-item:hover{background:#fb9b5f!important}.reco-theme-orange .categories-wrapper .category-wrapper .category-item.active a span.post-num,.reco-theme-orange .categories-wrapper .category-wrapper .category-item:hover a span.post-num,.reco-theme-orange .color-picker .color-button .iconfont,.reco-theme-orange .fullscreen-wrapper .iconfont{color:#fb9b5f!important}.reco-theme-orange a{color:#fb9b5f}.reco-theme-orange a.dropdown-title,.reco-theme-orange a.nav-link,.reco-theme-orange a.sidebar-link{color:#232321}.reco-theme-orange a.sidebar-link:hover{color:#fb9b5f!important}.reco-theme-orange .password-shadow .inputBox{background:#fb9b5f!important}.reco-theme-orange .password-shadow .inputBox input{color:#fff!important}.reco-theme-orange .password-shadow .inputBox input:focus~span{color:#fb9b5f!important}.reco-theme-orange .password-shadow .inputBox button{border:1px solid #fb9b5f!important;color:#fb9b5f!important}@media (min-width:765px){.reco-theme-orange .nav-item>a:not(.external).router-link-active,.reco-theme-orange .nav-item>a:not(.external):hover{border-color:#fb9b5f!important}}@media (max-width:959px){.reco-theme-orange .search-box input{border-color:transparent!important}}body,html{padding:0;margin:0}body{font-family:Ubuntu,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:16px;color:#232321;background-color:#fff}.page{padding-left:20rem}.navbar{z-index:20;right:0;height:3.6rem;background-color:#fff;box-sizing:border-box}.navbar,.sidebar-mask{position:fixed;top:0;left:0}.sidebar-mask{z-index:9;width:100vw;height:100vh;display:none;background-color:rgba(0,0,0,.65)}.sidebar{font-size:16px;background-color:#fff;width:20rem;position:fixed;z-index:10;margin:0;top:3.6rem;left:0;bottom:0;box-sizing:border-box;border-right:1px solid #eaecef;overflow-y:auto}.content__default:not(.custom) a:hover{text-decoration:underline}.content__default:not(.custom) p.demo{padding:1rem 1.5rem;border:1px solid #ddd;border-radius:4px}.content__default:not(.custom) img{max-width:100%}.content__default.custom{padding:0;margin:0}.content__default.custom img{max-width:100%}a{font-weight:500;text-decoration:none}a,p a code{color:#424242}p a code{font-weight:400}kbd{background:#eee;border:.15rem solid #ddd;border-bottom:.25rem solid #ddd;border-radius:.15rem;padding:0 .15em}blockquote{font-size:.9rem;color:#999;border-left:.25rem solid #424242;margin:.5rem 0;padding:.25rem 0 .25rem 1rem}blockquote>p{margin:0}ol,ul{padding-left:1.2em}strong{font-weight:600}h1,h2,h3,h4,h5,h6{font-weight:500;line-height:1.25}.content__default:not(.custom)>h1,.content__default:not(.custom)>h2,.content__default:not(.custom)>h3,.content__default:not(.custom)>h4,.content__default:not(.custom)>h5,.content__default:not(.custom)>h6{margin-top:-3.1rem;padding-top:4.6rem;margin-bottom:0}.content__default:not(.custom)>h1:first-child,.content__default:not(.custom)>h2:first-child,.content__default:not(.custom)>h3:first-child,.content__default:not(.custom)>h4:first-child,.content__default:not(.custom)>h5:first-child,.content__default:not(.custom)>h6:first-child{margin-top:-1.5rem;margin-bottom:1rem}.content__default:not(.custom)>h1:first-child+.custom-block,.content__default:not(.custom)>h1:first-child+p,.content__default:not(.custom)>h1:first-child+pre,.content__default:not(.custom)>h2:first-child+.custom-block,.content__default:not(.custom)>h2:first-child+p,.content__default:not(.custom)>h2:first-child+pre,.content__default:not(.custom)>h3:first-child+.custom-block,.content__default:not(.custom)>h3:first-child+p,.content__default:not(.custom)>h3:first-child+pre,.content__default:not(.custom)>h4:first-child+.custom-block,.content__default:not(.custom)>h4:first-child+p,.content__default:not(.custom)>h4:first-child+pre,.content__default:not(.custom)>h5:first-child+.custom-block,.content__default:not(.custom)>h5:first-child+p,.content__default:not(.custom)>h5:first-child+pre,.content__default:not(.custom)>h6:first-child+.custom-block,.content__default:not(.custom)>h6:first-child+p,.content__default:not(.custom)>h6:first-child+pre{margin-top:2rem}h1:hover .header-anchor,h2:hover .header-anchor,h3:hover .header-anchor,h4:hover .header-anchor,h5:hover .header-anchor,h6:hover .header-anchor{opacity:1}h1{font-size:2.2rem}h2{font-size:1.65rem;padding-bottom:.3rem;border-bottom:1px solid #eaecef}h3{font-size:1.35rem}a.header-anchor{font-size:.85em;float:left;margin-left:-.87em;padding-right:.23em;margin-top:.125em;opacity:0}a.header-anchor:hover{text-decoration:none}.line-number,code,kbd{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}ol,p,ul{line-height:1.7}hr{border:0;border-top:1px solid #eaecef}table{border-collapse:collapse;margin:1rem 0;display:block;overflow-x:auto}tr{border-top:1px solid #dfe2e5}tr:nth-child(2n){background-color:#f6f8fa}td,th{border:1px solid #dfe2e5;padding:.6em 1em}.theme-container.sidebar-open .sidebar-mask{display:block}.theme-container.no-navbar .content__default:not(.custom)>h1,.theme-container.no-navbar h2,.theme-container.no-navbar h3,.theme-container.no-navbar h4,.theme-container.no-navbar h5,.theme-container.no-navbar h6{margin-top:1.5rem;padding-top:0}.theme-container.no-navbar .sidebar{top:0}@media (min-width:720px){.theme-container.no-sidebar .sidebar{display:none}.theme-container.no-sidebar .page{padding-left:0}}@media (max-width:959px){.sidebar{font-size:15px;width:16.4rem}.page,.password-shadow{padding-left:16.4rem}}@media (max-width:719px){.sidebar{top:0;padding-top:3.6rem;transform:translateX(-100%);transition:transform .2s ease}.page{padding-left:0}.theme-container.sidebar-open .sidebar{transform:translateX(0)}.theme-container.no-navbar .sidebar{padding-top:0}.password-shadow{padding-left:0}}@media (max-width:419px){h1{font-size:1.9rem}.content__default div[class*=language-]{margin:.85rem -1.5rem;border-radius:0}}.iconfont{font-size:.9rem;color:#888}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-track-piece{background-color:rgba(0,0,0,.2);-webkit-border-radius:6px}::-webkit-scrollbar-thumb:vertical{height:5px;background-color:hsla(0,0%,49%,.7);-webkit-border-radius:6px}::-webkit-scrollbar-thumb:horizontal{width:5px;background-color:hsla(0,0%,49%,.7);-webkit-border-radius:6px}.vuepress-flowchart{overflow:auto}.tags-wrapper[data-v-502f0885]{max-width:740px;margin:0 auto;padding:4.6rem 2.5rem 0}.tags-wrapper .tags[data-v-502f0885]{margin:30px 0}.tags-wrapper .tags span[data-v-502f0885]{vertical-align:middle;margin:4px 4px 10px;padding:4px 8px;display:inline-block;cursor:pointer;border-radius:2px;background:#fff;color:#fff;font-size:13px;box-shadow:0 1px 4px 0 rgba(0,0,0,.2);transition:all .5s}.tags-wrapper .tags span[data-v-502f0885]:hover{transform:scale(1.04)}.tags-wrapper .tags span.active[data-v-502f0885]{transform:scale(1.2)}.tags-wrapper.reco-hide .list[data-v-502f0885],.tags-wrapper.reco-hide .pagation[data-v-502f0885],.tags-wrapper.reco-hide .tags[data-v-502f0885]{transform:translateY(-20px);opacity:0}.tags-wrapper.reco-show .tags[data-v-502f0885]{transition:all .25s;transform:translateY(0);transition-delay:.08s;opacity:1}.tags-wrapper.reco-show .list[data-v-502f0885]{transition:all .25s;transform:translateY(0);transition-delay:.16s;opacity:1}.tags-wrapper.reco-show .pagation[data-v-502f0885]{transition:all .25s;transform:translateY(0);transition-delay:.24s;opacity:1}@media (max-width:719px){.tags-wrapper[data-v-502f0885]{padding:5rem .6rem 0}} \ No newline at end of file diff --git a/public/assets/img/home-bg.7b267d7c.jpg b/public/assets/img/home-bg.7b267d7c.jpg deleted file mode 100644 index 02d4a81..0000000 Binary files a/public/assets/img/home-bg.7b267d7c.jpg and /dev/null differ diff --git a/public/assets/img/search.83621669.svg b/public/assets/img/search.83621669.svg deleted file mode 100644 index 03d8391..0000000 --- a/public/assets/img/search.83621669.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/public/assets/index.md.JtVbmiDu.js b/public/assets/index.md.JtVbmiDu.js new file mode 100644 index 0000000..de965c4 --- /dev/null +++ b/public/assets/index.md.JtVbmiDu.js @@ -0,0 +1,6 @@ +import{_ as a,o as i,c as e,ak as n,al as t}from"./chunks/framework.CXEBwYRw.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"Jiscuss","text":"简洁 · 轻量 · 开源","tagline":"基于 Java 的开源论坛,提供发帖、回帖、用户管理与评论等核心能力。","actions":[{"theme":"brand","text":"快速上手","link":"/views/other/guide"},{"theme":"alt","text":"查看 Demo","link":"http://demo.jiscuss.com"}]},"features":[{"icon":"✨","title":"简洁至上","details":"开发一款看着开心、写着顺手、使用简单的开源论坛。"},{"icon":"☕","title":"Java 驱动","details":"基于 Java,使用 Spring Boot、Spring JPA、H2 Database 与 Semantic UI 构建。"},{"icon":"🔄","title":"持续完善","details":"目前功能仍在迭代中,后续会持续补充文档、完善功能与优化体验。"}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1778050284000}'),l={name:"index.md"};function r(p,s,h,c,d,o){return i(),e("div",null,[...s[0]||(s[0]=[n(`

Jiscuss 是一个开源 Java 论坛项目,追求极简体验,提供发帖、回帖、评论与用户管理等核心能力。欢迎访问 Jiscuss Demo 在线体验。

快速体验

bash
# 克隆项目
+git clone https://github.com/chuyaoyuan/jiscuss.git
+cd jiscuss
+
+# 启动(需要 JDK 8+)
+./mvnw spring-boot:run

预览

Jiscuss Demo 预览

',5)])])}const u=a(l,[["render",r]]);export{m as __pageData,u as default}; diff --git a/public/assets/index.md.JtVbmiDu.lean.js b/public/assets/index.md.JtVbmiDu.lean.js new file mode 100644 index 0000000..8b3f014 --- /dev/null +++ b/public/assets/index.md.JtVbmiDu.lean.js @@ -0,0 +1 @@ +import{_ as a,o as i,c as e,ak as n,al as t}from"./chunks/framework.CXEBwYRw.js";const m=JSON.parse('{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"Jiscuss","text":"简洁 · 轻量 · 开源","tagline":"基于 Java 的开源论坛,提供发帖、回帖、用户管理与评论等核心能力。","actions":[{"theme":"brand","text":"快速上手","link":"/views/other/guide"},{"theme":"alt","text":"查看 Demo","link":"http://demo.jiscuss.com"}]},"features":[{"icon":"✨","title":"简洁至上","details":"开发一款看着开心、写着顺手、使用简单的开源论坛。"},{"icon":"☕","title":"Java 驱动","details":"基于 Java,使用 Spring Boot、Spring JPA、H2 Database 与 Semantic UI 构建。"},{"icon":"🔄","title":"持续完善","details":"目前功能仍在迭代中,后续会持续补充文档、完善功能与优化体验。"}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1778050284000}'),l={name:"index.md"};function r(p,s,h,c,d,o){return i(),e("div",null,[...s[0]||(s[0]=[n("",5)])])}const u=a(l,[["render",r]]);export{m as __pageData,u as default}; diff --git a/public/assets/inter-italic-cyrillic-ext._dlW9xFb.woff2 b/public/assets/inter-italic-cyrillic-ext._dlW9xFb.woff2 new file mode 100644 index 0000000..27a82ed Binary files /dev/null and b/public/assets/inter-italic-cyrillic-ext._dlW9xFb.woff2 differ diff --git a/public/assets/inter-italic-cyrillic.D7dRslh9.woff2 b/public/assets/inter-italic-cyrillic.D7dRslh9.woff2 new file mode 100644 index 0000000..116e3ac Binary files /dev/null and b/public/assets/inter-italic-cyrillic.D7dRslh9.woff2 differ diff --git a/public/assets/inter-italic-greek-ext.Ct-Tf2bq.woff2 b/public/assets/inter-italic-greek-ext.Ct-Tf2bq.woff2 new file mode 100644 index 0000000..9117dab Binary files /dev/null and b/public/assets/inter-italic-greek-ext.Ct-Tf2bq.woff2 differ diff --git a/public/assets/inter-italic-greek.DNcpQ8QC.woff2 b/public/assets/inter-italic-greek.DNcpQ8QC.woff2 new file mode 100644 index 0000000..f098cf7 Binary files /dev/null and b/public/assets/inter-italic-greek.DNcpQ8QC.woff2 differ diff --git a/public/assets/inter-italic-latin-ext.DytegdRQ.woff2 b/public/assets/inter-italic-latin-ext.DytegdRQ.woff2 new file mode 100644 index 0000000..42f338f Binary files /dev/null and b/public/assets/inter-italic-latin-ext.DytegdRQ.woff2 differ diff --git a/public/assets/inter-italic-latin.COaG5lWR.woff2 b/public/assets/inter-italic-latin.COaG5lWR.woff2 new file mode 100644 index 0000000..fdc2aa2 Binary files /dev/null and b/public/assets/inter-italic-latin.COaG5lWR.woff2 differ diff --git a/public/assets/inter-italic-vietnamese.BI5UxJD-.woff2 b/public/assets/inter-italic-vietnamese.BI5UxJD-.woff2 new file mode 100644 index 0000000..cfe9183 Binary files /dev/null and b/public/assets/inter-italic-vietnamese.BI5UxJD-.woff2 differ diff --git a/public/assets/inter-roman-cyrillic-ext.BeNbU08G.woff2 b/public/assets/inter-roman-cyrillic-ext.BeNbU08G.woff2 new file mode 100644 index 0000000..465b222 Binary files /dev/null and b/public/assets/inter-roman-cyrillic-ext.BeNbU08G.woff2 differ diff --git a/public/assets/inter-roman-cyrillic.CD0kT8R4.woff2 b/public/assets/inter-roman-cyrillic.CD0kT8R4.woff2 new file mode 100644 index 0000000..6bbced8 Binary files /dev/null and b/public/assets/inter-roman-cyrillic.CD0kT8R4.woff2 differ diff --git a/public/assets/inter-roman-greek-ext.CFAEQ5Ow.woff2 b/public/assets/inter-roman-greek-ext.CFAEQ5Ow.woff2 new file mode 100644 index 0000000..7a4633f Binary files /dev/null and b/public/assets/inter-roman-greek-ext.CFAEQ5Ow.woff2 differ diff --git a/public/assets/inter-roman-greek.Dsf7YjP7.woff2 b/public/assets/inter-roman-greek.Dsf7YjP7.woff2 new file mode 100644 index 0000000..e30e308 Binary files /dev/null and b/public/assets/inter-roman-greek.Dsf7YjP7.woff2 differ diff --git a/public/assets/inter-roman-latin-ext.Dl_ayf4-.woff2 b/public/assets/inter-roman-latin-ext.Dl_ayf4-.woff2 new file mode 100644 index 0000000..6f19b69 Binary files /dev/null and b/public/assets/inter-roman-latin-ext.Dl_ayf4-.woff2 differ diff --git a/public/assets/inter-roman-latin.Cy4MYw_J.woff2 b/public/assets/inter-roman-latin.Cy4MYw_J.woff2 new file mode 100644 index 0000000..18a8987 Binary files /dev/null and b/public/assets/inter-roman-latin.Cy4MYw_J.woff2 differ diff --git a/public/assets/inter-roman-vietnamese.CpqCnS2H.woff2 b/public/assets/inter-roman-vietnamese.CpqCnS2H.woff2 new file mode 100644 index 0000000..2df3ede Binary files /dev/null and b/public/assets/inter-roman-vietnamese.CpqCnS2H.woff2 differ diff --git a/public/assets/js/1.b0dc6853.js b/public/assets/js/1.b0dc6853.js deleted file mode 100644 index 7f94e68..0000000 --- a/public/assets/js/1.b0dc6853.js +++ /dev/null @@ -1,41 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],Array(123).concat([function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"i",(function(){return s})),n.d(t,"f",(function(){return u})),n.d(t,"g",(function(){return c})),n.d(t,"h",(function(){return l})),n.d(t,"b",(function(){return h})),n.d(t,"e",(function(){return f})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return p})),n.d(t,"c",(function(){return v})),n.d(t,"j",(function(){return g}));const r=/#.*$/,i=/\.(md|html)$/,o=/\/$/,s=/^(https?:|mailto:|tel:)/;function a(e){return decodeURI(e).replace(r,"").replace(i,"")}function u(e){return s.test(e)}function c(e){return/^mailto:/.test(e)}function l(e){return/^tel:/.test(e)}function h(e){if(u(e))return e;const t=e.match(r),n=t?t[0]:"",i=a(e);return o.test(i)?e:i+".html"+n}function f(e,t){const n=e.hash,i=function(e){const t=e.match(r);if(t)return t[0]}(t);return(!i||n===i)&&a(e.path)===a(t)}function d(e,t,n){n&&(t=function(e,t,n){const r=e.charAt(0);if("/"===r)return e;if("?"===r||"#"===r)return t+e;const i=t.split("/");n&&i[i.length-1]||i.pop();const o=e.replace(/^\//,"").split("/");for(let e=0;e({type:"auto",title:t.title,basePath:e.path,path:e.path+"#"+t.slug,children:t.children||[]}))}]}(e);const a=s.sidebar||o.sidebar;if(a){const{base:e,config:n}=function(e,t){if(Array.isArray(t))return{base:"/",config:t};for(const r in t)if(0===(n=e,/(\.html|\/)$/.test(n)?n:n+"/").indexOf(encodeURI(r)))return{base:r,config:t[r]};var n;return{}}(t,a);return n?n.map(t=>(function e(t,n,r,i=1){if("string"==typeof t)return d(n,t,r);if(Array.isArray(t))return Object.assign(d(n,t[0],r),{title:t[1]});{i>3&&console.error("[vuepress] detected a too deep nested sidebar group.");const o=t.children||[];return 0===o.length&&t.path?Object.assign(d(n,t.path,r),{title:t.title}):{type:"group",path:t.path,title:t.title,sidebarDepth:t.sidebarDepth,children:o.map(t=>e(t,n,r,i+1)),collapsable:!1!==t.collapsable}}})(t,i,e)):[]}return[]}function v(e){let t;return(e=e.map(e=>Object.assign({},e))).forEach(e=>{2===e.level?t=e:t&&(t.children||(t.children=[])).push(e)}),e.filter(e=>2===e.level)}function g(e){return Object.assign(e,{type:e.items&&e.items.length?"links":"link"})}},,,,function(e,t,n){"use strict";var r=n(36);e.exports=function(e,t){return!!e&&r((function(){t?e.call(null,(function(){}),1):e.call(null)}))}},,function(e,t,n){"use strict";var r=n(61),i=n(133)(1);r(r.P+r.F*!n(127)([].map,!0),"Array",{map:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(61),i=n(68),o=n(63),s=n(36),a=[].sort,u=[1,2,3];r(r.P+r.F*(s((function(){u.sort(void 0)}))||!s((function(){u.sort(null)}))||!n(127)(a)),"Array",{sort:function(e){return void 0===e?a.call(o(this)):a.call(o(this),i(e))}})},function(e,t,n){"use strict";var r=n(61),i=n(69)(!1),o=[].indexOf,s=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(s||!n(127)(o)),"Array",{indexOf:function(e){return s?o.apply(this,arguments)||0:i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(61),i=n(133)(2);r(r.P+r.F*!n(127)([].filter,!0),"Array",{filter:function(e){return i(this,e,arguments[1])}})},function(e,t,n){var r=n(67),i=n(76),o=n(63),s=n(65),a=n(206);e.exports=function(e,t){var n=1==e,u=2==e,c=3==e,l=4==e,h=6==e,f=5==e||h,d=t||a;return function(t,a,p){for(var v,g,m=o(t),_=i(m),b=r(a,p,3),y=s(_.length),w=0,x=n?d(t,y):u?d(t,0):void 0;y>w;w++)if((f||w in _)&&(g=b(v=_[w],w,m),e))if(n)x[w]=g;else if(g)switch(e){case 3:return!0;case 5:return v;case 6:return w;case 2:x.push(v)}else if(l)return!1;return h?-1:c||l?l:x}}},function(e,t,n){"use strict";var r=n(61),i=n(133)(3);r(r.P+r.F*!n(127)([].some,!0),"Array",{some:function(e){return i(this,e,arguments[1])}})},function(e,t,n){var r=n(63),i=n(41);n(223)("keys",(function(){return function(e){return i(r(e))}}))},function(e,t,n){"use strict";n(62),n(135),n(134),n(224);var r=n(123),i={props:{item:{required:!0}},computed:{link:function(){return Object(r.b)(this.item.link)},exact:function(){var e=this;return this.$site.locales?Object.keys(this.$site.locales).some((function(t){return t===e.link})):"/"===this.link}},methods:{isExternal:r.f,isMailto:r.g,isTel:r.h}},o=n(0),s=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.isExternal(e.link)?n("a",{staticClass:"nav-link external",attrs:{href:e.link,target:e.isMailto(e.link)||e.isTel(e.link)?null:"_blank",rel:e.isMailto(e.link)||e.isTel(e.link)?null:"noopener noreferrer"}},[n("i",{class:"iconfont "+e.item.icon}),e._v("\n "+e._s(e.item.text)+"\n "),n("OutboundLink")],1):n("router-link",{staticClass:"nav-link",attrs:{to:e.link,exact:e.exact}},[n("i",{class:"iconfont "+e.item.icon}),e._v("\n "+e._s(e.item.text)+"\n")])}),[],!1,null,null,null);t.a=s.exports},,function(e,t,n){var r=n(19),i=n(64),o=n(6)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){"use strict";var r=n(80)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){"use strict";var r=n(200),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";var r,i,o=n(184),s=RegExp.prototype.exec,a=String.prototype.replace,u=s,c=(r=/a/,i=/b*/g,s.call(r,"a"),s.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(u=function(e){var t,n,r,i,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",o.call(u))),c&&(t=u.lastIndex),r=s.call(u,e),c&&r&&(u.lastIndex=u.global?r.index+r[0].length:t),l&&r&&r.length>1&&a.call(r[0],n,(function(){for(i=1;i")})),h=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var f=a(e),d=!o((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),p=d?!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[c]=function(){return n}),n[f](""),!t})):void 0;if(!d||!p||"replace"===e&&!l||"split"===e&&!h){var v=/./[f],g=n(s,f,""[e],(function(e,t,n,r,i){return t.exec===u?d&&!i?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),m=g[0],_=g[1];r(String.prototype,e,m),i(RegExp.prototype,f,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}}},function(e,t,n){},function(e,t,n){},function(e,t,n){var r=n(214),i=n(38),o=n(23),s=n(66),a=n(10),u=n(75),c=Object.getOwnPropertyDescriptor;t.f=n(9)?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(a(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(79),i=n(42).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){"use strict";var r=n(17),i=n(63),o=n(65),s=n(25),a=n(139),u=n(140),c=Math.max,l=Math.min,h=Math.floor,f=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g;n(142)("replace",2,(function(e,t,n,p){return[function(r,i){var o=e(this),s=null==r?void 0:r[t];return void 0!==s?s.call(r,o,i):n.call(String(o),r,i)},function(e,t){var i=p(n,e,this,t);if(i.done)return i.value;var h=r(e),f=String(this),d="function"==typeof t;d||(t=String(t));var g=h.global;if(g){var m=h.unicode;h.lastIndex=0}for(var _=[];;){var b=u(h,f);if(null===b)break;if(_.push(b),!g)break;""===String(b[0])&&(h.lastIndex=a(f,o(h.lastIndex),m))}for(var y,w="",x=0,O=0;O<_.length;O++){b=_[O];for(var k=String(b[0]),S=c(l(s(b.index),f.length),0),A=[],C=1;C=x&&(w+=f.slice(x,S)+j,x=S+k.length)}return w+f.slice(x)}];function v(e,t,r,o,s,a){var u=r+e.length,c=o.length,l=d;return void 0!==s&&(s=i(s),l=f),n.call(a,l,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(u);case"<":a=s[i.slice(1,-1)];break;default:var l=+i;if(0===l)return n;if(l>c){var f=h(l/10);return 0===f?n:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):n}a=o[l-1]}return void 0===a?"":a}))}}))},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";t.a={methods:{_tagColor(){const e=["#e15b64","#f47e60","#f8b26a","#abbd81","#849b87","#e15b64","#f47e60","#f8b26a","#f26d6d","#67cc86","#fb9b5f","#3498db"];return e[Math.floor(Math.random()*e.length)]}}}},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(1),i=n(10),o=n(64),s=n(189),a=n(66),u=n(36),c=n(146).f,l=n(145).f,h=n(18).f,f=n(188).trim,d=r.Number,p=d,v=d.prototype,g="Number"==o(n(77)(v)),m="trim"in String.prototype,_=function(e){var t=a(e,!1);if("string"==typeof t&&t.length>2){var n,r,i,o=(t=m?t.trim():f(t,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+t}for(var s,u=t.slice(2),c=0,l=u.length;ci)return NaN;return parseInt(u,r)}}return+t};if(!d(" 0o1")||!d("0b1")||d("+0x1")){d=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof d&&(g?u((function(){v.valueOf.call(n)})):"Number"!=o(n))?s(new p(_(t)),n,d):_(t)};for(var b,y=n(9)?c(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;y.length>w;w++)i(p,b=y[w])&&!i(d,b)&&h(d,b,l(p,b));d.prototype=v,v.constructor=d,n(21)(r,"Number",d)}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},,,,,,,,,,,,function(e,t,n){"use strict";n(131),n(62),n(202),n(203),n(185),n(132),n(208),n(187);var r={data:function(){return{query:"",focused:!1,focusIndex:0,placeholder:void 0}},mounted:function(){this.placeholder=this.$site.themeConfig.searchPlaceholder||"",document.addEventListener("keydown",this.onHotkey)},beforeDestroy:function(){document.removeEventListener("keydown",this.onHotkey)},computed:{showSuggestions:function(){return this.focused&&this.suggestions&&this.suggestions.length},suggestions:function(){var e=this.query.trim().toLowerCase();if(e){for(var t=this.$site.pages,n=this.$site.themeConfig.searchMaxSuggestions||5,r=this.$localePath,i=function(t){return t&&t.title&&t.title.toLowerCase().indexOf(e)>-1},o=[],s=0;s=n);s++){var a=t[s];if(this.getPageLocalePath(a)===r&&this.isSearchable(a))if(i(a))o.push(a);else if(a.headers)for(var u=0;u=n);u++){var c=a.headers[u];i(c)&&o.push(Object.assign({},a,{path:a.path+"#"+c.slug,header:c}))}}return o}},alignRight:function(){return(this.$site.themeConfig.nav||[]).length+(this.$site.repo?1:0)<=2}},methods:{getPageLocalePath:function(e){for(var t in this.$site.locales||{})if("/"!==t&&0===e.path.indexOf(t))return t;return"/"},isSearchable:function(e){var t=null;return null===t||(t=Array.isArray(t)?t:new Array(t)).filter((function(t){return e.path.match(t)})).length>0},onHotkey:function(e){e.srcElement===document.body&&["s","/"].includes(e.key)&&(this.$refs.input.focus(),e.preventDefault())},onUp:function(){this.showSuggestions&&(this.focusIndex>0?this.focusIndex--:this.focusIndex=this.suggestions.length-1)},onDown:function(){this.showSuggestions&&(this.focusIndex "+e._s(t.header.title))]):e._e()])])})),0):e._e()])}),[],!1,null,null,null).exports,s=(n(211),Object(i.a)({},(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"sidebar-button",on:{click:function(t){return e.$emit("toggle-sidebar")}}},[n("svg",{staticClass:"icon",attrs:{xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",role:"img",viewBox:"0 0 448 512"}},[n("path",{attrs:{fill:"currentColor",d:"M436 124H12c-6.627 0-12-5.373-12-12V80c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12zm0 160H12c-6.627 0-12-5.373-12-12v-32c0-6.627 5.373-12 12-12h424c6.627 0 12 5.373 12 12v32c0 6.627-5.373 12-12 12z"}})])])}),[],!1,null,null,null).exports),a=(n(212),n(190),n(43)),u=n.n(a);var c=n(216),l=n.n(c),h=n(54),f=n.n(h);function d(e){return function(e){if(u()(e)){for(var t=0,n=new Array(e.length);t1){var n=this.$page.path,r=this.$router.options.routes,i=this.$themeConfig.locales||{},o={text:this.$themeLocaleConfig.selectText||"Languages",items:Object.keys(t).map((function(o){var s,a=t[o],u=i[o]&&i[o].label||a.lang;return a.lang===e.$lang?s=n:(s=n.replace(e.$localeConfig.path,o),r.some((function(e){return e.path===s}))||(s=o)),{text:u,link:s}}))};return[].concat(d(this.userNav),[o])}var s=this.$themeConfig.blogConfig||{},a=this.userNav.some((function(e){return!s.category||e.text===(s.category.text||"分类")})),u=this.userNav.some((function(e){return!s.tag||e.text===(s.tag.text||"标签")}));if(!a&&s.hasOwnProperty("category")){var c=s.category,l=this.$categories;this.userNav.splice(parseInt(c.location||2)-1,0,{items:l.list.map((function(e){return e.link=e.path,e.text=e.name,e})),text:c.text||"分类",type:"links",icon:"reco-category"})}if(!u&&s.hasOwnProperty("tag")){var h=s.tag;this.userNav.splice(parseInt(h.location||3)-1,0,{link:"/tag/",text:h.text||"标签",type:"links",icon:"reco-tag"})}return this.userNav},userLinks:function(){return(this.nav||[]).map((function(e){return Object.assign(Object(_.j)(e),{items:(e.items||[]).map(_.j)})}))},repoLink:function(){var e=this.$themeConfig.repo;if(e)return/^https?:/.test(e)?e:"https://github.com/".concat(e)},repoLabel:function(){if(this.repoLink){if(this.$themeConfig.repoLabel)return this.$themeConfig.repoLabel;for(var e=this.repoLink.match(/^https?:\/\/[^\/]+/)[0],t=["GitHub","GitLab","Bitbucket"],n=0;n1&&void 0!==arguments[1])||arguments[1],n=document.body.classList,r=Object.keys(this.themePicker).map((function(e){return"reco-theme-".concat(e)}));if(!e)return t&&localStorage.removeItem("reco-theme"),void n.remove.apply(n,d(r));n.remove.apply(n,d(r.filter((function(t){return t!=="reco-theme-".concat(e)})))),t?(n.add("reco-theme-".concat(e)),localStorage.setItem("reco-theme",e)):(localStorage.removeItem("reco-theme"),n.remove("reco-theme-".concat(e)))}}},k=(n(230),Object(i.a)(O,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"theme-options"},[n("ul",{staticClass:"color-theme-options"},[n("li",[n("a",{staticClass:"default-theme",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.setTheme()}}})]),e._v(" "),e._l(e.themePicker,(function(t,r){return n("li",{key:r},[n("a",{class:r+"-theme",style:{background:t},attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.setTheme(r)}}})])}))],2)])}),[],!1,null,null,null).exports),S={name:"UserSettings",directives:{"click-outside":x.a},components:{ThemeOptions:k},data:function(){return{showMenu:!1}},methods:{hideMenu:function(){this.showMenu=!1}}},A=(n(231),Object(i.a)(S,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.hideMenu,expression:"hideMenu"}],staticClass:"color-picker"},[n("a",{staticClass:"color-button",on:{click:function(t){t.preventDefault(),e.showMenu=!e.showMenu}}},[n("i",{staticClass:"iconfont reco-color"})]),e._v(" "),n("transition",{attrs:{name:"menu-transition",mode:"out-in"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showMenu,expression:"showMenu"}],staticClass:"color-picker-menu"},[n("ThemeOptions")],1)])],1)}),[],!1,null,null,null).exports),C=n(232),E=n.n(C),T={name:"Screenfull",data:function(){return{isFullscreen:!1}},mounted:function(){this.init()},beforeDestroy:function(){this.destroy()},methods:{click:function(){if(!E.a.enabled)return this.$message({message:"you browser can not work",type:"warning"}),!1;E.a.toggle()},change:function(){this.isFullscreen=E.a.isFullscreen},init:function(){E.a.enabled&&E.a.on("change",this.change)},destroy:function(){E.a.enabled&&E.a.off("change",this.change)}}};n(233);function j(e,t){return e.ownerDocument.defaultView.getComputedStyle(e,null)[t]}var N={components:{SidebarButton:s,NavLinks:y,SearchBox:o,AlgoliaSearchBox:{},Theme:A,ScreenFull:Object(i.a)(T,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"fullscreen-wrapper"},[t("i",{staticClass:"iconfont reco-fullscreen",on:{click:this.click}})])}),[],!1,null,"5b1b5d54",null).exports},data:function(){return{linksWrapMaxWidth:null,hasThemes:!1}},mounted:function(){var e=this,t=parseInt(j(this.$el,"paddingLeft"))+parseInt(j(this.$el,"paddingRight")),n=this.$themeConfig.themePicker,r=function(){document.documentElement.clientWidth<719?e.linksWrapMaxWidth=null:e.linksWrapMaxWidth=e.$el.offsetWidth-t-(e.$refs.siteName&&e.$refs.siteName.offsetWidth||0)};r(),window.addEventListener("resize",r,!1),this.hasThemes=void 0===n||n},computed:{algolia:function(){return this.$themeLocaleConfig.algolia||this.$themeConfig.algolia||{}},isAlgoliaSearch:function(){return this.algolia&&this.algolia.apiKey&&this.algolia.indexName}}},I=(n(234),Object(i.a)(N,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",{staticClass:"navbar"},[n("SidebarButton",{on:{"toggle-sidebar":function(t){return e.$emit("toggle-sidebar")}}}),e._v(" "),n("router-link",{staticClass:"home-link",attrs:{to:e.$localePath}},[e.$themeConfig.logo?n("img",{staticClass:"logo",attrs:{src:e.$withBase(e.$themeConfig.logo),alt:e.$siteTitle}}):e._e(),e._v(" "),e.$siteTitle?n("span",{ref:"siteName",staticClass:"site-name"},[e._v(e._s(e.$siteTitle))]):e._e()]),e._v(" "),n("div",{staticClass:"links",style:e.linksWrapMaxWidth?{"max-width":e.linksWrapMaxWidth+"px"}:{}},[e.hasThemes?n("Theme"):e._e(),e._v(" "),n("ScreenFull"),e._v(" "),e.isAlgoliaSearch?n("AlgoliaSearchBox",{attrs:{options:e.algolia}}):!1!==e.$themeConfig.search&&!1!==e.$frontmatter.search?n("SearchBox"):e._e(),e._v(" "),n("NavLinks",{staticClass:"can-hide"})],1)],1)}),[],!1,null,null,null).exports),U={name:"Sidebar",components:{SidebarLinks:n(194).default,NavLinks:y},props:["items"]},P=(n(237),Object(i.a)(U,(function(){var e=this.$createElement,t=this._self._c||e;return t("aside",{staticClass:"sidebar"},[t("NavLinks"),this._v(" "),this._t("top"),this._v(" "),t("SidebarLinks",{attrs:{depth:0,items:this.items}}),this._v(" "),this._t("bottom")],2)}),[],!1,null,null,null).exports),R={mounted:function(){var e=this.$themeConfig.keyPage,t="#424242",n="#424242";e&&(t=e.color||t,n=e.lineColor||n);var r=document.createElement("script");r.src="https://cdn.jsdelivr.net/npm/particles.js@2.0.0/particles.min.js",document.body.append(r),r.onload=function(){(0,window.particlesJS)("particles-oli-wrapper",{particles:{number:{value:20,density:{enable:!0,value_area:800}},color:{value:t},shape:{type:"circle",stroke:{width:0,color:"#000000"},polygon:{nb_sides:5}},opacity:{value:.9,random:!1,anim:{enable:!1,speed:1,opacity_min:.6,sync:!1}},size:{value:3,random:!0,anim:{enable:!1,speed:30,size_min:.1,sync:!1}},line_linked:{enable:!0,distance:250,color:n,opacity:.4,width:1},move:{enable:!0,speed:3,direction:"none",random:!0,straight:!1,out_mode:"out",bounce:!0,attract:{enable:!1,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:.5}}}},retina_detect:!0})}}},L=(n(238),{components:{Background:Object(i.a)(R,(function(){var e=this.$createElement;return(this._self._c||e)("div",{attrs:{id:"particles-oli-wrapper"}})}),[],!1,null,"debc554e",null).exports},props:{isPage:{type:Boolean,default:!1}},name:"Password",data:function(){return{warningText:"Konck! Knock!",key:""}},computed:{year:function(){return(new Date).getFullYear()}},methods:{inter:function(){var e=this.key.trim(),t=this.isPage?"pageKey":"key";if(sessionStorage.setItem(t,e),this.isPage?this.isHasPageKey():this.isHasKey()){var n=this.$refs.passwordBtn,r=document.getElementById("box").getClientRects()[0].width;n.style.width="".concat(r-2,"px"),n.style.opacity=1,setTimeout((function(){window.location.reload()}),800)}else this.warningText="Key Error"},isHasKey:function(){var e=this.$themeConfig.keyPage.keys;return e&&e.indexOf(sessionStorage.getItem("key"))>-1},isHasPageKey:function(){var e=this.$frontmatter.keys;return e&&e.indexOf(sessionStorage.getItem("pageKey"))>-1},inputFocus:function(){this.warningText="Input Your Key"},inputBlur:function(){this.warningText="Konck! Knock!"}}}),D=(n(239),Object(i.a)(L,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"password-shadow",class:{"is-home":!e.isPage}},[n("Background"),e._v(" "),n("h3",{staticClass:"title"},[e._v(e._s(e.isPage?e.$frontmatter.title:e.$site.title))]),e._v(" "),e.isPage?e._e():n("p",{staticClass:"description"},[e._v(e._s(e.$site.description))]),e._v(" "),n("label",{staticClass:"inputBox",attrs:{id:"box"}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.key,expression:"key"}],attrs:{type:"password"},domProps:{value:e.key},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.inter(t)},focus:e.inputFocus,blur:e.inputBlur,input:function(t){t.target.composing||(e.key=t.target.value)}}}),e._v(" "),n("span",[e._v(e._s(e.warningText))]),e._v(" "),n("button",{ref:"passwordBtn",on:{click:e.inter}},[e._v("OK")])]),e._v(" "),n("div",{staticClass:"footer"},[e._m(0),e._v(" "),n("span",[n("i",{staticClass:"iconfont reco-other"}),e._v(" "),n("a",[e._v(e._s(e.$themeConfig.author||e.$site.title))])]),e._v(" "),n("span",[n("i",{staticClass:"iconfont reco-copyright"}),e._v(" "),n("a",[e._v(e._s(e.year))])])])],1)}),[function(){var e=this.$createElement,t=this._self._c||e;return t("span",[t("i",{staticClass:"iconfont reco-theme"}),this._v(" "),t("a",{attrs:{target:"blank",href:"https://vuepress-theme-reco.recoluan.com"}},[this._v("vuePress-theme-reco")])])}],!1,null,"2e56649e",null).exports),$={mixins:[n(160).a]},F=(n(240),Object(i.a)($,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"loader-wrapper"}},[n("div",{staticClass:"loader-main"},e._l(4,(function(e){return n("div",{key:"out"+e})})),0),e._v(" "),e.$frontmatter.home?n("h3",{staticClass:"title"},[e._v("Welcome "+e._s(e.$site.title))]):e._e(),e._v(" "),n("p",{staticClass:"description"},[e._v("Just wait a minute!")])])}),[],!1,null,"1056bbb0",null).exports),M={props:["isComment"],computed:{isShowComment:function(){var e=this.$frontmatter;return 0!=this.isComment&&0!=e.isComment&&1!=e.home}},mounted:function(){this.createValine()},methods:{createValine:function(){var e=this.$themeConfig.valineConfig;if(e){var t=n(241),r=n(242);"undefined"!=typeof window&&(this.window=window,window.AV=r),new t({el:"#valine",appId:e.appId,appKey:e.appKey,placeholder:e.placeholder||"just go go",notify:e.notify||!1,verify:e.verify||!1,avatar:e.avatar||"retro",visitor:e.visitor||!0,recordIP:e.recordIP||!1,path:window.location.pathname})}}},watch:{$route:function(e,t){var n=this;e.path!==t.path&&setTimeout((function(){n.createValine()}),300)}}},q=(n(243),Object(i.a)(M,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{directives:[{name:"show",rawName:"v-show",value:this.isShowComment,expression:"isShowComment"}],staticClass:"valine-wrapper"},[t("div",{attrs:{id:"valine"}})])}),[],!1,null,"5029e45b",null).exports),B=(n(163),{name:"BackToTop",props:{visibilityHeight:{type:Number,default:400},backPosition:{type:Number,default:0},customStyle:{type:Object,default:function(){return{right:"1rem",bottom:"6rem",width:"2.5rem",height:"2.5rem","border-radius":".25rem","line-height":"2.5rem",backgroundColor:"rgba(231, 234, 241,.5)"}}},transitionName:{type:String,default:"fade"}},data:function(){return{visible:!1,interval:null,isMoving:!1}},mounted:function(){window.addEventListener("scroll",this.handleScroll)},beforeDestroy:function(){window.removeEventListener("scroll",this.handleScroll),this.interval&&clearInterval(this.interval)},methods:{handleScroll:function(){this.visible=window.pageYOffset>this.visibilityHeight},backToTop:function(){var e=this;if(!this.isMoving){var t=window.pageYOffset,n=0;this.isMoving=!0,this.interval=setInterval((function(){var r=Math.floor(e.easeInOutQuad(10*n,t,-t,500));r<=e.backPosition?(window.scrollTo(0,e.backPosition),clearInterval(e.interval),e.isMoving=!1):window.scrollTo(0,r),n++}),16.7)}},easeInOutQuad:function(e,t,n,r){return(e/=r/2)<1?n/2*e*e+t:-n/2*(--e*(e-2)-1)+t}}}),W=(n(244),Object(i.a)(B,(function(){var e=this.$createElement,t=this._self._c||e;return t("transition",{attrs:{name:this.transitionName}},[t("div",{directives:[{name:"show",rawName:"v-show",value:this.visible,expression:"visible"}],staticClass:"back-to-ceiling",style:this.customStyle,on:{click:this.backToTop}},[t("i",{staticClass:"iconfont reco-up"})])])}),[],!1,null,"cd623d78",null).exports),z=n(245),V={components:{Sidebar:P,Navbar:I,Password:D,Valine:q,BackToTop:W,Loading:F},props:["sidebar","isComment"],data:function(){return{isSidebarOpen:!1,isHasKey:!0,isHasPageKey:!0,firstLoad:!0}},computed:{shouldShowNavbar:function(){var e=this.$site.themeConfig;return!1!==this.$page.frontmatter.navbar&&!1!==e.navbar&&(this.$title||e.logo||e.repo||e.nav||this.$themeLocaleConfig.nav)},shouldShowSidebar:function(){var e=this.$page.frontmatter;return!1!==this.sidebar&&!e.home&&!1!==e.sidebar&&this.sidebarItems.length},sidebarItems:function(){return Object(_.l)(this.$page,this.$page.regularPath,this.$site,this.$localePath)},pageClasses:function(){var e=this.$frontmatter.pageClass;return[{"no-navbar":!this.shouldShowNavbar,"sidebar-open":this.isSidebarOpen,"no-sidebar":!this.shouldShowSidebar},e]}},mounted:function(){var e=this;this.$router.afterEach((function(){e.isSidebarOpen=!1})),this.hasKey(),this.hasPageKey(),this.handleLoading()},methods:{hasKey:function(){var e=this.$themeConfig.keyPage;if(e){var t=e.keys;this.isHasKey=t&&t.indexOf(sessionStorage.getItem("key"))>-1}else this.isHasKey=!0},hasPageKey:function(){var e=this.$frontmatter.keys;this.isHasPageKey=!e||e&&e.indexOf(sessionStorage.getItem("pageKey"))>-1},toggleSidebar:function(e){this.isSidebarOpen="boolean"==typeof e?e:!this.isSidebarOpen},onTouchStart:function(e){this.touchStart={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}},onTouchEnd:function(e){var t=e.changedTouches[0].clientX-this.touchStart.x,n=e.changedTouches[0].clientY-this.touchStart.y;Math.abs(t)>Math.abs(n)&&Math.abs(t)>40&&(t>0&&this.touchStart.x<=80?this.toggleSidebar(!0):this.toggleSidebar(!1))},handleLoading:function(){var e=this,t=this.$frontmatter.home&&null==sessionStorage.getItem("firstLoad")?1e3:0;Object(z.setTimeout)((function(){e.firstLoad=!1,null==sessionStorage.getItem("firstLoad")&&sessionStorage.setItem("firstLoad",!1)}),t)}},watch:{$frontmatter:function(e,t){e.home&&(this.hasKey(),this.hasPageKey())}}},Q=(n(247),Object(i.a)(V,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"theme-container",class:e.pageClasses,on:{touchstart:e.onTouchStart,touchend:e.onTouchEnd}},[n("transition",{attrs:{name:"fade"}},[e.firstLoad?n("Loading"):e.isHasKey?n("div",[e.shouldShowNavbar?n("Navbar",{on:{"toggle-sidebar":e.toggleSidebar}}):e._e(),e._v(" "),n("div",{staticClass:"sidebar-mask",on:{click:function(t){return e.toggleSidebar(!1)}}}),e._v(" "),n("Sidebar",{attrs:{items:e.sidebarItems},on:{"toggle-sidebar":e.toggleSidebar}},[e._t("sidebar-top",null,{slot:"top"}),e._v(" "),e._t("sidebar-bottom",null,{slot:"bottom"})],2),e._v(" "),e.isHasPageKey?n("div",[e._t("default"),e._v(" "),n("Valine",{attrs:{isComment:e.isComment}})],2):n("Password",{attrs:{isPage:!0}}),e._v(" "),n("BackToTop")],1):n("Password")],1)],1)}),[],!1,null,"b3ac1610",null));t.a=Q.exports},function(e,t,n){"use strict";var r={components:{PageInfo:n(196).a},props:["data","currentPage","currentTag","isHome"]},i=(n(250),n(0)),o=Object(i.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"abstract-wrapper"},e._l(e.data,(function(t,r){return n("div",{directives:[{name:"show",rawName:"v-show",value:r>=10*e.currentPage-10&&r<10*e.currentPage,expression:"index >= (currentPage * 10 - 10) && index < currentPage * 10"}],key:t.path,staticClass:"abstract-item"},[n("div",{staticClass:"title"},[n("router-link",{attrs:{to:t.path}},[e._v(e._s(t.title))])],1),e._v(" "),n("div",{staticClass:"abstract",domProps:{innerHTML:e._s(t.excerpt)}}),e._v(" "),n("hr"),e._v(" "),n("PageInfo",{attrs:{pageInfo:t,isHome:!(!0!==e.isHome),currentTag:e.currentTag}})],1)})),0)}),[],!1,null,"43bf992a",null);t.a=o.exports},function(e,t,n){"use strict";var r={props:["idVal","numStyle"],methods:{getIdVal:function(e){var t=this.$site.base;return t.slice(0,t.length-1)+e}}},i=(n(248),n(0)),o=Object(i.a)(r,(function(){var e=this.$createElement,t=this._self._c||e;return this.$themeConfig.valineConfig&&0!=this.$themeConfig.valineConfig.visitor?t("span",{staticClass:"leancloud-visitors",attrs:{id:this.getIdVal(this.idVal),"data-flag-title":"Your Article Title"}},[t("i",{staticClass:"iconfont reco-eye",staticStyle:{"margin-right":".5rem"}}),this._v(" "),t("a",{staticClass:"leancloud-visitors-count",style:this.numStyle})]):this._e()}),[],!1,null,"2e99e05a",null);t.a=o.exports},,function(e,t,n){"use strict";var r=n(17);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(17),i=n(65),o=n(139),s=n(140);n(142)("match",1,(function(e,t,n,a){return[function(n){var r=e(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var u=r(e),c=String(this);if(!u.global)return s(u,c);var l=u.unicode;u.lastIndex=0;for(var h,f=[],d=0;null!==(h=s(u,c));){var p=String(h[0]);f[d]=p,""===p&&(u.lastIndex=o(c,i(u.lastIndex),l)),d++}return 0===d?null:f}]}))},function(e,t,n){var r=n(64);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";n(188)("trim",(function(e){return function(){return e(this,3)}}))},function(e,t,n){var r=n(61),i=n(20),o=n(36),s=n(209),a="["+s+"]",u=RegExp("^"+a+a+"*"),c=RegExp(a+a+"*$"),l=function(e,t,n){var i={},a=o((function(){return!!s[e]()||"​…"!="​…"[e]()})),u=i[e]=a?t(h):s[e];n&&(i[n]=u),r(r.P+r.F*a,"String",i)},h=l.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(c,"")),e};e.exports=l},function(e,t,n){var r=n(19),i=n(213).set;e.exports=function(e,t,n){var o,s=t.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},function(e,t,n){var r=n(18).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n(9)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},,,,function(e,t,n){"use strict";n.r(t);n(134);var r=n(123),i={name:"SidebarGroup",props:["item","open","collapsable","depth"],components:{DropdownTransition:n(195).a},beforeCreate:function(){this.$options.components.SidebarLinks=n(194).default},methods:{isActive:r.e}},o=(n(235),n(0)),s=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"sidebar-group",class:[{collapsable:e.collapsable,"is-sub-group":0!==e.depth},"depth-"+e.depth]},[e.item.path?n("router-link",{staticClass:"sidebar-heading clickable",class:{open:e.open,active:e.isActive(e.$route,e.item.path)},attrs:{to:e.item.path},nativeOn:{click:function(t){return e.$emit("toggle")}}},[n("span",[e._v(e._s(e.item.title))]),e._v(" "),e.collapsable?n("span",{staticClass:"arrow",class:e.open?"down":"right"}):e._e()]):n("p",{staticClass:"sidebar-heading",class:{open:e.open},on:{click:function(t){return e.$emit("toggle")}}},[n("span",[e._v(e._s(e.item.title))]),e._v(" "),e.collapsable?n("span",{staticClass:"arrow",class:e.open?"down":"right"}):e._e()]),e._v(" "),n("DropdownTransition",[e.open||!e.collapsable?n("SidebarLinks",{staticClass:"sidebar-group-items",attrs:{items:e.item.children,sidebarDepth:e.item.sidebarDepth,depth:e.depth+1}}):e._e()],1)],1)}),[],!1,null,null,null).exports;n(129);function a(e,t,n,r){return e("router-link",{props:{to:t,activeClass:"",exactActiveClass:""},class:{active:r,"sidebar-link":!0}},n)}function u(e,t,n,i,o){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;return!t||s>o?null:e("ul",{class:"sidebar-sub-headers"},t.map((function(t){var c=Object(r.e)(i,n+"#"+t.slug);return e("li",{class:"sidebar-sub-header"},[a(e,n+"#"+t.slug,t.title,c),u(e,t.children,n,i,o,s+1)])})))}var c={functional:!0,props:["item","sidebarDepth"],render:function(e,t){var n=t.parent,i=n.$page,o=(n.$site,n.$route),s=n.$themeConfig,c=n.$themeLocaleConfig,l=t.props,h=l.item,f=l.sidebarDepth,d=Object(r.e)(o,h.path),p="auto"===h.type?d||h.children.some((function(e){return Object(r.e)(o,h.basePath+"#"+e.slug)})):d,v=a(e,h.path,h.title||h.path,p),g=i.frontmatter.sidebarDepth||f||c.sidebarDepth||s.sidebarDepth,m=null==g?1:g,_=c.displayAllHeaders||s.displayAllHeaders;return"auto"===h.type?[v,u(e,h.children,h.basePath,o,m)]:(p||_)&&h.headers&&!r.d.test(h.path)?[v,u(e,Object(r.c)(h.headers),h.path,o,m)]:v}};n(236);var l={name:"SidebarLinks",components:{SidebarGroup:s,SidebarLink:Object(o.a)(c,void 0,void 0,!1,null,null,null).exports},props:["items","depth","sidebarDepth"],data:function(){return{openGroupIndex:0}},created:function(){this.refreshIndex()},watch:{$route:function(){this.refreshIndex()}},methods:{refreshIndex:function(){var e=function(e,t){for(var n=0;n-1&&(this.openGroupIndex=e)},toggleGroup:function(e){this.openGroupIndex=e===this.openGroupIndex?-1:e},isActive:function(e){return Object(r.e)(this.$route,e.regularPath)}}},h=Object(o.a)(l,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.items.length?n("ul",{staticClass:"sidebar-links"},e._l(e.items,(function(t,r){return n("li",{key:r},["group"===t.type?n("SidebarGroup",{attrs:{item:t,open:r===e.openGroupIndex,collapsable:t.collapsable||t.collapsible,depth:e.depth},on:{toggle:function(t){return e.toggleGroup(r)}}}):n("SidebarLink",{attrs:{sidebarDepth:e.sidebarDepth,item:t}})],1)})),0):e._e()}),[],!1,null,null,null);t.default=h.exports},function(e,t,n){"use strict";var r={name:"DropdownTransition",methods:{setHeight:function(e){e.style.height=e.scrollHeight+"px"},unsetHeight:function(e){e.style.height=""}}},i=(n(226),n(0)),o=Object(i.a)(r,(function(){var e=this.$createElement;return(this._self._c||e)("transition",{attrs:{name:"dropdown"},on:{enter:this.setHeight,"after-enter":this.unsetHeight,"before-leave":this.setHeight}},[this._t("default")],2)}),[],!1,null,null,null);t.a=o.exports},function(e,t,n){"use strict";var r={components:{AccessNumber:n(182).a},props:{pageInfo:{type:Object,default:{}},currentTag:{type:String,default:""},isHome:{type:Boolean,default:!1}},data:function(){return{numStyle:{fontSize:".9rem",fontWeight:"normal",color:"#999"}}},methods:{goTags:function(e){var t=this.$site.base;window.location.href="".concat(t,"tag/?tag=").concat(e)}}},i=(n(249),n(0)),o=Object(i.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.pageInfo.frontmatter.author||e.$themeConfig.author||e.$site.title?n("i",{staticClass:"iconfont reco-account"},[n("span",[e._v(e._s(e.pageInfo.frontmatter.author||e.$themeConfig.author||e.$site.title))])]):e._e(),e._v(" "),e.pageInfo.frontmatter.date?n("i",{staticClass:"iconfont reco-date"},[n("span",[e._v(e._s(new Date(e.pageInfo.frontmatter.date).toLocaleDateString()))])]):e._e(),e._v(" "),!0!==e.isHome?n("AccessNumber",{attrs:{idVal:e.pageInfo.path,numStyle:e.numStyle}}):e._e(),e._v(" "),e.pageInfo.frontmatter.tags?n("i",{staticClass:"iconfont reco-tag tags"},e._l(e.pageInfo.frontmatter.tags,(function(t,r){return n("span",{key:r,staticClass:"tag-item",class:{active:e.currentTag==t},on:{click:function(n){return e.goTags(t)}}},[e._v("\n "+e._s(t)+"\n ")])})),0):e._e()],1)}),[],!1,null,"3777cdf8",null);t.a=o.exports},,,,function(e,t,n){var r=n(64),i=n(6)("toStringTag"),o="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){"use strict";var r=n(141);n(61)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){"use strict";var r=n(61),i=n(69)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(74)("includes")},function(e,t,n){"use strict";var r=n(61),i=n(204);r(r.P+r.F*n(205)("includes"),"String",{includes:function(e){return!!~i(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(138),i=n(20);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},function(e,t,n){var r=n(6)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(207);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(19),i=n(186),o=n(6)("species");e.exports=function(e){var t;return i(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var r=n(61);r(r.S,"Array",{isArray:n(186)})},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){"use strict";var r=n(143);n.n(r).a},function(e,t,n){"use strict";var r=n(144);n.n(r).a},function(e,t,n){var r=n(1),i=n(189),o=n(18).f,s=n(146).f,a=n(138),u=n(184),c=r.RegExp,l=c,h=c.prototype,f=/a/g,d=/a/g,p=new c(f)!==f;if(n(9)&&(!p||n(36)((function(){return d[n(6)("match")]=!1,c(f)!=f||c(d)==d||"/a/i"!=c(f,"i")})))){c=function(e,t){var n=this instanceof c,r=a(e),o=void 0===t;return!n&&r&&e.constructor===c&&o?e:i(p?new l(r&&!o?e.source:e,t):l((r=e instanceof c)?e.source:e,r&&o?u.call(e):t),n?this:h,c)};for(var v=function(e){e in c||o(c,e,{configurable:!0,get:function(){return l[e]},set:function(t){l[e]=t}})},g=s(l),m=0;g.length>m;)v(g[m++]);h.constructor=c,c.prototype=h,n(21)(r,"RegExp",c)}n(215)("RegExp")},function(e,t,n){var r=n(19),i=n(17),o=function(e,t){if(i(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(67)(Function.call,n(145).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";var r=n(1),i=n(18),o=n(9),s=n(6)("species");e.exports=function(e){var t=r[e];o&&t&&!t[s]&&i.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){e.exports=n(217)},function(e,t,n){n(40),n(218),e.exports=n(3).Array.from},function(e,t,n){"use strict";var r=n(70),i=n(37),o=n(72),s=n(219),a=n(220),u=n(71),c=n(221),l=n(73);i(i.S+i.F*!n(222)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,i,h,f=o(e),d="function"==typeof this?this:Array,p=arguments.length,v=p>1?arguments[1]:void 0,g=void 0!==v,m=0,_=l(f);if(g&&(v=r(v,p>2?arguments[2]:void 0,2)),null==_||d==Array&&a(_))for(n=new d(t=u(f.length));t>m;m++)c(n,m,g?v(f[m],m):f[m]);else for(h=_.call(f),n=new d;!(i=h.next()).done;m++)c(n,m,g?s(h,v,[i.value,m],!0):i.value);return n.length=m,n}})},function(e,t,n){var r=n(11);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(7),i=n(2)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(22),i=n(39);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(2)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},e(o)}catch(e){}return n}},function(e,t,n){var r=n(61),i=n(24),o=n(36);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],s={};s[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",s)}},function(e,t,n){"use strict";n(225)("link",(function(e){return function(t){return e(this,"a","href",t)}}))},function(e,t,n){var r=n(61),i=n(36),o=n(20),s=/"/g,a=function(e,t,n,r){var i=String(o(e)),a="<"+t;return""!==n&&(a+=" "+n+'="'+String(r).replace(s,""")+'"'),a+">"+i+""};e.exports=function(e,t){var n={};n[e]=t(a),r(r.P+r.F*i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})),"String",n)}},function(e,t,n){"use strict";var r=n(148);n.n(r).a},function(e,t,n){"use strict";var r=n(149);n.n(r).a},function(e,t,n){"use strict";var r=n(150);n.n(r).a},function(e,t){function n(e){return"function"==typeof e.value||(console.warn("[Vue-click-outside:] provided expression",e.expression,"is not a function."),!1)}function r(e){return void 0!==e.componentInstance&&e.componentInstance.$isServer}e.exports={bind:function(e,t,i){function o(t){if(i.context){var n=t.path||t.composedPath&&t.composedPath();n&&n.length>0&&n.unshift(t.target),e.contains(t.target)||function(e,t){if(!e||!t)return!1;for(var n=0,r=t.length;n-1},get:function(n){return t[e.indexOf(n)]},set:function(n,r){-1===e.indexOf(n)&&(e.push(n),t.push(r))},delete:function(n){var r=e.indexOf(n);r>-1&&(e.splice(r,1),t.splice(r,1))}}}(),s=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){s=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}var a=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((a=function(e){return e}).destroy=function(e){return e},a.update=function(e){return e}):((a=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return n(e)})),e}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e},a.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],i),e}),t.default=a,e.exports=t.default},void 0!==(o="function"==typeof r?r.apply(t,i):r)&&(e.exports=o)},function(e,t,n){"use strict";function r(e){return!!e&&this.init(e),this}function i(e){return new r(e)}var o=n(9).version,s=n(6),a=n(8),u=n(0),c=n(5),l=n(3),h=n(4),f=n(2),d=n(7),p=/^https?\:\/\//,v={comment:"",nick:"Anonymous",mail:"",link:"",ua:navigator.userAgent,url:""},g={"zh-cn":{head:{nick:"昵称",mail:"邮箱",link:"网址(http://)"},tips:{comments:"评论",sofa:"快来做第一个评论的人吧~",busy:"还在提交中,请稍候...",again:"这么简单也能错,也是没谁了."},ctrl:{reply:"回复",ok:"好的",sure:"确认",cancel:"取消",confirm:"确认",continue:"继续",more:"查看更多...",try:"再试试?",preview:"预览",emoji:"表情"},error:{99:"初始化失败,请检查init中的`el`元素.",100:"初始化失败,请检查你的AppId和AppKey.",401:"未经授权的操作,请检查你的AppId和AppKey.",403:"访问被api域名白名单拒绝,请检查你的安全域名设置."},timeago:{seconds:"秒前",minutes:"分钟前",hours:"小时前",days:"天前",now:"刚刚"}},en:{head:{nick:"NickName",mail:"E-Mail",link:"Website(http://)"},tips:{comments:"Comments",sofa:"No comments yet.",busy:"Submit is busy, please wait...",again:"Sorry, this is a wrong calculation."},ctrl:{reply:"Reply",ok:"Ok",sure:"Sure",cancel:"Cancel",confirm:"Confirm",continue:"Continue",more:"Load More...",try:"Once More?",preview:"Preview",emoji:"Emoji"},error:{99:"Initialization failed, Please check the `el` element in the init method.",100:"Initialization failed, Please check your appId and appKey.",401:"Unauthorized operation, Please check your appId and appKey.",403:"Access denied by api domain white list, Please check your security domain."},timeago:{seconds:"seconds ago",minutes:"minutes ago",hours:"hours ago",days:"days ago",now:"just now"}}},m={cdn:"https://gravatar.loli.net/avatar/",ds:["mp","identicon","monsterid","wavatar","robohash","retro",""],params:"",hide:!1},_=["nick","mail","link"],b=Storage&&localStorage&&localStorage instanceof Storage&&localStorage,y=location.pathname.replace(/index\.html?$/,"");r.prototype.init=function(e){if("undefined"!=typeof document){var t=this;try{var n=e.lang,r=e.langMode,i=e.avatar,s=e.avatarForce,u=e.avatar_cdn,c=e.notify,l=e.verify,f=e.visitor,b=e.pageSize,w=e.recordIP,O=m.ds,k=s?"&q="+Math.random().toString(32).substring(2):"";if(n&&r&&t.installLocale(n,r),t.locale=t.locale||g[n||"zh-cn"],t.notify=c||!1,t.verify=l||!1,w){var S=h.create("script","src","//api.ip.sb/jsonip?callback=getIP"),A=document.getElementsByTagName("script")[0];A.parentNode.insertBefore(S,A),window.getIP=function(e){v.ip=e.ip}}m.params="?d="+(O.indexOf(i)>-1?i:"mp")+"&v="+o+k,m.hide="hide"===i,m.cdn=p.test(u)?u:m.cdn,y=e.path||y;var C=Number(b||10);if(e.pageSize=isNaN(C)?10:C<1?10:C,a.setOptions({renderer:new a.Renderer,highlight:!1===e.highlight?null:d,gfm:!0,tables:!0,breaks:!0,pedantic:!1,sanitize:!1,smartLists:!0,smartypants:!0}),!AV)return void setTimeout((function(){t.init(e)}),20);var E=e.app_id||e.appId,T=e.app_key||e.appKey;if(!E||!T)throw 99;AV.applicationId&&delete AV._config.applicationId||(AV.applicationId=null),AV.applicationKey&&delete AV._config.applicationKey||(AV.applicationKey=null),AV.init({appId:E,appKey:T});for(var j=h.findAll(document,".valine-comment-count"),N=0,I=j.length;N-1}));var R=(0==e.meta.length?_:e.meta).map((function(e){var n="mail"==e?"email":"text";return _.indexOf(e)>-1?'':""}));t.placeholder=e.placeholder||"Just Go Go",t.el.innerHTML='
'+R.join("")+'
'+t.locale.ctrl.emoji+' | '+t.locale.ctrl.preview+'
Powered By Valine
v'+o+"
";var L=h.find(t.el,".vempty");t.nodata={show:function(e){return L.innerHTML=e||t.locale.tips.sofa,h.attr(L,"style","display:block;"),t},hide:function(){return h.attr(L,"style","display:none;"),t}};var D=h.create("div","class","vloading"),$=h.find(t.el,".vlist");t.loading={show:function(e){var n=h.findAll($,".vcard");return e?$.insertBefore(D,n[0]):$.appendChild(D),t.nodata.hide(),t},hide:function(){var e=h.find($,".vloading");return e&&h.remove(e),0===h.findAll($,".vcard").length&&t.nodata.show(),t}};var F=h.find(t.el,".vmark");t.alert={show:function(e){F.innerHTML='
'+(e&&e.text||1)+'
';var n=h.find(F,".vbtns"),r='",i='";if(n.innerHTML=""+r+(e&&e.type&&i),h.on("click",h.find(F,".vcancel"),(function(e){t.alert.hide()})),h.attr(F,"style","display:block;"),e&&e.type){var o=h.find(F,".vsure");h.on("click",o,(function(n){t.alert.hide(),e.cb&&e.cb()}))}return t},hide:function(){return h.attr(F,"style","display:none;"),t}},t.bind(e)}catch(e){t.ErrorHandler(e)}return t}console};var w=function(e,t){var n=new e,r=new AV.ACL;r.setPublicReadAccess(!0),r.setPublicWriteAccess(!0),n.setACL(r),n.set("url",t.url),n.set("xid",t.xid),n.set("title",t.title),n.set("time",1),n.save().then((function(e){h.find(t.el,".leancloud-visitors-count").innerText=1})).catch((function(e){}))},x={add:function(e){var t=h.findAll(document,".leancloud_visitors,.leancloud-visitors");if(t.length){var n=t[0],r=h.attr(n,"id"),i=h.attr(n,"data-flag-title"),o=encodeURI(r),s={el:n,url:r,xid:o,title:i};if(decodeURI(r)===decodeURI(y)){var a=new AV.Query(e);a.equalTo("url",r),a.find().then((function(t){if(t.length>0){var r=t[0];r.increment("time"),r.save().then((function(e){h.find(n,".leancloud-visitors-count").innerText=e.get("time")})).catch((function(e){}))}else w(e,s)})).catch((function(t){101==t.code&&w(e,s)}))}else x.show(e,t)}},show:function(e,t){h.each(t,(function(e,t){var n=h.find(t,".leancloud-visitors-count");n&&(n.innerText=0)}));var n=[];for(var r in t)t.hasOwnProperty(r)&&n.push(h.attr(t[r],"id"));if(n.length){var i=new AV.Query(e);i.containedIn("url",n),i.find().then((function(e){e.length>0&&h.each(e,(function(e,t){var n=t.get("url"),r=t.get("time"),i=h.find(document,'.leancloud_visitors[id="'+n+'"]')||h.find(document,'.leancloud-visitors[id="'+n+'"]'),o=h.find(i,".leancloud-visitors-count");o&&(o.innerText=r)}))})).catch((function(e){}))}}};r.prototype.Q=function(e){if(1==arguments.length){var t=new AV.Query("Comment");t.doesNotExist("rid");var n=new AV.Query("Comment");n.equalTo("rid","");var r=AV.Query.or(t,n);return r.equalTo("url",decodeURI(e)),r.addDescending("createdAt"),r.addDescending("insertedAt"),r}var i=JSON.stringify(arguments[1]).replace(/(\[|\])/g,""),o="select * from Comment where rid in ("+i+") order by -createdAt,-createdAt";return AV.Query.doCloudQuery(o)},r.prototype.ErrorHandler=function(e){var t=this;if(t.el&&t.loading.hide().nodata.hide(),"[object Error]"==={}.toString.call(e)){var n=e.code||"",r=t.locale.error[n]||e.message||e.error||"";101==n?t.nodata.show():t.el&&t.nodata.show('
Code '+n+": "+r+"
")||console}else t.el&&t.nodata.show('
'+JSON.stringify(e)+"
")||console},r.prototype.installLocale=function(e,t){return t=t||{},e&&(g[e]=t,this.locale=g[e]||g["zh-cn"]),this},r.prototype.setPath=function(e){return y=e||y,this},r.prototype.bind=function(e){var t=this,n=h.find(t.el,".vemojis"),r=h.find(t.el,".vpreview"),i=h.find(t.el,".vemoji-btn"),o=h.find(t.el,".vpreview-btn"),d=f.data;for(var p in d)d.hasOwnProperty(p)&&function(e,r){var i=h.create("i",{name:e,title:e});i.innerHTML=r,n.appendChild(i),h.on("click",i,(function(e){var n=h.find(t.el,".veditor");C(n,r),_(n)}))}(p,d[p]);t.emoji={show:function(){return t.preview.hide(),h.attr(i,"v",1),h.removeAttr(o,"v"),h.attr(n,"style","display:block"),t.emoji},hide:function(){return h.removeAttr(i,"v"),h.attr(n,"style","display:hide"),t.emoji}},t.preview={show:function(){return v.comment&&(t.emoji.hide(),h.attr(o,"v",1),h.removeAttr(i,"v"),r.innerHTML=v.comment,h.attr(r,"style","display:block"),N()),t.preview},hide:function(){return h.removeAttr(o,"v"),h.attr(r,"style","display:none"),t.preview},empty:function(){return r.innerHtml="",t.preview}};var g=function(e){var t=h.create("div");t.insertAdjacentHTML("afterbegin",e);var n=h.findAll(t,"*"),r=["INPUT","STYLE","SCRIPT","IFRAME","FRAME","AUDIO","VIDEO","EMBED","META","TITLE","LINK"];return h.each(n,(function(e,t){1===t.nodeType&&(r.indexOf(t.nodeName)>-1&&("INPUT"===t.nodeName&&"checkbox"===h.attr(t,"type")?h.attr(t,"disabled","disabled"):h.remove(t)),"A"===t.nodeName&&function(e,t){var n=h.attr(e,t);n&&h.attr(e,t,n.replace(/(javascript|eval)/gi,""))}(t,"href"),h.clearAttr(t))})),t.innerHTML},_=function(e){var t=e.value||"";t=f.parse(t),e.value=t;var n=g(a(t));v.comment=n,r.innerHTML=n,t?u(e):u.destroy(e)};h.on("click",i,(function(e){h.attr(i,"v")?t.emoji.hide():t.emoji.show()})),h.on("click",o,(function(e){h.attr(o,"v")?t.preview.hide():t.preview.show()}));for(var w=e.meta,x={},O={veditor:"comment"},k=0,S=w.length;k0&&void 0!==arguments[0]?arguments[0]:1,i=e.pageSize,o=Number(h.find(t.el,".vnum").innerText);t.loading.show();var s=t.Q(y);s.limit(i),s.skip((r-1)*i),s.find().then((function(e){for(var s=e.length,a=[],u=0;u'+t.locale.ctrl.more+"":"";var f=h.find(l,".vmore");f&&h.on("click",f,(function(e){l.innerHTML="",n(++r)})),t.loading.hide()})).catch((function(e){t.loading.hide().ErrorHandler(e)}))};t.Q(y).count().then((function(e){e>0?(h.attr(h.find(t.el,".vinfo"),"style","display:block;"),h.find(t.el,".vcount").innerHTML=''+e+" "+t.locale.tips.comments,T()):t.loading.hide()})).catch((function(e){t.ErrorHandler(e)}));var j=function(e,n,r){var i=h.create("div",{class:"vcard",id:e.id}),o=m.hide?"":'',a=e.get("ua")||"",u="";a&&(u=''+(a=l(a)).browser+" "+a.version+' '+a.os+" "+a.osVersion+"");var f,d=e.get("link")||"";f=d?''+e.get("nick")+"":''+e.get("nick")+"",i.innerHTML=o+'\n
\n
'+f+" "+u+'
\n
\n '+c(e.get("insertedAt")||e.createdAt,t.locale)+'\n '+t.locale.ctrl.reply+'\n
\n
\n '+g(e.get("comment"))+"\n
\n
";for(var p=h.find(i,".vat"),v=h.findAll(i,"a"),_=0,b=v.length;_180&&(e.classList.add("expand"),h.on("click",e,(function(t){h.attr(e,"class","vcontent")})))}))},U={},P=function(e,t){h.on("click",e,(function(e){var n="@"+h.escape(t.get("nick"));U={at:h.escape(n)+" ",rid:t.get("rid")||t.id,pid:t.id,rmail:t.get("mail")},h.attr(x.comment,"placeholder",n),x.comment.focus()}))};!function(){var e=b&&b.ValineCache;if(e){e=JSON.parse(e);var n=w;for(var r in n){var i=n[r];h.find(t.el,".v"+i).value=h.unescape(e[i]),v[i]=e[i]}}}();var R=h.find(t.el,".vsubmit"),L=function(e){return h.attr(R,"disabled")?void t.alert.show({type:0,text:t.locale.tips.busy+'ヾ(๑╹◡╹)ノ"',ctxt:t.locale.ctrl.ok}):""==v.comment?void x.comment.focus():(v.nick=v.nick||"Anonymous",void(t.notify||t.verify?M(F):F()))},D=function(){var e=new AV.ACL;return e.setPublicReadAccess(!0),e.setPublicWriteAccess(!1),e},F=function(){h.attr(R,"disabled",!0),t.loading.show(!0);var e=new(AV.Object.extend("Comment"));if(v.url=decodeURI(y),v.insertedAt=new Date,U.rid){var n=U.pid||U.rid;e.set("rid",U.rid),e.set("pid",n),v.comment=v.comment.replace("

",'

'+U.at+" , ")}for(var r in v)if(v.hasOwnProperty(r)){var i=v[r];e.set(r,i)}e.setACL(D()),e.save().then((function(e){"Anonymous"!=v.nick&&b&&b.setItem("ValineCache",JSON.stringify({nick:v.nick,link:v.link,mail:v.mail}));var n=h.find(t.el,".vnum"),r=1;try{if(U.rid){var i=h.find(t.el,'.vquote[rid="'+U.rid+'"]')||E(U.rid);j(e,i,!0)}else n?(r=Number(n.innerText)+1,n.innerText=r):h.find(t.el,".vcount").innerHTML='1 '+t.locale.tips.comments,j(e,h.find(t.el,".vlist"));v.mail&&q({username:v.nick,mail:v.mail}),U.at&&U.rmail&&t.notify&&B({username:U.at.replace("@",""),mail:U.rmail}),h.removeAttr(R,"disabled"),t.loading.hide(),v.comment="",x.comment.value="",_(x.comment),h.attr(x.comment,"placeholder",t.placeholder),U={},t.preview.empty().hide()}catch(e){t.ErrorHandler(e)}})).catch((function(e){t.ErrorHandler(e)}))},M=function e(n){var r=Math.floor(10*Math.random()+1),i=Math.floor(10*Math.random()+1),o=Math.floor(10*Math.random()+1),s=["+","-","x"],a=""+r+s[Math.floor(3*Math.random())]+i+s[Math.floor(3*Math.random())]+o,u=a+" = ";t.alert.show({type:1,text:u,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.ok,cb:function(){var r=+h.find(t.el,".vcode").value;new Function("return "+a.replace(/x/g,"*"))()===r?n&&n():t.alert.show({type:1,text:"(T_T)"+t.locale.tips.again,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.try,cb:function(){e(n)}})}})},q=function(e){var t=new AV.User;return t.setUsername(e.username),t.setPassword(e.mail),t.setEmail(e.mail),t.setACL(D()),t.signUp()},B=function e(n){AV.User.requestPasswordReset(n.mail).then((function(e){})).catch((function(r){1==r.code?t.alert.show({type:0,text:"ヾ(o・ω・)ノ At太频繁啦,提醒功能暂时宕机。
"+r.error,ctxt:t.locale.ctrl.ok}):q(n).then((function(t){e(n)})).catch((function(e){}))}))};h.on("click",R,L),h.on("keydown",document,(function(e){var n=(e=event||e).keyCode||e.which||e.charCode;if((e.ctrlKey||e.metaKey)&&13===n&&L(),9===n&&"veditor"==(document.activeElement.id||"")){e.preventDefault();var r=h.find(t.el,".veditor");C(r," ")}}))},e.exports=i,e.exports.default=i},function(e,t,n){"use strict";var r={data:n(11),parse:function(e){return String(e).replace(/:(.+?):/g,(function(e,t){return r.data[t]||e}))}};e.exports=r},function(e,t,n){"use strict";function r(e){var t=this,n={Trident:e.indexOf("Trident")>-1||e.indexOf("NET CLR")>-1,Presto:e.indexOf("Presto")>-1,WebKit:e.indexOf("AppleWebKit")>-1,Gecko:e.indexOf("Gecko/")>-1,Safari:e.indexOf("Safari")>-1,Chrome:e.indexOf("Chrome")>-1||e.indexOf("CriOS")>-1,IE:e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1,Edge:e.indexOf("Edge")>-1,Firefox:e.indexOf("Firefox")>-1||e.indexOf("FxiOS")>-1,"Firefox Focus":e.indexOf("Focus")>-1,Chromium:e.indexOf("Chromium")>-1,Opera:e.indexOf("Opera")>-1||e.indexOf("OPR")>-1,Vivaldi:e.indexOf("Vivaldi")>-1,Yandex:e.indexOf("YaBrowser")>-1,Kindle:e.indexOf("Kindle")>-1||e.indexOf("Silk/")>-1,360:e.indexOf("360EE")>-1||e.indexOf("360SE")>-1,UC:e.indexOf("UC")>-1||e.indexOf(" UBrowser")>-1,QQBrowser:e.indexOf("QQBrowser")>-1,QQ:e.indexOf("QQ/")>-1,Baidu:e.indexOf("Baidu")>-1||e.indexOf("BIDUBrowser")>-1,Maxthon:e.indexOf("Maxthon")>-1,Sogou:e.indexOf("MetaSr")>-1||e.indexOf("Sogou")>-1,LBBROWSER:e.indexOf("LBBROWSER")>-1,"2345Explorer":e.indexOf("2345Explorer")>-1,TheWorld:e.indexOf("TheWorld")>-1,XiaoMi:e.indexOf("MiuiBrowser")>-1,Quark:e.indexOf("Quark")>-1,Qiyu:e.indexOf("Qiyu")>-1,Wechat:e.indexOf("MicroMessenger")>-1,Taobao:e.indexOf("AliApp(TB")>-1,Alipay:e.indexOf("AliApp(AP")>-1,Weibo:e.indexOf("Weibo")>-1,Douban:e.indexOf("com.douban.frodo")>-1,Suning:e.indexOf("SNEBUY-APP")>-1,iQiYi:e.indexOf("IqiyiApp")>-1,Windows:e.indexOf("Windows")>-1,Linux:e.indexOf("Linux")>-1||e.indexOf("X11")>-1,"Mac OS":e.indexOf("Macintosh")>-1,Android:e.indexOf("Android")>-1||e.indexOf("Adr")>-1,Ubuntu:e.indexOf("Ubuntu")>-1,FreeBSD:e.indexOf("FreeBSD")>-1,Debian:e.indexOf("Debian")>-1,"Windows Phone":e.indexOf("IEMobile")>-1||e.indexOf("Windows Phone")>-1,BlackBerry:e.indexOf("BlackBerry")>-1||e.indexOf("RIM")>-1,MeeGo:e.indexOf("MeeGo")>-1,Symbian:e.indexOf("Symbian")>-1,iOS:e.indexOf("like Mac OS X")>-1,"Chrome OS":e.indexOf("CrOS")>-1,WebOS:e.indexOf("hpwOS")>-1,Mobile:e.indexOf("Mobi")>-1||e.indexOf("iPh")>-1||e.indexOf("480")>-1,Tablet:e.indexOf("Tablet")>-1||e.indexOf("Pad")>-1||e.indexOf("Nexus 7")>-1};n.Mobile&&(n.Mobile=!(e.indexOf("iPad")>-1));var r={engine:["WebKit","Trident","Gecko","Presto"],browser:["Safari","Chrome","Edge","IE","Firefox","Firefox Focus","Chromium","Opera","Vivaldi","Yandex","Kindle","360","UC","QQBrowser","QQ","Baidu","Maxthon","Sogou","LBBROWSER","2345Explorer","TheWorld","XiaoMi","Quark","Qiyu","Wechat","Taobao","Alipay","Weibo","Douban","Suning","iQiYi"],os:["Windows","Linux","Mac OS","Android","Ubuntu","FreeBSD","Debian","iOS","Windows Phone","BlackBerry","MeeGo","Symbian","Chrome OS","WebOS"],device:["Mobile","Tablet"]};for(var i in t.device="PC",r)for(var o=0;o27?t.engine="Blink":"Opera"==t.browser&&parseInt(t.version)>12?t.engine="Blink":"Yandex"==t.browser?t.engine="Blink":null==t.browser&&(t.browser="Unknow App")}e.exports=function(e){return new r(e)}},function(e,t,n){"use strict";var r={},i={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\\":"\"};for(var o in i)r[i[o]]=o;var s=/[&<>"'`\\]/g,a=RegExp(s.source),u=/&(?:amp|lt|gt|quot|#39|#x60|#x5c);/g,c=RegExp(u.source),l={on:function(e,t,n,r){for(var i=0,o=(e=e.split(" ")).length;i-1)return l.attr(e,"style",n),!1;l.removeAttr(e,"style")}));break;case"class":if("CODE"==e.nodeName)return!1;if(r.value.indexOf("at")>-1)return l.attr(e,"class","at"),!1}n.indexOf(i)>-1||l.removeAttr(e,i)})),e},remove:function(e){try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){}},each:function(e,t){var n=0,r=e.length,i={}.toString.call(e);if(["[object Array]","[object NodeList]"].indexOf(i)>-1)for(;n>16)+(t>>16)+(n>>16)<<16|65535&n}function s(e,t,n,r,i,s){return o(function(e,t){return e<>>32-t}(o(o(t,e),o(r,s)),i),n)}function a(e,t,n,r,i,o,a){return s(t&n|~t&r,e,t,i,o,a)}function u(e,t,n,r,i,o,a){return s(t&r|n&~r,e,t,i,o,a)}function c(e,t,n,r,i,o,a){return s(t^n^r,e,t,i,o,a)}function l(e,t,n,r,i,o,a){return s(n^(t|~r),e,t,i,o,a)}function h(e,t){e[t>>5]|=128<>>9<<4)]=t;var n,r,i,s,h,f=1732584193,d=-271733879,p=-1732584194,v=271733878;for(n=0;n>5]>>>t%32&255);return n}function d(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<>>4&15)+r.charAt(15&t);return i}function v(e){return unescape(encodeURIComponent(e))}function g(e){return function(e){return f(h(d(e),8*e.length))}(v(e))}function m(e,t){return function(e,t){var n,r,i=d(e),o=[],s=[];for(o[15]=s[15]=void 0,i.length>16&&(i=h(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],s[n]=1549556828^i[n];return r=h(o.concat(d(t)),512+8*t.length),f(h(s.concat(r),640))}(v(e),v(t))}function _(e,t,n){return t?n?m(t,e):function(e,t){return p(m(e,t))}(t,e):n?g(e):function(e){return p(g(e))}(e)}void 0!==(r=function(){return _}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){e.exports=function(){"use strict";var e=function(e,t){return function(e){var t=e.exports=function(){return new RegExp("(?:"+t.line().source+")|(?:"+t.block().source+")","gm")};t.line=function(){return/(?:^|\s)\/\/(.+?)$/gm},t.block=function(){return/\/\*([\S\s]*?)\*\//gm}}(t={exports:{}}),t.exports}(),t=["23AC69","91C132","F19726","E8552D","1AAB8E","E1147F","2980C1","1BA1E6","9FA0A0","F19726","E30B20","E30B20","A3338B"];return function(n,r){void 0===r&&(r={});var i=r.colors;void 0===i&&(i=t);var o=0,s={},a=new RegExp("("+/[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af\u0400-\u04FF]+|\w+/.source+"|"+/'+e+""}(n);if("<"===t)return"<";var r;s[t]?r=s[t]:(r=i[o],s[t]=r);var a=''+t+"";return o=++o%i.length,a}))}}()},function(e,t,n){(function(t){!function(t){"use strict";function n(e){this.tokens=[],this.tokens.links={},this.options=e||p.defaults,this.rules=v.normal,this.options.pedantic?this.rules=v.pedantic:this.options.gfm&&(this.options.tables?this.rules=v.tables:this.rules=v.gfm)}function r(e,t){if(this.options=t||p.defaults,this.links=e,this.rules=g.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=g.pedantic:this.options.gfm&&(this.options.breaks?this.rules=g.breaks:this.rules=g.gfm)}function i(e){this.options=e||p.defaults}function o(){}function s(e){this.tokens=[],this.token=null,this.options=e||p.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function u(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}function c(e,t){return e=e.source||e,t=t||"",{replace:function(t,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function l(e,t){return m[" "+e]||(/^[^:]+:\/*[^\/]*$/.test(e)?m[" "+e]=e+"/":m[" "+e]=e.replace(/[^\/]*$/,"")),e=m[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^\/]*)[\s\S]*/,"$1")+t:e+t}function h(){}function f(e){for(var t,n,r=1;rt)n.splice(t);else for(;n.lengthAn error occurred:

"+a(e.message+"",!0)+"
";throw e}}var v={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:h,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:h,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)|(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:h,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};v.def=c(v.def).replace("label",v._label).replace("title",v._title).getRegex(),v.bullet=/(?:[*+-]|\d+\.)/,v.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,v.item=c(v.item,"gm").replace(/bull/g,v.bullet).getRegex(),v.list=c(v.list).replace(/bull/g,v.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+v.def.source+")").getRegex(),v._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",v._comment=//,v.html=c(v.html,"i").replace("comment",v._comment).replace("tag",v._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),v.paragraph=c(v.paragraph).replace("hr",v.hr).replace("heading",v.heading).replace("lheading",v.lheading).replace("tag",v._tag).getRegex(),v.blockquote=c(v.blockquote).replace("paragraph",v.paragraph).getRegex(),v.normal=f({},v),v.gfm=f({},v.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),v.gfm.paragraph=c(v.paragraph).replace("(?!","(?!"+v.gfm.fences.source.replace("\\1","\\2")+"|"+v.list.source.replace("\\1","\\3")+"|").getRegex(),v.tables=f({},v.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),v.pedantic=f({},v.normal,{html:c("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",v._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),n.rules=v,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,t){e=e.replace(/^ +$/gm,"");for(var n,r,i,o,s,a,u,c,l,h,f,p,g;e;)if((i=this.rules.newline.exec(e))&&(e=e.substring(i[0].length),i[0].length>1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(e))e=e.substring(i[0].length),i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?i:i.replace(/\n+$/,"")});else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2],text:i[3]||""});else if(i=this.rules.heading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if(t&&(i=this.rules.nptable.exec(e))&&(a={type:"table",header:d(i[1].replace(/^ *| *\| *$/g,"")),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3]?i[3].replace(/\n$/,"").split("\n"):[]}).header.length===a.align.length){for(e=e.substring(i[0].length),c=0;c ?/gm,""),this.token(i,t),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(e)){for(e=e.substring(i[0].length),f=(o=i[2]).length>1,this.tokens.push({type:"list_start",ordered:f,start:f?+o:""}),n=!1,h=(i=i[0].match(this.rules.item)).length,c=0;c1&&s.length>1||(e=i.slice(c+1).join("\n")+e,c=h-1)),r=n||/\n\n(?!\s*$)/.test(a),c!==h-1&&(n="\n"===a.charAt(a.length-1),r||(r=n)),g=void 0,(p=/^\[[ xX]\] /.test(a))&&(g=" "!==a[1],a=a.replace(/^\[[ xX]\] +/,"")),this.tokens.push({type:r?"loose_item_start":"list_item_start",task:p,checked:g}),this.token(a,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(i=this.rules.html.exec(e))e=e.substring(i[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===i[1]||"script"===i[1]||"style"===i[1]),text:i[0]});else if(t&&(i=this.rules.def.exec(e)))e=e.substring(i[0].length),i[3]&&(i[3]=i[3].substring(1,i[3].length-1)),l=i[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[l]||(this.tokens.links[l]={href:i[2],title:i[3]});else if(t&&(i=this.rules.table.exec(e))&&(a={type:"table",header:d(i[1].replace(/^ *| *\| *$/g,"")),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3]?i[3].replace(/(?: *\| *)?\n$/,"").split("\n"):[]}).header.length===a.align.length){for(e=e.substring(i[0].length),c=0;c?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:h,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)|^__([^\s])__(?!_)|^\*\*([^\s])\*\*(?!\*)/,em:/^_([^\s][\s\S]*?[^\s_])_(?!_)|^_([^\s_][\s\S]*?[^\s])_(?!_)|^\*([^\s][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*][\s\S]*?[^\s])\*(?!\*)|^_([^\s_])_(?!_)|^\*([^\s*])\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:h,text:/^[\s\S]+?(?=[\\?@\[\]\\^_`{|}~])/g,_scheme:/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,_email:/[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/};g.autolink=c(g.autolink).replace("scheme",g._scheme).replace("email",g._email).getRegex(),g._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,g.tag=c(g.tag).replace("comment",v._comment).replace("attribute",g._attribute).getRegex(),g._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?/,g._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|(?:\\[()]?|\([^\s\x00-\x1f()\\]*\)|[^\s\x00-\x1f()\\])*?)/,g._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,g.link=c(g.link).replace("label",g._label).replace("href",g._href).replace("title",g._title).getRegex(),g.reflink=c(g.reflink).replace("label",g._label).getRegex(),g.normal=f({},g),g.pedantic=f({},g.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:c(/^!?\[(label)\]\((.*?)\)/).replace("label",g._label).getRegex(),reflink:c(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",g._label).getRegex()}),g.gfm=f({},g.normal,{escape:c(g.escape).replace("])","~|])").getRegex(),url:c(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",g._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:c(g.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),g.breaks=f({},g.gfm,{br:c(g.br).replace("{2,}","*").getRegex(),text:c(g.gfm.text).replace("{2,}","*").getRegex()}),r.rules=g,r.output=function(e,t,n){return new r(t,n).output(e)},r.prototype.output=function(e){for(var t,n,i,o,s,u="";e;)if(s=this.rules.escape.exec(e))e=e.substring(s[0].length),u+=s[1];else if(s=this.rules.autolink.exec(e))e=e.substring(s[0].length),i="@"===s[2]?"mailto:"+(n=a(this.mangle(s[1]))):n=a(s[1]),u+=this.renderer.link(i,null,n);else if(this.inLink||!(s=this.rules.url.exec(e))){if(s=this.rules.tag.exec(e))!this.inLink&&/^/i.test(s[0])&&(this.inLink=!1),e=e.substring(s[0].length),u+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(s[0]):a(s[0]):s[0];else if(s=this.rules.link.exec(e))e=e.substring(s[0].length),this.inLink=!0,i=s[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i))?(i=t[1],o=t[3]):o="":o=s[3]?s[3].slice(1,-1):"",i=i.trim().replace(/^<([\s\S]*)>$/,"$1"),u+=this.outputLink(s,{href:r.escapes(i),title:r.escapes(o)}),this.inLink=!1;else if((s=this.rules.reflink.exec(e))||(s=this.rules.nolink.exec(e))){if(e=e.substring(s[0].length),t=(s[2]||s[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){u+=s[0].charAt(0),e=s[0].substring(1)+e;continue}this.inLink=!0,u+=this.outputLink(s,t),this.inLink=!1}else if(s=this.rules.strong.exec(e))e=e.substring(s[0].length),u+=this.renderer.strong(this.output(s[4]||s[3]||s[2]||s[1]));else if(s=this.rules.em.exec(e))e=e.substring(s[0].length),u+=this.renderer.em(this.output(s[6]||s[5]||s[4]||s[3]||s[2]||s[1]));else if(s=this.rules.code.exec(e))e=e.substring(s[0].length),u+=this.renderer.codespan(a(s[2].trim(),!0));else if(s=this.rules.br.exec(e))e=e.substring(s[0].length),u+=this.renderer.br();else if(s=this.rules.del.exec(e))e=e.substring(s[0].length),u+=this.renderer.del(this.output(s[1]));else if(s=this.rules.text.exec(e))e=e.substring(s[0].length),u+=this.renderer.text(a(this.smartypants(s[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else s[0]=this.rules._backpedal.exec(s[0])[0],e=e.substring(s[0].length),"@"===s[2]?i="mailto:"+(n=a(s[0])):(n=a(s[0]),i="www."===s[1]?"http://"+n:n),u+=this.renderer.link(i,null,n);return u},r.escapes=function(e){return e?e.replace(r.rules._escapes,"$1"):e},r.prototype.outputLink=function(e,t){var n=t.href,r=t.title?a(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,a(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'
'+(n?e:a(e,!0))+"
\n":"
"+(n?e:a(e,!0))+"
"},i.prototype.blockquote=function(e){return"
\n"+e+"
\n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return this.options.headerIds?"'+e+"\n":""+e+"\n"},i.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},i.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},i.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},i.prototype.checkbox=function(e){return" "},i.prototype.paragraph=function(e){return"

    "+e+"

    \n"},i.prototype.table=function(e,t){return t&&(t=""+t+""),"\n\n"+e+"\n"+t+"
    \n"},i.prototype.tablerow=function(e){return"\n"+e+"\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"\n"},i.prototype.strong=function(e){return""+e+""},i.prototype.em=function(e){return""+e+""},i.prototype.codespan=function(e){return""+e+""},i.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},i.prototype.del=function(e){return""+e+""},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(u(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!_.test(e)&&(e=l(this.options.baseUrl,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return n}var i='
    "+n+""},i.prototype.image=function(e,t,n){this.options.baseUrl&&!_.test(e)&&(e=l(this.options.baseUrl,e));var r=''+n+'":">")},i.prototype.text=function(e){return e},o.prototype.strong=o.prototype.em=o.prototype.codespan=o.prototype.del=o.prototype.text=function(e){return e},o.prototype.link=o.prototype.image=function(e,t,n){return""+n},o.prototype.br=function(){return""},s.parse=function(e,t){return new s(t).parse(e)},s.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,f({},this.options,{renderer:new o})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},s.prototype.next=function(){return this.token=this.tokens.pop()},s.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},s.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},s.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,u(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e (https://github.com/xCss)",scripts:{test:"webpack",build:"webpack",dev:"webpack-dev-server --env.dev",clean:"rm -rf dist/* "},keywords:["simple","easy-to-use","fast-and-safe","comment-system"],license:"GPL-2.0",repository:{type:"git",url:"git+https://github.com/xcss/Valine.git"},homepage:"https://github.com/xcss/Valine#readme",devDependencies:{autoprefixer:"^7.1.1",autosize:"^4.0.2","babel-core":"^6.25.0","babel-loader":"^7.1.1","babel-polyfill":"^6.23.0","babel-preset-es2015":"^6.24.1","babel-preset-stage-0":"^6.24.1","blueimp-md5":"^2.8.0","css-loader":"^0.28.4","exports-loader":"^0.6.3","file-loader":"^0.11.2",hanabi:"^0.4.0",marked:"^0.4.0","node-sass":"^4.9.2","postcss-loader":"^2.0.5","sass-loader":"^6.0.3","style-loader":"^0.18.2","url-loader":"^0.6.2",webpack:"^2.6.1","webpack-cli":"^3.3.0","webpack-dev-server":"^2.9.1"}}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){e.exports={grinning:"😀",smiley:"😃",smile:"😄",grin:"😁",laughing:"😆",sweat_smile:"😅",joy:"😂",blush:"😊",innocent:"😇",wink:"😉",relieved:"😌",heart_eyes:"😍",kissing_heart:"😘",kissing:"😗",kissing_smiling_eyes:"😙",kissing_closed_eyes:"😚",yum:"😋",stuck_out_tongue_winking_eye:"😜",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue:"😛",sunglasses:"😎",smirk:"😏",unamused:"😒",disappointed:"😞",pensive:"😔",worried:"😟",confused:"😕",persevere:"😣",confounded:"😖",tired_face:"😫",weary:"😩",angry:"😠",rage:"😡",no_mouth:"😶",neutral_face:"😐",expressionless:"😑",hushed:"😯",frowning:"😦",anguished:"😧",open_mouth:"😮",astonished:"😲",dizzy_face:"😵",flushed:"😳",scream:"😱",fearful:"😨",cold_sweat:"😰",cry:"😢",disappointed_relieved:"😥",sob:"😭",sweat:"😓",sleepy:"😪",sleeping:"😴",mask:"😷",smiling_imp:"😈",smiley_cat:"😺",smile_cat:"😸",joy_cat:"😹",heart_eyes_cat:"😻",smirk_cat:"😼",kissing_cat:"😽",scream_cat:"🙀",crying_cat_face:"😿",pouting_cat:"😾",cat:"🐱",mouse:"🐭",cow:"🐮",monkey_face:"🐵",hand:"✋",fist:"✊",v:"✌️",point_up:"👆",point_down:"👇",point_left:"👈",point_right:"👉",facepunch:"👊",wave:"👋",clap:"👏",open_hands:"👐","+1":"👍","-1":"👎",ok_hand:"👌",pray:"🙏",ear:"👂",eyes:"👀",nose:"👃",lips:"👄",tongue:"👅",heart:"❤️",cupid:"💘",sparkling_heart:"💖",star:"⭐️",sparkles:"✨",zap:"⚡️",sunny:"☀️",cloud:"☁️",snowflake:"❄️",umbrella:"☔️",coffee:"☕️",airplane:"✈️",anchor:"⚓️",watch:"⌚️",phone:"☎️",hourglass:"⌛️",email:"✉️",scissors:"✂️",black_nib:"✒️",pencil2:"✏️",x:"❌",recycle:"♻️",white_check_mark:"✅",negative_squared_cross_mark:"❎",m:"Ⓜ️",i:"ℹ️",tm:"™️",copyright:"©️",registered:"®️"}},function(e,t,n){var r=n(13);"string"==typeof r&&(r=[[e.i,r,""]]);var i={transform:void 0};n(15)(r,i),r.locals&&(e.exports=r.locals)},function(e,t,n){(e.exports=n(14)(!1)).push([e.i,'.v *{-webkit-box-sizing:border-box;box-sizing:border-box;line-height:2;color:#555;-webkit-transition:all .3s ease;transition:all .3s ease}.v hr{margin:.825rem 0;border-color:#f6f6f6;border-style:dashed}.v.hide-avatar .vimg{display:none}.v a{position:relative;cursor:pointer;color:#1abc9c;display:inline-block}.v a:before{content:"";position:absolute;width:0;right:0;bottom:0;height:1px;background:#1abc9c;-webkit-transition:width .3s ease;transition:width .3s ease}.v a:hover{color:#d7191a}.v a:hover:before{width:100%;left:0;right:auto}.v code,.v pre{background-color:#f6f6f6;color:#555;padding:.2em .4em;border-radius:3px;font-size:85%;margin:0;font-family:Source Code Pro,courier new,Input Mono,PT Mono,SFMono-Regular,Consolas,Monaco,Menlo,PingFang SC,Liberation Mono,Microsoft YaHei,Courier,monospace}.v pre{padding:10px;overflow:auto;line-height:1.45}.v pre code{padding:0;background:transparent;white-space:pre-wrap;word-break:keep-all}.v blockquote{color:#666;margin:.5rem 0;padding:0 0 0 1rem;border-left:8px solid hsla(0,0%,93%,.5)}.v .vinput{border:none;resize:none;outline:none;padding:10px 5px;max-width:100%;font-size:.775rem}.v input[type=checkbox],.v input[type=radio]{display:inline-block;vertical-align:middle;margin-top:-2px}.v .vwrap{border:1px solid #f0f0f0;border-radius:4px;margin-bottom:10px;overflow:hidden;position:relative;padding:10px}.v .vwrap input{background:transparent}.v .vwrap .vedit{position:relative;padding-top:10px}.v .vwrap .vedit .vctrl{text-align:right;font-size:12px}.v .vwrap .vedit .vctrl span{padding:10px;display:inline-block;vertical-align:middle;cursor:pointer}.v .vwrap .vedit .vemojis{display:none;font-size:18px;text-align:justify;max-height:145px;overflow:auto;margin-bottom:10px;-webkit-box-shadow:0 0 1px #f0f0f0;box-shadow:0 0 1px #f0f0f0}.v .vwrap .vedit .vemojis i{font-style:normal;padding:7px 0;width:38px;cursor:pointer;text-align:center;display:inline-block;vertical-align:middle}.v .vwrap .vedit .vpreview{padding:7px;-webkit-box-shadow:0 0 1px #f0f0f0;box-shadow:0 0 1px #f0f0f0}.v .vwrap .vedit .vpreview frame,.v .vwrap .vedit .vpreview iframe,.v .vwrap .vedit .vpreview img{max-width:100%;border:none}.v .vwrap .vheader .vinput{width:33.33%;border-bottom:1px dashed #dedede}.v .vwrap .vheader.item2 .vinput{width:50%}.v .vwrap .vheader.item1 .vinput{width:100%}.v .vwrap .vheader .vinput:focus{border-bottom-color:#eb5055}@media screen and (max-width:520px){.v .vwrap .vheader.item2 .vinput,.v .vwrap .vheader .vinput{width:100%}}.v .vwrap .vcontrol{font-size:0;padding-top:15px}.v .vwrap .vcontrol .col{display:inline-block;font-size:.725rem;vertical-align:middle;color:#ccc}.v .vwrap .vcontrol .col.text-right{text-align:right}.v .vwrap .vcontrol .col svg{margin-right:2px;overflow:hidden;fill:currentColor;vertical-align:middle}.v .vwrap .vcontrol .col.col-20{width:20%}.v .vwrap .vcontrol .col.col-40{width:40%}.v .vwrap .vcontrol .col.col-60{width:60%}.v .vwrap .vcontrol .col.col-80{width:80%}.v .vwrap .vcontrol .col.split{width:50%}.v .vwrap .vmark{position:absolute;background:rgba(0,0,0,.65);width:100%;height:100%;left:0;top:0}.v .vwrap .vmark .valert{padding-top:3rem}.v .vwrap .vmark .valert .vtext{color:#fff;padding:1rem 0}.v .vwrap .vmark .valert .vcode{width:4.6875rem;border-radius:.3125rem;padding:.5rem;background:#dedede}.v .vwrap .vmark .valert .vcode:focus{border-color:#3090e4;background-color:#fff}@media screen and (max-width:720px){.v .vwrap .vmark .valert{padding-top:5.5rem}.v .vwrap .vmark .valert .vtext{color:#fff;padding:1rem 0}}.v .power{color:#999;padding:.5rem 0}.v .power,.v .power a{font-size:.75rem}.v .vinfo{font-size:0;padding:5px}.v .vinfo .col{font-size:.875rem;display:inline-block;width:50%;vertical-align:middle}.v .vinfo .vcount .vnum{font-weight:600;font-size:1.25rem}.v a{text-decoration:none;color:#555}.v a:hover{color:#222}.v ol,.v ul{padding:0;margin-left:1.25rem}.v .txt-center{text-align:center}.v .txt-right{text-align:right}.v .pd5{padding:5px}.v .pd10{padding:10px}.v .veditor{width:100%;min-height:8.75rem;font-size:.875rem;background:transparent;resize:vertical;-webkit-transition:all .25s ease;transition:all .25s ease}.v .vbtn{-webkit-transition-duration:.4s;transition-duration:.4s;text-align:center;color:#313131;border:1px solid #ededed;border-radius:.3rem;display:inline-block;background:#ededed;margin-bottom:0;font-weight:400;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;white-space:nowrap;padding:.5rem 1.25rem;font-size:.875rem;line-height:1.42857143;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.v .vbtn+.vbtn{margin-left:1.25rem}.v .vbtn:active,.v .vbtn:hover{color:#3090e4;border-color:#3090e4;background-color:#fff}.v .vempty{padding:1.25rem;text-align:center;color:#999}.v .vlist{width:100%}.v .vlist .vcard{padding-top:1.5rem;position:relative;display:block}.v .vlist .vcard:after{content:"";clear:both;display:block}.v .vlist .vcard .vimg{width:3.125rem;height:3.125rem;float:left;border-radius:50%;margin-right:.7525rem;border:1px solid #f5f5f5;padding:.125rem}@media screen and (max-width:720px){.v .vlist .vcard .vimg{width:2.5rem;height:2.5rem}}.v .vlist .vcard .vhead{line-height:1.5;margin-top:0}.v .vlist .vcard .vhead .vnick{position:relative;font-size:.875rem;font-weight:500;margin-right:.875rem;cursor:pointer;color:#1abc9c;text-decoration:none;display:inline-block}.v .vlist .vcard .vhead .vnick:before{content:"";position:absolute;width:0;right:0;bottom:0;height:1px;background:#1abc9c;-webkit-transition:width .3s ease;transition:width .3s ease}.v .vlist .vcard .vhead .vnick:hover{color:#d7191a}.v .vlist .vcard .vhead .vnick:hover:before{width:100%;left:0;right:auto}.v .vlist .vcard .vhead .vsys{display:inline-block;padding:.2rem .5rem;background:#ededed;color:#b3b1b1;font-size:.75rem;border-radius:.2rem;margin-right:.3rem}@media screen and (max-width:520px){.v .vlist .vcard .vhead .vsys{display:none}}.v .vlist .vcard .vh{overflow:hidden;padding-bottom:.5rem;border-bottom:1px dashed #f5f5f5}.v .vlist .vcard .vh .vtime{color:#b3b3b3;font-size:.75rem;margin-right:.875rem}.v .vlist .vcard .vh .vmeta{line-height:1;position:relative}.v .vlist .vcard .vh .vmeta .vat{font-size:.8125rem;color:#ef2f11;cursor:pointer;float:right}.v .vlist .vcard:last-child .vh{border-bottom:none}.v .vlist .vcard .vcontent{word-wrap:break-word;word-break:break-all;text-align:justify;color:#4a4a4a;font-size:.875rem;line-height:2;position:relative;margin-bottom:.75rem;padding-top:.625rem}.v .vlist .vcard .vcontent frame,.v .vlist .vcard .vcontent iframe,.v .vlist .vcard .vcontent img{max-width:100%;border:none}.v .vlist .vcard .vcontent.expand{cursor:pointer;max-height:11.25rem;overflow:hidden}.v .vlist .vcard .vcontent.expand:before{display:block;content:"";position:absolute;width:100%;left:0;top:0;bottom:3.15rem;pointer-events:none;background:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,100%,0)),to(hsla(0,0%,100%,.9)));background:linear-gradient(180deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.9))}.v .vlist .vcard .vcontent.expand:after{display:block;content:"Click on expand";text-align:center;color:#828586;position:absolute;width:100%;height:3.15rem;line-height:3.15rem;left:0;bottom:0;pointer-events:none;background:hsla(0,0%,100%,.9)}.v .vlist .vcard .vquote{color:#666;margin-top:1rem;padding-left:1rem;border-left:1px dashed hsla(0,0%,93%,.5)}.v .vlist .vcard .vquote .vimg{width:2.225rem;height:2.225rem}.v .vpage .vmore{margin:1rem 0}.v .clear{content:"";display:block;clear:both}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes pulse{50%{background:#dcdcdc}}@keyframes pulse{50%{background:#dcdcdc}}.v .vloading{position:relative;padding:20px;display:block;height:80px}.v .vloading:before{-webkit-box-sizing:border-box;box-sizing:border-box;content:"";position:absolute;display:inline-block;top:20px;left:50%;margin-left:-20px;width:40px;height:40px;border:6px double #a0a0a0;border-top-color:transparent;border-bottom-color:transparent;border-radius:50%;-webkit-animation:spin 1s infinite linear;animation:spin 1s infinite linear}',""])},function(e,t){function n(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r);return[n].concat(r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}))).concat([i]).join("\n")}return[n].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i=0&&b.splice(t,1)}function a(e){var t=document.createElement("style");return e.attrs.type="text/css",c(t,e.attrs),o(e,t),t}function u(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",c(t,e.attrs),o(e,t),t}function c(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function l(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var c=_++;n=m||(m=a(t)),r=h.bind(null,n,c,!1),i=h.bind(null,n,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=u(t),r=d.bind(null,n,t),i=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(t),r=f.bind(null,n),i=function(){s(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function h(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=w(t,i);else{var o=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function f(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=y(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var s=new Blob([r],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}var p={},v=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}((function(){return window&&document&&document.all&&!window.atob})),g=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e.call(this,n)),t[n]}}((function(e){return document.querySelector(e)})),m=null,_=0,b=[],y=n(16);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=v()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=i(e,t);return r(n,t),function(e){for(var o=[],s=0;s=0&&t<=A};m.each=m.forEach=function(e,t,n){var r,i;if(t=b(t,n),E(e))for(r=0,i=e.length;r0?0:s-1;for(i||(r=t[o?o[a]:a],a+=e);a>=0&&a=3;return t(e,b(n,i,4),r,o)}};m.reduce=m.foldl=m.inject=T(1),m.reduceRight=m.foldr=T(-1),m.find=m.detect=function(e,t,n){var r=(E(e)?m.findIndex:m.findKey)(e,t,n);if(void 0!==r&&-1!==r)return e[r]},m.filter=m.select=function(e,t,n){var r=[];return t=y(t,n),m.each(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r},m.reject=function(e,t,n){return m.filter(e,m.negate(y(t)),n)},m.every=m.all=function(e,t,n){t=y(t,n);for(var r=!E(e)&&m.keys(e),i=(r||e).length,o=0;o=0},m.invoke=w((function(e,t,n){var r,i;return m.isFunction(t)?i=t:m.isArray(t)&&(r=t.slice(0,-1),t=t[t.length-1]),m.map(e,(function(e){var o=i;if(!o){if(r&&r.length&&(e=S(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)}))})),m.pluck=function(e,t){return m.map(e,m.property(t))},m.where=function(e,t){return m.filter(e,m.matcher(t))},m.findWhere=function(e,t){return m.find(e,m.matcher(t))},m.max=function(e,t,n){var r,i,o=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,u=(e=E(e)?e:m.values(e)).length;ao&&(o=r);else t=y(t,n),m.each(e,(function(e,n,r){((i=t(e,n,r))>s||i===-1/0&&o===-1/0)&&(o=e,s=i)}));return o},m.min=function(e,t,n){var r,i,o=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e)for(var a=0,u=(e=E(e)?e:m.values(e)).length;ar||void 0===n)return 1;if(n0?0:i-1;o>=0&&o0?s=o>=0?o:Math.max(o+a,s):a=o>=0?Math.min(o+1,a):o+a+1;else if(n&&o&&a)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=t(l.call(r,s,a),m.isNaN))>=0?o+s:-1;for(o=e>0?s:a-1;o>=0&&ot?(r&&(clearTimeout(r),r=null),a=c,s=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(u,l)),s};return c.cancel=function(){clearTimeout(r),a=0,r=i=o=null},c},m.debounce=function(e,t,n){var r,i,o=function(t,n){r=null,n&&(i=e.apply(t,n))},s=w((function(s){if(r&&clearTimeout(r),n){var a=!r;r=setTimeout(o,t),a&&(i=e.apply(this,s))}else r=m.delay(o,t,this,s);return i}));return s.cancel=function(){clearTimeout(r),r=null},s},m.wrap=function(e,t){return m.partial(t,e)},m.negate=function(e){return function(){return!e.apply(this,arguments)}},m.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},m.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},m.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},m.once=m.partial(m.before,2),m.restArguments=w;var L=!{toString:null}.propertyIsEnumerable("toString"),D=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],$=function(e,t){var n=D.length,r=e.constructor,i=m.isFunction(r)&&r.prototype||a,o="constructor";for(k(e,o)&&!m.contains(t,o)&&t.push(o);n--;)(o=D[n])in e&&e[o]!==i[o]&&!m.contains(t,o)&&t.push(o)};m.keys=function(e){if(!m.isObject(e))return[];if(p)return p(e);var t=[];for(var n in e)k(e,n)&&t.push(n);return L&&$(e,t),t},m.allKeys=function(e){if(!m.isObject(e))return[];var t=[];for(var n in e)t.push(n);return L&&$(e,t),t},m.values=function(e){for(var t=m.keys(e),n=t.length,r=Array(n),i=0;i1&&(r=b(r,t[1])),t=m.allKeys(e)):(r=B,t=I(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i1&&(n=t[1])):(t=m.map(I(t,!1,!1),String),r=function(e,n){return!m.contains(t,n)}),m.pick(e,r,n)})),m.defaults=F(m.allKeys,!0),m.create=function(e,t){var n=x(e);return t&&m.extendOwn(n,t),n},m.clone=function(e){return m.isObject(e)?m.isArray(e)?e.slice():m.extend({},e):e},m.tap=function(e,t){return t(e),e},m.isMatch=function(e,t){var n=m.keys(t),r=n.length;if(null==e)return!r;for(var i=Object(e),o=0;o":">",'"':""","'":"'","`":"`"},V=m.invert(z),Q=function(e){var t=function(t){return e[t]},n="(?:"+m.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};m.escape=Q(z),m.unescape=Q(V),m.result=function(e,t,n){m.isArray(t)||(t=[t]);var r=t.length;if(!r)return m.isFunction(n)?n.call(e):n;for(var i=0;i/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var K=/(.)^/,J={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},G=/\\|'|\r|\n|\u2028|\u2029/g,X=function(e){return"\\"+J[e]};m.template=function(e,t,n){!t&&n&&(t=n),t=m.defaults({},t,m.templateSettings);var r,i=RegExp([(t.escape||K).source,(t.interpolate||K).source,(t.evaluate||K).source].join("|")+"|$","g"),o=0,s="__p+='";e.replace(i,(function(t,n,r,i,a){return s+=e.slice(o,a).replace(G,X),o=a+t.length,n?s+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?s+="'+\n((__t=("+r+"))==null?'':__t)+\n'":i&&(s+="';\n"+i+"\n__p+='"),t})),s+="';\n",t.variable||(s="with(obj||{}){\n"+s+"}\n"),s="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+s+"return __p;\n";try{r=new Function(t.variable||"obj","_",s)}catch(e){throw e.source=s,e}var a=function(e){return r.call(this,e,m)};return a.source="function("+(t.variable||"obj")+"){\n"+s+"}",a},m.chain=function(e){var t=m(e);return t._chain=!0,t};var Y=function(e,t){return e._chain?m(t).chain():t};m.mixin=function(e){return m.each(m.functions(e),(function(t){var n=m[t]=e[t];m.prototype[t]=function(){var e=[this._wrapped];return c.apply(e,arguments),Y(this,n.apply(m,e))}})),m},m.mixin(m),m.each(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=s[e];m.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],Y(this,n)}})),m.each(["concat","join","slice"],(function(e){var t=s[e];m.prototype[e]=function(){return Y(this,t.apply(this._wrapped,arguments))}})),m.prototype.value=function(){return this._wrapped},m.prototype.valueOf=m.prototype.toJSON=m.prototype.value,m.prototype.toString=function(){return String(this._wrapped)},void 0!==(r=function(){return m}.apply(t,[]))&&(n.exports=r)}()}).call(t,n(7),n(17)(e))},function(e,t,n){"use strict";var r=n(29).Promise;r._continueWhile=function(e,t){return e()?t().then((function(){return r._continueWhile(e,t)})):r.resolve()},e.exports=r},function(e,t,n){"use strict";var r=n(0),i=n(44),o=n(0).extend,s=n(1),a=n(5),u=n(3),c=u.getSessionToken,l=u.ajax,h=function(e,t){var n=(new Date).getTime(),r=i(n+e);return t?r+","+n+",master":r+","+n},f=function(e,t){t?e["X-LC-Sign"]=h(a.applicationKey):e["X-LC-Key"]=a.applicationKey},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n={"X-LC-Id":a.applicationId,"Content-Type":"application/json;charset=UTF-8"},r=!1;return"boolean"==typeof e.useMasterKey?r=e.useMasterKey:"boolean"==typeof a._config.useMasterKey&&(r=a._config.useMasterKey),r?a.masterKey?t?n["X-LC-Sign"]=h(a.masterKey,!0):n["X-LC-Key"]=a.masterKey+",master":(console.warn("masterKey is not set, fall back to use appKey"),f(n,t)):f(n,t),a.hookKey&&(n["X-LC-Hook-Key"]=a.hookKey),null!==a._config.production&&(n["X-LC-Prod"]=String(a._config.production)),n["X-LC-UA"]=a._sharedConfig.userAgent,s.resolve().then((function(){var t=c(e);if(t)n["X-LC-Session"]=t;else if(!a._config.disableCurrentUser)return a.User.currentAsync().then((function(e){return e&&e._sessionToken&&(n["X-LC-Session"]=e._sessionToken),n}));return n}))},p=function(e){var t=e.service,n=e.version,i=e.method,o=e.path,s=e.query,u=e.data,c=e.authOptions,h=e.signKey,f=void 0===h||h;if(!a.applicationId||!a.applicationKey&&!a.masterKey)throw new Error("Not initialized");a._appRouter.refresh();var p=a._config.requestTimeout,v=function(e){var t=e.service,n=void 0===t?"api":t,r=e.version,i=void 0===r?"1.1":r,o=e.path,s=a._config.serverURLs[n];if(!s)throw new Error("undefined server URL for "+n);return"/"!==s.charAt(s.length-1)&&(s+="/"),s+=i,o&&(s+=o),s}({service:t,path:o,version:n});return d(c,f).then((function(e){return l({method:i,url:v,query:s,data:u,headers:e,timeout:p}).catch((function(e){var t={code:e.code||-1,error:e.message||e.responseText};if(e.response&&e.response.code)t=e.response;else if(e.responseText)try{t=JSON.parse(e.responseText)}catch(e){}t.rawMessage=t.rawMessage||t.error,a._sharedConfig.keepErrorRawMessage||(t.error+=" ["+(e.statusCode||"N/A")+" "+i+" "+v+"]");var n=new Error(t.error);throw delete t.error,r.extend(n,t)}))}))};a.request=p,e.exports={_request:function(e,t,n,r,i,s,a){var u="";if(e&&(u+="/"+e),t&&(u+="/"+t),n&&(u+="/"+n),i&&i._fetchWhenSave)throw new Error("_fetchWhenSave should be in the query");if(i&&i._where)throw new Error("_where should be in the query");return r&&"get"===r.toLowerCase()&&(a=o({},a,i),i=null),p({method:r,path:u,query:a,data:i,authOptions:s})},request:p}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(0),o=n(8),s=n(6),a=s("leancloud:request"),u=s("leancloud:request:error"),c=n(1),l=0,h=function(e){return i.isArray(e)?e:null==e?[]:[e]},f=function(){};e.exports={ajax:function(e){var t=e.method,n=e.url,i=e.query,h=e.data,f=e.headers,d=void 0===f?{}:f,p=e.onprogress,v=e.timeout,g={};if(i)for(var m in i){var _=i[m];void 0!==_&&("object"===(void 0===_?"undefined":r(_))?g[m]=JSON.stringify(_):g[m]=_)}var b=l++;return a("request(%d) %s %s %o %o %o",b,t,n,g,h,d),new c((function(e,r){var c=o(t,n).set(d).query(g).send(h);p&&c.on("progress",p),v&&c.timeout(v),c.end((function(o,c){return o?(c&&(s.enabled("leancloud:request")||u("request(%d) %s %s %o %o %o",b,t,n,i,h,d),u("response(%d) %d %O %o",b,c.status,c.body||c.text,c.header),o.statusCode=c.status,o.responseText=c.text,o.response=c.body),r(o)):(a("response(%d) %d %O %o",b,c.status,c.body||c.text,c.header),e(c.body))}))}))},isNullOrUndefined:function(e){return i.isNull(e)||i.isUndefined(e)},ensureArray:h,transformFetchOptions:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.keys,n=e.include,r=e.includeACL,i={};return t&&(i.keys=h(t).join(",")),n&&(i.include=h(n).join(",")),r&&(i.returnACL=r),i},getSessionToken:function(e){return e.sessionToken?e.sessionToken:e.user&&"function"==typeof e.user.getSessionToken?e.user.getSessionToken():void 0},tap:function(e){return function(t){return e(t),t}},inherits:function(e,t,n){var r;return r=t&&t.hasOwnProperty("constructor")?t.constructor:function(){e.apply(this,arguments)},i.extend(r,e),f.prototype=e.prototype,r.prototype=new f,t&&i.extend(r.prototype,t),n&&i.extend(r,n),r.prototype.constructor=r,r.__super__=e.prototype,r},parseDate:function(e){var t=new RegExp("^([0-9]{1,4})-([0-9]{1,2})-([0-9]{1,2})T([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})(.([0-9]+))?Z$").exec(e);if(!t)return null;var n=t[1]||0,r=(t[2]||1)-1,i=t[3]||0,o=t[4]||0,s=t[5]||0,a=t[6]||0,u=t[8]||0;return new Date(Date.UTC(n,r,i,o,s,a,u))},setValue:function(e,t,n){var r=t.split("."),i=r.pop(),o=e;return r.forEach((function(e){void 0===o[e]&&(o[e]={}),o=o[e]})),o[i]=n,e},findValue:function(e,t){for(var n=t.split("."),r=n[0],i=n.pop(),o=e,s=0;s0&&void 0!==arguments[0]?arguments[0]:l._getAVPath("subscriptionId"),t=l._subscriptionId=i();return l.localStorage.setItemAsync(e,t).then((function(){return t}))},l._getSubscriptionId=function(){if(l._subscriptionId)return c.resolve(l._subscriptionId);var e=l._getAVPath("subscriptionId");return l.localStorage.getItemAsync(e).then((function(t){return l._subscriptionId=t,l._subscriptionId||(t=l._refreshSubscriptionId(e)),t}))},l._parseDate=u,l._extend=function(e,t){var n=a(this,e,t);return n.extend=this.extend,n},l._encode=function(e,t,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e instanceof l.Object){if(n)throw new Error("AV.Objects not allowed here");return t&&!r.include(t,e)&&e._hasData?e._toFullJSON(t.concat(e),i):e._toPointer()}if(e instanceof l.ACL)return e.toJSON();if(r.isDate(e))return i?{__type:"Date",iso:e.toJSON()}:e.toJSON();if(e instanceof l.GeoPoint)return e.toJSON();if(r.isArray(e))return r.map(e,(function(e){return l._encode(e,t,n,i)}));if(r.isRegExp(e))return e.source;if(e instanceof l.Relation)return e.toJSON();if(e instanceof l.Op)return e.toJSON();if(e instanceof l.File){if(!e.url()&&!e.id)throw new Error("Tried to save an object containing an unsaved file.");return e._toFullJSON(t,i)}return r.isObject(e)?r.mapObject(e,(function(e,r){return l._encode(e,t,n,i)})):e},l._decode=function(e,t){if(!r.isObject(e)||r.isDate(e))return e;if(r.isArray(e))return r.map(e,(function(e){return l._decode(e)}));if(e instanceof l.Object)return e;if(e instanceof l.File)return e;if(e instanceof l.Op)return e;if(e instanceof l.GeoPoint)return e;if(e instanceof l.ACL)return e;if("ACL"===t)return new l.ACL(e);if(e.__op)return l.Op._decode(e);var n;if("Pointer"===e.__type){n=e.className;var i=l.Object._create(n);if(Object.keys(e).length>3){var o=r.clone(e);delete o.__type,delete o.className,i._finishFetch(o,!0)}else i._finishFetch({objectId:e.objectId},!1);return i}if("Object"===e.__type){n=e.className;var s=r.clone(e);delete s.__type,delete s.className;var a=l.Object._create(n);return a._finishFetch(s,!0),a}if("Date"===e.__type)return l._parseDate(e.iso);if("GeoPoint"===e.__type)return new l.GeoPoint({latitude:e.latitude,longitude:e.longitude});if("Relation"===e.__type){if(!t)throw new Error("key missing decoding a Relation");var u=new l.Relation(null,t);return u.targetClassName=e.className,u}if("File"===e.__type){var c=new l.File(e.name),h=r.clone(e);return delete h.__type,c._finishFetch(h),c}return r.mapObject(e,l._decode)},l.parseJSON=l._decode,l._encodeObjectOrArray=function(e){var t=function(e){return e&&e._toFullJSON&&(e=e._toFullJSON([])),r.mapObject(e,(function(e){return l._encode(e,[])}))};return r.isArray(e)?e.map((function(e){return t(e)})):t(e)},l._arrayEach=r.each,l._traverse=function(e,t,n){if(e instanceof l.Object){if(n=n||[],r.indexOf(n,e)>=0)return;return n.push(e),l._traverse(e.attributes,t,n),t(e)}return e instanceof l.Relation||e instanceof l.File?t(e):r.isArray(e)?(r.each(e,(function(r,i){var o=l._traverse(r,t,n);o&&(e[i]=o)})),t(e)):r.isObject(e)?(l._each(e,(function(r,i){var o=l._traverse(r,t,n);o&&(e[i]=o)})),t(e)):t(e)},l._objectEach=l._each=function(e,t){r.isObject(e)?r.each(r.keys(e),(function(n){t(e[n],n)})):r.each(e,t)},e.exports=l}).call(t,n(7))},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}t.log=function(){var e;return"object"===("undefined"==typeof console?"undefined":r(console))&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)}},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n(27)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){function r(){}function i(e){if(!p(e))return e;var t=[];for(var n in e)o(t,n,e[n]);return t.join("&")}function o(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach((function(n){o(e,t,n)}));else if(p(n))for(var r in n)o(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function s(e){for(var t,n,r={},i=e.split("&"),o=0,s=i.length;o=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(e){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var i=this._header["content-type"],o=this._serializer||m.serialize[i?i.split(";")[0]:""];!o&&a(i)&&(o=m.serialize["application/json"]),o&&(n=o(n))}for(var s in this.header)null!=this.header[s]&&this.header.hasOwnProperty(s)&&t.setRequestHeader(s,this.header[s]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send(void 0!==n?n:null),this},m.agent=function(){return new g},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){g.prototype[e.toLowerCase()]=function(t,n){var r=new m.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}})),g.prototype.del=g.prototype.delete,m.get=function(e,t,n){var r=m("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},m.head=function(e,t,n){var r=m("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},m.options=function(e,t,n){var r=m("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},m.del=l,m.delete=l,m.patch=function(e,t,n){var r=m("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},m.post=function(e,t,n){var r=m("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},m.put=function(e,t,n){var r=m("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){var r=n(18),i=n(19);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||i(s)}},function(e,t,n){"use strict";e.exports="3.13.2"},function(e,t,n){"use strict";e.exports=function(e){return null!==e&&"object"==typeof e}},function(e,t,n){"use strict";var r=n(0),i=n(1),o=n(31),s=["getItem","setItem","removeItem","clear"];o.async?r(s).each((function(e){"function"!=typeof o[e]&&(o[e]=function(){var t=new Error("Synchronous API ["+e+"] is not available in this runtime.");throw t.code="SYNC_API_NOT_AVAILABLE",t})})):r(s).each((function(e){"function"==typeof o[e]&&(o[e+"Async"]=function(){return i.resolve(o[e].apply(o,arguments))})})),e.exports=o},function(e,t,n){"use strict";var r=n(12),i=n(5),o=t.removeAsync=r.removeItemAsync.bind(r);t.getAsync=function(e){return e="AV/"+i.applicationId+"/"+e,r.getItemAsync(e).then((function(t){return function(e,t){try{e=JSON.parse(e)}catch(e){return null}return e?e.expiredAt&&e.expiredAt>>((3&t)<<3)&255;return i}}},function(e,t){for(var n=[],r=0;r<256;++r)n[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var r=t||0,i=n;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},function(e,t,n){"use strict";var r=n(10),i=["Browser"].concat(n(21));e.exports="LeanCloud-JS-SDK/"+r+" ("+i.join("; ")+")"},function(e,t,n){"use strict";e.exports=[]},function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,i=0;i=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(e,t);if(!0===n)return!0;if(!1===n)return!1}catch(e){console.error(e)}if(t&&t.status&&t.status>=500&&501!=t.status)return!0;if(e){if(e.code&&~o.indexOf(e.code))return!0;if(e.timeout&&"ECONNABORTED"==e.code)return!0;if(e.crossDomain)return!0}return!1},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},r.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise((function(e,t){n.end((function(n,r){n?t(n):e(r)}))}))}return this._fullfilledPromise.then(e,t)},r.prototype.catch=function(e){return this.then(void 0,e)},r.prototype.use=function(e){return e(this),this},r.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},r.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},r.prototype.get=function(e){return this._header[e.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(e,t){if(i(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},r.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},r.prototype.field=function(e,t){if(null==e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),i(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)this.field(e,t[r]);return this}if(null==t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},r.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},r.prototype._auth=function(e,t,n,r){switch(n.type){case"basic":this.set("Authorization","Basic "+r(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},r.prototype.withCredentials=function(e){return null==e&&(e=!0),this._withCredentials=e,this},r.prototype.redirects=function(e){return this._maxRedirects=e,this},r.prototype.maxResponseSize=function(e){if("number"!=typeof e)throw TypeError("Invalid argument");return this._maxResponseSize=e,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(e){var t=i(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&i(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+e:e:(this._data||"")+e):this._data=e;return!t||this._isHost(e)?this:(n||this.type("json"),this)},r.prototype.sortQuery=function(e){return this._sort=void 0===e||e,this},r.prototype._finalizeQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._query.length=0,this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},r.prototype._appendQueryString=function(){console.trace("Unsupported")},r.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error(e+t+"ms exceeded");r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},r.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout((function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")}),this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout((function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")}),this._responseTimeout))}},function(e,t,n){"use strict";function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}var i=n(25);e.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=i.type(t);var n=i.params(t);for(var r in n)this[r]=n[r];this.links={};try{e.link&&(this.links=i.parseLinks(e.link))}catch(e){}},r.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.created=201==e,this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e,this.unprocessableEntity=422==e}},function(e,t,n){"use strict";t.type=function(e){return e.split(/ *; */).shift()},t.params=function(e){return e.split(/ *; */).reduce((function(e,t){var n=t.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(e[r]=i),e}),{})},t.parseLinks=function(e){return e.split(/ *, */).reduce((function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1);return e[n[1].split(/ *= */)[1].slice(1,-1)]=r,e}),{})},t.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&(delete e.authorization,delete e.cookie),e}},function(e,t){function n(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach((function(e){n.prototype[e]=function(){return this._defaults.push({fn:e,arguments:arguments}),this}})),n.prototype._setDefaults=function(e){this._defaults.forEach((function(t){e[t.fn].apply(e,t.arguments)}))},e.exports=n},function(e,t,n){"use strict";e.exports=function(e){function t(e){for(var t=0,n=0;n=a?r(e,t,a,"day"):t>=s?r(e,t,s,"hour"):t>=o?r(e,t,o,"minute"):t>=i?r(e,t,i,"second"):e+" ms"}function r(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}var i=1e3,o=60*i,s=60*o,a=24*s,u=7*a,c=365.25*a;e.exports=function(e,t){t=t||{};var r=typeof e;if("string"===r&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^((?:\d+)?\-?\d?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return n*c;case"weeks":case"week":case"w":return n*u;case"days":case"day":case"d":return n*a;case"hours":case"hour":case"hrs":case"hr":case"h":return n*s;case"minutes":case"minute":case"mins":case"min":case"m":return n*o;case"seconds":case"second":case"secs":case"sec":case"s":return n*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}(e);if("number"===r&&!1===isNaN(e))return t.long?n(e):function(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+"d":t>=s?Math.round(e/s)+"h":t>=o?Math.round(e/o)+"m":t>=i?Math.round(e/i)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,t,n){(function(t){ -/*! - * @overview es6-promise - a tiny implementation of Promises/A+. - * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) - * @license Licensed under MIT license - * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE - * @version v4.2.3+b33f4734 - */ -!function(t,n){e.exports=n()}(0,(function(){"use strict";function e(e){return"function"==typeof e}function r(){var e=setTimeout;return function(){return e(i,1)}}function i(){for(var e=0;e1&&void 0!==arguments[1])||arguments[1];"string"!=typeof e?u(i._config.serverURLs,e):i._config.serverURLs=l(e),t&&(i._appRouter?i._appRouter.disable():h=!0)},i.setServerURLs=function(e){return i._setServerURLs(e)},i.keepErrorRawMessage=function(e){i._sharedConfig.keepErrorRawMessage=e},i.setRequestTimeout=function(e){i._config.requestTimeout=e},i.initialize=i.init,["applicationId","applicationKey","masterKey","hookKey"].forEach((function(e){return Object.defineProperty(i,e,{get:function(){return i._config[e]},set:function(t){i._config[e]=t}})}))},function(e,t,n){"use strict";function r(e){var t=this;this.AV=e,this.lockedUntil=0,o.getAsync("serverURLs").then((function(e){if(!t.disabled){if(!e)return t.lock(0);var n=e.serverURLs,r=e.lockedUntil;t.AV._setServerURLs(n,!1),t.lockedUntil=r}})).catch((function(){return t.lock(0)}))}var i=n(3).ajax,o=n(13);r.prototype.disable=function(){this.disabled=!0},r.prototype.lock=function(e){this.lockedUntil=Date.now()+e},r.prototype.refresh=function(){var e=this;if(!(this.disabled||Date.now()90)throw new Error("AV.GeoPoint latitude "+e+" > 90.0.");if(t<-180)throw new Error("AV.GeoPoint longitude "+t+" < -180.0.");if(t>180)throw new Error("AV.GeoPoint longitude "+t+" > 180.0.")},e.GeoPoint.current=function(){return new i((function(t,n){navigator.geolocation.getCurrentPosition((function(n){t(new e.GeoPoint({latitude:n.coords.latitude,longitude:n.coords.longitude}))}),n)}))},r.extend(e.GeoPoint.prototype,{toJSON:function(){return e.GeoPoint._validate(this.latitude,this.longitude),{__type:"GeoPoint",latitude:this.latitude,longitude:this.longitude}},radiansTo:function(e){var t=Math.PI/180,n=this.latitude*t,r=this.longitude*t,i=e.latitude*t,o=n-i,s=r-e.longitude*t,a=Math.sin(o/2),u=Math.sin(s/2),c=a*a+Math.cos(n)*Math.cos(i)*u*u;return c=Math.min(1,c),2*Math.asin(Math.sqrt(c))},kilometersTo:function(e){return 6371*this.radiansTo(e)},milesTo:function(e){return 3958.8*this.radiansTo(e)}})}},function(e,t,n){"use strict";var r=n(0);e.exports=function(e){e.ACL=function(t){var n=this;if(n.permissionsById={},r.isObject(t))if(t instanceof e.User)n.setReadAccess(t,!0),n.setWriteAccess(t,!0);else{if(r.isFunction(t))throw new Error("AV.ACL() called with a function. Did you forget ()?");e._objectEach(t,(function(t,i){if(!r.isString(i))throw new Error("Tried to create an ACL with an invalid userId.");n.permissionsById[i]={},e._objectEach(t,(function(e,t){if("read"!==t&&"write"!==t)throw new Error("Tried to create an ACL with an invalid permission type.");if(!r.isBoolean(e))throw new Error("Tried to create an ACL with an invalid permission value.");n.permissionsById[i][t]=e}))}))}},e.ACL.prototype.toJSON=function(){return r.clone(this.permissionsById)},e.ACL.prototype._setAccess=function(t,n,i){if(n instanceof e.User?n=n.id:n instanceof e.Role&&(n="role:"+n.getName()),!r.isString(n))throw new Error("userId must be a string.");if(!r.isBoolean(i))throw new Error("allowed must be either true or false.");var o=this.permissionsById[n];if(!o){if(!i)return;o={},this.permissionsById[n]=o}i?this.permissionsById[n][t]=!0:(delete o[t],r.isEmpty(o)&&delete this.permissionsById[n])},e.ACL.prototype._getAccess=function(t,n){n instanceof e.User?n=n.id:n instanceof e.Role&&(n="role:"+n.getName());var r=this.permissionsById[n];return!!r&&!!r[t]},e.ACL.prototype.setReadAccess=function(e,t){this._setAccess("read",e,t)},e.ACL.prototype.getReadAccess=function(e){return this._getAccess("read",e)},e.ACL.prototype.setWriteAccess=function(e,t){this._setAccess("write",e,t)},e.ACL.prototype.getWriteAccess=function(e){return this._getAccess("write",e)},e.ACL.prototype.setPublicReadAccess=function(e){this.setReadAccess("*",e)},e.ACL.prototype.getPublicReadAccess=function(){return this.getReadAccess("*")},e.ACL.prototype.setPublicWriteAccess=function(e){this.setWriteAccess("*",e)},e.ACL.prototype.getPublicWriteAccess=function(){return this.getWriteAccess("*")},e.ACL.prototype.getRoleReadAccess=function(t){if(t instanceof e.Role&&(t=t.getName()),r.isString(t))return this.getReadAccess("role:"+t);throw new Error("role must be a AV.Role or a String")},e.ACL.prototype.getRoleWriteAccess=function(t){if(t instanceof e.Role&&(t=t.getName()),r.isString(t))return this.getWriteAccess("role:"+t);throw new Error("role must be a AV.Role or a String")},e.ACL.prototype.setRoleReadAccess=function(t,n){if(t instanceof e.Role&&(t=t.getName()),!r.isString(t))throw new Error("role must be a AV.Role or a String");this.setReadAccess("role:"+t,n)},e.ACL.prototype.setRoleWriteAccess=function(t,n){if(t instanceof e.Role&&(t=t.getName()),!r.isString(t))throw new Error("role must be a AV.Role or a String");this.setWriteAccess("role:"+t,n)}}},function(e,t,n){"use strict";var r=n(0);e.exports=function(e){e.Op=function(){this._initialize.apply(this,arguments)},r.extend(e.Op.prototype,{_initialize:function(){}}),r.extend(e.Op,{_extend:e._extend,_opDecoderMap:{},_registerDecoder:function(t,n){e.Op._opDecoderMap[t]=n},_decode:function(t){var n=e.Op._opDecoderMap[t.__op];return n?n(t):void 0}}),e.Op._registerDecoder("Batch",(function(t){var n=null;return e._arrayEach(t.ops,(function(t){t=e.Op._decode(t),n=t._mergeWithPrevious(n)})),n})),e.Op.Set=e.Op._extend({_initialize:function(e){this._value=e},value:function(){return this._value},toJSON:function(){return e._encode(this.value())},_mergeWithPrevious:function(e){return this},_estimate:function(e){return this.value()}}),e.Op._UNSET={},e.Op.Unset=e.Op._extend({toJSON:function(){return{__op:"Delete"}},_mergeWithPrevious:function(e){return this},_estimate:function(t){return e.Op._UNSET}}),e.Op._registerDecoder("Delete",(function(t){return new e.Op.Unset})),e.Op.Increment=e.Op._extend({_initialize:function(e){this._amount=e},amount:function(){return this._amount},toJSON:function(){return{__op:"Increment",amount:this._amount}},_mergeWithPrevious:function(t){if(t){if(t instanceof e.Op.Unset)return new e.Op.Set(this.amount());if(t instanceof e.Op.Set)return new e.Op.Set(t.value()+this.amount());if(t instanceof e.Op.Increment)return new e.Op.Increment(this.amount()+t.amount());throw new Error("Op is invalid after previous op.")}return this},_estimate:function(e){return e?e+this.amount():this.amount()}}),e.Op._registerDecoder("Increment",(function(t){return new e.Op.Increment(t.amount)})),e.Op.BitAnd=e.Op._extend({_initialize:function(e){this._value=e},value:function(){return this._value},toJSON:function(){return{__op:"BitAnd",value:this.value()}},_mergeWithPrevious:function(t){if(t){if(t instanceof e.Op.Unset)return new e.Op.Set(0);if(t instanceof e.Op.Set)return new e.Op.Set(t.value()&this.value());throw new Error("Op is invalid after previous op.")}return this},_estimate:function(e){return e&this.value()}}),e.Op._registerDecoder("BitAnd",(function(t){return new e.Op.BitAnd(t.value)})),e.Op.BitOr=e.Op._extend({_initialize:function(e){this._value=e},value:function(){return this._value},toJSON:function(){return{__op:"BitOr",value:this.value()}},_mergeWithPrevious:function(t){if(t){if(t instanceof e.Op.Unset)return new e.Op.Set(this.value());if(t instanceof e.Op.Set)return new e.Op.Set(t.value()|this.value());throw new Error("Op is invalid after previous op.")}return this},_estimate:function(e){return e|this.value()}}),e.Op._registerDecoder("BitOr",(function(t){return new e.Op.BitOr(t.value)})),e.Op.BitXor=e.Op._extend({_initialize:function(e){this._value=e},value:function(){return this._value},toJSON:function(){return{__op:"BitXor",value:this.value()}},_mergeWithPrevious:function(t){if(t){if(t instanceof e.Op.Unset)return new e.Op.Set(this.value());if(t instanceof e.Op.Set)return new e.Op.Set(t.value()^this.value());throw new Error("Op is invalid after previous op.")}return this},_estimate:function(e){return e^this.value()}}),e.Op._registerDecoder("BitXor",(function(t){return new e.Op.BitXor(t.value)})),e.Op.Add=e.Op._extend({_initialize:function(e){this._objects=e},objects:function(){return this._objects},toJSON:function(){return{__op:"Add",objects:e._encode(this.objects())}},_mergeWithPrevious:function(t){if(t){if(t instanceof e.Op.Unset)return new e.Op.Set(this.objects());if(t instanceof e.Op.Set)return new e.Op.Set(this._estimate(t.value()));if(t instanceof e.Op.Add)return new e.Op.Add(t.objects().concat(this.objects()));throw new Error("Op is invalid after previous op.")}return this},_estimate:function(e){return e?e.concat(this.objects()):r.clone(this.objects())}}),e.Op._registerDecoder("Add",(function(t){return new e.Op.Add(e._decode(t.objects))})),e.Op.AddUnique=e.Op._extend({_initialize:function(e){this._objects=r.uniq(e)},objects:function(){return this._objects},toJSON:function(){return{__op:"AddUnique",objects:e._encode(this.objects())}},_mergeWithPrevious:function(t){if(t){if(t instanceof e.Op.Unset)return new e.Op.Set(this.objects());if(t instanceof e.Op.Set)return new e.Op.Set(this._estimate(t.value()));if(t instanceof e.Op.AddUnique)return new e.Op.AddUnique(this._estimate(t.objects()));throw new Error("Op is invalid after previous op.")}return this},_estimate:function(t){if(t){var n=r.clone(t);return e._arrayEach(this.objects(),(function(t){if(t instanceof e.Object&&t.id){var i=r.find(n,(function(n){return n instanceof e.Object&&n.id===t.id}));if(i){var o=r.indexOf(n,i);n[o]=t}else n.push(t)}else r.contains(n,t)||n.push(t)})),n}return r.clone(this.objects())}}),e.Op._registerDecoder("AddUnique",(function(t){return new e.Op.AddUnique(e._decode(t.objects))})),e.Op.Remove=e.Op._extend({_initialize:function(e){this._objects=r.uniq(e)},objects:function(){return this._objects},toJSON:function(){return{__op:"Remove",objects:e._encode(this.objects())}},_mergeWithPrevious:function(t){if(t){if(t instanceof e.Op.Unset)return t;if(t instanceof e.Op.Set)return new e.Op.Set(this._estimate(t.value()));if(t instanceof e.Op.Remove)return new e.Op.Remove(r.union(t.objects(),this.objects()));throw new Error("Op is invalid after previous op.")}return this},_estimate:function(t){if(t){var n=r.difference(t,this.objects());return e._arrayEach(this.objects(),(function(t){t instanceof e.Object&&t.id&&(n=r.reject(n,(function(n){return n instanceof e.Object&&n.id===t.id})))})),n}return[]}}),e.Op._registerDecoder("Remove",(function(t){return new e.Op.Remove(e._decode(t.objects))})),e.Op.Relation=e.Op._extend({_initialize:function(t,n){this._targetClassName=null;var i=this,o=function(t){if(t instanceof e.Object){if(!t.id)throw new Error("You can't add an unsaved AV.Object to a relation.");if(i._targetClassName||(i._targetClassName=t.className),i._targetClassName!==t.className)throw new Error("Tried to create a AV.Relation with 2 different types: "+i._targetClassName+" and "+t.className+".");return t.id}return t};this.relationsToAdd=r.uniq(r.map(t,o)),this.relationsToRemove=r.uniq(r.map(n,o))},added:function(){var t=this;return r.map(this.relationsToAdd,(function(n){var r=e.Object._create(t._targetClassName);return r.id=n,r}))},removed:function(){var t=this;return r.map(this.relationsToRemove,(function(n){var r=e.Object._create(t._targetClassName);return r.id=n,r}))},toJSON:function(){var e=null,t=null,n=this,i=function(e){return{__type:"Pointer",className:n._targetClassName,objectId:e}};return this.relationsToAdd.length>0&&(e={__op:"AddRelation",objects:r.map(this.relationsToAdd,i)}),this.relationsToRemove.length>0&&(t={__op:"RemoveRelation",objects:r.map(this.relationsToRemove,i)}),e&&t?{__op:"Batch",ops:[e,t]}:e||t||{}},_mergeWithPrevious:function(t){if(t){if(t instanceof e.Op.Unset)throw new Error("You can't modify a relation after deleting it.");if(t instanceof e.Op.Relation){if(t._targetClassName&&t._targetClassName!==this._targetClassName)throw new Error("Related object must be of class "+t._targetClassName+", but "+this._targetClassName+" was passed in.");var n=r.union(r.difference(t.relationsToAdd,this.relationsToRemove),this.relationsToAdd),i=r.union(r.difference(t.relationsToRemove,this.relationsToAdd),this.relationsToRemove),o=new e.Op.Relation(n,i);return o._targetClassName=this._targetClassName,o}throw new Error("Op is invalid after previous op.")}return this},_estimate:function(t,n,r){if(t){if(t instanceof e.Relation){if(this._targetClassName)if(t.targetClassName){if(t.targetClassName!==this._targetClassName)throw new Error("Related object must be a "+t.targetClassName+", but a "+this._targetClassName+" was passed in.")}else t.targetClassName=this._targetClassName;return t}throw new Error("Op is invalid after previous op.")}new e.Relation(n,r).targetClassName=this._targetClassName}}),e.Op._registerDecoder("AddRelation",(function(t){return new e.Op.Relation(e._decode(t.objects),[])})),e.Op._registerDecoder("RemoveRelation",(function(t){return new e.Op.Relation([],e._decode(t.objects))}))}},function(e,t,n){"use strict";var r=n(0);e.exports=function(e){e.Relation=function(e,t){if(!r.isString(t))throw new TypeError("key must be a string");this.parent=e,this.key=t,this.targetClassName=null},e.Relation.reverseQuery=function(t,n,r){var i=new e.Query(t);return i.equalTo(n,r._toPointer()),i},r.extend(e.Relation.prototype,{_ensureParentAndKey:function(e,t){if(this.parent=this.parent||e,this.key=this.key||t,this.parent!==e)throw new Error("Internal Error. Relation retrieved from two different Objects.");if(this.key!==t)throw new Error("Internal Error. Relation retrieved from two different keys.")},add:function(t){r.isArray(t)||(t=[t]);var n=new e.Op.Relation(t,[]);this.parent.set(this.key,n),this.targetClassName=n._targetClassName},remove:function(t){r.isArray(t)||(t=[t]);var n=new e.Op.Relation([],t);this.parent.set(this.key,n),this.targetClassName=n._targetClassName},toJSON:function(){return{__type:"Relation",className:this.targetClassName}},query:function(){var t,n;return this.targetClassName?(t=e.Object._getSubclass(this.targetClassName),n=new e.Query(t)):(t=e.Object._getSubclass(this.parent.className),(n=new e.Query(t))._extraOptions.redirectClassNameForKey=this.key),n._addCondition("$relatedTo","object",this.parent._toPointer()),n._addCondition("$relatedTo","key",this.key),n}})}},function(e,t,n){"use strict";var r=n(0),i=n(41),o=n(42),s=n(43),a=n(4),u=n(2)._request,c=n(1),l=n(3),h=l.tap,f=l.transformFetchOptions,d=n(6)("leancloud:file"),p=n(47);e.exports=function(e){var t=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)},n=function(e){return r.isString(e)?e.match(/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/)[4]:""},l=function(e){if(e<26)return String.fromCharCode(65+e);if(e<52)return String.fromCharCode(e-26+97);if(e<62)return String.fromCharCode(e-52+48);if(62===e)return"+";if(63===e)return"/";throw new Error("Tried to encode large digit "+e+" in base64.")},v=function(e){var t=[];return t.length=Math.ceil(e.length/3),r.times(t.length,(function(n){var r=e[3*n],i=e[3*n+1]||0,o=e[3*n+2]||0,s=3*n+1>2&63),l(r<<4&48|i>>4&15),s?l(i<<2&60|o>>6&3):"=",a?l(63&o):"="].join("")})),t.join("")};e.File=function(t,i,o){if(this.attributes={name:t,url:"",metaData:{},base64:""},r.isString(i))throw new TypeError("Creating an AV.File from a String is not yet supported.");r.isArray(i)&&(this.attributes.metaData.size=i.length,i={base64:v(i)}),this._extName="",this._data=i,this._uploadHeaders={},"undefined"!=typeof Blob&&i instanceof Blob&&(i.size&&(this.attributes.metaData.size=i.size),i.name&&(this._extName=n(i.name)));var s=void 0;if(i&&i.owner)s=i.owner;else if(!e._config.disableCurrentUser)try{s=e.User.current()}catch(e){if("SYNC_API_NOT_AVAILABLE"!==e.code)throw e}this.attributes.metaData.owner=s?s.id:"unknown",this.set("mime_type",o)},e.File.withURL=function(t,n,r,i){if(!t||!n)throw new Error("Please provide file name and url");var o=new e.File(t,null,i);if(r)for(var s in r)o.attributes.metaData[s]||(o.attributes.metaData[s]=r[s]);return o.attributes.url=n,o.attributes.metaData.__source="external",o},e.File.createWithoutData=function(t){var n=new e.File;return n.id=t,n},r.extend(e.File.prototype,{className:"_File",_toFullJSON:function(t){var n=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=r.clone(this.attributes);return e._objectEach(o,(function(n,r){o[r]=e._encode(n,t,void 0,i)})),e._objectEach(this._operations,(function(e,t){o[t]=e})),r.has(this,"id")&&(o.objectId=this.id),r(["createdAt","updatedAt"]).each((function(e){if(r.has(n,e)){var t=n[e];o[e]=r.isDate(t)?t.toJSON():t}})),i&&(o.__type="File"),o},toFullJSON:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return this._toFullJSON(e)},toJSON:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[this];return this._toFullJSON(n,!1)},_toPointer:function(){return{__type:"Pointer",className:this.className,objectId:this.id}},getACL:function(){return this._acl},setACL:function(t){return t instanceof e.ACL?(this._acl=t,this):new a(a.OTHER_CAUSE,"ACL must be a AV.ACL.")},name:function(){return this.get("name")},url:function(){return this.get("url")},get:function(e){switch(e){case"objectId":return this.id;case"url":case"name":case"mime_type":case"metaData":case"createdAt":case"updatedAt":return this.attributes[e];default:return this.attributes.metaData[e]}},set:function(){for(var e=this,t=function(t,n){switch(t){case"name":case"url":case"mime_type":case"base64":case"metaData":e.attributes[t]=n;break;default:e.attributes.metaData[t]=n}},n=arguments.length,r=Array(n),i=0;i2&&void 0!==arguments[2]?arguments[2]:100,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"png",o=this.attributes.url;if(!o)throw new Error("Invalid url.");if(!e||!t||e<=0||t<=0)throw new Error("Invalid width or height value.");if(n<=0||n>100)throw new Error("Invalid quality value.");return o+"?imageView/"+(r?2:1)+"/w/"+e+"/h/"+t+"/q/"+n+"/format/"+i},size:function(){return this.metaData().size},ownerId:function(){return this.metaData().owner},destroy:function(e){return this.id?u("files",null,this.id,"DELETE",null,e):c.reject(new Error("The file id does not eixst."))},_fileToken:function(e,r){var i=this.attributes.name,o=n(i);!o&&this._extName&&(i+=this._extName,o=this._extName);var s=t()+t()+t()+t()+t()+o,a={key:s,name:i,keep_file_name:r.keepFileName,ACL:this._acl,mime_type:e,metaData:this.attributes.metaData};return this._qiniu_key=s,u("fileTokens",null,null,"POST",a,r)},save:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.id)throw new Error("File is already saved.");if(!this._previousSave)if(this._data){var n=this.get("mime_type");this._previousSave=this._fileToken(n,t).then((function(a){return a.mime_type&&(n=a.mime_type,e.set("mime_type",n)),e._token=a.token,c.resolve().then((function(){var t=e._data;if(t&&t.base64)return p(t.base64,n);if(t&&t.blob)return!t.blob.type&&n&&(t.blob.type=n),t.blob.name||(t.blob.name=e.get("name")),t.blob;if("undefined"!=typeof Blob&&t instanceof Blob)return t;throw new TypeError("malformed file data")})).then((function(n){var u=r.extend({},t);switch(t.onprogress&&(u.onprogress=function(e){if("download"!==e.direction)return t.onprogress(e)}),a.provider){case"s3":return s(a,n,e,u);case"qcloud":return i(a,n,e,u);case"qiniu":default:return o(a,n,e,u)}})).then(h((function(){return e._callback(!0)})),(function(t){throw e._callback(!1),t}))}))}else if(this.attributes.url&&"external"===this.attributes.metaData.__source){var a={name:this.attributes.name,ACL:this._acl,metaData:this.attributes.metaData,mime_type:this.mimeType,url:this.attributes.url};this._previousSave=u("files",this.attributes.name,null,"post",a,t).then((function(t){return e.attributes.name=t.name,e.attributes.url=t.url,e.id=t.objectId,t.size&&(e.attributes.metaData.size=t.size),e}))}return this._previousSave},_callback:function(e){u("fileCallback",null,null,"post",{token:this._token,result:e}).catch(d),delete this._token,delete this._data},fetch:function(e,t){return u("files",null,this.id,"GET",f(e),t).then(this._finishFetch.bind(this))},_finishFetch:function(t){var n=e.Object.prototype.parse(t);return n.attributes={name:n.name,url:n.url,mime_type:n.mime_type,bucket:n.bucket},n.attributes.metaData=n.metaData||{},n.id=n.objectId,delete n.objectId,delete n.metaData,delete n.url,delete n.name,delete n.mime_type,delete n.bucket,r.extend(this,n),this}})}},function(e,t,n){"use strict";var r=n(8),i=n(6)("cos"),o=n(1);e.exports=function(e,t,n){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n.attributes.url=e.url,n._bucket=e.bucket,n.id=e.objectId;var a=e.upload_url+"?sign="+encodeURIComponent(e.token);return new o((function(e,o){var u=r("POST",a).set(n._uploadHeaders).attach("fileContent",t,n.attributes.name).field("op","upload");s.onprogress&&u.on("progress",s.onprogress),u.end((function(t,r){if(r&&i(r.status,r.body,r.text),t)return r&&(t.statusCode=r.status,t.responseText=r.text,t.response=r.body),o(t);e(n)}))}))}},function(e,t,n){"use strict";var r=n(8),i=n(1),o=n(6)("qiniu");e.exports=function(e,t,n){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};n.attributes.url=e.url,n._bucket=e.bucket,n.id=e.objectId;var a=e.token,u=e.upload_url||"https://upload.qiniup.com";return new i((function(i,c){var l=r("POST",u).set(n._uploadHeaders).attach("file",t,n.attributes.name).field("name",n.attributes.name).field("key",e.key||n._qiniu_key).field("token",a);s.onprogress&&l.on("progress",s.onprogress),l.end((function(e,t){if(t&&o(t.status,t.body,t.text),e)return t&&(e.statusCode=t.status,e.responseText=t.text,e.response=t.body),c(e);i(n)}))}))}},function(e,t,n){"use strict";var r=n(8),i=n(1),o=function(e,t){return t&&(e.statusCode=t.status,e.responseText=t.text,e.response=t.body),e};e.exports=function(e,t,n){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return n.attributes.url=e.url,n._bucket=e.bucket,n.id=e.objectId,new i((function(i,a){var u=r("PUT",e.upload_url).set(Object.assign({"Content-Type":n.get("mime_type"),"Cache-Control":"public, max-age=31536000"},n._uploadHeaders));s.onprogress&&u.on("progress",s.onprogress),u.on("response",(function(e){if(e.ok)return i(n);a(o(e.error,e))})),u.on("error",(function(e,t){return a(o(e,t))})),u.send(t).end()}))}},function(e,t,n){!function(){var t=n(45),r=n(14).utf8,i=n(46),o=n(14).bin,s=function(e,n){e.constructor==String?e=n&&"binary"===n.encoding?o.stringToBytes(e):r.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var a=t.bytesToWords(e),u=8*e.length,c=1732584193,l=-271733879,h=-1732584194,f=271733878,d=0;d>>24)|4278255360&(a[d]<<24|a[d]>>>8);a[u>>>5]|=128<>>9<<4)]=u;var p=s._ff,v=s._gg,g=s._hh,m=s._ii;for(d=0;d>>0,l=l+b>>>0,h=h+y>>>0,f=f+w>>>0}return t.endian([c,l,h,f])};s._ff=function(e,t,n,r,i,o,s){var a=e+(t&n|~t&r)+(i>>>0)+s;return(a<>>32-o)+t},s._gg=function(e,t,n,r,i,o,s){var a=e+(t&r|n&~r)+(i>>>0)+s;return(a<>>32-o)+t},s._hh=function(e,t,n,r,i,o,s){var a=e+(t^n^r)+(i>>>0)+s;return(a<>>32-o)+t},s._ii=function(e,t,n,r,i,o,s){var a=e+(n^(t|~r))+(i>>>0)+s;return(a<>>32-o)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,n){if(null==e)throw new Error("Illegal argument "+e);var r=t.wordsToBytes(s(e,n));return n&&n.asBytes?r:n&&n.asString?o.bytesToString(r):t.bytesToHex(r)}}()},function(e,t){!function(){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,r=0;n>>5]|=e[n]<<24-r%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n>>6*(3-o)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],r=0,i=0;r>>6-2*i);return n}};e.exports=n}()},function(e,t){function n(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)} -/*! - * Determine if an object is a Buffer - * - * @author Feross Aboukhadijeh - * @license MIT - */ -e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){"use strict";e.exports=function(e,t){var n;e.indexOf("base64")<0?n=atob(e):e.split(",")[0].indexOf("base64")>=0?(t=t||e.split(",")[0].split(":")[1].split(";")[0],n=atob(e.split(",")[1])):n=unescape(e.split(",")[1]);for(var r=new Uint8Array(n.length),i=0;i2&&void 0!==arguments[2]?arguments[2]:[];return this._toFullJSON(n,!1)},toFullJSON:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return this._toFullJSON(e)},_toFullJSON:function(t){var n=this,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=o.clone(this.attributes);if(o.isArray(t))var s=t.concat(this);return e._objectEach(i,(function(t,n){i[n]=e._encode(t,s,void 0,r)})),e._objectEach(this._operations,(function(e,t){i[t]=e})),o.has(this,"id")&&(i.objectId=this.id),o(["createdAt","updatedAt"]).each((function(e){if(o.has(n,e)){var t=n[e];i[e]=o.isDate(t)?t.toJSON():t}})),r&&(i.__type="Object",o.isArray(t)&&t.length&&(i.__type="Pointer"),i.className=this.className),i},_refreshCache:function(){var t=this;t._refreshingCache||(t._refreshingCache=!0,e._objectEach(this.attributes,(function(n,r){n instanceof e.Object?n._refreshCache():o.isObject(n)&&t._resetCacheForKey(r)&&t.set(r,new e.Op.Set(n),{silent:!0})})),delete t._refreshingCache)},dirty:function(e){this._refreshCache();var t=o.last(this._opSetQueue);return e?!!t[e]:!this.id||o.keys(t).length>0},_toPointer:function(){return{__type:"Pointer",className:this.className,objectId:this.id}},get:function(e){switch(e){case"objectId":return this.id;case"createdAt":case"updatedAt":return this[e];default:return this.attributes[e]}},relation:function(t){var n=this.get(t);if(n){if(!(n instanceof e.Relation))throw new Error("Called relation() on non-relation field "+t);return n._ensureParentAndKey(this,t),n}return new e.Relation(this,t)},escape:function(e){var t=this._escapedAttributes[e];if(t)return t;var n,r=this.attributes[e];return n=l(r)?"":o.escape(r.toString()),this._escapedAttributes[e]=n,n},has:function(e){return!l(this.attributes[e])},_mergeMagicFields:function(t){var n=this;return e._arrayEach(["objectId","createdAt","updatedAt"],(function(r){t[r]&&("objectId"===r?n.id=t[r]:"createdAt"!==r&&"updatedAt"!==r||o.isDate(t[r])?n[r]=t[r]:n[r]=e._parseDate(t[r]),delete t[r])})),t},_startSave:function(){this._opSetQueue.push({})},_cancelSave:function(){var t=o.first(this._opSetQueue);this._opSetQueue=o.rest(this._opSetQueue);var n=o.first(this._opSetQueue);e._objectEach(t,(function(e,r){var i=t[r],o=n[r];i&&o?n[r]=o._mergeWithPrevious(i):i&&(n[r]=i)})),this._saving=this._saving-1},_finishSave:function(t){var n={};e._traverse(this.attributes,(function(t){t instanceof e.Object&&t.id&&t._hasData&&(n[t.id]=t)}));var r=o.first(this._opSetQueue);this._opSetQueue=o.rest(this._opSetQueue),this._applyOpSet(r,this._serverData),this._mergeMagicFields(t);var i=this;e._objectEach(t,(function(t,r){i._serverData[r]=e._decode(t,r);var o=e._traverse(i._serverData[r],(function(t){if(t instanceof e.Object&&n[t.id])return n[t.id]}));o&&(i._serverData[r]=o)})),this._rebuildAllEstimatedData();var s=this._opSetQueue.map(o.clone);this._refreshCache(),this._opSetQueue=s,this._saving=this._saving-1},_finishFetch:function(t,n){this._opSetQueue=[{}],this._mergeMagicFields(t);var r=this;e._objectEach(t,(function(t,n){r._serverData[n]=e._decode(t,n)})),this._rebuildAllEstimatedData(),this._refreshCache(),this._opSetQueue=[{}],this._hasData=n},_applyOpSet:function(t,n){var r=this;e._objectEach(t,(function(t,o){var s=p(n,o),a=i(s,3),u=a[0],c=a[1],l=a[2];d(n,o,t._estimate(u,r,o)),c&&c[l]===e.Op._UNSET&&delete c[l]}))},_resetCacheForKey:function(t){var n=this.attributes[t];if(o.isObject(n)&&!(n instanceof e.Object)&&!(n instanceof e.File)){var r=JSON.stringify(function e(t){return o.isArray(t)?t.map(e):v(t)?o.mapObject(t,e):o.isObject(t)&&t._toPointer?t._toPointer():t}(n));if(this._hashedJSON[t]!==r){var i=!!this._hashedJSON[t];return this._hashedJSON[t]=r,i}}return!1},_rebuildEstimatedDataForKey:function(t){var n=this;delete this.attributes[t],this._serverData[t]&&(this.attributes[t]=this._serverData[t]),e._arrayEach(this._opSetQueue,(function(r){var o=r[t];if(o){var s=p(n.attributes,t),a=i(s,4),u=a[0],c=a[1],l=a[2],h=a[3];d(n.attributes,t,o._estimate(u,n,t)),c&&c[l]===e.Op._UNSET&&delete c[l],n._resetCacheForKey(h)}}))},_rebuildAllEstimatedData:function(){var t=this,n=o.clone(this.attributes);this.attributes=o.clone(this._serverData),e._arrayEach(this._opSetQueue,(function(n){t._applyOpSet(n,t.attributes),e._objectEach(n,(function(e,n){t._resetCacheForKey(n)}))})),e._objectEach(n,(function(e,n){t.attributes[n]!==e&&t.trigger("change:"+n,t,t.attributes[n],{})})),e._objectEach(this.attributes,(function(e,r){o.has(n,r)||t.trigger("change:"+r,t,e,{})}))},set:function(t,n,r){var i;if(o.isObject(t)||l(t)?(i=o.mapObject(t,(function(t,n){return m(n),e._decode(t,n)})),r=n):(i={},m(t),i[t]=e._decode(n,t)),r=r||{},!i)return this;i instanceof e.Object&&(i=i.attributes),r.unset&&e._objectEach(i,(function(t,n){i[n]=new e.Op.Unset}));var s=o.clone(i),a=this;e._objectEach(s,(function(t,n){t instanceof e.Op&&(s[n]=t._estimate(a.attributes[n],a,n),s[n]===e.Op._UNSET&&delete s[n])})),this._validate(i,r),r.changes={};var u=this._escapedAttributes;return e._arrayEach(o.keys(i),(function(t){var n=i[t];n instanceof e.Relation&&(n.parent=a),n instanceof e.Op||(n=new e.Op.Set(n));var s=!0;n instanceof e.Op.Set&&o.isEqual(a.attributes[t],n.value)&&(s=!1),s&&(delete u[t],r.silent?a._silent[t]=!0:r.changes[t]=!0);var c=o.last(a._opSetQueue);c[t]=n._mergeWithPrevious(c[t]),a._rebuildEstimatedDataForKey(t),s?(a.changed[t]=a.attributes[t],r.silent||(a._pending[t]=!0)):(delete a.changed[t],delete a._pending[t])})),r.silent||this.change(r),this},unset:function(e,t){return(t=t||{}).unset=!0,this.set(e,null,t)},increment:function(t,n){return(o.isUndefined(n)||o.isNull(n))&&(n=1),this.set(t,new e.Op.Increment(n))},add:function(t,n){return this.set(t,new e.Op.Add(h(n)))},addUnique:function(t,n){return this.set(t,new e.Op.AddUnique(h(n)))},remove:function(t,n){return this.set(t,new e.Op.Remove(h(n)))},bitAnd:function(t,n){return this.set(t,new e.Op.BitAnd(n))},bitOr:function(t,n){return this.set(t,new e.Op.BitOr(n))},bitXor:function(t,n){return this.set(t,new e.Op.BitXor(n))},op:function(e){return o.last(this._opSetQueue)[e]},clear:function(e){(e=e||{}).unset=!0;var t=o.extend(this.attributes,this._operations);return this.set(t,e)},revert:function(e){var t=o.last(this._opSetQueue);return h(e||o.keys(t)).forEach((function(e){delete t[e]})),this._rebuildAllEstimatedData(),this},_getSaveJSON:function(){var t=o.clone(o.first(this._opSetQueue));return e._objectEach(t,(function(e,n){t[n]=e.toJSON()})),t},_canBeSerialized:function(){return e.Object._canBeSerializedAsValue(this.attributes)},fetch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],n=this;return u("classes",this.className,this.id,"GET",f(e),t).then((function(t){var r=n.parse(t);return e.keys||n._cleanupUnsetKeys(r),n._finishFetch(r,!0),n}))},_cleanupUnsetKeys:function(t){var n=this;e._objectEach(this._serverData,(function(e,r){void 0===t[r]&&delete n._serverData[r]}))},save:function(t,n,r){var i,s,c;o.isObject(t)||l(t)?(i=t,c=n):((i={})[t]=n,c=r),(c=o.clone(c)||{}).wait&&(s=o.clone(this.attributes));var h=o.clone(c)||{};h.wait&&(h.silent=!0),i&&this.set(i,h);var f=this,d=[],p=[];return e.Object._findUnsavedChildren(f,d,p),d.length+p.length>1?e.Object._deepSaveAsync(this,f,c):(this._startSave(),this._saving=(this._saving||0)+1,this._allPreviousSaves=this._allPreviousSaves||a.resolve(),this._allPreviousSaves=this._allPreviousSaves.catch((function(e){})).then((function(){var e,t=f.id?"PUT":"POST",n=f._getSaveJSON(),r={};if((f._fetchWhenSave||c.fetchWhenSave)&&(r.new="true"),c._failOnNotExist&&(r.failOnNotExist="true"),c.query&&("function"==typeof c.query.toJSON&&(e=c.query.toJSON())&&(r.where=e.where),!r.where))throw new Error("options.query is not an AV.Query");o.extend(n,f._flags);var a="classes",l=f.className;"_User"!==f.className||f.id||(a="users",l=null);var d=(c._makeRequest||u)(a,l,f.id,t,n,c,r);return d.then((function(e){var t=f.parse(e);return c.wait&&(t=o.extend(i||{},t)),f._finishSave(t),c.wait&&f.set(s,h),f}),(function(e){throw f._cancelSave(),e}))})),this._allPreviousSaves)},destroy:function(e){e=e||{};var t=this,n=function(){t.trigger("destroy",t,t.collection,e)};return this.id?(e.wait||n(),u("classes",this.className,this.id,"DELETE",this._flags,e).then((function(){return e.wait&&n(),t}))):n()},parse:function(t){var n=o.clone(t);return o(["createdAt","updatedAt"]).each((function(t){n[t]&&(n[t]=e._parseDate(n[t]))})),n.createdAt&&!n.updatedAt&&(n.updatedAt=n.createdAt),n},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.id},change:function(t){t=t||{};var n=this._changing;this._changing=!0;var r=this;e._objectEach(this._silent,(function(e){r._pending[e]=!0}));var i=o.extend({},t.changes,this._silent);if(this._silent={},e._objectEach(i,(function(e,n){r.trigger("change:"+n,r,r.get(n),t)})),n)return this;for(var s=function(e,t){r._pending[t]||r._silent[t]||delete r.changed[t]};!o.isEmpty(this._pending);)this._pending={},this.trigger("change",this,t),e._objectEach(this.changed,s),r._previousAttributes=o.clone(this.attributes);return this._changing=!1,this},hasChanged:function(e){return arguments.length?this.changed&&o.has(this.changed,e):!o.isEmpty(this.changed)},changedAttributes:function(t){if(!t)return!!this.hasChanged()&&o.clone(this.changed);var n={},r=this._previousAttributes;return e._objectEach(t,(function(e,t){o.isEqual(r[t],e)||(n[t]=e)})),n},previous:function(e){return arguments.length&&this._previousAttributes?this._previousAttributes[e]:null},previousAttributes:function(){return o.clone(this._previousAttributes)},isValid:function(){try{this.validate(this.attributes)}catch(e){return!1}return!0},validate:function(t){if(o.has(t,"ACL")&&!(t.ACL instanceof e.ACL))throw new s(s.OTHER_CAUSE,"ACL must be a AV.ACL.")},_validate:function(e,t){!t.silent&&this.validate&&(e=o.extend({},this.attributes,e),this.validate(e))},getACL:function(){return this.get("ACL")},setACL:function(e,t){return this.set("ACL",e,t)},disableBeforeHook:function(){this.ignoreHook("beforeSave"),this.ignoreHook("beforeUpdate"),this.ignoreHook("beforeDelete")},disableAfterHook:function(){this.ignoreHook("afterSave"),this.ignoreHook("afterUpdate"),this.ignoreHook("afterDelete")},ignoreHook:function(t){o.contains(["beforeSave","afterSave","beforeUpdate","afterUpdate","beforeDelete","afterDelete"],t)||console.trace("Unsupported hookName: "+t),e.hookKey||console.trace("ignoreHook required hookKey"),this._flags.__ignore_hooks||(this._flags.__ignore_hooks=[]),this._flags.__ignore_hooks.push(t)}}),e.Object.createWithoutData=function(t,n,r){var i=void 0;if(o.isString(t))i=e.Object._getSubclass(t);else{if(!(t.prototype&&t.prototype instanceof e.Object))throw new Error("class must be a string or a subclass of AV.Object.");i=t}var s=new i;return s.id=n,s._hasData=r,s},e.Object.destroyAll=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||0===e.length)return a.resolve();var n=o.groupBy(e,(function(e){return JSON.stringify({className:e.className,flags:e._flags})})),r={requests:o.map(n,(function(e){var t=o.map(e,"id").join(",");return{method:"DELETE",path:"/1.1/classes/"+e[0].className+"/"+t,body:e[0]._flags}}))};return u("batch",null,null,"POST",r,t).then((function(e){var t=o.find(e,(function(e){return!e.success}));if(t)throw new s(t.error.code,t.error.error)}))},e.Object._getSubclass=function(t){if(!o.isString(t))throw new Error("AV.Object._getSubclass requires a string argument.");var n=e.Object._classMap[t];return n||(n=e.Object.extend(t),e.Object._classMap[t]=n),n},e.Object._create=function(t,n,r){return new(e.Object._getSubclass(t))(n,r)},e.Object._classMap={},e.Object._extend=e._extend,e.Object.new=function(t,n){return new e.Object(t,n)},e.Object.extend=function(t,n,r){if(!o.isString(t)){if(t&&o.has(t,"className"))return e.Object.extend(t.className,t,n);throw new Error("AV.Object.extend's first argument should be the className.")}"User"===t&&(t="_User");var i=null;if(o.has(e.Object._classMap,t)){var s=e.Object._classMap[t];if(!n&&!r)return s;i=s._extend(n,r)}else(n=n||{})._className=t,i=this._extend(n,r);return i.extend=function(n){if(o.isString(n)||n&&o.has(n,"className"))return e.Object.extend.apply(i,arguments);var r=[t].concat(o.toArray(arguments));return e.Object.extend.apply(i,r)},Object.defineProperty(i,"query",Object.getOwnPropertyDescriptor(e.Object,"query")),i.new=function(e,t){return new i(e,t)},e.Object._classMap[t]=i,i},Object.defineProperty(e.Object.prototype,"className",{get:function(){var e=this._className||this.constructor._LCClassName||this.constructor.name;return"User"===e?"_User":e}}),e.Object.register=function(t,n){if(!(t.prototype instanceof e.Object))throw new Error("registered class is not a subclass of AV.Object");var r=n||t.name;if(!r.length)throw new Error("registered class must be named");n&&(t._LCClassName=n),e.Object._classMap[r]=t},Object.defineProperty(e.Object,"query",{get:function(){return new e.Query(this.prototype.className)}}),e.Object._findUnsavedChildren=function(t,n,r){e._traverse(t,(function(t){return t instanceof e.Object?void(t.dirty()&&n.push(t)):t instanceof e.File?void(t.id||r.push(t)):void 0}))},e.Object._canBeSerializedAsValue=function(t){var n=!0;return t instanceof e.Object||t instanceof e.File?n=!!t.id:o.isArray(t)?e._arrayEach(t,(function(t){e.Object._canBeSerializedAsValue(t)||(n=!1)})):o.isObject(t)&&e._objectEach(t,(function(t){e.Object._canBeSerializedAsValue(t)||(n=!1)})),n},e.Object._deepSaveAsync=function(t,n,r){var i=[],c=[];e.Object._findUnsavedChildren(t,i,c);var l=a.resolve();o.each(c,(function(e){l=l.then((function(){return e.save()}))}));var h=o.uniq(i),f=o.uniq(h);return l.then((function(){return a._continueWhile((function(){return f.length>0}),(function(){var t=[],n=[];if(e._arrayEach(f,(function(e){t.length>20?n.push(e):e._canBeSerialized()?t.push(e):n.push(e)})),f=n,0===t.length)return a.reject(new s(s.OTHER_CAUSE,"Tried to save a batch with a cycle."));var i=a.resolve(o.map(t,(function(e){return e._allPreviousSaves||a.resolve()}))).then((function(){return u("batch",null,null,"POST",{requests:o.map(t,(function(e){var t=e.id?"PUT":"POST",n=e._getSaveJSON();o.extend(n,e._flags);var r="/classes/"+e.className;return"_User"!==e.className||e.id||(r="/users"),r="/1.1"+r,e.id&&(r=r+"/"+e.id),e._startSave(),{method:t,path:r,body:n}}))},r).then((function(e){var n=o.map(t,(function(t,n){return e[n].success?(t._finishSave(t.parse(e[n].success)),t):(t._cancelSave(),new s(e[n].error.code,e[n].error.error))}));return _(n)}))}));return e._arrayEach(t,(function(e){e._allPreviousSaves=i})),i}))})).then((function(){return t}))}}},function(e,t,n){"use strict";var r=n(0),i=n(4);e.exports=function(e){e.Role=e.Object.extend("_Role",{constructor:function(t,n){if(r.isString(t)?(e.Object.prototype.constructor.call(this,null,null),this.setName(t)):e.Object.prototype.constructor.call(this,t,n),n){if(!(n instanceof e.ACL))throw new TypeError("acl must be an instance of AV.ACL");this.setACL(n)}},getName:function(){return this.get("name")},setName:function(e,t){return this.set("name",e,t)},getUsers:function(){return this.relation("users")},getRoles:function(){return this.relation("roles")},validate:function(t,n){if("name"in t&&t.name!==this.getName()){var o=t.name;if(this.id&&this.id!==t.objectId)return new i(i.OTHER_CAUSE,"A role's name can only be set before it has been saved.");if(!r.isString(o))return new i(i.OTHER_CAUSE,"A role's name must be a String.");if(!/^[0-9a-zA-Z\-_ ]+$/.test(o))return new i(i.OTHER_CAUSE,"A role's name can only contain alphanumeric characters, _, -, and spaces.")}return!!e.Object.prototype.validate&&e.Object.prototype.validate.call(this,t,n)}})}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=n(0),o=n(9),s=n(4),a=n(2),u=a._request,c=a.request,l=n(1),h=function(){if("undefined"==typeof wx||"function"!=typeof wx.login)throw new Error("Weapp Login is only available in Weapp");return new l((function(e,t){wx.login({success:function(n){var r=n.code,i=n.errMsg;r?e(r):t(new Error(i))},fail:function(){return t(new Error("wx.login 失败"))}})}))},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.preferUnionId,r=t.unionIdPlatform,i=void 0===r?"weixin":r,o=t.asMainAccount,s=void 0===o||o;return n?{platform:i,main_account:s,code:e}:{code:e}},d=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.unionIdPlatform,o=void 0===r?"weixin":r,a=n.asMainAccount,u=void 0!==a&&a;if("string"!=typeof t)throw new s(s.OTHER_CAUSE,"unionId is not a string");if("string"!=typeof o)throw new s(s.OTHER_CAUSE,"unionIdPlatform is not a string");return i.extend({},e,{platform:o,unionid:t,main_account:Boolean(u)})};e.exports=function(e){e.User=e.Object.extend("_User",{_isCurrentUser:!1,_mergeMagicFields:function(t){return t.sessionToken&&(this._sessionToken=t.sessionToken,delete t.sessionToken),e.User.__super__._mergeMagicFields.call(this,t)},_cleanupAuthData:function(){if(this.isCurrent()){var t=this.get("authData");t&&e._objectEach(this.get("authData"),(function(e,n){t[n]||delete t[n]}))}},_synchronizeAllAuthData:function(){if(this.get("authData")){var t=this;e._objectEach(this.get("authData"),(function(e,n){t._synchronizeAuthData(n)}))}},_synchronizeAuthData:function(t){if(this.isCurrent()){var n;i.isString(t)?(n=t,t=e.User._authProviders[n]):n=t.getAuthType();var r=this.get("authData");r&&t&&(t.restoreAuthentication(r[n])||this.dissociateAuthData(t))}},_handleSaveResult:function(t){return t&&!e._config.disableCurrentUser&&(this._isCurrentUser=!0),this._cleanupAuthData(),this._synchronizeAllAuthData(),delete this._serverData.password,this._rebuildEstimatedDataForKey("password"),this._refreshCache(),!t&&!this.isCurrent()||e._config.disableCurrentUser?l.resolve():l.resolve(e.User._saveCurrentUser(this))},_linkWith:function(t,n){var o,s=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=a.failOnNotExist,c=void 0!==u&&u;return i.isString(t)?(o=t,t=e.User._authProviders[t]):o=t.getAuthType(),n?this.save({authData:r({},o,n)},{fetchWhenSave:!!this.get("authData"),_failOnNotExist:c}).then((function(e){return e._handleSaveResult(!0).then((function(){return e}))})):t.authenticate().then((function(e){return s._linkWith(t,e)}))},associateWithAuthData:function(e,t){return this._linkWith(t,e)},associateWithAuthDataAndUnionId:function(e,t,n,r){return this._linkWith(t,d(e,n,r))},associateWithWeapp:function(e){var t=this;return h().then((function(n){return t._linkWith("lc_weapp",f(n,e))}))},linkWithWeapp:function(e){return console.warn("DEPRECATED: User#linkWithWeapp 已废弃,请使用 User#associateWithWeapp 代替"),this.associateWithWeapp(e)},associateWithWeappWithUnionId:function(e,t){var n=this;return h().then((function(r){return n._linkWith("lc_weapp",d({code:r},e,t))}))},dissociateAuthData:function(e){return this.unset("authData."+e),this.save().then((function(e){return e._handleSaveResult(!0).then((function(){return e}))}))},_unlinkFrom:function(e){return console.warn("DEPRECATED: User#_unlinkFrom 已废弃,请使用 User#dissociateAuthData 代替"),this.dissociateAuthData(e)},_isLinked:function(e){var t;return t=i.isString(e)?e:e.getAuthType(),!!(this.get("authData")||{})[t]},isAnonymous:function(){return this._isLinked("anonymous")},logOut:function(){this._logOutWithAll(),this._isCurrentUser=!1},_logOutWithAll:function(){if(this.get("authData")){var t=this;e._objectEach(this.get("authData"),(function(e,n){t._logOutWith(n)}))}},_logOutWith:function(t){this.isCurrent()&&(i.isString(t)&&(t=e.User._authProviders[t]),t&&t.deauthenticate&&t.deauthenticate())},signUp:function(e,t){var n=e&&e.username||this.get("username");if(!n||""===n)throw new s(s.OTHER_CAUSE,"Cannot sign up user with an empty name.");var r=e&&e.password||this.get("password");if(!r||""===r)throw new s(s.OTHER_CAUSE,"Cannot sign up user with an empty password.");return this.save(e,t).then((function(e){return e.isAnonymous()&&(e.unset("authData.anonymous"),e._opSetQueue=[{}]),e._handleSaveResult(!0).then((function(){return e}))}))},signUpOrlogInWithMobilePhone:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e&&e.mobilePhoneNumber||this.get("mobilePhoneNumber");if(!n||""===n)throw new s(s.OTHER_CAUSE,"Cannot sign up or login user by mobilePhoneNumber with an empty mobilePhoneNumber.");var r=e&&e.smsCode||this.get("smsCode");if(!r||""===r)throw new s(s.OTHER_CAUSE,"Cannot sign up or login user by mobilePhoneNumber with an empty smsCode.");return t._makeRequest=function(e,t,n,r,i){return u("usersByMobilePhone",null,null,"POST",i)},this.save(e,t).then((function(e){return delete e.attributes.smsCode,delete e._serverData.smsCode,e._handleSaveResult(!0).then((function(){return e}))}))},loginWithAuthData:function(e,t,n){return this._linkWith(t,e,n)},loginWithAuthDataAndUnionId:function(e,t,n,r){return this.loginWithAuthData(d(e,n,r),t,r)},loginWithWeapp:function(e){var t=this;return h().then((function(n){return t.loginWithAuthData(f(n,e),"lc_weapp",e)}))},loginWithWeappWithUnionId:function(e,t){var n=this;return h().then((function(r){return n.loginWithAuthData(d({code:r},e,t),"lc_weapp",t)}))},logIn:function(){var e=this;return u("login",null,null,"POST",this.toJSON()).then((function(t){var n=e.parse(t);return e._finishFetch(n),e._handleSaveResult(!0).then((function(){return n.smsCode||delete e.attributes.smsCode,e}))}))},save:function(t,n,r){var o,s;return i.isObject(t)||i.isNull(t)||i.isUndefined(t)?(o=t,s=n):((o={})[t]=n,s=r),s=s||{},e.Object.prototype.save.call(this,o,s).then((function(e){return e._handleSaveResult(!1).then((function(){return e}))}))},follow:function(t,n){if(!this.id)throw new Error("Please signin.");var r=void 0,o=void 0;t.user?(r=t.user,o=t.attributes):r=t;var s=i.isString(r)?r:r.id;if(!s)throw new Error("Invalid target user.");var a="users/"+this.id+"/friendship/"+s;return u(a,null,null,"POST",e._encode(o),n)},unfollow:function(e,t){if(!this.id)throw new Error("Please signin.");var n;n=e.user?e.user:e;var r=i.isString(n)?n:n.id;if(!r)throw new Error("Invalid target user.");var o="users/"+this.id+"/friendship/"+r;return u(o,null,null,"DELETE",null,t)},followerQuery:function(){return e.User.followerQuery(this.id)},followeeQuery:function(){return e.User.followeeQuery(this.id)},fetch:function(t,n){return e.Object.prototype.fetch.call(this,t,n).then((function(e){return e._handleSaveResult(!1).then((function(){return e}))}))},updatePassword:function(e,t,n){var r="users/"+this.id+"/updatePassword";return u(r,null,null,"PUT",{old_password:e,new_password:t},n)},isCurrent:function(){return this._isCurrentUser},getUsername:function(){return this.get("username")},getMobilePhoneNumber:function(){return this.get("mobilePhoneNumber")},setMobilePhoneNumber:function(e,t){return this.set("mobilePhoneNumber",e,t)},setUsername:function(e,t){return this.set("username",e,t)},setPassword:function(e,t){return this.set("password",e,t)},getEmail:function(){return this.get("email")},setEmail:function(e,t){return this.set("email",e,t)},authenticated:function(){return console.warn("DEPRECATED: 如果要判断当前用户的登录状态是否有效,请使用 currentUser.isAuthenticated().then(),如果要判断该用户是否是当前登录用户,请使用 user.id === currentUser.id。"),!!this._sessionToken&&!e._config.disableCurrentUser&&e.User.current()&&e.User.current().id===this.id},isAuthenticated:function(){var t=this;return l.resolve().then((function(){return!!t._sessionToken&&e.User._fetchUserBySessionToken(t._sessionToken).then((function(){return!0}),(function(e){if(211===e.code)return!1;throw e}))}))},getSessionToken:function(){return this._sessionToken},refreshSessionToken:function(e){var t=this;return u("users/"+this.id+"/refreshSessionToken",null,null,"PUT",null,e).then((function(e){return t._finishFetch(e),t._handleSaveResult(!0).then((function(){return t}))}))},getRoles:function(t){return e.Relation.reverseQuery("_Role","users",this).find(t)}},{_currentUser:null,_currentUserMatchesDisk:!1,_CURRENT_USER_KEY:"currentUser",_authProviders:{},signUp:function(t,n,r,i){return(r=r||{}).username=t,r.password=n,e.Object._create("_User").signUp(r,i)},logIn:function(t,n){var r=e.Object._create("_User");return r._finishFetch({username:t,password:n}),r.logIn()},become:function(e){return this._fetchUserBySessionToken(e).then((function(e){return e._handleSaveResult(!0).then((function(){return e}))}))},_fetchUserBySessionToken:function(t){var n=e.Object._create("_User");return c({method:"GET",path:"/users/me",authOptions:{sessionToken:t}}).then((function(e){var t=n.parse(e);return n._finishFetch(t),n}))},logInWithMobilePhoneSmsCode:function(t,n){var r=e.Object._create("_User");return r._finishFetch({mobilePhoneNumber:t,smsCode:n}),r.logIn()},signUpOrlogInWithMobilePhone:function(t,n,r,i){return(r=r||{}).mobilePhoneNumber=t,r.smsCode=n,e.Object._create("_User").signUpOrlogInWithMobilePhone(r,i)},logInWithMobilePhone:function(t,n){var r=e.Object._create("_User");return r._finishFetch({mobilePhoneNumber:t,password:n}),r.logIn()},loginWithEmail:function(t,n){var r=e.Object._create("_User");return r._finishFetch({email:t,password:n}),r.logIn()},loginWithAuthData:function(t,n,r){return e.User._logInWith(n,t,r)},signUpOrlogInWithAuthData:function(){return console.warn("DEPRECATED: User.signUpOrlogInWithAuthData 已废弃,请使用 User#loginWithAuthData 代替"),this.loginWithAuthData.apply(this,arguments)},loginWithAuthDataAndUnionId:function(e,t,n,r){return this.loginWithAuthData(d(e,n,r),t,r)},signUpOrlogInWithAuthDataAndUnionId:function(){return console.warn("DEPRECATED: User.signUpOrlogInWithAuthDataAndUnionId 已废弃,请使用 User#loginWithAuthDataAndUnionId 代替"),this.loginWithAuthDataAndUnionId.apply(this,arguments)},loginWithWeapp:function(e){var t=this;return h().then((function(n){return t.loginWithAuthData(f(n,e),"lc_weapp",e)}))},loginWithWeappWithUnionId:function(e,t){var n=this;return h().then((function(r){return n.loginWithAuthData(d({code:r},e,t),"lc_weapp",t)}))},loginAnonymously:function(){return this.loginWithAuthData({id:o()},"anonymous")},associateWithAuthData:function(e,t,n){return console.warn("DEPRECATED: User.associateWithAuthData 已废弃,请使用 User#associateWithAuthData 代替"),e._linkWith(t,n)},logOut:function(){return e._config.disableCurrentUser?(console.warn("AV.User.current() was disabled in multi-user environment, call logOut() from user object instead https://leancloud.cn/docs/leanengine-node-sdk-upgrade-1.html"),l.resolve(null)):(null!==e.User._currentUser&&(e.User._currentUser._logOutWithAll(),e.User._currentUser._isCurrentUser=!1),e.User._currentUserMatchesDisk=!0,e.User._currentUser=null,e.localStorage.removeItemAsync(e._getAVPath(e.User._CURRENT_USER_KEY)).then((function(){return e._refreshSubscriptionId()})))},followerQuery:function(t){if(!t||!i.isString(t))throw new Error("Invalid user object id.");var n=new e.FriendShipQuery("_Follower");return n._friendshipTag="follower",n.equalTo("user",e.Object.createWithoutData("_User",t)),n},followeeQuery:function(t){if(!t||!i.isString(t))throw new Error("Invalid user object id.");var n=new e.FriendShipQuery("_Followee");return n._friendshipTag="followee",n.equalTo("user",e.Object.createWithoutData("_User",t)),n},requestPasswordReset:function(e){return u("requestPasswordReset",null,null,"POST",{email:e})},requestEmailVerify:function(e){return u("requestEmailVerify",null,null,"POST",{email:e})},requestMobilePhoneVerify:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={mobilePhoneNumber:e};return t.validateToken&&(n.validate_token=t.validateToken),u("requestMobilePhoneVerify",null,null,"POST",n,t)},requestPasswordResetBySmsCode:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={mobilePhoneNumber:e};return t.validateToken&&(n.validate_token=t.validateToken),u("requestPasswordResetBySmsCode",null,null,"POST",n,t)},resetPasswordBySmsCode:function(e,t){return u("resetPasswordBySmsCode",null,e,"PUT",{password:t})},verifyMobilePhone:function(e){return u("verifyMobilePhone",null,e,"POST",null)},requestLoginSmsCode:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={mobilePhoneNumber:e};return t.validateToken&&(n.validate_token=t.validateToken),u("requestLoginSmsCode",null,null,"POST",n,t)},currentAsync:function(){return e._config.disableCurrentUser?(console.warn("AV.User.currentAsync() was disabled in multi-user environment, access user from request instead https://leancloud.cn/docs/leanengine-node-sdk-upgrade-1.html"),l.resolve(null)):e.User._currentUser?l.resolve(e.User._currentUser):e.User._currentUserMatchesDisk?l.resolve(e.User._currentUser):e.localStorage.getItemAsync(e._getAVPath(e.User._CURRENT_USER_KEY)).then((function(t){if(!t)return null;e.User._currentUserMatchesDisk=!0,e.User._currentUser=e.Object._create("_User"),e.User._currentUser._isCurrentUser=!0;var n=JSON.parse(t);return e.User._currentUser.id=n._id,delete n._id,e.User._currentUser._sessionToken=n._sessionToken,delete n._sessionToken,e.User._currentUser._finishFetch(n),e.User._currentUser._synchronizeAllAuthData(),e.User._currentUser._refreshCache(),e.User._currentUser._opSetQueue=[{}],e.User._currentUser}))},current:function(){if(e._config.disableCurrentUser)return console.warn("AV.User.current() was disabled in multi-user environment, access user from request instead https://leancloud.cn/docs/leanengine-node-sdk-upgrade-1.html"),null;if(e.User._currentUser)return e.User._currentUser;if(e.User._currentUserMatchesDisk)return e.User._currentUser;e.User._currentUserMatchesDisk=!0;var t=e.localStorage.getItem(e._getAVPath(e.User._CURRENT_USER_KEY));if(!t)return null;e.User._currentUser=e.Object._create("_User"),e.User._currentUser._isCurrentUser=!0;var n=JSON.parse(t);return e.User._currentUser.id=n._id,delete n._id,e.User._currentUser._sessionToken=n._sessionToken,delete n._sessionToken,e.User._currentUser._finishFetch(n),e.User._currentUser._synchronizeAllAuthData(),e.User._currentUser._refreshCache(),e.User._currentUser._opSetQueue=[{}],e.User._currentUser},_saveCurrentUser:function(t){return(e.User._currentUser!==t?e.User.logOut():l.resolve()).then((function(){t._isCurrentUser=!0,e.User._currentUser=t;var n=t._toFullJSON();return n._id=t.id,n._sessionToken=t._sessionToken,e.localStorage.setItemAsync(e._getAVPath(e.User._CURRENT_USER_KEY),JSON.stringify(n)).then((function(){return e.User._currentUserMatchesDisk=!0,e._refreshSubscriptionId()}))}))},_registerAuthenticationProvider:function(t){e.User._authProviders[t.getAuthType()]=t,!e._config.disableCurrentUser&&e.User.current()&&e.User.current()._synchronizeAuthData(t.getAuthType())},_logInWith:function(t,n,r){return e.Object._create("_User")._linkWith(t,n,r)}})}},function(e,t,n){"use strict";var r=n(0),i=n(6)("leancloud:query"),o=n(1),s=n(4),a=n(2),u=a._request,c=a.request,l=n(3),h=l.ensureArray,f=l.transformFetchOptions,d=function(e,t){if(void 0===e)throw new Error(t)};e.exports=function(e){e.Query=function(t){r.isString(t)&&(t=e.Object._getSubclass(t)),this.objectClass=t,this.className=t.prototype.className,this._where={},this._include=[],this._select=[],this._limit=-1,this._skip=0,this._extraOptions={}},e.Query.or=function(){var t=r.toArray(arguments),n=null;e._arrayEach(t,(function(e){if(r.isNull(n)&&(n=e.className),n!==e.className)throw new Error("All queries must be for the same class")}));var i=new e.Query(n);return i._orQuery(t),i},e.Query.and=function(){var t=r.toArray(arguments),n=null;e._arrayEach(t,(function(e){if(r.isNull(n)&&(n=e.className),n!==e.className)throw new Error("All queries must be for the same class")}));var i=new e.Query(n);return i._andQuery(t),i},e.Query.doCloudQuery=function(t,n,i){var o={cql:t};return r.isArray(n)?o.pvalues=n:i=n,u("cloudQuery",null,null,"GET",o,i).then((function(t){var n=new e.Query(t.className);return{results:r.map(t.results,(function(e){var r=n._newObject(t);return r._finishFetch&&r._finishFetch(n._processResult(e),!0),r})),count:t.count,className:t.className}}))},e.Query._extend=e._extend,r.extend(e.Query.prototype,{_processResult:function(e){return e},get:function(e,t){if(!e)throw new s(s.OBJECT_NOT_FOUND,"Object not found.");var n=this._newObject();n.id=e;var i=this.toJSON(),o={};return i.keys&&(o.keys=i.keys),i.include&&(o.include=i.include),i.includeACL&&(o.includeACL=i.includeACL),u("classes",this.className,e,"GET",f(o),t).then((function(e){if(r.isEmpty(e))throw new s(s.OBJECT_NOT_FOUND,"Object not found.");return n._finishFetch(n.parse(e),!0),n}))},toJSON:function(){var t={where:this._where};return this._include.length>0&&(t.include=this._include.join(",")),this._select.length>0&&(t.keys=this._select.join(",")),void 0!==this._includeACL&&(t.returnACL=this._includeACL),this._limit>=0&&(t.limit=this._limit),this._skip>0&&(t.skip=this._skip),void 0!==this._order&&(t.order=this._order),e._objectEach(this._extraOptions,(function(e,n){t[n]=e})),t},_newObject:function(t){return t&&t.className?new e.Object(t.className):new this.objectClass},_createRequest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.toJSON(),t=arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/classes/"+this.className;return encodeURIComponent(JSON.stringify(e)).length>2e3?c({path:"/batch",method:"POST",data:{requests:[{method:"GET",path:"/1.1"+n,params:e}]},authOptions:t}).then((function(e){var t=e[0];if(t.success)return t.success;var n=new Error(t.error.error||"Unknown batch error");throw n.code=t.error.code,n})):c({method:"GET",path:n,query:e,authOptions:t})},_parseResponse:function(e){var t=this;return r.map(e.results,(function(n){var r=t._newObject(e);return r._finishFetch&&r._finishFetch(t._processResult(n),!0),r}))},find:function(e){return this._createRequest(void 0,e).then(this._parseResponse.bind(this))},scan:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.orderedBy,s=t.batchSize,a=arguments[1],c=this.toJSON();i("scan %O",c),c.order&&(console.warn("The order of the query is ignored for Query#scan. Checkout the orderedBy option of Query#scan."),delete c.order),c.skip&&(console.warn("The skip option of the query is ignored for Query#scan."),delete c.skip),c.limit&&(console.warn("The limit option of the query is ignored for Query#scan."),delete c.limit),n&&(c.scan_key=n),s&&(c.limit=s);var l=o.resolve([]),h=void 0,f=!1;return{next:function(){return(l=l.then((function(t){return f?[]:t.length>1?t:h||0===t.length?u("scan/classes",e.className,null,"GET",h?r.extend({},c,{cursor:h}):c,a).then((function(t){return h=t.cursor,e._parseResponse(t)})).then((function(e){return e.length||(f=!0),t.concat(e)})):(f=!0,t)}))).then((function(e){return e.shift()})).then((function(e){return{value:e,done:f}}))}}},destroyAll:function(t){return this.find(t).then((function(n){return e.Object.destroyAll(n,t)}))},count:function(e){var t=this.toJSON();return t.limit=0,t.count=1,this._createRequest(t,e).then((function(e){return e.count}))},first:function(e){var t=this,n=this.toJSON();return n.limit=1,this._createRequest(n,e).then((function(e){return r.map(e.results,(function(e){var n=t._newObject();return n._finishFetch&&n._finishFetch(t._processResult(e),!0),n}))[0]}))},skip:function(e){return d(e,"undefined is not a valid skip value"),this._skip=e,this},limit:function(e){return d(e,"undefined is not a valid limit value"),this._limit=e,this},equalTo:function(t,n){return d(t,"undefined is not a valid key"),d(n,"undefined is not a valid value"),this._where[t]=e._encode(n),this},_addCondition:function(t,n,r){return d(t,"undefined is not a valid condition key"),d(n,"undefined is not a valid condition"),d(r,"undefined is not a valid condition value"),this._where[t]||(this._where[t]={}),this._where[t][n]=e._encode(r),this},sizeEqualTo:function(e,t){return this._addCondition(e,"$size",t),this},notEqualTo:function(e,t){return this._addCondition(e,"$ne",t),this},lessThan:function(e,t){return this._addCondition(e,"$lt",t),this},greaterThan:function(e,t){return this._addCondition(e,"$gt",t),this},lessThanOrEqualTo:function(e,t){return this._addCondition(e,"$lte",t),this},greaterThanOrEqualTo:function(e,t){return this._addCondition(e,"$gte",t),this},containedIn:function(e,t){return this._addCondition(e,"$in",t),this},notContainedIn:function(e,t){return this._addCondition(e,"$nin",t),this},containsAll:function(e,t){return this._addCondition(e,"$all",t),this},exists:function(e){return this._addCondition(e,"$exists",!0),this},doesNotExist:function(e){return this._addCondition(e,"$exists",!1),this},matches:function(e,t,n){return this._addCondition(e,"$regex",t),n||(n=""),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),n&&n.length&&this._addCondition(e,"$options",n),this},matchesQuery:function(e,t){var n=t.toJSON();return n.className=t.className,this._addCondition(e,"$inQuery",n),this},doesNotMatchQuery:function(e,t){var n=t.toJSON();return n.className=t.className,this._addCondition(e,"$notInQuery",n),this},matchesKeyInQuery:function(e,t,n){var r=n.toJSON();return r.className=n.className,this._addCondition(e,"$select",{key:t,query:r}),this},doesNotMatchKeyInQuery:function(e,t,n){var r=n.toJSON();return r.className=n.className,this._addCondition(e,"$dontSelect",{key:t,query:r}),this},_orQuery:function(e){var t=r.map(e,(function(e){return e.toJSON().where}));return this._where.$or=t,this},_andQuery:function(e){var t=r.map(e,(function(e){return e.toJSON().where}));return this._where.$and=t,this},_quote:function(e){return"\\Q"+e.replace("\\E","\\E\\\\E\\Q")+"\\E"},contains:function(e,t){return this._addCondition(e,"$regex",this._quote(t)),this},startsWith:function(e,t){return this._addCondition(e,"$regex","^"+this._quote(t)),this},endsWith:function(e,t){return this._addCondition(e,"$regex",this._quote(t)+"$"),this},ascending:function(e){return d(e,"undefined is not a valid key"),this._order=e,this},addAscending:function(e){return d(e,"undefined is not a valid key"),this._order?this._order+=","+e:this._order=e,this},descending:function(e){return d(e,"undefined is not a valid key"),this._order="-"+e,this},addDescending:function(e){return d(e,"undefined is not a valid key"),this._order?this._order+=",-"+e:this._order="-"+e,this},near:function(t,n){return n instanceof e.GeoPoint||(n=new e.GeoPoint(n)),this._addCondition(t,"$nearSphere",n),this},withinRadians:function(e,t,n){return this.near(e,t),this._addCondition(e,"$maxDistance",n),this},withinMiles:function(e,t,n){return this.withinRadians(e,t,n/3958.8)},withinKilometers:function(e,t,n){return this.withinRadians(e,t,n/6371)},withinGeoBox:function(t,n,r){return n instanceof e.GeoPoint||(n=new e.GeoPoint(n)),r instanceof e.GeoPoint||(r=new e.GeoPoint(r)),this._addCondition(t,"$within",{$box:[n,r]}),this},include:function(e){var t=this;return d(e,"undefined is not a valid key"),r(arguments).forEach((function(e){t._include=t._include.concat(h(e))})),this},includeACL:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._includeACL=e,this},select:function(e){var t=this;return d(e,"undefined is not a valid key"),r(arguments).forEach((function(e){t._select=t._select.concat(h(e))})),this},each:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._order||this._skip||this._limit>=0){var i=new Error("Cannot iterate on a query with sort, skip, or limit.");return o.reject(i)}var s=new e.Query(this.objectClass);s._limit=n.batchSize||100,s._where=r.clone(this._where),s._include=r.clone(this._include),s.ascending("objectId");var a=!1;return o._continueWhile((function(){return!a}),(function(){return s.find(n).then((function(e){var n=o.resolve();return r.each(e,(function(e){n=n.then((function(){return t(e)}))})),n.then((function(){e.length>=s._limit?s.greaterThan("objectId",e[e.length-1].id):a=!0}))}))}))},subscribe:function(t){return e.LiveQuery.init(this,t)}}),e.FriendShipQuery=e.Query._extend({_newObject:function(){return new(e.Object._getSubclass("_User"))},_processResult:function(e){if(e&&e[this._friendshipTag]){var t=e[this._friendshipTag];return"Pointer"===t.__type&&"_User"===t.className&&(delete t.__type,delete t.className),t}return null}})}},function(e,t,n){"use strict";var r=n(0),i=n(53),o=n(1),s=n(3).inherits,a=n(2).request,u=function(e,t){return a({method:"POST",path:"/LiveQuery/subscribe",data:{query:e,id:t}})};e.exports=function(e){var t=function(){if(!e._config.realtime)throw new Error("LiveQuery not supported. Please use the LiveQuery bundle. https://url.leanapp.cn/enable-live-query")};e.LiveQuery=s(i,{constructor:function(e,t,n,r){var o=this;i.apply(this),this.id=e,this._client=t,this._client.register(this),this._queryJSON=n,this._subscriptionId=r,this._onMessage=this._dispatch.bind(this),this._onReconnect=function(){u(o._queryJSON,o._subscriptionId).catch((function(e){return console.error("LiveQuery resubscribe error: "+e.message)}))},t.on("message",this._onMessage),t.on("reconnect",this._onReconnect)},_dispatch:function(t){var n=this;t.forEach((function(t){var i=t.op,o=t.object,s=t.query_id,a=t.updatedKeys;if(s===n.id){var u=e.parseJSON(r.extend({__type:"_File"===o.className?"File":"Object"},o));a?n.emit(i,u,a):n.emit(i,u)}}))},unsubscribe:function(){var e=this._client;return e.off("message",this._onMessage),e.off("reconnect",this._onReconnect),e.deregister(this),a({method:"POST",path:"/LiveQuery/unsubscribe",data:{id:e.id,query_id:this.id}})}},{init:function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.subscriptionId,s=void 0===i?e._getSubscriptionId():i;if(t(),!(n instanceof e.Query))throw new TypeError("LiveQuery must be inited with a Query");return o.resolve(s).then((function(t){return e._config.realtime.createLiveQueryClient(t).then((function(r){var i=n.toJSON(),o={where:i.where,keys:i.keys,returnACL:i.returnACL,className:n.className},s=u(o,t).then((function(n){var i=n.query_id;return new e.LiveQuery(i,r,o,t)})).finally((function(){r.deregister(s)}));return r.register(s),s}))}))},pause:function(){return t(),e._config.realtime.pause()},resume:function(){return t(),e._config.realtime.resume()}})}},function(e,t,n){"use strict";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(){this._events=new r,this._eventsCount=0}var s=Object.prototype.hasOwnProperty,a="~";Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(a=!1)),o.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)s.call(e,t)&&n.push(a?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},o.prototype.listeners=function(e,t){var n=a?a+e:e,r=this._events[n];if(t)return!!r;if(!r)return[];if(r.fn)return[r.fn];for(var i=0,o=r.length,s=new Array(o);i1&&void 0!==arguments[1]?arguments[1]:{};if(r.isString(e)&&(e={mobilePhoneNumber:e}),!e.mobilePhoneNumber)throw new Error("Missing mobilePhoneNumber.");return t.validateToken&&(e=r.extend({},e,{validate_token:t.validateToken})),o("requestSmsCode",null,null,"POST",e,t)},verifySmsCode:function(e,t){if(!e)throw new Error("Missing sms code.");var n={};return r.isString(t)&&(n.mobilePhoneNumber=t),o("verifySmsCode",e,null,"POST",n)},_requestCaptcha:function(e,t){return o("requestCaptcha",null,null,"GET",e,t).then((function(e){var t=e.captcha_url;return{captchaToken:e.captcha_token,url:t}}))},requestCaptcha:e.Captcha.request,verifyCaptcha:function(e,t){return o("verifyCaptcha",null,null,"POST",{captcha_code:e,captcha_token:t}).then((function(e){return e.validate_token}))}})}},function(e,t,n){"use strict";var r=n(2).request;e.exports=function(e){e.Installation=e.Object.extend("_Installation"),e.Push=e.Push||{},e.Push.send=function(e,t){if(e.where&&(e.where=e.where.toJSON().where),e.where&&e.cql)throw new Error("Both where and cql can't be set");if(e.push_time&&(e.push_time=e.push_time.toJSON()),e.expiration_time&&(e.expiration_time=e.expiration_time.toJSON()),e.expiration_time&&e.expiration_time_interval)throw new Error("Both expiration_time and expiration_time_interval can't be set");return r({service:"push",method:"POST",path:"/push",data:e,authOptions:t})}}},function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=n(0),o=n(1),s=n(2)._request,a=n(3).getSessionToken;e.exports=function(e){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return a(t)?e.User._fetchUserBySessionToken(a(t)):e.User.currentAsync()},n=function(n){return t(n).then((function(t){return e.Object.createWithoutData("_User",t.id)._toPointer()}))};e.Status=function(e,t){return this.data={},this.inboxType="default",this.query=null,e&&"object"===(void 0===e?"undefined":r(e))?this.data=e:(e&&(this.data.image=e),t&&(this.data.message=t)),this},i.extend(e.Status.prototype,{get:function(e){return this.data[e]},set:function(e,t){return this.data[e]=t,this},destroy:function(e){return this.id?s("statuses",null,this.id,"DELETE",e):o.reject(new Error("The status id is not exists."))},toObject:function(){return this.id?e.Object.createWithoutData("_Status",this.id):null},_getDataJSON:function(){var t=i.clone(this.data);return e._encode(t)},send:function(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!a(r)&&!e.User.current())throw new Error("Please signin an user.");return this.query?n(r).then((function(e){var n=t.query.toJSON();n.className=t.query.className;var i={};return i.query=n,t.data=t.data||{},t.data.source=t.data.source||e,i.data=t._getDataJSON(),i.inboxType=t.inboxType||"default",s("statuses",null,null,"POST",i,r)})).then((function(n){return t.id=n.objectId,t.createdAt=e._parseDate(n.createdAt),t})):e.Status.sendStatusToFollowers(this,r)},_finishFetch:function(t){this.id=t.objectId,this.createdAt=e._parseDate(t.createdAt),this.updatedAt=e._parseDate(t.updatedAt),this.messageId=t.messageId,delete t.messageId,delete t.objectId,delete t.createdAt,delete t.updatedAt,this.data=e._decode(t)}}),e.Status.sendStatusToFollowers=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!a(r)&&!e.User.current())throw new Error("Please signin an user.");return n(r).then((function(n){var i={className:"_Follower",keys:"follower"};i.where={user:n};var o={};return o.query=i,t.data=t.data||{},t.data.source=t.data.source||n,o.data=t._getDataJSON(),o.inboxType=t.inboxType||"default",s("statuses",null,null,"POST",o,r).then((function(n){return t.id=n.objectId,t.createdAt=e._parseDate(n.createdAt),t}))}))},e.Status.sendPrivateStatus=function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!a(o)&&!e.User.current())throw new Error("Please signin an user.");if(!r)throw new Error("Invalid target user.");var u=i.isString(r)?r:r.id;if(!u)throw new Error("Invalid target user.");return n(o).then((function(n){var r={className:"_User"};r.where={objectId:u};var i={};return i.query=r,t.data=t.data||{},t.data.source=t.data.source||n,i.data=t._getDataJSON(),i.inboxType="private",t.inboxType="private",s("statuses",null,null,"POST",i,o).then((function(n){return t.id=n.objectId,t.createdAt=e._parseDate(n.createdAt),t}))}))},e.Status.countUnreadStatuses=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(i.isString(r)||(u=r),!a(u)&&null==n&&!e.User.current())throw new Error("Please signin an user or pass the owner objectId.");return o.resolve(n||t(u)).then((function(t){var n={};return n.inboxType=e._encode(r),n.owner=e._encode(t),s("subscribe/statuses/count",null,null,"GET",n,u)}))},e.Status.resetUnreadCount=function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(i.isString(r)||(u=r),!a(u)&&null==n&&!e.User.current())throw new Error("Please signin an user or pass the owner objectId.");return o.resolve(n||t(u)).then((function(t){var n={};return n.inboxType=e._encode(r),n.owner=e._encode(t),s("subscribe/statuses/resetUnreadCount",null,null,"POST",n,u)}))},e.Status.statusQuery=function(t){var n=new e.Query("_Status");return t&&n.equalTo("source",t),n},e.InboxQuery=e.Query._extend({_objectClass:e.Status,_sinceId:0,_maxId:0,_inboxType:"default",_owner:null,_newObject:function(){return new e.Status},_createRequest:function(t,n){return e.InboxQuery.__super__._createRequest.call(this,t,n,"/subscribe/statuses")},sinceId:function(e){return this._sinceId=e,this},maxId:function(e){return this._maxId=e,this},owner:function(e){return this._owner=e,this},inboxType:function(e){return this._inboxType=e,this},toJSON:function(){var t=e.InboxQuery.__super__.toJSON.call(this);return t.owner=e._encode(this._owner),t.inboxType=e._encode(this._inboxType),t.sinceId=e._encode(this._sinceId),t.maxId=e._encode(this._maxId),t}}),e.Status.inboxQuery=function(t,n){var r=new e.InboxQuery(e.Status);return t&&(r._owner=t),n&&(r._inboxType=n),r}}},function(e,t,n){"use strict";var r=n(0),i=n(2)._request;e.exports=function(e){e.SearchSortBuilder=function(){this._sortFields=[]},r.extend(e.SearchSortBuilder.prototype,{_addField:function(e,t,n,r){var i={};return i[e]={order:t||"asc",mode:n||"avg",missing:"_"+(r||"last")},this._sortFields.push(i),this},ascending:function(e,t,n){return this._addField(e,"asc",t,n)},descending:function(e,t,n){return this._addField(e,"desc",t,n)},whereNear:function(e,t,n){n=n||{};var r={},i={lat:t.latitude,lon:t.longitude},o={order:n.order||"asc",mode:n.mode||"avg",unit:n.unit||"km"};return o[e]=i,r._geo_distance=o,this._sortFields.push(r),this},build:function(){return JSON.stringify(e._encode(this._sortFields))}}),e.SearchQuery=e.Query._extend({_sid:null,_hits:0,_queryString:null,_highlights:null,_sortBuilder:null,_createRequest:function(e,t){return i("search/select",null,null,"GET",e||this.toJSON(),t)},sid:function(e){return this._sid=e,this},queryString:function(e){return this._queryString=e,this},highlights:function(e){var t;return t=e&&r.isString(e)?arguments:e,this._highlights=t,this},sortBy:function(e){return this._sortBuilder=e,this},hits:function(){return this._hits||(this._hits=0),this._hits},_processResult:function(e){return delete e.className,delete e._app_url,delete e._deeplink,e},hasMore:function(){return!this._hitEnd},reset:function(){this._hitEnd=!1,this._sid=null,this._hits=0},find:function(){var e=this;return this._createRequest().then((function(t){return t.sid?(e._oldSid=e._sid,e._sid=t.sid):(e._sid=null,e._hitEnd=!0),e._hits=t.hits||0,r.map(t.results,(function(n){n.className&&(t.className=n.className);var r=e._newObject(t);return r.appURL=n._app_url,r._finishFetch(e._processResult(n),!0),r}))}))},toJSON:function(){var t=e.SearchQuery.__super__.toJSON.call(this);if(delete t.where,this.className&&(t.clazz=this.className),this._sid&&(t.sid=this._sid),!this._queryString)throw new Error("Please set query string.");if(t.q=this._queryString,this._highlights&&(t.highlights=this._highlights.join(",")),this._sortBuilder&&t.order)throw new Error("sort and order can not be set at same time.");return this._sortBuilder&&(t.sort=this._sortBuilder.build()),t}})}},function(e,t,n){"use strict";var r=n(0),i=n(4),o=n(2).request,s=n(1);e.exports=function(e){e.Insight=e.Insight||{},r.extend(e.Insight,{startJob:function(t,n){if(!t||!t.sql)throw new Error("Please provide the sql to run the job.");var r={jobConfig:t,appId:e.applicationId};return o({path:"/bigquery/jobs",method:"POST",data:e._encode(r,null,!0),authOptions:n,signKey:!1}).then((function(t){return e._decode(t).id}))},on:function(e,t){}}),e.Insight.JobQuery=function(e,t){if(!e)throw new Error("Please provide the job id.");this.id=e,this.className=t,this._skip=0,this._limit=100},r.extend(e.Insight.JobQuery.prototype,{skip:function(e){return this._skip=e,this},limit:function(e){return this._limit=e,this},find:function(e){var t={skip:this._skip,limit:this._limit};return o({path:"/bigquery/jobs/"+this.id,method:"GET",query:t,authOptions:e,signKey:!1}).then((function(e){return e.error?s.reject(new i(e.code,e.error)):s.resolve(e)}))}})}},function(e,t,n){"use strict";var r=n(0),i=n(2)._request,o=n(5),s=function(e){return"string"==typeof e?e:"function"==typeof e.getPayload?JSON.stringify(e.getPayload()):JSON.stringify(e)};e.exports=o.Object.extend("_Conversation",{constructor:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o.Object.prototype.constructor.call(this,null,null),this.set("name",e),void 0!==t.isSystem&&this.set("sys",!!t.isSystem),void 0!==t.isTransient&&this.set("tr",!!t.isTransient)},getCreator:function(){return this.get("c")},getLastMessageAt:function(){return this.get("lm")},getMembers:function(){return this.get("m")},addMember:function(e){return this.add("m",e)},getMutedMembers:function(){return this.get("mu")},getName:function(){return this.get("name")},isTransient:function(){return this.get("tr")},isSystem:function(){return this.get("sys")},send:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o={from_peer:e,conv_id:this.id,transient:!1,message:s(t)};return void 0!==n.toClients&&(o.to_peers=n.toClients),void 0!==n.transient&&(o.transient=!!n.transient),void 0!==n.pushData&&(o.push_data=n.pushData),i("rtm","messages",null,"POST",o,r)},broadcast:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a={from_peer:e,conv_id:this.id,message:s(t)};if(void 0!==n.pushData&&(a.push=n.pushData),void 0!==n.validTill){var u=n.validTill;r.isDate(u)&&(u=u.getTime()),n.valid_till=u}return i("rtm","broadcast",null,"POST",a,o)}})},function(e,t,n){"use strict";function r(e){var t=e.name,n=e.value,r=e.version;this.name=t,this.value=n,this.version=r}var i=n(0),o=n(1),s=n(2).request,a=n(3),u=a.ensureArray,c=a.parseDate,l=n(5);l.LeaderboardVersionChangeInterval={NEVER:"never",DAY:"day",WEEK:"week",MONTH:"month"},l.LeaderboardOrder={ASCENDING:"ascending",DESCENDING:"descending"},l.LeaderboardUpdateStrategy={BETTER:"better",LAST:"last",SUM:"sum"};var h=function(e){var t=l._decode(e);return new r({name:t.statisticName,value:t.statisticValue,version:t.version})};l.Leaderboard=function(e){this.statisticName=e,this.order=void 0,this.updateStrategy=void 0,this.versionChangeInterval=void 0,this.version=void 0,this.nextResetAt=void 0,this.createdAt=void 0};var f=l.Leaderboard;l.Leaderboard.createWithoutData=function(e){return new f(e)},l.Leaderboard.createLeaderboard=function(e,t){var n=e.statisticName,r=e.order,i=e.versionChangeInterval,o=e.updateStrategy;return s({method:"POST",path:"/leaderboard/leaderboards",data:{statisticName:n,order:r,versionChangeInterval:i,updateStrategy:o},authOptions:t}).then((function(e){return new f(n)._finishFetch(e)}))},l.Leaderboard.getLeaderboard=function(e,t){return f.createWithoutData(e).fetch(t)},l.Leaderboard.getStatistics=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.statisticNames,r=arguments[2];return o.resolve().then((function(){if(!e||!e.id)throw new Error("user must be an AV.User");return s({method:"GET",path:"/leaderboard/users/"+e.id+"/statistics",query:{statistics:n?u(n).join(","):void 0},authOptions:r}).then((function(e){return e.results.map(h)}))}))},l.Leaderboard.updateStatistics=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o.resolve().then((function(){if(!e||!e.id)throw new Error("user must be an AV.User");var r=i.map(t,(function(e,t){return{statisticName:t,statisticValue:e}})),o=n.overwrite;return s({method:"POST",path:"/leaderboard/users/"+e.id+"/statistics",query:{overwrite:o?1:void 0},data:r,authOptions:n}).then((function(e){return e.results.map(h)}))}))},l.Leaderboard.deleteStatistics=function(e,t,n){return o.resolve().then((function(){if(!e||!e.id)throw new Error("user must be an AV.User");return s({method:"DELETE",path:"/leaderboard/users/"+e.id+"/statistics",query:{statistics:u(t).join(",")},authOptions:n}).then((function(){}))}))},i.extend(f.prototype,{_finishFetch:function(e){var t=this;return i.forEach(e,(function(e,n){"updatedAt"!==n&&"objectId"!==n&&("expiredAt"===n&&(n="nextResetAt"),"createdAt"===n&&(e=c(e)),e&&"Date"===e.__type&&(e=c(e.iso)),t[n]=e)})),this},fetch:function(e){var t=this;return s({method:"GET",path:"/leaderboard/leaderboards/"+this.statisticName,authOptions:e}).then((function(e){return t._finishFetch(e)}))},_getResults:function(e,t,n){var r=e.skip,i=e.limit,o=e.selectUserKeys,a=e.includeStatistics,c=e.version;return s({method:"GET",path:"/leaderboard/leaderboards/"+this.statisticName+"/ranks"+(n?"/"+n:""),query:{skip:r,limit:i,includeUser:o?u(o).join(","):void 0,includeStatistics:a?u(a).join(","):void 0,version:c},authOptions:t}).then((function(e){return e.results.map((function(e){var t=l._decode(e),n=t.user,r=t.statisticValue,i=t.rank,o=t.statistics;return{user:n,value:r,rank:i,includedStatistics:(void 0===o?[]:o).map(h)}}))}))},getResults:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.skip,n=e.limit,r=e.selectUserKeys,i=e.includeStatistics,o=e.version,s=arguments[1];return this._getResults({skip:t,limit:n,selectUserKeys:r,includeStatistics:i,version:o},s)},getResultsAroundUser:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];if(e&&"string"!=typeof e.id)return this.getResultsAroundUser(void 0,e,t);var r=t.limit,i=t.selectUserKeys,o=t.includeStatistics,s=t.version;return this._getResults({limit:r,selectUserKeys:i,includeStatistics:o,version:s},n,e?e.id:"self")},_update:function(e,t){var n=this;return s({method:"PUT",path:"/leaderboard/leaderboards/"+this.statisticName,data:e,authOptions:t}).then((function(e){return n._finishFetch(e)}))},updateVersionChangeInterval:function(e,t){return this._update({versionChangeInterval:e},t)},updateUpdateStrategy:function(e,t){return this._update({updateStrategy:e},t)},reset:function(e){var t=this;return s({method:"PUT",path:"/leaderboard/leaderboards/"+this.statisticName+"/incrementVersion",authOptions:e}).then((function(e){return t._finishFetch(e)}))},destroy:function(e){return l.request({method:"DELETE",path:"/leaderboard/leaderboards/"+this.statisticName,authOptions:e}).then((function(){}))},getArchives:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.skip,r=t.limit,i=arguments[1];return s({method:"GET",path:"/leaderboard/leaderboards/"+this.statisticName+"/archives",query:{skip:n,limit:r},authOptions:i}).then((function(t){return t.results.map((function(t){var n=t.version,r=t.status,i=t.url,o=t.activatedAt,s=t.deactivatedAt;return{statisticName:e.statisticName,version:n,status:r,url:i,activatedAt:c(o.iso),deactivatedAt:c(s.iso)}}))}))}})}])},function(e,t,n){"use strict";var r=n(162);n.n(r).a},function(e,t,n){"use strict";var r=n(164);n.n(r).a},function(e,t,n){var r="undefined"!=typeof global&&global||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(246),t.setImmediate="undefined"!=typeof self&&self.setImmediate||"undefined"!=typeof global&&global.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||"undefined"!=typeof global&&global.clearImmediate||this&&this.clearImmediate},function(e,t){!function(e,t){"use strict";if(!e.setImmediate){var n,r,i,o,s,a=1,u={},c=!1,l=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,"[object process]"==={}.toString.call(e.process)?n=function(e){process.nextTick((function(){d(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){d(e.data)},n=function(e){i.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(r=l.documentElement,n=function(e){var t=l.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):n=function(e){setTimeout(d,0,e)}:(o="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&d(+t.data.slice(o.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),n=function(t){e.postMessage(o+t,"*")}),h.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;rh;)void 0!==(a=c(n,e=u[h++]))&&o(l,e,a);return l}})},257:function(t,e,a){var n=a(146),r=a(258),i=a(17),s=a(1).Reflect;t.exports=s&&s.ownKeys||function(t){var e=n.f(i(t)),a=r.f;return a?e.concat(a(t)):e}},258:function(t,e){e.f=Object.getOwnPropertySymbols},259:function(t,e,a){"use strict";var n=a(18),r=a(38);t.exports=function(t,e,a){e in t?n.f(t,e,r(0,a)):t[e]=a}},260:function(t,e,a){"use strict";var n=a(61),r=a(133)(0),i=a(127)([].forEach,!0);n(n.P+n.F*!i,"Array",{forEach:function(t){return r(this,t,arguments[1])}})},261:function(t,e,a){t.exports=a(262)},262:function(t,e,a){a(263);var n=a(3).Object;t.exports=function(t,e,a){return n.defineProperty(t,e,a)}},263:function(t,e,a){var n=a(37);n(n.S+n.F*!a(12),"Object",{defineProperty:a(22).f})},264:function(t,e,a){"use strict";var n=a(172);a.n(n).a},265:function(t,e,a){var n=a(61),r=a(266);n(n.P+n.F*(Date.prototype.toISOString!==r),"Date",{toISOString:r})},266:function(t,e,a){"use strict";var n=a(36),r=Date.prototype.getTime,i=Date.prototype.toISOString,s=function(t){return t>9?t:"0"+t};t.exports=n((function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-5e13-1))}))||!n((function(){i.call(new Date(NaN))}))?function(){if(!isFinite(r.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),a=t.getUTCMilliseconds(),n=e<0?"-":e>9999?"+":"";return n+("00000"+Math.abs(e)).slice(n?-6:-4)+"-"+s(t.getUTCMonth()+1)+"-"+s(t.getUTCDate())+"T"+s(t.getUTCHours())+":"+s(t.getUTCMinutes())+":"+s(t.getUTCSeconds())+"."+(a>99?a:"0"+s(a))+"Z"}:i},267:function(t,e,a){"use strict";var n=a(61),r=a(63),i=a(66);n(n.P+n.F*a(36)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=r(this),a=i(e);return"number"!=typeof a||isFinite(a)?e.toISOString():null}})},268:function(t,e,a){"use strict";var n=a(173);a.n(n).a},269:function(t,e,a){"use strict";var n=a(174);a.n(n).a},270:function(t,e,a){"use strict";var n=a(175);a.n(n).a},271:function(t,e,a){"use strict";var n=a(176);a.n(n).a},285:function(t,e,a){"use strict";a.r(e);var n=a(136),r=a(182),i={components:{NavLink:n.a,AccessNumber:r.a},data:function(){return{recoShow:!1}},computed:{year:function(){return(new Date).getFullYear()},data:function(){return this.$frontmatter},actionLink:function(){return{link:this.data.actionLink,text:this.data.actionText}},heroImageStyle:function(){return this.data.heroImageStyle||{maxHeight:"200px",margin:"6rem auto 1.5rem"}}},mounted:function(){this.recoShow=!0}},s=(a(252),a(0)),o=Object(s.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"home",class:t.recoShow?"reco-show":"reco-hide"},[a("div",{staticClass:"hero"},[t.data.heroImage?a("img",{style:t.heroImageStyle,attrs:{src:t.$withBase(t.data.heroImage),alt:"hero"}}):t._e(),t._v(" "),!1!==t.data.isShowTitleInHome?a("h1",[t._v(t._s(t.data.heroText||t.$title||"午后南杂"))]):t._e(),t._v(" "),a("p",{staticClass:"description"},[t._v(t._s(t.data.tagline||t.$description||"Welcome to your vuePress-theme-reco site"))]),t._v(" "),!0===t.$themeConfig.huawei?a("p",{staticClass:"huawei"},[a("i",{staticClass:"iconfont reco-huawei",staticStyle:{color:"#fc2d38"}}),t._v("   华为,为中华而为之!")]):t._e(),t._v(" "),t.data.actionText&&t.data.actionLink?a("p",{staticClass:"action"},[a("NavLink",{staticClass:"action-button",attrs:{item:t.actionLink}})],1):t._e()]),t._v(" "),t.data.features&&t.data.features.length?a("div",{staticClass:"features"},t._l(t.data.features,(function(e,n){return a("div",{key:n,staticClass:"feature"},[a("h2",[t._v(t._s(e.title))]),t._v(" "),a("p",[t._v(t._s(e.details))])])})),0):t._e(),t._v(" "),a("Content",{staticClass:"home-center",attrs:{custom:""}}),t._v(" "),a("div",{staticClass:"footer"},[t._m(0),t._v(" "),t.$themeConfig.record?a("span",[a("i",{staticClass:"iconfont reco-beian"}),t._v(" "),a("a",[t._v(t._s(t.$themeConfig.record))])]):t._e(),t._v(" "),a("span",[a("i",{staticClass:"iconfont reco-copyright"}),t._v(" "),a("a",[t.$themeConfig.startYear?a("span",[t._v(t._s(t.$themeConfig.startYear)+" - ")]):t._e(),t._v("\n "+t._s(t.year)+"\n   \n "),t._v(" "),a("i",{staticClass:"iconfont reco-api"}),t._v(" "),a("span",[t._v("页面基于vuepress-reco构建")])])]),t._v(" "),a("span",[a("AccessNumber",{attrs:{idVal:"/"}})],1)])],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"iconfont reco-account"}),this._v(" "),e("a",{attrs:{target:"blank",href:"http://yaoyuan.io"}},[this._v("yaoyuan.io")])])}],!1,null,null,null).exports,c=(a(254),a(255),a(256),a(260),a(62),a(135),a(261)),u=a.n(c);function l(t,e,a){return e in t?u()(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}a(129),a(130),a(132);var h=a(181);function f(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}var g={mixins:[a(160).a],components:{NavLink:n.a,AccessNumber:r.a,NoteAbstract:h.a},data:function(){return{recoShow:!1,tags:[]}},computed:{posts:function(){var t=this,e=this.$site.pages;return e=e.filter((function(t){var e=t.frontmatter,a=e.home,n=e.isTimeLine,r=e.date;return!(1==a||1==n||void 0===r)})),e.sort((function(e,a){return t._getTimeNum(a)-t._getTimeNum(e)})),e},getPagesLength:function(){var t=0;return this.$categories.list.map((function(e){t+=e.posts.length})),t},year:function(){return(new Date).getFullYear()},data:function(){return this.$frontmatter},actionLink:function(){return{link:this.data.actionLink,text:this.data.actionText}},heroImageStyle:function(){return this.data.heroImageStyle||{maxHeight:"200px",margin:"6rem auto 1.5rem"}},bgImageStyle:function(){var t={height:"350px",textAlign:"center",overflow:"hidden"};return this.data.bgImageStyle?function(t){for(var e=1;e0){var e=this.$tags.list;e.map((function(a){var n=t._tagColor();return a.color=n,e})),this.tags=e}},mounted:function(){this.recoShow=!0},methods:{getPages:function(){var t=this.$site.pages;t=t.filter((function(t){var e=t.frontmatter,a=e.home,n=e.isTimeLine,r=e.date;return!(1==a||1==n||void 0===r)})),this.pages=0==t.length?[]:t},getPagesByTags:function(t){var e=this.$site.base;window.location.href="".concat(e,"tag/?tag=").concat(t)},_getTimeNum:function(t){return parseInt(new Date(t.frontmatter.date).getTime())}}},v=(a(264),Object(s.a)(g,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"home-blog",class:t.recoShow?"reco-show":"reco-hide"},[n("div",{staticClass:"hero",style:Object.assign({},{background:"url("+(t.$frontmatter.bgImage?t.$withBase(t.$frontmatter.bgImage):a(253))+") center/cover no-repeat"},t.bgImageStyle)},[n("h1",[t._v(t._s(t.data.heroText||t.$title||"午后南杂"))]),t._v(" "),n("p",{staticClass:"description"},[t._v(t._s(t.data.tagline||t.$description||"Welcome to your vuePress-theme-reco site"))]),t._v(" "),!0===t.$themeConfig.huawei?n("p",{staticClass:"huawei"},[n("i",{staticClass:"iconfont reco-huawei",staticStyle:{color:"#fc2d38"}}),t._v("   华为,为中华而为之!")]):t._e()]),t._v(" "),n("div",{staticClass:"home-blog-wrapper"},[n("note-abstract",{staticClass:"blog-list",attrs:{data:t.posts,isHome:!0,currentPage:1}}),t._v(" "),n("div",{staticClass:"info-wrapper"},[n("img",{staticClass:"personal-img",attrs:{src:t.$withBase(t.$frontmatter.faceImage||t.$themeConfig.logo),alt:"hero"}}),t._v(" "),t.$themeConfig.author||t.$site.title?n("h3",{staticClass:"name"},[t._v(t._s(t.$themeConfig.author||t.$site.title))]):t._e(),t._v(" "),n("div",{staticClass:"num"},[n("div",[n("h3",[t._v(t._s(t.getPagesLength))]),t._v(" "),n("h6",[t._v("文章")])]),t._v(" "),n("div",[n("h3",[t._v(t._s(t.$tags.length))]),t._v(" "),n("h6",[t._v("标签")])])]),t._v(" "),n("hr"),t._v(" "),t._m(0),t._v(" "),n("ul",{staticClass:"category-wrapper"},t._l(this.$categories.list,(function(e,a){return n("li",{key:a,staticClass:"category-item"},[n("router-link",{attrs:{to:e.path}},[n("span",{staticClass:"category-name"},[t._v(t._s(e.name))]),t._v(" "),n("span",{staticClass:"post-num"},[t._v(t._s(e.posts.length))])])],1)})),0),t._v(" "),n("hr"),t._v(" "),t._m(1),t._v(" "),n("div",{staticClass:"tags"},t._l(t.tags,(function(e,a){return n("span",{key:a,style:{backgroundColor:e.color},on:{click:function(a){return t.getPagesByTags(e.name)}}},[t._v(t._s(e.name))])})),0)])],1),t._v(" "),n("Content",{staticClass:"home-center",attrs:{custom:""}}),t._v(" "),n("div",{staticClass:"footer"},[t._m(2),t._v(" "),t.$themeConfig.record?n("span",[n("i",{staticClass:"iconfont reco-beian"}),t._v(" "),n("a",[t._v(t._s(t.$themeConfig.record))])]):t._e(),t._v(" "),n("span",[n("i",{staticClass:"iconfont reco-copyright"}),t._v(" "),n("a",[t.$themeConfig.startYear?n("span",[t._v(t._s(t.$themeConfig.startYear)+" - ")]):t._e(),t._v("\n "+t._s(t.year)+"\n   \n "),t.$themeConfig.author||t.$site.title?n("span",[t._v(t._s(t.$themeConfig.author||t.$site.title))]):t._e()])]),t._v(" "),n("span",[n("AccessNumber",{attrs:{idVal:"/"}})],1)])],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("h4",[e("i",{staticClass:"iconfont reco-category"}),this._v(" 分类")])},function(){var t=this.$createElement,e=this._self._c||t;return e("h4",[e("i",{staticClass:"iconfont reco-tag"}),this._v(" 标签")])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",[e("i",{staticClass:"iconfont reco-theme"}),this._v(" "),e("a",{attrs:{target:"blank",href:"https://vuepress-theme-reco.recoluan.com"}},[this._v("VuePress-theme-reco")])])}],!1,null,null,null).exports),p=(a(147),a(131),a(196)),m=a(123),_=(a(265),a(267),{name:"TimeLine",data:function(){return{pages:[],tags:[],currentTag:"",currentPage:1,formatPages:{},formatPagesArr:[]}},props:{tag:{type:String,default:""}},computed:{trueCurrentTag:function(){return this.currentTag}},created:function(){this.getPages()},methods:{getPages:function(t){var e=this,a=this.$site.pages;a=a.filter((function(t){var e=t.frontmatter,a=e.home,n=e.isTimeLine,r=e.date;return!(1==a||1==n||void 0===r)})),this.pages=0==a.length?[]:a;for(var n=0,r=a.length;n-1},methods:{createEditLink:function(t,e,a,n,r){return/bitbucket.org/.test(t)?(m.i.test(e)?e:t).replace(m.a,"")+"/src"+"/".concat(n,"/")+(a?a.replace(m.a,"")+"/":"")+r+"?mode=edit&spa=0&at=".concat(n,"&fileviewer=file-view-default"):(m.i.test(e)?e:"https://github.com/".concat(e)).replace(m.a,"")+"/edit"+"/".concat(n,"/")+(a?a.replace(m.a,"")+"/":"")+r}}},y=(a(269),{components:{HomeBlog:v,Home:o,Page:Object(s.a)($,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("main",{staticClass:"page",class:t.recoShow?"reco-show":"reco-hide"},[t._t("top"),t._v(" "),t.isTimeLine?t._e():a("div",{staticClass:"page-title"},[a("h1",[t._v(t._s(t.$page.title))]),t._v(" "),a("hr"),t._v(" "),a("PageInfo",{attrs:{pageInfo:t.$page}})],1),t._v(" "),a("Content"),t._v(" "),t.isTimeLine?a("TimeLine"):t._e(),t._v(" "),a("footer",{staticClass:"page-edit"},[t.editLink?a("div",{staticClass:"edit-link"},[a("a",{attrs:{href:t.editLink,target:"_blank",rel:"noopener noreferrer"}},[t._v(t._s(t.editLinkText))]),t._v(" "),a("OutboundLink")],1):t._e(),t._v(" "),t.lastUpdated?a("div",{staticClass:"last-updated"},[a("span",{staticClass:"prefix"},[t._v(t._s(t.lastUpdatedText)+": ")]),t._v(" "),a("span",{staticClass:"time"},[t._v(t._s(t.lastUpdated))])]):t._e()]),t._v(" "),t.prev||t.next?a("div",{staticClass:"page-nav"},[a("p",{staticClass:"inner"},[t.prev?a("span",{staticClass:"prev"},[t._v("\n ←\n "),t.prev?a("router-link",{staticClass:"prev",attrs:{to:t.prev.path}},[t._v("\n "+t._s(t.prev.title||t.prev.path)+"\n ")]):t._e()],1):t._e(),t._v(" "),t.next?a("span",{staticClass:"next"},[t.next?a("router-link",{attrs:{to:t.next.path}},[t._v("\n "+t._s(t.next.title||t.next.path)+"\n ")]):t._e(),t._v("\n →\n ")],1):t._e()])]):t._e(),t._v(" "),t._t("bottom")],2)}),[],!1,null,null,null).exports,Common:a(180).a},computed:{sidebarItems:function(){return Object(m.l)(this.$page,this.$page.regularPath,this.$site,this.$localePath)}}}),b=(a(270),a(271),Object(s.a)(y,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Common",[t.$frontmatter.home&&"blog"!==t.$themeConfig.type?a("Home"):t.$frontmatter.home&&"blog"===t.$themeConfig.type?a("HomeBlog"):a("Page",{attrs:{"sidebar-items":t.sidebarItems}},[t._t("page-top",null,{slot:"top"}),t._v(" "),t._t("page-bottom",null,{slot:"bottom"})],2)],1)],1)}),[],!1,null,null,null));e.default=b.exports}}]); \ No newline at end of file diff --git a/public/assets/js/5.2b1d7966.js b/public/assets/js/5.2b1d7966.js deleted file mode 100644 index 460c621..0000000 --- a/public/assets/js/5.2b1d7966.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{122:function(t,e,n){},125:function(t,e,n){},128:function(t,e,n){"use strict";var s=n(122);n.n(s).a},169:function(t,e,n){"use strict";var s=n(125);n.n(s).a},170:function(t,e,n){},183:function(t,e,n){"use strict";n(163);var s={data:function(){return{changePage:""}},props:{data:{type:Array,default:function(){return[]}},perPage:{type:Number,default:10},currentPage:{type:Number,default:1}},computed:{pages:function(){return Math.ceil(this.data.length/this.perPage)},show:function(){return this.pages&&1!=this.pages},efont:function(){return!(this.pages<=7)&&this.currentPage>5},indexs:function(){var t=1,e=this.pages,n=[];for(this.pages>=7&&(this.currentPage>5&&this.currentPage1&&this.emit(--t)},goNext:function(){var t=this.currentPage;t1,expression:"currentPage>1"}],staticClass:"jump",attrs:{unselectable:"on"},on:{click:t.goPrev}},[t._v("Prev")]),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.efont,expression:"efont"}],staticClass:"jump",on:{click:function(e){return t.jumpPage(1)}}},[t._v("1")]),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.efont,expression:"efont"}],staticClass:"ellipsis"},[t._v("...")]),t._v(" "),t._l(t.indexs,(function(e){return n("span",{key:e,staticClass:"jump",class:{bgprimary:t.currentPage==e},on:{click:function(n){return t.jumpPage(e)}}},[t._v(t._s(e))])})),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.efont&&t.currentPage1||"".split(/.?/).length?function(t,e){var a=String(this);if(void 0===t&&0===e)return[];if(!s(t))return n.call(a,t,e);for(var r,i,u,c=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),g=0,h=void 0===e?4294967295:e>>>0,v=new RegExp(t.source,l+"g");(r=o.call(v,a))&&!((i=v.lastIndex)>g&&(c.push(a.slice(g,r.index)),r.length>1&&r.index=h));)v.lastIndex===r.index&&v.lastIndex++;return g===a.length?!u&&v.test("")||c.push(""):c.push(a.slice(g)),c.length>h?c.slice(0,h):c}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,s){var a=t(this),r=null==n?void 0:n[e];return void 0!==r?r.call(n,a,s):v.call(String(a),n,s)},function(t,e){var s=l(v,t,this,e,v!==n);if(s.done)return s.value;var o=a(t),p=String(this),m=r(o,RegExp),f=o.unicode,d=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(h?"y":"g"),P=new m(h?o:"^(?:"+o.source+")",d),w=void 0===e?4294967295:e>>>0;if(0===w)return[];if(0===p.length)return null===c(P,p)?[p]:[];for(var _=0,C=0,x=[];C5},indexs:function(){var t=1,e=this.pages,a=[];for(this.pages>=7&&(this.currentPage>5&&this.currentPage1&&this.emit(--t)},goNext:function(){var t=this.currentPage;t1,expression:"currentPage>1"}],staticClass:"jump",attrs:{unselectable:"on"},on:{click:t.goPrev}},[t._v("Prev")]),t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:t.efont,expression:"efont"}],staticClass:"jump",on:{click:function(e){return t.jumpPage(1)}}},[t._v("1")]),t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:t.efont,expression:"efont"}],staticClass:"ellipsis"},[t._v("...")]),t._v(" "),t._l(t.indexs,(function(e){return a("span",{key:e,staticClass:"jump",class:{bgprimary:t.currentPage==e},on:{click:function(a){return t.jumpPage(e)}}},[t._v(t._s(e))])})),t._v(" "),a("span",{directives:[{name:"show",rawName:"v-show",value:t.efont&&t.currentPage0){var e=this.$route.query.tag?this.$route.query.tag:this.$tags.list[0].name,a=this.$tags.list;a.map((function(e){var s=t._tagColor();return e.color=s,a})),this.tags=a,this.getPagesByTags(e)}},mounted:function(){this.recoShow=!0},methods:{getPagesByTags:function(t){var e=this;this.currentTag=t;var a=this.$tags.map[t].posts;a.sort((function(t,a){return e._getTimeNum(a)-e._getTimeNum(t)})),this.posts=0==a.length?[]:a,this.getCurrentPage(1)},getCurrentTag:function(t){this.$emit("currentTag",t)},getCurrentPage:function(t){this.currentPage=t,this.$page.currentPage=t},_getTimeNum:function(t){return parseInt(new Date(t.frontmatter.date).getTime())}}},u=(a(128),a(272),a(0)),c=Object(u.a)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"tags-wrapper",class:t.recoShow?"reco-show":"reco-hide"},[a("Common",{attrs:{sidebar:!1,isComment:!1}}),t._v(" "),a("div",{staticClass:"tags"},t._l(t.tags,(function(e,s){return a("span",{key:s,class:{active:e.name==t.currentTag},style:{backgroundColor:e.color},on:{click:function(a){return t.getPagesByTags(e.name)}}},[t._v(t._s(e.name))])})),0),t._v(" "),a("note-abstract",{staticClass:"list",attrs:{data:t.posts,currentPage:t.currentPage,currentTag:t.currentTag},on:{currentTag:t.getCurrentTag}}),t._v(" "),a("pagation",{staticClass:"pagation",attrs:{data:t.posts,currentPage:t.currentPage},on:{getCurrentPage:t.getCurrentPage}})],1)}),[],!1,null,"502f0885",null);e.default=c.exports}}]); \ No newline at end of file diff --git a/public/assets/js/7.1d5f3085.js b/public/assets/js/7.1d5f3085.js deleted file mode 100644 index eb876ae..0000000 --- a/public/assets/js/7.1d5f3085.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{122:function(t,e,n){},128:function(t,e,n){"use strict";var s=n(122);n.n(s).a},137:function(t,e,n){},197:function(t,e,n){"use strict";var s=n(137);n.n(s).a},286:function(t,e,n){"use strict";n.r(e);var s=["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],o={methods:{getMsg:function(){return s[Math.floor(Math.random()*s.length)]}}},i=(n(128),n(197),n(0)),r=Object(i.a)(o,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"theme-container"},[e("div",{staticClass:"content"},[e("h1",[this._v("404")]),this._v(" "),e("blockquote",[this._v(this._s(this.getMsg()))]),this._v(" "),e("router-link",{attrs:{to:"/"}},[this._v("Take me home.")])],1)])}),[],!1,null,"1e56f250",null);e.default=r.exports}}]); \ No newline at end of file diff --git a/public/assets/js/8.5bd99b3a.js b/public/assets/js/8.5bd99b3a.js deleted file mode 100644 index ef5b63a..0000000 --- a/public/assets/js/8.5bd99b3a.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{178:function(t,e,n){},273:function(t,e,n){"use strict";var i=n(178);n.n(i).a},289:function(t,e,n){"use strict";n.r(e);var i={functional:!0,props:{type:{type:String,default:"tip"},text:String,vertical:{type:String,default:"top"}},render:function(t,e){var n=e.props,i=e.slots;return t("span",{class:["badge",n.type],style:{verticalAlign:n.vertical}},n.text||i().default)}},r=(n(273),n(0)),a=Object(r.a)(i,void 0,void 0,!1,null,"f57ddd40",null);e.default=a.exports}}]); \ No newline at end of file diff --git a/public/assets/js/9.51f489f7.js b/public/assets/js/9.51f489f7.js deleted file mode 100644 index 06a3622..0000000 --- a/public/assets/js/9.51f489f7.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{290:function(s,t,e){"use strict";e.r(t);var a=e(0),n=Object(a.a)({},(function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("ContentSlotsDistributor",{attrs:{"slot-key":s.$parent.slotKey}},[e("div",{staticClass:"tip custom-block"},[e("p",{staticClass:"custom-block-title"},[s._v("介绍")]),s._v(" "),e("ol",[e("li",[s._v("这是一个开源JAVA项目;"),e("br")]),s._v(" "),e("li",[s._v("项目追求极简;"),e("br")]),s._v(" "),e("li",[s._v("你可以打开 "),e("a",{attrs:{href:"http://demo.jiscuss.com",target:"_blank",rel:"noopener noreferrer"}},[s._v("Jiscuss Demo"),e("OutboundLink")],1),s._v(" 来查看效果。")])])]),s._v(" "),e("h2",{attrs:{id:"安装"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#安装","aria-hidden":"true"}},[s._v("#")]),s._v(" 安装")]),s._v(" "),e("p",[e("strong",[s._v("Build")])]),s._v(" "),e("div",{staticClass:"language-bash line-numbers-mode"},[e("pre",{pre:!0,attrs:{class:"language-bash"}},[e("code",[s._v("hello world!\n\n"),e("span",{pre:!0,attrs:{class:"token comment"}},[s._v("# or")]),s._v("\n\nhello JAVA!\n")])]),s._v(" "),e("div",{staticClass:"line-numbers-wrapper"},[e("span",{staticClass:"line-number"},[s._v("1")]),e("br"),e("span",{staticClass:"line-number"},[s._v("2")]),e("br"),e("span",{staticClass:"line-number"},[s._v("3")]),e("br"),e("span",{staticClass:"line-number"},[s._v("4")]),e("br"),e("span",{staticClass:"line-number"},[s._v("5")]),e("br")])])])}),[],!1,null,null,null);t.default=n.exports}}]); \ No newline at end of file diff --git a/public/assets/js/app.11f57023.js b/public/assets/js/app.11f57023.js deleted file mode 100644 index 305fc06..0000000 --- a/public/assets/js/app.11f57023.js +++ /dev/null @@ -1,14 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[]]);!function(t){function e(e){for(var r,a,s=e[0],c=e[1],u=e[2],f=0,p=[];f
    '};function o(t,e,n){return tn?n:t}function i(t){return 100*(-1+t)}n.configure=function(t){var e,n;for(e in t)void 0!==(n=t[e])&&t.hasOwnProperty(e)&&(r[e]=n);return this},n.status=null,n.set=function(t){var e=n.isStarted();t=o(t,r.minimum,1),n.status=1===t?null:t;var c=n.render(!e),u=c.querySelector(r.barSelector),l=r.speed,f=r.easing;return c.offsetWidth,a((function(e){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),s(u,function(t,e,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+i(t)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+i(t)+"%,0)"}:{"margin-left":i(t)+"%"}).transition="all "+e+"ms "+n,o}(t,l,f)),1===t?(s(c,{transition:"none",opacity:1}),c.offsetWidth,setTimeout((function(){s(c,{transition:"all "+l+"ms linear",opacity:0}),setTimeout((function(){n.remove(),e()}),l)}),l)):setTimeout(e,l)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var t=function(){setTimeout((function(){n.status&&(n.trickle(),t())}),r.trickleSpeed)};return r.trickle&&t(),this},n.done=function(t){return t||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(t){var e=n.status;return e?("number"!=typeof t&&(t=(1-e)*o(Math.random()*e,.1,.95)),e=o(e+t,0,.994),n.set(e)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},t=0,e=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===e&&n.start(),t++,e++,r.always((function(){0==--e?(t=0,n.done()):n.set((t-e)/t)})),this):this},n.render=function(t){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var e=document.createElement("div");e.id="nprogress",e.innerHTML=r.template;var o,a=e.querySelector(r.barSelector),c=t?"-100":i(n.status||0),l=document.querySelector(r.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+c+"%,0,0)"}),r.showSpinner||(o=e.querySelector(r.spinnerSelector))&&p(o),l!=document.body&&u(l,"nprogress-custom-parent"),l.appendChild(e),e},n.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(r.parent),"nprogress-custom-parent");var t=document.getElementById("nprogress");t&&p(t)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var t=document.body.style,e="WebkitTransform"in t?"Webkit":"MozTransform"in t?"Moz":"msTransform"in t?"ms":"OTransform"in t?"O":"";return e+"Perspective"in t?"translate3d":e+"Transform"in t?"translate":"margin"};var a=function(){var t=[];function e(){var n=t.shift();n&&n(e)}return function(n){t.push(n),1==t.length&&e()}}(),s=function(){var t=["Webkit","O","Moz","ms"],e={};function n(n){return n=n.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(t,e){return e.toUpperCase()})),e[n]||(e[n]=function(e){var n=document.body.style;if(e in n)return e;for(var r,o=t.length,i=e.charAt(0).toUpperCase()+e.slice(1);o--;)if((r=t[o]+i)in n)return r;return e}(n))}function r(t,e,r){e=n(e),t.style[e]=r}return function(t,e){var n,o,i=arguments;if(2==i.length)for(n in e)void 0!==(o=e[n])&&e.hasOwnProperty(n)&&r(t,n,o);else r(t,i[1],i[2])}}();function c(t,e){return("string"==typeof t?t:f(t)).indexOf(" "+e+" ")>=0}function u(t,e){var n=f(t),r=n+e;c(n,e)||(t.className=r.substring(1))}function l(t,e){var n,r=f(t);c(t,e)&&(n=r.replace(" "+e+" "," "),t.className=n.substring(1,n.length-1))}function f(t){return(" "+(t.className||"")+" ").replace(/\s+/gi," ")}function p(t){t&&t.parentNode&&t.parentNode.removeChild(t)}return n})?r.call(e,n,e,t):r)||(t.exports=o)},function(t,e,n){var r=n(19);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e,n){var r=n(17),o=n(75),i=n(66),a=Object.defineProperty;e.f=n(9)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(1),o=n(4),i=n(10),a=n(33)("src"),s=n(112),c=(""+s).split("toString");n(24).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(u&&(i(n,a)||o(n,a,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[a]||s.call(this)}))},function(t,e,n){var r=n(11),o=n(88),i=n(89),a=Object.defineProperty;e.f=n(12)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(76),o=n(20);t.exports=function(t){return r(o(t))}},function(t,e){var n=t.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(95),o=n(29);t.exports=function(t){return r(o(t))}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){var r=n(49)("keys"),o=n(50);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(24),o=n(1),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(55)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports={}},function(t,e,n){var r=n(32)("keys"),o=n(33);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(5),o=n(3),i=n(70),a=n(8),s=n(13),c=function(t,e,n){var u,l,f,p=t&c.F,d=t&c.G,h=t&c.S,v=t&c.P,m=t&c.B,y=t&c.W,g=d?o:o[e]||(o[e]={}),b=g.prototype,_=d?r:h?r[e]:(r[e]||{}).prototype;for(u in d&&(n=e),n)(l=!p&&_&&void 0!==_[u])&&s(g,u)||(f=l?_[u]:n[u],g[u]=d&&"function"!=typeof _[u]?n[u]:m&&l?i(f,r):y&&_[u]==f?function(t){var e=function(e,n,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,n)}return new t(e,n,r)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(f):v&&"function"==typeof f?i(Function.call,f):f,v&&((g.virtual||(g.virtual={}))[u]=f,t&c.R&&b&&!b[u]&&a(b,u,f)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";var r=n(106)(!0);n(47)(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,n=this._i;return n>=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(79),o=n(42);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){t.exports=n(85)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(26),o=n(5).document,i=r(o)&&r(o.createElement);t.exports=function(t){return i?o.createElement(t):{}}},function(t,e,n){n(92);for(var r=n(5),o=n(8),i=n(7),a=n(2)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),c=0;c=e||n<0||p&&t-l>=a}function w(){var t=m();if(_(t))return x(t);c=setTimeout(w,function(t){var n=e-(t-u);return p?v(n,a-(t-l)):n}(t))}function x(t){return c=void 0,d&&o?y(t):(o=i=void 0,s)}function C(){var t=m(),n=_(t);if(o=arguments,i=this,u=t,n){if(void 0===c)return function(t){return l=t,c=setTimeout(w,e),f?y(t):s}(u);if(p)return c=setTimeout(w,e),y(u)}return void 0===c&&(c=setTimeout(w,e)),s}return e=b(e)||0,g(r)&&(f=!!r.leading,a=(p="maxWait"in r)?h(b(r.maxWait)||0,e):a,d="trailing"in r?!!r.trailing:d),C.cancel=function(){void 0!==c&&clearTimeout(c),l=0,o=u=i=c=void 0},C.flush=function(){return void 0===c?s:x(m())},C}function g(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function b(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&d.call(t)==o}(t))return r;if(g(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=g(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var n=s.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):a.test(t)?r:+t}t.exports=function(t,e,r){var o=!0,i=!0;if("function"!=typeof t)throw new TypeError(n);return g(r)&&(o="leading"in r?!!r.leading:o,i="trailing"in r?!!r.trailing:i),y(t,e,{leading:o,maxWait:e,trailing:i})}},function(t,e,n){t.exports=n(91)},function(t,e,n){var r=n(1),o=n(24),i=n(4),a=n(21),s=n(67),c=function(t,e,n){var u,l,f,p,d=t&c.F,h=t&c.G,v=t&c.S,m=t&c.P,y=t&c.B,g=h?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=h?o:o[e]||(o[e]={}),_=b.prototype||(b.prototype={});for(u in h&&(n=e),n)f=((l=!d&&g&&void 0!==g[u])?g:n)[u],p=y&&l?s(f,r):m&&"function"==typeof f?s(Function.call,f):f,g&&a(g,u,f,t&c.U),b[u]!=f&&i(b,u,p),m&&_[u]!=f&&(_[u]=f)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){for(var r=n(110),o=n(41),i=n(21),a=n(1),s=n(4),c=n(34),u=n(6),l=u("iterator"),f=u("toStringTag"),p=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(d),v=0;v0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(19);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(68);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(23),o=n(65),i=n(114);t.exports=function(t){return function(e,n,a){var s,c=r(e),u=o(c.length),l=i(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}}},function(t,e,n){var r=n(87);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(30),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(29);t.exports=function(t){return Object(r(t))}},function(t,e,n){var r=n(53),o=n(2)("iterator"),i=n(7);t.exports=n(3).getIteratorMethod=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},function(t,e,n){var r=n(6)("unscopables"),o=Array.prototype;null==o[r]&&n(4)(o,r,{}),t.exports=function(t){o[r][t]=!0}},function(t,e,n){t.exports=!n(9)&&!n(36)((function(){return 7!=Object.defineProperty(n(56)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(64);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e,n){var r=n(17),o=n(78),i=n(42),a=n(35)("IE_PROTO"),s=function(){},c=function(){var t,e=n(56)("iframe"),r=i.length;for(e.style.display="none",n(115).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write(" - - diff --git a/public/hashmap.json b/public/hashmap.json new file mode 100644 index 0000000..e2112fd --- /dev/null +++ b/public/hashmap.json @@ -0,0 +1 @@ +{"index.md":"JtVbmiDu","readme.md":"Cdr0hQ_X","timeline_index.md":"Z0ITL_0E","timeline_readme.md":"DyPBLP5b","views_other_guide.md":"Dve_jc2A"} diff --git a/public/index.html b/public/index.html index d96d653..4c02289 100644 --- a/public/index.html +++ b/public/index.html @@ -1,18 +1,32 @@ - + - - Jiscuss - - - - - + Jiscuss - 简单,轻量基于 Java 的开源论坛(皆是卡斯) + + + + + + + + + + + + + + -

    Welcome Jiscuss

    Just wait a minute!

    - +
    Skip to content

    Jiscuss简洁 · 轻量 · 开源

    基于 Java 的开源论坛,提供发帖、回帖、用户管理与评论等核心能力。

    💬
    👍
    📰
    💡
    📝
    🧩
    💎
    🔥

    Jiscuss 是一个开源 Java 论坛项目,追求极简体验,提供发帖、回帖、评论与用户管理等核心能力。欢迎访问 Jiscuss Demo 在线体验。

    快速体验

    bash
    # 克隆项目
    +git clone https://github.com/chuyaoyuan/jiscuss.git
    +cd jiscuss
    +
    +# 启动(需要 JDK 8+)
    +./mvnw spring-boot:run

    预览

    Jiscuss Demo 预览

    + + - + \ No newline at end of file diff --git a/public/tag/index.html b/public/tag/index.html deleted file mode 100644 index fe9f913..0000000 --- a/public/tag/index.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - Tags | Jiscuss - - - - - - - - -

    Just wait a minute!

    - - - diff --git a/public/timeLine/README.html b/public/timeLine/README.html new file mode 100644 index 0000000..682547f --- /dev/null +++ b/public/timeLine/README.html @@ -0,0 +1,27 @@ + + + + + + Jiscuss - 简单,轻量基于 Java 的开源论坛(皆是卡斯) + + + + + + + + + + + + + + + + +
    Skip to content

    Time Line

    + + + + \ No newline at end of file diff --git a/public/timeLine/index.html b/public/timeLine/index.html index df72eec..72724b4 100644 --- a/public/timeLine/index.html +++ b/public/timeLine/index.html @@ -1,18 +1,27 @@ - + - - Time Line | Jiscuss - - - - - + Time Line | Jiscuss - 简单,轻量基于 Java 的开源论坛(皆是卡斯) + + + + + + + + + + + + + + -

    Just wait a minute!

    - +
    Skip to content

    Time Line

    这里保留原 VuePress 时间线页面内容。后续可以继续追加 Jiscuss 的版本记录、里程碑与发布计划。

    最后更新:

    + + - + \ No newline at end of file diff --git a/public/views/other/guide.html b/public/views/other/guide.html index 66384c5..beabebe 100644 --- a/public/views/other/guide.html +++ b/public/views/other/guide.html @@ -1,18 +1,29 @@ - + - - jiscuss文档 | Jiscuss - - - - - + jiscuss文档 | Jiscuss - 简单,轻量基于 Java 的开源论坛(皆是卡斯) + + + + + + + + + + + + + + -

    Just wait a minute!

    - +
    Skip to content

    vitepressjavalicense

    介绍

    1. 这是一个JAVA项目,旨在简单易用的前提下添加论坛所需的发帖、回帖、用户管理、评论等功能;
    2. 项目追求极简;
    3. 你可以打开 Jiscuss Demo 来查看效果。

    Use

    Build

    bash
    
    +# 文档后续补充

    Server

    bash
    
    +# 文档后续补充

    Play Together

    0.x

    Jiscuss 是基于 JAVA 的论坛项目。

    目前基础架构由SpringBoot SpringJPA H2 Database Semantic-UI 等组成。

    项目开源不久,很多朋友通过各种联系方式,给到很多好的意见和建议,所以我个人也在积极地更新。

    CLI

    还是衷心地希望能有更多的朋友参与进来,更好地去完善它,就是希望能让Jiscuss,功能越完善,使用越来越简单。

    License

    MIT

    文档站架构

    Jiscuss 官方页与文档页已升级为 VitePress 2.0:

    • 配置入口:docs/.vitepress/config.mts
    • 首页入口:docs/index.md
    • 静态资源:docs/public/
    • 构建产物:public/

    本次升级保留了原有文章内容,并补充了本地搜索、导航、侧边栏、最后更新时间与预览命令,便于后续继续完善 Jiscuss 的安装、部署与二次开发文档。

    最后更新:

    + + - + \ No newline at end of file diff --git a/public/vp-icons.css b/public/vp-icons.css new file mode 100644 index 0000000..ddc5bd8 --- /dev/null +++ b/public/vp-icons.css @@ -0,0 +1 @@ +.vpi-social-github{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24'%3E%3Cpath fill='black' d='M12 .297c-6.63 0-12 5.373-12 12c0 5.303 3.438 9.8 8.205 11.385c.6.113.82-.258.82-.577c0-.285-.01-1.04-.015-2.04c-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729c1.205.084 1.838 1.236 1.838 1.236c1.07 1.835 2.809 1.305 3.495.998c.108-.776.417-1.305.76-1.605c-2.665-.3-5.466-1.332-5.466-5.93c0-1.31.465-2.38 1.235-3.22c-.135-.303-.54-1.523.105-3.176c0 0 1.005-.322 3.3 1.23c.96-.267 1.98-.399 3-.405c1.02.006 2.04.138 3 .405c2.28-1.552 3.285-1.23 3.285-1.23c.645 1.653.24 2.873.12 3.176c.765.84 1.23 1.91 1.23 3.22c0 4.61-2.805 5.625-5.475 5.92c.42.36.81 1.096.81 2.22c0 1.606-.015 2.896-.015 3.286c0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")} \ No newline at end of file